Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for Deadcode (0.11 sec)

  1. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	return 10
    }
    
    func F() int {
    	defer func() {}()
    	return V
    }
    
    func H() {
    	// Issue 67635: deadcoded closures causes linker crash.
    	func() { F() }()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. cmd/xl-storage_noatime_notsupported.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    var (
    	// No special option for reads on windows
    	readMode = os.O_RDONLY
    
    	// Write with sync no buffering only used only for `xl.meta` writes
    	writeMode = os.O_SYNC
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginIncrementalAnalysisIntegrationTest.groovy

        }
    
        def 'incremental analysis is transparent'() {
            given:
            Assume.assumeTrue(supportIncrementalAnalysis())
            goodCode()
            badCode()
    
            when:
            fails('pmdMain')
    
            then:
            file("build/reports/pmd/main.xml").assertContents(Matchers.containsText('BadClass'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. internal/ioutil/read_file_noatime_supported.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"os"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 937 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go

    //
    // which compiles to
    //
    //     X = &stmp           // static
    //     stmp = makemap(...) // in init function
    //
    // plugin1 and plugin2 both import base. plugin1 doesn't use
    // base.X, so that symbol is deadcoded in plugin1.
    //
    // plugin1 is loaded first. base.init runs at that point, which
    // initialize base.stmp.
    //
    // plugin2 is then loaded. base.init already ran, so it doesn't run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/runtime/cpuprof.go

    	lock(&cpuprof.lock)
    	log := cpuprof.log
    	unlock(&cpuprof.lock)
    	readMode := profBufBlocking
    	if GOOS == "darwin" || GOOS == "ios" {
    		readMode = profBufNonBlocking // For #61768; on Darwin notes are not async-signal-safe.  See sigNoteSetup in os_darwin.go.
    	}
    	data, tags, eof := log.read(readMode)
    	if len(data) == 0 && eof {
    		lock(&cpuprof.lock)
    		cpuprof.log = nil
    		unlock(&cpuprof.lock)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

                     * @return return the bar
                     */
                    public String getBar() {
                        return "bar";
                    }
                }
            """
        }
    
        private void badCode() {
            file("src/main/java/com/example/Foo.java").java """
                package com.example;
    
                public class Foo {
                    public String getBar() {
                        return "bar";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. hack/verify-e2e-test-ownership.sh

      cat >"${results_jq}" <<EOS
      [.[] |  select( .LeafNodeType == "It") | . as { ContainerHierarchyTexts: \$text, ContainerHierarchyLocations: \$code, LeafNodeText: \$leafText,  LeafNodeLocation: \$leafCode} | {
          calls: ([ \$text | range(0;length) as \$i | {
            sig: ((\$text[\$i] | match("\\\[(sig-[^\\\]]+)\\\]") | .captures[0].string) // "unknown"),
            text: \$text[\$i],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 06:46:18 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcGroovyVersionIntegrationTest.groovy

            latestGroovy3Version | CodeNarcPlugin.STABLE_VERSION
            latestGroovy4Version | CodeNarcPlugin.STABLE_VERSION_WITH_GROOVY4_SUPPORT
        }
    
        def "analyze bad code"() {
            badCode()
            writeBuildFile(groovyVersion, codenarcVersion)
    
            expect:
            fails("check")
            failure.assertHasDescription("Execution failed for task ':codenarcTest'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcTestFixture.groovy

            file("src/main/groovy/org/gradle/Class2.groovy") << "package org.gradle; class Class2 { }"
            file("src/test/groovy/org/gradle/TestClass2.groovy") << "package org.gradle; class TestClass2 { }"
        }
    
        def badCode() {
            file("src/main/groovy/org/gradle/class1.java") << "package org.gradle; class class1 { }"
            file("src/main/groovy/org/gradle/Class2.groovy") << "package org.gradle; class Class2 { }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top