- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for Decrement (0.48 sec)
-
pkg/monitoring/disabled.go
// limitations under the License. package monitoring type disabledMetric struct { name string } // Decrement implements Metric func (dm *disabledMetric) Decrement() {} // Increment implements Metric func (dm *disabledMetric) Increment() {} // Name implements Metric func (dm *disabledMetric) Name() string { return dm.name } // Record implements Metric
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/erasure-utils.go
return 0, reedsolomon.ErrShortData } // Counter to decrement total left to write. write := length // Counter to increment total written. var totalWritten int64 // Write all data blocks to dst. for _, block := range enBlocks[:dataBlocks] { // Skip blocks until we have reached our offset. if offset >= int64(len(block)) { // Decrement offset. offset -= int64(len(block)) continue }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/monitoring/base.go
// attrs stores all attrs for the metrics attrs []attribute.KeyValue rest Metric } func (f baseMetric) Name() string { return f.name } func (f baseMetric) Increment() { f.rest.Record(1) } func (f baseMetric) Decrement() { f.rest.Record(-1) } func (f baseMetric) runRecordHook(value float64) { recordHookMutex.RLock() if rh, ok := recordHooks[f.name]; ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.7K bytes - Viewed (0) -
src/sync/example_test.go
var urls = []string{ "http://www.golang.org/", "http://www.google.com/", "http://www.example.com/", } for _, url := range urls { // Increment the WaitGroup counter. wg.Add(1) // Launch a goroutine to fetch the URL. go func(url string) { // Decrement the counter when the goroutine completes. defer wg.Done() // Fetch the URL. http.Get(url) }(url) } // Wait for all HTTP fetches to complete.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 17:45:47 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCompoundAccess.kt
public enum class Kind { PLUS_ASSIGN, MINUS_ASSIGN, TIMES_ASSIGN, DIV_ASSIGN, REM_ASSIGN } } /** * A compound access that read, increment or decrement, and write the computed value back. */ public class IncOrDecOperation( operationPartiallyAppliedSymbol: KaPartiallyAppliedFunctionSymbol<KaFunctionSymbol>, kind: Kind,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/monitoring/monitoring.go
} // A Metric collects numerical observations. type Metric interface { // Increment records a value of 1 for the current measure. For Sums, // this is equivalent to adding 1 to the current value. For Gauges, // this is equivalent to setting the value to 1. For Distributions, // this is equivalent to making an observation of value 1. Increment() // Decrement records a value of -1 for the current measure. For Sums,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit_windows.c
if (!InterlockedExchangeAdd(&runtime_init_once_done, 0)) { if (InterlockedIncrement(&runtime_init_once_gate) == 1) { _cgo_preinit_init(); InterlockedIncrement(&runtime_init_once_done); } else { // Decrement to avoid overflow. InterlockedDecrement(&runtime_init_once_gate); while(!InterlockedExchangeAdd(&runtime_init_once_done, 0)) { Sleep(0); } } } } void
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
abstract void compareAndSetSeenExceptions( AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update); /** Atomic decrement-and-get of the {@link AggregateFutureState#remaining} field. */ abstract int decrementAndGetRemainingCount(AggregateFutureState<?> state); } private static final class SafeAtomicHelper extends AtomicHelper {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 6.8K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s
SHUFFLE(X12, X13, X14, X15, M0, M1, M2, M3) ADDV(NONCE, X12, X13, X14, X15) // increment counters VAF INC, CTR, CTR // xor keystream with plaintext XORV(0*64, R2, R3, X0, X4, X8, X12) XORV(1*64, R2, R3, X1, X5, X9, X13) XORV(2*64, R2, R3, X2, X6, X10, X14) XORV(3*64, R2, R3, X3, X7, X11, X15) // increment pointers MOVD $256(R2), R2 MOVD $256(R3), R3 CMPBNE R4, $0, chacha
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0)