Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 354 for closed (0.07 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
     *     ClosingFuture.submit(
     *             closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor),
     *             executor)
     *         .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor)
     *         .transform((closer, result) -> result.get("userName"), directExecutor())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

        assertEquals(
            GeneralRange.range(ORDERING, 3, CLOSED, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 3, CLOSED, 4, CLOSED)));
      }
    
      public void testIntersectOverlappingRange() {
        GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED);
        assertEquals(
            GeneralRange.range(ORDERING, 3, CLOSED, 4, CLOSED),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5)));
        assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5)));
        assertTrue(Range.open(3, 5).isConnected(Range.closed(5, 6)));
        assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8)));
        assertTrue(Range.open(3, 7).isConnected(Range.closed(5, 6)));
        assertFalse(Range.closed(3, 5).isConnected(Range.closed(7, 8)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

        assertEquals(
            GeneralRange.range(ORDERING, 3, CLOSED, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 3, CLOSED, 4, CLOSED)));
      }
    
      public void testIntersectOverlappingRange() {
        GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED);
        assertEquals(
            GeneralRange.range(ORDERING, 3, CLOSED, 4, CLOSED),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(Range.closed(1, 3), ContiguousSet.create(Range.closed(1, 3), integers()).range());
        assertEquals(Range.closed(1, 3), ContiguousSet.closed(1, 3).range());
        assertEquals(
            Range.closed(1, 3), ContiguousSet.create(Range.closedOpen(1, 4), integers()).range());
        assertEquals(Range.closed(1, 3), ContiguousSet.closedOpen(1, 4).range());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. internal/s3select/progress.go

    }
    
    func (pr *progressReader) Close() error {
    	pr.closedMu.Lock()
    	defer pr.closedMu.Unlock()
    	if pr.closed {
    		return nil
    	}
    	pr.closed = true
    	if pr.closer != nil {
    		pr.closer.Close()
    	}
    	return pr.rc.Close()
    }
    
    func (pr *progressReader) Stats() (bytesScanned, bytesProcessed int64) {
    	if pr == nil {
    		return 0, 0
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertEquals(
            ImmutableMap.of(Range.closedOpen(5, 7), 1, Range.closed(9, 10), 2), sub.asMapOfRanges());
        sub.putCoalescing(Range.closed(7, 9), 2);
        assertEquals(
            ImmutableMap.of(Range.closedOpen(5, 7), 1, Range.closed(7, 10), 2), sub.asMapOfRanges());
        assertEquals(
            ImmutableMap.of(Range.open(3, 7), 1, Range.closed(7, 10), 2, Range.closed(12, 16), 3),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(Range.closed(1, 3), ContiguousSet.create(Range.closed(1, 3), integers()).range());
        assertEquals(Range.closed(1, 3), ContiguousSet.closed(1, 3).range());
        assertEquals(
            Range.closed(1, 3), ContiguousSet.create(Range.closedOpen(1, 4), integers()).range());
        assertEquals(Range.closed(1, 3), ContiguousSet.closedOpen(1, 4).range());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top