Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for string (0.19 sec)

  1. cmd/apierrorcode_string.go

    func (i APIErrorCode) String() string {
    	if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
    		return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    		return nil
    	}
    	if x, ok := v.bytesToBool(); ok {
    		v.setBool(x)
    		return nil
    	}
    
    	asString := strings.TrimSpace(v.bytesToString())
    	if len(b) > 0 &&
    		(strings.HasPrefix(asString, "{") || strings.HasPrefix(asString, "[")) {
    		return nil
    	}
    
    	if t, err := parseSQLTimestamp(asString); err == nil {
    		v.setTimestamp(t)
    		return nil
    	}
    	if !utf8.Valid(b) {
    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)
  3. internal/hash/checksum.go

    		}
    		if len(res) == 0 {
    			res = make([]map[string]string, parts)
    		}
    		b = b[n:]
    		for part := 0; part < int(parts); part++ {
    			if len(b) < length {
    				break
    			}
    			// Read part checksum
    			cs := base64.StdEncoding.EncodeToString(b[:length])
    			b = b[length:]
    			if res[part] == nil {
    				res[part] = make(map[string]string, 1)
    			}
    			res[part][typ.String()] = cs
    		}
    	}
    	return res
    }
    
    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)
  4. internal/grid/types.go

    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    // It is not very efficient, but it is only used for easy parameter passing.
    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    func (m *MSS) Set(key, value string) {
    	if m == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/update.go

    //
    // Any change here should be discussed by opening an issue at
    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    	userAgentParts := []string{}
    	// Helper function to concisely append a pair of strings to a
    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    		userAgentParts = append(userAgentParts, p, q)
    	}
    	uaAppend(MinioUAName, " (")
    	uaAppend("", runtime.GOOS)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    			return errors.New("cannot combine --data and --combine")
    		}
    		// file / version / file
    		filemap := make(map[string]map[string]string)
    		// versionID ->
    		combineFiles := make(map[string][]string)
    		decode := func(r io.Reader, file string) ([]byte, error) {
    			file = strings.ReplaceAll(file, ":", "_")
    			b, err := io.ReadAll(r)
    			if err != nil {
    				return nil, err
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  7. cmd/xl-storage-disk-id-check.go

    }
    
    func storageTrace(s storageMetric, startTime time.Time, duration time.Duration, path string, err string, custom map[string]string) madmin.TraceInfo {
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceStorage,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "storage." + s.String(),
    		Duration:  duration,
    		Path:      path,
    		Error:     err,
    		Custom:    custom,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. internal/event/target/kafka.go

    		ClientTLSCert string             `json:"clientTLSCert"`
    		ClientTLSKey  string             `json:"clientTLSKey"`
    	} `json:"tls"`
    	SASL struct {
    		Enable    bool   `json:"enable"`
    		User      string `json:"username"`
    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	Producer struct {
    		Compression      string `json:"compression"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. internal/crypto/metadata_test.go

    var isMultipartTests = []struct {
    	Metadata  map[string]string
    	Multipart bool
    }{
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: ""}},                          // 0
    	{Multipart: true, Metadata: map[string]string{"X-Minio-Internal-Encrypted-Multipart": ""}}, // 1
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: "some-value"}},                // 2
    	{Multipart: false, Metadata: map[string]string{"": ""}},                                    // 3
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. internal/config/identity/openid/openid.go

    		},
    		roleArnPolicyMap: map[arn.ARN]string{},
    		transport:        openIDClientTransport,
    		closeRespFn:      closeRespFn,
    	}
    
    	seenClientIDs := set.NewStringSet()
    
    	deprecatedKeys := []string{JwksURL}
    
    	// remove this since we have removed support for this already.
    	for k := range s[config.IdentityOpenIDSubSys] {
    		for _, dk := range deprecatedKeys {
    			kvs := s[config.IdentityOpenIDSubSys][k]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top