Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 445 for codes (2.02 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act & Assert
            SmbException thrown = assertThrows(SmbException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            // In smb1, non-NTSTATUS error codes get mapped to NT_STATUS_UNSUCCESSFUL (0xC0000001)
            assertEquals(0xC0000001, thrown.getNtStatus()); // NT_STATUS_UNSUCCESSFUL
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbAuthExceptionTest {
    
        /**
         * Provide representative error codes for the int constructor.
         * - NT status code (high bits set)
         * - Success code (0)
         * - Non-NT small code to exercise default mapping to NT_STATUS_UNSUCCESSFUL
         */
        static Stream<Arguments> intErrorCodes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param errorCode the error code
         * @param message the error message
         */
        public SmbOperationException(ErrorCode errorCode, String message) {
            this(errorCode, message, null, RetryPolicy.DEFAULT, Collections.emptyMap());
        }
    
        /**
         * Create a new SmbOperationException with cause
         *
         * @param errorCode the error code
         * @param message the error message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. 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)
  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/main/java/jcifs/internal/smb2/Smb2Constants.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2;
    
    /**
     * Constants for SMB2/SMB3 protocol.
     *
     * This class contains protocol-specific constants, command codes,
     * flags, and other values used in SMB2/SMB3 communication.
     *
     * @author mbechler
     */
    public final class Smb2Constants {
    
        /**
         *
         */
        private Smb2Constants() {
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return fessConfig.isCrawlerDocumentDuplicateTermRemoved();
        }
    
        /**
         * Gets the array of space character codes from configuration.
         *
         * @return array of character codes to be treated as spaces
         */
        protected int[] getSpaceChars() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. 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)
  10. ADDING_NEW_LANGUAGE.md

    ### Fallback Mechanism
    
    If a translation is missing in `fess_label_[locale].properties`, Fess automatically falls back to the base `fess_label.properties` (English).
    
    ### Language Code Format
    
    Use standard locale codes:
    - ISO 639-1 language codes: `en`, `ja`, `de`, `fr`, `sv`, etc.
    - With region when needed: `pt_BR`, `zh_CN`, `zh_TW`, `en_IE`
    
    ### Cache Behavior
    
    - Language items are cached for 1 hour by `SystemHelper`
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top