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
Function
BenchmarkConcatStringByOperator
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_intro_test.go:35
Function
BenchmarkConcatStringByOperator
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:70
Function
BenchmarkConcatStringBySprintf
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_intro_test.go:41
Function
BenchmarkConcatStringBySprintf
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:76
Function
BenchmarkConcatStringByStringsBuilder
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:88
Function
BenchmarkConcatStringByStringsBuilderWithInitSize
(b *testing.B)
column/imooc/go-50tips/sources/string_concat_benchmark_test.go:94
Function
BenchmarkCoveringIndex
场景一:覆盖索引 (只查 id) 不需要回表,直接在 idx_age 索引树上就能拿全数据
micro-column/sql-query-internals/ch02/main_test.go:85
Function
BenchmarkCriticalSectionSyncByChan
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-1_test.go:30
Function
BenchmarkCriticalSectionSyncByMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-1_test.go:24
Function
BenchmarkFilesort
场景二:Filesort (内存排序) SQL: SELECT ... ORDER BY score LIMIT 1000
micro-column/sql-query-internals/ch05/main_test.go:100
Function
BenchmarkFooWithDefer
(b *testing.B)
column/imooc/go-50tips/sources/defer_perf_benchmark_1_test.go:23
Function
BenchmarkFooWithoutDefer
(b *testing.B)
column/imooc/go-50tips/sources/defer_perf_benchmark_1_test.go:28
Function
BenchmarkFuncWithPanicAndRecover
(b *testing.B)
column/imooc/go-50tips/sources/panic_recover_performance_test.go:46
Function
BenchmarkFuncWithoutPanicAndRecover
(b *testing.B)
column/imooc/go-50tips/sources/panic_recover_performance_test.go:40
Function
BenchmarkGo
(b *testing.B)
column/imooc/go-50tips/sources/go-cgo/cgo-perf/cgo_call_test.go:12
Function
BenchmarkHandlePtrToString
(b *testing.B)
column/imooc/go-50tips/sources/string_as_param_benchmark_test.go:23
Function
BenchmarkHandleString
(b *testing.B)
column/imooc/go-50tips/sources/string_as_param_benchmark_test.go:18
Function
BenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step3/demo_test.go:11
Function
BenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step1/demo_test.go:11
Function
BenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step2/demo_test.go:11
Function
BenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step5/demo_test.go:11
Function
BenchmarkHi
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step4/demo_test.go:11
Function
BenchmarkHiParallel
(b *testing.B)
column/imooc/go-50tips/sources/go-pprof-optimization-demo/step5/demo_test.go:25
Function
BenchmarkInsert_Baseline
(b *testing.B)
micro-column/sql-query-internals/ch07/main_test.go:149
Function
BenchmarkInsert_HeavyIndex
(b *testing.B)
micro-column/sql-query-internals/ch07/main_test.go:153
Function
BenchmarkInsert_UUID_Bad
(b *testing.B)
micro-column/sql-query-internals/ch07/main_test.go:157
Function
BenchmarkIntSort
(b *testing.B)
column/timegeek/go-first-course/go-generics/benchmark/sort_benchmark_test.go:43
Function
BenchmarkMapInitWithCap
(b *testing.B)
column/imooc/go-50tips/sources/map_test.go:16
Function
BenchmarkMapInitWithoutCap
(b *testing.B)
column/imooc/go-50tips/sources/map_test.go:7
Function
BenchmarkMatrixAddNonSIMD
(tb *testing.B)
column/timegeek/go-first-course/why-go-sucks/matadd-avx/benchmark_test.go:8
Function
BenchmarkMatrixAddSIMD
(tb *testing.B)
column/timegeek/go-first-course/why-go-sucks/matadd-avx/benchmark_test.go:25
Function
BenchmarkNPlusOne
场景一:N+1 查询 (应用层 Loop) 模拟:先查出前 100 个用户,再遍历查询他们的订单
micro-column/sql-query-internals/ch04/main_test.go:88
Function
BenchmarkOffset_Page1
------ 定义不同深度的 Benchmark ------ 深度 0 (第 1 页)
micro-column/sql-query-internals/ch06/main_test.go:113
Function
BenchmarkOffset_Page5k
深度 50,000 (第 5000 页)
micro-column/sql-query-internals/ch06/main_test.go:117
Function
BenchmarkOffset_Page90k
深度 900,000 (第 9万 页) - 接近表尾部
micro-column/sql-query-internals/ch06/main_test.go:121
Function
BenchmarkParalell
(b *testing.B)
column/imooc/go-50tips/sources/benchmark-impl/paralell_test.go:18
Function
BenchmarkPipelineSort
场景一:Pipeline (利用索引有序性) SQL: SELECT ... ORDER BY age LIMIT 1000
micro-column/sql-query-internals/ch05/main_test.go:80
Function
BenchmarkPlus
(b *testing.B)
column/timegeek/go-advanced-course/ch05/benchmark_test.go:10
Function
BenchmarkPointerToArrayRangeLoop
(b *testing.B)
column/imooc/go-50tips/sources/for_range_bench_test.go:34
Function
BenchmarkRWMutexGet
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-2_test.go:26
Function
BenchmarkRWMutexSet
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-2_test.go:14
Function
BenchmarkReadSyncByAtomic
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-1_test.go:44
Function
BenchmarkReadSyncByAtomic
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_paralell_demo_test.go:43
Function
BenchmarkReadSyncByMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-3_test.go:13
Function
BenchmarkReadSyncByMutex
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_paralell_demo_test.go:58
Function
BenchmarkReadSyncByRWMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-3_test.go:23
Function
BenchmarkReadSyncByRWMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-atomic-package-1_test.go:60
Function
BenchmarkSQLJoin
场景二:SQL Join 模拟:一条 SQL 一次性查出 100 个用户及其订单
micro-column/sql-query-internals/ch04/main_test.go:118
Function
BenchmarkSeek_Page1
(b *testing.B)
micro-column/sql-query-internals/ch06/main_test.go:114
Function
BenchmarkSeek_Page5k
(b *testing.B)
micro-column/sql-query-internals/ch06/main_test.go:118
Function
BenchmarkSeek_Page90k
(b *testing.B)
micro-column/sql-query-internals/ch06/main_test.go:122
Function
BenchmarkSequential
(b *testing.B)
column/imooc/go-50tips/sources/benchmark-impl/sequential_test.go:18
Function
BenchmarkSliceInitWithCap
(b *testing.B)
column/imooc/go-50tips/sources/slice_benchmark_test.go:16
Function
BenchmarkSliceInitWithoutCap
(b *testing.B)
column/imooc/go-50tips/sources/slice_benchmark_test.go:7
Function
BenchmarkSliceRangeLoop
(b *testing.B)
column/imooc/go-50tips/sources/for_range_bench_test.go:39
Function
BenchmarkSlicesSort
(b *testing.B)
column/timegeek/go-first-course/go-generics/benchmark/sort_benchmark_test.go:33
Function
BenchmarkSortInts
(b *testing.B)
column/timegeek/go-first-course/go-generics/benchmark/sort_benchmark_test.go:23
Function
BenchmarkStrcat
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:47
Function
BenchmarkStrcat
(b *testing.B)
column/imooc/go-50tips/sources/benchmark-compare/strcat_test.go:31
Function
BenchmarkStrcatWithTestContextSetup
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:23
Function
BenchmarkStrcatWithTestContextSetupAndResetTimer
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:30
Function
BenchmarkStrcatWithTestContextSetupAndRestartTimer
(b *testing.B)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:38
Function
BenchmarkStringBuilder
(b *testing.B)
column/timegeek/go-advanced-course/ch05/benchmark_test.go:19
Function
BenchmarkTableAccess
场景二:回表查询 (查 *) 需要从 idx_age 拿到 id,再跳回 Cluster Index 拿 name 和 padding
micro-column/sql-query-internals/ch02/main_test.go:104
Function
BenchmarkUnbufferedChan1To1Recv
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:41
Function
BenchmarkUnbufferedChan1To1Recv
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:41
Function
BenchmarkUnbufferedChan1To1Send
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:36
Function
BenchmarkUnbufferedChan1To1Send
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/one_to_one_test.go:36
Function
BenchmarkUnbufferedChanNToNRecv
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:55
Function
BenchmarkUnbufferedChanNToNRecv
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:55
Function
BenchmarkUnbufferedChanNToNSend
(b *testing.B)
column/imooc/go-50tips/sources/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:50
Function
BenchmarkUnbufferedChanNToNSend
(b *testing.B)
column/timegeek/go-first-course/33/go-channel-operation-benchmark/unbuffered-chan/multi_to_multi_test.go:50
Function
BenchmarkWithPool
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-7_test.go:34
Function
BenchmarkWithoutPool
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-7_test.go:27
Function
BenchmarkWriteSyncByRWMutex
(b *testing.B)
column/imooc/go-50tips/sources/go-sync-package-3_test.go:33
Method
Cancel
()
micro-column/distributed-system-guide/ch08/tcc.go:42
Method
Cancel
()
micro-column/distributed-system-guide/ch08/tcc.go:59
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch08/rod-demo/internal/order/handler.go:160
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch09/rod-demo/internal/order/handler.go:160
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch03/rod-demo/internal/order/handler.go:153
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch05/rod-demo/internal/order/handler.go:160
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch10/rod-demo/internal/order/handler.go:160
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch06/rod-demo/internal/order/handler.go:160
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch04/rod-demo/internal/order/handler.go:153
Method
Cancel
Cancel 处理取消订单的自定义方法 映射路由: POST /orders/:id/cancel
micro-column/api-design-and-implementation/ch07/rod-demo/internal/order/handler.go:160
Method
ChatStream
ChatStream 处理流式对话 Custom Method: POST /chat:stream
micro-column/api-design-and-implementation/ch10/rod-demo/internal/controller/ai.go:45
Method
Close
Close 对于内存存储,通常不需要特殊操作
column/timegeek/go-advanced-course/ch21/demo2/shortlink/internal/storage/memory/memory.go:75
Method
Close
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
Method
Close
Close 实现Store接口的Close方法 (对于内存存储,通常无事可做)
column/timegeek/go-advanced-course/ch31/shortlink-service/internal/store/memory/memory.go:79
Method
Close
()
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/service/shortener_service_test.go:56
Method
Close
Close 实现Store接口的Close方法 (对于内存存储,通常无事可做)
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/store/memory/memory.go:79
Function
CompareWeather
(ctx tool.Context, args CompareWeatherArgs)
micro-column/google-adk-in-action/ch04/smart-weather-assistant/main.go:88
Method
Compensate
()
micro-column/distributed-system-guide/ch08/saga.go:21
Method
Compensate
()
micro-column/distributed-system-guide/ch08/saga.go:32
Method
Compensate
()
micro-column/distributed-system-guide/ch08/saga.go:46
Method
Confirm
()
micro-column/distributed-system-guide/ch08/tcc.go:35
Method
Confirm
()
micro-column/distributed-system-guide/ch08/tcc.go:58
Method
Convert
(doc *parser.MarkdownDocument)
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:14
Method
Convert
Convert 将Markdown文档转换为字节数组
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:158
Method
Convert
Convert 将Markdown文档转换为HTML
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:175
← previous
next →
1,301–1,400 of 3,647, ranked by callers