Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
                            
                            
                                分类:
其他好文   时间:
2014-07-07 15:30:23   
                                阅读次数:
169
                             
                    
                        
                            
                            
                                测试了两个case,属于之前blog的遗留问题: innodb如何加载数据字典 flush tables都做了什么操作先来看下innodb加载数据字典: 首次使用:select * from tt;1. 创建handler对象函数调用栈: open_binary_frm ...
                            
                            
                                分类:
数据库   时间:
2014-07-03 06:21:07   
                                阅读次数:
318
                             
                    
                        
                            
                            
                                今天接到朋友数据库一个case,在DBCA建库时,把自动收集统计信息的选项去掉了,数据库运行半年没有收集过统计信息,现在要启用方法如下:
exec DBMS_AUTO_TASK_ADMIN.ENABLE();
exec DBMS_AUTO_TASK_ADMIN.ENABLE(client_name => 'auto optimizer stats collection',ope...
                            
                            
                                分类:
数据库   时间:
2014-07-02 07:31:51   
                                阅读次数:
248
                             
                    
                        
                            
                            
                                Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
回文字符串是指: 两个字符串的字符个数完全相同,这两个字符串是Anagrams。因此Anagrams至少指俩字符串。找出字符集合中的Anagrams组。...
                            
                            
                                分类:
其他好文   时间:
2014-07-01 08:42:11   
                                阅读次数:
250
                             
                    
                        
                            
                            
                                Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation. 
The configuration of the two sites server:
Primary Database:
[roo...
                            
                            
                                分类:
数据库   时间:
2014-07-01 06:22:46   
                                阅读次数:
415
                             
                    
                        
                            
                            
                                [java代码库]-简易计算器(第二种) 第二种方案:在程序中不使用if/switch……case等语句,完成计算器功能。 简易计算器 简易计算器
                            
                            
                                分类:
编程语言   时间:
2014-06-30 22:49:47   
                                阅读次数:
314
                             
                    
                        
                            
                            
                                - (void)CallOtherPartWithTelNumber:(NSString *)telNumber andType:(NSInteger)type{ switch (type) { case 1: // 可以返...
                            
                            
                                分类:
其他好文   时间:
2014-06-30 22:09:43   
                                阅读次数:
257
                             
                    
                        
                            
                            
                                Creating a Physical Standby Database
This case is created, operated and followed the steps from oracle online help documentation. 
The configuration of the two sites server:
Primary Database:
[roo...
                            
                            
                                分类:
数据库   时间:
2014-06-30 19:37:39   
                                阅读次数:
313
                             
                    
                        
                            
                            
                                题目
Given an absolute path for a file (Unix-style), simplify it.
For example,
path = "/home/", => "/home"
path = "/a/./b/../../c/", => "/c"
Corner Cases:
Did you consider the case w...
                            
                            
                                分类:
其他好文   时间:
2014-06-29 23:19:26   
                                阅读次数:
223
                             
                    
                        
                            
                            
                                1、强引用
    public void handleMessage(Message msg) {
	
	case FAIL:
		GoplayException mException = new GoplayException();
		setVideoUrlFailReason(mException);
		mListener.onFailed(mException);
		break;...
                            
                            
                                分类:
编程语言   时间:
2014-06-29 20:36:11   
                                阅读次数:
299