Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for src1 (0.05 sec)

  1. 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)
  2. 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)
  3. src/go/scanner/scanner_test.go

    func TestInit(t *testing.T) {
    	var s Scanner
    
    	// 1st init
    	src1 := "if true { }"
    	f1 := fset.AddFile("src1", fset.Base(), len(src1))
    	s.Init(f1, []byte(src1), nil, dontInsertSemis)
    	if f1.Size() != len(src1) {
    		t.Errorf("bad file size: got %d, expected %d", f1.Size(), len(src1))
    	}
    	s.Scan()              // if
    	s.Scan()              // true
    	_, tok, _ := s.Scan() // {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

        }
    
        def usesManifestFromJarTaskWhenMergingJars() {
            given:
            createDir('src1') {
                dir1 { file 'file1.txt' }
            }
            createDir('src2') {
                dir2 { file 'file2.txt' }
            }
            buildFile << '''
                task jar1(type: Jar) {
                    from 'src1'
                    destinationDirectory = buildDir
                    archiveFileName = 'test1.zip'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/ssa/_gen/generic.rules

    // before being accessed.
    (Move {t} [n] dst1 src1 zero:(Zero {t} [n] dst2 mem))
    	&& zero.Uses == 1
    	&& isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n)
    	&& clobber(zero)
    	=> (Move {t} [n] dst1 src1 mem)
    (Move {t} [n] dst1 src1 vardef:(VarDef {x} zero:(Zero {t} [n] dst2 mem)))
    	&& zero.Uses == 1 && vardef.Uses == 1
    	&& isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n)
    	&& clobber(zero, vardef)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    // See: https://openid.net/specs/openid-connect-core-1_0.html#AggregatedDistributedClaims
    //
    //	{
    //	  ... (other normal claims)...
    //	  "_claim_names": {
    //	    "groups": "src1"
    //	  },
    //	  "_claim_sources": {
    //	    "src1": {
    //	      "endpoint": "https://www.example.com",
    //	      "access_token": "f005ba11"
    //	    },
    //	  },
    //	}
    func (r *claimResolver) expand(ctx context.Context, c claims) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    	// test case for a one-line error
    	const src1 = `
    package p
    var _ T
    `
    	_, err := typecheck(src1, &conf, nil)
    	if err == nil || !strings.HasSuffix(err.Error(), " [go.dev/e/UndeclaredName]") {
    		t.Errorf("src1: unexpected error: got %v", err)
    	}
    
    	// test case for a multi-line error
    	const src2 = `
    package p
    func f() int { return 0 }
    var _ = f(1, 2)
    `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    	// test case for a one-line error
    	const src1 = `
    package p
    var _ T
    `
    	_, err := typecheck(src1, &conf, nil)
    	if err == nil || !strings.HasSuffix(err.Error(), " [go.dev/e/UndeclaredName]") {
    		t.Errorf("src1: unexpected error: got %v", err)
    	}
    
    	// test case for a multi-line error
    	const src2 = `
    package p
    func f() int { return 0 }
    var _ = f(1, 2)
    `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top