- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for threadRing (0.2 sec)
-
test/stress/runstress.go
out <- n - 1 } } func threadRing(bufsize int) { const N = 100 donec := make(chan bool) one := make(chan int, bufsize) // will be input to thread 1 var in, out chan int = nil, one for i := 1; i <= N-1; i++ { in, out = out, make(chan int, bufsize) go ringf(in, out, donec) } go ringf(out, one, donec) one <- N <-donec Println("did threadring of", bufsize) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/em/docs/how-to/sql-databases-peewee.md
๐ โ โฎ๏ธ ๐ & FastAPI ๐ ๐ โ๏ธ ๐ ๐ <a href="https://docs.python.org/3/library/threading.html#thread-local-data" class="external-link" target="_blank">๐ `threading.local`</a>, & โซ๏ธ ๐ซ โ๏ธ ๐ฏ ๐ ๐ โซ๏ธ โ๏ธ โก๏ธ ๐ ๐ต ๐/๐ ๐ (๐จ ๐ธ๐ฒ ๐ฐ). & `threading.local` ๐ซ ๐ โฎ๏ธ ๐ ๐ โ ๐ ๐. !!! note "๐ก โน" `threading.local` โ๏ธ โ๏ธ "๐ฑ" ๐ข ๐ โ๏ธ ๐ ๐ฒ ๐ ๐งต. ๐ โ ๐ ๐ ๏ธ ๐ โ๏ธ 1๏ธโฃ ๐ ๐งต ๐ ๐จ, ๐ โโ ๐, ๐ โโ ๐.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.cc
// Note a side effect of this method is that multi threading will be disabled. void EnablePassIRPrinting(PassManager& pm, const std::string& dump_group_name, llvm::StringRef module_name) { // Print the whole module after each pass, which requires disabling // multi-threading as well. pm.getContext()->disableMultithreading();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 14:26:22 UTC 2023 - 2K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Jan 16 13:23:25 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/mark_functions_noinline.mlir
// RUN: tf-quant-opt %s -mark-functions-noinline='noinline-functions=noinline0' \ // RUN: -allow-unregistered-dialect -mlir-disable-threading \ // RUN: -split-input-file -verify-diagnostics | FileCheck %s // Tests that the function is marked tf._noinline = true. // CHECK-LABEL: @noinline0 // CHECK-SAME: attributes {{{.*tf._noinline = true.*}}} func.func @noinline0() -> (tensor<0xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 00:02:46 UTC 2023 - 841 bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.h
namespace tensorflow { namespace tf2xla { namespace internal { // Setup the input pass manager to enable IR dumping after each pass. // Note a side effect of this method is that multi threading will be disabled. void EnablePassIRPrinting(mlir::PassManager& pm, const std::string& dump_group_name, llvm::StringRef module_name = llvm::StringRef());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 14:26:22 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpHeaderSchemeFactory.java
import org.apache.http.annotation.ThreadingBehavior; import org.apache.http.auth.AuthScheme; import org.apache.http.protocol.HttpContext; import java.nio.charset.Charset; @Contract(threading = ThreadingBehavior.IMMUTABLE) @SuppressWarnings("deprecation") public class HttpHeaderSchemeFactory implements org.apache.http.auth.AuthSchemeFactory, org.apache.http.auth.AuthSchemeProvider {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc
// Note a side effect of this method is that multi threading will be disabled. void EnablePassIRPrinting(PassManager& pm, const std::string& dump_group_name, llvm::StringRef module_name) { // Print the whole module after each pass, which requires disabling // multi-threading as well. pm.getContext()->disableMultithreading();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.cc
#include "llvm/ADT/SmallVector.h" #include "mlir/IR/Block.h" // from @llvm-project #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project #include "mlir/IR/Threading.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.h" #include "tensorflow/compiler/mlir/tensorflow/utils/session_utils.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 19:14:56 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* Base class for services that can implement {@link #startUp}, {@link #run} and {@link #shutDown} * methods. This class uses a single thread to execute the service; consider {@link AbstractService} * if you would like to manage any threading manually. * * @author Jesse Wilson * @since 1.0 */ @GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public abstract class AbstractExecutionThreadService implements Service {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 7.6K bytes - Viewed (0)