Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for MutableSet (0.26 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

    import java.nio.file.Path
    
    
    abstract class IncubatingApiReportWorkAction : WorkAction<IncubatingApiReportParameter> {
    
        override fun execute() {
            try {
                val versionToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
                val repositoryRoot = parameters.repositoryRoot.get().asFile.toPath()
                parameters.srcDirs.forEach { srcDir ->
                    if (srcDir.exists()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

    }
    
    data class Problem(
        val name: String,
        val relativePath: String,
        val lineNumber: Int
    )
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            }
        }
    
        private
        fun visitTree(
            classDetails: ClassDetails,
            classesDir: File,
            jarOutputStream: JarOutputStream,
            visited: MutableSet<ClassDetails>
        ) {
    
            if (!visited.add(classDetails)) {
                return
            }
            if (classDetails.visited) {
                val fileName = classDetails.outputClassFilename
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
      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}"
    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)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        val projectPath: String,
        val projectBuildDir: Provider<File>,
        val reportOnly: Provider<Boolean>
    )
    
    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()
    }
    
    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)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

         */
        private fun computeTargetRuntimes(projects: Map<String, ProjectInfo>): Map<String, Map<TargetRuntime, Set<String>>> {
            val computedTargetRuntimes = mutableMapOf<String, MutableMap<TargetRuntime, MutableSet<String>>>()
            projects.forEach { (path, info) ->
                val details = info.details
                if (!details.requiredRuntimes.isEmpty()) {
                    (details.dependencies + path).forEach { dependency ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        /**
         * Returns the names of the request headers that need to be checked for equality when caching.
         */
        private fun Headers.varyFields(): Set<String> {
          var result: MutableSet<String>? = null
          for (i in 0 until size) {
            if (!"Vary".equals(name(i), ignoreCase = true)) {
              continue
            }
    
            val value = value(i)
            if (result == null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val cloned = call.clone()
        cloned.enqueue(callback)
        val firstResponse = callback.await(request.url).assertSuccessful()
        val secondResponse = callback.await(request.url).assertSuccessful()
        val bodies: MutableSet<String?> = LinkedHashSet()
        bodies.add(firstResponse.body)
        bodies.add(secondResponse.body)
        assertThat(bodies).contains("abc")
        assertThat(bodies).contains("def")
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
Back to Top