- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 77 for nstk (0.04 sec)
-
src/internal/trace/event.go
return true }) } case EventExperimental: r := e.Experimental() fmt.Fprintf(&sb, " Name=%s ArgNames=%v Args=%v", r.Name, r.ArgNames, r.Args) } if stk := e.Stack(); stk != NoStack { fmt.Fprintln(&sb) fmt.Fprintln(&sb, "Stack=") stk.Frames(func(f StackFrame) bool { fmt.Fprintf(&sb, "\t%s @ 0x%x\n", f.Func, f.PC) fmt.Fprintf(&sb, "\t\t%s:%d\n", f.File, f.Line) return true }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
src/internal/syscall/windows/zsyscall_windows.go
err = errnoErr(e1) } return } func MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) { r0, _, e1 := syscall.Syscall6(procMultiByteToWideChar.Addr(), 6, uintptr(codePage), uintptr(dwFlags), uintptr(unsafe.Pointer(str)), uintptr(nstr), uintptr(unsafe.Pointer(wchar)), uintptr(nwchar)) nwrite = int32(r0) if nwrite == 0 { err = errnoErr(e1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
src/runtime/mgcmark.go
p := *(*uintptr)(unsafe.Pointer(b + i)) if p != 0 { if obj, span, objIndex := findObject(p, b, i); obj != 0 { greyobject(obj, b, i, span, gcw, objIndex) } else if stk != nil && p >= stk.stack.lo && p < stk.stack.hi { stk.putPtr(p, false) } } } bits >>= 1 i += goarch.PtrSize } } } // scanobject scans the object starting at b, adding pointers to gcw.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/internal/trace/testtrace/validation.go
s = &schedContext{M: m, P: trace.NoProc, G: trace.NoGoroutine} v.ms[m] = s return s } return s } func checkStack(e *errAccumulator, stk trace.Stack) { // Check for non-empty values, but we also check for crashes due to incorrect validation. i := 0 stk.Frames(func(f trace.StackFrame) bool { if i == 0 { // Allow for one fully zero stack. // // TODO(mknyszek): Investigate why that happens.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
// This should be impossible but let's be safe. return fmt.Errorf("couldn't add strings: %w", addErr) } it.evt.strings.compactify() // Convert stacks. for id, stk := range pr.Stacks { evt.stacks.insert(stackID(id), stack{pcs: stk}) } // OPT(dh): if we could share the frame type between this package and // oldtrace we wouldn't have to copy the map. for pc, f := range pr.PCs { evt.pcs[pc] = frame{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/internal/trace/generation.go
func validateStackStrings( stacks *dataTable[stackID, stack], strings *dataTable[stringID, string], frames map[uint64]frame, ) error { var err error stacks.forEach(func(id stackID, stk stack) bool { for _, pc := range stk.pcs { frame, ok := frames[pc] if !ok { err = fmt.Errorf("found unknown pc %x for stack %d", pc, id) return false } _, ok = strings.get(frame.funcID) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0) -
src/internal/trace/summary.go
// This root frame will be identical for all transitions on this // goroutine, because it represents its immutable start point. if g.Name == "" { stk := st.Stack if stk != NoStack { var frame StackFrame var ok bool stk.Frames(func(f StackFrame) bool { frame = f ok = true return true }) if ok { // NB: this PC won't actually be consistent for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 20.7K bytes - Viewed (0) -
src/runtime/sys_linux_loong64.s
MOVV addr2+24(FP), R8 MOVW val3+32(FP), R9 MOVV $SYS_futex, R11 SYSCALL MOVW R4, ret+40(FP) RET // int64 clone(int32 flags, void *stk, M *mp, G *gp, void (*fn)(void)); TEXT runtime·clone(SB),NOSPLIT|NOFRAME,$0 MOVW flags+0(FP), R4 MOVV stk+8(FP), R5 // Copy mp, gp, fn off parent stack for use by child. // Careful: Linux system call clobbers ???. MOVV mp+16(FP), R23 MOVV gp+24(FP), R24
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 14.2K bytes - Viewed (0) -
src/runtime/traceback.go
hi = frame.sp + maxExpand } // And don't go outside the stack bounds. if lo < stk.lo { lo = stk.lo } if hi > stk.hi { hi = stk.hi } // Print the hex dump. print("stack: frame={sp:", hex(frame.sp), ", fp:", hex(frame.fp), "} stack=[", hex(stk.lo), ",", hex(stk.hi), ")\n") hexdumpWords(lo, hi, func(p uintptr) byte { switch p { case frame.fp: return '>'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/sys_linux_riscv64.s
MOV ts+16(FP), A3 MOV addr2+24(FP), A4 MOVW val3+32(FP), A5 MOV $SYS_futex, A7 ECALL MOVW A0, ret+40(FP) RET // func clone(flags int32, stk, mp, gp, fn unsafe.Pointer) int32 TEXT runtime·clone(SB),NOSPLIT|NOFRAME,$0 MOVW flags+0(FP), A0 MOV stk+8(FP), A1 // Copy mp, gp, fn off parent stack for use by child. MOV mp+16(FP), T0 MOV gp+24(FP), T1 MOV fn+32(FP), T2 MOV T0, -8(A1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 11.5K bytes - Viewed (0)