- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 863 for Val (0.02 sec)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
delegate.shutdown() } } } internal fun MockResponse.wrap(): mockwebserver3.MockResponse { val result = mockwebserver3.MockResponse.Builder() val copyFromWebSocketListener = webSocketListener if (copyFromWebSocketListener != null) { result.webSocketUpgrade(copyFromWebSocketListener) } val body = getBody() if (body != null) result.body(body) for (pushPromise in pushPromises) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicKotlinDslApi.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 903 bytes - Viewed (0) -
src/main/webapp/js/advance.js
$(function() { var $searchButton = $("#searchButton"), contextPath = $("#contextPath").val(); $("#searchForm").on("submit", function(e) { $searchButton.attr("disabled", true); setTimeout(function() { $searchButton.attr("disabled", false); }, 3000); return true; }); if (typeof $.fn.suggestor === "function") { $("#as_q").suggestor({ ajaxinfo: { url: contextPath + "/api/v1/suggest-words",
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Mar 30 05:45:24 UTC 2023 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
import okhttp3.Request class CacheResponse(cacheDirectory: File) { private val client: OkHttpClient = OkHttpClient.Builder() .cache( Cache( directory = cacheDirectory, // 1 MiB. maxSize = 10L * 1024L * 1024L, ), ) .build() fun run() { val request = Request.Builder() .url("http://publicobject.com/helloworld.txt")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
.teamcity/src/test/kotlin/BuildTypeTest.kt
} private val buildModel = CIBuildModel( projectId = "Gradle_Check", branch = VersionedSettingsBranch("master"), buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")) ) @Test fun `CompileAll parameters are correct`() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 07:24:00 UTC 2024 - 4.7K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.survey.types import okio.ByteString data class SuiteId(val id: ByteString?, val name: String) { fun matches(suiteId: SuiteId): Boolean { return id == suiteId.id || name.substring(4) == suiteId.name.substring(4) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 842 bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
abstract class IncubatingApiReportAggregationWorkAction : WorkAction<IncubatingApiReportAggregationParameter> { override fun execute() { val byCategory = mutableMapOf<String, ReportNameToProblems>() parameters.reports.files.sorted().forEach { file -> file.forEachLine(Charsets.UTF_8) { val (version, _, problem) = it.split(';') byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 18 06:55:55 UTC 2021 - 3.4K bytes - Viewed (0) -
mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt
* ``` * * For Kotlin the `@JvmField` annotation is also necessary: * * ```kotlin * @JvmField @Rule val serverRule = MockWebServerRule() * ``` */ @ExperimentalOkHttpApi class MockWebServerRule : ExternalResource() { val server: MockWebServer = MockWebServer() override fun before() { try { server.start() } catch (e: IOException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
} override fun onRetryChange(timeMs: Long) { callbacks.add(timeMs) } } val buffer = Buffer().writeUtf8(source) val reader = ServerSentEventReader(buffer, callback) while (reader.processNextEvent()) { } assertThat(buffer.size, "Unconsumed buffer: ${buffer.readUtf8()}") .isEqualTo(0) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/SleepNanos.kt
* See the License for the specific language governing permissions and * limitations under the License. * */ package mockwebserver3.internal internal fun sleepNanos(nanos: Long) { val ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) if (ms > 0L || nanos > 0) { Thread.sleep(ms, ns.toInt()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 811 bytes - Viewed (0)