SYMBOL INDEX (1168 symbols across 115 files) FILE: allocate_test.go function TestTx_allocatePageStats (line 10) | func TestTx_allocatePageStats(t *testing.T) { FILE: bolt_aix.go function flock (line 17) | func flock(db *DB, exclusive bool, timeout time.Duration) error { function funlock (line 50) | func funlock(db *DB) error { function mmap (line 60) | func mmap(db *DB, sz int) error { function munmap (line 80) | func munmap(db *DB) error { FILE: bolt_android.go function flock (line 15) | func flock(db *DB, exclusive bool, timeout time.Duration) error { function funlock (line 48) | func funlock(db *DB) error { function mmap (line 58) | func mmap(db *DB, sz int) error { function munmap (line 80) | func munmap(db *DB) error { FILE: bolt_linux.go function fdatasync (line 8) | func fdatasync(db *DB) error { FILE: bolt_openbsd.go function msync (line 7) | func msync(db *DB) error { function fdatasync (line 11) | func fdatasync(db *DB) error { FILE: bolt_solaris.go function flock (line 15) | func flock(db *DB, exclusive bool, timeout time.Duration) error { function funlock (line 48) | func funlock(db *DB) error { function mmap (line 58) | func mmap(db *DB, sz int) error { function munmap (line 78) | func munmap(db *DB) error { FILE: bolt_unix.go function flock (line 18) | func flock(db *DB, exclusive bool, timeout time.Duration) error { function funlock (line 50) | func funlock(db *DB) error { function mmap (line 55) | func mmap(db *DB, sz int) error { function munmap (line 77) | func munmap(db *DB) error { FILE: bolt_windows.go function fdatasync (line 17) | func fdatasync(db *DB) error { function flock (line 22) | func flock(db *DB, exclusive bool, timeout time.Duration) error { function funlock (line 57) | func funlock(db *DB) error { function mmap (line 67) | func mmap(db *DB, sz int) error { function munmap (line 120) | func munmap(db *DB) error { FILE: boltsync_unix.go function fdatasync (line 6) | func fdatasync(db *DB) error { FILE: bucket.go constant MaxKeySize (line 14) | MaxKeySize = 32768 constant MaxValueSize (line 17) | MaxValueSize = (1 << 31) - 2 constant minFillPercent (line 21) | minFillPercent = 0.1 constant maxFillPercent (line 22) | maxFillPercent = 1.0 constant DefaultFillPercent (line 27) | DefaultFillPercent = 0.5 type Bucket (line 30) | type Bucket struct method Tx (line 57) | func (b *Bucket) Tx() *Tx { method Root (line 62) | func (b *Bucket) Root() common.Pgid { method Writable (line 67) | func (b *Bucket) Writable() bool { method Cursor (line 74) | func (b *Bucket) Cursor() *Cursor { method Bucket (line 88) | func (b *Bucket) Bucket(name []byte) *Bucket { method openBucket (line 115) | func (b *Bucket) openBucket(value []byte) *Bucket { method CreateBucket (line 148) | func (b *Bucket) CreateBucket(key []byte) (rb *Bucket, err error) { method CreateBucketIfNotExists (line 205) | func (b *Bucket) CreateBucketIfNotExists(key []byte) (rb *Bucket, err ... method DeleteBucket (line 273) | func (b *Bucket) DeleteBucket(key []byte) (err error) { method MoveBucket (line 336) | func (b *Bucket) MoveBucket(key []byte, dstBucket *Bucket) (err error) { method Inspect (line 406) | func (b *Bucket) Inspect() BucketStructure { method recursivelyInspect (line 410) | func (b *Bucket) recursivelyInspect(name []byte) BucketStructure { method Get (line 433) | func (b *Bucket) Get(key []byte) []byte { method Put (line 452) | func (b *Bucket) Put(key []byte, value []byte) (err error) { method Delete (line 499) | func (b *Bucket) Delete(key []byte) (err error) { method Sequence (line 538) | func (b *Bucket) Sequence() uint64 { method SetSequence (line 543) | func (b *Bucket) SetSequence(v uint64) error { method NextSequence (line 562) | func (b *Bucket) NextSequence() (uint64, error) { method ForEach (line 585) | func (b *Bucket) ForEach(fn func(k, v []byte) error) error { method ForEachBucket (line 598) | func (b *Bucket) ForEachBucket(fn func(k []byte) error) error { method Stats (line 614) | func (b *Bucket) Stats() BucketStats { method forEachPage (line 696) | func (b *Bucket) forEachPage(fn func(*common.Page, int, []common.Pgid)) { method forEachPageNode (line 709) | func (b *Bucket) forEachPageNode(fn func(*common.Page, *node, int)) { method _forEachPageNode (line 718) | func (b *Bucket) _forEachPageNode(pgId common.Pgid, depth int, fn func... method spill (line 742) | func (b *Bucket) spill() error { method inlineable (line 802) | func (b *Bucket) inlineable() bool { method maxInlineBucketSize (line 827) | func (b *Bucket) maxInlineBucketSize() uintptr { method write (line 832) | func (b *Bucket) write() []byte { method rebalance (line 849) | func (b *Bucket) rebalance() { method node (line 859) | func (b *Bucket) node(pgId common.Pgid, parent *node) *node { method free (line 898) | func (b *Bucket) free() { method dereference (line 915) | func (b *Bucket) dereference() { method pageNode (line 927) | func (b *Bucket) pageNode(id common.Pgid) (*common.Page, *node) { function newBucket (line 47) | func newBucket(tx *Tx) Bucket { type BucketStats (line 952) | type BucketStats struct method Add (line 975) | func (s *BucketStats) Add(other BucketStats) { function cloneBytes (line 995) | func cloneBytes(v []byte) []byte { type BucketStructure (line 1001) | type BucketStructure struct FILE: bucket_test.go function TestBucket_Get_NonExistent (line 25) | func TestBucket_Get_NonExistent(t *testing.T) { function TestBucket_Get_FromNode (line 43) | func TestBucket_Get_FromNode(t *testing.T) { function TestBucket_Get_IncompatibleValue (line 64) | func TestBucket_Get_IncompatibleValue(t *testing.T) { function TestBucket_Get_Capacity (line 89) | func TestBucket_Get_Capacity(t *testing.T) { function TestBucket_Put (line 126) | func TestBucket_Put(t *testing.T) { function TestBucket_Put_Repeat (line 148) | func TestBucket_Put_Repeat(t *testing.T) { function TestBucket_Put_Large (line 173) | func TestBucket_Put_Large(t *testing.T) { function TestDB_Put_VeryLarge (line 207) | func TestDB_Put_VeryLarge(t *testing.T) { function TestBucket_Put_IncompatibleValue (line 238) | func TestBucket_Put_IncompatibleValue(t *testing.T) { function TestBucket_Put_Closed (line 260) | func TestBucket_Put_Closed(t *testing.T) { function TestBucket_Put_ReadOnly (line 282) | func TestBucket_Put_ReadOnly(t *testing.T) { function TestBucket_Delete (line 306) | func TestBucket_Delete(t *testing.T) { function TestBucket_Delete_Large (line 330) | func TestBucket_Delete_Large(t *testing.T) { function TestBucket_Delete_FreelistOverflow (line 376) | func TestBucket_Delete_FreelistOverflow(t *testing.T) { function TestBucket_Delete_NonExisting (line 439) | func TestBucket_Delete_NonExisting(t *testing.T) { function TestBucket_Nested (line 471) | func TestBucket_Nested(t *testing.T) { function TestBucket_Delete_Bucket (line 557) | func TestBucket_Delete_Bucket(t *testing.T) { function TestBucket_Delete_ReadOnly (line 577) | func TestBucket_Delete_ReadOnly(t *testing.T) { function TestBucket_Delete_Closed (line 600) | func TestBucket_Delete_Closed(t *testing.T) { function TestBucket_DeleteBucket_Nested (line 622) | func TestBucket_DeleteBucket_Nested(t *testing.T) { function TestBucket_DeleteBucket_Nested2 (line 653) | func TestBucket_DeleteBucket_Nested2(t *testing.T) { function TestBucket_DeleteBucket_Large (line 719) | func TestBucket_DeleteBucket_Large(t *testing.T) { function TestBucket_Bucket_IncompatibleValue (line 754) | func TestBucket_Bucket_IncompatibleValue(t *testing.T) { function TestBucket_CreateBucket_IncompatibleValue (line 776) | func TestBucket_CreateBucket_IncompatibleValue(t *testing.T) { function TestBucket_DeleteBucket_IncompatibleValue (line 797) | func TestBucket_DeleteBucket_IncompatibleValue(t *testing.T) { function TestBucket_Sequence (line 818) | func TestBucket_Sequence(t *testing.T) { function TestBucket_NextSequence (line 859) | func TestBucket_NextSequence(t *testing.T) { function TestBucket_NextSequence_Persist (line 901) | func TestBucket_NextSequence_Persist(t *testing.T) { function TestBucket_NextSequence_ReadOnly (line 936) | func TestBucket_NextSequence_ReadOnly(t *testing.T) { function TestBucket_NextSequence_Closed (line 960) | func TestBucket_NextSequence_Closed(t *testing.T) { function TestBucket_ForEach (line 979) | func TestBucket_ForEach(t *testing.T) { function TestBucket_ForEachBucket (line 1028) | func TestBucket_ForEachBucket(t *testing.T) { function TestBucket_ForEachBucket_NoBuckets (line 1072) | func TestBucket_ForEachBucket_NoBuckets(t *testing.T) { function TestBucket_ForEach_ShortCircuit (line 1110) | func TestBucket_ForEach_ShortCircuit(t *testing.T) { function TestBucket_ForEach_Closed (line 1148) | func TestBucket_ForEach_Closed(t *testing.T) { function TestBucket_Put_EmptyKey (line 1171) | func TestBucket_Put_EmptyKey(t *testing.T) { function TestBucket_Put_KeyTooLarge (line 1192) | func TestBucket_Put_KeyTooLarge(t *testing.T) { function TestBucket_Put_ValueTooLarge (line 1209) | func TestBucket_Put_ValueTooLarge(t *testing.T) { function TestBucket_Stats (line 1232) | func TestBucket_Stats(t *testing.T) { function TestBucket_Stats_RandomFill (line 1340) | func TestBucket_Stats_RandomFill(t *testing.T) { function TestBucket_Stats_Small (line 1407) | func TestBucket_Stats_Small(t *testing.T) { function TestBucket_Stats_EmptyBucket (line 1470) | func TestBucket_Stats_EmptyBucket(t *testing.T) { function TestBucket_Stats_Nested (line 1529) | func TestBucket_Stats_Nested(t *testing.T) { function TestBucket_Inspect (line 1629) | func TestBucket_Inspect(t *testing.T) { function TestBucket_Stats_Large (line 1735) | func TestBucket_Stats_Large(t *testing.T) { function TestBucket_Put_Single (line 1824) | func TestBucket_Put_Single(t *testing.T) { function TestBucket_Put_Multiple (line 1882) | func TestBucket_Put_Multiple(t *testing.T) { function TestBucket_Delete_Quick (line 1935) | func TestBucket_Delete_Quick(t *testing.T) { function BenchmarkBucket_CreateBucketIfNotExists (line 1994) | func BenchmarkBucket_CreateBucketIfNotExists(b *testing.B) { function ExampleBucket_Put (line 2022) | func ExampleBucket_Put() { function ExampleBucket_Delete (line 2065) | func ExampleBucket_Delete() { function ExampleBucket_ForEach (line 2123) | func ExampleBucket_ForEach() { FILE: cmd/bbolt/command/command_bench.go type benchOptions (line 25) | type benchOptions struct method AddFlags (line 46) | func (o *benchOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 67) | func (o *benchOptions) Validate() error { method SetOptionValues (line 94) | func (o *benchOptions) SetOptionValues() error { function newBenchCommand (line 114) | func newBenchCommand() *cobra.Command { function benchFunc (line 136) | func benchFunc(cmd *cobra.Command, options *benchOptions) error { function runWrites (line 195) | func runWrites(cmd *cobra.Command, db *bolt.DB, options *benchOptions, r... function runWritesSequential (line 236) | func runWritesSequential(cmd *cobra.Command, db *bolt.DB, options *bench... function runWritesSequentialAndDelete (line 241) | func runWritesSequentialAndDelete(cmd *cobra.Command, db *bolt.DB, optio... function runWritesRandom (line 246) | func runWritesRandom(cmd *cobra.Command, db *bolt.DB, options *benchOpti... function runWritesSequentialNested (line 250) | func runWritesSequentialNested(cmd *cobra.Command, db *bolt.DB, options ... function runWritesRandomNested (line 255) | func runWritesRandomNested(cmd *cobra.Command, db *bolt.DB, options *ben... function runWritesWithSource (line 259) | func runWritesWithSource(cmd *cobra.Command, db *bolt.DB, options *bench... function runWritesDeletesWithSource (line 297) | func runWritesDeletesWithSource(cmd *cobra.Command, db *bolt.DB, options... function runWritesNestedWithSource (line 344) | func runWritesNestedWithSource(cmd *cobra.Command, db *bolt.DB, options ... function runReads (line 396) | func runReads(cmd *cobra.Command, db *bolt.DB, options *benchOptions, re... type nestedKey (line 439) | type nestedKey struct function runReadsSequential (line 441) | func runReadsSequential(cmd *cobra.Command, db *bolt.DB, options *benchO... function runReadsRandom (line 479) | func runReadsRandom(cmd *cobra.Command, db *bolt.DB, options *benchOptio... function runReadsSequentialNested (line 518) | func runReadsSequentialNested(cmd *cobra.Command, db *bolt.DB, options *... function runReadsRandomNested (line 555) | func runReadsRandomNested(cmd *cobra.Command, db *bolt.DB, options *benc... function checkProgress (line 596) | func checkProgress(results *benchResults, finishChan chan interface{}, s... function startProfiling (line 615) | func startProfiling(cmd *cobra.Command, options *benchOptions) { function stopProfiling (line 653) | func stopProfiling(cmd *cobra.Command) { type benchResults (line 681) | type benchResults struct method addCompletedOps (line 686) | func (r *benchResults) addCompletedOps(amount int64) { method getCompletedOps (line 690) | func (r *benchResults) getCompletedOps() int64 { method setDuration (line 694) | func (r *benchResults) setDuration(dur time.Duration) { method getDuration (line 698) | func (r *benchResults) getDuration() time.Duration { method opDuration (line 703) | func (r *benchResults) opDuration() time.Duration { method opsPerSecond (line 711) | func (r *benchResults) opsPerSecond() int { function printGoBenchResult (line 719) | func printGoBenchResult(w io.Writer, r benchResults, maxLen int, benchNa... FILE: cmd/bbolt/command/command_bench_test.go type safeWriter (line 15) | type safeWriter struct method Write (line 20) | func (w *safeWriter) Write(p []byte) (n int, err error) { method String (line 26) | func (w *safeWriter) String() string { function newSafeWriter (line 32) | func newSafeWriter() *safeWriter { function TestBenchCommand_Run (line 37) | func TestBenchCommand_Run(t *testing.T) { FILE: cmd/bbolt/command/command_buckets.go function newBucketsCommand (line 11) | func newBucketsCommand() *cobra.Command { function bucketsFunc (line 24) | func bucketsFunc(cmd *cobra.Command, dbPath string) error { FILE: cmd/bbolt/command/command_buckets_test.go function TestBucketsCommand_Run (line 16) | func TestBucketsCommand_Run(t *testing.T) { FILE: cmd/bbolt/command/command_check.go type checkOptions (line 13) | type checkOptions struct method AddFlags (line 17) | func (o *checkOptions) AddFlags(fs *pflag.FlagSet) { function newCheckCommand (line 21) | func newCheckCommand() *cobra.Command { function checkFunc (line 36) | func checkFunc(cmd *cobra.Command, dbPath string, cfg checkOptions) error { FILE: cmd/bbolt/command/command_check_test.go function TestCheckCommand_Run (line 15) | func TestCheckCommand_Run(t *testing.T) { FILE: cmd/bbolt/command/command_compact.go type compactOptions (line 14) | type compactOptions struct method AddFlags (line 41) | func (o *compactOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 48) | func (o *compactOptions) Validate(srcPath string) (err error) { method Run (line 56) | func (o *compactOptions) Run(cmd *cobra.Command, srcPath string) (err ... function newCompactCommand (line 20) | func newCompactCommand() *cobra.Command { FILE: cmd/bbolt/command/command_compact_test.go function TestCompactCommand_Run (line 18) | func TestCompactCommand_Run(t *testing.T) { function TestCompactCommand_NoArgs (line 95) | func TestCompactCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_dump.go function newDumpCommand (line 14) | func newDumpCommand() *cobra.Command { function dumpFunc (line 34) | func dumpFunc(cmd *cobra.Command, dbPath string, pageIDs []uint64) (err ... function dumpPage (line 68) | func dumpPage(w io.Writer, r io.ReaderAt, pageID uint64, pageSize uint64... FILE: cmd/bbolt/command/command_dump_test.go function TestDumpCommand_Run (line 17) | func TestDumpCommand_Run(t *testing.T) { function TestDumpCommand_NoArgs (line 38) | func TestDumpCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_get.go type getOptions (line 13) | type getOptions struct method AddFlags (line 56) | func (o *getOptions) AddFlags(fs *pflag.FlagSet) { function newGetCommand (line 18) | func newGetCommand() *cobra.Command { function getFunc (line 62) | func getFunc(cmd *cobra.Command, path string, buckets []string, key []by... FILE: cmd/bbolt/command/command_get_test.go function TestGetCommand_Run (line 18) | func TestGetCommand_Run(t *testing.T) { function TestGetCommand_NoArgs (line 80) | func TestGetCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_info.go function newInfoCommand (line 11) | func newInfoCommand() *cobra.Command { function infoFunc (line 24) | func infoFunc(cmd *cobra.Command, dbPath string) error { FILE: cmd/bbolt/command/command_info_test.go function TestInfoCommand_Run (line 16) | func TestInfoCommand_Run(t *testing.T) { function TestInfoCommand_NoArgs (line 36) | func TestInfoCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_inspect.go function newInspectCommand (line 13) | func newInspectCommand() *cobra.Command { function inspectFunc (line 26) | func inspectFunc(srcDBPath string) error { FILE: cmd/bbolt/command/command_inspect_test.go function TestInspect (line 13) | func TestInspect(t *testing.T) { FILE: cmd/bbolt/command/command_keys.go type keysOptions (line 10) | type keysOptions struct method AddFlags (line 14) | func (o *keysOptions) AddFlags(fs *pflag.FlagSet) { function newKeysCommand (line 18) | func newKeysCommand() *cobra.Command { function keysFunc (line 34) | func keysFunc(cmd *cobra.Command, cfg keysOptions, dbPath string, bucket... FILE: cmd/bbolt/command/command_keys_test.go function TestKeysCommand_Run (line 18) | func TestKeysCommand_Run(t *testing.T) { function TestKeyCommand_NoArgs (line 88) | func TestKeyCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_page.go type getPageOptions (line 14) | type getPageOptions struct method AddFlags (line 42) | func (o *getPageOptions) AddFlags(fs *pflag.FlagSet) { function newPageCommand (line 19) | func newPageCommand() *cobra.Command { function pageFunc (line 47) | func pageFunc(cmd *cobra.Command, cfg getPageOptions, dbPath string, pag... function printPages (line 65) | func printPages(cmd *cobra.Command, pageIDs []uint64, path string, forma... function printPage (line 80) | func printPage(cmd *cobra.Command, path string, pageID uint64, formatVal... function printAllPages (line 117) | func printAllPages(cmd *cobra.Command, path string, formatValue string) { function pagePrintMeta (line 140) | func pagePrintMeta(w io.Writer, buf []byte) error { function pagePrintLeaf (line 147) | func pagePrintLeaf(w io.Writer, buf []byte, formatValue string) error { function pagePrintBranch (line 186) | func pagePrintBranch(w io.Writer, buf []byte) error { function pagePrintFreelist (line 212) | func pagePrintFreelist(w io.Writer, buf []byte) error { FILE: cmd/bbolt/command/command_page_item.go type pageItemOptions (line 16) | type pageItemOptions struct method AddFlags (line 46) | func (o *pageItemOptions) AddFlags(fs *pflag.FlagSet) { function newPageItemCommand (line 22) | func newPageItemCommand() *cobra.Command { function pageItemFunc (line 52) | func pageItemFunc(cmd *cobra.Command, cfg pageItemOptions, dbPath string... function pageItemPrintLeafItemKey (line 83) | func pageItemPrintLeafItemKey(w io.Writer, pageBytes []byte, index uint1... function pageItemPrintLeafItemValue (line 92) | func pageItemPrintLeafItemValue(w io.Writer, pageBytes []byte, index uin... function pageItemLeafPageElement (line 100) | func pageItemLeafPageElement(pageBytes []byte, index uint16) ([]byte, []... FILE: cmd/bbolt/command/command_page_item_test.go function TestPageItemCommand_Run (line 19) | func TestPageItemCommand_Run(t *testing.T) { function TestPageItemCommand_NoArgs (line 100) | func TestPageItemCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_page_test.go function TestPageCommand_Run (line 15) | func TestPageCommand_Run(t *testing.T) { function TestPageCommand_ExclusiveArgs (line 46) | func TestPageCommand_ExclusiveArgs(t *testing.T) { function TestPageCommand_NoArgs (line 93) | func TestPageCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_pages.go type PageError (line 13) | type PageError struct method Error (line 18) | func (e *PageError) Error() string { function newPagesCommand (line 22) | func newPagesCommand() *cobra.Command { function pagesFunc (line 44) | func pagesFunc(cmd *cobra.Command, dbPath string) error { FILE: cmd/bbolt/command/command_pages_test.go function TestPagesCommand_Run (line 18) | func TestPagesCommand_Run(t *testing.T) { function TestPagesCommand_NoArgs (line 55) | func TestPagesCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_root.go constant cliName (line 8) | cliName = "bbolt" constant cliDescription (line 9) | cliDescription = "A simple command line tool for inspecting bbolt databa... function NewRootCommand (line 12) | func NewRootCommand() *cobra.Command { FILE: cmd/bbolt/command/command_stats.go function newStatsCommand (line 13) | func newStatsCommand() *cobra.Command { function statsFunc (line 63) | func statsFunc(cmd *cobra.Command, dbPath string, prefix string) error { FILE: cmd/bbolt/command/command_stats_test.go function TestStatsCommand_Run_EmptyDatabase (line 19) | func TestStatsCommand_Run_EmptyDatabase(t *testing.T) { function TestStatsCommand_Run (line 66) | func TestStatsCommand_Run(t *testing.T) { function TestStatsCommand_NoArgs (line 148) | func TestStatsCommand_NoArgs(t *testing.T) { FILE: cmd/bbolt/command/command_surgery.go function newSurgeryCommand (line 16) | func newSurgeryCommand() *cobra.Command { type surgeryBaseOptions (line 32) | type surgeryBaseOptions struct method AddFlags (line 36) | func (o *surgeryBaseOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 41) | func (o *surgeryBaseOptions) Validate() error { function newSurgeryRevertMetaPageCommand (line 48) | func newSurgeryRevertMetaPageCommand() *cobra.Command { function surgeryRevertMetaPageFunc (line 65) | func surgeryRevertMetaPageFunc(srcDBPath string, cfg surgeryBaseOptions)... type surgeryCopyPageOptions (line 83) | type surgeryCopyPageOptions struct method AddFlags (line 89) | func (o *surgeryCopyPageOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 97) | func (o *surgeryCopyPageOptions) Validate() error { function newSurgeryCopyPageCommand (line 107) | func newSurgeryCopyPageCommand() *cobra.Command { function surgeryCopyPageFunc (line 124) | func surgeryCopyPageFunc(srcDBPath string, cfg surgeryCopyPageOptions) e... type surgeryClearPageOptions (line 150) | type surgeryClearPageOptions struct method AddFlags (line 155) | func (o *surgeryClearPageOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 161) | func (o *surgeryClearPageOptions) Validate() error { function newSurgeryClearPageCommand (line 171) | func newSurgeryClearPageCommand() *cobra.Command { function surgeryClearPageFunc (line 188) | func surgeryClearPageFunc(srcDBPath string, cfg surgeryClearPageOptions)... type surgeryClearPageElementsOptions (line 211) | type surgeryClearPageElementsOptions struct method AddFlags (line 218) | func (o *surgeryClearPageElementsOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 228) | func (o *surgeryClearPageElementsOptions) Validate() error { function newSurgeryClearPageElementsCommand (line 238) | func newSurgeryClearPageElementsCommand() *cobra.Command { function surgeryClearPageElementFunc (line 255) | func surgeryClearPageElementFunc(srcDBPath string, cfg surgeryClearPageE... function readMetaPage (line 278) | func readMetaPage(path string) (*common.Meta, error) { FILE: cmd/bbolt/command/command_surgery_freelist.go function newSurgeryFreelistCommand (line 14) | func newSurgeryFreelistCommand() *cobra.Command { function newSurgeryFreelistAbandonCommand (line 26) | func newSurgeryFreelistAbandonCommand() *cobra.Command { function surgeryFreelistAbandonFunc (line 44) | func surgeryFreelistAbandonFunc(srcDBPath string, cfg surgeryBaseOptions... function newSurgeryFreelistRebuildCommand (line 61) | func newSurgeryFreelistRebuildCommand() *cobra.Command { function surgeryFreelistRebuildFunc (line 79) | func surgeryFreelistRebuildFunc(srcDBPath string, cfg surgeryBaseOptions... FILE: cmd/bbolt/command/command_surgery_freelist_test.go function TestSurgery_Freelist_Abandon (line 16) | func TestSurgery_Freelist_Abandon(t *testing.T) { function TestSurgery_Freelist_Rebuild (line 38) | func TestSurgery_Freelist_Rebuild(t *testing.T) { FILE: cmd/bbolt/command/command_surgery_meta.go constant metaFieldPageSize (line 17) | metaFieldPageSize = "pageSize" constant metaFieldRoot (line 18) | metaFieldRoot = "root" constant metaFieldFreelist (line 19) | metaFieldFreelist = "freelist" constant metaFieldPgid (line 20) | metaFieldPgid = "pgid" function newSurgeryMetaCommand (line 23) | func newSurgeryMetaCommand() *cobra.Command { function newSurgeryMetaValidateCommand (line 35) | func newSurgeryMetaValidateCommand() *cobra.Command { function surgeryMetaValidateFunc (line 47) | func surgeryMetaValidateFunc(srcDBPath string) error { type surgeryMetaUpdateOptions (line 71) | type surgeryMetaUpdateOptions struct method AddFlags (line 87) | func (o *surgeryMetaUpdateOptions) AddFlags(fs *pflag.FlagSet) { method Validate (line 93) | func (o *surgeryMetaUpdateOptions) Validate() error { function newSurgeryMetaUpdateCommand (line 120) | func newSurgeryMetaUpdateCommand() *cobra.Command { function surgeryMetaUpdateFunc (line 137) | func surgeryMetaUpdateFunc(srcDBPath string, cfg surgeryMetaUpdateOption... function parseFields (line 184) | func parseFields(fields []string) map[string]uint64 { function updateMetaField (line 194) | func updateMetaField(m *common.Meta, fields map[string]uint64) bool { function ReadMetaPageAt (line 233) | func ReadMetaPageAt(dbPath string, metaPageId uint32, pageSize uint32) (... function writeMetaPageAt (line 258) | func writeMetaPageAt(dbPath string, buf []byte, metaPageId uint32, pageS... FILE: cmd/bbolt/command/command_surgery_meta_test.go function TestSurgery_Meta_Validate (line 17) | func TestSurgery_Meta_Validate(t *testing.T) { function TestSurgery_Meta_Update (line 37) | func TestSurgery_Meta_Update(t *testing.T) { FILE: cmd/bbolt/command/command_surgery_test.go function TestSurgery_RevertMetaPage (line 19) | func TestSurgery_RevertMetaPage(t *testing.T) { function TestSurgery_CopyPage (line 64) | func TestSurgery_CopyPage(t *testing.T) { function TestSurgery_ClearPage (line 104) | func TestSurgery_ClearPage(t *testing.T) { function TestSurgery_ClearPageElements_Without_Overflow (line 139) | func TestSurgery_ClearPageElements_Without_Overflow(t *testing.T) { function testSurgeryClearPageElementsWithoutOverflow (line 268) | func testSurgeryClearPageElementsWithoutOverflow(t *testing.T, startIdx,... function compareDataAfterClearingElement (line 348) | func compareDataAfterClearingElement(t *testing.T, srcPath, dstPath stri... function TestSurgery_ClearPageElements_With_Overflow (line 381) | func TestSurgery_ClearPageElements_With_Overflow(t *testing.T) { function testSurgeryClearPageElementsWithOverflow (line 487) | func testSurgeryClearPageElementsWithOverflow(t *testing.T, startIdx, en... function TestSurgeryRequiredFlags (line 554) | func TestSurgeryRequiredFlags(t *testing.T) { FILE: cmd/bbolt/command/command_version.go function newVersionCommand (line 12) | func newVersionCommand() *cobra.Command { FILE: cmd/bbolt/command/utils.go function checkSourceDBPath (line 17) | func checkSourceDBPath(srcPath string) (os.FileInfo, error) { constant FORMAT_MODES (line 27) | FORMAT_MODES = "auto|ascii-encoded|hex|bytes|redacted" function formatBytes (line 31) | func formatBytes(b []byte, format string) (string, error) { function parseBytes (line 50) | func parseBytes(str string, format string) ([]byte, error) { function writelnBytes (line 63) | func writelnBytes(w io.Writer, b []byte, format string) error { function isPrintable (line 73) | func isPrintable(s string) bool { function bytesToAsciiOrHex (line 85) | func bytesToAsciiOrHex(b []byte) string { function stringToPage (line 94) | func stringToPage(str string) (uint64, error) { function stringToPages (line 99) | func stringToPages(strs []string) ([]uint64, error) { type cmdKvStringer (line 114) | type cmdKvStringer struct method KeyToString (line 116) | func (cmdKvStringer) KeyToString(key []byte) string { method ValueToString (line 120) | func (cmdKvStringer) ValueToString(value []byte) string { function CmdKvStringer (line 124) | func CmdKvStringer() bolt.KVStringer { function findLastBucket (line 128) | func findLastBucket(tx *bolt.Tx, bucketNames []string) (*bolt.Bucket, er... FILE: cmd/bbolt/command/utils_test.go function loadMetaPage (line 23) | func loadMetaPage(t *testing.T, dbPath string, pageID uint64) *common.Me... function readMetaPage (line 29) | func readMetaPage(t *testing.T, path string) *common.Meta { function readPage (line 37) | func readPage(t *testing.T, path string, pageId int, pageSize int) []byte { function pageDataWithoutPageId (line 54) | func pageDataWithoutPageId(buf []byte) []byte { type ConcurrentBuffer (line 58) | type ConcurrentBuffer struct method Read (line 63) | func (b *ConcurrentBuffer) Read(p []byte) (n int, err error) { method Write (line 70) | func (b *ConcurrentBuffer) Write(p []byte) (n int, err error) { method String (line 77) | func (b *ConcurrentBuffer) String() string { function fillBucket (line 84) | func fillBucket(b *bolt.Bucket, prefix []byte) error { function chkdb (line 116) | func chkdb(path string) ([]byte, error) { function walkBucket (line 134) | func walkBucket(parent *bolt.Bucket, k []byte, v []byte, w io.Writer) er... function dbData (line 151) | func dbData(t *testing.T, filePath string) []byte { function requireDBNoChange (line 157) | func requireDBNoChange(t *testing.T, oldData []byte, filePath string) { function convertInt64IntoBytes (line 165) | func convertInt64IntoBytes(num int64) []byte { function convertInt64KeysIntoHexString (line 171) | func convertInt64KeysIntoHexString(nums ...int64) string { FILE: cmd/bbolt/main.go function main (line 10) | func main() { FILE: compact.go function Compact (line 8) | func Compact(dst, src *DB, txMaxSize int64) error { type walkFunc (line 88) | type walkFunc function walk (line 91) | func walk(db *DB, walkFn walkFunc) error { function walkBucket (line 99) | func walkBucket(b *Bucket, keypath [][]byte, k, v []byte, seq uint64, fn... FILE: concurrent_test.go constant bucketPrefix (line 27) | bucketPrefix = "bucket" constant keyPrefix (line 28) | keyPrefix = "key" constant noopTxKey (line 29) | noopTxKey = "%magic-no-op-key%" constant testConcurrentCaseDuration (line 33) | testConcurrentCaseDuration = "TEST_CONCURRENT_CASE_DURATION" constant defaultConcurrentTestDuration (line 34) | defaultConcurrentTestDuration = 30 * time.Second type duration (line 37) | type duration struct type bytesRange (line 42) | type bytesRange struct type operationChance (line 47) | type operationChance struct type concurrentConfig (line 52) | type concurrentConfig struct function TestConcurrentGenericReadAndWrite (line 70) | func TestConcurrentGenericReadAndWrite(t *testing.T) { function concurrentTestDuration (line 145) | func concurrentTestDuration(t *testing.T) time.Duration { function concurrentReadAndWrite (line 162) | func concurrentReadAndWrite(t *testing.T, function mustCreateDB (line 218) | func mustCreateDB(t *testing.T, o *bolt.Options) *bolt.DB { function mustReOpenDB (line 224) | func mustReOpenDB(t *testing.T, db *bolt.DB, o *bolt.Options) *bolt.DB { function mustOpenDB (line 234) | func mustOpenDB(t *testing.T, dbPath string, o *bolt.Options) *bolt.DB { function checkConsistency (line 253) | func checkConsistency(t *testing.T, db *bolt.DB) error { function runWorkers (line 274) | func runWorkers(t *testing.T, function runWorker (line 321) | func runWorker(t *testing.T, w *worker, errCh chan error) (historyRecord... type worker (line 334) | type worker struct method name (line 346) | func (w *worker) name() string { method run (line 350) | func (w *worker) run() (historyRecords, error) { method pickBucket (line 395) | func (w *worker) pickBucket() []byte { method pickKey (line 404) | func (w *worker) pickKey() []byte { method pickOperation (line 409) | func (w *worker) pickOperation() OperationType { function bucketName (line 399) | func bucketName(index int) []byte { function executeOperation (line 424) | func executeOperation(op OperationType, tx *bolt.Tx, bucket []byte, key ... function executeRead (line 437) | func executeRead(tx *bolt.Tx, bucket []byte, key []byte, readInterval du... function executeWrite (line 465) | func executeWrite(tx *bolt.Tx, bucket []byte, key []byte, writeBytes byt... function executeDelete (line 504) | func executeDelete(tx *bolt.Tx, bucket []byte, key []byte) (historyRecor... function randomDurationInRange (line 522) | func randomDurationInRange(min, max time.Duration) time.Duration { function randomIntInRange (line 528) | func randomIntInRange(min, max int) int { function formatBytes (line 532) | func formatBytes(val []byte) string { function saveDataIfFailed (line 546) | func saveDataIfFailed(t *testing.T, db *bolt.DB, rs historyRecords, forc... function backupDB (line 559) | func backupDB(t *testing.T, srcPath string, dstPath string) { function copyFile (line 567) | func copyFile(srcPath, dstPath string) error { function persistHistoryRecords (line 611) | func persistHistoryRecords(t *testing.T, rs historyRecords, path string) { function testResultsDirectory (line 624) | func testResultsDirectory(t *testing.T) string { type OperationType (line 651) | type OperationType constant Read (line 654) | Read OperationType = "read" constant Write (line 655) | Write OperationType = "write" constant Delete (line 656) | Delete OperationType = "delete" type historyRecord (line 659) | type historyRecord struct type historyRecords (line 667) | type historyRecords method Len (line 669) | func (rs historyRecords) Len() int { method Less (line 673) | func (rs historyRecords) Less(i, j int) bool { method Swap (line 689) | func (rs historyRecords) Swap(i, j int) { function validateIncrementalTxid (line 693) | func validateIncrementalTxid(rs historyRecords) error { function validateSequential (line 706) | func validateSequential(rs historyRecords) error { function TestConcurrentRepeatableRead (line 764) | func TestConcurrentRepeatableRead(t *testing.T) { function executeLongRunningRead (line 930) | func executeLongRunningRead(t *testing.T, name string, db *bolt.DB, buck... FILE: cursor.go type Cursor (line 22) | type Cursor struct method Bucket (line 28) | func (c *Cursor) Bucket() *Bucket { method First (line 35) | func (c *Cursor) First() (key []byte, value []byte) { method first (line 44) | func (c *Cursor) first() (key []byte, value []byte, flags uint32) { method Last (line 66) | func (c *Cursor) Last() (key []byte, value []byte) { method Next (line 95) | func (c *Cursor) Next() (key []byte, value []byte) { method Prev (line 107) | func (c *Cursor) Prev() (key []byte, value []byte) { method Seek (line 120) | func (c *Cursor) Seek(seek []byte) (key []byte, value []byte) { method Delete (line 140) | func (c *Cursor) Delete() error { method seek (line 159) | func (c *Cursor) seek(seek []byte) (key []byte, value []byte, flags ui... method goToFirstElementOnTheStack (line 169) | func (c *Cursor) goToFirstElementOnTheStack() { method last (line 190) | func (c *Cursor) last() { method next (line 215) | func (c *Cursor) next() (key []byte, value []byte, flags uint32) { method prev (line 251) | func (c *Cursor) prev() (key []byte, value []byte, flags uint32) { method search (line 283) | func (c *Cursor) search(key []byte, pgId common.Pgid) { method searchNode (line 304) | func (c *Cursor) searchNode(key []byte, n *node) { method searchPage (line 324) | func (c *Cursor) searchPage(key []byte, p *common.Page) { method nsearch (line 348) | func (c *Cursor) nsearch(key []byte) { method keyValue (line 370) | func (c *Cursor) keyValue() ([]byte, []byte, uint32) { method node (line 390) | func (c *Cursor) node() *node { type elemRef (line 412) | type elemRef struct method isLeaf (line 419) | func (r *elemRef) isLeaf() bool { method count (line 427) | func (r *elemRef) count() int { FILE: cursor_test.go function TestCursor_RepeatOperations (line 25) | func TestCursor_RepeatOperations(t *testing.T) { function testCursorRepeatOperations_PrepareData (line 61) | func testCursorRepeatOperations_PrepareData(t *testing.T, b *bolt.Bucket) { function testRepeatCursorOperations_NextPrevNext (line 70) | func testRepeatCursorOperations_NextPrevNext(t *testing.T, b *bolt.Bucke... function testRepeatCursorOperations_PrevNextPrev (line 111) | func testRepeatCursorOperations_PrevNextPrev(t *testing.T, b *bolt.Bucke... function TestCursor_Bucket (line 153) | func TestCursor_Bucket(t *testing.T) { function TestCursor_Seek (line 170) | func TestCursor_Seek(t *testing.T) { function TestCursor_Delete (line 239) | func TestCursor_Delete(t *testing.T) { function TestCursor_Seek_Large (line 301) | func TestCursor_Seek_Large(t *testing.T) { function TestCursor_EmptyBucket (line 364) | func TestCursor_EmptyBucket(t *testing.T) { function TestCursor_EmptyBucketReverse (line 388) | func TestCursor_EmptyBucketReverse(t *testing.T) { function TestCursor_Iterate_Leaf (line 412) | func TestCursor_Iterate_Leaf(t *testing.T) { function TestCursor_LeafRootReverse (line 482) | func TestCursor_LeafRootReverse(t *testing.T) { function TestCursor_Restart (line 545) | func TestCursor_Restart(t *testing.T) { function TestCursor_First_EmptyPages (line 590) | func TestCursor_First_EmptyPages(t *testing.T) { function TestCursor_Last_EmptyPages (line 636) | func TestCursor_Last_EmptyPages(t *testing.T) { function TestCursor_QuickCheck (line 682) | func TestCursor_QuickCheck(t *testing.T) { function TestCursor_QuickCheck_Reverse (line 740) | func TestCursor_QuickCheck_Reverse(t *testing.T) { function TestCursor_QuickCheck_BucketsOnly (line 797) | func TestCursor_QuickCheck_BucketsOnly(t *testing.T) { function TestCursor_QuickCheck_BucketsOnly_Reverse (line 838) | func TestCursor_QuickCheck_BucketsOnly_Reverse(t *testing.T) { function ExampleCursor (line 878) | func ExampleCursor() { function ExampleCursor_reverse (line 932) | func ExampleCursor_reverse() { FILE: db.go constant flockRetryTimeout (line 19) | flockRetryTimeout = 50 * time.Millisecond type FreelistType (line 22) | type FreelistType constant FreelistArrayType (line 30) | FreelistArrayType = FreelistType("array") constant FreelistMapType (line 32) | FreelistMapType = FreelistType("hashmap") type DB (line 38) | type DB struct method Path (line 160) | func (db *DB) Path() string { method GoString (line 165) | func (db *DB) GoString() string { method String (line 170) | func (db *DB) String() string { method getPageSize (line 332) | func (db *DB) getPageSize() (int, error) { method getPageSizeFromFirstMeta (line 369) | func (db *DB) getPageSizeFromFirstMeta() (int, bool, error) { method getPageSizeFromSecondMeta (line 382) | func (db *DB) getPageSizeFromSecondMeta() (int, bool, error) { method loadFreelist (line 422) | func (db *DB) loadFreelist() { method hasSyncedFreelist (line 438) | func (db *DB) hasSyncedFreelist() bool { method fileSize (line 442) | func (db *DB) fileSize() (int, error) { method mmap (line 456) | func (db *DB) mmap(minsz int) (err error) { method invalidate (line 538) | func (db *DB) invalidate() { method munmap (line 548) | func (db *DB) munmap() error { method mmapSize (line 564) | func (db *DB) mmapSize(size int) (int, error) { method munlock (line 598) | func (db *DB) munlock(fileSize int) error { method mlock (line 608) | func (db *DB) mlock(fileSize int) error { method mrelock (line 618) | func (db *DB) mrelock(fileSizeFrom, fileSizeTo int) error { method init (line 629) | func (db *DB) init() error { method Close (line 677) | func (db *DB) Close() error { method close (line 690) | func (db *DB) close() error { method Begin (line 750) | func (db *DB) Begin(writable bool) (t *Tx, err error) { method Logger (line 768) | func (db *DB) Logger() Logger { method beginTx (line 775) | func (db *DB) beginTx() (*Tx, error) { method beginRWTx (line 822) | func (db *DB) beginRWTx() (*Tx, error) { method removeTx (line 858) | func (db *DB) removeTx(tx *Tx) { method Update (line 888) | func (db *DB) Update(fn func(*Tx) error) error { method View (line 919) | func (db *DB) View(fn func(*Tx) error) error { method Batch (line 963) | func (db *DB) Batch(fn func(*Tx) error) error { method Sync (line 1078) | func (db *DB) Sync() (err error) { method Stats (line 1095) | func (db *DB) Stats() Stats { method Info (line 1107) | func (db *DB) Info() *Info { method page (line 1113) | func (db *DB) page(id common.Pgid) *common.Page { method pageInBuffer (line 1119) | func (db *DB) pageInBuffer(b []byte, id common.Pgid) *common.Page { method meta (line 1124) | func (db *DB) meta() *common.Meta { method allocate (line 1148) | func (db *DB) allocate(txid common.Txid, count int) (*common.Page, err... method grow (line 1186) | func (db *DB) grow(sz int) error { method IsReadOnly (line 1237) | func (db *DB) IsReadOnly() bool { method freepages (line 1241) | func (db *DB) freepages() []common.Pgid { function Open (line 178) | func Open(path string, mode os.FileMode, options *Options) (db *DB, err ... type call (line 988) | type call struct type batch (line 993) | type batch struct method trigger (line 1001) | func (b *batch) trigger() { method run (line 1007) | func (b *batch) run() { type panicked (line 1054) | type panicked struct method Error (line 1058) | func (p panicked) Error() string { function safelyCall (line 1065) | func safelyCall(fn func(*Tx) error, tx *Tx) (err error) { function newFreelist (line 1278) | func newFreelist(freelistType FreelistType) fl.Interface { type Options (line 1286) | type Options struct method String (line 1362) | func (o *Options) String() string { type Stats (line 1381) | type Stats struct method Sub (line 1402) | func (s *Stats) Sub(other *Stats) Stats { type Info (line 1416) | type Info struct FILE: db_test.go constant pageSize (line 31) | pageSize = 4096 constant pageHeaderSize (line 34) | pageHeaderSize = 16 type meta (line 37) | type meta struct function TestOpen (line 50) | func TestOpen(t *testing.T) { function TestOpen_MultipleGoroutines (line 72) | func TestOpen_MultipleGoroutines(t *testing.T) { function TestOpen_ErrPathRequired (line 112) | func TestOpen_ErrPathRequired(t *testing.T) { function TestOpen_ErrNotExists (line 120) | func TestOpen_ErrNotExists(t *testing.T) { function TestOpen_ErrInvalid (line 128) | func TestOpen_ErrInvalid(t *testing.T) { function TestOpen_ErrVersionMismatch (line 149) | func TestOpen_ErrVersionMismatch(t *testing.T) { function TestOpen_ErrChecksum (line 185) | func TestOpen_ErrChecksum(t *testing.T) { function TestOpen_ReadPageSize_FromMeta1_OS (line 222) | func TestOpen_ReadPageSize_FromMeta1_OS(t *testing.T) { function TestOpen_ReadPageSize_FromMeta1_Given (line 249) | func TestOpen_ReadPageSize_FromMeta1_Given(t *testing.T) { function TestOpen_Size (line 282) | func TestOpen_Size(t *testing.T) { function TestOpen_Size_Large (line 331) | func TestOpen_Size_Large(t *testing.T) { function TestOpen_Check (line 397) | func TestOpen_Check(t *testing.T) { function TestOpen_MetaInitWriteError (line 425) | func TestOpen_MetaInitWriteError(t *testing.T) { function TestOpen_FileTooSmall (line 430) | func TestOpen_FileTooSmall(t *testing.T) { function TestDB_Open_InitialMmapSize (line 458) | func TestDB_Open_InitialMmapSize(t *testing.T) { function TestDB_Open_ReadOnly (line 543) | func TestDB_Open_ReadOnly(t *testing.T) { function TestDB_Open_ReadOnly_NoCreate (line 595) | func TestDB_Open_ReadOnly_NoCreate(t *testing.T) { function TestOpen_BigPage (line 603) | func TestOpen_BigPage(t *testing.T) { function TestOpen_RecoverFreeList (line 618) | func TestOpen_RecoverFreeList(t *testing.T) { function TestDB_Begin_ErrDatabaseNotOpen (line 679) | func TestDB_Begin_ErrDatabaseNotOpen(t *testing.T) { function TestDB_BeginRW (line 687) | func TestDB_BeginRW(t *testing.T) { function TestDB_Concurrent_WriteTo_and_ConsistentRead (line 703) | func TestDB_Concurrent_WriteTo_and_ConsistentRead(t *testing.T) { function TestDB_WriteTo_and_Overwrite (line 794) | func TestDB_WriteTo_and_Overwrite(t *testing.T) { function TestDB_BeginRW_Closed (line 900) | func TestDB_BeginRW_Closed(t *testing.T) { function TestDB_Close_PendingTx_RW (line 907) | func TestDB_Close_PendingTx_RW(t *testing.T) { testDB_Close_PendingTx(t,... function TestDB_Close_PendingTx_RO (line 908) | func TestDB_Close_PendingTx_RO(t *testing.T) { testDB_Close_PendingTx(t,... function testDB_Close_PendingTx (line 911) | func testDB_Close_PendingTx(t *testing.T, writable bool) { function TestDB_Update (line 964) | func TestDB_Update(t *testing.T) { function TestDB_Update_Closed (line 999) | func TestDB_Update_Closed(t *testing.T) { function TestDB_Update_ManualCommit (line 1012) | func TestDB_Update_ManualCommit(t *testing.T) { function TestDB_Update_ManualRollback (line 1037) | func TestDB_Update_ManualRollback(t *testing.T) { function TestDB_View_ManualCommit (line 1062) | func TestDB_View_ManualCommit(t *testing.T) { function TestDB_View_ManualRollback (line 1087) | func TestDB_View_ManualRollback(t *testing.T) { function TestDB_Update_Panic (line 1112) | func TestDB_Update_Panic(t *testing.T) { function TestDB_View_Error (line 1155) | func TestDB_View_Error(t *testing.T) { function TestDB_View_Panic (line 1166) | func TestDB_View_Panic(t *testing.T) { function TestDB_Stats (line 1208) | func TestDB_Stats(t *testing.T) { function TestDB_Consistency (line 1228) | func TestDB_Consistency(t *testing.T) { function TestDBStats_Sub (line 1295) | func TestDBStats_Sub(t *testing.T) { function TestDB_Batch (line 1313) | func TestDB_Batch(t *testing.T) { function TestDB_Batch_Panic (line 1357) | func TestDB_Batch_Panic(t *testing.T) { function TestDB_BatchFull (line 1387) | func TestDB_BatchFull(t *testing.T) { function TestDB_BatchTime (line 1445) | func TestDB_BatchTime(t *testing.T) { function TestDBUnmap (line 1493) | func TestDBUnmap(t *testing.T) { function fillDBWithKeys (line 1514) | func fillDBWithKeys(db *btesting.DB, numKeys int) error { function createFilledDB (line 1522) | func createFilledDB(t testing.TB, o *bolt.Options, allocSize int, numKey... function TestDB_MaxSizeNotExceeded (line 1540) | func TestDB_MaxSizeNotExceeded(t *testing.T) { function TestDB_MaxSizeExceededCanOpen (line 1591) | func TestDB_MaxSizeExceededCanOpen(t *testing.T) { function TestDB_MaxSizeExceededCanOpenWithHighMmap (line 1623) | func TestDB_MaxSizeExceededCanOpenWithHighMmap(t *testing.T) { function TestDB_MaxSizeExceededDoesNotGrow (line 1658) | func TestDB_MaxSizeExceededDoesNotGrow(t *testing.T) { function TestDB_HugeValue (line 1686) | func TestDB_HugeValue(t *testing.T) { function ExampleDB_Update (line 1714) | func ExampleDB_Update() { function ExampleDB_View (line 1754) | func ExampleDB_View() { function ExampleDB_Begin (line 1797) | func ExampleDB_Begin() { function BenchmarkDBBatchAutomatic (line 1856) | func BenchmarkDBBatchAutomatic(b *testing.B) { function BenchmarkDBBatchSingle (line 1901) | func BenchmarkDBBatchSingle(b *testing.B) { function BenchmarkDBBatchManual10x100 (line 1944) | func BenchmarkDBBatchManual10x100(b *testing.B) { function validateBatchBench (line 1998) | func validateBatchBench(b *testing.B, db *btesting.DB) { function tempfile (line 2034) | func tempfile() string { function trunc (line 2048) | func trunc(b []byte, length int) []byte { function fileSize (line 2055) | func fileSize(path string) int64 { function u64tob (line 2064) | func u64tob(v uint64) []byte { FILE: db_whitebox_test.go function TestOpenWithPreLoadFreelist (line 13) | func TestOpenWithPreLoadFreelist(t *testing.T) { function TestMethodPage (line 58) | func TestMethodPage(t *testing.T) { function prepareData (line 115) | func prepareData(t *testing.T) (string, error) { FILE: internal/btesting/btesting.go constant TestFreelistType (line 22) | TestFreelistType = "TEST_FREELIST_TYPE" constant TestEnableStrictMode (line 24) | TestEnableStrictMode = "TEST_ENABLE_STRICT_MODE" type DB (line 28) | type DB struct method PostTestCleanup (line 81) | func (db *DB) PostTestCleanup() { method Close (line 90) | func (db *DB) Close() error { method MustClose (line 107) | func (db *DB) MustClose() { method MustDeleteFile (line 112) | func (db *DB) MustDeleteFile() { method SetOptions (line 117) | func (db *DB) SetOptions(o *bolt.Options) { method MustReopen (line 122) | func (db *DB) MustReopen() { method MustCheck (line 134) | func (db *DB) MustCheck() { method Fill (line 170) | func (db *DB) Fill(bucket []byte, numTx int, numKeysPerTx int, method Path (line 190) | func (db *DB) Path() string { method CopyTempFile (line 195) | func (db *DB) CopyTempFile() { method PrintStats (line 205) | func (db *DB) PrintStats() { method strictModeEnabledDefault (line 223) | func (db *DB) strictModeEnabledDefault() { method ForceDisableStrictMode (line 228) | func (db *DB) ForceDisableStrictMode() { function MustCreateDB (line 36) | func MustCreateDB(t testing.TB) *DB { function MustCreateDBWithOption (line 41) | func MustCreateDBWithOption(t testing.TB, o *bolt.Options) *DB { function MustOpenDBWithOption (line 46) | func MustOpenDBWithOption(t testing.TB, f string, o *bolt.Options) *DB { function OpenDBWithOption (line 53) | func OpenDBWithOption(t testing.TB, f string, o *bolt.Options) (*DB, err... function truncDuration (line 219) | func truncDuration(d time.Duration) string { FILE: internal/common/bolt_386.go constant MaxMapSize (line 4) | MaxMapSize = 0x7FFFFFFF constant MaxAllocSize (line 7) | MaxAllocSize = 0xFFFFFFF FILE: internal/common/bolt_amd64.go constant MaxMapSize (line 4) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 7) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_arm.go constant MaxMapSize (line 4) | MaxMapSize = 0x7FFFFFFF constant MaxAllocSize (line 7) | MaxAllocSize = 0xFFFFFFF FILE: internal/common/bolt_arm64.go constant MaxMapSize (line 6) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_loong64.go constant MaxMapSize (line 6) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_mips64x.go constant MaxMapSize (line 6) | MaxMapSize = 0x8000000000 constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_mipsx.go constant MaxMapSize (line 6) | MaxMapSize = 0x40000000 constant MaxAllocSize (line 9) | MaxAllocSize = 0xFFFFFFF FILE: internal/common/bolt_ppc.go constant MaxMapSize (line 6) | MaxMapSize = 0x7FFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0xFFFFFFF FILE: internal/common/bolt_ppc64.go constant MaxMapSize (line 6) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_ppc64le.go constant MaxMapSize (line 6) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_riscv64.go constant MaxMapSize (line 6) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bolt_s390x.go constant MaxMapSize (line 6) | MaxMapSize = 0xFFFFFFFFFFFF constant MaxAllocSize (line 9) | MaxAllocSize = 0x7FFFFFFF FILE: internal/common/bucket.go constant BucketHeaderSize (line 8) | BucketHeaderSize = int(unsafe.Sizeof(InBucket{})) type InBucket (line 14) | type InBucket struct method RootPage (line 26) | func (b *InBucket) RootPage() Pgid { method SetRootPage (line 30) | func (b *InBucket) SetRootPage(id Pgid) { method InSequence (line 36) | func (b *InBucket) InSequence() uint64 { method SetInSequence (line 40) | func (b *InBucket) SetInSequence(v uint64) { method IncSequence (line 44) | func (b *InBucket) IncSequence() { method InlinePage (line 48) | func (b *InBucket) InlinePage(v []byte) *Page { method String (line 52) | func (b *InBucket) String() string { function NewInBucket (line 19) | func NewInBucket(root Pgid, seq uint64) InBucket { FILE: internal/common/inode.go type Inode (line 8) | type Inode struct method Flags (line 17) | func (in *Inode) Flags() uint32 { method SetFlags (line 21) | func (in *Inode) SetFlags(flags uint32) { method Pgid (line 25) | func (in *Inode) Pgid() Pgid { method SetPgid (line 29) | func (in *Inode) SetPgid(id Pgid) { method Key (line 33) | func (in *Inode) Key() []byte { method SetKey (line 37) | func (in *Inode) SetKey(key []byte) { method Value (line 41) | func (in *Inode) Value() []byte { method SetValue (line 45) | func (in *Inode) SetValue(value []byte) { type Inodes (line 15) | type Inodes function ReadInodeFromPage (line 49) | func ReadInodeFromPage(p *Page) Inodes { function WriteInodeToPage (line 70) | func WriteInodeToPage(inodes Inodes, p *Page) uint32 { function UsedSpaceInPage (line 107) | func UsedSpaceInPage(inodes Inodes, p *Page) uint32 { FILE: internal/common/meta.go type Meta (line 12) | type Meta struct method Validate (line 25) | func (m *Meta) Validate() error { method Copy (line 37) | func (m *Meta) Copy(dest *Meta) { method Write (line 42) | func (m *Meta) Write(p *Page) { method Sum64 (line 61) | func (m *Meta) Sum64() uint64 { method Magic (line 67) | func (m *Meta) Magic() uint32 { method SetMagic (line 71) | func (m *Meta) SetMagic(v uint32) { method Version (line 75) | func (m *Meta) Version() uint32 { method SetVersion (line 79) | func (m *Meta) SetVersion(v uint32) { method PageSize (line 83) | func (m *Meta) PageSize() uint32 { method SetPageSize (line 87) | func (m *Meta) SetPageSize(v uint32) { method Flags (line 91) | func (m *Meta) Flags() uint32 { method SetFlags (line 95) | func (m *Meta) SetFlags(v uint32) { method SetRootBucket (line 99) | func (m *Meta) SetRootBucket(b InBucket) { method RootBucket (line 103) | func (m *Meta) RootBucket() *InBucket { method Freelist (line 107) | func (m *Meta) Freelist() Pgid { method SetFreelist (line 111) | func (m *Meta) SetFreelist(v Pgid) { method IsFreelistPersisted (line 115) | func (m *Meta) IsFreelistPersisted() bool { method Pgid (line 119) | func (m *Meta) Pgid() Pgid { method SetPgid (line 123) | func (m *Meta) SetPgid(id Pgid) { method Txid (line 127) | func (m *Meta) Txid() Txid { method SetTxid (line 131) | func (m *Meta) SetTxid(id Txid) { method IncTxid (line 135) | func (m *Meta) IncTxid() { method DecTxid (line 139) | func (m *Meta) DecTxid() { method Checksum (line 143) | func (m *Meta) Checksum() uint64 { method SetChecksum (line 147) | func (m *Meta) SetChecksum(v uint64) { method Print (line 151) | func (m *Meta) Print(w io.Writer) { FILE: internal/common/page.go constant PageHeaderSize (line 10) | PageHeaderSize = unsafe.Sizeof(Page{}) constant MinKeysPerPage (line 12) | MinKeysPerPage = 2 constant BranchPageElementSize (line 14) | BranchPageElementSize = unsafe.Sizeof(branchPageElement{}) constant LeafPageElementSize (line 15) | LeafPageElementSize = unsafe.Sizeof(leafPageElement{}) constant pgidSize (line 16) | pgidSize = unsafe.Sizeof(Pgid(0)) constant BranchPageFlag (line 19) | BranchPageFlag = 0x01 constant LeafPageFlag (line 20) | LeafPageFlag = 0x02 constant MetaPageFlag (line 21) | MetaPageFlag = 0x04 constant FreelistPageFlag (line 22) | FreelistPageFlag = 0x10 constant BucketLeafFlag (line 26) | BucketLeafFlag = 0x01 type Pgid (line 29) | type Pgid type Page (line 31) | type Page struct method Typ (line 48) | func (p *Page) Typ() string { method IsBranchPage (line 61) | func (p *Page) IsBranchPage() bool { method IsLeafPage (line 65) | func (p *Page) IsLeafPage() bool { method IsMetaPage (line 69) | func (p *Page) IsMetaPage() bool { method IsFreelistPage (line 73) | func (p *Page) IsFreelistPage() bool { method Meta (line 78) | func (p *Page) Meta() *Meta { method FastCheck (line 82) | func (p *Page) FastCheck(id Pgid) { method LeafPageElement (line 93) | func (p *Page) LeafPageElement(index uint16) *leafPageElement { method LeafPageElements (line 99) | func (p *Page) LeafPageElements() []leafPageElement { method BranchPageElement (line 109) | func (p *Page) BranchPageElement(index uint16) *branchPageElement { method BranchPageElements (line 115) | func (p *Page) BranchPageElements() []branchPageElement { method FreelistPageCount (line 124) | func (p *Page) FreelistPageCount() (int, int) { method FreelistPageIds (line 142) | func (p *Page) FreelistPageIds() []Pgid { method hexdump (line 158) | func (p *Page) hexdump(n int) { method PageElementSize (line 163) | func (p *Page) PageElementSize() uintptr { method Id (line 170) | func (p *Page) Id() Pgid { method SetId (line 174) | func (p *Page) SetId(target Pgid) { method Flags (line 178) | func (p *Page) Flags() uint16 { method SetFlags (line 182) | func (p *Page) SetFlags(v uint16) { method Count (line 186) | func (p *Page) Count() uint16 { method SetCount (line 190) | func (p *Page) SetCount(target uint16) { method Overflow (line 194) | func (p *Page) Overflow() uint32 { method SetOverflow (line 198) | func (p *Page) SetOverflow(target uint32) { method String (line 202) | func (p *Page) String() string { function NewPage (line 38) | func NewPage(id Pgid, flags, count uint16, overflow uint32) *Page { type Pages (line 206) | type Pages method Len (line 208) | func (s Pages) Len() int { return len(s) } method Swap (line 209) | func (s Pages) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 210) | func (s Pages) Less(i, j int) bool { return s[i].id < s[j].id } type branchPageElement (line 213) | type branchPageElement struct method Pos (line 219) | func (n *branchPageElement) Pos() uint32 { method SetPos (line 223) | func (n *branchPageElement) SetPos(v uint32) { method Ksize (line 227) | func (n *branchPageElement) Ksize() uint32 { method SetKsize (line 231) | func (n *branchPageElement) SetKsize(v uint32) { method Pgid (line 235) | func (n *branchPageElement) Pgid() Pgid { method SetPgid (line 239) | func (n *branchPageElement) SetPgid(v Pgid) { method Key (line 244) | func (n *branchPageElement) Key() []byte { type leafPageElement (line 249) | type leafPageElement struct method Flags (line 265) | func (n *leafPageElement) Flags() uint32 { method SetFlags (line 269) | func (n *leafPageElement) SetFlags(v uint32) { method Pos (line 273) | func (n *leafPageElement) Pos() uint32 { method SetPos (line 277) | func (n *leafPageElement) SetPos(v uint32) { method Ksize (line 281) | func (n *leafPageElement) Ksize() uint32 { method SetKsize (line 285) | func (n *leafPageElement) SetKsize(v uint32) { method Vsize (line 289) | func (n *leafPageElement) Vsize() uint32 { method SetVsize (line 293) | func (n *leafPageElement) SetVsize(v uint32) { method Key (line 298) | func (n *leafPageElement) Key() []byte { method Value (line 305) | func (n *leafPageElement) Value() []byte { method IsBucketEntry (line 311) | func (n *leafPageElement) IsBucketEntry() bool { method Bucket (line 315) | func (n *leafPageElement) Bucket() *InBucket { function NewLeafPageElement (line 256) | func NewLeafPageElement(flags, pos, ksize, vsize uint32) *leafPageElement { type PageInfo (line 324) | type PageInfo struct type Pgids (line 331) | type Pgids method Len (line 333) | func (s Pgids) Len() int { return len(s) } method Swap (line 334) | func (s Pgids) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 335) | func (s Pgids) Less(i, j int) bool { return s[i] < s[j] } method Merge (line 338) | func (s Pgids) Merge(b Pgids) Pgids { function Mergepgids (line 353) | func Mergepgids(dst, a, b Pgids) { FILE: internal/common/page_test.go function TestPage_typ (line 11) | func TestPage_typ(t *testing.T) { function TestPage_dump (line 30) | func TestPage_dump(t *testing.T) { function TestPgids_merge (line 34) | func TestPgids_merge(t *testing.T) { function TestPgids_merge_quick (line 50) | func TestPgids_merge_quick(t *testing.T) { FILE: internal/common/types.go constant MaxMmapStep (line 10) | MaxMmapStep = 1 << 30 constant Version (line 13) | Version uint32 = 2 constant Magic (line 16) | Magic uint32 = 0xED0CDAED constant PgidNoFreelist (line 18) | PgidNoFreelist Pgid = 0xffffffffffffffff constant IgnoreNoSync (line 24) | IgnoreNoSync = runtime.GOOS == "openbsd" constant DefaultMaxBatchSize (line 28) | DefaultMaxBatchSize int = 1000 constant DefaultMaxBatchDelay (line 29) | DefaultMaxBatchDelay = 10 * time.Millisecond constant DefaultAllocSize (line 30) | DefaultAllocSize = 16 * 1024 * 1024 type Txid (line 37) | type Txid FILE: internal/common/unsafe.go function UnsafeAdd (line 7) | func UnsafeAdd(base unsafe.Pointer, offset uintptr) unsafe.Pointer { function UnsafeIndex (line 11) | func UnsafeIndex(base unsafe.Pointer, offset uintptr, elemsz uintptr, n ... function UnsafeByteSlice (line 15) | func UnsafeByteSlice(base unsafe.Pointer, offset uintptr, i, j int) []by... FILE: internal/common/utils.go function LoadBucket (line 10) | func LoadBucket(buf []byte) *InBucket { function LoadPage (line 14) | func LoadPage(buf []byte) *Page { function LoadPageMeta (line 18) | func LoadPageMeta(buf []byte) *Meta { function CopyFile (line 22) | func CopyFile(srcPath, dstPath string) error { FILE: internal/common/verify.go constant ENV_VERIFY (line 10) | ENV_VERIFY = "BBOLT_VERIFY" type VerificationType (line 12) | type VerificationType constant ENV_VERIFY_VALUE_ALL (line 15) | ENV_VERIFY_VALUE_ALL VerificationType = "all" constant ENV_VERIFY_VALUE_ASSERT (line 16) | ENV_VERIFY_VALUE_ASSERT VerificationType = "assert" function getEnvVerify (line 19) | func getEnvVerify() string { function IsVerificationEnabled (line 23) | func IsVerificationEnabled(verification VerificationType) bool { function EnableVerifications (line 30) | func EnableVerifications(verification VerificationType) func() { function EnableAllVerifications (line 40) | func EnableAllVerifications() func() { function DisableVerifications (line 46) | func DisableVerifications() func() { function Verify (line 56) | func Verify(f func()) { function Assert (line 63) | func Assert(condition bool, msg string, v ...any) { FILE: internal/freelist/array.go type array (line 10) | type array struct method Init (line 16) | func (f *array) Init(ids common.Pgids) { method Allocate (line 21) | func (f *array) Allocate(txid common.Txid, n int) common.Pgid { method FreeCount (line 63) | func (f *array) FreeCount() int { method freePageIds (line 67) | func (f *array) freePageIds() common.Pgids { method mergeSpans (line 71) | func (f *array) mergeSpans(ids common.Pgids) { function NewArrayFreelist (line 101) | func NewArrayFreelist() Interface { FILE: internal/freelist/array_test.go function TestFreelistArray_allocate (line 13) | func TestFreelistArray_allocate(t *testing.T) { function TestInvalidArrayAllocation (line 56) | func TestInvalidArrayAllocation(t *testing.T) { function Test_Freelist_Array_Rollback (line 66) | func Test_Freelist_Array_Rollback(t *testing.T) { function newTestArrayFreelist (line 88) | func newTestArrayFreelist() *array { FILE: internal/freelist/freelist.go type ReadWriter (line 7) | type ReadWriter interface type Interface (line 19) | type Interface interface FILE: internal/freelist/freelist_test.go constant TestFreelistType (line 21) | TestFreelistType = "TEST_FREELIST_TYPE" function TestFreelist_free (line 24) | func TestFreelist_free(t *testing.T) { function TestFreelist_free_overflow (line 33) | func TestFreelist_free_overflow(t *testing.T) { function TestFreelist_free_double_free_panics (line 42) | func TestFreelist_free_double_free_panics(t *testing.T) { function TestFreelist_free_meta_panics (line 51) | func TestFreelist_free_meta_panics(t *testing.T) { function TestFreelist_free_freelist (line 61) | func TestFreelist_free_freelist(t *testing.T) { function TestFreelist_free_freelist_alloctx (line 69) | func TestFreelist_free_freelist_alloctx(t *testing.T) { function TestFreelist_release (line 91) | func TestFreelist_release(t *testing.T) { function TestFreelist_releaseRange (line 109) | func TestFreelist_releaseRange(t *testing.T) { function TestFreeList_init (line 237) | func TestFreeList_init(t *testing.T) { function TestFreeList_reload (line 255) | func TestFreeList_reload(t *testing.T) { function TestTxidSorting (line 277) | func TestTxidSorting(t *testing.T) { function TestFreelist_read (line 301) | func TestFreelist_read(t *testing.T) { function TestFreelist_read_panics (line 324) | func TestFreelist_read_panics(t *testing.T) { function TestFreelist_write (line 336) | func TestFreelist_write(t *testing.T) { function TestFreelist_E2E_HappyPath (line 358) | func TestFreelist_E2E_HappyPath(t *testing.T) { function TestFreelist_E2E_MultiSpanOverflows (line 394) | func TestFreelist_E2E_MultiSpanOverflows(t *testing.T) { function TestFreelist_E2E_Rollbacks (line 419) | func TestFreelist_E2E_Rollbacks(t *testing.T) { function TestFreelist_E2E_RollbackPanics (line 437) | func TestFreelist_E2E_RollbackPanics(t *testing.T) { function TestFreelist_E2E_Reload (line 451) | func TestFreelist_E2E_Reload(t *testing.T) { function TestFreelist_E2E_SerDe_HappyPath (line 487) | func TestFreelist_E2E_SerDe_HappyPath(t *testing.T) { function TestFreelist_E2E_SerDe_AcrossImplementations (line 511) | func TestFreelist_E2E_SerDe_AcrossImplementations(t *testing.T) { function requirePages (line 541) | func requirePages(t *testing.T, f Interface, freePageIds common.Pgids, p... function allPendingPages (line 559) | func allPendingPages(p map[common.Txid]*txPending) common.Pgids { function Benchmark_FreelistRelease10K (line 568) | func Benchmark_FreelistRelease10K(b *testing.B) { benchmark_FreelistR... function Benchmark_FreelistRelease100K (line 569) | func Benchmark_FreelistRelease100K(b *testing.B) { benchmark_FreelistR... function Benchmark_FreelistRelease1000K (line 570) | func Benchmark_FreelistRelease1000K(b *testing.B) { benchmark_FreelistR... function Benchmark_FreelistRelease10000K (line 571) | func Benchmark_FreelistRelease10000K(b *testing.B) { benchmark_FreelistR... function benchmark_FreelistRelease (line 573) | func benchmark_FreelistRelease(b *testing.B, size int) { function randomPgids (line 586) | func randomPgids(n int) []common.Pgid { function Test_freelist_ReadIDs_and_getFreePageIDs (line 595) | func Test_freelist_ReadIDs_and_getFreePageIDs(t *testing.T) { function newTestFreelist (line 616) | func newTestFreelist() Interface { FILE: internal/freelist/hashmap.go type pidSet (line 12) | type pidSet type hashMap (line 14) | type hashMap struct method Init (line 23) | func (f *hashMap) Init(pgids common.Pgids) { method Allocate (line 61) | func (f *hashMap) Allocate(txid common.Txid, n int) common.Pgid { method FreeCount (line 108) | func (f *hashMap) FreeCount() int { method freePageIds (line 117) | func (f *hashMap) freePageIds() common.Pgids { method hashmapFreeCountSlow (line 142) | func (f *hashMap) hashmapFreeCountSlow() int { method addSpan (line 150) | func (f *hashMap) addSpan(start common.Pgid, size uint64) { method delSpan (line 161) | func (f *hashMap) delSpan(start common.Pgid, size uint64) { method mergeSpans (line 171) | func (f *hashMap) mergeSpans(ids common.Pgids) { method mergeWithExistingSpan (line 206) | func (f *hashMap) mergeWithExistingSpan(pid common.Pgid) { method idsFromFreemaps (line 235) | func (f *hashMap) idsFromFreemaps() map[common.Pgid]struct{} { method idsFromForwardMap (line 253) | func (f *hashMap) idsFromForwardMap() map[common.Pgid]struct{} { method idsFromBackwardMap (line 269) | func (f *hashMap) idsFromBackwardMap() map[common.Pgid]struct{} { function NewHashMapFreelist (line 283) | func NewHashMapFreelist() Interface { FILE: internal/freelist/hashmap_test.go function TestFreelistHashmap_init_panics (line 14) | func TestFreelistHashmap_init_panics(t *testing.T) { function TestFreelistHashmap_allocate (line 22) | func TestFreelistHashmap_allocate(t *testing.T) { function TestFreelistHashmap_mergeWithExist (line 48) | func TestFreelistHashmap_mergeWithExist(t *testing.T) { function TestFreelistHashmap_GetFreePageIDs (line 119) | func TestFreelistHashmap_GetFreePageIDs(t *testing.T) { function Test_Freelist_Hashmap_Rollback (line 141) | func Test_Freelist_Hashmap_Rollback(t *testing.T) { function Benchmark_freelist_hashmapGetFreePageIDs (line 163) | func Benchmark_freelist_hashmapGetFreePageIDs(b *testing.B) { function newTestHashMapFreelist (line 184) | func newTestHashMapFreelist() *hashMap { FILE: internal/freelist/shared.go type txPending (line 12) | type txPending struct type shared (line 18) | type shared struct method pendingPageIds (line 35) | func (t *shared) pendingPageIds() map[common.Txid]*txPending { method PendingCount (line 39) | func (t *shared) PendingCount() int { method Count (line 47) | func (t *shared) Count() int { method Freed (line 51) | func (t *shared) Freed(pgId common.Pgid) bool { method Free (line 56) | func (t *shared) Free(txid common.Txid, p *common.Page) { method Rollback (line 89) | func (t *shared) Rollback(txid common.Txid) { method AddReadonlyTXID (line 120) | func (t *shared) AddReadonlyTXID(tid common.Txid) { method RemoveReadonlyTXID (line 124) | func (t *shared) RemoveReadonlyTXID(tid common.Txid) { method ReleasePendingPages (line 141) | func (t *shared) ReleasePendingPages() { method release (line 160) | func (t *shared) release(txid common.Txid) { method releaseRange (line 173) | func (t *shared) releaseRange(begin, end common.Txid) { method Copyall (line 207) | func (t *shared) Copyall(dst []common.Pgid) { method Reload (line 216) | func (t *shared) Reload(p *common.Page) { method NoSyncReload (line 221) | func (t *shared) NoSyncReload(pgIds common.Pgids) { method reindex (line 243) | func (t *shared) reindex() { method Read (line 257) | func (t *shared) Read(p *common.Page) { method EstimatedWritePageSize (line 278) | func (t *shared) EstimatedWritePageSize() int { method Write (line 287) | func (t *shared) Write(p *common.Page) { function newShared (line 27) | func newShared() *shared { type txIDx (line 135) | type txIDx method Len (line 137) | func (t txIDx) Len() int { return len(t) } method Swap (line 138) | func (t txIDx) Swap(i, j int) { t[i], t[j] = t[j], t[i] } method Less (line 139) | func (t txIDx) Less(i, j int) bool { return t[i] < t[j] } FILE: internal/guts_cli/guts_cli.go function ReadPage (line 21) | func ReadPage(path string, pageID uint64) (*common.Page, []byte, error) { function WritePage (line 72) | func WritePage(path string, pageBuf []byte) error { function ReadPageAndHWMSize (line 93) | func ReadPageAndHWMSize(path string) (uint64, common.Pgid, error) { function GetRootPage (line 116) | func GetRootPage(path string) (root common.Pgid, activeMeta common.Pgid,... function GetActiveMetaPage (line 125) | func GetActiveMetaPage(path string) (*common.Meta, common.Pgid, error) { FILE: internal/surgeon/surgeon.go function CopyPage (line 10) | func CopyPage(path string, srcPage common.Pgid, target common.Pgid) error { function ClearPage (line 19) | func ClearPage(path string, pgId common.Pgid) (bool, error) { function ClearPageElements (line 36) | func ClearPageElements(path string, pgId common.Pgid, start, end int, ab... function ClearFreelist (line 115) | func ClearFreelist(path string) error { function clearFreelistInMetaPage (line 125) | func clearFreelistInMetaPage(path string, pageId uint64) error { function RevertMetaPage (line 146) | func RevertMetaPage(path string) error { FILE: internal/surgeon/surgeon_test.go function TestRevertMetaPage (line 14) | func TestRevertMetaPage(t *testing.T) { FILE: internal/surgeon/xray.go type XRay (line 16) | type XRay struct method traverse (line 24) | func (n XRay) traverse(stack []common.Pgid, callback func(page *common... method FindPathsToKey (line 77) | func (n XRay) FindPathsToKey(key []byte) ([][]common.Pgid, error) { function NewXRay (line 20) | func NewXRay(path string) XRay { FILE: internal/surgeon/xray_test.go function TestFindPathsToKey (line 16) | func TestFindPathsToKey(t *testing.T) { function TestFindPathsToKey_Bucket (line 37) | func TestFindPathsToKey_Bucket(t *testing.T) { FILE: internal/tests/tx_check_test.go function TestTx_RecursivelyCheckPages_MisplacedPage (line 15) | func TestTx_RecursivelyCheckPages_MisplacedPage(t *testing.T) { function TestTx_RecursivelyCheckPages_CorruptedLeaf (line 54) | func TestTx_RecursivelyCheckPages_CorruptedLeaf(t *testing.T) { FILE: logger.go type Logger (line 11) | type Logger interface function getDiscardLogger (line 31) | func getDiscardLogger() Logger { constant calldepth (line 40) | calldepth = 2 type DefaultLogger (line 44) | type DefaultLogger struct method EnableTimestamps (line 49) | func (l *DefaultLogger) EnableTimestamps() { method EnableDebug (line 53) | func (l *DefaultLogger) EnableDebug() { method Debug (line 57) | func (l *DefaultLogger) Debug(v ...interface{}) { method Debugf (line 63) | func (l *DefaultLogger) Debugf(format string, v ...interface{}) { method Info (line 69) | func (l *DefaultLogger) Info(v ...interface{}) { method Infof (line 73) | func (l *DefaultLogger) Infof(format string, v ...interface{}) { method Error (line 77) | func (l *DefaultLogger) Error(v ...interface{}) { method Errorf (line 81) | func (l *DefaultLogger) Errorf(format string, v ...interface{}) { method Warning (line 85) | func (l *DefaultLogger) Warning(v ...interface{}) { method Warningf (line 89) | func (l *DefaultLogger) Warningf(format string, v ...interface{}) { method Fatal (line 93) | func (l *DefaultLogger) Fatal(v ...interface{}) { method Fatalf (line 98) | func (l *DefaultLogger) Fatalf(format string, v ...interface{}) { method Panic (line 103) | func (l *DefaultLogger) Panic(v ...interface{}) { method Panicf (line 107) | func (l *DefaultLogger) Panicf(format string, v ...interface{}) { function header (line 111) | func header(lvl, msg string) string { FILE: manydbs_test.go function createDb (line 11) | func createDb(t *testing.T) (*DB, func()) { function createAndPutKeys (line 33) | func createAndPutKeys(t *testing.T) { function TestManyDBs (line 65) | func TestManyDBs(t *testing.T) { FILE: mlock_unix.go function mlock (line 8) | func mlock(db *DB, fileSize int) error { function munlock (line 21) | func munlock(db *DB, fileSize int) error { FILE: mlock_windows.go function mlock (line 4) | func mlock(_ *DB, _ int) error { function munlock (line 9) | func munlock(_ *DB, _ int) error { FILE: movebucket_test.go function TestTx_MoveBucket (line 17) | func TestTx_MoveBucket(t *testing.T) { function TestBucket_MoveBucket_DiffDB (line 219) | func TestBucket_MoveBucket_DiffDB(t *testing.T) { function TestBucket_MoveBucket_DiffTx (line 267) | func TestBucket_MoveBucket_DiffTx(t *testing.T) { function prepareBuckets (line 344) | func prepareBuckets(t testing.TB, tx *bbolt.Tx, buckets ...string) *bbol... function openBucket (line 357) | func openBucket(tx *bbolt.Tx, bk *bbolt.Bucket, bucketToOpen string) *bb... function createBucketAndPopulateData (line 364) | func createBucketAndPopulateData(t testing.TB, tx *bbolt.Tx, bk *bbolt.B... function populateSampleDataInBucket (line 378) | func populateSampleDataInBucket(t testing.TB, bk *bbolt.Bucket, n int) { FILE: node.go type node (line 12) | type node struct method root (line 25) | func (n *node) root() *node { method minKeys (line 33) | func (n *node) minKeys() int { method size (line 41) | func (n *node) size() int { method sizeLessThan (line 53) | func (n *node) sizeLessThan(v uintptr) bool { method pageElementSize (line 66) | func (n *node) pageElementSize() uintptr { method childAt (line 74) | func (n *node) childAt(index int) *node { method childIndex (line 82) | func (n *node) childIndex(child *node) int { method numChildren (line 88) | func (n *node) numChildren() int { method nextSibling (line 93) | func (n *node) nextSibling() *node { method prevSibling (line 105) | func (n *node) prevSibling() *node { method put (line 117) | func (n *node) put(oldKey, newKey, value []byte, pgId common.Pgid, fla... method del (line 145) | func (n *node) del(key []byte) { method read (line 162) | func (n *node) read(p *common.Page) { method write (line 179) | func (n *node) write(p *common.Page) { method split (line 206) | func (n *node) split(pageSize uintptr) []*node { method splitTwo (line 229) | func (n *node) splitTwo(pageSize uintptr) (*node, *node) { method splitIndex (line 271) | func (n *node) splitIndex(threshold int) (index, sz uintptr) { method spill (line 295) | func (n *node) spill() error { method rebalance (line 365) | func (n *node) rebalance() { method removeChild (line 452) | func (n *node) removeChild(target *node) { method dereference (line 463) | func (n *node) dereference() { method free (line 494) | func (n *node) free() { function compareKeys (line 528) | func compareKeys(left, right []byte) int { type nodes (line 532) | type nodes method Len (line 534) | func (s nodes) Len() int { return len(s) } method Swap (line 535) | func (s nodes) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 536) | func (s nodes) Less(i, j int) bool { FILE: node_test.go function TestNode_put (line 11) | func TestNode_put(t *testing.T) { function TestNode_read_LeafPage (line 38) | func TestNode_read_LeafPage(t *testing.T) { function TestNode_write_LeafPage (line 76) | func TestNode_write_LeafPage(t *testing.T) { function TestNode_split (line 110) | func TestNode_split(t *testing.T) { function TestNode_split_MinKeys (line 137) | func TestNode_split_MinKeys(t *testing.T) { function TestNode_split_SinglePage (line 153) | func TestNode_split_SinglePage(t *testing.T) { FILE: quick_test.go function TestMain (line 27) | func TestMain(m *testing.M) { function qconfig (line 40) | func qconfig() *quick.Config { type testdata (line 47) | type testdata method Len (line 49) | func (t testdata) Len() int { return len(t) } method Swap (line 50) | func (t testdata) Swap(i, j int) { t[i], t[j] = t[j], t[i] } method Less (line 51) | func (t testdata) Less(i, j int) bool { return bytes.Compare(t[i].Key,... method Generate (line 53) | func (t testdata) Generate(rand *rand.Rand, size int) reflect.Value { type revtestdata (line 72) | type revtestdata method Len (line 74) | func (t revtestdata) Len() int { return len(t) } method Swap (line 75) | func (t revtestdata) Swap(i, j int) { t[i], t[j] = t[j], t[i] } method Less (line 76) | func (t revtestdata) Less(i, j int) bool { return bytes.Compare(t[i].K... type testdataitem (line 78) | type testdataitem struct function randByteSlice (line 83) | func randByteSlice(rand *rand.Rand, minSize, maxSize int) []byte { FILE: simulation_no_freelist_sync_test.go function TestSimulateNoFreeListSync_1op_1p (line 9) | func TestSimulateNoFreeListSync_1op_1p(t *testing.T) { function TestSimulateNoFreeListSync_10op_1p (line 12) | func TestSimulateNoFreeListSync_10op_1p(t *testing.T) { function TestSimulateNoFreeListSync_100op_1p (line 15) | func TestSimulateNoFreeListSync_100op_1p(t *testing.T) { function TestSimulateNoFreeListSync_1000op_1p (line 18) | func TestSimulateNoFreeListSync_1000op_1p(t *testing.T) { function TestSimulateNoFreeListSync_10000op_1p (line 21) | func TestSimulateNoFreeListSync_10000op_1p(t *testing.T) { function TestSimulateNoFreeListSync_10op_10p (line 24) | func TestSimulateNoFreeListSync_10op_10p(t *testing.T) { function TestSimulateNoFreeListSync_100op_10p (line 27) | func TestSimulateNoFreeListSync_100op_10p(t *testing.T) { function TestSimulateNoFreeListSync_1000op_10p (line 30) | func TestSimulateNoFreeListSync_1000op_10p(t *testing.T) { function TestSimulateNoFreeListSync_10000op_10p (line 33) | func TestSimulateNoFreeListSync_10000op_10p(t *testing.T) { function TestSimulateNoFreeListSync_100op_100p (line 36) | func TestSimulateNoFreeListSync_100op_100p(t *testing.T) { function TestSimulateNoFreeListSync_1000op_100p (line 39) | func TestSimulateNoFreeListSync_1000op_100p(t *testing.T) { function TestSimulateNoFreeListSync_10000op_100p (line 42) | func TestSimulateNoFreeListSync_10000op_100p(t *testing.T) { function TestSimulateNoFreeListSync_10000op_1000p (line 45) | func TestSimulateNoFreeListSync_10000op_1000p(t *testing.T) { FILE: simulation_test.go function TestSimulate_1op_1p (line 15) | func TestSimulate_1op_1p(t *testing.T) { testSimulate(t, nil, 1, 1, ... function TestSimulate_10op_1p (line 16) | func TestSimulate_10op_1p(t *testing.T) { testSimulate(t, nil, 1, 10,... function TestSimulate_100op_1p (line 17) | func TestSimulate_100op_1p(t *testing.T) { testSimulate(t, nil, 1, 100... function TestSimulate_1000op_1p (line 18) | func TestSimulate_1000op_1p(t *testing.T) { testSimulate(t, nil, 1, 100... function TestSimulate_10000op_1p (line 19) | func TestSimulate_10000op_1p(t *testing.T) { testSimulate(t, nil, 1, 100... function TestSimulate_10op_10p (line 21) | func TestSimulate_10op_10p(t *testing.T) { testSimulate(t, nil, 1, 10... function TestSimulate_100op_10p (line 22) | func TestSimulate_100op_10p(t *testing.T) { testSimulate(t, nil, 1, 10... function TestSimulate_1000op_10p (line 23) | func TestSimulate_1000op_10p(t *testing.T) { testSimulate(t, nil, 1, 10... function TestSimulate_10000op_10p (line 24) | func TestSimulate_10000op_10p(t *testing.T) { testSimulate(t, nil, 1, 10... function TestSimulate_100op_100p (line 26) | func TestSimulate_100op_100p(t *testing.T) { testSimulate(t, nil, 1, 1... function TestSimulate_1000op_100p (line 27) | func TestSimulate_1000op_100p(t *testing.T) { testSimulate(t, nil, 1, 1... function TestSimulate_10000op_100p (line 28) | func TestSimulate_10000op_100p(t *testing.T) { testSimulate(t, nil, 1, 1... function TestSimulate_10000op_1000p (line 30) | func TestSimulate_10000op_1000p(t *testing.T) { testSimulate(t, nil, 1, ... function testSimulate (line 33) | func testSimulate(t *testing.T, openOption *bolt.Options, round, threadC... type simulateHandler (line 155) | type simulateHandler function simulateGetHandler (line 158) | func simulateGetHandler(tx *bolt.Tx, qdb *QuickDB) { function simulatePutHandler (line 193) | func simulatePutHandler(tx *bolt.Tx, qdb *QuickDB) { type QuickDB (line 231) | type QuickDB struct method Get (line 242) | func (db *QuickDB) Get(keys [][]byte) []byte { method Put (line 268) | func (db *QuickDB) Put(keys [][]byte, value []byte) { method Rand (line 290) | func (db *QuickDB) Rand() [][]byte { method rand (line 301) | func (db *QuickDB) rand(m map[string]interface{}, keys *[][]byte) { method Copy (line 317) | func (db *QuickDB) Copy() *QuickDB { method copy (line 323) | func (db *QuickDB) copy(m map[string]interface{}) map[string]interface... function NewQuickDB (line 237) | func NewQuickDB() *QuickDB { function randKey (line 336) | func randKey() []byte { function randKeys (line 346) | func randKeys() [][]byte { function randValue (line 355) | func randValue() []byte { FILE: tests/dmflakey/dmflakey.go type featCfg (line 18) | type featCfg struct constant defaultImgSize (line 32) | defaultImgSize int64 = 1024 * 1024 * 1024 * 10 constant defaultInterval (line 34) | defaultInterval = 2 * time.Minute type FeatOpt (line 41) | type FeatOpt function WithIntervalFeatOpt (line 44) | func WithIntervalFeatOpt(interval time.Duration) FeatOpt { function WithSyncFSFeatOpt (line 52) | func WithSyncFSFeatOpt(syncFS bool) FeatOpt { type Flakey (line 59) | type Flakey interface type FSType (line 80) | type FSType constant FSTypeEXT4 (line 84) | FSTypeEXT4 FSType = "ext4" constant FSTypeXFS (line 85) | FSTypeXFS FSType = "xfs" function InitFlakey (line 93) | func InitFlakey(flakeyDevice, dataStorePath string, fsType FSType, mkfsO... type flakey (line 133) | type flakey struct method DevicePath (line 143) | func (f *flakey) DevicePath() string { method Filesystem (line 148) | func (f *flakey) Filesystem() FSType { method AllowWrites (line 153) | func (f *flakey) AllowWrites(opts ...FeatOpt) error { method DropWrites (line 184) | func (f *flakey) DropWrites(opts ...FeatOpt) error { method ErrorWrites (line 226) | func (f *flakey) ErrorWrites(opts ...FeatOpt) error { method Teardown (line 263) | func (f *flakey) Teardown() error { function createEmptyFSImage (line 296) | func createEmptyFSImage(imgPath string, fsType FSType, mkfsOpt string) e... function validateFSType (line 343) | func validateFSType(fsType FSType) error { FILE: tests/dmflakey/dmflakey_test.go function TestMain (line 22) | func TestMain(m *testing.M) { function TestBasic (line 28) | func TestBasic(t *testing.T) { function TestDropWritesExt4 (line 57) | func TestDropWritesExt4(t *testing.T) { function TestErrorWritesExt4 (line 89) | func TestErrorWritesExt4(t *testing.T) { function initFlakey (line 115) | func initFlakey(t *testing.T, fsType FSType) (_ Flakey, root string) { function writeFile (line 131) | func writeFile(name string, data []byte, perm os.FileMode, sync bool) er... function syncfs (line 148) | func syncfs(file string) error { function mount (line 162) | func mount(target string, devPath string, opt string) error { function unmount (line 173) | func unmount(target string) error { FILE: tests/dmflakey/dmsetup.go function newFlakeyDevice (line 18) | func newFlakeyDevice(flakeyDevice, loopDevice string, interval time.Dura... function reloadFlakeyDevice (line 39) | func reloadFlakeyDevice(flakeyDevice string, syncFS bool, table string) ... function deleteFlakeyDevice (line 73) | func deleteFlakeyDevice(flakeyDevice string) error { function getBlkSize64 (line 85) | func getBlkSize64(device string) (int64, error) { function getBlkSize (line 102) | func getBlkSize(device string) (int64, error) { FILE: tests/dmflakey/loopback.go constant loopControlDevice (line 15) | loopControlDevice = "/dev/loop-control" constant loopDevicePattern (line 16) | loopDevicePattern = "/dev/loop%d" constant maxRetryToAttach (line 18) | maxRetryToAttach = 50 function attachToLoopDevice (line 26) | func attachToLoopDevice(backingFile string) (string, error) { function detachLoopDevice (line 66) | func detachLoopDevice(loopDevice string) error { function getFreeLoopDevice (line 79) | func getFreeLoopDevice() (string, error) { FILE: tests/failpoint/db_failpoint_test.go function TestFailpoint_MapFail (line 20) | func TestFailpoint_MapFail(t *testing.T) { function TestFailpoint_UnmapFail_DbClose (line 35) | func TestFailpoint_UnmapFail_DbClose(t *testing.T) { function TestFailpoint_mLockFail (line 56) | func TestFailpoint_mLockFail(t *testing.T) { function TestFailpoint_mLockFail_When_remap (line 73) | func TestFailpoint_mLockFail_When_remap(t *testing.T) { function TestFailpoint_ResizeFileFail (line 102) | func TestFailpoint_ResizeFileFail(t *testing.T) { function TestFailpoint_LackOfDiskSpace (line 130) | func TestFailpoint_LackOfDiskSpace(t *testing.T) { function TestIssue72 (line 172) | func TestIssue72(t *testing.T) { function TestTx_Rollback_Freelist (line 273) | func TestTx_Rollback_Freelist(t *testing.T) { function idToBytes (line 352) | func idToBytes(id int) []byte { function readFreelistPageIds (line 356) | func readFreelistPageIds(path string) ([]common.Pgid, error) { FILE: tests/robustness/main_test.go function TestMain (line 13) | func TestMain(m *testing.M) { FILE: tests/robustness/powerfailure_test.go function TestRestartFromPowerFailureExt4 (line 39) | func TestRestartFromPowerFailureExt4(t *testing.T) { function TestRestartFromPowerFailureXFS (line 86) | func TestRestartFromPowerFailureXFS(t *testing.T) { function doPowerFailure (line 142) | func doPowerFailure(t *testing.T, du time.Duration, fsType dmflakey.FSTy... function activeFailpoint (line 217) | func activeFailpoint(t *testing.T, targetUrl string, fpName, fpVal strin... type FlakeyDevice (line 234) | type FlakeyDevice interface function initFlakeyDevice (line 245) | func initFlakeyDevice(t *testing.T, name string, fsType dmflakey.FSType,... type flakeyT (line 268) | type flakeyT struct method RootFS (line 276) | func (f *flakeyT) RootFS() string { method PowerFailure (line 281) | func (f *flakeyT) PowerFailure(mntOpt string) error { function unmountAll (line 304) | func unmountAll(target string) error { function randomInt (line 322) | func randomInt(t *testing.T, max int) int { FILE: tests/utils/helpers.go function init (line 11) | func init() { function RequiresRoot (line 16) | func RequiresRoot() { FILE: tx.go type Tx (line 27) | type Tx struct method init (line 47) | func (tx *Tx) init(db *DB) { method ID (line 68) | func (tx *Tx) ID() int { method DB (line 76) | func (tx *Tx) DB() *DB { method Size (line 81) | func (tx *Tx) Size() int64 { method Writable (line 86) | func (tx *Tx) Writable() bool { method Cursor (line 94) | func (tx *Tx) Cursor() *Cursor { method Stats (line 99) | func (tx *Tx) Stats() TxStats { method Inspect (line 104) | func (tx *Tx) Inspect() BucketStructure { method Bucket (line 111) | func (tx *Tx) Bucket(name []byte) *Bucket { method CreateBucket (line 118) | func (tx *Tx) CreateBucket(name []byte) (*Bucket, error) { method CreateBucketIfNotExists (line 125) | func (tx *Tx) CreateBucketIfNotExists(name []byte) (*Bucket, error) { method DeleteBucket (line 131) | func (tx *Tx) DeleteBucket(name []byte) error { method MoveBucket (line 143) | func (tx *Tx) MoveBucket(child []byte, src *Bucket, dst *Bucket) error { method ForEach (line 156) | func (tx *Tx) ForEach(fn func(name []byte, b *Bucket) error) error { method OnCommit (line 163) | func (tx *Tx) OnCommit(fn func()) { method Commit (line 170) | func (tx *Tx) Commit() (err error) { method commitFreelist (line 285) | func (tx *Tx) commitFreelist() error { method Rollback (line 302) | func (tx *Tx) Rollback() error { method nonPhysicalRollback (line 312) | func (tx *Tx) nonPhysicalRollback() { method rollback (line 323) | func (tx *Tx) rollback() { method close (line 345) | func (tx *Tx) close() { method Copy (line 384) | func (tx *Tx) Copy(w io.Writer) error { method WriteTo (line 391) | func (tx *Tx) WriteTo(w io.Writer) (n int64, err error) { method CopyFile (line 486) | func (tx *Tx) CopyFile(path string, mode os.FileMode) error { method allocate (line 501) | func (tx *Tx) allocate(count int) (*common.Page, error) { method write (line 520) | func (tx *Tx) write() error { method writeMeta (line 595) | func (tx *Tx) writeMeta() error { method page (line 629) | func (tx *Tx) page(id common.Pgid) *common.Page { method forEachPage (line 645) | func (tx *Tx) forEachPage(pgidnum common.Pgid, fn func(*common.Page, i... method forEachPageInternal (line 651) | func (tx *Tx) forEachPageInternal(pgidstack []common.Pgid, fn func(*co... method Page (line 668) | func (tx *Tx) Page(id int) (*common.PageInfo, error) { function sameFile (line 470) | func sameFile(f1, f2 *os.File) (bool, error) { type TxStats (line 698) | type TxStats struct method add (line 742) | func (s *TxStats) add(other *TxStats) { method Sub (line 760) | func (s *TxStats) Sub(other *TxStats) TxStats { method GetPageCount (line 778) | func (s *TxStats) GetPageCount() int64 { method IncPageCount (line 783) | func (s *TxStats) IncPageCount(delta int64) int64 { method GetPageAlloc (line 788) | func (s *TxStats) GetPageAlloc() int64 { method IncPageAlloc (line 793) | func (s *TxStats) IncPageAlloc(delta int64) int64 { method GetCursorCount (line 798) | func (s *TxStats) GetCursorCount() int64 { method IncCursorCount (line 803) | func (s *TxStats) IncCursorCount(delta int64) int64 { method GetNodeCount (line 808) | func (s *TxStats) GetNodeCount() int64 { method IncNodeCount (line 813) | func (s *TxStats) IncNodeCount(delta int64) int64 { method GetNodeDeref (line 818) | func (s *TxStats) GetNodeDeref() int64 { method IncNodeDeref (line 823) | func (s *TxStats) IncNodeDeref(delta int64) int64 { method GetRebalance (line 828) | func (s *TxStats) GetRebalance() int64 { method IncRebalance (line 833) | func (s *TxStats) IncRebalance(delta int64) int64 { method GetRebalanceTime (line 838) | func (s *TxStats) GetRebalanceTime() time.Duration { method IncRebalanceTime (line 843) | func (s *TxStats) IncRebalanceTime(delta time.Duration) time.Duration { method GetSplit (line 848) | func (s *TxStats) GetSplit() int64 { method IncSplit (line 853) | func (s *TxStats) IncSplit(delta int64) int64 { method GetSpill (line 858) | func (s *TxStats) GetSpill() int64 { method IncSpill (line 863) | func (s *TxStats) IncSpill(delta int64) int64 { method GetSpillTime (line 868) | func (s *TxStats) GetSpillTime() time.Duration { method IncSpillTime (line 873) | func (s *TxStats) IncSpillTime(delta time.Duration) time.Duration { method GetWrite (line 878) | func (s *TxStats) GetWrite() int64 { method IncWrite (line 883) | func (s *TxStats) IncWrite(delta int64) int64 { method GetWriteTime (line 888) | func (s *TxStats) GetWriteTime() time.Duration { method IncWriteTime (line 893) | func (s *TxStats) IncWriteTime(delta time.Duration) time.Duration { function atomicAddDuration (line 897) | func atomicAddDuration(ptr *time.Duration, du time.Duration) time.Durati... function atomicLoadDuration (line 901) | func atomicLoadDuration(ptr *time.Duration) time.Duration { FILE: tx_check.go method Check (line 21) | func (tx *Tx) Check(options ...CheckOption) <-chan error { method check (line 38) | func (tx *Tx) check(cfg checkConfig, ch chan error) { method recursivelyCheckPage (line 91) | func (tx *Tx) recursivelyCheckPage(pageId common.Pgid, reachable map[com... method recursivelyCheckBucketInPage (line 97) | func (tx *Tx) recursivelyCheckBucketInPage(pageId common.Pgid, reachable... method recursivelyCheckBucket (line 128) | func (tx *Tx) recursivelyCheckBucket(b *Bucket, reachable map[common.Pgi... method checkInvariantProperties (line 146) | func (tx *Tx) checkInvariantProperties(pageId common.Pgid, reachable map... function verifyPageReachable (line 155) | func verifyPageReachable(p *common.Page, hwm common.Pgid, stack []common... method recursivelyCheckPageKeyOrder (line 181) | func (tx *Tx) recursivelyCheckPageKeyOrder(pgId common.Pgid, keyToString... method recursivelyCheckPageKeyOrderInternal (line 190) | func (tx *Tx) recursivelyCheckPageKeyOrderInternal( function verifyKeyOrder (line 232) | func verifyKeyOrder(pgId common.Pgid, pageType string, index int, key []... type checkConfig (line 256) | type checkConfig struct type CheckOption (line 261) | type CheckOption function WithKVStringer (line 263) | func WithKVStringer(kvStringer KVStringer) CheckOption { function WithPageId (line 270) | func WithPageId(pageId uint64) CheckOption { type KVStringer (line 277) | type KVStringer interface function HexKVStringer (line 283) | func HexKVStringer() KVStringer { type hexKvStringer (line 287) | type hexKvStringer struct method KeyToString (line 289) | func (hexKvStringer) KeyToString(key []byte) string { method ValueToString (line 293) | func (hexKvStringer) ValueToString(value []byte) string { FILE: tx_check_test.go function TestTx_Check_CorruptPage (line 16) | func TestTx_Check_CorruptPage(t *testing.T) { function TestTx_Check_WithNestBucket (line 63) | func TestTx_Check_WithNestBucket(t *testing.T) { function TestTx_Check_Panic (line 123) | func TestTx_Check_Panic(t *testing.T) { function corruptRandomLeafPageInBucket (line 161) | func corruptRandomLeafPageInBucket(t testing.TB, db *bbolt.DB, bucketNam... function corruptRootPage (line 192) | func corruptRootPage(t testing.TB, db *bbolt.DB, bucketName []byte) { function mustGetBucketRootPage (line 205) | func mustGetBucketRootPage(t testing.TB, db *bbolt.DB, bucketName []byte... FILE: tx_stats_test.go function TestTxStats_add (line 10) | func TestTxStats_add(t *testing.T) { FILE: tx_test.go function TestTx_Check_ReadOnly (line 22) | func TestTx_Check_ReadOnly(t *testing.T) { function TestTx_Commit_ErrTxClosed (line 73) | func TestTx_Commit_ErrTxClosed(t *testing.T) { function TestTx_Rollback_ErrTxClosed (line 94) | func TestTx_Rollback_ErrTxClosed(t *testing.T) { function TestTx_Commit_ErrTxNotWritable (line 111) | func TestTx_Commit_ErrTxNotWritable(t *testing.T) { function TestTx_Cursor (line 128) | func TestTx_Cursor(t *testing.T) { function TestTx_CreateBucket_ErrTxNotWritable (line 165) | func TestTx_CreateBucket_ErrTxNotWritable(t *testing.T) { function TestTx_CreateBucket_ErrTxClosed (line 179) | func TestTx_CreateBucket_ErrTxClosed(t *testing.T) { function TestTx_Bucket (line 195) | func TestTx_Bucket(t *testing.T) { function TestTx_Get_NotFound (line 211) | func TestTx_Get_NotFound(t *testing.T) { function TestTx_CreateBucket (line 232) | func TestTx_CreateBucket(t *testing.T) { function TestTx_CreateBucketIfNotExists (line 260) | func TestTx_CreateBucketIfNotExists(t *testing.T) { function TestTx_CreateBucketIfNotExists_ErrBucketNameRequired (line 294) | func TestTx_CreateBucketIfNotExists_ErrBucketNameRequired(t *testing.T) { function TestTx_CreateBucket_ErrBucketExists (line 312) | func TestTx_CreateBucket_ErrBucketExists(t *testing.T) { function TestTx_CreateBucket_ErrBucketNameRequired (line 337) | func TestTx_CreateBucket_ErrBucketNameRequired(t *testing.T) { function TestTx_DeleteBucket (line 350) | func TestTx_DeleteBucket(t *testing.T) { function TestTx_DeleteBucket_ErrTxClosed (line 396) | func TestTx_DeleteBucket_ErrTxClosed(t *testing.T) { function TestTx_DeleteBucket_ReadOnly (line 411) | func TestTx_DeleteBucket_ReadOnly(t *testing.T) { function TestTx_DeleteBucket_NotFound (line 424) | func TestTx_DeleteBucket_NotFound(t *testing.T) { function TestTx_ForEach_NoError (line 438) | func TestTx_ForEach_NoError(t *testing.T) { function TestTx_ForEach_WithError (line 461) | func TestTx_ForEach_WithError(t *testing.T) { function TestTx_OnCommit (line 485) | func TestTx_OnCommit(t *testing.T) { function TestTx_OnCommit_Rollback (line 504) | func TestTx_OnCommit_Rollback(t *testing.T) { function TestTx_CopyFile (line 523) | func TestTx_CopyFile(t *testing.T) { type failWriterError (line 571) | type failWriterError struct method Error (line 573) | func (failWriterError) Error() string { type failWriter (line 577) | type failWriter struct method Write (line 582) | func (f *failWriter) Write(p []byte) (n int, err error) { function TestTx_CopyFile_Error_Meta (line 593) | func TestTx_CopyFile_Error_Meta(t *testing.T) { function TestTx_CopyFile_Error_Normal (line 619) | func TestTx_CopyFile_Error_Normal(t *testing.T) { function TestTx_Rollback (line 645) | func TestTx_Rollback(t *testing.T) { function TestTx_releaseRange (line 700) | func TestTx_releaseRange(t *testing.T) { function ExampleTx_Rollback (line 799) | func ExampleTx_Rollback() { function ExampleTx_CopyFile (line 853) | func ExampleTx_CopyFile() { function TestTxStats_GetAndIncAtomically (line 912) | func TestTxStats_GetAndIncAtomically(t *testing.T) { function TestTxStats_Sub (line 970) | func TestTxStats_Sub(t *testing.T) { function TestTx_TruncateBeforeWrite (line 1017) | func TestTx_TruncateBeforeWrite(t *testing.T) { FILE: unix_test.go function TestMlock_DbOpen (line 15) | func TestMlock_DbOpen(t *testing.T) { function TestMlock_DbCanGrow_Small (line 23) | func TestMlock_DbCanGrow_Small(t *testing.T) { function TestMlock_DbCanGrow_Big (line 49) | func TestMlock_DbCanGrow_Big(t *testing.T) { function insertChunk (line 77) | func insertChunk(t *testing.T, db *btesting.DB, chunkId int) { function skipOnMemlockLimitBelow (line 102) | func skipOnMemlockLimitBelow(t *testing.T, memlockLimitRequest uint64) { FILE: utils_test.go function dumpBucket (line 10) | func dumpBucket(srcBucketName []byte, srcBucket *bolt.Bucket, dstFilenam... function cloneBucket (line 30) | func cloneBucket(src *bolt.Bucket, dst *bolt.Bucket) error {