Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 321 for sourceLine (0.29 sec)

  1. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	// BuildID returns the GNU build ID of the file, or an empty string.
    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// BuildID returns the GNU build ID of the file, or an empty string.
    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/pprof/pprof.go

    }
    
    func (f *file) ObjAddr(addr uint64) (uint64, error) {
    	return addr - f.offset, nil
    }
    
    func (f *file) BuildID() string {
    	// No support for build ID.
    	return ""
    }
    
    func (f *file) SourceLine(addr uint64) ([]driver.Frame, error) {
    	if f.pcln == nil {
    		pcln, err := f.file.PCLineTable()
    		if err != nil {
    			return nil, err
    		}
    		f.pcln = pcln
    	}
    	addr -= f.offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. 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)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/SourceFile.java

     */
    
    package org.gradle.integtests.fixtures;
    
    import com.google.common.base.Joiner;
    import org.gradle.test.fixtures.file.TestFile;
    
    public class SourceFile {
        private final String path;
        private final String name;
        private final String content;
    
        public SourceFile(String path, String name, String content) {
            this.content = content;
            this.path = path;
            this.name = name;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/cpp/SourceFile.java

     * limitations under the License.
     */
    
    package org.gradle.tooling.model.cpp;
    
    import java.io.File;
    
    /**
     * Provides details about a particular source file.
     *
     * @since 4.10
     */
    public interface SourceFile {
        /**
         * Returns the source file.
         */
        File getSourceFile();
    
        /**
         * Returns the object file produced for the source file.
         */
        File getObjectFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 966 bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFileTest.groovy

            filtersFile.loadDefaults()
    
            and:
            filtersFile.addSource(file("sourceOne"))
            filtersFile.addSource(file("sourceTwo"))
    
            filtersFile.addHeader(file("headerOne"))
            filtersFile.addHeader(file("headerTwo"))
    
            then:
            assert sourceFile(0) == "sourceOne"
            assert sourceFile(1) == "sourceTwo"
    
            assert headerFile(0) == "headerOne"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 27 17:02:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top