码迷,mamicode.com
首页 >  
搜索关键字:c++ driver    ( 5694个结果
Apache Spark探秘:多进程模型还是多线程模型?(转)
Apache Spark的高性能一定程度上取决于它采用的异步并发模型(这里指server/driver端采用的模型),这与Hadoop 2.0(包括YARN和MapReduce)是一致的。Hadoop 2.0自己实现了类似Actor的异步并发模型,实现方式是epoll+状态机,而Apache Spa...
分类:编程语言   时间:2014-10-13 14:23:49    阅读次数:258
mongoDB连接信息及生成对应的collection生成代码
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MongoDB.Driver; namespace CD...
分类:数据库   时间:2014-10-13 13:02:09    阅读次数:452
stm32f4discovery led toggle (二)
意法半导体在出这个款板的时候也同步推出了stdperiph_driver这个库文件。 然后根据库以及demonstration 大概可以看见如下的内容。 在main.c中有个这样的调用 STM_EVAL_LEDToggle(LED4); 这个函数的原型来自于 stm32f4_discovery.c ...
分类:其他好文   时间:2014-10-12 20:17:28    阅读次数:276
selenium 问题解决:如何使页面滚动条移动到指定元素element的位置处?
在用selenium做测试时,会遇到需要操作的元素不在当前可视页面中的情况,如果是手工测试,自然很简单,手动拖拽滚动条到目标元素处即可。那么,selenium如何实现这种情形呢?答案是需要借助Javascript.Java代码如下:1 WebElement target = driver.findE...
分类:移动开发   时间:2014-10-11 20:51:26    阅读次数:200
linux v4l2 api
抽空做了个集成v4l2api, 实力有限, 有粗糙的地方还望不吝赐教 ^_^       v4l2_lib.h /* This driver provid v4l2 API * * (You can use this driver as abouve steps) * * * * STEP ONE: define value * * * step 1.1: defin...
分类:Windows程序   时间:2014-10-11 19:29:56    阅读次数:304
移植kl文件,却调用到默认的Generic.kl的解决办法
从之前一个机种向现在要开发的机种移植遥控按键,发现总是有部份的功能键无作用。执行dumpsys input查看当前的按键的kl, 发现KeyLayoutFile居然是默认的Generic.kl,而不是我希望映射的Vendor_xxxx_Product_xxxx.kl这类的文件。 会映射到默认的Generic.kl通常是因为driver中的verdor/product/version没有指...
分类:其他好文   时间:2014-10-11 11:40:05    阅读次数:636
[JavaEE]Spring配置文件总结
首先来看一个标准的Spring配置文件 applicationContext.xml com.mysql.jdbc.Driver jdbc:mysql://localhost/ssh?characterEncoding=utf-8 root 123 ...
分类:编程语言   时间:2014-10-09 14:44:43    阅读次数:262
da,da_driver
daSet=session.query(da).all()for da in daSet: da.mount_list=map(lambda x:x.mount_point , x for x in da.driver )daSet=session.query(da,da.driver).all(....
分类:其他好文   时间:2014-10-09 13:41:43    阅读次数:195
led driver 0--一个简单但完整的字符设备驱动程序
#include #include #include #include #include #include #include #include #include #include #define DEVICE_NAME "leds" /* 加载模式后,执行”cat /proc/device...
分类:其他好文   时间:2014-10-08 15:43:25    阅读次数:357
led driver 1--ioremap
#define GPIO_OFT(x) ((x) - 0x56000000)#define GPFCON (*(volatile unsigned long *)(gpio_va + GPIO_OFT(0x56000050)))static int s3c24xx_leds_open(struct....
分类:其他好文   时间:2014-10-08 15:08:25    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!