Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 137 of 137 for Setg (0.3 sec)

  1. src/runtime/iface.go

    func itabAdd(m *itab) {
    	// Bugs can lead to calling this while mallocing is set,
    	// typically because this is called while panicking.
    	// Crash reliably, rather than only when we need to grow
    	// the hash table.
    	if getg().m.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    
    	t := itabTable
    	if t.count >= 3*(t.size/4) { // 75% load factor
    		// Grow hash table.
    		// t2 = new(itabTableType) + some additional entries
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:   "SETLE",
    		argLen: 1,
    		asm:    x86.ASETLE,
    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    		name:   "SETG",
    		argLen: 1,
    		asm:    x86.ASETGT,
    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    		name:   "SETGE",
    		argLen: 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  3. src/runtime/metrics_test.go

    	*runtime.CasGStatusAlwaysTrack = true
    
    	mu.Lock1()
    
    	// Start up a goroutine to wait on the lock.
    	gc := make(chan *runtime.G)
    	done := make(chan bool)
    	go func() {
    		gc <- runtime.Getg()
    
    		for {
    			mu.Lock2()
    			mu.Unlock2()
    			if <-done {
    				return
    			}
    		}
    	}()
    	gp := <-gc
    
    	// Set the block time high enough so that it will always show up, even
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/_gen/generic.rules

        (Const64 <typ.Int> [0])
        (Const64 <typ.Int> [0]))
    
    // interface ops
    (ConstInterface) =>
      (IMake
        (ConstNil <typ.Uintptr>)
        (ConstNil <typ.BytePtr>))
    
    (NilCheck ptr:(GetG mem) mem) => ptr
    
    (If (Not cond) yes no) => (If cond no yes)
    (If (ConstBool [c]) yes no) && c => (First yes no)
    (If (ConstBool [c]) yes no) && !c => (First no yes)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritegeneric.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValuegeneric_OpNilCheck(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	fe := b.Func.fe
    	// match: (NilCheck ptr:(GetG mem) mem)
    	// result: ptr
    	for {
    		ptr := v_0
    		if ptr.Op != OpGetG {
    			break
    		}
    		mem := ptr.Args[0]
    		if mem != v_1 {
    			break
    		}
    		v.copyOf(ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top