MCPcopy Index your code
hub / github.com/pingcap/tidb / Count

Method Count

pkg/util/set/string_set.go:75–77  ·  view source on GitHub ↗

Count returns the number in Set s.

()

Source from the content-addressed store, hash-verified

73
74// Count returns the number in Set s.
75func (s StringSet) Count() int {
76 return len(s)
77}
78
79// Empty returns whether s is empty.
80func (s StringSet) Empty() bool {

Callers 1

TestStringSetFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestStringSetFunction · 0.76