Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 547 for _counters (0.14 sec)

  1. guava/src/com/google/common/cache/AbstractCache.java

        private static long negativeToMaxValue(long value) {
          return (value >= 0) ? value : Long.MAX_VALUE;
        }
    
        /** Increments all counters by the values in {@code other}. */
        public void incrementBy(StatsCounter other) {
          CacheStats otherStats = other.snapshot();
          hitCount.add(otherStats.hitCount());
          missCount.add(otherStats.missCount());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  2. test/chan/select.go

    	}
    	if av, bv := <-a, <-b; av|bv != 3 {
    		println("bad values", av, bv)
    		panic("fail")
    	}
    	if v := Send(a, nil); v != 1 {
    		println("Send returned", v, "!= 1")
    		panic("fail")
    	}
    	if counter != 10 {
    		println("counter is", counter, "!= 10")
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 913 bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoViolationRulesLimit.groovy

        }
    
        private static String create(String counter, String value, BigDecimal minimum, BigDecimal maximum) {
            StringBuilder limit = new StringBuilder()
            limit <<= 'limit {\n'
    
            if (counter) {
                limit <<= "    counter = '${counter}'\n"
            }
            if (value) {
                limit <<= "    value = '${value}'\n"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/runtime/traceback_system_test.go

    		t.Errorf("got:\n%swant:\n%s", got, want)
    	}
    }
    
    // parseStackPCs parses the parent process's program counters for the
    // first running goroutine out of a GOTRACEBACK=system traceback,
    // adjusting them so that they are valid for the child process's text
    // segment.
    //
    // This function returns only program counter values, ensuring that
    // there is no possibility of strings from the crash report (which may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. pkg/controller/certificates/rootcacertpublisher/metrics_test.go

    				"root_ca_cert_publisher_sync_total",
    			},
    			want: `
    # HELP root_ca_cert_publisher_sync_total [ALPHA] Number of namespace syncs happened in root ca cert publisher.
    # TYPE root_ca_cert_publisher_sync_total counter
    root_ca_cert_publisher_sync_total{code="200"} 1
    				`,
    		},
    		{
    			desc: "kube api error",
    			err:  apierrors.NewNotFound(corev1.Resource("configmap"), "test-configmap"),
    			metrics: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 16 12:05:32 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[RANDOM.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 20K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory_test.go

    					}
    
    				}()
    			}
    
    			// check the counter once the requests have finished
    			wg.Wait()
    			if counter != 1 {
    				t.Errorf("healthcheck() called etcd %d times, expected only one call", counter)
    			}
    
    			// wait until the rate limit allows new connections
    			time.Sleep(cfg.HealthcheckTimeout / 2)
    
    			// a new run on request should increment the counter only once
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 15:58:10 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingListener.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * Defines events that the model builder fires during construction of the effective model. When a listener encounters
     * errors while processing the event, it can report these problems via {@link ModelBuildingEvent#getProblems()}.
     * Note: To cope with future extensions to this interface, it is strongly recommended to extend
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/chacha20poly1305/xchacha20poly1305.go

    	}
    
    	// XChaCha20-Poly1305 technically supports a 64-bit counter, so there is no
    	// size limit. However, since we reuse the ChaCha20-Poly1305 implementation,
    	// the second half of the counter is not available. This is unlikely to be
    	// an issue because the cipher.AEAD API requires the entire message to be in
    	// memory, and the counter overflows at 256 GB.
    	if uint64(len(plaintext)) > (1<<38)-64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:44 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tfe_monitoring_internal.h

      TFE_MonitoringCounter(const char* name, const char* description,
                            LabelDesc&&... label) {
        counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New(
            name, description, label...));
      }
    
      std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter;
    };
    
    struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top