Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for o2k2 (0.04 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. test/fixedbugs/issue52856.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "./a"
    
    func F() any {
    	return struct{ int }{0}
    }
    
    func main() {
    	_, ok1 := F().(struct{ int })
    	_, ok2 := a.F().(struct{ int })
    	if !ok1 || ok2 {
    		panic(0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:26:59 UTC 2022
    - 343 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/syscall/asm_unix_amd64.s

    	MOVQ	a2+16(FP), SI
    	MOVQ	a3+24(FP), DX
    	MOVQ	a4+32(FP), R10
    	MOVQ	a5+40(FP), R8
    	MOVQ	a6+48(FP), R9
    	MOVQ	trap+0(FP), AX	// syscall entry
    	SYSCALL
    	JCC	ok2
    	MOVQ	$-1, r1+56(FP)	// r1
    	MOVQ	$0, r2+64(FP)	// r2
    	MOVQ	AX, err+72(FP)	// errno
    	RET
    ok2:
    	MOVQ	AX, r1+56(FP)	// r1
    	MOVQ	DX, r2+64(FP)	// r2
    	MOVQ	$0, err+72(FP)	// errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:40:39 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top