- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for concurrentHashMap (0.27 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
// GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches // the behaviour of the non-GWT implementation of newConcurrentHashSet(). // On the other hand HashSet might be better for code size if apps aren't // already using Collections.newSetFromMap and ConcurrentHashMap. return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 5.3K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
val rootBuildDir: DirectoryProperty } private val projectStates: ConcurrentHashMap<String, TestFilesCleanupProjectState> = ConcurrentHashMap() /** * Key is the path of a task, value is the possible report dirs it generates. */ private val taskPathToReports: ConcurrentHashMap<String, List<ReportLocation>> = ConcurrentHashMap() /** * @see ReportLocation.resolve */ @VolatileCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/chat/ChatSessionManager.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.chat; import java.time.LocalDateTime; import java.util.Iterator; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.timer.TimeoutManager; import org.codelibs.core.timer.TimeoutTask;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 13.7K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
private val requestQueue = LinkedBlockingQueue<RecordedRequest>() private val openClientSockets = Collections.newSetFromMap(ConcurrentHashMap<Socket, Boolean>()) private val openConnections = Collections.newSetFromMap(ConcurrentHashMap<Http2Connection, Boolean>()) private val atomicRequestCount = AtomicInteger() private var serverSocketFactory_: ServerSocketFactory? = null
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
*/ package org.codelibs.fess.helper; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Consumer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.timer.TimeoutManager;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * The concurrent hash map implementation built by {@link MapMaker}. * * <p>This implementation is heavily derived from revision 1.96 of <a * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>. * * @param <K> the type of the keys in the map * @param <V> the type of the values in the map * @param <E> the type of the {@link InternalEntry} entry implementation used internallyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* @since 15.0 */ public static <E> Set<E> newConcurrentHashSet() { return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>()); } /** * Creates a thread-safe set backed by a hash map and containing the given elements. The set is * backed by a {@link ConcurrentHashMap} instance, and thus carries the same concurrency * guarantees. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * The concurrent hash map implementation built by {@link MapMaker}. * * <p>This implementation is heavily derived from revision 1.96 of <a * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>. * * @param <K> the type of the keys in the map * @param <V> the type of the values in the map * @param <E> the type of the {@link InternalEntry} entry implementation used internallyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Platform.java
import com.google.common.annotations.J2ktIncompatible; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
import java.net.InetSocketAddress import java.net.ProtocolException import java.net.Proxy import java.net.ServerSocket import java.net.Socket import java.net.SocketException import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.Executors import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicInteger import java.util.logging.Level import java.util.logging.Logger
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0)