“577fdde579bc9caf06cafe2318b4e673e900ba98”上不存在“...fluid/dygraph/git@gitcode.net:RobotFutures/Paddle.git”
提交 ebe8b541 编写于 作者: D Domen Puncer 提交者: Linus Torvalds

[PATCH] correctly name the Shell sort

As per http://www.nist.gov/dads/HTML/shellsort.html, this should be
referred to as a Shell sort.  Shell-Metzner is a misnomer.
Signed-off-by: NDaniel Dickman <didickman@yahoo.com>
Signed-off-by: NDomen Puncer <domen@coderock.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 d28c2bc8
...@@ -1195,7 +1195,7 @@ static int groups_from_user(struct group_info *group_info, ...@@ -1195,7 +1195,7 @@ static int groups_from_user(struct group_info *group_info,
return 0; return 0;
} }
/* a simple shell-metzner sort */ /* a simple Shell sort */
static void groups_sort(struct group_info *group_info) static void groups_sort(struct group_info *group_info)
{ {
int base, max, stride; int base, max, stride;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册