Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for leash (2.17 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        List<int[]> ordered =
            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
                new int[] {(int) 1L, LEAST},
                new int[] {GREATEST, (GREATEST - (int) 1L)},
                new int[] {GREATEST, GREATEST},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        List<short[]> ordered =
            Arrays.asList(
                new short[] {},
                new short[] {LEAST},
                new short[] {LEAST, LEAST},
                new short[] {LEAST, (short) 1},
                new short[] {(short) 1},
                new short[] {(short) 1, LEAST},
                new short[] {GREATEST, GREATEST - (short) 1},
                new short[] {GREATEST, GREATEST},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
                new float[] {LEAST, LEAST},
                new float[] {LEAST, (float) 1},
                new float[] {(float) 1},
                new float[] {(float) 1, LEAST},
                new float[] {GREATEST, Float.MAX_VALUE},
                new float[] {GREATEST, GREATEST},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Comparators.java

      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> least(
          int k, Comparator<? super T> comparator) {
        checkNonnegative(k, "k");
        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
       * @return the least value greater than {@code value}, or {@code null} if {@code value} is {@code
       *     maxValue()}
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicate.java

     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

      }
    
      private <T> TypeToken<Iterable<T>> anyIterableType() {
        return new TypeToken<Iterable<T>>() {};
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestTypeToInstanceMapGenerator
          implements TestMapGenerator<TypeToken, Object> {
    
        @Override
        public TypeToken<?>[] createKeyArray(int length) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava/pom.xml

                <!-- Even after we stop using JSR305 annotations in our own code, we'll want this link so that NullPointerTester's docs can link to @CheckForNull and friends... at least once we start using this config for guava-testlib. -->
                <offlineLink>
                  <url>https://static.javadoc.io/com.google.code.findbugs/jsr305/3.0.1/</url>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *     have the same bit length
       */
      public static HashCode combineOrdered(Iterable<HashCode> hashCodes) {
        Iterator<HashCode> iterator = hashCodes.iterator();
        checkArgument(iterator.hasNext(), "Must be at least 1 hash code to combine.");
        int bits = iterator.next().bits();
        byte[] resultBytes = new byte[bits / 8];
        for (HashCode hashCode : hashCodes) {
          byte[] nextBytes = hashCode.asBytes();
          checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Suppliers.java

        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
          long now = System.nanoTime();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top