| 29 | bool case_sensitive_; |
| 30 | |
| 31 | void SetHayStack(std::ifstream& stream) |
| 32 | { |
| 33 | ClearHaystack(); |
| 34 | stream.seekg(0, ios::end); |
| 35 | haystack_len = static_cast<size_t>(stream.tellg()); |
| 36 | stream.seekg(0, ios::beg); |
| 37 | haystack_ = new char[haystack_len]; |
| 38 | stream.read(haystack_, haystack_len); |
| 39 | current = haystack_; |
| 40 | end = current + haystack_len; |
| 41 | } |
| 42 | |
| 43 | void SetHayStack(const char* buffer, size_t buff_len) |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected