feat: rename master branch
This commit is contained in:
parent
293cba2366
commit
f95bc66b5c
2
.github/workflows/branch-merge.yml
vendored
2
.github/workflows/branch-merge.yml
vendored
@ -13,5 +13,5 @@ jobs:
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
source_ref: ${{ github.ref }}
|
||||
target_branch: 'master'
|
||||
target_branch: 'main'
|
||||
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'
|
||||
|
2
.github/workflows/prettier.yml
vendored
2
.github/workflows/prettier.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
|
5
.github/workflows/sync.yml
vendored
5
.github/workflows/sync.yml
vendored
@ -2,7 +2,7 @@ name: Sync
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -28,4 +28,5 @@ jobs:
|
||||
# 注意在 Settings->Secrets 配置 GITEE_PASSWORD
|
||||
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
||||
# 注意替换为你的 Gitee 仓库
|
||||
gitee-repo: doocs/source-code-hunter
|
||||
gitee-repo: doocs/source-code-hunter
|
||||
branch: main
|
@ -1,6 +1,6 @@
|
||||
# 互联网公司常用框架源码赏析
|
||||
|
||||
[](https://github.com/doocs/source-code-hunter/blob/master/LICENSE)
|
||||
[](https://github.com/doocs/source-code-hunter/blob/main/LICENSE)
|
||||
[](https://github.com/doocs/source-code-hunter/stargazers)
|
||||
[](https://github.com/doocs/source-code-hunter/graphs/contributors)
|
||||
[](https://github.com/doocs/source-code-hunter/labels/help%20wanted)
|
||||
|
@ -21,4 +21,4 @@
|
||||
以上几个 PoolChunkList,由符合各个内存利用率的 poolChunk 组成,这几个 PoolChunkList 之间又互相首尾连接组成队列,方便 PoolChunk 在各个队列中根据自己当前的利用率进行转移到对应的位置上。
|
||||
最后,当申请的内存大于一个 poolChunk 大小的时候将会直接申请一段非池化的内存返回,并不会占用内存池中的内存空间。
|
||||
|
||||
最后,到了从 poolChunk 中申请内存的场景,这一部分在[该文](https://github.com/doocs/source-code-hunter/blob/master/docs/Netty/Netty技术细节源码分析/内存池之PoolChunk设计与实现.md)中已经详细说明,这部分也是内存池中获取内存的最后一步。
|
||||
最后,到了从 poolChunk 中申请内存的场景,这一部分在[该文](https://github.com/doocs/source-code-hunter/blob/main/docs/Netty/Netty技术细节源码分析/内存池之PoolChunk设计与实现.md)中已经详细说明,这部分也是内存池中获取内存的最后一步。
|
||||
|
Loading…
x
Reference in New Issue
Block a user