Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 5,228 for avoid (0.03 seconds)

  1. guava/src/com/google/common/collect/ImmutableSet.java

          this.impl = null; // unused
        }
    
        @VisibleForTesting
        void forceJdk() {
          requireNonNull(impl); // see the comment on the field
          this.impl = new JdkBackedSetBuilderImpl<>(impl);
        }
    
        final void copyIfNecessary() {
          if (forceCopy) {
            copy();
            forceCopy = false;
          }
        }
    
        void copy() {
          requireNonNull(impl); // see the comment on the field
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.20.md

    - Avoid caching the Azure VMSS instances whose network profile is nil ([#100948](https://github.com/kubernetes/kubernetes/pull/100948), [@feiskyer](https://github.com/feiskyer)) [SIG Cloud Provider]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThat(transformed.toString()).isEqualTo("{a=[a1, a4, a4], b=[b6]}");
      }
    
      @J2ktIncompatible // Synchronized
      public void testSynchronizedMultimapSampleCodeCompilation() {
        // Extra indirection for J2KT, to avoid error: not enough information to infer type variable K
        this.<@Nullable Object, @Nullable Object>genericTestSynchronizedMultimapSampleCodeCompilation();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle.go

    		return nil
    	}
    	workers := *w
    	return workers[h%uint64(len(workers))]
    }
    
    func (es *expiryState) ResizeWorkers(n int) {
    	if n == 0 {
    		n = 100
    	}
    
    	// Lock to avoid multiple resizes to happen at the same time.
    	es.mu.Lock()
    	defer es.mu.Unlock()
    	var workers []chan expiryOp
    	if v := es.workers.Load(); v != nil {
    		// Copy to new array.
    		workers = append(workers, *v...)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

     * arbitrary q-quantiles, use {@link #scale scale(q)}.
     *
     * <p>These examples all take a copy of your dataset. If you have a double array, you are okay with
     * it being arbitrarily reordered, and you want to avoid that copy, you can use {@code
     * computeInPlace} instead of {@code compute}.
     *
     * <h3>Definition and notes on interpolation</h3>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

        @Test
        public void test_getSortPrefix() {
            assertEquals("sort:", queryHelper.getSortPrefix());
        }
    
        @Test
        public void test_setSortPrefix() {
            queryHelper.setSortPrefix("customSort:");
            assertEquals("customSort:", queryHelper.getSortPrefix());
        }
    
        @Test
        public void test_getAdditionalQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
  8. cmd/peer-rest-client.go

    	serverURL := &url.URL{
    		Scheme: scheme,
    		Host:   peer.String(),
    		Path:   peerRESTPath,
    	}
    
    	restClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    	// Use a separate client to avoid recursive calls.
    	healthClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    	healthClient.NoMetrics = true
    
    	// Construct a new health function.
    	restClient.HealthCheckFn = func() bool {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Sets.java

         * that is inconsistent with {@link Object#equals(Object)}.
         */
        public ImmutableSet<@NonNull E> immutableCopy() {
          // Not using ImmutableSet.copyOf() to avoid iterating thrice (isEmpty, size, iterator).
          int maxSize = maxSize();
          if (maxSize == 0) {
            return ImmutableSet.of();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
Back to Top