月亮词典
首页
查询
recurse
递归
常用释义
词性释义
n.
递归(算法)
v.
递归
例句
全部
递归
Lastly
,
we
check
to
see
if
the
file
is
actually
a
directory
.
(
See the
code
snippet
below
.
)
If
it
is
,
we
recurse
into
it.
最后,我们查看一下文件是否确实是一个目录。(请看下面的代码片断。)如果是,我们再递归进入。
When
working
with
groups
that
may
be
large
enough to
contain
breakout
subgroups
,
it's
important
to
use
the GROUP_RECURSE
option
.
当处理可能包含断接子组的很大的组时,使用GROUP_RECURSE选项很重要。
After that
,
it
is
simple
to
recurse
through
all
the
nested
attributes
,
outputting
INSERT INTO
SQL statements
as
it goes
.
然后,要遍历所有嵌套的属性就很简单了,在进行中输出INSERTINTOSQL语句。
The GROUP_RECURSE
option
specifies
that we do
not
want
to
add
someone
to the
main
group
if
she
is
already
a
member
of
a
subgroup
.
GROUP_RECURSE选项指定如果某人已经是子组的成员,则不能将这个人添加到主组中。
In
fact
,
searching
a
collection
of
files
is
so
common
that
grep
has
its
own
option
to
recurse
a
file
system
hierarchy
.
事实上,搜索文件集是一项常见的工作,所以grep具有相应的选项以递归遍历整个文件系统层次结构。
We
don't
need
to
pass
in
the-string to
recurse
because
it
is
already
in the
parent
environment
and
does
not
change
from
call
to call
.
我们不必将the-string传递给recurse,因为它已经在父环境(parentenvironment)中,而且从一个调用到另一个调用时不会改变。
To
extend
the
search
for
input
files
to
include
subdirectories
,
add
the
-
recurse
option
to the
command
.
如果要将输入文件的搜索扩展为包含子目录,可向命令中添加-recurse选项。
It
will
also
recurse
down
from
the
starting
directory
,
adding
files
as it
goes
.
也会向下递归到开始目录,并在此过程中添加相应的文件。
It
defines
a
closure
called
recurse
that
can
be called
with
only
one
parameter
rather
than
two
.
它定义了一个名为recurse的闭包,能够只使用一个参数来调用它,而不是两个。
The -
r
option
tells
rsync
to
recurse
into the
directories
and
copy
the
entire
structure
.
r选项让rsync递归遍历目录并复制整个目录结构。
1·The standard cp command is capable of copying entire directory trees if you use the -r command-line option to recurse into subdirectories.
如果您使用 -r 命令行选项递归到其子目录中,标准的 cp 命令可用于复制整个目录树。
2·So we recurse with the rest of the list and try it again.
所以我们递归处理列表其余部分,并再次尝试。