- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 174 for GENERATOR (0.17 sec)
-
docs/en/docs/advanced/custom-response.md
``` ### `StreamingResponse` Takes an async generator or a normal generator/iterator and streams the response body. ```Python hl_lines="2 14" {!../../../docs_src/custom_response/tutorial007.py!} ``` #### Using `StreamingResponse` with file-like objects If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/arg_view.cc
#include "tensorflow/c/experimental/ops/gen/cpp/views/arg_view.h" #include "tensorflow/c/experimental/ops/gen/model/arg_spec.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { namespace cpp { ArgView::ArgView(ArgSpec arg) : arg_(arg) {} string ArgView::VariableName() const { return arg_.name(); } string ArgView::SetterMethod() const { if (IsList()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 1.4K bytes - Viewed (0) -
src/crypto/rand/rand_plan9.go
// Plan9 cryptographically secure pseudorandom number // generator. package rand import ( "crypto/aes" "internal/byteorder" "io" "os" "sync" "time" ) const randomDevice = "/dev/random" func init() { Reader = &reader{} } // reader is a new pseudorandom generator that seeds itself by // reading from /dev/random. The Read method on the returned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/trace/gen.go
"internal/trace" "internal/trace/traceviewer" "strings" ) // generator is an interface for generating a JSON trace for the trace viewer // from a trace. Each method in this interface is a handler for a kind of event // that is interesting to render in the UI via the JSON trace. type generator interface { // Global parts. Sync() // Notifies the generator of an EventSync event. StackSample(ctx *traceContext, ev *trace.Event)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/ArgumentsConverterGenerator.kt
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.fir.generator import org.jetbrains.kotlin.fir.checkers.generator.printImports import org.jetbrains.kotlin.fir.tree.generator.util.writeToFileUsingSmartPrinterIfFileContentChanged import org.jetbrains.kotlin.utils.SmartPrinter import org.jetbrains.kotlin.utils.withIndent import java.io.File
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/arg_type_view.cc
#include "tensorflow/c/experimental/ops/gen/model/arg_type.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { namespace cpp { ArgTypeView::ArgTypeView(ArgType arg_type) : arg_type_(arg_type) {} string ArgTypeView::TypeName() const { if (arg_type_.is_read_only()) { if (arg_type_.is_list()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 1.4K bytes - Viewed (0) -
analysis/analysis-api-fir/build.gradle.kts
implementation(project(":compiler:backend")) generatorClasspath(project(":analysis:analysis-api-fir:analysis-api-fir-generator")) } val generateCode by tasks.registering(NoDebugJavaExec::class) { val generatorRoot = "$projectDir/analysis/analysis-api-fir/analysis-api-fir-generator/src/" val generatorConfigurationFiles = fileTree(generatorRoot) { include("**/*.kt") }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/view_util.cc
#include "tensorflow/c/experimental/ops/gen/common/view_util.h" #include "absl/strings/str_join.h" #include "absl/strings/substitute.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { string Call(const string& object, const string& method, std::vector<string> arguments, const char* oper) { return absl::Substitute("$0$1$2($3)", object, oper, method,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/path_config.cc
#include <iostream> #include "absl/strings/str_join.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { PathConfig::PathConfig(const string& output_dir, const string& source_dir, const string& api_dir_list, const std::vector<string> op_names)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/case_format_test.cc
#include "tensorflow/c/experimental/ops/gen/common/case_format.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { namespace { // For each test case, we manually construct the 4 variations in string case and // test all 16 conversions: from and to each of the 4 string case variations. struct Variations { string lower_camel;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.5K bytes - Viewed (0)