Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 185 for leash (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      /**
       * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs
       * version of min/max.
       */
      private static <T> void testExhaustively(
          Ordering<? super T> ordering, T... strictlyOrderedElements) {
        checkArgument(
            strictlyOrderedElements.length >= 3,
            "strictlyOrderedElements " + "requires at least 3 elements");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-handler.go

    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    	// Require that metrics path has at least component.
    	if path == "/" {
    		return notFoundHandler
    	}
    
    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    			return notFoundHandler
    		}
    		return handler
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA));
    
        /* Map must have at least one entry if not an EnumBiMap. */
        try {
          EnumBiMap.create(Collections.<Currency, Country>emptyMap());
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA));
    
        /* Map must have at least one entry if not an EnumBiMap. */
        try {
          EnumBiMap.create(Collections.<Currency, Country>emptyMap());
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // according to the corresponding EndpointSlice addressType field. Consumers
      // must handle different types of addresses in the context of their own
      // capabilities. This must contain at least one address but no more than
      // 100. These are all assumed to be fungible and clients may choose to only
      // use the first element. Refer to: https://issue.k8s.io/106267
      // +listType=set
      repeated string addresses = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/discovery/v1/generated.proto

      // according to the corresponding EndpointSlice addressType field. Consumers
      // must handle different types of addresses in the context of their own
      // capabilities. This must contain at least one address but no more than
      // 100. These are all assumed to be fungible and clients may choose to only
      // use the first element. Refer to: https://issue.k8s.io/106267
      // +listType=set
      repeated string addresses = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      // can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
      // alpha feature gate HPAScaleToZero is enabled and at least one Object or External
      // metric is configured.  Scaling is active as long as at least one metric value is
      // available.
      // +optional
      optional int32 minReplicas = 2;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map);
        assertEquals("dollar", bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar"));
    
        /* Map must have at least one entry if not an EnumHashBiMap. */
        try {
          EnumHashBiMap.create(Collections.<Currency, String>emptyMap());
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor. Always returns at least setSize + 2.
       */
      // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version.
      static int chooseTableSize(int setSize) {
        setSize = Math.max(setSize, 2);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  10. android/guava/pom.xml

                <!-- Even after we stop using JSR305 annotations in our own code, we'll want this link so that NullPointerTester's docs can link to @CheckForNull and friends... at least once we start using this config for guava-testlib. -->
                <offlineLink>
                  <url>https://static.javadoc.io/com.google.code.findbugs/jsr305/3.0.1/</url>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top