func bytes.Compare
12 uses
bytes (current package)
bytes.go#L26: func Compare(a, b []byte) int {
encoding/asn1
marshal.go#L115: return bytes.Compare(l[i], l[j]) < 0
github.com/go-git/go-git/v5/plumbing
hash.go#L72: func (p HashSlice) Less(i, j int) bool { return bytes.Compare(p[i][:], p[j][:]) < 0 }
github.com/go-git/go-git/v5/plumbing/format/idxfile
idxfile.go#L91: cmp := bytes.Compare(h[:], data[offset:offset+objectIDLength])
writer.go#L180: cmp := bytes.Compare(o[i].Hash[:], o[j].Hash[:])
github.com/jackc/pgtype
point.go#L48: if src == nil || bytes.Compare(src, []byte("null")) == 0 {
uuid.go#L223: if bytes.Compare(src, []byte("null")) == 0 {
golang.org/x/crypto/ssh
certs.go#L237: if bytes.Compare(cert.Key.Marshal(), signer.PublicKey().Marshal()) != 0 {
golang.org/x/crypto/ssh/agent
client.go#L732: if bytes.Compare(cert.Key.Marshal(), signer.PublicKey().Marshal()) != 0 {
golang.org/x/text/internal/language
parse.go#L489: if bytes.Compare(scan.token, last) != -1 {
parse.go#L511: if keyEnd == end || bytes.Compare(key, last) != 1 {
golang.org/x/text/secure/precis
profile.go#L319: return bytes.Compare(akey, bkey) == 0
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |