- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 520 for share1 (0.05 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
@Test @DisplayName("handleDFSReferral handles null referral and empty path") void handleDfsReferralNullAndEmpty() { when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/"); assertEquals("smb://server/share/", locator.handleDFSReferral(null, "")); verify(locator).handleDFSReferral(null, ""); verifyNoMoreInteractions(locator); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
import org.codelibs.jcifs.smb1.util.LogStream; import jakarta.annotation.Resource; /** * The {@link SmbClient} class is a crawler client implementation for accessing files and directories * on SMB (Server Message Block) shares using the SMB1 protocol. It extends {@link AbstractCrawlerClient} and utilizes the JCIFS library * to interact with SMB resources. * * <p>Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 23.3K bytes - Viewed (0) -
LICENSE
"control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 29 17:31:56 UTC 2021 - 13.3K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
valid := 0 for shardIdx, shard := range splitFilled[:k] { shardConfig[shardIdx] = shard[offset] valid += int(shard[offset]) if shard[offset] == 0 { shards[shardIdx] = shards[shardIdx][:0] } else { shards[shardIdx] = append(shards[shardIdx][:0], splitData[shardIdx][offset]) } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 40.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
assertNotEquals(a, c); // Same subject instance -> equal Subject shared = new Subject(); Kerb5Authenticator d1 = new Kerb5Authenticator(shared); Kerb5Authenticator d2 = new Kerb5Authenticator(shared); assertEquals(d1, d2); // Different type -> false assertFalse(a.equals("not-an-auth")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested @DisplayName("Invalid input – null file handling") class InvalidPath { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Missing trailing slash -> should complain about directory ending Arguments.of("smb://server/share", "/share", true), // Not a server root -> invalid list operation Arguments.of("smb://server/share/", "/share/", false)); } @ParameterizedTest(name = "invalid path: {0}") @MethodSource("invalidShareEnumCases")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
lenient().when(parent.getLocator()).thenReturn(locator); lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\ // Create URL with registered handler URL smbUrl = new URL("smb://server/share/dir/"); lenient().when(locator.getURL()).thenReturn(smbUrl); } // Helper: reflectively set private/protected field on an objectRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
connectionState = 0; } synchronized SmbTree getSmbTree(String share, final String service) { SmbTree t; if (share == null) { share = "IPC$"; } for (final Enumeration e = trees.elements(); e.hasMoreElements();) { t = (SmbTree) e.nextElement(); if (t.matches(share, service)) { return t; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)