创建表空间
/*分为四步 */
/*第1步:创建临时表空间 */
create temporary tablespace user_temp
tempfile 'D:\oracle\oradata\Oracle9i\user_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m //如果最大值没有...
分类:
数据库 时间:
2015-07-16 09:53:00
阅读次数:
237
直接上代码/* text:文字 font:文字的字体 maxsize:文字的最大宽高*/- (CGSize)sizeWithText:(NSString *)text andFont:(NSFont *)font andMaxSize:(CGSize)maxsize{ NSDictionar...
分类:
其他好文 时间:
2015-07-16 00:49:26
阅读次数:
160
#include<stdio.h>
#define MAXSIZE 20
typedef int ElemType;
typedef struct
{
ElemType data[MAXSIZE];
int length;
}SqList;
int get_elem(SqList *L, int i, ElemType *e)
{
if(L->length==0 ...
分类:
其他好文 时间:
2015-07-15 17:13:52
阅读次数:
142
使用Volley的ImageLoader异步获取并缓存图片时,发现有的网络图片已经缓存了,但是断网后却读不出来。
ImageLoader的使用方法:
RequestQueue requestQueue = Volley.newRequestQueue(context);
//设置缓存
int maxSize = 100 * 1024 * 1024;
...
分类:
其他好文 时间:
2015-07-15 13:24:46
阅读次数:
248
int main(){ int MaxSize = 100,i,j; char tmp[10]; PtrToStack s; s = CreateStack(MaxSize); while( scanf("%s",tmp) != EOF ) { in...
分类:
其他好文 时间:
2015-07-14 11:15:36
阅读次数:
129
//将中缀表达式转换为后缀表达式intmain(){ int MaxSize = 10; int str[8]={3,3,2,1,0,1,0,2}; char tmp; PtrToStack s; s = CreateStack( MaxSize ); while...
分类:
其他好文 时间:
2015-07-13 20:02:11
阅读次数:
101
#include#includetypedef int * List;/* 自调整表的Find数组实现 */intFind(List L,int MaxSize,int X){ int where = 0; for( i = 1; i 1; i-- ) { ...
分类:
其他好文 时间:
2015-07-12 12:33:57
阅读次数:
133
一、线性表1、线性表的顺序存储结构(1)线性表顺序存储结构代码:1 #define MAXSIZE 20 2 typedef int ElemType;3 typedef struct4 {5 ElemType data[MAXSIZE];6 int length; // 线性表当前长度...
分类:
其他好文 时间:
2015-07-12 11:09:58
阅读次数:
117
我最终才去的方案如下:
/**
* 动态发布图片压缩
*
* @param source_image 原图image
* @param maxSize 限定的图片大小
*
* @return 返回处理后的图片
*/
- (NSData *)resetSizeOfImageData:(UIImage *)source_image maxSize:(NSInteg...
分类:
移动开发 时间:
2015-07-10 11:32:34
阅读次数:
312
#include #include #define MAXSIZE 10000#define OK 1typedef int KeyType;typedef char InfoType;typedef int Status;using namespace std;typedef struct{ Ke...
分类:
编程语言 时间:
2015-07-09 17:43:30
阅读次数:
122