Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for usage (5.15 sec)

  1. internal/fips/api.go

    // is used to implement more high-level cryptographic protocols.
    // It does not require any specific security criteria for those
    // high-level protocols. FIPS 140 focuses only on the implementation
    // and usage of the most low-level cryptographic building blocks.
    //
    // [1]: https://en.wikipedia.org/wiki/FIPS_140
    package fips
    
    import (
    	"crypto/tls"
    
    	"github.com/minio/sio"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	r.Header.Set("prefix", "")
    
    	// Set delimiter value for "s3:delimiter" policy conditionals.
    	r.Header.Set("delimiter", SlashSeparator)
    
    	// Check if we are asked to return prefix usage
    	enablePrefixUsage := r.Form.Get("prefix-usage") == "true"
    
    	isAllowedAccess := func(bucketName string) (rd, wr bool) {
    		if globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    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)
  3. cmd/erasure-metadata-utils.go

    	return max, maxErr
    }
    
    // reduceQuorumErrs behaves like reduceErrs by only for returning
    // values of maximally occurring errors validated against a generic
    // quorum number that can be read or write quorum depending on usage.
    func reduceQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, quorum int, quorumErr error) error {
    	if contextCanceled(ctx) {
    		return context.Canceled
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    // - all new algos.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    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)
  5. cmd/utils.go

    		VersionID:    strings.TrimSpace(r.Form.Get(xhttp.VersionID)),
    	}
    
    	return logger.SetReqInfo(r.Context(), reqInfo)
    }
    
    // Used for registering with rest handlers (have a look at registerStorageRESTHandlers for usage example)
    // If it is passed ["aaaa", "bbbb"], it returns ["aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"]
    func restQueries(keys ...string) []string {
    	var accumulator []string
    	for _, key := range keys {
    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/data-scanner.go

    	// updateCurrentPath should be called whenever a new path is scanned.
    	updateCurrentPath func(string)
    }
    
    // Cache structure and compaction:
    //
    // A cache structure will be kept with a tree of usages.
    // The cache is a tree structure where each keeps track of its children.
    //
    // An uncompacted branch contains a count of the files only directly at the
    // branch level, and contains link to children branches or leaves.
    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)
Back to top