Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow-rs
/ len
Method
len
arrow-array/src/array/list_array.rs:577–579 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
575
}
576
577
fn len(&self) -> usize {
578
self.value_offsets.len() - 1
579
}
580
581
fn is_empty(&self) -> bool {
582
self.value_offsets.len() <= 1
Callers
13
try_new
Method · 0.45
from
Method · 0.45
try_new_from_array_data
Method · 0.45
is_empty
Method · 0.45
test_empty_list_array
Function · 0.45
test_list_array
Function · 0.45
test_large_list_array
Function · 0.45
test_list_array_slice
Function · 0.45
test_large_list_array_slice
Function · 0.45
test_list_array_index_out_of_bound
Function · 0.45
test_list_array_invalid_buffer_len
Function · 0.45
test_list_array_invalid_child_array_len
Function · 0.45
Calls
no outgoing calls
Tested by
9
test_empty_list_array
Function · 0.36
test_list_array
Function · 0.36
test_large_list_array
Function · 0.36
test_list_array_slice
Function · 0.36
test_large_list_array_slice
Function · 0.36
test_list_array_index_out_of_bound
Function · 0.36
test_list_array_invalid_buffer_len
Function · 0.36
test_list_array_invalid_child_array_len
Function · 0.36
test_list_array_offsets_need_not_start_at_zero
Function · 0.36