1. Download OpenSSL source code from https://github.com/openssl/openssl/releases. 2. Download and install ActivePerl from https://www.activestate.com/ ...
分类:
其他好文 时间:
2020-01-30 12:56:22
阅读次数:
110
Given two sets of integers, the similarity of the sets is defined to be /, where N?c?? is the number of distinct common numbers shared by the two sets ...
分类:
其他好文 时间:
2020-01-29 21:54:49
阅读次数:
84
问题描述: 打开便签时提示“部分便笺的元数据已被损坏” 解决方法: win+R 输入regedit.exe 运行regsvr32 C:\Program" "Files\Common" "Files\Microsoft" "Shared\ink\InkObj.dll 来自知乎上大佬的简单粗暴的方法(虽 ...
类的组合 1 class Foo1(object): 2 def __init__(self, name): 3 self.name1 = name 4 def get_name(self): 5 print("my name is %s"%self.name1) 6 7 class Foo2(ob ...
分类:
其他好文 时间:
2020-01-28 21:32:14
阅读次数:
80
更新pip为20后不显示下载链接无法离线下载回退pip版本 先看log WARNING: You are using pip version 19.3.1; however, version 20.0.2 is available. You should consider upgrading via... ...
分类:
其他好文 时间:
2020-01-28 14:17:17
阅读次数:
174
C++ 11提供的智能指针有:shared_ptr、unique_ptr、weak_ptr。在 头文件 memory 中。 一、new delete 直接管理内存 1、初始化 string * ps = new string // 初始换为一个空string int * pi = new int ; ...
分类:
编程语言 时间:
2020-01-28 10:49:44
阅读次数:
99
测试资源准备: 1)测试目标网站是https://www.cnblogs.com/DeryKong/ 2)测试目的是该网站在负载达到20 QPS 时的响应时间。 QPS 解释 QPS : Query Per Second 每秒查询率。是一台查询服务器每秒能够处理的查询次数。在因特网上,作为域名系统服 ...
分类:
其他好文 时间:
2020-01-23 16:58:00
阅读次数:
87
Overview Sharing a single thread within the district: PC Register/JVM Stack/Native Method Stack.All thread shared area: Heap/Method Area/Runtime Const ...
分类:
其他好文 时间:
2020-01-22 21:32:39
阅读次数:
93
MySQL版本:5.6 注意点: 单纯的 SELECT 不会加锁,INSERT UPDATE DELETE 默认加 X 。 文中的读都不是单纯 SELECT ,单纯的 SELECT 任何时候都可以进行。 共享锁 shared(S) lock 定义:A shared (S) lock permits ...
分类:
数据库 时间:
2020-01-22 20:00:04
阅读次数:
105
0. 1. std::shared_ptr is a smart pointer that retains shared ownership of an object through a pointer. Several shared_ptr objects may own the same obj ...
分类:
编程语言 时间:
2020-01-21 00:40:14
阅读次数:
103