Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newKeySet (0.05 sec)

  1. guava/src/com/google/common/collect/Platform.java

        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a thread-safe hash set. */
      static <E> Set<E> newConcurrentHashSet() {
        return ConcurrentHashMap.newKeySet();
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered set based on a hash
       * table.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

      private var serverSocket: ServerSocket? = null
      private val connectionCount = AtomicInteger()
      private val openSockets: MutableSet<Socket> = ConcurrentHashMap.newKeySet()
    
      fun play() {
        serverSocket = ServerSocket(0)
        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top