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
↓ 3 callers
Function
parametriseKey
parametriseKey create a new parametric-key with key, params of key fields and vbno. If no parameters are used with key, params can be ZERO, similarly
api/pkey.go:30
↓ 3 callers
Method
prepareread
()
llrb/scanner.go:52
↓ 3 callers
Method
putcursor
(cur *Cursor)
bogn/txn.go:150
↓ 3 callers
Method
putreadbuffer
(b *readbuffers)
bubt/readerpool.go:55
↓ 3 callers
Method
reset
(vlogpos int64, vlog []byte)
bubt/buildzblock.go:46
↓ 3 callers
Method
rotateLeft
(Node h)
papers/Sedgewick-RedBlackBST.java:240
↓ 3 callers
Method
rotateleft
(nd *Llrbnode)
llrb/llrb.go:1009
↓ 3 callers
Method
rotateleft
( nd *Llrbnode, reclaim []*Llrbnode)
llrb/mvcc.go:1336
↓ 3 callers
Method
set
( wsnap *mvccsnapshot, key, value, oldvalue []byte)
llrb/mvcc.go:684
↓ 3 callers
Method
set
( key []byte, lv lazyvalue, seqno uint64, deleted bool, err error)
bubt/indexentry.go:16
↓ 3 callers
Method
setaccess
(access uint64)
llrb/node.go:68
↓ 3 callers
Method
settingsfromdisk
(disk api.Index)
bogn/bogn.go:294
↓ 3 callers
Method
settingstodisk
()
bogn/bogn.go:194
↓ 3 callers
Method
setvlog
()
bubt/zentry.go:37
↓ 3 callers
Method
sizeof
()
malloc/.freebits.go:53
↓ 3 callers
Function
startflusher
( idx int, vsize int64, oldfile, newfile, mode string)
bubt/go_buildflush.go:21
↓ 3 callers
Method
upsertcounts
(key, value []byte, oldnd *Llrbnode)
llrb/llrb.go:143
↓ 3 callers
Method
valsize
()
llrb/value.go:28
↓ 3 callers
Method
vpos
()
bubt/mentry.go:26
↓ 3 callers
Method
walkuprot23
( nd *Llrbnode, reclaim []*Llrbnode)
llrb/mvcc.go:1320
↓ 3 callers
Function
zeropoolblock
(block uintptr, size int64)
malloc/util.go:65
↓ 2 callers
Function
Allocuuid
Allocuuid like Newuuid but allocates a new set of bytes, instead of user supplied.
lib/uuid.go:20
↓ 2 callers
Method
AppendValuelogs
AppendValuelogs builder should use `valuelogs` files instead of creating a new set of value-logs corresponding to each z-index files, vblocksize shoul
bubt/build.go:105
↓ 2 callers
Function
Bytes2str
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.
lib/util.go:98
↓ 2 callers
Function
Defaultsettings
Defaultsettings for bogn instances. Applications can get the default settings and tune settings parameter for desired behaviour. Default settings incl
bogn/config.go:70
↓ 2 callers
Function
FailsafePost
FailsafePost for gen-server design pattern. While posting a message to reqch channel, if i/p channel is full but gen-server has exited or crashed, pre
lib/util.go:71
↓ 2 callers
Method
Getseqno
Getseqno return current seqno on this tree.
llrb/mvcc.go:664
↓ 2 callers
Method
Isdeleted
Isdeleted check whether index node is marked deleted.
api/pkey.go:310
↓ 2 callers
Method
Isdirty
Isdirty check index node is dirty.
api/pkey.go:294
↓ 2 callers
Method
Isred
Isred for llrb node.
api/pkey.go:279
↓ 2 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
llrb/cursor.go:34
↓ 2 callers
Method
Key
Key return entry's key, mutation seqno and whether entry is marked deleted. If entry is last entry, error will be io.EOF.
api/index.go:140
↓ 2 callers
Method
Log
Log vital information
bubt/snapshot.go:323
↓ 2 callers
Method
Logstring
Logstring return Fullstats as loggable string.
lib/htgint.go:153
↓ 2 callers
Method
Mean
Mean return the average value of all samples.
lib/htgint.go:78
↓ 2 callers
Method
Ones
Ones return the count of 1s in this 8-bit value.
lib/bit8.go:36
↓ 2 callers
Function
Parsecsv
Parsecsv convert a string of command seperated value into list of string of values.
lib/util.go:13
↓ 2 callers
Function
Prettystats
Prettystats uses, if pretty is true, json.MarshalIndent instead of json.Marshal. If Marshal return error Prettystats will panic.
lib/util.go:139
↓ 2 callers
Function
Str2bytes
Str2bytes morph string to a byte-slice without copying. Note that the source string should remain in scope as long as byte-slice is in scope.
lib/util.go:109
↓ 2 callers
Method
Togglelink
Togglelink toggle red/black flag to black/red flag in llrb node.
api/pkey.go:269
↓ 2 callers
Method
TombstonePurge
TombstonePurge to enable or disable purging tombstone entries while Building a bubt instance from an iterator.
bubt/build.go:96
↓ 2 callers
Method
Variance
Variance return the squared deviation of a random sample from its mean.
lib/htgint.go:87
↓ 2 callers
Method
YNext
YNext can be used for lsm-sort.
bogn/cursor.go:132
↓ 2 callers
Method
aborttxn
(txn *Txn)
llrb/llrb.go:565
↓ 2 callers
Method
abortview
(view *View)
llrb/llrb.go:586
↓ 2 callers
Method
addtofree
(head *poolflist)
malloc/pool_flist.go:176
↓ 2 callers
Method
appendreclaim
(wsnap *mvccsnapshot, reclaim []*Llrbnode)
llrb/mvcc.go:240
↓ 2 callers
Function
atomicload
TODO: This can be a problem with Big-endian processors.
api/pkey.go:345
↓ 2 callers
Function
atomicstore
TODO: This can be a problem with Big-endian processors.
api/pkey.go:351
↓ 2 callers
Method
cachedget
try caching the entry from this get operation.
bogn/snapshot.go:250
↓ 2 callers
Function
cacher
(bogn *Bogn, mc api.Index, setch, cachech chan *setcache)
bogn/go_cache.go:18
↓ 2 callers
Function
ceil
(divident, divisor int64)
malloc/.freebits.go:134
↓ 2 callers
Method
clearreclaim
()
llrb/node.go:185
↓ 2 callers
Method
commit
rollback will never happen B-)
llrb/llrb.go:537
↓ 2 callers
Method
compareat
( i int, key []byte)
bubt/snapzblock.go:49
↓ 2 callers
Function
createfile
(name string)
bubt/util.go:9
↓ 2 callers
Function
destoryindex
(name, paths string)
bogn/init_test.go:46
↓ 2 callers
Method
destroydisksnaps
( logprefix, logpath, diskstore string, diskpaths []string)
bogn/bogn.go:1524
↓ 2 callers
Method
destroylevels
destroy disk levels.
bogn/bogn.go:1601
↓ 2 callers
Function
dobenchconcur
(b *testing.B, nroutines, repeat int)
malloc/concur_test.go:109
↓ 2 callers
Method
dodelete
(key, oldvalue []byte, lsm bool)
llrb/llrb.go:402
↓ 2 callers
Method
dodelete
( wsnap *mvccsnapshot, key, oldvalue []byte, lsm bool)
llrb/mvcc.go:887
↓ 2 callers
Method
dotdump
(buffer io.Writer)
llrb/node.go:222
↓ 2 callers
Method
enableBornseqno
enableBornseqno parameter for key.
api/pkey.go:190
↓ 2 callers
Method
enableDeadseqno
enableDeadseqno parameter for key.
api/pkey.go:200
↓ 2 callers
Method
enableTxn
enableTxn parameter for key.
api/pkey.go:170
↓ 2 callers
Method
enableUuid
enableUuid parameter for key.
api/pkey.go:210
↓ 2 callers
Method
enableValue
enableValue parameter for key.
api/pkey.go:180
↓ 2 callers
Function
fatalf
(format string, v ...interface{})
bubt/log.go:33
↓ 2 callers
Method
finalizeindex
(index api.Index)
bogn/snapshot.go:278
↓ 2 callers
Method
findinmblock
( key []byte, buf *readbuffers)
bubt/snapshot.go:540
↓ 2 callers
Method
findinzblock
( shardidx byte, fpos int64, key []byte, buf *readbuffers)
bubt/snapshot.go:566
↓ 2 callers
Method
fixup
(nd *Llrbnode)
llrb/llrb.go:1069
↓ 2 callers
Method
fixup
REQUIRE: Left and Right children must be present
llrb/mvcc.go:1424
↓ 2 callers
Method
flushelapsed
()
bogn/bogn.go:551
↓ 2 callers
Method
format4
(out []byte)
lib/uuid.go:62
↓ 2 callers
Method
format6
(out []byte)
lib/uuid.go:56
↓ 2 callers
Method
free
(ptr unsafe.Pointer)
malloc/.pool_fbit.go:77
↓ 2 callers
Method
get
(Key key)
papers/Sedgewick-RedBlackBST.java:67
↓ 2 callers
Method
getflags
()
api/pkey.go:149
↓ 2 callers
Method
getflushunix
(disk api.Index)
bogn/bogn.go:1653
↓ 2 callers
Method
getrecord
()
llrb/txn.go:187
↓ 2 callers
Method
getref
---- local methods
llrb/snapshot.go:115
↓ 2 callers
Method
getroot
()
llrb/snapshot.go:69
↓ 2 callers
Method
gettxn
(id uint64, db, snap interface{})
llrb/common.go:147
↓ 2 callers
Method
getview
(id uint64, db, snap interface{})
llrb/common.go:184
↓ 2 callers
Function
hasfiles
( name string, paths []string, msize uint64, zsizes []uint64)
bubt/build_test.go:1503
↓ 2 callers
Method
heightB
()
papers/Sedgewick-RedBlackBST.java:55
↓ 2 callers
Method
indexfootprint
return actual footprint on disk for index.
bogn/bogn.go:1671
↓ 2 callers
Function
initblock
(block uintptr, size int64)
malloc/util.go:74
↓ 2 callers
Method
initsnapshot
Should be under write-lock.
llrb/snapshot.go:29
↓ 2 callers
Method
inittxns
()
llrb/common.go:139
↓ 2 callers
Method
insert
(key []byte, vpos int64)
bubt/buildmblock.go:55
↓ 2 callers
Method
isBornseqno
isBornseqno check bornseqno parameter for key.
api/pkey.go:195
↓ 2 callers
Method
isDeadseqno
isDeadseqno check deadseqno parameter for key.
api/pkey.go:205
↓ 2 callers
Method
isTxn
isTxn check Txn parameter for key.
api/pkey.go:175
↓ 2 callers
Method
isUuid
isUuid check uuid parameter for key.
api/pkey.go:215
↓ 2 callers
Method
isValue
isValue check value parameter for key.
api/pkey.go:185
↓ 2 callers
Method
latestyget
()
bogn/snapshot.go:182
↓ 2 callers
Function
lockFileEx
( h syscall.Handle, flags, reserved, locklow, lockhigh uint32, ol *syscall.Overlapped)
flock/mutex_windows.go:13
← previous
next →
301–400 of 1,140, ranked by callers