- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 285 for synchronized (0.06 sec)
-
android/guava/src/com/google/common/base/Suppliers.java
@SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} } obj = getCachedAddress(name); if (obj == null) { synchronized (LOOKUP_TABLE) { LOOKUP_TABLE.put(name, name); } } return obj; } private static void updateLookupTable(final Name name) { synchronized (LOOKUP_TABLE) { LOOKUP_TABLE.remove(name); LOOKUP_TABLE.notifyAll(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/Handler.java
* * @param factory The URL stream handler factory. */ public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) { synchronized (PROTOCOL_HANDLERS) { if (Handler.factory != null) { throw new IllegalStateException("URLStreamHandlerFactory already set."); } PROTOCOL_HANDLERS.clear();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
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(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (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 =Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
return hashAlgorithm; } public byte[] getCurrentHash() { synchronized (hashLock) { return currentHash.clone(); } } public void updateHash(byte[] newHash) { synchronized (hashLock) { if (newHash != null && newHash.length == currentHash.length) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
* * @param text the text containing URLs * @return the text with replaced URLs */ public String replaceUrls(final String text) { if (cachedPathMappingList == null) { synchronized (this) { if (cachedPathMappingList == null) { init(); } } } String result = text;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (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. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 2.1K bytes - Viewed (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.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0)