码迷,mamicode.com
首页 >  
搜索关键字:restrict    ( 490个结果
Linux多线程实践(7) --多线程排序对比
屏障int pthread_barrier_init(pthread_barrier_t *restrict barrier, const pthread_barrierattr_t *restrict attr, unsigned count); int pthread_barrier_destr...
分类:编程语言   时间:2015-02-19 18:41:37    阅读次数:261
Linux多线程实践(6) --Posix读写锁解决读者写者问题
Posix读写锁int pthread_rwlock_init(pthread_rwlock_t *restrict rwlock, const pthread_rwlockattr_t *restrict attr); int pthread_rwlock_destroy(pthread_rwlock_t *rwlock); int pthrea...
分类:编程语言   时间:2015-02-19 18:39:41    阅读次数:229
centos 7 搭建ntp 服务器
restrict 192.168.1.0 netmask 255.255.255.0 nomodify notrap 第一步 安装ntp yum install ntp 第二步,查找最近的时间同步服务器 http://www.pool.ntp.org/zone/asia 第三部编辑 /etc/ntp.conf server  127.127.1.0  ibu...
分类:其他好文   时间:2015-02-06 13:20:53    阅读次数:255
pthread_cond_wait和pthread_cond_signal分析
1.pthread线程控制int pthread_create(pthread_t *restrict tidp, const pthread_attr_t *restrict attr, void *(*stat_rtn)(void*), void *restrict arg);int pthre...
分类:其他好文   时间:2015-01-31 14:32:48    阅读次数:490
MySQL外键设置中的的 Cascade、NO ACTION、Restrict、SET NULL
MySQL外键设置中的的属性含义: cascade方式 在父表上update/delete记录时,同步update/delete掉子表的匹配记录 set null方式 在父表上update/delete记录时,将子表上匹配记录的列设为null 要注意子表的外键列不能为not null   No action方式 如果子表中有匹配的记录,则不允许对父表对应候选键进行updat...
分类:数据库   时间:2015-01-21 22:38:58    阅读次数:201
标准IO之格式化输入和输出
1. 格式化输入 返回值:三个函数的返回值一致,若成功,指定输入的项数,若输入出错或在任意变换前已到达文件结尾则返回EOF (1). scanf 原型:int scanf(const char *restrict format, ...); 最基础,从标准输入输入 (2). fscanf 原型:int fscanf(FILE *restrict fp, const char *re...
分类:其他好文   时间:2015-01-10 12:45:37    阅读次数:281
转载--snprintf函数用法
作者:crfoxzl链接:http://blog.csdn.net/crfoxzl/article/details/2062139int snprintf(char *restrict buf, size_t n, const char * restrictformat, ...);函数说明:最多从...
分类:其他好文   时间:2015-01-09 15:28:53    阅读次数:155
[oracle]centos7下配置libzdb所产生的错误
1、关于gmtime_r、timegm的隐藏声明错误,从系统的time.h中复制两个函数引用到libzdb自己定义的time.h,代码如下:extern struct tm *gmtime_r (const time_t *__restrict __timer, str...
分类:数据库   时间:2014-12-30 19:00:13    阅读次数:538
wget下载整个网站的方法
转自: http://blog.itpub.net/29867/viewspace-716088/ (修改部分内容) wget --restrict-file-name=ascii -m -c -nv -np -k -E -p http://www.w3school.com.cn/ wget --r...
分类:Web程序   时间:2014-12-29 22:59:40    阅读次数:208
sicily 1215 脱离地牢
做Sicily 1215脱离地牢 这一题,一直Restrict function,都快崩溃了。 最后发现是内存泄露,就是new出来的东西没有及时delete导致的。 具体是在广度优先搜索的时候,每找一次邻居就new出一些节点,有些节点已被visited了然后我直接忽略它们,实际上是得把它们delete掉的,还有就是pop出一个节点后,在处理完邻居之后要把这个节点delete了 ...
分类:其他好文   时间:2014-12-27 11:26:14    阅读次数:255
490条   上一页 1 ... 41 42 43 44 45 ... 49 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!