MCPcopy
hub / github.com/cilium/ebpf / Class

Method Class

asm/opcode.go:126–128  ·  view source on GitHub ↗

Class returns the class of operation.

()

Source from the content-addressed store, hash-verified

124
125// Class returns the class of operation.
126func (op OpCode) Class() Class {
127 return Class(op & classMask)
128}
129
130// Mode returns the mode for load and store operations.
131func (op OpCode) Mode() Mode {

Callers 15

ModeMethod · 0.95
SizeMethod · 0.95
AtomicOpMethod · 0.95
SourceMethod · 0.95
ALUOpMethod · 0.95
JumpOpMethod · 0.95
SetModeMethod · 0.95
SetSizeMethod · 0.95
SetAtomicOpMethod · 0.95
SetSourceMethod · 0.95
SetALUOpMethod · 0.95
SetJumpOpMethod · 0.95

Calls 1

ClassTypeAlias · 0.85

Tested by

no test coverage detected