-- 创建自增序列 CREATE SEQUENCE seq_interface_info INCREMENT BY 1 START WITH 1 --从1开始 NOMAXVALUE --不设最大值 NOCYCLE --不循环 NOCACHE; -- 创建表interface_info的触发器 CRE ...
分类:
数据库 时间:
2020-05-25 15:54:26
阅读次数:
71
昨天介绍了下微软的反向代理库YARP,今天准备实现一个简单的Http正向代理服务器玩下。首先还是介绍下背景知识: 普通代理(Http) 在Http的时代,大部分是走的RFC 7230中描述的普通代理。这种代理扮演的是「中间人」角色,对于连接到它的客户端来说,它是服务端;对于要连接的服务端来说,它是客 ...
分类:
Web程序 时间:
2020-05-24 20:50:52
阅读次数:
101
参考自菜鸟教程 https://www.runoob.com/mysql/mysql-using-sequences.html 使用函数创建自增序列管理表(批量使用自增表,设置初始值,自增幅度) 第一步:创建Sequence管理表 sequence DROP TABLE IF EXISTS sequ ...
分类:
数据库 时间:
2020-05-24 16:41:56
阅读次数:
68
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2724 https://onlinejudge.org/index.php?option=c ...
分类:
其他好文 时间:
2020-05-23 16:29:58
阅读次数:
52
filter、map、reduce 是python 的三个内置函数,对于序列(sequence)(字符串、元组、列表)有效。 1 filter的使用说明 filter(function, sequence) 返回一个 sequence(序列), 。(如果可能的话,会返回相同的类型)。如果该 序列 ( ...
分类:
编程语言 时间:
2020-05-23 00:46:46
阅读次数:
62
链接:https://leetcode-cn.com/problems/longest-consecutive-sequence/ 代码: class Solution { public: int longestConsecutive(vector<int>& nums) { int n = num ...
分类:
其他好文 时间:
2020-05-23 00:10:02
阅读次数:
46
继承层级关系 以下内容参考自 "JavaGuide randomaccess接口" 实际上 接口中什么都没有定义。所以,在我看来 接口不过是一个标识。标识什么?标识实现这个接口的类具有随机访问功能。 在 方法中,它要判断传入的list是否 的实例,如果是,调用 方法,如果不是,那么调用 方法。 ja ...
分类:
其他好文 时间:
2020-05-22 16:56:55
阅读次数:
58
参考资料:https://blog.csdn.net/qq_38950316/article/details/81087809 三次握手 1.客户端向服务端发送SYN包,syn标志位置为1,seq=x,此时进入SYN_SENT状态。SYN:同步序列编号(Synchronize Sequence Nu ...
分类:
其他好文 时间:
2020-05-21 23:46:27
阅读次数:
82
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:
其他好文 时间:
2020-05-21 10:33:22
阅读次数:
54
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or ...
分类:
其他好文 时间:
2020-05-20 14:12:20
阅读次数:
55