- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 117 for Decrement (2.08 sec)
-
src/cmd/go/internal/telemetrystats/telemetrystats.go
//go:build !cmd_go_bootstrap package telemetrystats import ( "cmd/go/internal/base" "cmd/go/internal/cfg" "cmd/go/internal/modload" "cmd/internal/telemetry" ) func Increment() { incrementConfig() incrementVersionCounters() } // incrementConfig increments counters for the configuration // the command is running in. func incrementConfig() { if !modload.WillBeEnabled() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collector.java
import com.google.common.collect.ImmutableCollection; import org.gradle.api.Action; /** * A collector is a value supplier of zero or more values of type {@link T}. * <p> * A <code>Collector</code> represents an increment to a collection property. * </p> */ public interface Collector<T> extends ValueSupplier { Value<Void> collectEntries(ValueConsumer consumer, ValueCollector<T> collector, ImmutableCollection.Builder<T> dest);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 05:02:13 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
var bias = INITIAL_BIAS var h = b while (h < input.size) { val m = input.minBy { if (it >= n) it else Int.MAX_VALUE } val increment = (m - n) * (h + 1) if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow. delta += increment n = m for (c in input) { if (c < n) { if (delta == Int.MAX_VALUE) return false // Prevent overflow.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 03 03:04:50 UTC 2024 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go
// Initially, because the key doesn't exist, the compact time (version) is 0. // // Algorithm: // - Compare to see if (local compact_time) = (remote compact_time). // - If yes, increment both local and remote compact_time, and do a compaction. // - If not, set local to remote compact_time. // // Technical details/insights: //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 17 02:54:36 UTC 2022 - 5.6K bytes - Viewed (0) -
pkg/queue/metrics_test.go
wg.Done() return nil }) wg.Wait() } close(s) } func BenchmarkMetricsQueueInc(b *testing.B) { q := newQueueMetrics("test") for n := 0; n < b.N; n++ { q.depth.Increment() } } func BenchmarkMetricsQueueRec(b *testing.B) { q := newQueueMetrics("test") for n := 0; n < b.N; n++ { q.depth.Record(100) } } func BenchmarkMetricsQueueSinceInSeconds(b *testing.B) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/go/internal/tool/tool.go
// If it becomes necessary, we could increment an additional counter to indicate // that we're impersonating dist list if knowing that becomes important? telemetry.Inc("go/subcommand:tool-dist") return } } telemetry.Inc("go/subcommand:tool-unknown") // Emit the usual error for the missing tool. _ = base.Tool(toolName) } else { // Increment a counter for the tool subcommand with the tool name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 18:02:11 UTC 2024 - 5.9K bytes - Viewed (0) -
operator/pkg/patch/patch.go
if err != nil { errs = util.AppendErr(errs, err) metrics.ManifestPatchErrorTotal.Increment() continue } err = tpath.WritePathContext(inc, v, false) if err != nil { errs = util.AppendErr(errs, err) metrics.ManifestPatchErrorTotal.Increment() } } oy, err := yaml2.Marshal(bo) if err != nil { return "", util.AppendErr(errs, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 6.2K bytes - Viewed (0) -
src/sync/runtime.go
// license that can be found in the LICENSE file. package sync import "unsafe" // defined in package runtime // Semacquire waits until *s > 0 and then atomically decrements it. // It is intended as a simple sleep primitive for use by the synchronization // library and should not be used directly. func runtime_Semacquire(s *uint32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:27 UTC 2022 - 2.3K bytes - Viewed (0) -
operator/pkg/cache/cache.go
) // FlushObjectCaches flushes all object caches. func FlushObjectCaches() { objectCachesMu.Lock() defer objectCachesMu.Unlock() objectCaches = make(map[string]*ObjectCache) metrics.CacheFlushTotal.Increment() } // GetCache returns the object Cache for the given name, creating one in the global Cache if needed. func GetCache(name string) *ObjectCache { objectCachesMu.Lock() defer objectCachesMu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 06 13:12:49 UTC 2023 - 2.4K bytes - Viewed (0) -
src/crypto/cipher/ctr.go
remain := len(x.out) - x.outUsed copy(x.out, x.out[x.outUsed:]) x.out = x.out[:cap(x.out)] bs := x.b.BlockSize() for remain <= len(x.out)-bs { x.b.Encrypt(x.out[remain:], x.ctr) remain += bs // Increment counter for i := len(x.ctr) - 1; i >= 0; i-- { x.ctr[i]++ if x.ctr[i] != 0 { break } } } x.out = x.out[:remain] x.outUsed = 0 } func (x *ctr) XORKeyStream(dst, src []byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 2.2K bytes - Viewed (0)