- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 768 for wlock (0.01 sec)
-
android/guava/src/com/google/common/collect/Queues.java
* Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create()); * ... * queue.add(element); // Needn't be in synchronized block * ... * synchronized (queue) { // Must synchronize on queue! * Iterator<E> i = queue.iterator(); // Must be in synchronized block * while (i.hasNext()) { * foo(i.next()); * } * } * } *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/config-current.go
// found, otherwise use default parameters func newSrvConfig(objAPI ObjectLayer) error { // Initialize server config. srvCfg := newServerConfig() // hold the mutex lock before a new config is assigned. globalServerConfigMu.Lock() globalServerConfig = srvCfg globalServerConfigMu.Unlock() // Save config into file. return saveServerConfig(GlobalContext, objAPI, srvCfg) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 28.5K bytes - Viewed (0) -
ci/official/requirements_updater/README.md
together with their corresponding hashes are specified in `requirements_lock_<python version>.txt` files (e.g. `requirements_lock_3_12.txt` for `Python 3.12`). To update the lock files, make sure `ci/official/requirements_updater/requirements.in` contains the desired direct dependencies list and then execute the following command (which will call
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Jun 29 00:19:18 UTC 2024 - 3K bytes - Viewed (0) -
.golangci.yml
- -ST1016 - -U1000 exclusions: generated: lax rules: - linters: - forcetypeassert path: _test\.go - path: (.+)\.go$ text: 'empty-block:' - path: (.+)\.go$ text: 'unused-parameter:' - path: (.+)\.go$ text: 'dot-imports:' - path: (.+)\.go$ text: should have a package comment - path: (.+)\.go$Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
void testDES() throws Exception { // Given byte[] key = "testkey1".getBytes(); // 8 bytes for DES byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size) // When Cipher desCipher = Crypto.getDES(key); desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES")); byte[] encrypted = desCipher.doFinal(plaintext);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
/* * Copyright (c) 2022 Block, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 14 16:09:26 UTC 2025 - 1K bytes - Viewed (0) -
cmd/iam.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 76.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt
/* * Copyright (C) 2024 Block, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 929 bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
@SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
@Test void testReadDataWireFormat_withPipeIn() { // Setup the mock pipe and its input stream mockPipe.pipeIn = mockPipeIn; // The 'lock' field in TransactNamedPipeInputStream needs to be a real object for synchronization mockPipeIn.lock = new Object(); byte[] buffer = new byte[10]; int bufferIndex = 0; int len = 10; // Call the method to be testedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)