- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 982 for rval (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
} @Test fun doesNotConsumeBuffer() { val buffer = Buffer() buffer.writeUtf8("hello ".repeat(1024)) assertThat(buffer.isProbablyUtf8(100L)).isTrue() assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024)) } /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */ @Test fun doesNotReadEntireSource() { val unlimitedSource = object : Source {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.parallel.Isolated @Isolated @SdkSuppress(minSdkVersion = 28) class StrictModeTest { private val violations = mutableListOf<Violation>() @AfterEach fun cleanup() { StrictMode.setThreadPolicy( ThreadPolicy .Builder() .permitAll() .build(), ) } @TestCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 21 12:33:41 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
* * @param eventType the event type * @param resourceName the resource name */ public void sendNotification(WitnessEventType eventType, String resourceName) { // In a real implementation, this would send notifications to registered clients // For the mock, we just log it log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
logger/sql_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 8.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
*/ @Throws(IOException::class) fun sha256(): ByteString { val hashingSink = HashingSink.sha256(blackholeSink()) hashingSink.buffer().use { this.writeTo(it) } return hashingSink.hash } companion object { /** Empty request body with no content-type. */ @JvmField val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody() /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
scan.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 10.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
internal inline fun Lockable.notify() = (this as Object).notify() internal inline fun Lockable.notifyAll() = (this as Object).notifyAll() internal inline fun Lockable.awaitNanos(nanos: Long) { val ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) if (ms > 0L || nanos > 0) { (this as Object).wait(ms, ns.toInt()) } } internal inline fun Lockable.assertLockNotHeld() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 2.1K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
plugins { `jvm-test-suite` id("gradlebuild.dependency-modules") id("gradlebuild.code-quality") id("gradlebuild.jvm-compile") } val packageCyclesExtension = extensions.create<PackageCyclesExtension>("packageCycles").apply { excludePatterns.convention(emptyList()) } val sharedArchTestClasses by configurations.creating { isCanBeResolved = true isCanBeConsumed = false attributes {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 18:51:33 GMT 2025 - 3.2K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
try { // SSLSocket.getApplicationProtocol returns "" if application protocols values will not // be used. Observed if you didn't specify SSLParameters.setApplicationProtocols when (val protocol = sslSocket.applicationProtocol) { null, "" -> null else -> protocol } } catch (e: UnsupportedOperationException) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs_contrib_test.go
{"测试abc", 5, 5, "c", nil}, } for i, tc := range evalCases { res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length) if res != tc.resExpected || err != tc.errExpected { t.Errorf("Eval Case %d failed: %v %v", i, res, err) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.2K bytes - Click Count (0)