Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for MutableSet (0.28 seconds)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

        var visited: Boolean = false
        val dependencies: MutableSet<ClassDetails> = linkedSetOf()
        val outputClassFilename
            get() = "$outputClassName.class"
    }
    
    
    class PackagePatterns(givenPrefixes: Set<String>) {
    
        private
        val prefixes: MutableSet<String> = hashSetOf()
    
        private
        val names: MutableSet<String> = hashSetOf()
    
        init {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Click Count (0)
  2. 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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

    import okio.Sink
    
    class FaultyFileSystem constructor(
      delegate: FileSystem?,
    ) : ForwardingFileSystem(delegate!!) {
      private val writeFaults: MutableSet<Path> = LinkedHashSet()
      private val deleteFaults: MutableSet<Path> = LinkedHashSet()
      private val renameFaults: MutableSet<Path> = LinkedHashSet()
    
      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          writeFaults.add(file)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

            val rootProjectDir: DirectoryProperty
        }
    
        @get:Inject
        abstract val execOperations: ExecOperations
    
        private
        val suspiciousDaemons = ConcurrentHashMap<String, MutableSet<String>>()
    
        private
        val daemonPids = ConcurrentHashMap.newKeySet<String>()
    
        private
        val logger = Logging.getLogger(DaemonTracker::class.java)
    
        override fun close() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

    class BasicTrustRootIndex(
      vararg caCerts: X509Certificate,
    ) : TrustRootIndex {
      private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>>
    
      init {
        val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>()
        for (caCert in caCerts) {
          map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert)
        }
        this.subjectToCaCerts = map
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top