Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for longSize (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Smb2TreeConnectRequest longReq = new Smb2TreeConnectRequest(mockConfig, longPath);
    
            // When
            int shortSize = shortReq.size();
            int longSize = longReq.size();
    
            // Then
            // SMB2_HEADER_LENGTH + 8 + path.length() * 2 (UTF-16LE)
            int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. 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)
  3. 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