代码改变世界

阅读排行榜

Thread并发数控制

2013-01-01 16:28 by hongjiumu, 864 阅读, 收藏,
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public class LimitedConcurrencyLevelTaskScheduler : System.Threading.Tasks.TaskScheduler { #region Memeber Declarations /// <summary> /// Whether the current th... 阅读全文

C#绘图(文字)

2013-02-19 23:13 by hongjiumu, 850 阅读, 收藏,
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms; namespace WindowsFormsApplication1{ public partial class Form1 : Form { public Form1() { Ini... 阅读全文

一个可以生成复杂结构的json数据的简单例子

2012-09-08 17:53 by hongjiumu, 832 阅读, 收藏,
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { StringBuilder builder = new StringBuilder(); User user = new User("abc"... 阅读全文

海量数据相似度计算之simhash和海明距离

2013-09-09 19:27 by hongjiumu, 800 阅读, 收藏,
摘要: 海量数据相似度计算之simhash和海明距离http://www.cnblogs.com/lanceyan/p/3281813.html漫话中文自动分词和语义识别(上):中文分词算法http://www.matrix67.com/blog/archives/4212 阅读全文

(转)字符串表达式求值(C#)

2012-08-01 00:01 by hongjiumu, 798 阅读, 收藏,
摘要: 表达式表达法:算术表达式中常见的表示法形式有 中缀、前缀和后缀表示法。中缀表示法是书写表达式的常见方式,而前缀和后缀表示法主要用于科学领域。中缀表示法:中缀表示法是算术表达式的常规表示法。称它为 中缀表示法是因为每个操作符都位于其操作数的中间,这种表示法只适用于操作符巧好对应两个操作数的时候(在操作符是二元操作符如加、减、乘、除以及取模的情况下)。对以中缀表达法书写的表达式进行语法分析时,需要用括号和优先规则排除多义性。Syntax:operand1 operator operand2Example:(A+B)*C-D/(E+F)前缀表示法:前缀表示法中,操作符写在操作数的前面。这种表示法经常 阅读全文
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 42 下一页