Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 581 for maximum (0.09 sec)

  1. docs/en/docs/tutorial/cors.md

    * `expose_headers` - Indicate any response headers that should be made accessible to the browser. Defaults to `[]`.
    * `max_age` - Sets a maximum time in seconds for browsers to cache CORS responses. Defaults to `600`.
    
    The middleware responds to two particular types of HTTP request...
    
    ### CORS preflight requests { #cors-preflight-requests }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         */
        public DialectVersion getDialect() {
            return this.dialect;
        }
    
        /**
         * Set key rotation limits
         *
         * @param bytesLimit maximum bytes to encrypt before rotation (0 to disable)
         * @param timeMillis maximum time in milliseconds before rotation (0 to disable)
         */
        public void setKeyRotationLimits(long bytesLimit, long timeMillis) {
            if (bytesLimit > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[Integer.MAX_VALUE / 1000]; // Use reasonable size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. cmd/erasure-sets_test.go

    // and constructs a valid `Erasure` object
    func TestNewErasureSets(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	nDisks := 16 // Maximum disks.
    	var erasureDisks []string
    	for range nDisks {
    		// Do not attempt to create this path, the test validates
    		// so that newErasureSets initializes non existing paths
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            // Verify
            assertEquals(8, bytesDecoded);
            assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test decode with maximum index number")
        void testDecodeWithMaxIndexNumber() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = Long.MAX_VALUE;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/rpc.java

                // Default constructor
            }
    
            /**
             * The actual length of the string in bytes.
             */
            public short length;
            /**
             * The maximum allocated length of the string in bytes.
             */
            public short maximum_length;
            /**
             * The buffer containing the Unicode characters.
             */
            public short[] buffer;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            byte[] writtenData = Arrays.copyOfRange(dst, 0, largeData.length);
            assertArrayEquals(largeData, writtenData);
        }
    
        @Test
        @DisplayName("Test with maximum data size")
        void testWithMaxDataSize() {
            // Given
            byte[] maxData = new byte[0xFFFF];
            Arrays.fill(maxData, (byte) 0x55);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Should not include SMB202 or SMB210
            for (int dialect : dialects) {
                assertTrue(dialect >= 0x0300);
            }
        }
    
        @Test
        @DisplayName("Should handle null maximum version")
        void testNullMaximumVersion() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(null);
    
            // When/Then - Should throw NPE based on actual implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            return OptionalEntity.empty();
        }
    
        /**
         * Retrieves a paginated list of character mapping items.
         *
         * @param offset the starting index for pagination (0-based)
         * @param size the maximum number of items to return
         * @return a PagingList containing the requested subset of mapping items
         */
        @Override
        public synchronized PagingList<CharMappingItem> selectList(final int offset, final int size) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top