Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for trac (0.18 sec)

  1. internal/rest/client.go

    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    	// is online or offline.
    	HealthCheckFn func() bool
    
    	// HealthCheckRetryUnit will be used to calculate the exponential
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/data-scanner-metric.go

    	scannerMetricCleanAbandoned
    	scannerMetricApplyNonCurrent
    	scannerMetricHealAbandonedVersion
    
    	// START Trace metrics:
    	scannerMetricStartTrace
    	scannerMetricScanObject // Scan object. All operations included.
    	scannerMetricHealAbandonedObject
    
    	// END realtime metrics:
    	scannerMetricLastRealtime
    
    	// Trace only metrics:
    	scannerMetricScanFolder      // Scan a folder on disk, recursively.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  3. internal/logger/target/console/console.go

    		return nil
    	}
    
    	traceLength := len(entry.Trace.Source)
    	trace := make([]string, traceLength)
    
    	// Add a sequence number and formatting for each stack trace
    	// No formatting is required for the first entry
    	for i, element := range entry.Trace.Source {
    		trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element)
    	}
    
    	tagString := ""
    	for key, value := range entry.Trace.Variables {
    		if value != "" {
    			if tagString != "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    			// Form and append a line of stack trace into a
    			// collection, 'trace', to build full stack trace
    			trace = append(trace, fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName))
    
    			// Ignore trace logs beyond the following conditions
    			for _, name := range matchingFuncNames {
    				if funcName == name {
    					return trace
    				}
    			}
    		}
    		traceLevel++
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. internal/logger/target/testlogger/testlogger.go

    				fmt.Fprintf(os.Stdout, format+"\n", args...)
    			}
    		}
    	}
    
    	switch v := entry.(type) {
    	case log.Entry:
    		if v.Trace == nil {
    			logf("%s: %s", v.Level, v.Message)
    		} else {
    			msg := fmt.Sprintf("%s: %+v", v.Level, v.Trace.Message)
    			for i, m := range v.Trace.Source {
    				if i == 0 && strings.Contains(m, "logger.go:") {
    					continue
    				}
    				msg += fmt.Sprintf("\n%s", m)
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. internal/http/response-recorder.go

    package http
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"time"
    )
    
    // ResponseRecorder - is a wrapper to trap the http response
    // status code and to record the response body
    type ResponseRecorder struct {
    	http.ResponseWriter
    	io.ReaderFrom
    	StatusCode int
    	// Log body of 4xx or 5xx responses
    	LogErrBody bool
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    		Duration:  duration,
    		Path:      pathJoin(oi.Bucket, oi.Name),
    		Error:     "",
    		Message:   getSource(4),
    		Custom:    map[string]string{"version-id": oi.VersionID},
    	}
    }
    
    func (sys *LifecycleSys) trace(oi ObjectInfo) func(event string) {
    	startTime := time.Now()
    	return func(event string) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceILM) > 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. callbacks.go

    		}
    		if !stmt.ReflectValue.IsValid() {
    			db.AddError(ErrInvalidValue)
    		}
    	}
    
    	for _, f := range p.fns {
    		f(db)
    	}
    
    	if stmt.SQL.Len() > 0 {
    		db.Logger.Trace(stmt.Context, curTime, func() (string, int64) {
    			sql, vars := stmt.SQL.String(), stmt.Vars
    			if filter, ok := db.Logger.(ParamsFilter); ok {
    				sql, vars = filter.ParamsFilter(stmt.Context, stmt.SQL.String(), stmt.Vars...)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  9. internal/grid/manager.go

    // It also handles incoming requests and routes them to the appropriate connection.
    type Manager struct {
    	// ID is an instance ID, that will change whenever the server restarts.
    	// This allows remotes to keep track of whether state is preserved.
    	ID uuid.UUID
    
    	// Immutable after creation, so no locks.
    	targets map[string]*Connection
    
    	// serverside handlers.
    	handlers handlers
    
    	// local host name.
    	local string
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/erasure-coding.go

    			failOnErr(err)
    			encoded, err := e.EncodeData(GlobalContext, testData[:])
    			failOnErr(err)
    			hash := xxhash.New()
    			for i, data := range encoded {
    				// Write index to keep track of sizes of each.
    				_, err = hash.Write([]byte{byte(i)})
    				failOnErr(err)
    				_, err = hash.Write(data)
    				failOnErr(err)
    				got[conf] = map[ErasureAlgo]uint64{algo: hash.Sum64()}
    			}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top