码迷,mamicode.com
首页 >  
搜索关键字:Once    ( 2791个结果
hdu 5037 Frog (贪心)
Frog Time Limit: 3000/1500 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 789    Accepted Submission(s): 198 Problem Description Once upon a time, the...
分类:其他好文   时间:2014-09-22 22:22:43    阅读次数:195
HDOJ 5037 Frog
Frog Time Limit: 3000/1500 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 634    Accepted Submission(s): 152 Problem Description Once upon a time, the...
分类:其他好文   时间:2014-09-22 16:31:33    阅读次数:194
Foundation框架中NSArray和NSMutableArray
===================NSArray====================(不可变数组,一旦建立就不能被更改)Ordered collection of objects.Immutable(you cannot add or remove objects to it once it...
分类:其他好文   时间:2014-09-21 23:58:31    阅读次数:161
HDU - 5033 Building
Problem Description Once upon a time Matt went to a small town. The town was so small and narrow that he can regard the town as a pivot. There were some skyscrapers in the town, each located at posit...
分类:其他好文   时间:2014-09-21 22:18:41    阅读次数:316
pthread_once和pthread_key_create的用法演示
static pthread_key_t key;static pthread_once_t key_once = PTHREAD_ONCE_INIT;void make_key(){ fprintf(stderr, "make_key\n"); pthread_key_create(&...
分类:其他好文   时间:2014-09-18 22:07:44    阅读次数:454
RocketMQ 系统优化(CentOS)
贴出源码中的优化脚本先: #!/bin/sh # #?Execute?Only?Once # echo?‘vm.overcommit_memory=1‘?>>?/etc/sysctl.conf echo?‘vm.min_free_kbytes=5000000‘?>>?/etc/sysctl.conf echo?‘vm.drop_caches=1‘?...
分类:其他好文   时间:2014-09-18 19:12:44    阅读次数:274
php 生成二维码
http://phpqrcode.sourceforge.net/下载 php类库PHP QR Coderequire_once('phpqrcode.php');$url = "http://www.lin3615.net"; // 二维码的内容$filename = 'lin3615.png';...
分类:Web程序   时间:2014-09-18 18:35:14    阅读次数:152
PHP的socket连接到服务端模版
在整理新框架的时候,发现对于一些缓存数据,需要对外的接口访问,而比较方便的是php的接口,所以临时研究了下php如何连接java服务端。先贴上代码:<?phprequire_once 'CRC16.php';/*----------------------------- | 向服务器发送数据包 --...
分类:Web程序   时间:2014-09-17 23:04:52    阅读次数:322
找出数组中只出现一次的数
这个题目有三种变形。第一种,一个数组中所有数都出现了两次,只有一个数出现了一次,求这个数。这个题比较简单,只要知道数字间异或的特性,就可以很容易的得出答案。int find_num_appear_once(int *data, int length){ if(data==NULL || len...
分类:其他好文   时间:2014-09-16 18:56:40    阅读次数:282
malloc without free, what happens?
It's per-process. Once your process exits, the allocated memory is returned to the OS for use by other processes (new or existing).To answer your edit...
分类:移动开发   时间:2014-09-16 07:03:00    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!