Ignore:
Timestamp:
Jan 17, 2025, 3:46:34 PM (13 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master, stuck-waitfor-destruct
Children:
df56e25
Parents:
3b340d68
Message:

expunge fallthru keyword and replace its usages with fallthrough

Location:
tests/concurrency/actors
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/actors/dynamic.cfa

    r3b340d68 rd96f7c4  
    3737                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
    3838                        Times = ato( argv[1] );
    39                         if ( Times < 1 ) fallthru default;
     39                        if ( Times < 1 ) fallthrough default;
    4040                } // if
    4141          case 1:                                                                                       // use defaults
  • tests/concurrency/actors/executor.cfa

    r3b340d68 rd96f7c4  
    4141                if ( strcmp( argv[6], "d" ) != 0 ) {                    // default ?
    4242                        BufSize = ato( argv[6] );
    43                         if ( BufSize < 0 ) fallthru default;
     43                        if ( BufSize < 0 ) fallthrough default;
    4444                } // if
    4545          case 6:
    4646                if ( strcmp( argv[5], "d" ) != 0 ) {                    // default ?
    4747                        Batch = ato( argv[5] );
    48                         if ( Batch < 1 ) fallthru default;
     48                        if ( Batch < 1 ) fallthrough default;
    4949                } // if
    5050          case 5:
    5151                if ( strcmp( argv[4], "d" ) != 0 ) {                    // default ?
    5252                        Processors = ato( argv[4] );
    53                         if ( Processors < 1 ) fallthru default;
     53                        if ( Processors < 1 ) fallthrough default;
    5454                } // if
    5555          case 4:
    5656                if ( strcmp( argv[3], "d" ) != 0 ) {                    // default ?
    5757                        Rounds = ato( argv[3] );
    58                         if ( Rounds < 1 ) fallthru default;
     58                        if ( Rounds < 1 ) fallthrough default;
    5959                } // if
    6060          case 3:
    6161                if ( strcmp( argv[2], "d" ) != 0 ) {                    // default ?
    6262                        Set = ato( argv[2] );
    63                         if ( Set < 1 ) fallthru default;
     63                        if ( Set < 1 ) fallthrough default;
    6464                } // if
    6565          case 2:
    6666                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
    6767                        Actors = ato( argv[1] );
    68                         if ( Actors < 1 || Actors <= Set || Actors % Set != 0 ) fallthru default;
     68                        if ( Actors < 1 || Actors <= Set || Actors % Set != 0 ) fallthrough default;
    6969                } // if
    7070          case 1:                                                                                       // use defaults
  • tests/concurrency/actors/matrixMultiply.cfa

    r3b340d68 rd96f7c4  
    3939                if ( strcmp( argv[4], "d" ) != 0 ) {                    // default ?
    4040                        Processors = ato( argv[4] );
    41                         if ( Processors < 1 ) fallthru default;
     41                        if ( Processors < 1 ) fallthrough default;
    4242                } // if
    4343          case 4:
    4444                if ( strcmp( argv[3], "d" ) != 0 ) {                    // default ?
    4545                        xr = ato( argv[3] );
    46                         if ( xr < 1 ) fallthru default;
     46                        if ( xr < 1 ) fallthrough default;
    4747                } // if
    4848          case 3:
    4949                if ( strcmp( argv[2], "d" ) != 0 ) {                    // default ?
    5050                        xc = ato( argv[2] );
    51                         if ( xc < 1 ) fallthru default;
     51                        if ( xc < 1 ) fallthrough default;
    5252                } // if
    5353          case 2:
    5454                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
    5555                        yc = ato( argv[1] );
    56                         if ( yc < 1 ) fallthru default;
     56                        if ( yc < 1 ) fallthrough default;
    5757                } // if
    5858          case 1:                                                                                       // use defaults
  • tests/concurrency/actors/static.cfa

    r3b340d68 rd96f7c4  
    3434                if ( strcmp( argv[1], "d" ) != 0 ) {                    // default ?
    3535                        Times = ato( argv[1] );
    36                         if ( Times < 1 ) fallthru default;
     36                        if ( Times < 1 ) fallthrough default;
    3737                } // if
    3838          case 1:                                                                                       // use defaults
Note: See TracChangeset for help on using the changeset viewer.