- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 784 for Gc (0.05 sec)
-
src/internal/trace/gc.go
// Started running while doing GC things. ps[ev.Proc()].gc++ } else if old.Executing() && !new.Executing() { // Stopped running while doing GC things. ps[ev.Proc()].gc-- } } states[g] = new case EventLabel: l := ev.Label() if flags&UtilBackground != 0 && strings.HasPrefix(l.Label, "GC ") && l.Label != "GC (idle)" { // Background mark worker. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
test/gc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 03:28:53 UTC 2012 - 411 bytes - Viewed (0) -
src/internal/goroot/gc.go
// license that can be found in the LICENSE file. //go:build gc package goroot import ( "os" "os/exec" "path/filepath" "strings" "sync" ) // IsStandardPackage reports whether path is a standard package, // given goroot and compiler. func IsStandardPackage(goroot, compiler, path string) bool { switch compiler { case "gc": dir := filepath.Join(goroot, "src", path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 18:16:28 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/testdata/testprog/gc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 12.1K bytes - Viewed (0) -
src/go/build/gc.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build gc package build import ( "path/filepath" "runtime" ) // getToolDir returns the default value of ToolDir. func getToolDir() string { return filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 396 bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
ppath := p.ImportPath if cfg.BuildBuildmode == "plugin" { ppath = pluginPath(a) } else if p.Name == "main" && !p.Internal.ForceLibrary { ppath = "main" } return ppath } func (gcToolchain) gc(b *Builder, a *Action, archive string, importcfg, embedcfg []byte, symabis string, asmhdr bool, pgoProfile string, gofiles []string) (ofile string, output []byte, err error) { p := a.Package sh := b.Shell(a) objdir := a.Objdir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/gc-stress.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Tests a GC-heavy program. This is useful for shaking out // all sorts of corner cases about GC-related ranges. //go:build ignore package main import ( "log" "os" "runtime" "runtime/trace" "time" ) type node struct { children [4]*node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.5K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-gc-stress.test
pc=4804475 func=32 file=33 line=60 EventBatch gen=3 m=18446744073709551615 time=28114950894688 size=2762 Strings String id=1 data="Not worker" String id=2 data="GC (dedicated)" String id=3 data="GC (fractional)" String id=4 data="GC (idle)" String id=5 data="unspecified" String id=6 data="forever" String id=7 data="network" String id=8 data="select" String id=9
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 139.1K bytes - Viewed (0) -
src/cmd/dist/buildtag_test.go
x string matched bool err error }{ {"gc", true, nil}, {"gccgo", false, nil}, {"!gc", false, nil}, {"gc && gccgo", false, nil}, {"gc || gccgo", true, nil}, {"gc || (gccgo && !gccgo)", true, nil}, {"gc && (gccgo || !gccgo)", true, nil}, {"!(gc && (gccgo || !gccgo))", false, nil}, {"gccgo || gc", true, nil}, {"!(!(!(gccgo || gc)))", false, nil}, {"compiler_bootstrap", false, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 25 00:02:52 UTC 2021 - 1.2K bytes - Viewed (0) -
test/stackobj.go
"runtime" ) type HeapObj [8]int64 type StkObj struct { h *HeapObj } var n int var c int = -1 func gc() { // encourage heap object to be collected, and have its finalizer run. runtime.GC() runtime.GC() runtime.GC() n++ } func main() { f() gc() // prior to stack objects, heap object is not collected until here if c < 0 { panic("heap object never collected") } if c != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 03 19:54:16 UTC 2018 - 975 bytes - Viewed (0)