- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 471 for invoked (0.04 sec)
-
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
} return handleInvocation(proxy, method, args); } /** * {@link #invoke} delegates to this method upon any method invocation on the proxy instance, * except {@link Object#equals}, {@link Object#hashCode} and {@link Object#toString}. The result * will be returned as the proxied method's return value. * * <p>Unlike {@link #invoke}, {@code args} will never be null. When the method has no parameter,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
method.setAccessible(true); byte[] targetInfo = (byte[]) method.invoke(null, mockContext, null); assertNotNull(targetInfo); assertEquals(4, targetInfo.length); // Only the 4-byte terminator } catch (Exception e) { fail("Failed to invoke makeTargetInfo via reflection: " + e.getMessage()); } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java
* * @since 4.0.0 */ @Experimental public interface Parser { /** * Parses the given ParserRequest to create an {@link InvokerRequest}. * This method does interpret tool arguments. * * @param parserRequest the request containing all necessary information for parsing
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt
.dispatcher(Dispatcher(newVirtualThreadPerTaskExecutor())) .build() } private fun newVirtualThreadPerTaskExecutor(): ExecutorService = Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService @Test fun testRequest() { server.enqueue(MockResponse()) val request = Request(server.url("/")) client.newCall(request).execute().use {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
method.setAccessible(true); return (int) method.invoke(response); } private void setNumEntries(NetServerEnum2Response response, int value) throws Exception { Method method = getSuperclassMethod(response.getClass(), "setNumEntries", int.class); method.setAccessible(true); method.invoke(response, value); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} private fun loomThreadFactory(): ThreadFactory { val ofVirtual = Thread::class.java.getMethod("ofVirtual").invoke(null) return Class .forName("java.lang.Thread\$Builder") .getMethod("factory") .invoke(ofVirtual) as ThreadFactory } private fun isLoom(): Boolean = getPlatformSystemProperty() == LOOM_PROPERTY
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
Method shutdownMethod = FessCurtainFinallyHook.class.getDeclaredMethod("shutdownCommonsHttpClient"); shutdownMethod.setAccessible(true); // Invoke the method shutdownMethod.invoke(curtainFinallyHook); // Method should complete without throwing exceptions to the caller assertTrue(true); } // Test behavior when an exception occurs during reflection
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} } HashFunction hashFunction1a = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction1b = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction2 = (HashFunction) method.invoke(clazz, params2); new EqualsTester() .addEqualityGroup(hashFunction1a, hashFunction1b)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
* * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code * default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingExecutorService}. * * @author Kurt Alfred Kluever * @since 10.0 */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.1K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
.forName(className) .methods .find { it.name == "main" } try { if (mainMethod != null) { if (mainMethod.parameters.isEmpty()) { mainMethod.invoke(null) } else { mainMethod.invoke(null, arrayOf<String>()) } } else { System.err.println("No main for $className") } } catch (ite: InvocationTargetException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0)