Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for iterare (0.17 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. internal/bpool/bpool_test.go

    	}
    	if cap(b) != capWidth {
    		t.Fatalf("bytepool length invalid: got %v want %v", cap(b), capWidth)
    	}
    
    	bufPool.Put(b)
    
    	// Close the channel so we can iterate over it.
    	close(bufPool.c)
    
    	// Check the size of the pool.
    	if uint64(len(bufPool.c)) != size {
    		t.Fatalf("bytepool size invalid: got %v want %v", len(bufPool.c), size)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. buildscripts/checkdeps.sh

    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    	modTime := commonTime(modTimes, expectedRQuorum)
    
    	if modTime.IsZero() || modTime.Equal(timeSentinel) {
    		return FileInfo{}, errErasureReadQuorum
    	}
    
    	// Iterate through all the modTimes and count the FileInfo(s) with latest time.
    	for index, t := range modTimes {
    		if partsMetadata[index].IsValid() && t.Equal(modTime) {
    			latestFileInfo = partsMetadata[index]
    			count++
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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