Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for modulehashes (0.23 sec)

  1. src/cmd/link/internal/ld/symtab.go

    		modulehashes := ldr.CreateSymForUpdate("go:link.abihashes", 0)
    		modulehashes.SetLocal(true)
    		modulehashes.SetType(sym.SRODATA)
    
    		for i, shlib := range ctxt.Shlibs {
    			// modulehashes[i].modulename
    			modulename := filepath.Base(shlib.Path)
    			addgostring(ctxt, ldr, modulehashes, fmt.Sprintf("go:link.libname.%d", i), modulename)
    
    			// modulehashes[i].linktimehash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  2. src/runtime/symtab.go

    		throw("minpc or maxpc invalid")
    	}
    
    	for _, modulehash := range datap.modulehashes {
    		if modulehash.linktimehash != *modulehash.runtimehash {
    			println("abi mismatch detected between", datap.modulename, "and", modulehash.modulename)
    			throw("abi mismatch")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    // questions based on the index file's data.
    type Module struct {
    	modroot string
    	d       *decoder
    	n       int // number of packages
    }
    
    // moduleHash returns an ActionID corresponding to the state of the module
    // located at filesystem path modroot.
    func moduleHash(modroot string, ismodcache bool) (cache.ActionID, error) {
    	// We expect modules stored within the module cache to be checksummed and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top