Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bnclabs/gostore
/ functions
Functions
1,140 in github.com/bnclabs/gostore
⨍
Functions
1,140
◇
Types & classes
71
↓ 2 callers
Method
logdir
(logpath string)
bogn/bogn.go:812
↓ 2 callers
Function
makemsnap
(tb testing.TB)
bubt/snapmblock_test.go:27
↓ 2 callers
Method
makesnapshot
---- snapshot routines.
llrb/mvcc.go:1448
↓ 2 callers
Method
max
()
papers/Sedgewick-RedBlackBST.java:90
↓ 2 callers
Method
moveRedLeft
(Node h)
papers/Sedgewick-RedBlackBST.java:260
↓ 2 callers
Method
moveRedRight
(Node h)
papers/Sedgewick-RedBlackBST.java:273
↓ 2 callers
Method
moveredleft
REQUIRE: Left and Right children must be present
llrb/llrb.go:1049
↓ 2 callers
Method
moveredleft
REQUIRE: Left and Right children must be present
llrb/mvcc.go:1399
↓ 2 callers
Method
newnode
(k, v []byte)
llrb/llrb.go:101
↓ 2 callers
Method
next
(stack []uintptr)
llrb/cursor.go:142
↓ 2 callers
Method
opencursor
(t *Txn, v *View, key []byte)
bogn/cursor.go:24
↓ 2 callers
Method
opencursor
(txn *Txn, snapshot interface{}, key []byte)
llrb/cursor.go:17
↓ 2 callers
Method
parameters
parameters return the parameters associated with this key.
api/pkey.go:80
↓ 2 callers
Function
paramsize
(mask keymask)
api/pkey.go:238
↓ 2 callers
Method
popout
(stack []uintptr)
llrb/cursor.go:150
↓ 2 callers
Function
postfindisk
(bogn *Bogn, ndisk api.Index, err error)
bogn/go_compact.go:34
↓ 2 callers
Method
prepend
(key []byte, node *record)
llrb/txn.go:242
↓ 2 callers
Function
pulle
( x api.EntryIterator, fin bool, key []byte, eof api.IndexEntry)
lsm/ysortentries.go:11
↓ 2 callers
Function
purgesnapshot
(snap *snapshot)
bogn/go_purge.go:39
↓ 2 callers
Method
purgesnapshot
(snapshot *mvccsnapshot)
llrb/mvcc.go:1519
↓ 2 callers
Method
putcursor
(cur *Cursor)
llrb/txn.go:214
↓ 2 callers
Method
puttxn
(txn *Txn)
bogn/acid.go:33
↓ 2 callers
Method
putview
(view *View)
llrb/common.go:202
↓ 2 callers
Method
refer
()
llrb/snapshot.go:119
↓ 2 callers
Method
repr
---- maintanence methods.
llrb/node.go:205
↓ 2 callers
Method
setcas
( key, value, oldvalue []byte, cas uint64)
llrb/llrb.go:292
↓ 2 callers
Method
setdeleted
()
bubt/zentry.go:21
↓ 2 callers
Method
sethdr
(hdr uint64)
llrb/node.go:49
↓ 2 callers
Method
setkeylen
(klen uint16)
llrb/node.go:58
↓ 2 callers
Method
setmask
(mask keymask)
api/pkey.go:137
↓ 2 callers
Method
setseqno
(seqno uint64)
bubt/zentry.go:53
↓ 2 callers
Method
setseqnodeleted
(seqno uint64)
llrb/node.go:173
↓ 2 callers
Method
setvbno
(vbno uint16)
api/pkey.go:145
↓ 2 callers
Method
setvpos
(vpos uint64)
bubt/mentry.go:21
↓ 2 callers
Method
sizeof
()
llrb/value.go:17
↓ 2 callers
Method
txnyget
( tv api.Transactor, gets []api.Getter)
bogn/snapshot.go:214
↓ 2 callers
Function
unlockFileEx
( h syscall.Handle, reserved, locklow, lockhigh uint32, ol *syscall.Overlapped)
flock/mutex_windows.go:32
↓ 2 callers
Method
upsert
returns root, newnd, oldnd
llrb/llrb.go:236
↓ 2 callers
Method
upsertcounts
(key, value []byte, oldnd *Llrbnode)
llrb/mvcc.go:212
↓ 2 callers
Method
validatequick
()
bubt/snapshot.go:412
↓ 2 callers
Method
validatestore
(index api.Index)
bogn/bogn.go:1630
↓ 2 callers
Function
validatetree
(root *Llrbnode, logprefix string, n, kmem, vmem int64)
llrb/common.go:46
↓ 2 callers
Method
walkdownrot23
rotation routines for 2-3 algorithm
llrb/llrb.go:992
↓ 2 callers
Method
walkuprot23
(nd *Llrbnode)
llrb/llrb.go:996
↓ 2 callers
Method
ynextentry
(fin bool)
bubt/cursor.go:158
↓ 1 callers
Method
BeginTxn
BeginTxn starts a read-write transaction. All transactions should either be committed or aborted. If transactions are not released for long time it mi
bogn/bogn.go:888
↓ 1 callers
Method
Cleardeleted
Cleardeleted clear index node from deleted.
api/pkey.go:305
↓ 1 callers
Method
Cleardirty
Cleardirty clear index node from dirty.
api/pkey.go:289
↓ 1 callers
Method
Clone
Clone mvcc instance and return the clone. Clone walks the entire tree and concurrent reads and writes will block until call returns.
llrb/mvcc.go:536
↓ 1 callers
Function
CompactIndex
CompactIndex will remove older versions of disk level snapshots and if merge is true, will merge all disk-levels into single level.
bogn/bogn.go:77
↓ 1 callers
Method
Dotdump
Dotdump to convert whole tree into dot script that can be visualized using graphviz. Until dotdump exits concurrent write operations will block.
llrb/llrb.go:762
↓ 1 callers
Method
Dotdump
Dotdump to convert whole tree into dot script that can be visualized using graphviz. Until dotdump exits concurrent write operations will block.
llrb/mvcc.go:297
↓ 1 callers
Method
Finalize
Finalize will wait for read snapshot to catchup with the tip. To be careful when calling with background mutations, call may never return.
llrb/mvcc.go:1196
↓ 1 callers
Method
ID
---- Exported Control methods ID of snapshot, same as name argument passed to OpenSnapshot.
bubt/snapshot.go:229
↓ 1 callers
Method
Info
Info return parameters used to build the snapshot and statistical information. mfile : m-index file name. zfiles : list of z-index file name
bubt/snapshot.go:297
↓ 1 callers
Method
Key
Key return current key under the cursor. Returned byte slice will be a reference to index-key, hence must not be used after transaction is commited or
bogn/cursor.go:85
↓ 1 callers
Function
LoadLLRB
LoadLLRB creates an LLRB instance and populate it with initial set of data (key, value) from iterator. After loading the data, applications shall use
llrb/llrb.go:67
↓ 1 callers
Function
LoadMVCC
LoadMVCC creates an MVCC instance and populate it with initial set of data (key, value) from iterator. After loading the data applications can use Set
llrb/mvcc.go:90
↓ 1 callers
Method
Log
Log vital information.
llrb/llrb.go:864
↓ 1 callers
Method
Log
Log vital information.
llrb/mvcc.go:444
↓ 1 callers
Function
LogComponents
LogComponents enable logging. By default logging is disabled, if applications want log information for bogn components call this function with "self"
bogn/log.go:14
↓ 1 callers
Function
LogComponents
LogComponents enable logging. By default logging is disabled, if applications want log information for llrb components call this function with "self"
llrb/log.go:13
↓ 1 callers
Function
LogComponents
LogComponents enable logging. By default logging is disabled, if applications want log information for bubt components call this function with "self"
bubt/log.go:12
↓ 1 callers
Method
Max
Max return maximum value from sample.
lib/htgint.go:63
↓ 1 callers
Method
Metadata
Metadata return metadata blob associated with this snapshot.
bubt/snapshot.go:270
↓ 1 callers
Method
Min
Min return minimum value from sample.
lib/htgint.go:58
↓ 1 callers
Method
Ones
Ones return the count of 1s in this 32-bit value.
lib/bit32.go:7
↓ 1 callers
Function
PurgeIndex
PurgeIndex will purge all the disk level snapshots for index `name` founder under `diskpaths`.
bogn/bogn.go:68
↓ 1 callers
Function
PurgeSnapshot
PurgeSnapshot remove disk footprint of this snapshot.
bubt/snapshot.go:103
↓ 1 callers
Method
SD
SD return by how much the samples differ from the mean value of sample set.
lib/htgint.go:97
↓ 1 callers
Method
Samples
Samples return total number of samples in the set.
lib/htgint.go:68
↓ 1 callers
Method
Scan
Scan return a full table iterator, if iteration is stopped before reaching end of table (io.EOF), application should call iterator with fin as true. E
llrb/mvcc.go:1211
↓ 1 callers
Method
Scan
Scan return a full table iterator, if iteration is stopped before reaching end of table (io.EOF), application should call iterator with fin as true. E
bubt/snapshot.go:605
↓ 1 callers
Method
ScanEntries
ScanEntries return a full table iterator, if iteration is stopped before reaching end of table (io.EOF), application should call iterator with fin as
llrb/llrb.go:677
↓ 1 callers
Method
ScanEntries
ScanEntries return a full table iterator, if iteration is stopped before reaching end of table (io.EOF), application should call iterator with fin as
llrb/mvcc.go:1246
↓ 1 callers
Method
SetCAS
SetCAS a key, value pair in the index, if CAS is ZERO then key should not be present in the index, otherwise existing CAS should match the supplied CA
api/index.go:27
↓ 1 callers
Method
Setblack
Setblack flag for llrb node.
api/pkey.go:259
↓ 1 callers
Method
Setdeleted
Setdeleted mark index node as deleted. After marking it as deleted there is no going back.
api/pkey.go:300
↓ 1 callers
Method
Setdirty
Setdirty set index node dirty.
api/pkey.go:284
↓ 1 callers
Method
Setred
Setred flag for llrb node.
api/pkey.go:264
↓ 1 callers
Method
Stats
Stats return a map of histogram.
lib/htgint.go:113
↓ 1 callers
Method
Utilization
Utilization implement api.Mallocer{} interface.
malloc/arena.go:158
↓ 1 callers
Method
Validate
Validate snapshot on disk. This is a costly call, use it only for testing and administration purpose.
bubt/snapshot.go:364
↓ 1 callers
Method
Value
Value return current value under the cursor. Returned byte slice will be a reference to value in index, hence must not be used after transaction is co
llrb/cursor.go:46
↓ 1 callers
Method
Valuelogs
()
bubt/snapshot.go:262
↓ 1 callers
Method
Valueref
Valueref returns reference to value, if value is stored in separate file, else vpos will be -1.
api/index.go:147
↓ 1 callers
Method
aborttxn
(txn *Txn)
bogn/bogn.go:905
↓ 1 callers
Method
abortview
(view *View)
bogn/bogn.go:924
↓ 1 callers
Method
abortview
(view *View)
bubt/snapshot.go:597
↓ 1 callers
Method
addtolist
(head *poolflist)
malloc/pool_flist.go:165
↓ 1 callers
Method
allocchunk
this pool is the first pool in flistPools' free-list.
malloc/pool_flist.go:62
↓ 1 callers
Function
appendlinkfile
(oldfile, newfile string)
bubt/util.go:18
↓ 1 callers
Function
benchallocator
( arena *Arena, n byte, repeat int, chans []chan unsafe.Pointer, wg *sync.WaitGroup)
malloc/concur_test.go:139
↓ 1 callers
Function
benchfree
( arena *Arena, n byte, ch chan unsafe.Pointer, wg *sync.WaitGroup)
malloc/concur_test.go:159
↓ 1 callers
Method
builddiskbubt
( logprefix string, level, version int, sha, flushunix string, settstodisk s.Settings, itere api.EntryItera
bogn/bogn.go:1243
↓ 1 callers
Method
buildslabindex
create an index of slabs for sizes < 64K
malloc/arena.go:215
↓ 1 callers
Method
check
()
papers/Sedgewick-RedBlackBST.java:406
↓ 1 callers
Method
chunklen
()
malloc/pool_flist.go:57
↓ 1 callers
Method
clearpurge
()
bogn/snapshot.go:397
↓ 1 callers
Method
clearvlog
()
bubt/zentry.go:43
← previous
next →
401–500 of 1,140, ranked by callers