Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MemString (0.18 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. cmd/kubeadm/app/util/pubkeypin/pubkeypin_test.go

    +iyvsLAw/MYMSA==
    -----END CERTIFICATE-----
    `
    
    // testCert is a small helper to get a test x509.Certificate from the PEM constants
    func testCert(t *testing.T, pemString string) *x509.Certificate {
    	// Decode the example certificate from a PEM file into a PEM block
    	pemBlock, _ := pem.Decode([]byte(pemString))
    	if pemBlock == nil {
    		t.Fatal("failed to parse test certificate PEM")
    		return nil
    	}
    
    	// Parse the PEM block into an x509.Certificate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 13 11:38:39 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  4. 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