1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-
Kenta Murata 890bc2cdde
Buffer protocol proposal (#3261)
* Add buffer protocol

* Modify for some review comments

* Per-object buffer availability

* Rename to MemoryView from Buffer and make compilable

* Support integral repeat count in memory view format

* Support 'x' for padding bytes

* Add rb_memory_view_parse_item_format

* Check type in rb_memory_view_register

* Update dependencies in common.mk

* Add test of MemoryView

* Add test of rb_memory_view_init_as_byte_array

* Add native size format test

* Add MemoryView test utilities

* Add test of rb_memory_view_fill_contiguous_strides

* Skip spaces in format string

* Support endianness specifiers

* Update documentation

* Support alignment

* Use RUBY_ALIGNOF

* Fix format parser to follow the pack format

* Support the _ modifier

* Parse count specifiers in get_format_size function.

* Use STRUCT_ALIGNOF

* Fix test

* Fix test

* Fix total size for the case with tail padding

* Fix rb_memory_view_get_item_pointer

* Fix rb_memory_view_parse_item_format again
2020-09-25 20:32:02 +09:00
..
arith_seq/extract sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
array/resize sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
bignum sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
bug-3571 sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
bug-5832 sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
bug-14834 sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
bug_reporter sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
class sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
cxxanyargs
debug sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
dln/empty
enumerator_kw sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
exception sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fatal sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
file sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
float sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
funcall sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
gvl/call_without_gvl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
hash sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
integer sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
iseq_load sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
iter sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
load sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
marshal sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
memory_status
memory_view Buffer protocol proposal (#3261) 2020-09-25 20:32:02 +09:00
method sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
notimplement sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
num2int sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
path_to_class sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
popen_deadlock sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
postponed_job sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
printf sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
proc sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
random Add FALLTHROUGH 2020-09-08 10:30:07 +09:00
rational sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
rb_call_super_kw sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
recursion sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
regexp sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
RUBY_ALIGNOF ext/-test-/RUBY_ALIGNOF: skip C++ when no compiler 2020-09-25 11:38:33 +09:00
scan_args sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
st sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
string sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
struct sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
symbol sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
thread_fd_close sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
time sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
tracepoint sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
typeddata sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
vm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
wait_for_single_fd sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
win32
auto_ext.rb