MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / put1

Method put1

cranelift/assembler-x64/src/api.rs:42–44  ·  view source on GitHub ↗
(&mut self, v: u8)

Source from the content-addressed store, hash-verified

40/// Provide a convenient implementation for testing.
41impl CodeSink for Vec<u8> {
42 fn put1(&mut self, v: u8) {
43 self.extend_from_slice(&[v]);
44 }
45
46 fn put2(&mut self, v: u16) {
47 self.extend_from_slice(&v.to_le_bytes());

Callers 15

encodeMethod · 0.45
encode_modrmMethod · 0.45
encodeMethod · 0.45
emitMethod · 0.45
encodeMethod · 0.45
encode_rex_suffixesMethod · 0.45
emit_modrm_sib_dispFunction · 0.45
encodeMethod · 0.45
nop_1bFunction · 0.45
nop_2bFunction · 0.45
nop_3bFunction · 0.45
nop_4bFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected