- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 203 for DEAD (0.15 sec)
-
src/cmd/compile/internal/ssa/flagalloc.go
for _, b := range f.Blocks { b.FlagsLiveAtEnd = end[b.ID] != nil } // Remove any now-dead values. // The number of values to remove is likely small, // and removing them requires processing all values in a block, // so minimize the number of blocks that we touch. // Shrink remove to contain only dead values, and clobber those dead values. for i := 0; i < len(remove); i++ { v := remove[i] if v.Uses == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 6.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_sum.txt
# go.sum should not normally lose old entries go get rsc.io/quote@v1.0.0 grep 'rsc.io/quote v1.0.0' go.sum grep 'rsc.io/quote v1.5.2' go.sum grep rsc.io/sampler go.sum # go mod tidy should clear dead entries from go.sum go mod tidy grep 'rsc.io/quote v1.0.0' go.sum ! grep 'rsc.io/quote v1.5.2' go.sum ! grep rsc.io/sampler go.sum # go.sum with no entries is OK to keep
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 742 bytes - Viewed (0) -
src/runtime/mgcstack.go
// // Once we're done processing all the pointers (including the ones we // added during processing), we've found all the stack objects that // are live. Any dead stack objects are not scanned and their contents // will not keep heap objects live. Unlike the main garbage // collection, we can't sweep the dead stack objects; they live on in // a moribund state until the stack frame that contains them is // popped. // // A stack can look like this: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 21:06:52 UTC 2023 - 10.6K bytes - Viewed (0) -
test/fixedbugs/issue14591.go
// run // Copyright 2016 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. // Test to make sure we don't think values are dead // when they are assigned to a PPARAMOUT slot before // the last GC safepoint. package main import ( "fmt" "runtime" ) // When a T is deallocated, T[1] is certain to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 769 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/print.go
fmt.Fprintf(p.w, " b%d:", b.ID) if len(b.Preds) > 0 { io.WriteString(p.w, " <-") for _, e := range b.Preds { pred := e.b fmt.Fprintf(p.w, " b%d", pred.ID) } } if !reachable { fmt.Fprint(p.w, " DEAD") } io.WriteString(p.w, "\n") } func (p stringFuncPrinter) endBlock(b *Block, reachable bool) { if !p.printDead && !reachable { return } fmt.Fprintln(p.w, " "+b.LongString()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 3.9K bytes - Viewed (0) -
test/return.go
func _() int { L: { print(1) goto L } } // block ending in terminating statement is okay func _() int { print(1) { panic(2) } } // adding more code - even though it is dead - now requires a return func _() int { print(1) return 2 print(3) } // ERROR "missing return" func _() int { L: print(1) goto L print(3) } // ERROR "missing return"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 32.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_err_deadlock.txt
# deadlock failure case, the test will just deadlock and timeout anyway, so it should # be clear that that failure mode is different. stdout 'open' -- go.mod -- module test -- cov_test.go -- package dead import ( "os" "path/filepath" "testing" "time" ) func FuzzDead(f *testing.F) { go func() { c := filepath.Join(os.Getenv("GOCACHE"), "fuzz", "test", "FuzzDead")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 19:51:23 UTC 2023 - 999 bytes - Viewed (0) -
test/fixedbugs/issue27278.go
// run // 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. // Issue 27278: dead auto elim deletes an auto and its // initialization, but it is live because of a nil check. package main type T struct { _ [3]string T2 } func (t *T) M() []string { return t.T2.M() } type T2 struct { T3 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 30 02:19:37 UTC 2018 - 865 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/unreachable.go
d.findLabels(stmt) } case *ast.CaseClause: for _, stmt := range x.Body { d.findLabels(stmt) } } } // findDead walks the statement looking for dead code. // If d.reachable is false on entry, stmt itself is dead. // When findDead returns, d.reachable tells whether the // statement following stmt is reachable. func (d *deadState) findDead(stmt ast.Stmt) { // Is this a labeled goto target?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
{name: "softfloat", fn: softfloat, required: true}, {name: "late opt", fn: opt, required: true}, // TODO: split required rules and optimizing rules {name: "dead auto elim", fn: elimDeadAutosGeneric}, {name: "sccp", fn: sccp}, {name: "generic deadcode", fn: deadcode, required: true}, // remove dead stores, which otherwise mess up store chain {name: "check bce", fn: checkbce}, {name: "branchelim", fn: branchelim}, {name: "late fuse", fn: fuseLate},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0)