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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8b373971
Commit
8b373971
authored
Feb 27, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/bug26678/my50-bug26678
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
parents
f99bbfc4
74869268
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
extra/yassl/taocrypt/include/misc.hpp
extra/yassl/taocrypt/include/misc.hpp
+3
-3
extra/yassl/taocrypt/src/misc.cpp
extra/yassl/taocrypt/src/misc.cpp
+3
-3
No files found.
extra/yassl/taocrypt/include/misc.hpp
View file @
8b373971
...
...
@@ -858,9 +858,9 @@ inline T1 SaturatingSubtract(T1 a, T2 b)
// declares
unsigned
int
BytePrecision
(
unsigned
long
value
);
unsigned
int
BitPrecision
(
unsigned
long
);
unsigned
long
Crop
(
unsigned
long
value
,
unsigned
int
size
);
unsigned
int
BytePrecision
(
word
value
);
unsigned
int
BitPrecision
(
word
);
word
Crop
(
word
value
,
unsigned
int
size
);
...
...
extra/yassl/taocrypt/src/misc.cpp
View file @
8b373971
...
...
@@ -122,7 +122,7 @@ void xorbuf(byte* buf, const byte* mask, unsigned int count)
}
unsigned
int
BytePrecision
(
unsigned
long
value
)
unsigned
int
BytePrecision
(
word
value
)
{
unsigned
int
i
;
for
(
i
=
sizeof
(
value
);
i
;
--
i
)
...
...
@@ -133,7 +133,7 @@ unsigned int BytePrecision(unsigned long value)
}
unsigned
int
BitPrecision
(
unsigned
long
value
)
unsigned
int
BitPrecision
(
word
value
)
{
if
(
!
value
)
return
0
;
...
...
@@ -154,7 +154,7 @@ unsigned int BitPrecision(unsigned long value)
}
unsigned
long
Crop
(
unsigned
long
value
,
unsigned
int
size
)
word
Crop
(
word
value
,
unsigned
int
size
)
{
if
(
size
<
8
*
sizeof
(
value
))
return
(
value
&
((
1L
<<
size
)
-
1
));
...
...
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