Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 257 for maxValue (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/collect/ImmutableList.java

      // whatever warnings might come along with it. :(
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 12}.
       *
       * @throws NullPointerException if any element is null
       * @since 3.0 (source-compatible since 2.0)
       */
      @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CookieTest.kt

        }
      }
    
      @Test fun builderClampsMaxDate() {
        val cookie =
          Cookie.Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
            .expiresAt(Long.MAX_VALUE)
            .build()
        assertThat(cookie.toString()).isEqualTo("a=b; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/")
      }
    
      @Test fun builderExpiresAt() {
        val cookie =
          Cookie.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top