- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 821 for reflector (0.23 seconds)
-
android/guava/src/com/google/common/reflect/Parameter.java
* the License. */ package com.google.common.reflect; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
* 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 getAddAllNullUnsupportedMethod() { return getMethod(CollectionAddAllTester.class, "testAddAll_nullUnsupported"); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
testStream = new PrintStream(testOutput); // Reset LogStream instance using reflection resetLogStreamInstance(); } @AfterEach void tearDown() throws Exception { // Restore original state System.setErr(originalErr); LogStream.level = originalLevel; // Reset instance using reflection resetLogStreamInstance(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
* permit them, as it seems more likely that code would depend on that behavior than on the other. * Thus, we say the bug is in set(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getSetNullSupportedMethod() { return getMethod(ListSetTester.class, "testSet_null"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Uses reflection to set internal array to null to exercise defensive branch in length() @Test @DisplayName("length(): handles internal null defensively") void length_handlesNullInternalArray() throws Exception { // Arrange SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 }); // Force internal field to null via reflection to exercise defensive branchCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URLStreamHandler; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
* unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() { return getMethod(ListHashCodeTester.class, "testHashCode"); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
@DisplayName("Test password stored as char array") void testPasswordStoredAsCharArray() throws Exception { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123"); // Use reflection to verify password is stored as char[] Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
schema/field.go
} } if field.Size == 0 { switch reflect.Indirect(fieldValue).Kind() { case reflect.Int, reflect.Int64, reflect.Uint, reflect.Uint64, reflect.Float64: field.Size = 64 case reflect.Int8, reflect.Uint8: field.Size = 8 case reflect.Int16, reflect.Uint16: field.Size = 16 case reflect.Int32, reflect.Uint32, reflect.Float32: field.Size = 32 } } // setup permissionCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java
import org.gradle.api.tasks.CacheableTask; import java.lang.reflect.Field; @CacheableTask public abstract class JapicmpTaskWithKotlin extends JapicmpTask { public JapicmpTaskWithKotlin() { super(); addKotlinCompilerToJapicmpClasspath(); getMaxWorkerHeap().convention("1g"); } // it's easier to do this via reflection than to copy the whole taskCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 2.4K bytes - Click Count (0)