Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 476 for invokes (0.97 sec)

  1. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

     * @since 10.0
     */
    @GwtCompatible
    public final class Uninterruptibles {
    
      // Implementation Note: As of 3-7-11, the logic for each blocking/timeout
      // methods is identical, save for method being invoked.
    
      /** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

     *
     * <p>The Invoker is designed to be flexible, allowing for different implementations
     * that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements
     * {@link AutoCloseable} to ensure proper resource management.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Invoker extends AutoCloseable {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/MethodDesc.java

        /**
         * Invokes the method and returns its result.
         *
         * @param <T>
         *            the return type of the method
         * @param target
         *            the target object. Must not be {@literal null}
         * @param args
         *            the method arguments
         * @return the result of the method
         */
        <T> T invoke(Object target, Object... args);
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     annotation type, rather than an interface
       */
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            NdrShort decoded = new NdrShort(0);
            decoded.decode(buf);
            assertEquals(123, decoded.value, "decoded value should equal original");
        }
    
        /**
         * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked
         * (spied) buffer.
         */
        @Test
        void encodeWithSpiedBufferCallsEncMethod() throws NdrException {
            NdrShort ns = new NdrShort(42);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        @Mock
        private Request<CommonServerMessageBlockResponse> request;
    
        @Mock
        private CommonServerMessageBlockResponse response;
    
        @Test
        @DisplayName("connectLogon invokes underlying implementation")
        void connectLogon_invocation_isForwarded() throws Exception {
            // Act
            tree.connectLogon(context);
    
            // Assert - verify interaction with dependency
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableSoftReference.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.SoftReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Soft 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @see Method#invoke(Object, Object[])
         */
        @SuppressWarnings("unchecked")
        public static <T> T invoke(final Method method, final Object target, final Object... args)
                throws InvocationTargetRuntimeException, IllegalAccessRuntimeException {
            assertArgumentNotNull("method", method);
    
            try {
                return (T) method.invoke(target, args);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/DirectExecutor.java

     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Executor;
    
    /**
     * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute
     * execute}.
     */
    @GwtCompatible
    enum DirectExecutor implements Executor {
      INSTANCE;
    
      @Override
      public void execute(Runnable command) {
        command.run();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top