MCPcopy Index your code
hub / github.com/RustPython/RustPython / len

Method len

crates/stdlib/src/compression.rs:95–97  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

93 }
94 }
95 pub const fn len(&self) -> usize {
96 self.data1.len() + self.data2.len()
97 }
98 pub const fn is_empty(&self) -> bool {
99 self.data1.is_empty()
100 }

Callers 15

basicFunction · 0.45
countMethod · 0.45
getMethod · 0.45
setMethod · 0.45
_matchFunction · 0.45
remaining_codesMethod · 0.45
charsetFunction · 0.45
pystr_from_raw_cstrFunction · 0.45
check_locale_nameFunction · 0.45
pack_intoFunction · 0.45
unpack_fromFunction · 0.45
with_bufferMethod · 0.45

Calls

no outgoing calls

Tested by 1

write_inputFunction · 0.36