- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for invoke (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
writeParams.setAccessible(true); writeParams.invoke(cancel, dst, 0); Method writeBytes = SmbComNtCancel.class.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class); writeBytes.setAccessible(true); writeBytes.invoke(cancel, dst, 0); // Then - array should remain unchanged
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
String result = (String) method.invoke(keyMatchHelper, "JAVA"); assertEquals("java", result); result = (String) method.invoke(keyMatchHelper, "Mixed_Case"); assertEquals("mixed_case", result); result = (String) method.invoke(keyMatchHelper, (String) null); assertNull(result); result = (String) method.invoke(keyMatchHelper, ""); assertEquals("", result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
executionList.add(listener, exec); } /** * Subclasses should invoke this method to set the result of the computation to {@code value}. * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke * the listeners if the state was successfully changed. * * @param value the value that was the result of the task.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* @see Method#invoke(Object, Object[]) */ @SuppressWarnings("unchecked") public static <T> T invoke(final Method method, final Object target, final Object... args) throws InvocationTargetRuntimeException, IllegalAccessRuntimeException { assertArgumentNotNull("method", method); try { return (T) method.invoke(target, args);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
public String toString() { throw new AssertionFailedError(); } }; private static class Message { boolean invoked; @Override public String toString() { assertFalse(invoked); invoked = true; return "A message"; } } private static final String FORMAT = "I ate %s pies.";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
public String toString() { throw new AssertionFailedError(); } }; private static class Message { boolean invoked; @Override public String toString() { assertFalse(invoked); invoked = true; return "A message"; } } private static final String FORMAT = "I ate %s pies.";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
setTreeIdMethod.setAccessible(true); setTreeIdMethod.invoke(response, -1); assertFalse(response.isValidTid()); // Test valid TID setTreeIdMethod.invoke(response, 100); assertTrue(response.isValidTid()); // Test zero TID (valid) setTreeIdMethod.invoke(response, 0); assertTrue(response.isValidTid()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
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) -
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) -
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)