码迷,mamicode.com
首页 >  
搜索关键字:close    ( 9262个结果
【原创】tcp协议那块一些点(想到了再加)
1.3次握手 4次握手2.那张状态图,FIN_WAIT主动关闭方,CLOSE_WAIT被动关闭方主动关闭方发出FIN后进入FIN_WAIT,FIN_WAIT方收到了ACK和FIN,发出了ACK,则进入TIME_WAIT 2MSL, 因为放置ACK的重传,确保对方能顺利关闭。被动关闭方收到FIN发出A...
分类:其他好文   时间:2015-04-24 18:47:17    阅读次数:141
[高级]Android多线程任务优化1:探讨AsyncTask的缺陷
导语:在开发Android应用的过程中,我们需要时刻注意保障应用的稳定性和界面响应性,因为不稳定或者响应速度慢的应用将会给用户带来非常差的交互体验。在越来越讲究用户体验的大环境下,用户也许会因为应用的一次Force Close(简称FC)或者延迟严重的动画效果而卸载你的应用。由于现在的应用大多需要异...
分类:移动开发   时间:2015-04-24 15:59:36    阅读次数:238
linux驱动开发前奏
1.驱动开发概述 驱动分类: 1.常规分类:字符设备,块设备,网络设备 字符设备:是一种按字节来访问的设备,字符驱动则负责驱动字符设备,这样的驱动通常实现open,close,read等系统调用,例如:串口,LED,按键 块设备:在大部分unix系统中,块设备定义为:以块(通常是512字节)为最小传输单位的设备,块设备不能按字节处理数据。                 而linux则允...
分类:系统相关   时间:2015-04-24 09:19:42    阅读次数:309
#20 Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:其他好文   时间:2015-04-23 21:31:47    阅读次数:127
ACE的问题
2)链接时碰到下面一大堆错误:client-SSL-client.o: In function `ACE_SSL_SOCK_Stream::close()':../../../../ace/SSL/SSL_SOCK_Stream.i:278: undefined reference to `SSL_...
分类:其他好文   时间:2015-04-23 19:32:05    阅读次数:206
V9.1升级到V9.5(或以上), 操作lob数据报错
错误信息:com.ibm.db2.jcc.am.SqlException:Invalidoperation:Lobisclosed.ERRORCODE=-4470,SQLSTATE=nullerroraccesslob;解决:1)设置DB2_RESTRICT_DDFdb2setDB2_RESTRICT_DDF=TRUEdb2stopdb2start2)DisableprogressivestreamingDDFfortheJDBCdriverForapplicationsthatusetheU..
分类:其他好文   时间:2015-04-22 15:38:35    阅读次数:222
Android Force Close和ANR等异常处理方法
对android应用而言最常出现的异常是Force close和ANR(Application is not response). 对于这两类错误而言,应用是可以进行相关处理的。 一 Forceclose这类问题主要通过Thread.UncaughtExceptionHandler这个类来捕获异常。通过实现类里面的方法uncaughtException来实现应用在捕获到异常后进行相关的处理。一...
分类:移动开发   时间:2015-04-21 22:46:11    阅读次数:171
[LeetCode] Valid Parentheses
Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" an...
分类:其他好文   时间:2015-04-21 20:46:55    阅读次数:128
理解Python中的with…as…语法
先说明一个常见问题,文件打开:try: f = open('xxx') do something except: do something finally: f.close()其实我个人不止一次在网上看到有这么写的了,这个是错的。 首先正确的如下:try: f = open('xxx') except: print 'fail to open'...
分类:编程语言   时间:2015-04-21 20:45:33    阅读次数:148
Druid连接池及监控在spring中的配置
Druid连接池及监控在Spring配置如下: [html] view plaincopy bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">               prope...
分类:编程语言   时间:2015-04-21 09:40:18    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!