- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for index (0.14 sec)
-
cmd/erasure-object.go
fi := metadata[index] // Assign index when index is initialized if fi.Erasure.Index == 0 { fi.Erasure.Index = index + 1 } if !fi.IsValid() { return errFileCorrupt } resp, err := disks[index].RenameData(ctx, srcBucket, srcEntry, fi, dstBucket, dstEntry, RenameOptions{}) if err != nil { return err } diskVersions[index] = resp.Sign
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) -
cmd/xl-storage-format-v2_string.go
var _VersionType_index = [...]uint8{0, 18, 28, 38, 48, 63} func (i VersionType) String() string { if i >= VersionType(len(_VersionType_index)-1) { return "VersionType(" + strconv.FormatInt(int64(i), 10) + ")" } return _VersionType_name[_VersionType_index[i]:_VersionType_index[i+1]] } func _() { // An "invalid array index" compiler error signifies that the constant values have changed.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 02 19:29:16 GMT 2021 - 1.4K bytes - Viewed (0) -
cmd/erasure-common.go
} 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]) }, index) } dataArray := make([]ReadMultipleResp, 0, len(req.Files))
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) -
docs/debugging/reorder-disks/main.go
exp := argP.Expand() if node == "" { for index, e := range exp { result = append(result, localDisk{index: index, path: strings.Join(e, "")}) } } else { for index, e := range exp { u, err := url.Parse(strings.Join(e, "")) if err != nil { return nil, err } if strings.Contains(u.Host, node) { result = append(result, localDisk{index: index, path: u.Path}) } } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.4K bytes - Viewed (0) -
cmd/storagemetric_string.go
var _storageMetric_index = [...]uint16{0, 11, 18, 26, 33, 42, 49, 56, 64, 74, 84, 98, 108, 118, 128, 134, 148, 158, 166, 179, 192, 206, 217, 223, 230, 242, 254, 274, 282, 286} func (i storageMetric) String() string { if i >= storageMetric(len(_storageMetric_index)-1) { return "storageMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _storageMetric_name[_storageMetric_index[i]:_storageMetric_index[i+1]]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 01 20:10:54 GMT 2022 - 2K bytes - Viewed (0) -
cmd/erasure-server-pool.go
nSets := make([]int, len(z.serverPools)) g := errgroup.WithNErrs(len(z.serverPools)) for index := range z.serverPools { index := index // Skip suspended pools or pools participating in rebalance for any new // I/O. if z.IsSuspended(index) || z.IsPoolRebalancing(index) { continue } pool := z.serverPools[index] nSets[index] = pool.setCount g.Go(func() error { // Get the set where it would be placed.
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) -
internal/grid/handlers_string.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 4.2K bytes - Viewed (0) -
internal/s3select/sql/jsonpath.go
} val, err := IterToValue(elem.Iter) if err != nil { return nil, false, err } return jsonpathEval(p[1:], val) default: return nil, false, errKeyLookup } case p[0].Index != nil: idx := *p[0].Index arr, ok := v.([]interface{}) if !ok { return nil, false, errIndexLookup } if idx >= len(arr) { return nil, false, nil } return jsonpathEval(p[1:], arr[idx])
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 3.4K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
return z.rebalMeta.saveWithOpts(ctx, z.serverPools[0], noLockOpts) } return nil } func (z *erasureServerPools) findIndex(index int) int { for i := 0; i < len(z.rebalMeta.PoolStats); i++ { if i == index { return index } } return -1 } // initRebalanceMeta initializes rebalance metadata for a new rebalance // operation and saves it in the object store.
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) -
cmd/storage-datatypes_test.go
var buf bytes.Buffer msgp.Encode(&buf, &v) rd := msgp.NewEndlessReader(buf.Bytes(), b)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 9.4K bytes - Viewed (0)