Home
last modified time | relevance | path

Searched refs:bufferSizeInBytes (Results 1 – 23 of 23) sorted by relevance

/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/async/
DAsyncRequestBodySplitConfiguration.java34 .bufferSizeInBytes(DEFAULT_BUFFER_SIZE)
38 private final Long bufferSizeInBytes; field in AsyncRequestBodySplitConfiguration
42 …this.bufferSizeInBytes = Validate.isPositiveOrNull(builder.bufferSizeInBytes, "bufferSizeInBytes"); in AsyncRequestBodySplitConfiguration()
59 public Long bufferSizeInBytes() { in bufferSizeInBytes() method in AsyncRequestBodySplitConfiguration
60 return bufferSizeInBytes; in bufferSizeInBytes()
84 return Objects.equals(bufferSizeInBytes, that.bufferSizeInBytes); in equals()
90 result = 31 * result + (bufferSizeInBytes != null ? bufferSizeInBytes.hashCode() : 0); in hashCode()
118 Builder bufferSizeInBytes(Long bufferSizeInBytes); in bufferSizeInBytes() argument
123 private Long bufferSizeInBytes; field in AsyncRequestBodySplitConfiguration.DefaultBuilder
127 this.bufferSizeInBytes = asyncRequestBodySplitConfiguration.bufferSizeInBytes; in DefaultBuilder()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageQualifiersTests.cpp319 virtual void prepareResources(const VkDeviceSize bufferSizeInBytes) = 0;
323 …andsBeforeCompute(const VkCommandBuffer cmdBuffer, const VkDeviceSize bufferSizeInBytes) const = 0;
325 …mandsAfterCompute(const VkCommandBuffer cmdBuffer, const VkDeviceSize bufferSizeInBytes) const = 0;
359 …const VkDeviceSize bufferSizeInBytes = getNumPixels(m_imageType, m_imageSize) * tcu::getPixelSize(… in iterate() local
362 prepareResources(bufferSizeInBytes); in iterate()
389 commandsBeforeCompute(*cmdBuffer, bufferSizeInBytes); in iterate()
394 commandsAfterCompute(*cmdBuffer, bufferSizeInBytes); in iterate()
478 virtual void prepareResources(const VkDeviceSize bufferSizeInBytes);
482 …commandsBeforeCompute(const VkCommandBuffer cmdBuffer, const VkDeviceSize bufferSizeInBytes) const;
484 … commandsAfterCompute(const VkCommandBuffer cmdBuffer, const VkDeviceSize bufferSizeInBytes) const;
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DReadAheadInputStream.java188 public ReadAheadInputStream(final InputStream inputStream, final int bufferSizeInBytes) { in ReadAheadInputStream() argument
189 this(inputStream, bufferSizeInBytes, newExecutorService(), true); in ReadAheadInputStream()
201 …public ReadAheadInputStream(final InputStream inputStream, final int bufferSizeInBytes, final Exec… in ReadAheadInputStream() argument
202 this(inputStream, bufferSizeInBytes, executorService, false); in ReadAheadInputStream()
213 …private ReadAheadInputStream(final InputStream inputStream, final int bufferSizeInBytes, final Exe… in ReadAheadInputStream() argument
216 if (bufferSizeInBytes <= 0) { in ReadAheadInputStream()
217 …mentException("bufferSizeInBytes should be greater than 0, but the value is " + bufferSizeInBytes); in ReadAheadInputStream()
221 this.activeBuffer = ByteBuffer.allocate(bufferSizeInBytes); in ReadAheadInputStream()
222 this.readAheadBuffer = ByteBuffer.allocate(bufferSizeInBytes); in ReadAheadInputStream()
/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/async/
DSplittingPublisher.java49 private final long bufferSizeInBytes; field in SplittingPublisher
59 this.bufferSizeInBytes = splitConfiguration.bufferSizeInBytes() == null ? in SplittingPublisher()
60 … AsyncRequestBodySplitConfiguration.defaultConfiguration().bufferSizeInBytes() : in SplittingPublisher()
61 splitConfiguration.bufferSizeInBytes(); in SplittingPublisher()
66 Validate.isTrue(bufferSizeInBytes >= chunkSizeInBytes, in SplittingPublisher()
229 return buffered == 0 || buffered + byteBufferSizeHint <= bufferSizeInBytes; in shouldRequestMoreData()
DFileAsyncRequestBodySplitHelper.java69 this.totalBufferSize = splitConfiguration.bufferSizeInBytes() == null ? in FileAsyncRequestBodySplitHelper()
70 … AsyncRequestBodySplitConfiguration.defaultConfiguration().bufferSizeInBytes() : in FileAsyncRequestBodySplitHelper()
71 splitConfiguration.bufferSizeInBytes(); in FileAsyncRequestBodySplitHelper()
/external/walt/android/WALT/app/src/main/jni/
Dplayer.c63 static unsigned int bufferSizeInBytes = 0; variable
83 bufferSizeInBytes = framesPerBuffer * sizeof(*beepBuffer); in createWaveTables()
84 silenceBuffer = malloc(bufferSizeInBytes); in createWaveTables()
85 beepBuffer = malloc(bufferSizeInBytes); in createWaveTables()
92 bufferSizeInBytes); in createWaveTables()
122 bufferSizeInBytes); in bqPlayerCallback()
127 bufferSizeInBytes); in bqPlayerCallback()
155 bufferSizeInBytes); in Java_org_chromium_latency_walt_AudioTest_playTone()
327 result = (*bqPlayerBufferQueue)->Enqueue(bqPlayerBufferQueue, silenceBuffer, bufferSizeInBytes); in Java_org_chromium_latency_walt_AudioTest_startWarmTest()
/external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/async/
DAsyncRequestBodyConfigurationTest.java44 .bufferSizeInBytes(size) in nonPositiveValue_shouldThrowException()
52 … .bufferSizeInBytes(1L) in toBuilder_shouldCopyAllFields()
/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DWebRtcAudioRecord.java311 int bufferSizeInBytes = Math.max(BUFFER_SIZE_FACTOR * minBufferSize, byteBuffer.capacity()); in initRecording() local
312 Logging.d(TAG, "bufferSizeInBytes: " + bufferSizeInBytes); in initRecording()
318 audioSource, sampleRate, channelConfig, audioFormat, bufferSizeInBytes); in initRecording()
327 audioSource, sampleRate, channelConfig, audioFormat, bufferSizeInBytes); in initRecording()
422 int audioSource, int sampleRate, int channelConfig, int audioFormat, int bufferSizeInBytes) { in createAudioRecordOnMOrHigher() argument
431 .setBufferSizeInBytes(bufferSizeInBytes) in createAudioRecordOnMOrHigher()
436 int audioSource, int sampleRate, int channelConfig, int audioFormat, int bufferSizeInBytes) { in createAudioRecordOnLowerThanM() argument
438 return new AudioRecord(audioSource, sampleRate, channelConfig, audioFormat, bufferSizeInBytes); in createAudioRecordOnLowerThanM()
DWebRtcAudioTrack.java423 int bufferSizeInBytes, @Nullable AudioAttributes overrideAttributes) { in createAudioTrackBeforeOreo() argument
434 bufferSizeInBytes, AudioTrack.MODE_STREAM, AudioManager.AUDIO_SESSION_ID_GENERATE); in createAudioTrackBeforeOreo()
444 int bufferSizeInBytes, @Nullable AudioAttributes overrideAttributes) { in createAudioTrackOnOreoOrHigher() argument
456 .setBufferSizeInBytes(bufferSizeInBytes) in createAudioTrackOnOreoOrHigher()
/external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/
DSplittingPublisherTest.java79 … .bufferSizeInBytes(5L) in split_contentUnknownMaxMemorySmallerThanChunkSize_shouldThrowException()
112 .bufferSizeInBytes(10L) in contentLengthNotPresent_shouldHandle()
154 … .bufferSizeInBytes((long) chunkSize * 4) in verifySplitContent()
DFileAsyncRequestBodySplitHelperTest.java72 .bufferSizeInBytes(55L) in split_differentChunkSize_shouldSplitCorrectly()
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioRecord.java266 int bufferSizeInBytes = Math.max(BUFFER_SIZE_FACTOR * minBufferSize, byteBuffer.capacity()); in initRecording() local
267 Logging.d(TAG, "bufferSizeInBytes: " + bufferSizeInBytes); in initRecording()
270 AudioFormat.ENCODING_PCM_16BIT, bufferSizeInBytes); in initRecording()
DWebRtcAudioTrack.java360 int sampleRateInHz, int channelConfig, int bufferSizeInBytes) { in createAudioTrack() argument
384 bufferSizeInBytes, in createAudioTrack()
/external/tensorflow/tensorflow/core/util/
Dcuda_sparse.cc249 size_t* bufferSizeInBytes) { in Gtsv2BufferSizeExtImpl() argument
252 AsCudaComplex(B), ldb, bufferSizeInBytes)); in Gtsv2BufferSizeExtImpl()
260 const Scalar* B, int ldb, size_t* bufferSizeInBytes) const { \
264 n, dl, d, du, B, ldb, bufferSizeInBytes); \
273 const Scalar* B, int ldb, size_t* bufferSizeInBytes) const { \
277 *gpusparse_handle_, m, n, dl, d, du, B, ldb, bufferSizeInBytes); \
312 int batchStride, size_t* bufferSizeInBytes) { in Gtsv2StridedBatchBufferSizeImpl() argument
316 bufferSizeInBytes)); in Gtsv2StridedBatchBufferSizeImpl()
325 size_t* bufferSizeInBytes) const { \
330 bufferSizeInBytes); \
Dcuda_sparse.h221 size_t* bufferSizeInBytes) const;
237 size_t* bufferSizeInBytes) const;
255 size_t* bufferSizeInBytes) const;
/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/multipart/
DUploadWithUnknownContentLengthHelper.java78 .bufferSizeInBytes(maxMemoryUsageInBytes)); in uploadObject()
DUploadWithKnownContentLengthHelper.java127 .bufferSizeInBytes(maxMemoryUsageInBytes)) in doUploadInParts()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/cuda/
Dcusparse_11_0.inc692 size_t *bufferSizeInBytes) {
702 betatype, y, ytype, executiontype, bufferSizeInBytes);
3150 const float *du, const float *B, int ldb, size_t *bufferSizeInBytes) {
3156 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
3161 const double *du, const double *B, int ldb, size_t *bufferSizeInBytes) {
3167 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
3173 size_t *bufferSizeInBytes) {
3179 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
3185 const cuDoubleComplex *B, int ldb, size_t *bufferSizeInBytes) {
3192 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
[all …]
Dcusparse_10_0.inc845 size_t *bufferSizeInBytes) {
855 betatype, y, ytype, executiontype, bufferSizeInBytes);
4146 const float *du, const float *B, int ldb, size_t *bufferSizeInBytes) {
4152 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4157 const double *du, const double *B, int ldb, size_t *bufferSizeInBytes) {
4163 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4169 size_t *bufferSizeInBytes) {
4175 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4181 const cuDoubleComplex *B, int ldb, size_t *bufferSizeInBytes) {
4188 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
[all …]
Dcusparse_9_0.inc845 size_t *bufferSizeInBytes) {
855 betatype, y, ytype, executiontype, bufferSizeInBytes);
3893 const float *du, const float *B, int ldb, size_t *bufferSizeInBytes) {
3899 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
3904 const double *du, const double *B, int ldb, size_t *bufferSizeInBytes) {
3910 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
3916 size_t *bufferSizeInBytes) {
3922 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
3928 const cuDoubleComplex *B, int ldb, size_t *bufferSizeInBytes) {
3935 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
[all …]
Dcusparse_10_1.inc855 size_t *bufferSizeInBytes) {
865 betatype, y, ytype, executiontype, bufferSizeInBytes);
4117 const float *du, const float *B, int ldb, size_t *bufferSizeInBytes) {
4123 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4128 const double *du, const double *B, int ldb, size_t *bufferSizeInBytes) {
4134 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4140 size_t *bufferSizeInBytes) {
4146 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4152 const cuDoubleComplex *B, int ldb, size_t *bufferSizeInBytes) {
4159 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
[all …]
Dcusparse_10_2.inc855 size_t *bufferSizeInBytes) {
865 betatype, y, ytype, executiontype, bufferSizeInBytes);
4117 const float *du, const float *B, int ldb, size_t *bufferSizeInBytes) {
4123 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4128 const double *du, const double *B, int ldb, size_t *bufferSizeInBytes) {
4134 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4140 size_t *bufferSizeInBytes) {
4146 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
4152 const cuDoubleComplex *B, int ldb, size_t *bufferSizeInBytes) {
4159 return func_ptr(handle, m, n, dl, d, du, B, ldb, bufferSizeInBytes);
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_utils.mm338 GLuint bufferSizeInBytes;
340 size.height, bufferRowInBytes, &bufferSizeInBytes))
345 *bytesPerImageOut = bufferSizeInBytes;