Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MakeHasher (0.16 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    	// parameter lists, we should never encounter a second non-empty type
    	// parameter list when hashing a generic signature.
    	sigTParams *types.TypeParamList
    }
    
    // MakeHasher returns a new Hasher instance.
    func MakeHasher() Hasher {
    	return Hasher{
    		memo:       make(map[types.Type]uint32),
    		ptrMap:     make(map[any]uint32),
    		sigTParams: nil,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top