summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/09_1.c
blob: 805521b25bfc387ad9590f80947c3313c12a31a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int data[10];    /* some data */
int twice[10];   /* twice some data */

main()
{
    int index;   /* index into the data */

    for (index = 0; index < 10; index++) {
        data[index] = index;
        twice[index] = index * 2;
    }
    return (0);
}
span class='insertions'>+13 2017-02-08mlxsw: spectrum_router: Determine offload status using generic functionIdo Schimmel1-1/+1 2017-02-08mlxsw: spectrum_router: More accurately set offload flagIdo Schimmel1-20/+80 2017-02-08mlxsw: spectrum_router: Refactor nexthop init routineIdo Schimmel1-31/+49 2017-02-08mlxsw: spectrum_router: Remove FIB info from FIB entry structIdo Schimmel1-3/+1 2017-02-08mlxsw: spectrum_router: Store routes in a more generic wayIdo Schimmel1-13/+27 2017-02-08mlxsw: spectrum_router: Add gateway indication to nexthop groupIdo Schimmel1-1/+8 2017-02-08mlxsw: spectrum_router: Use nexthop's scope to set action typeIdo Schimmel1-1/+1 2017-02-08mlxsw: spectrum_router: Store nexthops in a hash tableIdo Schimmel2-4/+55 2017-02-08mlxsw: spectrum_router: Store nexthop groups in a hash tableIdo Schimmel2-52/+54 2017-02-08mlxsw: spectrum_router: Nullify nexthop's neigh pointerIdo Schimmel1-2/+3 2017-02-08mlxsw: acl: Fix mlxsw_afa_block_commit error pathJiri Pirko