- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 186 for carlet (0.97 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/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/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/crypto/elliptic/nistec.go
p1, err := curve.pointFromAffine(x1, y1) if err != nil { panic("crypto/elliptic: Add was called on an invalid point") } p2, err := curve.pointFromAffine(x2, y2) if err != nil { panic("crypto/elliptic: Add was called on an invalid point") } return curve.pointToAffine(p1.Add(p1, p2)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 16:19:34 UTC 2022 - 9.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt
# Now, the failing bytes should have been added to the seed corpus for # the target, and should fail when run without fuzzing. ! go test stdout 'FuzzWithBug/[a-f0-9]{16}' stdout 'this input caused a crash!' ! go test -run=FuzzWithNilPanic -fuzz=FuzzWithNilPanic -fuzztime=100x -fuzzminimizetime=1000x stdout 'testdata[/\\]fuzz[/\\]FuzzWithNilPanic[/\\]' stdout 'panic called with nil argument|test executed panic.nil. or runtime.Goexit'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 8.3K bytes - Viewed (0)