9572a68b8832a09f716017742fbd3b4f1da3d131,scripts/cpp_lint.py,,,#,4269
Before Change
_RE_PATTERN_STRING = re.compile(r"\bstring\b")
_re_pattern_algorithm_header = []
for _template in ("copy", "max", "min", "min_element", "sort", "swap",
"transform"):
// Match max<type>(..., ...), max(..., ...), but not foo->max, foo.max or
// type::max().
_re_pattern_algorithm_header.append(
After Change
r"\s*<(?:<(?:<[^<>]*>|[^<>])*>|[^<>])*>|"
r"::)+")
// A call-by-reference parameter ends with "& identifier".
_RE_PATTERN_REF_PARAM = re.compile(
r"(" + _RE_PATTERN_TYPE + r"(?:\s*(?:\bconst\b|[*]))*\s*"
r"&\s*" + _RE_PATTERN_IDENT + r")\s*(?:=[^,()]+)?[,)]")
// A call-by-const-reference parameter either ends with "const& identifier"
// or looks like "const type& identifier" when "type" is atomic.
_RE_PATTERN_CONST_REF_PARAM = (
r"(?:.*\s*\bconst\s*&\s*" + _RE_PATTERN_IDENT +
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: BVLC/caffe
Commit Name: 9572a68b8832a09f716017742fbd3b4f1da3d131
Time: 2014-08-12
Author: jeff.donahue@gmail.com
File Name: scripts/cpp_lint.py
Class Name:
Method Name:
Project Name: BVLC/caffe
Commit Name: 16176a2d3e934528c1b6a4c80d0fc53c86ec5933
Time: 2014-04-22
Author: jeff.donahue@gmail.com
File Name: scripts/cpp_lint.py
Class Name:
Method Name:
Project Name: andresriancho/w3af
Commit Name: 5d0b89fa7644bdd51cb4615829cbd329898408a1
Time: 2019-06-07
Author: andres.riancho@gmail.com
File Name: w3af/plugins/tests/audit/test_response_splitting.py
Class Name: TestResponseSplitting
Method Name: TestResponseSplitting_1