• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

linxGnu / grocksdb / 6067355637

03 Sep 2023 11:32PM UTC coverage: 66.95% (+0.02%) from 66.93%
6067355637

push

github

web-flow
Adapt RocksDB 8.4.4 (#125)

3 of 3 new or added lines in 1 file covered. (100.0%)

3308 of 4941 relevant lines covered (66.95%)

0.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/mem_alloc.go
1
package grocksdb
2

3
// #include <stdlib.h>
4
// #include "rocksdb/c.h"
5
import "C"
6

7
// MemoryAllocator wraps memory allocator for rocksdb.
8
type MemoryAllocator struct {
9
        c *C.rocksdb_memory_allocator_t
10
}
11

12
// Destroy this mem allocator.
13
func (m *MemoryAllocator) Destroy() {
×
14
        C.rocksdb_memory_allocator_destroy(m.c)
×
15
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc