Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for conversion (0.17 sec)

  1. internal/s3select/sql/value.go

    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    	bytes, _ := v.ToBytes()
    	i, err := strconv.ParseInt(strings.TrimSpace(string(bytes)), 10, 64)
    	return i, err == nil
    }
    
    // Converts untyped value into float. The bool return implies success
    // - it returns false only if there is a conversion failure.
    func (v Value) bytesToFloat() (float64, bool) {
    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/lock/lock_windows.go

    	// The extended form disables evaluation of . and .. path
    	// elements and disables the interpretation of / as equivalent
    	// to \. The conversion here rewrites / to \ and elides
    	// . elements as well as trailing or duplicate separators. For
    	// simplicity it avoids the conversion entirely for relative
    	// paths or paths containing .. elements. For now,
    	// \\server\share paths are not converted to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/logger/target/kafka/kafka_scram_client_contrib.go

    	return nil
    }
    
    // Step takes a string provided from a server (or just an empty string for the
    // very first conversation step) and attempts to move the authentication
    // conversation forward.  It returns a string to be sent to the server or an
    // error if the server message is invalid.  Calling Step after a conversation
    // completes is also an error.
    func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  4. update-credits.sh

          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    func TestGetObjectInlineNotInline(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// Create a backend with 4 disks named disk{1...4}, this name convention
    	// because we will unzip some object data from a sample archive.
    	const numDisks = 4
    	path := t.TempDir()
    
    	var fsDirs []string
    	for i := 1; i <= numDisks; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  6. docs/select/README.md

    - Server-side encryption - The Select API supports querying objects that are protected with server-side encryption.
    
    Type inference and automatic conversion of values is performed based on the context when the value is un-typed (such as when reading CSV data). If present, the CAST function overrides automatic conversion.
    
    The [mc sql](https://min.io/docs/minio/linux/reference/minio-mc/mc-sql.html) command can be used for executing queries using the command line.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    )
    
    // FuncName - SQL function name.
    type FuncName string
    
    // SQL Function name constants
    const (
    	// Conditionals
    	sqlFnCoalesce FuncName = "COALESCE"
    	sqlFnNullIf   FuncName = "NULLIF"
    
    	// Conversion
    	sqlFnCast FuncName = "CAST"
    
    	// Date and time
    	sqlFnDateAdd     FuncName = "DATE_ADD"
    	sqlFnDateDiff    FuncName = "DATE_DIFF"
    	sqlFnExtract     FuncName = "EXTRACT"
    	sqlFnToString    FuncName = "TO_STRING"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  8. internal/crypto/sse.go

    	return
    }
    
    // EncryptSinglePart encrypts an io.Reader which must be the
    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key"))
    	}
    	return r
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  9. cmd/warm-backend-minio.go

    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    	partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
    
    	// Part size.
    	partSize = int64(partSizeFlt)
    	if partSize == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/crypto/key.go

    		mac.Write([]byte(path.Join(bucket, object))) // use path.Join for canonical 'bucket/object'
    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    		unsealConfig = sio.Config{MinVersion: sio.Version10, Key: sha.Sum(nil), CipherSuites: fips.DARECiphers()}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top