- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 656 for minimum (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
private val ONLY_HTTP1 = listOf(Protocol.HTTP_1_1) /** * The maximum number of bytes to enqueue. Rather than enqueueing beyond this limit we tear down * the web socket! It's possible that we're writing faster than the peer can read. */ private const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16 MiB. /** * The maximum amount of time after the client calls [close] to wait for a graceful shutdown. If
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
} @Test @DisplayName("Test readDataWireFormat with maximum length server name") void testReadDataWireFormatMaxLengthServerName() throws Exception { setConverter(response, 0); setNumEntries(response, 1); // Create a 15-character server name (maximum for NetBIOS name) String serverName = "SERVERNAME12345"; // 15 characters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
// Set buffer offset SMBUtil.writeInt2(20, buffer, bufferIndex + 2); // Set buffer length (minimal SecurityDescriptor) SMBUtil.writeInt4(20, buffer, bufferIndex + 4); response = spy(response); when(response.getHeaderStart()).thenReturn(0); // Write minimal SecurityDescriptor header (20 bytes) buffer[20] = 1; // Revision buffer[21] = 0; // Sbz1
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(0, response.getEndOfFile()); assertEquals(0, response.getFileAttributes()); } @Test @DisplayName("Should handle maximum values correctly") void testReadBytesWireFormatWithMaxValues() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
fun setClient(client: Boolean) { if (this.client == client) return this.client = client writer = Http2Writer(bytesOut, client) } fun acceptFrame() { frameCount++ } /** Maximum length of an outbound data frame. */ fun maxOutboundDataLength(): Int = writer.maxDataLength() /** Count of frames sent or received. */ fun frameCount(): Int = frameCount fun sendFrame(): Http2Writer {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Create a buffer with only standard lease data (no directory-specific data) byte[] buffer = new byte[56]; // Header + name + padding + standard lease data only // Write minimal header SMBUtil.writeInt4(0, buffer, 0); // Next SMBUtil.writeInt2(16, buffer, 4); // NameOffset SMBUtil.writeInt2(4, buffer, 6); // NameLength SMBUtil.writeInt2(0, buffer, 8); // Reserved
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
return File.createTempFile( /* prefix= */ prefix, /* suffix= */ null, /* directory= */ null /* defaults to java.io.tmpdir */); } /** Maximum loop count when creating temp directories. */ private static final int TEMP_DIR_ATTEMPTS = 10000; } private static final class ThrowingCreator extends TempFileCreator { private static final String MESSAGE =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
} } return Collections.unmodifiableSet(result); } /** * Configure resource manager * * @param maxAge maximum resource age in milliseconds * @param cleanupInterval cleanup interval in milliseconds * @param enableLeakDetection enable leak detection * @param enableAutoCleanup enable auto cleanup */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Assert assertEquals(0, bytesWritten); // Should return 0 as buffer is insufficient } @Test @DisplayName("Test with maximum offset boundary") void testMaxOffsetBoundary() { // Arrange byte[] largeData = new byte[1000]; for (int i = 0; i < largeData.length; i++) { largeData[i] = (byte) (i % 256);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
@DisplayName("Mockito presence: no collaborator interactions to verify") void noDependenciesToMock() { // This class has no external collaborators; nothing to verify. // Keep Mockito import usage minimal to satisfy build-time linkage. Runnable r = mock(Runnable.class); r.run(); verify(r, times(1)).run(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)