- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 882 for val1 (0.03 sec)
-
okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt
lateinit var extensionContext: ExtensionContext @RegisterExtension @JvmField val beforeEachCallback = BeforeEachCallback { context -> ******@****.***ionContext = context } @Test fun uncaughtException() { val testRule = OkHttpClientTestRule() testRule.beforeEach(extensionContext) val thread = object : Thread() { override fun run() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt
@TaskAction fun check() { val contributorsInReleaseNotes = TreeSet(getContributorsInReleaseNotes().map { it.login }) val contributorsFromPullRequests = TreeSet(getContributorsFromPullRequests().map { it.login }) val contributorsInPullRequestsButNotInReleaseNotes = contributorsFromPullRequests.minus(contributorsInReleaseNotes)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
import okhttp3.OkHttpClient import okhttp3.Request class PerCallSettings { private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build() // Copy to customize OkHttp for this request. val client1 = client.newBuilder() .readTimeout(500, TimeUnit.MILLISECONDS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt
import okhttp3.Protocol import okhttp3.Response import okio.IOException /** An HTTP response status line like "HTTP/1.1 200 OK". */ class StatusLine( @JvmField val protocol: Protocol, @JvmField val code: Int, @JvmField val message: String, ) { override fun toString(): String { return buildString { if (protocol == Protocol.HTTP_1_0) { append("HTTP/1.0") } else {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt
*/ @RequiresApi(Build.VERSION_CODES.Q) @ExperimentalOkHttpApi class AndroidAsyncDns( private val dnsClass: AsyncDns.DnsClass, private val network: Network? = null, ) : AsyncDns { @RequiresApi(Build.VERSION_CODES.Q) internal val resolver = DnsResolver.getInstance() private val executor = Executors.newSingleThreadExecutor() override fun query( hostname: String, callback: AsyncDns.Callback,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 10:07:48 UTC 2024 - 2.8K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt
abstract class UpdateReleasedVersions : DefaultTask() { @get:Internal abstract val releasedVersionsFile: RegularFileProperty @get:Internal abstract val currentReleasedVersion: Property<ReleasedVersion> @TaskAction fun updateVersions() { val currentReleasedVersionValue = currentReleasedVersion.get() val releasedVersionsFileObject = releasedVersionsFile.get().asFile
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 3.5K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts
if (BuildEnvironment.isCiServer && project.name != "gradle-kotlin-dsl-accessors") { val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>() project.gradle.taskGraph.whenReady { val allTasks = ******@****.***ks val taskPathToReports = allTasks.associate { it.path to it.customReports() + it.attachedReportLocations() }.filter { it.value.isNotEmpty() }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 11 14:21:47 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
return object : ForwardingSource(source) { @Throws(IOException::class) override fun read( sink: Buffer, byteCount: Long, ): Long { val buffer = Buffer() val read = delegate.read(buffer, byteCount) if (read != -1L) { sink.write(buffer.readByteString().toAsciiUppercase()) } return read } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt
fun readHeaders(): Headers { val result = Headers.Builder() while (true) { val line = readLine() if (line.isEmpty()) break result.addLenient(line) } return result.build() } companion object { private const val HEADER_LIMIT = 256 * 1024 }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.4K bytes - Viewed (0) -
buildSrc/src/main/kotlin/AlpnVersions.kt
* https://github.com/xjdr/xio/blob/master/alpn-boot.gradle */ fun alpnBootVersion(): String? { val version = System.getProperty("alpn.boot.version") if (version != null) { return version } val javaVersion = System.getProperty("java.version") val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.8K bytes - Viewed (0)