Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for calling (0.16 sec)

  1. internal/s3select/sql/aggregation.go

    		// them if they could be an ancestor of an
    		// aggregation.
    	}
    	return nil
    }
    
    // getAggregate() implementation for each AST node follows. This is
    // called after calling aggregateRow() on each input row, to calculate
    // the final aggregate result.
    
    func (e *FuncExpr) getAggregate() (*Value, error) {
    	switch e.getFunctionName() {
    	case aggFnCount:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    type Fault int
    
    const (
    	None Fault = iota
    	MissingContentLength
    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    // Wrapper for calling HeadObject API handler tests for both Erasure multiple disks and FS single drive setup.
    func TestAPIHeadObjectHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testAPIHeadObjectHandler, []string{"HeadObject"})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    }
    
    // Clone creates a new BucketReplicationStats copy
    func (brs BucketReplicationStats) Clone() (c BucketReplicationStats) {
    	// This is called only by replicationStats cache and already holds a
    	// read lock before calling Clone()
    
    	c = brs
    	// We need to copy the map, so we do not reference the one in `brs`.
    	c.Stats = make(map[string]*BucketReplicationStat, len(brs.Stats))
    	for arn, st := range brs.Stats {
    		// make a copy of `*st`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. internal/etag/etag.go

    //     16 bytes of the encrypted ETag which will be a random
    //     value.
    //   - The object is a SSE-S3 encrypted single-part object.
    //     In this case, the caller has to decrypt the ETag first
    //     before calling Format.
    //     S3 clients expect that the ETag of an SSE-S3 encrypted
    //     single-part object is equal to the object's content MD5.
    //     Formatting the SSE-S3 ETag before decryption will result
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    			current.Last = o.name
    		}
    		if n > 0 || current.n == 0 {
    			current.EOS = true
    			finishBlock()
    		}
    	}()
    	return &w
    }
    
    // Close the stream.
    // The incoming channel must be closed before calling this.
    // Returns the first error the occurred during the writing if any.
    func (w *metacacheBlockWriter) Close() error {
    	w.wg.Wait()
    	return w.streamErr
    }
    
    type metacacheBlock struct {
    	data  []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    // values such as ErasureInfo, ChecksumInfo.
    //
    // Metadata is only updated to new values, existing values
    // stay as is, if you wish to update all values you should
    // update all metadata freshly before calling this function
    // in-case you wish to clear existing metadata.
    func (x *xlMetaV2) UpdateObjectVersion(fi FileInfo) error {
    	if fi.VersionID == "" {
    		// this means versioning is not yet
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/utils_test.go

    	cases := []struct {
    		numerator, denominator, ceiling int64
    	}{
    		{0, 1, 0},
    		{-1, 2, 0},
    		{1, 2, 1},
    		{1, 1, 1},
    		{3, 2, 2},
    		{54, 11, 5},
    		{45, 11, 5},
    		{-4, 3, -1},
    		{4, -3, -1},
    		{-4, -3, 2},
    		{3, 0, 0},
    	}
    	for i, testCase := range cases {
    		ceiling := ceilFrac(testCase.numerator, testCase.denominator)
    		if ceiling != testCase.ceiling {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/bucket-metadata-sys.go

    		delete(sys.metadataMap, bucket)
    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. cmd/postpolicyform.go

    // Add policy conditionals.
    const (
    	policyCondEqual         = "eq"
    	policyCondStartsWith    = "starts-with"
    	policyCondContentLength = "content-length-range"
    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    	if fi1.Mode() != fi2.Mode() {
    		return false
    	}
    	return fi1.Size() == fi2.Size()
    }
    
    // DirectioAlignSize - DirectIO alignment needs to be 4K. Defined here as
    // directio.AlignSize is defined as 0 in MacOS causing divide by 0 error.
    const DirectioAlignSize = 4096
    
    // CopyAligned - copies from reader to writer using the aligned input
    // buffer, it is expected that input buffer is page aligned to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top