Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 467 for Uint64 (0.16 sec)

  1. cmd/metrics-v2_gen.go

    				return
    			}
    			if z.Histogram == nil {
    				z.Histogram = make(map[string]uint64, zb0004)
    			} else if len(z.Histogram) > 0 {
    				for key := range z.Histogram {
    					delete(z.Histogram, key)
    				}
    			}
    			for zb0004 > 0 {
    				var za0005 string
    				var za0006 uint64
    				zb0004--
    				za0005, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. scan.go

    			mapValue := map[string]interface{}{}
    			scanIntoMap(mapValue, values, columns)
    			*dest = append(*dest, mapValue)
    		}
    	case *int, *int8, *int16, *int32, *int64,
    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    func crcHashMod(key string, cardinality int) int {
    	if cardinality <= 0 {
    		return -1
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. internal/event/target/webhook.go

    	Endpoint   xnet.URL        `json:"endpoint"`
    	AuthToken  string          `json:"authToken"`
    	Transport  *http.Transport `json:"-"`
    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	ClientCert string          `json:"clientCert"`
    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. internal/grid/msg.go

    	FlagSubroute
    )
    
    // This struct cannot be changed and retain backwards compatibility.
    // If changed, endpoint version must be bumped.
    //
    //msgp:tuple message
    type message struct {
    	MuxID      uint64    // Mux to receive message if any.
    	Seq        uint32    // Sequence number.
    	DeadlineMS uint32    // If non-zero, milliseconds until deadline (max 1193h2m47.295s, ~49 days)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    	// helps in calculating the current value by comparing the new
    	// cumulative value with previous one
    	Cumulative float64
    
    	Max   float64
    	Avg   float64
    	Sum   float64
    	Count uint64
    }
    
    func init() {
    	interval := fmt.Sprintf("%ds", int(resourceMetricsCollectionInterval.Seconds()))
    	resourceMetricsHelpMap = map[MetricName]string{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. docs/debugging/reorder-disks/main.go

    }
    
    func getMajorMinor(path string) (string, error) {
    	var stat syscall.Stat_t
    	if err := syscall.Stat(path, &stat); err != nil {
    		return "", fmt.Errorf("unable to stat `%s`: %w", path, err)
    	}
    
    	devID := uint64(stat.Dev)
    	major := (devID & 0x00000000000fff00) >> 8
    	major |= (devID & 0xfffff00000000000) >> 32
    	minor := (devID & 0x00000000000000ff) >> 0
    	minor |= (devID & 0x00000ffffff00000) >> 12
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. internal/grid/muxserver.go

    package grid
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    type muxServer struct {
    	ID                 uint64
    	LastPing           int64
    	SendSeq, RecvSeq   uint32
    	Resp               chan []byte
    	BaseFlags          Flags
    	ctx                context.Context
    	cancel             context.CancelFunc
    	inbound            chan []byte
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), type Rusage struct, Msgsnd int64
    pkg syscall (darwin-arm64), type Rusage struct, Nivcsw int64
    pkg syscall (darwin-arm64), type Rusage struct, Nsignals int64
    pkg syscall (darwin-arm64), type Rusage struct, Nswap int64
    pkg syscall (darwin-arm64), type Rusage struct, Nvcsw int64
    pkg syscall (darwin-arm64), type Rusage struct, Oublock int64
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  10. internal/grid/muxclient.go

    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/zeebo/xxh3"
    )
    
    // muxClient is a stateful connection to a remote.
    type muxClient struct {
    	MuxID              uint64
    	SendSeq, RecvSeq   uint32
    	LastPong           int64
    	BaseFlags          Flags
    	ctx                context.Context
    	cancelFn           context.CancelCauseFunc
    	parent             *Connection
    	respWait           chan<- Response
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top