Home
last modified time | relevance | path

Searched refs:maxSize (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/utils/ABITest/
H A DTypeGen.py331 self.maxSize = int(maxSize)
332 self.W = useIncomplete + useZero + self.maxSize
354 def __init__(self, typeGen, useUnion, maxSize): argument
358 self.maxSize = int(maxSize)
363 if self.maxSize is aleph0:
367 for i in range(self.maxSize+1):
379 def __init__(self, typeGen, useReturn, maxSize): argument
383 self.maxSize = maxSize
387 if self.maxSize is aleph0:
391 for i in range(1,self.maxSize+1+1):
[all …]
H A DEnumeration.py163 def getNthTuple(N, maxSize=aleph0, maxElement=aleph0, useDivmod=False, useLeftToRight=False): argument
174 if maxSize is aleph0:
176 bounds = [maxElement**i for i in range(1, maxSize+1)]
179 S,M = getNthPairBounded(N, maxSize, useDivmod=useDivmod)
181 def getNthTupleChecked(N, maxSize=aleph0, maxElement=aleph0, argument
184 t = GNT(N,maxSize,maxElement,useDivmod,useLeftToRight)
185 assert len(t) <= maxSize
/llvm-project-15.0.7/libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dassert.deallocate.pass.cpp34 const std::size_t maxSize = Traits::max_size(a); in main() local
36 a.deallocate(nullptr, maxSize); // no assertion in main()
37 …TEST_LIBCPP_ASSERT_FAILURE(a.deallocate(nullptr, maxSize + 1), "deallocate called for size which e… in main()
/llvm-project-15.0.7/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
H A Dassert.deallocate.pass.cpp36 std::size_t maxSize = std::numeric_limits<std::size_t>::max() in main() local
39 m1.deallocate(nullptr, maxSize); // no assertion in main()
40 …TEST_LIBCPP_ASSERT_FAILURE(m1.deallocate(nullptr, maxSize + 1), "do_deallocate called for size whi… in main()
/llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dallocate.pass.cpp62 size_t maxSize = Traits::max_size(a); in testAllocForSizeThrows() local
64 a.allocate(maxSize); in testAllocForSizeThrows()
70 if (maxSize != sizeTypeMax) in testAllocForSizeThrows()
80 size_t overSize = maxSize + 1; in testAllocForSizeThrows()
/llvm-project-15.0.7/pstl/test/std/numerics/numeric.ops/
H A Dtransform_reduce.pass.cpp100 std::size_t maxSize = 100000; in test_by_type() local
101 Sequence<T> in1(maxSize, initObj); in test_by_type()
102 Sequence<T> in2(maxSize, initObj); in test_by_type()
104 for (std::size_t n = 0; n < maxSize; n = n < 16 ? n + 1 : size_t(3.1415 * n)) in test_by_type()
/llvm-project-15.0.7/lld/ELF/
H A DWriter.cpp2835 uint64_t maxSize = config->is64 ? INT64_MAX : UINT32_MAX; in openFile() local
2836 if (fileSize != size_t(fileSize) || maxSize < fileSize) { in openFile()