今天在CodePlex的Roslyn讨论区发现了一个帖子:Draft spec for records and pattern-matching in C#,估计MS计划在C# 6.0中支持模式匹配了。设计草案的文档如下:Pattern Matching for C#,看起来非常不错的样子。模式匹配...
分类:
其他好文 时间:
2014-08-09 13:20:07
阅读次数:
210
Regular Expression MatchingImplement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more o...
分类:
其他好文 时间:
2014-08-08 17:59:16
阅读次数:
173
题目:Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding elem....
分类:
编程语言 时间:
2014-08-06 04:11:20
阅读次数:
429
题目:Implement wildcard pattern matching with support for '?' and '*'.'?' Matches any single character.'*' Matches any sequence of characters (includin....
分类:
编程语言 时间:
2014-08-06 04:10:50
阅读次数:
325
1、编译成android时,需要修改jni/android.mk,每个cpp都修改一下太麻烦,可以让他自动识别。
# 遍历目录及子目录的函数
define walk
$(wildcard $(1)) $(foreach e, $(wildcard $(1)/*), $(call walk, $(e)))
endef
# 遍历Classes目录
ALLFILES...
分类:
其他好文 时间:
2014-08-05 15:58:19
阅读次数:
224
The thought of the algorithm is as follows:(1) Initially set up an empty stack, sequentially read in parentheses;(2) If it is a right parentheses, or ...
分类:
移动开发 时间:
2014-08-04 21:26:37
阅读次数:
340
【版权声明:转载请保留出处:blog.csdn.net/gentleliu。Mail:shallnew at 163 dot com】
这一节我们讲一下make的函数,在之前的章节已经讲到了几个函数:wildcard、patsubst、notdir、shell等。一般函数的调用格式如下:
$(funcname arguments)
或
$(funcname arguments)
...
分类:
其他好文 时间:
2014-07-31 13:21:17
阅读次数:
209
Detecting and Matching Interest Points
分类:
其他好文 时间:
2014-07-29 17:11:22
阅读次数:
470
昨天原本打算是写salt的WebUi-halite的,不过想了想,还是先写一些“看得见、摸得着的”的一些显而易见,最基本的用处吧。(尝到一些甜头后,才会继续去钻研吧。。。哈哈~)那,什么是Targeting呢?官方给到的解释是:Specifyingwhichminionsshouldrunacommandorexecuteastateb..
分类:
其他好文 时间:
2014-07-29 15:27:39
阅读次数:
369