Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 670 for Eval (0.49 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

      /** Returns the service that will be used to resolve IP addresses for hostnames. */
      @get:JvmName("dns") val dns: Dns,
      /** Returns the socket factory for new connections. */
      @get:JvmName("socketFactory") val socketFactory: SocketFactory,
      /** Returns the SSL socket factory, or null if this is not an HTTPS address. */
      @get:JvmName("sslSocketFactory") val sslSocketFactory: SSLSocketFactory?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

            ),
          )
        val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
        assertThat(request.url.toString()).isEqualTo("http://host-from-header.com/")
      }
    
      private class FakeSocket(
        private val localAddress: InetAddress,
        private val localPort: Int,
        private val remoteAddress: InetAddress = localAddress,
        private val remotePort: Int = 1234,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      }
    
      companion object {
        private const val NO_CHUNK_YET = -1L
    
        private const val STATE_IDLE = 0 // Idle connections are ready to write request headers.
        private const val STATE_OPEN_REQUEST_BODY = 1
        private const val STATE_WRITING_REQUEST_BODY = 2
        private const val STATE_READ_RESPONSE_HEADERS = 3
        private const val STATE_OPEN_RESPONSE_BODY = 4
        private const val STATE_READING_RESPONSE_BODY = 5
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt

      }
    
      private companion object {
        val testInstances = CopyOnWriteArrayList<StartStopTest>()
    
        private val dispatcherD = ClosableDispatcher()
    
        @StartStop @JvmStatic
        val serverD =
          MockWebServer().apply {
            dispatcher = dispatcherD
          }
    
        private val dispatcherE = ClosableDispatcher()
    
        @StartStop @JvmStatic
        val serverE =
          MockWebServer().apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 11:13:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

    class StatisticBasedFunctionalTestBucketProvider(
        val model: CIBuildModel,
        testBucketsJson: File,
    ) : FunctionalTestBucketProvider {
        private val objectMapper = ObjectMapper().registerKotlinModule()
        private val buckets: Map<TestCoverage, List<BuildTypeBucket>> by lazy {
            val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 05:08:24 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      }
    
      companion object {
        @JvmField val JOURNAL_FILE = "journal"
    
        @JvmField val JOURNAL_FILE_TEMP = "journal.tmp"
    
        @JvmField val JOURNAL_FILE_BACKUP = "journal.bkp"
    
        @JvmField val MAGIC = "libcore.io.DiskLruCache"
    
        @JvmField val VERSION_1 = "1"
    
        @JvmField val ANY_SEQUENCE_NUMBER: Long = -1
    
        @JvmField val LEGAL_KEY_PATTERN = "[a-z0-9_-]{1,120}".toRegex()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

      }
    
      @Test
      fun equalsAndHashCode() {
        val allCipherSuites =
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .allEnabledCipherSuites()
            .build()
        val allTlsVersions =
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .allEnabledTlsVersions()
            .build()
        val set: MutableSet<Any> = CopyOnWriteArraySet()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

    class Jdk8WithJettyBootPlatform(
      private val putMethod: Method,
      private val getMethod: Method,
      private val removeMethod: Method,
      private val clientProviderClass: Class<*>,
      private val serverProviderClass: Class<*>,
    ) : Platform() {
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        val names = alpnProtocolNames(protocols)
    
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        val serverRoot =
          HeldCertificate
            .Builder()
            .certificateAuthority(1)
            .build()
        val serverIntermediate =
          HeldCertificate
            .Builder()
            .certificateAuthority(0)
            .signedBy(serverRoot)
            .build()
        val serverCertificate =
          HeldCertificate
            .Builder()
            .signedBy(serverIntermediate)
            .build()
        val server =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/Client.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    data class Client(
      val userAgent: String,
      val version: String,
      val platform: String? = null,
      val enabled: List<SuiteId> = listOf(),
      val supported: List<SuiteId> = listOf(),
    ) {
      val nameAndVersion: String
        get() = "$userAgent/$version"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 883 bytes
    - Viewed (0)
Back to top