{"id":15131245,"url":"https://github.com/chenyahui/annotatedcode","last_synced_at":"2025-09-28T21:31:41.984Z","repository":{"id":41390240,"uuid":"100921626","full_name":"chenyahui/AnnotatedCode","owner":"chenyahui","description":"知名开源代码库的注释版：C++、Golang等","archived":true,"fork":false,"pushed_at":"2023-02-25T02:07:47.000Z","size":7553,"stargazers_count":1364,"open_issues_count":2,"forks_count":313,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-09-27T03:24:45.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.cyhone.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chenyahui.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-08-21T06:48:37.000Z","updated_at":"2024-09-11T11:36:58.000Z","dependencies_parsed_at":"2022-08-25T14:11:54.647Z","dependency_job_id":"d9ff44e8-d69b-4c60-a89f-5e43214077fb","html_url":"https://github.com/chenyahui/AnnotatedCode","commit_stats":{"total_commits":104,"total_committers":5,"mean_commits":20.8,"dds":0.07692307692307687,"last_synced_commit":"365c629f5cc5133bab26f9d849e5c10606b959ca"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenyahui%2FAnnotatedCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenyahui%2FAnnotatedCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenyahui%2FAnnotatedCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenyahui%2FAnnotatedCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenyahui","download_url":"https://codeload.github.com/chenyahui/AnnotatedCode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563156,"owners_count":18853062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-26T03:24:53.046Z","updated_at":"2025-09-28T21:31:40.443Z","avatar_url":"https://github.com/chenyahui.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 知名开源项目 - 注释版\r\n\r\n[![](https://badgen.net/badge/icon/Blog?icon=rss\u0026label)](https://www.cyhone.com/)\r\n\r\n本仓库是个人在阅读开源代码时，对代码所作的注释和部分讲解。\r\n\r\n# C/C++\r\n| 项目名称 | 关键词 | 注释版 | 原地址 | 博客 |\r\n| ------| ------ | ------ | ------ | ------ |\r\n| libco | 协程 |[注释版](https://github.com/chenyahui/annotated_code/tree/master/libco)| [原地址](https://github.com/Tencent/libco)|[微信libco协程库源码分析](http://www.cyhone.com/articles/analysis-of-libco/) | \r\n| coroutine | 协程 |[注释版](https://github.com/chenyahui/annotated_code/tree/master/coroutine)|[原地址](https://github.com/cloudwu/coroutine)| [云风coroutine协程库源码分析](http://www.cyhone.com/articles/analysis-of-cloudwu-coroutine/) | \r\n| libevent | 网络库/reactor |[注释版](https://github.com/chenyahui/annotated_code/tree/master/libevent)| [原地址](https://github.com/libevent/libevent)| 暂无 |\r\n| sofa-pbrpc | RPC |[注释版](https://github.com/chenyahui/annotated_code/tree/master/sofa-pbrpc)| [原地址](https://github.com/baidu/sofa-pbrpc)|暂无 |\r\n| muduo | 网络库/reactor |[注释版](https://github.com/chenyahui/annotated_code/tree/master/muduo)|[原地址](https://github.com/chenshuo/muduo) |[muduo源码剖析](http://www.cyhone.com/articles/analysis-of-muduo/) |\r\n| Redis | Redis |[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/redis-5.0)|[原地址](https://github.com/antirez/redis)|[Redis事件循环器(AE)实现剖析](https://www.cyhone.com/articles/analysis-of-redis-ae/)|\r\n\r\n# Golang\r\n| 项目名称 | 关键词 | 注释版 | 原地址 | 博客 |\r\n| ------| ------ | ------ | ------ | ------ |\r\n| go/x/time/rate| 限流器 |[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/go/x/time)|[原地址](https://github.com/golang/time)|[Golang限流器time/rate实现剖析](https://www.cyhone.com/articles/analisys-of-golang-rate/)|\r\n|ratelimit|限流器|[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/uber-go/ratelimit)|[原地址](https://github.com/uber-go/ratelimit)|[uber-go 漏桶限流器使用与原理分析](https://www.cyhone.com/articles/analysis-of-uber-go-ratelimit/)|\r\n|groupcache|缓存/一致性Hash|[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/groupcache)| [原地址](https://github.com/golang/groupcache)|[一致性 Hash 原理及 GroupCache 源码分析](https://www.cyhone.com/articles/consistent-hash-of-groupcache/)|\r\n|facebookgo/inject|依赖注入|[注释版](https://github.com/chenyahui/AnnotatedCode/tree/master/inject)|[原地址](github.com/facebookgo/inject)|[Facebook 在 Golang 依赖注入的实现](https://www.cyhone.com/articles/facebookgo-inject/)|\r\n\r\n# Go源码及标准库\r\n- [Golang sync.Cond 条件变量源码分析](https://www.cyhone.com/articles/golang-sync-cond/)\r\n- [Golang WaitGroup 原理深度剖析](https://www.cyhone.com/articles/golang-waitgroup/)\r\n- [Golang 定时器底层实现深度剖析](https://www.cyhone.com/articles/analysis-of-golang-timer/)\r\n- [Golang channel 源码深度剖析](https://www.cyhone.com/articles/analysis-of-golang-channel/)\r\n- [Golang 标准库限流器 time/rate 实现剖析](https://www.cyhone.com/articles/analisys-of-golang-rate/)\r\n\r\n# 更多文章\r\n更多文章欢迎关注博客**编程沉思录**: [cyhone.com](https://www.cyhone.com)\r\n\r\n![xxx](https://www.cyhone.com/img/wechat_subscriber_search.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenyahui%2Fannotatedcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenyahui%2Fannotatedcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenyahui%2Fannotatedcode/lists"}