Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for wouldn (0.18 sec)

  1. cmd/signature-v4-utils.go

    		defaultSha256Cksum = emptySHA256
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// We found 'X-Amz-Content-Sha256' return the captured value.
    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    				a.setInt(iA)
    			} else if fA, ok := a.bytesToFloat(); ok {
    				a.setFloat(fA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a number", a.String())
    			}
    
    		case bool:
    			if bA, ok := a.bytesToBool(); ok {
    				a.setBool(bA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a boolean", a.String())
    			}
    
    		default:
    			return errCmpMismatchedTypes
    		}
    		return nil
    
    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. cmd/erasure-common.go

    	}
    
    	ignoredErrs := []error{
    		errFileNotFound,
    		errVolumeNotFound,
    		errFileVersionNotFound,
    		io.ErrUnexpectedEOF, // some times we would read without locks, ignore these errors
    		io.EOF,              // some times we would read without locks, ignore these errors
    		context.DeadlineExceeded,
    		context.Canceled,
    	}
    	ignoredErrs = append(ignoredErrs, objectOpIgnoredErrs...)
    
    	errs := g.Wait()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/server_test.go

    	c.Assert(response.ContentLength, int64(len([]byte("hello world"))))
    	var buffer2 bytes.Buffer
    	// retrieve the contents of response body.
    	n, err := io.Copy(&buffer2, response.Body)
    	c.Assert(err, nil)
    	c.Assert(n, int64(len([]byte("hello world"))))
    	// asserted the contents of the fetched object with the expected result.
    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/generic-handlers_test.go

    	r := &http.Request{
    		Proto:  "HTTP/1.0",
    		Method: http.MethodPost,
    		URL:    u,
    	}
    	if !guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't fail for a possible net/rpc request.")
    	}
    	r = &http.Request{
    		Proto:  "HTTP/1.1",
    		Method: http.MethodGet,
    	}
    	if guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't report as net/rpc for a non net/rpc request.")
    	}
    	r = &http.Request{
    		Proto:  "HTTP/1.1",
    		Method: http.MethodGet,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. docs/bucket/retention/README.md

    ## Concepts
    
    - If an object is under legal hold, it cannot be deleted unless the legal hold is explicitly removed for the respective version id. DeleteObjectVersion() would fail otherwise.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    			// that we have some parts or data blocks missing or corrupted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. docs/sts/web-identity.md

    2018/12/26 17:49:36 listening on http://localhost:8080/
    ```
    
    > NOTE: for a reasonable test outcome, make sure the assumed user has at least permission/policy to list all buckets. That policy would look like below:
    
    ```
    {
      "version": "2012-10-17",
      "statement": [
        {
          "effect": "Allow",
          "action": [
            "s3:ListAllMyBuckets"
          ],
          "resource": [
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. internal/lock/lock_nix.go

    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE.md

    1.
    2.
    3.
    4.
    
    ## Context
    <!--- How has this issue affected you? What are you trying to accomplish? -->
    <!--- Providing context helps us come up with a solution that is most useful in the real world -->
    
    ## Regression
    <!-- Is this issue a regression? (Yes / No) -->
    <!-- If Yes, optionally please include minio version or commit id or PR# that caused this regression, if you have these details. -->
    
    ## Your Environment
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 29 00:04:16 GMT 2022
    - 2K bytes
    - Viewed (0)
Back to top