Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
35c7ae8b
Commit
35c7ae8b
authored
Aug 03, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
55e234f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
wcfs/testdata/zblk.fs
wcfs/testdata/zblk.fs
+0
-0
wcfs/testdata/zblk.fs.index
wcfs/testdata/zblk.fs.index
+0
-0
wcfs/testdata/zblk_test_gen.py
wcfs/testdata/zblk_test_gen.py
+2
-2
No files found.
wcfs/testdata/zblk.fs
View file @
35c7ae8b
No preview for this file type
wcfs/testdata/zblk.fs.index
View file @
35c7ae8b
No preview for this file type
wcfs/testdata/zblk_test_gen.py
View file @
35c7ae8b
...
...
@@ -23,7 +23,7 @@
from
ZODB.DB
import
DB
from
ZODB.utils
import
u64
from
wendelin.bigfile.file_zodb
import
ZBlk0
,
ZBlk1
,
ZBigFile
from
numpy
import
arange
,
uint32
from
numpy
import
arange
import
os
,
os
.
path
,
transaction
blksize
=
2
*
1024
*
1024
# XXX hardcoded
...
...
@@ -40,7 +40,7 @@ def main():
root
=
conn
.
root
()
# 0, 1, 2, ... as u32
data
=
arange
(
0
,
blksize32
,
dtype
=
uint32
).
tobytes
()
data
=
arange
(
0
,
blksize32
,
dtype
=
'>u4'
).
tobytes
()
root
[
'zblk0'
]
=
z0
=
ZBlk0
()
root
[
'zblk1'
]
=
z1
=
ZBlk1
()
# also covers ZData
...
...
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