Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for invocations (0.09 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            assertNotNull(result);
            assertEquals(Integer.MAX_VALUE, result.intValue());
            verify(request, times(1)).getOverrideTimeout();
        }
    
        @Test
        @DisplayName("Test multiple method invocations")
        void testMultipleMethodInvocations() {
            // Given
            when(request.isResponseAsync()).thenReturn(true);
            when(request.size()).thenReturn(100);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>clearing weak references to unreachable referents
     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    	}
    }
    
    func (in *Input) Next() ScanToken {
    	if in.peek {
    		in.peek = false
    		tok := in.peekToken
    		in.text = in.peekText
    		return tok
    	}
    	// If we cannot generate a token after 100 macro invocations, we're in trouble.
    	// The usual case is caught by Push, below, but be safe.
    	for nesting := 0; nesting < 100; {
    		tok := in.Stack.Next()
    		switch tok {
    		case '#':
    			if !in.beginningOfLine {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      public abstract @Nullable C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
       * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/QueuesTest.java

        assertEquals(1, Queues.newLinkedBlockingQueue(1).remainingCapacity());
        assertEquals(11, Queues.newLinkedBlockingQueue(11).remainingCapacity());
      }
    
      /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */
      private void assertDrained(BlockingQueue<Object> q) {
        assertThat(q.peek()).isNull();
        assertInterruptibleDrained(q);
        assertUninterruptibleDrained(q);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

                // Then
                assertEquals(expectedFree, actualFree);
                verify(mockAllocInfo, times(1)).getFree();
            }
    
            @Test
            @DisplayName("Should handle multiple invocations")
            void shouldHandleMultipleInvocations() {
                // Given
                when(mockAllocInfo.getCapacity()).thenReturn(1000L, 2000L, 3000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                mockReferralData.setCacheMap(new HashMap<>());
                mockReferralData.replaceCache();
                mockReferralData.append(mockReferralData);
    
                // Verify all invocations
                verify(mockReferralData, atLeastOnce()).getExpiration();
                verify(mockReferralData, atLeastOnce()).getPathConsumed();
                verify(mockReferralData, atLeastOnce()).getDomain();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ACETest.java

                verify(ace1).getApplyToText();
                verify(ace2).getApplyToText();
            }
    
            @Test
            @DisplayName("Should support multiple method invocations")
            void shouldSupportMultipleInvocations() {
                ACE ace = mock(ACE.class);
                when(ace.getAccessMask()).thenReturn(ACE.GENERIC_ALL);
                when(ace.isAllow()).thenReturn(true);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

      }
    
      /**
       * Returns a hash code for {@code t}.
       *
       * <p>The {@code hash} has the following properties:
       *
       * <ul>
       *   <li>It is <i>consistent</i>: for any reference {@code x}, multiple invocations of {@code
       *       hash(x}} consistently return the same value provided {@code x} remains unchanged
       *       according to the definition of the equivalence. The hash need not remain consistent from
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                        ignored);
              }
              notifyFailed(t);
              // requireNonNull is safe now, just as it was above.
              requireNonNull(runningTask).cancel(false); // prevent future invocations.
            } finally {
              lock.unlock();
            }
          }
        }
    
        private final Runnable task = new Task();
    
        @Override
        protected final void doStart() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top