- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 404 for Decrement (0.97 sec)
-
internal/bucket/bandwidth/measurement.go
m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds() return } increment := float64(bytesSinceLastWindow) / duration.Seconds() m.expMovingAvg = exponentialMovingAverage(betaBucket, m.expMovingAvg, increment) } // exponentialMovingAverage calculates the exponential moving average func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 03 20:41:51 UTC 2023 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue12525.go
// errorcheck // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 12525: confusing error trying to increment boolean value package main func main() { var i int i++ var f float64 f++ var c complex128 c++ var b bool b++ // ERROR "invalid operation: b\+\+ \(non-numeric type bool\)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 14:34:58 UTC 2016 - 495 bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleMath.java
} // x is positive, finite, and normal boolean increment; switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through case FLOOR: increment = false; break; case CEILING: increment = !isPowerOfTwo(x); break; case DOWN: increment = exponent < 0 & !isPowerOfTwo(x); break;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
guava/src/com/google/common/math/DoubleMath.java
} // x is positive, finite, and normal boolean increment; switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through case FLOOR: increment = false; break; case CEILING: increment = !isPowerOfTwo(x); break; case DOWN: increment = exponent < 0 & !isPowerOfTwo(x); break;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
pilot/pkg/xds/eds.go
// prevent memory leaks. if event == model.EventDelete { inboundServiceDeletes.Increment() s.Env.EndpointIndex.DeleteServiceShard(shard, hostname, namespace, false) } else { inboundServiceUpdates.Increment() } } // EDSUpdate computes destination address membership across all clusters and networks. // This is the main method implementing EDS.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 15:58:06 UTC 2024 - 9.9K bytes - Viewed (0) -
test/fixedbugs/issue26043.go
// compile // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This program results in a loop inferred to increment // j by 0, causing bounds check elimination to attempt // something%0, which panics (in the bug). package q func f() { var s1 string var b bool if b { b = !b s1 += "a" } var s2 string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 25 20:36:42 UTC 2018 - 543 bytes - Viewed (0) -
guava/src/com/google/common/hash/LongAddable.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 850 bytes - Viewed (0) -
test/fixedbugs/issue19182.go
i, val := 0, atomic.LoadUint64(&a) for ; val == 0 && i < 100; val, i = atomic.LoadUint64(&a), i+1 { time.Sleep(100 * time.Millisecond) } if val == 0 { fmt.Printf("Failed to observe atomic increment after %d tries\n", i) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 737 bytes - Viewed (0) -
pilot/pkg/model/monitoring.go
"provider_lookup_cluster_failures", "Number of times a cluster lookup failed", ) func IncLookupClusterFailures(provider string) { providerLookupClusterFailures.With(typeTag.Value(provider)).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 904 bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 914 bytes - Viewed (0)