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

https://www.tsingfun.com/it/da... 

Oracle中translate与replace的使用 - 数据库(内核) - 清泛网 - 专注C/C++及内核技术

...+ TRANSLATE:第二、三参数一一对应,没有对应就删除原符串。第一个例子中,2个逗号变成2个加号;第二个例子中,只有c变成加号,其余的删掉了。 1.translate 语法:TRANSLATE(char, from, to) 用法:返回将出现在from中...
https://www.tsingfun.com/it/da... 

mysql实现split分割符串(length, SUBSTRING_INDEX, substring) - 数据...

mysql实现split分割符串(length, SUBSTRING_INDEX, substring)由于MySql没有直接的split函数,只提供了length, SUBSTRING_INDEX, substring三个函数,这里介绍如何用这三个函数实现split功能。# SUBS...由于MySql没有直接的split函数,只提供了length, SUB...
https://www.tsingfun.com/it/da... 

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

...asy_list_t send_queue_list; // 当session的包返回时处理响应的回调函数,对于OceanBase 0.4的mergeserver来说,实际上是int ObMergeCallback::sql_process(easy_request_t* r) // 将响应事件进mergeserver的finish queue队列 easy_io_process_pt ...
https://www.tsingfun.com/it/cpp/1511.html 

std::string的截取符串的方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

std::string的截取符串的方法例如截取ip:port,代码如下:std::string ip("127.0.0.1:8888");int index = ip.find_last_of(':'); ipip.substr(0, index)....例如截取ip:port,代码如下: std::string ip("127.0.0.1:8888"); int index = ip.find_last_of(':'); //ip ip.substr(0, in...
https://bbs.tsingfun.com/thread-1872-1-1.html 

MQTT与TCP的区别 - 创客硬件开发 - 清泛IT社区,为创新赋能!

...文件。技术挑战TCP需要解决的问题是在IP包传输过程中,处理异构网络环境下的网络拥塞、丢包、乱序、重复包等多种问题。MQTT解决的问题是,在低带宽高延迟不可靠的网络下和资源有限的硬件环境内,进行相对可靠的数据传输...
https://www.tsingfun.com/it/cpp/1622.html 

CString的截取符串,截取ip:port - C/C++ - 清泛网 - 专注C/C++及内核技术

CString的截取符串,截取ip:portCString截取ip:port,代码如下:CString strIpPort = "127.0.0.1:8888";CString strIp, strPort;int index = strIpPort.Find('...CString截取ip:port,代码如下: CString strIpPort = "127.0.0.1:8888"; CString strIp, strPort; int index = strIpPort.Fi...
https://www.tsingfun.com/it/tech/1331.html 

浅谈APM在电子交易系统中的应用 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...视了最 重要的因素--最终用户的响应时间。现在通过事务处理过程监测、模拟等手段可真实测量用户响应时间,此外还可以报告谁正在使用某一应用、该应用的使用频率 以及用户所进行的事务处理过程是否成功完成。 快速定位...
https://bbs.tsingfun.com/thread-351-1-1.html 

mysql实现split分割符串(length, SUBSTRING_INDEX, substring) - 爬虫/...

...函数实现split功能。 # SUBSTRING_INDEX(str, delim, count):返回符串 str 中在第 count 个出现的分隔符 delim 之前的子串。如果 count 是一个正数,返回从最后的(从左边开始计数)分隔符到左边所有字符。如果 count 是负数,返回从最后的(...
https://www.tsingfun.com/it/cpp/1528.html 

sizeof、strlen简单总结 - C/C++ - 清泛网 - 专注C/C++及内核技术

sizeof、strlen简单总结sizeofstrlenconst char* p4符串长度std::string4符串长度"......"符串长度+1 (' 0')符串长度 sizeof strlen const char* p 4 符串长度 std::string 4 符串长度 "......" 符串长度+1 ('\0')...
https://www.tsingfun.com/it/cpp/2455.html 

std::stringstream ss; 直接使用ss.str().c_str() 符串指针可能导致崩溃 ...

std::stringstream ss; 直接使用ss.str().c_str() 符串指针可能导致崩溃std::stringstream ss;const char* ch = ss str() c_str();call_func(ch);这种写法在系统内存不足时,ss会立马释放内存,符串指针ch可能会非法访问导致崩溃。代码最好的是 std::s...