Skip to content

Commit

Permalink
Site updated: 2024-07-02 23:24:47
Browse files Browse the repository at this point in the history
  • Loading branch information
Encounter005 committed Jul 2, 2024
1 parent 4f0b4d0 commit 8754e60
Show file tree
Hide file tree
Showing 49 changed files with 5,237 additions and 323 deletions.
10 changes: 5 additions & 5 deletions 2024/03/16/java-grammar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -408,15 +408,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -1336,11 +1336,11 @@ <h3 id="匿名类的优点"><a href="#匿名类的优点" class="headerlink" tit

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
10 changes: 5 additions & 5 deletions 2024/03/17/cpp-oop-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,15 +405,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -692,11 +692,11 @@ <h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
16 changes: 8 additions & 8 deletions 2024/03/18/gdb-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -645,9 +645,9 @@ <h2 id="继续执行"><a href="#继续执行" class="headerlink" title="继续
</a><a class="recommended-article-item" href="/2024/03/20/gdb-3/" title="GDB使用指南-3" rel="bookmark">
<img src="/images/background_light.jpg" alt="GDB使用指南-3" class="!max-w-none">
<span class="title">GDB使用指南-3</span>
</a><a class="recommended-article-item" href="/2024/03/16/java-grammar/" title="java语法" rel="bookmark">
<img src="/images/background_light.jpg" alt="java语法" class="!max-w-none">
<span class="title">java语法</span>
</a><a class="recommended-article-item" href="/2024/07/02/operating-system-1/" title="操作系统笔记01" rel="bookmark">
<img src="/images/background_light.jpg" alt="操作系统笔记01" class="!max-w-none">
<span class="title">操作系统笔记01</span>
</a></div>
</div>
<div class="recommended-mobile">
Expand Down Expand Up @@ -744,11 +744,11 @@ <h2 id="继续执行"><a href="#继续执行" class="headerlink" title="继续

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
10 changes: 5 additions & 5 deletions 2024/03/18/gdb-2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,15 +411,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -733,11 +733,11 @@ <h2 id="修改变量值"><a href="#修改变量值" class="headerlink" title="

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
18 changes: 9 additions & 9 deletions 2024/03/20/gdb-3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<meta property="og:image" content="https://pic.imgdb.cn/item/65fae7ba9f345e8d03ce1ec5.png">
<meta property="og:image" content="https://pic.imgdb.cn/item/65faf78d9f345e8d0337efe7.png">
<meta property="article:published_time" content="2024-03-20T14:46:38.000Z">
<meta property="article:modified_time" content="2024-07-02T03:26:08.219Z">
<meta property="article:modified_time" content="2024-07-02T03:27:10.488Z">
<meta property="article:author" content="Raven005">
<meta property="article:tag" content="C&#x2F;C++">
<meta property="article:tag" content="调试">
Expand Down Expand Up @@ -408,15 +408,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -470,8 +470,8 @@ <h1 class="article-title-regular text-second-text-color tracking-tight text-4xl

<span class="article-date article-meta-item">
<i class="fa-regular fa-wrench"></i>&nbsp;
<span class="desktop">2024-07-02 11:26:08</span>
<span class="mobile">2024-07-02 11:26:08</span>
<span class="desktop">2024-07-02 11:27:10</span>
<span class="mobile">2024-07-02 11:27:10</span>
<span class="hover-info">Updated</span>
</span>

