- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 974 for Eval (0.02 seconds)
-
.teamcity/src/main/kotlin/projects/PerformanceTestProject.kt
import model.PerformanceTestCoverage import model.PerformanceTestProjectSpec import model.Stage abstract class PerformanceTestProject( model: CIBuildModel, val spec: PerformanceTestProjectSpec, val performanceTests: List<PerformanceTest>, ) : Project({ this.id(spec.asConfigurationId(model)) this.name = spec.asName() }) { init {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 1.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt
*/ object ConnectInterceptor : Interceptor { @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val realChain = chain as RealInterceptorChain val exchange = realChain.call.initExchange(realChain) val connectedChain = realChain.copy(exchange = exchange) return connectedChain.proceed(realChain.request) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
println("Challenges: ${response.challenges()}") val credential = Credentials.basic("jesse", "password1") return response.request .newBuilder() .header("Authorization", credential) .build() } }, ).build() fun run() { val request = Request .Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
*/ @JvmField val minimumConcurrentCalls: Int = 0, /** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jun 03 17:10:08 GMT 2025 - 1.3K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt
* * If the task fails with "no license data in their POM or any parent POM", add a hardcoded * entry to the `hardcodedLicenses` map in `GenerateLicenseFile.kt`. */ enum class License( val displayName: String, val url: String, val aliases: List<String> = emptyList(), ) { Apache2( "Apache License, Version 2.0", "https://www.apache.org/licenses/LICENSE-2.0", listOf(
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 13:24:46 GMT 2026 - 3.9K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts
// Workaround for https://github.com/Kotlin/binary-compatibility-validator/issues/312 val apiBuild = tasks.register<KotlinApiBuildTask>("androidApiBuild") { outputApiFile = project.layout.buildDirectory.file("${this.name}/okhttp.api") inputClassesDirs.from(tasks.getByName("compileAndroidMain").outputs) } val apiCheck = tasks.register<KotlinApiCompareTask>("androidApiCheck") { group = "verification"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:00:38 GMT 2026 - 2.6K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
*/ @Ignore("Failing with Netty errors") class ApacheHttpClientHttp2Test { @Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client -> client.start() val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 2.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt
branch: VersionedSettingsBranch, ) : Project({ val model = CIBuildModel( projectId = "Check", branch = branch, buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")), )
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 03 10:41:06 GMT 2026 - 1.3K bytes - Click Count (0) -
internal/handlers/proxy_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package handlers import ( "net/http" "testing" ) type headerTest struct { key string // header key val string // header val expected string // expected result } func TestGetScheme(t *testing.T) { headers := []headerTest{ {xForwardedProto, "https", "https"}, {xForwardedProto, "http", "http"},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/features/https.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client: OkHttpClient init { val trustManager = trustManagerForCertificates(trustedCertificatesInputStream()) val sslContext = SSLContext.getInstance("TLS") sslContext.init(null, arrayOf<TrustManager>(trustManager), null) val sslSocketFactory = sslContext.socketFactory client = OkHttpClient.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 10.5K bytes - Click Count (0)