- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 253 for isSynchronized (0.22 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}. * * @author Kurt Alfred Kluever */ public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
/** * Initialize singleton context using custom properties * * This method can only be called once. * * @param props * @throws CIFSException */ public static synchronized final void init ( Properties props ) throws CIFSException { if ( INSTANCE != null ) { throw new CIFSException("Singleton context is already initialized"); } Properties p = new Properties();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 01 08:53:08 UTC 2019 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* is queried frequently and exceptions would be rather costly to * throw on a regular basis here. */ public synchronized static NbtAddress getByName( String host ) { return getByName( new Name( host, 0x20, null )); } synchronized static NbtAddress getByName( Name name ) { NbtAddress result = null; try { if( FILENAME != null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} } } protected synchronized void doDisconnect ( boolean hard ) throws IOException { doDisconnect(hard, false); } @Override protected synchronized boolean doDisconnect ( boolean hard, boolean inUse ) throws IOException { ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
synchronized (this) { if (!executed) { runnables = new RunnableExecutorPair(runnable, executor, runnables); return; } } executeListener(runnable, executor); } public void execute() { RunnableExecutorPair list; synchronized (this) { if (executed) { return; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
/** * Set the default <tt>NtlmAuthenticator</tt>. Once the default authenticator is set it cannot be changed. Calling * this metho again will have no effect. * * @param a */ public synchronized static void setDefault ( NtlmAuthenticator a ) { if ( auth != null ) { return; } auth = a; } /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* Multimap#replaceValues} methods return collections that aren't synchronized. * * <p>The returned multimap will be serializable if the specified multimap is serializable. * * @param multimap the multimap to be wrapped in a synchronized view * @return a synchronized view of the specified multimap */ @J2ktIncompatible // Synchronized public static <K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
return url; } return replaceUrl(pathMappingList, url); } public String replaceUrls(final String text) { if (cachedPathMappingList == null) { synchronized (this) { if (cachedPathMappingList == null) { init(); } } } String result = text;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
* * @param factory * The URL stream handler factory. */ public static void setURLStreamHandlerFactory ( URLStreamHandlerFactory factory ) { synchronized ( PROTOCOL_HANDLERS ) { if ( Handler.factory != null ) { throw new IllegalStateException("URLStreamHandlerFactory already set."); } PROTOCOL_HANDLERS.clear();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.9K bytes - Viewed (0)