(lhs, rhs vector.Any)
| 1339 | } |
| 1340 | |
| 1341 | func compareNEIntViewConst(lhs, rhs vector.Any) vector.Any { |
| 1342 | ld := lhs.(*vector.View) |
| 1343 | l := ld.Any.(*vector.Int) |
| 1344 | lx := ld.Index |
| 1345 | rconst := vector.IntValue(rhs, 0) |
| 1346 | n := lhs.Len() |
| 1347 | out := vector.NewFalse(n) |
| 1348 | for k := range n { |
| 1349 | if l.Value(uint32(lx[k])) != rconst { |
| 1350 | out.Set(k) |
| 1351 | } |
| 1352 | } |
| 1353 | return out |
| 1354 | } |
| 1355 | |
| 1356 | func compareNEIntConstFlat(lhs, rhs vector.Any) vector.Any { |
| 1357 | lconst := vector.IntValue(lhs, 0) |