Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for whether (0.14 sec)

  1. cmd/erasure-object.go

    		// When there is versions disparity we are healing
    		// the content implicitly for all versions, we can
    		// avoid triggering another MRF heal for offline drives.
    		if len(versions) == 0 {
    			// Whether a disk was initially or becomes offline
    			// during this upload, send it to the MRF list.
    			for i := 0; i < len(onlineDisks); i++ {
    				if onlineDisks[i] != nil && onlineDisks[i].IsOnline() {
    					continue
    				}
    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)
  2. cmd/iam.go

    		// Log any error in input session policy config.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    	// SPECIAL CASE: For service accounts, any valid JSON is allowed as a
    	// policy, regardless of whether the number of statements is 0, this
    	// includes `null`, `{}` and `{"Statement": null}`. In fact, MinIO Console
    	// sends `null` when no policy is set and the intended behavior is that the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/object-api-multipart_test.go

    		objName         string
    		uploadID        string
    		PartID          int
    		inputReaderData string
    		inputMd5        string
    		inputSHA256     string
    		inputDataSize   int64
    		// flag indicating whether the test should pass.
    		shouldPass bool
    		// expected error output.
    		expectedMd5   string
    		expectedError error
    	}{
    		// Test case  1-4.
    		// Cases with invalid bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		delimiter  string
    		maxKeys    int
    		versioned  bool
    		// Expected output of ListObjects.
    		resultL ListObjectsInfo
    		resultV ListObjectVersionsInfo
    		err     error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		{testBuckets[0], "unique/", "", "/", 1000, false, resultCases[0], ListObjectVersionsInfo{}, nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    // for io.EOF.
    //
    // If an EOF happens after reading some but not all the bytes,
    // ReadFile returns ErrUnexpectedEOF.
    //
    // If the BitrotVerifier is not nil or not verified ReadFile
    // tries to verify whether the disk has bitrot.
    //
    // Additionally ReadFile also starts reading from an offset. ReadFile
    // semantics are same as io.ReadFull.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    		x.Type.String(),
    		hex.EncodeToString(x.VersionID[:]),
    		hex.EncodeToString(x.Signature[:]),
    		time.Unix(0, x.ModTime),
    		x.Flags.String(),
    		x.EcN, x.EcM,
    	)
    }
    
    // matchesNotStrict returns whether x and o have both have non-zero version,
    // their versions match and their type match.
    // If they have zero version, modtime must match.
    func (x xlMetaV2VersionHeader) matchesNotStrict(o xlMetaV2VersionHeader) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/bucket-handlers.go

    	case "200":
    		writeSuccessResponseHeadersOnly(w)
    	default:
    		writeSuccessNoContent(w)
    	}
    }
    
    // GetBucketPolicyStatusHandler -  Retrieves the policy status
    // for an MinIO bucket, indicating whether the bucket is public.
    func (api objectAPIHandlers) GetBucketPolicyStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketPolicyStatus")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top