Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
75
func
(s StringSet) Count() int {
76
return
len(s)
77
}
78
79
// Empty returns whether s is empty.
80
func
(s StringSet) Empty() bool {
Callers
1
TestStringSet
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestStringSet
Function · 0.76