Пример #1
0
 public IntegrityHierarchicalStorageSink(long size)
 {
     this.Size      = size;
     this.m_storage = new HierarchicalIntegrityVerificationStorage();
     this.m_storage.Initialize(size);
     this.m_status = new SinkStatus();
 }
Пример #2
0
 public IntegrityHierarchicalHashCalculatedSource(ISource source)
 {
     this.Size     = source.Size;
     this.m_source = (ISource) new AlignedSource(source, HierarchicalIntegrityVerificationStorage.GetHashBlockSize());
     this.m_sink   = new IntegrityHierarchicalStorageSink(this.Size);
 }