Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,258 for calls (0.18 sec)

  1. docs/features/calls.md

    Calls are executed in one of two ways:
    
     * **Synchronous:** your thread blocks until the response is readable.
     * **Asynchronous:** you enqueue the request on any thread, and get [called back](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-callback/) on another thread when the response is readable.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      std::list<size_t> calls;
      auto fetcher = [&calls, block_size](const string& filename, size_t offset,
                                          size_t n, char* buffer,
                                          TF_Status* status) -> int64_t {
        EXPECT_EQ(n, block_size);
        EXPECT_FALSE(calls.empty()) << "at offset = " << offset;
        if (!calls.empty()) {
          EXPECT_EQ(offset, calls.front());
          calls.pop_front();
        }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

    import org.jetbrains.kotlin.resolve.calls.CallTransformer
    import org.jetbrains.kotlin.resolve.calls.components.isVararg
    import org.jetbrains.kotlin.resolve.calls.context.BasicCallResolutionContext
    import org.jetbrains.kotlin.resolve.calls.context.CheckArgumentTypesMode
    import org.jetbrains.kotlin.resolve.calls.context.ContextDependency
    import org.jetbrains.kotlin.resolve.calls.inference.model.TypeVariableTypeConstructor
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            verifier.verify(logger, calls(1)).debug("Importing foreign packages into class realm {}", "maven.api");
            verifier.verify(logger, calls(1)).debug("  Imported: {} < {}", "group1:artifact1", "test");
            verifier.verify(logger, calls(1)).debug("  Excluded: {}", "group1:artifact2:ext:classifier1:null");
            verifier.verify(logger, calls(1))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/lock-rest-client.go

    	}
    	return ok, err
    }
    
    // RLock calls read lock REST API.
    func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 24 17:07:14 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        return null
      }
    
      /**
       * Cancel all calls currently enqueued or executing. Includes calls executed both
       * [synchronously][Call.execute] and [asynchronously][Call.enqueue].
       */
      fun cancelAll() {
        this.withLock {
          for (call in readyAsyncCalls) {
            call.call.cancel()
          }
          for (call in runningAsyncCalls) {
            call.call.cancel()
          }
          for (call in runningSyncCalls) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirInvokeFunctionReference.kt

     */
    
    package org.jetbrains.kotlin.idea.references
    
    import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
    import org.jetbrains.kotlin.analysis.api.calls.KtSimpleFunctionCall
    import org.jetbrains.kotlin.analysis.api.calls.calls
    import org.jetbrains.kotlin.analysis.api.calls.symbol
    import org.jetbrains.kotlin.analysis.api.symbols.KtFunctionSymbol
    import org.jetbrains.kotlin.analysis.api.symbols.KtSymbol
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jun 21 20:40:22 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
            i.remove()
            dispatcherTest.dispatcher.finishedAccessor(call)
            return
          }
        }
        throw AssertionError("No such job: $url")
      }
    
      override fun shutdown() {
        shutdown = true
      }
    
      override fun shutdownNow(): List<Runnable> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Suppliers.java

       * exception.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * @param duration the length of time after a value is created that it should stop being returned
       *     by subsequent {@code get()} calls
       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
        @Override
        public Integer get() {
          calls++;
          return calls * 10;
        }
    
        @Override
        public String toString() {
          return "CountingSupplier";
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top