Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 642 for maximum (0.05 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

        // Configuration constants
        private static final int MIN_COMPRESSION_SIZE = 512; // 512 bytes minimum
        private static final int MAX_COMPRESSION_SIZE = 1024 * 1024; // 1MB maximum
        private static final int COMPRESSION_LEVEL = Deflater.DEFAULT_COMPRESSION;
    
        // Supported algorithms
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. internal/logger/logrotate.go

    type Options struct {
    	// Directory defines the directory where log files will be written to.
    	// If the directory does not exist, it will be created.
    	Directory string
    
    	// MaximumFileSize defines the maximum size of each log file in bytes.
    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    	// FileNameFunc must ensure collisions in filenames do not occur.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(count, response.getCount());
                assertEquals(remaining, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should handle maximum integer values")
            void testMaximumValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(Integer.MAX_VALUE, Integer.MAX_VALUE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            int command = commandField.getInt(request);
    
            // Then
            assertEquals(0x000F, command); // SMB2_CHANGE_NOTIFY
        }
    
        @Test
        @DisplayName("Should handle maximum buffer size")
        void testMaximumBufferSize() {
            // Given
            Configuration config = mock(Configuration.class);
            when(config.getNotifyBufferSize()).thenReturn(Integer.MAX_VALUE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        void testEdgeCaseStructureSizes() {
            // Test minimum invalid size (0)
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(0, buffer, 0);
    
            SMBProtocolDecodingException ex1 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Structure size != 4", ex1.getMessage());
    
            // Test maximum 2-byte value (65535)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. doc/godebug.md

    see the [runtime documentation](/pkg/runtime#hdr-Environment_Variables)
    and the [go command documentation](/cmd/go#hdr-Build_and_test_caching).
    
    ### Go 1.26
    
    Go 1.26 added a new `httpcookiemaxnum` setting that controls the maximum number
    of cookies that net/http will accept when parsing HTTP headers. If the number of
    cookie in a header exceeds the number set in `httpcookiemaxnum`, cookie parsing
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Dec 03 00:18:09 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

        }
    
        /**
         * Get minimum response time
         *
         * @return minimum response time in milliseconds
         */
        public long getMinResponseTime() {
            long min = minResponseTime.get();
            return min == Long.MAX_VALUE ? 0 : min;
        }
    
        /**
         * Get maximum response time
         *
         * @return maximum response time in milliseconds
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top