Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 455 for invoked (0.05 sec)

  1. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            processMethod.setAccessible(true);
    
            try {
                Integer result = (Integer) processMethod.invoke(null, options);
                assertNotNull(result);
                assertEquals(1, result.intValue());
            } catch (Exception e) {
                // Expected behavior when components are not fully initialized
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals("0", getResultMessageMethod.invoke(null, 0), "Should return '0' for success");
                assertEquals("DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 1),
                        "Should return correct message for error 1");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.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 ForwardingListeningExecutorService}.
     *
     * @author Isaac Shum
     * @since 10.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top