- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,223 for builder (0.06 sec)
-
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
return new MapMakerInternalMap<>(builder, StrongKeyWeakValueEntry.Helper.<K, V>instance()); } if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.STRONG) { return new MapMakerInternalMap<>(builder, WeakKeyStrongValueEntry.Helper.<K, V>instance()); } if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.WEAK) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
return build(session, Sources.fromPath(installationSettingsPath), null, Sources.fromPath(userSettingsPath)); } @Nonnull static SettingsBuilderRequest build( @Nonnull ProtoSession session, @Nullable Source installationSettingsSource, @Nullable Source projectSettingsSource, @Nullable Source userSettingsSource) { return builder()
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
var status: String = "" private var headersBuilder = Headers.Builder() private var trailersBuilder = Headers.Builder() @set:JvmName("headers") var headers: Headers get() = headersBuilder.build() set(value) { this.headersBuilder = value.newBuilder() } @set:JvmName("trailers") var trailers: Headers get() = trailersBuilder.build() set(value) { this.trailersBuilder = value.newBuilder()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 7.1K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
val builder = cacheResponse.newBuilder() if (ageMillis + minFreshMillis >= freshMillis) { builder.addHeader("Warning", "110 HttpURLConnection \"Response is stale\"") } val oneDayMillis = 24 * 60 * 60 * 1000L if (ageMillis > oneDayMillis && isFreshnessLifetimeHeuristic()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
* * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be * cast to a {@link java.util.SortedMap}. * * <p>Multimaps generated by the resulting builder will not be serializable if {@code comparator} * is not serializable. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
* * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be * cast to a {@link java.util.SortedMap}. * * <p>Multimaps generated by the resulting builder will not be serializable if {@code comparator} * is not serializable. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt
@SdkSuppress(minSdkVersion = 28) class StrictModeTest { private val violations = mutableListOf<Violation>() @After fun cleanup() { StrictMode.setThreadPolicy( ThreadPolicy .Builder() .permitAll() .build(), ) } @Test fun testInit() { Platform.resetForTests() applyStrictMode() // Not currently safe // See https://github.com/square/okhttp/pull/8248Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
private final OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new LoggingInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); Response response = client.newCall(request).execute(); response.body().close(); }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt
import kotlin.test.Test import kotlin.time.Duration.Companion.seconds class CacheControlTest { @Test @Throws(Exception::class) fun emptyBuilderIsEmpty() { val cacheControl = CacheControl.Builder().build() assertThat(cacheControl.toString()).isEqualTo("") assertThat(cacheControl.noCache).isFalse() assertThat(cacheControl.noStore).isFalse() assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
try { javax.xml.parsers.DocumentBuilderFactory factory = javax.xml.parsers.DocumentBuilderFactory.newInstance(); javax.xml.parsers.DocumentBuilder builder = factory.newDocumentBuilder(); String result = testHelper.getSnapshotActualVersion(builder, "test-url/", "1.0.0-SNAPSHOT"); assertEquals("20180814.210714-10", result); } catch (Exception e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 22.1K bytes - Viewed (0)