- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 293 for Reflection (0.33 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
import okhttp3.Protocol import okhttp3.internal.SuppressSignatureCheck import okhttp3.internal.platform.Platform import okhttp3.internal.platform.Platform.Companion.isAndroid /** * Simple non-reflection SocketAdapter for Android Q+. * * These API assumptions make it unsuitable for use on earlier Android versions. */ @SuppressLint("NewApi") @SuppressSignatureCheck class Android10SocketAdapter : SocketAdapter {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/api-utils.go
return s3URLEncode(name) } return name } // getHandlerName returns the name of the handler function. It takes the type // name as a string to clean up the name retrieved via reflection. This function // only works correctly when the type is present in the cmd package. func getHandlerName(f http.HandlerFunc, cmdType string) string { name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
* can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java
* can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddSupportedNullPresentMethod() { return getMethod(SetAddTester.class, "testAdd_supportedNullPresent"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
assertTrue(result.contains(expectedSearchAttributes)); } // Helper method to get private searchAttributes field using reflection private int getSearchAttributes(SmbComDelete smbComDelete) { try { Field field = smbComDelete.getClass().getDeclaredField("searchAttributes"); field.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} catch (Exception // sneaky checked exception | Error atomicReferenceFieldUpdaterFailure) { // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // For these users fallback to a suboptimal implementation, based on synchronized. This
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
} } } catch (Exception e) { fail("Failed to invoke makeTargetInfo via reflection: " + e.getMessage()); } } @Test @DisplayName("makeTargetInfo should handle missing domain") void testMakeTargetInfo_NoDomain() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
* can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getCreateWithNullUnsupportedMethod() { return getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
* hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() { return new Method[] { getMethod(SetHashCodeTester.class, "testHashCode"), getMethod(SetHashCodeTester.class, "testHashCode_containingNull") }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
setStatus(response, 0); setConverter(response, 100); setNumEntries(response, 2); setTotalAvailableEntries(response, 5); // Set lastName through reflection Field lastNameField = response.getClass().getDeclaredField("lastName"); lastNameField.setAccessible(true); lastNameField.set(response, "LASTSERVER");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0)