上一页 1 ··· 9 10 11 12 13

2007年9月11日

超级求平方根的方法

摘要: float SquareRootFloat(float number) { long i; float x, y; const float f = 1.5F; x = number * 0.5F; y = number; i = * (long *) &y; i = 0x5f3759df - (i >> 1);//0x5f375a86 is more better than 0x... 阅读全文

posted @ 2007-09-11 11:49 highmayor 阅读(514) 评论(0) 推荐(0) 编辑

2007年8月24日

Log4net 使用文档例子

摘要: 一般我们都会使用数据库和文件作为log的输出介质,下面是我在项目实践中总结到的经验: 1 .ADONetAppender ( 1 )、 MS SQL Server define the table such as: CREATE TABLE [dbo].[Log] ( [Id] [int] IDENTITY (1, 1) NOT NULL, [Date] [datetime] NO... 阅读全文

posted @ 2007-08-24 16:08 highmayor 阅读(1109) 评论(0) 推荐(0) 编辑

Log4net 简明手册(转)

摘要: 常见面,却不怎么用,究其原因还是觉得太复杂了点。不过,这东西出现次数越来越频繁,也只好写点东西,以备后用。本文仅对 Log4net 的使用做个简要说明,所有涉及到扩展和开发的部分一概忽略。 使用 Log4net,需要熟悉的东东有 Logger、Appender 以及 Layout。Logger 是日志记录器,我们使用其相关方法来完成日志记录;Appender 用于设置日志的存储方式和位置,Log... 阅读全文

posted @ 2007-08-24 15:15 highmayor 阅读(367) 评论(0) 推荐(0) 编辑

oracle 数据导入导出

摘要: 原文地址:http://www.bokee.net/bloggermodule/blog_viewblog.do?id=465310 Oracle的导入实用程序(Import utility)允许从数据库提取数据,并且将数据写入操作系统文件。imp使用的基本格式:imp[username[/password[@service]]],以下例举imp常用用法。 1. 获取帮助 imp hel... 阅读全文

posted @ 2007-08-24 11:24 highmayor 阅读(1414) 评论(1) 推荐(0) 编辑

2007年3月15日

代码生成工具排行榜

摘要: 一、MyGeneration 二、CodeSmith 三、CodeAuto 四、TaHoGen 五、Codeus 六、Nhibernate 七、Nvelocity 八、CodeStudio 九、MonoRail 十、StringTemplate 十一、 Ader.TemplateEngine 十二、 AutoThrCode 十三、 CodePlus 十四、 ... 阅读全文

posted @ 2007-03-15 13:33 highmayor 阅读(797) 评论(5) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13

导航