Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 662 for Calls (0.02 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java

    import com.google.common.util.concurrent.AbstractFuture.TrustedFuture;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link AbstractFuture} that use a {@link TrustedFuture} for {@link
     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    @NullUnmarked
    public class TrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
      AbstractFuture<Integer> newDelegate() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. internal/dsync/dsync.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Mar 01 19:14:28 GMT 2022
    - 1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link AbstractFuture} that use a non-{@link TrustedFuture} for {@link
     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    @NullUnmarked
    public class UntrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
      AbstractFuture<Integer> newDelegate() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
            // The primary responsibility of this constructor is setting ptype and flags,
            // which are directly verifiable.
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * * `Response.body().string()`
     *
     * There is no benefit to invoking multiple `close()` methods for the same response body.
     *
     * For synchronous calls, the easiest way to make sure a response body is closed is with a `try`
     * block. With this structure the compiler inserts an implicit `finally` clause that calls
     * [close()][Response.close] for you.
     *
     * ```java
     * Call call = client.newCall(request);
     * try (Response response = call.execute()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/EmptyIteratorTest.java

            }, "remove() should not throw any exception");
        }
    
        @Test
        @DisplayName("EmptyIterator should behave consistently across multiple calls")
        void testConsistentBehavior() {
            // When & Then - test multiple sequential calls
            for (int i = 0; i < 10; i++) {
                assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

              Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan));
          return proxy;
        }
      }
    
      /**
       * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then
       * forwards the calls to the underlying {@code Map}.
       */
      private static class CheckSetUpInvocationHandler implements InvocationHandler, Serializable {
        private final Map<String, String> map;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("Scenario: verify interaction order across multiple calls")
        void verifyInteractionOrder() throws Exception {
            // Arrange: stub simple returns
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act: perform a series of calls to verify order
            handle.ensureDFSResolved();
            handle.hasCapability(7);
            handle.release();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. cmd/metacache.go

    	scanStateStarted
    	scanStateSuccess
    	scanStateError
    
    	// Time in which the initiator of a scan must have reported back.
    	metacacheMaxRunningAge = time.Minute
    
    	// Max time between client calls before dropping an async cache listing.
    	metacacheMaxClientWait = 3 * time.Minute
    
    	// metacacheBlockSize is the number of file/directory entries to have in each block.
    	metacacheBlockSize = 5000
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 16:23:16 GMT 2024
    - 6K bytes
    - Click Count (0)
  10. cmd/notification.go

    }
    
    // WithRetries sets the retry count for all function calls from the Go method.
    func (g *NotificationGroup) WithRetries(retryCount int) *NotificationGroup {
    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
Back to Top