Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for minSize (0.21 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

         * SetView}.
         */
        abstract int minSize();
    
        /**
         * Returns the {@link #minSize()} of {@code set} if it is a {@link SetView}, or the exact {@link
         * #size()} of {@code set} otherwise.
         */
        static int minSize(Set<?> set) {
          return set instanceof SetView ? ((SetView<?>) set).minSize() : set.size();
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      }
    
      /**
       * Returns a {@link SetView} with a {@link SetView#minSize()} of {@code min} and a {@link
       * SetView#maxSize()} of {@code max}.
       */
      private static SetView<Integer> setSizeRange(int min, int max) {
        checkArgument(min >= 0 && max >= min);
        SetView<Integer> set = difference(setSize(max), setSize(max - min));
        checkState(set.minSize() == min && set.maxSize() == max);
        return set;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            }
        }
    
        static class TestSubSearcher extends RankFusionSearcher {
    
            private int mainSize;
            private int inSize;
            private int outSize;
    
            TestSubSearcher(int mainSize, int inSize, int outSize) {
                this.mainSize = mainSize;
                this.inSize = inSize;
                this.outSize = outSize;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataIndexHelper = new DataIndexHelper();
            setupMockComponents();
            // Reduce default interval to minimize test execution time
            dataIndexHelper.setCrawlingExecutionInterval(1L); // 1ms instead of 5000ms
        }
    
        private void setupMockComponents() {
            // Lightweight mock CrawlingConfigHelper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/PairedStatsAccumulator.java

       *
       * <p>The corresponding root-mean-square error in {@code x} as a function of {@code y} is a
       * fraction {@code sqrt(1/(R*R) - 1)} of the population standard deviation of {@code x}. This fit
       * does not normally minimize that error: to do that, you should swap the roles of {@code x} and
       * {@code y}.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/PairedStats.java

       *
       * <p>The corresponding root-mean-square error in {@code x} as a function of {@code y} is a
       * fraction {@code sqrt(1/(R*R) - 1)} of the population standard deviation of {@code x}. This fit
       * does not normally minimize that error: to do that, you should swap the roles of {@code x} and
       * {@code y}.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

      }
    
      private static final class PaddedLock extends ReentrantLock {
        /*
         * Padding from 40 into 64 bytes, same size as cache line. Might be beneficial to add a fourth
         * long here, to minimize chance of interference between consecutive locks, but I couldn't
         * observe any benefit from that.
         */
        long unused1;
        long unused2;
        long unused3;
    
        PaddedLock() {
          super(false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

      // The suppression also covers the cast to E[], discussed below.
      // In the backport, we don't have those cases and thus don't need this suppression.
      // We keep it to minimize diffs.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
        /*
         * TODO(lowasser): consider checking for ImmutableAsList here
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

        // * The element with (index == from) should be kept.
        // * Everything with (index > from) has not been checked yet.
    
        // Check from the end of the list backwards (minimize expected cost of
        // moving elements when remove() is called). Stop before 'from' because
        // we already know that should be kept.
        for (int n = list.size() - 1; n > from; n--) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

        int initialBufferSize = min(BUFFER_SIZE, max(128, Integer.highestOneBit(totalLen) * 2));
        // Starting with an 8k buffer, double the size of each successive buffer. Smaller buffers
        // quadruple in size until they reach 8k, to minimize the number of small reads for longer
        // streams. Buffers are retained in a deque so that there's no copying between buffers while
        // reading and so all of the bytes in each new allocated buffer are available for reading from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top