MCPcopy Create free account

hub / github.com/bigwhite/publication / functions

Functions3,647 in github.com/bigwhite/publication

↓ 1 callersFunctiongb18030ToUtf16BE
(in []byte)
column/imooc/go-50tips/sources/go-character-set-encoding/convert_gb18030_to_utf16_and_utf32.go:25
↓ 1 callersFunctiongb18030ToUtf32BE
(in []byte)
column/imooc/go-50tips/sources/go-character-set-encoding/convert_gb18030_to_utf16_and_utf32.go:40
↓ 1 callersFunctiongenerateBoard
辅助函数:将 board 数组转为题目要求的字符串格式
micro-column/ai-era-software-engineer-algorithm-map/ch14/n_queens/main.go:63
↓ 1 callersFunctiongenerateCodes
3. 生成编码表 (递归遍历树)
micro-column/data-compression-fundamentals/ch02/huffman-demo/main.go:50
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersFunctiongenerateFingerprint
(toolName string, args []byte)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/engine/reminder.go:22
↓ 1 callersMethodgenerateSecureRandomCode
generateSecureRandomCode 生成一个指定长度的、URL安全的随机字符串作为短码
column/timegeek/go-advanced-course/ch31/shortlink-service/internal/service/shortener_service.go:61
↓ 1 callersFunctiongetANumToChannel
()
column/imooc/go-50tips/sources/evaluation_order_8.go:31
↓ 1 callersFunctiongetAReadOnlyChannel
()
column/imooc/go-50tips/sources/evaluation_order_8.go:8
↓ 1 callersFunctiongetASlice
()
column/imooc/go-50tips/sources/evaluation_order_8.go:20
↓ 1 callersFunctiongetAWriteOnlyChannel
()
column/imooc/go-50tips/sources/evaluation_order_8.go:26
↓ 1 callersFunctiongetData
(db Database, id int)
column/timegeek/go-first-course/go-testing/testdouble/mock/db/db.go:14
↓ 1 callersFunctiongetMockTraceID
模拟从context获取TraceID (在实际OTel集成中,这会由OTel库提供)
column/timegeek/go-advanced-course/ch24/logging/slog_example/main.go:21
↓ 1 callersFunctiongetTestLogger
getTestLogger 返回一个用于测试的、不输出任何内容的slog.Logger。
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/service/shortener_service_test.go:70
↓ 1 callersFunctiongoSleep
()
column/imooc/go-50tips/sources/go-cgo/go_sleep.go:8
↓ 1 callersFunctionh
()
column/imooc/go-50tips/sources/evaluation_order_4.go:13
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/feishu/bot.go:96
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch09/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/feishu/bot.go:96
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/feishu/bot.go:96
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch10/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/feishu/bot.go:115
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/feishu/bot.go:96
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/feishu/bot.go:96
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch11/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/feishu/bot.go:68
↓ 1 callersMethodhandleAgentRun
(chatId string, prompt string)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/feishu/bot.go:96
↓ 1 callersFunctionhandleConn
(c net.Conn)
column/timegeek/go-first-course/38/tcp-server-demo3/cmd/server/main.go:40
↓ 1 callersFunctionhandleConn
(c net.Conn)
column/timegeek/go-first-course/38/tcp-server-demo2-with-pprof/cmd/server/main.go:42
↓ 1 callersFunctionhandleConn
(c net.Conn)
column/timegeek/go-first-course/38/tcp-server-demo3-with-syncpool/cmd/server/main.go:41
↓ 1 callersFunctionhandleConn
(c net.Conn)
column/timegeek/go-first-course/38/tcp-server-demo2/cmd/server/main.go:39
↓ 1 callersFunctionhandleConn
(c net.Conn)
column/timegeek/go-first-course/37/tcp-server-demo1/cmd/server/main.go:38
↓ 1 callersFunctionhandleHi
(w http.ResponseWriter, r *http.Request)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step3/demo.go:15
↓ 1 callersFunctionhandleHi
must be accessed atomically
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step1/demo.go:13
↓ 1 callersFunctionhandleHi
(w http.ResponseWriter, r *http.Request)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step2/demo.go:15
↓ 1 callersFunctionhandleHi
(w http.ResponseWriter, r *http.Request)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step4/demo.go:23
↓ 1 callersFunctionhandlePacket
(framePayload []byte)
column/timegeek/go-first-course/38/tcp-server-demo3/cmd/server/main.go:13
↓ 1 callersFunctionhandlePacket
(framePayload []byte)
column/timegeek/go-first-course/38/tcp-server-demo2-with-pprof/cmd/server/main.go:15
↓ 1 callersFunctionhandlePacket
(framePayload []byte)
column/timegeek/go-first-course/38/tcp-server-demo3-with-syncpool/cmd/server/main.go:13
↓ 1 callersFunctionhandlePacket
(framePayload []byte)
column/timegeek/go-first-course/38/tcp-server-demo2/cmd/server/main.go:12
↓ 1 callersFunctionhandlePacket
(framePayload []byte)
column/timegeek/go-first-course/37/tcp-server-demo1/cmd/server/main.go:11
↓ 1 callersFunctionhandlePtrToString
(s *string)
column/imooc/go-50tips/sources/string_as_param_benchmark_test.go:13
↓ 1 callersFunctionhandleString
(s string)
column/imooc/go-50tips/sources/string_as_param_benchmark_test.go:9
↓ 1 callersFunctionhandleSummarize
handleSummarize 处理具体的总结任务
micro-column/agentic-api-in-action/ch01/agentic-api-demo/main.go:62
↓ 1 callersFunctionhasFuncDecl
(f *ast.File)
column/timegeek/go-first-course/27/instrument_trace/instrumenter/ast/ast.go:28
↓ 1 callersFunctionheapSortOrdered
(data []int, a, b int)
column/timegeek/go-first-course/go-generics/benchmark/non_generic_sort.go:21
↓ 1 callersFunctioni
()
column/imooc/go-50tips/sources/evaluation_order_4.go:18
↓ 1 callersFunctionidCheck
()
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-1.go:11
↓ 1 callersFunctionidCheck
(id int)
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-2.go:11
↓ 1 callersFunctionimageSize
(imageFile string)
column/imooc/go-50tips/sources/get_image_size.go:22
↓ 1 callersFunctionincrementCounter
Shared variable that will cause a data race incrementCounter increments the global counter. This is not safe for concurrent use.
column/timegeek/go-advanced-course/ch25/concurrency/race/race_condition_test.go:11
↓ 1 callersFunctionincrementSafeCounter
Mutex to protect safeCounter incrementSafeCounter increments the global safeCounter using a mutex.
column/timegeek/go-advanced-course/ch25/concurrency/race/race_condition_test.go:47
↓ 1 callersFunctioninitDB
initDB 负责重置环境,确保每次实验结果一致
micro-column/sql-query-internals/ch01/main.go:50
↓ 1 callersFunctioninitPagingDB
initPagingDB 初始化百万级数据
micro-column/sql-query-internals/ch06/main_test.go:16
↓ 1 callersFunctioninitSensorDB
辅助函数:初始化表结构和数据
micro-column/sql-query-internals/ch03/main.go:48
↓ 1 callersFunctioninitSortDB
initSortDB 初始化数据
micro-column/sql-query-internals/ch05/main_test.go:19
↓ 1 callersFunctioninitWriteDB
initWriteDB 初始化三张表,增加了 padding 字段以快速消耗内存
micro-column/sql-query-internals/ch07/main_test.go:44
↓ 1 callersFunctioninsertionSortOrdered
(data []int, a, b int)
column/timegeek/go-first-course/go-generics/benchmark/non_generic_sort.go:141
↓ 1 callersFunctionisMatch
isMatch 实现简单的正则匹配 (. 和 *)
micro-column/ai-era-software-engineer-algorithm-map/ch14/regex_engine/main.go:6
↓ 1 callersFunctionj
()
column/imooc/go-50tips/sources/evaluation_order_4.go:23
↓ 1 callersFunctionk
()
column/imooc/go-50tips/sources/evaluation_order_4.go:27
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch08/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch09/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch10/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch11/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlineByLineReplace
(content, oldText, newText string)
column/timegeek/build-agent-harness-from-scratch/ch07/go-tiny-claw/internal/tools/edit_file.go:115
↓ 1 callersFunctionlogHandler
(h http.Handler)
column/imooc/go-50tips/sources/horizontal-composition-4.go:21
↓ 1 callersFunctionlongestCommonSubsequence
(text1 string, text2 string)
micro-column/ai-era-software-engineer-algorithm-map/ch15/longest_common_subsequence/main.go:5
↓ 1 callersFunctionmain
()
micro-column/ai-engineer-gpu-introduction/ch04/vector_add.py:21
↓ 1 callersFunctionmax
(a, b int)
micro-column/ai-era-software-engineer-algorithm-map/ch15/longest_common_subsequence/main.go:28
↓ 1 callersFunctionmax
(args ...int)
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-3.go:83
↓ 1 callersFunctionmax
(args ...int)
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-2.go:57
↓ 1 callersFunctionmaxDepth
(n int)
column/timegeek/go-first-course/go-generics/benchmark/non_generic_sort.go:179
↓ 1 callersFunctionmerge
(intervals [][]int)
micro-column/ai-era-software-engineer-algorithm-map/ch07/merge_intervals/main.go:9
↓ 1 callersMethodmethodWithPointerReceiver
()
column/imooc/go-50tips/sources/go-trap/method_2.go:9
↓ 1 callersMethodmethodWithPointerReceiver
()
column/imooc/go-50tips/sources/go-trap/method_2.go:14
↓ 1 callersMethodmethodWithValueReceiver
()
column/imooc/go-50tips/sources/go-trap/method_2.go:5
↓ 1 callersFunctionmin
(a, b int)
micro-column/distributed-system-guide/ch11/raft.go:167
↓ 1 callersFunctionminEatingSpeed
(piles []int, h int)
micro-column/ai-era-software-engineer-algorithm-map/ch05/koko_bananas/main.go:7
↓ 1 callersFunctionmodifyString
(s *string)
column/imooc/go-50tips/sources/string_immutable2.go:18
← previousnext →1,001–1,100 of 3,647, ranked by callers