MCPcopy Index your code
hub / github.com/google/mangle / Size

Method Size

factstore/interval_tree.go:220–222  ·  view source on GitHub ↗

Size returns the number of intervals in the tree.

()

Source from the content-addressed store, hash-verified

218
219// Size returns the number of intervals in the tree.
220func (t *IntervalTree) Size() int {
221 return t.size
222}
223
224// Clear removes all intervals from the tree.
225func (t *IntervalTree) Clear() {

Callers 6

TestIntervalTree_InsertFunction · 0.95
TestIntervalTree_BalanceFunction · 0.95
TestIntervalTree_ClearFunction · 0.95
TestIntervalTree_RebuildFunction · 0.95
AddMethod · 0.80
CoalesceMethod · 0.80

Calls

no outgoing calls

Tested by 4

TestIntervalTree_InsertFunction · 0.76
TestIntervalTree_BalanceFunction · 0.76
TestIntervalTree_ClearFunction · 0.76
TestIntervalTree_RebuildFunction · 0.76