- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for stringSlice (0.2 sec)
-
pkg/api/v1/service/util_test.go
if len(cidrs) != 1 { t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice()) } cidrs = checkOK("192.168.0.1/32,192.168.0.1/32") if len(cidrs) != 1 { t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice()) } cidrs = checkOK("192.168.0.1/32,192.168.0.2/32") if len(cidrs) != 2 { t.Errorf("Expected two CIDRs: %v", cidrs.StringSlice()) } cidrs = checkOK(" 192.168.0.1/32 , 192.168.0.2/32 ")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 8.8K bytes - Viewed (0) -
pkg/api/service/util_test.go
if len(cidrs) != 1 { t.Errorf("Expected exactly one CIDR: %v", cidrs.StringSlice()) } cidrs = checkOK("192.168.0.1/32,192.168.0.1/32") if len(cidrs) != 1 { t.Errorf("Expected exactly one CIDR (after de-dup): %v", cidrs.StringSlice()) } cidrs = checkOK("192.168.0.1/32,192.168.0.2/32") if len(cidrs) != 2 { t.Errorf("Expected two CIDRs: %v", cidrs.StringSlice()) } cidrs = checkOK(" 192.168.0.1/32 , 192.168.0.2/32 ")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 7.6K bytes - Viewed (0) -
src/sort/sort_impl_120.go
func float64sImpl(x []float64) { Sort(Float64Slice(x)) } func stringsImpl(x []string) { Sort(StringSlice(x)) } func intsAreSortedImpl(x []int) bool { return IsSorted(IntSlice(x)) } func float64sAreSortedImpl(x []float64) bool { return IsSorted(Float64Slice(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 13:00:18 UTC 2023 - 602 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceSlice.yaml
namedResources: instances: - attributes: - bool: true int: 7 intSlice: ints: - 1 name: nameValue quantity: "0" string: stringValue stringSlice: strings: - stringsValue version: versionValue name: nameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 1.2K bytes - Viewed (0) -
src/sort/search_test.go
{"SearchStrings", SearchStrings(sdata, ""), 0}, {"IntSlice.Search", IntSlice(data).Search(0), 2}, {"Float64Slice.Search", Float64Slice(fdata).Search(2.0), 3}, {"StringSlice.Search", StringSlice(sdata).Search("x"), 3}, } func TestSearchWrappers(t *testing.T) { for _, e := range wrappertests { if e.result != e.i { t.Errorf("%s: expected index %d; got %d", e.name, e.i, e.result) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 14:42:13 UTC 2022 - 6.8K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/namedresources.go
StringValue *string `json:"string,omitempty" protobuf:"bytes,5,opt,name=string"` // StringSliceValue is an array of strings. StringSliceValue *NamedResourcesStringSlice `json:"stringSlice,omitempty" protobuf:"bytes,9,rep,name=stringSlice"` // VersionValue is a semantic version according to semver.org spec 2.0.0. VersionValue *string `json:"version,omitempty" protobuf:"bytes,10,opt,name=version"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 12:18:45 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceSlice.yaml
namedResources: instances: - attributes: - bool: true int: 7 intSlice: ints: - 1 name: nameValue quantity: "0" string: stringValue stringSlice: strings: - stringsValue version: versionValue name: nameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceSlice.json
"bool": true, "int": 7, "intSlice": { "ints": [ 1 ] }, "string": "stringValue", "stringSlice": { "strings": [ "stringsValue" ] }, "version": "versionValue" } ] } ] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceSlice.json
"bool": true, "int": 7, "intSlice": { "ints": [ 1 ] }, "string": "stringValue", "stringSlice": { "strings": [ "stringsValue" ] }, "version": "versionValue" } ] } ] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/apis/resource/namedresources.go
// resolves to the corresponding value of the instance under evaluation. // For example: // // attributes.quantity["a"].isGreaterThan(quantity("0")) && // attributes.stringslice["b"].isSorted() Selector string } // NamedResourcesFilter is used in ResourceFilterModel. type NamedResourcesFilter struct { // Selector is a CEL expression which must evaluate to true if a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 12:18:45 UTC 2024 - 3.8K bytes - Viewed (0)