MCPcopy Create free account
hub / github.com/BVLC/caffe / Count

Method Count

scripts/cpp_lint.py:835–838  ·  view source on GitHub ↗

Count line in current function body.

(self)

Source from the content-addressed store, hash-verified

833 self.current_function = function_name
834
835 def Count(self):
836 """Count line in current function body."""
837 if self.in_a_function:
838 self.lines_in_function += 1
839
840 def Check(self, error, filename, linenum):
841 """Report if too many lines in function body.

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected