search for: get_meta

Displaying 3 results from an estimated 3 matches for "get_meta".

2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
If a volume is not an exact multiple of 512 bytes, qemu-img will report its size rounded down to a 512 byte boundary. However, when copying, the file is still read until EOF, which will return more data than was expected. This change prevents that causing a failure in itself. The situation is still not resolved, however, as there are still situations where this will cause a failure. For example,
2015 Dec 11
1
How do I reliably and efficiently hash a function?
In addition to what Charles wrote, you can also use 'local' if you don't want a function that creates another function. > f <- local({info <- 10; function(x) x + info}) > f(3) [1] 13 best, Mark Op vr 11 dec. 2015 om 03:27 schreef Charles C. Berry <ccberry at ucsd.edu>: > On Thu, 10 Dec 2015, Konrad Rudolph wrote: > > > I?ve got the following scenario:
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...al_type; } + + void is_name_type(bool value) { meta.is_name_type = value; } + bool is_name_type() const { return meta.is_name_type; } + + void is_objcproto_name(bool value) { meta.is_objcproto_name = value; } + bool is_objcproto_name() { return meta.is_objcproto_name; } + + node_meta get_meta() const { return meta; } + + void print(stream& s) const { + print_left(s); + if (has_rhs_component()) + print_right(s); + } + virtual void print_left(stream& s) const = 0; + virtual void print_right(stream&) const {} + + virtual string_ref get_ba...