- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 500 for defs (0.1 sec)
-
fastapi/openapi/models.py
ref: Optional[str] = Field(default=None, alias="$ref") dynamicRef: Optional[str] = Field(default=None, alias="$dynamicRef") defs: Optional[Dict[str, "SchemaOrBool"]] = Field(default=None, alias="$defs") comment: Optional[str] = Field(default=None, alias="$comment") # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-a-vocabulary-for-applying-s
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 22:49:33 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
} ident := idents[test.name][0] def := info.Defs[ident] if def == test.obj { t.Fatalf("info.Defs[%s] contains the test object", test.name) } if orig := originObject(test.obj); def != orig { t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name) } if def.Pkg() != test.obj.Pkg() { t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_gpu_device.cc
#include <array> #include <set> #include "absl/memory/memory.h" #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" #include "tensorflow/compiler/jit/defs.h" #include "tensorflow/compiler/jit/flags.h" #include "tensorflow/compiler/jit/kernels/xla_ops.h" #include "tensorflow/compiler/jit/xla_device.h" #include "tensorflow/compiler/jit/xla_device_ops.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/cc/experimental/libexport/load.h
// names to their corresponding nodes at load time in order to look them up // in constant time. tensorflow::StatusOr<const tensorflow::NodeDef*> GetGraphDefNode( std::string name); // Returns a list of function defs in the SavedModel. const protobuf::RepeatedPtrField<FunctionDef>& GetFunctionDefs(); // Returns a BundleReader for reading variable values. // // This TFPackage retains ownership of the underlying reader.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 13 06:33:42 UTC 2023 - 4.6K bytes - Viewed (0) -
src/go/types/api_test.go
} ident := idents[test.name][0] def := info.Defs[ident] if def == test.obj { t.Fatalf("info.Defs[%s] contains the test object", test.name) } if orig := originObject(test.obj); def != orig { t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name) } if def.Pkg() != test.obj.Pkg() { t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/internal/types/errors/codes_test.go
file, err := parser.ParseFile(fset, "codes.go", nil, parser.ParseComments) if err != nil { t.Fatal(err) } conf := Config{Importer: importer.Default()} info := &Info{ Types: make(map[ast.Expr]TypeAndValue), Defs: make(map[*ast.Ident]Object), Uses: make(map[*ast.Ident]Object), } _, err = conf.Check("types", fset, []*ast.File{file}, info) if err != nil { t.Fatal(err) } for _, decl := range file.Decls {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:41:45 UTC 2022 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/jit/cluster_scoping_pass.cc
#include "tensorflow/compiler/jit/cluster_scoping_pass.h" #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "tensorflow/compiler/jit/defs.h" #include "tensorflow/compiler/jit/xla_cluster_util.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/graph/algorithm.h" namespace tensorflow { namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.7K bytes - Viewed (0) -
src/go/ast/scope.go
// flag to disable syntactic object resolution (which also saves CPU // and memory), and instead use the type checker [go/types] if object // resolution is desired. See the Defs, Uses, and Implicits fields of // the [types.Info] struct for details. type Object struct { Kind ObjKind Name string // declared name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/rangefunc/rewrite.go
n := syntax.NewName(pos, name) tv := syntax.TypeAndValue{Type: typ} tv.SetIsValue() n.SetTypeInfo(tv) r.info.Defs[n] = obj return obj, n } func (r *rewriter) generateParamName(results []*syntax.Field, i int) { obj, n := r.sig.RenameResult(results, i) r.info.Defs[n] = obj } // declVar declares a variable with a given name type and initializer value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go
} func canonicalMethod(pass *analysis.Pass, id *ast.Ident) { // Expected input/output. expect, ok := canonicalMethods[id.Name] if !ok { return } // Actual input/output sign := pass.TypesInfo.Defs[id].Type().(*types.Signature) args := sign.Params() results := sign.Results() // Special case: WriteTo with more than one argument, // not trying at all to implement io.WriterTo,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.9K bytes - Viewed (0)