Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 99 for synchronous (0.22 sec)

  1. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      auto allocator = std::make_unique<AsyncValueAllocator>();
      tensorflow::Tensor tensor(allocator.get(), DT_FLOAT, {1});
      TF_ASSERT_OK_AND_ASSIGN(
          auto pjrt_client,
          xla::GetTfrtCpuClient(/*asynchronous=*/true, /*cpu_device_count=*/1));
      std::vector<int32_t> data(1, 0);
      xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1});
      TF_ASSERT_OK_AND_ASSIGN(
          auto buffer,
          pjrt_client->BufferFromHostBuffer(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AsyncCallable.java

    public interface AsyncCallable<V extends @Nullable Object> {
      /**
       * Computes a result {@code Future}. The output {@code Future} need not be {@linkplain
       * Future#isDone done}, making {@code AsyncCallable} suitable for asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@link
       * ListenableFuture}.
       */
      ListenableFuture<V> call() throws Exception;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 14 15:53:12 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

      /**
       * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code
       * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 10:45:35 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

                }
            };
        }
    
        // ===================================================================================
        //                                                                        Asynchronous
        //                                                                        ============
        protected void async(final AsyncManager asyncManager, final Runnable runnable) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // We post the event, but our Executor will not deliver it until instructed.
        bus.post(EVENT);
    
        List<String> events = catcher.getEvents();
        assertTrue("No events should be delivered synchronously.", events.isEmpty());
    
        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LoadingCache.java

       * currently contains a value for {@code key}, and {@link CacheLoader#load} otherwise. Loading is
       * asynchronous only if {@link CacheLoader#reload} was overridden with an asynchronous
       * implementation.
       *
       * <p>Returns without doing anything if another thread is currently loading the value for {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

    import java.util.concurrent.atomic.AtomicReference;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Serializes execution of tasks, somewhat like an "asynchronous {@code synchronized} block." Each
     * {@linkplain #submit enqueued} callable will not be submitted to its associated executor until the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      /** Returns the trailers after the HTTP response. May be empty. */
      @Throws(IOException::class)
      fun trailers(): Headers
    
      /**
       * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously.
       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/middleware.md

    In diesem Abschnitt werden wir sehen, wie man andere Middlewares verwendet.
    
    ## ASGI-Middleware hinzufügen
    
    Da **FastAPI** auf Starlette basiert und die <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>-Spezifikation implementiert, können Sie jede ASGI-Middleware verwenden.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:18:15 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-free-version.go

    		}
    	}
    
    	for i, version := range x.versions {
    		if version.header.VersionID != uv || version.header.Type != ObjectType {
    			continue
    		}
    		// if uv has tiered content we add a
    		// free-version to track it for asynchronous
    		// deletion via scanner.
    		ver, err := x.getIdx(i)
    		if err != nil {
    			return err
    		}
    
    		if freeVersion, toFree := ver.ObjectV2.InitFreeVersion(fi); toFree {
    			return x.addVersion(freeVersion)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top