Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 122 for boundary (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertEquals("instance1", transformer1.getName());
            assertEquals("changed2", transformer2.getName());
            assertEquals("instance3", transformer3.getName());
        }
    
        /**
         * Test name boundary cases
         */
        public void test_name_boundaryCases() {
            // Single character
            testTransformer.setName("a");
            assertEquals("a", testTransformer.getName());
    
            // Single space
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Assert
            assertEquals(1500, response.getAvailable());
            assertEquals(TransPeekNamedPipeResponse.STATUS_DISCONNECTED, response.getStatus());
        }
    
        @Test
        @DisplayName("Test boundary conditions for available value")
        void testBoundaryAvailableValues() {
            // Test minimum value (0)
            byte[] buffer = new byte[10];
            SMBUtil.writeInt2(0, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            documentList.add(doc2);
    
            QueryResponseList qrList = new QueryResponseList(documentList, 0, 10, 0);
    
            // Test boundary indexes
            assertEquals(doc1, qrList.get(0));
            assertEquals(doc2, qrList.get(1));
    
            // Test subList with boundary indexes
            List<Map<String, Object>> subList = qrList.subList(0, 2);
            assertEquals(2, subList.size());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            void testGetReferrals() {
                assertNotNull(buffer.getReferrals());
                assertEquals(3, buffer.getReferrals().length);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum values")
            void testMaximumValues() {
                byte[] testBuffer = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertTrue(sizeInfo instanceof AllocInfo);
                assertTrue(fullSizeInfo instanceof AllocInfo);
            }
        }
    
        @Nested
        @DisplayName("Performance and Boundary Tests")
        class PerformanceTests {
    
            @Test
            @DisplayName("Should handle maximum values without overflow")
            void testMaximumValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            assertTrue(cancelRequest instanceof SmbComNtCancel);
            assertEquals(maxMid, cancelRequest.getMid());
        }
    
        @Test
        @DisplayName("Test writeParameterWordsWireFormat boundary conditions")
        void testWriteParameterWordsWireFormatBoundaryConditions() {
            byte[] dst = new byte[256];
    
            // Test with maximum values
            transaction.setMaxSetupCount((byte) 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    	if err != nil {
    		return nil, http.ErrNotMultipart
    	}
    	if d != "multipart/form-data" {
    		return nil, http.ErrNotMultipart
    	}
    	boundary, ok := params["boundary"]
    	if !ok {
    		return nil, http.ErrMissingBoundary
    	}
    	return multipart.NewReader(r.Body, boundary), nil
    }
    
    // PostPolicyBucketHandler - POST policy
    // ----------
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    		paxHdrs[paxGNUSparseMap] = strings.Join(sparseMap, ",")
    	}
    	return paxHdrs, nil
    }
    
    // readHeader reads the next block header and assumes that the underlying reader
    // is already aligned to a block boundary. It returns the raw block of the
    // header in case further processing is required.
    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals("abc", notifications.get(0).getFileName());
            assertEquals("test", notifications.get(1).getFileName());
        }
    
        @Test
        @DisplayName("Should handle buffer boundary conditions")
        void testBufferBoundaryConditions() throws Exception {
            // Given - notification exactly at buffer end
            byte[] buffer = new byte[104]; // Exact size needed
            int offset = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2;
            int expectedLongSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + longPath.length() * 2;
    
            // size8 method aligns to 8-byte boundary
            int alignedShortSize = (expectedShortSize + 7) & ~7;
            int alignedLongSize = (expectedLongSize + 7) & ~7;
    
            assertEquals(alignedShortSize, shortSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top