Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for Glover (0.21 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                    new ClosingCallable<TestCloseable>() {
                      @Override
                      public TestCloseable call(DeferredCloser closer) throws Exception {
                        closer.eventuallyClose(closeable1, closingExecutor);
                        closer.eventuallyClose(closeable2, closingExecutor);
                        return closeable3;
                      }
                    },
                    executor)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

        checkNotNull(sink);
    
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
          Writer writer = closer.register(sink.openStream());
          return CharStreams.copy(reader, writer);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return countBySkipping(in);
        } catch (IOException e) {
          // skip may not be supported... at any rate, try reading
        } finally {
          closer.close();
        }
    
        closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSink.java

        checkNotNull(bytes);
    
        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  6. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

        private static final String CHECK_UPPER_BOUND_INCLUSIVE = "check upper bound is inclusive";
    
        private static final String CHECK_LOWER_BOUND = "check lower bound";
    
        private static final String CHECK_LOWER_BOUND_INCLUSIVE = "check lower bound is inclusive";
    
        private static final String CHECK_VERSION_RECOMMENDATION = "check version recommended";
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ContiguousSet.java

       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLowerHole() {
        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      @Override
      @CheckForNull
      public E lower(@ParametricNullness E e) {
        return delegate().lower(e);
      }
    
      /**
       * A sensible definition of {@link #lower} in terms of the {@code descendingIterator} method of
       * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may
       * wish to override {@link #lower} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedBytes.java

            int strideLimit = minLength & ~(stride - 1);
            int i;
    
            /*
             * Compare 8 bytes at a time. Benchmarking on x86 shows a stride of 8 bytes is no slower
             * than 4 bytes even on 32-bit. On the other hand, it is substantially faster on 64-bit.
             */
            for (i = 0; i < strideLimit; i += stride) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
Back to top