Searched refs:keysincopy (Results 1 – 1 of 1) sorted by relevance
324 PetscInt *keysincopy = NULL; in PetscParallelSortInt() local343 PetscCall(PetscMalloc1(mapin->n, &keysincopy)); in PetscParallelSortInt()344 PetscCall(PetscArraycpy(keysincopy, keysin, mapin->n)); in PetscParallelSortInt()345 keysin = keysincopy; in PetscParallelSortInt()356 PetscCall(PetscFree(keysincopy)); in PetscParallelSortInt()