- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 973 for allDocs (0.12 sec)
-
src/cmd/go/help_test.go
t.Fatalf("%v: %v\n%s", cmd, err, cmd.Stderr) } alldocs, err := format.Source(out) if err != nil { t.Fatalf("format.Source($(%v)): %v", cmd, err) } const srcPath = `alldocs.go` old, err := os.ReadFile(srcPath) if err != nil { t.Fatalf("error reading %s: %v", srcPath, err) } diff := diff.Diff(srcPath, old, "go help documentation | gofmt", alldocs) if diff == nil { t.Logf("%s is up to date.", srcPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 15:45:49 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/bestPractices/taskDefinition/tests/taskDefinition.sample.conf
executable: gradle args: allDocs flags: "--quiet"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 91 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/bestPractices/taskDefinition/kotlin/build.gradle.kts
group = JavaBasePlugin.DOCUMENTATION_GROUP description = "Generates the HTML documentation for this project." title = "Project docs" outputDir = layout.buildDirectory.dir("docs") } tasks.register("allDocs") { group = JavaBasePlugin.DOCUMENTATION_GROUP description = "Generates all documentation for this project." dependsOn("generateHtmlDocs") doLast { logger.quiet("Generating all documentation...")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 538 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/bestPractices/taskDefinition/groovy/build.gradle
group = JavaBasePlugin.DOCUMENTATION_GROUP description = 'Generates the HTML documentation for this project.' title = 'Project docs' outputDir = layout.buildDirectory.dir('docs') } tasks.register('allDocs') { group = JavaBasePlugin.DOCUMENTATION_GROUP description = 'Generates all documentation for this project.' dependsOn generateHtmlDocs doLast { logger.quiet('Generating all documentation...')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 558 bytes - Viewed (0) -
src/testing/allocs.go
var memstats runtime.MemStats runtime.ReadMemStats(&memstats) mallocs := 0 - memstats.Mallocs // Run the function the specified number of times for i := 0; i < runs; i++ { f() } // Read the final statistics runtime.ReadMemStats(&memstats) mallocs += memstats.Mallocs // Average the mallocs over the runs (not counting the warm-up).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 02 00:13:47 UTC 2016 - 1.4K bytes - Viewed (0) -
test/codegen/alloc.go
Iskander Sharipov <******@****.***> 1546022404 +0300
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 26 23:08:15 UTC 2019 - 902 bytes - Viewed (0) -
src/testing/allocs_test.go
if allocs := testing.AllocsPerRun(100, tt.fn); allocs != tt.allocs { t.Errorf("AllocsPerRun(100, %s) = %v, want %v", tt.name, allocs, tt.allocs) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 817 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go
} } else if alloc >= item.upperBound { if allocs[idx] != item.upperBound { t.Fatalf("For requiredSum=%v, %s classes=%#+v got solution %v, %v in which item %d should be its upper bound but is not", requiredSum, style, classes, allocs, fairProp, idx) } } else if f64RelDiff(alloc, allocs[idx]) > fpSlack {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 18:17:27 UTC 2022 - 5.3K bytes - Viewed (0) -
src/encoding/gob/timing_test.go
enc := NewEncoder(&buf) bench := &Bench{7, 3.2, "now is the time", []byte("for all good men")} allocs := testing.AllocsPerRun(N, func() { err := enc.Encode(bench) if err != nil { t.Fatal("encode:", err) } }) if allocs != 0 { t.Fatalf("mallocs per encode of type Bench: %v; wanted 0\n", allocs) } } func TestCountDecodeMallocs(t *testing.T) { if testing.Short() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 04 07:16:59 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/mpagecache.go
return c.base + i*pageSize, uintptr(scav) * pageSize } return c.allocN(npages) } // allocN is a helper which attempts to allocate npages worth of pages // from the cache. It represents the general case for allocating from // the page cache. // // Returns a base address and the amount of scavenged memory in the // allocated region in bytes. func (c *pageCache) allocN(npages uintptr) (uintptr, uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 5.6K bytes - Viewed (0)