MCPcopy Create free account

hub / github.com/bnclabs/gostore / functions

Functions1,140 in github.com/bnclabs/gostore

↓ 5 callersMethodStats
Stats return a map of statistics.
lib/avgint.go:85
↓ 5 callersMethodView
View starts a read-only transaction. Other than that it is similar to BeginTxn. All view transactions should be aborted.
llrb/mvcc.go:1150
↓ 5 callersMethodbuilddiskstore
( logprefix string, level, version int, sha, flushunix string, settstodisk s.Settings, itere api.EntryItera
bogn/bogn.go:1224
↓ 5 callersMethodeq
(Key a, Key b)
papers/Sedgewick-RedBlackBST.java:225
↓ 5 callersMethodfootprint
()
bubt/blockindex.go:7
↓ 5 callersMethodgetkey
()
llrb/node.go:74
↓ 5 callersMethodgetkey
(nd *Llrbnode, k []byte)
llrb/mvcc.go:1181
↓ 5 callersMethodisbounded
(index int)
bubt/snapzblock.go:117
↓ 5 callersMethodisdirty
()
bogn/snapshot.go:116
↓ 5 callersMethodlength
()
bubt/blockindex.go:15
↓ 5 callersMethodless
(Key a, Key b)
papers/Sedgewick-RedBlackBST.java:224
↓ 5 callersFunctionmakepaths
()
bogn/init_test.go:33
↓ 5 callersFunctionmakescanbuf
()
llrb/scanner.go:16
↓ 5 callersFunctionnewFlistPool
()
malloc/pool_flist.go:161
↓ 5 callersFunctionnewz
zblock represents the leaf node in bubt tree, can be in a separate file, shape of block is: n_entries uint32 - 4-byte count of number entries in th
bubt/buildzblock.go:31
↓ 5 callersMethodnextfootprint
()
bubt/blockindex.go:11
↓ 5 callersFunctionopenfile
(filename string, ismmap bool)
bubt/util.go:31
↓ 5 callersMethodreadsnapshot
()
llrb/mvcc.go:1502
↓ 5 callersMethodrotateright
(nd *Llrbnode)
llrb/llrb.go:1025
↓ 5 callersMethodrotateright
( nd *Llrbnode, reclaim []*Llrbnode)
llrb/mvcc.go:1358
↓ 5 callersMethodsetdeleted
()
llrb/node.go:163
↓ 5 callersMethodsetvaluelen
(keylen uint64)
bubt/zentry.go:74
↓ 5 callersMethodsize
()
papers/Sedgewick-RedBlackBST.java:37
↓ 5 callersMethodstats
()
llrb/mvcc.go:323
↓ 4 callersMethodAllocslab
Allocslab allocate a chunk from slab. Use this only if slab size is known to exist with mallocer.
api/alloc.go:16
↓ 4 callersFunctionBytes2str
Bytes2str morph byte slice to a string without copying. Note that the source byte-slice should remain in scope as long as string is in scope.
api/util.go:30
↓ 4 callersMethodChunklen
Chunklen return the length of the chunk usable by application.
api/alloc.go:22
↓ 4 callersMethodClearbit
Clearbit clear the nth bit and return the new byte.
lib/bit8.go:26
↓ 4 callersMethodFootprint
Footprint return the size occupied by this instance on disk.
bubt/snapshot.go:239
↓ 4 callersMethodMin
Min return minimum value from sample.
lib/avgint.go:32
↓ 4 callersFunctionNew
New create a new instance of multi-process rwmutex.
flock/mutex_unix.go:15
↓ 4 callersMethodRelease
Release implement api.Mallocer{} interface.
malloc/arena.go:131
↓ 4 callersMethodRelease
Release arena, all its pools and resources.
api/alloc.go:28
↓ 4 callersFunctionResponseError
ResponseError for gen-server design pattern. Return err is not nil, else type-cast idx-th element in response to error and return the same.
lib/util.go:84
↓ 4 callersMethodUtilization
Utilization map of slab-size and its utilization
api/alloc.go:34
↓ 4 callersMethodaddamplification
(ndisk api.Index)
bogn/bogn.go:1852
↓ 4 callersMethodcheckallocated
---- local functions can be costly operation.
malloc/.pool_fbit.go:109
↓ 4 callersMethodcleardeleted
()
llrb/node.go:168
↓ 4 callersMethodcleardeleted
()
bubt/zentry.go:27
↓ 4 callersMethodcloneifdirty
(nd *Llrbnode)
llrb/mvcc.go:1439
↓ 4 callersMethodclonenode
(nd *Llrbnode)
llrb/llrb.go:124
↓ 4 callersMethodfreenode
(nd *Llrbnode)
llrb/llrb.go:114
↓ 4 callersMethodget
( key, value []byte)
llrb/llrb.go:609
↓ 4 callersMethodgetdiskpaths
()
bogn/bogn.go:1639
↓ 4 callersMethodgethdr
---- header fields
llrb/node.go:45
↓ 4 callersMethodheight
()
papers/Sedgewick-RedBlackBST.java:52
↓ 4 callersMethodisdeleted
()
bubt/zentry.go:33
↓ 4 callersMethodisvlog
()
bubt/zentry.go:49
↓ 4 callersFunctionkeystuff
---- local methods.
api/pkey.go:316
↓ 4 callersMethodlogstore
(index api.Index)
bogn/bogn.go:1619
↓ 4 callersFunctionmakepaths1
()
bubt/build_test.go:1483
↓ 4 callersFunctionmakezsnap
(tb testing.TB)
bubt/snapzblock_test.go:61
↓ 4 callersMethodmemlevelname
(level string, version int)
bogn/bogn.go:807
↓ 4 callersMethodmin
()
papers/Sedgewick-RedBlackBST.java:78
↓ 4 callersMethodmwseqno
()
bogn/snapshot.go:95
↓ 4 callersMethodnewmemstore
---- local methods
bogn/bogn.go:1192
↓ 4 callersMethodnextdiskversion
(level int)
bogn/bogn.go:1614
↓ 4 callersMethodpreparewrite
()
llrb/scanner.go:27
↓ 4 callersMethodputtxn
(txn *Txn)
llrb/common.go:165
↓ 4 callersFunctionreduceitere
(scans []api.EntryIterator)
bogn/snapshot.go:455
↓ 4 callersMethodrlock
()
llrb/mvcc.go:273
↓ 4 callersMethodrunlock
()
llrb/mvcc.go:278
↓ 4 callersMethodseqno
()
bubt/zentry.go:60
↓ 4 callersMethodsetkeylen
(keylen uint64)
bubt/zentry.go:65
↓ 4 callersMethodsetreclaim
()
llrb/node.go:180
↓ 4 callersMethodsetroot
should be called with the write-lock.
llrb/mvcc.go:126
↓ 4 callersMethodstartscan
(key []byte, sb *scanbuf, leseqno uint64)
llrb/llrb.go:709
↓ 4 callersMethodstartscan
TODO: can we instead to the snapshot and avoid rlock ?
llrb/mvcc.go:1278
↓ 4 callersMethodstats
()
llrb/llrb.go:788
↓ 4 callersMethodvaluelen
()
bubt/zentry.go:79
↓ 3 callersMethodClone
Clone copies the entire instance.
lib/avgint.go:79
↓ 3 callersMethodClone
Clone llrb instance and return the clone.
llrb/llrb.go:924
↓ 3 callersFunctionFailsafeRequest
FailsafeRequest for gen-server design pattern. While posting a request to reqch channel, if channel is full but gen-server has exited or crashed, prev
lib/util.go:47
↓ 3 callersFunctionFixbuffer
Fixbuffer will expand the buffer if its capacity is less than size and return the buffer of size length.
lib/util.go:130
↓ 3 callersFunctionFixbuffer
Fixbuffer will expand the buffer if its capacity is less than size and return the buffer of size length.
api/util.go:21
↓ 3 callersMethodGetseqno
Getseqno return current seqno on this tree.
llrb/llrb.go:196
↓ 3 callersMethodIsblack
Isblack for llrb node.
api/pkey.go:274
↓ 3 callersFunctionMemcpy
Memcpy copy memory block of length `ln` from `src` to `dst`. This function is useful if memory block is obtained outside golang runtime.
lib/util.go:31
↓ 3 callersMethodSetseqno
---- Exported Write methods Setseqno can be called immediately after creating the MVCC instance. All futher mutating APIs will start counting seqno fr
llrb/mvcc.go:659
↓ 3 callersFunctionSuitableSlab
SuitableSlab return an optimal block-size for required size. Argument slabs should be sorted array of int64.
malloc/util.go:8
↓ 3 callersMethodValidate
Validate active bogn levels.
bogn/bogn.go:968
↓ 3 callersMethodValue
Value return the value byte-slice for this entry.
llrb/node.go:196
↓ 3 callersMethodWritemetadata
(metadata []byte)
bubt/build.go:501
↓ 3 callersMethodclose
()
bubt/go_buildflush.go:73
↓ 3 callersFunctionclosereadat
(rd io.ReaderAt)
bubt/util.go:46
↓ 3 callersMethodcompareat
(i int, key []byte)
bubt/snapmblock.go:47
↓ 3 callersMethodfixUp
(Node h)
papers/Sedgewick-RedBlackBST.java:285
↓ 3 callersMethodget
(key []byte)
llrb/txn.go:230
↓ 3 callersMethodgetaccess
()
llrb/node.go:64
↓ 3 callersMethodgetappdata
(disk api.Index)
bogn/bogn.go:1658
↓ 3 callersMethodgetmask
()
api/pkey.go:133
↓ 3 callersMethodgetonsnap
---- local methods
llrb/txn.go:164
↓ 3 callersMethodgetreadbuffer
(msize, zsize, vsize int64)
bubt/readerpool.go:30
↓ 3 callersMethodgetvbno
()
api/pkey.go:141
↓ 3 callersMethodgetview
---- local methods
bubt/snapshot.go:703
↓ 3 callersMethodindexvaluelogs
return the oldest snapshots value-logs.
bogn/bogn.go:1766
↓ 3 callersMethodisreclaim
()
llrb/node.go:190
↓ 3 callersFunctionkeyunstuff
(in []byte, out []byte)
api/pkey.go:331
↓ 3 callersFunctionmakesettings
()
bogn/init_test.go:41
↓ 3 callersMethodnewnode
(k, v []byte)
llrb/mvcc.go:165
← previousnext →201–300 of 1,140, ranked by callers