Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 333 for Round (0.2 sec)

  1. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    	cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    	m.Set(sysCPUUser, cpuUserVal)
    	cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    	m.Set(sysCPUSystem, cpuSystemVal)
    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    	resourceMetricsMapMu.Lock()
    	defer resourceMetricsMapMu.Unlock()
    	subsysMetrics, found := resourceMetricsMap[subSys]
    	if !found {
    		subsysMetrics = ResourceMetrics{}
    	}
    
    	key := getResourceKey(name, labels)
    	metric, found := subsysMetrics[key]
    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    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)
  3. cmd/encryption-v1_test.go

    					toRead -= currentPartBytes
    					l += getEncSize(currentPartDareBytes)
    				} else {
    					// current part has the last
    					// byte required
    					lbPartOffset := partOffset + toRead - 1
    
    					// round up the lbPartOffset
    					// to the end of the
    					// corresponding DARE package
    					lbPkgEndOffset := lbPartOffset - (lbPartOffset % pkgSz) + pkgSz
    					if lbPkgEndOffset > v {
    						lbPkgEndOffset = v
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  4. docs/sts/web-identity.md

    `MINIO_BROWSER_REDIRECT_URL=https://console.minio.example.org`. This will ensure that the redirect URL is set to `https://console.minio.example.org/oauth_callback` and the login process should work correctly.
    
    For deployments employing DNS round-robin on a single domain to all the MinIO servers, it is possible that after redirection the browser may land on a different MinIO server. For example, the domain `console.minio.example.org` may resolve to `console-X.minio.example.org`, where `X` is...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. cmd/xl-storage-disk-id-check.go

    			select {
    			case <-dctx.Done():
    				if !timeout.Stop() {
    					<-timeout.C
    				}
    			case <-timeout.C:
    				spent := time.Since(started)
    				goOffline(fmt.Errorf("unable to write+read for %v", spent.Round(time.Millisecond)), spent)
    			}
    		}()
    
    		func() {
    			defer dcancel()
    
    			err := p.storage.WriteAll(ctx, minioMetaTmpBucket, fn, toWrite)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    					Namespace: nodeMetricNamespace,
    					Subsystem: iamSubsystem,
    					Name:      "plugin_authn_service_succ_avg_rtt_ms_minute",
    					Help:      "When plugin authentication is configured, returns average round-trip-time of successful requests in the last full minute",
    					Type:      gaugeMetric,
    				},
    				Value: pluginAuthNMetrics.AvgSuccRTTMs,
    			},
    			{
    				Description: MetricDescription{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. internal/grid/muxclient.go

    func (m *muxClient) handleOneWayStream(respHandler chan<- Response, respServer <-chan Response) {
    	if debugPrint {
    		start := time.Now()
    		defer func() {
    			fmt.Println("Mux", m.MuxID, "Request took", time.Since(start).Round(time.Millisecond))
    		}()
    	}
    	defer func() {
    		// addErrorNonBlockingClose will close the response channel
    		// - maybe async, so we shouldn't do it here.
    		if m.respErr.Load() == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    	if err == nil {
    		t.Fatal("Expected error but found nil")
    	}
    	if err.Error() != "Bucket not found: bucket1" {
    		t.Errorf("%s: Expected the error msg to be `%s`, but instead found `%s`", instanceType, "Bucket not found: bucket1", err.Error())
    	}
    }
    
    // Wrapper for calling testBucketRecreateFails for both Erasure and FS.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-meta-inline.go

    	for i := uint32(0); i < sz; i++ {
    		var found, foundVal []byte
    		var err error
    		found, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    		}
    		foundVal, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			break
    		}
    		plSize += len(found) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
    		keys = append(keys, found)
    		if string(found) == key {
    			vals = append(vals, value)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    }
    
    // BucketSSEConfigNotFound - no bucket encryption found
    type BucketSSEConfigNotFound GenericError
    
    func (e BucketSSEConfigNotFound) Error() string {
    	return "No bucket encryption configuration found for bucket: " + e.Bucket
    }
    
    // BucketTaggingNotFound - no bucket tags found
    type BucketTaggingNotFound GenericError
    
    func (e BucketTaggingNotFound) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top