- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 140 for G0 (0.03 sec)
-
src/runtime/asm_s390x.s
MOVD g, R5 // 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. MOVD g_m(g), R6 MOVD m_gsignal(R6), R7 CMPBEQ R7, g, g0 MOVD m_g0(R6), R7 CMPBEQ R7, g, g0 BL gosave_systemstack_switch<>(SB) MOVD R7, g BL runtime·save_g(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:18:28 UTC 2024 - 28.1K bytes - Viewed (0) -
src/runtime/asan_ppc64le.s
BR asancall<>(SB) // Switches SP to g0 stack and calls (FARG). Arguments already set. TEXT asancall<>(SB), NOSPLIT, $0-0 // LR saved in generated prologue // Get info from the current goroutine MOVD runtime·tls_g(SB), R10 // g offset in TLS MOVD 0(R10), g MOVD g_m(g), R7 // m for g MOVD R1, R16 // callee-saved, preserved across C call MOVD m_g0(R7), R10 // g0 for m CMP R10, g // same g0?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 18:13:33 UTC 2022 - 2.8K bytes - Viewed (0) -
src/runtime/asm_386.s
LEAL fn+0(FP), BX // caller's SP MOVL BX, (g_sched+gobuf_sp)(AX) // switch to m->g0 & its stack, call fn MOVL g(DX), BX MOVL g_m(BX), BX MOVL m_g0(BX), SI CMPL SI, AX // if g == m->g0 call badmcall JNE 3(PC) MOVL $runtime·badmcall(SB), AX JMP AX MOVL SI, g(DX) // g = m->g0 MOVL (g_sched+gobuf_sp)(SI), SP // sp = m->g0->sched.sp PUSHL AX MOVL DI, DX MOVL 0(DI), DI CALL DI POPL AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 15:45:13 UTC 2024 - 43.1K bytes - Viewed (0) -
src/runtime/lock_wasip1.go
func notetsleep(n *note, ns int64) bool { throw("notetsleep not supported by wasi") return false } // same as runtime·notetsleep, but called on user g (not g0) func notetsleepg(n *note, ns int64) bool { gp := getg() if gp == gp.m.g0 { throw("notetsleepg on g0") } deadline := nanotime() + ns for { if n.key != 0 { return true } if sched_yield() != 0 { throw("sched_yield failed") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java
List<PluginExecution> executions = plugin.getExecutions(); PluginExecution execution = executions.get(0); String g0 = execution.getGoals().get(0); assertEquals("plexus:runtime", g0); configuration = execution.getDelegate().getConfiguration(); assertEquals( "ContinuumPro", configuration.getChild("plexusApplicationName").getValue());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3.5K bytes - Viewed (0) -
src/runtime/asm_mipsx.s
MOVW 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. MOVW g_m(g), R5 MOVW m_gsignal(R5), R6 BEQ R6, g, g0 MOVW m_g0(R5), R6 BEQ R6, g, g0 JAL gosave_systemstack_switch<>(SB) MOVW R6, g JAL runtime·save_g(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 11:46:29 UTC 2024 - 26.3K bytes - Viewed (0) -
src/runtime/debug.go
// // Ensure mayMoreStackPreempt can be called for all ABIs. // //go:nosplit //go:linkname mayMoreStackPreempt func mayMoreStackPreempt() { // Don't do anything on the g0 or gsignal stack. gp := getg() if gp == gp.m.g0 || gp == gp.m.gsignal { return } // Force a preemption, unless the stack is already poisoned. if gp.stackguard0 < stackPoisonMin { gp.stackguard0 = stackPreempt } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 4.2K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.go
// We want to trigger a bounds check on the g0 stack. To do this, we // need to call a splittable function through systemstack(). // SetGCPercent contains such a systemstack call. gogc := debug.SetGCPercent(100) debug.SetGCPercent(gogc) } // Regression test for https://go.dev/issue/62440. It should be possible for C // threads to call into Go from different stacks without crashing due to g0 // stack bounds checks. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 1.1K bytes - Viewed (0) -
src/go/doc/testdata/issue13742.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package issue13742 import ( "go/ast" . "go/ast" ) // Both F0 and G0 should appear as functions. func F0(Node) {} func G0() Node { return nil } // Both F1 and G1 should appear as functions. func F1(ast.Node) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 08 04:10:51 UTC 2016 - 411 bytes - Viewed (0) -
src/runtime/asm_loong64.s
MOVV R3, R12 // save original stack pointer MOVV g, R13 // 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. 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) MOVV (g_sched+gobuf_sp)(g), R3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 26.5K bytes - Viewed (2)