Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for io (0.15 sec)

  1. cmd/xl-storage.go

    		return int64(n), err
    	}
    
    	h := verifier.algorithm.New()
    	if _, err = io.Copy(h, io.LimitReader(file, offset)); err != nil {
    		return 0, err
    	}
    
    	if n, err = io.ReadFull(file, buffer); err != nil {
    		return int64(n), err
    	}
    
    	if _, err = h.Write(buffer); err != nil {
    		return 0, err
    	}
    
    	if _, err = io.Copy(h, file); err != nil {
    		return 0, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	defer globalNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

          "label": "Prometheus",
          "description": "",
          "type": "datasource",
          "pluginId": "prometheus",
          "pluginName": "Prometheus"
        } 
      ],    
      "description": "MinIO Grafana Dashboard - https://min.io/",
      "editable": true,
      "fiscalYearStartMonth": 0,
      "gnetId": 15306,
      "graphTooltip": 0,
      "id": 285,
      "links": [
        {
          "icon": "external link",
          "includeVars": true,
          "keepTime": true,
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. go.sum

    github.com/nats-io/nats-server/v2 v2.9.23/go.mod h1:wEjrEy9vnqIGE4Pqz4/c75v9Pmaq7My2IgFmnykc4C0=
    github.com/nats-io/nats-streaming-server v0.24.3 h1:uZez8jBkXscua++jaDsK7DhpSAkizdetar6yWbPMRco=
    github.com/nats-io/nats-streaming-server v0.24.3/go.mod h1:rqWfyCbxlhKj//fAp8POdQzeADwqkVhZcoWlbhkuU5w=
    github.com/nats-io/nats.go v1.13.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    	for {
    		// Using io.Copy instead of this loop will not work for us as io.Copy
    		// will use bytes.Reader.WriteTo() which will not do shardSize'ed writes
    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    		if err == nil {
    			continue
    		}
    		if err == io.EOF {
    			break
    		}
    		t.Fatal(err)
    	}
    	w.(io.Closer).Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	const mapEntryOverhead = 200
    
    	var (
    		reader        io.Reader
    		fileSize      int64 = -1
    		fileName      string
    		fanOutEntries = make([]minio.PutObjectFanOutEntry, 0, 100)
    	)
    
    	maxParts := 1000
    	// Canonicalize the form values into http.Header.
    	formValues := make(http.Header)
    	for {
    		part, err := mp.NextRawPart()
    		if errors.Is(err, io.EOF) {
    			break
    		}
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    # MinIO Bucket Notification Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    Events occurring on objects in a bucket can be monitored using bucket event notifications.
    
    Various event types supported by MinIO server are
    
    | Supported Object Event Types     |                                            |                                        |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  8. cmd/admin-handlers-users.go

    	if r.ContentLength > maxBucketPolicySize {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	iamPolicyBytes, err := io.ReadAll(io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	iamPolicy, err := policy.ParseConfig(bytes.NewReader(iamPolicyBytes))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		}
    		if hasFull || n > size {
    			return io.ErrUnexpectedEOF
    		}
    		extra := n - has
    		if int64(cap(buf)) >= n {
    			// Extend since we have enough space.
    			buf = buf[:n]
    		} else {
    			buf = append(buf, make([]byte, extra)...)
    		}
    		_, err := io.ReadFull(r, buf[has:])
    		if err != nil {
    			if errors.Is(err, io.EOF) {
    				// Returned if we read nothing.
    				err = io.ErrUnexpectedEOF
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. cmd/batch-handlers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/binary"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/lithammer/shortuuid/v4"
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top