Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for counter (0.52 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class Counter<N extends Number> {
        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class Counter<N extends Number> {
        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

      private static final int DEFAULT_REFRESH_NANOS = 0;
    
      static final Supplier<? extends StatsCounter> NULL_STATS_COUNTER =
          Suppliers.ofInstance(
              new StatsCounter() {
                @Override
                public void recordHits(int count) {}
    
                @Override
                public void recordMisses(int count) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            private final DirContext context;
    
            private int counter = 1;
    
            protected DirContextHolder(final DirContext context) {
                this.context = context;
            }
    
            public DirContext get() {
                return context;
            }
    
            public void inc() {
                counter++;
            }
    
            @Override
            public void close() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
       * all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
       * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

        }
        op_name += type;
        return TF_NewOperation(
            graph_, op_name.c_str(),
            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                V entryValue = e.getValue();
    
                if (entryValue == null) {
                  ++modCount;
                  setValue(e, value);
                  newCount = this.count; // count remains unchanged
                  this.count = newCount; // write-volatile
                  return null;
                } else if (onlyIfAbsent) {
                  // Mimic
                  // "if (!map.containsKey(key)) ...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (server) (minio_cluster_replication_received_count{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
            }
          ],
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. istioctl/pkg/writer/compare/testdata/configdump_diff.json

          "version_info": "2024-03-04T08:37:44Z/4",
          "dynamic_active_clusters": [
            {
              "cluster": {
                "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
                "name": "inbound-vip|9999|http|ratings.default.svc.cluster.local",
                "type": "EDS",
                "transport_socket": {
                  "name": "internal_upstream",
                  "typed_config": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (1)
Back to top