- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 808 for apply (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
value: String, ) = apply { headers.add(name, value) } /** Removes all headers named [name] on this builder. */ open fun removeHeader(name: String) = apply { headers.removeAll(name) } /** Removes all headers on this builder and adds [headers]. */ open fun headers(headers: Headers) = apply { this.headers = headers.newBuilder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
Element dependencies = plugin.child("dependencies").orElse(null); Element dependency = dependencies.child("dependency").orElse(null); // Apply dependency inference UpgradeContext context = createMockContext(); strategy.apply(context, pomMap); // Verify version and groupId were removed from plugin dependency assertNull(dependency.child("version").orElse(null));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
@Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { return delegate().getAll(keys); } @Override public V apply(K key) { return delegate().apply(key); } @GwtIncompatible @J2ktIncompatible @Override public void refresh(K key) { delegate().refresh(key); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
private fun newSimpleDateFormatUTC(pattern: String) = SimpleDateFormat(pattern).apply { timeZone = TimeZone.getTimeZone("UTC") } fun readBuildReceiptFromString(buildReceipt: String) = Properties().apply { load(buildReceipt.reader()) } const val buildReceiptFileName = "build-receipt.properties"Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/ForwardingLoadingCache.java
@Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { return delegate().getAll(keys); } @Override public V apply(K key) { return delegate().apply(key); } @GwtIncompatible @J2ktIncompatible @Override public void refresh(K key) { delegate().refresh(key); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
*/ fun maxAge(maxAge: Duration) = apply { val maxAgeSeconds = maxAge.inWholeSeconds require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" } this.maxAgeSeconds = maxAgeSeconds.commonClampToInt() } fun maxStale(maxStale: Duration) = apply { val maxStaleSeconds = maxStale.inWholeSecondsCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 10K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/BuildToolsConventionsPlugin.java
import org.gradle.api.tasks.testing.Test; import java.io.File; public class BuildToolsConventionsPlugin implements Plugin<Project> { @Override public void apply(Project project) { project.getPlugins().apply(LicenseHeadersPrecommitPlugin.class); int defaultParallel = ParallelDetector.findDefaultParallel(project); project.getTasks().withType(Test.class).configureEach(test -> {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 23 09:44:49 GMT 2021 - 1.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
} } return null } internal fun Headers.Builder.commonAdd( name: String, value: String, ) = apply { headersCheckName(name) headersCheckValue(value, name) commonAddLenient(name, value) } internal fun Headers.Builder.commonAddAll(headers: Headers) = apply { for (i in 0 until headers.size) { commonAddLenient(headers.name(i), headers.value(i)) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 6K bytes - Click Count (0) -
docs/LICENSE
b. produce, reproduce, and Share Adapted Material. 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 3. Term. The term of this Public License is specified in Section 6(a).Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 10 16:50:06 GMT 2021 - 18.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphPlugin.java
import java.util.List; import java.util.stream.Collectors; public class DependenciesGraphPlugin implements Plugin<Project> { public void apply(Project project) { project.getRootProject().getPluginManager().apply(DependenciesGraphHookPlugin.class); final String url = System.getenv("SCA_URL"); final String token = System.getenv("SCA_TOKEN");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.8K bytes - Click Count (0)