Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for Deadcode (0.2 sec)

  1. src/cmd/compile/internal/ssa/regalloc.go

    // SSA form isn't needed after regalloc. We'll just leave the use
    // of x3 not dominated by the definition of x3, and the CX->BX copy
    // will have no use (so don't run deadcode after regalloc!).
    // TODO: maybe we should introduce these extra phis?
    
    package ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	dynid       map[Sym]int32       // stores Dynid for symbol
    
    	relocVariant map[relocId]sym.RelocVariant // stores variant relocs
    
    	// Used to implement field tracking; created during deadcode if
    	// field tracking is enabled. Reachparent[K] contains the index of
    	// the symbol that triggered the marking of symbol K as live.
    	Reachparent []Sym
    
    	// CgoExports records cgo-exported symbols by SymName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/lib.go

    				sb2.AddUint8(1)
    			} else {
    				sb2.AddUint8(0)
    			}
    		}
    
    		// Set runtime.disableMemoryProfiling bool if
    		// runtime.MemProfile is not retained in the binary after
    		// deadcode (and we're not dynamically linking).
    		memProfile := ctxt.loader.Lookup("runtime.MemProfile", abiInternalVer)
    		if memProfile != 0 && !ctxt.loader.AttrReachable(memProfile) && !ctxt.DynlinkingGo() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginVersionIntegrationTest.groovy

            }
            // HTML report is sortable
            report("main").text.contains("Sort by")
        }
    
        def "reports HTML report over text or XML report in failure message"() {
            badCode()
            buildFile << """
                codenarcTest.reports {
                    xml.required = true
                    text.required = true
                }
            """
    
            expect:
            fails("check")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/cache/cache.go

    	// if the node info list item is already at the head, we are done.
    	if ni == cache.headNode {
    		return
    	}
    
    	if ni.prev != nil {
    		ni.prev.next = ni.next
    	}
    	if ni.next != nil {
    		ni.next.prev = ni.prev
    	}
    	if cache.headNode != nil {
    		cache.headNode.prev = ni
    	}
    	ni.next = cache.headNode
    	ni.prev = nil
    	cache.headNode = ni
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            expect:
            succeeds("check")
            file("build/reports/pmd/main.xml").exists()
            file("build/reports/pmd/test.xml").exists()
        }
    
        def "analyze bad code"() {
            badCode()
    
            expect:
            fails("check")
            failure.assertHasDescription("Execution failed for task ':pmdTest'.")
            failure.assertThatCause(containsString("2 PMD rule violations were found. See the report at:"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginDependenciesIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    class CheckstylePluginDependenciesIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            writeBuildFile()
            writeConfigFile()
            badCode()
        }
    
        def "allows configuring tool dependencies explicitly"() {
            //Language has to be English, because the error message is localised
            defaultLocale('en')
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            // file("build/reports/checkstyle/main.html").assertContents(containsLine(containsString("bad.properties")))
        }
    
        def "analyze bad code"() {
            defaultLanguage('en')
            badCode()
    
            expect:
            fails("check")
            failure.assertHasDescription("Execution failed for task ':checkstyleMain'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  9. src/internal/types/errors/codes_test.go

    				err := checkExample(t, example)
    				if err == nil {
    					t.Fatalf("no error in example #%d", i)
    				}
    				typerr, ok := err.(Error)
    				if !ok {
    					t.Fatalf("not a types.Error: %v", err)
    				}
    				if got := readCode(typerr); got != value {
    					t.Errorf("%s: example #%d returned code %d (%s), want %d", name, i, got, err, value)
    				}
    			}
    		})
    	})
    }
    
    func walkCodes(t *testing.T, f func(string, int, *ast.ValueSpec)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:41:45 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

            given:
            badCode()
    
            and:
            buildFile << "compileScala.options.failOnError = false\n"
    
            expect:
            succeeds 'compileScala'
        }
    
        def "compile bad scala code do not fail the build when scalaCompileOptions.failOnError is false"() {
            given:
            badCode()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top