inter process communication one host: signal semaphor shm: shared memory different host: rpc: remote procedure call 同样基于socket socket ...
分类:
其他好文 时间:
2020-07-11 00:17:33
阅读次数:
85
g++ -std=c++11 testlibc.cpp -shared -fPIC -o libtest.so编译成动态库 gcc main.c libtest.so -o main 编译 ./main ...
分类:
编程语言 时间:
2020-07-10 15:13:59
阅读次数:
122
from docx import Document from docx.shared import Pt,Inches #Pt指镑(int类型),Inches指英寸(float类型) w=Document(r'D:\word练习\练习.docx') for paragraph in w.paragr ...
分类:
其他好文 时间:
2020-07-08 22:51:25
阅读次数:
65
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C7525 内联变量至少需要 "/std:c++17" libtorch-win-shared-with-deps-1.5.1\libtorch\include\c10\util\bfloat16-inl.h 66 严重性 代码 说明 项目 文 ...
分类:
其他好文 时间:
2020-07-07 20:38:49
阅读次数:
176
springBoot整合Ridis SpringBoot 操作数据:spring-data jpa jdbc mongodb redis! SpringData 也是和 SpringBoot 齐名的项目! 说明: 在 SpringBoot2.x 之后,原来使用的jedis 被替换为了 lettuce ...
分类:
编程语言 时间:
2020-07-07 20:20:35
阅读次数:
79
1.python操作word文档: import docx from docx.oxml.ns import qn from docx.shared import Pt, RGBColor, Inches from docx.enum.text import WD_PARAGRAPH_ALIGNME ...
分类:
编程语言 时间:
2020-07-06 10:51:25
阅读次数:
71
如图以下是头文件<future>中的类容。 std::future<T> future有两个类模板,一个独占的std::future,也就是只能被获取一次,另一个是共享的std::shared_future。std::future<T>是一个类模板,其中T是要存储的值的类型,std::future ...
分类:
编程语言 时间:
2020-07-06 10:34:46
阅读次数:
59
Introduction The Downlink Shared Channel (DL-SCH) is described in TS36.212, Section 5.3.2. This example demonstrates how a transmitter retransmits a s ...
分类:
其他好文 时间:
2020-07-05 19:12:43
阅读次数:
86
Jedis api 在线网址:http://tool.oschina.net/uploads/apidocs/redis/clients/jedis/Jedis.html redisson 官网地址:https://redisson.org/ redisson git项目地址:https://git ...
分类:
其他好文 时间:
2020-07-05 13:32:55
阅读次数:
70
首先我们需要将编写好的c程序文件编译为动态库文件(后缀名为.so) 使用下面的命令: gcc 原文件名.c -shared -o 新文件名.so 然后在python程序中导入模块:from ctypes import * 在python中引入c动态库,并定义一个变量用来接收动态库: a=cdll.L ...
分类:
编程语言 时间:
2020-07-05 10:47:11
阅读次数:
98