MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Less

Method Less

base/util.go:641–641  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

639
640func (s SortedUint64Slice) Len() int { return len(s) }
641func (s SortedUint64Slice) Less(i, j int) bool { return s[i] < s[j] }
642func (s SortedUint64Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
643
644// Sort is a convenience method.

Callers 13

TestResumeStoppedFeedFunction · 0.45
TestGetExpiryFunction · 0.45
StartShardedDCPFeedFunction · 0.45
getMinNodeVersionFunction · 0.45
TestBlipStatsFastReportFunction · 0.45
_pruneVersionMethod · 0.45
_applyConfigMethod · 0.45
SafeDocumentNameFunction · 0.45
SetSGVersionMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestResumeStoppedFeedFunction · 0.36
TestGetExpiryFunction · 0.36
TestBlipStatsFastReportFunction · 0.36