- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 104 for roundup (0.15 sec)
-
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
int result = BigIntegerMath.log2(x, HALF_UP); BigInteger x2 = x.pow(2); // x^2 < 2^(2 * result + 1), or else we would have rounded up assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0); // x^2 >= 2^(2 * result - 1), or else we would have rounded down assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0); } } public void testLog2HalfDown() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:58:33 UTC 2024 - 27.8K bytes - Viewed (0) -
src/math/big/floatmarsh.go
x.mant[len(x.mant)-n:].bytes(buf[10:]) // cut off unused trailing words } return buf, nil } // GobDecode implements the [encoding/gob.GobDecoder] interface. // The result is rounded per the precision and rounding mode of // z unless z's precision is 0, in which case z is set exactly // to the decoded value. func (z *Float) GobDecode(buf []byte) error { if len(buf) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
m.Set(sysCPULoadPerc, math.Round(perc*100)/100) } ts := cpuMetrics.TimesStat tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal cpuUserVal := math.Round(ts.User/tot*100*100) / 100 m.Set(sysCPUUser, cpuUserVal) cpuSystemVal := math.Round(ts.System/tot*100*100) / 100 m.Set(sysCPUSystem, cpuSystemVal) cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100 m.Set(sysCPUNice, cpuNiceVal)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 23 23:56:12 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
// Avoid round tripping the ClusterConfiguration embedded in the InitConfiguration, since it is // only present in the internal version and not in public versions obj.ClusterConfiguration = kubeadm.ClusterConfiguration{} // Adds the default bootstrap token to get the round trip working obj.BootstrapTokens = []bootstraptokenv1.BootstrapToken{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 13 06:41:07 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go
generic.ObjectCountQuotaResourceNameFor(schema.GroupResource{Resource: "persistentvolumeclaims"}): resource.MustParse("1"), }, enableRecoverFromExpansion: true, }, "pvc-usage-rounded": { pvc: validClaimWithNonIntegerStorage, usage: corev1.ResourceList{ corev1.ResourceRequestsStorage: resource.MustParse("2"), // 1001m -> 2 corev1.ResourcePersistentVolumeClaims: resource.MustParse("1"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
T.AddMethod(m) } // check method order if i == 0 { // first round: collect methods in given order methods = make([]string, T.NumMethods()) for j := range methods { methods[j] = T.Method(j).Name() } } else { // successive rounds: methods must appear in the same order if got := T.NumMethods(); got != len(methods) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy
lines.times { l -> def foundOp = children.find { it.progress.find { it.hasDetailsOfType(LogEventBuildOperationProgressDetails) && it.details.message == "o: $i $l" } } assert foundOp: "o: $i $l" } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:34 UTC 2024 - 17.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 45K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // Confirm a wide array of attribute survives the round-trip func.func @main(tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> { ^bb0(%arg0: tensor<1x6x6x16xf32>):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 824 bytes - Viewed (0) -
src/crypto/md5/gen.go
0x8d2a4c8a, }, Table3: []uint32{ // round3 0xfffa3942, 0x8771f681, 0x6d9d6122, 0xfde5380c, 0xa4beea44, 0x4bdecfa9, 0xf6bb4b60, 0xbebfbc70, 0x289b7ec6, 0xeaa127fa, 0xd4ef3085, 0x4881d05, 0xd9d4d039, 0xe6db99e5, 0x1fa27cf8, 0xc4ac5665, }, Table4: []uint32{ // round 4 0xf4292244, 0x432aff97, 0xab9423a7,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0)