Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for src2 (0.04 sec)

  1. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

                    targetMachines = [machines.host().x86, machines.host().x86_64]
                }
            """
            def headerDir = file('src/main/headers')
            def apiHeaderDir = file('src/main/public')
            def src1 = file('src/main/cpp/lib.cpp').createFile()
            def src2 = file('src/main/cpp/lib-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            """
            buildFile << """
                apply plugin: 'cpp-library'
            """
            def headerDir = file('src/main/headers')
            def apiHeaderDir = file('src/main/public')
            def src1 = file('src/main/cpp/lib.cpp').createFile()
            def src2 = file('src/main/cpp/lib-impl.cpp').createFile()
    
            when:
            def project = withConnection { connection -> connection.getModel(CppProject.class) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. testing/performance/src/templates/native-monolithic/src/src.c

    #include "src${sourceIdx}_h.h"
    
    <% includedHeaderCount.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    <% includedCommonHeaderCount.times { %>
    #include "common/include/header${it}.h"
    <% } %>
    
    #include <stdio.h>
    
    <% functionCount.times { %>
    int C_function_${(it+1)+offset} () {
      printf("Hello world!");
      return 0;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 322 bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-monolithic/src/src.cpp

    #include "src${sourceIdx}_h.h"
    
    <% includedHeaderCount.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    <% includedCommonHeaderCount.times { %>
    #include "common/include/header${it}.h"
    <% } %>
    
    #include <stdio.h>
    
    <% functionCount.times { %>
    int CPP_function_${(it+1)+offset} () {
      printf("Hello world!");
      return 0;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 325 bytes
    - Viewed (0)
Back to top