Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AMEM (0.04 sec)

  1. src/cmd/compile/internal/types/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?)
    	AMEM8
    	AMEM16
    	AMEM32
    	AMEM64
    	AMEM128
    	ASTRING
    	AINTER
    	ANILINTER
    	AFLOAT32
    	AFLOAT64
    	ACPLX64
    	ACPLX128
    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

    	// 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]
    	_ = x[AFLOAT32-13]
    	_ = x[AFLOAT64-14]
    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

    		default:
    			t.intRegs = math.MaxUint8
    			t.floatRegs = math.MaxUint8
    		}
    		switch a := t.Elem().alg; a {
    		case AMEM, ANOEQ, ANOALG:
    			t.setAlg(a)
    		default:
    			switch t.NumElem() {
    			case 0:
    				// We checked above that the element type is comparable.
    				t.setAlg(AMEM)
    			case 1:
    				// Single-element array is same as its lone element.
    				t.setAlg(a)
    			default:
    				t.setAlg(ASPECIAL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    	t.width = int64(PtrSize)
    	t.align = uint8(PtrSize)
    	t.intRegs = 1
    	if NewPtrCacheEnabled {
    		elem.cache.ptr = t
    	}
    	if elem.HasShape() {
    		t.SetHasShape(true)
    	}
    	t.alg = AMEM
    	if elem.Noalg() {
    		t.SetNoalg(true)
    		t.alg = ANOALG
    	}
    	// Note: we can't check elem.NotInHeap here because it might
    	// not be set yet. See size.go:PtrDataSize.
    	t.ptrBytes = int64(PtrSize)
    	return t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top