Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 192 for Stuart (0.16 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                public void uncaughtException(Thread t, Throwable e) {
                  exceptions.add(e);
                }
              });
          threads.add(thread);
        }
        for (Thread t : threads) {
          t.start();
        }
        for (Thread t : threads) {
          Uninterruptibles.joinUninterruptibly(t);
        }
        return exceptions;
      }
    
      private static int getNonGoldenRandomKey() {
        int key;
        do {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      }
    
      /** Returns a new started daemon Thread running the given runnable. */
      Thread newStartedThread(Runnable runnable) {
        Thread t = new Thread(runnable);
        t.setDaemon(true);
        t.start();
        return t;
      }
    
      /**
       * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

            return Iterators.forArray(1, 2, 3);
          }
        }.test();
      }
    
      /*
       * TODO(cpovirk): Test forArray with ListIteratorTester (not just IteratorTester), including with
       * a start position other than 0.
       */
    
      public void testForEnumerationEmpty() {
        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertSame(stopwatch, stopwatch.start());
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStart_whileRunning() {
        stopwatch.start();
        try {
          stopwatch.start();
          fail();
        } catch (IllegalStateException expected) {
        }
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0);
      }
    
      public void testCompareTrueFirst() {
        assertThat(ComparisonChain.start().compareTrueFirst(true, true).result()).isEqualTo(0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Stopwatch.java

      private long elapsedNanos;
      private long startTick;
    
      /**
       * Creates (but does not start) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createUnstarted() {
        return new Stopwatch();
      }
    
      /**
       * Creates (but does not start) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotClosed();
        target.append(charSeq);
        return this;
      }
    
      @Override
      public Writer append(@CheckForNull CharSequence charSeq, int start, int end) throws IOException {
        checkNotClosed();
        target.append(charSeq, start, end);
        return this;
      }
    
      private void checkNotClosed() throws IOException {
        if (closed) {
          throw new IOException("Cannot write to a closed writer.");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final String key = "bar";
    
        // start computing thread
        new Thread() {
          @Override
          public void run() {
            result.set(0, cache.getUnchecked(key));
            doneSignal.countDown();
          }
        }.start();
    
        // wait for computation to start
        secondSignal.await();
    
        // start waiting thread
        new Thread() {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/JdkPattern.java

          return matcher.replaceAll(replacement);
        }
    
        @Override
        public int end() {
          return matcher.end();
        }
    
        @Override
        public int start() {
          return matcher.start();
        }
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/AppendableWriterTest.java

        }
    
        @Override
        public Appendable append(char c) {
          result.append(c);
          return this;
        }
    
        @Override
        public Appendable append(CharSequence csq, int start, int end) {
          result.append(csq, start, end);
          return this;
        }
    
        @Override
        public void flush() {
          flushed = true;
        }
    
        @Override
        public void close() {
          closed = true;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top