Ignore:
Timestamp:
Nov 19, 2020, 11:47:00 PM (4 years ago)
Author:
alain
Message:

Cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/grdxt.c

    r657 r671  
    8282        uint32_t   ix3;
    8383
    84 assert( (rt != NULL) , "pointer on radix tree is NULL\n" );
     84assert( __FUNCTION__, (rt != NULL) , "pointer on radix tree is NULL\n" );
    8585
    8686        for( ix1=0 ; ix1 < (uint32_t)(1 << w1) ; ix1++ )
     
    136136
    137137// Check key value
    138 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
     138assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
    139139
    140140    // compute indexes
     
    202202
    203203// Check key value
    204 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
     204assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
    205205
    206206    // compute indexes
     
    244244
    245245// Check key value
    246 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
     246assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
    247247
    248248    void         ** ptr1 = rt->root;
     
    284284
    285285// Check key value
    286 assert( ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key );
     286assert( __FUNCTION__, ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key );
    287287
    288288    // compute max indexes
     
    407407        for( ix2=0 ; ix2 < (uint32_t)(1 << w2) ; ix2++ )
    408408        {
    409             // get ptr2
     409            // get ptr3
    410410            ptr3 = hal_remote_lpt( XPTR( rt_cxy , &ptr2[ix2] ) );
    411411
     
    470470
    471471// Check key value
    472 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
     472assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
    473473
    474474    // compute indexes
     
    585585
    586586// Check key value
    587 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
     587assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
    588588
    589589    // compute indexes
     
    628628
    629629// Check key value
    630 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
     630assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );
    631631
    632632    // compute indexes
     
    678678
    679679// Check key value
    680 assert( ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key );
     680assert( __FUNCTION__, ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key );
    681681
    682682    // compute min indexes
     
    734734
    735735// check rt_xp
    736 assert( (rt_xp != XPTR_NULL) , "pointer on radix tree is NULL\n" );
     736assert( __FUNCTION__, (rt_xp != XPTR_NULL) , "pointer on radix tree is NULL\n" );
    737737
    738738    // get cluster and local pointer on remote rt descriptor
Note: See TracChangeset for help on using the changeset viewer.