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

Method capacity

crates/wtf8/src/lib.rs:461–463  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

459 /// Returns the number of bytes that this string buffer can hold without reallocating.
460 #[inline]
461 pub const fn capacity(&self) -> usize {
462 self.bytes.capacity()
463 }
464
465 /// Append a UTF-8 slice at the end of the string.
466 #[inline]

Callers 3

_decompress_chunksFunction · 0.45
flushMethod · 0.45
obj2txtFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected