mustFillWithSpecifiedEmptyEntry() — netty Function Reference
Architecture documentation for the mustFillWithSpecifiedEmptyEntry() function in MpscIntQueueTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1015a955_9b31_ef9b_460a_d872795f2b1b["mustFillWithSpecifiedEmptyEntry()"] 2f8fac33_f55f_0fc9_f32d_1ea7e135b2ad["MpscIntQueueTest"] 1015a955_9b31_ef9b_460a_d872795f2b1b -->|defined in| 2f8fac33_f55f_0fc9_f32d_1ea7e135b2ad style 1015a955_9b31_ef9b_460a_d872795f2b1b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/MpscIntQueueTest.java lines 25–36
@ParameterizedTest
@ValueSource(ints = {1, 7, 8, 15, 16, 17})
void mustFillWithSpecifiedEmptyEntry(int size) throws Exception {
MpscIntQueue queue = MpscIntQueue.create(size, -1);
int filled = queue.fill(size, () -> 42);
assertEquals(size, filled);
for (int i = 0; i < size; i++) {
assertEquals(42, queue.poll());
}
assertEquals(-1, queue.poll());
assertTrue(queue.isEmpty());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does mustFillWithSpecifiedEmptyEntry() do?
mustFillWithSpecifiedEmptyEntry() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/MpscIntQueueTest.java.
Where is mustFillWithSpecifiedEmptyEntry() defined?
mustFillWithSpecifiedEmptyEntry() is defined in common/src/test/java/io/netty/util/concurrent/MpscIntQueueTest.java at line 25.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free