码迷,mamicode.com
首页 >  
搜索关键字:uid gid    ( 6909个结果
linux编译警告 will be initialized after
http://blog.chinaunix.net/uid-17019762-id-3152012.html作为一个有强迫症的人,实在是受不了warning 的存在 这个warning是由于初始化顺序引起的,//会出现warning 的代码!classcInit{public:cInit(std::...
分类:系统相关   时间:2014-09-05 12:41:41    阅读次数:207
Linux中查看CPU信息【转】
【转自】:http://blog.chinaunix.net/uid-23622436-id-3311579.htmlcat /proc/cpuinfo中的信息processor 逻辑处理器的id。physical id 物理封装的处理器的id。core id 每个核心的id。cpu cores 位...
分类:系统相关   时间:2014-09-05 12:38:55    阅读次数:251
用户ID和用户组ID的操作
主要函数为#include#includeuid_t getuid(void);gid_t getgid(void);uid_t gettuid(void);gid_t getegid(void);//更改IDint setuid(uid_t uid);int setgid(gid_t gid);/...
分类:其他好文   时间:2014-09-04 20:40:00    阅读次数:246
使用xutils发送POST请求,携带json和图片二进制文件数据获取服务器端返回json数据
接口文档:换头像接口 user/change_avatar发送数据HTTP Post body(一共2对KEY-VALUE):json={"uid":"1","sid":"0123456789ABCDEF0123456789ABCDEF","ver":"1","request":{}}file=图片...
分类:Web程序   时间:2014-09-02 19:36:35    阅读次数:322
Ubuntu14.04用apt安装CDH5.1.2[Apache Hadoop 2.3.0]
---------------------------------------博文作者:迦壹博客名称:Ubuntu14.04用apt安装CDH5.1.2[Apache Hadoop 2.3.0]博客地址:http://idoall.org/home.php?mod=space&uid=1&do=bl...
分类:其他好文   时间:2014-09-02 01:35:04    阅读次数:458
assound.conf
pcm.!dmix {type dmixipc_key 5678293ipc_key_add_uid yesslave {pcm "hw:0,0"period_time 0period_size 2048buffer_size 16384format S16_LErate 48000}}pcm.!d...
分类:其他好文   时间:2014-09-01 21:01:23    阅读次数:224
lunix shell 基础常用整理
1   ps  -ef    显示正在运行的进程,pid 等信息  UID PID PPID C STIME TTY TIME CMD root 1 0 0 03:45 ? 00:00:02 init [5] root 2 1 0 03:45 ? 00:00:00 [migration/0] root 3 1 0 03:45 ? 00:00:00 [ksoftirqd/0] ro...
分类:其他好文   时间:2014-08-31 22:57:12    阅读次数:489
SPSR与CPSR
原文:http://blog.chinaunix.net/uid-28458801-id-3487199.htmlCPSR:程序状态寄存器(current program status register) (当前程序状态寄存器),在任何处理器模式下被访问。它包含了条件标志位、中断禁止位、当前处理器模...
分类:其他好文   时间:2014-08-31 14:28:41    阅读次数:168
海量数据
//参考链接:http://blog.chinaunix.net/uid-25324849-id-2182916.html#include using namespace std;const int N = 10000000;const int FILE_NUM = 5;const int MAX_...
分类:其他好文   时间:2014-08-29 12:36:08    阅读次数:153
python字符串操作函数和string模块代码分析
原文链接:http://blog.chinaunix.net/uid-25992400-id-3283846.htmlpython的字符串属性函数字符串属性方法:>>> str='string learn'>>> dir(str)['__add__', '__class__', '__contain...
分类:编程语言   时间:2014-08-28 17:56:55    阅读次数:425
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!