自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(36)
  • 资源 (30)
  • 收藏
  • 关注

原创 TypeScript+Jest测试

typescript+jest搭建测试工程

2024-03-23 10:37:47 502

原创 5GC核心网开源实现:

5GC核心网开源实现:oai-cn,http://www.openairinterface.org/free5gc,open5gs,https://github.com/open5gs www.openupf.nethttps://gitee.com/openupf/openupfhttps://github.com/5GOpenUPFhttp://freepcrf.com/iots/

2021-03-08 20:35:17 3817 2

原创 VS Code调试TypeScript项目

1 安装VS Codehttps://code.visualstudio.com/安装VS Code插件:JavaScript and TypeScript NightlyTypeScript Extension PackVisual Studio IntelliCodeProject ManagerMaterial Icon Theme2 安装Node.js为了方便后续VS Code插件开发,这里选择安装与当前VS Code使得Node.js版本(Help->About):V

2021-01-01 10:42:11 9314 2

原创 afl-fuzz资源汇总

初探AFL-FuzzFL漏洞挖掘技术漫谈(一):用AFL开始你的第一次FuzzingAFL漏洞挖掘技术漫谈(二):Fuzz结果分析和代码覆盖率AFL++实战(一)-黑盒测试FFmpeg使用AFL进行fuzz如何Fuzz ELF文件中的任意函数如何使用AFL进行一次完整的fuzz过程使用Afl-fuzz (American Fuzzy Lop) 进行Fuzzing测试...

2020-11-28 00:04:16 1632

原创 Trace Event Format

https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edithttps://www.gamasutra.com/view/news/176420/Indepth_Using_Chrometracing_to_view_your_inline_profiling_data.phphttps://aras-p.info/blog/2017/01/23/Chrome-Tracing-as-Profil.

2020-10-18 21:40:33 827

原创 -ftime-trace(clang)

1 clang/llvm编译器设置设置clang编译器:export CC=/usr/bin/clangexport CXX=/usr/bin/clang++设置clang编译器-ftime-trace参数:set(CMAKE_C_COMPILER "/usr/bin/clang")set(CMAKE_CXX_COMPILER "/usr/bin/clang++")set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftim

2020-10-18 17:16:32 4557 2

翻译 -ftime-report/-ftime-report-details(gcc/clang)

gcc/clang都支持-ftime-report,可以打印编译过程每个阶段的时间摘要信息,但是打印信息不直观,更像是给编译器开发人员自己使用的工具,而不是给编译器用户使用的工具。1 demo source code#include <vector>#include <string>#include <unordered_map>#include <regex>int main(){ std::vector<int> v(10

2020-10-18 12:01:37 1661 1

原创 ANTLR使用入门

IDEA配置antlr4环境和使用快速上手ANTLR–在Windows环境下解析计算器指令语法Antlr4入门(一)IDEA中Antlr的安装与使用

2020-10-02 11:59:52 518

原创 ubuntu14.04安装llvm/clang 9.0预编译版本

1 ubuntu14.04安装llvm/clang 9.0预编译版本下载llvm/clang prebuild:https://releases.llvm.org/download.html#9.0.0https://download.csdn.net/download/wwchao2012/12391517xz -d clang+llvm-9.0.0-x86_64-linux-gnu-u...

2020-05-06 19:34:19 2387

原创 perf资料整理

http://www.brendangregg.com/perf.htmlhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/examples.txthttps://www.cnblogs.com/arnoldlu/p/6241297.htmlhttp...

2020-05-03 22:20:53 351

翻译 combine_traces.py

#!/usr/bin/env python3"""Combine JSON from multiple -ftime-traces into one.Run with (e.g.): python combine_traces.py foo.json bar.json.""" import jsonimport sys if __name__ == '__main__':...

2020-05-03 11:51:29 217

原创 ClangBuildAnalyzer(-ftime-trace)

1 编译/安装ClangBuildAnalyzerclang参数-ftime-trace需要与ClangBuildAnalyzer工具一起工作,输出每个文件的编译时长统计,首先下载ClangBuildAnalyzer:git clone https://github.com/aras-p/ClangBuildAnalyzer.gitorgit clone https://gitee.com...

