mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-07 19:29:16 +08:00
21 lines
282 B
Go
21 lines
282 B
Go
![]() |
/*
|
||
|
* This file is subject to the terms and conditions defined in
|
||
|
* file 'LICENSE.md', which is part of this source code package.
|
||
|
*/
|
||
|
|
||
|
package mmr
|
||
|
|
||
|
func maxInt(f, s int) int {
|
||
|
if f < s {
|
||
|
return s
|
||
|
}
|
||
|
return f
|
||
|
}
|
||
|
|
||
|
func minInt(f, s int) int {
|
||
|
if f > s {
|
||
|
return s
|
||
|
}
|
||
|
return f
|
||
|
}
|