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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
e2ed2b18
Commit
e2ed2b18
authored
Apr 06, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9a8c5111
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
6 deletions
+22
-6
wcfs/set.go.in
wcfs/set.go.in
+5
-1
wcfs/zset_bigfile.go
wcfs/zset_bigfile.go
+5
-1
wcfs/zset_i64.go
wcfs/zset_i64.go
+5
-1
wcfs/zset_tree.go
wcfs/zset_tree.go
+5
-1
wcfs/zδtail_i64.go
wcfs/zδtail_i64.go
+2
-2
No files found.
wcfs/set.go.in
View file @
e2ed2b18
...
...
@@ -27,7 +27,11 @@ func (s Set) Add(v VALUE) {
s
[
v
]
=
struct
{}{}
}
//
XXX
+
Del
(
v
)
?
//
Del
removes
v
from
the
set
.
//
it
is
noop
if
v
was
not
in
the
set
.
func
(
s
Set
)
Del
(
v
VALUE
)
{
delete
(
s
,
v
)
}
//
Has
checks
whether
the
set
contains
v
.
func
(
s
Set
)
Has
(
v
VALUE
)
bool
{
...
...
wcfs/zset_bigfile.go
View file @
e2ed2b18
...
...
@@ -29,7 +29,11 @@ func (s SetBigFile) Add(v *BigFile) {
s
[
v
]
=
struct
{}{}
}
// XXX + Del(v) ?
// Del removes v from the set.
// it is noop if v was not in the set.
func
(
s
SetBigFile
)
Del
(
v
*
BigFile
)
{
delete
(
s
,
v
)
}
// Has checks whether the set contains v.
func
(
s
SetBigFile
)
Has
(
v
*
BigFile
)
bool
{
...
...
wcfs/zset_i64.go
View file @
e2ed2b18
...
...
@@ -29,7 +29,11 @@ func (s SetI64) Add(v int64) {
s
[
v
]
=
struct
{}{}
}
// XXX + Del(v) ?
// Del removes v from the set.
// it is noop if v was not in the set.
func
(
s
SetI64
)
Del
(
v
int64
)
{
delete
(
s
,
v
)
}
// Has checks whether the set contains v.
func
(
s
SetI64
)
Has
(
v
int64
)
bool
{
...
...
wcfs/zset_tree.go
View file @
e2ed2b18
...
...
@@ -29,7 +29,11 @@ func (s SetTree) Add(v *Tree) {
s
[
v
]
=
struct
{}{}
}
// XXX + Del(v) ?
// Del removes v from the set.
// it is noop if v was not in the set.
func
(
s
SetTree
)
Del
(
v
*
Tree
)
{
delete
(
s
,
v
)
}
// Has checks whether the set contains v.
func
(
s
SetTree
)
Has
(
v
*
Tree
)
bool
{
...
...
wcfs/zδtail_i64.go
View file @
e2ed2b18
// Code generated by gen-δtail I64 int64; DO NOT EDIT.
// (from lab.nexedi.com/kirr/neo/go/zodb @ v1.9-233
2-ga6a767c9
)
// (from lab.nexedi.com/kirr/neo/go/zodb @ v1.9-233
9-gc2d001e1
)
// Copyright (C) 2018-20
19
Nexedi SA and Contributors.
// Copyright (C) 2018-20
20
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
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