2020-05-03 00:00:34 2569

原创 include-what-you-use消除头文件重复包含

安装https://github.com/include-what-you-use/include-what-you-use使用https://blog.csdn.net/u013597671/article/details/70173849

2020-05-02 12:53:43 985

原创 ubuntu18.04编译安装clang/llvm

https://www.cnblogs.com/whuwzp/p/ubuntu_vim_2.htmlhttps://www.jianshu.com/p/f071f2486bachttps://www.jianshu.com/p/1590ab2bb444https://releases.llvm.org/download.html#10.0.0

2020-05-02 12:05:27 9765 1

原创 gcc编译选项

-Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast

2020-04-07 08:33:52 793

翻译 IDL(Interface Description Language)

An interface description language or interface definition language (IDL), is a specification language used to describe a software component’s application programming interface (API). IDLs describe an ...

2020-02-02 14:03:47 905 1

原创 bfg.jar清理.git中的大文件

https://rtyley.github.io/bfg-repo-cleaner/

2019-11-21 20:32:40 555

原创 TAL+资料汇总

1 入门博客学习 TLA+ - 介绍学习 TLA+ - 基础数学知识学习 TLA+ - Example学习 TLA+ - Percolator Transaction如何用数学验证软件的正确性——TLA+学习总结2 官方资料The TLA+ Toolbox Office SiteTAL Toolbox Downlinkhttps://github.com/tlaplus...

2019-09-20 17:55:42 661

原创 抽象语法树(Abstract Syntax Tree, AST)

1 JavaScript1.1 esprimahttps://esprima.org/demo/parse.htmlhttps://github.com/jquery/esprima1.2 babelhttps://github.com/babel1.3 acorn1.4 the-super-tiny-compiler1.5 jscodeshift1.6 Prettier...

2019-09-03 22:57:36 841

原创 ANTLR/JavaCC/Flex&Bison工程应用

文章目录1 ANTLR2 JavaCC3 Flex&Bison1 ANTLRApache HiveSparkGrovvyAtlasBeamEagleIncubator-shardingsphereSystemml2 JavaCCApache PigQuick SQL3 Flex&Bison

2019-09-03 10:17:08 993

原创 C++学习资料整理

1 书籍C++ Primer (5th Edition)C++ Primer Plus (6th Edition)Effective C++More Effective C++Effective Modern C++C++ API设计深入理解C++11STL源码剖析C++ Templates Complete Guide 2nd.edition2 网络资源CppCore...

2019-06-01 16:04:10 608

转载 VirtualBox安装CentOS7后网络配置

1 VirtualBox中安装CentOS7后无法上网的解决方案2 VirtualBox下主机Windows能ping通虚拟机下的Linux,LInux无法ping通Winodws

2018-10-19 23:42:39 530

原创 动态链接库示例(Win7+VS2010)

操作系统: Win7 ; 开发环境: VS2010 Express(学习版)1. 构建动态链接库1.1 创建解决方案mydll_demo,空项目mydll;1.2 设置mydll项目属性的配置类型为”动态库(.dll)”(配置属性-&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;常规-&amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;配置类型); 1.3 向mydll项目中添加文件mydll.h,

2018-08-01 19:25:19 882

原创 VScode插件管理(C/C++)

NO. 插件 备注 1 Project Manager It helps you to easily access your projects, no matter where they are located. Don’t miss that important projects anymore. You can define your own Favorit...

2018-07-25 19:59:53 6306 1

原创 哈希(Hash)函数(均匀Hash)

[linux 2.4.0 -&amp;amp;amp;amp;gt; catalog.c]/* Number of hash table slots */#define C_HASHBITS 10#define C_HASHSIZE (1UL &amp;amp;amp;amp;lt;&amp;amp;amp;amp;lt; C_HASHBITS)#define C_HASHMASK (C_HASHSIZE - 1)/* * hashfn() * hash

