- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 506 for Apply (0.01 sec)
-
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
T instance = generator.newFreshProxy(interfaceType); new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType))) // TODO: add an overload to EqualsTester to print custom error message? .testEquals(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun nonRetryableSSLHandshakeException() { val exception = SSLHandshakeException("Certificate handshake exception").apply { initCause(CertificateException()) } assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun retryableSSLHandshakeException() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( ImmutableMap.Builder<K, V>::new, (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)), ImmutableMap.Builder::combine, ImmutableMap.Builder::buildOrThrow); } static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Arithmetic apply(Arithmetic arithmetic) { return new ForwardingArithmetic(arithmetic); } }); tester.testForwarding( ParameterTypesDifferent.class, new Function<ParameterTypesDifferent, ParameterTypesDifferent>() { @Override public ParameterTypesDifferent apply(ParameterTypesDifferent delegate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} refresh(); } /** * Adds a bad word to the suggest index. * * @param badWord The bad word to add. * @param apply true to apply the changes immediately. */ public void addBadWord(final String badWord, final boolean apply) { suggester.indexer().addBadWord(badWord, apply); refresh(); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
) internal fun CacheControl.Builder.commonNoCache() = apply { this.noCache = true } internal fun CacheControl.Builder.commonNoStore() = apply { this.noStore = true } internal fun CacheControl.Builder.commonOnlyIfCached() = apply { this.onlyIfCached = true } internal fun CacheControl.Builder.commonNoTransform() = apply { this.noTransform = true }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Arithmetic apply(Arithmetic arithmetic) { return new ForwardingArithmetic(arithmetic); } }); tester.testForwarding( ParameterTypesDifferent.class, new Function<ParameterTypesDifferent, ParameterTypesDifferent>() { @Override public ParameterTypesDifferent apply(ParameterTypesDifferent delegate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
TestUtils.createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0")); // Execute apply goal int result = applyGoal.execute(context); // Verify success assertEquals(0, result, "Apply should succeed"); // Verify POM was upgraded String upgradedPom = Files.readString(pomFile); assertTrue(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.3K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
@StartStop val serverA = MockWebServer().apply { dispatcher = dispatcherA } private val dispatcherB = ClosableDispatcher() @StartStop val serverB = MockWebServer().apply { dispatcher = dispatcherB } /** This one won't start because it isn't annotated. */ private val dispatcherC = ClosableDispatcher() val serverC = MockWebServer().apply { dispatcher = dispatcherC }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 11:13:17 UTC 2025 - 3.3K bytes - Viewed (1)