Displaying 3 results from an estimated 3 matches for "priu8".
Did you mean:
prius
2007 Jan 30
0
[PATCH][HVM] fix smp guest hang after restore
...imer:"
"bus cycle is %uns, "
- "saved tmict count %lu, period %"PRIu64"ns\n",
- APIC_BUS_CYCLE_NS, tmict, period);
+ "saved tmict count %lu, period %"PRIu64"ns, irq=%"PRIu8"\n",
+ APIC_BUS_CYCLE_NS, tmict, period, s->pt.irq);
}
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2019 Sep 23
2
[PATCH nbdkit v2] server: public: Add nbdkit_parse_* functions for safely parsing integers.
..."0x7f", OK, 0x7f);
+ PARSE (int8_t, "%" PRIi8, "-0x80", OK, -0x80);
+ PARSE (int8_t, "%" PRIi8, "0x80", BAD);
+ PARSE (int8_t, "%" PRIi8, "-0x81", BAD);
+
+ /* Test nbdkit_parse_uint8_t. */
+ PARSE (uint8_t, "%" PRIu8, "0", OK, 0);
+ PARSE (uint8_t, "%" PRIu8, "0xff", OK, 0xff);
+ PARSE (uint8_t, "%" PRIu8, "0x100", BAD);
+ PARSE (uint8_t, "%" PRIu8, "-1", BAD);
+
+ /* Test nbdkit_parse_int16_t. */
+ PARSE (int16_t, "%"...
2019 Sep 23
2
Re: [PATCH nbdkit] server: public: Add nbdkit_parse_* functions for safely parsing integers.
On Mon, Sep 23, 2019 at 12:05:11PM -0500, Eric Blake wrote:
> > + int nbdkit_parse_long (const char *what, const char *str, long *r);
> > + int nbdkit_parse_unsigned_long (const char *what,
> > + const char *str, unsigned long *r);
>
> Do we really want to encourage the use of parse_long and
> parse_unsigned_long? Those differ between