一、dump文件的导出(以sqlplus命令行的方式) 二、dump文件的导入(以sqlplus命令行的方式) 三、常用辅助SQL(慎用) alter user username identified by password; drop user username cascade; drop tab ...
分类:
其他好文 时间:
2020-01-19 12:41:04
阅读次数:
204
Heap.h 1 #include <algorithm> 2 #include <cassert> 3 4 using namespace std; 5 6 template<typename Item> 7 class MaxHeap{ 8 private: 9 Item *data; 10 i ...
分类:
编程语言 时间:
2020-01-19 09:51:43
阅读次数:
103
首先几个基本概念(网上的各种说法都很乱;个人理解整理了一下 内存分类方法很多,动态、静态; 五区; 三段; 内存的区: 1.动态存储区分为 栈区、堆区 也统称为堆栈段1.1栈区(stack) 编译器自动分配释放,存放函数的参数值,局部变量的值等。函数结束自动释放1.2堆区(heap) 一般由程序员分 ...
分类:
编程语言 时间:
2020-01-19 00:21:33
阅读次数:
95
yaml文件的读取与保存 # 读取yaml文件with open('C:\\Users\\51102\\Desktop\\123\\info.yaml') as f: temp = yaml.load(f.read(), Loader=yaml.FullLoader) labels = temp[' ...
分类:
其他好文 时间:
2020-01-19 00:02:31
阅读次数:
567
一、什么式方法区 方法区,也称非堆(Non Heap),又是一个被线程共享的内存区域。其中主要存储加载的类字节码、class/method/field等元数据对象、static final常量、static变量、jit编译器编译后的代码等数据。另外,方法区包含了一个特殊的区域“运行时常量池”。 (1 ...
分类:
其他好文 时间:
2020-01-18 19:36:17
阅读次数:
89
谈谈Collection [toc] 前言 这一篇讲的collection接口;首先,集合是用来 存储数据 的,它是基于某种数据结构数据容器。常见的数据结构:数组(Array)、集(Set)、队列(Queue)、链表(Linkedlist)、树(Tree)、堆(Heap)、栈(Stack)和映射(M ...
分类:
编程语言 时间:
2020-01-18 16:56:39
阅读次数:
118
想要实现二维数组中根据某个字段排序,一般可以通过数组循环对比的方式实现。这里介绍一种更简单的方法,直接通过PHP函数实现。array_multisort() :可以用来一次对多个数组进行排序,或者根据某一维或多维对多维数组进行排序。详细介绍可参考PHP手册:https://www.php.net/m ...
分类:
编程语言 时间:
2020-01-18 16:34:06
阅读次数:
107
import pickledata1=["藏身于雨雪之中","努力忘记,但我怎能就这样离去","看着熙熙攘攘的街道","看着熙熙攘攘的街道"]#1:序列化数据#这里必需要以二进制格式写入,所以要加wbf1=open("data.txt","wb")#dump:接受一个文件句柄和一个数据对象作为參数, ...
分类:
其他好文 时间:
2020-01-18 12:33:13
阅读次数:
71
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 ...
分类:
其他好文 时间:
2020-01-17 21:13:06
阅读次数:
93
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 ...
分类:
其他好文 时间:
2020-01-17 20:50:35
阅读次数:
68