Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for Setg (0.04 sec)

  1. src/runtime/mheap.go

    // the only place it is used now. In the future, this requirement
    // may be relaxed if its use is necessary elsewhere.
    //
    //go:systemstack
    func (h *mheap) tryAllocMSpan() *mspan {
    	pp := getg().m.p.ptr()
    	// If we don't have a p or the cache is empty, we can't do
    	// anything here.
    	if pp == nil || pp.mspancache.len == 0 {
    		return nil
    	}
    	// Pull off the last entry in the cache.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    	// try to preempt a running P so it will switch to a worker.
    	if c.dedicatedMarkWorkersNeeded.Load() <= 0 {
    		return
    	}
    	// Pick a random other P to preempt.
    	if gomaxprocs <= 1 {
    		return
    	}
    	gp := getg()
    	if gp == nil || gp.m == nil || gp.m.p == 0 {
    		return
    	}
    	myID := gp.m.p.ptr().id
    	for tries := 0; tries < 5; tries++ {
    		id := int32(cheaprandn(uint32(gomaxprocs - 1)))
    		if id >= myID {
    			id++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (IsInBounds idx len) => (LOCGR {s390x.Less} (MOVDconst [0]) (MOVDconst [1]) (CMPU idx len))
    (IsSliceInBounds idx len) => (LOCGR {s390x.LessOrEqual} (MOVDconst [0]) (MOVDconst [1]) (CMPU idx len))
    (NilCheck ...) => (LoweredNilCheck ...)
    (GetG ...) => (LoweredGetG ...)
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    (Addr {sym} base) => (MOVDaddr {sym} base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
Back to top