- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 294 for sorted (0.05 seconds)
-
guava/src/com/google/common/graph/ElementOrder.java
* <li>SORTED: ordering according to a supplied comparator is guaranteed. * </ul> */ public enum Type { UNORDERED, STABLE, INSERTION, SORTED } private ElementOrder(Type type, @Nullable Comparator<T> comparator) { this.type = checkNotNull(type); this.comparator = comparator; checkState((type == Type.SORTED) == (comparator != null)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public static class Chars extends SampleElements<Character> { public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> { public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* * Ranges Data (32,612 bytes) * ========================== * * Each entry is 4 bytes, and represents a _range_ of code points that all share a common 14-bit * prefix. Entries are sorted by their complete code points. * * The 4 bytes are named b0, b1, b2 and b3. We also define these supplemental values: * * * **b2a**: b2 + 0x80 * * **b3a**: b3 + 0x80 * * **b2b3**: (b2 << 7) + b3 * * b0
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9K bytes - Click Count (0) -
tensorflow/c/c_test_util.h
tensorflow::AttrValue* attr_value, TF_Status* s); // Returns a sorted vector of std::pair<function_name, gradient_func> from // graph_def.library().gradient() std::vector<std::pair<string, string>> GetGradDefs( const tensorflow::GraphDef& graph_def); // Returns a sorted vector of names contained in `grad_def` std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def);
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
import java.util.NoSuchElementException; import java.util.SortedMap; import org.jspecify.annotations.Nullable; /** * A sorted map which forwards all its method calls to another sorted map. Subclasses should * override one or more methods to modify the behavior of the backing sorted map as desired per the * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
cmd/signature-v2.go
} if val == "" { canonicalQueries = append(canonicalQueries, key) continue } canonicalQueries = append(canonicalQueries, key+"="+val) } // The queries will be already sorted as resourceList is sorted, if canonicalQueries // is empty strings.Join returns empty. canonicalQuery := strings.Join(canonicalQueries, "&") if canonicalQuery != "" { return encodedResource + "?" + canonicalQuery }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedLists.java
/** * Searches the specified list for the specified object using the binary search algorithm. The * list must be sorted into ascending order according to the specified comparator (as by the * {@link Collections#sort(List, Comparator) Collections.sort(List, Comparator)} method), prior to * making this call. If it is not sorted, the results are undefined. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
datasets[i][j] = rng.nextDouble(); } } } private double[] dataset(int i) { // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a // dataset which is already sorted or partially sorted is cheating. return datasets[i & 0xFF].clone(); } @Benchmark double median(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java
*/ package com.google.common.collect.testing; import static java.util.Collections.sort; import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.SortedSet; import org.jspecify.annotations.NullMarked; /** * Create integer sets for testing collections that are sorted by natural ordering. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Quantiles.java
* Double#NaN NaN}. (This is the one occasion when the behaviour is not the same as you'd get from * sorting with {@link java.util.Arrays#sort(double[]) Arrays.sort(double[])} or {@link * java.util.Collections#sort(java.util.List) Collections.sort(List<Double>)} and selecting * the required value(s). Those methods would sort {@link Double#NaN NaN} as if it is greater than * any other value and place them at the end of the dataset, even after {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 30.1K bytes - Click Count (0)