- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for func_names (0.17 sec)
-
cmd/http-tracer.go
reqPath := r.URL.RawPath if reqPath == "" { reqPath = r.URL.Path } // Calculate function name funcName := tc.FuncName if funcName == "" { funcName = "<unknown>" } t := madmin.TraceInfo{ TraceType: tt, FuncName: funcName, NodeName: nodeName, Time: reqStartTime, Duration: reqEndTime.Sub(respRecorder.StartTime), Path: reqPath,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 5.9K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
func testAddr2Line(t *testing.T, dbgExePath, addr string) { funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr) if symName != funcName { t.Fatalf("expected function name %v; got %v", symName, funcName) } fi1, err := os.Stat("addr2line_test.go") if err != nil { t.Fatalf("Stat failed: %v", err) } // Debug paths are stored slash-separated, so convert to system-native. srcPath = filepath.FromSlash(srcPath)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K 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)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jun 05 23:56:35 GMT 2023 - 9.2K bytes - Viewed (0) -
src/bytes/bytes_test.go
} // Execute f on each test case. funcName should be the name of f; it's used // in failure reports. func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) { for _, test := range testCases { a := []byte(test.a) b := []byte(test.b) actual := f(a, b) if actual != test.i { t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, b, actual, test.i) } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
// Add tracing to the prom. handler tracedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = "handler.MetricsV3" tc.ResponseRecorder.LogErrBody = true } innerHandler.ServeHTTP(w, r) }) // Add authentication h.authFn(tracedHandler).ServeHTTP(w, r)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 17:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
cmd/bucket-replication.go
var errStr string if err != nil { errStr = err.Error() } funcName := fmt.Sprintf("replication.(resyncID=%s)", resyncID) return madmin.TraceInfo{ TraceType: madmin.TraceReplicationResync, Time: startTime, NodeName: globalLocalNodeName, FuncName: funcName, Duration: duration, Path: path, Error: errStr, } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:09:56 GMT 2024 - 112.2K bytes - Viewed (1) -
internal/mcontext/ctxt.go
// TraceCtxt holds related tracing data of a http request. type TraceCtxt struct { RequestRecorder *xhttp.RequestRecorder ResponseRecorder *xhttp.ResponseRecorder FuncName string AmzReqID string
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Dec 06 17:27:26 GMT 2022 - 1.3K bytes - Viewed (0) -
cmd/metrics.go
registry, } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = "handler.MetricsLegacy" tc.ResponseRecorder.LogErrBody = true } mfs, err := gatherers.Gather() if err != nil { if len(mfs) == 0 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 02 06:48:36 GMT 2024 - 16.9K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
func ilmTrace(startTime time.Time, duration time.Duration, oi ObjectInfo, event string) madmin.TraceInfo { return madmin.TraceInfo{ TraceType: madmin.TraceILM, Time: startTime, NodeName: globalLocalNodeName, FuncName: event, Duration: duration, Path: pathJoin(oi.Bucket, oi.Name), Error: "", Message: getSource(4), Custom: map[string]string{"version-id": oi.VersionID}, } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 17 05:09:58 GMT 2024 - 33.1K bytes - Viewed (0) -
internal/grid/trace.go
} else { status = http.StatusBadRequest } } prefix := t.Prefix if p := handlerPrefixes[h]; p != "" { prefix = p } trace := madmin.TraceInfo{ TraceType: t.TraceType, FuncName: prefix + "." + h.String(), NodeName: remote, Time: start, Duration: end.Sub(start), Path: t.Subroute, Error: errString, HTTP: &madmin.TraceHTTPStats{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 02 22:54:54 GMT 2024 - 4K bytes - Viewed (0)