Site updated: 2024-03-19 14:49:10
256
archives/2024/03/index.html
Normal file
256
archives/2024/03/page/2/index.html
Normal file
256
archives/2024/index.html
Normal file
256
archives/2024/page/2/index.html
Normal file
256
archives/page/3/index.html
Normal file
21827
bangumis/index.html
@ -1 +1 @@
|
||||
{"2021-8":[{"title":"第一次使用hexo","date":"2021-08-05T16:00:00.000Z","link":"/posts/45609.html"},{"title":"微服务框架","date":"2021-08-06T16:00:00.000Z","link":"/posts/39831.html"},{"title":"C++书单","date":"2021-08-08T16:00:00.000Z","link":"/posts/58849.html"},{"title":"BIO,NIO,AIO 总结","date":"2021-08-12T16:00:00.000Z","link":"/posts/43515.html"}],"2022-2":[{"title":"C++编译期多态与运行期多态","date":"2022-02-06T16:00:00.000Z","link":"/posts/35899.html"},{"title":"虚基类","date":"2022-02-06T16:00:00.000Z","link":"/posts/11902.html"},{"title":"C++ 使用 chrono 库处理日期和时间","date":"2022-02-06T16:00:00.000Z","link":"/posts/59243.html"},{"title":"C/C++ 关于 cJson 库的使用","date":"2022-02-06T16:00:00.000Z","link":"/posts/63502.html"},{"title":"C++后台","date":"2022-02-06T16:00:00.000Z","link":"/posts/59764.html"},{"title":"C++ 八股文(一)","date":"2022-02-06T16:00:00.000Z","link":"/posts/15563.html"},{"title":"五万字长文总结 C/C++ 知识点","date":"2022-02-06T16:00:00.000Z","link":"/posts/3189.html"}],"2023-10":[{"title":"二分查找模版","date":"2023-10-08T16:00:00.000Z","link":"/posts/6077.html"},{"title":"数据结构简介","date":"2023-10-09T16:00:00.000Z","link":"/posts/b8928e0e.html"}]}
|
||||
{"2021-8":[{"title":"第一次使用hexo","date":"2021-08-05T16:00:00.000Z","link":"/posts/45609.html"},{"title":"微服务框架","date":"2021-08-06T16:00:00.000Z","link":"/posts/39831.html"},{"title":"C++书单","date":"2021-08-08T16:00:00.000Z","link":"/posts/58849.html"},{"title":"BIO,NIO,AIO 总结","date":"2021-08-12T16:00:00.000Z","link":"/posts/43515.html"},{"title":"Java线程生命周期与状态切换","date":"2021-08-12T16:00:00.000Z","link":"/posts/43515.html"}],"2022-2":[{"title":"C++编译期多态与运行期多态","date":"2022-02-06T16:00:00.000Z","link":"/posts/35899.html"},{"title":"C/C++ 关于 cJson 库的使用","date":"2022-02-06T16:00:00.000Z","link":"/posts/63502.html"},{"title":"C++ 使用 chrono 库处理日期和时间","date":"2022-02-06T16:00:00.000Z","link":"/posts/59243.html"},{"title":"虚基类","date":"2022-02-06T16:00:00.000Z","link":"/posts/11902.html"},{"title":"C++后台","date":"2022-02-06T16:00:00.000Z","link":"/posts/59764.html"},{"title":"C++ 八股文(一)","date":"2022-02-06T16:00:00.000Z","link":"/posts/15563.html"},{"title":"五万字长文总结 C/C++ 知识点","date":"2022-02-06T16:00:00.000Z","link":"/posts/3189.html"}],"2023-10":[{"title":"二分查找模版","date":"2023-10-08T16:00:00.000Z","link":"/posts/6077.html"},{"title":"数据结构简介","date":"2023-10-09T16:00:00.000Z","link":"/posts/b8928e0e.html"}],"2024-3":[{"title":"N皇后","date":"2024-03-18T16:00:00.000Z","link":"/posts/bd497d25.html"},{"title":"状态转移方程","date":"2024-03-18T16:00:00.000Z","link":"/posts/92fa7813.html"},{"title":"「游戏」寻路算法之A Star算法原理及实现","date":"2024-03-18T16:00:00.000Z","link":"/posts/0.html"},{"title":"Union-Find 算法","date":"2024-03-18T16:00:00.000Z","link":"/posts/e88a2bb0.html"},{"title":"synchronized 实现原理","date":"2024-03-19T06:15:38.582Z","link":"/posts/f11fd659.html"},{"title":"HashMap的最大容量是多少","date":"2024-03-19T06:21:58.654Z","link":"/posts/87ddd1f4.html"},{"title":"HashMap简介","date":"2024-03-19T06:22:48.861Z","link":"/posts/dbb6295a.html"},{"title":"详细分析JDK中Stream的实现原理","date":"2024-03-19T06:24:23.059Z","link":"/posts/f5786ffa.html"},{"title":"C++内存管理","date":"2024-03-19T06:27:19.919Z","link":"/posts/b57ba5ed.html"},{"title":"一起探索Cplusplus类内存分布","date":"2024-03-19T06:28:04.302Z","link":"/posts/97623f3c.html"},{"title":"","date":"2024-03-19T06:29:41.998Z","link":"/posts/0.html"},{"title":"C++编码优化之减少冗余拷贝或赋值","date":"2024-03-19T06:32:03.211Z","link":"/posts/97da918c.html"}]}
|
283
categories/多线程/index.html
Normal file
283
categories/多线程/java/index.html
Normal file
@ -3583,16 +3583,9 @@ h1.page-title + .tag-cloud-list {
|
||||
}
|
||||
#page-header #post-info {
|
||||
position: absolute;
|
||||
bottom: 100px;
|
||||
bottom: 30px;
|
||||
padding: 0 8%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
@media screen and (max-width: 900px) {
|
||||
#page-header #post-info {
|
||||
bottom: 30px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
#page-header #post-info {
|
||||
@ -4572,14 +4565,15 @@ h1.page-title + .tag-cloud-list {
|
||||
margin: 20px auto;
|
||||
}
|
||||
#sidebar #sidebar-menus .menus_items {
|
||||
padding: 0 5px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
#sidebar #sidebar-menus .menus_items .site-page {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 6px 30px 6px 22px;
|
||||
padding: 3px 28px 3px 20px;
|
||||
color: var(--font-color);
|
||||
font-size: 1.15em;
|
||||
border-radius: 6px;
|
||||
}
|
||||
#sidebar #sidebar-menus .menus_items .site-page:hover {
|
||||
background: var(--text-bg-hover);
|
||||
@ -6491,7 +6485,6 @@ blockquote.pullquote.right {
|
||||
}
|
||||
#local-search .search-dialog .local-search-hit-item .search-result {
|
||||
margin: 0 0 8px;
|
||||
word-break: break-word;
|
||||
}
|
||||
#local-search .search-dialog .search-result-list {
|
||||
overflow-y: overlay;
|
||||
|
158
index.html
35
js/main.js
@ -66,7 +66,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const { highlightCopy, highlightLang, highlightHeightLimit, plugin } = highLight
|
||||
const isHighlightShrink = GLOBAL_CONFIG_SITE.isHighlightShrink
|
||||
const isShowTool = highlightCopy || highlightLang || isHighlightShrink !== undefined
|
||||
const $figureHighlight = plugin === 'highlighjs' ? document.querySelectorAll('figure.highlight') : document.querySelectorAll('pre[class*="language-"]')
|
||||
const $figureHighlight = plugin === 'highlight.js' ? document.querySelectorAll('figure.highlight') : document.querySelectorAll('pre[class*="language-"]')
|
||||
|
||||
if (!((isShowTool || highlightHeightLimit) && $figureHighlight.length)) return
|
||||
|
||||
@ -75,23 +75,23 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const highlightShrinkEle = isHighlightShrink !== undefined ? '<i class="fas fa-angle-down expand"></i>' : ''
|
||||
const highlightCopyEle = highlightCopy ? '<div class="copy-notice"></div><i class="fas fa-paste copy-button"></i>' : ''
|
||||
|
||||
const copy = (text, ctx) => {
|
||||
const alertInfo = (ele, text) => {
|
||||
if (GLOBAL_CONFIG.Snackbar !== undefined) {
|
||||
btf.snackbarShow(text)
|
||||
} else {
|
||||
const prevEle = ele.previousElementSibling
|
||||
prevEle.textContent = text
|
||||
prevEle.style.opacity = 1
|
||||
setTimeout(() => { prevEle.style.opacity = 0 }, 800)
|
||||
}
|
||||
}
|
||||
|
||||
const copy = ctx => {
|
||||
if (document.queryCommandSupported && document.queryCommandSupported('copy')) {
|
||||
document.execCommand('copy')
|
||||
if (GLOBAL_CONFIG.Snackbar !== undefined) {
|
||||
btf.snackbarShow(GLOBAL_CONFIG.copy.success)
|
||||
} else {
|
||||
const prevEle = ctx.previousElementSibling
|
||||
prevEle.textContent = GLOBAL_CONFIG.copy.success
|
||||
prevEle.style.opacity = 1
|
||||
setTimeout(() => { prevEle.style.opacity = 0 }, 700)
|
||||
}
|
||||
alertInfo(ctx, GLOBAL_CONFIG.copy.success)
|
||||
} else {
|
||||
if (GLOBAL_CONFIG.Snackbar !== undefined) {
|
||||
btf.snackbarShow(GLOBAL_CONFIG.copy.noSupport)
|
||||
} else {
|
||||
ctx.previousElementSibling.textContent = GLOBAL_CONFIG.copy.noSupport
|
||||
}
|
||||
alertInfo(ctx, GLOBAL_CONFIG.copy.noSupport)
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,8 +105,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
range.selectNodeContents($buttonParent.querySelectorAll(`${preCodeSelector}`)[0])
|
||||
selection.removeAllRanges()
|
||||
selection.addRange(range)
|
||||
const text = selection.toString()
|
||||
copy(text, ele.lastChild)
|
||||
copy(ele.lastChild)
|
||||
selection.removeAllRanges()
|
||||
$buttonParent.classList.remove('copy-true')
|
||||
}
|
||||
@ -783,7 +782,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const commentContainer = document.getElementById('post-comment')
|
||||
const handleSwitchBtn = () => {
|
||||
commentContainer.classList.toggle('move')
|
||||
if (!switchDone) {
|
||||
if (!switchDone && typeof loadOtherComment === 'function') {
|
||||
switchDone = true
|
||||
loadOtherComment()
|
||||
}
|
||||
|
367
page/3/index.html
Normal file
388
posts/0.html
Normal file
BIN
posts/0/images/640.webp
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
posts/0/images/image-20220209155908670.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
posts/0/images/image-20220209155933965.png
Normal file
After Width: | Height: | Size: 726 KiB |
281
posts/43515.html
359
posts/87ddd1f4.html
Normal file
334
posts/92fa7813.html
Normal file
392
posts/97623f3c.html
Normal file
BIN
posts/97623f3c/images/640.png
Normal file
After Width: | Height: | Size: 72 KiB |
384
posts/97da918c.html
Normal file
872
posts/b57ba5ed.html
Normal file
337
posts/bd497d25.html
Normal file
366
posts/dbb6295a.html
Normal file
462
posts/e88a2bb0.html
Normal file
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-41-27-image.png
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-42-58-image.png
Normal file
After Width: | Height: | Size: 250 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-43-20-image.png
Normal file
After Width: | Height: | Size: 217 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-44-44-image.png
Normal file
After Width: | Height: | Size: 255 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-46-42-image.png
Normal file
After Width: | Height: | Size: 253 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-47-17-image.png
Normal file
After Width: | Height: | Size: 238 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-50-04-image.png
Normal file
After Width: | Height: | Size: 259 KiB |
BIN
posts/e88a2bb0/images/并查集算法/2022-07-28-09-52-40-image.png
Normal file
After Width: | Height: | Size: 221 KiB |