2018-05-16 20:34:37 4634

原创 linux内核哈希(Hash)函数

No. 0No. 1No. 2No. 3No. 4No. 5No. 6No. 7No. 0[include/linux/hash.h]#ifndef _LINUX_HASH_H#define _LINUX_HASH_H/* Fast hashing routine for ints, longs and pointers. (C) 2002 Wi...

2018-05-16 20:22:11 5235

翻译 哈希(Hash)算法 DJB/ELF/PJW/SDBM/FNV1(a)

DJB hash functionELF hash functionPJW hash functionSDBM hash functionFNV1/FNV1a hash functionlose loseDJB hash functionunsigned long hash_djbx33a(const char *str, size_t len){ u...

2018-05-15 21:40:38 7931

转载 常见的Hash算法(General Purpose Hash Function Algorithms)

本文属于转载,一且版权(@Copyright) 属于原作者Arash PartowIntroductionHash functions are by definition and implementation generally regarded as Pseudo Random Number Generators (PRNG). From this generalization it c...

2018-05-14 23:17:37 2680

转载 DJBX33A哈希(Hash)算法

1 DJBX33A算法原理2 DJBX33A算法典型实现2.1 PHP(zend_string.h)2.2 Apache(apr_hash.c)2.3 BerkeleyDB(src\hash\hash_func.c)2.4 Python(pyhash.c)3 DJBX33A算法相似实现3.1 Tokyo Cabinet内存数据库3.2 Nginx服务器4 参考链接...

2018-05-13 20:19:38 2629

原创 objdump(Linux)反汇编命令使用指南

1 objdump反汇编示例源文件main.c:/* main.c */#include &amp;amp;amp;lt;stdio.h&amp;amp;amp;gt;void swap(int* first, int* second){ int temp = *first; *first = *second; *second = temp;}int main(void){ int a =...

2018-04-17 20:44:33 59927 1

转载 Linux (Ubuntu/CentOS) 安装 lua5.3

1 下载lua包并解压wget -c http://www.lua.org/ftp/lua-5.3.0.tar.g tar zxvf lua-5.3.0.tar.gz2 下载libreadline相关支持Ubuntu sudo apt-get install libreadline5 sudo apt-get install libreadline-gplv2-dev Ce...

2018-03-17 10:23:31 2219

转载 The Principles of Good Programming

The Principles of Good Programmingby Christopher Diggins July 24, 2011SummaryOver the years I have found that following a relatively small number of fundamental guiding principles has helped ...

2018-02-26 19:25:21 292

原创 C语言malloc/calloc/realloc/free堆内存管理

1. malloc()声明:void* malloc (size_t size);其中size_t代表unsigned int。 malloc:分配一块size Byte大小的内存,返回一个指向该块内存开始的指针,指针类型是void。void * memset ( void * ptr, int value, size_t num );示例:#incl

2018-01-14 21:30:19 756

原创 Python模块安装

1. 在线安装首先在命令行窗口(cmd)转到Python安装目录, 例如,cd /d D:\Python27.然后执行如下命令,其中xxx为欲安装的包文件名pip install xxx2. wheel 安装Python包的在线安装有可能由于缺乏VC++等编译环境出现错误,此时可以考虑采用wheel文件安装,首先安装wheel,执行命令行pip install wheel然后,从常用wheel文件的

2016-12-29 14:47:41 316

转载 Linux进程状态

linux进程的5个状态Linux进程状态:R (TASK_RUNNING),可执行状态&运行状态(在run_queue队列里的状态)Linux进程状态:S (TASK_INTERRUPTIBLE),可中断的睡眠状态, 可处理signalLinux进程状态:D (TASK_UNINTERRUPTIBLE),不可中断的睡眠状态, 可处理signal, 有延迟Linux进程状态:T (TASK_

2016-09-25 15:13:48 349

转载 `OpenCV2.4.9+Qt5.x+Qt Creator`配置

OpenCV2.4.9+Qt5.x+Qt Creator配置1首先在Qt Creator的具体工程文件(*.pro)中,添加链接以及配置信息,如:INCLUDEPATH += D:\opencv\build\includeINCLUDEPATH += D:\opencv\build\include\opencvINCLUDEPATH += D:\opencv\build\include\open

2016-04-27 22:21:54 549

Trace Event Format - Google Docs.pdf

Trace-Viewer is the javascript frontend for Chrome about:tracing and Android systrace. https://github.com/catapult-project/catapult/tree/master/tracing

2020-10-19

GNU Make Manual / GNU.Make.Book / Managing.Projects.with.GNU.Make

GNU Make Manual 4.0 / GNU.Make.Book / Managing.Projects.with.GNU.Make 英文版,文字清晰、排版良好, 是学习make/makefile的最佳资源

2017-07-02

cmake-3.18.4-Linux-x86_64.tar.gz

CMake is a cross-platform, open-source build system generator. For full documentation visit the CMake Home Page and the CMake Documentation Page. The CMake Community Wiki also references useful guides and recipes.

2020-10-22

cppcheck-2.0.zip

Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to have very few false positives. Cppcheck is designed to be able to analyze your C/C++ code even if it has non-standard syntax (common in embedded projects).

2020-05-23

*.las文件格式说明(1.0/1.1/1.2/1.3/1.4)

*.las文件格式说明(1.0/1.1/1.2/1.3/1.4)

2015-10-11

KMP/BM字符串匹配算法源码

BF/KMP/BM 字符串单模匹配算法, 用途广泛; BF/KMP/BM 字符串单模匹配算法, 用途广泛; BF/KMP/BM 字符串单模匹配算法, 用途广泛;

2018-01-13

clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz

LLVM是构架编译器(compiler)的框架系统,以C++编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time)、链接时间(link-time)、运行时间(run-time)以及空闲时间(idle-time),对开发者保持开放,并兼容已有脚本。 LLVM计划启动于2000年,最初由美国UIUC大学的Chris Lattner博士主持开展。2006年Chris Lattner加盟Apple Inc.并致力于LLVM在Apple开发体系中的应用。Apple也是LLVM计划的主要资助者。 prebuild binary版本

2020-05-05

cpptools-linux-wwchao.7z

The C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.

2021-09-27

Redis源码解读.7z

Redis源码解读,讲解Redis内部实现机制。 Redis(全称:Remote Dictionary Server 远程字典服务)是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API

2019-10-12

demo.cc.json

-ftime-trace功能允许以友好的格式生成时间跟踪分析数据,对于开发人员更好地理解编译器将大部分时间花在何处以及其他需要改进的领域非常有用。

2020-10-18

ListView 虚拟列表技术(vs2013)

ListView 虚拟列表技术,vs2013实现,有兴趣的可以看看。

2015-04-13

draw.io-13.2.4-windows-installer.exe

drawio-desktop is a diagrams.net desktop app based on Electron. draw.io is the old name for diagrams.net, we just don't want the hassle of changing all the binary's names.

2020-06-21

cppcheck-2.3.tar.gz

Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to have very few false positives. Cppcheck is designed to be able to analyze your C/C++ code even if it has non

2021-01-10

snort-2.0-2.8-2.9-3.0.zip

在1998年,Martin Roesch用C语言开发了开放源代码(Open Source)的入侵检测系统Snort。直至今天,Snort已发展成为一个具有多平台(Multi-Platform)、实时(Real-Time)流量分析、网络IP数据包(Pocket)记录等特性的强大的网络入侵检测/防御系统(Network Intrusion Detection/Prevention System),即NIDS/NIPS。Snort符合通用公共许可(GPL——GNU General Pubic License),在网上可以通过免费下载获得Snort,并且只需要几分钟就可以安装并开始使用。

2019-11-17

GUI-cachegrind.zip

Callgrind is a profiling tool that records the call history among functions in a program's run as a call-graph. By default, the collected data consists of the number of instructions executed, their relationship to source lines, the caller/callee relationship between functions, and the numbers of suc

2021-01-31

mirrors-llvm-project-master.zip

The LLVM Compiler Infrastructure This directory and its sub-directories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments. The README briefly describes how to get started with building LLVM. For more information on how

2021-01-24

mirrors-llvm-project-release-11.x.zip

The LLVM Compiler Infrastructure This directory and its sub-directories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments. The README briefly describes how to get started with building LLVM. For more information on how

2021-01-24

cmake-3.6.2-Linux-x86_64.tar.gz

CMake is a cross-platform, open-source build system generator. For full documentation visit the CMake Home Page and the CMake Documentation Page. The CMake Community Wiki also references useful guides and recipes. CMake is maintained and supported by Kitware and developed in collaboration with a pr

2020-10-22

Robinson Crusoe

鲁滨逊漂流记英文原版,可用来测试bloomfilter、KMP/BM、AC自动机、Trie树、Wu-manber算法的匹配效果.

2018-01-17

jdk-8u221-windows-i586.zip

jdk-8u221-windows-i586.zip jdk-8u221-windows-i586.zip

2019-09-21

infer-linux64-v0.17.0.tar.xz

Infer is a static analysis tool for Java, C++, Objective-C, and C. Infer is written in OCaml. Read our Getting Started page for details on how to install packaged versions of Infer. To build Infer from source, see INSTALL.md.

2020-05-23

cppcheck-2.0.tar.gz

Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to have very few false positives. Cppcheck is designed to be able to analyze your C/C++ code even if it has non-standard syntax (common in embedded projects).

2020-05-23

wangwenchaonj-llvm-project-master.zip

LLVM是构架编译器(compiler)的框架系统,以C++编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time)、链接时间(link-time)、运行时间(run-time)以及空闲时间(idle-time),对开发者保持开放,并兼容已有脚本。 LLVM计划启动于2000年,最初由美国UIUC大学的Chris Lattner博士主持开展。2006年Chris Lattner加盟Apple Inc.并致力于LLVM在Apple开发体系中的应用。Apple也是LLVM计划的主要资助者。 目前LLVM已经被苹果IOS开发工具、Xilinx Vivado、Facebook、Google等各大公司采用。 废弃

