Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 827 for _clear (0.2 sec)

  1. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
          HashMultiset<Integer> multiset = HashMultiset.<Integer>create();
          multisets.add(multiset);
          queries[i] = random.nextInt();
          multiset.add(queries[i]);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.remove("three");
        assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered);
        assertEquals(ImmutableMap.of("four", 4), filtered);
    
        unfiltered.clear();
        assertEquals(ImmutableMap.of(), unfiltered);
        assertEquals(ImmutableMap.of(), filtered);
      }
    
      public void testFilteredValuesIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

            break
          }
        }
    
        if (routes.isEmpty()) {
          // We've exhausted all Proxies so fallback to the postponed routes.
          routes += postponedRoutes
          postponedRoutes.clear()
        }
    
        return Selection(routes)
      }
    
      /** Prepares the proxy servers to try. */
      private fun resetNextProxy(
        url: HttpUrl,
        proxy: Proxy?,
      ) {
        fun selectProxies(): List<Proxy> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          if (occurrences >= oldCount) {
            values.clear();
          } else {
            Iterator<V> iterator = values.iterator();
            for (int i = 0; i < occurrences; i++) {
              iterator.next();
              iterator.remove();
            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimaps.java

          if (occurrences >= oldCount) {
            values.clear();
          } else {
            Iterator<V> iterator = values.iterator();
            for (int i = 0; i < occurrences; i++) {
              iterator.next();
              iterator.remove();
            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                if (searchLogList.size() >= batchSize) {
                    processUserInfoLog(searchLogList, userInfoMap);
                    processSearchLog(searchLogList);
                    searchLogList.clear();
                    userInfoMap.clear();
                }
            }
    
            if (!searchLogList.isEmpty()) {
                processUserInfoLog(searchLogList, userInfoMap);
                processSearchLog(searchLogList);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. .github/pull_request_template.md

    If your pull request is about ~20 lines of code you don't need to sign an
    [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
    please ask on the developers list.
    
    To make clear that you license your contribution under
    the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
    you have to acknowledge this by using the following check-box.
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.clean assembleDebug with clean transforms cache",
        "groups" : [ {
          "testProject" : "largeAndroidBuild",
          "coverage" : {
            "per_day" : [ "linux" ]
          }
        }, {
          "testProject" : "nowInAndroidBuild",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

              expectedModCount = biMap.modCount;
            }
          };
        }
    
        @Override
        public int size() {
          return biMap.size;
        }
    
        @Override
        public void clear() {
          biMap.clear();
        }
      }
    
      @LazyInit private transient Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
        Set<K> result = keySet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top