- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 224 for locks (0.01 sec)
-
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@Test @DisplayName("Should handle typical Linux ext4 configuration") void shouldHandleTypicalExt4Configuration() throws SMBProtocolDecodingException { // Given - typical ext4: 4KB blocks long totalBlocks = 26214400L; // 100GB / 4KB long freeBlocks = 5242880L; // 20GB / 4KB ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
verify(cifsContext, atLeastOnce()).getConfig(); verify(configuration, atLeastOnce()).getOemEncoding(); } @Test @DisplayName("E: splits 7-byte keys into 8-byte DES blocks and concatenates") void testE_blockSplitConsistency() throws ShortBufferException { // Arrange byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
import jcifs.internal.SMBSigningDigest; import jcifs.internal.util.SMBUtil; import jcifs.smb.SmbException; import jcifs.util.Hexdump; import jcifs.util.Strings; /** * Base class for all SMB1/CIFS protocol message blocks. * This abstract class provides the fundamental structure and common functionality for SMB1 request * and response messages, including header fields, message encoding/decoding, and wire format handling. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
## Version 3.1.2 _2016-02-10_ * Fix: Don’t crash when finding the trust manager on Robolectric. We attempted to detect the host platform and got confused because Robolectric looks like Android but isn’t! * Fix: Change `CertificatePinner` to skip sanitizing the certificate chain when no certificates were pinned. This avoids an SSL failure in insecure
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun Dispatcher.assertLockNotHeld() { if (assertionsEnabled && Thread.holdsLock(this)) { throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this") } } /** * Returns the string "OkHttp" unless the library has been shaded for inclusion in another library,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
} if (nextRouteToTry != null) { return true } if (failedConnection != null) { val retryRoute = retryRoute(failedConnection) if (retryRoute != null) { // Lock in the route because retryRoute() is racy and we don't want to call it twice. nextRouteToTry = retryRoute return true } } // If we have a routes left, use 'em.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
package jcifs.internal.smb2.lock; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
@Test @DisplayName("Should handle typical Linux ext4 configuration") void shouldHandleTypicalExt4Configuration() throws SMBProtocolDecodingException { // Given - typical ext4: 4KB blocks long totalBlocks = 26214400L; // 100GB / 4KB long freeBlocks = 5242880L; // 20GB / 4KB ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
*/ private SmbResource createMockResource() { return mock(SmbResource.class); } @BeforeEach void setUp() { // Reset mocks to ensure clean state for each test reset(mockResource, mockLocator, mockContext); } @Nested @DisplayName("Interface Contract Tests") class InterfaceContractTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} if (dfd == null || !dfd.isValid()) { // don't reopen the file for every round if it's not necessary, keep the lock dfd = openCopyTargetFile(dest, src.getAttributes(), !write); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0)