- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 798 for eval (0.02 seconds)
-
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
*/ class JavaHttpClientTest { @JvmField @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer() @Test fun get() { // Not available platform.expectFailureOnJdkVersion(8) val httpClient = HttpClient .newBuilder() .followRedirects(NORMAL) .build()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 25 13:16:02 GMT 2026 - 2.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
// In this case, we simply put the elements into these buckets evenly. return list.chunked(list.size / expectedBucketNumber, smallElementAggregateFunction) } val largestElement = list.removeFirst()!! val largestElementSize = toIntFunction(largestElement) if (largestElementSize >= roughSizeOfEachBucket) { var bucketNumberOfFirstElement = determineBucketNumberForLargeElment(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 5.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt
abstract class UpdateSmokeTestedPluginsVersions : AbstractVersionsUpdateTask() { @TaskAction fun update() { val pluginIds = getPluginIds() val fetchedVersions = fetchLatestVersions(pluginIds) updateProperties(fetchedVersions) } private fun getPluginIds(): List<String> { val props = Properties() propertiesFile.get().asFile.reader().use { input -> props.load(input) }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Sep 18 16:06:17 GMT 2025 - 2.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt
import model.Stage open class BaseGradleBuildType( open val stage: Stage? = null, open val failStage: Boolean = true, init: BaseGradleBuildType.() -> Unit = {}, ) : BuildType() { init { this.init() } } open class OsAwareBaseGradleBuildType( val os: Os, override val stage: Stage? = null, override val failStage: Boolean = true, init: OsAwareBaseGradleBuildType.() -> Unit = {},
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 07 10:42:35 GMT 2026 - 602 bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt
open class DelegatingServerSocketFactory( private val delegate: ServerSocketFactory, ) : ServerSocketFactory() { @Throws(IOException::class) override fun createServerSocket(): ServerSocket { val serverSocket = delegate.createServerSocket() return configureServerSocket(serverSocket) } @Throws(IOException::class) override fun createServerSocket(port: Int): ServerSocket { val serverSocket = delegate.createServerSocket(port)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePackageInfoDataTask.kt
} @get:InputFiles @get:PathSensitive(PathSensitivity.RELATIVE) abstract val packageInfoFiles: ConfigurableFileCollection @get:OutputFile abstract val outputFile: RegularFileProperty private val baseDir = project.layout.settingsDirectory.asFile @TaskAction fun action() { val results = mutableListOf<Pair<String, String>>() for (packageInfoFile in packageInfoFiles.files) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 2.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt
* a stale [EventListener] in a field or local variable. */ class EventListenerRelay( val call: Call, val eventRecorder: EventRecorder, ) { private val eventListenerAdapter = EventListenerAdapter() .apply { listeners += ::onEvent } val eventListener: EventListener get() = eventListenerAdapter var eventCount = 0
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.5K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
companion object { private val activeLoggers = mutableListOf<Logger>() fun configureLogging( debug: Boolean, showHttp2Frames: Boolean, sslDebug: Boolean, ) { if (debug || showHttp2Frames || sslDebug) { if (sslDebug) { System.setProperty("javax.net.debug", "") } LogManager.getLogManager().reset() val handler =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
@Test fun testDoubleQuotesAreSpecial() { val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"") assertNull(mediaType.charsetName()) } @Test fun testSingleQuotesAreNotSpecial() { val mediaType = parse("text/plain;a=';charset=utf-8;b='") assertEquals("UTF-8", mediaType.charsetName()) } @Test fun testParseWithSpecialCharacters() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 7.5K bytes - Click Count (0) -
okhttp-dnsoverhttps/README.md
``` ### Usage ``` val appCache = Cache(File("cacheDir", "okhttpcache"), 10 * 1024 * 1024) val bootstrapClient = OkHttpClient.Builder().cache(appCache).build() val dns = DnsOverHttps.Builder().client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl()) .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8")) .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 739 bytes - Click Count (0)