Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for multiply (0.15 sec)

  1. cmd/erasure-server-pool.go

    			if pctUsed := int(disk.Used * 100 / disk.Total); pctUsed > maxUsedPct {
    				maxUsedPct = pctUsed
    			}
    		}
    
    		// Since we are comparing pools that may have a different number of sets
    		// we multiply by the number of sets in the pool.
    		// This will compensate for differences in set sizes
    		// when choosing destination pool.
    		// Different set sizes are already compensated by less disks.
    		available *= uint64(nSets[i])
    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)
  2. cmd/test-utils_test.go

    func getDeleteObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    // return URL for deleting multiple objects from a bucket.
    func getMultiDeleteObjectURL(endPoint, bucketName string) string {
    	queryValue := url.Values{}
    	queryValue.Set("delete", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		//  Used to test the listing for the case of multiple uploadID's for a given object.
    		res, err = obj.NewMultipartUpload(context.Background(), bucketNames[1], objectNames[0], opts)
    		if err != nil {
    			// Failed to create NewMultipartUpload, abort.
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		uploadIDs = append(uploadIDs, res.UploadID)
    	}
    
    	// Bucket to test for multiple objects, each with unique UUID.
    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

    			}
    		})
    	}
    }
    
    // Wrapper for calling ListObjectsOnVersionedBuckets tests for both
    // Erasure multiple disks and single node setup.
    func TestListObjectsOnVersionedBuckets(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjectsOnVersionedBuckets)
    }
    
    // Wrapper for calling ListObjects tests for both Erasure multiple
    // disks and single node setup.
    func TestListObjects(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjects)
    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

    	}
    
    	return s.deleteFile(volumeDir, pathJoin(volumeDir, path, xlStorageFormatFile), true, false)
    }
    
    // DeleteVersions deletes slice of versions, it can be same object
    // or multiple objects.
    func (s *xlStorage) DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error {
    	errs := make([]error, len(versions))
    
    	for i, fiv := range versions {
    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/iam-store.go

    			return err
    		}
    	}
    
    	delete(cache.iamPolicyDocsMap, policy)
    	cache.updatedAt = time.Now()
    
    	return nil
    }
    
    // GetPolicy - gets the policy definition. Allows specifying multiple comma
    // separated policies - returns a combined policy.
    func (store *IAMStoreSys) GetPolicy(name string) (policy.Policy, error) {
    	if name == "" {
    		return policy.Policy{}, errInvalidArgument
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/iam.go

    	parentUsersMap := sys.store.GetAllParentUsers()
    	var expiredUsers []string
    	for parentUser, puInfo := range parentUsersMap {
    		// There are multiple role ARNs for parent user only when there
    		// are multiple openid provider configurations with the same ID
    		// provider. We lookup the provider associated with some one of
    		// the roleARNs to check if the user still exists. If they don't
    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)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEvaluatorTimestampFormatPatternDuplicateFields: {
    		Code:           "EvaluatorTimestampFormatPatternDuplicateFields",
    		Description:    "Time stamp format pattern contains multiple format specifiers representing the time stamp field in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEvaluatorTimestampFormatPatternHourClockAmPmMismatch: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    				Name:     vr.Name,
    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)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1&tag2=value2",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove (Multiple Rules, Tags match)
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top