MCPcopy Create free account
hub / github.com/BlueSkyXN/AI2API / min

Function min

wo2api.go:2348–2353  ·  view source on GitHub ↗

获取两个整数中的最小值

(a, b int)

Source from the content-addressed store, hash-verified

2346
2347// 获取两个整数中的最小值
2348func min(a, b int) int {
2349if a < b {
2350 return a
2351}
2352return b
2353}
2354
2355// 获取两个整数中的最大值
2356func max(a, b int64) int64 {

Callers 3

UnmarshalJSONMethod · 0.70
analyzeStreamStructureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected