- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 1,846 for isInstance (0.13 seconds)
-
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Create two URLs with the same handler URL url1 = new URL(null, "smb://host1/share1", handler); URL url2 = new URL(null, "smb://host2/share2", handler); // Both should use the same handler instance assertNotNull(url1); assertNotNull(url2); // Protocol should be consistent assertEquals(url1.getProtocol(), url2.getProtocol()); assertEquals("smb", url1.getProtocol());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_response_dependency.py
assert resp.headers.get("X-First") == "1" assert resp.headers.get("X-Second") == "2" def test_response_dependency_returns_different_response_instance(): """Dependency that returns a different Response instance should work. When a dependency returns a new Response object (e.g., JSONResponse) instead of modifying the injected one, the returned response should be used and any
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/es/docs/advanced/settings.md
{* ../../docs_src/settings/tutorial001_py310.py hl[2,5:8,11] *} /// tip | Consejo Si quieres algo rápido para copiar y pegar, no uses este ejemplo, usa el último más abajo. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
return ch - 'a' + 10; } throw new IllegalArgumentException("Illegal hexadecimal character: " + ch); } /** * Returns {@code true} if {@code object} is a {@link HashCode} instance with the identical byte * representation to this hash code. * * <p><b>Security note:</b> this method uses a constant-time (not short-circuiting) implementationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
/// ### `FileResponse` { #fileresponse } Transmite un archivo asincrónicamente como response. Toma un conjunto diferente de argumentos para crear un instance que los otros tipos de response: * `path` - La path del archivo para el archivo a transmitir. * `headers` - Cualquier header personalizado para incluir, como un diccionario.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/en/docs/advanced/settings.md
{* ../../docs_src/settings/tutorial001_py310.py hl[2,5:8,11] *} /// tip If you want something quick to copy and paste, don't use this example, use the last one below. /// Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
} public static final class NullsBeforeB extends NullsBefore { public static final NullsBeforeB INSTANCE = new NullsBeforeB(); private NullsBeforeB() { super("b"); } } public static final class NullsBeforeTwo extends NullsBefore { public static final NullsBeforeTwo INSTANCE = new NullsBeforeTwo(); private NullsBeforeTwo() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* .addEquivalenceGroup("world", "wor" + "ld") * .test(); * } * * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link * EqualsTester}. It includes an extra test against an instance of an arbitrary class without having * to explicitly add another equivalence group. * * @author Gregory Kick * @since 10.0 */ @GwtCompatible @NullMarked public final class EquivalenceTester<T> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
* only a secondary goal. * * @author Kurt Alfred Kluever */ @NullUnmarked public class HashCodeBenchmark { // Use a statically configured random instance for all of the benchmarks private static final Random random = new Random(42); @Param({"1000", "100000"}) private int size; @Param WhereToDiffer whereToDiffer; @Param EqualsImplementation equalsImpl;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* .addEquivalenceGroup("world", "wor" + "ld") * .test(); * } * * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link * EqualsTester}. It includes an extra test against an instance of an arbitrary class without having * to explicitly add another equivalence group. * * @author Gregory Kick * @since 10.0 */ @GwtCompatible @NullMarked public final class EquivalenceTester<T> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0)