Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 592 for invoker (0.09 seconds)

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

     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      private static final InvocationHandler X_RETURNER =
          new InvocationHandler() {
            @Override
            public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
              return "x";
            }
          };
    
      private static int classesInitialized = 0;
    
      private static class A {
        static {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

                    }
                }
                var m = cls.getDeclaredMethod(name, paramTypes);
                m.setAccessible(true);
                return (int) m.invoke(target, params);
            } catch (Exception e) {
                fail("invoke " + name, e);
                return -1;
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/FinalizableWeakReference.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                            "Deprecated method `DefaultMaven#newRepositorySession(MavenExecutionRequest)` invoked; please inspect the stack trace and report this issue to the authors of the caller code",
                            new IllegalStateException(
                                    "Deprecated method `DefaultMaven#newRepositorySession(MavenExecutionRequest)` invoked"));
                } else {
                    logger.warn(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  6. 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;
    
          /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code get} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/MsrpcLsarCloseTest.java

            // the fact that the object is successfully created and its inherited fields are accessible
            // implies the super constructor was invoked.
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

     */
    @GwtCompatible
    @NullMarked
    public class RegularImmutableAsListTest extends TestCase {
      /**
       * RegularImmutableAsList should assume its input is null-free without checking, because it only
       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                    | InvocationTargetException e) {
                throw new AssertionError(e);
            }
        }
    
        // Utility to invoke a private method reflectively
        private static Object invokePrivate(Object targetOrClass, String methodName, Class<?>[] paramTypes, Object... args) {
            try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
Back to Top