MCPcopy Index your code
hub / github.com/maruel/panicparse / getSignature

Function getSignature

stack/stack_test.go:533–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531}
532
533func getSignature() *Signature {
534 return &Signature{
535 State: "chan receive",
536 Stack: Stack{
537 Calls: []Call{
538 {
539 Func: newFunc("main.func·001"),
540 Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}},
541 RemoteSrcPath: "/gopath/src/github.com/maruel/panicparse/stack/stack.go",
542 Line: 72,
543 },
544 {
545 Func: newFunc("sliceInternal"),
546 Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}},
547 RemoteSrcPath: "/golang/src/sort/slices.go",
548 Line: 72,
549 Location: Stdlib,
550 },
551 {
552 Func: newFunc("Slice"),
553 Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}},
554 RemoteSrcPath: "/golang/src/sort/slices.go",
555 Line: 72,
556 Location: Stdlib,
557 },
558 {
559 Func: newFunc("DoStuff"),
560 Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}},
561 RemoteSrcPath: "/gopath/src/foo/bar.go",
562 Line: 72,
563 },
564 {
565 Func: newFunc("doStuffInternal"),
566 Args: Args{
567 Values: []Arg{{Value: 0x11000000}, {Value: 2}},
568 Elided: true,
569 },
570 RemoteSrcPath: "/gopath/src/foo/bar.go",
571 Line: 72,
572 },
573 },
574 },
575 }
576}
577
578// TestMain manages a temporary directory to build on first use ../cmd/panic
579// and clean up at the end.

Callers 4

TestSignatureFunction · 0.85
TestSignature_EqualFunction · 0.85
TestSignature_SimilarFunction · 0.85
TestSignature_LessFunction · 0.85

Calls 1

newFuncFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…