Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 908 for Base (0.03 sec)

  1. cmd/copy-part-range.go

    )
    
    // Writes S3 compatible copy part range error.
    func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) {
    	switch err {
    	case errInvalidRange:
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopyPartRange), url)
    		return
    	case errInvalidRangeSource:
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopyPartRangeSource), url)
    		return
    	default:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. internal/s3select/json/args.go

    	type subWriterArgs WriterArgs
    	parsedArgs := subWriterArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    	switch len(parsedArgs.RecordDelimiter) {
    	case 0:
    		parsedArgs.RecordDelimiter = defaultRecordDelimiter
    	case 1, 2:
    	default:
    		return fmt.Errorf("invalid RecordDelimiter '%v'", parsedArgs.RecordDelimiter)
    	}
    
    	*args = WriterArgs(parsedArgs)
    	args.unmarshaled = true
    	return nil
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/filter.go

    		return errInvalidFilter
    	}
    
    	var err error
    	switch pType {
    	case nonePred:
    	// S3 supports empty <Filter></Filter>
    	case prefixPred:
    	case andPred:
    		err = f.And.Validate()
    	case tagPred:
    		err = f.Tag.Validate()
    	case sizeLtPred:
    		if f.ObjectSizeLessThan < 0 {
    			err = errXMLNotWellFormed
    		}
    	case sizeGtPred:
    		if f.ObjectSizeGreaterThan < 0 {
    			err = errXMLNotWellFormed
    		}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/last-minute.go

    	switch tag {
    	case sizeLessThan1KiB:
    		return "LESS_THAN_1_KiB"
    	case sizeLessThan1MiB:
    		return "LESS_THAN_1_MiB"
    	case sizeLessThan10MiB:
    		return "LESS_THAN_10_MiB"
    	case sizeLessThan100MiB:
    		return "LESS_THAN_100_MiB"
    	case sizeLessThan1GiB:
    		return "LESS_THAN_1_GiB"
    	case sizeGreaterThan1GiB:
    		return "GREATER_THAN_1_GiB"
    	default:
    		return "unknown"
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. internal/bucket/encryption/bucket-sse-config_test.go

    		if tc.shouldPass && err != nil {
    			t.Errorf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    			if err == nil || err != nil && err.Error() != tc.expectedErr.Error() {
    				t.Errorf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err)
    			}
    			continue
    		}
    
    		if tc.keyID != "" && tc.keyID != ssec.KeyID() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  6. cmd/shared-lock.go

    		if err != nil {
    			continue
    		}
    
    	keepLock:
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case <-lkctx.Context().Done():
    				// The context of the lock is canceled, this can happen
    				// if one lock lost quorum due to cluster instability
    				// in that case, try to lock again.
    				break keepLock
    			case ld.lockContext <- lkctx:
    				// Send the lock context to anyone asking for it
    			}
    		}
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess

        exit 1
    fi
    
    if [ -z "$FESS_CLASSPATH" ]; then
        echo "You must set the FESS_CLASSPATH var" >&2
        exit 1
    fi
    
    # Special-case path variables.
    case `uname` in
        CYGWIN*)
            FESS_CLASSPATH=`cygpath -p -w "$FESS_CLASSPATH"`
            FESS_HOME=`cygpath -p -w "$FESS_HOME"`
            if [ "x$FESS_CONF_PATH" != "x" ] ; then
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. chainable_api.go

    	tx = db.getInstance()
    
    	switch v := query.(type) {
    	case []string:
    		tx.Statement.Selects = v
    
    		for _, arg := range args {
    			switch arg := arg.(type) {
    			case string:
    				tx.Statement.Selects = append(tx.Statement.Selects, arg)
    			case []string:
    				tx.Statement.Selects = append(tx.Statement.Selects, arg...)
    			default:
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    	case "GOVERNANCE":
    		mode = RetGovernance
    	case "COMPLIANCE":
    		mode = RetCompliance
    	}
    	return mode
    }
    
    // LegalHoldStatus - object legal hold status.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			switch se.Name.Local {
    			case "Rule":
    				var r Rule
    				if err = d.DecodeElement(&r, &se); err != nil {
    					return err
    				}
    				lc.Rules = append(lc.Rules, r)
    			case "ExpiryUpdatedAt":
    				var t time.Time
    				if err = d.DecodeElement(&t, &start); err != nil {
    					return err
    				}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top