- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for newString (0.31 sec)
-
android/guava-tests/test/com/google/common/base/Utf8Test.java
}; for (char surrogate : surrogates) { builder.add(newString(surrogate)); builder.add(newString(surrogate, 'n')); builder.add(newString('n', surrogate)); builder.add(newString(surrogate, surrogate)); } builder.add(newString(MIN_LOW_SURROGATE, MAX_HIGH_SURROGATE)); ILL_FORMED_STRINGS = builder.build(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go
"/apis/foo-group/foo-version/namespaces/{namespace}/foos": {expectNamespaceParam: true, expectNameParam: false, expectedActions: sets.NewString("post", "list", "deletecollection")}, "/apis/foo-group/foo-version/namespaces/{namespace}/foos/{name}": {expectNamespaceParam: true, expectNameParam: true, expectedActions: sets.NewString("get", "put", "patch", "delete")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 26.2K bytes - Viewed (0) -
pkg/apis/flowcontrol/validation/validation.go
) var supportedSubjectKinds = sets.NewString( string(flowcontrol.SubjectKindServiceAccount), string(flowcontrol.SubjectKindGroup), string(flowcontrol.SubjectKindUser), ) var supportedPriorityLevelEnablement = sets.NewString( string(flowcontrol.PriorityLevelEnablementExempt), string(flowcontrol.PriorityLevelEnablementLimited), ) var supportedLimitResponseType = sets.NewString( string(flowcontrol.LimitResponseTypeQueue),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 26.7K bytes - Viewed (0) -
pkg/controller/deployment/sync_test.go
expectedDeletedRSs: sets.NewString("foo-1"), }, { // revision order: rs2 < rs1, delete rs2 oldRSs: []*apps.ReplicaSet{ newRSWithRevisionAndCreationTimestamp("foo-1", 0, selector, now.Add(-1*duration), "2"), newRSWithRevisionAndCreationTimestamp("foo-2", 0, selector, now.Time, "1"), }, revisionHistoryLimit: 1, expectedDeletedRSs: sets.NewString("foo-2"), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/ipset_test.go
if err != nil { t.Errorf("expected success, got %v", err) } if fcmd.CombinedOutputCalls != 1 { t.Errorf("expected 1 CombinedOutput() calls, got %d", fcmd.CombinedOutputCalls) } if !sets.NewString(fcmd.CombinedOutputLog[0]...).HasAll("ipset", "flush", "FOOBAR") { t.Errorf("wrong CombinedOutput() log, got %s", fcmd.CombinedOutputLog[0]) } // Flush again err = runner.FlushSet("FOOBAR") if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 41.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config_test.go
json.Unmarshal(body, &result) paths, ok := result["paths"].([]interface{}) if !ok { t.Errorf("paths not found") } pathset := sets.NewString() for _, p := range paths { pathset.Insert(p.(string)) } expectedset := sets.NewString(expectedPaths...) for p := range pathset.Difference(expectedset) { t.Errorf("Got %v path, which we did not expect", p) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 13.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
var allErrs field.ErrorList seenClaims := sets.NewString() seenExpressions := sets.NewString() var compilationResults []authenticationcel.CompilationResult for i, rule := range rules { fldPath := fldPath.Index(i) if len(rule.Expression) > 0 && !structuredAuthnFeatureEnabled {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go
pls = make([]*flowcontrol.PriorityLevelConfiguration, 0, n) plMap = make(map[string]*flowcontrol.PriorityLevelConfiguration, n) goodNames = sets.NewString() badNames = sets.NewString(trial+"-nopl1", trial+"-nopl2") addGood := func(pl *flowcontrol.PriorityLevelConfiguration) { pls = append(pls, pl) plMap[pl.Name] = pl goodNames.Insert(pl.Name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
continue } // the verbs should match the features of resources for _, r := range resources.APIResources { switch r.Name { case "getter": if got, expected := sets.NewString([]string(r.Verbs)...), sets.NewString("get"); !got.Equal(expected) { t.Errorf("[%d] unexpected verbs for resource %s/%s: got=%v expected=%v", i, resources.GroupVersion, r.Name, got, expected) } case "noverbs":
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
createGetRequestWithUrl("/healthz?verbose=true"), sets.NewString(), }, {"Should extract out the ping health check", createGetRequestWithUrl("/healthz?exclude=ping"), sets.NewString("ping"), }, {"Should extract out ping and log health check", createGetRequestWithUrl("/healthz?exclude=ping&exclude=log"), sets.NewString("ping", "log"), }, } for _, tt := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0)