由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 如何找出所有的recursive function?
相关主题
re一问请教一个变态的regular expression 替换
What happens when recursion functions are declared inline?any way to use regex in Fortran?
python没有first class function吧?匹配问题 (转载)
reverse LL recursively装完boost之后还要再装REGEX吗?
[合集] 问个递归的问题RegEx puzzle
Python: What does this mean?[合集] regular expression for whitespace in path
recurvion真的很难懂~~[合集] 未排序的100个数字,如果最快地找出最大的5个?
树的前序遍历[合集] 有一个数组元素在数组中出现了>N/2次,请找出此元素。
相关话题的讨论汇总
话题: function话题: recursive话题: 找出话题: 所有话题: funcname
进入Programming版参与讨论
1 (共1页)
e*******o
发帖数: 4654
1
如何找出所有的recursive function?
copy 一段代码到一个function,一不小心,拷贝的代码调用了这个function。
out of memory,太恶心了。
有没有方法可以检测所有的recursive function,这样,就可以很快发现问题。
h**********c
发帖数: 4120
2
use regex, maybe a shell script
funcname*(*)*{*funcname*}
maybe more complex but possible,

【在 e*******o 的大作中提到】
: 如何找出所有的recursive function?
: copy 一段代码到一个function,一不小心,拷贝的代码调用了这个function。
: out of memory,太恶心了。
: 有没有方法可以检测所有的recursive function,这样,就可以很快发现问题。

e*******o
发帖数: 4654
3
谢谢,每到debug的时间,就想static type 的好了。

【在 h**********c 的大作中提到】
: use regex, maybe a shell script
: funcname*(*)*{*funcname*}
: maybe more complex but possible,

1 (共1页)
进入Programming版参与讨论
相关主题
[合集] 有一个数组元素在数组中出现了>N/2次,请找出此元素。[合集] 问个递归的问题
Can someone help me a quick regex?Python: What does this mean?
要不要学习 scripting languages such as Python?recurvion真的很难懂~~
from beautiful code树的前序遍历
re一问请教一个变态的regular expression 替换
What happens when recursion functions are declared inline?any way to use regex in Fortran?
python没有first class function吧?匹配问题 (转载)
reverse LL recursively装完boost之后还要再装REGEX吗?
相关话题的讨论汇总
话题: function话题: recursive话题: 找出话题: 所有话题: funcname