- Sort Score
- Result 10 results
- Languages All
Results 1731 - 1740 of 3,823 for code (0.02 sec)
-
src/cmd/asm/internal/asm/testdata/riscv64error.s
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. TEXT errors(SB),$0 MOV $errors(SB), (X5) // ERROR "address load must target register" MOV $8(SP), (X5) // ERROR "address load must target register" MOVB $8(SP), X5 // ERROR "unsupported address load" MOVH $8(SP), X5 // ERROR "unsupported address load"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt
val call = client.newCall( Request.Builder() .url("https://www.google.ca/") .build(), ) val response = call.execute() try { println(response.code) println("PROTOCOL ${response.protocol}") var line: String? while (response.body.source().readUtf8Line().also { line = it } != null) { println(line) } } finally {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
Request request = new Request.Builder() .url("https://google.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { assertEquals(200, response.code()); assertEquals(Protocol.HTTP_2, response.protocol()); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Nov 14 17:38:22 UTC 2020 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java
* the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.SortedSet; import junit.framework.TestCase; /** * Unit tests for {@code SortedIterables}. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SortedIterablesTest extends TestCase { public void testSameComparator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
} override fun onResponse( call: Call, response: Response, ) { response.use { if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body.string()) } } }, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
*/ package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer() val byteCount = size.coerceAtMost(64)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingDequeTest.java
package com.google.common.collect; import com.google.common.base.Function; import com.google.common.testing.ForwardingWrapperTester; import java.util.Deque; import junit.framework.TestCase; /** * Tests for {@code ForwardingDeque}. * * @author Kurt Alfred Kluever */ public class ForwardingDequeTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StopwatchJavaTimeTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.FakeTicker; import java.time.Duration; import junit.framework.TestCase; /** Unit test for the {@code java.time} support in {@link Stopwatch}. */ @J2ktIncompatible @GwtIncompatible public class StopwatchJavaTimeTest extends TestCase { private final FakeTicker ticker = new FakeTicker();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SortedIterablesTest.java
* the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.SortedSet; import junit.framework.TestCase; /** * Unit tests for {@code SortedIterables}. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SortedIterablesTest extends TestCase { public void testSameComparator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorExt.java
*/ @Deprecated(since = "4.0.0") public interface ModelProblemCollectorExt extends ModelProblemCollector { /** * The collected problems. * @return a list of model problems encountered, never {@code null} */ List<ModelProblem> getProblems();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0)