Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 271 for has_value (0.1 sec)

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

        Set<List<Integer>> degenerate = cartesianProduct();
        checkHashCode(degenerate);
    
        checkHashCode(cartesianProduct(set(1, 2)));
    
        int num = Integer.MAX_VALUE / 3 * 2; // tickle overflow-related problems
        checkHashCode(cartesianProduct(set(1, 2, num)));
    
        Set<Integer> mt = emptySet();
        checkHashCode(cartesianProduct(mt, mt));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
      var bodyLimit: Long = Long.MAX_VALUE
    
      var serverSocketFactory: ServerSocketFactory? = null
        @Synchronized get() {
          if (field == null && started) {
            field = ServerSocketFactory.getDefault() // Build the default value lazily.
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(1)
                .maximumWeight(1L << 31)
                .weigher(constantWeigher(Integer.MAX_VALUE))
                .removalListener(removalListener)
                .build(loader);
        cache.getUnchecked(objectWithHash(0));
        cache.getUnchecked(objectWithHash(0));
        CacheTesting.processPendingNotifications(cache);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      private static final byte[] ARRAY1 = {(byte) 1};
      private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4};
    
      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      public void testHashCode() {
        for (byte value : VALUES) {
          assertThat(Bytes.hashCode(value)).isEqualTo(((Byte) value).hashCode());
        }
      }
    
      public void testContains() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

        private static final String FILE_TRANSPORTER_PRIORITY_KEY = "aether.priority.FileTransporterFactory";
    
        private static final String RESOLVER_MAX_PRIORITY = String.valueOf(Float.MAX_VALUE);
    
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final RepositorySystem repoSystem;
    
        private final SettingsDecrypter settingsDecrypter;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        assertEquals(INITIAL_COUNT + COUNT_TO_ADD, initial.get());
      }
    
      public void testAdd_laterFewWithOverflow() {
        final int INITIAL_COUNT = 92384930;
        final int COUNT_TO_ADD = Integer.MAX_VALUE - INITIAL_COUNT + 1;
    
        when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT));
    
        assertThrows(IllegalArgumentException.class, () -> multiset.add(KEY, COUNT_TO_ADD));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.assertInvariants(Hashing.goodFastHash(256));
      }
    
      public void testConsistentHash_correctness() {
        long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE};
        for (long h : interestingValues) {
          checkConsistentHashCorrectness(h);
        }
        Random r = new Random(7);
        for (int i = 0; i < 20; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        private static final Logger logger = LogManager.getLogger(WebFsIndexHelper.class);
    
        private static final String DISABLE_URL_ENCODE = "#DISABLE_URL_ENCODE";
    
        protected long maxAccessCount = Long.MAX_VALUE;
    
        protected long crawlingExecutionInterval = Constants.DEFAULT_CRAWLING_EXECUTION_INTERVAL;
    
        protected int indexUpdaterPriority = Thread.MAX_PRIORITY;
    
        protected int crawlerPriority = Thread.NORM_PRIORITY;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      public static void awaitTerminationUninterruptibly(ExecutorService executor) {
        // TODO(cpovirk): We could optimize this to avoid calling nanoTime() at all.
        verify(awaitTerminationUninterruptibly(executor, Long.MAX_VALUE, NANOSECONDS));
      }
    
      /**
       * Invokes {@code executor.}{@link ExecutorService#awaitTermination(long, TimeUnit)
       * awaitTermination(long, TimeUnit)} uninterruptibly.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

       * @return the Cartesian product, as an immutable list containing immutable lists
       * @throws IllegalArgumentException if the size of the cartesian product would be greater than
       *     {@link Integer#MAX_VALUE}
       * @throws NullPointerException if {@code lists}, any one of the {@code lists}, or any element of
       *     a provided list is null
       * @since 19.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top