Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ abs
Function
abs
internal/thinking/validate.go:375–380 ·
view source on GitHub ↗
(x int)
Source
from the content-addressed store, hash-verified
373
}
374
375
func
abs(x int) int {
376
if
x < 0 {
377
return
-x
378
}
379
return
x
380
}
381
382
func
logClamp(provider, model string, original, clampedTo, min, max int) {
383
log.WithFields(log.Fields{
Callers
1
clampLevel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected