- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 96 for funcNames (0.13 sec)
-
src/runtime/traceback_test.go
case strings.HasPrefix(line, "created by "): funcName := line[len("created by "):] cur.createdBy = parseFrame(funcName, "") case strings.HasSuffix(line, ")"): line = line[:len(line)-1] // Trim trailing ")" funcName, args, found := strings.Cut(line, "(") if !found { fatal("missing (") } frame := parseFrame(funcName, args) cur.frames = append(cur.frames, frame)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
internal/logger/logger.go
func getSource(level int) string { pc, file, lineNumber, ok := runtime.Caller(level) if ok { // Clean up the common prefixes file = trimTrace(file) _, funcName := filepath.Split(runtime.FuncForPC(pc).Name()) return fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName) } return "" } // getTrace method - creates and returns stack trace func getTrace(traceLevel int) []string { var trace []string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/generic-handlers.go
if ok { tc.FuncName = "handler.ValidRequest" tc.ResponseRecorder.LogErrBody = true } defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r)) writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrUnsupportedMetadata), r.URL) return } if isHTTPHeaderSizeTooLarge(r.Header) { if ok { tc.FuncName = "handler.ValidRequest"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 01:01:15 UTC 2024 - 20.4K bytes - Viewed (0) -
src/runtime/race/race_test.go
} reader := bufio.NewReader(bytes.NewReader(testOutput)) funcName := "" var tsanLog []string for { s, err := nextLine(reader) if err != nil { fmt.Printf("%s\n", processLog(funcName, tsanLog)) break } if strings.HasPrefix(s, testPrefix) { fmt.Printf("%s\n", processLog(funcName, tsanLog)) tsanLog = make([]string, 0, 100) funcName = s[len(testPrefix):] } else { tsanLog = append(tsanLog, s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6K bytes - Viewed (0) -
src/os/stat_windows.go
} // stat implements both Stat and Lstat of a file. func stat(funcname, name string, followSurrogates bool) (FileInfo, error) { if len(name) == 0 { return nil, &PathError{Op: funcname, Path: name, Err: syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)} } namep, err := syscall.UTF16PtrFromString(fixLongPath(name)) if err != nil { return nil, &PathError{Op: funcname, Path: name, Err: err} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 5.2K bytes - Viewed (0) -
src/runtime/export_debug_test.go
if getg().m != h.mp { println("trap on wrong M", getg().m, h.mp) return false } f := findfunc(ctxt.sigpc()) if !(stringslite.HasPrefix(funcname(f), "runtime.debugCall") || stringslite.HasPrefix(funcname(f), "debugCall")) { println("trap in unknown function", funcname(f)) return false } if !sigctxtAtTrapInstruction(ctxt) { println("trap at non-INT3 instruction pc =", hex(ctxt.sigpc())) return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/internal/coverage/test/roundtrip_test.go
pp := "foo/bar/pkg" pn := "pkg" mp := "barmod" b, err := encodemeta.NewCoverageMetaDataBuilder(pp, pn, mp) if err != nil { t.Fatalf("making builder: %v", err) } f1 := coverage.FuncDesc{ Funcname: "func", Srcfile: "foo.go", Units: []coverage.CoverableUnit{ coverage.CoverableUnit{StLine: 1, StCol: 2, EnLine: 3, EnCol: 4, NxStmts: 5}, coverage.CoverableUnit{StLine: 6, StCol: 7, EnLine: 8, EnCol: 9, NxStmts: 10},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 21:42:05 UTC 2023 - 8.5K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
fmt.Printf("counter merge for %s fidx=%d\n", fd.Funcname, fnIdx) } // Merge. err, overflow := mm.MergeCounters(gfp.Counters, counters) if err != nil { fatal("%v", err) } if overflow { warn("uint32 overflow during counter merge") } mm.p.ctab[fnIdx] = gfp } else { if *verbflag >= 3 { fmt.Printf("null merge for %s fidx %d\n", fd.Funcname, fnIdx) } gfp := v
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
StringAttr func_name = main_func.getSymNameAttr(); llvm::SmallVector<mlir::Attribute, 2> func_names = { mlir::SymbolRefAttr::get(builder.getContext(), func_name)}; builder.create<tf_saved_model::SessionInitializerOp>( module->getLoc(), builder.getArrayAttr(func_names)); // Create AssetOp; this holds the checkpoint_path.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/namespace-lock.go
} func getSource(n int) string { var funcName string pc, filename, lineNum, ok := runtime.Caller(n) if ok { filename = pathutil.Base(filename) funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(), "github.com/minio/minio/cmd.") } else { filename = "<unknown>" lineNum = 0 } return fmt.Sprintf("[%s:%d:%s()]", filename, lineNum, funcName)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 05 23:56:35 UTC 2023 - 9.2K bytes - Viewed (0)