Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 90 for mutableListOf (0.07 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

              value: List<T>,
            ) {
              for (v in value) {
                toDer(writer, v)
              }
            }
    
            override fun decode(reader: DerReader): List<T> {
              val result = mutableListOf<T>()
              while (reader.hasNext()) {
                result += fromDer(reader)
              }
              return result
            }
          }
    
        return BasicDerAdapter(name, tagClass, tag, codec)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

      }
    
      companion object {
        val fileSystem = FileSystem.SYSTEM
    
        /** Each is the Bundle-SymbolicName of an OkHttp module's OSGi configuration.  */
        private val REQUIRED_BUNDLES: List<String> =
          mutableListOf(
            "com.squareup.okhttp3",
            "com.squareup.okhttp3.brotli",
            "com.squareup.okhttp3.dnsoverhttps",
            "com.squareup.okhttp3.logging",
            "com.squareup.okhttp3.sse",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val queue: Deque<Certificate> = ArrayDeque(chain)
        val result = mutableListOf<Certificate>()
        result.add(queue.removeFirst())
        var foundTrustedCertificate = false
    
        followIssuerChain@
        for (c in 0 until MAX_SIGNERS) {
          val toVerify = result[result.size - 1] as X509Certificate
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

              "TLSv1.3",
              "TLSv1.2",
              "TLSv1.1",
              "TLSv1",
            )
        }
      }
    
      @Test
      @Disabled
      fun testFacebook() {
        val sessionIds = mutableListOf<String>()
    
        assumeNetwork()
    
        client =
          client
            .newBuilder()
            .eventListenerFactory(
              clientTestRule.wrap(
                object : EventListener() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            if (!milestone.isPresent) {
                error("Milestone not set: please rerun the task with `--milestone <milestone>`")
            }
            val prs: MutableList<GitHubPullRequest> = mutableListOf()
            for (page in 1..10) {
                val prPage = getMergedContributorPullRequests(page)
                prs.addAll(prPage)
                if (prPage.size < PAGE_SIZE) {
                    break
                }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 07:54:08 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

      /** The full set of events, used to match starts with ends. */
      private val eventsForMatching = ConcurrentLinkedDeque<CallEvent>()
    
      private val forbiddenLocks = mutableListOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

      var canceled = false
      var autoGeneratePlans = false
      var defaultConnectionIdleAtNanos = Long.MAX_VALUE
      private var nextPlanId = 0
      private var nextPlanIndex = 0
      val plans = mutableListOf<FakePlan>()
    
      override val deferredPlans = ArrayDeque<RoutePlanner.Plan>()
    
      override val address = factory.newAddress("example.com")
    
      fun addPlan(): FakePlan =
        FakePlan(nextPlanId++).also {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

      fun testSessionReuse(tlsVersion: String = burstValues("TLSv1.2", "TLSv1.3")) {
        if (tlsVersion == TlsVersion.TLS_1_3.javaName) {
          assumeTrue(PlatformVersion.majorVersion != 8)
        }
    
        val sessionIds = mutableListOf<String>()
    
        enableTls()
    
        val tlsVersion = TlsVersion.forJavaName(tlsVersion)
        val spec =
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(tlsVersion)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 5.9K bytes
    - Viewed (1)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          val type = typeSubtype.groupValues[1].lowercase()
          val subtype = typeSubtype.groupValues[2].lowercase()
    
          val parameterNamesAndValues = mutableListOf<String>()
          var s = typeSubtype.range.last + 1
          while (s < length) {
            val parameter = PARAMETER.matchAt(this, s)
            require(parameter != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/projects/StageProject.kt

            docsTestProjects.forEach(this::subProject)
            docsTestTriggers = docsTestProjects.map { DocsTestTrigger(model, it) }
            docsTestTriggers.forEach(this::buildType)
    
            flakyTestQuarantineTriggers = mutableListOf()
            if (stage.stageName == StageName.READY_FOR_RELEASE) {
                listOf(Os.LINUX, Os.WINDOWS, Os.MACOS).forEach {
                    val flakyTestQuarantineProject = FlakyTestQuarantineProject(model, stage, it)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 16 00:34:25 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top