Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
70655d5d
Commit
70655d5d
authored
Jan 23, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integration of timing manager.
parent
8287b05a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/misc/vec/vecStr.h
+4
-2
No files found.
src/misc/vec/vecStr.h
View file @
70655d5d
...
@@ -756,14 +756,16 @@ static inline int Vec_StrCompareVec( Vec_Str_t * p1, Vec_Str_t * p2 )
...
@@ -756,14 +756,16 @@ static inline int Vec_StrCompareVec( Vec_Str_t * p1, Vec_Str_t * p2 )
static
inline
void
Vec_StrPutI_ne
(
Vec_Str_t
*
vOut
,
int
Val
)
static
inline
void
Vec_StrPutI_ne
(
Vec_Str_t
*
vOut
,
int
Val
)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
i
<
4
;
i
++
)
// for ( i = 0; i < 4; i++ )
for
(
i
=
3
;
i
>=
0
;
i
--
)
Vec_StrPush
(
vOut
,
(
char
)(
Val
>>
(
8
*
i
))
);
Vec_StrPush
(
vOut
,
(
char
)(
Val
>>
(
8
*
i
))
);
}
}
static
inline
int
Vec_StrGetI_ne
(
Vec_Str_t
*
vOut
,
int
*
pPos
)
static
inline
int
Vec_StrGetI_ne
(
Vec_Str_t
*
vOut
,
int
*
pPos
)
{
{
int
i
;
int
i
;
int
Val
=
0
;
int
Val
=
0
;
for
(
i
=
0
;
i
<
4
;
i
++
)
// for ( i = 0; i < 4; i++ )
for
(
i
=
3
;
i
>=
0
;
i
--
)
Val
|=
((
int
)(
unsigned
char
)
Vec_StrEntry
(
vOut
,
(
*
pPos
)
++
)
<<
(
8
*
i
));
Val
|=
((
int
)(
unsigned
char
)
Vec_StrEntry
(
vOut
,
(
*
pPos
)
++
)
<<
(
8
*
i
));
return
Val
;
return
Val
;
}
}
...
...
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