Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 259 for init (0.13 sec)

  1. cmd/peer-s3-client.go

    	GetHost() string
    	SetPools([]int)
    	GetPools() []int
    }
    
    type localPeerS3Client struct {
    	node  Node
    	pools []int
    }
    
    func (l *localPeerS3Client) GetHost() string {
    	return l.node.Host
    }
    
    func (l *localPeerS3Client) SetPools(p []int) {
    	l.pools = make([]int, len(p))
    	copy(l.pools, p)
    }
    
    func (l localPeerS3Client) GetPools() []int {
    	return l.pools
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. cmd/batch-replicate_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobReplicateCredentials) Msgsize() (s int) {
    	s = 1 + 10 + msgp.StringPrefixSize + len(z.AccessKey) + 10 + msgp.StringPrefixSize + len(z.SecretKey) + 13 + msgp.StringPrefixSize + len(z.SessionToken)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics_gen.go

    				return
    			}
    			if z.ErrCounts == nil {
    				z.ErrCounts = make(map[string]int, zb0003)
    			} else if len(z.ErrCounts) > 0 {
    				for key := range z.ErrCounts {
    					delete(z.ErrCounts, key)
    				}
    			}
    			for zb0003 > 0 {
    				zb0003--
    				var za0001 string
    				var za0002 int
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "ErrCounts")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  4. internal/s3select/message.go

    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    func genMessage(header, payload []byte) []byte {
    	headerLength := len(header)
    	payloadLength := len(payload)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  5. Makefile

    	@echo "Running $@ check"
    	@$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml --fix
    
    check: test
    test: verifiers build build-debugging ## builds minio, runs linters, tests
    	@echo "Running unit tests"
    	@MINIO_API_REQUESTS_MAX=10000 CGO_ENABLED=0 go test -v -tags kqueue ./...
    
    test-root-disable: install-race
    	@echo "Running minio root lockdown tests"
    	@env bash $(PWD)/buildscripts/disable-root.sh
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  6. cmd/object-api-errors.go

    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    	return fmt.Sprintf("Specified part could not be found. PartNumber %d, Expected %s, got %s",
    		e.PartNumber, e.ExpETag, e.GotETag)
    }
    
    // PartTooSmall - error if part size is less than 5MB.
    type PartTooSmall struct {
    	PartSize   int64
    	PartNumber int
    	PartETag   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)
  7. cmd/erasure-object_test.go

    		Standard: storageclass.StorageClass{
    			Parity: 5,
    		},
    	}
    
    	tests := []struct {
    		parts               []FileInfo
    		errs                []error
    		expectedReadQuorum  int
    		expectedWriteQuorum int
    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  8. internal/event/name.go

    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    	ObjectAccessedGet Name = 1 + iota
    	ObjectAccessedGetRetention
    	ObjectAccessedGetLegalHold
    	ObjectAccessedHead
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/config/README.md

    max_sleep      (duration)  maximum sleep duration between objects to slow down heal operation. eg. 2s
    max_io         (int)       maximum IO requests allowed between objects to slow down heal operation. eg. 3
    drive_workers  (int)       the number of workers per drive to heal a new disk replacement.
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. cmd/object_api_suite_test.go

    }
    
    // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error.
    type testOneByteReadEOF struct {
    	eof  bool
    	data []byte
    }
    
    func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, io.EOF
    }
    
    // Return pointer to testOneByteReadNoEOF{}
    func newTestReaderNoEOF(data []byte) io.Reader {
    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)
Back to top