- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 487 for shard (0.07 sec)
-
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/main/java/jcifs/smb/SmbSessionImpl.java
return this.sessionKey; } @Override public SmbTreeImpl getSmbTree(String share, String service) { if (share == null) { share = "IPC$"; } synchronized (this.trees) { for (SmbTreeImpl t : this.trees) { if (t.matches(share, service)) { return t.acquire(); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K 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/DfsReferralData.java
/** * Get the domain this referral is for * * @return the domain this referral is for */ String getDomain(); /** * Get the share this referral points to * * @return the share this referral points to */ String getShare(); /** * Get the number of characters from the UNC path that were consumed by this referral *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
// Both wrappers should read the same initial value assertEquals("initial.value", wrapper1.getProperty("shared.key")); assertEquals("initial.value", wrapper2.getProperty("shared.key")); // Write through wrapper1 wrapper1.setProperty("from.wrapper1", "value1"); // wrapper2 should see the changes immediately (no caching)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 07:26:53 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
serverAddress = InetAddress.getByName("192.168.1.100"); registration = new WitnessRegistration("\\\\server\\share", serverAddress, WitnessServiceType.FILE_SERVER_WITNESS); } @Test void testRegistrationCreation() { assertNotNull(registration.getRegistrationId()); assertEquals("\\\\server\\share", registration.getShareName()); assertEquals(serverAddress, registration.getServerAddress());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// The getEntries method returns FileEntry objects. We can check their names. assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct."); assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct."); } /** * Test the getEntries() method when the DfsEnumArray200 is empty. * Verifies that an empty array is returned.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealConnectionPool /** * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that * share the same [Address] may share a [Connection]. This class implements the policy * of which connections to keep open for future use. * * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 3.4K bytes - Viewed (0)