Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 654 for consider (0.06 seconds)

  1. android/guava/src/com/google/common/io/MoreFiles.java

        Path parent = normalizedAbsolutePath.getParent();
        if (parent == null) {
          // The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
          // mean that the root itself exists -- consider x:\ on a Windows machine without such a
          // drive -- or even that the caller can create it, but this method makes no such guarantees
          // even for non-root files.
          return;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        public void run() {
          try {
            future.get();
          } catch (Exception e) {
            // nothing
          }
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void awaitWaiting() {
          while (!isBlocked()) {
            if (getState() == State.TERMINATED) {
              throw new RuntimeException("Thread exited");
            }
            Thread.yield();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p>When a live view is <i>not</i> needed, it may be faster to copy the transformed collection
       * and use the copy.
       *
       * <p>If the input {@code Collection} is known to be a {@code List}, consider {@link
       * Lists#transform}. If only an {@code Iterable} is available, use {@link Iterables#transform}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#map Stream.map}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Verify.java

        if (reference == null) {
          throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs));
        }
        return reference;
      }
    
      // TODO(kevinb): consider <T> T verifySingleton(Iterable<T>) to take over for
      // Iterables.getOnlyElement()
    
      private Verify() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

       * start node(s) at most once.
       *
       * <p>If you know that no node in {@code graph} is reachable by more than one path from the start
       * node(s), consider using {@link #forTree(SuccessorsFunction)} instead.
       *
       * <p><b>Performance notes</b>
       *
       * <ul>
       *   <li>Traversals require <i>O(n)</i> time (where <i>n</i> is the number of nodes reachable from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/CharSource.java

       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      /*
       * We have to rely on users not to call this without library desugaring, as NewApi won't flag
       * Consumer creation.
       */
      @IgnoreJRERequirement
      public void forEachLine(Consumer<? super String> action) throws IOException {
        try (Stream<String> lines = lines()) {
          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Striped.java

       * stripes (much like the birthday paradox, where much fewer than anticipated birthdays are needed
       * for a pair of them to match). Please consider carefully the implications of the number of
       * stripes, the intended concurrency level, and the typical number of keys used in a {@code
       * bulkGet(keys)} operation. See <a href="http://www.mathpages.com/home/kmath199.htm">Balls in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * Collection} and {@link Iterator} interfaces.
     *
     * @author Doug Lea
     * @author Justin T. Sampson
     * @param <E> the type of elements held in this collection
     */
    // TODO(kak): consider removing some of the @CanIgnoreReturnValue annotations as appropriate
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class MonitorBasedArrayBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

       */
      public static class Builder<C extends Comparable<?>> {
        private final List<Range<C>> ranges;
    
        public Builder() {
          this.ranges = new ArrayList<>();
        }
    
        // TODO(lowasser): consider adding union, in addition to add, that does allow overlap
    
        /**
         * Add the specified range to this builder. Adjacent ranges are permitted and will be merged,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    if (this.connections.size() >= maxPoolSize) {
                        throw new IllegalStateException("Connection pool has reached maximum size of " + maxPoolSize
                                + ". Consider increasing pool size or closing idle connections.");
                    }
                }
            }
    
            final SmbTransportImpl conn = new SmbTransportImpl(tc, address, port, localAddr, localPort, forceSigning);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top