Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for right (0.17 sec)

  1. internal/auth/credentials.go

    // AnonymousCredentials simply points to empty credentials
    var AnonymousCredentials = Credentials{}
    
    // IsAccessKeyValid - validate access key for right length.
    func IsAccessKeyValid(accessKey string) bool {
    	return len(accessKey) >= accessKeyMinLen
    }
    
    // IsSecretKeyValid - validate secret key for right length.
    func IsSecretKeyValid(secretKey string) bool {
    	return len(secretKey) >= secretKeyMinLen
    }
    
    // Default access and secret keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    			}
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // setBucketForwardingMiddleware middleware forwards the path style requests
    // on a bucket to the right bucket location, bucket to IP configuration
    // is obtained from centralized etcd configuration service.
    func setBucketForwardingMiddleware(h http.Handler) http.Handler {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/server-main.go

    		Usage:  "custom TCP_USER_TIMEOUT for socket buffers",
    		Hidden: true,
    		Value:  10 * time.Minute,
    		EnvVar: "MINIO_CONN_USER_TIMEOUT",
    	},
    	cli.StringFlag{
    		Name:   "interface",
    		Usage:  "bind to right VRF device for MinIO services",
    		Hidden: true,
    		EnvVar: "MINIO_INTERFACE",
    	},
    	cli.DurationFlag{
    		Name:   "dns-cache-ttl",
    		Usage:  "custom DNS cache TTL",
    		Hidden: true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  4. cmd/signature-v4-parser_test.go

    				"us-west-1",
    				"s3",
    				"ABCD"),
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrInvalidRequestVersion,
    		},
    		// Test Case - 9.
    		// Test case with right inputs. Expected to return a valid CredentialHeader.
    		// "aws4_request" is the valid request version.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"Z7IXGOO6BZ0REAN1Q26I",
    				sampleTimeStr,
    				"us-west-1",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    			if err != nil {
    				switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/distributed/DESIGN.md

    *A noticeable trait of this expansion is that it chooses unique hosts such the setup provides maximum protection and availability.*
    
    - Choosing an erasure set for the object is decided during `PutObject()`, object names are used to find the right erasure set using the following pseudo code.
    
    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common.go

    			if !meta.Deleted {
    				if len(meta.Erasure.Distribution) != len(onlineDisks) {
    					// Erasure distribution is not the same as onlineDisks
    					// attempt a fix if possible, assuming other entries
    					// might have the right erasure distribution.
    					partsMetadata[i] = FileInfo{}
    					dataErrs[i] = errFileCorrupt
    					continue
    				}
    			}
    		}
    
    		// Always check data, if we got it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. docs/bucket/replication/DESIGN.md

    If synchronous replication is configured above, replication is attempted right away prior to returning the PUT object response. In the event that the replication target is down, the `X-Amz-Replication-Status` is marked as `FAILED` and resynced with target when the scanner runs again.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil.go

    			return written, err
    		}
    
    		if nw != int64(len(buf)) {
    			return written, io.ErrShortWrite
    		}
    
    		if totalSize > 0 && written == totalSize {
    			// we have written the entire stream, return right here.
    			return written, nil
    		}
    
    		if eof {
    			// We reached EOF prematurely but we did not write everything
    			// that we promised that we would write.
    			if totalSize > 0 && written != totalSize {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. cmd/utils.go

    		maxl := xfixl
    		if strl < maxl {
    			maxl = strl
    		}
    		// compare letters
    		if pre {
    			// prefix, iterate left to right
    			for i := 0; i < maxl; i++ {
    				if xfix[i] != str[i] {
    					xfix = xfix[:i]
    					break
    				}
    			}
    		} else {
    			// suffix, iterate right to left
    			for i := 0; i < maxl; i++ {
    				xi := xfixl - i - 1
    				si := strl - i - 1
    				if xfix[xi] != str[si] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top