MCPcopy Create free account

hub / github.com/bigwhite/publication / functions

Functions3,647 in github.com/bigwhite/publication

FunctionBenchmarkConcatStringByOperator
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_intro_test.go:35
FunctionBenchmarkConcatStringByOperator
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:70
FunctionBenchmarkConcatStringBySprintf
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_intro_test.go:41
FunctionBenchmarkConcatStringBySprintf
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:76
FunctionBenchmarkConcatStringByStringsBuilder
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:88
FunctionBenchmarkConcatStringByStringsBuilderWithInitSize
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:94
FunctionBenchmarkCoveringIndex
场景一:覆盖索引 (只查 id) 不需要回表,直接在 idx_age 索引树上就能拿全数据
micro-column/sql-query-internals/ch02/main_test.go:85
FunctionBenchmarkCriticalSectionSyncByChan
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-1_test.go:30
FunctionBenchmarkCriticalSectionSyncByMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-1_test.go:24
FunctionBenchmarkFilesort
场景二:Filesort (内存排序) SQL: SELECT ... ORDER BY score LIMIT 1000
micro-column/sql-query-internals/ch05/main_test.go:100
FunctionBenchmarkFooWithDefer
(b *testing.B)
column/imooc/go-50tips/sources/defer_perf_benchmark_1_test.go:23
FunctionBenchmarkFooWithoutDefer
(b *testing.B)
column/imooc/go-50tips/sources/defer_perf_benchmark_1_test.go:28
FunctionBenchmarkFuncWithPanicAndRecover
(b *testing.B)
column/imooc/go-50tips/sources/panic_recover_performance_test.go:46
FunctionBenchmarkFuncWithoutPanicAndRecover
(b *testing.B)
column/imooc/go-50tips/sources/panic_recover_performance_test.go:40
FunctionBenchmarkGo
(b *testing.B)
column/imooc/go-50tips/sources/go-cgo/cgo-perf/cgo_call_test.go:12
FunctionBenchmarkHandlePtrToString
(b *testing.B)
column/imooc/go-50tips/sources/string_as_param_benchmark_test.go:23
FunctionBenchmarkHandleString
(b *testing.B)
column/imooc/go-50tips/sources/string_as_param_benchmark_test.go:18
FunctionBenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step3/demo_test.go:11
FunctionBenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step1/demo_test.go:11
FunctionBenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step2/demo_test.go:11
FunctionBenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step5/demo_test.go:11
FunctionBenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step4/demo_test.go:11
FunctionBenchmarkHiParallel
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step5/demo_test.go:25
FunctionBenchmarkInsert_Baseline
(b *testing.B)
micro-column/sql-query-internals/ch07/main_test.go:149
FunctionBenchmarkInsert_HeavyIndex
(b *testing.B)
micro-column/sql-query-internals/ch07/main_test.go:153
FunctionBenchmarkInsert_UUID_Bad
(b *testing.B)
micro-column/sql-query-internals/ch07/main_test.go:157
FunctionBenchmarkIntSort
(b *testing.B)
column/timegeek/go-first-course/go-generics/benchmark/sort_benchmark_test.go:43
FunctionBenchmarkMapInitWithCap
(b *testing.B)
column/imooc/go-50tips/sources/map_test.go:16
FunctionBenchmarkMapInitWithoutCap
(b *testing.B)
column/imooc/go-50tips/sources/map_test.go:7
FunctionBenchmarkMatrixAddNonSIMD
(tb *testing.B)
column/timegeek/go-first-course/why-go-sucks/matadd-avx/benchmark_test.go:8
FunctionBenchmarkMatrixAddSIMD
(tb *testing.B)
column/timegeek/go-first-course/why-go-sucks/matadd-avx/benchmark_test.go:25
FunctionBenchmarkNPlusOne
场景一:N+1 查询 (应用层 Loop) 模拟:先查出前 100 个用户,再遍历查询他们的订单
micro-column/sql-query-internals/ch04/main_test.go:88
FunctionBenchmarkOffset_Page1
------ 定义不同深度的 Benchmark ------ 深度 0 (第 1 页)
micro-column/sql-query-internals/ch06/main_test.go:113
FunctionBenchmarkOffset_Page5k
深度 50,000 (第 5000 页)
micro-column/sql-query-internals/ch06/main_test.go:117
FunctionBenchmarkOffset_Page90k
深度 900,000 (第 9万 页) - 接近表尾部
micro-column/sql-query-internals/ch06/main_test.go:121
FunctionBenchmarkParalell
(b *testing.B)
column/imooc/go-50tips/sources/benchmark-impl/paralell_test.go:18
FunctionBenchmarkPipelineSort
场景一:Pipeline (利用索引有序性) SQL: SELECT ... ORDER BY age LIMIT 1000
micro-column/sql-query-internals/ch05/main_test.go:80
FunctionBenchmarkPlus
(b *testing.B)
column/timegeek/go-advanced-course/ch05/benchmark_test.go:10
FunctionBenchmarkPointerToArrayRangeLoop
(b *testing.B)
column/imooc/go-50tips/sources/for_range_bench_test.go:34
FunctionBenchmarkRWMutexGet
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-2_test.go:26
FunctionBenchmarkRWMutexSet
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-2_test.go:14
FunctionBenchmarkReadSyncByAtomic
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-1_test.go:44
FunctionBenchmarkReadSyncByAtomic
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_paralell_demo_test.go:43
FunctionBenchmarkReadSyncByMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-3_test.go:13
FunctionBenchmarkReadSyncByMutex
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_paralell_demo_test.go:58
FunctionBenchmarkReadSyncByRWMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-3_test.go:23
FunctionBenchmarkReadSyncByRWMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-1_test.go:60
FunctionBenchmarkSQLJoin
场景二:SQL Join 模拟:一条 SQL 一次性查出 100 个用户及其订单
micro-column/sql-query-internals/ch04/main_test.go:118
FunctionBenchmarkSeek_Page1
(b *testing.B)
micro-column/sql-query-internals/ch06/main_test.go:114
FunctionBenchmarkSeek_Page5k
(b *testing.B)
micro-column/sql-query-internals/ch06/main_test.go:118
FunctionBenchmarkSeek_Page90k
(b *testing.B)
micro-column/sql-query-internals/ch06/main_test.go:122
FunctionBenchmarkSequential
(b *testing.B)
column/imooc/go-50tips/sources/benchmark-impl/sequential_test.go:18
FunctionBenchmarkSliceInitWithCap
(b *testing.B)
column/imooc/go-50tips/sources/slice_benchmark_test.go:16
FunctionBenchmarkSliceInitWithoutCap
(b *testing.B)
column/imooc/go-50tips/sources/slice_benchmark_test.go:7
FunctionBenchmarkSliceRangeLoop
(b *testing.B)
column/imooc/go-50tips/sources/for_range_bench_test.go:39
FunctionBenchmarkSlicesSort
(b *testing.B)
column/timegeek/go-first-course/go-generics/benchmark/sort_benchmark_test.go:33
FunctionBenchmarkSortInts
(b *testing.B)
column/timegeek/go-first-course/go-generics/benchmark/sort_benchmark_test.go:23
FunctionBenchmarkStrcat
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:47
FunctionBenchmarkStrcat
(b *testing.B)
column/imooc/go-50tips/sources/benchmark-compare/strcat_test.go:31
FunctionBenchmarkStrcatWithTestContextSetup
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:23
FunctionBenchmarkStrcatWithTestContextSetupAndResetTimer
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:30
FunctionBenchmarkStrcatWithTestContextSetupAndRestartTimer
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:38
FunctionBenchmarkStringBuilder
(b *testing.B)
column/timegeek/go-advanced-course/ch05/benchmark_test.go:19
FunctionBenchmarkTableAccess
场景二:回表查询 (查 *) 需要从 idx_age 拿到 id,再跳回 Cluster Index 拿 name 和 padding
micro-column/sql-query-internals/ch02/main_test.go:104
FunctionBenchmarkUnbufferedChan1To1Recv
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:41
FunctionBenchmarkUnbufferedChan1To1Recv
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:41
FunctionBenchmarkUnbufferedChan1To1Send
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:36
FunctionBenchmarkUnbufferedChan1To1Send
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:36
FunctionBenchmarkUnbufferedChanNToNRecv
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:55
FunctionBenchmarkUnbufferedChanNToNRecv
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:55
FunctionBenchmarkUnbufferedChanNToNSend
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:50
FunctionBenchmarkUnbufferedChanNToNSend
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:50
FunctionBenchmarkWithPool
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-7_test.go:34
FunctionBenchmarkWithoutPool
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-7_test.go:27
FunctionBenchmarkWriteSyncByRWMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-3_test.go:33
MethodCancel
()
micro-column/distributed-system-guide/ch08/tcc.go:42
MethodCancel
()
micro-column/distributed-system-guide/ch08/tcc.go:59
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch08/rod-demo/internal/order/handler.go:160
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch09/rod-demo/internal/order/handler.go:160
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch03/rod-demo/internal/order/handler.go:153
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch05/rod-demo/internal/order/handler.go:160
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch10/rod-demo/internal/order/handler.go:160
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch06/rod-demo/internal/order/handler.go:160
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch04/rod-demo/internal/order/handler.go:153
MethodCancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch07/rod-demo/internal/order/handler.go:160
MethodChatStream
ChatStream 处理流式对话 Custom Method: POST /chat:stream
micro-column/api-design-and-implementation/ch10/rod-demo/internal/controller/ai.go:45
MethodClose
Close 对于内存存储,通常不需要特殊操作
column/timegeek/go-advanced-course/ch21/demo2/shortlink/internal/storage/memory/memory.go:75
MethodClose
FindByOriginalURLAndUserID (可选) 根据原始URL和用户ID查找是否已存在短链接 (防止重复创建) FindByOriginalURLAndUserID(ctx context.Context, originalURL string, userID string) (*L
column/timegeek/go-advanced-course/ch31/shortlink-service/internal/store/store.go:40
MethodClose
Close 实现Store接口的Close方法 (对于内存存储,通常无事可做)
column/timegeek/go-advanced-course/ch31/shortlink-service/internal/store/memory/memory.go:79
MethodClose
()
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/service/shortener_service_test.go:56
MethodClose
Close 实现Store接口的Close方法 (对于内存存储,通常无事可做)
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/store/memory/memory.go:79
FunctionCompareWeather
(ctx tool.Context, args CompareWeatherArgs)
micro-column/google-adk-in-action/ch04/smart-weather-assistant/main.go:88
MethodCompensate
()
micro-column/distributed-system-guide/ch08/saga.go:21
MethodCompensate
()
micro-column/distributed-system-guide/ch08/saga.go:32
MethodCompensate
()
micro-column/distributed-system-guide/ch08/saga.go:46
MethodConfirm
()
micro-column/distributed-system-guide/ch08/tcc.go:35
MethodConfirm
()
micro-column/distributed-system-guide/ch08/tcc.go:58
MethodConvert
(doc *parser.MarkdownDocument)
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:14
MethodConvert
Convert 将Markdown文档转换为字节数组
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:158
MethodConvert
Convert 将Markdown文档转换为HTML
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:175
← previousnext →1,301–1,400 of 3,647, ranked by callers