- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,184 for isinstance (0.19 sec)
-
android/guava/src/com/google/common/util/concurrent/Platform.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { static boolean isInstanceOfThrowableClass( @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t); } static void restoreInterruptIfIsInterruptedException(Throwable t) { checkNotNull(t); // to satisfy NullPointerTester if (t instanceof InterruptedException) { currentThread().interrupt();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 10 12:27:25 UTC 2022 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Platform.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { static boolean isInstanceOfThrowableClass( @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t); } static void restoreInterruptIfIsInterruptedException(Throwable t) { checkNotNull(t); // to satisfy NullPointerTester if (t instanceof InterruptedException) { currentThread().interrupt();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 10 12:27:25 UTC 2022 - 1.4K bytes - Viewed (0) -
fastapi/_compat.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
sslSocketClass.getMethod("setAlpnProtocols", ByteArray::class.java) override fun isSupported(): Boolean = AndroidPlatform.isSupported override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocketClass.isInstance(sslSocket) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { // No TLS extensions if the socket class is custom.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
private val paramClass: Class<*>, ) : AndroidSocketAdapter(sslSocketClass) { override fun matchesSocketFactory(sslSocketFactory: SSLSocketFactory): Boolean = sslSocketFactoryClass.isInstance(sslSocketFactory) override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? { val context: Any? = readFieldOrNull( sslSocketFactory, paramClass,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/GwtIncompatible.java
* dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the * unsupported type/method. E.g. "Class.isInstance". * * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an * API is {@code @GwtIncompatible} to instead leave an implementation comment. */ String value() default "";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 1.9K bytes - Viewed (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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
}).orElse(Collections.emptyList()); } public OptionalEntity<KuromojiFile> getKuromojiFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId).filter(KuromojiFile.class::isInstance) .map(file -> OptionalEntity.of((KuromojiFile) file)).orElse(OptionalEntity.empty()); } public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
fastapi/routing.py
exclude_none=exclude_none, ) elif isinstance(res, list): return [ _prepare_response_content( item, exclude_unset=exclude_unset, exclude_defaults=exclude_defaults, exclude_none=exclude_none, ) for item in res ] elif isinstance(res, dict): return {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0)