Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 220 for invokes (0.71 seconds)

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

     * timeout elapses, and only then re-interrupts the thread.
     *
     * @author Anthony Zana
     * @since 10.0
     */
    @GwtCompatible
    public final class Uninterruptibles {
      /** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  2. 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);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * {@link FinalizableReference#finalizeReferent()} on them. Java 9+ users should prefer {@link
     * java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
     * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                assertNull(copy.getSubject(), "Clone should still return null after refresh");
            }
        }
    
        @Test
        @DisplayName("renew: invokes getSubject and returns self")
        void testRenewInvokesGetSubjectAndReturnsSelf() {
            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * in turn invoke arbitrary code it is not safe to call while holding a lock.
       */
      @SuppressWarnings("Interruption") // We are implementing a user-requested interrupt.
      final void interruptTask() {
        // Since the Thread is replaced by DONE before run() invokes listeners or returns, if we succeed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * {@link FinalizableReference#finalizeReferent()} on them. Java 9+ users should prefer {@link
     * java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
     * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SIDCacheImplTest.java

                assertEquals(jcifs.SID.SID_TYPE_UNKNOWN, s.getType());
            }
    
            @Test
            @DisplayName("resolveSids(DcerpcHandle,...) with empty SID array still invokes sendrecv")
            void resolveSids_emptyArray_stillCallsSendrecv() throws Exception {
                SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
                DcerpcHandle handle = mock(DcerpcHandle.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ComparisonChain.java

     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p><b>Note:</b> When implementing an escaper, it is a good idea to override this method for
       * efficiency. The base class implementation determines successive Unicode code points and invokes
       * {@link #escape(int)} for each of them. If the semantics of your escaper are such that code
       * points in the supplementary range are either all escaped or all unescaped, this method can be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/Invokable.java

       */
      public abstract boolean isOverridable();
    
      /** Returns {@code true} if this was declared to take a variable number of arguments. */
      public abstract boolean isVarArgs();
    
      /**
       * Invokes with {@code receiver} as 'this' and {@code args} passed to the underlying method and
       * returns the return value; or calls the underlying constructor with {@code args} and returns the
       * constructed instance.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
Back to Top