Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 478 for invokers (0.06 sec)

  1. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/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 NEXT (but since 22.0 in the JRE flavor)
       */
      @SuppressWarnings("Java7ApiChecker")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

       * is true.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }</pre>
       *
       * <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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    try {
                        Method setHttpHeaders = wagon.getClass().getMethod("setHttpHeaders", Properties.class);
                        setHttpHeaders.invoke(wagon, headers);
                    } catch (NoSuchMethodException e) {
                        // normal for non-http wagons
                    } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // Note:
      // * the number of additional invocations is not guaranteed to be exactly one.
      // * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again.
      // * webhooks that use this option may be reordered to minimize the number of additional invocations.
      // * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      SetMultimap.class.getClassLoader(),
                      new Class<?>[] {SetMultimap.class},
                      new InvocationHandler() {
                        @Override
                        public Object invoke(Object proxy, Method method, Object[] args)
                            throws Throwable {
                          throw new UnsupportedOperationException();
                        }
                      });
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * compared as if by {@link Double#equals}. Equivalent to {@code asList().contains(target)}.
       */
      public boolean contains(double target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since NEXT (but since 22.0 in the JRE flavor)
       */
      @SuppressWarnings("Java7ApiChecker")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

      }
    
      /**
       * Returns the lesser of the two values according to this ordering. If the values compare as 0,
       * the first is returned.
       *
       * <p><b>Implementation note:</b> this method is invoked by the default implementations of the
       * other {@code min} overloads, so overriding it will affect their behavior.
       *
       * <p><b>Note:</b> Consider using {@code Comparators.min(a, b, thisComparator)} instead. If {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top