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

Function NewIntSet

pkg/set/intset.go:115–117  ·  view source on GitHub ↗

NewIntSet - creates new int set.

()

Source from the content-addressed store, hash-verified

113
114// NewIntSet - creates new int set.
115func NewIntSet() IntSet {
116 return IntSet(New[int]())
117}
118
119// CreateIntSet - creates new int set with given int values.
120func CreateIntSet(il ...int) IntSet {

Callers 7

TestIntSetMarshalJSONFunction · 0.85
TestIntSetStringFunction · 0.85
TestIntSetToSliceFunction · 0.85
TestIntSet_UnmarshalJSONFunction · 0.85
TestIntSetMsgpRoundtripFunction · 0.85
TestIntSetMsgsizeFunction · 0.85

Calls 1

IntSetTypeAlias · 0.85

Tested by 7

TestIntSetMarshalJSONFunction · 0.68
TestIntSetStringFunction · 0.68
TestIntSetToSliceFunction · 0.68
TestIntSet_UnmarshalJSONFunction · 0.68
TestIntSetMsgpRoundtripFunction · 0.68
TestIntSetMsgsizeFunction · 0.68