Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bigwhite/publication
/ functions
Functions
3,647 in github.com/bigwhite/publication
⨍
Functions
3,647
◇
Types & classes
1,301
↓ 2 callers
Method
Propose
(value string)
micro-column/distributed-system-guide/ch09/main.go:70
↓ 2 callers
Method
Push
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch01/k_merge/main.go:22
↓ 2 callers
Method
Push
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch10/network_delay/main.go:20
↓ 2 callers
Method
Push
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch10/service_router/main.go:36
↓ 2 callers
Method
Push
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch06/kth_largest/main.go:15
↓ 2 callers
Method
QueryRowContext
(ctx context.Context, query string, args ...any)
micro-column/go-testing-journey/go-testing-shortlink/pkg/repository/link.go:17
↓ 2 callers
Method
Read
(key string)
micro-column/distributed-system-guide/ch03/read-your-writes.go:26
↓ 2 callers
Method
Read
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo2-with-pprof/frame/frame_test.go:79
↓ 2 callers
Method
Read
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo3-with-syncpool/frame/frame_test.go:79
↓ 2 callers
Method
Read
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo2/frame/frame_test.go:79
↓ 2 callers
Method
Read
(p []byte)
column/timegeek/go-first-course/37/tcp-server-demo1/frame/frame_test.go:79
↓ 2 callers
Method
Redirect
Redirect 处理重定向逻辑
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/shortener.go:90
↓ 2 callers
Method
RedirectShortLink
RedirectShortLink 处理短链接重定向的请求 (GET /{shortCode})
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/handler/link_handler.go:147
↓ 2 callers
Method
Register
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/tools/registry.go:19
↓ 2 callers
Method
Register
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/tools/registry.go:24
↓ 2 callers
Function
RegisterResource
RegisterResource 将一个标准控制器注册到 Gin 的路由组中 核心复用逻辑:无论 V1 还是 V2,只要实现了 StandardController,就能自动注册
micro-column/api-design-and-implementation/ch09/rod-demo/internal/router/register.go:34
↓ 2 callers
Function
RegisterResource
RegisterResource 将一个标准控制器注册到 Gin 的路由组中 resourceName 必须是复数,例如 "users"
micro-column/api-design-and-implementation/ch10/rod-demo/internal/router/register.go:27
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
ResolveApproval
(taskID string, allowed bool, reason string)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/feishu/approval.go:58
↓ 2 callers
Method
Run
(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 callers
Method
Run
internal/engine/loop.go
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/engine/loop.go:36
↓ 2 callers
Method
Run
(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 callers
Method
Run
(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 callers
Method
Run
(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 callers
Method
Run
(ctx context.Context, userPrompt string, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch10/go-tiny-claw/internal/engine/loop.go:33
↓ 2 callers
Method
Run
(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 callers
Method
Run
(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 callers
Method
RunTransaction
()
micro-column/distributed-system-guide/ch07/main.go:47
↓ 2 callers
Method
Schedule
(t Task)
column/timegeek/go-first-course/35/workerpool1/pool.go:95
↓ 2 callers
Method
Schedule
(t Task)
column/timegeek/go-first-course/35/workerpool2/pool.go:135
↓ 2 callers
Function
SequentialShutdown
(waitTimeout time.Duration, shutdowners ...GracefullyShutdowner)
column/imooc/go-50tips/sources/go-concurrency-pattern-7.go:46
↓ 2 callers
Method
T1M1
()
column/imooc/go-50tips/sources/method_set_10.go:5
↓ 2 callers
Method
T1M2
()
column/imooc/go-50tips/sources/method_set_10.go:6
↓ 2 callers
Method
T2M1
()
column/imooc/go-50tips/sources/method_set_10.go:11
↓ 2 callers
Method
T2M2
()
column/imooc/go-50tips/sources/method_set_10.go:12
↓ 2 callers
Method
Transfer
转账操作,增加了幂等性检查
micro-column/distributed-system-guide/ch02/main.go:23
↓ 2 callers
Function
ValidateJSONStructure
(jsonStr string)
micro-column/ai-era-software-engineer-algorithm-map/ch03/json_validator/main.go:5
↓ 2 callers
Method
WasNotificationSentFor
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 callers
Method
addToHead
addToHead 将节点插入到头部(Dummy Head 之后)
micro-column/ai-era-software-engineer-algorithm-map/ch04/lru_cache/main.go:41
↓ 2 callers
Function
assertEventually
(t *testing.T, condition func() bool, msgAndArgs ...interface{})
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/service_integration_test.go:154
↓ 2 callers
Function
canFinish
(numCourses int, prerequisites [][]int)
micro-column/ai-era-software-engineer-algorithm-map/ch09/course_schedule/main.go:5
↓ 2 callers
Function
containsError
containsError 检查错误信息是否包含期望的内容
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/parser/parser_test.go:9
↓ 2 callers
Function
convertGitHubComment
convertGitHubComment 将GitHub API的Comment转换为内部Comment结构
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/client.go:138
↓ 2 callers
Function
convertGitHubIssue
convertGitHubIssue 将GitHub API的Issue转换为内部Issue结构
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/client.go:47
↓ 2 callers
Function
createMockServer
createMockServer 创建模拟GitHub API服务器
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/client_test.go:105
↓ 2 callers
Method
doubleCheck
(sub string)
micro-column/ai-era-software-engineer-algorithm-map/ch12/sensitive_filter/main.go:119
↓ 2 callers
Function
dumpFloat64
(dataOfEface unsafe.Pointer)
column/imooc/go-50tips/sources/dumpinterface.go:98
↓ 2 callers
Function
dumpFloat64
(dataOfEface unsafe.Pointer)
column/timegeek/go-first-course/29/dumpinterface.go:98
↓ 2 callers
Function
dumpInt
(dataOfEface unsafe.Pointer)
column/imooc/go-50tips/sources/dumpinterface.go:94
↓ 2 callers
Function
dumpInt
(dataOfEface unsafe.Pointer)
column/timegeek/go-first-course/29/dumpinterface.go:94
↓ 2 callers
Function
dumpT
(dataOfIface unsafe.Pointer)
column/imooc/go-50tips/sources/dumpinterface.go:150
↓ 2 callers
Function
dumpT
(dataOfIface unsafe.Pointer)
column/timegeek/go-first-course/29/dumpinterface.go:150
↓ 2 callers
Function
dumpWallAndExt
(t time.Time)
column/imooc/go-50tips/sources/go-time-operations/construct_time_with_func_date.go:9
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Method
estimateLength
(msgs []schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/context/compactor.go:76
↓ 2 callers
Function
explainAndPrint
(db *sql.DB, title, sqlStr string)
micro-column/sql-query-internals/ch03/main.go:36
↓ 2 callers
Function
f
()
column/imooc/go-50tips/sources/evaluation_order_1.go:12
↓ 2 callers
Function
g
(a, b, c int)
column/imooc/go-50tips/sources/evaluation_order_4.go:9
↓ 2 callers
Function
generateShortCode
generateShortCode 是生成短码的默认实现
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/shortener.go:19
↓ 2 callers
Function
handleHi
(w http.ResponseWriter, r *http.Request)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step5/demo.go:23
↓ 2 callers
Method
key
(code string)
micro-column/go-testing-journey/go-testing-shortlink/pkg/repository/redis/link_cache.go:18
↓ 2 callers
Function
min
min是一个辅助函数
column/timegeek/go-advanced-course/ch29/profiling/cpu_profiling_example/main.go:90
↓ 2 callers
Method
moveToHead
moveToHead 将一个已存在的节点移动到头部
micro-column/ai-era-software-engineer-algorithm-map/ch04/lru_cache/main.go:50
↓ 2 callers
Function
norm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v4_worker_pool_pixel_task/main.go:84
↓ 2 callers
Function
norm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v1_sequential/main.go:66
↓ 2 callers
Function
norm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v5_worker_pool_column_task/main.go:83
↓ 2 callers
Function
norm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v2_pixel_goroutine/main.go:72
↓ 2 callers
Function
norm
(x, total int, min, max float64)
column/timegeek/go-advanced-course/ch29/tracing/fractal_example/v3_column_goroutine/main.go:72
↓ 2 callers
Method
print
()
column/imooc/go-50tips/sources/method_nature_6.go:12
↓ 2 callers
Method
print
()
column/imooc/go-50tips/sources/method_nature_3.go:12
↓ 2 callers
Method
print
()
column/imooc/go-50tips/sources/method_nature_5.go:12
↓ 2 callers
Function
printList
辅助函数:打印链表
micro-column/ai-era-software-engineer-algorithm-map/ch04/reverse_linked_list/main.go:33
↓ 2 callers
Function
printMatrix
(m [][]int)
micro-column/ai-era-software-engineer-algorithm-map/ch11/rotate_image/main.go:27
↓ 2 callers
Function
printTrace
(id uint64, name, arrow string, indent int)
column/timegeek/go-first-course/27/instrument_trace/trace.go:30
↓ 2 callers
Method
removeNode
removeNode 从链表中摘除一个节点
micro-column/ai-era-software-engineer-algorithm-map/ch04/lru_cache/main.go:35
↓ 2 callers
Function
response
(w http.ResponseWriter, v interface{})
column/timegeek/go-first-course/09/bookstore/server/server.go:133
↓ 2 callers
Function
safeRun
(g func())
column/imooc/go-50tips/sources/go-trap/goroutine_5.go:9
↓ 2 callers
Method
searchNode
辅助函数
micro-column/ai-era-software-engineer-algorithm-map/ch16/trie/main.go:46
↓ 2 callers
Function
setupIntegrationTestServer
setupIntegrationTestServer 创建一个包含真实(内存)依赖的测试服务器。 返回一个 http.Handler,可以直接用于 httptest.Server 或直接调用其 ServeHTTP。
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/handler/link_handler_integration_test.go:29
↓ 2 callers
Function
siftDownOrdered
(data []int, lo, hi, first int)
column/timegeek/go-first-course/go-generics/benchmark/non_generic_sort.go:3
↓ 2 callers
Function
simulateWork
(ctx context.Context, duration time.Duration, operationName string)
column/timegeek/go-advanced-course/ch24/tracing/otel_tempo_example/service-b/main.go:23
↓ 2 callers
Function
spawn
(f func(args ...interface{}) error, args ...interface{})
column/imooc/go-50tips/sources/go-concurrency-pattern-2.go:24
↓ 2 callers
Function
spawn
(f func(int) (int, bool), in <-chan int)
column/imooc/go-50tips/sources/go-concurrency-pattern-8.go:25
↓ 2 callers
Function
spawnGroup
(name string, num int, f func(int) (int, bool), in <-chan int)
column/imooc/go-50tips/sources/go-concurrency-pattern-9.go:31
↓ 2 callers
Method
string
column/imooc/go-50tips/sources/ruby_stringer/stringer_interface.rb:21
↓ 2 callers
Function
suiteSetUp
(suiteName string)
column/imooc/go-50tips/sources/xunit_suite_level_testfixture_test.go:8
← previous
next →
301–400 of 3,647, ranked by callers