MCPcopy Create free account

hub / github.com/bigwhite/publication / functions

Functions3,647 in github.com/bigwhite/publication

↓ 1 callersFunctionUseNonExportedAsTypeArgument
(item T)
column/timegeek/go-first-course/go-details/unexported-identifiers/generics/main.go:13
↓ 1 callersMethodWaitForApproval
(taskID string, toolName string, args string, reporter *FeishuReporter)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/feishu/approval.go:24
↓ 1 callersMethodWaitForApproval
(taskID string, toolName string, args string, reporter *FeishuReporter)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/feishu/approval.go:24
↓ 1 callersFunctionWithBlock
(block bool)
column/timegeek/go-first-course/35/workerpool2/option.go:5
↓ 1 callersFunctionWithCentralAirConditioning
(centralAirConditioning bool)
column/imooc/go-50tips/sources/variadic_function_9.go:48
↓ 1 callersMethodWithDetails
WithDetails 添加结构化详情 (支持链式调用)
micro-column/api-design-and-implementation/ch08/rod-demo/pkg/errs/error.go:30
↓ 1 callersMethodWithDetails
WithDetails 添加结构化详情 (支持链式调用)
micro-column/api-design-and-implementation/ch09/rod-demo/pkg/errs/error.go:30
↓ 1 callersMethodWithDetails
WithDetails 添加结构化详情 (支持链式调用)
micro-column/api-design-and-implementation/ch10/rod-demo/pkg/errs/error.go:30
↓ 1 callersMethodWithDetails
WithDetails 添加结构化详情 (支持链式调用)
micro-column/api-design-and-implementation/ch06/rod-demo/pkg/errs/error.go:30
↓ 1 callersMethodWithDetails
WithDetails 添加结构化详情 (支持链式调用)
micro-column/api-design-and-implementation/ch07/rod-demo/pkg/errs/error.go:30
↓ 1 callersFunctionWithFloorMaterial
(material string)
column/imooc/go-50tips/sources/variadic_function_9.go:36
↓ 1 callersFunctionWithPreAllocWorkers
(preAlloc bool)
column/timegeek/go-first-course/35/workerpool2/option.go:11
↓ 1 callersFunctionWithStyle
(style int)
column/imooc/go-50tips/sources/variadic_function_9.go:30
↓ 1 callersMethodWrite
Write 操作,实现了W Quorum
micro-column/distributed-system-guide/ch04/main.go:48
↓ 1 callersMethodWrite
(p []byte)
column/timegeek/go-first-course/io/writer2reader.go:19
↓ 1 callersMethodWriteHeader
(code int)
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/middleware/metrics.go:22
↓ 1 callersFunctiona
()
column/timegeek/go-first-course/27/instrument_trace/example_test.go:7
↓ 1 callersFunctionadd
(a, b int)
column/imooc/go-50tips/sources/go-scheduler-model-case3.go:9
↓ 1 callersFunctionadd
(a, b int)
column/imooc/go-50tips/sources/go-scheduler-model-case4.go:9
↓ 1 callersMethodaddDeferStmt
(fd *ast.FuncDecl)
column/timegeek/go-first-course/27/instrument_trace/instrumenter/ast/ast.go:78
↓ 1 callersMethodaddDeferTraceIntoFuncDecls
(f *ast.File)
column/timegeek/go-first-course/27/instrument_trace/instrumenter/ast/ast.go:68
↓ 1 callersFunctionaddSyncByAtomic
(delta int64)
column/imooc/go-50tips/sources/go-atomic-package-1_test.go:11
↓ 1 callersFunctionaddSyncByAtomic
(delta int64)
column/imooc/go-50tips/sources/benchmark_paralell_demo_test.go:11
↓ 1 callersFunctionaddSyncByMutex
(delta int64)
column/imooc/go-50tips/sources/benchmark_paralell_demo_test.go:22
↓ 1 callersFunctionaddSyncByRWMutex
(delta int64)
column/imooc/go-50tips/sources/go-atomic-package-1_test.go:22
↓ 1 callersFunctionaddToCache
addToCache 持续向全局缓存中添加数据,模拟内存泄漏
column/timegeek/go-advanced-course/ch29/profiling/heap_profiling_example/main.go:23
↓ 1 callersFunctionairportSecurityCheck
()
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-1.go:29
↓ 1 callersFunctionallocSlice
(min, high int)
column/imooc/go-50tips/sources/go-trap/slice_3.go:8
↓ 1 callersFunctionallocSlice
(min, high int)
column/imooc/go-50tips/sources/go-trap/slice_2.go:5
↓ 1 callersFunctionallocSlice
(min, high int)
column/imooc/go-50tips/sources/go-trap/slice_4.go:5
↓ 1 callersFunctionallocSlice
(min, high int)
column/imooc/go-50tips/sources/go-trap/slice_1.go:5
↓ 1 callersFunctionapplyConvolution
applyConvolution 对图像进行 3x3 卷积操作 image: 输入矩阵 kernel: 3x3 卷积核
micro-column/ai-era-software-engineer-algorithm-map/ch11/convolution/main.go:8
↓ 1 callersFunctionarrayRangeExpression
()
column/imooc/go-50tips/sources/control_structure_idiom_2.go:5
↓ 1 callersFunctionarrayRangeLoop
()
column/imooc/go-50tips/sources/for_range_bench_test.go:8
↓ 1 callersFunctionassertLinkSaved
assertLinkSaved 是一个测试辅助函数
micro-column/go-testing-journey/go-testing-shortlink/pkg/service/shortener_service_test.go:129
↓ 1 callersFunctionattachDisclaimer
(content string)
column/imooc/go-50tips/sources/send_mail_with_disclaimer/v2/mail.go:11
↓ 1 callersFunctionattachDisclaimer
(content string)
column/imooc/go-50tips/sources/send_mail_with_disclaimer/v1/mail.go:13
↓ 1 callersFunctionauthHandler
(h http.Handler)
column/imooc/go-50tips/sources/horizontal-composition-4.go:29
↓ 1 callersFunctionb
()
column/timegeek/go-first-course/27/instrument_trace/example_test.go:12
↓ 1 callersFunctionbad
()
column/imooc/go-50tips/sources/interface-internal-1.go:16
↓ 1 callersFunctionbar
()
column/imooc/go-50tips/sources/deferred_func_3.go:5
↓ 1 callersFunctionbar
()
column/imooc/go-50tips/sources/deferred_func_4.go:15
↓ 1 callersFunctionbar
()
column/imooc/go-50tips/sources/deferred_func_6.go:3
↓ 1 callersFunctionbar
()
column/imooc/go-50tips/sources/go-trap/short_declaration_variable_shadowing_3.go:9
↓ 1 callersFunctionbar
()
column/imooc/go-50tips/sources/go-trap/short_declaration_variable_shadowing_2.go:9
↓ 1 callersFunctionbar
()
column/timegeek/go-first-course/27/instrument_trace/examples/demo/demo.go:7
↓ 1 callersMethodbaz
(x *X, z Z, a, b, c, d, e int16)
column/imooc/go-50tips/sources/go-panic-stacktrace.go:31
↓ 1 callersFunctionbodyCheck
()
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-1.go:17
↓ 1 callersFunctionbodyCheck
(id int)
column/imooc/go-50tips/sources/concurrency-design-airport-securitycheck-2.go:17
↓ 1 callersFunctionbootstrapLogger
bootstrapLogger 是一个引导日志器,专门用于应用启动的极早期阶段。 它的主要目的是在`app.New()`函数执行过程中或失败时,能够以结构化的方式记录日志。 它直接从传入的(可能已加载的)配置中获取日志级别和格式, 如果配置未加载,则使用安全的默认值。 注意:这个logger是临时的
column/timegeek/go-advanced-course/ch31/shortlink-service/cmd/server/main.go:28
↓ 1 callersFunctionbootstrapLogger
bootstrapLogger 是一个引导日志器,专门用于应用启动的极早期阶段。 它的主要目的是在`app.New()`函数执行过程中或失败时,能够以结构化的方式记录日志。 它直接从传入的(可能已加载的)配置中获取日志级别和格式, 如果配置未加载,则使用安全的默认值。 注意:这个logger是临时的
column/timegeek/go-advanced-course/ch32/shortlink-service/cmd/server/main.go:29
↓ 1 callersFunctionbreakWithForSelect
(c <-chan int)
column/imooc/go-50tips/sources/go-trap/break_2.go:23
↓ 1 callersFunctionbreakWithForSelect
(c <-chan int)
column/imooc/go-50tips/sources/go-trap/break_1.go:22
↓ 1 callersFunctionbreakWithForSwitch
(b bool)
column/imooc/go-50tips/sources/go-trap/break_2.go:8
↓ 1 callersFunctionbreakWithForSwitch
(b bool)
column/imooc/go-50tips/sources/go-trap/break_1.go:8
↓ 1 callersFunctionbuildHuffmanTree
2. 构建 Huffman 树
micro-column/data-compression-fundamentals/ch02/huffman-demo/main.go:19
↓ 1 callersFunctionbuildIndex
(prefix string, rv reflect.Value)
column/timegeek/go-advanced-course/ch23/config/stage3/config/config.go:49
↓ 1 callersFunctionbuildLongString
buildLongString: 另一个可能消耗CPU的函数,通过低效的字符串拼接
column/timegeek/go-advanced-course/ch29/profiling/cpu_profiling_example/main.go:32
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch08/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch09/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch05/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch10/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch06/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch04/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildMaskTree
掩码树结构:map[string]interface{} key 是字段名,value 是子掩码树(如果是叶子节点则为 nil)
micro-column/api-design-and-implementation/ch07/rod-demo/pkg/fieldmask/mask.go:38
↓ 1 callersFunctionbuildNext
buildNext 构建 Next 数组 (PMT: Partial Match Table) next[i] 表示 pattern[0...i] 的最长公共前后缀长度
micro-column/ai-era-software-engineer-algorithm-map/ch12/kmp_search/main.go:7
↓ 1 callersFunctionbyteSliceToStringUnsafe
(b []byte)
column/timegeek/go-advanced-course/ch05/zerocopy_test.go:138
↓ 1 callersFunctionbyteSliceToStringUnsafeGo121
使用unsafe.String将字节切片转换为字符串 这是零拷贝操作,但必须确保字节切片在字符串使用期间不被修改
column/timegeek/go-advanced-course/ch05/zerocopy_test.go:155
↓ 1 callersFunctionc
()
column/timegeek/go-first-course/27/instrument_trace/example_test.go:17
↓ 1 callersFunctioncalculateHashes
calculateHashes: 一个CPU密集型任务,计算SHA256哈希多次
column/timegeek/go-advanced-course/ch29/profiling/cpu_profiling_example/main.go:16
↓ 1 callersFunctioncanFinish
辅助函数:计算以速度 k 吃完所有香蕉需要的小时数
micro-column/ai-era-software-engineer-algorithm-map/ch05/koko_bananas/main.go:37
↓ 1 callersFunctioncatFile
(filename string)
column/imooc/go-50tips/sources/go-character-set-encoding/convert_gb18030_to_utf16_and_utf32.go:15
↓ 1 callersFunctioncatchAsyncSignal
(c chan os.Signal)
column/imooc/go-50tips/sources/go-signal/go-program-notify-sync-and-async-signal.go:12
↓ 1 callersFunctioncgoSleep
()
column/imooc/go-50tips/sources/go-cgo/cgo_sleep.go:10
↓ 1 callersFunctioncheck
(err error)
column/imooc/go-50tips/sources/panic_recover_performance_test.go:8
↓ 1 callersMethodcheckHeight
(int height)
column/imooc/go-50tips/sources/JavaDemoHeightException/HeightInput.java:4
↓ 1 callersFunctioncoinChange
(coins []int, amount int)
micro-column/ai-era-software-engineer-algorithm-map/ch15/coin_change/main.go:7
↓ 1 callersMethodcompensate
(fromIndex int)
micro-column/distributed-system-guide/ch08/saga.go:66
↓ 1 callersFunctionconcat
(a, b)
column/imooc/go-50tips/sources/ruby_stringer/stringer_interface.rb:4
↓ 1 callersMethodconcat
(Stringer a, Stringer b)
column/imooc/go-50tips/sources/java_stringer/StringerInterface.java:9
↓ 1 callersFunctionconcatStringByBytesBuffer
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:53
↓ 1 callersFunctionconcatStringByBytesBufferWithInitSize
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:61
↓ 1 callersFunctionconcatStringByJoin
(sl []string)
column/imooc/go-50tips/sources/benchmark_intro_test.go:31
↓ 1 callersFunctionconcatStringByJoin
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:32
↓ 1 callersFunctionconcatStringByJoin
(sl []string)
column/imooc/go-50tips/sources/benchmark-compare/strcat_test.go:27
↓ 1 callersFunctionconcatStringByOperator
(sl []string)
column/imooc/go-50tips/sources/benchmark_intro_test.go:15
↓ 1 callersFunctionconcatStringByOperator
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:16
↓ 1 callersFunctionconcatStringBySprintf
(sl []string)
column/imooc/go-50tips/sources/benchmark_intro_test.go:23
↓ 1 callersFunctionconcatStringBySprintf
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:24
↓ 1 callersFunctionconcatStringByStringsBuilder
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:36
↓ 1 callersFunctionconcatStringByStringsBuilderWithInitSize
(sl []string)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:44
↓ 1 callersFunctionconstInitCheck
()
column/imooc/go-50tips/sources/package-init-order/main.go:21
↓ 1 callersFunctionconstInitCheck
()
column/imooc/go-50tips/sources/package-init-order/pkg1/pkg1.go:18
↓ 1 callersFunctionconstInitCheck
()
column/imooc/go-50tips/sources/package-init-order/pkg2/pkg2.go:14
↓ 1 callersFunctionconstInitCheck
()
column/imooc/go-50tips/sources/package-init-order/pkg3/pkg3.go:14
↓ 1 callersFunctionconstructTimeByDate
()
column/imooc/go-50tips/sources/go-time-operations/construct_time_with_func_date.go:26
↓ 1 callersFunctionconstructTimeByParse
()
column/imooc/go-50tips/sources/go-time-operations/construct_time_with_func_date.go:38
↓ 1 callersFunctionconsume
(c <-chan bool)
column/imooc/go-50tips/sources/go-time-operations/timer_stop.go:9
↓ 1 callersFunctionconsume
(c <-chan bool, timer *time.Timer)
column/imooc/go-50tips/sources/go-time-operations/timer_reset_2.go:9
↓ 1 callersFunctionconsume
(c <-chan bool, timer *time.Timer)
column/imooc/go-50tips/sources/go-time-operations/timer_reset_3.go:9
← previousnext →801–900 of 3,647, ranked by callers