码迷,mamicode.com
首页 >  
搜索关键字:pixel buffer object    ( 42854个结果
导出EXCEL
private void CreateExcel() { string header = string.Empty; string line = string.Empty; try { dltDataBind(); Response.Clear(); Response.Buffer = true;....
分类:其他好文   时间:2014-06-29 14:28:54    阅读次数:235
prototype 和function关系等总结
1,function ,包括 arguments, caller,length,name ,prototype,__proto__,2,prototype,又分为constructor:function () {},__proto__:Object,3,__proto__从别的原型链继承过来可以直接...
分类:其他好文   时间:2014-06-29 13:59:16    阅读次数:327
javascript学习笔记---ECMAScript-判断变量类型
判断类型之前,先要清楚有哪些类型。(理理思路:程序由数据和方法构成,数据由简单数据和复杂数据构成)即类型有: 数据(简单数据:boolean,string,num,undefined,null。复杂数据:object), 方法(function)万能的typeof,神一样的方法 typeof(...
分类:编程语言   时间:2014-06-07 05:40:05    阅读次数:309
关于equals、hashcode和集合类的小结
一.首先明确一点:equals()方法和hashcode()方法是Object类里的方法。 查看源码可以知道,在Object类中equals(obj)方法直接返回的是 this == obj的值。对于引用变量来说,这个式子判断的是变量中存储的内存地址是否一致。而hashcode()方法的出现,目的....
分类:其他好文   时间:2014-06-07 05:35:47    阅读次数:241
boost::interprocess::shared_memory_object(1)(基本类型)
#include #include struct pos2d{ int x; int y;};using namespace std;int main(){ //boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用...
分类:其他好文   时间:2014-06-07 03:57:20    阅读次数:277
object-c 封装
object-c 封装set方法 // - (void)setAge:(int)nerAge;1. 作用: 提供一个方法给外界设置成员变量值,可以在方法里面对参数进行相应过滤2. 命名规则:1> 方法名必须以set开头2> set后面跟上成员变量的名称,成员变量的首字母必须大写3> 返回值一定是v....
分类:其他好文   时间:2014-06-07 03:32:49    阅读次数:157
KindEditor的内容以Word的形式导出
//导出按钮protected void btn_Export_Click(object sender, EventArgs e) { Model.article art = new BLL.Common().GetModel(this.id); WriteHtml(art.content);//a...
分类:其他好文   时间:2014-06-07 03:04:09    阅读次数:299
Converter
public class ImgPathConvert : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo cultu...
分类:其他好文   时间:2014-06-07 02:49:49    阅读次数:186
boost::interprocess::managed_shared_memory(2)(std::string)
#include #include #include #include using namespace std;int main(){ //boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用起来不方便 boost::i...
分类:其他好文   时间:2014-05-30 12:56:14    阅读次数:225
生产者消费者问题c语言实现
1 #include 2 #include 3 #include 4 //信号量与关键段 5 CRITICAL_SECTION g_cs; 6 HANDLE Empty,Full; 7 8 const int BUFFER_SIZE=10;//10个缓冲池 9 const int numo...
分类:编程语言   时间:2014-05-30 09:20:55    阅读次数:371
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!