Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for nstk (0.07 sec)

  1. src/internal/trace/trace_test.go

    					{"internal/poll.(*FD).Read", 0},
    					{"os.(*File).read", 0},
    					{"os.(*File).Read", 0},
    					{"main.main.func11", 0},
    				}},
    			}...)
    		}
    		stackMatches := func(stk trace.Stack, frames []frame) bool {
    			i := 0
    			match := true
    			stk.Frames(func(f trace.StackFrame) bool {
    				if f.Func != frames[i].fn {
    					match = false
    					return false
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/syscall_windows.go

    )
    
    const MB_ERR_INVALID_CHARS = 8
    
    //sys	GetACP() (acp uint32) = kernel32.GetACP
    //sys	GetConsoleCP() (ccp uint32) = kernel32.GetConsoleCP
    //sys	MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
    //sys	GetCurrentThread() (pseudoHandle syscall.Handle, err error) = kernel32.GetCurrentThread
    
    // Constants from lmshare.h
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    }
    
    //go:noinline
    func TracebackSystemstack(stk []uintptr, i int) int {
    	if i == 0 {
    		pc, sp := getcallerpc(), getcallersp()
    		var u unwinder
    		u.initAt(pc, sp, 0, getg(), unwindJumpStack) // Don't ignore errors, for testing
    		return tracebackPCs(&u, 0, stk)
    	}
    	n := 0
    	systemstack(func() {
    		n = TracebackSystemstack(stk, i-1)
    	})
    	return n
    }
    
    func KeepNArenaHints(n int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/runtime/os2_aix.go

    	}
    
    	return pthread_attr_setdetachstate1(uintptr(unsafe.Pointer(attr)), state)
    }
    
    //go:nosplit
    func pthread_attr_setstackaddr(attr *pthread_attr, stk unsafe.Pointer) int32 {
    	r, _ := syscall2(&libpthread_attr_setstackaddr, uintptr(unsafe.Pointer(attr)), uintptr(stk))
    	return int32(r)
    }
    
    //go:nosplit
    func pthread_attr_getstacksize(attr *pthread_attr, size *uint64) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_ppc64x.s

    	SYSCALL	$SYS_futex
    	BVC	2(PC)
    	NEG	R3	// caller expects negative errno
    	MOVW	R3, 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), R3
    	MOVD	stk+8(FP), R4
    
    	// Copy mp, gp, fn off parent stack for use by child.
    	// Careful: Linux system call clobbers ???.
    	MOVD	mp+16(FP), R7
    	MOVD	gp+24(FP), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/runtime/traceback_test.go

    				fatal("missing (")
    			}
    			frame := parseFrame(funcName, args)
    			cur.frames = append(cur.frames, frame)
    		case elidedRe.MatchString(line):
    			// "...N frames elided..."
    			nStr := elidedRe.FindStringSubmatch(line)
    			n, _ := strconv.Atoi(nStr[1])
    			frame := &tbFrame{elided: n}
    			cur.frames = append(cur.frames, frame)
    		}
    	}
    	return tbs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  7. src/runtime/os_plan9.go

    	goexitsall(&status[0])
    	exits(&status[0])
    }
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	if false {
    		print("newosproc mp=", mp, " ostk=", &mp, "\n")
    	}
    	pid := rfork(_RFPROC | _RFMEM | _RFNOWAIT)
    	if pid < 0 {
    		throw("newosproc: rfork failed")
    	}
    	if pid == 0 {
    		tstart_plan9(mp)
    	}
    }
    
    func exitThread(wait *atomic.Uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/internal/trace/internal/oldtrace/parser.go

    		if id != 0 && size > 0 {
    			stk := p.allocateStack(size)
    			for i := 0; i < int(size); i++ {
    				pc := raw.args[2+i*4+0]
    				fn := raw.args[2+i*4+1]
    				file := raw.args[2+i*4+2]
    				line := raw.args[2+i*4+3]
    				stk[i] = pc
    
    				if _, ok := p.pcs[pc]; !ok {
    					p.pcs[pc] = Frame{PC: pc, Fn: fn, File: file, Line: int(line)}
    				}
    			}
    			p.stacks[id] = stk
    		}
    	case EvCPUSample:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	_, locations := graph.CreateNodes(prof, &graph.Options{})
    	for _, sample := range prof.Sample {
    		type stk struct {
    			*graph.NodeInfo
    			inline bool
    		}
    		var stack []stk
    		for _, loc := range sample.Location {
    			nodes := locations[loc.ID]
    			for i, n := range nodes {
    				// The inline flag may be inaccurate if 'show' or 'hide' filter is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. src/runtime/map.go

    			}
    			// Note: if NeedKeyUpdate is false, then the memory
    			// used to store the key is immutable, so we can share
    			// it between the original map and its clone.
    			*(*unsafe.Pointer)(dstK) = srcK
    		} else {
    			typedmemmove(t.Key, dstK, srcK)
    		}
    		if t.IndirectElem() {
    			srcEle = *(*unsafe.Pointer)(srcEle)
    			eStore := newobject(t.Elem)
    			typedmemmove(t.Elem, eStore, srcEle)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top