MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / FileSource

Class FileSource

extra/yassl/taocrypt/include/file.hpp:95–108  ·  view source on GitHub ↗

File Source

Source from the content-addressed store, hash-verified

93
94// File Source
95class FileSource {
96 FILE* file_;
97public:
98 FileSource(const char* fname, Source& source);
99 ~FileSource();
100
101 word32 size(bool use_current = false);
102private:
103 word32 get(Source&);
104 word32 size_left();
105
106 FileSource(const FileSource&); // hide
107 FileSource& operator=(const FileSource&); // hide
108};
109
110
111// File Sink

Callers 6

bench_rsaFunction · 0.85
bench_dhFunction · 0.85
bench_dsaFunction · 0.85
rsa_testFunction · 0.85
dh_testFunction · 0.85
dsa_testFunction · 0.85

Calls

no outgoing calls

Tested by 3

rsa_testFunction · 0.68
dh_testFunction · 0.68
dsa_testFunction · 0.68