#include 混杂设备:主设备号为10的字符设备struct miscdevice{	int minor;	//次设备号	const char *name;	const struct file_operations *fops;	struct list_head list;	struct dev...
                            
                            
                                分类:
其他好文   时间:
2014-11-19 23:53:21   
                                阅读次数:
225
                             
                    
                        
                            
                            
                                #include struct file_operations {	struct module *owner;	loff_t (*llseek) (struct file *, loff_t, int);	ssize_t (*read) (struct file *, char __user *, ...
                            
                            
                                分类:
其他好文   时间:
2014-11-19 23:45:41   
                                阅读次数:
242
                             
                    
                        
                            
                            
                                LRU CacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get...
                            
                            
                                分类:
系统相关   时间:
2014-11-19 20:29:44   
                                阅读次数:
289
                             
                    
                        
                            
                            
                                MicrosoftSystemcenterOperationsManager(SCOM)2012是微软推出的专业系统监控软件,可以监控部署在网络中的服务器、应用系统和客户端,提供图形化视图,使管理员可以监控目标计算机存在的故障和产生的警告。它提供了全面了解IT环境整体健康状况的视图,提供了一个易于使用的..
                            
                            
                                分类:
其他好文   时间:
2014-11-19 02:18:12   
                                阅读次数:
338
                             
                    
                        
                            
                            
                                声明:本文基于spark的programming guide,并融合自己的相关理解整理而成
 
     Spark应用程序总是包含着一个driver program(驱动程序),它执行着用户的main方法,并且执行大量的并行操作(parallel operations)在集群上.
概述
    Spark最主要的抽象就是RDD(resilient di...
                            
                            
                                分类:
其他好文   时间:
2014-11-18 14:51:18   
                                阅读次数:
176
                             
                    
                        
                            
                            
                                Mask operations on matrices are quite simple. The idea is that we recalculate each pixels value in an image according to a mask matrix (also known as ...
                            
                            
                                分类:
其他好文   时间:
2014-11-16 17:07:47   
                                阅读次数:
212
                             
                    
                        
                            
                            
                                innodb是一个多线程并发的存储引擎,内部的读写都是用多线程来实现的,所以innodb内部实现了一个比较高效的并发同步机制。innodb并没有直接使用系统提供的锁(latch)同步结构,而是对其进行自己的封装和实现优化,但是也兼容系统的锁。我们先看一段innodb内部的注释(MySQL-3.23):
Semaphore operations in operating systems are s...
                            
                            
                                分类:
数据库   时间:
2014-11-16 12:07:02   
                                阅读次数:
265
                             
                    
                        
                            
                            
                                避免连接池:No operations allowed after connection closed错误,正确的做法是:
连接池配置中的timeBetweenEvictionRunsMillis和
minEvictableIdleTimeMillis的
时间小于或者等于mysql数据库中wait_timeout的时间。...
                            
                            
                                分类:
数据库   时间:
2014-11-14 19:47:14   
                                阅读次数:
232
                             
                    
                        
                            
                            
                                Description
You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is
...
                            
                            
                                分类:
其他好文   时间:
2014-11-14 01:41:58   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                转自:http://blog.sina.com.cn/lyqmath1 综述Separating touching objects in an image is one of the more difficult image processing operations. The watershed ...
                            
                            
                                分类:
编程语言   时间:
2014-11-11 17:57:14   
                                阅读次数:
377