Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 448 for invokers (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

    import java.lang.reflect.Method;
    import java.util.Spliterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code spliterator} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

          return new ReschedulableCallable(service, executor, runnable).reschedule();
        }
    
        /**
         * A value object that represents an absolute delay until a task should be invoked.
         *
         * @author Luke Sandberg
         * @since 11.0
         */
        protected static final class Schedule {
    
          private final long delay;
          private final TimeUnit unit;
    
          /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link Map#remove(Object, Object)}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. 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)
Back to top