08 2022 档案
摘要:VC线程同步,在子线程中等待另一子线程结束,通过WaitForSingleObject可以实现,但是如果在主线程中等待子线程结束,这个函数是无法完成要求的,因为它会造成主线程挂起,导致程序死掉。我们可以通过另一个函数MsgWaitForMultipleObjects配合一个死循环实现这个功能,使用时
阅读全文
摘要:无损压缩的图片格式:BMP、PCX、TIFF、GIF、TGA、PNG、RAW(bmp、pcx、tiff、gif、tga、png、raw) 有损压缩格式:JPEG、JPG、WMF、WebP(jpeg、jpg、wmf)
阅读全文
摘要:/opt/intel/sgxsdk/bin/x64/sgx_sign dump -enclave enclave.signed.so -dumpfile out.log metadata->enclave_css.body.enclave_hash.m字段就是MRENCLAVE值。 MRSIGNER
阅读全文
摘要:const ( HTTPS_POST = "POST" HTTPS_GET = "GET" HTTPS_PUT = "PUT" HTTPS_DELETE = "DELETE" HTTPS_PATCH = "PATCH" HTTPS_COPY = "COPY" HTTPS_HEAD = "HEAD"
阅读全文
摘要:在1~N当中,与N互质的数的个数被叫做欧拉函数,简写成Φ(N); 在算数基本定理中我们可以把一个数N分解成所有质因子的乘积的形式,记作 N = p1^a1 * p2^a2 *.... *pn^an; 所以欧拉函数的计算公式 1 欧拉函数定义 在数论中,对正整数n,欧拉函数φ(n)是小于或等于n的正整
阅读全文
摘要:function ba () { echo $(basename "$1")}export -f baecho "a b/c"|xargs -I @ sh -c "ba '@'" ba "$@" #include <unistd.h>#include <stdio.h>#include <fcntl
阅读全文
摘要:https://skidrowreloaded.nl/ skidrowrepack.com 一 skidrow--来自美国的专业pojie组 https://www.skidrowreloaded.com skidrow来自美国的游戏pojie组,成立时间大概是上个世纪90年代,主要作品有《只狼》等
阅读全文
摘要:CC=g++CFLAG=-c\ -O2\ -W\ -fPIC\ -gLNK=g++EXFLAG=-fno-pieDLFLAG=-sharedLB=arLBFLAG=rcsL=-Ll=-lo=-oset path=C:\Program Files (x86)\Microsoft Visual Stud
阅读全文
摘要:https://blog.csdn.net/qmxz57/article/details/125348670 https://zhuanlan.zhihu.com/p/228143339 https://blog.csdn.net/qiuzen/article/details/125014584 c
阅读全文
摘要:package cimport ( "crypto/rand" "encoding/binary" "fmt" "math/big" "testing")func rands(n uint64) []uint64 { d := make([]uint64, n) for i := range d {
阅读全文
摘要:package b/*#cgo LDFLAGS: -L/Users/jalyzhang/CLionProjects/untitled125 -lh#include "stdint.h" void f1(uint64_t *q1, uint64_t *r1, uint64_t a, uint64_t
阅读全文
摘要:git clone https://github.com/libuv/libuv.git https://cgit.freebsd.org/src/commit/ uint64_t _udiv128( uint64_t highDividend, uint64_t lowDividend, uint
阅读全文
摘要:21.830 53.13s 19.503s 65.54s zen: 11.150s 90.33s
阅读全文