Home
last modified time | relevance | path

Searched refs:CHUNKS (Results 1 - 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/preadv2/
H A Dpreadv203.c51 #define CHUNKS 60 macro
115 off_t off = random() % ((CHUNKS - 2) * CHUNK_SZ); in nowait_reader()
162 for (j = 0; j < CHUNKS && !stop; j++) { in writer_thread()
255 for (j = 0; j < CHUNKS; j++) { in setup()
/third_party/ltp/
H A Drunltp112 [ -g HTMLFILE] [ -i NUM_PROCS ] [ -l LOGFILE ] [ -m NUM_PROCS,CHUNKS,BYTES,HANGUP_FLAG ]
140 -m NUM_PROCS,CHUNKS,BYTES,HANGUP_FLAG
143 [CHUNKS = malloc these many chunks (default is 1 when value 0 or undefined)]
144 [BYTES = malloc CHUNKS of BYTES bytes (default is 256MB when value 0 or undefined) ]
358 m) NUM_PROCS=1; CHUNKS=1; BYTES=$((256 * 1024 * 1024)); HANGUP_FLAG=0
365 2) CHUNKS="$ARGUMENT" ;;
375 if [ "$CHUNKS" -eq 0 ]; then
376 CHUNKS=1
387 $CHUNKS --vm-bytes $BYTES --vm-hang >/dev/null 2>&1 &
391 $CHUNKS
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimgui_internal.h589 template<int CHUNKS>
595 int Offsets[CHUNKS];
596 int Sizes[CHUNKS];
599 inline void Reserve(int n, size_t sz, int a=4) { IM_ASSERT(n == CurrIdx && n < CHUNKS); CurrOff = IM_MEMALIGN(CurrOff, a); Offsets[n] = CurrOff; Sizes[n] = (int)sz; CurrIdx++; CurrOff += (int)sz; }
602 inline void* GetSpanPtrBegin(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); return (void*)(BasePtr + Offsets[n]); }
603 inline void* GetSpanPtrEnd(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); return (void*)(BasePtr + Offsets[n] + Sizes[n]); }

Completed in 9 milliseconds