Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 302 for endlines (0.55 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

                    return Collections.emptyMap();
                }
                List<String> lines = readLines(incrementalProcessorDeclaration);
                return parseIncrementalProcessors(lines);
            }
    
            private List<String> readLines(File file) throws IOException {
                return Files.asCharSource(file, Charsets.UTF_8).readLines(new MetadataLineProcessor());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

                }
            """
            resolve.prepare()
        }
    
        def "produces sensible error when bad code is supplied in component metadata rule" () {
            def lines = buildFile.readLines().size()
            buildFile << """
                class WrongRule implements ComponentMetadataRule {
                    public void execute(ComponentMetadataContext context) {
                        foo()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            def process = ['readelf', '-h', binaryFile.absolutePath].execute()
            List<String> lines = process.inputStream.readLines()
            return readArch(lines)
        }
    
        List<String> listObjectFiles() {
            def process = ['ar', '-t', binaryFile.getAbsolutePath()].execute()
            return process.inputStream.readLines()
        }
    
        List<String> listLinkedLibraries() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/integration/security/fuzz/fuzz_test.go

    		t.Logf("dotdotpwn fuzz test completed for %s", server)
    
    		var errLines []string
    		for _, line := range strings.Split(stdout, "\n") {
    			if strings.Contains(line, "<- VULNERABLE") {
    				if server == tomcatServer && ignoreTomcat(t, line, dotdotPwnIgnoreTomcat) {
    					continue
    				}
    				errLines = append(errLines, line)
    			}
    		}
    		if len(errLines) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
                // Counter is isolated at execution time, so transforms will see the increment in each tasks' doLast { }
                file("build/libs2/test-1.3.jar.txt").readLines() == ["2", "3", "4", "5", "6"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Resources.java

       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public static <T extends @Nullable Object> T readLines(
          URL url, Charset charset, LineProcessor<T> callback) throws IOException {
        return asCharSource(url, charset).readLines(callback);
      }
    
      /**
       * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/gofmt/testdata/crlf.golden

    /*
    Source containing CR/LF line endings.
    The gofmt'ed output must only have LF
    line endings.
    Test case for issue 3961.
    */
    package main
    
    func main() {
    	// line comment
    	println("hello, world!") // another line comment
    	println()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 230 bytes
    - Viewed (0)
  8. src/cmd/gofmt/testdata/crlf.input

    L1:/*
    L2:Source containing CR/LF line endings.
    L3:The gofmt'ed output must only have LF
    L4:line endings.
    L5:Test case for issue 3961.
    L6:*/
    L7:package main
    L8:
    L9:func main() {
    L10:	// line comment
    L11:	println("hello, world!") // another line comment
    L12:	println()
    L13:}
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 243 bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MappedPosition.java

        }
    
        @Override
        public Optional<Integer> startColumn() {
            return delegate.startColumn();
        }
    
        @Override
        public Optional<Integer> endLine() {
            return delegate.endLine();
        }
    
        @Override
        public Optional<Integer> endColumn() {
            return delegate.endColumn();
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

        @Requires(UnitTestPreconditions.IsGroovy3)
        def "produces sensible error when bad code is supplied in component selection rule with Groovy 3"() {
            def lines = buildFile.readLines().size()
            buildFile << """
                dependencies {
                    conf "org.utils:api:1.2"
                }
    
                configurations.all {
                    resolutionStrategy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top