码迷,mamicode.com
首页 >  
搜索关键字:egexp like    ( 7616个结果
Nginx配置详解
1.概述Nginx[?nd?in?eks ](发音同engine x)是一款由俄罗斯程序员Igor Sysoev所开发轻量级的网页服务器、反向代理服务器以及电子邮件(IMAP/POP3)代理服务器。起初是供俄国大型的门户网站及搜索引擎Rambler(俄语:Рамблер)使用。此软件BSD-like...
分类:其他好文   时间:2014-10-20 11:36:50    阅读次数:330
TMapTextfile v.99/1
ByHellinger Software.Class to handle text files as memory mapped files.Including efficient methodes for access like sequentiell reador random access r...
分类:其他好文   时间:2014-10-20 09:58:03    阅读次数:251
How to make a combo box with fulltext search autocomplete support?
I would like a user to be able to type in the second or third word from aTComboBoxitem and for that item to appear in theAutoSuggestdropdown optionsFo...
分类:其他好文   时间:2014-10-20 00:39:04    阅读次数:276
什么是鸭子类型(duck typing)
“当看到一只鸟走起来像鸭子、游泳起来像鸭子、叫起来也像鸭子,那么这只鸟就可以被称为鸭子。” 我们并不关心对象是什么类型,到底是不是鸭子,只关心行为。 比如在python中,有很多file-like的东西,比如StringIO,GzipFile,socket。它们有很多相同的方法,我们把它们当作文件使用。 鸭子类型在动态语言中经常使用,非常灵活,使得python不想java那样专门去弄一大堆的...
分类:其他好文   时间:2014-10-19 23:19:35    阅读次数:264
linux中的__builtin_except()函数
在看代码的时候看到两个宏函数:likely()   unlikely() #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0)  __builtin_expect()大致作用是处理分支预测,让编译器编译的时候可以做一些优化,优化可能性大的分支程序 if( like...
分类:系统相关   时间:2014-10-19 17:12:40    阅读次数:230
WordPress中文分词与智能搜索
问题WordPress的搜索功能非常简陋,如果用户搜索“日语综合教程第六册”,WordPress会机械地构造一个wp_posts.post_title LIKE '%日语综合教程第六册%'的SQL查询送到数据库里,结果十有八九找不到任何文章。因为我的文章里并没有直接出现这种句子,我一般给“日语综合教...
分类:其他好文   时间:2014-10-19 14:11:18    阅读次数:302
坦克大战
坦克大战 时间限制:1000 ms  |  内存限制:65535 KB 难度:3 描述 Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now.  What we a...
分类:其他好文   时间:2014-10-19 11:40:56    阅读次数:309
Implement Insert and Delete of Tri-nay Tree
Implement insert and delete in a tri-nary tree. A tri-nary tree is much like a binary tree but with three child nodes for each parent instead of two -...
分类:其他好文   时间:2014-10-19 02:40:16    阅读次数:236
leetcode第18题--Letter Combinations of a Phone Number
Problem:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the ...
分类:其他好文   时间:2014-10-18 23:48:28    阅读次数:156
numpy中tile函数
tile函数位于python模块numpy.lib.shape_base中,他的功能是重复某个数组。函数的形式是tile(A,reps)函数参数说明中提到A和reps都是array_like的,什么是array_like的parameter呢?在网上查了一下,始终搞不明白,便把熟悉的python数据...
分类:其他好文   时间:2014-10-18 22:12:09    阅读次数:1519
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!