MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Or

Function Or

pkg/util/bitarray/bitarray.go:430–436  ·  view source on GitHub ↗

Or computes the logical OR of two bit arrays. The caller must ensure they have the same bit size.

(lhs, rhs BitArray)

Source from the content-addressed store, hash-verified

428// Or computes the logical OR of two bit arrays.
429// The caller must ensure they have the same bit size.
430func Or(lhs, rhs BitArray) BitArray {
431 res := lhs.Clone()
432 for i, w := range rhs.words {
433 res.words[i] |= w
434 }
435 return res
436}
437
438// Xor computes the logical XOR of two bit arrays.
439// The caller must ensure they have the same bit size.

Callers 1

eval.goFile · 0.92

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected