- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 347 for synchronize (0.06 seconds)
-
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
} /** * Adds a key-value pair to the information map. * Initializes the info map as a synchronized LinkedHashMap if it doesn't exist. * * @param key the parameter key to store * @param value the parameter value to store */ public synchronized void putToInfoMap(final String key, final String value) { if (infoMap == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 15.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt
package okhttp3 import javax.net.ssl.HostnameVerifier import javax.net.ssl.SSLSession class RecordingHostnameVerifier : HostnameVerifier { @JvmField val calls: MutableList<String> = mutableListOf() @Synchronized override fun verify( hostname: String, session: SSLSession, ): Boolean { calls.add("verify $hostname") return true }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 980 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
Multimap<K, V> multimap = synchronizedMultimap(HashMultimap.<K, V>create()); Collection<V> values = multimap.get(key); // Needn't be in synchronized block synchronized (multimap) { // Synchronizing on multimap, not values! Iterator<V> i = values.iterator(); // Must be in synchronized block while (i.hasNext()) { foo(i.next()); } } } private static void foo(Object unused) {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
delegate.clear(); } @Override public Collection<V> values() { assertTrue(Thread.holdsLock(mutex)); /* TODO: verify that the Collection is also synchronized? */ return delegate.values(); } @Override public Set<Cell<R, C, V>> cellSet() { assertTrue(Thread.holdsLock(mutex)); return delegate.cellSet(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
* this metho again will have no effect. * * @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; } auth = a; } /** * Gets the default NTLM authenticator.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (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(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0)