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

Method push

crates/wtf8/src/lib.rs:485–487  ·  view source on GitHub ↗
(&mut self, code_point: CodePoint)

Source from the content-addressed store, hash-verified

483 /// Append a code point at the end of the string.
484 #[inline]
485 pub fn push(&mut self, code_point: CodePoint) {
486 self.push_wtf8(code_point.encode_wtf8(&mut [0; MAX_LEN_UTF8]))
487 }
488
489 pub fn pop(&mut self) -> Option<CodePoint> {
490 let ch = self.code_points().next_back()?;

Callers 15

webpack.config.jsFile · 0.45
pushChunkFunction · 0.45
iomdParserFunction · 0.45
webpack.config.jsFile · 0.45
bench_rustpython_codeFunction · 0.45
bench_rustpython_codeFunction · 0.45
run_shellFunction · 0.45
parse_argsFunction · 0.45
parse_optsFunction · 0.45
split_idents_on_dotFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

push_wtf8Method · 0.80
encode_wtf8Method · 0.80

Tested by 3

compileMethod · 0.36
process_instructionMethod · 0.36