| 10 | namespace { |
| 11 | |
| 12 | bool FitsWindowsInt(size_t size, const char* operation) { |
| 13 | if (size <= static_cast<size_t>((std::numeric_limits<int>::max)())) return true; |
| 14 | OSTP_LOG_DEBUG("{}: input is too large ({} bytes/chars)", operation, size); |
| 15 | return false; |
| 16 | } |
| 17 | |
| 18 | } // namespace |
| 19 |
no outgoing calls
no test coverage detected