Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for rejecting (0.05 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
      /**
       * Returns an immutable set containing the given element. Preferred over {@link
       * Collections#singleton} for code consistency, {@code null} rejection, and because the return
       * type conveys the immutability guarantee.
       */
      public static <E> ImmutableSet<E> of(E e1) {
        return new SingletonImmutableSet<>(e1);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * // counters.
       * ListenableFuture<Integer> faultTolerantFuture =
       *     fetchCounters().catching(FetchException.class, x -> 0, directExecutor());
       * }
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link #addListener} documentation. All its warnings about heavyweight
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
       * }
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the warnings the {@link MoreExecutors#directExecutor} documentation.
       *
       * @param input the primary input {@code Future}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      protected Table<String, Integer, C> table;
    
      /**
       * Creates a table with the specified data.
       *
       * @param data the table data, repeating the sequence row key, column key, value once per mapping
       * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3
       * @throws ClassCastException if a data element has the wrong type
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1))
            .testEquals();
      }
    
      /**
       * The maximum allowed probability of falsely detecting a hash flooding attack if the input is
       * randomly generated.
       */
      private static final double HASH_FLOODING_FPP = 0.001;
    
      public void testReuseBuilderReducingHashTableSizeWithPowerOfTwoTotalElements() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableMap.java

       * saving space.
       */
      @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.2;
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting static final double HASH_FLOODING_FPP = 0.001;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          }
        }
    
        /**
         * Returns true if (current * radix) + digit is a number too large to be represented by an
         * unsigned long. This is useful for detecting overflow while parsing a string representation of
         * a number. Does not verify whether supplied radix is valid, passing an invalid radix will give
         * undefined results or an ArrayIndexOutOfBoundsException.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals("test\\4", list.get(0).getInput());
            assertEquals("test5", list.get(1).getInput());
        }
    
        public void test_selectList_withUnloadedData() {
            // Test selecting list when data is not loaded yet
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 3);
            assertEquals(3, list.size());
            assertEquals("test1", list.get(0).getInput());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

     * but given that any public suffix may become a host without warning, it is better to err on the
     * side of permissiveness and thus avoid spurious rejection of valid sites. Of course, to actually
     * determine addressability of any host, clients of this class will need to perform their own DNS
     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       * into cache. This can be useful in testing, or to disable caching temporarily.
       *
       * <p>Note that weight is only used to determine whether the cache is over capacity; it has no
       * effect on selecting which entry should be evicted next.
       *
       * <p>This feature cannot be used in conjunction with {@link #maximumSize}.
       *
       * @param maximumWeight the maximum total weight of entries the cache may contain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top