Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Read (0.22 sec)

  1. cmd/metrics-v2.go

    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: ioSubsystem,
    		Name:      readBytes,
    		Help:      "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes",
    		Type:      counterMetric,
    	}
    }
    
    func getMinioProcessIOWriteCachedBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    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)
  2. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	api.getObjectAttributesHandler(ctx, objectAPI, bucket, object, w, r)
    }
    
    // HeadObjectHandler - HEAD Object
    // -----------
    // The HEAD operation retrieves metadata from an object without returning the object itself.
    func (api objectAPIHandlers) HeadObjectHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "HeadObject")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusNoContent)
    }
    
    // TestNonExistentBucket - Asserts response for HEAD on non-existent bucket.
    func (s *TestSuiteCommon) TestNonExistentBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// create request to HEAD on the bucket.
    	// HEAD on an bucket helps validate the existence of the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    				// Read middle half of object
    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	if logKind == 0 {
    		logKind = madmin.LogMaskAll
    	}
    
    	// Avoid reusing tcp connection if read timeout is hit
    	// This is needed to make r.Context().Done() work as
    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/bucket-replication.go

    		defer rc.Close()
    
    		if !p.initialized() {
    			return re, nil
    		}
    		var data [4]byte
    		n, err := rc.Read(data[:])
    		if err != nil {
    			return re, err
    		}
    		if n != len(data) {
    			return re, errors.New("replication mrf: no data")
    		}
    		// Read resync meta header
    		switch binary.LittleEndian.Uint16(data[0:2]) {
    		case mrfMetaFormat:
    		default:
    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)
  7. cmd/site-replication.go

    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			c.Lock()
    			defer c.Unlock()
    			c.state = srState{}
    			c.enabled = false
    		}
    		return err
    	}
    
    	// attempt to read just the version key in the state file to ensure we
    	// are reading a compatible version.
    	var ver struct {
    		Version int `json:"version"`
    	}
    	err = json.Unmarshal(buf, &ver)
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top