Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ANOEQ (0.05 sec)

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

    // 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
    	AMEM           // Type can be compared/hashed as regular memory.
    	AMEM0          // Specific subvariants of AMEM (TODO: move to ../reflectdata?)
    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

    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[AUNK-0]
    	_ = x[ANOEQ-1]
    	_ = x[ANOALG-2]
    	_ = x[AMEM-3]
    	_ = x[AMEM0-4]
    	_ = x[AMEM8-5]
    	_ = x[AMEM16-6]
    	_ = x[AMEM32-7]
    	_ = x[AMEM64-8]
    	_ = x[AMEM128-9]
    	_ = x[ASTRING-10]
    	_ = x[AINTER-11]
    	_ = x[ANILINTER-12]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/size.go

    		}
    		w = 1 // anything will do
    
    	case TMAP: // implemented as pointer
    		w = int64(PtrSize)
    		t.intRegs = 1
    		CheckSize(t.Elem())
    		CheckSize(t.Key())
    		t.setAlg(ANOEQ)
    		t.ptrBytes = int64(PtrSize)
    
    	case TFORW: // should have been filled in
    		base.Fatalf("invalid recursive type %v", t)
    
    	case TANY: // not a real type; should be replaced before use.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top