Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 265 for UNUSED (0.04 seconds)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        }
        return sub;
      }
    
      /**
       * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not
       * hold.
       */
      final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

                    for (Integer node : graph.nodes()) {
                      Set<Integer> unused = graph.successors(node);
                    }
                    /*
                     * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
                     * we read one of the fields declared in that class.
                     */
                    Set<Integer> unused = graph.successors(first);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testCombineOrdered_differentBitLengths() {
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              HashCode unused =
                  Hashing.combineOrdered(
                      ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L)));
            });
      }
    
      public void testCombineOrdered() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  4. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              protected Integer computeNext() {
                boolean unused = hasNext();
                throw new AssertionError();
              }
            };
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              protected Integer computeNext() {
                boolean unused = hasNext();
                throw new AssertionError();
              }
            };
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          super(message);
        }
    
        public @Nullable Throwable getAntecedent() {
          return antecedent;
        }
      }
    
      @SuppressWarnings("unused") // we're testing that they're not used
      public static final class ExceptionWithSomePrivateConstructors extends Exception {
        private ExceptionWithSomePrivateConstructors(String a) {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.<String>builder().addAll(SOMEWHERE_UNDER_PS).addAll(PS_NOT_RS).build();
    
      public void testValid() {
        for (String name : VALID_NAME) {
          InternetDomainName unused = InternetDomainName.from(name);
        }
      }
    
      public void testInvalid() {
        for (String name : INVALID_NAME) {
          assertThrows(IllegalArgumentException.class, () -> InternetDomainName.from(name));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        }
        return sub;
      }
    
      /**
       * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not
       * hold.
       */
      final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/Striped.java

    @GwtIncompatible
    public abstract class Striped<L> {
      /**
       * If there are at least this many stripes, we assume the memory usage of a ConcurrentMap will be
       * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As
       * always, if many stripes are in use, a non-lazy striped makes more sense.)
       */
      private static final int LARGE_LAZY_CUTOFF = 1024;
    
      private Striped() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        /**
         * Constructor for the TOMBSTONE, avoids use of ATOMIC_HELPER in case this class is loaded
         * before the ATOMIC_HELPER. Apparently this is possible on some android platforms.
         */
        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waitersField field
          putThread(this, Thread.currentThread());
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
Back to Top