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
3fb103da
Commit
3fb103da
authored
Jul 13, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debugging a proof error.
parent
da525b2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
src/misc/vec/vecSet.h
+19
-0
No files found.
src/misc/vec/vecSet.h
View file @
3fb103da
...
...
@@ -156,6 +156,25 @@ static inline void Vec_SetRestart( Vec_Set_t * p )
/**Function*************************************************************
Synopsis [Returns memory in bytes occupied by the vector.]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
static
inline
double
Vec_ReportMemory
(
Vec_Set_t
*
p
)
{
double
Mem
=
sizeof
(
Vec_Set_t
);
Mem
+=
p
->
nPagesAlloc
*
sizeof
(
void
*
);
Mem
+=
sizeof
(
word
)
*
(
1
<<
p
->
nPageSize
)
*
(
1
+
p
->
iPage
);
return
Mem
;
}
/**Function*************************************************************
Synopsis [Freeing vector.]
Description []
...
...
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