Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for sourceLine (0.18 seconds)

  1. src/cmd/cgo/ast.go

    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    // ParseGo populates f with information learned from the Go source code
    // which was read from the named file. It gathers the C preamble
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:59 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            List<Error> errorsForFile = new ArrayList<>();
            File sourceFile = getReleaseNotesFile().get().getAsFile();
    
            try (BufferedReader br = new BufferedReader(new FileReader(sourceFile))) {
                String line = br.readLine();
                while (line != null) {
                    lineNumber++;
                    gatherDeadUserGuideLinksInLineReleaseNotes(sourceFile, line, lineNumber, errorsForFile);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            if (!sourceFile.name.endsWith(".java")) return emptyMap()
    
            val versionsToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
            JavaParser().parse(sourceFile).getResult().get().run {
                solver.inject(this)
                findAllIncubating()
                    .map { node ->
                        toVersionIncubating(sourceFile, node) }
                    .forEach { (version, incubating) ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                SettingsProblemCollector problems, String fieldName, String string, String sourceHint) {
            if (!validateNotNull(problems, fieldName, string, sourceHint)) {
                return false;
            }
    
            if (!string.isEmpty()) {
                return true;
            }
    
            addViolation(problems, Severity.ERROR, fieldName, sourceHint, "is missing");
    
            return false;
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
        private final static String TEST_INTERFACE_SIMPLE_NAME = 'ApiTest'
    
        @TempDir
        File tmp
        File sourceFile
    
        BinaryCompatibilityRepository repository
    
        def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations
        def jApiMethod = Stub(JApiMethod)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

     * <ul>
     * <li>Meta-data extracted from the source by {@link gradlebuild.docs.dsl.source.ExtractDslMetaDataTask}.</li>
     * <li>Meta-data about the plugins, in the form of an XML file.</li>
     * <li>{@code sourceFile} - A main docbook template file containing the introductory material and a list of classes to document.</li>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
Back to Top