Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 914 for iterate (0.09 sec)

  1. android/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 = Lists.newLinkedList(asList(1, 2, 3));
        Iterable<List<Integer>> partitions = Iterables.paddedPartition(source, 2);
        Iterator<List<Integer>> iterator = partitions.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        if (IPV4_DELIMITER_MATCHER.countIn(ipString) + 1 != IPV4_PART_COUNT) {
          return null; // Wrong number of parts
        }
    
        byte[] bytes = new byte[IPV4_PART_COUNT];
        int start = 0;
        // Iterate through the parts of the ip string.
        // Invariant: start is always the beginning of an octet.
        for (int i = 0; i < IPV4_PART_COUNT; i++) {
          int end = ipString.indexOf(IPV4_DELIMITER, start);
          if (end == -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Range.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    
    /**
     * A range (or "interval") defines the <i>boundaries</i> around a contiguous span of values of some
     * {@code Comparable} type; for example, "integers from 1 to 100 inclusive." Note that it is not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                }
            }
    
            // We need to locate the top level project which may be pointed at using
            // the -f/--file option.  However, the command line isn't parsed yet, so
            // we need to iterate through the args to find it and act upon it.
            Path topDirectory = fileSystem.getPath(cliRequest.workingDirectory);
            boolean isAltFile = false;
            for (String arg : cliRequest.args) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. 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 Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top