Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 222 for UNUSED (0.03 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

                .build();
    
        cache.put(key, "1");
        // simultaneous load and deletion
        doParallelCacheOp(
            count,
            n -> {
              try {
                String unused = cache.get(key, () -> key);
                cache.asMap().compute(key, (k, v) -> null);
              } catch (ExecutionException e) {
                throw new UncheckedExecutionException(e);
              }
            });
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. 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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCreation_generic() {
        List<String> a = ImmutableList.of("a");
        // only verify that there is no compile warning
        ImmutableList<List<String>> unused = ImmutableList.of(a, a);
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        List<String[]> list = ImmutableList.<String[]>of(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @CanIgnoreReturnValue
      private <T> T checkValid(T t) {
        // a ClassCastException is what's supposed to happen!
        @SuppressWarnings("unchecked")
        K k = (K) t;
        int unused = comparator().compare(k, k);
        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getKeyClassOfMap(), is(sameClass(String.class)));
            assertThat(hoge.getValueClassOfMap(), is(sameClass(Integer.class)));
        }
    
        /**
         *
         */
        @SuppressWarnings("unused")
        public static class MyBean {
            /** */
            public static final String HOGE = "hoge";
    
            private Class<?> aaa;
    
            private List<String> list;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testTransform_preventsFurtherOperations() {
        ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1"));
        ClosingFuture<String> unused =
            closingFuture.transform(
                new ClosingFunction<String, String>() {
                  @Override
                  public String apply(DeferredCloser closer, String v) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // quite expensive (quadratic in the size of PSEUDORANDOM_DATASET).
        double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
        @SuppressWarnings("unused")
        double actual = percentiles().index(33).computeInPlace(dataset);
        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesTest.java

        // quite expensive (quadratic in the size of PSEUDORANDOM_DATASET).
        double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
        @SuppressWarnings("unused")
        double actual = percentiles().index(33).computeInPlace(dataset);
        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. 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:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top