码迷,mamicode.com
首页 >  
搜索关键字:direct path write temp    ( 55479个结果
Android_监听自身应用被卸载
1.通过jni实现函数 //LOG宏定义 #define LOG_INFO(tag, msg) __android_log_write(ANDROID_LOG_INFO, tag, msg) #define LOG_DEBUG(tag, msg) __android_log_write(ANDROID_LOG_DEBUG, tag, msg) #define LOG_WARN(tag, ms...
分类:移动开发   时间:2014-07-23 22:36:17    阅读次数:311
Android_Zip解压缩工具
public class ZipUtil { public ZipUtil(){ } /** * DeCompress the ZIP to the path * @param zipFileString name of ZIP * @param outPathString path to be unZIP * @throws ...
分类:移动开发   时间:2014-07-23 22:31:57    阅读次数:388
Python基础
也是自己之前学习的笔记。读文件file_obj2=open('hello.txt','w')conta='my name is Bb'file_obj2.write(conta)v=file_obj2.readlines()print v输出不唯一数1 (这是一个国外Python练习网站上的题...
分类:编程语言   时间:2014-07-23 22:21:17    阅读次数:497
C#判断文件和文件夹是否存在 不存在则创建
using System.IO;string path = @"D:\accountDaoRu"; if (Directory.Exists(path) == false) { Directory.CreateDirectory(path); }if (Directory.Exists(Server...
分类:其他好文   时间:2014-07-23 22:13:17    阅读次数:250
获取GetOpenFileName多选文件名
1 void CWriteWnd::OpenFileDialog() 2 { 3 OPENFILENAME ofn; 4 TCHAR szOpenFileNames[80*MAX_PATH] = _T(""); 5 TCHAR szPath[MAX_PATH];...
分类:其他好文   时间:2014-07-23 20:47:25    阅读次数:206
android 下使用Direct Texture
要使用Direct Texture,需要有一份android系统的源码部分C++代码如下:#include #include #include #include #include #include #include #include #include #include #include "rende...
分类:移动开发   时间:2014-07-23 20:46:55    阅读次数:681
保存和恢复activity的状态数据自己实现
1 public class DemoActivity extends BaseActivity { 2 private CheckBox cb_gender; 3 private String temp; 4 private Button bt_changeor; 5 ...
分类:其他好文   时间:2014-07-23 18:01:38    阅读次数:239
tiny210(s5pv210)移植u-boot(基于 2014.4 版本)——NAND添加分区
这里的分区只是为了操作的方便。假设有个分区 kernel,其地址区间为 0x20000~0x320000,其大小为 0x300000 在没有分区的情况下,对这块区间的操作如下: nand erase 20000 300000        擦除操作 nand write 20000000 20000 300000    写操作 nand read 20000000 20000 300000...
分类:其他好文   时间:2014-07-23 17:15:41    阅读次数:222
Following unknown configure options were used:--enable-fpm
执行cd   php-5.2.13安装时候 ./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ --with-mysql=/usr/local/mysql/ --with-libxml-dir=/usr/local/libxml2/ --with-jpeg-dir=/usr/local/...
分类:Windows程序   时间:2014-07-23 17:10:31    阅读次数:296
hdu 4862 Jump (费用流)
hdu 4862 Jump (费用流) 建图:新建一个temp节点,源点像temp连一条流量为k,费用为0的边,表示最多有k条路径。将原图每个点拆为两个点(i,i')表示流入该点和流出该点。temp像每个i连边,容量为1,费用为0,表示每个点都可以作为起点。为了保证每个点都被走到,每个的i向i’建边,容量为1,费用为-INF,表示费用非常非常小,它对流非常具有吸引力。每个i‘向能去的j建边,容量...
分类:其他好文   时间:2014-07-23 17:05:00    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!