MCPcopy Create free account
hub / github.com/D7EAD/mkPIVM / assign_opcode

Method assign_opcode

src/vm_isa.cpp:183–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void VMConfig::assign_opcode(std::string_view k, std::uint8_t b) {
184 family_to_opcode_[std::string(k)] = b;
185 op_to_key_[b] = std::string(k);
186 }
187
188 SeedRng VMConfig::codec_rng(std::string_view k) const {
189 SeedRng base{master_seed_};

Callers 1

CodecRegistryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected