fastmod
A C/C++ header file for fast 32-bit division remainders (and divisibility tests) on 64-bit hardware.
파일 탐색기
- ci.yml
- config.cmake.in
- hashbenches-skylake-clang.png
- fastmod.h
- CMakeLists.txt
- cppincludetest1.cpp
- cppincludetest2.cpp
- moddivnbenchmark.cpp
- modnbenchmark.cpp
- unit.c
- CMakeLists.txt
- LICENSE
- Makefile
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
cmake
설명 보기 ▼
cmake
네이티브 빌드 시스템을 위한 빌드 설정 파일을 생성하는, 크로스 플랫폼 빌드 자동화 도구.
더 많은 정보: <https://cmake.org/cmake/help/latest/manual/cmake.1.html>.
cmake {{path/to/project_directory}}
프로젝트 디렉터리의 `CMakeLists.txt`를 사용해 현재 디렉터리에 빌드 설정을 생성:
cmake --build {{path/to/build_directory}}
지정한 디렉터리의 빌드 설정을 사용해 빌드 산출물을 생성:
cmake --install {{path/to/build_directory}} --strip
빌드 산출물을 `/usr/local/`에 설치하고 디버그 심볼을 제거:
ctest
설명 보기 ▼
ctest
CMake 테스트 드라이버 프로그램.
더 많은 정보: <https://gitlab.kitware.com/cmake/community/-/wikis/doc/ctest/Testing-With-CTest>.
ctest
CMake 프로젝트에 정의된 모든 테스트를 실행하며 , 한번에 4개의 작업을 병렬 실행:
ctest {{[-j|--parallel]}} 4
사용 가능한 테스트 목록 표시:
ctest {{[-j|--parallel]}}
이름을 기준으로 단일 테스트를 실행하거나 `regex` 기준으로 필터링:
fastmod
설명 보기 ▼
fastmod
codemod 도구에 대한 빠른 부분 교체, 전체 코드베이스에서 부분 및 모두 교체.
`regex`는 Rust `regex`와 상자와 일치.
더 많은 정보: <https://github.com/facebookincubator/fastmod>.
fastmod {{regex}} {{replacement}}
`.ignore` 및 `.gitignore`의 파일을 무시하고 현재 디렉터리의 모든 파일에서 `regex` 패턴을 변경:
fastmod --ignore-case {{regex}} {{replacement}} -- {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
특정 파일이나 디렉터리에서 대소문자 구분 모드로 `regex` 패턴을 변경:
fastmod {{regex}} {{replacement}} --dir {{path/to/directory}} --iglob '{{**/*.{js,json}}}'
대소문자를 구분하지 않는 glob 패턴으로 필터링된 파일의 특정 디렉터리에 있는 `regex` 패턴을 변경:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
# 프로젝트 배지
-
License 바로가기
