Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 938 for Nil$ (0.11 sec)

  1. cmd/metrics-v3-handler.go

    				matchingMG[collPath] = v
    			} else if v, ok := h.metricsData.bucketMGMap[collPath]; ok {
    				matchingMG[collPath] = v
    			}
    		}
    	}
    
    	if len(matchingMG) == 0 {
    		return nil
    	}
    
    	var metrics []metricDisplay
    	for _, collectorPath := range h.metricsData.collectorPaths {
    		if mg, ok := matchingMG[collectorPath]; ok {
    			var commonLabels []string
    			for k := range mg.ExtraLabels {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. clause/clause_test.go

    import (
    	"reflect"
    	"strings"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    var db, _ = gorm.Open(tests.DummyDialector{}, nil)
    
    func checkBuildClauses(t *testing.T, clauses []clause.Interface, result string, vars []interface{}) {
    	var (
    		buildNames    []string
    		buildNamesMap = map[string]bool{}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  3. clause/select.go

    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    func (s Select) MergeClause(clause *Clause) {
    	if s.Expression != nil {
    		if s.Distinct {
    			if expr, ok := s.Expression.(Expr); ok {
    				expr.SQL = "DISTINCT " + expr.SQL
    				clause.Expression = expr
    				return
    			}
    		}
    
    		clause.Expression = s.Expression
    	} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. docs/iam/identity-manager-plugin.go

    	w.WriteHeader(http.StatusOK)
    	json.NewEncoder(w).Encode(rsp)
    	return
    }
    
    func main() {
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listening on :8081")
    	log.Fatal(http.ListenAndServe(":8081", nil))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. logger/logger.go

    //nolint:cyclop
    func (l *logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) {
    	if l.LogLevel <= Silent {
    		return
    	}
    
    	elapsed := time.Since(begin)
    	switch {
    	case err != nil && l.LogLevel >= Error && (!errors.Is(err, ErrRecordNotFound) || !l.IgnoreRecordNotFoundError):
    		sql, rows := fc()
    		if rows == -1 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. src/arena/arena.go

    func (a *Arena) Free() {
    	runtime_arena_arena_Free(a.a)
    	a.a = nil
    }
    
    // New creates a new *T in the provided arena. The *T must not be used after
    // the arena is freed. Accessing the value after free may result in a fault,
    // but this fault is also not guaranteed.
    func New[T any](a *Arena) *T {
    	return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  7. internal/event/errors.go

    type ErrDuplicateQueueConfiguration struct {
    	Queue Queue
    }
    
    func (err ErrDuplicateQueueConfiguration) Error() string {
    	var message string
    	if data, xerr := xml.Marshal(err.Queue); xerr != nil {
    		message = fmt.Sprintf("%+v", err.Queue)
    	} else {
    		message = string(data)
    	}
    
    	return fmt.Sprintf("duplicate queue configuration %v", message)
    }
    
    // ErrUnknownRegion - unknown region error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  8. internal/kms/errors.go

    	APICode string // The API error code identifying the error
    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    func (e Error) Error() string {
    	if e.Cause == nil {
    		return e.Err
    	}
    	return fmt.Sprintf("%s: %v", e.Err, e.Cause)
    }
    
    func errKeyCreationFailed(err error) Error {
    	return Error{
    		Code:    http.StatusInternalServerError,
    		APICode: "kms:KeyCreationFailed",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-network.go

    		m.Set(internodeDialAvgTimeNanos, float64(rpcStats.DialAvgDuration))
    		m.Set(internodeSentBytesTotal, float64(connStats.internodeOutputBytes))
    		m.Set(internodeRecvBytesTotal, float64(connStats.internodeInputBytes))
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. internal/s3select/jstream/errors.go

    func (e DecoderError) Error() string {
    	loc := fmt.Sprintf("%s [%d,%d]", quoteChar(e.atChar), e.pos[0], e.pos[1])
    	s := fmt.Sprintf("%s %s: %s", e.msg, e.context, loc)
    	if e.readerErr != nil {
    		s += "\nreader error: " + e.readerErr.Error()
    	}
    	return s
    }
    
    // quoteChar formats c as a quoted character literal
    func quoteChar(c byte) string {
    	// special cases - different from quoted strings
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top