- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 151 for Nname (0.05 sec)
-
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) -
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) -
operator/pkg/name/name.go
s := string(n) return ComponentName(strings.ToUpper(s[0:1]) + s[1:]) } // UserFacingComponentName returns the name of the given component that should be displayed to the user in high // level CLIs (like progress log). func UserFacingComponentName(name ComponentName) string { ret, ok := userFacingComponentNames[name] if !ok { return "Unknown" } return ret
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 7.9K bytes - Viewed (0) -
src/net/http/filetransport_test.go
} } func TestFileTransport(t *testing.T) { check := checker(t) dname := t.TempDir() fname := filepath.Join(dname, "foo.txt") err := os.WriteFile(fname, []byte("Bar"), 0644) check("WriteFile", err) defer os.Remove(fname) tr := &Transport{} tr.RegisterProtocol("file", NewFileTransport(Dir(dname))) c := &Client{Transport: tr} fooURLs := []string{"file:///foo.txt", "file://../foo.txt"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 17:07:12 UTC 2023 - 2.6K bytes - Viewed (0)