- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 274 for Reflection (0.43 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
this.nextBlock = next; } // Helper methods to manipulate parent's private fields via reflection or protected methods public void setStatusForTest(int status) { // Workaround: Use reflection to set private status field try { java.lang.reflect.Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
*/ package okhttp3.internal.platform.android import javax.net.ssl.SSLSocket import okhttp3.Protocol import okhttp3.internal.platform.Platform import org.conscrypt.Conscrypt /** * Simple non-reflection SocketAdapter for Conscrypt when included as an application dependency * directly. */ class ConscryptSocketAdapter : SocketAdapter {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
/** * Returns {@link Method} instances for the read tests that assume multisets support duplicates so * that the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getCountDuplicateInitializingMethods() { return asList(getMethod(MultisetCountTester.class, "testCount_3")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
* Hashtable} can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getMergeNullValueMethod() { return Helpers.getMethod(MapMergeTester.class, "testMergeNullValue"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* protected Object handleInvocation(Object proxy, Method method, Object[] args) { * throw new UnsupportedOperationException(); * } * } * * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported()); * </pre> * * @author Ben Yu * @since 12.0 */ public abstract class AbstractInvocationHandler implements InvocationHandler {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt
* that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback * checks on platforms that support it. Unfortunately this wrapping will disable any * reflection-based calls to SSLSocket from Platform. */ class FallbackTestClientSocketFactory( delegate: SSLSocketFactory, ) : DelegatingSSLSocketFactory(delegate) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(expected) .hasMessageThat() .isEqualTo("end index (0) must not be less than start index (1)"); } @GwtIncompatible("Reflection") @J2ktIncompatible public void testAllOverloads_checkArgument() throws Exception { for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) { Method checkArgumentMethod =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(expected) .hasMessageThat() .isEqualTo("end index (0) must not be less than start index (1)"); } @GwtIncompatible("Reflection") @J2ktIncompatible public void testAllOverloads_checkArgument() throws Exception { for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) { Method checkArgumentMethod =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public <T> Iterable<? super CharSequence> wildCardsDoNotMatchByLowerBound( List<? super String> list) { return notSubtype(list); } // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar> @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
*/ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getSetCountDuplicateInitializingMethods() { return asList( getMethod("testSetCount_threeToThree_removeSupported"), getMethod("testSetCount_threeToZero_supported"), getMethod("testSetCount_threeToOne_supported")); } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0)