Lines Matching refs:b
37 public static void oneConstantIndex(int[] a, int[] b) { in oneConstantIndex() argument
40 a[i] = b[1]; in oneConstantIndex()
57 public static void multipleConstantIndices(int[] a, int[] b) { in multipleConstantIndices() argument
60 a[i] = b[0] + b[1] + b[2]; in multipleConstantIndices()
75 public static void oneInvariantIndex(int[] a, int[] b, int c) { in oneInvariantIndex() argument
78 a[i] = b[c]; in oneInvariantIndex()
96 public static void multipleInvariantIndices(int[] a, int[] b, int c) { in multipleInvariantIndices() argument
99 a[i] = b[c-1] + b[c] + b[c+1]; in multipleInvariantIndices()
115 public static void oneUnitStride(int[] a, int[] b) { in oneUnitStride() argument
118 a[i] = b[i]; in oneUnitStride()
143 public static void multipleUnitStrides(int[] a, int[] b) { in multipleUnitStrides() argument
148 a[i] = b[i-1] + b[i] + b[i+1]; in multipleUnitStrides()
175 public static void multipleUnitStridesConditional(int[] a, int[] b) { in multipleUnitStridesConditional() argument
180 int t = b[i-2] + b[i] + b[i+2] + (((i & 1) == 0) ? b[i+1] : b[i-1]); in multipleUnitStridesConditional()
297 int b[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; in main() local
300 oneConstantIndex(a, b); in main()
310 multipleConstantIndices(a, b); in main()
320 oneInvariantIndex(a, b, 1); in main()
330 multipleInvariantIndices(a, b, 1); in main()
340 oneUnitStride(a, b); in main()
351 multipleUnitStrides(a, b); in main()
361 multipleUnitStridesConditional(a, b); in main()