- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 251 for approx (0.26 sec)
-
test/float_lit2.go
fmt.Printf("%s: inconsistent table: bits=%#x (%g) but exact=%g (%#x)\n", c.text, c.bits, fromBits(c.bits, c.exact), c.exact, bits(c.exact)) } if c.approx != c.exact || bits(c.approx) != c.bits { bug() fmt.Printf("%s: have %g (%#x) want %g (%#x)\n", c.text, c.approx, bits(c.approx), c.exact, c.bits) } } } func bits(x interface{}) interface{} { switch x := x.(type) { case float32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 16:39:47 UTC 2016 - 7.9K bytes - Viewed (0) -
src/internal/trace/mud_test.go
inv, ok2 := mud.invCumulativeSum(trackMass) if mass < trackMass { if ok { t.Errorf("approx(%g) = [%g, %g), but mass = %g", trackMass, l, u, mass) } if ok2 { t.Errorf("exact(%g) = %g, but mass = %g", trackMass, inv, mass) } } else { if !ok { t.Errorf("approx(%g) failed, but mass = %g", trackMass, mass) } if !ok2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Range.groovy
/** * A range of time. */ class Range { private final long millis Range(long millis) { this.millis = millis } @Override String toString() { return "[approx $millis millis]" } boolean isCase(Duration duration) { def actualMillis = duration.millis return actualMillis > millis - 500 && actualMillis < millis + 2000 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionInfo.java
*/ package org.gradle.launcher.daemon.server.health.gc; import java.lang.management.GarbageCollectorMXBean; import java.lang.management.ManagementFactory; public class GarbageCollectionInfo { /** * Approx. time spent in gc. See {@link GarbageCollectorMXBean} */ public long getCollectionTime() { long garbageCollectionTime = 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/constant_loading_test.cc
std::unique_ptr<Constant> revived; TF_EXPECT_OK(internal::TensorProtoToConstant(context(), proto, &revived)); // The revived tensorhandle should have the exact same dtype, shape, + // approx equivalent data to the original. ImmediateExecutionTensorHandle* handle = revived->handle(); Status status; AbstractTensorPtr revived_tensor(handle->Resolve(&status));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactory.java
public ResolutionResultsStoreFactory(TemporaryFileProvider temp) { this(temp, DEFAULT_MAX_SIZE); } /** * @param temp - Provider of temporary files. * @param maxSize - indicates the approx. maximum size of the binary store that will trigger rolling of the file */ ResolutionResultsStoreFactory(TemporaryFileProvider temp, int maxSize) { this.temp = temp; this.maxSize = maxSize; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy
} then: IllegalStateException e = thrown() e.message == 'Timeout waiting for concurrent jobs to complete.' and: operation.stop.duration in approx(timeoutMs) } def stopRethrowsFirstExecutionException() { given: def failure1 = new RuntimeException() def runnable1 = { instant.broken1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 11.2K bytes - Viewed (0) -
cmd/erasure-coding.go
// produces an incorrect value it fails with a hard error. // // erasureSelfTest tries to catch any issue in the erasure implementation // early instead of silently corrupting data. func erasureSelfTest() { // Approx runtime ~1ms var testConfigs [][2]uint8 for total := uint8(4); total < 16; total++ { for data := total / 2; data < total; data++ { parity := total - data
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 8.6K bytes - Viewed (0)