码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
块设备的读流程分析
关于VFS的通用读,我们不做考虑,本文以如下函数为根,往下分析:do_generic_mapping_read(*ppos,*mapping,*desc)本函数的目的是,从磁盘读数据到用户态,先是从*ppos开始的页,一直读到*ppos+desc->count 为止的,这么多个页,然后拷贝desc-...
分类:其他好文   时间:2014-07-16 21:53:13    阅读次数:326
C++、C#互调用之C++ 调用C# dll (转载)
1、c# 创建dll建立C#编写的DLL程序AddDll,项目类型为:类库程序代码:using System;using System.Collections.Generic;using System.Text;namespace AddDll{ public class Add { ...
分类:编程语言   时间:2014-07-16 21:30:50    阅读次数:281
关于反射的学习
前边看抽象工厂模式时,对反射有些不熟悉,这两天学习了一下,把成果记下来。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;nam...
分类:其他好文   时间:2014-07-16 21:11:15    阅读次数:173
对N个数组进行操作。先把这N个一维数组合并成一个2为数组;然后进行操作
using System;using System.Collections.Generic;using System.Linq;using System.Collections;using System.Text;using System.Diagnostics;namespace Hecha.Te...
分类:其他好文   时间:2014-07-16 20:59:13    阅读次数:164
关于unity3d播放flash动画,使用插件uniswf
主要就是代码了。1.using UnityEngine;using System.Collections;using pumpkin.swf;using System.Collections.Generic;using pumpkin.events;using pumpkin.display;pub...
分类:其他好文   时间:2014-07-16 20:37:11    阅读次数:996
C# Hashtable中存入数组或类
示例代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections;namespace...
分类:其他好文   时间:2014-07-12 13:34:26    阅读次数:330
C#生成word
1 using Microsoft.Office.Interop.Word; 2 using System; 3 using System.Collections.Generic; 4 using System.ComponentModel; 5 using System.Data; ...
分类:其他好文   时间:2014-07-12 13:30:55    阅读次数:232
C#类的创建与初始化
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace C_编辑基础 { class Person { public string Name; //因为Name没有赋值,而它是string类型的,所以它的默认值就是Null ...
分类:其他好文   时间:2014-07-11 08:15:47    阅读次数:184
编译Linux Kernel
最近编译 Linux Kernel 被 header 所在的文件骗了,使用命令如下 cd /usr/src/linux-headers-3.11.0-24-generic/ make menuconfig make make menuconfig都还是正常 make的时候就缺很多文件,headers 文件夹下面缺很多 src文件 后来经过同事指点,使用了下面的步骤,成功了 sud...
分类:系统相关   时间:2014-07-11 08:08:50    阅读次数:448
C# 调用API接口处理公共类 自带JSON实体互转类
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text;...
分类:Windows程序   时间:2014-07-10 20:02:05    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!