Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for less_than (0.1 sec)

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

            .containsExactly(Range.lessThan(3), Range.greaterThan(3))
            .inOrder();
      }
    
      public void testRemoveMiddle() {
        TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.atMost(6));
        rangeSet.remove(Range.closedOpen(3, 4));
        testInvariants(rangeSet);
        assertThat(rangeSet.asRanges())
            .containsExactly(Range.lessThan(3), Range.closed(4, 6))
            .inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(Range.atLeast(Integer.MIN_VALUE), Range.<Integer>all().canonical(integers()));
      }
    
      public void testCanonical_unboundedDomain() {
        assertEquals(Range.lessThan(0), Range.lessThan(0).canonical(UNBOUNDED_DOMAIN));
        assertEquals(Range.lessThan(1), Range.atMost(0).canonical(UNBOUNDED_DOMAIN));
        assertEquals(Range.atLeast(0), Range.atLeast(0).canonical(UNBOUNDED_DOMAIN));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

     * <tr><td>{@code [a..+∞)} <td>{@code {x | x >= a}}     <td>{@link Range#atLeast atLeast}
     * <tr><td>{@code (-∞..b)} <td>{@code {x | x < b}}      <td>{@link Range#lessThan lessThan}
     * <tr><td>{@code (-∞..b]} <td>{@code {x | x <= b}}     <td>{@link Range#atMost atMost}
     * <tr><td>{@code (-∞..+∞)}<td>{@code {x}}              <td>{@link Range#all all}
     * </table>
     *
     * </blockquote>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
        Range<Integer> range = Range.lessThan(0);
        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_noMax() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
        Range<Integer> range = Range.lessThan(0);
        assertThrows(
            IllegalArgumentException.class,
            () -> ContiguousSet.create(range, UNBOUNDED_THROWING_DOMAIN));
      }
    
      public void testCreate_noMax() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(empty, Sets.subSet(set, Range.lessThan(0)));
        assertEquals(ImmutableSortedSet.of(2), Sets.subSet(set, Range.lessThan(4)));
        assertEquals(ImmutableSortedSet.of(2, 4, 6), Sets.subSet(set, Range.lessThan(7)));
        assertEquals(set, Sets.subSet(set, Range.lessThan(20)));
    
        assertEquals(empty, Sets.subSet(set, Range.atMost(0)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Range.java

     * <tr><td>{@code [a..+∞)} <td>{@code {x | x >= a}}     <td>{@link Range#atLeast atLeast}
     * <tr><td>{@code (-∞..b)} <td>{@code {x | x < b}}      <td>{@link Range#lessThan lessThan}
     * <tr><td>{@code (-∞..b]} <td>{@code {x | x <= b}}     <td>{@link Range#atMost atMost}
     * <tr><td>{@code (-∞..+∞)}<td>{@code {x}}              <td>{@link Range#all all}
     * </table>
     *
     * </blockquote>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/filter.go

    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    	type predType uint8
    	const (
    		nonePred predType = iota
    		prefixPred
    		andPred
    		tagPred
    		sizeLtPred
    		sizeGtPred
    	)
    	var predCount int
    	var pType predType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    //       metadata:
    //         - key: content-type
    //           value: image/* # match objects with 'content-type', all values starting with 'image/'
    //       size:
    //         lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
    //         greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
    //       purge:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top