Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for sourceLine (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	if f.baseErr != nil {
    		return 0, f.baseErr
    	}
    	return addr - f.base, nil
    }
    
    func (f *file) BuildID() string {
    	return f.buildID
    }
    
    func (f *file) SourceLine(addr uint64) ([]plugin.Frame, error) {
    	f.baseOnce.Do(func() { f.baseErr = f.computeBase(addr) })
    	if f.baseErr != nil {
    		return nil, f.baseErr
    	}
    	return nil, nil
    }
    
    func (f *file) Close() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    	}
    	return nil
    }
    
    func symbolizeOneMapping(m *profile.Mapping, locs []*profile.Location, obj plugin.ObjFile, addFunction func(*profile.Function) *profile.Function) {
    	for _, l := range locs {
    		stack, err := obj.SourceLine(l.Address)
    		if err != nil || len(stack) == 0 {
    			// No answers from addr2line.
    			continue
    		}
    
    		l.Line = make([]profile.Line, len(stack))
    		l.IsFolded = false
    		for i, frame := range stack {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	line      int    // For top-level function in which instruction occurs
    	flat, cum int64  // Samples to report (divisor already applied)
    }
    
    // sourceFile contains collected information for files we will print.
    type sourceFile struct {
    	fname    string
    	cum      int64
    	flat     int64
    	lines    map[int][]sourceInst // Instructions to show per line
    	funcName map[int]string       // Function name per line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

        }
    
        def toOtherSourceSet(SourceFile sourceFile) {
            return new SourceFile("other", sourceFile.name, sourceFile.content)
        }
    
        def renameSourceFile(SourceFile sourceFile, String name) {
            return new SourceFile(sourceFile.path, name, sourceFile.content)
        }
    
        def addFunction(SourceFile sourceFile) {
            return new SourceFile(sourceFile.path, sourceFile.name, sourceFile.content + """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
                }
            """
            def sourceFile = file("a/src/main/${language.name}/ToolImpl.${language.name}")
            sourceFile << """
                public class ToolImpl {
                    private String thing() { return null; }
                    private ToolImpl t = this;
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            val versionsToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
            JavaParser().parse(sourceFile).getResult().get().run {
                solver.inject(this)
                findAllIncubating()
                    .map { node -> toVersionIncubating(sourceFile, node) }
                    .forEach { (version, incubating) ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jun 25 02:53:14 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  8. platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java

        private final String description;
        private final File sourceFile;
        private final URI sourceUri;
        private final RelativeFilePathResolver resolver;
    
        UriTextResource(String description, @Nonnull File sourceFile, RelativeFilePathResolver resolver) {
            this.description = description;
            this.sourceFile = FileUtils.normalize(sourceFile);
            this.sourceUri = sourceFile.toURI();
            this.resolver = resolver;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

        }
    
        def added(TestFile sourceFile) {
            virtualFileSystem.invalidateAll()
            modifiedFiles << sourceFile
            graph[sourceFile] = []
        }
    
        def sourceAdded(TestFile sourceFile, List<File> deps = []) {
            virtualFileSystem.invalidateAll()
            sourceFiles << sourceFile
            modifiedFiles << sourceFile
            graph[sourceFile] = deps
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

            resolve() == [header]
        }
    
        def resolve() {
            def directives = parser.parseSource(sourceFile)
            directives = serialize(directives, serializer)
            def macros = new CollectingMacroLookup()
            macros.append(sourceFile, directives)
            def result = resolver.resolveInclude(sourceFile, directives.all.first(), macros)
            assert result.complete
            result.files.file as List
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top