Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pseudos (0.24 sec)

  1. internal/dsync/locked_rand.go

    	"sync"
    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Oct 18 15:39:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  2. docs/security/README.md

    ## Acronyms
    
    - **AEAD**: Authenticated Encryption with Associated Data
    - **CSPRNG**: Cryptographically Secure Pseudo Random Number Generator
    - **EK**: External Key
    - **IV**: Initialization Vector
    - **KEK**: Key Encryption Key
    - **OEK**: Object Encryption Key
    - **PRF**: Pseudo Random Function
    - **SSE**: Server-Side Encryption
    - **SSE-C**: Server-Side Encryption with client-provided Keys
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 13.8K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	pr, pw := io.Pipe()
    	// Copy input to compressor
    	opts := compressOpts
    	if encrypted {
    		// The values used for padding are not a security concern,
    		// but we choose pseudo-random numbers instead of just zeros.
    		rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    		opts = append([]s2.WriterOption{s2.WriterPadding(compPadEncrypted), s2.WriterPaddingSrc(rng)}, compressOpts...)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. docs/distributed/DESIGN.md

    - Choosing an erasure set for the object is decided during `PutObject()`, object names are used to find the right erasure set using the following pseudo code.
    
    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json)
    - Any unrecognized disks - return failure
    
    No read quorum
    -----------------
    failure for all cases.
    
    // Pseudo code for managing `format.json`.
    
    // Generic checks.
    if (no quorum) return error
    if (any disk is corrupt) return error // Always error
    if (jbod inconsistent) return error // Always error.
    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)
Back to top