Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for Open (0.14 sec)

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

            .addEqualityGroup(Range.greaterThan(1), Range.downTo(1, OPEN))
            .addEqualityGroup(Range.atMost(7), Range.upTo(7, CLOSED))
            .addEqualityGroup(Range.lessThan(7), Range.upTo(7, OPEN))
            .addEqualityGroup(Range.open(1, 7), Range.range(1, OPEN, 7, OPEN))
            .addEqualityGroup(Range.openClosed(1, 7), Range.range(1, OPEN, 7, CLOSED))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          for (int j = i; j <= MAX_BOUND; j++) {
            for (BoundType lowerType : BoundType.values()) {
              for (BoundType upperType : BoundType.values()) {
                if (i == j & lowerType == OPEN & upperType == OPEN) {
                  continue;
                }
                builder.add(Range.range(i, lowerType, j, upperType));
              }
            }
          }
        }
        RANGES = builder.build();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        BoundType typeAsUpperBound() {
          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            range.intersect(GeneralRange.<@Nullable Integer>range(ORDERING, null, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 4, OPEN)));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSinkTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.TestOption.CLOSE_THROWS;
    import static com.google.common.io.TestOption.OPEN_THROWS;
    import static com.google.common.io.TestOption.READ_THROWS;
    import static com.google.common.io.TestOption.WRITE_THROWS;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       that we could probably work around. Or we could manually strip the test from open-source
     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/SmallCharMatcher.java

       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.open(5, 8)));
        assertFalse(rangeSet.intersects(Range.closed(3, 4)));
        assertTrue(rangeSet.intersects(Range.greaterThan(5)));
        assertFalse(rangeSet.intersects(Range.greaterThan(8)));
    
        assertTrue(rangeSet.encloses(Range.closed(1, 2)));
        assertTrue(rangeSet.encloses(Range.open(5, 8)));
        assertFalse(rangeSet.encloses(Range.closed(1, 8)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/BoundType.java

     * ("open"). If a range is unbounded on a side, it is neither open nor closed on that side; the
     * bound simply does not exist.
     *
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum BoundType {
      /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */
      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Sep 20 15:57:47 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/package-info.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /**
     * Testing utilities. This package is a part of the open-source <a
     * href="https://github.com/google/guava">Guava</a> library.
     */
    @com.google.errorprone.annotations.CheckReturnValue
    @javax.annotation.ParametersAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 873 bytes
    - Viewed (0)
Back to top