Home
last modified time | relevance | path

Searched refs:sizeBuffer (Results 1 – 25 of 111) sorted by relevance

12345

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/helpers/
H A Dmemory_management_tests.cpp78 size_t sizeBuffer = 10; in TEST_F() local
79 auto ptr = new (std::nothrow) char[sizeBuffer]; in TEST_F()
85 EXPECT_EQ(sizeBuffer, eventsAllocated[leakIndex].size); in TEST_F()
94 size_t sizeBuffer = 10; in TEST_F() local
96 auto ptr = new (std::nothrow) char[sizeBuffer]; in TEST_F()
112 size_t sizeBuffer = 10; in TEST_F() local
113 auto ptr1 = new (std::nothrow) char[sizeBuffer]; in TEST_F()
114 auto ptr2 = new (std::nothrow) char[sizeBuffer]; in TEST_F()
140 size_t sizeBuffer = 10; in TEST_F() local
142 auto ptr = new (std::nothrow) char[sizeBuffer]; in TEST_F()
[all …]
/dports/lang/oo2c/oo2c_64-2.1.11/lib/src/Codec/
H A DDeflate.Mod47 sizeBuffer = 4*1024;
84 d: ARRAY sizeBuffer OF CHAR;
92 dec.strm.avail_out := sizeBuffer;
95 b.AppendLatin1Region (d, 0, sizeBuffer-dec.strm.avail_out);
99 b.AppendLatin1Region (d, 0, sizeBuffer-dec.strm.avail_out);
138 d: ARRAY sizeBuffer OF CHAR;
147 enc.strm.avail_out := sizeBuffer;
149 b.AppendLatin1Region (d, 0, sizeBuffer-enc.strm.avail_out);
155 d: ARRAY sizeBuffer OF CHAR;
160 enc.strm.avail_out := sizeBuffer;
[all …]
H A DTwofish.Mod112 sizeBuffer = 4*1024;
114 d: ARRAY sizeBuffer+blockSize OF CHAR;
149 IF (dpos >= sizeBuffer) THEN
174 sizeBuffer = 4*1024;
176 d: ARRAY sizeBuffer+blockSize OF CHAR;
213 IF (dpos >= sizeBuffer) THEN
/dports/games/wop/wop-0.4.3/src/
H A Dreplayer.cpp46 Uint8* sizeBuffer = new Uint8[Serialize<Uint32>::sizeOf()]; in Replayer() local
47 m_in.read( reinterpret_cast<char*>( sizeBuffer ), Serialize<Uint32>::sizeOf() ); in Replayer()
48 Uint8* bufferPointer = sizeBuffer; in Replayer()
124 Uint8 sizeBuffer[Serialize<Uint32>::sizeOf()]; in nextFrame() local
137 bufferPointer = sizeBuffer; in nextFrame()
165 bufferPointer = sizeBuffer; in nextFrame()
205 bufferPointer = sizeBuffer; in nextFrame()
536 Uint8 sizeBuffer[Serialize<Uint32>::sizeOf()]; in scanForBookmarks() local
548 bufferPointer = sizeBuffer; in scanForBookmarks()
557 bufferPointer = sizeBuffer; in scanForBookmarks()
[all …]
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/java/src/main/java/com/facebook/thrift/async/
H A DTAsyncMethodCall.java61 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
125 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
231 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
234 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
249 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
256 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
259 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/devel/py-thrift/thrift-0.14.0/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/devel/thrift-cpp/thrift-0.14.0/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/devel/thrift/thrift-0.14.0/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/devel/node-thrift/thrift-0.14.0/lib/java/src/org/apache/thrift/async/
H A DTAsyncMethodCall.java74 private ByteBuffer sizeBuffer; field in TAsyncMethodCall
135 sizeBuffer = ByteBuffer.wrap(sizeBufferArray); in prepareMethodCall()
245 if (transport.read(sizeBuffer) < 0) { in doReadingResponseSize()
248 if (sizeBuffer.remaining() == 0) { in doReadingResponseSize()
263 sizeBuffer.rewind(); // Prepare to read incoming frame size in doWritingRequestBody()
270 if (transport.write(sizeBuffer) < 0) { in doWritingRequestSize()
273 if (sizeBuffer.remaining() == 0) { in doWritingRequestSize()
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDrivers/tilepackage/
H A DBundleReader.cpp89 std::vector<char> sizeBuffer; in readImage() local
90 sizeBuffer.resize(4); in readImage()
91 _in.read(&sizeBuffer[0], 4); in readImage()
92 int size = computeOffset(sizeBuffer); in readImage()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/aub_tests/command_stream/
H A Daub_command_stream_tests.cpp129 size_t sizeBuffer = 0x100001; in HWTEST_F() local
130 auto buffer = new uint8_t[sizeBuffer]; in HWTEST_F()
132 for (size_t index = 0; index < sizeBuffer; ++index) { in HWTEST_F()
138 auto graphicsAllocation = createResidentAllocationAndStoreItInCsr(buffer, sizeBuffer); in HWTEST_F()
142 AUBCommandStreamFixture::expectMemory<FamilyType>(buffer, buffer, sizeBuffer); in HWTEST_F()
/dports/misc/netron/node_modules/electron-updater/out/differentialDownloader/
H A DFileWithEmbeddedBlockMapDifferentialDownloader.js.map1sizeBuffer = Buffer.allocUnsafe(4)\n await read(fd, sizeBuffer, 0, sizeBuffer.length, fileSize …
/dports/math/clblas/clBLAS-2.10/src/library/tools/tune/
H A Dstorage_io.c485 size_t* sizeBuffer) in loadKernelData() argument
491 sizeBuffer[k] = bParam->kSize[k]; in loadKernelData()
494 buffer[k] = malloc(sizeBuffer[k]); in loadKernelData()
497 hfRead(file, buffer[k], 1, sizeBuffer[k]); in loadKernelData()
503 sizeBuffer[k] = 0; in loadKernelData()
514 size_t* sizeBuffer) in loadKernelsFromFile() argument
519 loadKernelData(&file, bParam, buffer, sizeBuffer); in loadKernelsFromFile()
529 size_t* sizeBuffer) in saveKernelData() argument
539 status += hfWrite(file, buffer[k], sizeBuffer[k]); in saveKernelData()
558 size_t sizeBuffer[MAX_CLBLAS_KERNELS_PER_STEP]; in copyKernalData() local
[all …]
/dports/security/snowflake-tor/snowflake-ead5a960d7fa19dc890ccbfc0765c5ab6629eaa9/vendor/github.com/pion/webrtc/v3/pkg/media/oggreader/
H A Doggreader.go147 sizeBuffer := make([]byte, pageHeader.segmentsCount)
148 if _, err = io.ReadFull(o.stream, sizeBuffer); err != nil {
153 for _, s := range sizeBuffer {
177 for _, s := range sizeBuffer {
/dports/lang/oo2c/oo2c_64-2.1.11/src/
H A Dencdec.Mod27 sizeBuffer = 8*1024;
149 (outputBuffer. length >= sizeBuffer DIV 2) THEN
233 (outputBuffer. length >= sizeBuffer DIV 2) THEN
363 d: ARRAY sizeBuffer OF CHAR;
371 len := sizeBuffer-endOfData;
417 d: ARRAY sizeBuffer OF CHAR;
422 b := StringBuffer.NewCapacity (sizeBuffer+256);
424 r.ReadBytes (d, 0, sizeBuffer);
443 d: ARRAY sizeBuffer OF CHAR;
448 b := StringBuffer.NewCapacity (sizeBuffer+256);
[all …]
/dports/multimedia/naludump/naludump-0.1.1/libsi/
H A Dsi.c243 char *String::getText(char *buffer, char *shortVersion, int sizeBuffer, int sizeShortVersion) { in getText() argument
245 if (len < 0 || len >= sizeBuffer) { in getText()
246 strncpy(buffer, "text error", sizeBuffer); in getText()
247 buffer[sizeBuffer-1] = 0; in getText()
251 decodeText(buffer, shortVersion, sizeBuffer, sizeShortVersion); in getText()
444 void String::decodeText(char *buffer, char *shortVersion, int sizeBuffer, int sizeShortVersion) { in decodeText() argument
479 if (to - buffer >= sizeBuffer - 1 || toShort - shortVersion >= sizeShortVersion - 1) in decodeText()
485 char convBuffer[sizeBuffer]; in decodeText()
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/network/test/
H A Dbuffer-test.cc358 uint32_t sizeBuffer = buffer.GetSize (); in DoRun() local
359 NS_TEST_ASSERT_MSG_EQ (sizeBuffer, ct.size(), "Buffer bad size"); in DoRun()
362 uint8_t *cBuf = (uint8_t*) malloc ( sizeBuffer ); in DoRun()
363 uint32_t copyLen = buffer.CopyData (cBuf, sizeBuffer); in DoRun()
364 NS_TEST_ASSERT_MSG_EQ (copyLen, sizeBuffer, "CopyData return bad size"); in DoRun()
365 for (uint8_t i=0; i < sizeBuffer ; i++ ) in DoRun()
/dports/net/nxproxy/nx-libs-3.5.99.20-1/nxcomp/src/
H A DMessage.cpp1624 unsigned char *sizeBuffer = new unsigned char[4 * 2]; in saveStore() local
1699 PutULONG(message -> size_, sizeBuffer, bigEndian); in saveStore()
1708 if (PutData(cachefs, sizeBuffer, 4 * 2) < 0) in saveStore()
1720 md5_append(md5StateStream, sizeBuffer, 4 * 2); in saveStore()
1721 md5_append(md5StateClient, sizeBuffer, 4 * 2); in saveStore()
1853 delete [] sizeBuffer; in saveStore()
1905 unsigned char *sizeBuffer = new unsigned char[4 * 2]; in loadStore() local
1936 if (GetData(cachefs, sizeBuffer, 4 * 2) < 0) in loadStore()
1948 md5_append(md5StateStream, sizeBuffer, 4 * 2); in loadStore()
1967 message -> size_ = GetULONG(sizeBuffer, bigEndian); in loadStore()
[all …]
/dports/x11/nxcomp/nx-libs-3.5.0.32/nxcomp/
H A DMessage.cpp1626 unsigned char *sizeBuffer = new unsigned char[4 * 2]; in saveStore() local
1701 PutULONG(message -> size_, sizeBuffer, bigEndian); in saveStore()
1710 if (PutData(cachefs, sizeBuffer, 4 * 2) < 0) in saveStore()
1722 md5_append(md5StateStream, sizeBuffer, 4 * 2); in saveStore()
1723 md5_append(md5StateClient, sizeBuffer, 4 * 2); in saveStore()
1855 delete [] sizeBuffer; in saveStore()
1907 unsigned char *sizeBuffer = new unsigned char[4 * 2]; in loadStore() local
1938 if (GetData(cachefs, sizeBuffer, 4 * 2) < 0) in loadStore()
1950 md5_append(md5StateStream, sizeBuffer, 4 * 2); in loadStore()
1969 message -> size_ = GetULONG(sizeBuffer, bigEndian); in loadStore()
[all …]
/dports/lang/oo2c/oo2c_64-2.1.11/lib/src/
H A DPosixFileDescr.c361 res = read_bytes(ch, r->pos, ch->sizeBuffer, ch->buf, &bytesRead); in PosixFileDescr__ReaderDesc_ReadByte()
439 res = read_bytes(ch, r->pos, ch->sizeBuffer, ch->buf, &bytesRead); in PosixFileDescr__ReaderDesc_ReadBytes()
454 } else if (n >= ch->sizeBuffer) { in PosixFileDescr__ReaderDesc_ReadBytes()
465 res = read_bytes(ch, r->pos, ch->sizeBuffer, ch->buf, &bytesRead); in PosixFileDescr__ReaderDesc_ReadBytes()
565 (ch->bufEnd - ch->bufStart == ch->sizeBuffer)))) { in PosixFileDescr__WriterDesc_WriteByte()
636 (ch->bufEnd - ch->bufStart == ch->sizeBuffer))) { in PosixFileDescr__WriterDesc_WriteBytes()
646 if (n >= ch->sizeBuffer) { in PosixFileDescr__WriterDesc_WriteBytes()
702 size = ch->sizeBuffer - s; in PosixFileDescr__WriterDesc_WriteBytes()
928 ch->sizeBuffer = size; in PosixFileDescr__Init()
931 ch->sizeBuffer = 0; in PosixFileDescr__Init()

12345