- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 210 for Shares (2.33 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(strings = { "\\\\server\\share", "\\\\192.168.1.1\\share", "\\\\server.domain.com\\share", "\\\\server\\share\\subfolder", "\\\\s\\s" // Minimum path }) @DisplayName("Should handle various valid path formats") void testVariousPathFormats(String path) throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java
*/ public class SmbShareInfo implements FileEntry { /** * The network name of the share. */ protected String netName; /** * The type of the share (e.g., disk, printer, IPC). */ protected int type; /** * The optional comment or description for the share. */ protected String remark; /** * Default constructor for SmbShareInfo. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DfsReferral.java
public int pathConsumed; /** Time to live for this referral in seconds */ public long ttl; /** Target server for this referral */ public String server; // Server /** Target share for this referral */ public String share; // Share /** The complete UNC path link */ public String link; /** Path relative to tree from which this referral was thrown */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(path, entryByPath.getPath()); } @Test @DisplayName("Should release all leases") void testReleaseAll() { String path1 = "/share/file1.txt"; String path2 = "/share/file2.txt"; Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
@Test @DisplayName("Should handle share type") void testShareType() throws Exception { // Test DISK share type setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK); assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type"); // Test PIPE share typeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
static Stream<Arguments> portSpecs() { return Stream.of( // spec, expectedPort Arguments.of("smb://server/share", SmbConstants.DEFAULT_PORT), Arguments.of("smb://server:445/share", 445), Arguments.of("smb://server:139/share", 139)); } @ParameterizedTest(name = "parseURL: {0} -> port {1}") @MethodSource("portSpecs")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
* this file is open. This constant may be logically OR'd with other share * access flags. */ int FILE_SHARE_READ = 0x01; /** * When specified as the <code>shareAccess</code> constructor parameter, * other SMB clients will be permitted to write to the target file while * this file is open. This constant may be logically OR'd with other share * access flags. */ int FILE_SHARE_WRITE = 0x02;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
void testToString() { // Given exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share"); exception.withContext("share", "\\\\server\\share"); exception.withContext("user", "john"); // When String str = exception.toString(); // Then assertNotNull(str);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java
assertEquals("カテゴリ:技術", queryLog.getFilterQueryString()); } @Test public void test_specialCharacters() throws Exception { String query = "test-query_with.special@chars!"; QueryLog queryLog = new QueryLog(query, null); assertEquals(query, queryLog.getQueryString()); } @Test public void test_longQuery() throws Exception {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Thu Nov 13 00:40:54 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.java
@Size(max = 10) public String replaceAliases; /** * The flag to reset dictionaries. */ @Size(max = 10) public String resetDictionaries; /** * The number of shards for doc. */ @Size(max = 10) public String numberOfShardsForDoc = ComponentUtil.getFessConfig().getIndexNumberOfShards(); /** * The auto expand replicas for doc. */ @Size(max = 10)Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.5K bytes - Viewed (0)