- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 307 for share1 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator.validatePath("\\share\\folder\\file.txt"); validator.validatePath("C:\\Windows\\System32"); validator.validatePath(null); // Null should be allowed validator.validatePath(""); // Empty should be allowed } @Test public void testPathTooLong() throws Exception { String longPath = "\\share" + "\\folder".repeat(5000);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
void happyPath_enumerates_and_closes(String wildcard) throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator); when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\"); when(tree.getConfig()).thenReturn(config); when(config.getMaximumBufferSize()).thenReturn(65535); when(config.getListSize()).thenReturn(65535);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java
import jcifs.internal.smb1.trans.SmbComTransactionResponse; import jcifs.internal.util.SMBUtil; /** * SMB1 NetShareEnum response message for enumerating network shares on a server. * This class handles the response data from a NetShareEnum RPC call, which returns * information about all available shares on the target server. */ public class NetShareEnumResponse extends SmbComTransactionResponse {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (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 { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic-commons/build.gradle.kts
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 04:30:54 GMT 2025 - 800 bytes - Click Count (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0)