描述:设有两个栈,S1和S2,都采用顺序栈的存储方式。两个栈共享一个存储区:【0,……maxsize-1】目的:可以尽量利用空间,减少溢出的可能,采用栈顶相向、迎面增长的存储方式 PS:要注意判断栈满栈空的检查 ...
分类:
其他好文 时间:
2017-08-01 20:45:21
阅读次数:
374
DB2表空间实用信息存放于视图“sysibmadm.tbsp_utilization”中。需要dba权限执行。 SQL如下: select tbsp_id, varchar(tbsp_name,30), tbsp_used_size_kb/1024 as "usedsize(MB)", tbsp_m ...
分类:
数据库 时间:
2017-08-01 19:04:29
阅读次数:
214
采用Live555作为流媒体服务器端,进行RTSP的请求的时候,会出现如下的提示:MultiFramedRTPSink::afterGettingFrame1():Theinputframedatawastoolargeforourbuffersize(100452).13457bytesoftrailingdatawasdropped!Correctthisbyincreasing"OutPacketBuffer::maxSize"toatleas..
分类:
其他好文 时间:
2017-07-31 22:02:23
阅读次数:
453
数据库的创建:create database data_name on primary ( name=data_1, filename='D\Data\data_name.mdf', size=50mb, maxsize=unlimited, filegrowth=10% ) log on ( na ...
分类:
数据库 时间:
2017-07-27 10:48:21
阅读次数:
207
#include "stdafx.h" #include #define MaxSize 50 typedef char ElemType; typedef struct { ElemType data[MaxSize]; int length; } SqList; // 一维数组即是顺序表 voi... ...
分类:
其他好文 时间:
2017-07-24 00:03:29
阅读次数:
125
#include #include #include #include #include #include using namespace std; #define MAXN 9999 #define MAXSIZE 10000 #define DLEN 4 class BigNum{ privat... ...
分类:
其他好文 时间:
2017-07-23 22:35:39
阅读次数:
162
公司服务器上安装了contly,是一个开源的node.js项目,用于统计手机app使用情况,后端数据储存使用的mongodb,使用的时候经常发现mongodb占用cpu非常高,打到了210%的爆表值 仔细查看是中断很多,命令是pid -w 1 vmstat 中断和上下文切换多,是因为nodejs一直 ...
分类:
数据库 时间:
2017-07-19 14:02:29
阅读次数:
2097
SQL> create tablespace ts3 datafile 'C:\tablespace\ts1.dbf' size 50M autoextend on next 10M maxsize 1024M;create tablespace ts3 datafile 'C:\tablespac ...
分类:
其他好文 时间:
2017-07-13 10:21:43
阅读次数:
123
在Linux中经常会遇到时间和字符串相互转化的情形,有两个函数专门对应相应的转化。 1、时间转字符串函数strftime 函数原型:size_t strftime(char *s,size_t maxsize,char *format,conststruct tm *timeptr) strftim ...
分类:
系统相关 时间:
2017-07-11 23:29:48
阅读次数:
552
Public Sub StartRecursionFolder() Dim Pre As Presentation Dim FolderPath As String Dim pp As String Dim id As String Dim oFileDialog As FileDialog Set... ...
分类:
编程语言 时间:
2017-07-09 20:59:02
阅读次数:
150