原创 nrgrep函數分析(2)--搜索參數探討

爲了更好的瞭解nrgrep程序是如何實現各類不同的搜索(精確的簡單搜索、擴展搜索、正則表達式搜索;近似的簡單、擴展、正則表達式搜索等),以及各類參數的功能又是如何定義、有什麼功能。我們在此部分對程序中的參數作了詳細的敘述與分析(參考nr-

原创 A Contributor's Guide to Launchpad.net - Part 1 - Getting Started

Refering from A Contributor's Guide to Launchpad.net - Part 1 - Getting Started  This post is the first in a series of

原创 Linux QT Creater install and configration

Qt Creator is a new cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.  It

原创 Debugging Drizzle with GDB -- refer from Padraig’s Blog

This article is refered from Padraig’s Blog. It's useful for me debuging Drizzle on remote machine: )   While working

原创 Linux QT install and configration

These days I have a task about building a GUI for SFTP(one ftp software built ourselves). So I choose QT and learn to u

原创 nrgrep函數分析(1)--搜索流程簡析

NR-grep是由智利大學的Gonzalo Navarro開發的一款“快速、靈活的模式串匹配工具”,其優點在於Nrgrep幾乎全部基於BNDM算法及其擴展,性能隨着搜索問題複雜度的增加而平滑下降(Agrep劇烈下降)。而且支持精確搜索和允

原创 nrgrep函數分析(3)--搜索實現分析

此節重點分析的是nrgrep中與搜索相關的函數(其他與pattern函數往後再說),從Shell.c的234行/* get the pattern */開始: 1、  searchData *searchPreproc (byte *pa

原创 Guideline of developing Drizzle

After reading Jay Pipes "Getting a Working C/C++ Development Environment for Developing Drizzle", I follow his guide an

原创 單精度類型(float)和雙精度類型(double)存儲

 作者: jillzhang 聯繫方式:[email protected] 本文爲原創,轉載請保留出處以及作者, 謝謝     C語言和C#語言中,對於浮點類型的數據採用單精度類型(float)和雙精度類型(double)來存儲,flo

原创 C++內存分配的五種方法

 在C++中,內存分成5個區,他們分別是堆、棧、自由存儲區、全局/靜態存儲區和常量存儲區。   棧,就是那些由編譯器在需要的時候分配,在不需要的時候自動清楚的變量的存儲區。裏面的變量通常是局部變量、函數參數等。   堆,就是那些由new分

原创 誰主沉浮 OpenCL與CUDA架構深入解析

最近,Khronos公佈了OpenCL(Open Computing Language)的第一個測試版本,一經發布便在通用計算領域掀起來軒然大波!OpenCL是由蘋果公司發起,業界衆多著名廠商共同製作的面向異構系統通用目的並行編程的開放式

原创 關於記錄Snort的執行情況,輸出信息重定向問題

 因爲在執行"sudo snort -c /etc/snort/snort.conf"時無法對其輸出地信息直接用<來重定向,所以我參考了一下這篇文章: time--shell保留字輸出無法重定向解決 然後根據裏面的介紹我嘗試重定向snor

原创 Architecting Parallel Applications(1)

總結了一下個人看Berkeley的《 Architecting Parallel Applications》課程ppt的學習心得:   Lecture1: Introduction and Overview   並行的目的Motivati

原创 【轉】 time--shell保留字輸出無法重定向解決

  話說time是一個bash的保留字。別人這樣講,但是我沒有看出來是爲什麼這樣講,經查time命令是time包中的一個文件。我不知道這樣講(保留字)的目的,但是運行測試,這個命令(time)的確有點特殊。正常運行time命令:[root

原创 Programming for Parallelism(1)——James Reinders

這是個人對James Reinders 的 Programming for Parallelism 視頻及文章的學習小結,有興趣的同行可進入http://www.builder.com.cn/video_intel/video_intel