Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for sourceLine (0.57 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. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String fieldName,
                String sourceHint,
                String message,
                InputLocationTracker tracker) {
            StringBuilder buffer = new StringBuilder(256);
            buffer.append('\'').append(fieldName).append('\'');
    
            if (sourceHint != null) {
                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  6. 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)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
                }
            }
    
        private
        val JApiClass.sourceFilePath: String
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile sourceFile = new SmbFile(baseUrl + "shared/" + sourceFileName, createContext);
    
            // Create source file with content
            String content = "Content for rename test";
            try (OutputStream out = sourceFile.openOutputStream(false)) {
                out.write(content.getBytes("UTF-8"));
            }
            sourceFile.close();
    
            // Wait for file system to sync
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                    }
                }
            )
        }
    }
    
    
    fun JarOutputStream.addJarEntry(entryName: String, sourceFile: File) {
        val entry = ZipEntry(entryName)
        entry.time = zipEntryBaseTimestamp
        putNextEntry(entry)
        BufferedInputStream(FileInputStream(sourceFile)).use { inputStream -> inputStream.copyTo(this) }
        closeEntry()
    }
    
    
    fun File.getClassSuperTypes(): Set<String> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        @Input
        abstract Property<String> getVersion();
    
        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
    
            use(BuildableDOMCategory) {
                addVersionInfo(provider.document)
                transformApiLinks(provider.document)
                transformWebsiteLinks(provider.document)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top