Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 288 for efficient (0.07 seconds)

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

       * Reader#skip(long) skip} to the end of the stream, and return the total number of chars that
       * were skipped.
       *
       * <p>Note that for sources that implement {@link #lengthIfKnown} to provide a more efficient
       * implementation, it is <i>possible</i> that this method will return a different number of chars
       * than would be returned by reading all of the chars.
       *
    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)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            }
    
            if (updateScope) {
                fireEvent(ResolutionListener.UPDATE_SCOPE, listeners, nearest, farthestArtifact);
    
                // previously we cloned the artifact, but it is more efficient to just update the artifactScope
                // if problems are later discovered that the original object needs its original artifactScope value,
                // cloning may
                // again be appropriate
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertThat(is('a').retainFrom("")).isEqualTo("");
      }
    
      public void testPrecomputedOptimizations() {
        // These are testing behavior that's never promised by the API.
        // Some matchers are so efficient that it is a waste of effort to
        // build a precomputed version.
        CharMatcher m1 = is('x');
        assertThat(m1.precomputed()).isSameInstanceAs(m1);
        assertThat(m1.precomputed().toString()).isEqualTo(m1.toString());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Multiset.java

      }
    
      /**
       * Runs the specified action for each distinct element in this multiset, and the number of
       * occurrences of that element. For some {@code Multiset} implementations, this may be more
       * efficient than iterating over the {@link #entrySet()} either explicitly or with {@code
       * entrySet().forEach(action)}.
       *
       * @since 21.0
       */
      default void forEachEntry(ObjIntConsumer<? super E> action) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      /**
       * Creates an empty multiset containing the given initial elements, sorted according to the
       * elements' natural order.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/IntMath.java

       * Returns the arithmetic mean of {@code x} and {@code y}, rounded towards negative infinity. This
       * method is overflow resilient.
       *
       * @since 14.0
       */
      public static int mean(int x, int y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
        // The alternative (x + y) >>> 1 fails for negative values.
        return (x & y) + ((x ^ y) >> 1);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

       * is as close as possible to the center of the range [{@code from}, {@code to}]. Choosing the
       * value closest to the center of the range first is the most efficient strategy because it
       * minimizes the size of the subranges from which the remaining selections must be done.
       */
      private static int chooseNextSelection(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

         * name associated with SIDs will be required, the SID_FLAG_RESOLVE_SIDS
         * flag should be used which causes all group member SIDs to be resolved
         * together in a single more efficient operation.
         */
        static Map getLocalGroupsMap(final String authorityServerName, final NtlmPasswordAuthentication auth, final int flags)
                throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        /**
         * Deletes documents from the OpenSearch index based on the specified search criteria.
         * Uses scroll and bulk delete operations for efficient deletion of large result sets.
         *
         * @param callback The callback to configure the search request for identifying documents to delete.
         * @throws OpenSearchAccessException if the deletion fails.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  10. android/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
    - 81.4K bytes
    - Click Count (0)
Back to Top