Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
94c2f2bf
Commit
94c2f2bf
authored
Aug 27, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistent indentation.
parent
283addf7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1215 additions
and
1215 deletions
+1215
-1215
src/BTrees/BTreeTemplate.c
src/BTrees/BTreeTemplate.c
+1215
-1215
No files found.
src/BTrees/BTreeTemplate.c
View file @
94c2f2bf
...
...
@@ -10,7 +10,7 @@
WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
FOR A PARTICULAR PURPOSE
****************************************************************************/
****************************************************************************/
#define BTREETEMPLATE_C "$Id$\n"
...
...
@@ -125,10 +125,10 @@ BTree_check_inner(BTree *self, Bucket *nextbucket)
result
=
0
;
goto
Done
;
Error:
Error:
PyErr_SetString
(
PyExc_AssertionError
,
errormsg
);
result
=
-
1
;
Done:
Done:
/* No point updating access time -- this isn't a "real" use. */
PER_ALLOW_DEACTIVATION
(
self
);
if
(
activated_child
)
{
...
...
@@ -214,7 +214,7 @@ _BTree_get(BTree *self, PyObject *keyarg, int has_key)
}
}
Done:
Done:
PER_UNUSE
(
self
);
return
result
;
}
...
...
@@ -785,7 +785,7 @@ _BTree_set(BTree *self, PyObject *keyarg, PyObject *value,
memmove
(
d
,
d
+
1
,
(
self
->
len
-
min
)
*
sizeof
(
BTreeItem
));
changed
=
1
;
Done:
Done:
#ifdef PERSISTENT
if
(
changed
)
{
if
(
PER_CHANGED
(
self
)
<
0
)
goto
Error
;
...
...
@@ -794,7 +794,7 @@ Done:
PER_UNUSE
(
self
);
return
status
;
Error:
Error:
assert
(
PyErr_Occurred
());
if
(
self_was_empty
)
{
/* BTree_grow may have left the BTree in an invalid state. Make
...
...
@@ -888,7 +888,7 @@ BTree_clear(BTree *self)
Py_INCREF
(
Py_None
);
return
Py_None
;
err:
err:
PER_UNUSE
(
self
);
return
NULL
;
}
...
...
@@ -1334,7 +1334,7 @@ BTree_findRangeEnd(BTree *self, PyObject *keyarg, int low, int exclude_equal,
else
result
=
0
;
/* simply not found */
Done:
Done:
if
(
self_got_rebound
)
{
PER_UNUSE
(
self
);
}
...
...
@@ -2039,7 +2039,7 @@ BTree_traverse(BTree *self, visitproc visit, void *arg)
VISIT
(
self
->
firstbucket
);
Done:
Done:
return
err
;
#undef VISIT
...
...
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