- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 326 for synchronize (0.06 seconds)
-
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
results: MutableList<InetAddress>, failures: MutableList<Exception>, ) { try { val addresses = readResponse(hostname, response) synchronized(results) { results.addAll(addresses) } } catch (e: Exception) { synchronized(failures) { failures.add(e) } } } @Throws(UnknownHostException::class) private fun throwBestFailure(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
} /** * Establishes RDMA connection to the remote server. * * @throws IOException if connection fails */ public void connectRdma() throws IOException { synchronized (connectionLock) { if (rdmaConnection != null && rdmaConnection.isConnected()) { return; } try { rdmaConnection =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
import kotlin.contracts.ExperimentalContracts import kotlin.contracts.InvocationKind import kotlin.contracts.contract import okhttp3.internal.assertionsEnabled /** * Marker interface for objects that use the JVM's `synchronized` mechanism and the related * `wait()` and `notify()` functions. * * The Lockable interface is particularly handy because it ensures we lock the right `this` when * there are multiple `this` objects in scope. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
} @Override public final void addTearDown(TearDown tearDown) { synchronized (lock) { stack.addFirst(checkNotNull(tearDown)); } } /** Causes teardown to execute. */ public final void runTearDown() { Throwable exception = null; List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack); stack.clear(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
} @Override public final void addTearDown(TearDown tearDown) { synchronized (lock) { stack.addFirst(checkNotNull(tearDown)); } } /** Causes teardown to execute. */ public final void runTearDown() { Throwable exception = null; List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack); stack.clear(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
hitCount++ } } @Synchronized internal fun trackConditionalCacheHit() { hitCount++ } @Synchronized fun networkCount(): Int = networkCount @Synchronized fun hitCount(): Int = hitCount @Synchronized fun requestCount(): Int = requestCount private inner class RealCacheRequest(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
static LogStream log = LogStream.getInstance(); static HashMap dfsRoots = null; static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port) { return getSmbTransport(address, port, LADDR, LPORT, null); } static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port, final InetAddress localAddr,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
* @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; } auth = a; } /** * Gets the URL that is requesting authentication.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/fr/docs/async.md
Vous et votre crush 😍 étant occupés à vérifier que personne ne passe devant vous prendre vos burgers au moment où ils arriveront 🕙, vous ne pouvez pas vous préoccuper de votre crush 😞. C'est du travail « synchrone », vous être « synchronisés » avec le serveur/cuisinier 👨🍳. Vous devez attendre 🕙 et être présent au moment exact où le serveur/cuisinier 👨🍳 finira les burgers 🍔 et vous les donnera, sinon quelqu'un risque de vous les prendre.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 27.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
// Lock while we check state. We must maintain the lock while adding the new pair so that // another thread can't run the list out from under us. We only add to the list if we have not // yet started execution. synchronized (lock) { if (!executed) { runnables = new RunnableExecutorPair(runnable, executor, runnables); return; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0)