- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ok1 (3.05 sec)
-
pilot/pkg/model/jwks_resolver.go
sort.Slice(oldKeys, func(i, j int) bool { key1, ok1 := oldKeys[i].(map[string]any) key2, ok2 := oldKeys[j].(map[string]any) if ok1 && ok2 { key1Id, kid1Exists := key1["kid"] key2Id, kid2Exists := key2["kid"] if kid1Exists && kid2Exists { key1IdStr, ok1 := key1Id.(string) key2IdStr, ok2 := key2Id.(string) if ok1 && ok2 { return key1IdStr < key2IdStr } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
test := test t.Run("", func(t *testing.T) { fi, err := findFileInfoInQuorum(context.Background(), test.fis, test.modTime, "", test.expectedQuorum) _, ok1 := err.(InsufficientReadQuorum) _, ok2 := test.expectedErr.(InsufficientReadQuorum) if ok1 != ok2 { t.Errorf("Expected %s, got %s", test.expectedErr, err) } if test.succmodTimes != nil { if !test.expectedSuccModTime.Equal(fi.SuccessorModTime) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 20:57:37 UTC 2024 - 10.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
// If the /status subresource endpoint is installed, update is not allowed to set status. if a.status != nil { _, ok1 := newCustomResource["status"] _, ok2 := oldCustomResource["status"] switch { case ok2: newCustomResource["status"] = oldCustomResource["status"] case ok1: delete(newCustomResource, "status") } } // except for the changes to `metadata`, any other changes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 21:22:34 UTC 2024 - 14.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt
} """ ) assertThat( build("broken", "ok1", "ok2").output, allOf( containsString("broken -> value = abc"), containsString("ok1 -> value = abc"), containsString("ok2 -> value = abc"), ) ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 18:26:28 UTC 2024 - 37.5K bytes - Viewed (0) -
cmd/storage-datatypes.go
} return fi.Erasure.DataBlocks } // Equals checks if fi(FileInfo) matches ofi(FileInfo) func (fi FileInfo) Equals(ofi FileInfo) (ok bool) { typ1, ok1 := crypto.IsEncrypted(fi.Metadata) typ2, ok2 := crypto.IsEncrypted(ofi.Metadata) if ok1 != ok2 { return false } if typ1 != typ2 { return false } if fi.IsCompressed() != ofi.IsCompressed() { return false }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 15.7K bytes - Viewed (0) -
src/time/zoneinfo_read.go
d.error = true return 0, false } return uint32(p[3]) | uint32(p[2])<<8 | uint32(p[1])<<16 | uint32(p[0])<<24, true } func (d *dataIO) big8() (n uint64, ok bool) { n1, ok1 := d.big4() n2, ok2 := d.big4() if !ok1 || !ok2 { d.error = true return 0, false } return (uint64(n1) << 32) | uint64(n2), true } func (d *dataIO) byte() (n byte, ok bool) { p := d.read(1) if len(p) < 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go
"object.spec.string.findAll('[0-9]+').size() > 0", // kubernetes string lib "object.spec.list.isSorted()", // kubernetes list lib "url(object.spec.endpoint).getHostname() in ['ok1', 'ok2']", // kubernetes url lib }, }, { name: "valid request", expressions: []string{ "request.kind.group == 'example.com' && request.kind.version == 'v1' && request.kind.kind == 'Fake'",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.8K bytes - Viewed (0) -
src/archive/tar/writer_test.go
testWrite{"Kilts", 5, nil}, testHeader{Header{Name: "dir/"}, nil}, testClose{nil}, }, }} equalError := func(x, y error) bool { _, ok1 := x.(headerError) _, ok2 := y.(headerError) if ok1 || ok2 { return ok1 && ok2 } return x == y } for _, v := range vectors { t.Run(path.Base(v.file), func(t *testing.T) { const maxSize = 10 << 10 // 10KiB
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0)