Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,185 for Final (0.19 sec)

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

      static final RuntimeException RUNTIME_EXCEPTION = new RuntimeException();
      static final OtherThrowable OTHER_THROWABLE = new OtherThrowable();
      static final Future<String> FAILED_FUTURE_OTHER_THROWABLE =
          immediateFailedFuture(OTHER_THROWABLE);
      static final Error ERROR = new Error("mymessage");
      static final Future<String> FAILED_FUTURE_ERROR = immediateFailedFuture(ERROR);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

     */
    @GwtCompatible(emulated = true)
    public final class InternetDomainNameTest extends TestCase {
      private static final InternetDomainName UNICODE_EXAMPLE =
          InternetDomainName.from("j\u00f8rpeland.no");
      private static final InternetDomainName PUNYCODE_EXAMPLE =
          InternetDomainName.from("xn--jrpeland-54a.no");
    
      /** The Greek letter delta, used in unicode testing. */
      private static final String DELTA = "\u0394";
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        }
      }
    
      private final boolean interruptible;
      private Monitor monitor;
      private final TearDownStack tearDownStack = new TearDownStack(true);
      private TestThread<Monitor> thread1;
      private TestThread<Monitor> thread2;
    
      protected MonitorTestCase(boolean interruptible) {
        this.interruptible = interruptible;
      }
    
      @Override
      protected final void setUp() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      }
    
      public void testMultipleTearDownsHappenInOrder() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
        final SimpleTearDown tearDownOne = new SimpleTearDown();
        stack.addTearDown(tearDownOne);
    
        final Callback callback =
            new Callback() {
              @Override
              public void run() {
                assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        }
      }
    
      // A version of the list that uses compare and swap to manage the stack without locks.
      private static final class ExecutionListCAS {
        static final Logger log = Logger.getLogger(ExecutionListCAS.class.getName());
    
        private static final sun.misc.Unsafe UNSAFE;
        private static final long HEAD_OFFSET;
    
        /**
         * A special instance of {@link RunnableExecutorPair} that is used as a sentinel value for the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

      //   /|\      |
      //  / | \     f
      // a  b  c
      static final Tree a = new Tree('a');
      static final Tree b = new Tree('b');
      static final Tree c = new Tree('c');
      static final Tree d = new Tree('d', a, b, c);
      static final Tree e = new Tree('e');
      static final Tree f = new Tree('f');
      static final Tree g = new Tree('g', f);
      static final Tree h = new Tree('h', d, e, g);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final MessageDigest prototype;
    
      private final int bytes;
      private final boolean supportsClone;
      private final String toString;
    
      MessageDigestHashFunction(String algorithmName, String toString) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final CountDownLatch getStartedSignal = new CountDownLatch(2);
        final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
        final CountDownLatch getFinishedSignal = new CountDownLatch(2);
        final String getKey = "get";
        final String refreshKey = "refresh";
        final String suffix = "Suffix";
    
        CacheLoader<String, String> computeFunction =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testCancel_interrupted() throws Exception {
        final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        final CountDownLatch enterLatch = new CountDownLatch(1);
        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    @ElementTypesAreNonnullByDefault
    final class DenseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final ImmutableMap<R, ImmutableMap<C, V>> rowMap;
      private final ImmutableMap<C, ImmutableMap<R, V>> columnMap;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top