MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Size

Method Size

ext/network.go:612–614  ·  view source on GitHub ↗

Size returns the size of the CIDR prefix address in bytes. Used in the size estimation of the runtime cost.

()

Source from the content-addressed store, hash-verified

610// Size returns the size of the CIDR prefix address in bytes.
611// Used in the size estimation of the runtime cost.
612func (c CIDR) Size() ref.Val {
613 return types.Int(int64(math.Ceil(float64(c.Prefix.Bits()) / 8)))
614}
615
616// --- Static Validators ---
617

Callers

nothing calls this directly

Calls 1

IntTypeAlias · 0.92

Tested by

no test coverage detected