mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 10:18:51 +03:00
*: replace java
with Java
and c++
with C++
(#6224)
This commit is contained in:
parent
03e2e3389e
commit
b615ea1e34
@ -8,7 +8,7 @@
|
||||
|
||||
`astyle {{file_sorgente}}`
|
||||
|
||||
- Applica lo stile java con parentesi graffe aperte sulla stessa riga (attached braces):
|
||||
- Applica lo stile Java con parentesi graffe aperte sulla stessa riga (attached braces):
|
||||
|
||||
`astyle --style=java {{percorso/al/file}}`
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
`astyle {{소스파일명}}`
|
||||
|
||||
- java 스타일 코드로 적용:
|
||||
- Java 스타일 코드로 적용:
|
||||
|
||||
`astyle --style=java {{경로/파일명}}`
|
||||
|
||||
|
@ -11,6 +11,6 @@
|
||||
|
||||
`addr2line --exe={{可执行文件路径}} --functions {{地址}}`
|
||||
|
||||
- 将 c++ 代码函数名符号重组:
|
||||
- 将 C++ 代码函数名符号重组:
|
||||
|
||||
`addr2line --exe={{可执行文件地址}} --functions --demangle {{地址}}`
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
`astyle {{source_file}}`
|
||||
|
||||
- Apply the java style with attached braces:
|
||||
- Apply the Java style with attached braces:
|
||||
|
||||
`astyle --style=java {{path/to/file}}`
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
> Command-line tool to manage the "JAVA_HOME" environment variable.
|
||||
> More information: <https://www.jenv.be/>.
|
||||
|
||||
- Add a java version to jEnv:
|
||||
- Add a Java version to jEnv:
|
||||
|
||||
`jenv add {{path/to/jdk_home}}`
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
> Java Memory Map Tool.
|
||||
|
||||
- Print shared object mappings for a java process (output like pmap):
|
||||
- Print shared object mappings for a Java process (output like pmap):
|
||||
|
||||
`jmap {{java_pid}}`
|
||||
|
||||
|
@ -2,14 +2,14 @@
|
||||
|
||||
> Java Stack Trace Tool.
|
||||
|
||||
- Print java stack traces for all threads in a java process:
|
||||
- Print Java stack traces for all threads in a Java process:
|
||||
|
||||
`jstack {{java_pid}}`
|
||||
|
||||
- Print mixed mode (java/c++) stack traces for all threads in a java process:
|
||||
- Print mixed mode (Java/C++) stack traces for all threads in a Java process:
|
||||
|
||||
`jstack -m {{java_pid}}`
|
||||
|
||||
- Print stack traces from java core dump:
|
||||
- Print stack traces from Java core dump:
|
||||
|
||||
`jstack {{/usr/bin/java}} {{file.core}}`
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
`swagger-codegen generate -i {{swagger_file}} -l {{language}}`
|
||||
|
||||
- Generate java code using the library retrofit2 and the option useRxJava2:
|
||||
- Generate Java code using the library retrofit2 and the option useRxJava2:
|
||||
|
||||
`swagger-codegen generate -i {{http://petstore.swagger.io/v2/swagger.json}} -l {{java}} --library {{retrofit2}} -D{{useRxJava2}}={{true}}`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user