- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 365 for Nname (0.03 sec)
-
src/cmd/compile/internal/ir/func.go
sym = fn.Sym().Pkg.LookupNum(prefix, i) } name := NewNameAt(param.Pos, sym, param.Type) name.Class = ctxt name.Curfn = fn fn.Dcl[offset+i] = name if setNname { param.Nname = name } } } sig := fn.Type() params := sig.RecvParams() results := sig.Results() fn.Dcl = make([]*Name, len(params)+len(results)) declareParams(params, PPARAM, "~p", 0)
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/walk/closure.go
v = addr } v.Class = ir.PPARAM decls = append(decls, v) fld := types.NewField(src.NoXPos, v.Sym(), v.Type()) fld.Nname = v params = append(params, fld) } // f is ONAME of the actual function. f := clofn.Nname typ := f.Type() // Create new function type with parameters prepended, and // then update type and declarations. typ = types.NewSignature(nil, append(params, typ.Params()...), typ.Results())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/nowb.go
return } n := nn.(*ir.CallExpr) if n.Fun == nil || n.Fun.Op() != ir.ONAME { return } fn := n.Fun.(*ir.Name) if fn.Class != ir.PFUNC || fn.Defn == nil { return } if types.RuntimeSymName(fn.Sym()) != "systemstack" { return } var callee *ir.Func arg := n.Args[0] switch arg.Op() { case ir.ONAME: arg := arg.(*ir.Name) callee = arg.Defn.(*ir.Func) case ir.OCLOSURE:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0) -
test/fixedbugs/issue17588.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 17588: internal compiler error in typecheckclosure() // because in case of Func.Nname.Type == nil, Decldepth // is not initialized in typecheckfunc(). This test // produces that case. package p type F func(b T) // ERROR "T .*is not a type|expected type" func T(fn F) { func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 05 18:45:59 UTC 2021 - 569 bytes - Viewed (0) -
src/cmd/internal/buildid/note.go
tag := ef.ByteOrder.Uint32(note[8:]) nname := note[12:16] if nameSize == 4 && 16+valSize <= uint32(len(note)) && tag == elfGoBuildIDTag && bytes.Equal(nname, elfGoNote) { return string(note[16 : 16+valSize]), nil } if nameSize == 4 && 16+valSize <= uint32(len(note)) && tag == gnuBuildIDTag && bytes.Equal(nname, elfGNUNote) { gnu = string(note[16 : 16+valSize]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 20:40:42 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/export.go
fn := ir.NewFunc(src.NoXPos, src.NoXPos, s, t) importsym(fn.Nname) } // importvar declares symbol s as an imported variable with type t. func importvar(s *types.Sym, t *types.Type) { n := ir.NewNameAt(src.NoXPos, s, t) n.Class = ir.PEXTERN importsym(n) } func importsym(name *ir.Name) { sym := name.Sym() if sym.Def != nil { base.Fatalf("importsym of symbol that already exists: %v", sym.Def)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:28 UTC 2023 - 838 bytes - Viewed (0) -
src/cmd/compile/internal/test/abiutilsaux_test.go
res = append(res, s.TokenText()) } return res } func verifyParamResultOffset(t *testing.T, f *types.Field, r abi.ABIParamAssignment, which string, idx int) int { n := f.Nname.(*ir.Name) if n.FrameOffset() != int64(r.Offset()) { t.Errorf("%s %d: got offset %d wanted %d t=%v", which, idx, r.Offset(), n.Offset_, f.Type) return 1 } return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:34:00 UTC 2023 - 3.2K bytes - Viewed (0) -
operator/pkg/compare/compare.go
return nil, fmt.Errorf("failed to split the old name,"+ " length != 3: %v", name) } toList := strings.Split(toPat, ":") if len(toList) != 3 { return nil, fmt.Errorf("failed to split the rename-to string,"+ " length != 3: %v", toPat) } // Use the old name if toList has "*" or "" // Otherwise, use the name in toList newList := make([]string, 3)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
"expected name: blah\n\t\nexpected name blah but found placeholder_a"); EXPECT_EQ( Explain(add.node(), NodeWith(Inputs(_, Out(NodeWith(Name("blah")))))), "\ninput 1 does not match expected:\nname: blah, \nsource does not match " "expected name: blah\n\t\nexpected name blah but found placeholder_b"); } TEST(NodeMatchers, CheckControlDependence) { Scope root = Scope::NewRootScope().ExitOnError();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/dcl.go
name.SetEsc(ir.EscNever) name.SetUsed(true) name.SetAutoTemp(true) return name } var ( autotmpnamesmu sync.Mutex autotmpnames []string ) // autotmpname returns the name for an autotmp variable numbered n. func autotmpname(n int) string { autotmpnamesmu.Lock() defer autotmpnamesmu.Unlock() // Grow autotmpnames, if needed. if n >= len(autotmpnames) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:15:50 UTC 2023 - 3.1K bytes - Viewed (0)