Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 735 for Ranges (0.47 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              RangeMap<Integer, Integer> rangemap =
                  ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build();
              assertEquals(range1.span(range2), rangemap.span());
            }
          }
        }
      }
    
      public void testGetEntry() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          for (Range<Integer> range2 : QUERY_RANGES) {
            TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
            rangeSet.add(range1);
            rangeSet.add(range2);
            testViewAgainstExpected(expectedComplement(rangeSet), rangeSet.complement());
          }
        }
      }
    
    
      public void testSubRangeSetOfComplement() {
        for (Range<Integer> range1 : QUERY_RANGES) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * b0b1s7 is the section prefix. If a section is omitted, that means its ranges data exactly matches
     * that of the preceding section.
     *
     * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned.
     *
     * Mappings Data (4,719 bytes)
     * ===========================
     *
     * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset.
     *
     * Mappings may overlap.
     *
     * ASCII-Only
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

                    ranges.add(new RangeValue(token.replace("]", ""), true));
                } else if (token.endsWith(")")) {
                    ranges.add(new RangeValue(token.replace(")", ""), false));
                } else if (token.isEmpty()) {
                    ranges.add(new RangeValue("", false));
                }
            }
            if (ranges.size() < 2) {
                ranges.add(new RangeValue("99999999", false));
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

       * also be called their <i>union</i>. If they are not, note that the span might contain values
       * that are not contained in either input range.
       *
       * <p>Like {@link #intersection(Range) intersection}, this operation is commutative, associative
       * and idempotent. Unlike it, it is always well-defined for any two input ranges.
       */
      public Range<C> span(Range<C> other) {
    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)
  6. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          for (Range<Integer> range2 : RANGES) {
            for (Range<Integer> range3 : RANGES) {
              Map<Integer, Integer> model = Maps.newHashMap();
              putModel(model, range1, 1);
              putModel(model, range2, 2);
              putModel(model, range3, 3);
              RangeMap<Integer, Integer> test = TreeRangeMap.create();
              RangeMap<Integer, Integer> test2 = TreeRangeMap.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns the range containing this key and its associated value, if such a range is present in
       * the range map, or {@code null} otherwise.
       */
      @CheckForNull
      Entry<Range<K>, V> getEntry(K key);
    
      /**
       * Returns the minimal range {@linkplain Range#encloses(Range) enclosing} the ranges in this
       * {@code RangeMap}.
       *
       * @throws NoSuchElementException if this range map is empty
       */
      Range<K> span();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          for (Range<Integer> range2 : ranges) {
            if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) {
              ImmutableRangeSet<Integer> rangeSet =
                  ImmutableRangeSet.<Integer>builder().add(range1).add(range2).build();
              for (Range<Integer> subRange : subRanges) {
                RangeSet<Integer> expected = TreeRangeSet.create();
                for (Range<Integer> range : rangeSet.asRanges()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractRangeSet.java

      }
    
      @Override
      public void addAll(Iterable<Range<C>> ranges) {
        for (Range<C> range : ranges) {
          add(range);
        }
      }
    
      @Override
      public void removeAll(RangeSet<C> other) {
        removeAll(other.asRanges());
      }
    
      @Override
      public void removeAll(Iterable<Range<C>> ranges) {
        for (Range<C> range : ranges) {
          remove(range);
        }
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
        for (dataString in listOf<String>(compactTable.sections, compactTable.ranges)) {
          for (codePoint in dataString.codePoints()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top