码迷,mamicode.com
首页 >  
搜索关键字:global mapper    ( 11701个结果
graph driver-device mapper-02driver基本操作
// 清除thin pool 1.1 func (d *Driver) Cleanup() error { // 停止thin pool err := d.DeviceSet.Shutdown() return err } // 当加载新镜像时,添加一个新thin device // id为containerid或imageid 1.2 func (d *Driver) Create(i...
分类:移动开发   时间:2014-07-26 02:59:46    阅读次数:302
graph driver-device mapper-03thin pool基本操作
// 在thin pool中创建一个新thin device // 调用路径:driver.Create() 1.1 func (devices *DeviceSet) AddDevice(hash, baseHash string) error { //查找父device baseInfo, err := devices.lookupDevice(baseHash) if err != n...
分类:移动开发   时间:2014-07-26 02:53:26    阅读次数:347
graph driver-device mapper-04libdevmapper基本操作
// 创建thin pool // 调用路径:NewDeviceSet->initDevmapper->createPool 1.1 func createPool(poolName string, dataFile, metadataFile *os.File, poolBlockSize uint32) error { //通过task封装与libdevmapper的交互 task, er...
分类:移动开发   时间:2014-07-26 02:45:06    阅读次数:297
CUDA 例程
scalar add#include #include #include __global__ void add(int *a, int *b,int *c){c[blockIdx.x]=a[blockIdx.x]+b[blockIdx.x];}int main(void) { // H ha...
分类:其他好文   时间:2014-07-26 01:40:46    阅读次数:354
DalEmployeeInfo
namespace Global.PM.Common.Data{ using Global.PM.Common.Entity.HR; using Global.Utils.ORM; using Global.Utils.ORM.Common; using Global.Uti...
分类:其他好文   时间:2014-07-26 00:57:06    阅读次数:356
pthread 学习系列 case1
1 #include 2 #include 3 #include 4 #include 5 6 7 void *thread_foo_func(void *); 8 void *thread_bar_func(void *); 9 10 11 int global = 4;12 13 ...
分类:其他好文   时间:2014-07-25 14:00:51    阅读次数:252
graph driver-device mapper-driver初始化
// thin device数据结构 type DevInfo struct { Hash string `json:"-"` DeviceId int `json:"device_id"` Size uint64 `json:"size"` TransactionId uint64 `json:"tran...
分类:移动开发   时间:2014-07-25 11:02:35    阅读次数:549
Git 学习笔记一
Git的基本配置和使用一、git add ;git commit;git commit -a(默认跟踪修改直接提交(不包括新文件))。二、tig命令 查看修改记录的前端工具,方面查看修改记录。相当于git log –p。三、git config --global alias.ci "commit -...
分类:其他好文   时间:2014-07-24 21:53:22    阅读次数:258
SecureCRT学习之道:SecureCRT常用快捷键设置与字体设置方法
1:如果不想每次登陆都输入密码,可以在你打开的session里邮件session option->login action 选中automate logon 双击ogin 和assword分别输入用户名和密码就行了,telnet的命令符为〉,敲入指令的命令符为#  2:如果在global option->terminal->emulation->mapped keys勾选CUA setting就...
分类:其他好文   时间:2014-07-24 17:37:40    阅读次数:251
autoit UIA获取Listview的信息
#include "CUIAutomation2.au3"Opt( "MustDeclareVars", 1 )Global $oUIAutomationMainFunc()Func MainFunc() ; Be sure to use the right class if you are on....
分类:其他好文   时间:2014-07-24 12:16:35    阅读次数:633
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!