Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for brelaw (0.16 sec)

  1. cmd/xl-storage-meta-inline.go

    	vals := make([][]byte, 0, sz)
    	for i := uint32(0); i < sz; i++ {
    		var key, val []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    		}
    		if len(key) == 0 {
    			break
    		}
    		val, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			break
    		}
    		keys = append(keys, key)
    		vals = append(vals, val)
    	}
    	x.serialize(-1, keys, vals)
    }
    
    // validate checks if the data is valid.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    		t, n := binary.Uvarint(b)
    		if n < 0 {
    			break
    		}
    		b = b[n:]
    
    		typ := ChecksumType(t)
    		length := typ.RawByteLen()
    		if length == 0 || len(b) < length {
    			break
    		}
    		cs := base64.StdEncoding.EncodeToString(b[:length])
    		b = b[length:]
    		if typ.Is(ChecksumMultipart) {
    			t, n := binary.Uvarint(b)
    			if n < 0 {
    				break
    			}
    			cs = fmt.Sprintf("%s-%d", cs, t)
    			b = b[n:]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    						rebalanceLogIf(ctx, err)
    						stopFn(err)
    						continue
    					}
    
    					stopFn(nil)
    					failure = false
    					break
    				}
    				if ignore {
    					continue
    				}
    				if failure {
    					break // break out on first error
    				}
    				z.updatePoolStats(poolIdx, bucket, version)
    				rebalanced++
    			}
    
    			// if all versions were rebalanced, we can delete the object versions.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. internal/logger/console.go

    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		globalLocalDrivesMu.Unlock()
    	}
    
    	z.decommissionCancelers = make([]context.CancelFunc, len(z.serverPools))
    
    	// Initialize the pool meta, but set it to not save.
    	// When z.Init below has loaded the poolmeta will be initialized,
    	// and allowed to save.
    	z.poolMeta = newPoolMeta(z, poolMeta{})
    	z.poolMeta.dontSave = true
    
    	bootstrapTrace("newSharedLock", func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	if err != nil {
    		return toObjectErr(err, bucket, object)
    	}
    
    	var healOnce sync.Once
    
    	for ; partIndex <= lastPartIndex; partIndex++ {
    		if length == totalBytesRead {
    			break
    		}
    
    		partNumber := fi.Parts[partIndex].Number
    
    		// Save the current part name and size.
    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. docs/debugging/xl-meta/main.go

    		parityData[data] = set
    
    		// Combine
    		start := len(b) * idx
    		if start >= len(mapped) {
    			continue
    		}
    		copy(mapped[start:], b)
    		for j := range b {
    			if j+start >= len(filled) {
    				break
    			}
    			filled[j+start] = 1
    		}
    	}
    
    	lastValid := 0
    	missing := 0
    	for i := range filled {
    		if filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  8. internal/logger/targets.go

    		for ii := range tgts {
    			if currentTgt.Name() == tgts[ii].Name() {
    				newTgt = tgts[ii]
    				currentTgt.AssignMigrateTarget(newTgt)
    				http.CreateOrAdjustGlobalBuffer(currentTgt, newTgt)
    				break
    			}
    		}
    	}
    
    	for _, t := range tgts {
    		err := t.Init(ctx)
    		if err != nil {
    			errs = append(errs, err)
    		}
    	}
    
    	swapAuditMuRW.Lock()
    	*targetList = newWebhooks
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. internal/event/name.go

    	ObjectCreatedAll
    	ObjectRemovedAll
    	ObjectReplicationAll
    	ObjectRestoreAll
    	ObjectTransitionAll
    	ObjectScannerAll
    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    	switch name {
    
    	case ObjectAccessedAll:
    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)
  10. docs/metrics/prometheus/README.md

    ## Prerequisites
    
    To get started with MinIO, refer [MinIO QuickStart Document](https://min.io/docs/minio/linux/index.html#quickstart-for-linux).
    Follow below steps to get started with MinIO monitoring using Prometheus.
    
    ### 1. Download Prometheus
    
    [Download the latest release](https://prometheus.io/download) of Prometheus for your platform, then extract it
    
    ```sh
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top