Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
5360717c
Commit
5360717c
authored
Sep 03, 2003
by
Christian Robottom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in comment
parent
a92d51c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/BTrees/_fsBTree.c
src/BTrees/_fsBTree.c
+5
-5
No files found.
src/BTrees/_fsBTree.c
View file @
5360717c
/* fsBTree - FileStorage index BTree
/* fsBTree - FileStorage index BTree
This BTree implments a mapping from 2-character strings
This BTree impl
e
ments a mapping from 2-character strings
to six-character strings. This allows us to effi
e
ciently store
to six-character strings. This allows us to efficiently store
a FileStorage index as a nested mapping of 6-character oid prefix
a FileStorage index as a nested mapping of 6-character oid prefix
to mapping of 2-character oid suffix to 6-character (byte) file
to mapping of 2-character oid suffix to 6-character (byte) file
positions.
positions.
...
@@ -13,7 +13,7 @@ typedef unsigned char char6[6];
...
@@ -13,7 +13,7 @@ typedef unsigned char char6[6];
/* Setup template macros */
/* Setup template macros */
#define MASTER_ID "$Id: _fsBTree.c,v 1.
6 2003/04/04 21:41:54 jeremy
Exp $\n"
#define MASTER_ID "$Id: _fsBTree.c,v 1.
7 2003/09/03 17:14:25 kiko
Exp $\n"
#define PERSISTENT
#define PERSISTENT
...
@@ -24,7 +24,7 @@ typedef unsigned char char6[6];
...
@@ -24,7 +24,7 @@ typedef unsigned char char6[6];
/*#include "intkeymacros.h"*/
/*#include "intkeymacros.h"*/
#define KEYMACROS_H "$Id: _fsBTree.c,v 1.
6 2003/04/04 21:41:54 jeremy
Exp $\n"
#define KEYMACROS_H "$Id: _fsBTree.c,v 1.
7 2003/09/03 17:14:25 kiko
Exp $\n"
#define KEY_TYPE char2
#define KEY_TYPE char2
#undef KEY_TYPE_IS_PYOBJECT
#undef KEY_TYPE_IS_PYOBJECT
#define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2)
#define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2)
...
@@ -39,7 +39,7 @@ typedef unsigned char char6[6];
...
@@ -39,7 +39,7 @@ typedef unsigned char char6[6];
(STATUS)=0; }
(STATUS)=0; }
/*#include "intvaluemacros.h"*/
/*#include "intvaluemacros.h"*/
#define VALUEMACROS_H "$Id: _fsBTree.c,v 1.
6 2003/04/04 21:41:54 jeremy
Exp $\n"
#define VALUEMACROS_H "$Id: _fsBTree.c,v 1.
7 2003/09/03 17:14:25 kiko
Exp $\n"
#define VALUE_TYPE char6
#define VALUE_TYPE char6
#undef VALUE_TYPE_IS_PYOBJECT
#undef VALUE_TYPE_IS_PYOBJECT
#define TEST_VALUE(K, T) memcmp(K,T,6)
#define TEST_VALUE(K, T) memcmp(K,T,6)
...
...
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