Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 163 for CODES (0.03 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-status-code.md

    /// note
    
    Some response codes (see the next section) indicate that the response does not have a body.
    
    FastAPI knows this, and will produce OpenAPI docs that state there is no response body.
    
    ///
    
    ## About HTTP status codes { #about-http-status-codes }
    
    /// note
    
    If you already know what HTTP status codes are, skip to the next section.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

        }
    
        /**
         * Gets the successful HTTP codes.
         *
         * @return the successful HTTP codes
         */
        public int[] getSuccessfulHttpCodes() {
            return successfulHttpCodes;
        }
    
        /**
         * Sets the successful HTTP codes.
         *
         * @param successfulHttpCodes the successful HTTP codes to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DosError.java

     */
    
    package jcifs.smb;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes.
     * Provides lookup tables for converting between DOS and NT error representations.
     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DialectVersionTest.java

        }
    
        @Test
        @DisplayName("Should have correct dialect codes for SMB2+ versions")
        void testDialectCodes() {
            // SMB1 should throw UnsupportedOperationException
            assertThrows(UnsupportedOperationException.class, () -> {
                DialectVersion.SMB1.getDialect();
            });
    
            // SMB2+ versions should have valid dialect codes
            assertTrue(DialectVersion.SMB202.getDialect() > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/WinErrorTest.java

        // Helper to lookup a message by code using the production arrays
        private static Optional<String> lookupMessage(int code) {
            int[] codes = WinError.WINERR_CODES;
            String[] msgs = WinError.WINERR_MESSAGES;
            for (int i = 0; i < codes.length; i++) {
                if (codes[i] == code) {
                    return Optional.of(msgs[i]);
                }
            }
            return Optional.empty();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            faultCodes.add(DcerpcError.DCERPC_FAULT_PROTO_ERROR);
    
            // Verify all 9 codes are unique
            assertEquals(9, faultCodes.size(), "All fault codes should be unique");
        }
    
        @Test
        @DisplayName("Should verify fault code value ranges and patterns")
        void testFaultCodeValueRanges() {
            // Standard fault codes (0x00000000 - 0x0000FFFF range)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/DosError.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes for SMB1 protocol.
     * Provides lookup tables for converting between DOS and NT error representations.
     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcError.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc;
    
    /**
     * DCE/RPC error codes and fault constants
     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
         * Access denied fault code
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top