Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for Franke (0.23 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

           */
          for (int i = 0; i < elements.size() - 1; i++) {
            assertEquals(elements.get(i) + 1, (int) elements.get(i + 1));
          }
          Range<Integer> range =
              elements.isEmpty() ? Range.closedOpen(0, 0) : Range.encloseAll(elements);
          return ContiguousSet.create(range, DiscreteDomain.integers());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // A surrogate pair defining a code point within the safe range.
        String safeInput = "\uD800\uDC00"; // 0x10000
        assertEquals(safeInput, surrogateEscaper.escape(safeInput));
    
        // A surrogate pair defining a code point outside the safe range (but both
        // of the surrogate characters lie within the safe range). It is important
        // not to accidentally treat this as a sequence of safe characters.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

        }
        if (range.hasLowerBound() && range.hasUpperBound()) {
          return set.subSet(
              range.lowerEndpoint(),
              range.lowerBoundType() == BoundType.CLOSED,
              range.upperEndpoint(),
              range.upperBoundType() == BoundType.CLOSED);
        } else if (range.hasLowerBound()) {
          return set.tailSet(range.lowerEndpoint(), range.lowerBoundType() == BoundType.CLOSED);
        } else if (range.hasUpperBound()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CollectCollectors.java

              ImmutableSet.Builder::add,
              ImmutableSet.Builder::combine,
              ImmutableSet.Builder::build);
    
      @GwtIncompatible
      private static final Collector<Range<Comparable<?>>, ?, ImmutableRangeSet<Comparable<?>>>
          TO_IMMUTABLE_RANGE_SET =
              Collector.of(
                  ImmutableRangeSet::builder,
                  ImmutableRangeSet.Builder::add,
                  ImmutableRangeSet.Builder::combine,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  5. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

         *     are out of range of an unsigned short
         */
        // TODO: why is this public?
        public TeredoInfo(
            @CheckForNull Inet4Address server, @CheckForNull Inet4Address client, int port, int flags) {
          checkArgument(
              (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
          checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/primitives/Floats.java

          max = Math.max(max, array[i]);
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

        // with the "Abbreviate" option, and get the ranges from there.
        private static final String RANGE_STARTS =
            "\u0000\u007f\u00ad\u0600\u061c\u06dd\u070f\u0890\u08e2\u1680\u180e\u2000\u2028\u205f\u2066"
                + "\u3000\ud800\ufeff\ufff9";
        private static final String RANGE_ENDS = // inclusive ends
            "\u0020\u00a0\u00ad\u0605\u061c\u06dd\u070f\u0891\u08e2\u1680\u180e\u200f\u202f\u2064\u206f"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *     2<sup>32</sup>
       * @since 21.0
       */
      public static int checkedCast(long value) {
        checkArgument((value >> Integer.SIZE) == 0, "out of range: %s", value);
        return (int) value;
      }
    
      /**
       * Returns the {@code int} value that, when treated as unsigned, is nearest in value to {@code
       * value}.
       *
       * @param value any {@code long} value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/StreamsTest.java

        assertThat(list).containsExactly("a:1", "b:2", "c:3");
      }
    
      public void testForEachPair_parallel() {
        Stream<String> streamA = IntStream.range(0, 100000).mapToObj(String::valueOf).parallel();
        Stream<Integer> streamB = IntStream.range(0, 100000).mapToObj(i -> i).parallel();
    
        AtomicInteger count = new AtomicInteger(0);
        Streams.forEachPair(
            streamA,
            streamB,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top