File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
staging/src/k8s.io/apimachinery/pkg/api/resource Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ test/integration/garbagecollector
43
43
test/integration/scheduler_perf
44
44
test/integration/ttlcontroller
45
45
vendor/k8s.io/apimachinery/pkg/api/meta
46
- vendor/k8s.io/apimachinery/pkg/api/resource
47
46
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
48
47
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme
49
48
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/validation
Original file line number Diff line number Diff line change 37
37
big1024 = big .NewInt (1024 )
38
38
39
39
// Commonly needed inf.Dec values-- treat as read only!
40
- decZero = inf .NewDec (0 , 0 )
41
- decOne = inf .NewDec (1 , 0 )
42
- decMinusOne = inf .NewDec (- 1 , 0 )
43
- decThousand = inf .NewDec (1000 , 0 )
44
- dec1024 = inf .NewDec (1024 , 0 )
45
- decMinus1024 = inf .NewDec (- 1024 , 0 )
40
+ decZero = inf .NewDec (0 , 0 )
41
+ decOne = inf .NewDec (1 , 0 )
46
42
47
43
// Largest (in magnitude) number allowed.
48
44
maxAllowed = infDecAmount {inf .NewDec ((1 << 63 )- 1 , 0 )} // == max int64
Original file line number Diff line number Diff line change @@ -28,11 +28,6 @@ import (
28
28
inf "gopkg.in/inf.v0"
29
29
)
30
30
31
- func amount (i int64 , exponent int ) infDecAmount {
32
- // See the below test-- scale is the negative of an exponent.
33
- return infDecAmount {inf .NewDec (i , inf .Scale (- exponent ))}
34
- }
35
-
36
31
func dec (i int64 , exponent int ) infDecAmount {
37
32
// See the below test-- scale is the negative of an exponent.
38
33
return infDecAmount {inf .NewDec (i , inf .Scale (- exponent ))}
You can’t perform that action at this time.
0 commit comments