Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for sherd (0.23 sec)

  1. internal/config/storageclass/storage-class.go

    	StandardEnv = "MINIO_STORAGE_CLASS_STANDARD"
    	// Optimize storage class environment variable
    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    	// will vary based on the parity that is configured
    	// for the STANDARD storage_class.
    	// inlining means data and metadata are written
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingTest.java

        Random r = new Random(9);
        for (int i = 0; i < ITERS; i++) {
          countRemaps(r.nextLong(), map);
        }
        for (int shard = 2; shard <= MAX_SHARDS; shard++) {
          // Rough: don't exceed 1.2x the expected number of remaps by more than 20
          assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20);
        }
      }
    
      private void countRemaps(long h, AtomicLongMap<Integer> map) {
        int last = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  3. cmd/erasure_test.go

    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    			} else {
    				for j := range decoded[:test.dataBlocks] {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct data shard %d", i, j)
    					}
    				}
    			}
    
    			decodedData := new(bytes.Buffer)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

        Random r = new Random(9);
        for (int i = 0; i < ITERS; i++) {
          countRemaps(r.nextLong(), map);
        }
        for (int shard = 2; shard <= MAX_SHARDS; shard++) {
          // Rough: don't exceed 1.2x the expected number of remaps by more than 20
          assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20);
        }
      }
    
      private void countRemaps(long h, AtomicLongMap<Integer> map) {
        int last = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  5. docs/site-replication/run-sse-kms-object-replication.sh

    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/mpartobj
    shred -s 500M /tmp/data/mpartobj
    touch /tmp/data/defpartsize
    shred -s 500M /tmp/data/defpartsize
    touch /tmp/data/custpartsize
    shred -s 500M /tmp/data/custpartsize
    echo "done"
    
    # Add replication site
    ./mc admin replicate add minio1 minio2 --insecure
    # sleep for replication to complete
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. cmd/bitrot-whole.go

    	"hash"
    	"io"
    )
    
    // Implementation to calculate bitrot for the whole file.
    type wholeBitrotWriter struct {
    	disk      StorageAPI
    	volume    string
    	filePath  string
    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
    	err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. buildscripts/verify-build.sh

    		purge "${MC_BUILD_DIR}"
    		exit 1
    	fi
    
    	(cd "${MC_BUILD_DIR}" && go build -o "$WORK_DIR/mc")
    
    	# remove mc source.
    	purge "${MC_BUILD_DIR}"
    
    	shred -n 1 -s 1M - 1>"$FILE_1_MB" 2>/dev/null
    	shred -n 1 -s 65M - 1>"$FILE_65_MB" 2>/dev/null
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. docs/erasure/README.md

    ## What is Erasure Code?
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  10. docs/site-replication/run-ssec-object-replication-with-compression.sh

    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello world" >/tmp/data/plainfile
    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/defpartsize
    shred -s 500M /tmp/data/defpartsize
    touch /tmp/data/mpartobj.txt
    shred -s 500M /tmp/data/mpartobj.txt
    echo "done"
    
    # Enable compression for site minio1
    ./mc admin config set minio1 compression enable=on extensions=".txt" --insecure
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top