Home
last modified time | relevance | path

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

/samples/watch_queue/
Dwatch_test.c95 size_t largest, len; in consumer() local
97 largest = end - p; in consumer()
98 if (largest > 128) in consumer()
99 largest = 128; in consumer()
100 if (largest < sizeof(struct watch_notification)) { in consumer()
101 fprintf(stderr, "Short message header: %zu\n", largest); in consumer()
104 memcpy(&n, p, largest); in consumer()
110 if (len < sizeof(n.n) || len > largest) { in consumer()
111 fprintf(stderr, "Bad message length: %zu/%zu\n", len, largest); in consumer()