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

Method extend

crates/compiler-core/src/bytecode/oparg.rs:105–108  ·  view source on GitHub ↗
(&mut self, arg: OpArgByte)

Source from the content-addressed store, hash-verified

103
104 #[inline(always)]
105 pub fn extend(&mut self, arg: OpArgByte) -> OpArg {
106 self.state = (self.state << 8) | u32::from(arg.0);
107 self.state.into()
108 }
109
110 #[inline(always)]
111 pub const fn reset(&mut self) {

Callers 4

analyze_symbol_tableMethod · 0.45
finalize_codeMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected