1 参考《GMT 0009-2012 SM2密码算法使用规范》第6节“数据转换” 在utils.h和utils.c中完成位串与8位字节串的转换功能(10'): int Bitstr2ByteArr(unsigned char * bs, unsigned char * ba); int ByteAr ...
分类:
编程语言 时间:
2021-05-24 07:25:40
阅读次数:
0
linux kernel version:4.4.38 硬件平台:exynos4412-tiny4412 参考链接:https://www.cnblogs.com/ethandlwang/p/14759735.html 基于上一篇按键点灯程序,我给设备驱动添加了sysfs设备模型,demo级程序 添 ...
分类:
其他好文 时间:
2021-05-24 06:51:38
阅读次数:
0
前缀和: 例如原数组 a1 , a2 , a3 , ..... an 前缀和:Si = a1 + a2 + a3 + ... + ai 1、如何求Si for i = 1; i ? n; i++ s[i] = s[i-1] + ai 2、作用:求数组中某段的合 [l, r] 普通方法时间复杂度是O( ...
分类:
其他好文 时间:
2021-05-24 06:40:51
阅读次数:
0
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale= ...
分类:
移动开发 时间:
2021-05-24 06:22:55
阅读次数:
0
#include <chrono> /// nanoseconds typedef duration<_GLIBCXX_CHRONO_INT64_T, nano> nanoseconds; /// microseconds typedef duration<_GLIBCXX_CHRONO_INT64 ...
分类:
编程语言 时间:
2021-05-24 06:07:05
阅读次数:
0
Header: #include <QSize>qmake: QT += core Public Functions QSize() QSize(int width, int height) QSize boundedTo(const QSize &otherSize) const QSize ex ...
分类:
其他好文 时间:
2021-05-24 06:00:32
阅读次数:
0
存个链式hash表的板子 比较好清空 const int MAXM=1e7+7; struct{ int next[MAXM],head[MAXM],ans[MAXM],size; ll state[MAXM]; void init(){ size=0; memset(head,0,sizeof(h ...
分类:
其他好文 时间:
2021-05-24 06:00:13
阅读次数:
0
🌲 配置别名可以方便书写代码引用路径,让代码更整洁。 🌲 官方文档可参考https://nervjs.github.io/taro/docs/config-detail#alias 一、在config/index.js下配置alias const config = { ……… alias: { ...
分类:
微信 时间:
2021-05-24 05:49:55
阅读次数:
0
vue_shop删除功能报错——_this3.$confirm(...).cath is not a function ...
分类:
其他好文 时间:
2021-05-24 05:48:24
阅读次数:
0
关键字是C语言内部使用的名字,每个关键字具有对应的功能 auto break case char const continue default do double else enum extern float for goto if int long register return short si ...
分类:
其他好文 时间:
2021-05-24 05:36:24
阅读次数:
0