码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
Reverse Nodes in k-Group [逆转K-Group链表]
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is...
分类:其他好文   时间:2014-12-25 11:25:56    阅读次数:146
IOS下viewcontroller之间传递数据
使用场景A中调用B页面,在B中用户做了处理后,将数据回传给A第一步,新建passValueDelegate.h #import@protocolPassSelectDelegate-(void)passValue:(NSDictionary*)value;@end第二步,第一个viewcontrol...
分类:移动开发   时间:2014-12-25 09:52:13    阅读次数:146
内存管理(一):物理内存划分及对应的内存申请函数
32bits系统内存划分: 1. ZONE_DMA 包含低于16MB的内存页框 2. ZONE_NORMAL 包含高于16MB且低于896MB的内存页框 3. ZONE_HIGHMEM 包含从896MB开始于896MB的内存页框 ZONE_HIGHMEM又划分为如下三个部分: 1. VMALLOC区:VMALLOC_START ~ VMALLOC_END 2. 永久内核映射区:...
分类:其他好文   时间:2014-12-25 00:16:09    阅读次数:172
objective-c基础
1. 私有方法假设现有的类为MyClass:在类的头文件代码为: @interface MyClass { // 添加变量}- (void)PublicMethod;//公共方法,可以被继承类继承@end而在类的.m文件中,采用类别来实现私有方法,具体操作为:@interface MyClas...
分类:其他好文   时间:2014-12-24 21:21:09    阅读次数:160
Remove Nth Node From End of List -- leetcode
Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the l...
分类:其他好文   时间:2014-12-24 18:05:07    阅读次数:152
string 常用 方法
boost::array header;string(header.begin(),header.end())std::vector body(atoi((string(header.begin(),header.end())).c_str()));string headlength(std::to...
分类:其他好文   时间:2014-12-24 17:42:33    阅读次数:145
iOS 判断网络状态 简单示例
添加SystemConfiguration.framework 到工程中 对应的.h文件 #import @interface ViewController : UIViewController //如果方法前面加+,就相当于类的静态方法,这里要注意一下 - (BOOL) connectedToNetwork; @end 对应的.m文件 #import "ViewController.h...
分类:移动开发   时间:2014-12-24 16:17:02    阅读次数:170
php模拟动态输出效果
读取数据库,显示数据foreach($s as $ss){echo '同步中 ...';for( $i = 1 ; $i '; echo $ss['people']; echo ""; flush(); ob_flush(); sleep(1);}echo 'End ....
分类:Web程序   时间:2014-12-24 14:40:18    阅读次数:144
SQL 导出表结构到Excel
SQL 导出表结构到ExcelSELECT 表名 = case when a.colorder=1 then d.name else '' end, 表说明 = case when a.colorder=1 then isnull(f.value,'')...
分类:数据库   时间:2014-12-24 13:27:18    阅读次数:271
Oracle-Procedure LOOP
CREATE OR REPLACE PROCEDURE PROC AS i NUMBER; j NUMBER; BEGIN i := 1; WHILE i <= 100 LOOP dbms_output.put_line(i); i := i + 1; END LOOP; FOR j in 1 .. 100 LOOP dbms_output...
分类:数据库   时间:2014-12-24 11:46:34    阅读次数:159
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!