- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for InitHook (0.12 sec)
-
src/internal/coverage/cfile/hooks.go
// license that can be found in the LICENSE file. package cfile import "internal/runtime/exithook" // InitHook is invoked from the main package "init" routine in // programs built with "-cover". This function is intended to be // called only by the compiler (via runtime/coverage.initHook). // // If 'istest' is false, it indicates we're building a regular program
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 02:32:19 UTC 2024 - 1.6K bytes - Viewed (0) -
src/runtime/coverage/coverage.go
// license that can be found in the LICENSE file. package coverage import ( "internal/coverage/cfile" "io" ) // initHook is invoked from main.init in programs built with -cover. // The call is emitted by the compiler. func initHook(istest bool) { cfile.InitHook(istest) } // WriteMetaDir writes a coverage meta-data file for the currently // running program to the directory specified in 'dir'. An error will
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/coverage.go
// in cmd/compile/internal/typecheck // to update builtin.go. This is not done automatically // to avoid depending on having a working compiler binary. //go:build ignore package coverage
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 16:59:48 UTC 2024 - 437 bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
// bodies (with counter updates) might be inlined into init. cnames.InitFn.Body.Prepend(assign) } // addInitHookCall generates a call to runtime/coverage.initHook() and // inserts it into the package main init function, which will kick off // the process for coverage data writing (emit meta data, and register // an exit hook to emit counter data).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0)