Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 161 for uint64_t (0.16 sec)

  1. 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{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  2. cmd/metrics-realtime.go

    			continue
    		}
    
    		var dm madmin.DiskMetric
    		dm.NDisks = 1
    		if d.Healing {
    			dm.Healing++
    		}
    		if d.Metrics != nil {
    			dm.LifeTimeOps = make(map[string]uint64, len(d.Metrics.APICalls))
    			for k, v := range d.Metrics.APICalls {
    				if v != 0 {
    					dm.LifeTimeOps[k] = v
    				}
    			}
    			dm.LastMinute.Operations = make(map[string]madmin.TimedAction, len(d.Metrics.APICalls))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    	if err != nil {
    		return "", fmt.Errorf("read procfs: %v", err)
    	}
    	procs, err := fs.AllProcs()
    	if err != nil {
    		return "", fmt.Errorf("read procs: %v", err)
    	}
    	oldest := uint64(math.MaxUint64)
    	best := ""
    	// We will iterate over all processes. Our goal is to find a process with the same network ID as we found above.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. internal/event/target/nsq.go

    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.NSQDAddress.IsEmpty() {
    		return errors.New("empty nsqdAddress")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt_test.go

    		{"-1", "0", true},
    		{"-1", "900", true},
    		{"1574812326", "900", false},
    		{1574812326, "900", false},
    		{int64(1574812326), "900", false},
    		{int(1574812326), "900", false},
    		{uint(1574812326), "900", false},
    		{uint64(1574812326), "900", false},
    		{json.Number("1574812326"), "900", false},
    		{1574812326.000, "900", false},
    		{time.Duration(3) * time.Minute, "900", false},
    	}
    
    	for _, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    	Format     string          `json:"format"`
    	URL        xnet.URL        `json:"url"`
    	Index      string          `json:"index"`
    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	Transport  *http.Transport `json:"-"`
    	Username   string          `json:"username"`
    	Password   string          `json:"password"`
    }
    
    // Validate ElasticsearchArgs fields
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	h := xxh3.HashString(bucket + object)
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	if len(p.workers) == 0 {
    		return nil
    	}
    	return p.workers[h%uint64(len(p.workers))]
    }
    
    func (p *ReplicationPool) queueReplicaTask(ri ReplicateObjectInfo) {
    	if p == nil {
    		return
    	}
    	// if object is large, queue it to a static set of large workers
    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)
  8. cmd/object-api-datatypes.go

    	for k, v := range o.UserDefined {
    		cinfo.UserDefined[k] = v
    	}
    	return cinfo
    }
    
    func (o ObjectInfo) tierStats() tierStats {
    	ts := tierStats{
    		TotalSize:   uint64(o.Size),
    		NumVersions: 1,
    	}
    	// the current version of an object is accounted towards objects count
    	if o.IsLatest {
    		ts.NumObjects = 1
    	}
    	return ts
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    func (client *peerRESTClient) GetMetrics(ctx context.Context, t madmin.MetricType, opts collectMetricsOpts) (info madmin.RealtimeMetrics, err error) {
    	values := make(url.Values)
    	values.Set(peerRESTMetricsTypes, strconv.FormatUint(uint64(t), 10))
    	for disk := range opts.disks {
    		values.Add(peerRESTDisk, disk)
    	}
    	for host := range opts.hosts {
    		values.Add(peerRESTHost, host)
    	}
    	values.Set(peerRESTJobID, opts.jobID)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/storage-datatypes_gen.go

    				return
    			}
    			if z.APICalls == nil {
    				z.APICalls = make(map[string]uint64, zb0003)
    			} else if len(z.APICalls) > 0 {
    				for key := range z.APICalls {
    					delete(z.APICalls, key)
    				}
    			}
    			for zb0003 > 0 {
    				zb0003--
    				var za0003 string
    				var za0004 uint64
    				za0003, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "APICalls")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
Back to top