一、前言 在调用了alloc_chrdev_region函数或register_chrdev_region函数之后可以在/proc/devices中看到该设备的主设备号,比如我注册的hello模块的主设备号为1024,如下图: 现在使用lsmod能看到驱动名,使用cat /proc/devices能 ...
分类:
系统相关 时间:
2019-10-31 00:31:06
阅读次数:
128
http://poj.org/problem?id=2096 Description Ivan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he ...
分类:
其他好文 时间:
2019-10-29 21:48:10
阅读次数:
113
#region-----画面のテキストボックスの全選択処理----- /// /// 画面のテキストボックスの全選択処理 /// /// public static void TextBoxEnter_SelectAll(Control crol) { S... ...
以ASP.NET Core WebAPI 作后端 API ,用 Vue 构建前端页面,用 Axios 从前端访问后端 API ,包括文件的上传和下载。 准备文件上传的API #region 文件上传 可以带参数 [HttpPost("upload")] public JsonResult uploa ...
有时候需要一次性将SQL Server中的数据导出给其他部门的也许进行关联或分析,这种需求对于SSIS来说当然是非常简单,但很多时候仅仅需要一次性导出这些数据而建立一个SSIS包就显得小题大做,而SQL Server的导入导出工具其中BUG还是蛮多的,最简单的办法是BCP。 数据导出为XML 在SQ ...
分类:
数据库 时间:
2019-10-29 09:15:27
阅读次数:
129
1 * 2 * This example program creates a synthetic model in form of a circle to 3 * search for capacitors on a board. 4 * 这个示例程序创建了一个圆形的合成模型来搜索板上的电容器。 5... ...
分类:
其他好文 时间:
2019-10-25 16:37:06
阅读次数:
95
以ASP.NET Core WebAPI 作后端 API ,用 Vue 构建前端页面,用 Axios 从前端访问后端 API ,包括文件的上传和下载。 准备文件上传的API #region 文件上传 可以带参数 [HttpPost("upload")] public JsonResult uploa ...
分类:
Web程序 时间:
2019-10-25 11:35:59
阅读次数:
96
groupPrint.MouseDown += GroupBox1_MouseDown; #region 弹出层移动 [System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "ReleaseCapture")] pub ...
分类:
移动开发 时间:
2019-10-23 13:40:45
阅读次数:
105
VisionPro初学--记录脚本 如果有错误或者繁琐的地方,请高手多多指教 #region namespace imports using System; using System.Collections; using System.Drawing; using System.IO; using ...
分类:
其他好文 时间:
2019-10-21 17:52:03
阅读次数:
554
需求: 导入文件,查看原始数据 将人口数据和各州简称数据进行合并 将合并的数据中重复的abbreviation列进行删除 查看存在缺失数据的列 找到有哪些state/region使得state的值为NaN,进行去重操作 为找到的这些state/region的state项补上正确的值,从而去除掉sta ...
分类:
其他好文 时间:
2019-10-20 20:19:13
阅读次数:
258