Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hash64Type (0.5 sec)

  1. src/cmd/internal/obj/objfile.go

    	}
    	if strings.HasPrefix(name, "type:") {
    		return 'T'
    	}
    	return 0
    }
    
    func contentHash64(s *LSym) goobj.Hash64Type {
    	if contentHashSection(s) != 0 {
    		panic("short hash of non-default-section sym " + s.Name)
    	}
    	var b goobj.Hash64Type
    	copy(b[:], s.P)
    	return b
    }
    
    // Compute the content hash for a content-addressable symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/objfile.go

    // Symbol reference.
    type SymRef struct {
    	PkgIdx uint32
    	SymIdx uint32
    }
    
    func (s SymRef) IsZero() bool { return s == SymRef{} }
    
    // Hash64
    type Hash64Type [Hash64Size]byte
    
    const Hash64Size = 8
    
    // Hash
    type HashType [HashSize]byte
    
    const HashSize = 16 // truncated SHA256
    
    // Relocation.
    //
    // Serialized format:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top