- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,515 for older (0.02 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
/* * While the current implementation returns `this`, that's not something we mean to guarantee. * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new * collection. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") @Override public List<String> order(List<String> insertionOrder) { sort(insertionOrder); return insertionOrder; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
/** Returns an iterable whose iterator returns the given elements in order. */ public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) { // Make sure to get an unmodifiable iterator return new MinimalIterable<>(asList(elements).iterator()); } /** * Returns an iterable whose iterator returns the given elements in order. The elements are copied
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
protected Set<String> create(String[] elements) { return new SafeTreeSet<>(asList(elements)); } @Override public List<String> order(List<String> insertionOrder) { return new ArrayList<>(Sets.newTreeSet(insertionOrder)); } }) .withFeatures( CollectionSize.ANY,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.5K bytes - Click Count (0) -
cmd/erasure-metadata-utils.go
continue } diskCount++ } return diskCount } // hashOrder - hashes input key to return consistent // hashed integer slice. Returned integer order is salted // with an input key. This results in consistent order. // NOTE: collisions are fine, we are not looking for uniqueness // in the slices returned. func hashOrder(key string, cardinality int) []int { if cardinality <= 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectSpliterators.java
@Nullable T holder = null; @Override public void accept(@ParametricNullness T t) { this.holder = t; } @Override public boolean tryAdvance(Consumer<? super T> action) { while (fromSpliterator.tryAdvance(this)) { try { // The cast is safe because tryAdvance puts a T into `holder`.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 19.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
* Returns the platform preferred map implementation that preserves insertion order when used only * for insertions. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> preservesInsertionOrderOnPutsMap() { return CompactHashMap.create(); } /** * Returns the platform preferred map implementation that preserves insertion order when used only
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Platform.java
* Returns the platform preferred map implementation that preserves insertion order when used only * for insertions. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> preservesInsertionOrderOnPutsMap() { return new LinkedHashMap<>(); } /** * Returns the platform preferred map implementation that preserves insertion order when used only
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
// it. executeListener(runnable, executor); } /** * Runs this execution list, executing all existing pairs in the order they were added. However, * note that listeners added after this point may be executed before those previously added, and * note that the execution order of all listeners is ultimately chosen by the implementations of * the supplied executors. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java
/* * While the current implementation returns `this`, that's not something we mean to guarantee. * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new * collection. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") @Override public List<AnEnum> order(List<AnEnum> insertionOrder) { sort(insertionOrder); return insertionOrder; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
* @throws IllegalStateException if no implementation is found */ private static XmlService getService() { return Holder.INSTANCE; } /** Holder class for lazy initialization of the default instance */ private static final class Holder { static final XmlService INSTANCE = ServiceLoader.load(XmlService.class) .findFirst()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 9.2K bytes - Click Count (0)