-ARGs
Nbfda
Close: one row of function parameters
-- Declaration-indentationn
Di2
Variable declaration. The variable starts in two rows, that is, it does not have to be aligned.
-- Format-first-column-Comments
Nfc1
Do not format the comment starting from the first line
-- Format-all-Comments
Nfca
Disable the function of formatting all comments.
-- Honor-newlines
HNL
Prefer to break long lines at the posit
-images/master/monkey-patch/hopper-3.png) Ah ha! The address of the MAIN.A.F is 0x102c38, and the saved value is 0x2000, and this is the address of MAIN.A. It looks like F doesn'tis a function pointer, but a pointer to a function pointer. Let's modify the code to eliminate the deviations. "' Gopackage mainimport (" FMT "" unsafe ") func A () int {return 1}func main () {f: = a fmt. Printf ("0x%x\n", * * (**UINTPTR) (unsafe. Pointer (f))} "> Funcval2.go hosted by GitHub [view Source file] (https:/
-indentationn
Ip5
The parameter description in the function definition of the old style indents 5 spaces
--line-length 75
L75
Non-comment lines up to 75
--continue-at-parentheses
Lp
Continuation lines begin with parentheses that appear on the previous line
--space-after-procedure-calls
Pcs
Insert a space between the function and "(")
--space-after-parentheses
Nprs
description in the old style function definition is indented by five spaces
-- Line-length 75 l75 non-comments rows up to 75
-- Continue-at-parentheses lp start from the parentheses in the last row
-- Space-after-procedure-callpcs function and insert a space "("
-- Space-after-parentheses nprs inserts no space before "(" ")"
-- Procnames
ip5 the parameter description in the old style function definition is Indented by five spaces-- Line-length 75 l75 non-Comments rows up to 75-- Continue-at-parentheses lp start from the parentheses in the last row-- Space-after-procedure-callpcs function and insert a space "("-- Space-after-parentheses nprs inserts no space before "(" ")"-- Procnames-start-lines psl put the function name and return type in two rows for definition-- Space-after-for sa
Compile opencv3.1 + ffmpeg in CentOS 7.1
The project needs to compile opencv 3.1 with ffmpeg on the server. Previously, opencv was used only on windows, and compiling once was very painful. Therefore, this time we were fully prepared.
Compile ffmpeg
1. First download the source code and put it in the/ffmpeg directory.
2. Modify the config. Because there is no sudo permission, the default installation path should be changed. Compile opencv to call the dynamic library, so shared items should be a
how many characters to indent, and if it is an integer multiple of tab, it is indented with a tab, otherwise filled with spaces.--parameter-indentationn IP5 an old style function definition in parameter description indent 5 spaces--line-length l75 Non-commented line maximum 75--continue-at-parentheses LP continuation line starts with the parentheses that appear on the previous line--space-after-procedure-calls the PCS function and "(" insert a space
variable starts at line 2, which is not justified
--format-first-column-comments
Nfc1
Do not format comments from the first line
--format-all-comments
Nfca
Switch that does not open all formatted annotations
--honour-newlines
Hnl
Prefer to break long lines at the position of newlines in the input.
--indent-leveln
I4
Set how many characters to indent, if tab is an integral number of times, indent with tab, otherwise
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.