码迷,mamicode.com
首页 >  
搜索关键字:分区表 partition by range    ( 13352个结果
事务复制中的分区表
背景 事务复制中发布表有分区表,如何配置发布项,使分区结构传播到订阅库?有何限制? 测试环境 CodeUSE [master]GOCREATE DATABASE [OMS_Test] ON PRIMARY ( NAME = N'OMS_Test_data1', FILENAME = N'C:\P.....
分类:其他好文   时间:2014-07-22 22:56:13    阅读次数:456
textField文字长度限定
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;{ //string就是此时输入的那个字符text...
分类:其他好文   时间:2014-07-17 00:50:17    阅读次数:354
android-exploitme(四):参数篡改
今天我们来测试请求中参数的篡改,这个在web安全测试中是常用的,拦截请求包,修改参数,提交1. 首先我们需要启动模拟器,并使用本机的代理(加上参数-partition-size的目的是为了可以往android的/system中拷贝数据,要不然会提示“out of memory”错误)。如果是linu...
分类:移动开发   时间:2014-07-16 19:23:27    阅读次数:267
快速排序
快速排序是从起泡排序改进而得的一种“交换”排序方法。它的基本思想是通过一趟排序将待排记录分割成相邻的两个区域,其中一个区域中的元素均比另一个区域中元素小(区域内不见得有序)则可对这两个区域内的元素进行再排序,以达到整个序列有序。//快速排序#includeint Partition(int a[] ...
分类:其他好文   时间:2014-07-16 18:52:04    阅读次数:156
python中的各种排序
#encoding=utf-8import randomfrom copy import copy def directInsertSort(seq): """ 直接插入排序 """ size = len(seq) for i in range(1,size): t...
分类:编程语言   时间:2014-07-16 18:11:59    阅读次数:255
[LeetCode OJ] Roman to Integer
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.下面是百度得到的关于罗马数的解释:我的代码: 1 class Solution { 2 ...
分类:其他好文   时间:2014-07-16 18:00:22    阅读次数:214
[leetcode]Palindrome Partitioning
Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
分类:其他好文   时间:2014-07-16 17:41:15    阅读次数:173
编程之美之寻找最大的k个数
这个题目很常见,方法也很多,这里总结了编程之美给出的几个比较好的方法,也算是对这个问题的一个总结。 方法一、partition算法,每次partition的复杂度为O(n),总的平均时间复杂度为O(nlogn) 分析:运用partition算法,如果返回的provit > k-1,则说明要找的数都在前面,把end= provit-1;如果provit int partition(vecto...
分类:其他好文   时间:2014-07-16 17:31:54    阅读次数:290
Partition an array around an interger
Partition an array of integers around a value such taht all elements less than x come before elements greater than or equal to x.Idea: Just use of sub...
分类:其他好文   时间:2014-07-15 22:52:15    阅读次数:239
oracle 快照(snapshot) 管理
?? ----手工创建oracle 快照 BEGIN DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT (); END; / ---删除快照 具体快照信息可以查看视图 DBA_HIST_SNAPSHOT BEGIN DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22, ...
分类:数据库   时间:2014-07-14 18:44:31    阅读次数:460
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!