大约有 34,000 项符合查询结果(耗时:0.0524秒) [XML]

https://www.tsingfun.com/it/cpp/1871.html 

Boost.Asio简单使用(Timer,Thread,Io_service类) - C/C++ - 清泛网 - 专注C/C++及内核技术

... asio::write(socket, asio::buffer(message), asio::transfer_all(), asio::ignore_error()); } } 最后处理异常 catch (std::exception& e) { std::cerr << e.what() << std::endl; } return 0; 运行示例:运行服务器,然后运行上一节客户端,在win...
https://www.tsingfun.com/it/da... 

OceanBase使用libeasy原理源码分析:服务器端 - 数据库(内核) - 清泛网 - ...

...nection_t(TCP连接)输出缓冲区链表中 handler_.encode = ObMySQLCallback::encode; // libeasy回调这个函数用于从该连接输入缓冲区中反序列化出一个符合MySQL协议包,然后吐给上层使用 handler_.decode = ObMySQLCallback::decode; // 对于每个decode...
https://www.tsingfun.com/ilife/life/1848.html 

泰迪熊为什么叫泰迪 - 杂谈 - 清泛网 - 专注C/C++及内核技术

...负鼠配地瓜)。于是塔夫托说,“for possum first, last, and all the time”,这句话没看懂。但是塔夫托因为这句话被政治漫画家绘作一只负鼠,名为 Billy Possum(比利鼠)。 由于罗斯福和泰迪熊巨大成功,玩具商们看准了这次商机...
https://www.fun123.cn/referenc... 

使用 JSON 和 Web API · App Inventor 2 中文网

...式提供给它后续步骤。在下面例子中,我们给它 walk all at level 和 title 关键路径来获取列表中每个帖子标题(按appearance排序)。这段代码在功能上等同于上面使用 for each 块代码,但它更简洁。 发送数据 将数据发...
https://www.tsingfun.com/it/tech/1211.html 

php中json_decode()和json_encode()使用方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... echo "Unicode: ", json_encode($a, JSON_UNESCAPED_UNICODE), "\n"; echo "All: ", json_encode($a, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE), "\n\n"; $b = array(); echo "Empty array output as array: ", json_encode($b), "\n"; echo "Empty array out...
https://www.tsingfun.com/it/opensource/630.html 

win7 安装项目管理工具redmine2.5.1 - 开源 & Github - 清泛网 - 专注C/C++及内核技术

...要开始这项工作。 一、了解redmine 参考redmine官方Installtion Guide,主要是对redmine有个大致了解。 http://www.redmine.org/projects/redmine/wiki/RedmineInstall 二、下载必要软件包 我用是以下版本: redmine-2.5.1.zip railsinstaller-2....
https://www.tsingfun.com/it/tech/1069.html 

Nginx与Lua - 更多技术 - 清泛网 - 专注C/C++及内核技术

...<VERSION>.tar.gz shell> cd LuaJIT-<VERSION> shell> make shell> make install 因为安装在缺省路径,所以LuaJIT对应lib,include均在/usr/local目录里。 shell> export LUAJIT_LIB=/usr/local/lib shell> export LUAJIT_INC=/usr/local/include/luajit-<VERSION> 下面就可以编译...
https://www.tsingfun.com/it/cp... 

[since C++11] std::array使用 - C/C++ - 清泛网 - 专注C/C++及内核技术

...y<char> as a fix sized c-string. array<char, 100> str = {0}; // all elements initialized with 0. char *p = str.data(); strcpy(p, "hello world"); printf("%s\n", p); // hello world END_TEST; 上面这个例子让我想起了std::string, 它有一个c_str()方法,...
https://www.tsingfun.com/it/bigdata_ai/1077.html 

MySQL和MongoDB设计实例进行对比 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...查询: db.getCollection("mobiles").find({ "params": { $all: [ {$elemMatch: {"name": "待机时间", "value": {$gt: 100}}}, {$elemMatch: {"name": "外观设计", "value": "直板"}} ] } }); 注:查询中用到$all,$elemMatch等高...
https://www.tsingfun.com/it/cp... 

内存调试技巧:C 语言最大难点揭秘 - C/C++ - 清泛网 - 专注C/C++及内核技术

...他许多通用语言(如 Java&trade;、Ruby、Haskell、C#、Perl、Smalltalk 等),每种语言都有众多爱好者和各自优点。但是,从计算角度来看,每种编程语言优于 C 或 C++ 主要优点都与便于内存管理密切相关。与内存相关编程是如...