Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AlgKind (0.06 sec)

  1. src/cmd/compile/internal/types/alg.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import "cmd/compile/internal/base"
    
    // AlgKind describes the kind of algorithms used for comparing and
    // hashing a Type.
    type AlgKind int8
    
    //go:generate stringer -type AlgKind -trimprefix A alg.go
    
    const (
    	AUNK   AlgKind = iota
    	ANOEQ          // Types cannot be compared
    	ANOALG         // implies ANOEQ, and in addition has a part that is marked Noalg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/algkind_string.go

    var _AlgKind_index = [...]uint8{0, 3, 7, 12, 15, 19, 23, 28, 33, 38, 44, 50, 55, 63, 70, 77, 83, 90, 97}
    
    func (i AlgKind) String() string {
    	if i < 0 || i >= AlgKind(len(_AlgKind_index)-1) {
    		return "AlgKind(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _AlgKind_name[_AlgKind_index[i]:_AlgKind_index[i+1]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top