Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for Reed (0.12 sec)

  1. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for JDK 7 compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

          render: java
        validations:
          required: false
    
      - type: markdown
        attributes:
          value: >
            #### Ubiquity: provide concrete use cases
    
    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @SuppressWarnings({
        // We use this method only for cases in which we need to decompose to primitives.
        "GoodTime-ApiWithNumericTimeUnit",
        "GoodTime-DecomposeToPrimitive",
        // We use this method only from within APIs that require a Duration.
        "Java7ApiChecker",
      })
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @SuppressWarnings({
        // We use this method only for cases in which we need to decompose to primitives.
        "GoodTime-ApiWithNumericTimeUnit",
        "GoodTime-DecomposeToPrimitive",
        // We use this method only from within APIs that require a Duration.
        "Java7ApiChecker",
      })
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for any listenable future that chains other listenable futures. Unit tests need only
     * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed.
     *
     * @author Nishant Thakkar
     */
    public abstract class AbstractChainedListenableFutureTest<T> extends TestCase {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class FloatsAsListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (int insertion = 0; insertion < totalInsertions; insertion++) {
            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
          // Hasher#hash will throw an ISE.
          int intToPut = random.nextInt();
          for (Hasher hasher : sinksAndControl) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          @Override
          public long getLongLittleEndian(byte[] array, int offset) {
            long bigEndian = theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET);
            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top