MCPcopy Create free account
hub / github.com/nginx-proxy/docker-gen / Len

Method Len

internal/template/sort.go:36–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (s sortableData) Len() int { return len(s.data) }
37
38func (s sortableData) Swap(i, j int) { s.data[i], s.data[j] = s.data[j], s.data[i] }
39

Callers 15

generalizedWhereFunction · 0.80
setMethod · 0.80
TestKeysEmptyFunction · 0.80
TestIntersectFunction · 0.80
generalizedGroupByFunction · 0.80
deepGetImplFunction · 0.80
TestGroupByExistingKeyFunction · 0.80
TestGroupByAfterWhereFunction · 0.80
TestGroupByWithDefaultFunction · 0.80

Calls

no outgoing calls

Tested by 10

TestKeysEmptyFunction · 0.64
TestIntersectFunction · 0.64
TestGroupByExistingKeyFunction · 0.64
TestGroupByAfterWhereFunction · 0.64
TestGroupByWithDefaultFunction · 0.64
TestGroupByLabelFunction · 0.64