TCP的特点: TCP是面向连接的传输层协议 TCP的传输是可靠传输 TCP是全双工的通信 TCP的连接是点对点的传输 TCP和UDP的区别 tcp是面向连接的,两台主机的通信之前必须通过三次握手建立连接;而UDP是不需要建立连接的 TCP提供的是可靠传输,TCP通过确认和重传机制来保证传输的质量, ...
分类:
其他好文 时间:
2016-10-01 19:17:29
阅读次数:
131
代码复审 我对我的搭档陈鸿超同学的第一次作业进行了复审: 首先根据http://blog.fogcreek.com/increase-defect-detection-with-our-code-review-checklist-example/提供的Code Review Checklist进行评 ...
分类:
其他好文 时间:
2016-10-01 19:15:47
阅读次数:
125
125. Valid Palindrome Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man ...
分类:
其他好文 时间:
2016-10-01 19:14:18
阅读次数:
103
题意:略。 析:首先先判环,如果有环直接输出,用并查集就好,如果没有环,那么就是一棵树,然后最长的就是树的直径,这个题注意少开内存,容易超内存, 还有用C++交用的少一些,我用G++交的卡在32764K,限制是32768K。。 代码如下: ...
分类:
其他好文 时间:
2016-10-01 19:10:34
阅读次数:
181
1. 脉冲串采样 由采样过程形成的新序列,在采样周期N的整数倍点上就等于原序列,而在采样点之间都是零。原序列、采样信号和新序列的时域波形如下: 从上图中可以看出,x[n]、p[n]、xp[n]之间的关系可表示为: xp[n]=x[n]·p[n]。于是,这三者之间的频域关系可表示为卷积。 从上图可以看 ...
分类:
其他好文 时间:
2016-10-01 19:08:54
阅读次数:
108
源自一道ctf题 功能:1.page接收参数后组合成变量file。 2.file经过滤..()防止目录遍历和判断文件是否存在 3.包含文件 assert()简介:判断一个表达式是否成立。返回true or false。 当参数为字符串时,会被当作php代码执行。 例如 assert("phpinfo ...
分类:
其他好文 时间:
2016-10-01 17:29:21
阅读次数:
219
基于Caffe的Large Margin Softmax Loss的实现,第一部分,准备工作。 ...
分类:
其他好文 时间:
2016-10-01 17:30:05
阅读次数:
229
tr(AB)=tr(BA)" role="presentation" style="position: relative;">tr(AB)=tr(BA)tr(AB)=tr(BA) 直接展开证明来自为知笔记(Wiz) ...
分类:
其他好文 时间:
2016-10-01 17:29:06
阅读次数:
139
res文件夹里面的多个文件夹的各自介绍(来自网上的Android开发指南中文版内容):目录Directory资源类型Resource Typesres/anim/XML文件,它们被编译进逐帧动画(frame by frame animation)或补间动画(tweened animation)对象使... ...
分类:
其他好文 时间:
2016-10-01 17:28:28
阅读次数:
228
转自:http://www.3lian.com/edu/2013/07-04/78349.html 产品经理必须是分类控,而商品管理的核心,或者说基础就是“分类”,“分类”方法的变迁是整个商品系统变迁的核心。 文/苏杰 你应该在淘宝上买过东西,我们来说说最常见的购物过程: 从某个入口类页面(或广义到 ...
分类:
其他好文 时间:
2016-10-01 17:28:06
阅读次数:
353
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:
其他好文 时间:
2016-10-01 17:27:20
阅读次数:
251
51nod 1021 石子归并 题解:从i到j合并的最小值:dp[i][j] = min(dp[i][j], dp[i][k] + dp[k+1][j] + sum[j] - sum[i-1]); 最后dp[1][n]即为所求结果。 1 #include<cstdio> 2 #include<alg ...
分类:
其他好文 时间:
2016-10-01 17:26:32
阅读次数:
165
public class ShareUtils { /** * 分享功能 * @param context 上下文 * @param activityTitle Activity的名字 * @param msgTitle 消息标题 * @param msgText 消息内容 * @param img... ...
分类:
其他好文 时间:
2016-10-01 17:26:19
阅读次数:
188
Integer[] mButtonState = { R.drawable.defaultbutton, R.drawable.focusedpressed, R.drawable.pressed };Button mButton = (Button) findViewById(R.id.butto... ...
分类:
其他好文 时间:
2016-10-01 17:25:07
阅读次数:
148
这两天看了一篇文章,全栈工程师系列。可以参考。 http://www.shareditor.com/bloglistbytag/?tagname=%E6%95%99%E4%BD%A0%E6%88%90%E4%B8%BA%E5%85%A8%E6%A0%88%E5%B7%A5%E7%A8%8B%E5%B ...
分类:
其他好文 时间:
2016-10-01 17:25:40
阅读次数:
171
其中参数data为数组,其的格式为: 效果为: ...
分类:
其他好文 时间:
2016-10-01 17:23:35
阅读次数:
522