Lines Matching defs:source
5 * Redistribution and use in source and binary forms, with or without
7 * met: redistributions of source code must retain the above copyright
192 int source = id;
206 unsigned int straight = source;
207 unsigned int reverse = source & 1; // LSB
219 if (source%2 == 0)
220 destination = source/2;
221 else // (source%2 == 1)
222 destination = ((source/2) + (num_destinations/2));
228 if (source < num_destinations/2)
229 destination = source*2;
231 destination = (source*2 - num_destinations + 1);
245 // The source of the packets is a cache.