Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 422 for codec (1.09 sec)

  1. src/test/java/jcifs/smb/DosErrorTest.java

        @DisplayName("Happy path: known DOS codes map to expected NTSTATUS")
        void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) {
            // Act
            int actual = findNtStatusOrMinusOne(dosCode);
    
            // Assert
            assertEquals(expectedNtStatus, actual, "Mapping must match table entry");
        }
    
        @Test
        @DisplayName("Edge: zero DOS code maps to zero NTSTATUS")
        void zeroCodeMapsToZero() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Unknown DOS error code yields empty Optional")
        void testUnknownCode() {
            Optional<Integer> noMatch = findNtStatus(0xdeadbeef);
            assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent");
        }
    
        @Test
        @DisplayName("Mocked consumer receives correct NTSTATUS value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtStatusTest.java

            }
        }
    
        @Test
        @DisplayName("Should have status codes array")
        void testStatusCodesArray() {
            // When
            int[] codes = NtStatus.NT_STATUS_CODES;
    
            // Then
            assertNotNull(codes);
            assertTrue(codes.length > 0);
            // First code should be success
            assertEquals(NtStatus.NT_STATUS_SUCCESS, codes[0]);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

        /**
         * The status code for OK.
         */
        public static final int OK_STATUS = 0;
    
        /**
         * The status code for Not Modified.
         */
        public static final int NOT_MODIFIED_STATUS = 304;
    
        /**
         * The HTTP status code for OK.
         */
        public static final int OK_STATUS_CODE = 200;
    
        /**
         * The HTTP status code for Not Modified.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbConstants.java

         * represents is a server.
         */
        int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a share.
         */
        int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a named pipe.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/message/MessageFormatter.java

        }
    
        /**
         * Returns the message with the message code.
         *
         * @param messageCode
         *            Message code
         * @param simpleMessage
         *            Simple message with arguments expanded
         * @return Message with message code
         */
        public static String getFormattedMessage(final String messageCode, final String simpleMessage) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            assertEquals(0x1, Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
        }
    
        @Test
        @DisplayName("Test configuration with different control codes")
        void testDifferentControlCodes() {
            setupMockConfig();
            // Test with different control codes
            int[] controlCodes = { Smb2IoctlRequest.FSCTL_PIPE_PEEK, Smb2IoctlRequest.FSCTL_PIPE_WAIT, Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. CLAUDE.md

    # CLAUDE.md
    
    This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
    
    ## Project Overview
    
    curl4j is a simple cURL-like Java HTTP client library providing a fluent API for building HTTP requests. It's designed to be minimal with only Apache Commons IO as a dependency.
    
    ## Development Commands
    
    ### Build and Test
    ```bash
    # Clean build and run tests
    mvn clean test
    
    # Full build with packaging
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SID.java

     * accounts. SIDs are commonly represented using a textual format such as
     * <code>S-1-5-21-1496946806-2192648263-3843101252-1029</code> but they may
     * also be resolved to yield the name of the associated Windows account
     * such as <code>Administrators</code> or <code>MYDOM\alice</code>.
     * <p>
     * Consider the following output of <code>examples/SidLookup.java</code>:
     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         */
        @Test
        @DisplayName("Winerr code 123 – message equals 123")
        void testConstructorWithWinerr() {
            SmbException ex = new SmbException(123, true);
            assertEquals("123", ex.getMessage());
            assertEquals(123, ex.getNtStatus());
        }
    
        /**
         * Parameterised test covering many error codes.
         * - Error code 0 returns 0 (NT_STATUS_SUCCESS)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top