2020-05-04

llvm-project-master.zip

LLVM是构架编译器(compiler)的框架系统,以C++编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time)、链接时间(link-time)、运行时间(run-time)以及空闲时间(idle-time),对开发者保持开放,并兼容已有脚本。 LLVM计划启动于2000年,最初由美国UIUC大学的Chris Lattner博士主持开展。2006年Chris Lattner加盟Apple Inc.并致力于LLVM在Apple开发体系中的应用。Apple也是LLVM计划的主要资助者。 目前LLVM已经被苹果IOS开发工具、Xilinx Vivado、Facebook、Google等各大公司采用。 公司内网访问github太慢,无法访问gitee,故在此中转,请审核通过,谢谢!

2020-05-04

chromedriver 64位

将其放在Python的安装目录,用以解决selenium无法启动Chrome浏览器的问题

2017-08-27

chapter1.zip

To get the most from this book, you should already know C++. We describe the details of a particular language feature, not the fundamentals of the language itself. You should be familiar with the concepts of classes and inheritance, and you should be able to write C++ programs using components such as IOstreams and containers from the C++ standard library. You should also be familiar with the basic features of “Modern C++”, such as auto, decltype, move semantics, and lambdas. Nevertheless, we review more subtle issues as the need arises, even when such issues aren’t directly related to templates. This ensures that the text is accessible to experts and intermediate programmers alike.

2020-01-01

herrington_src_cgia_bc10.tar

Code generation is the technique of building and using programs to write other programs. A concrete example is using a code generator to build database access code or remote procedure layers. The central idea is to create consistent and high quality code more quickly.

2019-11-21

jdk-8u221-windows-x64.zip

jdk-8u221-windows-x64.zip jdk-8u221-windows-x64.zip jdk-8u221-windows-x64.zip

2019-09-21

word_counter.zip

CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice. The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as ITK and VTK

2019-11-15

word_counter.zip

CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice. The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as ITK and VTK

2019-11-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除