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

Method add

crates/vm/src/bytes_inner.rs:315–317  ·  view source on GitHub ↗
(&self, other: &[u8])

Source from the content-addressed store, hash-verified

313 }
314
315 pub fn add(&self, other: &[u8]) -> Vec<u8> {
316 self.elements.py_add(other)
317 }
318
319 pub fn contains(&self, needle: Either<Self, PyIntRef>, vm: &VirtualMachine) -> PyResult<bool> {
320 Ok(match needle {

Callers 15

advanceMethod · 0.45
skipMethod · 0.45
copy_groupingFunction · 0.45
sendmsg_afalgMethod · 0.45
parse_ancillary_dataMethod · 0.45
FD_SETFunction · 0.45
_asyncio_awaited_byMethod · 0.45
awaited_by_addMethod · 0.45
all_tasksFunction · 0.45
flushMethod · 0.45
madviseMethod · 0.45
__add__Method · 0.45

Calls 1

py_addMethod · 0.80

Tested by

no test coverage detected