Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for iterare (0.15 sec)

  1. cmd/erasure-object.go

    				}
    			}
    		}(index, disk)
    	}
    	wg.Wait()
    
    	// Reduce errors for each object
    	for objIndex := range objects {
    		diskErrs := make([]error, len(storageDisks))
    		// Iterate over disks to fetch the error
    		// of deleting of the current object
    		for i := range delObjErrs {
    			// delObjErrs[i] is not nil when disks[i] is also not nil
    			if delObjErrs[i] != nil {
    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/test-utils_test.go

    	// initialize a new mux router.
    	// goriilla/mux is the library used to register all the routes and handle them.
    	muxRouter := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	if len(apiFunctions) > 0 {
    		// Iterate the list of API functions requested for and register them in mux HTTP handler.
    		registerAPIFunctions(muxRouter, objLayer, apiFunctions...)
    		muxRouter.Use(globalMiddlewares...)
    		return muxRouter
    	}
    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/s3-zip-handlers.go

    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    		listObjectsInfo ListObjectsV2Info
    	)
    
    	// Always set this
    	listObjectsInfo.ContinuationToken = token
    
    	// Open and iterate through the files in the archive.
    	for _, file := range files {
    		objName := zipObjInfo.Name + archiveSeparator + file.Name
    		if objName <= startAfter || objName <= token {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. cmd/postpolicyform.go

    				return fmt.Errorf("Invalid according to Policy: Extra input fields: %s", key)
    			}
    		}
    	}
    
    	// Flag to indicate if all policies conditions are satisfied
    	var condPassed bool
    
    	// Iterate over policy conditions and check them against received form fields
    	for _, policy := range postPolicyForm.Conditions.Policies {
    		// Form fields names are in canonical format, convert conditions names
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. 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)
  6. cmd/object-handlers_test.go

    		contentLength int64
    		textData      []byte
    		metaData      map[string]string
    	}{
    		{bucketName, objectName, int64(len(bytesData[0].byteData)), bytesData[0].byteData, make(map[string]string)},
    	}
    	// iterate through the above set of inputs and upload the object.
    	for i, input := range putObjectInputs {
    		// uploading the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    	sendLog(ctx, entry)
    }
    
    func sendLog(ctx context.Context, entry log.Entry) {
    	systemTgts := SystemTargets()
    	if len(systemTgts) == 0 {
    		return
    	}
    
    	// Iterate over all logger targets to send the log entry
    	for _, t := range systemTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top