- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 203 for DEAD (0.03 sec)
-
src/cmd/vet/testdata/deadcode/deadcode.go
// Copyright 2013 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. // This file contains tests for the dead code checker. package deadcode func _() int { print(1) return 2 println() // ERROR "unreachable code" return 3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 320 bytes - Viewed (0) -
test/typeparam/graph.go
16: {exits: [10]int{east: 17, north: 13, sw: 18}}, // skeleton, etc. 17: {exits: [10]int{west: 16}}, // Dead End 18: {exits: [10]int{down: 16, east: 19, west: 18, up: 22}}, 19: {exits: [10]int{up: 29, west: 18, ne: 15, east: 20, south: 30}}, 20: {exits: [10]int{ne: 19, west: 20, se: 21}}, 21: {exits: [10]int{north: 20}}, // Dead End
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0) -
test/fixedbugs/issue28616.go
// compile // 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. // Make sure we don't dead code eliminate a label. package p var i int func f() { if true { if i == 1 { goto label } return } label:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 06 18:50:16 UTC 2018 - 325 bytes - Viewed (0) -
test/fixedbugs/issue19678.go
// Copyright 2017 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. // Used to crash when compiling functions containing // forward refs in dead code. package p var f func(int) func g() { l1: i := 0 goto l1 l2: f(i) goto l2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:00:15 UTC 2017 - 337 bytes - Viewed (0) -
test/fixedbugs/issue26153.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. // Issue 26153. The write to ps was incorrectly // removed by the dead auto elimination pass. package main const hello = "hello world" func main() { var s string mangle(&s) if s != hello { panic("write incorrectly elided") } } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 02 19:43:07 UTC 2018 - 504 bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go
// in the trace have unique IDs, since the P just stays associated // with an eternally dead thread, and it's stolen by some other // thread later. But if thread IDs are reused, then the tracer // gets confused when trying to advance events on the new thread. // The now-dead thread which exited on a GoDestroySyscall still has // its P associated and this transfers to the newly-live thread
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/preempt.go
import ( "internal/abi" "internal/goarch" "internal/stringslite" ) type suspendGState struct { g *g // dead indicates the goroutine was not suspended because it // is dead. This goroutine could be reused after the dead // state was observed, so the caller must not assume that it // remains dead. dead bool // stopped indicates that this suspendG transitioned the G to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
} """ } def "finds broken section links"() { given: sampleDoc << """ === Dead Section Links This section doesn't exist: <<missing_section>> Also see this one, which is another dead link: <<other_missing_section>> """ when: run('checkDeadInternalLinks').buildAndFail() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 28 22:01:54 UTC 2022 - 7.8K bytes - Viewed (0) -
test/fixedbugs/issue25516.go
// compile // 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. // Make sure dead write barriers are handled correctly. package main func f(p **int) { // The trick here is to eliminate the block containing the write barrier, // but only after the write barrier branches are inserted. // This requires some delicate code. i := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 29 17:45:36 UTC 2018 - 558 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
// license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/ir" "cmd/compile/internal/types" ) // dse does dead-store elimination on the Function. // Dead stores are those which are unconditionally followed by // another store to the same location, with no intervening load. // This implementation only works within a basic block. TODO: use something more global.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0)