Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 112 for Lange (0.18 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            return string;
          }
        };
      }
    
      @Empty
      static <C extends Comparable<?>> Range<C> generateRange() {
        return Range.all();
      }
    
      @Generates
      static <C extends Comparable<?>> Range<C> generateRange(C freshElement) {
        return Range.singleton(freshElement);
      }
    
      @Generates
      static <E> Iterable<E> generateIterable(@Nullable E freshElement) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(MapDifference.class).areEqual());
        assertTrue(ArbitraryInstances.get(SortedMapDifference.class).areEqual());
        assertEquals(Range.all(), ArbitraryInstances.get(Range.class));
        assertTrue(ArbitraryInstances.get(NavigableSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(NavigableMap.class).isEmpty());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("aaa:QUERY1")), //
                    Set.of("aaa:QUERY1"), //
                    buildQuery("aaa:QUERY1~0.5"));
        }
    
        public void test_build_range() {
            assertQueryContext(
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      public int[] toArray() {
        return Arrays.copyOfRange(array, start, end);
      }
    
      /**
       * Returns a new immutable array containing the values in the specified range.
       *
       * <p><b>Performance note:</b> The returned array has the same full memory footprint as this one
       * does (no actual copying is performed). To reduce memory usage, use {@code subArray(start,
       * end).trimmed()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      public double[] toArray() {
        return Arrays.copyOfRange(array, start, end);
      }
    
      /**
       * Returns a new immutable array containing the values in the specified range.
       *
       * <p><b>Performance note:</b> The returned array has the same full memory footprint as this one
       * does (no actual copying is performed). To reduce memory usage, use {@code subArray(start,
       * end).trimmed()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 31.1
       */
      public static HashFunction fingerprint2011() {
        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
    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)
  7. guava/src/com/google/common/collect/ImmutableList.java

       */
      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return asImmutableList(elements, elements.length);
      }
    
      /**
       * Views the array as an immutable list. Copies if the specified range does not cover the complete
       * array. Does not check for nulls.
       */
      static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) {
        switch (length) {
          case 0:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/Iterables.java

        // we already know that should be kept.
        for (int n = list.size() - 1; n > from; n--) {
          if (predicate.apply(list.get(n))) {
            list.remove(n);
          }
        }
        // And now remove everything in the range [to, from) (going backwards).
        for (int n = from - 1; n >= to; n--) {
          list.remove(n);
        }
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

       *     Remainder Operator</a>
       */
      @GwtIncompatible // TODO
      public static int mod(long x, int m) {
        // Cast is safe because the result is guaranteed in the range [0, m)
        return (int) mod(x, (long) m);
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

        }
      }
    
      private static final Range<Comparable> ALL = new Range<>(Cut.belowAll(), Cut.aboveAll());
    
      /**
       * Returns a range that contains every value of type {@code C}.
       *
       * @since 14.0
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable<?>> Range<C> all() {
        return (Range) ALL;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top