Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 424 for Hare (0.26 sec)

  1. cmd/encryption-v1.go

    	// partEnd is always found in the loop above, because off and
    	// length are validated.
    	endPkgNum := (endOffset - cumulativeSum) / SSEDAREPackageBlockSize
    	// Compute endEncOffset with one additional DARE package (so
    	// we read the package containing the last desired byte).
    	endEncOffset := encCumulativeSum + (endPkgNum+1)*sseDAREEncPackageBlockSize
    	// Check if the DARE package containing the end offset is a
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  2. internal/crypto/sse.go

    	// This algorithm should not be used for new objects because its key derivation
    	// is not optimal. See: https://github.com/minio/minio/pull/6121
    	InsecureSealAlgorithm = "DARE-SHA256"
    )
    
    // Type represents an AWS SSE type:
    //   - SSE-C
    //   - SSE-S3
    //   - SSE-KMS
    type Type interface {
    	fmt.Stringer
    
    	IsRequested(http.Header) bool
    	IsEncrypted(map[string]string) bool
    }
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  3. internal/fips/api.go

    )
    
    // Enabled indicates whether cryptographic primitives,
    // like AES or SHA-256, are implemented using a FIPS 140
    // certified module.
    //
    // If FIPS-140 is enabled no non-NIST/FIPS approved
    // primitives must be used.
    const Enabled = enabled
    
    // DARECiphers returns a list of supported cipher suites
    // for the DARE object encryption.
    func DARECiphers() []byte {
    	if Enabled {
    		return []byte{sio.AES_256_GCM}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    			writeErrorResponseJSON(ctx, w, apiErr, r.URL)
    			return
    		}
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	// If we are creating svc account for request sender, ensure
    	// that targetUser is a real user (i.e. not derived
    	// credentials).
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 15:15:02 GMT 2024
    - 76K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common.go

    	latest := ""
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for etag, count := range etagOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima {
    			maxima = count
    			latest = etag
    		}
    	}
    
    	// Return the collected common max time, with maxima
    	return latest, maxima
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    		// we should figure out if dataDirs are also missing > dataBlocks.
    		dataBlocks := (len(dataErrs) + 1) / 2
    		if notFoundPartsErrs > dataBlocks {
    			// Not using parity to ensure that we do not delete
    			// any valid content, if any is recoverable. But if
    			// notFoundDataDirs are already greater than the data
    			// blocks all bets are off and it is safe to purge.
    			//
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 09:26:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    	// Type '7' is reserved.
    	TypeCont = '7'
    
    	// Type 'x' is used by the PAX format to store key-value records that
    	// are only relevant to the next file.
    	// This package transparently handles these types.
    	TypeXHeader = 'x'
    
    	// Type 'g' is used by the PAX format to store key-value records that
    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. internal/amztime/parse.go

    		if err == nil {
    			return amzDate, nil
    		}
    	}
    	return time.Time{}, ErrMalformedDate
    }
    
    var httpTimeFormats = []string{
    	// Do not change this order, http time format dates
    	// are usually in http.TimeFormat however there are
    	// situations where for example aws-sdk-java doesn't
    	// send the correct format.
    	http.TimeFormat,
    	"Mon, 2 Jan 2006 15:04:05 GMT",
    }
    
    // ParseHeader parses http.TimeFormat with an acceptable
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top