- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for Deadcode (0.4 sec)
-
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) -
src/compress/flate/huffman_bit_writer.go
} cgnl = codegen[numLiterals : numLiterals+numOffsets] for i := range cgnl { cgnl[i] = uint8(offEnc.codes[i].len) } codegen[numLiterals+numOffsets] = badCode size := codegen[0] count := 1 outIndex := 0 for inIndex := 1; size != badCode; inIndex++ { // INVARIANT: We have seen "count" copies of size that have not yet // had output generated for them. nextSize := codegen[inIndex]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:59:14 UTC 2022 - 18.4K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeCodec.kt
val nodeCount = readSmallInt() val nodes = ArrayList<Node>(nodeCount) val nodesById = HashMap<Int, Node>(nodeCount) for (i in 0 until nodeCount) { val node = readNode() nodesById[nodesById.size] = node if (node is LocalTaskNode) { node.prepareNode.require() nodesById[nodesById.size] = node.prepareNode }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginToolchainsIntegrationTest.groovy
file("build/reports/checkstyle/main.html").assertExists() } def "analyze bad code with the toolchain JDK"() { executer.withDefaultLocale(new Locale('en')) badCode() def jdk = setupExecutorForToolchains() writeBuildFileWithToolchainsFromJavaPlugin(jdk) writeConfigFileWithTypeName() expect: fails("checkstyleMain")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy
javaClassFile("compile/test/Person.class").exists() } def "compile bad code breaks the build and compilation error doesn't show link to help.gradle.org"() { given: badCode() when: fails("compileJava") then: output.contains(logStatement()) failure.assertHasErrorOutput("';' expected") failure.assertNotOutput("https://help.gradle.org")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 01 01:34:12 UTC 2024 - 27.4K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy
buildFile << """ apply plugin: "groovy" ${mavenCentralRepository()} compileGroovy.options.failOnError = false """.stripIndent() and: badCode() expect: succeeds 'compileGroovy' } def "compile bad groovy code do not fail the build when groovyOptions.failOnError is false"() { given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 09:08:49 UTC 2023 - 27K bytes - Viewed (0) -
src/compress/flate/deflate_test.go
} func (b *syncBuffer) Write(p []byte) (n int, err error) { n, err = b.buf.Write(p) b.signal() return } func (b *syncBuffer) WriteMode() { b.mu.Lock() } func (b *syncBuffer) ReadMode() { b.mu.Unlock() b.signal() } func (b *syncBuffer) Close() error { b.closed = true b.signal() return nil } func testSync(t *testing.T, level int, input []byte, name string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.6K bytes - Viewed (0) -
src/go/types/check_test.go
for line, errList := range filemap { for _, err := range errList { t.Errorf("%s:%d:%d: %s", filename, line, err.col, err.text) } } } } } func readCode(err Error) errors.Code { v := reflect.ValueOf(err) return errors.Code(v.FieldByName("go116code").Int()) } // boolFieldAddr(conf, name) returns the address of the boolean field conf.<name>.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0)