- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,052 for supply (0.05 seconds)
-
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
private final TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler); ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional stack.addTearDown( () -> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generates a dummy interface proxy that simply returns a dummy value for each method. * * @author Ben Yu */ @GwtIncompatible @J2ktIncompatible @NullMarked abstract class DummyProxy { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil class DevServer { val handshakeCertificates = TlsUtil.localhost() val server = MockWebServer().apply { useHttps(handshakeCertificates.sslSocketFactory(), false) enqueue( MockResponse() .setResponseCode(HTTP_MOVED_TEMP) .setHeader("Location", "https://www.google.com/robots.txt"),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/InternalClusterTestPlugin.java
import org.gradle.api.tasks.testing.Test; public class InternalClusterTestPlugin implements Plugin<Project> { public static final String SOURCE_SET_NAME = "internalClusterTest"; @Override public void apply(Project project) { TaskProvider<Test> internalClusterTest = GradleUtils.addTestSourceSet(project, SOURCE_SET_NAME); internalClusterTest.configure(task -> {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 02 23:12:29 GMT 2021 - 1.8K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PrecommitTaskPlugin.java
import org.gradle.api.tasks.testing.Test; import org.gradle.language.base.plugins.LifecycleBasePlugin; public class PrecommitTaskPlugin implements Plugin<Project> { @Override public void apply(Project project) { TaskProvider<Task> precommit = project.getTasks().register(PrecommitPlugin.PRECOMMIT_TASK_NAME, t -> { t.setGroup(JavaBasePlugin.VERIFICATION_GROUP);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 23 09:36:58 GMT 2021 - 1.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
import org.codehaus.plexus.components.interactivity.PrompterException; import org.eclipse.sisu.Priority; /** * This class is injected into any legacy component that would want to use legacy "Plexus Interactivity API". * It simply delegates to Maven4 API {@link org.apache.maven.api.services.Prompter}. */ @Experimental @Named @Singleton @Priority(10) public class LegacyPlexusInteractivity implements Prompter, InputHandler, OutputHandler {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:48:41 GMT 2025 - 5.2K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* un-deprecated because Java callers can't chain when assigning Kotlin vals. (The getter remains * deprecated). */ fun setLevel(level: Level) = apply { this.level = level } @JvmName("-deprecated_level") @Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "level"),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
companion object { private lateinit var logger: Logger private val SSLSession.masterSecret: SecretKey? get() = javaClass .getDeclaredField("masterSecret") .apply { isAccessible = true }.get(this) as? SecretKey val randomRegex = "\"random\"\\s+:\\s+\"([^\"]+)\"".toRegex() fun register() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
new ForwardingWrapperTester() .testForwarding( ListMultimap.class, new Function<ListMultimap, ListMultimap<?, ?>>() { @Override public ListMultimap<?, ?> apply(ListMultimap delegate) { return wrap((ListMultimap<?, ?>) delegate); } }); } public void testEquals() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
new ForwardingWrapperTester() .testForwarding( ListMultimap.class, new Function<ListMultimap, ListMultimap<?, ?>>() { @Override public ListMultimap<?, ?> apply(ListMultimap delegate) { return wrap((ListMultimap<?, ?>) delegate); } }); } public void testEquals() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0)