- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 345 for ToArray (0.06 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
} catch (final ChildUrlsException e) { final Set<RequestData> urlSet = e.getChildUrlList(); assertEquals(1, urlSet.size()); for (final RequestData requestData : urlSet.toArray(new RequestData[urlSet.size()])) { String url = requestData.getUrl(); assertTrue(url.contains("dir1/test3.txt")); } } finally { if (server != null) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
* * @return an array of label types representing the parsed collections */ public LabelType[] getLabelTypes() { return labelList.toArray(new LabelType[labelList.size()]); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
V value = (V) v; builder.add(mapEntry(key, value)); } } checkArgument(keySet.size() == elements.length, "Duplicate keys"); return multimapGenerator.create(builder.toArray()).asMap(); } @SuppressWarnings("unchecked") @Override public Entry<K, Collection<V>>[] createArray(int length) { return (Entry<K, Collection<V>>[]) new Entry<?, ?>[length]; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
avgResponseTime.set(sum / responseTimeHistory.size()); // Calculate 95th percentile long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray(); int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1; p95Index = Math.max(0, Math.min(p95Index, sortedTimes.length - 1)); p95ResponseTime.set(sortedTimes[p95Index]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound. combined.remove(Object.class); } return super.captureAsTypeVariable(combined.toArray(new Type[0])); } }; } private WildcardCapturer notForTypeVariable() { return new WildcardCapturer(id); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Sets.java
return forward.descendingIterator(); } @Override public @Nullable Object[] toArray() { return standardToArray(); } @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] array) { return standardToArray(array); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
if (!arList.isEmpty()) { final long commitMarginTime = fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue(); for (final AccessResult<?> ar : arList.toArray(new AccessResult[arList.size()])) { if (ar.getCreateTime().longValue() > execTime - commitMarginTime) { arList.remove(ar); } } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
} List<String> sampleDataList = new ArrayList<>(); sampleDataList.addAll(hits); sampleDataList.addAll(misses); Collections.shuffle(sampleDataList); sampleData = sampleDataList.toArray(new String[sampleDataList.size()]); } // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type. @SuppressWarnings("unchecked") @Benchmark boolean getIfPresent(int repetitions) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 29.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
list.add(resourcesType); } } if (list.isEmpty()) { logger.log("WCL0014", rootPackage); return EMPTY_ARRAY; } return list.toArray(new Traverser[list.size()]); } /** * Creates and returns a {@link Traverser} for handling the specified URL. * <p> * Returns <code>null</code> if the protocol of the URL is unknown.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0)