Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 646 for to (0.18 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Resolves an artifact's meta version (if any) to a concrete version. For example, resolves "1.0-SNAPSHOT"
         * to "1.0-20090208.132618-23" or "RELEASE"/"LATEST" to "2.0".
         * <p>
         * Shortcut for {@code getService(VersionResolver.class).resolve(...)}
         *
         * @param artifact the artifact for which to resolve the version
         * @return resolved version of the given artifact
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
          for (ListenableFuture<? extends InputT> future : futures) {
            int index = i++;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

       *
       * @param from the input stream to read from
       * @param to the output stream to write to
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
      public static long copy(InputStream from, OutputStream to) throws IOException {
        checkNotNull(from);
        checkNotNull(to);
        byte[] buf = createBuffer();
        long total = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
       * @param terminationTimeout how long to wait for the executor to finish before terminating the
       *     JVM
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * first one specified is included.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          }
          // Successfully crossed over from min to max.
          // Bubble up max levels.
          E parent;
          // If toTrickle is moved up to a parent of removeIndex, the parent is
          // placed in removeIndex position. We must return that to the iterator so
          // that it knows to skip it.
          if (crossOver < removeIndex) {
            // We crossed over to the parent level in crossOver, so the parent
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
       * once hashed to it terminate, as well as in the case where
       * doubling the table causes no thread to hash to it under
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ValueGraph.java

       */
      @Override
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
       * to add a self-loop to a graph that does not allow them will throw an {@link
       * IllegalArgumentException}.
       */
      @Override
      boolean allowsSelfLoops();
    
      /** Returns the order of iteration for the elements of {@link #nodes()}. */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

     * creation methods appear to adhere doggedly to the original intent of the "mapped" address: all
     * "mapped" addresses return {@link Inet4Address} objects.
     *
     * <p>For added safety, it is common for IPv6 network operators to filter all packets where either
     * the source or destination address appears to be a "compat" or "mapped" address. Filtering
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/primitives/Floats.java

       *
       * @param value the {@code float} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
      public static float constrainToRange(float value, float min, float max) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top