- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 180 for src2 (0.2 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyIncrementalCompilationIntegrationTest.groovy
} def 'recompiles when moving class to another source file'() { given: File src1 = source('class A { }\n class B { }') File src2 = source('class C { }') outputs.snapshot { run 'compileGroovy' } when: src1.text = 'class A { }' src2.text = 'class C { } \n class B { }' run 'compileGroovy' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 7.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
new File(srcDir, "src2.txt").text = "123" } } task transform2(type: DirTransformerTask) { mustRunAfter src1, src2 inputDir = srcDir outputDir = file("out-2") } """ when: run "src1", "transform1", "src2", "transform2"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 15.7K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
t.Errorf("bad token: got %s, expected %s", tok, token.LBRACE) } // 2nd init src2 := "go true { ]" f2 := fset.AddFile("src2", fset.Base(), len(src2)) s.Init(f2, []byte(src2), nil, dontInsertSemis) if f2.Size() != len(src2) { t.Errorf("bad file size: got %d, expected %d", f2.Size(), len(src2)) } _, tok, _ = s.Scan() // go if tok != token.GO { t.Errorf("bad token: got %s, expected %s", tok, token.GO)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/go/types/issues_test.go
t.Fatalf("%s: got %v; want package types", test, pkg) } } f("src0", src0) f("src1", src1) f("src2", src2) } func TestIssue22525(t *testing.T) { const src = `package p; func f() { var a, b, c, d, e int }` got := "\n" conf := Config{Error: func(err error) { got += err.Error() + "\n" }} typecheck(src, &conf, nil) // do not crash want := "\n" + "p:1:27: declared and not used: a\n" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
t.Fatalf("%s: got %v; want package types2", test, pkg) } } f("src0", src0) f("src1", src1) f("src2", src2) } func TestIssue22525(t *testing.T) { const src = `package p; func f() { var a, b, c, d, e int }` got := "\n" conf := Config{Error: func(err error) { got += err.Error() + "\n" }} typecheck(src, &conf, nil) // do not crash want := "\n" + "p:1:27: declared and not used: a\n" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
var nopos syntax.Pos func mustParse(src string) *syntax.File { f, err := syntax.Parse(syntax.NewFileBase(pkgName(src)), strings.NewReader(src), nil, nil, 0) if err != nil { panic(err) // so we don't need to pass *testing.T } return f } func typecheck(src string, conf *Config, info *Info) (*Package, error) { f := mustParse(src) if conf == nil { conf = &Config{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
var nopos token.Pos func mustParse(fset *token.FileSet, src string) *ast.File { f, err := parser.ParseFile(fset, pkgName(src), src, parser.ParseComments) if err != nil { panic(err) // so we don't need to pass *testing.T } return f } func typecheck(src string, conf *Config, info *Info) (*Package, error) { fset := token.NewFileSet() f := mustParse(fset, src) if conf == nil { conf = &Config{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy
configurations { compile } dependencies { compile files('a.jar') } task copy { doLast { copy { from files('src2') + fileTree('src') { exclude '**/ignore/**' } + configurations.compile into 'dest' include { fte -> fte.relativePath.segments.length < 3 && (fte.file.directory || fte.file.name.contains('a')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/transform/transform.go
} continue } } // Move any untransformed source bytes to the start of the buffer // and read more bytes. if r.src0 != 0 { r.src0, r.src1 = 0, copy(r.src, r.src[r.src0:r.src1]) } n, r.err = r.r.Read(r.src[r.src1:]) r.src1 += n } } // TODO: implement ReadByte (and ReadRune??). // Writer wraps another io.Writer by transforming the bytes read.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 21.7K bytes - Viewed (0)