Expand Down Expand Up @@ -619,7 +619,6 @@ <h1 id="调试core文件"><a href="#调试core文件" class="headerlink" title="
<h2 id="生成core文件"><a href="#生成core文件" class="headerlink" title="生成core文件"></a>生成core文件</h2><p>先放一份源文件,方便调试</p>
<div class="highlight-container" data-rel="C++"><figure class="iseeu highlight c++"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#<span class="keyword">include</span> <span class="string">&lt;iostream&gt;</span></span></span><br><span class="line"><span class="meta">#<span class="keyword">include</span> <span class="string">&lt;numeric&gt;</span></span></span><br><span class="line"></span><br><span class="line"><span class="function"><span class="type">int</span> <span class="title">main</span><span class="params">()</span> </span>&#123;</span><br><span class="line"> <span class="type">int</span> a[<span class="number">10</span>];</span><br><span class="line"> std::<span class="built_in">iota</span>(a , a + <span class="number">10</span>, <span class="number">0</span>);</span><br><span class="line"></span><br><span class="line"> std::cout &lt;&lt; a[<span class="number">100001</span>] &lt;&lt; std::endl;</span><br><span class="line"> <span class="keyword">return</span> <span class="number">0</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></div>


<p>当程序崩溃时,系统通常会生成一个core文件,要确保core文件被生成,需要设置<code>ulimit</code></p>
<div class="highlight-container" data-rel="Plaintext"><figure class="iseeu highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ulimit -c unlimited</span><br></pre></td></tr></table></figure></div>

Expand All @@ -628,6 +627,7 @@ <h2 id="使用GDB查看core文件"><a href="#使用GDB查看core文件" class="h

<p>这里可以使用coredumpctl来调用gdb</p>
<div class="highlight-container" data-rel="Plaintext"><figure class="iseeu highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"># 启动最新的core文件</span><br><span class="line">coredumpctl debug</span><br></pre></td></tr></table></figure></div>

<p><img
lazyload
src="/images/loading.svg"
Expand Down Expand Up @@ -768,11 +768,11 @@ <h2 id="实时观察进程Crash信息"><a href="#实时观察进程Crash信息"

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
10 changes: 5 additions & 5 deletions 2024/03/23/concurrency-programming-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -408,15 +408,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -798,11 +798,11 @@ <h3 id="竞争条件与临界区"><a href="#竞争条件与临界区" class="hea

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
10 changes: 5 additions & 5 deletions 2024/03/23/concurrency-programming-2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,15 +405,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -852,11 +852,11 @@ <h4 id="递归锁"><a href="#递归锁" class="headerlink" title="递归锁"></a

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
16 changes: 8 additions & 8 deletions 2024/03/24/network-optimization/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,15 +406,15 @@ <h2 class="ml13">

<div class="statistics flex justify-around my-2.5">
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">12</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Tags</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">3</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">4</div>
<div class="label text-third-text-color text-sm">Categories</div>
</a>
<a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">13</div>
<div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
<div class="label text-third-text-color text-sm">Posts</div>
</a>
</div>
Expand Down Expand Up @@ -679,9 +679,9 @@ <h1 id="TCP窗口大小"><a href="#TCP窗口大小" class="headerlink" title="TC
</a><a class="recommended-article-item" href="/2024/03/20/gdb-3/" title="GDB使用指南-3" rel="bookmark">
<img src="/images/background_light.jpg" alt="GDB使用指南-3" class="!max-w-none">
<span class="title">GDB使用指南-3</span>
</a><a class="recommended-article-item" href="/2024/03/23/concurrency-programming-1/" title="并发编程-1" rel="bookmark">
<img src="/images/background_light.jpg" alt="并发编程-1" class="!max-w-none">
<span class="title">并发编程-1</span>
</a><a class="recommended-article-item" href="/2024/07/02/operating-system-1/" title="操作系统笔记01" rel="bookmark">
<img src="/images/background_light.jpg" alt="操作系统笔记01" class="!max-w-none">
<span class="title">操作系统笔记01</span>
</a></div>
</div>
<div class="recommended-mobile">
Expand Down Expand Up @@ -778,11 +778,11 @@ <h1 id="TCP窗口大小"><a href="#TCP窗口大小" class="headerlink" title="TC

<p class="post-count space-x-0.5">
<span>
13 posts in total
14 posts in total
</span>

<span>
38.5k words in total
41.2k words in total
</span>

</p>
Expand Down
Loading

0 comments on commit 8754e60

Please sign in to comment.