- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 704 for Reflection (0.48 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} @Test @DisplayName("Test size method with input buffer") void testSizeWithInputBuffer() { request = new Smb2QueryInfoRequest(mockConfig); // Set an input buffer using reflection Encodable mockInputBuffer = mock(Encodable.class); when(mockInputBuffer.size()).thenReturn(100); try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertThrows(NullPointerException.class, () -> raf.writeChars(null)); assertThrows(NullPointerException.class, () -> raf.writeUTF(null)); } // Small reflection helpers to access private fields for interaction verification private static Object getField(Object target, String name) { try { var f = target.getClass().getDeclaredField(name);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
return ImmutableSetMultimap.<String, Integer>builder() .put("foo", 1) .put("bar", 2) .put("foo", 3) .build(); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 28.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
private NullsBeforeTwo() { super("two"); // from TestStringSortedMapGenerator's sample keys } } @J2ktIncompatible @GwtIncompatible // reflection public static Method getMethod(Class<?> clazz, String name) { try { return clazz.getMethod(name); } catch (Exception e) { throw new IllegalArgumentException(e); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt
override fun checkServerTrusted( chain: Array<out X509Certificate>?, authType: String?, ) { withoutHostCalled = true } // called by Android via reflection in X509TrustManagerExtensions @Suppress("unused", "UNUSED_PARAMETER") fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String, hostname: String,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 29.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should return initial credits from getCredit") void testGetInitialCredits() throws Exception { // Given - set credit using reflection Field creditField = ServerMessageBlock2.class.getDeclaredField("credit"); creditField.setAccessible(true); creditField.set(response, 128); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* It also provides additional utilities such as {@link #getTypes}, {@link #resolveType}, etc. * * <p>There are three ways to get a {@code TypeToken} instance: * * <ul> * <li>Wrap a {@code Type} obtained via reflection. For example: {@code * TypeToken.of(method.getGenericReturnType())}. * <li>Capture a generic type with a (usually anonymous) subclass. For example: * {@snippet : * new TypeToken<List<String>>() {} * }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingListWithEquals(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.8K bytes - Click Count (0)