Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for ErasureN (8.32 sec)

  1. cmd/xl-storage-format-v2_gen.go

    					return
    				}
    				z.ErasureAlgorithm = ErasureAlgo(zb0002)
    			}
    		case "EcM":
    			z.ErasureM, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureM")
    				return
    			}
    		case "EcN":
    			z.ErasureN, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureN")
    				return
    			}
    		case "EcBSize":
    			z.ErasureBlockSize, err = dc.ReadInt64()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	}
    	fi.Erasure.Algorithm = j.ErasureAlgorithm.String()
    	fi.Erasure.Index = j.ErasureIndex
    	fi.Erasure.BlockSize = j.ErasureBlockSize
    	fi.Erasure.DataBlocks = j.ErasureM
    	fi.Erasure.ParityBlocks = j.ErasureN
    	fi.Erasure.Distribution = make([]int, len(j.ErasureDist))
    	for i := range j.ErasureDist {
    		fi.Erasure.Distribution[i] = int(j.ErasureDist[i])
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	fi.DataDir = mustGetUUID()
    
    	// Initialize erasure metadata.
    	for index := range partsMetadata {
    		partsMetadata[index] = fi
    	}
    
    	// Order disks according to erasure distribution
    	var onlineDisks []StorageAPI
    	onlineDisks, partsMetadata = shuffleDisksAndPartsMetadata(storageDisks, partsMetadata, fi)
    
    	erasure, err := NewErasure(ctx, fi.Erasure.DataBlocks, fi.Erasure.ParityBlocks, fi.Erasure.BlockSize)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    )
    
    // Tests isObjectDangling function
    func TestIsObjectDangling(t *testing.T) {
    	fi := newFileInfo("test-object", 2, 2)
    	fi.Erasure.Index = 1
    
    	ifi := newFileInfo("test-object", 2, 2)
    	ifi.SetInlineData()
    	ifi.Erasure.Index = 1
    
    	testCases := []struct {
    		name             string
    		metaArr          []FileInfo
    		errs             []error
    		dataErrs         map[int][]int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	decommissionCancelers []context.CancelFunc
    
    	s3Peer *S3PeerSys
    }
    
    func (z *erasureServerPools) SinglePool() bool {
    	return len(z.serverPools) == 1
    }
    
    // Initialize new pool of erasure sets.
    func newErasureServerPools(ctx context.Context, endpointServerPools EndpointServerPools) (ObjectLayer, error) {
    	var (
    		deploymentID       string
    		commonParityDrives int
    		err                error
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	ErasureSDStr string = "ErasureSD"
    
    	// ErasureTestStr is the string which is used as notation for Erasure ObjectLayer in the unit tests.
    	ErasureTestStr string = "Erasure"
    
    	// ErasureSetsTestStr is the string which is used as notation for Erasure sets object layer in the unit tests.
    	ErasureSetsTestStr string = "ErasureSet"
    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    }
    
    // BenchmarkPutObjectPart25MbFS - Benchmark FS.PutObjectPart() for object size of 25MB.
    func BenchmarkPutObjectPart25MbFS(b *testing.B) {
    	benchmarkPutObjectPart(b, "FS", 25*humanize.MiByte)
    }
    
    // BenchmarkPutObjectPart25MbErasure - Benchmark Erasure.PutObjectPart() for object size of 25MB.
    func BenchmarkPutObjectPart25MbErasure(b *testing.B) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		Results: make([]int, len(fi.Parts)),
    	}
    
    	erasure := fi.Erasure
    	for i, part := range fi.Parts {
    		checksumInfo := erasure.GetChecksumInfo(part.Number)
    		partPath := pathJoin(volumeDir, path, fi.DataDir, fmt.Sprintf("part.%d", part.Number))
    		err := s.bitrotVerify(ctx, partPath,
    			erasure.ShardFileSize(part.Size),
    			checksumInfo.Algorithm,
    			checksumInfo.Hash, erasure.ShardSize())
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  9. guava/src/com/google/common/reflect/TypeToken.java

     *       following code is wrong because it only captures the {@code <T>} type variable of the
     *       {@code listType()} method signature; while {@code <String>} is lost in erasure:
     *       <pre>{@code
     * class Util {
     *   static <T> TypeToken<List<T>> listType() {
     *     return new TypeToken<List<T>>() {};
     *   }
     * }
     *
     * TypeToken<List<String>> stringListType = Util.<String>listType();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

     *       following code is wrong because it only captures the {@code <T>} type variable of the
     *       {@code listType()} method signature; while {@code <String>} is lost in erasure:
     *       <pre>{@code
     * class Util {
     *   static <T> TypeToken<List<T>> listType() {
     *     return new TypeToken<List<T>>() {};
     *   }
     * }
     *
     * TypeToken<List<String>> stringListType = Util.<String>listType();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top