- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,299 for coerce (0.03 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
fun receiveRequest(expected: String) = apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream -> if (!stream.source.exhausted()) throw AssertionError("expected exhausted") } } fun cancelStream() =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/GwtCompatible.java
/** * When {@code true}, the annotated type is emulated in GWT. The emulated source (also known as * super-source) is different from the implementation used by the JVM. * * @see <a href= * "https://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules"> * Documentation about GWT emulated source</a> */ boolean emulated() default false;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:15:36 UTC 2025 - 2K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
} assertThat(requestsMade.size).isEqualTo(0) mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() { val firstResponseCode = AtomicInteger()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordToLabelBhv.java
try { final RESULT result = entityType.newInstance(); result.setElevateWordId(DfTypeUtil.toString(source.get("elevateWordId"))); result.setLabelTypeId(DfTypeUtil.toString(source.get("labelTypeId"))); return updateEntity(source, result);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsGroupBhv.java
protected <RESULT extends Group> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber"))); result.setName(DfTypeUtil.toString(source.get("name"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt
import okhttp3.ResponseBody import okio.Buffer import okio.Source import okio.Timeout import okio.buffer internal class UnreadableResponseBody( private val mediaType: MediaType?, private val contentLength: Long, ) : ResponseBody(), Source { override fun contentType() = mediaType override fun contentLength() = contentLength override fun source() = buffer() override fun read( sink: Buffer,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 15:19:53 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
toAddress: InetAddress, source: BufferedSource, sink: BufferedSink, ) { executor.execute { val name = "SocksProxy $fromAddress to $toAddress" threadName(name) { val buffer = Buffer() try { sink.use { source.use { while (true) { val byteCount = source.read(buffer, 8192L)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/package-info.java
* limitations under the License. */ /** * Testing utilities for use in tests of {@code com.google.common.escape}. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. */ @CheckReturnValue package com.google.common.escape.testing;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jun 15 21:41:47 UTC 2023 - 920 bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/package-info.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ /** * Utilities for reflection. This package is a part of the open-source <a * href="https://github.com/google/guava">Guava</a> library. */ @CheckReturnValue @NullMarked package com.google.common.reflect; import com.google.errorprone.annotations.CheckReturnValue;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 908 bytes - Viewed (0)