- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 982 for builders (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
s.defaultReadObject(); int length = s.readInt(); ImmutableLongArray.Builder builder = ImmutableLongArray.builder(); for (int i = 0; i < length; i++) { builder.add(doubleToRawLongBits(s.readDouble())); } this.longs = new AtomicLongArray(builder.build().toArray()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
return builder(requireNonNull(request, "request cannot be null")) .source(requireNonNull(source, "source cannot be null")) .build(); } @Nonnull static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) { return builder() .session(requireNonNull(session, "session cannot be null"))
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 16.3K bytes - Click Count (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt
import java.io.IOException import okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR /** * Do not use this. * * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`: * * ``` * val okHttpClient = OkHttpClient.Builder() * .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR) * .build() * ``` */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
private final OkHttpClient client; public PreemptiveAuth() { client = new OkHttpClient.Builder() .addInterceptor( new BasicAuthInterceptor("publicobject.com", "jesse", "password1")) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
/** * Indicates whether the model building should happen in two phases. If enabled, the initial invocation of the model * builder will only produce an interim result which may be used to analyze inter-model dependencies before the * final invocation of the model builder is performed. * * @return {@code true} if two-phase building is enabled, {@code false} if the model should be built in a singleCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.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 Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
clientTestRule .newClientBuilder() .addInterceptor(empty) .addInterceptor { chain -> assertThat(chain.request().header("Accept-Encoding")).isNull() Response .Builder() .request(chain.request()) .protocol(Protocol.HTTP_1_1) .code(200) .message("OK") .body("Hello".toResponseBody())Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.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 Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 20:01:04 GMT 2025 - 1.3K bytes - Click Count (0)