上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 55 下一页
python3中的str和bytes Read More
posted @ 2017-10-13 14:39 等风来。。 Views(101) Comments(0) Diggs(0) Edit
一、同步与异步 (1)所谓同步就是一个任务的完成需要依赖另外一个任务时,只有等待被依赖的任务完成后,依赖的任务才能算完成,这是一种可靠的任务序列。 要么成功都成功,失败都失败,两个任务的状态可以保持一致。 (2)异步是不需要等待被依赖的任务完成,只是通知被依赖的任务要完成什么工作,依赖的任务也立即执 Read More
posted @ 2017-10-12 17:36 等风来。。 Views(217) Comments(0) Diggs(0) Edit
JS 是一个很神奇的语言,内制的的很多函数可以帮我们进行数(进)制转换;JS中可以直接使用16进制; var a = 0xff; //255 将任意进制字符串转换为十进制,如二进制,八进制,十六进制, 第二数数不写即为最常用的转换为整型十进制; parseInt("11", 2); // 3 2进制 Read More
posted @ 2017-10-11 17:37 等风来。。 Views(385) Comments(0) Diggs(0) Edit
dig(Domain Information Groper) dig @dnsserver name querytype dig @dnsserver name querytype 如果你设置的dnsserver是一个域名,那么dig会首先通过默认的上连DNS服务器去查询对应的IP地址,然后再以设置 Read More
posted @ 2017-10-02 23:54 等风来。。 Views(355) Comments(0) Diggs(0) Edit
BeanFactoryPostProcessors affect BeanDefinition objects because they are run right after your configuration is read in.There are no bean instances cre Read More
posted @ 2017-09-18 17:58 等风来。。 Views(156) Comments(0) Diggs(0) Edit
机器可以只有加法而没有减法, 这样计算机运算的设计就更简单了. 1-1 = 1 + (-1) = 0 于是人们开始探索将符号位参与运算, 并且只保留加法的方法. 首先来看原码: 一、原码 计算十进制的表达式: 1-1=0 1 - 1 = 1 + (-1) = [00000001]原 + [10000 Read More
posted @ 2017-09-16 15:52 等风来。。 Views(1263) Comments(0) Diggs(0) Edit
1.objenesis About Objenesis is a small Java library that serves one purpose: To instantiate a new object of a particular class. When would you want th Read More
posted @ 2017-09-16 15:43 等风来。。 Views(220) Comments(0) Diggs(0) Edit
Spring事务处理主要分以下三个主要的过程: (1).读取配置的事务处理属性,并转化为Spring事务处理所需要的内部数据结构 (2).事务配置属性与线程绑定 (3).交由PlatformTransactionManager的具体实现类来实现,如DataSourceTransactionManag Read More
posted @ 2017-09-14 22:55 等风来。。 Views(197) Comments(0) Diggs(0) Edit
代理 根据 HTTP 1.1 的定义,proxy 是: An intermediary program which acts as both a server and a client for the purpose of making requests on behalf of other cli Read More
posted @ 2017-09-10 23:21 等风来。。 Views(1261) Comments(0) Diggs(0) Edit
引子 WebSocket 是个好东西,为我们提供了便捷且实时的通讯能力。然而,对于 WebSocket 客户端的鉴权,协议的 RFC 是这么说的: This protocol doesn’t prescribe any particular way that servers canauthentic Read More
posted @ 2017-09-10 23:11 等风来。。 Views(1597) Comments(0) Diggs(0) Edit
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 55 下一页
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------