From 64c741e6befbafbf6129212774c387fdf4664638 Mon Sep 17 00:00:00 2001 From: tink Date: Wed, 11 Oct 2023 21:47:18 +0800 Subject: [PATCH] fixed image link --- Makefile | 2 +- content/go-assembly.md | 7 +------ public/404.html | 2 +- public/analysis-tools/dlv/index.html | 2 +- public/analysis-tools/gdb/index.html | 2 +- .../analysis-tools/go-buildin-tools/index.html | 2 +- public/analysis-tools/index.html | 2 +- public/categories/index.html | 2 +- public/compiler/index.html | 2 +- public/concurrency/atomic/index.html | 2 +- public/concurrency/channel/index.html | 2 +- public/concurrency/context/index.html | 2 +- public/concurrency/index.html | 2 +- public/concurrency/memory-model/index.html | 2 +- public/concurrency/sync-cond/index.html | 2 +- public/concurrency/sync-map/index.html | 2 +- public/concurrency/sync-mutex/index.html | 2 +- public/concurrency/sync-once/index.html | 2 +- public/concurrency/sync-pool/index.html | 2 +- public/concurrency/sync-rwmutex/index.html | 2 +- public/concurrency/sync-waitgroup/index.html | 2 +- ...97cbb37e05fdaee1906f88d17022a26e1895da4.json | 1 + ...7556d022e7ea806edbe559c9ba2c2a1a86afdbf64.js | 1 + public/feature/comma-ok/index.html | 2 +- public/feature/defer/index.html | 2 +- public/feature/for-range/index.html | 2 +- public/feature/index.html | 2 +- public/feature/panic-recover/index.html | 2 +- public/feature/select/index.html | 2 +- public/function/call-stack/index.html | 2 +- public/function/closure/index.html | 2 +- public/function/first-class/index.html | 2 +- public/function/index.html | 2 +- public/function/method/index.html | 2 +- public/function/pass-by-value/index.html | 2 +- public/gmp/gmp-model/index.html | 2 +- public/gmp/index.html | 2 +- public/gmp/scheduler/index.html | 2 +- public/go-assembly/index.html | 17 +++++++++-------- public/index.html | 2 +- public/index.xml | 2 +- public/memory/allocator/index.html | 2 +- public/memory/gc/index.html | 2 +- public/memory/index.html | 2 +- public/tags/index.html | 2 +- public/type-system/index.html | 2 +- public/type-system/interface/index.html | 2 +- public/type-system/reflect/index.html | 2 +- public/type-system/type/index.html | 2 +- public/type/array/index.html | 2 +- public/type/empty_struct/index.html | 2 +- public/type/index.html | 2 +- public/type/map/index.html | 2 +- public/type/nil/index.html | 2 +- public/type/pointer/index.html | 2 +- public/type/slice/index.html | 2 +- public/type/string/index.html | 2 +- 57 files changed, 65 insertions(+), 67 deletions(-) create mode 100644 public/en.search-data.min.33ee090d3bc09c911b5bc298397cbb37e05fdaee1906f88d17022a26e1895da4.json create mode 100644 public/en.search.min.9749981f5a5252740b10f807556d022e7ea806edbe559c9ba2c2a1a86afdbf64.js diff --git a/Makefile b/Makefile index 93bc279..051404f 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ serve: hugo serve html: - hugo build + hugo publish: ssh root@www.cyub.vip "cd /var/www/dive-into-go-v2; git pull" \ No newline at end of file diff --git a/content/go-assembly.md b/content/go-assembly.md index 482f1e7..51647de 100644 --- a/content/go-assembly.md +++ b/content/go-assembly.md @@ -47,12 +47,7 @@ title: "Go汇编语法" 寄存器是CPU中存储数据的器件,起到数据缓存作用。内存按照内存层级(memory hierarchy)依次分为寄存器,L1 Cache, L2 Cache, L3 Cache,其读写延迟依次增加,实现成本依次降低。 -```eval_rst -.. image:: https://static.cyub.vip/images/202104/mem_arch.jpg - :alt: 内存层级结构 - :width: 500px - :align: center -``` +{{< figure src="https://static.cyub.vip/images/202104/mem_arch.jpg" width="500px" class="text-center" title="内存层级结构">}} #### 寄存器分类 diff --git a/public/404.html b/public/404.html index 0454647..4b4f323 100644 --- a/public/404.html +++ b/public/404.html @@ -16,7 +16,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +