Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 440 for value (0.13 sec)

  1. internal/s3select/sql/value.go

    func FromBool(b bool) *Value {
    	return &Value{value: b}
    }
    
    // FromTimestamp creates a Value from a timestamp
    func FromTimestamp(t time.Time) *Value {
    	return &Value{value: t}
    }
    
    // FromNull creates a Value with Null value
    func FromNull() *Value {
    	return &Value{value: nil}
    }
    
    // FromMissing creates a Value with Missing value
    func FromMissing() *Value {
    	return &Value{value: Missing{}}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/value_test.go

    // valueBuilders contains one constructor for each value type.
    // Values should match if type is the same.
    var valueBuilders = []func() *Value{
    	FromNull,
    	func() *Value {
    		return FromBool(true)
    	},
    	func() *Value {
    		return FromBytes([]byte("byte contents"))
    	},
    	func() *Value {
    		return FromFloat(math.Pi)
    	},
    	func() *Value {
    		return FromInt(0x1337)
    	},
    	func() *Value {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. internal/s3select/sql/value_contrib.go

    Harshavardhana <******@****.***> 1622584780 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    				Value:       float64(qs.MRFStats.LastFailedCount),
    			}
    
    			if qs.QStats.Avg.Count > 0 || qs.QStats.Curr.Count > 0 {
    				qt := qs.QStats
    				currInQueueBytes.Value = qt.Curr.Bytes
    				currInQueueCount.Value = qt.Curr.Count
    				avgQueueBytes.Value = qt.Avg.Bytes
    				avgQueueCount.Value = qt.Avg.Count
    				maxQueueBytes.Value = qt.Max.Bytes
    				maxQueueCount.Value = qt.Max.Count
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. docs/debugging/xattr/main.go

    		log.Fatalln("setting an attribute requires a non-zero value")
    	}
    
    	if !set && value > 0 {
    		log.Fatalln("to set a value please specify --set along with --value")
    	}
    
    	table := tablewriter.NewWriter(os.Stdout)
    	table.SetHeader([]string{"Name", "Value"})
    	table.SetAutoWrapText(false)
    	table.SetAutoFormatHeaders(true)
    	table.SetHeaderAlignment(tablewriter.ALIGN_LEFT)
    	table.SetAlignment(tablewriter.ALIGN_LEFT)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. internal/s3select/parquet/reader.go

    		value = string(val[:])
    	case int32:
    		value = int64(val)
    		if logicalType := se.GetLogicalType(); logicalType != nil {
    			if logicalType.IsSetDATE() {
    				value = sql.FormatSQLTimestamp(time.Unix(60*60*24*int64(val), 0).UTC())
    			}
    		} else if se.GetConvertedType() == parquettypes.ConvertedType_DATE {
    			value = sql.FormatSQLTimestamp(time.Unix(60*60*24*int64(val), 0).UTC())
    		}
    	case int64:
    		value = val
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. cmd/common-main_test.go

    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    				{
    					Key:   "MINIO_ROOT_PASSWORD",
    					Value: "minio123",
    				},
    			},
    		},
    		// Value with double quotes
    		{
    			`export MINIO_ROOT_USER="minio"`,
    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    			},
    		},
    		// Value with single quotes
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  8. internal/logger/config.go

    		},
    		config.KV{
    			Key:   ClientCert,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClientKey,
    			Value: "",
    		},
    		config.KV{
    			Key:   Proxy,
    			Value: "",
    		},
    		config.KV{
    			Key:   BatchSize,
    			Value: "1",
    		},
    		config.KV{
    			Key:   QueueSize,
    			Value: "100000",
    		},
    		config.KV{
    			Key:   QueueDir,
    			Value: "",
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    			}, nil
    		},
    		RoleARN: roleARN,
    	}
    
    	value, err := webID.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    	// fmt.Printf("value: %#v\n", value)
    
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure:    s.secure,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  10. internal/hash/checksum.go

    func NewChecksumWithType(alg ChecksumType, value string) *Checksum {
    	if !alg.IsSet() {
    		return nil
    	}
    	bvalue, err := base64.StdEncoding.DecodeString(value)
    	if err != nil {
    		return nil
    	}
    	c := Checksum{Type: alg, Encoded: value, Raw: bvalue}
    	if !c.Valid() {
    		return nil
    	}
    	return &c
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top