Changeset 1e121f4 for _old/app/src/lib/symtab.cc
- Timestamp:
- 10/26/10 10:57:54 (14 years ago)
- Branches:
- master
- Children:
- a6e708f
- Parents:
- f712e16
- git-author:
- Adam Kędziora <s301614@…> (10/26/10 10:57:54)
- git-committer:
- Adam Kędziora <s301614@…> (10/26/10 10:57:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_old/app/src/lib/symtab.cc
r57728c1 r1e121f4 1 1 #include "symtab.h" 2 2 #include <values.h> 3 #include <stdio.h> 4 #include <malloc.h> 5 #include <stdlib.h> 3 #include <cstdio> 4 //#include <alloc.h> 5 #include <cstdlib> 6 using namespace std; 6 7 //--------------------------------------------------------------------------- 7 8 … … 158 159 strncpy((char*)&i2,s+(l/2-2),sizeof(int)); 159 160 strncpy((char*)&i3,s+(l-4),sizeof(int)); 160 return abs((i1+i2+i3) % _sz); 161 //return abs((i1+i2+i3) % _sz); 162 return (i1+i2+i3) % _sz; 161 163 } 162 164 else
Note: See TracChangeset
for help on using the changeset viewer.