Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 281 for addUse (0.05 sec)

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

        assertThrows(NullPointerException.class, () -> builder.add((String[]) elements));
        ImmutableList<String> result = builder.build();
    
        /*
         * Maybe it rejects all elements, or maybe it adds "a" before failing.
         * Either way is fine with us.
         */
        if (result.isEmpty()) {
          return;
        }
        assertTrue(ImmutableList.of("a").equals(result));
        assertEquals(1, result.size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.6.md

        * Adds support for 1.5.x series of Kubernetes
        * Introduces a tactic for keeping templates in sync with upstream eliminating template drift
        * Adds CNI support to the Juju Charms
        * Adds durable storage support to the Juju Charms
        * Introduces an e2e Charm layer for repeatable testing efforts and validation of clusters
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertThrows(NullPointerException.class, () -> builder.add((String[]) elements));
        ImmutableList<String> result = builder.build();
    
        /*
         * Maybe it rejects all elements, or maybe it adds "a" before failing.
         * Either way is fine with us.
         */
        if (result.isEmpty()) {
          return;
        }
        assertTrue(ImmutableList.of("a").equals(result));
        assertEquals(1, result.size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/FluentFuture.java

     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
     *
     * @since 23.0
     */
    @DoNotMock("Use FluentFuture.from(Futures.immediate*Future) or SettableFuture")
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. cmd/api-router.go

    		Queries("events", "{events:.*}")
    
    	// ListBuckets
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// S3 browser with signature v4 adds '//' for ListBuckets request, so rather
    	// than failing with UnknownAPIRequest we simply handle it for now.
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

          Entry<K, V> entry = entryOf(key, value);
          // don't inline this: we want to fail atomically if key or value is null
          entries[size++] = entry;
          return this;
        }
    
        /**
         * Adds the given {@code entry} to the map, making it immutable if necessary. If the same key is
         * put more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will
         * keep the last value put for that key.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    			for k := range w.Header() {
    				w.Header().Del(k)
    			}
    			globalForwarder.ServeHTTP(w, r)
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // addCustomHeadersMiddleware adds various HTTP(S) response headers.
    // Security Headers enable various security protections behaviors in the client's browser.
    func addCustomHeadersMiddleware(h http.Handler) http.Handler {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue(MinMaxPriorityQueue.isEvenLevel(i - 1));
        assertTrue(MinMaxPriorityQueue.isEvenLevel(i));
    
        // 1 << 31 is negative because of overflow, 1 << 31 - 1 is positive
        // since isEvenLevel adds 1, we need to do - 2.
        assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 31) - 2));
        assertTrue(MinMaxPriorityQueue.isEvenLevel(Integer.MAX_VALUE - 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

          checkEntryNotNull(key, value);
          alternatingKeysAndValues[2 * size] = key;
          alternatingKeysAndValues[2 * size + 1] = value;
          size++;
          return this;
        }
    
        /**
         * Adds the given {@code entry} to the map, making it immutable if necessary. If the same key is
         * put more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will
         * keep the last value put for that key.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.9.md

        *   Support for Kubernetes IPv6 cluster deployments using kubeadm.
        *   Support for the iptables kube-proxy backend using ip6tables.
        *   Relies on CNI 0.6.0 binaries for IPv6 pod networking.
        *   Adds IPv6 support for kube-dns using SRV records.
        *   Caveats
            *   Only the CNI bridge and local-ipam plugins have been tested for the alpha release, although other CNI plugins do support IPv6.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Nov 16 10:46:27 UTC 2021
    - 313.7K bytes
    - Viewed (0)
Back to top