Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 320 for readOp (0.06 sec)

  1. src/bytes/reader.go

    func (r *Reader) Read(b []byte) (n int, err error) {
    	if r.i >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	r.prevRune = -1
    	n = copy(b, r.s[r.i:])
    	r.i += int64(n)
    	return
    }
    
    // ReadAt implements the [io.ReaderAt] interface.
    func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) {
    	// cannot modify state - see io.ReaderAt
    	if off < 0 {
    		return 0, errors.New("bytes.Reader.ReadAt: negative offset")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/erasure-decode.go

    		reader.preferReaders(prefer)
    	}
    	defer reader.Done()
    
    	startBlock := int64(0)
    	endBlock := totalLength / e.blockSize
    	if totalLength%e.blockSize != 0 {
    		endBlock++
    	}
    
    	var bufs [][]byte
    	for block := startBlock; block < endBlock; block++ {
    		var err error
    		bufs, err = reader.Read(bufs)
    		if len(bufs) > 0 {
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/README.vendor

    See src/README.vendor for information on loading vendored packages
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 09 17:11:16 UTC 2019
    - 102 bytes
    - Viewed (0)
  4. api/README

    that will be preserved when next/*.txt is concatenated into go1.XX.txt.)
    
    When you add a file to the api/next directory, you must add at least one file
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 31 19:22:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. docs/metrics/README.md

    - Liveness probe available at `/minio/health/live`
    - Cluster probe available at `/minio/health/cluster`
    
    Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/minio/minio/blob/master/docs/metrics/healthcheck/README.md).
    
    ## Prometheus Probe
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 29 18:35:20 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/orchestration/kubernetes/README.md

    - MinIO-Operator: Operator offers seamless way to create and update highly available distributed MinIO clusters. Refer [MinIO Operator documentation](https://github.com/minio/minio-operator/blob/master/README.md) for more details.
    
    - Helm Chart: MinIO Helm Chart offers customizable and easy MinIO deployment with a single command. Refer [MinIO Helm Chart documentation](https://github.com/minio/minio/tree/master/helm/minio) for more details.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/bytes/reader_test.go

    	{"Seek", func(r *Reader) { r.Seek(0, io.SeekCurrent) }},
    	{"WriteTo", func(r *Reader) { r.WriteTo(&Buffer{}) }},
    }
    
    func TestUnreadRuneError(t *testing.T) {
    	for _, tt := range UnreadRuneErrorTests {
    		reader := NewReader([]byte("0123456789"))
    		if _, _, err := reader.ReadRune(); err != nil {
    			// should not happen
    			t.Fatal(err)
    		}
    		tt.f(reader)
    		err := reader.UnreadRune()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  8. src/archive/zip/testdata/readme.zip

    README This is the source code repository for the Go programming language. For documentation about how to install and use Go, visit http://golang.org/ or load doc/install.html in your web browser. After installing Go, you can view a nicely formatted doc/install.html by running godoc --http=:6060 and then visiting http://localhost:6060/doc/install.html. Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file. -- Binary Distribution Notes...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.8K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/README.md

    ## Prerequisites
    
    - Prometheus and MinIO configured as explained in [document here](https://github.com/minio/minio/blob/master/docs/metrics/prometheus/README.md).
    - Grafana installed as explained [here](https://grafana.com/grafana/download).
    
    ## MinIO Grafana Dashboard
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 17:38:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. cmd/bitrot_test.go

    		bw.Close()
    	}
    
    	reader := newBitrotReader(disk, nil, volume, filePath, 35, bitrotAlgo, bitrotWriterSum(writer), 10)
    	b := make([]byte, 10)
    	if _, err = reader.ReadAt(b, 0); err != nil {
    		t.Fatal(err)
    	}
    	if _, err = reader.ReadAt(b, 10); err != nil {
    		t.Fatal(err)
    	}
    	if _, err = reader.ReadAt(b, 20); err != nil {
    		t.Fatal(err)
    	}
    	if _, err = reader.ReadAt(b[:5], 30); err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top