Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 128 for Decrement (0.14 sec)

  1. pilot/pkg/util/informermetric/informerutil.go

    	mu.RUnlock()
    	if ok {
    		return handler
    	}
    
    	mu.Lock()
    	defer mu.Unlock()
    	clusterMetric := errorMetric.With(clusterLabel.Value(clusterID.String()))
    	h := func(_ *cache.Reflector, err error) {
    		clusterMetric.Increment()
    		log.Errorf("watch error in cluster %s: %v", clusterID, err)
    	}
    	handlers[clusterID] = h
    	return h
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/hash/LongAddables.java

      }
    
      public static LongAddable create() {
        return SUPPLIER.get();
      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LongAddables.java

      }
    
      public static LongAddable create() {
        return SUPPLIER.get();
      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LongAddables.java

      }
    
      public static LongAddable create() {
        return SUPPLIER.get();
      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/LongAddables.java

      }
    
      public static LongAddable create() {
        return SUPPLIER.get();
      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top