Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 199 for TUnused (0.04 sec)

  1. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      public static class PublicFoo {}
    
      static class FooTest {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
    
        @SuppressWarnings("unused") // accessed reflectively
        void testNotPublic() {}
      }
    
      // Shouldn't be mistaken as Foo's test
      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

            };
    
        assertEquals(0, loadCount.get());
        assertEquals(0, reloadCount.get());
        assertEquals(0, loadAllCount.get());
    
        Object unused1 = baseLoader.load(new Object());
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object());
        Map<Object, Object> unused2 = baseLoader.loadAll(ImmutableList.of(new Object()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          for (int j = 0; j < NUM_THREADS; j++) {
            @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
            Future<?> possiblyIgnoredError = executorService.submit(addTask);
          }
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError = executorService.submit(executeTask);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
      }
    
      public void testBuildTwice() {
        ThreadFactory unused;
        unused = builder.build(); // this is allowed
        unused = builder.build(); // this is *also* allowed
      }
    
      public void testBuildMutate() {
        ThreadFactory factory1 = builder.setPriority(1).build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        checkMemoize(countingSupplier, memoizedSupplier);
        // Calls to the original memoized supplier shouldn't affect its copy.
        Object unused = memoizedSupplier.get();
        assertThat(memoizedSupplier.toString())
            .isEqualTo("Suppliers.memoize(<supplier that returned 10>)");
    
        // Should get an exception when we try to serialize.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
          double unused = Math.E + Math.PI;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.get(i));
            assertFalse(aa.compareAndSet(i, unused, x));
            assertBitEquals(prev, aa.get(i));
            assertTrue(aa.compareAndSet(i, prev, x));
            assertBitEquals(x, aa.get(i));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                long unused = ticker.read();
                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                long unused = ticker.read();
                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DosErrorTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
                String s = msgs[-1];
            });
    
            // Act & Assert: index equal to length
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
                String s = msgs[msgs.length];
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. proguard/base.pro

    # FinalizableReferenceQueue calls this reflectively
    # Proguard is intelligent enough to spot the use of reflection onto this, so we
    # only need to keep the names, and allow it to be stripped out if
    # FinalizableReferenceQueue is unused.
    -keepnames class com.google.common.base.internal.Finalizer {
      *** startFinalizer(...);
    }
    # However, it cannot "spot" that this method needs to be kept IF the class is.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top