Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for longSize (0.04 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

          return sum == 0L;
        }
        return true;
      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += segment.count;
        }
        return sum;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(longSize());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      }
    
      @Test
      fun httpWithExcessiveStatusLine() {
        val longLine = "HTTP/1.1 200 " + "O".repeat(256 * 1024) + "K"
        server.protocols = listOf(Protocol.HTTP_1_1)
        server.enqueue(
          MockResponse
            .Builder()
            .status(longLine)
            .body("I'm not even supposed to be here today.")
            .build(),
        )
        executeSynchronously("/")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top