Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 277 for UNUSED (0.25 seconds)

  1. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
          }
        },
        StrongInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
            Interner<E> interner = Interners.newStrongInterner();
            for (E e : contents) {
              E unused = interner.intern(e);
            }
            return interner;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        // get the first non-null value
        Collection<V> values = map.values();
        for (V value : values) {
          if (value != null) {
            try {
              int unused = value.hashCode();
            } catch (Exception e) { // sneaky checked exception
              return false;
            }
            return true;
          }
        }
        return true;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

       * the documentation for {@link #fromValid(String)}.
       */
      public static boolean isValid(String specifier) {
        try {
          HostSpecifier unused = fromValid(specifier);
          return true;
        } catch (IllegalArgumentException e) {
          return false;
        }
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

                Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) {
          for (int i = 0; i < 3; i++) {
            // doesn't throw exception
            Object unused = striped.getAt(Integer.MAX_VALUE - i);
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

                Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) {
          for (int i = 0; i < 3; i++) {
            // doesn't throw exception
            Object unused = striped.getAt(Integer.MAX_VALUE - i);
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

            ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
            builder.put(range1, 1).put(range2, 2);
            try {
              ImmutableRangeMap<Integer, Integer> unused = builder.build();
              assertFalse(expectRejection);
            } catch (IllegalArgumentException e) {
              assertTrue(expectRejection);
            }
          }
        }
      }
    
      public void testGet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top