Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 390 for manche (1.73 sec)

  1. src/main/java/jcifs/DfsResolver.java

        /**
         * Add a referral to the cache
         *
         * @param path the DFS path for this referral
         * @param dr the DFS referral data to cache
         * @param tc the CIFS context containing configuration
         */
        void cache(CIFSContext tc, String path, DfsReferralData dr);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/DfsResolverTest.java

        }
    
        // Test for cache method
        @Test
        void testCache_DfsDisabled() {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            DfsReferralData mockReferralData = mock(DfsReferralData.class);
            assertDoesNotThrow(() -> dfsResolver.cache(mockContext, "\\\\anyServer\\anyShare\\anyPath", mockReferralData));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureKeyManagerTest.java

        }
    
        @Test
        public void testGetRawKey() {
            String sessionId = "test-session-2";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            byte[] rawKey = keyManager.getRawKey(sessionId);
            assertNotNull(rawKey, "Should retrieve raw key");
            assertArrayEquals(testKey, rawKey, "Raw key should match");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

        /**
         * Gets a buffer from the cache or creates a new one if the cache is empty.
         *
         * Performance: O(1) operation using concurrent queue
         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // Verify resume key content
            for (int i = 0; i < 24; i++) {
                assertEquals((byte) (i + 1), resumeKey[i], "Resume key byte " + i + " should match");
            }
        }
    
        @Test
        @DisplayName("Test decode with non-zero buffer offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            final UrlQueue<?> urlQueue = new UrlQueueImpl<>();
            urlQueue.setUrl("http://example.com/");
            urlQueue.setDepth(1);
    
            when(urlFilter.match(anyString())).thenReturn(true);
    
            // Use reflection to access protected method
            final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("isValid", UrlQueue.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

         * @return True if the status code indicates a redirect, false otherwise
         */
        protected boolean isRedirectHttpStatus(final int httpStatusCode) {
            return redirectHttpStatusPattern.matcher(Integer.toString(httpStatusCode)).matches();
        }
    
        /**
         * Executes the HTTP client request.
         *
         * @param httpRequest The HTTP request to execute
         * @return The HTTP response
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            assertArrayEquals(payload, actualPayload, "Payload copy must match");
        }
    
        @Test
        @DisplayName("getOEMEncoding returns configured OEM encoding")
        void testGetOEMEncoding() {
            assertEquals(Config.DEFAULT_OEM_ENCODING, NtlmMessage.getOEMEncoding(), "OEM encoding should match config’s default value");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            assertNotNull(region, "Memory region should not be null");
            assertEquals(buffer, region.getBuffer(), "Buffer should match");
            assertEquals(1024, region.getSize(), "Size should match buffer size");
            assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

                    final Matcher matcher = pattern.matcher(url);
                    if (matcher.matches()) {
                        match = true;
                    }
                }
                if (!match) {
                    return false;
                }
            }
    
            if (!excludeList.isEmpty()) {
                boolean match = false;
                for (final Pattern pattern : excludeList) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top