Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 445 for codes (3.45 sec)

  1. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = 0x04; // flags: active
    
            // Second name entry (18 bytes)
            String name2 = "DOMAIN          ";
            System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16);
            src[srcIndex + 34] = 0x00; // hex code
            src[srcIndex + 35] = (byte) 0x84; // flags: group, active
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /** Configuration key for crawler clients used in parameter maps */
        protected static final String CRAWLER_CLIENTS = "crawlerClients";
    
        /** HTTP status code for Not Found */
        private static final int HTTP_STATUS_NOT_FOUND = 404;
    
        /** HTTP status code for OK */
        private static final int HTTP_STATUS_OK = 200;
    
        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(1, notifications.size());
            assertEquals(fileName, notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Should test isErrorResponseStatus with various status codes")
        void testIsErrorResponseStatus() throws Exception {
            // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error
            setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                response.setAsyncHandled(true);
    
                assertTrue(response.isAsyncHandled());
            }
        }
    
        @Nested
        @DisplayName("Error Code Tests")
        class ErrorCodeTests {
    
            @Test
            @DisplayName("Should return status as error code")
            void testGetErrorCode() {
                int status = NtStatus.NT_STATUS_ACCESS_DENIED;
                response.setStatusForTest(status);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDCacheImplTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_NONE_MAPPED, 0x00000107 })
        @DisplayName("resolveSids(DcerpcHandle,...) accepts success/none/some-not-mapped codes")
        void resolveSids_allowsCertainRetvals_noThrow(int ret) throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected boolean httpOnly = true;
    
        /**
         * Retrieves the user code for the current request.
         * The user code is used to uniquely identify users across sessions and requests.
         * It checks multiple sources in order: request attribute, request parameter, cookie, user bean, or generates a new one.
         *
         * @return the user code string, or null if no valid session exists
         */
        public String getUserCode() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.firstCalledName());
        }
    
        @Test
        void testFirstCalledName_SpecialHexCode() {
            // Test firstCalledName with special hex codes
            mockName = new Name(mockConfig, "DOMAIN", 0x1B, null); // Domain Master Browser
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         * and handles special cases like "all languages" selection.
         *
         * @param request The HTTP servlet request
         * @param params The search request parameters
         * @return Array of normalized language codes
         */
        public String[] getLanguages(final HttpServletRequest request, final SearchRequestParams params) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            CloseableUtil.closeQuietly(responseData);
            httpRequest.abort();
        }
    
        /**
         * Checks if the HTTP status code indicates a redirect.
         *
         * @param httpStatusCode The HTTP status code to check
         * @return True if the status code indicates a redirect, false otherwise
         */
        protected boolean isRedirectHttpStatus(final int httpStatusCode) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        protected LoadingCache<String, List<Map<String, String>>> langItemsCache;
    
        /** The encoding for filtering paths. */
        protected String filterPathEncoding;
    
        /** An array of supported language codes. */
        protected String[] supportedLanguages;
    
        /** A list of shutdown hooks to be executed on system shutdown. */
        protected List<Runnable> shutdownHookList = new ArrayList<>();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top