Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Clement (0.16 sec)

  1. internal/s3select/sql/evaluate.go

    }
    
    func (e *ListExpr) evalNode(r Record, tableAlias string) (*Value, error) {
    	res := make([]Value, len(e.Elements))
    	if len(e.Elements) == 1 {
    		// If length 1, treat as single value.
    		return e.Elements[0].evalNode(r, tableAlias)
    	}
    	for i, elt := range e.Elements {
    		v, err := elt.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		res[i] = *v
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. cmd/net_test.go

    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"hostname"},
    			sortedIPList: []string{"hostname"},
    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"127.0.0.1"},
    			sortedIPList: []string{"127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostame and gets preserved
    		// as the left most elements, regardless of IP based sorting.
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    //
    // All stream elements are msgpack encoded.
    //
    // 1 Integer, metacacheStreamVersion of the writer.
    // This can be used for managing breaking changes.
    //
    // For each element:
    // 1. Bool. If false at end of stream.
    // 2. String. Name of object. Directories contains a trailing slash.
    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/expiration.go

    	if eDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(eDate.Format(time.RFC3339), startElement)
    }
    
    // ExpireDeleteMarker represents value of ExpiredObjectDeleteMarker field in Expiration XML element.
    type ExpireDeleteMarker struct {
    	Boolean
    }
    
    // Boolean signifies a boolean XML struct with custom marshaling
    type Boolean struct {
    	val    bool
    	set    bool
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  5. cmd/erasure-healing-common.go

    	for _, etag := range etags {
    		if etag == "" {
    			continue
    		}
    		etagOccurrenceMap[etag]++
    	}
    
    	maxima = 0 // Counter for remembering max occurrence of elements.
    	latest := ""
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for etag, count := range etagOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. cmd/batch-replicate.go

    	if !auth.IsAccessKeyValid(c.AccessKey) || !auth.IsSecretKeyValid(c.SecretKey) {
    		return errInvalidArgument
    	}
    	return nil
    }
    
    // BatchJobReplicateTarget describes target element of the replication job that receives
    // the filtered data from source
    type BatchJobReplicateTarget struct {
    	Type     BatchJobReplicateResourceType `yaml:"type" json:"type"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. cmd/api-datatypes.go

    	Location string   `xml:"LocationConstraint"`
    }
    
    // DeleteObjectsRequest - xml carrying the object key names which needs to be deleted.
    type DeleteObjectsRequest struct {
    	// Element to enable quiet mode for the request
    	Quiet bool
    	// List of objects to be deleted
    	Objects []ObjectToDelete `xml:"Object"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 03 09:28:52 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. internal/bucket/object/lock/lock.go

    	if err := d.DecodeElement(&parsedConfig, &start); err != nil {
    		return err
    	}
    
    	if parsedConfig.ObjectLockEnabled != Enabled {
    		return fmt.Errorf("only 'Enabled' value is allowed to ObjectLockEnabled element")
    	}
    
    	*config = Config(parsedConfig)
    	return nil
    }
    
    // ToRetention - convert to Retention type.
    func (config *Config) ToRetention() Retention {
    	r := Retention{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock_test.go

    			expectedErr: errors.New("expected element type <Status> but have <MyStatus>"),
    			expectErr:   true,
    		},
    		// invalid XML attr
    		{
    			value:       `<?xml version="1.0" encoding="UTF-8"?><UnknownLegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>ON</Status></UnknownLegalHold>`,
    			expectedErr: errors.New("expected element type <LegalHold>/<ObjectLockLegalHold> but have <UnknownLegalHold>"),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. internal/s3select/csv/args.go

    	defaultFieldDelimiter       = ","
    	defaultQuoteCharacter       = `"`
    	defaultQuoteEscapeCharacter = `"`
    	defaultCommentCharacter     = "#"
    
    	asneeded = "asneeded"
    )
    
    // ReaderArgs - represents elements inside <InputSerialization><CSV> in request XML.
    type ReaderArgs struct {
    	FileHeaderInfo             string `xml:"FileHeaderInfo"`
    	RecordDelimiter            string `xml:"RecordDelimiter"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 5.4K bytes
    - Viewed (0)
Back to top