Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for counter1 (0.46 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                    }
                }
                apply plugin: CounterConventionPlugin
    
                def counter1 = project.gradle.sharedServices.registerIfAbsent("counter1", CountingService) {
                    parameters.initial = 0
                }
                def counter2 = project.gradle.sharedServices.registerIfAbsent("counter2", CountingService) {
                    parameters.initial = 10
                }
                task count {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    				clk:                    clk,
    				counter:                counter,
    				dontDump:               true,
    			}.exercise(t)
    		})
    	}
    }
    
    func TestBaseline(t *testing.T) {
    	metrics.Register()
    	now := time.Now()
    
    	clk, counter := testeventclock.NewFake(now, 0, nil)
    	qsf := newTestableQueueSetFactory(clk, countingPromiseFactoryFactory(counter))
    	qCfg := fq.QueuingConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  3. 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 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. 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 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K 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>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

     * is requested entries may be evicted on each cache modification, on occasional cache accesses, or
     * on calls to {@link Cache#cleanUp}. Expired entries may be counted by {@link Cache#size}, but will
     * never be visible to read or write operations.
     *
     * <p>If {@link #weakKeys weakKeys}, {@link #weakValues weakValues}, or {@link #softValues
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    //  2. Remove the finalizers from the Pods if they completed or were removed
    //     or the job was removed.
    //  3. Increment job counters for pods that no longer have a finalizer.
    //  4. Add Complete condition if satisfied with current counters.
    //
    // It does this up to a limited number of Pods so that the size of .status
    // doesn't grow too much and this sync doesn't starve other Jobs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    			# HELP apiserver_envelope_encryption_invalid_key_id_from_status_total [ALPHA] Number of times an invalid keyID is returned by the Status RPC call split by error.
    			# TYPE apiserver_envelope_encryption_invalid_key_id_from_status_total counter
    			apiserver_envelope_encryption_invalid_key_id_from_status_total{error="empty",provider_name="test"} 1
    			`,
    		},
    		{
    			desc: "kmsv2 provider returns a valid keyID",
    			probe: &kmsv2PluginProbe{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  9. 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() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. 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>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
Back to top