Пример #1
0
 void getResultant(Object buf, int offset, int count) throws MPIException {
   char[] tempArray = (char[]) buf;
   System.arraycopy(arr, offset, tempArray, offset, count);
 }
Пример #2
0
 void createInitialBuffer(Object buf, int offset, int count) throws MPIException {
   char[] tempArray = (char[]) buf;
   arr = new char[tempArray.length];
   System.arraycopy(buf, offset, arr, offset, count);
 }