Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for allocReg (0.11 sec)

  1. src/cmd/compile/internal/ssa/regalloc.go

    	s.values[v.ID].regs |= regMask(1) << r
    	s.used |= regMask(1) << r
    	s.f.setHome(c, &s.registers[r])
    }
    
    // allocReg chooses a register from the set of registers in mask.
    // If there is no unused register, a Value will be kicked out of
    // a register to make room.
    func (s *regAllocState) allocReg(mask regMask, v *Value) register {
    	if v.OnWasmStack {
    		return noRegister
    	}
    
    	mask &= s.allocatable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    	return eachListItem(obj, fn, true)
    }
    
    // allocNew: Whether shallow copy is required when the elements in Object.Items are struct
    func eachListItem(obj runtime.Object, fn func(runtime.Object) error, allocNew bool) error {
    	if unstructured, ok := obj.(runtime.Unstructured); ok {
    		if allocNew {
    			return unstructured.EachListItemWithAlloc(fn)
    		}
    		return unstructured.EachListItem(fn)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. src/cmd/trace/testdata/testprog/main.go

    		log.Fatal(err)
    	}
    
    	// checkExecutionTimes relies on this.
    	var wg sync.WaitGroup
    	wg.Add(2)
    	go cpu10(&wg)
    	go cpu20(&wg)
    	wg.Wait()
    
    	// checkHeapMetrics relies on this.
    	allocHog(25 * time.Millisecond)
    
    	// checkProcStartStop relies on this.
    	var wg2 sync.WaitGroup
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		wg2.Add(1)
    		go func() {
    			defer wg2.Done()
    			cpuHog(50 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/runtime/map.go

    // dirtyalloc should either be nil or a bucket array previously
    // allocated by makeBucketArray with the same t and b parameters.
    // If dirtyalloc is nil a new backing array will be alloced and
    // otherwise dirtyalloc will be cleared and reused as backing array.
    func makeBucketArray(t *maptype, b uint8, dirtyalloc unsafe.Pointer) (buckets unsafe.Pointer, nextOverflow *bmap) {
    	base := bucketShift(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/cmd/trace/testdata/go122.test

    String id=59
    	data="main.blockingSyscall"
    String id=60
    	data="time.Sleep"
    String id=61
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/time.go"
    String id=62
    	data="main.allocHog"
    String id=63
    	data="main.cpu10"
    String id=64
    	data="runtime.goparkunlock"
    String id=65
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
    String id=66
    	data="runtime.bgsweep"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
Back to top