MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / Begin

Method Begin

util/cpplint.py:1018–1026  ·  view source on GitHub ↗

Start analyzing function body. Args: function_name: The name of the function being tracked.

(self, function_name)

Source from the content-addressed store, hash-verified

1016 self.current_function = ''
1017
1018 def Begin(self, function_name):
1019 """Start analyzing function body.
1020
1021 Args:
1022 function_name: The name of the function being tracked.
1023 """
1024 self.in_a_function = True
1025 self.lines_in_function = 0
1026 self.current_function = function_name
1027
1028 def Count(self):
1029 """Count line in current function body."""

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected