Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cockroachdb/cockroachdb-parser
/ onesComplement
Function
onesComplement
pkg/util/encoding/complement_safe.go:10–14 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
8
package
encoding
9
10
func
onesComplement(b []byte) {
11
for
i :=
range
b {
12
b[i] = ^b[i]
13
}
14
}
Callers
10
EncodeBytesDescending
Function · 0.70
DecodeBytesDescending
Function · 0.70
EncodeGeoDescending
Function · 0.70
DecodeGeoDescending
Function · 0.70
encodeSmallNumber
Function · 0.70
encodeLargeNumber
Function · 0.70
encodeMediumNumber
Function · 0.70
decodeSmallNumber
Function · 0.70
decodeMediumNumber
Function · 0.70
decodeLargeNumber
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…