Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 592 for invoker (0.05 seconds)

  1. android/guava/src/com/google/common/base/Equivalence.java

       * is true.
       *
       * <p>For example:
       *
       * {@snippet :
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }
       *
       * <p>{@code function} will never be invoked with a null value.
       *
       * <p>Note that {@code function} must be consistent according to {@code this} equivalence
       * relation. That is, invoking {@link Function#apply} multiple times for a given value must return
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * {@code asList().contains(target)}.
       */
      public boolean contains(long target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @IgnoreJRERequirement // We rely on users not to call this without library desugaring.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      public void forEach(IntConsumer consumer) {
        checkNotNull(consumer);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          val args =
            method.parameters
              .map { sampleValues[it.type] ?: error("no sample value for ${it.type}") }
              .toTypedArray()
    
          method.invoke(solo.eventListener, *args)
          method.invoke(composite, *args)
    
          val expectedEvent = solo.takeEvent()
          assertThat(solo.eventSequence).isEmpty()
    
          assertThat(left.takeEvent()::class).isEqualTo(expectedEvent::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  9. android/pom.xml

        <profile>
          <id>print-java-11-home</id>
          <build>
            <plugins>
              <plugin>
                <groupId>org.mvnsearch</groupId>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 03:10:05 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  10. pom.xml

        <profile>
          <id>print-java-11-home</id>
          <build>
            <plugins>
              <plugin>
                <groupId>org.mvnsearch</groupId>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 03:10:05 GMT 2025
    - 26.1K bytes
    - Click Count (0)
Back to Top