上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 57 下一页
摘要: https://www.certicom.com/content/certicom/en/41-an-example-of-an-elliptic-curve-group-over-f2m.html As a very small example, consider the field F24, d 阅读全文
posted @ 2020-07-15 11:37 zJanly 阅读(315) 评论(0) 推荐(0) 编辑
摘要: POD(Plain Old Data,普通旧数据)类型是从 C++11 开始引入的概念,Plain 代表一个对象是一个普通类型,Old 代表一个对象可以与 C 兼容。通俗地讲,一个类、结构、共用体对象或非构造类型对象能通过二进制拷贝(如 memcpy())后还能保持其数据不变正常使用的就是POD类型 阅读全文
posted @ 2020-07-10 10:14 zJanly 阅读(437) 评论(0) 推荐(0) 编辑
摘要: #include "1.h"#include "pthread.h"static pthread_mutex_t __guard_mutex;static pthread_once_t __once_control = PTHREAD_ONCE_INIT;static void makeRecusi 阅读全文
posted @ 2020-07-09 13:34 zJanly 阅读(510) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/c1ata/article/details/104934368?utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-11.nonecase&depth_1-utm_source=distr 阅读全文
posted @ 2020-07-08 14:54 zJanly 阅读(425) 评论(0) 推荐(0) 编辑
摘要: // 64kB stack#define FIBER_STACK 1024*64#include "ucontext.h"#include"stdlib.h"#include "stdio.h"ucontext_t child, parent;// The child thread will exe 阅读全文
posted @ 2020-07-08 06:11 zJanly 阅读(226) 评论(0) 推荐(0) 编辑
摘要: const object - an object whose type is const-qualified, or a non-mutable subobject of a const object. Such object cannot be modified: attempt to do so 阅读全文
posted @ 2020-07-01 14:47 zJanly 阅读(115) 评论(0) 推荐(0) 编辑
摘要: template <typename T, typename ...A>int g(T (*f)(A......), A... args){ return f(args..., 9);}int fz(int a,char b, ...){ return a+b;}int main(int argc, 阅读全文
posted @ 2020-07-01 14:35 zJanly 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #define assert_static(e) do{ enum{ assert_static__ = 1 / (e) }; } while(0)template<typename T, typename U>int bit_copy(T& a, U& b) { assert_static(siz 阅读全文
posted @ 2020-06-30 17:20 zJanly 阅读(179) 评论(0) 推荐(0) 编辑
摘要: int m=9;struct C{ int f() const{ return ++e; }private: mutable int e; static int d;};int C::d = 2;int main(int argc, char *argv[]){ int c = 4; std::co 阅读全文
posted @ 2020-06-30 16:47 zJanly 阅读(322) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/8df45004bbcb #include <stdio.h>#include <pthread.h>#include <unistd.h>thread_local int a = 0;void* f(void *){ static int i=1 阅读全文
posted @ 2020-06-30 15:30 zJanly 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 57 下一页