Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ok1 (0.02 sec)

  1. 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)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            result.assertTestClassesExecuted('SomeLocaleTests')
            result.testClass("SomeLocaleTests").assertTestCount(3, 0, 0)
            result.testClass("SomeLocaleTests").assertTestsExecuted('ok1 [de]', 'ok1 [en]', 'ok1 [fr]')
        }
    
        def "can run parameterized tests with categories"() {
            given:
            testSources.with {
                testCategory('SomeCategory')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy

            result.testClass("SomeLocaleTests").assertTestCount(3, 0, 0)
            result.testClass("SomeLocaleTests").assertTestsExecuted(
                result.testCase('ok1(Locale)[1]', 'French'),
                result.testCase('ok1(Locale)[2]', 'German'),
                result.testCase('ok1(Locale)[3]', 'English')
            )
        }
    
        def "can run parameterized tests with tags"() {
            given:
            testSources.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

    public class SomeTestClass {
        @Test
        public void ok1() {
        }
    
        @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
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. 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)
  6. src/testing/quick/quick.go

    		v.SetUint(uint64(randInt64(rand)))
    	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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top