码迷,mamicode.com
首页 >  
搜索关键字:assuming 536870912.00 bytes    ( 3912个结果
String类的概述和使用
String类的概述和使用 (1)多个字符组成的一串数据。 其实它可以和字符数组进行相互转换。 (2)构造方法: A:public String() B:public String(byte[] bytes) C:public String(byte[] bytes,int offset,int length) D:public String(char[] value) E:pub...
分类:其他好文   时间:2015-04-14 12:56:50    阅读次数:95
redis.conf配置详细解析
-# redis 配置文件示例 # 当你需要为某个配置项指定内存大小的时候,必须要带上单位,# 通常的格式就是 1k 5gb 4m 等酱紫:## 1k => 1000 bytes# 1kb => 1024 bytes# 1m => 1000000 bytes# 1mb => 1024*1024 .....
分类:其他好文   时间:2015-04-13 22:33:23    阅读次数:131
java记录
byte[]数组如何转换成String public static final String arrayToString(byte[] bytes) { StringBuffer buff = new StringBuffer(); for (int i = ...
分类:编程语言   时间:2015-04-13 12:37:47    阅读次数:125
Ubuntu开启IPV6,解决Gmail等google服务不稳定问题
我是个离不开google服务的人。花钱买的SSH服务也时不时抽风。于是…… $sudo apt-get install miredo $ifconfig 在结果中应该能看见一个叫 teredo 的虚拟网卡。 $ ping6 ipv6.google.com PING ipv6.google.com(2404:6800:8003::93) 56 data bytes 64 ...
分类:系统相关   时间:2015-04-12 22:46:31    阅读次数:167
【转】Redis配置文件详解
# Redis 配置文件# 当配置中需要配置内存大小时,可以使用 1k, 5GB, 4M 等类似的格式,其转换方式如下(不区分大小写)## 1k =>1000 bytes# 1kb => 1024 bytes# 1m => 1000000 bytes# 1mb =>1024*1024 bytes# ...
分类:其他好文   时间:2015-04-10 19:56:56    阅读次数:169
malloc()的用法
malloc的全称是memory allocation,中文叫动态内存分配,当无法知道内存具体位置的时候,想要绑定真正的内存空间,就需要用到动态的分配内存。原型为extern void *malloc(unsigned int num_bytes)。在使用上,malloc 和 new 至少有两个不同...
分类:其他好文   时间:2015-04-10 17:40:57    阅读次数:121
临时表空间的查询与压缩
--查询临时表空间select f.tablespace_name,d.file_name "tempfile name",round((f.bytes_free + f.bytes_used) / 1024 /1024, 2) "total mb",round(((f.bytes_free + f...
分类:其他好文   时间:2015-04-10 13:04:56    阅读次数:103
[PHP]利用openssl_random_pseudo_bytes和base64_encode函数来生成随机字符串
openssl_random_pseudo_bytes函数本身是用来生成指定个数的随机字节,因此在使用它来生成随机字符串时,还需要配合使用函数base64_encode。如下所示:public static function getRandomString($length = 42) { /* * Use OpenSSL (if available)...
分类:Web程序   时间:2015-04-09 23:47:36    阅读次数:157
操作系统启动过程分析(二)
一, bootsect.s程序功能简要分析 下面这段代码就是bootsect的源程序, 这是Linus Torvalds在1991年写的!! SYS_SIZE is the number of clicks (16 bytes) to be loaded.! 0x3000 is 0x30000 b....
分类:其他好文   时间:2015-04-09 19:36:08    阅读次数:186
Nginx 用log_format设置日志格式
1、配置文件#vim /usr/local/nginx/conf/nginx.conflog_format access ‘$remote_addr – $remote_user [$time_local] “$request” ‘‘$status $body_bytes_sent “$http_r...
分类:其他好文   时间:2015-04-07 19:32:34    阅读次数:111
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!