Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for zOrder (0.23 sec)

  1. cmd/object_api_suite_test.go

    	ExecObjectLayerTest(t, testListBucketsOrder)
    }
    
    // Tests validate the order of result of ListBuckets.
    func testListBucketsOrder(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// if implementation contains a map, order of map keys will vary.
    	// this ensures they return in the same order each time.
    	// add one and test exists.
    	err := obj.MakeBucket(context.Background(), "bucket1", MakeBucketOptions{})
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  2. cmd/erasure-common.go

    				return errDiskNotFound
    			}
    			return disks[index].ReadMultiple(ctx, req, resps[index])
    		}, index)
    	}
    
    	dataArray := make([]ReadMultipleResp, 0, len(req.Files))
    	// Merge results. They should come in order from each.
    	for _, wantFile := range req.Files {
    		quorum := 0
    		toAdd := ReadMultipleResp{
    			Bucket: req.Bucket,
    			Prefix: req.Prefix,
    			File:   wantFile,
    		}
    		for i := range resps {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    	opIneq  = "!="
    	opIs    = "IS"
    	opIsNot = "ISNOT"
    )
    
    // InferBytesType will attempt to infer the data type of bytes.
    // Will fail if value type is not bytes or it would result in invalid utf8.
    // ORDER: int, float, bool, JSON (object or array), timestamp, string
    // If the content is valid JSON, the type will still be bytes.
    func (v *Value) InferBytesType() (err error) {
    	b, ok := v.ToBytes()
    	if !ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	// Reorder online disks based on erasure distribution order.
    	// Reorder parts metadata based on erasure distribution order.
    	onlineDisks, metaArr = shuffleDisksAndPartsMetadataByIndex(onlineDisks, metaArr, fi)
    
    	// For negative length read everything.
    	if length < 0 {
    		length = fi.Size - startOffset
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 76.3K bytes
    - Viewed (2)
  5. docs/debugging/xl-meta/main.go

    	}
    	return x, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (err error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 19.7K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool-rebalance.go

    			if z.checkIfRebalanceDone(poolIdx) {
    				return
    			}
    
    			fivs, err := entry.fileInfoVersions(bucket)
    			if err != nil {
    				return
    			}
    
    			// We need a reversed order for rebalance,
    			// to create the appropriate stack.
    			versionsSorter(fivs.Versions).reverse()
    
    			var rebalanced, expired int
    			for _, version := range fivs.Versions {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26.5K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPartOrder: {
    		Code:           "InvalidPartOrder",
    		Description:    "The list of parts was not in ascending order. The parts list must be specified in order by part number.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectState: {
    		Code:           "InvalidObjectState",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 90.2K bytes
    - Viewed (6)
  8. cmd/xl-storage-disk-id-check.go

    	}
    	defer done(&err)
    
    	return p.storage.StatInfoFile(ctx, volume, path, glob)
    }
    
    // ReadMultiple will read multiple files and send each files as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context will return an error.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    			// An object hidden by ILM was found during listing. Since the number of entries
    			// fetched from drives is limited, set IsTruncated to true to ask the s3 client
    			// to continue listing if it wishes in order to find if there is more objects.
    			loi.IsTruncated = true
    			loi.NextMarker = merged.lastSkippedEntry
    		}
    	}
    
    	if loi.NextMarker != "" {
    		loi.NextMarker = opts.encodeMarker(loi.NextMarker)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
  10. cmd/server_test.go

    		for _, expectedStr := range testCase.expectedStrings {
    			c.Assert(strings.Contains(string(getContent), expectedStr), true)
    		}
    	}
    }
    
    // TestListObjectVersionsHandler - checks the order of <Version>
    // and <DeleteMarker> XML tags in a version listing
    func (s *TestSuiteCommon) TestListObjectVersionsOutputOrderHandler(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top