MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / discard_comments_and_spaces

Function discard_comments_and_spaces

tests/AssetsLibrary.cpp:116–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void discard_comments_and_spaces(std::ifstream &fs)
117{
118 while (true)
119 {
120 discard_comments(fs);
121
122 if (isspace(fs.peek()) == 0)
123 {
124 break;
125 }
126
127 fs.ignore(1);
128 }
129}
130
131std::tuple<unsigned int, unsigned int, int> parse_netpbm_format_header(std::ifstream &fs, char number)
132{

Callers 1

Calls 2

peekMethod · 0.80
discard_commentsFunction · 0.70

Tested by

no test coverage detected