Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Input (0.14 sec)

  1. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CurrentPolicies - returns comma separated policy string, from
    // an input policy after validating if there are any current
    // policies which exist on MinIO corresponding to the input.
    func (sys *IAMSys) CurrentPolicies(policyName string) string {
    	if !sys.Initialized() {
    		return ""
    	}
    
    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)
  2. cmd/erasure-object.go

    	// For negative length read everything.
    	if length < 0 {
    		length = fi.Size - startOffset
    	}
    
    	// Reply back invalid range if the input offset and length fall out of range.
    	if startOffset > fi.Size || startOffset+length > fi.Size {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Get start part index and offset.
    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)
  3. internal/s3select/select_test.go

    			input:      testInput,
    			query:      `select id from S3Object s WHERE s.id in [4,3]`,
    			wantResult: ``,
    		},
    		{
    			name:       "select-float-by-val",
    			input:      testInput,
    			query:      `SELECT num2 from s3object s WHERE num2 = 0.765111`,
    			wantResult: `{"num2":" 0.765111"}`,
    		},
    		{
    			name:       "select-non_exiting_values",
    			input:      testInput,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    // PutObject - writes an object to least used erasure pool.
    func (z *erasureServerPools) PutObject(ctx context.Context, bucket string, object string, data *PutObjReader, opts ObjectOptions) (ObjectInfo, error) {
    	// Validate put object input args.
    	if err := checkPutObjectArgs(ctx, bucket, object); err != nil {
    		return ObjectInfo{}, err
    	}
    
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		// to a meaningful S3 API errors. This is added to aid in
    		// debugging unexpected/unhandled errors.
    		internalLogIf(ctx, err)
    	}
    
    	return apiErr
    }
    
    // getAPIError provides API Error for input API error code.
    func getAPIError(code APIErrorCode) APIError {
    	if apiErr, ok := errorCodes[code]; ok {
    		return apiErr
    	}
    	return errorCodes.ToAPIErr(ErrInternalError)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  6. cmd/object-api-multipart_test.go

    		{bucketName: bucket, objName: "none-object", uploadID: uploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id "+uploadID)},
    		// Test case - 12.
    		// Input to replicate Md5 mismatch.
    		{
    			bucketName: bucket, objName: object, uploadID: uploadID, PartID: 1, inputMd5: "d41d8cd98f00b204e9800998ecf8427f",
    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)
  7. cmd/batch-handlers.go

    	input := make(chan minio.SnowballObject, 1)
    	opts := minio.SnowballOptions{
    		Opts:     minio.PutObjectOptions{},
    		InMemory: *r.Source.Snowball.InMemory,
    		Compress: *r.Source.Snowball.Compress,
    		SkipErrs: *r.Source.Snowball.SkipErrs,
    	}
    
    	go func() {
    		defer xioutil.SafeClose(input)
    
    		for _, entry := range entries {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		if _, ok := objectsToDelete[object]; !ok {
    			objectsToDelete[object] = index
    		}
    	}
    
    	toNames := func(input map[ObjectToDelete]int) (output []ObjectToDelete) {
    		output = make([]ObjectToDelete, len(input))
    		idx := 0
    		for obj := range input {
    			output[idx] = obj
    			idx++
    		}
    		return
    	}
    
    	// Disable timeouts and cancellation
    	ctx = bgContext(ctx)
    
    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)
  9. cmd/xl-storage_test.go

    	f, _ := os.Create(tmpFileName)
    	f.Close()
    	defer os.Remove(tmpFileName)
    
    	// List of all tests for xlStorage initialization.
    	testCases := []struct {
    		name string
    		err  error
    	}{
    		// Validates input argument cannot be empty.
    		{
    			"",
    			errInvalidArgument,
    		},
    		// Validates if the directory does not exist and
    		// gets automatically created.
    		{
    			tmpDirName,
    			nil,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    		return nil
    	}
    	if len(versions) == 1 {
    		return versions[0]
    	}
    	if quorum == 1 {
    		// No need for non-strict checks if quorum is 1.
    		strict = true
    	}
    	// Shallow copy input
    	versions = append(make([][]xlMetaV2ShallowVersion, 0, len(versions)), versions...)
    
    	var nVersions int // captures all non-free versions
    
    	// Our result
    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)
Back to top