C# Class Microsoft.Protocols.TestSuites.SharedAdapter.RDCAnalysisChunking

This class is used to process RDC analysis chunking.
Inheritance: AbstractChunking
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
AnalyzeChunking ( RootNodeObject rootNode, TestTools site ) : void

This method is used to analyze the chunk for the RDC analysis chunk method.

Chunking ( ) : List

This method is used to chunk the file data.

RDCAnalysisChunking ( byte fileContent ) : System

Initializes a new instance of the RDCAnalysisChunking class

Private Methods

Method Description
GetChunk ( uint chunkStart, uint chunkEnd ) : IntermediateNodeObject

Get a chunk with the input bytes.

GetHashValues ( ) : uint[]

Compute the hash value with the file content.

GetShiftAmount ( int hashWindowSize ) : int

Get the shift amount value.

Method Details

AnalyzeChunking() public method

This method is used to analyze the chunk for the RDC analysis chunk method.
public AnalyzeChunking ( RootNodeObject rootNode, TestTools site ) : void
rootNode RootNodeObject Specify the root node object which is needed to be analyzed.
site TestTools Specify the ITestSite instance.
return void

Chunking() public method

This method is used to chunk the file data.
public Chunking ( ) : List
return List

RDCAnalysisChunking() public method

Initializes a new instance of the RDCAnalysisChunking class
public RDCAnalysisChunking ( byte fileContent ) : System
fileContent byte The content of the file.
return System