(lhs, rhs vector.Any)
| 217 | } |
| 218 | |
| 219 | func compareEQIntConstView(lhs, rhs vector.Any) vector.Any { |
| 220 | lconst := vector.IntValue(lhs, 0) |
| 221 | rd := rhs.(*vector.View) |
| 222 | r := rd.Any.(*vector.Int) |
| 223 | rx := rd.Index |
| 224 | n := lhs.Len() |
| 225 | out := vector.NewFalse(n) |
| 226 | for k := range n { |
| 227 | if lconst == r.Value(uint32(rx[k])) { |
| 228 | out.Set(k) |
| 229 | } |
| 230 | } |
| 231 | return out |
| 232 | } |
| 233 | |
| 234 | func compareEQIntConstConst(lhs, rhs vector.Any) vector.Any { |
| 235 | lconst := vector.IntValue(lhs, 0) |