Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 174 for dashes (0.97 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation")); // Note: toString() uses this name
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle null buffer in decode")
            void testNullBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import org.mockito.Mockito;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            }
        }
    
        @Test
        @DisplayName("Test with edge case time values")
        void testWithEdgeCaseTimeValues() {
            // Test with various time values including edge cases
            long[][] timeValues = { { 0L, 0L, 0L, 0L }, // All zeros
                    { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max values
                    { 1L, 2L, 3L, 4L }, // Small values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                    "-1, -1, -1", // Negative values (should still create instance)
                    "0, 9223372036854775807, 0" // Edge cases
            })
            void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) {
                // When
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals(NtStatus.NT_STATUS_ACCESS_DENIED, ex.getNtStatus());
        }
    
        @Test
        @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) resolves missing, caches, and reuses cache")
        void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception {
            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. README.md

    ```
    
    ### Running Tests with Coverage
    
    ```bash
    mvn clean jacoco:prepare-agent test jacoco:report
    ```
    
    Coverage reports are generated in `target/site/jacoco/`.
    
    ## Common Use Cases
    
    ### E-commerce Search
    
    ```java
    // Product search suggestions
    SuggestItem product = new SuggestItem(
        new String[]{"iPhone 15 Pro", "Apple iPhone 15 Pro"},
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                    assertNotNull(context);
                    assertTrue(context.getContextType() > 0);
                }
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Error Handling")
        class EdgeCasesTest {
    
            @Test
            @DisplayName("Should handle maximum size arrays")
            void testMaximumSizeArrays() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                    }
                }
            }
            return null;
        }
    
        /**
         * Stores the document IDs associated with a search query for tracking purposes.
         * This method caches the document IDs returned for a specific query to enable click tracking and analytics.
         *
         * @param queryId the unique identifier for the search query
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top