Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Levin Zimmermann
neoppod
Commits
722d6744
Commit
722d6744
authored
Jul 07, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5ad5b2a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
go/zodb/storage/zeo/zeo.go
go/zodb/storage/zeo/zeo.go
+1
-0
go/zodb/storage/zeo/zrpc.go
go/zodb/storage/zeo/zrpc.go
+1
-0
No files found.
go/zodb/storage/zeo/zeo.go
View file @
722d6744
...
@@ -455,6 +455,7 @@ func (zl *zLink) xuint64Unpack(xv interface{}) (uint64, bool) {
...
@@ -455,6 +455,7 @@ func (zl *zLink) xuint64Unpack(xv interface{}) (uint64, bool) {
// xuint64Pack packs v into big-endian 8-byte string
// xuint64Pack packs v into big-endian 8-byte string
//
//
// XXX do we need to emit bytes instead of str?
// XXX do we need to emit bytes instead of str?
// XXX adapt to msgpack?
func
xuint64Pack
(
v
uint64
)
string
{
func
xuint64Pack
(
v
uint64
)
string
{
var
b
[
8
]
byte
var
b
[
8
]
byte
binary
.
BigEndian
.
PutUint64
(
b
[
:
],
v
)
binary
.
BigEndian
.
PutUint64
(
b
[
:
],
v
)
...
...
go/zodb/storage/zeo/zrpc.go
View file @
722d6744
...
@@ -141,6 +141,7 @@ func (zl *zLink) serveRecv() {
...
@@ -141,6 +141,7 @@ func (zl *zLink) serveRecv() {
// serveRecv1 handles 1 incoming packet.
// serveRecv1 handles 1 incoming packet.
func
(
zl
*
zLink
)
serveRecv1
(
pkb
*
pktBuf
)
error
{
func
(
zl
*
zLink
)
serveRecv1
(
pkb
*
pktBuf
)
error
{
fmt
.
Printf
(
"RXgo: %q
\n
"
,
pkb
.
Payload
())
// decode packet
// decode packet
m
,
err
:=
zl
.
pktDecode
(
pkb
)
m
,
err
:=
zl
.
pktDecode
(
pkb
)
if
err
!=
nil
{
if
err
!=
nil
{
...
...
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