MCPcopy
hub / github.com/minio/minio-go / CreateIntSet

Function CreateIntSet

pkg/set/intset.go:120–122  ·  view source on GitHub ↗

CreateIntSet - creates new int set with given int values.

(il ...int)

Source from the content-addressed store, hash-verified

118
119// CreateIntSet - creates new int set with given int values.
120func CreateIntSet(il ...int) IntSet {
121 return IntSet(Create(il...))
122}
123
124// CopyIntSet - returns copy of given set.
125func CopyIntSet(set IntSet) IntSet {

Callers 11

api.goFile · 0.92
retry.goFile · 0.92
TestIntSetMarshalJSONFunction · 0.85
TestIntSetStringFunction · 0.85
TestIntSetToSliceFunction · 0.85
TestIntSetMsgpRoundtripFunction · 0.85
TestIntSetMsgpBinaryFunction · 0.85
TestIntSetMsgsizeFunction · 0.85
TestMsgpSortedBehaviorFunction · 0.85

Calls 2

IntSetTypeAlias · 0.85
CreateFunction · 0.85

Tested by 9

TestIntSetMarshalJSONFunction · 0.68
TestIntSetStringFunction · 0.68
TestIntSetToSliceFunction · 0.68
TestIntSetMsgpRoundtripFunction · 0.68
TestIntSetMsgpBinaryFunction · 0.68
TestIntSetMsgsizeFunction · 0.68
TestMsgpSortedBehaviorFunction · 0.68