Created
June 16, 2009 22:39
-
-
Save methodmissing/130953 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct st_table { | |
| struct st_hash_type *type; | |
| int num_bins = 11; | |
| int num_entries = 1; | |
| struct st_table_entry **bins; | |
| }; | |
| struct st_table { | |
| struct st_hash_type *type; | |
| int num_bins = 283; | |
| int num_entries = 814; | |
| struct st_table_entry **bins; | |
| }; | |
| struct st_table { | |
| struct st_hash_type *type; | |
| int num_bins = 283; | |
| int num_entries = 814; | |
| struct st_table_entry **bins; | |
| }; | |
| struct st_table { | |
| struct st_hash_type *type; | |
| int num_bins = 283; | |
| int num_entries = 814; | |
| struct st_table_entry **bins; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pid$target::st_lookup:entry { | |
| self->num_bins = (xlate < st_table_t * > (((st_table_t *)arg0)))->num_bins; | |
| self->num_entries = (xlate < st_table_t * > (((st_table_t *)arg0)))->num_entries; | |
| self->key = arg1; | |
| self->value = *(uint32_t *)copyin(arg2, 4); | |
| printf( "struct st_table {\n" ); | |
| printf( " struct st_hash_type *type;\n" ); | |
| printf( " int num_bins = %d;\n", self->num_bins ); | |
| printf( " int num_entries = %d;\n", self->num_entries ); | |
| printf( " struct st_table_entry **bins;\n" ); | |
| printf( "};\n" ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment