- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for approx (0.14 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) -
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) -
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/vendor/modules.txt
# github.com/google/pprof v0.0.0-20240528025155-186aa0362fba ## explicit; go 1.19 github.com/google/pprof/driver github.com/google/pprof/internal/binutils github.com/google/pprof/internal/driver github.com/google/pprof/internal/elfexec github.com/google/pprof/internal/graph github.com/google/pprof/internal/measurement github.com/google/pprof/internal/plugin github.com/google/pprof/internal/report github.com/google/pprof/internal/symbolizer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/ctrlz/ctrlz.go
} if o.EnablePprof && o.Address == "localhost" { router.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline) router.HandleFunc("/debug/pprof/profile", pprof.Profile) router.HandleFunc("/debug/pprof/symbol", pprof.Symbol) router.HandleFunc("/debug/pprof/trace", pprof.Trace) router.PathPrefix("/debug/pprof/").HandlerFunc(pprof.Index) } registerHome(router, mainLayout) addr := o.Address if addr == "*" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 21:22:53 UTC 2024 - 5.9K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
//go:build ignore package main import ( "bytes" "context" "fmt" "internal/profile" "log" "os" "runtime" "runtime/pprof" "runtime/trace" "strings" "time" ) func main() { cpuBuf := new(bytes.Buffer) if err := pprof.StartCPUProfile(cpuBuf); err != nil { log.Fatalf("failed to start CPU profile: %v", err) } if err := trace.Start(os.Stdout); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
// limitations under the License. // Package driver provides an external entry point to the pprof driver. package driver import ( "io" "net/http" "regexp" "time" internaldriver "github.com/google/pprof/internal/driver" "github.com/google/pprof/internal/plugin" "github.com/google/pprof/profile" ) // PProf acquires a profile, and symbolizes it using a profile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
// limitations under the License. // Package plugin defines the plugin implementations that the main pprof driver requires. package plugin import ( "io" "net/http" "regexp" "time" "github.com/google/pprof/profile" ) // Options groups all the optional plugins into pprof. type Options struct { Writer Writer Flagset FlagSet Fetch Fetcher Sym Symbolizer Obj ObjTool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 7.9K bytes - Viewed (0) -
src/cmd/covdata/covdata.go
} return false } } if *cpuprofileflag != "" { f, err := os.Create(*cpuprofileflag) if err != nil { fatal("%v", err) } if err := pprof.StartCPUProfile(f); err != nil { fatal("%v", err) } atExit(func() { pprof.StopCPUProfile() if err = f.Close(); err != nil { fatal("error closing cpu profile: %v", err) } }) } if *memprofileflag != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/testing/internal/testdeps/deps.go
} } return matchRe.MatchString(str), nil } func (TestDeps) StartCPUProfile(w io.Writer) error { return pprof.StartCPUProfile(w) } func (TestDeps) StopCPUProfile() { pprof.StopCPUProfile() } func (TestDeps) WriteProfileTo(name string, w io.Writer, debug int) error { return pprof.Lookup(name).WriteTo(w, debug) } // ImportPath is the import path of the testing binary, set by the generated main function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0)