gen/genacorn.c
static const LFSR *find_lfsr(int bit)
{
    unsigned index;
    for (index = 0; index < num_lfsrs; ++index) {
        if (bit >= lfsr[index].start &&
                bit < (lfsr[index].start + lfsr[index].len))
            return &(lfsr[index]);
    }
    return &(lfsr[num_lfsrs - 1]);
}
// Find the information about a specific LFSR.
Find the information about a specific LFSR.
Find the information about a specific LFSR .
static const LFSR *find_lfsr(int bit)
{
    unsigned index;
    for (index = 0; index < num_lfsrs; ++index) {
        if (bit >= lfsr[index].start &&
                bit < (lfsr[index].start + lfsr[index].len))
            return &(lfsr[index]);
    }
    return &(lfsr[num_lfsrs - 1]);
}
static const LFSR * find_lfsr ( int bit ) { unsigned index ; for ( index = 0 ; index < num_lfsrs ; ++ index ) { if ( bit >= lfsr [ index ] . start && bit < ( lfsr [ index ] . start + lfsr [ index ] . len ) ) return & ( lfsr [ index ] ) ; } return & ( lfsr [ num_lfsrs - 1 ] ) ; }
Find the information about a specific LFSR.
Find the information about a specific LFSR .