/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/src/System/Drawing/ |
H A D | GdiPlusStreamHelper.Unix.cs | 55 private byte[] managedBuf; field in System.Drawing.GdiPlusStreamHelper 60 managedBuf = new byte[default_bufsize]; in GdiPlusStreamHelper() 118 if (bufsz > managedBuf.Length) in StreamGetBytesImpl() 119 managedBuf = new byte[bufsz]; in StreamGetBytesImpl() 133 Array.Copy(start_buf, start_buf_pos, managedBuf, 0, bufsz); in StreamGetBytesImpl() 153 bytesRead += stream.Read(managedBuf, bytesRead, bufsz); in StreamGetBytesImpl() 163 Marshal.Copy(managedBuf, 0, (IntPtr)(buf.ToInt64()), bytesRead); in StreamGetBytesImpl() 258 if (bufsz > managedBuf.Length) in StreamPutBytesImpl() 259 managedBuf = new byte[bufsz]; in StreamPutBytesImpl() 260 Marshal.Copy(buf, managedBuf, 0, bufsz); in StreamPutBytesImpl() [all …]
|
/dports/devel/spark/spark-2.1.1/common/network-common/src/test/java/org/apache/spark/network/protocol/ |
H A D | MessageWithHeaderSuite.java | 56 ManagedBuffer managedBuf = new NettyManagedBuffer(bodyPassedToNettyManagedBuffer); in testByteBufBody() local 58 Object body = managedBuf.convertToNetty(); in testByteBufBody() 62 MessageWithHeader msg = new MessageWithHeader(managedBuf, header, body, managedBuf.size()); in testByteBufBody() 76 ManagedBuffer managedBuf = Mockito.spy(new TestManagedBuffer(84)); in testDeallocateReleasesManagedBuffer() local 77 ByteBuf body = (ByteBuf) managedBuf.convertToNetty(); in testDeallocateReleasesManagedBuffer() 79 MessageWithHeader msg = new MessageWithHeader(managedBuf, header, body, body.readableBytes()); in testDeallocateReleasesManagedBuffer() 81 Mockito.verify(managedBuf, Mockito.times(1)).release(); in testDeallocateReleasesManagedBuffer()
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/GPU/Common/ |
H A D | SplineCommon.cpp | 320 …ints::ControlPoints(const SimpleVertex *const *points, int size, SimpleBufferManager &managedBuf) { in ControlPoints() argument 321 pos = (Vec3f *)managedBuf.Allocate(sizeof(Vec3f) * size); in ControlPoints() 322 tex = (Vec2f *)managedBuf.Allocate(sizeof(Vec2f) * size); in ControlPoints() 323 col = (Vec4f *)managedBuf.Allocate(sizeof(Vec4f) * size); in ControlPoints() 501 SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE / 2); in SubmitCurve() local 515 …SimpleVertex *simplified_control_points = (SimpleVertex *)managedBuf.Allocate(sizeof(SimpleVertex)… in SubmitCurve() 521 u8 *temp_buffer = managedBuf.Allocate(sizeof(SimpleVertex) * num_points); in SubmitCurve() 538 …const SimpleVertex **points = (const SimpleVertex **)managedBuf.Allocate(sizeof(SimpleVertex *) * … in SubmitCurve() 556 ControlPoints cpoints(points, num_points, managedBuf); in SubmitCurve()
|
H A D | SplineCommon.h | 195 ControlPoints(const SimpleVertex *const *points, int size, SimpleBufferManager &managedBuf);
|
/dports/emulators/ppsspp/ppsspp-1.12.3/GPU/Common/ |
H A D | SplineCommon.cpp | 320 …ints::ControlPoints(const SimpleVertex *const *points, int size, SimpleBufferManager &managedBuf) { in ControlPoints() argument 321 pos = (Vec3f *)managedBuf.Allocate(sizeof(Vec3f) * size); in ControlPoints() 322 tex = (Vec2f *)managedBuf.Allocate(sizeof(Vec2f) * size); in ControlPoints() 323 col = (Vec4f *)managedBuf.Allocate(sizeof(Vec4f) * size); in ControlPoints() 501 SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE / 2); in SubmitCurve() local 515 …SimpleVertex *simplified_control_points = (SimpleVertex *)managedBuf.Allocate(sizeof(SimpleVertex)… in SubmitCurve() 521 u8 *temp_buffer = managedBuf.Allocate(sizeof(SimpleVertex) * num_points); in SubmitCurve() 538 …const SimpleVertex **points = (const SimpleVertex **)managedBuf.Allocate(sizeof(SimpleVertex *) * … in SubmitCurve() 556 ControlPoints cpoints(points, num_points, managedBuf); in SubmitCurve()
|
H A D | SplineCommon.h | 195 ControlPoints(const SimpleVertex *const *points, int size, SimpleBufferManager &managedBuf);
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/GPU/Common/ |
H A D | SplineCommon.cpp | 320 …ints::ControlPoints(const SimpleVertex *const *points, int size, SimpleBufferManager &managedBuf) { in ControlPoints() argument 321 pos = (Vec3f *)managedBuf.Allocate(sizeof(Vec3f) * size); in ControlPoints() 322 tex = (Vec2f *)managedBuf.Allocate(sizeof(Vec2f) * size); in ControlPoints() 323 col = (Vec4f *)managedBuf.Allocate(sizeof(Vec4f) * size); in ControlPoints() 501 SimpleBufferManager managedBuf(decoded, DECODED_VERTEX_BUFFER_SIZE / 2); in SubmitCurve() local 515 …SimpleVertex *simplified_control_points = (SimpleVertex *)managedBuf.Allocate(sizeof(SimpleVertex)… in SubmitCurve() 521 u8 *temp_buffer = managedBuf.Allocate(sizeof(SimpleVertex) * num_points); in SubmitCurve() 538 …const SimpleVertex **points = (const SimpleVertex **)managedBuf.Allocate(sizeof(SimpleVertex *) * … in SubmitCurve() 556 ControlPoints cpoints(points, num_points, managedBuf); in SubmitCurve()
|
H A D | SplineCommon.h | 195 ControlPoints(const SimpleVertex *const *points, int size, SimpleBufferManager &managedBuf);
|
/dports/devel/spark/spark-2.1.1/common/network-common/src/main/java/org/apache/spark/network/protocol/ |
H A D | ChunkFetchSuccess.java | 64 NettyManagedBuffer managedBuf = new NettyManagedBuffer(buf.duplicate()); in decode() local 65 return new ChunkFetchSuccess(streamChunkId, managedBuf); in decode()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Drawing/System.Drawing/ |
H A D | gdipFunctions.cs | 1728 private byte[] managedBuf; field in System.Drawing.GDIPlus.GdiPlusStreamHelper 1733 managedBuf = new byte [default_bufsize]; in GdiPlusStreamHelper() 1780 if (bufsz > managedBuf.Length) in StreamGetBytesImpl() 1781 managedBuf = new byte[bufsz]; in StreamGetBytesImpl() 1791 Array.Copy(start_buf, start_buf_pos, managedBuf, 0, bufsz); in StreamGetBytesImpl() 1807 bytesRead += stream.Read (managedBuf, bytesRead, bufsz); in StreamGetBytesImpl() 1814 Marshal.Copy (managedBuf, 0, (IntPtr) (buf.ToInt64()), bytesRead); in StreamGetBytesImpl() 1889 if (bufsz > managedBuf.Length) in StreamPutBytesImpl() 1890 managedBuf = new byte[bufsz]; in StreamPutBytesImpl() 1891 Marshal.Copy (buf, managedBuf, 0, bufsz); in StreamPutBytesImpl() [all …]
|