Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for parts (0.39 sec)

  1. internal/s3select/sql/utils.go

    // String - returns the JSONPath representation
    func (e *JSONPath) String() string {
    	if len(e.pathString) == 0 {
    		parts := make([]string, len(e.PathExpr)+1)
    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    )
    
    var ldapPwdRegex = regexp.MustCompile("(^.*?)LDAPPassword=([^&]*?)(&(.*?))?$")
    
    // redact LDAP password if part of string
    func redactLDAPPwd(s string) string {
    	parts := ldapPwdRegex.FindStringSubmatch(s)
    	if len(parts) > 3 {
    		return parts[1] + "LDAPPassword=*REDACTED*" + parts[3]
    	}
    	return s
    }
    
    // getOpName sanitizes the operation name for mc
    func getOpName(name string) (op string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. docs/debugging/s3-check-md5/main.go

    				continue
    			}
    			parts := 1
    			multipart := false
    			s := strings.Split(object.ETag, "-")
    			switch len(s) {
    			case 1:
    				// nothing to do
    			case 2:
    				if p, err := strconv.Atoi(s[1]); err == nil {
    					parts = p
    				} else {
    					log.Println("FAILED: ETAG of", objFullPath(object), "has a wrong format:", err)
    					continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. internal/s3select/sql/stringfuncs.go

    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    	if len(r) == 0 {
    		return "", false
    	}
    	return string(r[1:]), true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  5. cmd/typed-errors.go

    var errUploadIDNotFound = errors.New("Specified Upload ID is not found")
    
    // error returned when PartNumber is greater than the maximum allowed 10000 parts
    var errInvalidMaxParts = errors.New("Part number is greater than the maximum allowed 10000 parts")
    
    // error returned for session policies > 2048
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_test.go

    +rKtQ1h3Q==", "X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "DAREv2-HMAC-SHA256", "content-type": "application/octet-stream", "etag": "20000f00e2c3709dc94905c6ce31e1cadbd1c064e14acdcd44cf0ac2db777eeedd88d639fcd64de16851ade8b21a9a1a"}, Parts: []ObjectPartInfo{{ETag: "", Number: 1, Size: 3430, ActualSize: 3398}}, Erasure: ErasureInfo{Algorithm: "reedsolomon", DataBlocks: 2, ParityBlocks: 2, BlockSize: 10485760, Index: 3, Distribution: []int{3, 4, 1, 2}, Checksums: []ChecksumInfo{{PartNumber:...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 9.4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/pod_cache.go

    	return maps.Clone(p.currentPodCache)
    }
    
    // Remove and return the Netns for the given uid
    // No need to return NetnsCloser here it will be closed automatically on GC.
    // (it may be used in parallel by other parts of the code, so we want it to be used only when not used)
    func (p *podNetnsCache) Take(uid string) Netns {
    	// lock current pod map
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if ns, ok := p.currentPodCache[uid]; ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils_test.go

    		DataDir:          "bffea160-ca7f-465f-98bc-9b4f1c3ba1ef",
    		XLV1:             false,
    		ModTime:          time.Now().UTC(),
    		Size:             0,
    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. istioctl/pkg/authz/listener.go

    }
    
    func extractName(name string) (string, string) {
    	// parts[1] is the namespace, parts[2] is the policy name, parts[3] is the rule index.
    	parts := re.FindStringSubmatch(name)
    	if len(parts) != 4 {
    		log.Errorf("failed to parse policy name: %s", name)
    		return "", ""
    	}
    	return fmt.Sprintf("%s.%s", parts[2], parts[1]), parts[3]
    }
    
    // Print prints the AuthorizationPolicy in the listener.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. cmd/signature-v2_test.go

    		},
    		// Test case - 3.
    		// Test case with missing parts in the Auth string.
    		// below is the correct format of V2 Authorization header.
    		// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    		{
    			authString:    signV2Algorithm,
    			expectedError: ErrMissingFields,
    		},
    		// Test case - 4.
    		// Test case with signature part missing.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
Back to top