- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 508 for eval (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class WebSocketWriterTest { private val data = Buffer() private val random = Random(0) /** * Check all data as verified inside of the test. We do this in an AfterEachCallback so that * exceptions thrown from the test do not cause this check to fail. */ @RegisterExtension val noDataLeftBehind = AfterEachCallback { context: ExtensionContext ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt
import org.junit.jupiter.api.Test class SettingsTest { @Test fun unsetField() { val settings = Settings() assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) } @Test fun setFields() { val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 2.5K bytes - Viewed (0) -
container-tests/build.gradle.kts
plugins { kotlin("jvm") } val platform = System.getProperty("okhttp.platform", "jdk9") val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Mar 17 14:46:34 UTC 2024 - 1.1K bytes - Viewed (1) -
okhttp-sse/src/test/java/okhttp3/sse/internal/Event.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sse.internal internal data class Event( val id: String?, val type: String?, val data: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 720 bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTableData.kt
* limitations under the License. */ package okhttp3.internal.idn /** Recipe to build an `IdnaMappingTable`. */ class IdnaMappingTableData( val sections: String, val ranges: String, val mappings: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 02 11:21:58 UTC 2023 - 777 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
*/ class RealConnection internal constructor( val taskRunner: TaskRunner, val connectionPool: RealConnectionPool, override val route: Route, /** The low-level TCP socket. */ private val rawSocket: JavaNetSocket, /** * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket] * itself if this connection does not use SSL. */ private val javaNetSocket: JavaNetSocket,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
@Tag("Slowish") class EventSourcesHttpTest { @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer() @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val listener = EventSourceRecorder() private val client = clientTestRule.newClient() @AfterEach fun after() { listener.assertExhausted() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 13:49:38 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
* on [ExchangeCodec], which handles the actual I/O. */ class Exchange( internal val call: RealCall, internal val eventListener: EventListener, internal val finder: ExchangeFinder, private val codec: ExchangeCodec, ) { /** True if the request body need not complete before the response body starts. */ internal var isDuplex: Boolean = false private set
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
"com.squareup.okhttp3.urlconnection", ) /** Equinox must also be on the testing classpath. */ private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi" private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8" private const val REPO_NAME = "OsgiTest" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0)