MCPcopy Create free account
hub / github.com/brimdata/super / NewConstNet

Function NewConstNet

vector/const.go:65–68  ·  view source on GitHub ↗
(v netip.Prefix, length uint32)

Source from the content-addressed store, hash-verified

63}
64
65func NewConstNet(v netip.Prefix, length uint32) *Const {
66 vec := NewNet([]netip.Prefix{v})
67 return &Const{vec, length}
68}
69func NewConstType(v []byte, length uint32) *Const {
70 vec := NewTypeValue(newBytesTableWithValue(v))
71 return &Const{vec, length}

Callers 3

singleIPMethod · 0.92
intMaskMethod · 0.92
NewConstFromValueFunction · 0.85

Calls 1

NewNetFunction · 0.70

Tested by

no test coverage detected