Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for arpack (0.28 sec)

  1. cmd/xl-storage-free-version.go

    package cmd
    
    import (
    	"bytes"
    	"fmt"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    const freeVersion = "free-version"
    
    // InitFreeVersion creates a free-version to track the tiered-content of j. If j has
    // no tiered content, it returns false.
    func (j xlMetaV2Object) InitFreeVersion(fi FileInfo) (xlMetaV2Version, bool) {
    	if fi.SkipTierFreeVersion() {
    		return xlMetaV2Version{}, false
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    func (a AccElem) asTimedAction() madmin.TimedAction {
    	return madmin.TimedAction{AccTime: uint64(a.Total), Count: uint64(a.N), Bytes: uint64(a.Size)}
    }
    
    // lastMinuteLatency keeps track of last minute latency.
    type lastMinuteLatency struct {
    	Totals  [60]AccElem
    	LastSec int64
    }
    
    // Merge data of two lastMinuteLatency structure
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    	}
    
    	// Verify the header matches a known format.
    	format := tr.blk.getFormat()
    	if format == FormatUnknown {
    		return nil, nil, ErrHeader
    	}
    
    	var p parser
    	hdr := new(Header)
    
    	// Unpack the V7 header.
    	v7 := tr.blk.toV7()
    	hdr.Typeflag = v7.typeFlag()[0]
    	hdr.Name = p.parseString(v7.name())
    	hdr.Linkname = p.parseString(v7.linkName())
    	hdr.Size = p.parseNumeric(v7.size())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. cmd/metacache-walk.go

    	}
    	send := func(entry metaCacheEntry) error {
    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    	if HasSuffix(opts.BaseDir, SlashSeparator) {
    		metadata, err := s.readMetadata(ctx, pathJoin(volumeDir,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/metacache-bucket.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"runtime/debug"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/console"
    )
    
    // a bucketMetacache keeps track of all caches generated
    // for a bucket.
    type bucketMetacache struct {
    	// Name of bucket
    	bucket string
    
    	// caches indexed by id.
    	caches map[string]metacache
    	// cache ids indexed by root paths
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. internal/s3select/json/preader.go

    	kvDstPool   sync.Pool       // pool of []jstream.KV used for output
    	close       chan struct{}   // used for shutting down the splitter before end of stream
    	readerWg    sync.WaitGroup  // used to keep track of async reader.
    }
    
    // queueItem is an item in the queue.
    type queueItem struct {
    	input []byte             // raw input sent to the worker
    	dst   chan []jstream.KVS // result of block decode
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    	if len(disks) == 0 {
    		return fmt.Errorf("listPathRaw: 0 drives provided")
    	}
    
    	// Cancel upstream if we finish before we expect.
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	// Keep track of fallback disks
    	var fdMu sync.Mutex
    	fds := opts.fallbackDisks
    	fallback := func(err error) StorageAPI {
    		if _, ok := err.(StorageErr); ok {
    			// Attempt to grab a fallback disk
    			fdMu.Lock()
    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)
  8. cni/pkg/repair/repaircontroller.go

    	// once the pod restarts (in CrashLoopBackoff), which can take some time.
    	// We don't want to constantly try to apply the iptables rules, which is unneeded and will fail.
    	// Instead, we track which UIDs we repaired and skip them if already repaired.
    	//
    	// An alternative would be to write something to the Pod (status, annotation, etc).
    	// However, this requires elevated privileges we want to avoid
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    		// check if erasure distribution order matches the index
    		// position if this is not correct we discard the disk
    		// and move to collect others
    		if distribution[i] != meta.Erasure.Index {
    			inconsistent++ // keep track of inconsistent entries
    			continue
    		}
    		shuffledDisks[meta.Erasure.Index-1] = disks[i]
    		shuffledPartsMetadata[meta.Erasure.Index-1] = metaArr[i]
    	}
    
    	// Inconsistent meta info is with in the limit of
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/bucket-stats.go

    	return fmt.Sprintf("ReplicationLastMinute sz= %d, n=%d , dur=%d", t.Size, t.N, t.Total)
    }
    
    func (rl *ReplicationLastMinute) getTotal() AccElem {
    	return rl.LastMinute.getTotal()
    }
    
    // ReplicationLastHour keeps track of replication counts over the last hour
    type ReplicationLastHour struct {
    	Totals  [60]AccElem
    	LastMin int64
    }
    
    // Merge data of two ReplicationLastHour structure
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top