加载中
MyMinimad ── Linux下用libmad写的mp3解码播放程序(四)

优化了内存使用,不再使用mmap映射整个文件到内存 /* * 本程序是从 minimad 改进而来,如要更详细的说明请参看 minimad.c * * Gu Zhou, 2009/12/25, SiChuan University, China * * 系统: ...

2019/11/21 00:15
429
MyMinimad ── Linux下用libmad写的mp3解码播放程序(三)

MyMinimad ── Linux下用libmad写的mp3解码播放程序 MyMinimad ── Linux下用libmad写的mp3解码播放程序(二) csdn的博客帐号当年那个事件中被盗了,相应的邮箱也被盗了,这次写在这里。 /*...

2019/10/27 00:18
732
非c++1x实现UniquePtr

#ifndef UNIQUEPTR_H #define UNIQUEPTR_H template<typename _T> struct default_delete { void operator()(_T *ptr) { delete ptr; } }; template<typename _T, typename _D......

2019/10/23 12:15
70
GB18030Cut

int GB18030Cut(const unsigned char *buf, int max) { int i = 0; for (; i < max;) { if (0 == buf[i]) { break; } if (buf[i] <= 0x7F) ......

2019/10/23 12:01
40
hbase 0.98.24 api使用

val conf = HBaseConfiguration.create conf.addResource(new Path("hbase-site-xxx.xml")) // hbase-site-xxx.xml需在classpath的jar包中 conf.writeXml(System.out) // 看hbase-site-xxx....

2018/07/06 16:38
362
urldecode

static const int hex[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1...

2017/09/11 17:17
120

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部