- 博客(212)
- 收藏
- 关注
原创 计算机补码
#include <stdio.h>#include <stdlib.h>void show_bytes(unsigned char *start, int len){ int i = 0; for (; i < len; ++i) printf(" %.2x", start[i]); printf("\n");}...
2018-04-20 16:16:33 498
原创 %d %u
https://segmentfault.com/q/1010000009639067?_ea=1999573在计算机里不管正数还是负数,存储的01都是固定的,每个整数只有一种存储, 但是在我们使用的时候,分有符号和无符号两种使用方式, printf(“%d\n”,a);//当作负数来用,可比较大小 printf(“%u\n”,a);//当作固定数来用,可比较大小...
2018-04-02 17:44:43 423
原创 Signing key has not been configured
http://blog.csdn.net/power88881/article/details/52239822
2018-03-20 10:11:33 591
原创 socket
http://blog.csdn.net/stpeace/article/details/74012556 http://blog.csdn.net/lanzhihui_10086/article/details/40681617 http://blog.csdn.net/stpeace/article/details/73435564 https://www.cnblog...
2018-03-19 17:14:39 309
原创 NDK
https://chinagdg.org/2017/04/介绍-android-原生开发工具包-r14/ http://ju.outofmemory.cn/entry/106967 http://blog.csdn.net/hdanbang/article/details/49403137 http://blog.csdn.net/richu123/article/deta...
2018-03-12 20:24:52 277
原创 openwrt源码
https://dev.openwrt.org/wiki/GetSource https://openwrt.org/zh/start http://archive.openwrt.org/ http://downloads.openwrt.org/
2018-03-10 23:52:38 370
原创 makefile条件编译
http://blog.csdn.net/zz460833359/article/details/51335333 http://blog.csdn.net/maopig/article/details/7230311
2018-03-09 16:57:43 675
原创 adt介绍
由于JDK+Eclipse+ADT+SDK或者JDK+Android Studio在安装的过程中非得联网不可。因此也选用了JDK1.7+解压即用的官方绿色版Android开发环境adt-bundle20131030去安装。 http://blog.csdn.net/yongh701/article/details/45040235...
2018-03-09 16:14:51 3101
原创 本机ip、127.0.0.1和0.0.0.0区别
http://blog.sina.com.cn/s/blog_47642c6e0102w3uk.html http://blog.csdn.net/u012359618/article/details/56277254
2018-03-08 20:57:11 1087
原创 向linux服务器上传下载文件方式收集
http://blog.csdn.net/huwei2003/article/details/41575981
2018-03-08 15:47:19 286
原创 mosquitto配置文件说明
http://blog.csdn.net/xyblog/article/details/50113453 https://www.2cto.com/kf/201709/677758.html http://blog.csdn.net/qq_29350001/article/details/77161537
2018-03-08 09:52:52 426
原创 core段错误
http://blog.csdn.net/lhh1113/article/details/52538989 https://my.oschina.net/hevakelcj/blog/416394
2018-03-05 13:48:59 314
原创 malloc/calloc/realloc
#include <stdio.h>#include <stdlib.h>#include <string.h>int main(void){ int *p = NULL; p = (int *)malloc(5*sizeof(int)); memset(p,0,5*sizeof(int)); int i = 0; ...
2018-03-01 15:59:46 314
原创 释放线程资源
创建一个线程默认的状态是joinable, 如果一个线程结束运行但没有被join,则它的状态类似于进程中的Zombie Process,即还有一部分资源没有被回收(退出状态码),所以创建线程者应该pthread_join来等待线程运行结束,并可得到线程的退出代码,回收其资源(类似于wait,waitpid) 但是调用pthread_join(pthread_id)后,如果该线程没有运行结束,调用...
2018-02-24 16:50:38 1616
原创 tcp
http://blog.csdn.net/zh0314/article/details/77387162 http://blog.csdn.net/joeblackzqq/article/details/8258693 https://www.cnblogs.com/xuyh/p/5613462.html http://blog.csdn.net/ithomer/artic...
2018-02-24 13:45:54 203
原创 valgrind
http://blog.csdn.net/stpeace/article/details/61622214编译:gcc -g main.c 检查:valgrind --tool=memcheck --leak-check=yes --show-reachable=yes ./a.out 看到泄露的函数和行号
2018-02-24 11:34:10 227
原创 sqlite3
http://blog.csdn.net/warrior_zhang/article/details/50503395 http://blog.csdn.net/u010312436/article/details/51558964 http://blog.csdn.net/zouleideboke/article/details/73649886 //有内存泄露 添加:...
2018-02-24 10:42:55 202
原创 AndroidStudio Gradle
http://blog.csdn.net/qq_21397217/article/details/60468049 http://blog.csdn.net/aphysia/article/details/72953687 https://www.cnblogs.com/sonice-cinsy/p/6604391.html
2018-02-13 00:33:31 217
原创 ubuntu开启ssh
http://blog.csdn.net/md521/article/details/52597398 http://blog.csdn.net/pansanday/article/details/61424425
2018-02-12 18:02:42 309
原创 CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I...
2018-02-12 18:01:51 194
原创 对其__attribute((aligned(n)))与#pragma pack (n)详解
https://www.cnblogs.com/ransn/p/5081198.html http://blog.csdn.net/gujintong1110/article/details/49004465
2018-01-15 20:10:41 571
原创 ioctl在socket中的一些用法及示例
http://blog.chinaunix.net/uid-20692625-id-3172833.html
2018-01-11 15:23:08 743
原创 "STAGING_DIR" not defined
http://blog.csdn.net/gubenpeiyuan/article/details/8063867 http://blog.csdn.net/suiyuan19840208/article/details/38493813
2018-01-11 15:22:31 2655
原创 warning: environment variable 'STAGING_DIR' not defined
http://blog.csdn.net/suiyuan19840208/article/details/38493813 http://blog.csdn.net/gubenpeiyuan/article/details/8063867
2018-01-10 18:37:16 2128
原创 OpenWrt-LuCI 路由器设置端口映射(RDP & SSH)
http://blog.csdn.net/u011414200/article/details/48523171
2017-12-28 15:47:58 2378
原创 zigbee:profile-cluster-command-attribute
profile:面向对象的类cluster:对象command:类中的方法attribute:对象的属性比如你定义了一个智能家居的类(profile=0x104),那么你是不是需要包括很多设备啊,比如具体的灯、开关。所以你在类的基础上你又会去实例化一个对象调光器,这个调光器是不是需要一些方法呢,比如去控制灯开关,这就相当于command,而每个设备对象本身都应该有一些自己的属性来描述这个设备
2017-12-27 10:42:53 452
原创 linux c获取mac地址
http://blog.csdn.net/mianhuantang848989/article/details/49615329 http://blog.csdn.net/rookie_algo/article/details/23142537
2017-12-20 19:21:36 1226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人