
base_json&&value
json_writer Write 写json文件。 static bool Write(const Value& node, std::string* json, size_t max_depth = in...
json_writer Write 写json文件。 static bool Write(const Value& node, std::string* json, size_t max_depth = in...
string_piece_forward namespace base { template <typename STRING_TYPE> class BasicStringPiece; typedef ...
hash Hash 计算内存缓冲区的哈希 不推荐这个,改用FastHash BASE_EXPORT uint32_t Hash(const void* data, size_t length); BASE_EXPOR...
file 操作类型 class BASE_EXPORT File { enum Flags { FLAG_OPEN = 1 << 0, // Opens a file, only if it exists...
sys_info 类 namespace base class SysInfo 函数 返回当前计算机上的逻辑处理器/内核数 static int NumberOfProcessors(); 返回当前机器上物理内存的字...
概述 在广义上,智能指针划分为两类。 第一类智能指针引用的对象是可以共享的,也就是一个对象可以同时被多个智能指针引用。 这类智能指针要求被引用的对象具有计数的功能,数值的大小就表示它目前被多少个智能指针引用。当一个对...
closure Chromium多线程通信用到的Closure实际上是一个特殊的Callback。 void MyFunc(int i, const std::string& str) {} base::Ca...
搜索当前分类