Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 1,950 for func (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

       * @param last when true, there are no data frames to follow.
       */
      @Throws(IOException::class)
      fun onData(
        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
      /** Indicates the reason why this stream was canceled. */
      fun onReset(
        streamId: Int,
        errorCode: ErrorCode,
      )
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

                "experimental",
                "placeholder-1",
                "whatever",
            ]
        )
        fun branchesWithVcsTriggerDisabled(branchName: String) {
            val vsb = VersionedSettingsBranch(branchName)
            assertFalse(vsb.enableVcsTriggers)
            assertNull(vsb.nightlyPromotionTriggerHour)
        }
    
        @Test
        fun invalidBranches() {
            Assertions.assertThrows(Exception::class.java) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jan 31 07:59:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      internal fun executed(call: RealCall) =
        this.withLock {
          runningSyncCalls.add(call)
        }
    
      /** Used by [AsyncCall.run] to signal completion. */
      internal fun finished(call: AsyncCall) {
        call.callsPerHost.decrementAndGet()
        finished(runningAsyncCalls, call)
      }
    
      /** Used by [Call.execute] to signal completion. */
      internal fun finished(call: RealCall) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        return thisTypeAsKt.endsWith(ktTypeRawName)
    }
    
    
    private
    fun KtFile.ktClassOf(member: CtClass) =
        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          }
        }
    
        fun matchesCertificate(certificate: X509Certificate): Boolean {
          return when (hashAlgorithm) {
            "sha256" -> hash == certificate.sha256Hash()
            "sha1" -> hash == certificate.sha1Hash()
            else -> false
          }
        }
    
        override fun toString(): String = "$hashAlgorithm/${hash.base64()}"
    
        override fun equals(other: Any?): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                },
                file
            )
        }
    
        private
        fun getBuildTimestampAsString() =
            buildTimestamp.get().let { timestampFormat.format(it) }
    
        private
        fun getBuildTimestampAsIsoString() =
            buildTimestamp.get().let { isoTimestampFormat.format(it) }
    
        private
        fun Logger.logBuildVersion() {
            lifecycle(
                "Version: ${version.get()} " +
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        OkHttpClient.Builder()
          .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
          .build()
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        server.protocols = bootstrapClient.protocols
        dns = buildLocalhost(bootstrapClient, false)
      }
    
      @Test
      fun getOne() {
        server.enqueue(
          dnsResponse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionMultipleInstancesTest.kt

    import org.junit.jupiter.api.Test
    
    class ExtensionMultipleInstancesTest {
      var defaultInstancePort: Int = -1
      var instanceAPort: Int = -1
      var instanceBPort: Int = -1
    
      @BeforeEach
      fun setup(
        defaultInstance: MockWebServer,
        @MockWebServerInstance("A") instanceA: MockWebServer,
        @MockWebServerInstance("B") instanceB: MockWebServer,
      ) {
        defaultInstancePort = defaultInstance.port
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ChannelSocketFactory.kt

    import javax.net.SocketFactory
    
    class ChannelSocketFactory : SocketFactory() {
      override fun createSocket(): Socket {
        return SocketChannel.open().socket()
      }
    
      override fun createSocket(
        host: String,
        port: Int,
      ): Socket = TODO("Not yet implemented")
    
      override fun createSocket(
        host: String,
        port: Int,
        localHost: InetAddress,
        localPort: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        )
      }
    
      @Test
      fun commonName() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo("CN=cash.app")
      }
    
      @Test
      fun organizationalUnit() {
        val heldCertificate =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top