Ignore:
Timestamp:
Apr 25, 2025, 7:39:09 AM (6 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
65bd3c2
Parents:
b195498
Message:

change backquote call to regular call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/zombies/hashtable2.cfa

    rb195498 r6b33e89  
    149149        dlist(request_in_ht_by_src, request) & bucket = buckets[ bucket_of(this, k) ];
    150150
    151         for ( request_in_ht_by_src * item = & $tempcv_e2n(bucket`first);  item != 0p;  item = & $tempcv_e2n((*item)`next) ) {
     151        for ( request_in_ht_by_src * item = & $tempcv_e2n(first( bucket ));  item != 0p;  item = & $tempcv_e2n((*item)`next) ) {
    152152            if ( key(*item) == k ) {
    153153                return *item;
     
    177177        dlist(request_in_ht_by_src, request) & bucket = buckets[ bucket_of(this, k) ];
    178178
    179         for ( request_in_ht_by_src * item = & $tempcv_e2n(bucket`first);  item != 0p;  item = & $tempcv_e2n((*item)`next) ) {
     179        for ( request_in_ht_by_src * item = & $tempcv_e2n(first( bucket ));  item != 0p;  item = & $tempcv_e2n((*item)`next) ) {
    180180            if ( key(*item) == k ) {
    181181                remove(*item);
     
    257257
    258258    // will re-implement as an actual splice
    259     while ( & src_to_empty`first != 0p ) {
     259    while ( & src_to_first( empty ) != 0p ) {
    260260        insert_last( snk_to_fill_at_last, pop_first( src_to_empty ) );
    261261    }
     
    319319
    320320        // fill new table with old items
    321         while ( & items`first != 0p ) {
     321        while ( &first( items ) != 0p ) {
    322322            put( this, pop_first( items ) );
    323323        }
Note: See TracChangeset for help on using the changeset viewer.