- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 679 for supply (0.03 sec)
-
android/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 { /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* test. This must return an Iterator that returns the expected elements passed to the constructor * in the given order. Warning: it is not enough to simply pull multiple iterators from the same * source Iterable, unless that Iterator is unmodifiable. */ protected abstract I newTargetIterator(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
cipherSuites: List<CipherSuite>? = null, ): OkHttpClient = this.client .newBuilder() .apply { if (connectionSpec != null) { connectionSpecs( listOf( ConnectionSpec .Builder(connectionSpec) .apply { if (tlsVersion != null) { tlsVersions(tlsVersion) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
@Override public Optional<?> apply(@Nullable Object obj) { return Optional.fromNullable(obj); } }; private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE = new Function<Optional<?>, @Nullable Object>() { @Override public @Nullable Object apply(Optional<?> optional) { return optional.orNull(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BoundType.java
/** * Indicates whether an endpoint of some range is contained in the range itself ("closed") or not * ("open"). If a range is unbounded on a side, it is neither open nor closed on that side; the * bound simply does not exist. * * @since 10.0 */ @GwtCompatible public enum BoundType { /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */ OPEN(false), CLOSED(true);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
import java.net.Proxy import okhttp3.internal.http.RecordingProxySelector import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java
@Test void testDefaultPolicy() throws Exception { MetadataGraphEdge res; res = policy.apply(e1, e2); assertEquals("1.1", res.getVersion(), "Wrong depth edge selected"); res = policy.apply(e1, e3); assertEquals("1.2", res.getVersion(), "Wrong version edge selected"); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
Function<String, String> internerFunction = Interners.asFunction(Interners.<String>newStrongInterner()); assertSame(canonical, internerFunction.apply(canonical)); assertSame(canonical, internerFunction.apply(not)); } public void testNullPointerExceptions() { new NullPointerTester().testAllPublicStaticMethods(Interners.class); } public void testConcurrencyLevel_zero() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
gorm.go
if opt != nil { if applyErr := opt.Apply(config); applyErr != nil { return nil, applyErr } defer func(opt Option) { if skipAfterInitialize { return } if errr := opt.AfterInitialize(db); errr != nil { err = errr } }(opt) } } if d, ok := dialector.(interface{ Apply(*Config) error }); ok { if err = d.Apply(config); err != nil { return } }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class) fun enableTaskRunner() = enable(TaskRunner::class) fun logHandler() = ConsoleHandler().apply { level = Level.FINE formatter = object : SimpleFormatter() { override fun format(record: LogRecord) = String.format("[%1\$tF %1\$tT] %2\$s %n", record.millis, record.message) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0)