码迷,mamicode.com
首页 >  
搜索关键字:pattern    ( 7665个结果
rtx任务间的通信--event flags
每个任务最多有16个事件标示,任务可以同时等待几个事件,或选择等待其中的某个或某些事件.事件可由其他任务或中断处理函数触发.void os_evt_set ( U16 event_flags, /* Bit pattern of event flags to set */ OS_TID ta...
分类:其他好文   时间:2015-01-15 17:30:53    阅读次数:135
Linux -shopt -s extglob
BashShell有个extglob选项,开启之后Shell可以另外识别出5个模式匹配操作符,能使文件匹配更加方便。开启方法很简单,使用shopt命令:shopt-sextglob 关闭,使用shopt命令:shopt-uextglob开启之后,以下5个模式匹配操作符将被识别:?(pattern-list)-所给模式匹配0次或1次;*(p..
分类:系统相关   时间:2015-01-15 16:17:45    阅读次数:4212
sed系列:多命令执行
Syntax:  #sed -e 'command' -e 'command' filename  Note: -e option is optional for sed with single command. sed will execute the each set of command while processing input from the pattern buffer.  ...
分类:其他好文   时间:2015-01-14 15:35:56    阅读次数:164
sed系列:行或者模式匹配删除特定行
“p” command prints the buffer (remember to use -n option with “p”)  “d” command is just opposite, its for deletion. ‘d’ will delete the pattern space buffer and immediately starts the next cycle.  ...
分类:其他好文   时间:2015-01-14 15:34:14    阅读次数:157
FPC Trace Pattern Layout Design Notices (軟板線路設計注意事項)
整理了一些軟板(FPCB/Flex Cable)製造廠關於線路設計的要求 (Design Guide)以避免應用上的品質問題。1.Relationship between Through Hole,Land, Cover Film, and Cover CoatNot Recommended(不建議...
分类:其他好文   时间:2015-01-14 09:42:00    阅读次数:1027
Qt Undo Framework Demo
Abstract. Qt’s Undo Framework is an implementation of the Command Pattern, for implementing undo/redo functionality in applications. The Command patte...
分类:其他好文   时间:2015-01-13 21:16:04    阅读次数:286
leetcode6 Zigzag Conversion
题目要求: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A...
分类:其他好文   时间:2015-01-13 19:57:52    阅读次数:141
简单工厂模式
简单工厂模式概念: 简单工厂模式(Simple Factory Pattern)属于类的创新型模式,又叫静态工厂方法模式(Static FactoryMethod Pattern),是通过专门定义一个类来负责创建其他类的实例,被创建的实例通常都具有共同的父类。简单工厂类图:简单工厂类(create....
分类:其他好文   时间:2015-01-13 19:24:18    阅读次数:208
编程思想之正则表达式
什么是正则表达式?正则表达式(RegularExpression)就是用某种模式去匹配一类字符串的公式。如你要在一篇文章中查找第一个字是“罗”最后一个字是“浩”的三个字的姓名,即“罗*浩”;那么“罗*浩”就是公式,也称作模式(Pattern),这篇文章就是要匹配的串(或叫文本text)。再如,你要检...
分类:其他好文   时间:2015-01-13 15:41:29    阅读次数:260
概率论学习小结(road map)
在最近学习模式识别和机器学习时经常会用到概率论的知识,索性重新复习一遍概率论的知识。学习概率论最重要的一点不是公式的记忆,而是对公式背后的含义的理解。(其实学习任何一门知识都是如此,但是相比高数等的抽象性来说,概率可能显得更“接地气”)        曾经在大学时代数学中学的最差的一门课便是概率论,然而最近的学习中,在几经挣扎之后却渐渐找到了这门课的乐趣,在本科时候学习的那个小小的课本将概率论的...
分类:其他好文   时间:2015-01-12 22:36:39    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!