- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 797 for iterate (0.04 sec)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterator<List<Integer>> iterator = partitions.iterator(); assertTrue(iterator.next() instanceof RandomAccess); assertTrue(iterator.next() instanceof RandomAccess); } public void testPaddedPartitionNonRandomAccessInput() { Iterable<Integer> source = new LinkedList<>(asList(1, 2, 3)); Iterable<List<Integer>> partitions = Iterables.paddedPartition(source, 2); Iterator<List<Integer>> iterator = partitions.iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* elements in {@code a}, followed by the elements in {@code b}, followed by the elements in * {@code c}. The source iterators are not polled until necessary. * * <p>The returned iterator supports {@code remove()} when the corresponding input iterator * supports it. */ public static <T extends @Nullable Object> Iterator<T> concat(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* **OkHttp now offers interceptors.** Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. The [interceptors doc][interceptors] is a full introduction to this new API. * New: APIs to iterate and selectively clear the response cache. * New: Support for SOCKS proxies. * New: Support for `TLS_FALLBACK_SCSV`. * New: Update HTTP/2 support to `h2-16` and `hpack-10`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
ArrayList<LockGraphNode> acquiredLockList = requireNonNull(acquiredLocks.get()); LockGraphNode node = lock.getLockGraphNode(); // Iterate in reverse because locks are usually locked/unlocked in a // LIFO order. for (int i = acquiredLockList.size() - 1; i >= 0; i--) { if (acquiredLockList.get(i) == node) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
cmd/test-utils_test.go
// initialize a new mux router. // goriilla/mux is the library used to register all the routes and handle them. muxRouter := mux.NewRouter().SkipClean(true).UseEncodedPath() if len(apiFunctions) > 0 { // Iterate the list of API functions requested for and register them in mux HTTP handler. registerAPIFunctions(muxRouter, objLayer, apiFunctions...) muxRouter.Use(globalMiddlewares...) return muxRouter }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
tensorflow/c/c_api.h
// Returns the operation in the graph with `oper_name`. Returns nullptr if // no operation found. TF_CAPI_EXPORT extern TF_Operation* TF_GraphOperationByName( TF_Graph* graph, const char* oper_name); // Iterate through the operations of a graph. To use: // size_t pos = 0; // TF_Operation* oper; // while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) { // DoSomethingWithOperation(oper); // }
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
public static Iterable<Class<?>> iterable(final Class<?> clazz) { return iterable(clazz, true); } /** * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement. * * @param clazz the class (must not be {@literal null}) * @param includeObject if {@literal true}, includes the {@link Object} class in the iteration
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
* for any given call to {@code cache.get} or {@code cache.getUnchecked} is the value returned, or * the exception thrown. * * <p>As we iterate from {@code 0} to {@code nThreads}, threads with an even index will call * {@code getUnchecked}, and threads with an odd index will call {@code get}. If the cache throws
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
* for (String element : iterable(list, set, map.keySet())) { * ... * } * </pre> * * @author koichik * @param <E> the element type */ public class MultiIterator<E> implements Iterator<E> { /** Array of {@link Iterator}s. */ protected final Iterator<E>[] iterators; /** Index of the currently iterated {@link Iterator}. */ protected int index; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
} /** * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops. * * @param reader * The {@link BufferedReader} to read strings from. Must not be {@literal null}. * @return An {@link Iterable} that wraps a {@link LineIterator}. */ public static Iterable<String> iterable(final BufferedReader reader) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0)