MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Less

Method Less

scripts/verify/main.go:72–76  ·  view source on GitHub ↗
(i int, j int)

Source from the content-addressed store, hash-verified

70}
71
72func (b ByR) Less(i int, j int) bool {
73 bi := b[i]
74 bj := b[j]
75 return less(bi, bj)
76}
77
78func (b ByR) Swap(i int, j int) {
79 b[i], b[j] = b[j], b[i]

Callers

nothing calls this directly

Calls 1

lessFunction · 0.85

Tested by

no test coverage detected