- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 836 for buildTar (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
import okhttp3.Request; import okhttp3.Response; public final class CurrentDateHeader { private final OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new CurrentDateInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 31 15:32:50 GMT 2018 - 1.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
import okio.ByteString; public final class WebSocketEcho extends WebSocketListener { private void run() { OkHttpClient client = new OkHttpClient.Builder() .readTimeout(0, TimeUnit.MILLISECONDS) .build(); Request request = new Request.Builder() .url("ws://echo.websocket.org") .build(); client.newWebSocket(request, this);Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
if (array.length == 0) { return ""; } // For pre-sizing a builder, just get the right order of magnitude StringBuilder builder = new StringBuilder(array.length * 7); builder.append(array[0]); for (int i = 1; i < array.length; i++) { builder.append(separator).append(array[i]); } return builder.toString(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
public ConfigureTimeouts() throws Exception { client = new OkHttpClient.Builder() .connectTimeout(5, TimeUnit.SECONDS) .writeTimeout(5, TimeUnit.SECONDS) .readTimeout(5, TimeUnit.SECONDS) .callTimeout(10, TimeUnit.SECONDS) .build(); } public void run() throws Exception { Request request = new Request.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Sep 28 18:00:26 GMT 2019 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
/** * @throws Exception */ @Test public void testReaderToStringBuilder() throws Exception { final int result = copy(reader, builder); assertThat(result, is(srcString.length())); assertThat(new String(builder), is(srcString)); } /** * @throws Exception */ @Test public void testUrlToWriter() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt
* limitations under the License. */ package okhttp3.zstd import okhttp3.CompressionInterceptor import okhttp3.OkHttpClient import okhttp3.Request fun main() { val client = OkHttpClient .Builder() .addInterceptor(CompressionInterceptor(Zstd)) .build() sendRequest("https://developers.facebook.com/docs/", client) sendRequest("https://www.facebook.com/robots.txt", client)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 20:01:04 GMT 2025 - 1.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class Authenticate { private final OkHttpClient client; public Authenticate() { client = new OkHttpClient.Builder() .authenticator((route, response) -> { if (response.request().header("Authorization") != null) { return null; // Give up, we've already attempted to authenticate. }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
Runnable setUpRunnable = () -> setUp[0] = true; boolean[] tearDown = {false}; Runnable tearDownRunnable = () -> tearDown[0] = true; MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam") .withFeatures(CollectionFeature.NONE) .withSetUp(setUpRunnable)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
private final ElementOrder<N> incidentEdgeOrder; /** Constructs a mutable graph with the properties specified in {@code builder}. */ StandardMutableValueGraph(AbstractGraphBuilder<? super N> builder) { super(builder); incidentEdgeOrder = builder.incidentEdgeOrder.cast(); } @Override public ElementOrder<N> incidentEdgeOrder() { return incidentEdgeOrder; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return new StandardImplForwardingSortedMap<>(builder.build()); } })
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 7.7K bytes - Click Count (0)