1#ifndef EMINEM_FROM_GZIP_HPP
2#define EMINEM_FROM_GZIP_HPP
50template<
typename Index_ =
unsigned long long>
58 auto reader = std::make_unique<byteme::GzipFileReader>(path, gopt);
59 auto pb = std::make_unique<byteme::PerByteSerial<char> >(std::move(reader));
99template<
typename Index_ =
unsigned long long>
108 auto reader = std::make_unique<byteme::ZlibBufferReader>(buffer, len, zopt);
109 auto pb = std::make_unique<byteme::PerByteSerial<char> >(std::move(reader));
142template<
typename Index_ =
unsigned long long>
150 auto reader = std::make_unique<byteme::SomeFileReader>(path, sopt);
151 auto pb = std::make_unique<byteme::PerByteSerial<char> >(std::move(reader));
186template<
typename Index_ =
unsigned long long>
194 auto reader = std::make_unique<byteme::SomeBufferReader>(buffer, len, sopt);
195 auto pb = std::make_unique<byteme::PerByteSerial<char> >(std::move(reader));
Parse a matrix from a Matrix Market file.
Parse a matrix from a Matrix Market file.
Definition Parser.hpp:275
Classes and methods for parsing Matrix Market files.
Parser< std::unique_ptr< byteme::PerByteSerial< char > >, Index_ > parse_zlib_buffer(const unsigned char *buffer, std::size_t len, const ParseZlibBufferOptions &options)
Definition from_gzip.hpp:100
Parser< std::unique_ptr< byteme::PerByteSerial< char > >, Index_ > parse_some_file(const char *path, const ParseSomeFileOptions &options)
Definition from_gzip.hpp:143
Parser< std::unique_ptr< byteme::PerByteSerial< char > >, Index_ > parse_some_buffer(const unsigned char *buffer, std::size_t len, const ParseSomeBufferOptions &options)
Definition from_gzip.hpp:187
Parser< std::unique_ptr< byteme::PerByteSerial< char > >, Index_ > parse_gzip_file(const char *path, const ParseGzipFileOptions &options)
Definition from_gzip.hpp:51
Options for parse_gzip_file().
Definition from_gzip.hpp:24
std::size_t block_size
Definition from_gzip.hpp:39
std::size_t buffer_size
Definition from_gzip.hpp:28
int num_threads
Definition from_gzip.hpp:33
Options for parse_some_buffer().
Definition from_gzip.hpp:159
std::size_t block_size
Definition from_gzip.hpp:174
std::size_t buffer_size
Definition from_gzip.hpp:163
int num_threads
Definition from_gzip.hpp:168
Options for parse_some_file().
Definition from_gzip.hpp:116
std::size_t block_size
Definition from_gzip.hpp:131
int num_threads
Definition from_gzip.hpp:125
std::size_t buffer_size
Definition from_gzip.hpp:120
Options for parse_zlib_buffer().
Definition from_gzip.hpp:66
std::size_t buffer_size
Definition from_gzip.hpp:70
int mode
Definition from_gzip.hpp:87
int num_threads
Definition from_gzip.hpp:75
std::size_t block_size
Definition from_gzip.hpp:81
Options for the Parser constructor.
Definition Parser.hpp:32
std::size_t block_size
Definition Parser.hpp:43
int num_threads
Definition Parser.hpp:36