Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 7,669 for With (0.02 sec)

  1. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            // Test with null cause
            TransportException nullCauseException = new TransportException((Throwable) null);
            assertNull(nullCauseException.getCause());
        }
    
        @Test
        @DisplayName("Test constructor with message and cause creates exception with both")
        public void testConstructorWithMessageAndCause() {
            // Create exception with both message and cause
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

        @Test
        @DisplayName("Test initProtocolVersions with strings")
        void testInitProtocolVersionsWithStrings() {
            config.initProtocolVersions("SMB202", "SMB311");
    
            assertEquals(DialectVersion.SMB202, config.getMinimumVersion());
            assertEquals(DialectVersion.SMB311, config.getMaximumVersion());
        }
    
        @Test
        @DisplayName("Test initProtocolVersions with null/empty strings")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

     */
    class KerberosTokenTest {
    
        /**
         * Test constructor with an empty token.
         */
        @Test
        void testConstructorWithEmptyToken() {
            byte[] emptyToken = new byte[0];
            assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken));
        }
    
        /**
         * Test constructor with a malformed token (not ASN.1).
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

    You can also combine `dataclasses` with other type annotations to make nested data structures.
    
    In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation.
    
    In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            Throwable cause = new IllegalArgumentException("Invalid argument.");
            DcerpcException exception = new DcerpcException("Error with cause.", cause);
            assertEquals(cause, exception.getRootCause(), "getRootCause() should return the original cause.");
        }
    
        /**
         * Test getMessageByDcerpcError() with a known error code (first element).
         */
        @Test
        void testGetMessageByDcerpcError_firstElement() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/ACETest.java

            // ACE.toString() outputs "Inherited " with 1 space
            assertTrue(result.contains("Inherited"));
            assertTrue(result.contains("This folder, subfolders and files"));
        }
    
        @Test
        @DisplayName("Test appendCol helper method")
        void testAppendCol() {
            StringBuffer sb = new StringBuffer();
    
            // Test with short string
            ace.appendCol(sb, "test", 10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * to interact with SMB resources.
     *
     * <p>
     * This client supports authentication, content retrieval, and metadata extraction from SMB files.
     * It handles file access, directory listing, and access control entries (ACEs) processing.
     * </p>
     *
     * <p>
     * The class provides methods to:
     * </p>
     * <ul>
     *   <li>Initialize the client with SMB authentication details.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. src/README.vendor

    "vendor/golang.org/x/crypto/cryptobyte". When a package with the
    same path is imported from a package outside std or cmd, it will
    be resolved normally. Consequently, a binary may be built with two
    copies of a package at different versions if the package is
    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 30 19:15:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode with non-zero buffer offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[100];
            int offset = 50;
    
            // Fill resume key at offset with test pattern
            for (int i = 0; i < 24; i++) {
                buffer[offset + i] = (byte) (0xFF - i);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

        public void test_constructor_withNullMessage() {
            // Test with null message
            DataStoreException exception = new DataStoreException((String) null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullCause() {
            // Test with null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top