⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gperfnotes.txt

📁 一个著名的SIP协议栈
💻 TXT
字号:
// -k '*' forces gperf to choose a hash for each size category instead of giving up.
//        required if characters appear in the same position in several keywords
// -D forces gperf to cough up a non-perfect hash when it can't produce a perfect hash
//        required if several keywords are anagrams
//
//      gnu
//      |  class name
//      |  |            constants
//      |  |            |  language
//      |  |            |  |      custom struct
//      |  |            |  |      |  all characters
//      |  |            |  |      |  |      deal with anagrams
//      |  |            |  |      |  |      |
% gperf -g -Z ParamHash -E -L C++ -t -k '*' -D parametersA.gperf

// replace-regexp
str\[\([0-9]+\)\] => tolower(str[\1])
\*str == \*s => tolower(\*str) == \*s
//replace-not-regexp
!strcmp (str + 1, s + 1) => !strncasecmp (str + 1, s + 1, len-1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -