- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 1,022 for concurrency (0.05 sec)
-
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import org.jspecify.annotations.Nullable; /** * An implementation of {@link GraphConnections} for directed graphs. * * @author James Sexton * @author Jens Nyman
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
} @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun `edit discarded after editor detached with concurrent write`(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) Assumptions.assumeFalse(windows) // Windows can't have two concurrent editors. set("k1", "a", "a") // Create an editor, then detach it. val editor = cache.edit("k1")!!
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
int bytesRead = response.readBytesWireFormat(buffer, bufferIndex); // Then assertEquals(4, bytesRead); } @Test @DisplayName("Should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException { // Given int threadCount = 10; Thread[] threads = new Thread[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
if objectAPI == nil { return } // NB rebalance-start admin API is always coordinated from first pool's // first node. The following is required to serialize (the effects of) // concurrent rebalance-start commands. if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal { for nodeIdx, proxyEp := range globalProxyEndpoints { if proxyEp.Host == ep.Host {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.util.concurrent.TimeUnit import kotlin.time.Duration import okhttp3.internal.commonBuild import okhttp3.internal.commonClampToInt import okhttp3.internal.commonForceCache import okhttp3.internal.commonForceNetwork
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertEquals(0, count, "No iterations should occur for empty iterator"); }, "EmptyIterator should work with manual iteration"); } @Test @DisplayName("EmptyIterator should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException, CIFSException { // Given final int threadCount = 10; final Thread[] threads = new Thread[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(0, transPeekNamedPipe.writeParametersWireFormat(buffer, 10)); assertEquals(0, transPeekNamedPipe.writeDataWireFormat(buffer, 20)); } @Test @DisplayName("Should handle concurrent access to toString") void testToStringConcurrency() throws InterruptedException { // Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
cmd/data-scanner-metric.go
if strptr != nil { res = append(res, pathJoin(prefix, name, *strptr)) } return true }) return res } // activeDrives returns the number of currently active disks. // (since this is concurrent it may not be 100% reliable) func (p *scannerMetrics) activeDrives() int { var i int p.currentPaths.Range(func(k, v any) bool { i++ return true }) return i }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
public int getValue() { return value; } } ``` ## 4. Data Structures ### 4.1 Witness Registration ```java package jcifs.internal.witness; import java.net.InetAddress; import java.util.concurrent.atomic.AtomicLong; public class WitnessRegistration { private final String registrationId; private final String shareName; private final InetAddress serverAddress;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0)