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
4ebda996
Commit
4ebda996
authored
Jul 13, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debugging a proof error.
parent
c50d108f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/misc/vec/vecSet.h
+7
-0
No files found.
src/misc/vec/vecSet.h
View file @
4ebda996
...
@@ -233,11 +233,18 @@ static inline int Vec_SetAppend( Vec_Set_t * p, int * pArray, int nSize )
...
@@ -233,11 +233,18 @@ static inline int Vec_SetAppend( Vec_Set_t * p, int * pArray, int nSize )
}
}
static
inline
int
Vec_SetAppendS
(
Vec_Set_t
*
p
,
int
nSize
)
static
inline
int
Vec_SetAppendS
(
Vec_Set_t
*
p
,
int
nSize
)
{
{
int
Before1
,
Before2
,
After
;
int
nWords
=
Vec_SetWordNum
(
nSize
);
int
nWords
=
Vec_SetWordNum
(
nSize
);
assert
(
nWords
<
(
1
<<
p
->
nPageSize
)
);
assert
(
nWords
<
(
1
<<
p
->
nPageSize
)
);
Before1
=
Vec_SetLimitS
(
p
->
pPages
[
p
->
iPageS
]
);
if
(
Vec_SetLimitS
(
p
->
pPages
[
p
->
iPageS
]
)
+
nWords
>=
(
1
<<
p
->
nPageSize
)
)
if
(
Vec_SetLimitS
(
p
->
pPages
[
p
->
iPageS
]
)
+
nWords
>=
(
1
<<
p
->
nPageSize
)
)
Vec_SetWriteLimitS
(
p
->
pPages
[
++
p
->
iPageS
],
2
);
Vec_SetWriteLimitS
(
p
->
pPages
[
++
p
->
iPageS
],
2
);
Before2
=
Vec_SetLimitS
(
p
->
pPages
[
p
->
iPageS
]
);
Vec_SetIncLimitS
(
p
->
pPages
[
p
->
iPageS
],
nWords
);
Vec_SetIncLimitS
(
p
->
pPages
[
p
->
iPageS
],
nWords
);
After
=
Vec_SetLimitS
(
p
->
pPages
[
p
->
iPageS
]
);
assert
(
Vec_SetHandCurrentS
(
p
)
-
nWords
<
(
1
<<
p
->
nPageSize
)
);
assert
(
Vec_SetHandCurrentS
(
p
)
-
nWords
<
(
1
<<
p
->
nPageSize
)
);
return
Vec_SetHandCurrentS
(
p
)
-
nWords
;
return
Vec_SetHandCurrentS
(
p
)
-
nWords
;
}
}
...
...
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