Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for ascending (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        // Test 32 byte arrays of ascending.
        byte[] ascending = new byte[32];
        for (int i = 0; i < 32; i++) {
          ascending[i] = (byte) i;
        }
        assertCrc(0x46dd794e, ascending);
      }
    
      public void testDescending() {
        // Test 32 byte arrays of descending.
        byte[] descending = new byte[32];
        for (int i = 0; i < 32; i++) {
          descending[i] = (byte) (31 - i);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

      /**
       * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it,
       * relative to the natural ordering of the elements, and returns them via {@link #topK} in
       * ascending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryCommand.java

            return ComponentUtil.getQueryProcessor();
        }
    
        /**
         * Creates a sort builder for the specified field and order.
         * @param field The field name to sort by.
         * @param order The sort order (ascending or descending).
         * @return The appropriate sort builder for the field.
         */
        protected SortBuilder<?> createFieldSortBuilder(final String field, final SortOrder order) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

      abstract int indexFor(Object key);
    
      /** Returns the total number of stripes in this instance. */
      public abstract int size();
    
      /**
       * Returns the stripes that correspond to the passed objects, in ascending (as per {@link
       * #getAt(int)}) order. Thus, threads that use the stripes in the order returned by this method
       * are guaranteed to not deadlock each other.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

         * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect
         * e.g. hash codes adversarially designed to go into ascending table locations, which keeps
         * construction O(n) (as desired) but then can have O(n) queries later.
         *
         * <p>If this returns false, then no query can take more than O(log n).
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

        // Plug the following UnicodeSet pattern into
        // https://unicode.org/cldr/utility/list-unicodeset.jsp
        // [[:Nd:]&[:nv=0:]&[\u0000-\uFFFF]]
        // and get the zeroes from there.
    
        // Must be in ascending order.
        private static final String ZEROES =
            "0\u0660\u06f0\u07c0\u0966\u09e6\u0a66\u0ae6\u0b66\u0be6\u0c66\u0ce6\u0d66\u0de6"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.DESCENDING);
        features.addAll(parentBuilder.getFeatures());
    
        return subSuiteUsing(new DescendingTestMapGenerator<K, V>(delegate))
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<Void> {
        SUBMULTISET,
        DESCENDING;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      /** Two bounds (from and to) define how to build a subMultiset. */
      enum Bound {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      // TODO(b/418181860): This method creates retain cycles in J2ObjC. In order to break the cycle,
      // there needs to be separate classes for primary and descending multiset, where the primary one
      // would hold {@code @LazyInit @RetainedWith @Nullable} reference to its descending multiset, and
      // the other {@code final} reference.
      @Override
      public SortedMultiset<E> descendingMultiset() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A skeleton implementation of a descending multiset. Only needs {@code forwardMultiset()} and
     * {@code entryIterator()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class DescendingMultiset<E extends @Nullable Object> extends ForwardingMultiset<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top