Update the copyright. Add the fix from Tim Mattox regarding the computation
of the upper bound. This commit was SVN r24060.
Этот коммит содержится в:
родитель
74927c7ab0
Коммит
d997ef4f49
@ -55,7 +55,7 @@ static size_t opal_datatype_memop_block_size = 128 * 1024;
|
||||
#define MEMMOVE(d, s, l) \
|
||||
do { \
|
||||
if( (((d) < (s)) && (((d) + (l)) > (s))) || \
|
||||
(((s) < (d)) && (((s) + (l)) > (s))) ) { \
|
||||
(((s) < (d)) && (((s) + (l)) > (d))) ) { \
|
||||
memmove( (d), (s), (l) ); \
|
||||
} else { \
|
||||
MEMCPY( (d), (s), (l) ); \
|
||||
|
@ -1,8 +1,9 @@
|
||||
/* -*- Mode: C; c-basic-offset:4 ; -*- */
|
||||
/*
|
||||
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2010 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -42,7 +43,7 @@ static inline void _predefined_data( const dt_elem_desc_t* ELEM,
|
||||
size_t* SPACE )
|
||||
{
|
||||
uint32_t _copy_count = (COUNT);
|
||||
size_t _copy_blength;
|
||||
size_t _copy_blength;
|
||||
const ddt_elem_desc_t* _elem = &((ELEM)->elem);
|
||||
unsigned char* _source = (SOURCE) + _elem->disp;
|
||||
unsigned char* _destination = (DESTINATION) + _elem->disp;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user