- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for approx (0.15 sec)
-
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) -
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) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
SymbolTable table(root); (void)table.renameToUnique(func, {}); rewriter.setInsertionPointAfter(output_mul); auto composite_attrs = rewriter.getDictionaryAttr( {rewriter.getNamedAttr("approx", rewriter.getBoolAttr(false))}); auto composite_op = rewriter.create<stablehlo::CompositeOp>( output_mul.getLoc(), func.getResultTypes()[0],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0) -
test/codegen/math.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen import "math" var sink64 [8]float64 func approx(x float64) { // amd64/v2:-".*x86HasSSE41" amd64/v3:-".*x86HasSSE41" // amd64:"ROUNDSD\t[$]2" // s390x:"FIDBR\t[$]6" // arm64:"FRINTPD" // ppc64x:"FRIP" // wasm:"F64Ceil" sink64[0] = math.Ceil(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/histogram.go
// // Following this pattern, bucket 38 will have the bit 46 set. We don't // have any buckets for higher values, so we spill the rest into an overflow // bucket containing values of 2^47-1 nanoseconds or approx. 1 day or more. // This range is more than enough to handle durations produced by the runtime. timeHistMinBucketBits = 9 timeHistMaxBucketBits = 48 // Note that this is exclusive; 1 higher than the actual range.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
"cmd/internal/telemetry" "github.com/google/pprof/driver" "github.com/google/pprof/profile" ) func main() { telemetry.Start() telemetry.Inc("pprof/invocations") options := &driver.Options{ Fetch: new(fetcher), Obj: new(objTool), UI: newUI(), } err := driver.PProf(options) telemetry.CountFlags("pprof/flag:", *flag.CommandLine) // pprof will use the flag package as its default if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/internal/pgo/pprof.go
// Package pgo contains the compiler-agnostic portions of PGO profile handling. // Notably, parsing pprof profiles and serializing/deserializing from a custom // intermediate representation. package pgo import ( "errors" "fmt" "internal/profile" "io" "sort" ) // FromPProf parses Profile from a pprof profile. func FromPProf(r io.Reader) (*Profile, error) { p, err := profile.Parse(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4K bytes - Viewed (0)