Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsUintptr (0.12 sec)

  1. src/go/types/conversions.go

    	}
    
    	// package unsafe:
    	// "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
    	if (isPointer(Vu) || isUintptr(Vu)) && isUnsafePointer(Tu) {
    		return true
    	}
    	// "and vice versa"
    	if isUnsafePointer(Vu) && (isPointer(Tu) || isUintptr(Tu)) {
    		return true
    	}
    
    	// "V is a slice, T is an array or pointer-to-array type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/conversions.go

    	}
    
    	// package unsafe:
    	// "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
    	if (isPointer(Vu) || isUintptr(Vu)) && isUnsafePointer(Tu) {
    		return true
    	}
    	// "and vice versa"
    	if isUnsafePointer(Vu) && (isPointer(Tu) || isUintptr(Tu)) {
    		return true
    	}
    
    	// "V is a slice, T is an array or pointer-to-array type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top