MCPcopy Create free account
hub / github.com/segmentio/encoding / intStringsAreSorted

Function intStringsAreSorted

json/codec.go:1042–1045  ·  view source on GitHub ↗
(i0, i1 int64)

Source from the content-addressed store, hash-verified

1040}
1041
1042func intStringsAreSorted(i0, i1 int64) bool {
1043 var b0, b1 [32]byte
1044 return string(strconv.AppendInt(b0[:0], i0, 10)) < string(strconv.AppendInt(b1[:0], i1, 10))
1045}
1046
1047func uintStringsAreSorted(u0, u1 uint64) bool {
1048 var b0, b1 [32]byte

Callers 1

constructMapCodecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…