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
38494b41
Commit
38494b41
authored
Mar 28, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving Vec_Set_t to the vector directory.
parent
265e3e5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
src/misc/vec/vecSet.h
+12
-11
No files found.
src/misc/vec/vecSet.h
View file @
38494b41
...
...
@@ -40,21 +40,22 @@ ABC_NAMESPACE_HEADER_START
////////////////////////////////////////////////////////////////////////
// data-structure for logging entries
// memory is allocated in 2^p->nPageSize word-sized pages
// the first 'word' of each page is used storing additional data
// the first 'int' of additional data stores the word limit
// the second 'int' of the additional data stores the shadow word limit
// memory is allocated in 2^nPageSize word-sized pages
// the first two 'words' of each page are used for bookkeeping
// the first 'word' of bookkeeping data stores the word limit
// the second 'word' of bookkeeping data stores the shadow word limit
// (the shadow word limit is only used during garbage collection)
typedef
struct
Vec_Set_t_
Vec_Set_t
;
struct
Vec_Set_t_
{
int
nPageSize
;
// page size
unsigned
uPageMask
;
// page mask
int
nEntries
;
// entry count
int
iPage
;
// current page
int
iPageS
;
// shadow page
int
nPagesAlloc
;
// page count allocated
word
**
pPages
;
// page pointers
int
nPageSize
;
// page size
unsigned
uPageMask
;
// page mask
int
nEntries
;
// entry count
int
iPage
;
// current page
int
iPageS
;
// shadow page
int
nPagesAlloc
;
// page count allocated
word
**
pPages
;
// page pointers
};
////////////////////////////////////////////////////////////////////////
...
...
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