Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for indexOf (0.17 sec)

  1. cmd/xl-storage-format-v1.go

    	// 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"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    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)
  2. cmd/erasure-multipart.go

    	// checksum which are different on each disks.
    	for index := range partsMetadata {
    		if partsMetadata[index].IsValid() {
    			partsMetadata[index].Size = fi.Size
    			partsMetadata[index].ModTime = fi.ModTime
    			partsMetadata[index].Metadata = fi.Metadata
    			partsMetadata[index].Parts = fi.Parts
    			partsMetadata[index].Checksum = fi.Checksum
    			partsMetadata[index].Versioned = opts.Versioned || opts.VersionSuspended
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	PrefixEnabledFn func(prefix string) bool // function which returns true if versioning is enabled on prefix
    
    	// IndexCB will return any index created but the compression.
    	// Object must have been read at this point.
    	IndexCB func() []byte
    
    	// InclFreeVersions indicates that free versions need to be included
    	// when looking up a version by fi.VersionID
    	InclFreeVersions bool
    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)
  4. cmd/notification.go

    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		index := index
    		g.Go(func() error {
    			var err error
    			reply[index], err = sys.peerClients[index].GetCPUs(ctx)
    			return err
    		}, index)
    	}
    
    	for index, err := range g.Wait() {
    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  5. internal/logger/target/types/targettype_string.go

    	if i >= TargetType(len(_TargetType_index)-1) {
    		return "TargetType(" + strconv.FormatInt(int64(i+1), 10) + ")"
    	}
    	return _TargetType_name[_TargetType_index[i]:_TargetType_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 703 bytes
    - Viewed (0)
  6. cmd/scannermetric_string.go

    var _scannerMetric_index = [...]uint8{0, 12, 24, 33, 41, 53, 65, 74, 77, 93, 98, 112, 127, 147, 157, 167, 186, 198, 208, 217, 232, 245, 249}
    
    func (i scannerMetric) String() string {
    	if i >= scannerMetric(len(_scannerMetric_index)-1) {
    		return "scannerMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _scannerMetric_name[_scannerMetric_index[i]:_scannerMetric_index[i+1]]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. cmd/erasure.go

    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			di := madmin.Disk{
    				Endpoint:  endpoints[index].String(),
    				PoolIndex: endpoints[index].PoolIdx,
    				SetIndex:  endpoints[index].SetIdx,
    				DiskIndex: endpoints[index].DiskIdx,
    				Local:     endpoints[index].IsLocal,
    			}
    			if disks[index] == OfflineDisk {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/xl-storage-format-v2_test.go

    		b.ReportAllocs()
    		b.ResetTimer()
    		b.SetBytes(855) // number of versions...
    		for i := 0; i < b.N; i++ {
    			err = xl.Load(data)
    			if err != nil {
    				b.Fatal(err)
    			}
    		}
    	})
    
    	b.Run("indexed", func(b *testing.B) {
    		var xl xlMetaV2
    		err = xl.Load(data)
    		if err != nil {
    			b.Fatal(err)
    		}
    		data, err := xl.AppendTo(nil)
    		if err != nil {
    			b.Fatal(err)
    		}
    		b.ReportAllocs()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    	if ok {
    		netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc)
    	}
    
    	for index, c := range restClnts {
    		wg.Add(1)
    		// broadcast lock request to all nodes
    		go func(index int, isReadLock bool, c NetLocker) {
    			defer wg.Done()
    
    			g := Granted{index: index}
    			if c == nil {
    				log("dsync: nil locker\n")
    				ch <- g
    				return
    			}
    
    			var locked 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)
  10. helm-reindex.sh

    #!/bin/bash
    
    helm package helm/minio -d helm-releases/
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 20 22:30:54 GMT 2021
    - 121 bytes
    - Viewed (0)
Back to top