MCPcopy
hub / github.com/dropbox/godropbox / Less

Method Less

time2/mock_clock.go:20–20  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

18
19func (h tHeap) Len() int { return len(h) }
20func (h tHeap) Less(i, j int) bool { return !h[i].t.After(h[j].t) }
21func (h tHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
22
23func (h *tHeap) Push(x interface{}) {

Callers

nothing calls this directly

Calls 1

AfterMethod · 0.65

Tested by

no test coverage detected