Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for We (0.14 sec)

  1. cmd/test-utils_test.go

    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    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)
  2. cmd/metacache-set.go

    	if askDisks == -1 {
    		newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    		if newDisks != nil {
    			// If we found disks signature in quorum, we proceed to list
    			// from a single drive, shuffling of the drives is subsequently.
    			disks = newDisks
    			askDisks = 1
    		} else {
    			// If we did not find suitable disks, perform strict quorum listing
    			// as no disk agrees on quorum anymore.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	// RoleARN parameter processing: If a role ARN is given in the request, we
    	// use that and validate the authentication request. If not, we assume this
    	// is an STS request for a claim based IDP (if one is present) and set
    	// roleArn = openid.DummyRoleARN.
    	//
    	// Currently, we do not support multiple claim based IDPs, as there is no
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  4. cmd/batch-handlers.go

    	}
    	if srcObjInfo.DeleteMarker {
    		_, err := api.DeleteObject(ctx, tgtBucket, tgtObject, ObjectOptions{
    			VersionID: versionID,
    			// Since we are preserving a delete marker, we have to make sure this is always true.
    			// regardless of the current configuration of the bucket we must preserve all versions
    			// on the pool being batch replicated from source.
    			Versioned:          true,
    			MTime:              srcObjInfo.ModTime,
    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)
  5. cmd/data-scanner.go

    			return nil
    		})
    		if err != nil {
    			return err
    		}
    
    		if foundObjects && globalIsErasure {
    			// If we found an object in erasure mode, we skip subdirs (only datadirs)...
    			break
    		}
    
    		// If we have many subfolders, compact ourself.
    		shouldCompact := f.newCache.Info.Name != folder.name &&
    			len(existingFolders)+len(newFolders) >= dataScannerCompactAtFolders ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    			return srcSet.CopyObject(ctx, srcBucket, srcObject, dstBucket, dstObject, srcInfo, srcOpts, dstOpts)
    		}
    		// CopyObject optimization where we don't create an entire copy
    		// of the content, instead we add a reference, we disallow legacy
    		// objects to be self referenced in this manner so make sure
    		// that we actually create a new dataDir for legacy objects.
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  7. cmd/object-api-interface.go

    	ObjectAttributes    map[string]struct{} // Attribute tags defined by the users for the GetObjectAttributes request
    	MaxParts            int                 // used in GetObjectAttributes. Signals how many parts we should return
    	PartNumberMarker    int                 // used in GetObjectAttributes. Signals the part number after which results should be returned
    	PartNumber          int                 // only useful in case of GetObject/HeadObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. internal/color/color.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		}
    		logger.AddSystemTarget(GlobalContext, globalConsoleSys)
    
    		// Set node name, only set for distributed setup.
    		globalConsoleSys.SetNodeName(globalLocalNodeName)
    		if err != nil {
    			// We can only log here since we need globalConsoleSys initialized
    			logger.Fatal(err, "invalid --logrorate-dir option")
    		}
    	})
    
    	// Always load ENV variables from files first.
    	loadEnvVarsFromFiles()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  10. cmd/admin-handlers-users.go

    			// we will reject such group names.
    			if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(updReq.Group) {
    				writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    				return
    			}
    		}
    
    		if globalIAMSys.LDAPConfig.Enabled() {
    			// We don't allow internal group manipulation in this API when LDAP
    			// is enabled for now.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top