- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 259 for reflectLen (0.06 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class); // Inject the binding using reflection Field bindingField = DcerpcHandle.class.getDeclaredField("binding"); bindingField.setAccessible(true); bindingField.set(handle, mockDcerpcBinding); // Inject the CIFSContext using reflection Field tcField = DcerpcHandle.class.getDeclaredField("transportContext");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
"3.11.0", pluginAfterModification.getVersion(), "Version change should persist - this verifies the plugin is connected to the model"); // Also verify the change is reflected in the build plugins list Plugin pluginFromBuildList = project.getBuild().getPlugins().stream() .filter(p -> "org.apache.maven.plugins:maven-compiler-plugin".equals(p.getKey())) .findFirst()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 12:50:13 UTC 2025 - 5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
* after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() { return Collections.singletonList(getMethod("testInverseSerialization")); } @J2ktIncompatible @GwtIncompatible // reflection private static Method getMethod(String methodName) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@DisplayName("Test getResults returns decoded file entries") void testGetResultsReturnsDecodedEntries() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); // Use reflection to set the results field Field resultsField = Smb2QueryDirectoryResponse.class.getDeclaredField("results"); resultsField.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { return EnumMultiset.create(elements); } } @J2ktIncompatible @GwtIncompatible // reflection public void testEquals() throws Exception { new ClassSanityTester() .setDistinctValues(Class.class, Color.class, Gender.class) .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle); // Then - Use reflection to verify protected field Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype"); ptypeField.setAccessible(true); int ptypeValue = (int) ptypeField.get(msrpcSamrConnect2);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/package-info.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ /** * Utilities for reflection. This package is a part of the open-source <a * href="https://github.com/google/guava">Guava</a> library. */ @CheckReturnValue @NullMarked package com.google.common.reflect;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 908 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
} @J2ktIncompatible @GwtIncompatible // reflection public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() { return getMethod( CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
import java.lang.reflect.Method import javax.net.ssl.SSLSocket import okhttp3.Protocol import okhttp3.internal.platform.AndroidPlatform import okhttp3.internal.platform.Platform /** * Modern reflection based SocketAdapter for Conscrypt class SSLSockets. * * This is used directly for providers where class name is known e.g. the Google Play Provider
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Function; import com.google.common.base.Throwables; import com.google.common.reflect.AbstractInvocationHandler; import com.google.common.reflect.Reflection; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.AccessibleObject; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0)