MCPcopy Create free account

hub / github.com/bigwhite/publication / functions

Functions3,647 in github.com/bigwhite/publication

↓ 2 callersMethodPropose
(value string)
micro-column/distributed-system-guide/ch09/main.go:70
↓ 2 callersMethodPush
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch01/k_merge/main.go:22
↓ 2 callersMethodPush
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch10/network_delay/main.go:20
↓ 2 callersMethodPush
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch10/service_router/main.go:36
↓ 2 callersMethodPush
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch06/kth_largest/main.go:15
↓ 2 callersMethodQueryRowContext
(ctx context.Context, query string, args ...any)
micro-column/go-testing-journey/go-testing-shortlink/pkg/repository/link.go:17
↓ 2 callersMethodRead
(key string)
micro-column/distributed-system-guide/ch03/read-your-writes.go:26
↓ 2 callersMethodRead
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo2-with-pprof/frame/frame_test.go:79
↓ 2 callersMethodRead
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo3-with-syncpool/frame/frame_test.go:79
↓ 2 callersMethodRead
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo2/frame/frame_test.go:79
↓ 2 callersMethodRead
(p []byte)
column/timegeek/go-first-course/37/tcp-server-demo1/frame/frame_test.go:79
↓ 2 callersMethodRedirect
Redirect 处理重定向逻辑
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/shortener.go:90
↓ 2 callersMethodRedirectShortLink
RedirectShortLink 处理短链接重定向的请求 (GET /{shortCode})
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/handler/link_handler.go:147
↓ 2 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/tools/registry.go:19
↓ 2 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/tools/registry.go:24
↓ 2 callersFunctionRegisterResource
RegisterResource 将一个标准控制器注册到 Gin 的路由组中 核心复用逻辑:无论 V1 还是 V2,只要实现了 StandardController,就能自动注册
micro-column/api-design-and-implementation/ch09/rod-demo/internal/router/register.go:34
↓ 2 callersFunctionRegisterResource
RegisterResource 将一个标准控制器注册到 Gin 的路由组中 resourceName 必须是复数,例如 "users"
micro-column/api-design-and-implementation/ch10/rod-demo/internal/router/register.go:27
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/engine/loop.go:31
↓ 2 callersMethodRun
internal/engine/loop.go
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/engine/loop.go:36
↓ 2 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/engine/loop.go:39
↓ 2 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/engine/loop.go:38
↓ 2 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/engine/loop.go:38
↓ 2 callersMethodRun
(ctx context.Context, userPrompt string, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch10/go-tiny-claw/internal/engine/loop.go:33
↓ 2 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/engine/loop.go:37
↓ 2 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/engine/loop.go:38
↓ 2 callersMethodRunTransaction
()
micro-column/distributed-system-guide/ch07/main.go:47
↓ 2 callersMethodSchedule
(t Task)
column/timegeek/go-first-course/35/workerpool1/pool.go:95
↓ 2 callersMethodSchedule
(t Task)
column/timegeek/go-first-course/35/workerpool2/pool.go:135
↓ 2 callersFunctionSequentialShutdown
(waitTimeout time.Duration, shutdowners ...GracefullyShutdowner)
column/imooc/go-50tips/sources/go-concurrency-pattern-7.go:46
↓ 2 callersMethodT1M1
()
column/imooc/go-50tips/sources/method_set_10.go:5
↓ 2 callersMethodT1M2
()
column/imooc/go-50tips/sources/method_set_10.go:6
↓ 2 callersMethodT2M1
()
column/imooc/go-50tips/sources/method_set_10.go:11
↓ 2 callersMethodT2M2
()
column/imooc/go-50tips/sources/method_set_10.go:12
↓ 2 callersMethodTransfer
转账操作,增加了幂等性检查
micro-column/distributed-system-guide/ch02/main.go:23
↓ 2 callersFunctionValidateJSONStructure
(jsonStr string)
micro-column/ai-era-software-engineer-algorithm-map/ch03/json_validator/main.go:5
↓ 2 callersMethodWasNotificationSentFor
Helper to check if a notification was sent for a specific user ID
column/timegeek/go-advanced-course/ch25/doubles/fakes/notifier_test.go:30
↓ 2 callersMethodaddToHead
addToHead 将节点插入到头部(Dummy Head 之后)
micro-column/ai-era-software-engineer-algorithm-map/ch04/lru_cache/main.go:41
↓ 2 callersFunctionassertEventually
(t *testing.T, condition func() bool, msgAndArgs ...interface{})
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/service_integration_test.go:154
↓ 2 callersFunctioncanFinish
(numCourses int, prerequisites [][]int)
micro-column/ai-era-software-engineer-algorithm-map/ch09/course_schedule/main.go:5
↓ 2 callersFunctioncontainsError
containsError 检查错误信息是否包含期望的内容
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/parser/parser_test.go:9
↓ 2 callersFunctionconvertGitHubComment
convertGitHubComment 将GitHub API的Comment转换为内部Comment结构
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/client.go:138
↓ 2 callersFunctionconvertGitHubIssue
convertGitHubIssue 将GitHub API的Issue转换为内部Issue结构
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/client.go:47
↓ 2 callersFunctioncreateMockServer
createMockServer 创建模拟GitHub API服务器
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/client_test.go:105
↓ 2 callersMethoddoubleCheck
(sub string)
micro-column/ai-era-software-engineer-algorithm-map/ch12/sensitive_filter/main.go:119
↓ 2 callersFunctiondumpFloat64
(dataOfEface unsafe.Pointer)
column/imooc/go-50tips/sources/dumpinterface.go:98
↓ 2 callersFunctiondumpFloat64
(dataOfEface unsafe.Pointer)
column/timegeek/go-first-course/29/dumpinterface.go:98
↓ 2 callersFunctiondumpInt
(dataOfEface unsafe.Pointer)
column/imooc/go-50tips/sources/dumpinterface.go:94
↓ 2 callersFunctiondumpInt
(dataOfEface unsafe.Pointer)
column/timegeek/go-first-course/29/dumpinterface.go:94
↓ 2 callersFunctiondumpT
(dataOfIface unsafe.Pointer)
column/imooc/go-50tips/sources/dumpinterface.go:150
↓ 2 callersFunctiondumpT
(dataOfIface unsafe.Pointer)
column/timegeek/go-first-course/29/dumpinterface.go:150
↓ 2 callersFunctiondumpWallAndExt
(t time.Time)
column/imooc/go-50tips/sources/go-time-operations/construct_time_with_func_date.go:9
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersMethodestimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callersFunctionexplainAndPrint
(db *sql.DB, title, sqlStr string)
micro-column/sql-query-internals/ch03/main.go:36
↓ 2 callersFunctionf
()
column/imooc/go-50tips/sources/evaluation_order_1.go:12
↓ 2 callersFunctiong
(a, b, c int)
column/imooc/go-50tips/sources/evaluation_order_4.go:9
↓ 2 callersFunctiongenerateShortCode
generateShortCode 是生成短码的默认实现
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/shortener.go:19
↓ 2 callersFunctionhandleHi
(w http.ResponseWriter, r *http.Request)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step5/demo.go:23
↓ 2 callersMethodkey
(code string)
micro-column/go-testing-journey/go-testing-shortlink/pkg/repository/redis/link_cache.go:18
↓ 2 callersFunctionmin
min是一个辅助函数
column/timegeek/go-advanced-course/ch29/profiling/cpu_profiling_example/main.go:90
↓ 2 callersMethodmoveToHead
moveToHead 将一个已存在的节点移动到头部
micro-column/ai-era-software-engineer-algorithm-map/ch04/lru_cache/main.go:50
↓ 2 callersFunctionnorm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v4_worker_pool_pixel_task/main.go:84
↓ 2 callersFunctionnorm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v1_sequential/main.go:66
↓ 2 callersFunctionnorm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v5_worker_pool_column_task/main.go:83
↓ 2 callersFunctionnorm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v2_pixel_goroutine/main.go:72
↓ 2 callersFunctionnorm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v3_column_goroutine/main.go:72
↓ 2 callersMethodprint
()
column/imooc/go-50tips/sources/method_nature_6.go:12
↓ 2 callersMethodprint
()
column/imooc/go-50tips/sources/method_nature_3.go:12
↓ 2 callersMethodprint
()
column/imooc/go-50tips/sources/method_nature_5.go:12
↓ 2 callersFunctionprintList
辅助函数:打印链表
micro-column/ai-era-software-engineer-algorithm-map/ch04/reverse_linked_list/main.go:33
↓ 2 callersFunctionprintMatrix
(m [][]int)
micro-column/ai-era-software-engineer-algorithm-map/ch11/rotate_image/main.go:27
↓ 2 callersFunctionprintTrace
(id uint64, name, arrow string, indent int)
column/timegeek/go-first-course/27/instrument_trace/trace.go:30
↓ 2 callersMethodremoveNode
removeNode 从链表中摘除一个节点
micro-column/ai-era-software-engineer-algorithm-map/ch04/lru_cache/main.go:35
↓ 2 callersFunctionresponse
(w http.ResponseWriter, v interface{})
column/timegeek/go-first-course/09/bookstore/server/server.go:133
↓ 2 callersFunctionsafeRun
(g func())
column/imooc/go-50tips/sources/go-trap/goroutine_5.go:9
↓ 2 callersMethodsearchNode
辅助函数
micro-column/ai-era-software-engineer-algorithm-map/ch16/trie/main.go:46
↓ 2 callersFunctionsetupIntegrationTestServer
setupIntegrationTestServer 创建一个包含真实(内存)依赖的测试服务器。 返回一个 http.Handler,可以直接用于 httptest.Server 或直接调用其 ServeHTTP。
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/handler/link_handler_integration_test.go:29
↓ 2 callersFunctionsiftDownOrdered
(data []int, lo, hi, first int)
column/timegeek/go-first-course/go-generics/benchmark/non_generic_sort.go:3
↓ 2 callersFunctionsimulateWork
(ctx context.Context, duration time.Duration, operationName string)
column/timegeek/go-advanced-course/ch24/tracing/otel_tempo_example/service-b/main.go:23
↓ 2 callersFunctionspawn
(f func(args ...interface{}) error, args ...interface{})
column/imooc/go-50tips/sources/go-concurrency-pattern-2.go:24
↓ 2 callersFunctionspawn
(f func(int) (int, bool), in <-chan int)
column/imooc/go-50tips/sources/go-concurrency-pattern-8.go:25
↓ 2 callersFunctionspawnGroup
(name string, num int, f func(int) (int, bool), in <-chan int)
column/imooc/go-50tips/sources/go-concurrency-pattern-9.go:31
↓ 2 callersMethodstring
column/imooc/go-50tips/sources/ruby_stringer/stringer_interface.rb:21
↓ 2 callersFunctionsuiteSetUp
(suiteName string)
column/imooc/go-50tips/sources/xunit_suite_level_testfixture_test.go:8
← previousnext →301–400 of 3,647, ranked by callers