Changeset 1bd2bff


Ignore:
Timestamp:
Aug 8, 2025, 4:10:35 PM (6 weeks ago)
Author:
Alvin Zhang <alvin.zhang@…>
Branches:
master
Children:
c536f9d
Parents:
dc414d7 (diff), ad41cbd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/uw-ethesis.bib

    rdc414d7 r1bd2bff  
    3131
    3232@misc{cxx:raii-abi,
     33    key         = {Itanium},
    3334    title       = {Itanium C++ ABI},
    3435    howpublished= {\url{https://itanium-cxx-abi.github.io/cxx-abi/abi.html}},
  • doc/theses/mike_brooks_MMath/uw-ethesis.tex

    rdc414d7 r1bd2bff  
    9090\newcommand{\cmark}{\ding{51}}
    9191\newcommand{\xmark}{\ding{55}}
     92\usepackage{multirow}
    9293\usepackage[labelformat=simple,aboveskip=0pt,farskip=0pt,font=normalsize]{subfig}
    93 \usepackage{multirow}
    9494\renewcommand\thesubfigure{(\alph{subfigure})}
    9595
     
    115115
    116116\newcommand{\uCpp}{$\mu$\CC}
    117 \newcommand{\PAB}[1]{{\color{red}PAB: #1}}
     117\newcommand{\PAB}[1]{{\color{magenta}PAB: #1}}
    118118\newcommand{\MLB}[1]{{\color{red}MLB: #1}}
    119119
     
    179179\setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all
    180180% even-numbered pages when the "twoside" printing option is selected
    181 \setlength{\oddsidemargin}{0.125in} % Adds 1/8 in. to the left of all pages when "oneside" printing is selected, and to the left of all odd-numbered pages when "twoside" printing is selected
    182 \setlength{\textwidth}{6.375in} % assuming US letter paper (8.5 in. x 11 in.) and side margins as above
     181%\setlength{\oddsidemargin}{0.125in} % Adds 1/8 in. to the left of all pages when "oneside" printing is selected, and to the left of all odd-numbered pages when "twoside" printing is selected
     182%\setlength{\textwidth}{6.375in} % assuming US letter paper (8.5 in. x 11 in.) and side margins as above
    183183\raggedbottom
    184184
  • libcfa/src/collections/list.hfa

    rdc414d7 r1bd2bff  
    1010// Created On       : Wed Apr 22 18:00:00 2020
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Apr 24 18:12:59 2025
    13 // Update Count     : 72
     12// Last Modified On : Thu Aug  7 10:46:08 2025
     13// Update Count     : 75
    1414//
    1515
     
    154154
    155155
    156 
    157 
    158 
    159156forall( tE & ) {
    160157        struct dlink{
    161                 tE * next;
    162                 tE * prev;
     158                tE * next, * prev;
    163159        };
    164160
     
    169165        }
    170166
    171         forall( tLinks & = dlink( tE ) )
    172         struct dlist {
    173                 inline dlink( tE );
    174         };
    175 
    176         forall( tLinks & | embedded( tE, tLinks, dlink( tE ) ) ) {
    177                 static inline tE * $get_list_origin_addr( dlist( tE, tLinks ) & list ) {
    178                         dlink( tE ) & link_from_null = (*(tE *)0p)`inner;
    179                         ptrdiff_t link_offset = (ptrdiff_t)&link_from_null;
    180                         size_t origin_addr = ((size_t)&list) - link_offset;
    181                         size_t preResult = ORIGIN_TAG_SET( origin_addr );
    182                         return (tE *)preResult;
    183                 }
    184 
    185                 static inline void ?{}( dlist( tE, tLinks ) & this ) {
    186                         tE * listOrigin = $get_list_origin_addr( this );
    187                         ((dlink( tE ) &)this){ listOrigin, listOrigin };
     167        forall( tLinks & = dlink( tE ) ) {
     168                struct dlist {
     169                        inline dlink( tE );
     170                };
     171
     172                forall( | embedded( tE, tLinks, dlink( tE ) ) ) {
     173                        static inline tE * $get_list_origin_addr( dlist( tE, tLinks ) & list ) {
     174                                dlink( tE ) & link_from_null = (*(tE *)0p)`inner;
     175                                ptrdiff_t link_offset = (ptrdiff_t)&link_from_null;
     176                                size_t origin_addr = ((size_t)&list) - link_offset;
     177                                size_t preResult = ORIGIN_TAG_SET( origin_addr );
     178                                return (tE *)preResult;
     179                        }
     180
     181                        static inline void ?{}( dlist( tE, tLinks ) & this ) {
     182                                tE * listOrigin = $get_list_origin_addr( this );
     183                                ((dlink( tE ) &)this){ listOrigin, listOrigin };
     184                        }
    188185                }
    189186        }
Note: See TracChangeset for help on using the changeset viewer.