Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 242 for deltaY (0.56 sec)

  1. src/runtime/netpoll_wasip1.go

    func netpollBreak() {}
    
    func netpoll(delay int64) (gList, int32) {
    	lock(&mtx)
    
    	// If delay >= 0, we include a subscription of type Clock that we use as
    	// a timeout. If delay < 0, we omit the subscription and allow poll_oneoff
    	// to block indefinitely.
    	pollsubs := subs
    	if delay >= 0 {
    		timeout := &subs[0]
    		clock := timeout.u.subscriptionClock()
    		clock.timeout = uint64(delay)
    	} else {
    		pollsubs = subs[1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/math/big/arith.go

    	//   ⎣(B^2-1)/d⎦ = m+B
    	//   (B^2-1)/d = m+B+delta1    0 <= delta1 <= (d-1)/d
    	//   B^2/d = m+B+delta2        0 <= delta2 <= 1
    	// The quotient we're trying to compute is
    	//   quotient = ⎣(x1*B+x0)/d⎦
    	//            = ⎣(x1*B*(B^2/d)+x0*(B^2/d))/B^2⎦
    	//            = ⎣(x1*B*(m+B+delta2)+x0*(m+B+delta2))/B^2⎦
    	//            = ⎣(x1*m+x1*B+x0)/B + x0*m/B^2 + delta2*(x1*B+x0)/B^2⎦
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 28 20:09:27 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. src/runtime/netpoll_stub.go

    		notetsleep(&netpollNote, delay)
    		unlock(&netpollStubLock)
    		// Guard against starvation in case the lock is contended
    		// (eg when running TestNetpollBreak).
    		osyield()
    	}
    	return gList{}, 0
    }
    
    func netpollinited() bool {
    	return netpollInited.Load() != 0
    }
    
    func netpollAnyWaiters() bool {
    	return false
    }
    
    func netpollAdjustWaiters(delta int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    // when invoked from multiple goroutines.
    type RequestWaitGroup interface {
    	// Add adds delta, which may be negative, similar to sync.WaitGroup.
    	// If Add with a positive delta happens after Wait, it will return error,
    	// which prevent unsafe Add.
    	Add(delta int) error
    
    	// Done decrements the WaitGroup counter.
    	Done()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/internal/objfile/goobj.go

    }
    
    type goobjReloc struct {
    	Off  int32
    	Size uint8
    	Type objabi.RelocType
    	Add  int64
    	Sym  string
    }
    
    func (r goobjReloc) String(insnOffset uint64) string {
    	delta := int64(r.Off) - int64(insnOffset)
    	s := fmt.Sprintf("[%d:%d]%s", delta, delta+int64(r.Size), r.Type)
    	if r.Sym != "" {
    		if r.Add != 0 {
    			return fmt.Sprintf("%s:%s+%d", s, r.Sym, r.Add)
    		}
    		return fmt.Sprintf("%s:%s", s, r.Sym)
    	}
    	if r.Add != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. pilot/pkg/xds/monitoring.go

    		[]float64{1, 10000, 1000000, 4000000, 10000000, 40000000},
    		monitoring.WithUnit(monitoring.Bytes),
    	)
    )
    
    func recordXDSClients(version string, delta float64) {
    	xdsClientTrackerMutex.Lock()
    	defer xdsClientTrackerMutex.Unlock()
    	xdsClientTracker[version] += delta
    	xdsClients.With(versionTag.Value(version)).Record(xdsClientTracker[version])
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    	// A running goroutine emits a task begin.
    	t.RawEvent(go122.EvEventBatch, nil, 1 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 5 /*batch length*/)
    	t.RawEvent(go122.EvGoCreate, nil, 0 /*timestamp delta*/, 1 /*go ID*/, 0, 0)
    
    	// Write an invalid batch event for the next generation.
    	t.RawEvent(go122.EvEventBatch, nil, 2 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 50 /*batch length (invalid)*/)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            break;
                          case 5:
                            map.getAndAdd(key, delta);
                            threadSum += delta;
                            break;
                          case 6:
                            long oldValue = map.put(key, delta);
                            threadSum += delta - oldValue;
                            break;
                          case 7:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue15277.go

    func f(x *big, start int64) {
    	if delta := inuse() - start; delta < 9<<20 {
    		println("after alloc: expected delta at least 9MB, got: ", delta)
    	}
    	runtime.KeepAlive(x)
    	x = nil
    	if delta := inuse() - start; delta > 1<<20 {
    		println("after drop: expected delta below 1MB, got: ", delta)
    	}
    	x = new(big)
    	if delta := inuse() - start; delta < 9<<20 {
    		println("second alloc: expected delta at least 9MB, got: ", delta)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 851 bytes
    - Viewed (0)
  10. pkg/apis/core/v1/helper/qos/qos.go

    			if !isSupportedQoSComputeResource(name) {
    				continue
    			}
    			if quantity.Cmp(zeroQuantity) == 1 {
    				delta := quantity.DeepCopy()
    				if _, exists := requests[name]; !exists {
    					requests[name] = delta
    				} else {
    					delta.Add(requests[name])
    					requests[name] = delta
    				}
    			}
    		}
    		// process limits
    		qosLimitsFound := sets.NewString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top