Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ bigIntToIP
Function
bigIntToIP
pkg/funclet/network/allocate_ip_linux.go:122–124 ·
view source on GitHub ↗
Converts 128 bit integer into a 4 bytes IP address
(v *big.Int)
Source
from the content-addressed store, hash-verified
120
121
// Converts 128 bit integer into a 4 bytes IP address
122
func
bigIntToIP(v *big.Int) net.IP {
123
return
net.IP(v.Bytes())
124
}
Callers
1
increaseIP
Function · 0.70
Calls
1
Bytes
Method · 0.80
Tested by
no test coverage detected