< prev index next >

test/jdk/jdk/incubator/vector/templates/Unit-Slice-op.template

Print this page
@@ -1,4 +1,6 @@
+ 
      static $type$[] [[TEST]]($type$[] a, int origin, int idx) {
          $type$[] res = new $type$[SPECIES.length()];
          for (int i = 0; i < SPECIES.length(); i++){
              if(i+origin < SPECIES.length())
                  res[i] = a[idx+i+origin];
< prev index next >