Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d8b91c90
Commit
d8b91c90
authored
May 20, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: ut_dulint_sort(): Write proper comments.
parent
c7ae9cc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
include/ut0byte.h
include/ut0byte.h
+6
-2
ut/ut0byte.c
ut/ut0byte.c
+6
-2
No files found.
include/ut0byte.h
View file @
d8b91c90
...
...
@@ -204,8 +204,12 @@ Tests if two dulints are equal. */
Sort function for dulint arrays. */
UNIV_INTERN
void
ut_dulint_sort
(
dulint
*
arr
,
dulint
*
aux_arr
,
ulint
low
,
ulint
high
);
/*===============================================================*/
ut_dulint_sort
(
/*===========*/
dulint
*
arr
,
/* in/out: array to be sorted */
dulint
*
aux_arr
,
/* in/out: auxiliary array (same size as arr) */
ulint
low
,
/* in: low bound of sort interval, inclusive */
ulint
high
);
/* in: high bound of sort interval, noninclusive */
#endif
/* notdefined */
/*************************************************************
...
...
ut/ut0byte.c
View file @
d8b91c90
...
...
@@ -41,8 +41,12 @@ UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
Sort function for dulint arrays. */
UNIV_INTERN
void
ut_dulint_sort
(
dulint
*
arr
,
dulint
*
aux_arr
,
ulint
low
,
ulint
high
)
/*===============================================================*/
ut_dulint_sort
(
/*===========*/
dulint
*
arr
,
/* in/out: array to be sorted */
dulint
*
aux_arr
,
/* in/out: auxiliary array (same size as arr) */
ulint
low
,
/* in: low bound of sort interval, inclusive */
ulint
high
)
/* in: high bound of sort interval, noninclusive */
{
UT_SORT_FUNCTION_BODY
(
ut_dulint_sort
,
arr
,
aux_arr
,
low
,
high
,
ut_dulint_cmp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment