- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 441 for locks (0.32 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K 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 insecureRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
cmd/handler-api.go
} // A valid value is available return its 90% available = (memStats.Available * 9) / 10 return available } func (t *apiConfig) init(cfg api.Config, setDriveCounts []int, legacy bool) { t.mu.Lock() defer t.mu.Unlock() clusterDeadline := cfg.ClusterDeadline if clusterDeadline == 0 { clusterDeadline = 10 * time.Second } t.clusterDeadline = clusterDeadline
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 10.4K bytes - Viewed (0) -
internal/event/target/amqp.go
return true } if nerr, ok := err.(*net.OpError); ok { return (nerr.Err.Error() == "use of closed network connection") } return false } target.connMutex.Lock() defer target.connMutex.Unlock() if target.conn != nil { ch, err = target.conn.Channel() if err == nil { if target.args.PublisherConfirms {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 21 04:25:07 UTC 2025 - 10K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
private val cleanupTask = object : Task("$okHttpName ConnectionPool connection closer") { override fun runOnce(): Long = closeConnections(System.nanoTime()) } /** * Holding the lock of the connection being added or removed when mutating this, and check its * [RealConnection.noNewExchanges] property. This defends against races where a connection is * simultaneously adopted and removed. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 11.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
response.adjustOffset(n); } } while (len > effectiveBlockSize && n == r); // Optimization: Continue reading if we have small remaining data and got full blocks // This reduces round trips for slightly larger reads if (len > 0 && len <= (effectiveBlockSize / 4) && n == r) { try { if (th.isSMB2()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testStaticToByteArrayNull() { assertThrows(NullPointerException.class, () -> SID.toByteArray(null)); } } @Nested @DisplayName("Tests requiring mocks") @ExtendWith(MockitoExtension.class) class MockedTests { @Mock CIFSContext mockCtx; @Mock SidResolver mockResolver; @BeforeEach
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)