Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HashType (0.34 sec)

  1. src/cmd/internal/codesign/codesign.go

    	nCodeSlots    uint32 // number of ordinary (code) hash slots
    	codeLimit     uint32 // limit to main image signature range
    	hashSize      uint8  // size of each hash in bytes
    	hashType      uint8  // type of hash (cdHashType* constants)
    	_pad1         uint8  // unused (must be zero)
    	pageSize      uint8  // log2(page size in bytes); 0 => infinite
    	_pad2         uint32 // unused (must be zero)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile_test.go

    	r = Addrel(syms[4])
    	r.Sym = syms[0]
    	// s5 references s1
    	r = Addrel(syms[5])
    	r.Sym = syms[1]
    	// s6 references s2
    	r = Addrel(syms[6])
    	r.Sym = syms[2]
    
    	// compute hashes
    	h := make([]goobj.HashType, len(syms))
    	w := &writer{}
    	for i := range h {
    		h[i] = w.contentHash(syms[i])
    	}
    
    	tests := []struct {
    		a, b  int
    		equal bool
    	}{
    		{0, 1, true},  // same contents, no relocs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top