Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MemString (0.2 sec)

  1. src/testing/benchmark.go

    	case y >= 0.00099995:
    		format = "%17.6f %s"
    	default:
    		format = "%18.7f %s"
    	}
    	fmt.Fprintf(w, format, x, unit)
    }
    
    // MemString returns r.AllocedBytesPerOp and r.AllocsPerOp in the same format as 'go test'.
    func (r BenchmarkResult) MemString() string {
    	return fmt.Sprintf("%8d B/op\t%8d allocs/op",
    		r.AllocedBytesPerOp(), r.AllocsPerOp())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*T).Skipped", Method, 1},
    		{"(*T).TempDir", Method, 15},
    		{"(BenchmarkResult).AllocedBytesPerOp", Method, 1},
    		{"(BenchmarkResult).AllocsPerOp", Method, 1},
    		{"(BenchmarkResult).MemString", Method, 1},
    		{"(BenchmarkResult).NsPerOp", Method, 0},
    		{"(BenchmarkResult).String", Method, 0},
    		{"AllocsPerRun", Func, 1},
    		{"B", Type, 0},
    		{"B.N", Field, 0},
    		{"Benchmark", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg testing, method (*T) Skipped() bool
    pkg testing, method (BenchmarkResult) AllocedBytesPerOp() int64
    pkg testing, method (BenchmarkResult) AllocsPerOp() int64
    pkg testing, method (BenchmarkResult) MemString() string
    pkg testing, type BenchmarkResult struct, MemAllocs uint64
    pkg testing, type BenchmarkResult struct, MemBytes uint64
    pkg text/scanner, const Char = -5
    pkg text/scanner, const Comment = -8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top