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

Function arithModUintConstConst

runtime/vam/expr/arithfuncs.go:2843–2847  ·  view source on GitHub ↗
(lhs, rhs vector.Any)

Source from the content-addressed store, hash-verified

2841}
2842
2843func arithModUintConstConst(lhs, rhs vector.Any) vector.Any {
2844 lconst := vector.UintValue(lhs, 0)
2845 rconst := vector.UintValue(rhs, 0)
2846 return vector.NewConstUint(lhs.Type(), lconst%rconst, lhs.Len())
2847}
2848
2849var arithFuncs = map[int]func(vector.Any, vector.Any) vector.Any{
2850 16: arithAddIntFlatFlat,

Callers

nothing calls this directly

Calls 4

UintValueFunction · 0.92
NewConstUintFunction · 0.92
TypeMethod · 0.65
LenMethod · 0.65

Tested by

no test coverage detected