In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2019-10-07 13:32:51
阅读次数:
120
打开 Kitematic 运行 docker cli 注册镜像 https://www.daocloud.io/mirror#accelerator-doc 上有镜像地址 sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=http:/ ...
1 性能测试目的 性能测试的目的:验证软件系统是否能够达到用户提出的性能指标,同时发现软件系统中存在的性能瓶颈,以优化软件。 最后起到优化系统的目的性能测试包括如下几个方面: 1.评估系统的能力:测试中得到的负荷和响应时长数据可以被用于验证所计划的模型的能力,并帮助做出决策 2.识别体系中的弱点:受 ...
分类:
其他好文 时间:
2019-10-06 13:00:40
阅读次数:
200
Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra ...
分类:
编程语言 时间:
2019-10-05 00:34:49
阅读次数:
88
本节目录 "一 QuerySet" "二 中介模型" "三 查询优化" "四 extra" "五 整体插入" "六 xxx" "七 xxx" "八 xxx" 一 QuerySet 可切片 使用Python 的切片语法来限制 记录的数目 。它等同于SQL 的 和 子句。 Entry.objects. ...
分类:
其他好文 时间:
2019-10-04 17:05:23
阅读次数:
97
1. 概述 本文,我们来分享 MyBatis 的 IO 模块,对应 io 包。如下图所示: 在 《精尽 MyBatis 源码解析 —— 项目结构一览》 中,简单介绍了这个模块如下: 资源加载模块,主要是对类加载器进行封装,确定类加载器的使用顺序,并提供了加载类文件以及其他资源文件的功能 。 本文涉及 ...
分类:
其他好文 时间:
2019-10-04 11:31:25
阅读次数:
153
numpy高级函数:where与extract 1、numpy.where()函数,此函数返回数组中满足某个条件的元素的索引: 2、numpy.extract()函数,和where函数有一点相,不过extract函数是返回满足条件的元素,而不是元素索引,下面我们的例子返回数组x 的元素 模2等于0的 ...
分类:
其他好文 时间:
2019-10-03 18:28:50
阅读次数:
126
打开/etc/yum.repos.d/epel.repo,将 [epel] name=Extra Packages for Enterprise Linux 6 – $basearch baseurl=http://download.fedoraproject.org/pub/epel/6/$bas ...
分类:
Web程序 时间:
2019-09-30 20:01:07
阅读次数:
341
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6740 中文题意链接:http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1010&cid=872 题解:反向用next数组求循环节(前i ...
分类:
其他好文 时间:
2019-09-30 18:22:20
阅读次数:
106
Getting Started #Installation #npm npm install chartjs-plugin-datalabels --save This plugin can also be installed using Bower. This plugin can also be ...
分类:
Web程序 时间:
2019-09-30 09:44:06
阅读次数:
319