码迷,mamicode.com
首页 >  
搜索关键字:pattern word    ( 25062个结果
[笔记]工作相关
1、最近编写了几个工厂需要的test pattern,用于UHD120和UHD60的pannel上,其中UHD120需要做半分屏处理,存储一行。2、最近写了UHD120/60/30缩放到FHD120/60/30的算法,采用的算法是双线性算法,相邻4点取平均得到的。需要进行行的存储。注意DPRAM的使...
分类:其他好文   时间:2014-05-27 00:17:14    阅读次数:256
word-break:brea-all;word-wrap:break-word的区别
//form==>http://www.cnblogs.com/2050/archive/2012/08/10/2632256.htmlhaha 555555555555555555555555555555555haha 555555555555555555555555555555555 wor.....
分类:其他好文   时间:2014-05-26 21:02:51    阅读次数:263
[Scala] Pattern Matching(模式匹配)
Scala中的match, 比起以往使用的switch-case有著更強大的功能, 1. 傳統方法 def toYesOrNo(choice: Int): String = choice match { case 1 => "yes" case 0 => "no" case _ => "error"...
分类:其他好文   时间:2014-05-26 20:45:46    阅读次数:285
URL 以及 UIWebView
URL 只是一个 路径 : 协议头:// 域名/ 资源 (就是要查询的内容) 比如http://m.baidu.com/s?word=iOS 上面的是 手机版的域名 UIWebView : 也是一个IOS 程序的控件 能拖 能用代码实现 能设置代理 ...
分类:Web程序   时间:2014-05-26 14:17:06    阅读次数:310
Leetcode: Word Search
DFS算法,非常容易TLE,需要一个boolean矩阵来记录是否访问过某个节点。写DFS主要就是两个方法:用recursion或者Stack, 用recursion会带来time和memory的cost增加,而且因为要用矩阵做argument, 所以非常担心TLE或者MLE的问题。但是用recurs...
分类:其他好文   时间:2014-05-26 13:03:20    阅读次数:273
【LeetCode】Word Search
Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, wh...
分类:其他好文   时间:2014-05-26 08:21:06    阅读次数:310
PHP设计模式之单例模式
单例模式(Singleton pattern)是一种创建型模式,它会限制应用程序,使其只能创建某个类类型的单一实例。举例来说,一个Web站点将会需要一个数据库连接对象,但是应该有且只有一个,因此我们需要使用单例模式来实现。eg:_settings[$index] = $value; } f...
分类:Web程序   时间:2014-05-26 06:20:06    阅读次数:319
设计模式 - 装饰者模式(Decorator Pattern) Java的IO类 使用方法
装饰者模式(Decorator Pattern) Java的IO类 使用方法 本文地址: http://blog.csdn.net/caroline_wendy/article/details/26716823 装饰者模式(decorator pattern)参见: http://blog.csdn.net/caroline_wendy/article/details/2670...
分类:编程语言   时间:2014-05-25 00:55:05    阅读次数:346
瞎翻译啊 CodeForces 41A - Translation
The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word differs from a birlandish word with the same meaning a litt...
分类:其他好文   时间:2014-05-23 02:27:26    阅读次数:587
LeetCode: Wildcard Matching [043]
【题目】 Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching should cover the entire input string (not partial). The functi...
分类:其他好文   时间:2014-05-23 00:17:12    阅读次数:364
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!