- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 703 for Cases (0.03 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
} /* * AbstractCollection fails the removeAll(null) test when the subject * collection is empty, but we'd still like to test removeAll(null) when we * can. We split the test into empty and non-empty cases. This allows us to * suppress only the former. */ @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRemoveAll_nullCollectionReferenceEmptySubject() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
/** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest { // Simple base class to satisfy the extended CredentialsInternal contractCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/bytes/buffer.go
// // In most cases, new([Buffer]) (or just declaring a [Buffer] variable) is // sufficient to initialize a [Buffer]. func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} } // NewBufferString creates and initializes a new [Buffer] using string s as its // initial contents. It is intended to prepare a buffer to read an existing // string. //
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
docs/en/docs/async.md
--- **Note**: You can mix `def` and `async def` in your *path operation functions* as much as you need and define each one using the best option for you. FastAPI will do the right thing with them. Anyway, in any of the cases above, FastAPI will still work asynchronously and be extremely fast. But by following the steps above, it will be able to do some performance optimizations. ## Technical Details { #technical-details }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 23.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test backward compatibility with standard Base64 * * @throws Exception */ public void testBackwardCompatibility() throws Exception { // These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
import com.google.common.annotations.GwtCompatible; import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Test cases for a {@link Table} implementation supporting reads and writes. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @NullMarked public abstract class AbstractTableTest<C extends @Nullable Character>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
return delegate().tailMap(fromKey); } /** * A sensible implementation of {@link SortedMap#keySet} in terms of the methods of {@code * ForwardingSortedMap}. In many cases, you may wish to override {@link * ForwardingSortedMap#keySet} to forward to this implementation or a subclass thereof. * * @since 15.0 */ protected class StandardKeySet extends Maps.SortedKeySet<K, V> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) { return proxyClass.isInstance(arg) // Equal proxy instances should mostly be instance of proxyClass // Under some edge cases (such as the proxy of JDK types serialized and then deserialized) // the proxy type may not be the same. // We first check isProxyClass() so that the common case of comparing with non-proxy objects
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java
private final Logger logger = LoggerFactory.getLogger(getClass()); private final MessageBuilderFactory messageBuilderFactory; /** * Default ctor is used in IT and most probably some 3rd party code. For those cases, we do provide sane defaults * but given this is a component, injection should be used, replacing direct instantiation. * * @deprecated Do not use this ctor directly, inject this component instead. */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 7.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0)