码迷,mamicode.com
首页 >  
搜索关键字:system    ( 49231个结果
内核调试神器SystemTap — 探测点与语法(二)
SystemTap脚本主要是由探测点和探测点处理函数组成的,来看下都有哪些探测点可用。 The essential idea behind a systemtap script is to name events, and to give them handlers. Systemtap works by translating the script to C, running the system C compiler to create a kernel module from that. When t...
分类:其他好文   时间:2014-06-07 01:59:08    阅读次数:369
内核调试神器SystemTap — 简介与使用(一)
SystemTap是我目前所知的最强大的内核调试工具,有些家伙甚至说它无所不能:) Debuted in 2005 in Red Hat Enterprise Linux 4 Update 2 as a technology preview. After four years in development, System 1.0 was released in 2009. As of 2011 SystemTap runs fully supported in all Linux distributions...
分类:其他好文   时间:2014-06-05 12:35:09    阅读次数:280
蜗牛—C#程设之DataAdapter对象
使用DataAdapter和DataSet来读取数据表JBQK中的数据 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; namespace shiyan11 { cla...
分类:其他好文   时间:2014-06-05 10:54:20    阅读次数:203
MD5加密算法
一、引用命名空间 using System.Security.Cryptography; 二、核心代码 private void button1_Click(object sender, EventArgs e)         {             MD5 md5 = new MD5CryptoServiceProvider();             byte[] da...
分类:其他好文   时间:2014-06-05 09:56:00    阅读次数:287
Java复习第四天---IO流
File类测试   //根据指定的文件名和路径创建File对象 File file = new File("myFile.txt"); //file.exists();检测文件是否存在 boolean exists = file.exists(); System.out.println(exists); //按照file对象指定的路径和文件名创建一个新的文件 ...
分类:编程语言   时间:2014-06-05 09:31:59    阅读次数:293
不一样的味道--Html及Xml解析、格式化、遍历
TinyXmlParser一切以简单、实用、快速为主。 示例1:Xml字符串解析 比如,我们要解析一段Xml字符串,简单如下即可: XmlDocument xmlDocument = new XmlStringParser().parse("a"); 示例2:输出格式化后的Xml: XmlFormater formater = new XmlFormater(); System.ou...
分类:Web程序   时间:2014-06-05 08:47:39    阅读次数:328
c# Http连接初探
准备在端午节期间做一个网络爬虫。using System;using System.Text;using System.Net;using System.IO;namespace ConsoleApplication1{ class Program { static voi...
分类:其他好文   时间:2014-05-31 14:24:36    阅读次数:206
String和string的区别
C#:string 是C#的语法支持的,而String 则是string 对应的真实CLR中的类型,也就是说string 应该只是String的一个别名。string 可以在不引用 任何命令空间的情况下使用。String 必须先引用 System命名空间。当我们要用到类的方法时,就用String,如...
分类:其他好文   时间:2014-05-31 14:13:16    阅读次数:172
c# 判断网络是连接到互联网
方法1:InternetGetConnectedState [System.Runtime.InteropServices.DllImport("wininet")]privateexternstaticboolInternetGetConnectedState(outintconnectionDe...
分类:其他好文   时间:2014-05-31 01:02:49    阅读次数:284
play wav sound
播放 WAV文件 strings=@"D:\Administrator\安装文件\完美世界国际版\patcher\skin\sounds\click.wav";System.Media.SoundPlayerplayer=newSystem.Media.SoundPlayer(s);player.P...
分类:其他好文   时间:2014-05-31 00:51:43    阅读次数:309
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!