- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for mp (0.04 sec)
-
src/runtime/tracebuf.go
return traceWriter{traceLocker: traceLocker{gen: gen}, traceBuf: buf} } // end writes the buffer back into the m. func (w traceWriter) end() { if w.mp == nil { // Tolerate a nil mp. It makes code that creates traceWriters directly // less error-prone. return } w.mp.trace.buf[w.gen%2] = w.traceBuf } // ensure makes sure that at least maxSize bytes are available to write. // // Returns whether the buffer was flushed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/rand.go
mp := getg().m c := &mp.chacha8 for { // Note: c.Next is marked nosplit, // so we don't need to use mp.locks // on the fast path, which is that the // first attempt succeeds. x, ok := c.Next() if ok { return x } mp.locks++ // hold m even though c.Refill may do stack split checks c.Refill() mp.locks-- } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 14:32:47 UTC 2024 - 8K bytes - Viewed (0) -
src/runtime/os_netbsd_arm64.go
"unsafe" ) func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { // Machine dependent mcontext initialisation for LWP. mc.__gregs[_REG_ELR] = uint64(abi.FuncPCABI0(lwp_tramp)) mc.__gregs[_REG_X31] = uint64(uintptr(stk)) mc.__gregs[_REG_X0] = uint64(uintptr(unsafe.Pointer(mp))) mc.__gregs[_REG_X1] = uint64(uintptr(unsafe.Pointer(mp.g0))) mc.__gregs[_REG_X2] = uint64(fn) } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 769 bytes - Viewed (0) -
src/runtime/tracecpu.go
// profiling buffer. It is called from a signal handler, so is limited in what // it can do. mp must be the thread that is currently stopped in a signal. func traceCPUSample(gp *g, mp *m, pp *p, stk []uintptr) { if !traceEnabled() { // Tracing is usually turned off; don't spend time acquiring the signal // lock unless it's active. return } if mp == nil { // Drop samples that don't have an identifiable thread. We can't render
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/config/model_test.go
func TestToMap(t *testing.T) { cases := []struct { input Spec mp map[string]any }{ // Istio type { input: &networking.VirtualService{Gateways: []string{"foobar"}}, mp: map[string]any{ "gateways": []any{"foobar"}, }, }, // Kubernetes type { input: &corev1.PodSpec{ServiceAccountName: "foobar"}, mp: map[string]any{ "serviceAccountName": "foobar", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
src/runtime/netpoll_windows.go
return gList{}, 0 } var entries [64]overlappedEntry var wait uint32 var toRun gList mp := getg().m if delay >= 1e15 { // An arbitrary cap on how long to wait for a timer. // 1e15 ns == ~11.5 days. delay = 1e15 } if delay > 0 && mp.waitIocpHandle != 0 { // GetQueuedCompletionStatusEx doesn't use a high resolution timer internally,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/os_netbsd_arm.go
import ( "internal/abi" "unsafe" ) func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { // Machine dependent mcontext initialisation for LWP. mc.__gregs[_REG_R15] = uint32(abi.FuncPCABI0(lwp_tramp)) mc.__gregs[_REG_R13] = uint32(uintptr(stk)) mc.__gregs[_REG_R0] = uint32(uintptr(unsafe.Pointer(mp))) mc.__gregs[_REG_R1] = uint32(uintptr(unsafe.Pointer(gp))) mc.__gregs[_REG_R2] = uint32(fn) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/export_debug_test.go
// a signal handler. Add the go:nowritebarrierrec annotation and restructure // this to avoid write barriers. switch h.gp.atomicstatus.Load() { case _Grunning: if getg().m != h.mp { println("trap on wrong M", getg().m, h.mp) return false } // Save the signal context h.saveSigContext(ctxt) // Set PC to debugCallV2. ctxt.setsigpc(uint64(abi.FuncPCABIInternal(debugCallV2)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/os3_plan9.go
return _NCONT } if sendNote(note) { return _NCONT } } if flags&_SigKill != 0 { goto Exit } if flags&_SigThrow == 0 { return _NCONT } Throw: mp.throwing = throwTypeRuntime mp.caughtsig.set(gp) startpanic_m() print(notestr, "\n") print("PC=", hex(c.pc()), "\n") print("\n") level, _, docrash = gotraceback() if level > 0 { goroutineheader(gp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0) -
pkg/volume/util/nested_volumes.go
// as /dir/nested and /dir/nested/other, only create /dir/nested. for _, mp := range allMountPoints { if !strings.HasPrefix(mp, myMPSlash) { continue // skip -- not nested beneath myMountPoint } isNested := false for _, prevNestedMP := range prevNestedMPs { if strings.HasPrefix(mp, prevNestedMP) { isNested = true break } } if isNested {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 18 12:19:17 UTC 2022 - 4.1K bytes - Viewed (0)