Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 477 for Kint (0.15 sec)

  1. .github/workflows/run-mint.sh

    [ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio6
    
    docker run --rm --net=mint_default \
    	--name="mint-${MODE}-${JOB_NAME}" \
    	-e SERVER_ENDPOINT="nginx:9000" \
    	-e ACCESS_KEY="${ACCESS_KEY}" \
    	-e SECRET_KEY="${SECRET_KEY}" \
    	-e ENABLE_HTTPS=0 \
    	-e MINT_MODE="${MINT_MODE}" \
    	docker.io/minio/mint:edge
    
    docker-compose -f minio-${MODE}.yaml down || true
    sleep 10s
    
    docker system prune -f || true
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Oct 01 03:29:45 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    func checkQuorumLocked(locks *[]string, quorum int) bool {
    	count := 0
    	for _, uid := range *locks {
    		if isLocked(uid) {
    			count++
    		}
    	}
    
    	return count >= quorum
    }
    
    // releaseAll releases all locks that are marked as locked
    func releaseAll(ctx context.Context, ds *Dsync, tolerance int, owner string, locks *[]string, isReadLock bool, restClnts []NetLocker, names ...string) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. docs/bigdata/README.md

    fs.s3a.multipart.size=512M # Size of each multipart chunk
    fs.s3a.multipart.threshold=512M # Size before using multipart uploads
    fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint
    fs.s3a.socket.send.buffer=65536 # Write socket buffer hint
    fs.s3a.threads.max=2048 # Maximum number of threads for S3A
    ```
    
    The rest of the other optimization options are discussed in the links below
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  5. internal/store/batch_test.go

    package store
    
    import (
    	"errors"
    	"sync"
    	"testing"
    )
    
    func TestBatch(t *testing.T) {
    	var limit uint32 = 100
    	batch := NewBatch[int, int](limit)
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(i, i); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    		if _, ok := batch.GetByKey(i); !ok {
    			t.Fatalf("failed to get the item by key %v after adding", i)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. internal/config/notify/legacy.go

    			Key:   target.KafkaQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.KafkaTLS,
    			Value: config.FormatBool(cfg.TLS.Enable),
    		},
    		config.KV{
    			Key:   target.KafkaTLSSkipVerify,
    			Value: config.FormatBool(cfg.TLS.SkipVerify),
    		},
    		config.KV{
    			Key:   target.KafkaTLSClientAuth,
    			Value: strconv.Itoa(int(cfg.TLS.ClientAuth)),
    		},
    		config.KV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    	MaxParts            int                 // used in GetObjectAttributes. Signals how many parts we should return
    	PartNumberMarker    int                 // used in GetObjectAttributes. Signals the part number after which results should be returned
    	PartNumber          int                 // only useful in case of GetObject/HeadObject
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. cmd/metacache-set.go

    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    	case "auto":
    		return -1
    	}
    	// defaults to 'strict'
    	return driveCount
    }
    
    func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. cmd/api-resources.go

    package cmd
    
    import (
    	"encoding/base64"
    	"net/url"
    	"strconv"
    )
    
    // Parse bucket url queries
    func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-keys") != "" {
    		var err error
    		if maxkeys, err = strconv.Atoi(values.Get("max-keys")); err != nil {
    			errCode = ErrInvalidMaxKeys
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    // Event contains a lifecycle action with associated info
    type Event struct {
    	Action                  Action
    	RuleID                  string
    	Due                     time.Time
    	NoncurrentDays          int
    	NewerNoncurrentVersions int
    	StorageClass            string
    }
    
    // Eval returns the lifecycle event applicable now.
    func (lc Lifecycle) Eval(obj ObjectOpts) Event {
    	return lc.eval(obj, time.Now().UTC())
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top