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
在现有类和结构体的类型基础上,扩展新的功能。 语法:extension SomeType{// new functionality to add to SomeType goes here}An extension can extend an existing type to make itadopt one or more protocols.Where this is the case,the...
分类:
其他好文 时间:
2014-07-02 07:36:22
阅读次数:
244
今天接到朋友数据库一个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
Lua提供了一组传统的,小巧的控制结构,包括用于条件执行的if,用于迭代的while、repeat和for。所有的控制结构都有一个现实的终止符号:if for while 都以end结尾,repeat以until作为结尾。控制结构中的条件表达式可以使任何的值,Lua将所有false和nil的值视为“...
分类:
其他好文 时间:
2014-07-01 12:41:38
阅读次数:
253
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