- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 149 for IsSorted (0.08 sec)
-
src/bytes/example_test.go
} if !bytes.Equal(a, b) { // a not equal b } } func ExampleCompare_search() { // Binary search to find a matching byte slice. var needle []byte var haystack [][]byte // Assume sorted _, found := slices.BinarySearchFunc(haystack, needle, bytes.Compare) if found { // Found it! } } func ExampleContains() { fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* Returns a newly-created immutable map. The iteration order of the returned map is the order * in which entries were inserted into the builder, unless {@link #orderEntriesByValue} was * called, in which case entries are sorted by value. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
int expectedSize) { return new LinkedHashSet<>(Maps.capacity(expectedSize)); } // TreeSet /** * Creates a <i>mutable</i>, empty {@code TreeSet} instance sorted by the natural sort ordering of * its elements. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSortedSet#of()} instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* ordering of all views in the returned table, with {@link #putAll} following the {@link * Table#cellSet()} iteration order. However, if {@link #orderRowsBy} or {@link #orderColumnsBy} * is called, the views are sorted by the supplied comparators. * * <p>For empty or single-cell immutable tables, {@link #of()} and {@link #of(Object, Object, * Object)} are even more convenient. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
* ordering of all views in the returned table, with {@link #putAll} following the {@link * Table#cellSet()} iteration order. However, if {@link #orderRowsBy} or {@link #orderColumnsBy} * is called, the views are sorted by the supplied comparators. * * <p>For empty or single-cell immutable tables, {@link #of()} and {@link #of(Object, Object, * Object)} are even more convenient. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.3K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
// Marker being set to a value which is greater than and all object names when sorted (36). // Expected to send an empty response in this case. {"test-bucket-list-object", "", "zen", "", 10, ListObjectsInfo{}, nil, true}, // Marker being set to a value which is lesser than and all object names when sorted (37). // Expected to send all the objects in the bucket in this case.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 76.1K bytes - Viewed (0) -
cmd/signature-v4.go
if idx > 0 { buf.WriteByte(',') } buf.WriteString(signV4TrimAll(v)) } buf.WriteByte('\n') } return buf.String() } // getSignedHeaders generate a string i.e alphabetically sorted, semicolon-separated list of lowercase request header names func getSignedHeaders(signedHeaders http.Header) string { var headers []string for k := range signedHeaders { headers = append(headers, strings.ToLower(k)) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K 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) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
Range<Integer> range = Range.closed(3, 5); assertTrue(range.containsAll(asList(3, 3, 4, 5))); assertFalse(range.containsAll(asList(3, 3, 4, 5, 6))); // We happen to know that natural-order sorted sets use a different code // path, so we test that separately assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5))); assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0)