Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 102 for Ruiter (0.18 sec)

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

        ExecutorService executor = newSingleThreadExecutor();
        Future<V> waiter =
            executor.submit(
                new Callable<V>() {
                  @Override
                  public V call() throws Exception {
                    return input.get();
                  }
                });
    
        try {
          return getUninterruptibly(waiter, timeout, unit);
        } catch (ExecutionException e) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

          while ((e = recencyQueue.poll()) != null) {
            // An entry may be in the recency queue despite it being removed from
            // the map . This can occur when the entry was concurrently read while a
            // writer is removing it from the segment or after a clear has removed
            // all the segment's entries.
            if (accessQueue.contains(e)) {
              accessQueue.add(e);
            }
          }
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
      final CountDownLatch futureCancelled = new CountDownLatch(1);
      final Exception exception = new Exception();
      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
    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)
  4. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter;
    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private Runtime runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(Runtime.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter;
    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private Runtime runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(Runtime.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        assertEquals(new TreeSet<E>(), empty);
      }
    
      /*
       * TODO(cpovirk): more testing of subSet/headSet/tailSet/descendingSet? and/or generate derived
       * suites?
       */
    
      /**
       * Returns the {@link Method} instances for the test methods in this class that create a set with
       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
      public void testLines() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

     */
    public class ByteSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asCharSource : new boolean[] {false, true}) {
          suite.addTest(
              ByteSourceTester.tests(
                  "ByteSource.wrap[byte[]]",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

                  .createTestSuite());
        }
        suite.addTestSuite(ImmutableLongArrayTest.class);
        return suite;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static ImmutableLongArray makeArray(Long[] values) {
        return ImmutableLongArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

                  .createTestSuite());
        }
        suite.addTestSuite(ImmutableDoubleArrayTest.class);
        return suite;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static ImmutableDoubleArray makeArray(Double[] values) {
        return ImmutableDoubleArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top