- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 914 for iterate (0.11 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
break; case 1: assertThat(network.edgeConnectingOrNull(node, otherNode)) .isEqualTo(edgesConnecting.iterator().next()); assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue(); break; default: assertThat(network.hasEdgeConnecting(node, otherNode)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
public NavigableMap<K, V> create(Object... entries) { NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries); return map.descendingMap(); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { insertionOrder = castOrCopyToList(delegate.order(insertionOrder)); reverse(insertionOrder); return insertionOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
* Multimap} interface. * * <p>Any duplicates in {@code values} will be stored in the multimap once. */ @CanIgnoreReturnValue @Override public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return (SortedSet<V>) super.replaceValues(key, values); } /** * Returns a map view that associates each key with the corresponding values in the multimap.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } } private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); } private Iterable<LoadingCache<Key, String>> caches() { CacheBuilderFactory factory = factoryWithAllKeyStrengths(); return Iterables.transform( factory.buildAllPermutations(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/config.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/json" "errors" "fmt" "path" "sort" "strings" jsoniter "github.com/json-iterator/go" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/kms" ) const ( minioConfigPrefix = "config"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
* * <p>Visible for testing.</p> */ class Implementation(private val excludes: List<String>, private val includes: List<String>) { fun collectPackages(files: Iterable<Path>): Trie { val builder = Trie.Builder() for (file in files) { if (Files.exists(file)) { if (file.fileName.toString().endsWith(".jar")) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
*/ private fun promoteAndExecute(): Boolean { lock.assertNotHeld() val executableCalls = mutableListOf<AsyncCall>() val isRunning: Boolean this.withLock { val i = readyAsyncCalls.iterator() while (i.hasNext()) { val asyncCall = i.next() if (runningAsyncCalls.size >= this.maxRequests) break // Max capacity.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jun 20 14:10:53 UTC 2024 - 9K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
// (In the backport, we don't need this suppression, but we keep it to minimize diffs.) @SuppressWarnings("unchecked") @Override public UnmodifiableIterator<E> iterator() { return (UnmodifiableIterator<E>) Iterators.forArray(elements); } @Override public Spliterator<E> spliterator() { return Spliterators.spliterator(elements, SPLITERATOR_CHARACTERISTICS); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/features/caching.md
cache.delete() ``` ## Pruning the Cache Pruning the entire Cache to clear space temporarily can be done using evictAll. ```kotlin cache.evictAll() ``` Removing individual items can be done using the urls iterator. This would be typical after a user initiates a force refresh by a pull to refresh type action. ```java val urlIterator = cache.urls() while (urlIterator.hasNext()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0)