上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 107 下一页
摘要: 转自:https://blog.srefan.com/2017/07/ntp-protocol/,讲的非常全面 1.介绍 NTP 是网络时间协议(Network Time Protocol),它用来同步网络设备【如计算机、手机】的时间的协议。 用来在分布式时间服务器和客户端之间进行时间同步, 是一个 阅读全文
posted @ 2022-10-29 00:47 lypbendlf 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 转自:https://bbs.csdn.net/topics/300176441,https://blog.csdn.net/qq_41230365/article/details/80191964 1.头文件不能使用using 在一段代码的开头引入命名空间的原因则是加强程序模块化,和减少命名冲突。 阅读全文
posted @ 2022-10-29 00:11 lypbendlf 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/YhL_Leo/article/details/48879093 1.介绍 C/C++ 的宏中, #的功能是将其后面的宏参数进行字符串化操作; 凡是宏定义里有用#或##的地方宏参数是不会再展开, #include <iostream> using n 阅读全文
posted @ 2022-10-26 00:35 lypbendlf 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.liaoxuefeng.com/wiki/1177760294764384/1217864791925600 1.介绍 使用SELECT查询时,如果结果集数据量很大,比如几万行数据,放在一个页面显示的话数据量太大,以及一次IO查询太多影响效率,可以每次按量查询。 一般是 阅读全文
posted @ 2022-10-25 23:48 lypbendlf 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/hokyhu/archive/2009/03/30/1425604.html 1.介绍 避免同一个文件被include多次,C/C++中有两种方式,一种是#ifndef方式,一种是#pragma once方式。 #ifndef __SOMEFIL 阅读全文
posted @ 2022-10-25 23:26 lypbendlf 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/fanyun_01/article/details/79122136 1.介绍 在派生类中,重写 (override) 继承自基类成员函数的实现 (implementation) 时,要满足如下条件: 一虚:基类中,成员函数声明为虚拟的 (virtu 阅读全文
posted @ 2022-10-25 23:19 lypbendlf 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/fengbingchun/article/details/77922558 1.介绍 std::numeric_limits为模板类,在库编译平台提供基础算术类型的极值等属性信息,需包含<limits>头文件。 例子: #include <iostr 阅读全文
posted @ 2022-10-25 22:57 lypbendlf 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/brxHqs/p/9767942.html ,https://tkstorm.com/posts-list/books/cloud-native-alone/high-availability/ 1.突发流量 高并发情况下带来的突发流量: 常见的 阅读全文
posted @ 2022-10-24 00:27 lypbendlf 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.zhihu.com/question/26773561,https://www.zhihu.com/question/493164325 https://cnodejs.org/topic/5ab9b59652d7d3a8698a4828 1.前端服务器 是指网站的入口 阅读全文
posted @ 2022-10-23 22:20 lypbendlf 阅读(1055) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/javastack/p/9854489.html 1.连接redis > ./redis-cli [-h 127.0.0.1 -p 6379] 2.key命令操作 获取所有的键: 127.0.0.1:6379> keys * 1) "javast 阅读全文
posted @ 2022-10-17 10:04 lypbendlf 阅读(17) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 107 下一页