Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for maxTime (0.23 sec)

  1. cmd/erasure-healing-common.go

    	// occurrences of elements.
    	for etag, count := range etagOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima {
    			maxima = count
    			latest = etag
    		}
    	}
    
    	// Return the collected common max time, with maxima
    	return latest, maxima
    }
    
    // commonTime returns a maximally occurring time from a list of time.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	}
    
    	// Read Part info for all parts
    	partPath := pathJoin(uploadIDPath, fi.DataDir) + "/"
    	req := ReadMultipleReq{
    		Bucket:       minioMetaMultipartBucket,
    		Prefix:       partPath,
    		MaxSize:      1 << 20, // Each part should realistically not be > 1MiB.
    		MaxResults:   maxParts + 1,
    		MetadataOnly: true,
    	}
    
    	start := partNumberMarker + 1
    	end := start + maxParts
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. internal/bpool/bpool.go

    type BytePoolCap struct {
    	c    chan []byte
    	w    int
    	wcap int
    }
    
    // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new
    // byte arrays sized based on width.
    func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) {
    	if capwidth > 0 && capwidth < 64 {
    		panic("buffer capped with smaller than 64 bytes is not supported")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    			Value:          math.Round(rm.Avg*100) / 100,
    			VariableLabels: cloneMSS(rm.Labels),
    		})
    
    		maxName := MetricName(fmt.Sprintf("%s_max", name))
    		maxHelp := fmt.Sprintf("%s (max)", help)
    		metrics = append(metrics, MetricV2{
    			Description:    getResourceMetricDescription(subSys, maxName, maxHelp),
    			Value:          rm.Max,
    			VariableLabels: cloneMSS(rm.Labels),
    		})
    	}
    
    	return metrics
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    				z.Files[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Files", za0001)
    					return
    				}
    			}
    		case "MaxSize":
    			z.MaxSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "MaxSize")
    				return
    			}
    		case "MetadataOnly":
    			z.MetadataOnly, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "MetadataOnly")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  6. docs/sts/client_grants/__init__.py

            if not ca_certs:
                ca_certs = certifi.where()
    
            self._http = urllib3.PoolManager(
                timeout=urllib3.Timeout.DEFAULT_TIMEOUT,
                maxsize=10,
                cert_reqs='CERT_NONE',
                ca_certs=ca_certs,
                retries=urllib3.Retry(
                    total=5,
                    backoff_factor=0.2,
                    status_forcelist=[500, 502, 503, 504]
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  7. cmd/storage-datatypes.go

    	Prefix       string   // Shared prefix of all files. Can be empty. Will be joined to filename without modification.
    	Files        []string // Individual files to read.
    	MaxSize      int64    // Return error if size is exceed.
    	MetadataOnly bool     // Read as XL meta and truncate data.
    	AbortOn404   bool     // Stop reading after first file not found.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    				// We have already reported the error, return nil.
    				return nil
    			}
    			continue
    		}
    		diskHealthCheckOK(ctx, nil)
    		if req.MaxSize > 0 && int64(len(data)) > req.MaxSize {
    			r.Exists = true
    			r.Error = fmt.Sprintf("max size (%d) exceeded: %d", req.MaxSize, len(data))
    			select {
    			case <-ctx.Done():
    				return ctx.Err()
    			case resp <- r:
    				continue
    			}
    		}
    		found++
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top