本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141829165
下载使用
关键代码
1 |
|
效果

参考
https://github.com/VioletGiraffe/file-commander
创作不易,小小的支持一下吧!


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141829165
1 |
|

https://github.com/VioletGiraffe/file-commander


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141713871
Breadth-First Search (BFS)
目的: 主要用于遍历或搜索图中的所有顶点。
特点: 从根节点开始,先访问所有与之相邻的节点,然后再一层一层地深入。
应用: 可以用来寻找两节点间的最短路径(当边的权重相等时),检测图中是否存在环路,以及层次遍历二叉树等。
数据结构: 使用队列来存储待访问的节点。
Depth-First Search (DFS):
目的: 同样用于遍历或搜索图中的所有顶点。
特点: 从根节点开始,尽可能深地搜索树的分支。
应用: 用于解决连通性问题,如检测环路、拓扑排序、迷宫求解等。
数据结构: 使用栈(可以是递归栈)来存储待访问的节点。
Dijkstra算法
目的: 用于找到图中一个节点到其他所有节点的最短路径。
特点: 要求图中没有负权边,并且是从一个源节点开始计算最短路径。
应用: 寻找两点之间的最短路径,广泛应用于路由算法。
数据结构: 使用优先队列(最小堆)来存储待处理的节点。
Kruskal算法
目的: 用于找到图的最小生成树(Minimum Spanning Tree, MST)。
特点: 是一种贪心算法,适用于边稀疏的图。
应用: 在网络设计中用于构建成本最低的网络连接。
数据结构: 使用并查集(Union-Find)来维护生成树的形成过程。
需要注意的是,Kruskal算法通常不直接用于有向图,因为它主要用于无向图中的最小生成树问题。对于有向图,我们通常考虑的是最短路径问题,而不是生成树问题
1 |
|
https://github.com/Przemyslawmd/Graphs


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141684005
1 | #include "json_struct.h" |
1 | // |
{“Number”:12.33242,”another_object”:{“another_string”:””,”boolean”:false,”nested_object”:{“id”:””,”v3s”:[]},”string”:””}
,”another_bool”:false,”boolean”:false,”fixed_object”:{“double_array”:[],”float_array”:[],”int_array”:[]},”fixed_name_obj
ect”:{“name0”:””,”name1”:””,”name2”:””,”name3”:””,”name4”:””},”string_array”:[],”string”:”hello world”}
hello world 12.3324
1 | #include "nlohmann/json.hpp" |
1 | #include <daw/daw_span.h> |
GitHub - nlohmann/json: JSON for Modern C++
GitHub - beached/daw_json_link: Fast, convenient JSON serialization and parsing in C++
GitHub - stephenberry/json_performance: Performance profiling of JSON libraries


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141674991
1 | usage: BTDown [OPTIONS] [TORRENT|MAGNETURL] |
BTDown.exe -s . magnet:?xt=urn:btih:eebaec4c345224afd2e166b12006ca029b5cdf46

GitHub - arvidn/libtorrent: an efficient feature complete C++ bittorrent implementation


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141639011
1 |
|
video_size_view definitions:
name: “my.org/views/video_size”
measure: name: “my.org/measure/video_size”; units: “By”; description: “size of processed videos”; type: int64
aggregation: Distribution with Buckets: 0,1.67772e+07,2.68435e+08
aggregation window: Cumulative
columns: my.org/keys/frontend
description: “processed video size over time”
expiry duration: 0Waiting 10.1s for exporters to run…
Name: my.org/ProcessVideo
TraceId-SpanId-Options: 8ad59ba5bb062620a8b1b82d330e4447-f815861ab2819a74-01
Parent SpanId: 0000000000000000 (remote: false)
Start time: 2024-08-28T06:18:33.2866047+00:00
End time: 2024-08-28T06:18:33.305601+00:00
Attributes: (0 dropped)
Annotations: (0 dropped)
2024-08-28T06:18:33.2866536+00:00: Start processing video.
2024-08-28T06:18:33.3055938+00:00: Finished processing video.
Message events: (0 dropped)
Links: (0 dropped)
Span ended: true
Status: OKNo data for view “ocquickstart.io/latency”.
No data for view “ocquickstart.io/line_lengths”.
No data for view “ocquickstart.io/lines_in”.
Data for view “my.org/views/video_size”:
Row data from 2024-08-28T06:18:38.2963482+00:00 to 2024-08-28T06:18:43.296423969+00:00:
my.org/keys/frontend=video size
count: 1 mean: 2.62144e+07 sum of squared deviation: 0 min: 2.62144e+07 max: 2.62144e+07
histogram counts: 0, 0, 1, 0View data:
video size : count: 1 mean: 2.62144e+07 sum of squared deviation: 0 min: 2.62144e+07 max: 2.62144e+07
histogram counts: 0, 0, 1, 0

GitHub - census-instrumentation/opencensus-cpp: A stats collection and distributed tracing framework
https://github.com/prometheus/prometheus
https://github.com/jupp0r/prometheus-cpp


本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141613345
1 | enum class Status { |



本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141572690
1 |
|



本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/141560053
1 |
|



tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true