Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for o2k2 (0.05 sec)

  1. 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)
  2. src/internal/trace/mud_test.go

    		for j := 0.0; j < mass; j += mass * 0.099 {
    			mud.setTrackMass(j)
    			l, u, ok := mud.approxInvCumulativeSum()
    			inv, ok2 := mud.invCumulativeSum(j)
    			if !ok || !ok2 {
    				t.Fatalf("inverse cumulative sum failed: approx %v, exact %v", ok, ok2)
    			}
    			if !(l <= inv && inv < u) {
    				t.Fatalf("inverse(%g) = %g, not ∈ [%g, %g)", j, inv, l, u)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/syscall/asm_linux_s390x.s

    	MOVD	a3+24(FP), R4
    	MOVD	$0, R5
    	MOVD	$0, R6
    	MOVD	$0, R7
    	MOVD	trap+0(FP), R1	// syscall entry
    	SYSCALL
    	MOVD	$0xfffffffffffff001, R8
    	CMPUBLT	R2, R8, ok2
    	MOVD	$-1, r1+32(FP)
    	NEG	R2, R2
    	MOVD	R2, err+40(FP)	// errno
    	RET
    ok2:
    	MOVD	R2, r1+32(FP)
    	MOVD	$0, err+40(FP)	// errno
    	RET
    
    // func rawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
    TEXT ·rawSyscallNoError(SB),NOSPLIT,$0-48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/syscall/asm_linux_amd64.s

    	MOVQ	$0, R10
    	MOVQ	$0, R8
    	MOVQ	$0, R9
    	MOVQ	trap+0(FP), AX	// syscall entry
    	POPQ	R12 // preserve return address
    	SYSCALL
    	PUSHQ	R12
    	CMPQ	AX, $0xfffffffffffff001
    	JLS	ok2
    	MOVQ	$-1, r1+32(FP)
    	NEGQ	AX
    	MOVQ	AX, err+40(FP)
    	RET
    ok2:
    	MOVQ	AX, r1+32(FP)
    	MOVQ	$0, err+40(FP)
    	RET
    
    // func rawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
    TEXT ·rawSyscallNoError(SB),NOSPLIT,$0-48
    	MOVQ	a1+8(FP), DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

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

    // 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)
  9. internal/s3select/csv/reader_contrib_test.go

    			wantFields:      "ok1,ok2,ok3\n" + `a word,"b"""` + "\n",
    			wantErr:         io.EOF,
    		},
    		{
    			// This works since LazyQuotes is true:
    			file:            "invalid-badstartline.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			sendErr:         nil,
    			header:          true,
    			wantColumns:     []string{"header1", "header2", "header3"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    // 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
    	}
    	if c := compareInt(pv.minor, pw.minor); 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