1 -- 查看表空间容量 2 SELECT UPPER(F.TABLESPACE_NAME) "表空间名", 3 D.TOT_GROOTTE_MB "表空间大小(M)", 4 D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", 5 TO_CHAR(ROUND(....
分类:
数据库 时间:
2014-07-01 17:31:11
阅读次数:
316
Format characters have the following meaning; the conversion between C and Python values should be obvious given their types. The ‘Standard size’ column refers to the size of the packed value in bytes...
分类:
编程语言 时间:
2014-07-01 14:51:47
阅读次数:
391
1 // typesize.c -- 输出类型的大小 2 #include 3 int main(void) 4 { 5 //C99为类型大小提供一个%zd说明符 6 7 printf("Type int has a size of %u bytes. \n", sizeof(...
分类:
其他好文 时间:
2014-06-28 23:13:47
阅读次数:
245
一. 二进制转换成图片?12345MemoryStream ms = new MemoryStream(bytes);ms.Position = 0;Image img = Image.FromStream(ms);ms.Close();this.pictureBox1.Image二. C#中byt...
分类:
其他好文 时间:
2014-06-28 20:02:37
阅读次数:
211
if=输入文件(或设备名称)。ibs=bytes一次读取bytes字节,即读入缓冲区的字节数。obs=bytes一次写入bytes字节,即写入缓冲区的字节数。cbs=bytes一次转换bytes字节。conv=ASCII把EBCDIC码转换为ASCII码。conv=ibm把ASCII码转换为alternateEBCDIC码。conv=ublock把固定们转换成变..
分类:
系统相关 时间:
2014-06-28 06:04:25
阅读次数:
401
escape.py# -*- coding: utf8 -*-import sysif type('') is not type(b''): def u(s): return s bytes_type = bytes unicode_type = str bas...
分类:
编程语言 时间:
2014-06-27 11:10:20
阅读次数:
480
今天在做一个注册页面的时候遇到了一个验证码图片在页面显示的问题。我用requests从一个url上获取到一张图片, 没有保存到本地, 而是想直接作为render的字典参数,传到页面里进行渲染。因为requests.get(url)得到的response.content是bytes, 无法像jpg等本...
分类:
其他好文 时间:
2014-06-25 17:18:01
阅读次数:
638
1 SELECT UPPER(F.TABLESPACE_NAME) "表空间名",D.TOT_GROOTTE_MB "表空间大小(M)",D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)",TO_CHAR(ROUND((D.TOT_GROOTTE_MB - F.T...
分类:
数据库 时间:
2014-06-25 16:41:08
阅读次数:
249
static byte[] GetBytes(string str){ byte[] bytes = new byte[str.Length * sizeof(char)]; System.Buffer.BlockCopy(str.ToCharArray(), 0, bytes, 0, ...
分类:
其他好文 时间:
2014-06-24 14:15:24
阅读次数:
145
启动WAMP Server的时候报如下的错误:
140618 23:12:32 [Note] Plugin 'FEDERATED' is disabled.
140618 23:12:32 InnoDB: The InnoDB memory heap is disabled
140618 23:12:32 InnoDB: Mutexes and rw_locks use Windows inte...
分类:
数据库 时间:
2014-06-22 20:31:08
阅读次数:
471