search for: align_

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

Did you mean: align
2006 Dec 30
0
[809] trunk/wxsugar/lib/wx_sugar/layout.rb: Fix default sizers to arrange_vertically, add padding on specified sides
.../span><span class="cx"> </span><span class="cx"> </span><del>- if layout_hints[:align] </del><ins>+ if align = layout_hints[:align] </ins><span class="cx"> begin </span><del>- align_const = Wx::const_get(''ALIGN_'' << layout_hints[:align].to_s.upcase) </del><ins>+ align_const = Wx::const_get(''ALIGN_'' << align.to_s.upcase) </ins><span class="cx"> layout = layout | align_const </span...
2023 Jun 20
1
[libnbd PATCH v4 4/4] internal: Refactor layout of replies in sbuf
...at the same offsets; > + * provide aliases for one less level of typing. > + */ > + struct { > + uint32_t magic; > + uint32_t pad_; > + uint64_t cookie; > + }; > + } hdr; > union { > uint64_t align_; /* Start sr.payload on an 8-byte alignment */ > struct nbd_structured_reply_offset_data offset_data; > @@ -250,7 +260,7 @@ struct nbd_handle { > uint64_t offset; /* Only used for NBD_REPLY_TYPE_ERROR_OFFSET */ > } NBD_ATTRIBUTE_PACKED error; > } p...
2023 Jun 09
4
[libnbd PATCH v4 0/4] Saner reply header layout
This was v3 patch 2/22, reworked to address the confusion about how a structured reply header is read in two pieces before getting to the payload portion. I'm still working on rebasing the rest of my v3 series (patches 1, 3-22) from other comments given, but this seemed independent enough that it's worth posting now rather than holding it up for the rest of the series. Eric Blake (4):