Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for thread_pool_ (0.15 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        ExecutorService threadPool = Executors.newFixedThreadPool(nThreads);
        final CountDownLatch tasksFinished = new CountDownLatch(nTasks);
        for (int i = 0; i < nTasks; i++) {
          final String s = "a" + i;
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError =
              threadPool.submit(
                  new Runnable() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        protected SuggestWriter suggestWriter;
    
        protected ExecutorService threadPool;
    
        public SuggestIndexer(final Client client, final String index, final ReadingConverter readingConverter,
                final ReadingConverter contentsReadingConverter, final Normalizer normalizer, final SuggestAnalyzer analyzer,
                final SuggestSettings settings, final ExecutorService threadPool) {
            this.client = client;
            this.index = index;
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

    #include "tensorflow/compiler/mlir/tfrt/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tfrt/utils/host_context.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/platform/threadpool.h"
    #include "tensorflow/core/platform/threadpool_interface.h"
    #include "tensorflow/core/runtime_fallback/kernel/kernel_fallback_execute_compat_eager.h"
    #include "tensorflow/core/runtime_fallback/runtime/kernel_utils.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                }
                logger.info("Disconnected to {}", address);
            }
            connected = false;
        }
    
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        @Override
        public AdminClient admin() {
            return client.admin();
        }
    
        @Override
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/benchmark_main.template

    // clang-format off
    #define CPP_CLASS {{TFCOMPILE_CPP_CLASS}}  // NOLINT(whitespace/braces)
    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    
    int Main(int argc, char** argv) {
      Eigen::ThreadPool pool(1 /* num_threads */);
      Eigen::ThreadPoolDevice device(&pool, pool.NumThreads());
    
      CPP_CLASS computation;
      computation.set_thread_pool(&device);
    
      benchmark::Options options;
      benchmark::Stats stats;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_compiler.h

    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "xla/client/local_client.h"
    #include "tensorflow/core/framework/metrics.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/lib/core/threadpool.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/thread_annotations.h"
    
    namespace tensorflow {
    
    // Compiles/lowers a given Tensorflow graph/function/cluster into a compiled XLA
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/sql-databases-peewee.md

    On top of that, an async framework could run some sync code in a threadpool (using `asyncio.run_in_executor`), but belonging to the same request.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. tensorflow/cc/client/client_session.h

                 const std::vector<Operation>& run_outputs,
                 std::vector<Tensor>* outputs, RunMetadata* run_metadata) const;
    
      /// Same as above. Additionally allows user to provide custom threadpool
      /// implementation via ThreadPoolOptions.
      Status Run(const RunOptions& run_options, const FeedType& inputs,
                 const std::vector<Output>& fetch_outputs,
                 const std::vector<Operation>& run_outputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 20 08:11:46 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. docs/fr/docs/async.md

    ### Fonctions de chemin
    
    Quand vous déclarez une *fonction de chemin* avec un `def` normal et non `async def`, elle est exécutée dans un groupe de threads (threadpool) externe qui est ensuite attendu, plutôt que d'être appelée directement (car cela bloquerait le serveur).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.cc

      // TODO(b/113217601): This is needed for EagerContext::runner_ to use a
      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top