Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 305 for maxValue (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

      private inline fun <T : Any> ResponseBody.consumeSource(
        consumer: (BufferedSource) -> T,
        sizeMapper: (T) -> Int,
      ): T {
        val contentLength = contentLength()
        if (contentLength > Int.MAX_VALUE) {
          throw IOException("Cannot buffer entire body for content length: $contentLength")
        }
    
        val bytes = source().use(consumer)
        val size = sizeMapper(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        // before its keepAliveDurationNs is reached.
        var earliestOldIdleAtNs = (now - keepAliveDurationNs) + 1
        var earliestOldConnection: RealConnection? = null
        var earliestEvictableIdleAtNs = Long.MAX_VALUE
        var earliestEvictableConnection: RealConnection? = null
        var inUseConnectionCount = 0
        var evictableConnectionCount = 0
        for (connection in connections) {
          connection.withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. 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};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (byte value : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            assertTrue(str.contains("facetResponse="));
        }
    
        public void test_largeRecordCount() {
            // Test with large record count
            long largeCount = Long.MAX_VALUE;
            SearchResult result = SearchResult.create().allRecordCount(largeCount).build();
    
            assertEquals(largeCount, result.getAllRecordCount());
        }
    
        public void test_negativeQueryTime() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            return Stream.of(Arguments.of(0, true), Arguments.of(0xFFFF, true), Arguments.of(0x8000, true), Arguments.of(0, false),
                    Arguments.of(0xFFFFFFFF, false), Arguments.of(0x80000000, false), Arguments.of(Integer.MAX_VALUE, false),
                    Arguments.of(Integer.MIN_VALUE, false));
        }
    
        // Concrete implementation for testing abstract class
        private static class TestSessionServicePacket extends SessionServicePacket {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Test execute method with very large boost value
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = Float.MAX_VALUE;
    
            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      public val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
      public var bodyLimit: Long = Long.MAX_VALUE
    
      public var serverSocketFactory: ServerSocketFactory?
        @Synchronized get() = serverSocketFactory_
    
        @Synchronized set(value) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top