-- loop的三种形式 (1).LOOP (2).WHILE ... LOOOP (3).FOR ... LOOP 1.基本的LOOP语句 SET serveroutput ON; -- exit ... when 结束循环 DECLARE v_value NUMBER(8) := -3; BEG... ...
分类:
数据库 时间:
2017-06-18 22:49:48
阅读次数:
197
itertools模块:处理可迭代对象 chain()和islice()、tee() chain:合并迭代器 islice:切割迭代器,start,end,step tee:复制迭代器,新迭代器共享输入迭代器, 新迭代器之间不影响 startmap() count()、cycle()、repeat( ...
分类:
编程语言 时间:
2017-06-18 14:16:00
阅读次数:
171
web.xml <?xml version="1.0" encoding="utf-8"><web-app ......> <welcome-file-list> <welcome-file>/pages/login.html<welcome-file> </welcome-file-list> < ...
分类:
Web程序 时间:
2017-06-17 23:21:09
阅读次数:
301
敌方飞机应该不定时的出现,有自己的生命周期、运动轨迹。这个类用来管理敌机的产生、移动、爆炸、销毁等。 敌机管理类主要函数例如以下 //绑定控制器(更新分数) void bindController(Controller* controller); //依据分数决定加入敌机速度 void addSpe ...
分类:
其他好文 时间:
2017-06-16 19:27:20
阅读次数:
191
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up:Can you solve it without using extra space? 题 ...
分类:
其他好文 时间:
2017-06-15 21:47:53
阅读次数:
220
Problem statement Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? Solution This is a cl ...
分类:
其他好文 时间:
2017-06-15 12:38:22
阅读次数:
148
Description A simple cycle is a closed simple path, with no other repeated vertices or edges other than the starting and ending vertices. The length o ...
分类:
其他好文 时间:
2017-06-14 11:40:07
阅读次数:
153
记一次内存泄露 开发的应用,利用LeakCanary检测内存泄露,发现在我自己的手机【一加三 android 7.1.1】必然存在泄露。日志如下 分析起来毫无头绪,全部都在SDK里面,在activity里面也完全没有使用AccessibilityManager 相关的。 最开始由于应用有一个地图界面 ...
分类:
数据库 时间:
2017-06-13 18:19:50
阅读次数:
237
1、MRC与ARC 苹果提供两种内存管理机制:一种是MRC(manual reference count),即手动引用计数;还有一种是ARC(auto reference count)。即自己主动引用计数。手动引用计数,顾名思义。须要程序猿主动调用retain、release等方法来管理内存。而自己 ...
分类:
移动开发 时间:
2017-06-12 19:45:05
阅读次数:
217