Home
last modified time | relevance | path

Searched refs:sizeHint (Results 1 – 19 of 19) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/Buffers/
DArrayBufferWriter.cs162 public Memory<T> GetMemory(int sizeHint = 0) in GetMemory() argument
164 CheckAndResizeBuffer(sizeHint); in GetMemory()
185 public Span<T> GetSpan(int sizeHint = 0) in GetSpan() argument
187 CheckAndResizeBuffer(sizeHint); in GetSpan()
192 private void CheckAndResizeBuffer(int sizeHint) in CheckAndResizeBuffer() argument
194 if (sizeHint < 0) in CheckAndResizeBuffer()
195 throw new ArgumentException(nameof(sizeHint)); in CheckAndResizeBuffer()
197 if (sizeHint == 0) in CheckAndResizeBuffer()
199 sizeHint = 1; in CheckAndResizeBuffer()
202 if (sizeHint > FreeCapacity) in CheckAndResizeBuffer()
[all …]
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DSliceBufferSafeHandle.cs74 public Memory<byte> GetMemory(int sizeHint = 0) in GetMemory() argument
76 EnsureBufferSpace(sizeHint); in GetMemory()
86 public unsafe Span<byte> GetSpan(int sizeHint = 0) in GetSpan() argument
88 EnsureBufferSpace(sizeHint); in GetSpan()
133 private void EnsureBufferSpace(int sizeHint) in EnsureBufferSpace() argument
135 GrpcPreconditions.CheckArgument(sizeHint >= 0); in EnsureBufferSpace()
136 if (sizeHint == 0) in EnsureBufferSpace()
146 else if (tailSpaceLen < sizeHint) in EnsureBufferSpace()
149 AdjustTailSpace(sizeHint); in EnsureBufferSpace()
/third_party/gettext/gettext-tools/examples/hello-c++-kde/
Dhellowindow.cc55 button->setMaximumWidth (button->sizeHint().width() + 20); in HelloMainWindow()
57 panel->resize (panel->sizeHint ()); in HelloMainWindow()
/third_party/gettext/gettext-tools/examples/hello-c++-qt/
Dhello.cc58 button->setMaximumWidth (button->sizeHint().width() + 20); in main()
61 panel->resize (panel->sizeHint ()); in main()
/third_party/lz4/tests/
Dfullbench.c375 …size_t const sizeHint = LZ4F_decompress(g_dCtx, dst+outPos, &outRemaining, src+inPos, &inSize, NUL… in local_LZ4F_decompress_followHint() local
376 assert(!LZ4F_isError(sizeHint)); in local_LZ4F_decompress_followHint()
379 inSize = sizeHint; in local_LZ4F_decompress_followHint()
384 if (!sizeHint) break; in local_LZ4F_decompress_followHint()
409 …size_t const sizeHint = LZ4F_decompress(g_dCtx, dst+outPos, &outRemaining, src+inPos, &inSize, NUL… in local_LZ4F_decompress_noHint() local
410 assert(!LZ4F_isError(sizeHint)); in local_LZ4F_decompress_noHint()
418 if (!sizeHint) break; in local_LZ4F_decompress_noHint()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DSliceBufferSafeHandleTest.cs110 public void SliceBuffer_BigPayload(int sizeHint) in SliceBuffer_BigPayload() argument
119 var destSpan = sliceBuffer.GetSpan(sizeHint); in SliceBuffer_BigPayload()
/third_party/pulseaudio/src/utils/
Dqpaeq83 self.setMinimumSize(self.sizeHint())
153 self.setMinimumSize(self.sizeHint())
279 self.sink_box.setMinimumSize(self.sink_box.sizeHint())
337 w=new_widget.sizeHint().width()
375 … self.layout().setColumnMinimumWidth(c,max(label.sizeHint().width(),slider.sizeHint().width()))
469 self.setMinimumSize(self.sizeHint())
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dwpagui.ui166 <property name="sizeHint" >
200 <property name="sizeHint" >
227 <property name="sizeHint" >
261 <property name="sizeHint" >
Deventhistory.ui37 <property name="sizeHint" >
Dscanresults.ui64 <property name="sizeHint" >
Duserdatarequest.ui60 <property name="sizeHint" >
Dnetworkconfig.ui384 <property name="sizeHint" >
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dwpagui.ui166 <property name="sizeHint" >
200 <property name="sizeHint" >
227 <property name="sizeHint" >
261 <property name="sizeHint" >
Deventhistory.ui37 <property name="sizeHint" >
Dscanresults.ui64 <property name="sizeHint" >
Duserdatarequest.ui60 <property name="sizeHint" >
Dnetworkconfig.ui384 <property name="sizeHint" >
/third_party/gettext/gettext-tools/examples/hello-java-qtjambi/
DHello.java43 button.setMaximumWidth(button.sizeHint().width()+20); in main()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp698 IVec4 getMaxImageSize (const VkImageViewType viewType, const IVec4& sizeHint) in getMaxImageSize() argument
702 sizeHint.x() != MAX_SIZE ? sizeHint.x() : 4096, in getMaxImageSize()
703 sizeHint.y() != MAX_SIZE ? sizeHint.y() : 4096, in getMaxImageSize()
704 sizeHint.z() != MAX_SIZE ? sizeHint.z() : 256, in getMaxImageSize()
705 sizeHint.w() != MAX_SIZE ? sizeHint.w() : 256); in getMaxImageSize()