- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 205 for carlet (0.26 sec)
-
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go
import ( "go/ast" "go/types" "golang.org/x/tools/go/ast/astutil" "golang.org/x/tools/internal/typeparams" ) // Callee returns the named target of a function call, if any: // a function, method, builtin, or variable. // // Functions and methods may potentially have type parameters. func Callee(info *types.Info, call *ast.CallExpr) types.Object { fun := astutil.Unparen(call.Fun) // Look through type instantiation if necessary.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/nowb.go
base.ErrorfAt(fn.WBPos, 0, "write barrier prohibited by caller; %v%s", fn.Nname, err.String()) continue } // Enqueue fn's calls. for _, callee := range c.extraCalls[fn] { enqueue(fn, callee.target, callee.lineno) } if fn.NWBRCalls == nil { continue } for _, callee := range *fn.NWBRCalls { target := symToFunc[callee.Sym] if target != nil { enqueue(fn, target, callee.Pos) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go
selectA := func(gotI int) Adder { if gotI != selectI { panic(fmt.Sprintf("selectA not called once per iteration; got i %d want %d", gotI, selectI)) } selectI++ if gotI%10 == 0 { return a2 } return a1 } oneI := 0 one := func(gotI int) int { if gotI != oneI { panic(fmt.Sprintf("one not called once per iteration; got i %d want %d", gotI, oneI)) } oneI++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 18:17:57 UTC 2023 - 6.2K bytes - Viewed (0) -
src/crypto/tls/cache.go
// // Note that there is a race between active and the finalizer set on the // returned activeCert, triggered if active is called after the ref count is // decremented such that refs may be > 0 when evict is called. We consider this // safe, since the caller holding an activeCert for an entry that is no longer // in the cache is fine, with the only side effect being the memory overhead of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 23:56:41 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.go
return nil, nil } // Note: (*"encoding/json".Decoder).Decode, (* "encoding/gob".Decoder).Decode // and (* "encoding/xml".Decoder).Decode are methods and can be a typeutil.Callee // without directly importing their packages. So we cannot just skip this package // when !analysisutil.Imports(pass.Pkg, "encoding/..."). // TODO(taking): Consider using a prepass to collect typeutil.Callees.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/dcl.go
// DeclFunc declares the parameters for fn and adds it to // Target.Funcs. // // Before returning, it sets CurFunc to fn. When the caller is done // constructing fn, it must call FinishFuncBody to restore CurFunc. func DeclFunc(fn *ir.Func) { fn.DeclareParams(true) fn.Nname.Defn = fn Target.Funcs = append(Target.Funcs, fn) funcStack = append(funcStack, ir.CurFunc) ir.CurFunc = fn }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:15:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/internal/pgo/pprof.go
} return &Profile{ TotalWeight: totalWeight, NamedEdgeMap: namedEdgeMap, }, nil } // createNamedEdgeMap builds a map of callsite-callee edge weights from the // profile-graph. // // Caller should ignore the profile if totalWeight == 0. func createNamedEdgeMap(g *profile.Graph) (edgeMap NamedEdgeMap, totalWeight int64, err error) { seenStartLine := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errors.go
if !p { msg := "assertion failed" // Include information about the assertion location. Due to panic recovery, // this location is otherwise buried in the middle of the panicking stack. if _, file, line, ok := runtime.Caller(1); ok { msg = fmt.Sprintf("%s:%d: %s", file, line, msg) } panic(msg) } } // An errorDesc describes part of a type-checking error. type errorDesc struct { pos syntax.Pos msg string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_overlay.txt
-- $WORK/overlay/carve-nomod-go-mod -- module carve/nomod -- carve2/go.mod -- module carve2 -- carve2/p.go -- package p -- carve2/nomod/overlay.json -- { "Replace": { "go.mod": "../../../../overlay/carve2-nomod-go.mod" } } -- carve2/nomod/b.go -- package nomod -- $WORK/overlay/carve2-nomod-go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/doc.go
// call a context cancellation function. // // # Analyzer lostcancel // // lostcancel: check cancel func returned by context.WithCancel is called // // The cancellation function returned by context.WithCancel, WithTimeout, // and WithDeadline must be called or the new context will remain live // until its parent context is cancelled. // (The background context is never cancelled.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 632 bytes - Viewed (0)