Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
// 获取两个整数中的最小值
2348
func
min(a, b int) int {
2349
if
a < b {
2350
return
a
2351
}
2352
return
b
2353
}
2354
2355
// 获取两个整数中的最大值
2356
func
max(a, b int64) int64 {
Callers
3
UnmarshalJSON
Method · 0.70
handleChatCompletionRequest
Function · 0.70
analyzeStreamStructure
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected