Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for UNUSED (0.2 seconds)

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

        Combiner unused = ClosingFuture.whenAllComplete(asList(closingFuture));
        assertDerivingThrowsIllegalStateException(closingFuture);
        assertFinalStepThrowsIllegalStateException(closingFuture);
      }
    
      public void testWhenAllSucceed_preventsFurtherOperations() {
        ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        Combiner unused = ClosingFuture.whenAllComplete(asList(closingFuture));
        assertDerivingThrowsIllegalStateException(closingFuture);
        assertFinalStepThrowsIllegalStateException(closingFuture);
      }
    
      public void testWhenAllSucceed_preventsFurtherOperations() {
        ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(subtype.isSubtypeOf(supertype));
    
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        TypeToken<?> unused = supertype.getSubtype(subtype.getRawType());
      }
    
      public void testGetSubtype_baseClassWithNoTypeArgs() {
        class SingleGenericExtendsBase<T> extends Base {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(subtype.isSubtypeOf(supertype));
    
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        TypeToken<?> unused = supertype.getSubtype(subtype.getRawType());
      }
    
      public void testGetSubtype_baseClassWithNoTypeArgs() {
        class SingleGenericExtendsBase<T> extends Base {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
     * if you are writing a application that needs to aggressively release unused resources you may do
     * so.
     *
     * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will
     * also cause future calls to the client to be rejected.
     *
     * ```java
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      "RedundantNullableReturnType",
      "UNUSED_ANONYMOUS_PARAMETER",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
      "VariableInitializerIsRedundant",
      "VariableNeverRead",
      "unused",
    )
    @Disabled
    class KotlinSourceModernTest {
      private val factory = TestValueFactory()
    
      @BeforeEach
      fun disabled() {
        assumeFalse(true)
      }
    
      @AfterEach
      fun tearDown() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

              }
            };
        Map<String, String> transformed = transformEntries(map, concat);
    
        assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed);
      }
    
      @SuppressWarnings("unused")
      public void testTransformEntriesGenerics() {
        Map<Object, Object> map1 = ImmutableMap.<Object, Object>of(1, 2);
        Map<Object, Number> map2 = ImmutableMap.<Object, Number>of(1, 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V, E, S> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<E> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
              for (E e = table.get(j); e != null; e = e.getNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Sets.java

            // this.size() < minSize(that) <= that.size()
            return false; // this.size() < that.size()
          } else { // that can only be a SetView at this point
            int thatSize = 0;
            for (Object unused : that) {
              if (++thatSize > thisSize) {
                return false;
              }
            }
            return true; // that.size() == this.size()
          }
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V, E, S> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<E> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
              for (E e = table.get(j); e != null; e = e.getNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
Back to Top