https://codeforces.ml/contest/888/problem/G struct TrieNode { int cnt; int num; int nxt[2]; void Init() { cnt = 0; num = 0; memset(nxt, 0, sizeof(nxt) ...
分类:
其他好文 时间:
2020-11-24 12:58:41
阅读次数:
10
catcache代码位于src/backend/utils/cache/catcache.c,包含了对SysCache结构体的初始化和数据结构之间指针关系的链接以及操作。最重要的是提供了两个函数:精确匹配SearchCatCache和部分匹配SearchCatcacheList。提供的静态函数如下, ...
分类:
系统相关 时间:
2020-11-24 12:37:15
阅读次数:
10
特殊成员 1.初始化方法 "_init_" #用于给对象中赋值,初始化方法 ''' 顶头是py文件的注释 ''' class Foo: ''' 类的注释 ''' def __init__(self,a1): ''' 方法的注释 初始化方法 :param a1: ''' self.a1 = a1 #1 ...
分类:
其他好文 时间:
2020-11-24 12:37:01
阅读次数:
6
1.部署redis nginx mysql python3环境,安装git # 安装应用 yum install -y redis nginx yum install -y mariadb-server mariadb yum install -y python3 yum -y install gi ...
分类:
其他好文 时间:
2020-11-24 12:36:47
阅读次数:
7
一、批量在服务端向client端发布命令://在zabbix服务端批量向client发送命令查看agent的进程:[root@localhost~]#ansiblezabbix-mshell-a"ps-ef|grepzabbix_agent"[root@localhost~]#ansiblezabbix-mshell-a"/etc/init.d/zabbix_agentdstart"[root@l
分类:
其他好文 时间:
2020-11-24 12:29:23
阅读次数:
6
问题1:ES6中的class 与 ES5中function的关系 ES6 中: class Person { constructor(name) { this.name = name; } sayHello() { return 'hello, I am ' + this.name; } } var ...
分类:
Web程序 时间:
2020-11-23 12:12:24
阅读次数:
11
一 线程池工具类 import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ThreadPoolExecutor; im ...
分类:
编程语言 时间:
2020-11-23 12:10:38
阅读次数:
7
原文:https://www.jianshu.com/p/9d8b2e42328c <template> <div class="test"> </div> </template> <script> export default { name : 'test', data() { return { ...
分类:
Web程序 时间:
2020-11-23 12:04:10
阅读次数:
12
Dart语言的控制语句跟其他常见语言的控制语句是一样的,基本如下:
- **if 和 else**
- **for 循环**
- **while 和 do-while 循环**
- **break 和 continue**
- **switch 和 case**
- **assert** ...
分类:
编程语言 时间:
2020-11-23 12:01:42
阅读次数:
8
目录: 1、SpringBoot的web项目部署为war2、SpringBoot的web项目部署为jar3、SpringBoot开发非Web程序 3.1、方式一:利用 main()方法 3.2、方式二:通过springboot启动加载类 CommandLineRunner#run() 1、Sprin ...
分类:
编程语言 时间:
2020-11-21 12:42:59
阅读次数:
27