![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
levelDB源码分析
文章平均质量分 73
qixianghui123
这个作者很懒,什么都没留下…
展开
-
内存池(锁模块代码)
#ifndef _JYMUTEX_H#define _JYMUTEX_H#include #include #include class JYMutex{public:JYMutex(void);virtual ~JYMutex(void);bool Lock();bool Unlock();pthread_mutex_t*原创 2016-12-25 10:26:54 · 366 阅读 · 1 评论 -
内存池代码(chunk模块)
内存池chunk模块代码原创 2016-12-25 10:24:54 · 547 阅读 · 0 评论 -
一,levelDB源码分析(slice)
#ifndef STORAGE_LEVELDB_INCLUDE_SLICE_H_#define STORAGE_LEVELDB_INCLUDE_SLICE_H_#include #include #include #include namespace leveldb {class Slice { public: // Create an原创 2016-12-26 13:07:11 · 401 阅读 · 0 评论 -
二,leveldb源码分析(status)
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file. See the AUTHORS file for names of原创 2016-12-26 14:52:13 · 453 阅读 · 0 评论 -
levelDB源码分析(内存池)
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file. See the AUTHORS file for names o原创 2016-12-29 14:00:11 · 431 阅读 · 0 评论