Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for unused (0.64 sec)

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

      private static class VisibilityMethods {
    
        @SuppressWarnings("unused") // Called by reflection
        private void privateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        void packagePrivateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        protected void protectedMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        public void publicMethod() {}
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        // ignored by testEquals()
        GoodEquals(@SuppressWarnings("unused") NotInstantiable x) {
          this.a = "x";
          this.b = -1;
        }
    
        // will keep trying
        public GoodEquals(@SuppressWarnings("unused") NotInstantiable x, int b) {
          this.a = "x";
          this.b = b;
        }
    
        // keep trying
        @SuppressWarnings("unused")
        static GoodEquals create(int a, int b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * How this works is best explained with an example:
       *
       * For a RateLimiter that produces 1 token per second, every second that goes by with the
       * RateLimiter being unused, we increase storedPermits by 1. Say we leave the RateLimiter unused
       * for 10 seconds (i.e., we expected a request at time X, but we are at time X + 10 seconds before
       * a request actually arrives; this is also related to the point made in the last paragraph), thus
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/QueuesTest.java

          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 20));
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError1 = threadPool.submit(new Producer(q, 20));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      public void testCallableStartsAfterFirstFutureCompletes() {
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor());
        TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null));
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      }
    
      private abstract class WithGenericBound<A> {
    
        @SuppressWarnings("unused")
        public <B extends A> void withTypeVariable(List<B> list) {}
    
        @SuppressWarnings("unused")
        public <E extends Enum<E>> void withRecursiveBound(List<E> list) {}
    
        @SuppressWarnings("unused")
        public <K extends List<V>, V extends List<K>> void withMutualRecursiveBound(
            List<Map<K, V>> list) {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      }
    
      private abstract class WithGenericBound<A> {
    
        @SuppressWarnings("unused")
        public <B extends A> void withTypeVariable(List<B> list) {}
    
        @SuppressWarnings("unused")
        public <E extends Enum<E>> void withRecursiveBound(List<E> list) {}
    
        @SuppressWarnings("unused")
        public <K extends List<V>, V extends List<K>> void withMutualRecursiveBound(
            List<Map<K, V>> list) {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
      }
    
      public void testNonFinalMethodInFinalClass_isOverridable() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
      }
    
      public void testNonFinalMethodInFinalClass_isOverridable() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithWildcardType {
    
        @SuppressWarnings("unused")
        void withoutBound(List<?> list) {}
    
        @SuppressWarnings("unused")
        void withObjectBound(List<? extends Object> list) {}
    
        @SuppressWarnings("unused")
        void withUpperBound(List<? extends int[][]> list) {}
    
        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top