Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 261 for edges (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                MockCreateContextResponse mock = new MockCreateContextResponse(name);
                assertArrayEquals(name.getBytes(StandardCharsets.UTF_8), mock.getName());
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle large buffer decoding")
            void testLargeBufferDecode() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            String result = facetQueryView.toString();
            assertNotNull(result);
            assertTrue(result.contains("title=Empty Map Test"));
            assertTrue(result.contains("queryMap={}"));
        }
    
        // Test edge cases
        public void test_addQuery_withNullValues() {
            facetQueryView.addQuery(null, "query1");
            assertEquals("query1", facetQueryView.getQueryMap().get(null));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Then: Should return binding's string representation
                assertEquals("mockBindingString", result);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null binding toString")
            void testToStringWithNullBinding() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals((chunkCount - 1) * 100, SMBUtil.readInt4(buffer, offset + 16));
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle source key with all zeros")
            void testSourceKeyAllZeros() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                String result = notification.toString();
                assertTrue(result.contains("oplockLevel=" + oplockLevel));
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle minimum valid buffer size")
            void testMinimumBufferSize() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Should be path based on our initialization
                assertEquals("path", concretePath);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCasesTests {
    
            @ParameterizedTest
            @NullAndEmptySource
            @DisplayName("Should handle null and empty FQDN in fixupHost")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(1, pairs.size(), "Should have one pair");
            assertTrue(pairs.get(0) instanceof AvChannelBindings, "Should be AvChannelBindings instance");
        }
    
        /**
         * Test edge case with maximum data size
         */
        @Test
        @DisplayName("Handle large data size")
        void testLargeDataSize() throws CIFSException {
            // Create a large data array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    // blockPadding computes the number of bytes needed to pad offset up to the
    // nearest block edge where 0 <= n < blockSize.
    func blockPadding(offset int64) (n int64) {
    	return -offset & (blockSize - 1)
    }
    
    var zeroBlock block
    
    type block [blockSize]byte
    
    // Convert block to any number of formats.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            PooledObject<String> pooledString = stringFactory.wrap(stringComponent);
            assertNotNull(pooledString);
            assertEquals("TestString", pooledString.getObject());
        }
    
        /**
         * Test edge cases for wrap method
         */
        public void test_wrap_edgeCases() {
            // Test with various object types
            TestComponent component = new TestComponent();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                SMBUtil.writeInt4(chunkBytes, buffer, 4);
                SMBUtil.writeInt4(totalBytes, buffer, 8);
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum values")
            void testMaximumValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top