Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for Feross (0.19 sec)

  1. cmd/tier-last-day-stats.go

    		merged.UpdatedAt = cm.UpdatedAt
    	}
    
    	for i := range cl.Bins {
    		merged.Bins[i] = cl.Bins[i].add(cm.Bins[i])
    	}
    
    	return merged
    }
    
    // DailyAllTierStats is used to aggregate last day tier stats across MinIO servers
    type DailyAllTierStats map[string]lastDayTierStats
    
    func (l DailyAllTierStats) merge(m DailyAllTierStats) {
    	for tier, st := range m {
    		l[tier] = l[tier].merge(st)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/lock/lock_nix.go

    	return lockedOpenFile(path, flag, perm, syscall.LOCK_NB)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  3. cmd/erasure-common.go

    	resps := make([]chan ReadMultipleResp, len(disks))
    	for i := range resps {
    		resps[i] = make(chan ReadMultipleResp, len(req.Files))
    	}
    	g := errgroup.WithNErrs(len(disks))
    	// Read files in parallel across disks.
    	for index := range disks {
    		index := index
    		g.Go(func() (err error) {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			return disks[index].ReadMultiple(ctx, req, resps[index])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/untar.go

    	"time"
    
    	"github.com/cosnicolaou/pbzip2"
    	"github.com/klauspost/compress/s2"
    	"github.com/klauspost/compress/zstd"
    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server.go

    		}
    	}
    	var extra []string
    	for k := range s2.MinioEnv {
    		_, ok := s1.MinioEnv[k]
    		if !ok {
    			extra = append(extra, k)
    		}
    	}
    	msg := "Expected same MINIO_ environment variables and values across all servers: "
    	if len(missing) > 0 {
    		msg += fmt.Sprintf(`Missing environment values: %v. `, missing)
    	}
    	if len(mismatching) > 0 {
    		msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    			got := string(readBuf[:n])
    			if err != nil || got != want {
    				t.Errorf("off %d, size %d = %v, %v (%q); want %q", off, size, n, err, got, want)
    			}
    		}
    	}
    
    }
    
    type zeros struct{}
    
    func (zeros) Read(p []byte) (int, error) {
    	clear(p)
    	return len(p), nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    	}
    
    	return toObjectErr(err, bucket)
    }
    
    // deleteAll will rename bucket+prefix unconditionally across all disks to
    // minioMetaTmpDeletedBucket + unique uuid,
    // Note that set distribution is ignored so it should only be used in cases where
    // data is not distributed across sets. Errors are logged but individual
    // disk failures are not returned.
    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)
  8. operator/cmd/mesh/manifest-generate_test.go

    	validateReferentialIntegrity(t, objs, "istio-egressgateway", egress15Selector)
    	validateReferentialIntegrity(t, objsRev, "istiod-canary", istiodCanary16Selector)
    
    	t.Run("cross revision", func(t *testing.T) {
    		// Istiod revisions have complicated cross revision implications. We should assert these are correct
    		// First we fetch all the objects for our default install
    		cname := "istiod"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    		Name:      sizeDistribution,
    		Help:      "Distribution of object sizes across a cluster",
    		Type:      histogramMetric,
    	}
    }
    
    func getClusterObjectVersionsMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: objectsSubsystem,
    		Name:      versionDistribution,
    		Help:      "Distribution of object versions across a cluster",
    		Type:      histogramMetric,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	m := make(map[string]epHealth, len(sys.hc))
    	for k, v := range sys.hc {
    		m[k] = v
    	}
    	return m
    }
    
    // ListTargets lists bucket targets across tenant or for individual bucket, and returns
    // results filtered by arnType
    func (sys *BucketTargetSys) ListTargets(ctx context.Context, bucket, arnType string) (targets []madmin.BucketTarget) {
    	h := sys.healthStats()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top