![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android c++
niubichen16
这个作者很懒,什么都没留下…
展开
-
linux/android thread test
对linux应用空间线程和子线程的理解----基于测试 不多说上代码: #include<string> #include<stdio.h> #include<unistd.h> #include<string.h> void *thread2(void *arg); void *thread1(void *arg) { pthread_t p2...原创 2019-04-08 18:03:22 · 161 阅读 · 0 评论 -
python crc32()函数和C++计算crc32
使用如下python代码来计算文件的crc32值: from zlib import crc32 import os import sys def getCrc32(filename): with open(filename, 'rb') as f: return crc32(f.read()) checksum=getCrc32(sys.argv[1]) print 'crc:',(he...原创 2019-04-28 13:18:18 · 6278 阅读 · 1 评论