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
↓ 10 callers
Method
Variance
Variance return the squared deviation of a random sample from its mean.
lib/avgint.go:61
↓ 10 callers
Method
finalize
()
bubt/buildzblock.go:118
↓ 10 callers
Method
getindex
(index blkindex)
bubt/snapzblock.go:75
↓ 10 callers
Method
getnext
()
bubt/cursor.go:104
↓ 10 callers
Function
makeBenchMVCC
(n int)
llrb/mvcc_test.go:1398
↓ 10 callers
Method
pop
()
llrb/scanner.go:56
↓ 9 callers
Method
BeginTxn
BeginTxn starts a read-write transaction. Transactions must satisfy ACID properties. Finally all transactor objects must be Aborted or Committed.
api/index.go:49
↓ 9 callers
Method
SD
SD return by how much the samples differ from the mean value of sample set.
lib/avgint.go:71
↓ 9 callers
Method
Stats
Stats return a map of data-structure statistics and operational statistics.
llrb/llrb.go:779
↓ 9 callers
Method
Zeros
Zeros return the count of 0s in this 8-bit value.
lib/bit8.go:44
↓ 9 callers
Method
adaptiveNumchunks
(size, npools int64)
malloc/arena.go:177
↓ 9 callers
Function
filesize
(r interface{})
bubt/util.go:58
↓ 9 callers
Method
getroot
()
llrb/mvcc.go:118
↓ 9 callers
Method
lekey
(other []byte, partial bool)
llrb/node.go:272
↓ 9 callers
Function
newpoolfbit
size of each chunk in the block and no. of chunks in the block.
malloc/.pool_fbit.go:31
↓ 9 callers
Method
snaprunlock
()
bogn/bogn.go:479
↓ 9 callers
Method
value
()
llrb/value.go:45
↓ 8 callers
Method
Format
Format uuid to hyphenated string.
lib/uuid.go:28
↓ 8 callers
Method
Free
Free implement api.Mallocer{} interface.
malloc/arena.go:119
↓ 8 callers
Method
Lock
Lock locks rw. If the lock is already in use, the calling goroutine blocks until the mutex is available.
flock/mutex_unix.go:25
↓ 8 callers
Method
Log
Log vital statistics for all active bogn levels.
bogn/bogn.go:947
↓ 8 callers
Method
RLock
RLock locks rw for reading. It should not be used for recursive read locking; a blocked Lock call excludes new readers from acquiring the lock.
flock/mutex_unix.go:43
↓ 8 callers
Method
RUnlock
RUnlock undo a single RLock call; it does not affect other simultaneous readers.
flock/mutex_unix.go:52
↓ 8 callers
Method
Setseqno
---- Exported Write methods Setseqno can be called immediately after creating the LLRB instance. All futher mutating APIs will start counting seqno fr
llrb/llrb.go:191
↓ 8 callers
Method
Unlock
Unlock unlocks rw. It is a run-time error if rw is not locked on entry to Unlock.
flock/mutex_unix.go:34
↓ 8 callers
Method
acquiresnapshot
(first *mvccsnapshot)
llrb/mvcc.go:132
↓ 8 callers
Method
isdirty
()
llrb/node.go:153
↓ 8 callers
Function
newm
mblock represents the intermediate node in bubt tree, shape of block is: n_entries uint32 - 4-byte count of number entries in this mblock. blkindex
bubt/buildmblock.go:30
↓ 8 callers
Function
newpoolflist
size of each chunk in the block and no. of chunks in the block.
malloc/pool_flist.go:32
↓ 8 callers
Method
newuuid
()
bogn/bogn.go:1858
↓ 8 callers
Function
pull
( x api.Iterator, fin bool, k, v []byte)
lsm/ysort.go:15
↓ 8 callers
Method
releasesnapshot
(old *mvccsnapshot, new *mvccsnapshot)
llrb/mvcc.go:157
↓ 8 callers
Method
snaprlock
()
bogn/bogn.go:466
↓ 8 callers
Method
togglelink
()
llrb/node.go:138
↓ 8 callers
Method
writesnapshot
()
llrb/mvcc.go:1492
↓ 7 callers
Method
Info
Info of memory accounting for this arena.
api/alloc.go:31
↓ 7 callers
Method
Max
Max return maximum value from sample.
lib/avgint.go:37
↓ 7 callers
Function
Newuuid
Newuuid populate buf with unique set of bytes.
lib/uuid.go:9
↓ 7 callers
Method
Stats
Stats return a map of data-structure statistics and operational statistics.
llrb/mvcc.go:314
↓ 7 callers
Method
colorFlip
(Node h)
papers/Sedgewick-RedBlackBST.java:233
↓ 7 callers
Method
diskmetadata
(disk api.Index)
bogn/bogn.go:1811
↓ 7 callers
Method
format2
(out []byte)
lib/uuid.go:68
↓ 7 callers
Method
gekey
(other []byte, partial bool)
llrb/node.go:292
↓ 7 callers
Method
getdiskseqno
(disk api.Index)
bogn/bogn.go:1648
↓ 7 callers
Method
getkeylen
()
llrb/node.go:54
↓ 7 callers
Method
indexpayload
returns approximate payload in index.
bogn/bogn.go:1748
↓ 7 callers
Method
keylen
()
bubt/zentry.go:70
↓ 7 callers
Method
lock
()
llrb/mvcc.go:264
↓ 7 callers
Method
nextbutlevel
(level int)
bogn/snapshot.go:139
↓ 7 callers
Function
pksize
pksize return the maximum size required for give key and parameters.
api/pkey.go:13
↓ 7 callers
Method
refer
()
bogn/snapshot.go:384
↓ 7 callers
Method
rlock
()
llrb/llrb.go:178
↓ 7 callers
Method
runlock
()
llrb/llrb.go:183
↓ 7 callers
Method
setN
(Node h)
papers/Sedgewick-RedBlackBST.java:299
↓ 7 callers
Method
setheadsnapshot
(snapshot *snapshot)
bogn/bogn.go:443
↓ 7 callers
Method
setseqno
(seqno uint64)
llrb/node.go:104
↓ 7 callers
Method
snaplock
()
bogn/bogn.go:490
↓ 7 callers
Method
snapunlock
()
bogn/bogn.go:517
↓ 7 callers
Method
unlock
()
llrb/llrb.go:174
↓ 7 callers
Method
unlock
()
llrb/mvcc.go:269
↓ 6 callers
Method
Getseqno
Getseqno return current mutation seqno on write path.
bogn/bogn.go:855
↓ 6 callers
Method
Slabs
Slabs return a list of allocatable slab-sizes.
api/alloc.go:8
↓ 6 callers
Method
View
View start a read only transaction. Structure will be read-locked, no other write operations can be performed, until transaction is committed or abort
llrb/llrb.go:576
↓ 6 callers
Method
addtopurge
(indexes ...api.Index)
bogn/snapshot.go:105
↓ 6 callers
Method
attributes
()
bogn/snapshot.go:408
↓ 6 callers
Method
cleardirty
()
llrb/node.go:148
↓ 6 callers
Method
entryat
( index int)
bubt/snapzblock.go:84
↓ 6 callers
Method
flip
REQUIRE: Left and Right children must be present
llrb/llrb.go:1042
↓ 6 callers
Method
flip
REQUIRE: Left and Right children must be present
llrb/mvcc.go:1381
↓ 6 callers
Method
freeblocks
()
malloc/.freebits.go:61
↓ 6 callers
Method
latestlevel
()
bogn/snapshot.go:127
↓ 6 callers
Method
latestsnapshot
()
bogn/bogn.go:447
↓ 6 callers
Method
lock
()
llrb/llrb.go:169
↓ 6 callers
Method
maxchunksSize
marker is typically 512, 1K, 16K, 128K, 1M, 16M
malloc/arena.go:201
↓ 6 callers
Method
memheap
()
bogn/snapshot.go:172
↓ 6 callers
Function
newfreebits
(cacheline int64, nblocks int64)
malloc/.freebits.go:18
↓ 6 callers
Function
newsnapshot
beginseqno: to detect whether there are any non-durable mutations held by this snapshot.
bogn/snapshot.go:73
↓ 6 callers
Method
release
release implement api.MemoryPool{} interface.
malloc/.pool_fbit.go:99
↓ 6 callers
Method
rotateRight
(Node h)
papers/Sedgewick-RedBlackBST.java:250
↓ 6 callers
Method
set
( key, value []byte, seqno uint64, deleted bool, err error)
llrb/indexentry.go:14
↓ 6 callers
Method
setfields
(valuelen, vlogpos int64, value []byte)
bubt/lazyvalue.go:15
↓ 6 callers
Method
setroot
(root *Llrbnode)
llrb/llrb.go:97
↓ 6 callers
Method
setvalsize
(size int64)
llrb/value.go:21
↓ 6 callers
Function
testgetnext
(t *testing.T, cur api.Cursor, from int, keys, vals []string)
llrb/llrb_test.go:1441
↓ 6 callers
Function
testynext
(t *testing.T, cur api.Cursor, from int, keys, vals []string)
llrb/llrb_test.go:1475
↓ 6 callers
Method
writedata
(data []byte)
bubt/go_buildflush.go:58
↓ 5 callers
Function
AbsInt64
AbsInt64 absolute value of int64 number. Except for -2^63, where returned value will be same as input.
lib/util.go:156
↓ 5 callers
Method
BeginTxn
BeginTxn starts a read-write transaction. Transactions must satisfy ACID properties. Structure will be locked, no other read or write operation can be
llrb/llrb.go:526
↓ 5 callers
Method
BeginTxn
BeginTxn starts a read-write transaction. All transactions should either be committed or aborted. Every transaction holds on to a MVCC snapshot. If tr
llrb/mvcc.go:1063
↓ 5 callers
Function
Computeslabs
Computeslabs generate suitable block-sizes between 0 bytes to 1TB. This is to achieve optimal MEMUtilization.
malloc/util.go:35
↓ 5 callers
Method
Delcursor
Delcursor delete the entry at the cursor.
api/index.go:110
↓ 5 callers
Method
Findfirstset
Findfirstset first bit set in byte.
lib/bit8.go:21
↓ 5 callers
Method
Fullstats
Fullstats includes mean,variance,stddeviance in the Stats().
lib/htgint.go:136
↓ 5 callers
Method
ID
---- Exported Control methods ID is same as the name supplied while creating the LLRB instance.
llrb/llrb.go:750
↓ 5 callers
Method
ID
---- Exported Control methods ID is same as the name supplied while creating the MVCC instance.
llrb/mvcc.go:285
↓ 5 callers
Method
Info
Info implement api.Mallocer{} interface.
malloc/arena.go:146
↓ 5 callers
Function
New
New create a new bogn instance.
bogn/bogn.go:85
↓ 5 callers
Method
Setbit
Setbit set the nth bit and return the new byte.
lib/bit8.go:31
↓ 5 callers
Method
Slabsize
Slabsize return the size of the chunk's slab size.
api/alloc.go:19
↓ 5 callers
Method
Start
Start bogn service. Typically bogn instances are created and started as: inst := NewBogn("storage", setts).Start()
bogn/bogn.go:398
← previous
next →
101–200 of 1,140, ranked by callers