MCPcopy
hub / github.com/pingcap/tidb / Insert

Method Insert

pkg/util/set/string_set.go:42–44  ·  view source on GitHub ↗

Insert inserts `val` into `s`.

(val string)

Source from the content-addressed store, hash-verified

40
41// Insert inserts `val` into `s`.
42func (s StringSet) Insert(val string) {
43 s[val] = struct{}{}
44}
45
46// Intersection returns the intersection of two sets
47func (s StringSet) Intersection(rhs StringSet) StringSet {

Callers 15

coalesceCommonColumnsMethod · 0.95
mergeMethod · 0.95
LoadOptRuleBlacklistFunction · 0.95
NextMethod · 0.95
checkDuplicateColumnFunction · 0.95
getRegexpMatchTypeFunction · 0.95
IntersectionMethod · 0.95

Calls

no outgoing calls