Web This site Trusted
8 result(s) for “if can favor site code web de site can kernel org site can kernel org site:go.dev” · 895 ms
Scope: Nishi’s own index (our crawl + Common Crawl) — not the whole live web. Some sites block all automated crawlers (anti-bot walls), so their pages may be absent here even though we never filter lawful content.
Freshness: newest result fetched 25 d ago · median age of these results 25 d · 8 of 8 carry a fetch time
What do we do if we can’t make our code testable
from the top result below
https://go.dev/blog/testing-time
This package can significantly simplify writing tests for concurrent, asynchronous code
https://go.dev/blog/greenteagc
Heap objects are created when the Go compiler can’t figure out how else to allocate memory for a value
https://go.dev/doc/gc-guide
"The heap" can be thought of as a catch-all for memory allocation, for when Go values need to be placed somewhere
https://pkg.go.dev/runtime/debug?tab=doc
Fatalf("can't start monitor: %v", err)
}
// Now return and start the application proper
https://go.dev/pkg/runtime/pprof
Packages can create and maintain their own profiles; the most common use is for tracking resources that must be explicitly closed, such as files or network connections
https://go.dev/blog/playground
Then the client can “play back” the writes with the correct timing, so that the output appears just as if the program were running locally
https://go.dev/doc/godebug
New features can also have similar impacts: enabling the HTTP/2 use by the HTTP client broke programs connecting to servers with buggy HTTP/2 implementations
https://go.dev/issue/73581
When scanning a span, if the hit flag is not set, then the garbage collector can directly scan the span’s representative, instead of processing the entire