Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FingerprintType (0.22 sec)

  1. src/cmd/link/internal/sym/library.go

    package sym
    
    import "cmd/internal/goobj"
    
    type Library struct {
    	Objref      string
    	Srcref      string
    	File        string
    	Pkg         string
    	Shlib       string
    	Fingerprint goobj.FingerprintType
    	Autolib     []goobj.ImportedPkg
    	Imports     []*Library
    	Main        bool
    	Units       []*CompilationUnit
    
    	Textp       []LoaderSym // text syms defined in this library
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 11 18:32:23 UTC 2020
    - 651 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/line.go

    package obj
    
    import (
    	"cmd/internal/goobj"
    	"cmd/internal/src"
    )
    
    // AddImport adds a package to the list of imported packages.
    func (ctxt *Link) AddImport(pkg string, fingerprint goobj.FingerprintType) {
    	ctxt.Imports = append(ctxt.Imports, goobj.ImportedPkg{Pkg: pkg, Fingerprint: fingerprint})
    }
    
    // getFileIndexAndLine returns the relative file index (local to the CU), and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 892 bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NormalizedPathChangeDetector.java

                FileType fingerprintType = currentFingerprint.getType();
    
                if (previousFilesForFingerprint.isEmpty()) {
                    results.put(currentFingerprint.getNormalizedPath(), new FilePathWithType(absolutePath, fingerprintType));
                } else {
                    previousFilesForFingerprint.remove(0);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/objfile.go

    // Currently a symbol's Gotype, FuncInfo, and associated DWARF symbols
    // are auxiliary symbols.
    
    const stringRefSize = 8 // two uint32s
    
    type FingerprintType [8]byte
    
    func (fp FingerprintType) IsZero() bool { return fp == FingerprintType{} }
    
    // Package Index.
    const (
    	PkgIdxNone     = (1<<31 - 1) - iota // Non-package symbols
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/ld.go

    			if _, err := os.Stat(pname); err == nil {
    				break
    			}
    		}
    		pname = filepath.Clean(pname)
    	}
    
    	return pname, isshlib
    }
    
    func addlib(ctxt *Link, src, obj, lib string, fingerprint goobj.FingerprintType) *sym.Library {
    	pkg := pkgname(ctxt, lib)
    
    	// already loaded?
    	if l := ctxt.LibraryByPkg[pkg]; l != nil && !l.Fingerprint.IsZero() {
    		// Normally, packages are loaded in dependency order, and if l != nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/main.go

    		ctxt.Logf("HEADER = -H%d -T0x%x -R0x%x\n", ctxt.HeadType, uint64(*FlagTextAddr), uint32(*FlagRound))
    	}
    
    	zerofp := goobj.FingerprintType{}
    	switch ctxt.BuildMode {
    	case BuildModeShared:
    		for i := 0; i < flag.NArg(); i++ {
    			arg := flag.Arg(i)
    			parts := strings.SplitN(arg, "=", 2)
    			var pkgpath, file string
    			if len(parts) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	f.MustSeek(h.off, 0)
    	h.ld(ctxt, f, h.pkg, h.length, h.pn)
    	if *flagCaptureHostObjs != "" {
    		captureHostObj(h)
    	}
    }
    
    func checkFingerprint(lib *sym.Library, libfp goobj.FingerprintType, src string, srcfp goobj.FingerprintType) {
    	if libfp != srcfp {
    		Exitf("fingerprint mismatch: %s has %x, import from %s expecting %x", lib, libfp, src, srcfp)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    	nonpkgdefs   []*LSym // list of defined non-package symbols
    	nonpkgrefs   []*LSym // list of referenced non-package symbols
    
    	Fingerprint goobj.FingerprintType // fingerprint of symbol indices, to catch index mismatch
    }
    
    func (ctxt *Link) Diag(format string, args ...interface{}) {
    	ctxt.Errors++
    	ctxt.DiagFunc(format, args...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    // Does not read symbol data.
    // Returns the fingerprint of the object.
    func (l *Loader) Preload(localSymVersion int, f *bio.Reader, lib *sym.Library, unit *sym.CompilationUnit, length int64) goobj.FingerprintType {
    	roObject, readonly, err := f.Slice(uint64(length)) // TODO: no need to map blocks that are for tools only (e.g. RefName)
    	if err != nil {
    		log.Fatal("cannot read object file:", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top