- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,075 for Executes (0.04 seconds)
-
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
request .newBuilder() .build() val call = client.newCall(networkRequest) call.execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.cacheResponse).isNull() } val cachedCall = client.newCall(request) cachedCall.execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.cacheResponse).isNotNull()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 22 20:03:31 GMT 2025 - 2.3K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
@After fun tearDown() { engine.shutdown() cacheDir.deleteRecursively() } @Test fun get() { val executor = Executors.newCachedThreadPool() val completableFuture = execute(engine, executor, "https://google.com/robots.txt") try { val response = completableFuture.get(10, TimeUnit.SECONDS) assertEquals(200, response.code)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
@Test public void testAuthenticate_NoAuthorizationHeader() throws IOException { // Setup: No "Authorization" header when(mockRequest.getHeader("Authorization")).thenReturn(null); // Execute NtlmPasswordAuthentication result = NtlmSsp.authenticate(mockCifsContext, mockRequest, mockResponse, challenge); // Verify assertNull(result, "Authentication result should be null");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
import java.io.Serializable import java.util.concurrent.atomic.AtomicBoolean /** * Register a build service that monitors a list of tasks and reports CACHE_MISS if they're actually executed. */ if (buildCacheEnabled()) { registerBuildScanInfoCollectingService(CacheMissMonitorBuildService::class.java, ::isCacheMissMonitoredTask) { gradleRootProject, cacheMissInBuildLogic, cacheMissInMainBuild ->
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 4.8K bytes - Click Count (0) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); byte[] nameBytes = pipeName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100]; // Execute int bytesEncoded = request.encode(buffer, 0); // Verify assertEquals(14 + nameBytes.length, bytesEncoded); // Check timeout (should be 0)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body; try (Response response1 = client.newCall(request).execute()) { if (!response1.isSuccessful()) throw new IOException("Unexpected code " + response1); response1Body = response1.body().string(); System.out.println("Response 1 response: " + response1);
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 2.4K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.plugin.lifecycle; /** * A set of goals to execute. * * @version $Revision$ $Date$ */ @SuppressWarnings("all") public class Execution implements java.io.Serializable { // --------------------------/ // - Class/Member Variables -/Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
// but we mainly want to ensure the method signature is correct testTarget.expired(); // If we get here, the method executed successfully assertTrue("expired method executed successfully", true); } catch (Throwable t) { // In test environments, system monitoring may fail due to missing dependenciesCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
bulkRequestBuilder.add(indexRequestBuilder); } } final BulkResponse response = bulkRequestBuilder.execute().actionGet(settings.getBulkTimeout()); final SuggestWriterResult result = new SuggestWriterResult(); if (response.hasFailures()) { for (final BulkItemResponse bulkItemResponses : response.getItems()) {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 20 08:32:33 GMT 2025 - 4.5K bytes - Click Count (0)