Home
last modified time | relevance | path

Searched refs:max_size (Results 51 - 75 of 332) sorted by relevance

12345678910>>...14

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DPoolAlloc.h96 size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } in max_size() function in pool_allocator
97 size_type max_size(int size) const { return static_cast<size_type>(-1) / size; } in max_size() function in pool_allocator
/third_party/python/Lib/test/
H A Dtest_tempfile.py1076 def do_create(self, max_size=0, dir=None, pre="", suf=""):
1079 file = tempfile.SpooledTemporaryFile(max_size=max_size, dir=dir, prefix=pre, suffix=suf)
1088 f = self.do_create(max_size=100, pre="a", suf=".txt")
1119 f = tempfile.SpooledTemporaryFile(max_size=10, dir=dir)
1135 f = self.do_create(max_size=10)
1148 f = self.do_create(max_size=2)
1160 # A SpooledTemporaryFile can be written to multiple within the max_size
1161 f = self.do_create(max_size=30)
1169 # A SpooledTemporaryFile should hold exactly max_size byte
[all...]
/third_party/optimized-routines/string/bench/
H A Dmemcpy.c138 init_copies (size_t max_size) in init_copies() argument
145 copy[i].dst = (rand32 (0) & (max_size - 1)); in init_copies()
147 copy[i].src = (rand32 (0) & (max_size - 1)); in init_copies()
/third_party/ffmpeg/libavfilter/
H A Daf_speechnorm.c200 static double min_gain(AVFilterContext *ctx, ChannelContext *cc, int max_size) in min_gain() argument
209 while (size <= max_size) { in min_gain()
348 int max_size = 1; \
359 max_size = FFMAX(max_size, cc->pi_size); \
368 gain = FFMIN(gain, min_gain(ctx, cc, max_size)); \
/third_party/libwebsockets/plugins/deaddrop/
H A Dprotocol_lws_deaddrop.c72 unsigned long long max_size; member
312 if (pss->file_length > pss->vhd->max_size) { in file_upload_cb()
407 vhd->max_size = 20 * 1024 * 1024; /* default without pvo */ in callback_deaddrop()
410 vhd->max_size = (unsigned long long)atoll(cp); in callback_deaddrop()
420 vhd->max_size); in callback_deaddrop()
509 "{\"max_size\":%llu, \"files\": [", in callback_deaddrop()
510 vhd->max_size); in callback_deaddrop()
/third_party/ffmpeg/libavcodec/
H A Dlclenc.c74 int max_size = deflateBound(zstream, avctx->width * avctx->height * 3); in encode_frame() local
76 if ((ret = ff_alloc_packet(avctx, pkt, max_size)) < 0) in encode_frame()
H A Dvaapi_h264.c84 int max_size; ///< Max number of reference frames. This is FF_ARRAY_ELEMS(VAPictureParameterBufferH264.ReferenceFrames) member
98 if (dpb->size >= dpb->max_size) in dpb_add()
132 dpb.max_size = FF_ARRAY_ELEMS(pic_param->ReferenceFrames); in fill_vaapi_ReferenceFrames()
134 for (i = 0; i < dpb.max_size; i++) in fill_vaapi_ReferenceFrames()
/third_party/skia/third_party/externals/angle2/src/common/
H A DFixedVector_unittest.cpp68 EXPECT_EQ(vec.size(), vec.max_size()); in TEST()
96 EXPECT_EQ(5u, vec.max_size()); in TEST()
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
H A Dfuzzer.cc47 size_t max_size, in LLVMFuzzerCustomMutator()
78 if (result.wgsl.size() > max_size) { in LLVMFuzzerCustomMutator()
45 LLVMFuzzerCustomMutator(uint8_t* data, size_t size, size_t max_size, unsigned seed) LLVMFuzzerCustomMutator() argument
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/
H A Dfuzzer.cc57 size_t max_size, in LLVMFuzzerCustomMutator()
111 if (wgsl_code.size() > max_size) { in LLVMFuzzerCustomMutator()
55 LLVMFuzzerCustomMutator(uint8_t* data, size_t size, size_t max_size, unsigned seed) LLVMFuzzerCustomMutator() argument
/third_party/backends/backend/
H A Dkvs20xx_cmd.c306 void *buf, unsigned max_size, unsigned *size) in kvs20xx_read_image_data()
320 c.data_size = max_size < MAX_READ_DATA_SIZE ? max_size : MAX_READ_DATA_SIZE; in kvs20xx_read_image_data()
305 kvs20xx_read_image_data(struct scanner * s, unsigned page, unsigned side, void *buf, unsigned max_size, unsigned *size) kvs20xx_read_image_data() argument
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dftest05.c89 static off64_t max_size; /* max file size */ variable
149 max_size = K_1 * K_1; in setup()
264 nchunks = max_size / csize; in dotest()
H A Dftest08.c82 static off64_t max_size; /* max file size */ variable
138 max_size = K_1 * K_1; in init()
240 nchunks = max_size / (testers * csize); in dotest()
H A Dftest04.c74 static int max_size; /* max file size */ variable
133 max_size = K_1 * K_1; in setup()
227 nchunks = max_size / (testers * csize); in dotest()
H A Dftest01.c85 static int max_size; /* max file size */ variable
141 max_size = K_1 * K_1; in setup()
264 nchunks = max_size / csize; in dotest()
/third_party/gn/src/base/files/
H A Dfile_util.h118 // file before the error occurred. When the file size exceeds |max_size|, the
120 // |max_size|.
125 size_t max_size);
263 int ReadFile(const FilePath& filename, char* data, int max_size);
/third_party/alsa-utils/axfer/
H A Dcontainer-au.c188 .max_size = UINT32_MAX,
197 .max_size = UINT32_MAX,
H A Dcontainer-riff-wave.c484 if (byte_count > cntr->max_size - total_byte_count) in write_riff_chunk_for_wave()
485 total_byte_count = cntr->max_size; in write_riff_chunk_for_wave()
553 .max_size = UINT32_MAX -
565 .max_size = UINT32_MAX -
/third_party/musl/libc-test/src/functional/
H A Dtest-iterate.c64 uintptr_t max_size = end - iterate_arg->allocs[i]; in iterate_callback() local
65 iterate_arg->reported_sizes[i] = MIN(size, max_size); in iterate_callback()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dbtree_set.h147 // btree_set::max_size()
153 using Base::max_size;
469 // btree_multiset::max_size()
475 using Base::max_size;
/third_party/node/test/fixtures/wpt/wasm/jsapi/
H A Dwasm-module-builder.js662 constructor(module, type, initial_size, max_size) {
666 this.has_max = max_size != undefined;
667 this.max_size = max_size;
745 addTable(type, initial_size, max_size = undefined) {
749 let table = new WasmTableBuilder(this, type, initial_size, max_size);
866 if (table.has_max && table_size > table.max_size) {
867 table.max_size = table_size;
971 if (table.has_max) section.emit_u32v(table.max_size);
/third_party/python/Lib/
H A Dtempfile.py688 def __init__(self, max_size=0, mode='w+b', buffering=-1,
698 self._max_size = max_size
709 max_size = self._max_size
710 if max_size and file.tell() > max_size:
/third_party/ffmpeg/libavformat/
H A Daiffdec.c396 int64_t max_size; in aiff_read_packet() local
400 max_size = aiff->data_end - avio_tell(s->pb); in aiff_read_packet()
401 if (max_size <= 0) in aiff_read_packet()
422 size = FFMIN(max_size, size); in aiff_read_packet()
/third_party/libbpf/src/
H A Dringbuf.c543 __u32 avail_size, total_size, max_size; in user_ring_buffer__reserve() local
559 max_size = rb->mask + 1; in user_ring_buffer__reserve()
560 avail_size = max_size - (prod_pos - cons_pos); in user_ring_buffer__reserve()
564 if (total_size > max_size) in user_ring_buffer__reserve()
/third_party/json/include/nlohmann/detail/input/
H A Djson_sax.hpp233 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_object()
265 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_array()
423 if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_object()
493 if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_array()

Completed in 17 milliseconds

12345678910>>...14