Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for newKeySet (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

            return (Set<String>) session.getData()
                    .computeIfAbsent(
                            PomInlinerTransformer.class.getName() + ".needsInlining", ConcurrentHashMap::newKeySet);
        }
    
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (!Features.consumerPom(session.getConfigProperties())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

        private val projectsWithNullAwayEnabled = ConcurrentHashMap.newKeySet<String>()
        private val projectsWithUncheckedDeps = ConcurrentHashMap.newKeySet<String>()
        private val projectsToEnableNullaway = ConcurrentHashMap.newKeySet<String>()
    
        private fun ensureProjectNotSeen(projectPath: String) {
            require(projectPath !in projectsWithNullAwayEnabled)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. 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.
       */
    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)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    )
    
    private class ConcurrentMultiMap<K, V> {
        private val map = ConcurrentHashMap<K, MutableSet<V>>()
    
        fun add(key: K, value: V) =
            map.computeIfAbsent(key, { _ -> ConcurrentHashMap.newKeySet() }).add(value)
    
        fun getOrEmpty(key: K): Set<V> = map[key] ?: emptySet()
    }
    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  5. 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 {
    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)
Back to Top