Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for invokes (0.07 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. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        @Test
        @DisplayName("finalize() invokes checkRelease exactly once")
        void finalize_invokes_checkRelease() throws Throwable {
            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: directly invoke finalize to simulate GC finalization path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       */
      public static ListeningScheduledExecutorService noOpScheduledExecutor() {
        return new NoOpScheduledExecutorService();
      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
       * submitted tasks and to collections of tasks submitted via {@code invokeAll}, {@code invokeAny},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       */
      public static ListeningScheduledExecutorService noOpScheduledExecutor() {
        return new NoOpScheduledExecutorService();
      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
       * submitted tasks and to collections of tasks submitted via {@code invokeAll}, {@code invokeAny},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top