- Sort Score
- Result 10 results
- Languages All
Results 1211 - 1220 of 1,315 for _size (0.04 sec)
-
guava/src/com/google/common/collect/Ordering.java
// k is really large; just do a straightforward sorted-copy-and-sublist ArrayList<E> list = Lists.newArrayList(iterator); sort(list, this); if (list.size() > k) { list.subList(k, list.size()).clear(); } list.trimToSize(); return unmodifiableList(list); } else { TopKSelector<E> selector = TopKSelector.least(k, this); selector.offerAll(iterator);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
} } if (request.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_2_0) { Set<String> modules = new HashSet<>(); for (int i = 0, n = m.getModules().size(); i < n; i++) { String module = m.getModules().get(i); if (!modules.add(module)) { addViolation( problems,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
List<String> misses = new ArrayList<>(); for (int i = 0; i < 256 - hits.size(); ++i) { misses.add("INVALID"); } List<String> sampleDataList = new ArrayList<>(); sampleDataList.addAll(hits); sampleDataList.addAll(misses); Collections.shuffle(sampleDataList); sampleData = sampleDataList.toArray(new String[sampleDataList.size()]); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 29.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
roles, null, SuggestItem.Kind.QUERY)); } return items.toArray(new SuggestItem[items.size()]); } private SuggestItem[] getItemSet2() { List<SuggestItem> items = new ArrayList<>(); { String[][] readings = new String[2][];
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
val selection1 = routeSelector.next() val regularRoutes = selection1.routes // Check that we do indeed have more than one route. assertThat(regularRoutes.size).isEqualTo(numberOfAddresses) // Add first regular route as failed. routeDatabase.failed(regularRoutes[0]) // Reset selector routeSelector = newRouteSelector(address)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
} } } if (filters.isEmpty()) { return null; } else if (filters.size() == 1) { return filters.get(0); } else { return ChainedVersionFilter.newInstance(filters); } } private Version parseVersion(String spec) { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
logger.debug("Deleted {} docs for {}*", count, url); } } else { deleteUrlList.add(url); if (deleteUrlList.size() >= maxDeleteDocumentCacheSize) { deleteDocuments(); } } } return true; } @Override public void commit() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, but
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
} public void testCountOverflow_doesNotThrow() { PairedStatsAccumulator accumulator = new PairedStatsAccumulator(); accumulator.add(ONE_VALUE, OTHER_ONE_VALUE); for (int power = 1; power < Long.SIZE - 1; power++) { accumulator.addAll(accumulator.snapshot()); } // Should overflow without throwing. accumulator.addAll(accumulator.snapshot()); assertThat(accumulator.count()).isLessThan(0L); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 21:17:33 UTC 2024 - 23.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
List<ComponentDescriptor<?>> clones = null; if (mojos != null) { clones = new ArrayList<>(mojos.size()); for (MojoDescriptor mojo : mojos) { MojoDescriptor clone = mojo.clone(); clone.setPluginDescriptor(pluginDescriptor); clones.add(clone); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0)