Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 265 for UNUSED (0.05 seconds)

  1. 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)
  2. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

         * https://github.com/jspecify/checker-framework/issues/8.)
         */
        return removedValue == null ? null : (V) removedValue;
      }
    
      @Override
      public void addPredecessor(N node, V unused) {
        Object previousValue = adjacentNodeValues.put(node, PRED);
        boolean addedPredecessor;
    
        if (previousValue == null) {
          addedPredecessor = true;
        } else if (previousValue instanceof PredAndSucc) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. 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)
  4. guava/src/com/google/common/collect/ImmutableMapValues.java

       * relying on this, as we have made incompatible changes to serialized forms in the past and
       * expect to do so again, as discussed in https://github.com/google/guava#important-warnings.
       */
      @SuppressWarnings("unused")
      private static final class SerializedForm<V> implements Serializable {
        final ImmutableMap<?, V> map;
    
        SerializedForm(ImmutableMap<?, V> map) {
          this.map = map;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. 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)
  6. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        this.bytes = bytes;
        this.supportsClone = supportsClone(prototype);
      }
    
      private static boolean supportsClone(MessageDigest digest) {
        try {
          Object unused = digest.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      @Override
      public int bits() {
        return bytes * Byte.SIZE;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            }
        }
    
        /**
         * Convert RDMA access flags to DiSNI flags
         *
         * @param access RDMA access flags
         * @return DiSNI access flags
         */
        @SuppressWarnings("unused")
        private int convertAccessFlags(EnumSet<RdmaAccess> access) {
            int flags = 0;
    
            // In real implementation, this would convert to DiSNI constants:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

          return super.writeReplace();
        }
    
        // No longer used for new writes, but kept so that old data can still be read.
        @GwtIncompatible
        @J2ktIncompatible
        @SuppressWarnings("unused")
        private static final class SerializedForm<K> implements Serializable {
          final ImmutableMap<K, ?> map;
    
          SerializedForm(ImmutableMap<K, ?> map) {
            this.map = map;
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

                                dependenciesToModify.addToMap(filePath, extractDependencies(index))
                            }
    
                            line.contains("Unused dependencies which should be removed:") -> {
                                dependenciesToRemove.addToMap(filePath, extractDependencies(index))
                            }
                        }
                    }
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  10. android/guava-tests/test/com/google/common/base/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
    - 5.7K bytes
    - Click Count (0)
Back to Top