Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.fpliu.ndk.pkg.prefab.android.21:chinese-calendar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.fpliu.ndk.pkg.prefab.android.21:chinese-calendar

chinese festival/jieqi algorthm

  • 2022.06.24
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

C

一级目录二级目录三级目录说明
standardisoISO C的一些测试文件,其中大部分需要通过GDB调试进行查看
standardposixPOSIX标准的测试文件
librarymbedTLSbase64mbedTLS / base64.h的使用案例
librarymbedTLSAESmbedTLS / aes.h的使用案例
librarymbedTLSMD5mbedTLS / md5.h的使用案例
librarymbedTLSRIPEMD-160mbedTLS / ripemd160.h的使用案例
librarymbedTLSSHA1mbedTLS / sha1.h的使用案例
librarymbedTLSSHA256mbedTLS / sha256.h的使用案例
librarymbedTLSSHA512mbedTLS / sha512.h的使用案例
librarymbedTLSHMACmbedTLS / md.h的使用案例
librarymbedTLSPBKDF2mbedTLS / pkcs5.h的使用案例
libraryopensslSHA256openssl / sha.h的使用案例
librarylibcurllibcurl的使用案例
librarycJSONcJSON的使用案例
librarylibyamllibyaml的使用案例
librarylibgit2libgit2的使用案例
librarylibarchivelibarchive的使用案例
libraryqrencodeqrencode的使用案例
algorithmbase16Base16算法的实现
algorithmurlURL编解码算法的实现
algorithmbccBCC校验算法的实现
algorithmlrcLRC校验算法的实现
algorithmchinese-calendar中国阳历日期转换为阴历日期、节气、节日算法的实现

开发测试过程

step1. 安装vcpkg

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
export VCPKG_ROOT="$PWD/vcpkg"
export PATH="$VCPKG_ROOT:$PATH"

step2. 通过vcpkg安装依赖库

vcpkg install curl libyaml libgit2 libarchive libqrencode cunit

step3. 配置

cmake \
    -S . \
    -B build.d \
    -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake \
    -DCMAKE_VERBOSE_MAKEFILE=ON \
    -DCMAKE_BUILD_TYPE=Debug \
    -DENABLE_TESTING=ON

step4. 编译

cmake --build build.d

step5. 运行单元测试

ctest --test-dir build.d/algorithm/base16

step6. 运行valgrind测试

valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=1 build.d/algorithm/base16

release安装过程

step1. 安装vcpkg

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
export VCPKG_ROOT="$PWD/vcpkg"
export PATH="$VCPKG_ROOT:$PATH"

step2. 通过vcpkg安装依赖库

vcpkg install curl libyaml libgit2 libarchive libqrencode cunit

step3. 配置

cmake \
    -S . \
    -B build.d \
    -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake \
    -DCMAKE_INSTALL_PREFIX=./output \
    -DCMAKE_VERBOSE_MAKEFILE=ON \
    -DCMAKE_BUILD_TYPE=Release \
    -DENABLE_TESTING=OFF

step4. 编译

cmake --build build.d

step5. 安装

cmake --install build.d

FAQs

Package last updated on 24 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc