- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 433 for defn (0.07 sec)
-
src/cmd/compile/internal/staticinit/sched.go
return true } if rn.Class != ir.PEXTERN || rn.Sym().Pkg != types.LocalPkg { return false } if rn.Defn == nil { // No explicit initialization value. Probably zeroed but perhaps // supplied externally and of unknown value. return false } if rn.Defn.Op() != ir.OAS { return false } if rn.Type().IsString() { // perhaps overwritten by cmd/link -X (#34675) return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
n.X = Expr(n.X) return n // statements case ir.OAS: n := n.(*ir.AssignStmt) tcAssign(n) // Code that creates temps does not bother to set defn, so do it here. if n.X.Op() == ir.ONAME && ir.IsAutoTmp(n.X) { n.X.Name().Defn = n } return n case ir.OAS2: tcAssignList(n.(*ir.AssignListStmt)) return n case ir.OBREAK, ir.OCONTINUE, ir.ODCL, ir.OGOTO,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
clo.Func.RangeParent = outerfn if outerfn.OClosure != nil && outerfn.OClosure.Func.RangeParent != nil { clo.Func.RangeParent = outerfn.OClosure.Func.RangeParent } } fn.OClosure = clo fn.Nname.Defn = fn pkg.Funcs = append(pkg.Funcs, fn) return fn } // IsFuncPCIntrinsic returns whether n is a direct call of internal/abi.FuncPCABIxxx functions. func IsFuncPCIntrinsic(n *CallExpr) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
` const want = `L3 defs func p._() L4 defs const w untyped int L5 defs var x int L5 defs var y int L6 defs var z int L6 uses const w untyped int L6 uses var x int L7 uses var x int L7 uses var y int L7 uses var z int` // don't abort at the first error conf := Config{Error: func(err error) { t.Log(err) }} defs := make(map[*syntax.Name]Object) uses := make(map[*syntax.Name]Object)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
if b.gccSupportsFlag(compiler, "-ffile-prefix-map=a=b") { defs = append(defs, "-ffile-prefix-map="+base.Cwd()+"=.") defs = append(defs, "-ffile-prefix-map="+b.WorkDir+"=/tmp/go-build") } else if b.gccSupportsFlag(compiler, "-fdebug-prefix-map=a=b") { defs = append(defs, "-fdebug-prefix-map="+b.WorkDir+"=/tmp/go-build") } if b.gccSupportsFlag(compiler, "-gno-record-gcc-switches") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
continue } if s.OnList() { panic("a symbol is added to defs multiple times") } s.PkgIdx = goobj.PkgIdxSelf s.SymIdx = symidx s.Set(AttrIndexed, true) s.Set(AttrOnList, true) symidx++ infosyms = append(infosyms, s) } } ctxt.defs = append(ctxt.defs, infosyms...) } func writeAuxSymDebug(ctxt *Link, par *LSym, aux *LSym) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
"defs argument", i); return nullptr; } // Parse op def from character array. tensorflow::OpDef opdef; if (!tensorflow::protobuf::TextFormat::ParseFromString(tf_opdefs, &opdef)) { PyErr_Format( PyExc_ValueError, "Failed to parse opdefs at index %d of custom op defs argument: %s", i, tf_opdefs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
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/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) -
docs/vi/docs/index.md
app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Hoặc sử dụng <code>async def</code>...</summary> Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`: ```Python hl_lines="9 14"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Apr 29 05:18:04 UTC 2024 - 21.9K bytes - Viewed (0)