Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 151 for efficiently (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/recipes.md

    ### Synchronous Get ([.kt][SynchronousGetKotlin], [.java][SynchronousGetJava])
    
    Download a file, print its headers, and print its response body as a string.
    
    The `string()` method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid `string()` because it will load the entire document into memory. In that case, prefer to process the body as a stream.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       * elements will appear in the returned list in the same order they appeared in {@code elements}.
       *
       * <p><b>Performance note:</b> According to our
       * benchmarking
       * on Open JDK 7, this method is the most efficient way to make a sorted copy of a collection.
       *
       * @throws NullPointerException if any element of {@code elements} is {@code null}
       * @since 3.0
       */
      // TODO(kevinb): rerun benchmarks including new options
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Sets.java

            }
            return true; // that.size() == this.size()
          }
        }
    
        /**
         * Returns a lower bound for {@link #size()} based on the sizes of the backing sets.
         *
         * <p>This is more efficient than {@link #size()}, which iterates over the entire {@link
         * SetView}.
         */
        abstract int minSize();
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Ordering.java

       * elements will appear in the returned list in the same order they appeared in {@code elements}.
       *
       * <p><b>Performance note:</b> According to our
       * benchmarking
       * on Open JDK 7, this method is the most efficient way to make a sorted copy of a collection.
       *
       * @throws NullPointerException if any element of {@code elements} is {@code null}
       * @since 3.0
       */
      // TODO(kevinb): rerun benchmarks including new options
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks);
        BlockingQueue<Future<T>> futureQueue = Queues.newLinkedBlockingQueue();
        long timeoutNanos = unit.toNanos(timeout);
    
        // For efficiency, especially in executors with limited
        // parallelism, check to see if previously submitted tasks are
        // done before submitting more of them. This interleaving
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        /**
         * List the contents of this SMB resource as an array of
         * <code>SmbFile</code> objects. This method is much more efficient than
         * the regular <code>list</code> method when querying attributes of each
         * file in the result set.
         * <p>
         * The list of <code>SmbFile</code>s returned by this method will be;
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      /** The concurrency level. */
      final int concurrencyLevel;
    
      /** Strategy for comparing keys. */
      final Equivalence<Object> keyEquivalence;
    
      /** Strategy for handling entries and segments in a type-safe and efficient manner. */
      final transient InternalEntryHelper<K, V, E, S> entryHelper;
    
      /**
       * Creates a new, empty map with the specified strategy, initial capacity and concurrency level.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *
     * <p>This version adds some verbosity around the {@code Guard} objects, but removes that same
     * verbosity, and more, from the {@code get} and {@code set} methods. {@code Monitor} implements the
     * same efficient signaling as we had to hand-code in the {@code ReentrantLock} version above.
     * Finally, the programmer no longer has to hand-code the wait loop, and therefore doesn't have to
     * remember to use {@code while} instead of {@code if}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

         * {@code Builder} object, even though only one of them will be used in the built map. If there
         * can be many repeated keys, it may be more space-efficient to use a {@link
         * java.util.LinkedHashMap LinkedHashMap} and {@link ImmutableMap#copyOf(Map)} rather than
         * {@code ImmutableMap.Builder}.
         *
         * @since 31.1
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    if (attempt % 10 == 0 || attempt < 5) {
                        log.debug("Server not ready yet (attempt {}): {}", attempt + 1, e.getMessage());
                    }
                    // Use exponential backoff for more efficient waiting
                    if (attempt < 10) {
                        Thread.sleep(500); // First 10 attempts: 0.5 second intervals
                    } else if (attempt < 30) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top