Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for G0 (0.02 sec)

  1. src/image/color/ycbcr_test.go

    		for g := 0; g < 256; g += 5 {
    			for b := 0; b < 256; b += 3 {
    				r0, g0, b0 := uint8(r), uint8(g), uint8(b)
    				y, cb, cr := RGBToYCbCr(r0, g0, b0)
    				r1, g1, b1 := YCbCrToRGB(y, cb, cr)
    				if delta(r0, r1) > 2 || delta(g0, g1) > 2 || delta(b0, b1) > 2 {
    					t.Fatalf("\nr0, g0, b0 = %d, %d, %d\ny,  cb, cr = %d, %d, %d\nr1, g1, b1 = %d, %d, %d",
    						r0, g0, b0, y, cb, cr, r1, g1, b1)
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
  2. test/typeparam/dictionaryCapture.go

    		panic(fmt.Sprintf("f2() == %d, %d, want %d, %d", got1, got2, want, want))
    	}
    }
    
    var x interface {
    	g0()
    	g1() int
    	g2() (int, int)
    } = s[int]{a: 7}
    var y interface{} = s[int]{a: 7}
    
    func interfaceMethods() {
    	x.g0()
    	is7(x.g1())
    	is77(x.g2())
    	y.(interface{ g0() }).g0()
    	is7(y.(interface{ g1() int }).g1())
    	is77(y.(interface{ g2() (int, int) }).g2())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. test/typeparam/dictionaryCapture-noinline.go

    }
    
    var x interface {
    	g0()
    	g1() int
    	g2() (int, int)
    } = s[int]{a: 7}
    var y interface{} = s[int]{a: 7}
    
    func interfaceMethods() {
    	x.g0()
    	is7(x.g1())
    	is77(x.g2())
    	y.(interface{ g0() }).g0()
    	is7(y.(interface{ g1() int }).g1())
    	is77(y.(interface{ g2() (int, int) }).g2())
    }
    
    // Also check for instantiations outside functions.
    var gg0 = g0[int]
    var gg1 = g1[int]
    var gg2 = g2[int]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/lock_sema.go

    	gp := getg()
    	if gp != gp.m.g0 {
    		throw("notetsleep not on g0")
    	}
    	semacreate(gp.m)
    	return notetsleep_internal(n, ns, nil, 0)
    }
    
    // same as runtimeĀ·notetsleep, but called on user g (not g0)
    // calls only nosplit functions between entersyscallblock/exitsyscall.
    func notetsleepg(n *note, ns int64) bool {
    	gp := getg()
    	if gp == gp.m.g0 {
    		throw("notetsleepg on g0")
    	}
    	semacreate(gp.m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/runtime/libfuzzer_arm64.s

    	MOVD	fakePC+24(FP), R8
    	// Save the original return address in a local variable
    	MOVD	R30, savedRetAddr-8(SP)
    
    	MOVD	g_m(g), R10
    
    	// Switch to g0 stack.
    	MOVD	RSP, R19	// callee-saved, preserved across the CALL
    	MOVD	m_g0(R10), R11
    	CMP	R11, g
    	BEQ	call	// already on g0
    	MOVD	(g_sched+gobuf_sp)(R11), R12
    	MOVD	R12, RSP
    call:
    	// Load address of the ret sled into the default register for the return
    	// address.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 07 14:47:46 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/execution/plan/OrdinalGroupFactoryTest.groovy

            when:
            def g2 = subject.group(2)
            def g0 = subject.group(0)
            def g1 = subject.group(1)
    
            then:
            subject.allGroups == [g0, g1, g2]
        }
    
        def 'returns the same group for the same ordinal'() {
            given:
            def subject = new OrdinalGroupFactory()
    
            when:
            def g0 = subject.group(0)
            def g1 = subject.group(1)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 02 17:42:59 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. src/go/doc/testdata/issue13742.0.golden

    PACKAGE issue13742
    
    IMPORTPATH
    	testdata/issue13742
    
    IMPORTS
    	go/ast
    
    FILENAMES
    	testdata/issue13742.go
    
    FUNCTIONS
    	// Both F0 and G0 should appear as functions. 
    	func F0(Node)
    
    	// Both F1 and G1 should appear as functions. 
    	func F1(ast.Node)
    
    	// 
    	func G0() Node
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 04:10:51 UTC 2016
    - 299 bytes
    - Viewed (0)
  8. src/go/doc/testdata/issue13742.1.golden

    PACKAGE issue13742
    
    IMPORTPATH
    	testdata/issue13742
    
    IMPORTS
    	go/ast
    
    FILENAMES
    	testdata/issue13742.go
    
    FUNCTIONS
    	// Both F0 and G0 should appear as functions. 
    	func F0(Node)
    
    	// Both F1 and G1 should appear as functions. 
    	func F1(ast.Node)
    
    	// 
    	func G0() Node
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 04:10:51 UTC 2016
    - 299 bytes
    - Viewed (0)
  9. src/go/doc/testdata/issue13742.2.golden

    PACKAGE issue13742
    
    IMPORTPATH
    	testdata/issue13742
    
    IMPORTS
    	go/ast
    
    FILENAMES
    	testdata/issue13742.go
    
    FUNCTIONS
    	// Both F0 and G0 should appear as functions. 
    	func F0(Node)
    
    	// Both F1 and G1 should appear as functions. 
    	func F1(ast.Node)
    
    	// 
    	func G0() Node
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 04:10:51 UTC 2016
    - 299 bytes
    - Viewed (0)
  10. src/runtime/asan_amd64.s

    	JMP	asancall<>(SB)
    
    // Switches SP to g0 stack and calls (AX). Arguments already set.
    TEXT	asancall<>(SB), NOSPLIT, $0-0
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	CMPQ	R14, $0
    	JE	call	// no g; still on a system stack
    
    	MOVQ	g_m(R14), R13
    	// Switch to g0 stack.
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    
    	MOVQ	(g_sched+gobuf_sp)(R10), SP
    call:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 02:20:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top