Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 908 for Base (0.03 sec)

  1. cmd/metacache-walk_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "BaseDir":
    			z.BaseDir, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "BaseDir")
    				return
    			}
    		case "Recursive":
    			z.Recursive, err = dc.ReadBool()
    			if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. internal/s3select/csv/args.go

    				return err
    			}
    			switch se.Name.Local {
    			case "QuoteFields":
    				args.QuoteFields = strings.ToLower(s)
    			case "RecordDelimiter":
    				args.RecordDelimiter = s
    			case "FieldDelimiter":
    				args.FieldDelimiter = s
    			case "QuoteCharacter":
    				switch utf8.RuneCountInString(s) {
    				case 0:
    					args.QuoteCharacter = "\x00"
    				case 1:
    					args.QuoteCharacter = s
    				default:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. internal/s3select/sql/evaluate.go

    	switch rval := result.(type) {
    	case string:
    		return FromString(rval), nil
    	case float64:
    		return FromFloat(rval), nil
    	case int64:
    		return FromInt(rval), nil
    	case uint64:
    		if rval <= math.MaxInt64 {
    			return FromInt(int64(rval)), nil
    		}
    		return FromFloat(float64(rval)), nil
    	case bool:
    		return FromBool(rval), nil
    	case jstream.KVS:
    		bs, err := json.Marshal(result)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. cmd/admin-handler-utils.go

    	switch e := err.(type) {
    	case policy.Error:
    		apiErr = APIError{
    			Code:           "XMinioMalformedIAMPolicy",
    			Description:    e.Error(),
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	case config.ErrConfigNotFound:
    		apiErr = APIError{
    			Code:           "XMinioConfigNotFoundError",
    			Description:    e.Error(),
    			HTTPStatusCode: http.StatusNotFound,
    		}
    	case config.ErrConfigGeneric:
    		apiErr = APIError{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/loong64.go

    	switch op {
    	case loong64.ARDTIMELW, loong64.ARDTIMEHW, loong64.ARDTIMED:
    		return true
    	}
    	return false
    }
    
    func IsLoong64AMO(op obj.As) bool {
    	return loong64.IsAtomicInst(op)
    }
    
    func loong64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_F0 + n, true
    		}
    	case "FCSR":
    		if 0 <= n && n <= 31 {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Jul 29 02:47:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication-metrics_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Curr":
    			z.Curr, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Curr")
    				return
    			}
    		case "Avg":
    			z.Avg, err = dc.ReadFloat32()
    			if err != nil {
    				err = msgp.WrapError(err, "Avg")
    				return
    			}
    		case "Max":
    			z.Max, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Max")
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. cmd/httprange.go

    )
    
    // HTTPRangeSpec represents a range specification as supported by S3 GET
    // object request.
    //
    // Case 1: Not present -> represented by a nil RangeSpec
    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/analysis.go

    	}
    	return
    }
    
    func (e *ConditionRHS) analyze(s *Select) (result qProp) {
    	switch {
    	case e.Compare != nil:
    		result = e.Compare.Operand.analyze(s)
    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    		result.combine(e.In.analyze(s))
    	case e.Like != nil:
    		result.combine(e.Like.Pattern.analyze(s))
    		if e.Like.EscapeChar != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. internal/s3select/jstream/decoder.go

    			}
    			c = d.next()
    		}
    	}
    
    scan_esc:
    	switch c {
    	case '"', '\\', '/', '\'':
    		d.scratch.add(c)
    	case 'u':
    		goto scan_u
    	case 'b':
    		d.scratch.add('\b')
    	case 'f':
    		d.scratch.add('\f')
    	case 'n':
    		d.scratch.add('\n')
    	case 'r':
    		d.scratch.add('\r')
    	case 't':
    		d.scratch.add('\t')
    	default:
    		return "", d.mkError(ErrSyntax, "in string escape code")
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. internal/s3select/sql/timestampfuncs.go

    	switch what {
    	case timePartYear:
    		return FromInt(int64(t.Year())), nil
    	case timePartMonth:
    		return FromInt(int64(t.Month())), nil
    	case timePartDay:
    		return FromInt(int64(t.Day())), nil
    	case timePartHour:
    		return FromInt(int64(t.Hour())), nil
    	case timePartMinute:
    		return FromInt(int64(t.Minute())), nil
    	case timePartSecond:
    		return FromInt(int64(t.Second())), nil
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top