Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_copy
Method
test_copy
c_glib/test/test-buffer.rb:93–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
end
92
93
def test_copy
94
copied_buffer = @buffer.copy(1, 3)
95
assert_equal(@data[1, 3], copied_buffer.data.to_s)
96
end
97
98
def test_slice
99
sliced_buffer = @buffer.slice(1, 3)
Callers
nothing calls this directly
Calls
3
copy
Method · 0.80
to_s
Method · 0.45
data
Method · 0.45
Tested by
no test coverage detected