Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mutableSetOf (0.11 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        rootComponent: ResolvedComponentResult,
        rootVariant: ResolvedVariantResult
    ): Set<ComponentIdentifier> {
        val locallyAccessible = mutableSetOf<ComponentIdentifier>()
        val externallyAccessible = mutableSetOf<ComponentIdentifier>()
    
        val seen = mutableSetOf<ResolvedVariantResult>()
        val queue = ArrayDeque<DependencyResult>()
    
        val rootDependencies = rootComponent.getDependenciesForVariant(rootVariant)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                            try {
                                collector.collectFrom(sourceFile).forEach { (version, incubating) ->
                                    versionToIncubating.getOrPut(version) { mutableSetOf() }.addAll(incubating)
                                }
                            } catch (e: Exception) {
                                throw Exception("Unable to parse $sourceFile", e)
                            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
                        mutableMapOf()
                    }.getOrPut(file.nameWithoutExtension) {
                        mutableSetOf()
                    }.add(problem)
                }
            }
            generateReport(byCategory)
        }
    
        private
        fun toCategory(version: String, gradleModule: String) = when {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt

     * a specific IP address or proxy server, that failure is remembered and alternate routes are
     * preferred.
     */
    class RouteDatabase {
      private val _failedRoutes = mutableSetOf<Route>()
    
      val failedRoutes: Set<Route>
        @Synchronized get() = _failedRoutes.toSet()
    
      /** Records a failure connecting to [failedRoute]. */
      @Synchronized fun failed(failedRoute: Route) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

      init {
        val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>()
        for (caCert in caCerts) {
          map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert)
        }
        this.subjectToCaCerts = map
      }
    
      override fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate? {
        val issuer = cert.issuerX500Principal
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                            }
                        }
                    }
                }
            }
    
        private
        fun cleanUpDaemons() {
            val alreadyKilled = mutableSetOf<String>()
            forEachJavaProcess { pid, _ ->
                suspiciousDaemons.forEach { (suite, pids) ->
                    if (pid in pids && pid !in alreadyKilled) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

       */
      private val enforceOrder: Boolean = true,
    ) : ConnectionListener() {
      val eventSequence: Deque<ConnectionEvent> = ConcurrentLinkedDeque()
    
      private val forbiddenLocks = mutableSetOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      val writer = Http2Writer(builder.sink, client)
    
      // Visible for testing
      val readerRunnable = ReaderRunnable(Http2Reader(builder.source, client))
    
      // Guarded by this.
      private val currentPushRequests = mutableSetOf<Int>()
    
      init {
        if (builder.pingIntervalMillis != 0) {
          val pingIntervalNanos = TimeUnit.MILLISECONDS.toNanos(builder.pingIntervalMillis.toLong())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top