예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Dedup1024KHashAlgorithm"/> class.
 /// </summary>
 public Dedup1024KHashAlgorithm()
     : this(Chunker.Create(TargetHashType.GetChunkerConfiguration()))
 {
 }
 /// <nodoc />
 public DedupNodeOrChunkHashAlgorithm() :
     this(Chunker.Create(NodeOrChunkTargetHashType.GetChunkerConfiguration()))
 {
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DedupNodeOrChunkHashAlgorithm"/> class.
 /// </summary>
 public DedupNodeOrChunkHashAlgorithm()
     : this(DedupNodeTree.Algorithm.MaximallyPacked, Chunker.Create(ChunkerConfiguration.Default))
 {
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DedupNodeHashAlgorithm"/> class.
 /// </summary>
 public DedupNodeHashAlgorithm(ChunkerConfiguration configuration, DedupNodeTree.Algorithm treeAlgorithm)
     : this(treeAlgorithm, Chunker.Create(configuration))
 {
 }