Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for stks (0.05 sec)

  1. src/runtime/os_freebsd.go

    //go:nowritebarrier
    func newosproc(mp *m) {
    	stk := unsafe.Pointer(mp.g0.stack.hi)
    	if false {
    		print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " thr_start=", abi.FuncPCABI0(thr_start), " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	param := thrparam{
    		start_func: abi.FuncPCABI0(thr_start),
    		arg:        unsafe.Pointer(mp),
    		stack_base: mp.g0.stack.lo,
    		stack_size: uintptr(stk) - mp.g0.stack.lo,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/trace/gstate.go

    	}
    }
    
    // augmentName attempts to use stk to augment the name of the goroutine
    // with stack information. This stack must be related to the goroutine
    // in some way, but it doesn't really matter which stack.
    func (gs *gState[R]) augmentName(stk trace.Stack) {
    	if gs.named {
    		return
    	}
    	if stk == trace.NoStack {
    		return
    	}
    	name := lastFunc(stk)
    	gs.baseName += fmt.Sprintf(" %s", name)
    	gs.named = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/internal/bisect/bisect.go

    func (m *Matcher) stack(w Writer) bool {
    	const maxStack = 16
    	var stk [maxStack]uintptr
    	n := runtime.Callers(2, stk[:])
    	// caller #2 is not for printing; need it to normalize PCs if ASLR.
    	if n <= 1 {
    		return false
    	}
    
    	base := stk[0]
    	// normalize PCs
    	for i := range stk[:n] {
    		stk[i] -= base
    	}
    
    	h := Hash(stk[:n])
    	if m.ShouldPrint(h) {
    		var d *dedup
    		for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocator.java

    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    //TODO: Simplify this class by busting it up into a locator for legacy SDKs and locator(s) for Windows 8 kits
    public class LegacyWindowsSdkLocator implements WindowsSdkLocator {
        private static final Logger LOGGER = LoggerFactory.getLogger(LegacyWindowsSdkLocator.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. README.md

    [Test using MinIO Client `mc`](#test-using-minio-client-mc) for more information on using the `mc` commandline tool. For application developers,
    see <https://min.io/docs/minio/linux/developers/minio-drivers.html> to view MinIO SDKs for supported languages.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 00:22:36 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    func runtime_expandFinalInlineFrame(stk []uintptr) []uintptr {
    	// TODO: It would be more efficient to report only physical PCs to pprof and
    	// just expand the whole stack.
    	if len(stk) == 0 {
    		return stk
    	}
    	pc := stk[len(stk)-1]
    	tracepc := pc - 1
    
    	f := findfunc(tracepc)
    	if !f.valid() {
    		// Not a Go function.
    		return stk
    	}
    
    	u, uf := newInlineUnwinder(f, tracepc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. cmd/utils.go

    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    		return ""
    	}
    	xfix := strs[0]
    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/staticinit/sched.go

    			need++
    		}
    	}
    	if need == len(s) {
    		return n
    	}
    	if need == 1 {
    		var strs []string
    		for _, c := range s {
    			strs = append(strs, ir.StringVal(c))
    		}
    		return ir.NewConstExpr(constant.MakeString(strings.Join(strs, "")), n)
    	}
    	newList := make([]ir.Node, 0, need)
    	for i := 0; i < len(s); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/runtime/os_netbsd.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")
    	}
    
    	var uc ucontextt
    	getcontext(unsafe.Pointer(&uc))
    
    	// _UC_SIGMASK does not seem to work here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. src/runtime/stack.go

    }
    
    // stackfree frees an n byte stack allocation at stk.
    //
    // stackfree must run on the system stack because it uses per-P
    // resources and must not split the stack.
    //
    //go:systemstack
    func stackfree(stk stack) {
    	gp := getg()
    	v := unsafe.Pointer(stk.lo)
    	n := stk.hi - stk.lo
    	if n&(n-1) != 0 {
    		throw("stack not a power of 2")
    	}
    	if stk.lo+n < stk.hi {
    		throw("bad stack size")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top