Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BTrees
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
BTrees
Commits
bbe21e43
Commit
bbe21e43
authored
Nov 19, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For the children:
s/setop/set_operation/g
parent
cfb1873d
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
60 additions
and
60 deletions
+60
-60
BTrees/IFBTree.py
BTrees/IFBTree.py
+7
-7
BTrees/IIBTree.py
BTrees/IIBTree.py
+7
-7
BTrees/IOBTree.py
BTrees/IOBTree.py
+5
-5
BTrees/LFBTree.py
BTrees/LFBTree.py
+7
-7
BTrees/LLBTree.py
BTrees/LLBTree.py
+7
-7
BTrees/LOBTree.py
BTrees/LOBTree.py
+5
-5
BTrees/OIBTree.py
BTrees/OIBTree.py
+6
-6
BTrees/OLBTree.py
BTrees/OLBTree.py
+6
-6
BTrees/OOBTree.py
BTrees/OOBTree.py
+4
-4
BTrees/_base.py
BTrees/_base.py
+1
-1
BTrees/fsBTree.py
BTrees/fsBTree.py
+5
-5
No files found.
BTrees/IFBTree.py
View file @
bbe21e43
...
...
@@ -31,7 +31,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_int
as
_to_key
from
._base
import
to_float
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -91,12 +91,12 @@ IFTreeSetPy._mapping_type = IFBucketPy
IFTreeSetPy
.
_set_type
=
IFTreeSetPy
.
_bucket_type
=
IFSetPy
differencePy
=
_set
op
(
_difference
,
IFSetPy
)
unionPy
=
_set
op
(
_union
,
IFSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
IFSetPy
)
multiunionPy
=
_set
op
(
_multiunion
,
IFSetPy
)
weightedUnionPy
=
_set
op
(
_weightedUnion
,
IFSetPy
)
weightedIntersectionPy
=
_set
op
(
_weightedIntersection
,
IFSetPy
)
differencePy
=
_set
_operation
(
_difference
,
IFSetPy
)
unionPy
=
_set
_operation
(
_union
,
IFSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
IFSetPy
)
multiunionPy
=
_set
_operation
(
_multiunion
,
IFSetPy
)
weightedUnionPy
=
_set
_operation
(
_weightedUnion
,
IFSetPy
)
weightedIntersectionPy
=
_set
_operation
(
_weightedIntersection
,
IFSetPy
)
try
:
from
_IFBTree
import
IFBucket
...
...
BTrees/IIBTree.py
View file @
bbe21e43
...
...
@@ -31,7 +31,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_int
as
_to_key
from
._base
import
to_int
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -92,13 +92,13 @@ IITreeSetPy._mapping_type = IIBucketPy
IITreeSetPy
.
_set_type
=
IITreeSetPy
.
_bucket_type
=
IISetPy
differencePy
=
_setop
(
_difference
,
IISetPy
)
unionPy
=
_setop
(
_union
,
IISetPy
)
intersectionPy
=
_setop
(
_intersection
,
IISetPy
)
multiunionPy
=
_setop
(
_multiunion
,
IISetPy
)
weightedUnionPy
=
_setop
(
_weightedUnion
,
IISetPy
)
differencePy
=
_set_operation
(
_difference
,
IISetPy
)
unionPy
=
_set_operation
(
_union
,
IISetPy
)
intersectionPy
=
_set_operation
(
_intersection
,
IISetPy
)
multiunionPy
=
_set_operation
(
_multiunion
,
IISetPy
)
weightedUnionPy
=
_set_operation
(
_weightedUnion
,
IISetPy
)
weightedIntersectionPy
=
_set_operation
(
_weightedIntersection
,
IISetPy
)
weightedIntersectionPy
=
_setop
(
_weightedIntersection
,
IISetPy
)
try
:
from
_IIBTree
import
IIBucket
from
_IIBTree
import
IISet
...
...
BTrees/IOBTree.py
View file @
bbe21e43
...
...
@@ -28,7 +28,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_int
as
_to_key
from
._base
import
to_ob
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -77,10 +77,10 @@ IOTreeSetPy._mapping_type = IOBucketPy
IOTreeSetPy
.
_set_type
=
IOTreeSetPy
.
_bucket_type
=
IOSetPy
differencePy
=
_set
op
(
_difference
,
IOSetPy
)
unionPy
=
_set
op
(
_union
,
IOSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
IOSetPy
)
multiunionPy
=
_set
op
(
_multiunion
,
IOSetPy
)
differencePy
=
_set
_operation
(
_difference
,
IOSetPy
)
unionPy
=
_set
_operation
(
_union
,
IOSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
IOSetPy
)
multiunionPy
=
_set
_operation
(
_multiunion
,
IOSetPy
)
try
:
from
_IOBTree
import
IOBucket
...
...
BTrees/LFBTree.py
View file @
bbe21e43
...
...
@@ -31,7 +31,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_long
as
_to_key
from
._base
import
to_float
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -92,12 +92,12 @@ LFTreeSetPy._mapping_type = LFBucketPy
LFTreeSetPy
.
_set_type
=
LFTreeSetPy
.
_bucket_type
=
LFSetPy
differencePy
=
_set
op
(
_difference
,
LFSetPy
)
unionPy
=
_set
op
(
_union
,
LFSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
LFSetPy
)
multiunionPy
=
_set
op
(
_multiunion
,
LFSetPy
)
weightedUnionPy
=
_set
op
(
_weightedUnion
,
LFSetPy
)
weightedIntersectionPy
=
_set
op
(
_weightedIntersection
,
LFSetPy
)
differencePy
=
_set
_operation
(
_difference
,
LFSetPy
)
unionPy
=
_set
_operation
(
_union
,
LFSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
LFSetPy
)
multiunionPy
=
_set
_operation
(
_multiunion
,
LFSetPy
)
weightedUnionPy
=
_set
_operation
(
_weightedUnion
,
LFSetPy
)
weightedIntersectionPy
=
_set
_operation
(
_weightedIntersection
,
LFSetPy
)
try
:
from
_LFBTree
import
LFBucket
...
...
BTrees/LLBTree.py
View file @
bbe21e43
...
...
@@ -31,7 +31,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_long
as
_to_key
from
._base
import
to_long
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -92,12 +92,12 @@ LLTreeSetPy._mapping_type = LLBucketPy
LLTreeSetPy
.
_set_type
=
LLTreeSetPy
.
_bucket_type
=
LLSetPy
differencePy
=
_set
op
(
_difference
,
LLSetPy
)
unionPy
=
_set
op
(
_union
,
LLSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
LLSetPy
)
multiunionPy
=
_set
op
(
_multiunion
,
LLSetPy
)
weightedUnionPy
=
_set
op
(
_weightedUnion
,
LLSetPy
)
weightedIntersectionPy
=
_set
op
(
_weightedIntersection
,
LLSetPy
)
differencePy
=
_set
_operation
(
_difference
,
LLSetPy
)
unionPy
=
_set
_operation
(
_union
,
LLSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
LLSetPy
)
multiunionPy
=
_set
_operation
(
_multiunion
,
LLSetPy
)
weightedUnionPy
=
_set
_operation
(
_weightedUnion
,
LLSetPy
)
weightedIntersectionPy
=
_set
_operation
(
_weightedIntersection
,
LLSetPy
)
try
:
from
_LLBTree
import
LLBucket
...
...
BTrees/LOBTree.py
View file @
bbe21e43
...
...
@@ -28,7 +28,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_long
as
_to_key
from
._base
import
to_ob
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -77,10 +77,10 @@ LOTreeSetPy._mapping_type = LOBucketPy
LOTreeSetPy
.
_set_type
=
LOTreeSetPy
.
_bucket_type
=
LOSetPy
differencePy
=
_set
op
(
_difference
,
LOSetPy
)
unionPy
=
_set
op
(
_union
,
LOSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
LOSetPy
)
multiunionPy
=
_set
op
(
_multiunion
,
LOSetPy
)
differencePy
=
_set
_operation
(
_difference
,
LOSetPy
)
unionPy
=
_set
_operation
(
_union
,
LOSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
LOSetPy
)
multiunionPy
=
_set
_operation
(
_multiunion
,
LOSetPy
)
try
:
from
_LOBTree
import
LOBucket
...
...
BTrees/OIBTree.py
View file @
bbe21e43
...
...
@@ -30,7 +30,7 @@ from ._base import Tree as BTree
from
._base
import
TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_ob
as
_to_key
from
._base
import
to_int
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -90,11 +90,11 @@ OITreeSetPy._mapping_type = OIBucketPy
OITreeSetPy
.
_set_type
=
OITreeSetPy
.
_bucket_type
=
OISetPy
differencePy
=
_set
op
(
_difference
,
OISetPy
)
unionPy
=
_set
op
(
_union
,
OISetPy
)
intersectionPy
=
_set
op
(
_intersection
,
OISetPy
)
weightedUnionPy
=
_set
op
(
_weightedUnion
,
OISetPy
)
weightedIntersectionPy
=
_set
op
(
_weightedIntersection
,
OISetPy
)
differencePy
=
_set
_operation
(
_difference
,
OISetPy
)
unionPy
=
_set
_operation
(
_union
,
OISetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
OISetPy
)
weightedUnionPy
=
_set
_operation
(
_weightedUnion
,
OISetPy
)
weightedIntersectionPy
=
_set
_operation
(
_weightedIntersection
,
OISetPy
)
try
:
from
_OIBTree
import
OIBucket
...
...
BTrees/OLBTree.py
View file @
bbe21e43
...
...
@@ -30,7 +30,7 @@ from ._base import Tree as BTree
from
._base
import
TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_ob
as
_to_key
from
._base
import
to_int
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -91,11 +91,11 @@ OLTreeSetPy._mapping_type = OLBucketPy
OLTreeSetPy
.
_set_type
=
OLTreeSetPy
.
_bucket_type
=
OLSetPy
differencePy
=
_set
op
(
_difference
,
OLSetPy
)
unionPy
=
_set
op
(
_union
,
OLSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
OLSetPy
)
weightedUnionPy
=
_set
op
(
_weightedUnion
,
OLSetPy
)
weightedIntersectionPy
=
_set
op
(
_weightedIntersection
,
OLSetPy
)
differencePy
=
_set
_operation
(
_difference
,
OLSetPy
)
unionPy
=
_set
_operation
(
_union
,
OLSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
OLSetPy
)
weightedUnionPy
=
_set
_operation
(
_weightedUnion
,
OLSetPy
)
weightedIntersectionPy
=
_set
_operation
(
_weightedIntersection
,
OLSetPy
)
try
:
from
_OLBTree
import
OLBucket
...
...
BTrees/OOBTree.py
View file @
bbe21e43
...
...
@@ -26,7 +26,7 @@ from ._base import Tree as BTree
from
._base
import
TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_ob
as
_to_key
from
._base
import
to_ob
as
_to_value
from
._base
import
union
as
_union
...
...
@@ -78,9 +78,9 @@ OOTreeSetPy._mapping_type = OOBucketPy
OOTreeSetPy
.
_set_type
=
OOTreeSetPy
.
_bucket_type
=
OOSetPy
differencePy
=
_set
op
(
_difference
,
OOSetPy
)
unionPy
=
_set
op
(
_union
,
OOSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
OOSetPy
)
differencePy
=
_set
_operation
(
_difference
,
OOSetPy
)
unionPy
=
_set
_operation
(
_union
,
OOSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
OOSetPy
)
try
:
from
_OOBTree
import
OOBucket
...
...
BTrees/_base.py
View file @
bbe21e43
...
...
@@ -1203,7 +1203,7 @@ def _set_operation(s1, s2,
return
r
class
set
op
(
object
):
class
set
_operation
(
object
):
def
__init__
(
self
,
func
,
set_type
):
self
.
func
=
func
...
...
BTrees/fsBTree.py
View file @
bbe21e43
...
...
@@ -31,7 +31,7 @@ from ._base import TreeSet
from
._base
import
difference
as
_difference
from
._base
import
intersection
as
_intersection
from
._base
import
multiunion
as
_multiunion
from
._base
import
set
op
as
_setop
from
._base
import
set
_operation
as
_set_operation
from
._base
import
to_str
as
_to_str
from
._base
import
union
as
_union
...
...
@@ -101,10 +101,10 @@ fsTreeSetPy._mapping_type = fsBucketPy
fsTreeSetPy
.
_set_type
=
fsTreeSetPy
.
_bucket_type
=
fsSetPy
differencePy
=
_set
op
(
_difference
,
fsSetPy
)
unionPy
=
_set
op
(
_union
,
fsSetPy
)
intersectionPy
=
_set
op
(
_intersection
,
fsSetPy
)
multiunionPy
=
_set
op
(
_multiunion
,
fsSetPy
)
differencePy
=
_set
_operation
(
_difference
,
fsSetPy
)
unionPy
=
_set
_operation
(
_union
,
fsSetPy
)
intersectionPy
=
_set
_operation
(
_intersection
,
fsSetPy
)
multiunionPy
=
_set
_operation
(
_multiunion
,
fsSetPy
)
try
:
from
_fsBTree
import
fsBucket
...
...
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