- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 396 for only (0.42 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java
fail("Should throw ChildUrlsException"); } catch (ChildUrlsException e) { Set<RequestData> childUrls = e.getChildUrlList(); assertNotNull(childUrls); // Should only contain valid URLs, null entries should be skipped assertTrue(childUrls.size() <= 2); } } public void test_processException() { // Setup - test exception handling during parsing
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
} catch (final IOException ioe) { ioe.printStackTrace(log); } } } } /* Build a connection. Only one thread will ever call this method at * any one time. If this method throws an exception or the connect timeout * expires an encapsulating TransportException will be thrown from connect
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
* @param hashAlgorithm the algorithm to check * @return true if supported */ public boolean isHashAlgorithmSupported(int hashAlgorithm) { return hashAlgorithm == HASH_ALGO_SHA512; // Currently only SHA-512 is supported } /** * Gets the list of supported hash algorithms. * * @return array of supported algorithms */ public int[] getSupportedHashAlgorithms() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Use a real CIFS context to provide a working URLStreamHandler for smb:// URLs this.ctx = SingletonContext.getInstance(); } private void setupParentForUrlCreation() throws CIFSException { // Only set up parent mocks when they're actually needed for URL creation when(parent.getContext()).thenReturn(this.ctx); when(parent.getLocator()).thenReturn(parentLocator);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@Test @DisplayName("release(): verifies it is invoked exactly once") void release_invokedOnce() throws Exception { // Arrange: no setup needed; we verify interaction only // Act: call release handle.release(); // Assert: verify one invocation and no more verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
class MimeMapTest { private MimeMap mimeMap; @BeforeEach void setUp() throws IOException { mimeMap = new MimeMap(); } @Nested @DisplayName("getMimeType with extension only") class GetMimeTypeWithExtension { @Test @DisplayName("Should return correct mime type for known extensions") void testKnownExtensions() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals("user1", ((SID) resolvedFirst[0]).acctName); assertEquals("user2", ((SID) resolvedFirst[1]).acctName); // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached // Mark s3 unresolved to force resolve of one element doAnswer(inv -> { SID[] toResolve = inv.getArgument(2); for (SID s : toResolve) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
assertEquals("mybucket", getField(gcsConn, "bucketName")); assertEquals("path/to/object.txt", getField(gcsConn, "objectName")); } /** * Test URL parsing with bucket only (no object path). */ public void test_urlParsing_bucketOnly() throws Exception { URL url = new URL("gcs://mybucket"); Handler handler = new Handler();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
} catch (final UnsupportedEncodingException uee) { throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee); } int passwordLength = passwordBytes.length; // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM if (passwordLength > 14) { passwordLength = 14; } System.arraycopy(passwordBytes, 0, p14, 0, passwordLength);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java
@Override protected void prepareCoreDirection(final FwCoreDirection direction) { // this configuration is on fess_env.properties because this is true only when development direction.directDevelopmentHere(fessConfig.isDevelopmentHere()); // titles of the application for logging are from configurationsRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.4K bytes - Viewed (0)