- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for o2k2 (0.04 sec)
-
src/context/x_test.go
o0 := otherContext{Background()} check(o0, "o0", "", "", "") o1 := otherContext{WithValue(Background(), k1, "c1k1")} check(o1, "o1", "c1k1", "", "") o2 := WithValue(o1, k2, "o2k2") check(o2, "o2", "c1k1", "o2k2", "") o3 := otherContext{c4} check(o3, "o3", "", "c2k2", "c3k3") o4 := WithValue(o3, k3, nil) check(o4, "o4", "", "c2k2", "") } func TestAllocs(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 26.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy
when: succeedsWithTestTaskArguments("test", "--tests=Ok2*") then: def testResult = new DefaultTestExecutionResult(testDirectory) testResult.assertTestClassesExecuted('Ok2') when: succeedsWithTestTaskArguments("cleanTest", "test", "--tests=Ok*") then: testResult.assertTestClassesExecuted('Ok', 'Ok2') when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 17.2K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver.go
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) -
src/math/big/intconv_test.go
n2, ok2 := tmp.SetString(test.in, test.base) expected := NewInt(test.val) if ok1 != test.ok || ok2 != test.ok { t.Errorf("#%d (input '%s') ok incorrect (should be %t)", i, test.in, test.ok) continue } if !ok1 { if n1 != nil { t.Errorf("#%d (input '%s') n1 != nil", i, test.in) } continue } if !ok2 { if n2 != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 22:58:58 UTC 2019 - 10K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy
} @Test public void ok2() { } } """ file("src/integTest/java/org/example/SomeIntegTestClass.java") << """ package org.example; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; @Tag("fast") public class SomeIntegTestClass { @Test public void ok1() { } @Test public void ok2() { } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 18K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
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) -
src/testing/quick/quick.go
case reflect.Map: numElems := rand.Intn(size) v.Set(reflect.MakeMap(concrete)) for i := 0; i < numElems; i++ { key, ok1 := sizedValue(concrete.Key(), rand, size) value, ok2 := sizedValue(concrete.Elem(), rand, size) if !ok1 || !ok2 { return reflect.Value{}, false } v.SetMapIndex(key, value) } case reflect.Pointer: if rand.Intn(size) == 0 { v.SetZero() // Generate nil pointer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K 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)