Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for G0 (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/lock_futex.go

    	gp := getg()
    	if gp != gp.m.g0 && gp.m.preemptoff != "" {
    		throw("notetsleep not on g0")
    	}
    
    	return notetsleep_internal(n, ns)
    }
    
    // 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")
    	}
    
    	entersyscallblock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/runtime/cgo_sigaction.go

    			// and g0, so we should stay on the current stack to avoid corrupting g0.
    			ret = callCgoSigaction(uintptr(sig), new, old)
    		default:
    			// We're running on g's stack, so either we're not in a signal handler or
    			// the signal handler has set the correct g.  If we're on gsignal or g0,
    			// systemstack will make the call directly; otherwise, it will switch to
    			// g0 to ensure we have enough room to call a libc function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. src/runtime/asm_mips64x.s

    	MOVV	g, R2
    
    	// Figure out if we need to switch to m->g0 stack.
    	// We get called to create new OS threads too, and those
    	// come in on the m->g0 stack already. Or we might already
    	// be on the m->gsignal stack.
    	MOVV	g_m(g), R5
    	MOVV	m_gsignal(R5), R6
    	BEQ	R6, g, g0
    	MOVV	m_g0(R5), R6
    	BEQ	R6, g, g0
    
    	JAL	gosave_systemstack_switch<>(SB)
    	MOVV	R6, g
    	JAL	runtime·save_g(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  8. src/runtime/os_openbsd_libc.go

    func mstart_stub()
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrierrec
    func newosproc(mp *m) {
    	if false {
    		print("newosproc m=", mp, " g=", mp.g0, " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	// Initialize an attribute object.
    	var attr pthreadattr
    	if err := pthread_attr_init(&attr); err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/os_openbsd_syscall.go

    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	stk := unsafe.Pointer(mp.g0.stack.hi)
    	if false {
    		print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	// Stack pointer must point inside stack area (as marked with MAP_STACK),
    	// rather than at the top of it.
    	param := tforkt{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. src/runtime/asm_riscv64.s

    	MOV	g, X9
    
    	// Figure out if we need to switch to m->g0 stack.
    	// We get called to create new OS threads too, and those
    	// come in on the m->g0 stack already. Or we might already
    	// be on the m->gsignal stack.
    	MOV	g_m(g), X6
    	MOV	m_gsignal(X6), X7
    	BEQ	X7, g, g0
    	MOV	m_g0(X6), X7
    	BEQ	X7, g, g0
    
    	CALL	gosave_systemstack_switch<>(SB)
    	MOV	X7, g
    	CALL	runtime·save_g(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top