Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Clements (0.24 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. 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)
  3. internal/s3select/parquet/args.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package parquet
    
    import "encoding/xml"
    
    // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML.
    type ReaderArgs struct {
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. internal/s3select/sql/parser.go

    // Expression represents a logical disjunction of clauses
    type Expression struct {
    	And []*AndCondition `parser:"@@ ( \"OR\" @@ )*"`
    }
    
    // ListExpr represents a literal list with elements as expressions.
    type ListExpr struct {
    	Elements []*Expression `parser:"\"(\" @@ ( \",\" @@ )* \")\" | \"[\" @@ ( \",\" @@ )* \"]\""`
    }
    
    // AndCondition represents logical conjunction of clauses
    type AndCondition struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. 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)
  8. internal/bucket/lifecycle/lifecycle.go

    	switch start.Name.Local {
    	case "LifecycleConfiguration", "BucketLifecycleConfiguration":
    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LifecycleConfiguration>/<BucketLifecycleConfiguration> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	// Copy all immediate files and testdata directories between
    	// the package being tested and the source root.
    	pkgpath = ""
    	for _, element := range strings.Split(finalPkgpath, string(filepath.Separator)) {
    		if debug {
    			log.Printf("copying %s", pkgpath)
    		}
    		pkgpath = filepath.Join(pkgpath, element)
    		dst := filepath.Join(dstbase, pkgpath)
    		src := filepath.Join(cwd, pkgpath)
    		if err := copyLocalDir(dst, src); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  10. 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)
Back to top