MCPcopy Create free account
hub / github.com/apache/arrow-rs / as_usize

Method as_usize

arrow-buffer/src/native.rs:188–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

186 }
187
188 fn as_usize(self) -> usize {
189 self.to_parts().0 as usize
190 }
191
192 fn usize_as(i: usize) -> Self {
193 Self::from_parts(i as u128, 0)

Callers 15

newMethod · 0.80
advance_to_rowMethod · 0.80
test_interval_usizeFunction · 0.80
lengthsMethod · 0.80
sliced_valuesMethod · 0.80
max_valueMethod · 0.80
get_physical_indicesMethod · 0.80
writeMethod · 0.80
b64_encodeFunction · 0.80
run_end_encoded_castFunction · 0.80
view_from_dict_valuesFunction · 0.80

Calls 1

to_partsMethod · 0.45

Tested by 3

test_interval_usizeFunction · 0.64