(lhs, rhs vector.Any)
| 916 | } |
| 917 | |
| 918 | func compareEQStringConstView(lhs, rhs vector.Any) vector.Any { |
| 919 | lconst := vector.StringValue(lhs, 0) |
| 920 | rd := rhs.(*vector.View) |
| 921 | r := rd.Any.(*vector.String) |
| 922 | rx := rd.Index |
| 923 | n := lhs.Len() |
| 924 | out := vector.NewFalse(n) |
| 925 | for k := range n { |
| 926 | if lconst == r.Value(uint32(rx[k])) { |
| 927 | out.Set(k) |
| 928 | } |
| 929 | } |
| 930 | return out |
| 931 | } |
| 932 | |
| 933 | func compareEQStringConstConst(lhs, rhs vector.Any) vector.Any { |
| 934 | lconst := vector.StringValue(lhs, 0) |
nothing calls this directly
no test coverage detected