- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 308 for deltas (0.18 sec)
-
pilot/pkg/xds/deltatest.go
// Both SotW and Delta did not respond, nothing to compare return } newByName := slices.GroupUnique(sotwRes, (*discovery.Resource).GetName) curByName := slices.GroupUnique(current, (*discovery.Resource).GetName) watched := sets.New(w.ResourceNames...) details := fmt.Sprintf("last:%v sotw:%v delta:%v-%v", len(current), len(sotwRes), len(deltaRes), len(deleted)) wantDeleted := sets.New[string]()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/delay.go
type DelayFunc func() time.Duration // Timer takes an arbitrary delay function and returns a timer that can handle arbitrary interval changes. // Use Backoff{...}.Timer() for simple delays and more efficient timers. func (fn DelayFunc) Timer(c clock.Clock) Timer { return &variableTimer{fn: fn, new: c.NewTimer} } // Until takes an arbitrary delay function and runs until cancelled or the condition indicates exit. This
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 19:14:11 UTC 2023 - 1.7K bytes - Viewed (0) -
src/math/big/calibrate_test.go
for i := from; i <= to; i += step { baseline := measureSqr(i, nruns, lower) testval := measureSqr(i, nruns, upper) pos := baseline > testval delta := baseline - testval percent := delta * 100 / baseline fmt.Printf("words = %3d deltaT = %10s (%4d%%) is %s better: %v", i, delta, percent, upper, pos) if i == from { initPos = pos } if threshold == 0 && pos != initPos { threshold = i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/queue/delay.go
func (d *delayQueue) Push(task Task) { d.pushInternal(&delayTask{do: task, runAt: time.Now()}) } // PushDelayed will execute the task after waiting for the delay func (d *delayQueue) PushDelayed(t Task, delay time.Duration) { task := &delayTask{do: t, runAt: time.Now().Add(delay)} d.pushInternal(task) } // pushInternal will enqueue the delayTask with retries. func (d *delayQueue) pushInternal(task *delayTask) { select {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 06:27:31 UTC 2023 - 6.7K bytes - Viewed (0) -
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) -
src/expvar/expvar.go
} func (v *Float) appendJSON(b []byte) []byte { return strconv.AppendFloat(b, math.Float64frombits(v.f.Load()), 'g', -1, 64) } // Add adds delta to v. func (v *Float) Add(delta float64) { for { cur := v.f.Load() curVal := math.Float64frombits(cur) nxtVal := curVal + delta nxt := math.Float64bits(nxtVal) if v.f.CompareAndSwap(cur, nxt) { return } } } // Set sets v to value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0) -
test/fixedbugs/issue15281.go
f2(c, x) } } func f1(c chan []byte, start int64) { for x := range c { if delta := inuse() - start; delta < 9<<20 { println("BUG: f1: after alloc: expected delta at least 9MB, got: ", delta) println(x) } x = nil if delta := inuse() - start; delta > 1<<20 { println("BUG: f1: after alloc: expected delta below 1MB, got: ", delta) println(x) } } } func f2(c chan []byte, start int64) { for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 09:45:44 UTC 2020 - 1.2K bytes - Viewed (0) -
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) -
src/net/http/cookiejar/punycode.go
// adapt is the bias adaptation function specified in section 6.1. func adapt(delta, numPoints int32, firstTime bool) int32 { if firstTime { delta /= damp } else { delta /= 2 } delta += delta / numPoints k := int32(0) for delta > ((base-tmin)*tmax)/2 { delta /= base - tmin k += base } return k + (base-tmin+1)*delta/(delta+skew) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 10 23:42:56 UTC 2021 - 3.4K bytes - Viewed (0) -
src/vendor/golang.org/x/net/idna/punycode.go
// adapt is the bias adaptation function specified in section 6.1. func adapt(delta, numPoints int32, firstTime bool) int32 { if firstTime { delta /= damp } else { delta /= 2 } delta += delta / numPoints k := int32(0) for delta > ((base-tmin)*tmax)/2 { delta /= base - tmin k += base } return k + (base-tmin+1)*delta/(delta+skew)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:36 UTC 2021 - 4.6K bytes - Viewed (0)