/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.java | 77 long remainingBytes = in.size(); in transferFileToUserChannel() local 78 long size = remainingBytes; in transferFileToUserChannel() 101 while (remainingBytes > 0) { in transferFileToUserChannel() 102 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToUserChannel() 103 Math.min(CHUNK_SIZE, remainingBytes), wbc); in transferFileToUserChannel() 105 remainingBytes -= bytesTransferred; in transferFileToUserChannel() 112 long remainingBytes = in.size(); in transferFileToTrustedChannel() local 113 long size = remainingBytes; in transferFileToTrustedChannel() 116 while (remainingBytes > 0) { in transferFileToTrustedChannel() 117 long bytesTransferred = in.transferTo(size - remainingBytes, in transferFileToTrustedChannel() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/storage-manager/src/ |
H A D | SessionManager.cpp | 267 uint remainingBytes = 0; in start() local 275 remainingBytes = state.remainingBytes; in start() 276 memcpy(recv_buffer, state.remainingData, remainingBytes); in start() 281 …akLength = ::recv(fds[socketIncr].fd, &recv_buffer[remainingBytes], sizeof(recv_buffer)-remainingB… in start() 291 assert(remainingBytes < SM_HEADER_LEN); in start() 293 state.remainingBytes = remainingBytes; in start() 294 memcpy(state.remainingData, recv_buffer, remainingBytes); in start() 299 endOfData = remainingBytes + peakLength; in start() 304 remainingBytes = endOfData; in start() 339 remainingBytes = endOfData - i; in start() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/storage-manager/src/ |
H A D | SessionManager.cpp | 267 uint remainingBytes = 0; in start() local 275 remainingBytes = state.remainingBytes; in start() 276 memcpy(recv_buffer, state.remainingData, remainingBytes); in start() 281 …akLength = ::recv(fds[socketIncr].fd, &recv_buffer[remainingBytes], sizeof(recv_buffer)-remainingB… in start() 291 assert(remainingBytes < SM_HEADER_LEN); in start() 293 state.remainingBytes = remainingBytes; in start() 294 memcpy(state.remainingData, recv_buffer, remainingBytes); in start() 299 endOfData = remainingBytes + peakLength; in start() 304 remainingBytes = endOfData; in start() 339 remainingBytes = endOfData - i; in start() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/go.opentelemetry.io/collector/processor/probabilisticsamplerprocessor/ |
H A D | probabilisticsampler.go | 183 var remainingBytes uint32 186 remainingBytes += uint32(key[iByte+2]) << 16 189 remainingBytes += uint32(key[iByte+1]) << 8 192 remainingBytes += uint32(key[iByte]) 193 remainingBytes *= c1 194 remainingBytes = (remainingBytes << r1) | (remainingBytes >> (32 - r1)) 195 remainingBytes *= c2 196 hash ^= remainingBytes
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/utils/cloudio/ |
H A D | SocketPool.cpp | 141 uint remainingBytes = 0; in send_recv() local 149 err = ::read(sock, &window[remainingBytes], 8192 - remainingBytes); in send_recv() 157 uint endOfData = remainingBytes + err; // for clarity in send_recv() 164 remainingBytes = endOfData; in send_recv() 180 remainingBytes = endOfData - i; in send_recv() 181 memmove(window, &window[i], remainingBytes); in send_recv() 194 …remainingBytes = resp->payloadLen - (endOfData - startOfPayload); // remainingBytes is now the … in send_recv() 201 while (remainingBytes > 0) in send_recv() 203 err = ::read(sock, &outbuf[resp->payloadLen - remainingBytes], remainingBytes); in send_recv() 205 remainingBytes -= err; in send_recv()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/utils/cloudio/ |
H A D | SocketPool.cpp | 141 uint remainingBytes = 0; in send_recv() local 149 err = ::read(sock, &window[remainingBytes], 8192 - remainingBytes); in send_recv() 157 uint endOfData = remainingBytes + err; // for clarity in send_recv() 164 remainingBytes = endOfData; in send_recv() 180 remainingBytes = endOfData - i; in send_recv() 181 memmove(window, &window[i], remainingBytes); in send_recv() 194 …remainingBytes = resp->payloadLen - (endOfData - startOfPayload); // remainingBytes is now the … in send_recv() 201 while (remainingBytes > 0) in send_recv() 203 err = ::read(sock, &outbuf[resp->payloadLen - remainingBytes], remainingBytes); in send_recv() 205 remainingBytes -= err; in send_recv()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Linux/ |
H A D | SdlSoundManager.cpp | 127 int remainingBytes = (_bufferSize - _readPosition); in ReadFromBuffer() local 128 memcpy(output, _buffer+_readPosition, remainingBytes); in ReadFromBuffer() 129 memcpy(output+remainingBytes, _buffer, len - remainingBytes); in ReadFromBuffer() 130 _readPosition = len - remainingBytes; in ReadFromBuffer() 144 int remainingBytes = _bufferSize - _writePosition; in WriteToBuffer() local 145 memcpy(_buffer+_writePosition, input, remainingBytes); in WriteToBuffer() 146 memcpy(_buffer, ((uint8_t*)input)+remainingBytes, len - remainingBytes); in WriteToBuffer() 147 _writePosition = len - remainingBytes; in WriteToBuffer()
|
/dports/games/openspades/openspades-0.1.3/Sources/Core/ |
H A D | OpusAudioStream.cpp | 154 uint64_t remainingBytes = bytes; in Read() local 158 std::min(remainingBytes, static_cast<uint64_t>(channels * 4 - subsamplePosition)); in Read() 163 remainingBytes -= copied; in Read() 171 while (remainingBytes >= channels * 4) { in Read() 172 uint64_t numSamples = remainingBytes / (channels * 4); in Read() 191 remainingBytes -= numSamples * (channels * 4); in Read() 194 if (remainingBytes) { in Read() 204 static_cast<size_t>(remainingBytes)); in Read() 206 subsamplePosition = static_cast<int>(remainingBytes); in Read()
|
/dports/emulators/mgba/mgba-0.9.2/src/gb/sio/ |
H A D | printer.c | 30 printer->remainingBytes = 0; in GBPrinterInit() 100 printer->remainingBytes = printer->byte; in GBPrinterWriteSC() 105 printer->remainingBytes |= printer->byte << 8; in GBPrinterWriteSC() 106 if (printer->remainingBytes) { in GBPrinterWriteSC() 131 --printer->remainingBytes; in GBPrinterWriteSC() 132 if (!printer->remainingBytes) { in GBPrinterWriteSC() 143 --printer->remainingBytes; in GBPrinterWriteSC() 144 if (!printer->remainingBytes) { in GBPrinterWriteSC() 154 --printer->remainingBytes; in GBPrinterWriteSC() 155 if (!printer->remainingBytes) { in GBPrinterWriteSC()
|
/dports/games/libretro-mgba/mgba-6186d45/src/gb/sio/ |
H A D | printer.c | 30 printer->remainingBytes = 0; in GBPrinterInit() 100 printer->remainingBytes = printer->byte; in GBPrinterWriteSC() 105 printer->remainingBytes |= printer->byte << 8; in GBPrinterWriteSC() 106 if (printer->remainingBytes) { in GBPrinterWriteSC() 131 --printer->remainingBytes; in GBPrinterWriteSC() 132 if (!printer->remainingBytes) { in GBPrinterWriteSC() 143 --printer->remainingBytes; in GBPrinterWriteSC() 144 if (!printer->remainingBytes) { in GBPrinterWriteSC() 154 --printer->remainingBytes; in GBPrinterWriteSC() 155 if (!printer->remainingBytes) { in GBPrinterWriteSC()
|
/dports/games/scummvm/scummvm-2.5.1/engines/twine/resources/ |
H A D | lzss.cpp | 48 int32 remainingBytes = (int32)dataSize; in decodeLZSS() local 62 if (remainingBytes < length) { in decodeLZSS() 66 remainingBytes -= length; in decodeLZSS() 72 if (remainingBytes < length) { in decodeLZSS() 76 remainingBytes -= length; in decodeLZSS()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libawt/java2d/pipe/ |
H A D | BufferedRenderPipe.c | 52 jint remainingBytes, remainingSpans; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() local 98 remainingBytes = limit - bpos; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 99 remainingSpans = remainingBytes / BYTES_PER_SPAN; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 123 remainingBytes = limit - bpos; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 124 remainingSpans = remainingBytes / BYTES_PER_SPAN; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/swift/Sources/ |
H A D | TFramedTransport.swift | 31 private var remainingBytes = 0 variable 45 remainingBytes = Int(decodeFrameSize(data: read)) in readHeader() 51 while (remainingBytes <= 0) { in read() 55 let toRead = min(size, remainingBytes) in read() 69 remainingBytes -= data.count in read()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libawt/java2d/pipe/ |
H A D | BufferedRenderPipe.c | 52 jint remainingBytes, remainingSpans; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() local 98 remainingBytes = limit - bpos; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 99 remainingSpans = remainingBytes / BYTES_PER_SPAN; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 123 remainingBytes = limit - bpos; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 124 remainingSpans = remainingBytes / BYTES_PER_SPAN; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libawt/java2d/pipe/ |
H A D | BufferedRenderPipe.c | 52 jint remainingBytes, remainingSpans; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() local 98 remainingBytes = limit - bpos; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 99 remainingSpans = remainingBytes / BYTES_PER_SPAN; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 123 remainingBytes = limit - bpos; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans() 124 remainingSpans = remainingBytes / BYTES_PER_SPAN; in Java_sun_java2d_pipe_BufferedRenderPipe_fillSpans()
|
/dports/devel/py-thrift/thrift-0.14.0/lib/swift/Sources/ |
H A D | TFramedTransport.swift | 31 private var remainingBytes = 0 variable 45 remainingBytes = Int(decodeFrameSize(data: read)) in readHeader() 51 while (remainingBytes <= 0) { in read() 55 let toRead = min(size, remainingBytes) in read() 69 remainingBytes -= data.count in read()
|