概念ARQ:自动重传请求(Automatic Repeat-reQuest,ARQ)是OSI模型中数据链路层的错误纠正协议之一.RTO:Retransmission TimeOutFEC:Forward Error Correctionkcp简介kcp是一个基于udp实现快速、可靠、向前纠错的的协议... ...
分类:
其他好文 时间:
2017-10-03 14:55:41
阅读次数:
210
https://www.cs.cmu.edu/afs/cs/project/jair/pub/volume4/kaelbling96a-html/node24.html 【旧知-新知 强化学习:对新知、旧知的综合】 The adaptive heuristic critic algorithm is ...
分类:
其他好文 时间:
2017-09-30 19:35:29
阅读次数:
238
delphi用久了有的时候得给密码加密一下,简单点就行了,这个函数还是不错的。 const XorKey:array[0..7] of Byte=($B2,$09,$AA,$55,$93,$6D,$84,$47); // function Enc(Str:String):String;//字符加密函 ...
<?php/** * Created by 郭鹏. * User: msi * Date: 2017/9/27 * Time: 14:17 *///随机数生成器echo rand();echo "<br>";//生成某个范围随机数echo rand(0,10);echo "<br>";//获取当前时 ...
分类:
Web程序 时间:
2017-09-27 16:18:48
阅读次数:
315
1. 下载let's encrypt 2. 生成密钥,调用之前需要停止nginx 生成成功,提示如下 3. 配置nginx 4. 重启nginx 5. 重定向http访问到https ...
分类:
Web程序 时间:
2017-09-27 13:13:19
阅读次数:
166
日期时间函数① time函数主要功能:返回格林制时间(1970-1-1 0:0:0)到当前时间的秒数(时间戳)② date函数基本语法:string date ( string $format [, int $timestamp ] )主要功能:返回格式化后的时间格式参数说明:$format:要格式 ...
分类:
Web程序 时间:
2017-09-26 23:29:23
阅读次数:
254
XCode9已经随着ios11的发布发布了,那么在这个XCode9版本中有哪些变化呢? 1 折叠代码 焦点在方法的实现体的方法名上,按comman键,则整个函数会被框住.用来标志这个方法的起点和终点 此时单击,出现菜单 在菜单里,有个Fold,可以用来折叠方法,这个折叠现在有个动画效果 在其它上面点 ...
分类:
其他好文 时间:
2017-09-26 09:26:23
阅读次数:
341
//$startdate是开始时间,$enddate是结束时间 <?php $startdate="2011-3-15 11:50:00"; $enddate="2012-12-12 12:12:12"; $date=floor((strtotime($enddate)-strtotime($sta ...
分类:
其他好文 时间:
2017-09-23 13:30:09
阅读次数:
181
EL表达式 作用:1.向浏览器中输出域对象中的变量或者 语法:${name } 从指定的域中获取值 ${pageContextScope.name } ${applicationScope.name } ${sessionScope.name } ${requestScope.name } ... ...
分类:
Web程序 时间:
2017-09-23 00:08:48
阅读次数:
264