コード例 #1
0
 public static unsafe nint CreateBufferWithProperties <T0>(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan <INTEL> properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span <T0> host_ptr, [Flow(FlowDirection.Out)] Span <int> errcode_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()));
 }
コード例 #2
0
 public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void *host_ptr, [Flow(FlowDirection.Out)] Span <int> errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateBufferWithProperties(context, properties, flags, size, host_ptr, out errcode_ret.GetPinnableReference()));
 }
コード例 #3
0
 public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan <INTEL> properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void *host_ptr, [Flow(FlowDirection.Out)] int *errcode_ret)
 {
     // SpanOverloader
     return(thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, host_ptr, errcode_ret));
 }
 public static unsafe IntPtr CreateBufferWithProperties <T0>(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL *properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span <T0> host_ptr, [Flow(FlowDirection.Out)] int *errcode_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.CreateBufferWithProperties(context, properties, flags, size, out host_ptr.GetPinnableReference(), errcode_ret));
 }