1)TIM_TimeBaseInitTypeDef时基初始化结构体,它包括了四个成员函数:TIM_ClockDivision、TIM_CounterMode、TIM_Period、TIM_Prescaler。比较重要的是TIM_Period成员,它控制的是定时周期。比如说将TIM_Period设置成...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 11:00:35   
                                阅读次数:
195
                             
                    
                        
                            
                            
                                java.util.TimerTask类的执行周期period变量的声明如下: /** * 
Period in milliseconds for repeating tasks. A positive value indicates * 
fixed-rate executio...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 09:30:12   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                Timer类:设置一个定时器,定时执行用户指定的函数。定时器启动后,系统将自动建立一个新的线程,执行用户指定的函数。构造函数:Timer(TimerCallback 
callback, object state, int dueTime, int period)参数说明 callback:一个 S....
                            
                            
                                分类:
编程语言   时间:
2014-05-23 10:34:04   
                                阅读次数:
364
                             
                    
                        
                            
                            
                                今天碰到了一个查询异常问题,上网查了一下,感谢原创和译者如果你使用的数据库连接类是 the 
Data Access Application Blocks "SqlHelper" 或者 SqlClient Class , 你在执行一个很费时的SQL 
操作时候,可能就会碰到下面的超时异常。-------...
                            
                            
                                分类:
其他好文   时间:
2014-05-16 23:19:16   
                                阅读次数:
333
                             
                    
                        
                            
                            
                                XBMC快捷键配置文件:/usr/share/xbmc/system/keymaps/keyboard.xml<FullscreenVideo>
<keyboard>
<period>StepForward</period>
<comma>StepBack</comma>
<quote>SmallStepBack</quote>
<opensquarebracket>BigStepFor..
                            
                            
                                分类:
系统相关   时间:
2014-05-12 03:26:23   
                                阅读次数:
417
                             
                    
                        
                            
                            
                                java定时任务,每天定时执行任务。以下是这个例子的全部代码。public class 
TimerManager { //时间间隔 private static final long PERIOD_DAY = 24 * 60 * 60 * 
1000; public TimerManager() {....
                            
                            
                                分类:
编程语言   时间:
2014-05-09 15:43:37   
                                阅读次数:
389
                             
                    
                        
                            
                            
                                Unless a class is to be thrown away after a 
short period of use, implementing Serializable is a serious commitment that 
should be made with care. Extr...
                            
                            
                                分类:
编程语言   时间:
2014-05-09 07:49:13   
                                阅读次数:
510
                             
                    
                        
                            
                            
                                题目链接:uva 1371 - Period
题目大意:给出两个字符串A,B将B分解成若干个子字符串,然后每个子字符串都要变成字符串A,所有子串中编辑最多的次数即为当前状态下的最大编辑次数,要求求最小的最大编辑次数。
解题思路:二分答案,用dp判断,主要是dp判断,dp[i][j]表示到1~i的字符串匹配到j的最大编辑次数,然后考虑分段的时候只要dp[i][0] 
...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 05:09:12   
                                阅读次数:
282
                             
                    
                        
                            
                            
                                题目:
    链接:http://acm.hdu.edu.cn/showproblem.php?pid=1358
题意:...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 03:34:17   
                                阅读次数:
354
                             
                    
                        
                            
                            
                                背景: 最近总是出现客户端超时,那么根据超时进行排查 
System.Data.SqlClient.SqlException (0x80131904): Timeout expired. The timeout 
period elapsed prior to completion of the o.....
                            
                            
                                分类:
Web程序   时间:
2014-05-05 11:16:29   
                                阅读次数:
346