Imported Upstream version 1.0.1

This commit is contained in:
Sébastien Delafond
2017-07-04 14:45:08 +02:00
parent 1ee35b841d
commit 4f12259bc0
5531 changed files with 1834599 additions and 742844 deletions
+33
View File
@@ -0,0 +1,33 @@
// Copyright (c) 2010, Andrei Vieru. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package lzma
func minInt32(left int32, right int32) int32 {
if left < right {
return left
}
return right
}
func minUInt32(left uint32, right uint32) uint32 {
if left < right {
return left
}
return right
}
func maxInt32(left int32, right int32) int32 {
if left > right {
return left
}
return right
}
func maxUInt32(left uint32, right uint32) uint32 {
if left > right {
return left
}
return right
}