Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 584 for invokers (0.08 seconds)

  1. 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) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * {@code default} methods were introduced</a>. For newer methods, like {@code forEach}, it inherits
     * their default implementations. When those implementations invoke methods, they invoke methods on
     * the {@code ForwardingConcurrentMap}.
     *
     * @author Charles Fry
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 16:58:16 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
            Object info = infoMethod.invoke(current);
            Object user = userMethod.invoke(info);
            return (String) requireNonNull(orElseMethod.invoke(user, fromSystemProperty));
          } catch (ClassNotFoundException runningUnderAndroidOrJava8) {
            /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests remove operations on a set. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests remove operations on a set. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingSetMultimap.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 ForwardingSetMultimap}.
     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

      /**
       * The maximum number of requests to execute concurrently. Above this requests queue in memory,
       * waiting for the running calls to complete.
       *
       * If more than [maxRequests] requests are in flight when this is invoked, those requests will
       * remain in flight.
       */
      @get:Synchronized
      var maxRequests = 64
        set(maxRequests) {
          require(maxRequests >= 1) { "max < 1: $maxRequests" }
          synchronized(this) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

     * pattern</a>.
     *
     * <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 ForwardingBlockingQueue}.
     *
     * @author Raimundo Mirisola
     * @param <E> the type of elements held in this collection
     * @since 4.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

                        Method updateMethod = findMethod(transport.getClass(), "updatePreauthHash", byte[].class);
                        updateMethod.setAccessible(true);
                        updateMethod.invoke(transport, testData);
                    } catch (Exception e) {
                        fail("Thread failed: " + e.getMessage());
                    } finally {
                        doneLatch.countDown();
                    }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. 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 {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top