Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/port_unix.go

    			continue
    		}
    		portnet := f[1] // "80/tcp"
    		port, j, ok := dtoi(portnet)
    		if !ok || port <= 0 || j >= len(portnet) || portnet[j] != '/' {
    			continue
    		}
    		netw := portnet[j+1:] // "tcp"
    		m, ok1 := services[netw]
    		if !ok1 {
    			m = make(map[string]int)
    			services[netw] = m
    		}
    		for i := 0; i < len(f); i++ {
    			if i != 1 { // f[1] was port/net
    				m[f[i]] = port
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            return !(version in ['4.10', '4.11', '4.12'])
        }
    
        def 'reports unloadable #type'() {
            given:
            testSources.with {
                testClass('SomeTestClass').with {
                    testMethod('ok1')
                    testMethod('ok2')
                }
            }
            testSourceGenerator.writeAllSources(testSources)
            buildFile << """
                apply plugin: "java"
    
                ${mavenCentralRepository()}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/os/types.go

    // the decision may be based on the path names.
    // SameFile only applies to results returned by this package's [Stat].
    // It returns false in other cases.
    func SameFile(fi1, fi2 FileInfo) bool {
    	fs1, ok1 := fi1.(*fileStat)
    	fs2, ok2 := fi2.(*fileStat)
    	if !ok1 || !ok2 {
    		return false
    	}
    	return sameFile(fs1, fs2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

            return Description.createSuiteDescription(type)
        }
    
        void run(RunNotifier notifier) {
            notifier.fireTestStarted(Description.createTestDescription(type, "ok1"))
            notifier.fireTestFinished(Description.createTestDescription(type, "ok1"))
            notifier.fireTestStarted(Description.createTestDescription(type, "broken"))
            throw failure.rawFailure
        }
    }
    
    public class ATestClassWhichCannotBeLoaded {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. src/iter/iter.go

    			}
    			done = true // Invalidate iterator
    			race.Release(unsafe.Pointer(&racer))
    		}()
    		seq(yield)
    		var v0 V
    		v, ok = v0, false
    		seqDone = true
    	})
    	next = func() (v1 V, ok1 bool) {
    		race.Write(unsafe.Pointer(&racer)) // detect races
    
    		if done {
    			return
    		}
    		if yieldNext {
    			panic("iter.Pull: next called again before yield")
    		}
    		yieldNext = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    // An invalid semantic version string is considered less than a valid one.
    // All invalid semantic version strings compare equal to each other.
    func Compare(v, w string) int {
    	pv, ok1 := parse(v)
    	pw, ok2 := parse(w)
    	if !ok1 && !ok2 {
    		return 0
    	}
    	if !ok1 {
    		return -1
    	}
    	if !ok2 {
    		return +1
    	}
    	if c := compareInt(pv.major, pw.major); c != 0 {
    		return c
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top