- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,008 for myinstance (0.06 seconds)
-
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
assertTrue(SessionSetupHandler.class.isAssignableFrom(impl.getClass()), "Type should be assignable"); } @Test @DisplayName("Edge: null is not an instance of the interface") void testNullIsNotInstance() { // Assert assertFalse(SessionSetupHandler.class.isInstance(null)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md
Vous pouvez maintenant déclarer votre dépendance en utilisant cette classe. {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *} **FastAPI** appelle la classe `CommonQueryParams`. Cela crée une « instance » de cette classe et l'instance sera passée comme paramètre `commons` à votre fonction. ## Annotation de type vs `Depends` { #type-annotation-vs-depends } Remarquez que nous écrivons `CommonQueryParams` deux fois dans le code ci‑dessus :Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Arrange: create an implementation instance SmbRenewableCredentials impl = supplier.get(); // Act: call renew CredentialsInternal renewed = impl.renew(); // Assert: verify behavior based on scenario if (expectSame) { assertSame(impl, renewed, "renew() should return the same instance"); } else if (expectNew) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java
class CoreUtils { public static <T> T cast(Class<T> clazz, Object o, String name) { if (!clazz.isInstance(o)) { if (o == null) { throw new IllegalArgumentException(name + " is null"); } throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName()); } return clazz.cast(o); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/UserInfoDbm.java
// ========= private static final UserInfoDbm _instance = new UserInfoDbm(); private UserInfoDbm() { } public static UserInfoDbm getInstance() { return _instance; } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/RoleDbm.java
// ========= private static final RoleDbm _instance = new RoleDbm(); private RoleDbm() { } public static RoleDbm getInstance() { return _instance; } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ElevateWordToLabelDbm.java
// ========= private static final ElevateWordToLabelDbm _instance = new ElevateWordToLabelDbm(); private ElevateWordToLabelDbm() { } public static ElevateWordToLabelDbm getInstance() { return _instance; } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
public String toString() { return super.toString(); } 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.
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) -
src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/GroupDbm.java
// ========= private static final GroupDbm _instance = new GroupDbm(); private GroupDbm() { } public static GroupDbm getInstance() { return _instance; } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoParamDbm.java
// ========= private static final CrawlingInfoParamDbm _instance = new CrawlingInfoParamDbm(); private CrawlingInfoParamDbm() { } public static CrawlingInfoParamDbm getInstance() { return _instance; } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 8.9K bytes - Click Count (0)