- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 30 for func_names (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:06:31 GMT 2025 - 16.7K bytes - Click Count (0) -
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 stringCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 06 17:27:26 GMT 2022 - 1.3K bytes - Click Count (0) -
cmd/handler-utils.go
if ok { tc.FuncName = "s3.AppendObject" tc.ResponseRecorder.LogErrBody = true } writeErrorResponse(r.Context(), w, getAPIError(ErrNotImplemented), r.URL) return } tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = "s3.ValidRequest" tc.ResponseRecorder.LogErrBody = true }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
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) } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (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, Bytes: int64(len(req) + len(resp)),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 01 05:17:37 GMT 2024 - 4.1K bytes - Click Count (0) -
cmd/os-instrumented.go
var errStr string if err != nil { errStr = err.Error() } return madmin.TraceInfo{ TraceType: madmin.TraceOS, Time: startTime, NodeName: globalLocalNodeName, FuncName: "os." + s.String(), Duration: duration, Path: path, Error: errStr, } } func updateOSMetrics(s osMetric, paths ...string) func(err error) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0) -
cmd/auth-handler.go
// Verify if date headers are set, if not reject the request amzDate, errCode := parseAmzDateHeader(r) if errCode != ErrNone { if ok { tc.FuncName = "handler.Auth" tc.ResponseRecorder.LogErrBody = true } // All our internal APIs are sensitive towards Date // header, for all requests where Date header is not
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
cmd/sftp-server-driver.go
var errStr string if err != nil { errStr = err.Error() } return madmin.TraceInfo{ TraceType: madmin.TraceFTP, Time: startTime, NodeName: globalLocalNodeName, FuncName: s.Method, Duration: time.Since(startTime), Path: s.Filepath, Error: errStr, Bytes: sz, Custom: map[string]string{ "user": user, "cmd": s.Method, "param": s.Filepath,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 10 16:35:49 GMT 2025 - 11.6K bytes - Click Count (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.auth(tracedHandler).ServeHTTP(w, r)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 7.7K bytes - Click Count (0) -
cmd/erasure-healing.go
} // healTrace sends healing results to trace output. func healTrace(funcName healingMetric, startTime time.Time, bucket, object string, opts *madmin.HealOpts, err error, result *madmin.HealResultItem) { tr := madmin.TraceInfo{ TraceType: madmin.TraceHealing, Time: startTime, NodeName: globalLocalNodeName, FuncName: "heal." + funcName.String(), Duration: time.Since(startTime),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0)