Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 412 for listing (2.15 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Object_Failure() {
            // Test failed casting
            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        private DcerpcBinding mockBinding;
    
        @Mock
        private BufferCache mockBufferCache;
    
        @Mock
        private DcerpcSecurityProvider mockSecurityProvider;
    
        // Concrete implementation of DcerpcHandle for testing
        static class TestDcerpcHandle extends DcerpcHandle {
            private String server;
            private String serverWithDfs;
            private byte[] sessionKey;
            private int doReceiveFragmentReturn = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtException.java

        // session service error codes
        /** Connection refused by the remote host */
        public static final int CONNECTION_REFUSED = -1;
        /** Not listening on the called name */
        public static final int NOT_LISTENING_CALLED = 0x80;
        /** Not listening for the calling name */
        public static final int NOT_LISTENING_CALLING = 0x81;
        /** Called name not present */
        public static final int CALLED_NOT_PRESENT = 0x82;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    public class AuthenticationRateLimiter implements AutoCloseable {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            UrlQueueImpl<Long> existing = new UrlQueueImpl<>();
            existing.setUrl("https://example.com/existing");
            existingQueue.add(existing);
    
            UrlQueueImpl<Long> visitedUrl = new UrlQueueImpl<>();
            visitedUrl.setSessionId(sessionId);
            visitedUrl.setUrl("https://example.com/existing");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

        // A concrete implementation of the abstract class SmbComNtTransaction for testing.
        private static class ConcreteSmbComNtTransaction extends SmbComNtTransaction {
            @Override
            int writeSetupWireFormat(byte[] dst, int dstIndex) {
                // Dummy implementation for testing
                return 0;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

     * such as index, size, tags, roles, fields, languages, and exclusion words.
     *
     * <p>Key functionalities include:</p>
     * <ul>
     *   <li>Setting the target index for the search.</li>
     *   <li>Limiting the number of results (size).</li>
     *   <li>Filtering by tags, roles, fields, and languages.</li>
     *   <li>Excluding specific words from the results.</li>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlResponseTest.java

            String contentLength = response.getHeaderValue("content-length"); // Test case insensitive
            String missing = response.getHeaderValue("Missing-Header");
    
            assertEquals("application/json", contentType);
            assertEquals("100", contentLength);
            assertNull(missing);
        }
    
        @Test
        public void testGetHeaderValues() {
            CurlResponse response = new CurlResponse();
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        }
    
        @ParameterizedTest(name = "session error {1} -\\u003e {2}")
        @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name",
                "0x82,Called name not present", "0x83,Called name present, but insufficient resources", "0x8F,Unspecified error",
                "999,Unknown error code: 999" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top