mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
parent
d30c44a6a8
commit
87d9653ec2
1 changed files with 0 additions and 14 deletions
|
@ -101,20 +101,6 @@ func Max(a, b int) int {
|
|||
return b
|
||||
}
|
||||
|
||||
func MinF(a, b float64) float64 {
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func MaxF(a, b float64) float64 {
|
||||
if a > b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func StringReverse(s string) string {
|
||||
r := []rune(s)
|
||||
for i, j := 0, len(r)-1; i < len(r)/2; i, j = i+1, j-1 {
|
||||
|
|
Loading…
Add table
Reference in a new issue