MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / computeChecksumIn

Method computeChecksumIn

astyle/src/ASFormatter.cpp:6280–6286  ·  view source on GitHub ↗

* Compute the input checksum. * This is called as an assert so it for is debug config only */

Source from the content-addressed store, hash-verified

6278 * This is called as an assert so it for is debug config only
6279 */
6280bool ASFormatter::computeChecksumIn(const string &currentLine_)
6281{
6282 for (size_t i = 0; i < currentLine_.length(); i++)
6283 if (!isWhiteSpace(currentLine_[i]))
6284 checksumIn += currentLine_[i];
6285 return true;
6286}
6287
6288/**
6289 * Adjust the input checksum for deleted chars.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected