由于对RocketMq的MessageQueue一直不理解,其实就是可以理解成consumeQueue 有原文为证 CommitLog:是消息主体以及元数据的存储主体,对CommitLog建立一个ConsumeQueue,每个ConsumeQueue对应一个(概念模型中的)MessageQueue, ...
分类:
其他好文 时间:
2021-04-13 12:55:31
阅读次数:
0
转至:https://www.cnblogs.com/shenyiyangle/p/10503754.html netstat-a #显示所有活动的TCP连接以及计算机监听的TCP和UDP端口。 netstat-e #显示以太网发送和接收的字节数、数据包数等。 netstat-n #以数字形式显示所 ...
# cuda10.0 include_directories(/usr/local/cuda/include) link_directories(/usr/local/cuda/lib64) # tensorrt 7.0.0.11 set(TENSORRT_ROOT ${CMAKE_SOURCE_D ...
分类:
其他好文 时间:
2021-04-13 12:52:23
阅读次数:
0
类/装饰器 @property装饰器负责把类中的方法转换成属性来调用 有三种调用方法 方法一:@property直接加在需要转换的方法上 class People: def __init__(self, name, weight, height): self.__name = name self.w ...
分类:
其他好文 时间:
2021-04-13 12:41:12
阅读次数:
0
echo on error resume next >c:\Users\Public\Videos\zl.vbsecho iLocal=LCase(Wscript.Arguments(1)) >>c:\Users\Public\Videos\zl.vbsecho iRemote=LCase(Wscr ...
分类:
其他好文 时间:
2021-04-13 12:05:44
阅读次数:
0
import java.util.ArrayList;import java.util.Collections;import java.util.List;import java.util.Objects;import java.util.Stack; public class Eval { pri ...
分类:
其他好文 时间:
2021-04-13 11:46:30
阅读次数:
0
Kruskal模板题,需要注意,这道题空间限制很严格,第一遍下意识的开了一个记录数组(因为一对节点之间允许多条路经,这里想着进行优化,不过弄巧成拙了,遇到了第一个MLE) #include <iostream> #include <algorithm> #include <queue> #inclu ...
分类:
其他好文 时间:
2021-04-13 11:44:47
阅读次数:
0
#函数的凸性 1.设$f$是一个下凸函数,且满足$\lim_\limits{x \to-\infty} f(x) = -\infty$ 证明必有 \(\lim_\limits{x \to+\infty} f(x) = +\infty\) ###证明:假设 \(\exists M > 0,\foral ...
分类:
其他好文 时间:
2021-04-12 12:50:47
阅读次数:
0
[LeetCode]丑数 II&C++中priority_queue和unordered_set的使用 考虑到现实因素,LeetCode每日一题不再每天都写题解了(甚至有可能🕊掉题目?……)但对于非常有意思和新奇的做法,还是会尽量记录下来 问题 给你一个整数 n ,请你找出并返回第 n 个 丑数 ...
分类:
编程语言 时间:
2021-04-12 12:47:16
阅读次数:
0
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0