- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 249 for isSorted (0.05 seconds)
-
cmd/metacache-stream.go
// 1. Bool. If false at end of stream. // 2. String. Name of object. Directories contains a trailing slash. // 3. Binary. Blob of metadata. Length 0 on directories. // ... Next element. // // Streams can be assumed to be sorted in ascending order. // If the stream ends before a false boolean it can be assumed it was truncated. const metacacheStreamVersion = 2 // metacacheWriter provides a serializer of metacache objects.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 19.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (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]);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
guava/src/com/google/common/graph/ValueGraph.java
* terms</a>): * * <ul> * <li>directed graphs * <li>undirected graphs * <li>graphs that do/don't allow self-loops * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered * <li>graphs whose edges have associated values * </ul> * * <p>{@code ValueGraph}, as a subtype of {@code Graph}, explicitly does not support parallel edges,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 16K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
final Set<RequestData> urlSet = e.getChildUrlList(); assertEquals(5, urlSet.size()); final List<String> urlList = urlSet.stream().map(x -> x.getUrl()).sorted().toList(); assertEquals("ftp://localhost:10021/dir1", urlList.get(0)); assertEquals("ftp://localhost:10021/dir2", urlList.get(1));
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 21.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
List<ChannelInfo> channelsToRemove = channels.values() .stream() .filter(c -> !c.isPrimary()) // Never remove primary channel .sorted(Comparator.comparingInt(ChannelInfo::getScore)) // Remove lowest scoring first .limit(excessCount) .collect(ArrayList::new, (list, item) -> list.add(item), (list1, list2) -> list1.addAll(list2));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
* terms</a>): * * <ul> * <li>directed graphs * <li>undirected graphs * <li>graphs that do/don't allow self-loops * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered * </ul> * * <p>{@code Graph} explicitly does not support parallel edges, and forbids implementations or * extensions with parallel edges. If you need parallel edges, use {@link Network}. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 13.6K bytes - Click Count (0) -
guava/src/com/google/common/graph/Graph.java
* terms</a>): * * <ul> * <li>directed graphs * <li>undirected graphs * <li>graphs that do/don't allow self-loops * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered * </ul> * * <p>{@code Graph} explicitly does not support parallel edges, and forbids implementations or * extensions with parallel edges. If you need parallel edges, use {@link Network}. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 13.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
} public void testVerifyMegaStreamHalves() { assertThat( concat(megaPrimitiveDoubleStreamPart1(), megaPrimitiveDoubleStreamPart2()) .sorted() .toArray()) .isEqualTo(megaPrimitiveDoubleStream().toArray()); } public void testAddAllPrimitiveDoubleStream() { StatsAccumulator accumulator = new StatsAccumulator();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 36.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
} } } // Sort all documents by fused RRF score (descending) final var fusedDocs = documentsByIdMap.values() .stream() .sorted((doc1, doc2) -> Float.compare(toFloat(doc2.get(scoreField)), toFloat(doc1.get(scoreField)))) .toList(); // Calculate offset based on documents not in main searcher's top resultsCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 27.5K bytes - Click Count (0)