(lhs, rhs vector.Any)
| 2038 | } |
| 2039 | |
| 2040 | func compareNEStringViewConst(lhs, rhs vector.Any) vector.Any { |
| 2041 | ld := lhs.(*vector.View) |
| 2042 | l := ld.Any.(*vector.String) |
| 2043 | lx := ld.Index |
| 2044 | rconst := vector.StringValue(rhs, 0) |
| 2045 | n := lhs.Len() |
| 2046 | out := vector.NewFalse(n) |
| 2047 | for k := range n { |
| 2048 | if l.Value(uint32(lx[k])) != rconst { |
| 2049 | out.Set(k) |
| 2050 | } |
| 2051 | } |
| 2052 | return out |
| 2053 | } |
| 2054 | |
| 2055 | func compareNEStringConstFlat(lhs, rhs vector.Any) vector.Any { |
| 2056 | lconst := vector.StringValue(lhs, 0) |
nothing calls this directly
no test coverage detected