Documentation ¶
Index ¶
- func GenerateInputBinaryFile(filename string, numberOfElements int64) error
- func Sort(inputFileName string, outputFileName string, numberOfCPUs int32, ...) error
- func SortInMemory(inputFileName string, outputFileName string, numberOfCPUs int32, ...) error
- func VerifySortedFile(filename string) (bool, error)
- func WriteDataToOutputFile(filename string, numberOfElements int64, data []int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateInputBinaryFile ¶
GenerateInputBinaryFile - Function responsible for generating the input file for sorting
func Sort ¶
func Sort(inputFileName string, outputFileName string, numberOfCPUs int32, numberOfBuckets int32) error
Sort - Function that is the main function dealing with sorting numbers from the given file
func SortInMemory ¶
func VerifySortedFile ¶
VerifySortedFile - Function responsible for validating the sorted data in the file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.