MCPcopy Index your code
hub / github.com/cilium/ebpf / Mode

Method Mode

asm/opcode.go:131–136  ·  view source on GitHub ↗

Mode returns the mode for load and store operations.

()

Source from the content-addressed store, hash-verified

129
130// Mode returns the mode for load and store operations.
131func (op OpCode) Mode() Mode {
132 if !op.Class().isLoadOrStore() {
133 return InvalidMode
134 }
135 return Mode(op & modeMask)
136}
137
138// Size returns the size for load and store operations.
139func (op OpCode) Size() Size {

Callers 5

AtomicOpMethod · 0.95
SetAtomicOpMethod · 0.95
StringMethod · 0.95
UnmarshalMethod · 0.80
FormatMethod · 0.80

Calls 3

ClassMethod · 0.95
ModeTypeAlias · 0.85
isLoadOrStoreMethod · 0.80

Tested by

no test coverage detected