Home
last modified time | relevance | path

Searched refs:QUEUE_SIZE (Results 1 – 18 of 18) sorted by relevance

/external/libchrome/base/android/javatests/src/org/chromium/base/
DAsyncTaskTest.java50 private static final int QUEUE_SIZE = 40; field in AsyncTaskTest
63 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorRunnables()
69 for (int i = 0; i < QUEUE_SIZE; i++) { in testChromeThreadPoolExecutorRunnables()
88 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorChromeAsyncTask()
94 for (int i = 0; i < QUEUE_SIZE; i++) { in testChromeThreadPoolExecutorChromeAsyncTask()
112 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorOsAsyncTask()
118 for (int i = 0; i < QUEUE_SIZE; i++) { in testChromeThreadPoolExecutorOsAsyncTask()
/external/autotest/server/site_tests/enterprise_CFM_CEC/chameleon_cecservice/
Dit6803.py28 QUEUE_SIZE = 3 variable
39 queue = [[0x00 for i in range(19)] for j in range(QUEUE_SIZE)]
238 if (q_head % QUEUE_SIZE) != (q_tail % QUEUE_SIZE):
241 i = q_tail % QUEUE_SIZE
252 if (q_head % QUEUE_SIZE) == (q_tail % QUEUE_SIZE):
256 rxCecBuf = queue[q_head % QUEUE_SIZE]
/external/python/cpython2/Lib/test/
Dtest_queue.py9 QUEUE_SIZE = 5 variable
103 for i in range(QUEUE_SIZE-1):
107 last = 2 * QUEUE_SIZE
108 full = 3 * 2 * QUEUE_SIZE
125 for i in range(QUEUE_SIZE):
192 q = self.type2test(QUEUE_SIZE)
233 for i in range(QUEUE_SIZE-1):
279 for i in range(QUEUE_SIZE):
314 q = FailingQueue(QUEUE_SIZE)
/external/python/cpython3/Lib/test/
Dtest_queue.py15 QUEUE_SIZE = 5 variable
107 for i in range(QUEUE_SIZE-1):
111 last = 2 * QUEUE_SIZE
112 full = 3 * 2 * QUEUE_SIZE
131 for i in range(QUEUE_SIZE):
203 q = self.type2test(QUEUE_SIZE)
208 q = self.type2test(QUEUE_SIZE)
215 q = self.type2test(QUEUE_SIZE)
216 for i in range(QUEUE_SIZE):
221 for i in range(QUEUE_SIZE):
[all …]
/external/crosvm/fuzz/
Dblock_fuzzer.rs22 const QUEUE_SIZE: u16 = 16; // Max entries in the queue. constant
83 let mut q = Queue::new(QUEUE_SIZE); in test_one_input()
85 q.size = QUEUE_SIZE / 2; in test_one_input()
86 q.max_size = QUEUE_SIZE; in test_one_input()
/external/kernel-headers/original/uapi/linux/
Dcyclades.h470 #define QUEUE_SIZE (10*MAX_CHAN) macro
473 unsigned char intr_code[QUEUE_SIZE];
474 unsigned long channel[QUEUE_SIZE];
475 unsigned long param[QUEUE_SIZE];
/external/ltp/testcases/kernel/fs/read_all/
Dread_all.c48 #define QUEUE_SIZE 16384 macro
57 char data[QUEUE_SIZE];
125 i = (i + 1) % QUEUE_SIZE; in queue_pop()
129 tst_atomic_store((i + 1) % QUEUE_SIZE, &q->front); in queue_pop()
142 i = (i + 1) % QUEUE_SIZE; in queue_push()
/external/crosvm/devices/src/virtio/
Dballoon.rs48 const QUEUE_SIZE: u16 = 128; constant
49 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE, QUEUE_SIZE];
Drng.rs18 const QUEUE_SIZE: u16 = 256; constant
19 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
Dnet.rs28 const QUEUE_SIZE: u16 = 256; constant
29 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE, QUEUE_SIZE];
Dvirtio_pci_common_config.rs232 const QUEUE_SIZE: u16 = 256; constant
233 const QUEUE_SIZES: &'static [u16] = &[QUEUE_SIZE];
Dtpm.rs23 const QUEUE_SIZE: u16 = 2; constant
24 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
Dpmem.rs27 const QUEUE_SIZE: u16 = 256; constant
28 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
Dp9.rs25 const QUEUE_SIZE: u16 = 128; constant
26 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
Dwl.rs109 const QUEUE_SIZE: u16 = 16; constant
110 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE, QUEUE_SIZE];
1512 in_desc_chains: VecDeque::with_capacity(QUEUE_SIZE as usize), in new()
1565 let mut rejects = [0u16; QUEUE_SIZE as usize]; in run()
Dblock.rs34 const QUEUE_SIZE: u16 = 256; constant
35 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
/external/crosvm/devices/src/virtio/vhost/
Dvsock.rs20 const QUEUE_SIZE: u16 = 256; constant
22 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE; NUM_QUEUES];
Dnet.rs23 const QUEUE_SIZE: u16 = 256; constant
25 const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE; NUM_QUEUES];