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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

Chunking() public méthode

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

RDCAnalysisChunking() public méthode

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