- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 478 for share (0.02 seconds)
-
src/test/java/jcifs/SmbTreeHandleTest.java
/** * Test for getConnectedShare() method. * Verifies that the method returns the correct connected share name. */ @Test void testGetConnectedShare() { when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE"); assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE"); } /** * Test for isSameTree() method.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
* tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we * figure out what to do with <a * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code * ConcurrentHashMap} support for {@code entrySet().add()}</a>. */ @J2ktIncompatible @GwtIncompatible // reflectionCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
* @return the access mask hint */ public int getAccessMaskHint() { return accessMaskHint; } /** * Gets the share access hint for optimizing lease handling * @return the share access hint */ public int getShareAccessHint() { return shareAccessHint; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
synchronized void insert(final String path, final DfsReferral dr) { int s1, s2; String server, share, key; if (DISABLED) { return; } s1 = path.indexOf('\\', 1); s2 = path.indexOf('\\', s1 + 1); server = path.substring(1, s1); share = path.substring(s1 + 1, s2); key = path.substring(0, dr.pathConsumed).toLowerCase();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
setField(session, "sessionKey", key); assertArrayEquals(key, session.getSessionKey()); } @Test @DisplayName("getSmbTree returns same instance for same share/service") void testGetSmbTreeReuses() { SmbSessionImpl session = newSession(); SmbTreeImpl t1 = session.getSmbTree("IPC$", null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt
* explicitly requested), this also includes that proxy information. For secure connections the * address also includes the SSL socket factory, hostname verifier, and certificate pinner. * * HTTP requests that share the same [Address] may also share the same [Connection]. */ class Address( uriHost: String, uriPort: Int, /** Returns the service that will be used to resolve IP addresses for hostnames. */ @get:JvmName("dns") val dns: Dns,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (0) -
README.md
// Using default context CIFSContext context = SingletonContext.getInstance(); // Access a file (encryption is transparent - automatically used if server requires it) try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) { if (file.exists()) { System.out.println("File size: " + file.length()); } } ``` ### With Authentication ```java import jcifs.CIFSContext;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
/** * Determines whether this resource path overlaps with another resource path by sharing a common root. * * @param other the other resource locator to compare with * @return whether the paths share a common root * @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /** * Internal: for testing only *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java
*/ int NTLMSSP_TARGET_TYPE_SERVER = 0x00020000; /** * Sent by the server in the Type 2 message to indicate that the * target authentication realm is a share (presumably for share-level * authentication). */ int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000; /** * Indicates that the NTLM2 signing and sealing scheme should be usedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
* tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we * figure out what to do with <a * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code * ConcurrentHashMap} support for {@code entrySet().add()}</a>. */ @J2ktIncompatible @GwtIncompatible // reflectionCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0)