Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for maxValue (0.14 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(readAscii(gunzippedIn, Int.MAX_VALUE)).isEqualTo("one (gzipped)")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        val response2 =
          getResponse(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        assertThat(readAscii(response2.body.byteStream(), Int.MAX_VALUE)).isEqualTo("two (identity)")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          checkMaximumSize(4, 8, maxSize);
          checkMaximumSize(8, 8, maxSize);
        }
    
        checkMaximumSize(1, 8, Long.MAX_VALUE);
        checkMaximumSize(2, 8, Long.MAX_VALUE);
        checkMaximumSize(4, 8, Long.MAX_VALUE);
        checkMaximumSize(8, 8, Long.MAX_VALUE);
    
        // vary initial capacity wrt maximumSize
    
        for (int capacity = 0; capacity < 8; capacity++) {
          checkMaximumSize(1, capacity, 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          checkMaximumSize(4, 8, maxSize);
          checkMaximumSize(8, 8, maxSize);
        }
    
        checkMaximumSize(1, 8, Long.MAX_VALUE);
        checkMaximumSize(2, 8, Long.MAX_VALUE);
        checkMaximumSize(4, 8, Long.MAX_VALUE);
        checkMaximumSize(8, 8, Long.MAX_VALUE);
    
        // vary initial capacity wrt maximumSize
    
        for (int capacity = 0; capacity < 8; capacity++) {
          checkMaximumSize(1, capacity, 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          super(key, hash, next);
        }
    
        // The code below is exactly the same for each access entry type.
    
        volatile long accessTime = Long.MAX_VALUE;
    
        @Override
        public long getAccessTime() {
          return accessTime;
        }
    
        @Override
        public void setAccessTime(long time) {
          this.accessTime = time;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

      ) {
        this.server = server
        this.server2 = server2
        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
        fileSystem.emulateUnix()
        cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE)
        client =
          clientTestRule.newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

          .build()
      private val callback = RecordingCallback()
      private val cache =
        Cache(
          fileSystem = LoggingFilesystem(fileSystem),
          directory = "/cache".toPath(),
          maxSize = Int.MAX_VALUE.toLong(),
        )
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
        @MockWebServerInstance("server2") server2: MockWebServer,
      ) {
        this.server = server
        this.server2 = server2
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          // write, we won't see copying because of the new threshold. So it is always OK to use the
          // calculation here.
          return (int) ceil(expectedSize / 0.75);
        }
        return Integer.MAX_VALUE; // any large value
      }
    
      /**
       * Creates a <i>mutable</i>, empty, insertion-ordered {@code LinkedHashMap} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          // write, we won't see copying because of the new threshold. So it is always OK to use the
          // calculation here.
          return (int) ceil(expectedSize / 0.75);
        }
        return Integer.MAX_VALUE; // any large value
      }
    
      /**
       * Creates a <i>mutable</i>, empty, insertion-ordered {@code LinkedHashMap} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top