Max32 find max between a & b
(a, b int)
| 21 | |
| 22 | // Max32 find max between a & b |
| 23 | func Max32(a, b int) int { |
| 24 | if a > b { |
| 25 | return a |
| 26 | } |
| 27 | return b |
| 28 | } |
| 29 | |
| 30 | // 文件读写(有重试次数,checker专用) |
| 31 | func readFileWithTry(filePath string, name string, tryOnFailed int) ([]byte, string, error) { |