Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
retrive -> retrieve
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 May 2006 14:43:48 +0000 (14:43 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 May 2006 14:43:48 +0000 (14:43 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2317 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/gras/datadesc.h
include/gras/process.h
include/xbt/dynar.h
src/gras/Msg/msg.c
src/gras/Virtu/process.c
src/xbt/cunit.c
src/xbt/dict.c
src/xbt/dynar.c

index 7d9e037..dac6222 100644 (file)
@@ -46,7 +46,7 @@ SG_BEGIN_DECL()
  *  - char (both signed and unsigned)
  *  - int (short, regular, long and long long, both signed and unsigned)
  *  - float and double
  *  - char (both signed and unsigned)
  *  - int (short, regular, long and long long, both signed and unsigned)
  *  - float and double
- *  - string (which is indeed a reference to a dynamically sized array of char, strlen being used to retrive the size)
+ *  - string (which is indeed a reference to a dynamically sized array of char, strlen being used to retrieve the size)
  * 
  * Example:\verbatim gras_datadesc_type_t i = gras_datadesc_by_name("int");
  gras_datadesc_type_t uc = gras_datadesc_by_name("unsigned char");
  * 
  * Example:\verbatim gras_datadesc_type_t i = gras_datadesc_by_name("int");
  gras_datadesc_type_t uc = gras_datadesc_by_name("unsigned char");
@@ -141,7 +141,7 @@ void register_messages() {
  *  you have to understand how it is implemented: the multiplication is performed using the sizes stack. In previous example,
  *  a \ref gras_datadesc_cb_push_int callback is added to the \a rows field and a \ref gras_datadesc_cb_push_int_mult one is 
  *  added to \a cols. So, when the structure is sent, the \a rows field push its value onto the stack, then the \a cols field 
  *  you have to understand how it is implemented: the multiplication is performed using the sizes stack. In previous example,
  *  a \ref gras_datadesc_cb_push_int callback is added to the \a rows field and a \ref gras_datadesc_cb_push_int_mult one is 
  *  added to \a cols. So, when the structure is sent, the \a rows field push its value onto the stack, then the \a cols field 
- *  retrieve this value from the stack, compute (and push) the multiplication value. The \a matrix field can then retrive this
+ *  retrieve this value from the stack, compute (and push) the multiplication value. The \a matrix field can then retrieve this
  *  value by poping the array. There is several ways for this to go wrong:
  *   - if the matrix field is placed before the sizes, the right value won't get pushed into the stack soon enough. 
  *     Reorder your structure fields if needed.
  *  value by poping the array. There is several ways for this to go wrong:
  *   - if the matrix field is placed before the sizes, the right value won't get pushed into the stack soon enough. 
  *     Reorder your structure fields if needed.
index 3175ac2..c19ee65 100644 (file)
@@ -45,7 +45,7 @@ void gras_process_exit(void);
  * 
  * Use the \ref gras_userdata_new macro to create a new user data (or malloc it
  * and use \ref gras_userdata_set yourself), and \ref gras_userdata_get to
  * 
  * Use the \ref gras_userdata_new macro to create a new user data (or malloc it
  * and use \ref gras_userdata_set yourself), and \ref gras_userdata_get to
- * retrive a reference to it. 
+ * retrieve a reference to it. 
  */
 /* @{ */
 
  */
 /* @{ */
 
index d3b131c..9ced1ee 100644 (file)
@@ -105,7 +105,7 @@ SG_BEGIN_DECL()
 /** @defgroup XBT_dynar_ctn Direct manipulation to the dynars content
  *  @ingroup XBT_dynar
  *
 /** @defgroup XBT_dynar_ctn Direct manipulation to the dynars content
  *  @ingroup XBT_dynar
  *
- *  Those functions do not retrive the content, but only their address.
+ *  Those functions do not retrieve the content, but only their address.
  *
  *  @{
  */
  *
  *  @{
  */
@@ -119,7 +119,7 @@ SG_BEGIN_DECL()
 /** @defgroup XBT_dynar_speed Speed optimized access to dynars of scalars
  *  @ingroup XBT_dynar
  *
 /** @defgroup XBT_dynar_speed Speed optimized access to dynars of scalars
  *  @ingroup XBT_dynar
  *
- *  While the other functions use a memcpy to retrive the content into the
+ *  While the other functions use a memcpy to retrieve the content into the
  *  user provided area, those ones use a regular affectation. It only works
  *  for scalar values, but should be a little faster.
  *
  *  user provided area, those ones use a regular affectation. It only works
  *  for scalar values, but should be a little faster.
  *
index 037717b..d862f0e 100644 (file)
@@ -214,12 +214,12 @@ gras_msgtype_declare_v(const char           *name,
                            e_gras_msg_kind_oneway, payload, NULL);
 }
 
                            e_gras_msg_kind_oneway, payload, NULL);
 }
 
-/** @brief retrive an existing message type from its name. */
+/** @brief retrieve an existing message type from its name. */
 gras_msgtype_t gras_msgtype_by_name (const char *name) {
   return gras_msgtype_by_namev(name,0);
 }
 
 gras_msgtype_t gras_msgtype_by_name (const char *name) {
   return gras_msgtype_by_namev(name,0);
 }
 
-/** @brief retrive an existing message type from its name and version. */
+/** @brief retrieve an existing message type from its name and version. */
 gras_msgtype_t gras_msgtype_by_namev(const char      *name,
                                     short int        version) {
   gras_msgtype_t res = NULL;
 gras_msgtype_t gras_msgtype_by_namev(const char      *name,
                                     short int        version) {
   gras_msgtype_t res = NULL;
@@ -237,7 +237,7 @@ gras_msgtype_t gras_msgtype_by_namev(const char      *name,
   
   return res;
 }
   
   return res;
 }
-/** @brief retrive an existing message type from its name and version. */
+/** @brief retrieve an existing message type from its name and version. */
 gras_msgtype_t gras_msgtype_by_id(int id) {
   return (gras_msgtype_t)xbt_set_get_by_id(_gras_msgtype_set, id);
 }
 gras_msgtype_t gras_msgtype_by_id(int id) {
   return (gras_msgtype_t)xbt_set_get_by_id(_gras_msgtype_set, id);
 }
index 1e69da5..b434afe 100644 (file)
@@ -79,7 +79,7 @@ void *gras_libdata_by_name(const char *name) {
   TRY {
     res = xbt_set_get_by_name(pd->libdata, name);
   } CATCH(e) {
   TRY {
     res = xbt_set_get_by_name(pd->libdata, name);
   } CATCH(e) {
-    RETHROW1("Cannot retrive the libdata associated to %s: %s",name);
+    RETHROW1("Cannot retrieve the libdata associated to %s: %s",name);
   }   
   return res;
 }
   }   
   return res;
 }
index 6c148ad..61bb023 100644 (file)
@@ -148,7 +148,7 @@ xbt_test_suite_t xbt_test_suite_new(const char *name, const char *fmt, ...) {
   return suite;
 }
 
   return suite;
 }
 
-/** @brief retrive a testsuite from name, or create a new one */
+/** @brief retrieve a testsuite from name, or create a new one */
 xbt_test_suite_t xbt_test_suite_by_name(const char *name,const char *fmt, ...) {
   xbt_test_suite_t suite;
   int it_suite;
 xbt_test_suite_t xbt_test_suite_by_name(const char *name,const char *fmt, ...) {
   xbt_test_suite_t suite;
   int it_suite;
index a673500..b1bb6ea 100644 (file)
@@ -301,7 +301,7 @@ xbt_dict_t head=NULL;
 char *data;
 
 
 char *data;
 
 
-XBT_TEST_UNIT("basic",test_dict_basic,"Basic usage: change, retrive, traverse"){
+XBT_TEST_UNIT("basic",test_dict_basic,"Basic usage: change, retrieve, traverse"){
 
   xbt_test_add0("Traversal the empty dictionnary");
   traverse(head);
 
   xbt_test_add0("Traversal the empty dictionnary");
   traverse(head);
@@ -333,7 +333,7 @@ XBT_TEST_UNIT("basic",test_dict_basic,"Basic usage: change, retrive, traverse"){
   xbt_test_add0("Traverse the resulting dictionnary");
   traverse(head);
   
   xbt_test_add0("Traverse the resulting dictionnary");
   traverse(head);
   
-  /* RETRIVE */
+  /* RETRIEVE */
   xbt_test_add0("Search 123");
   data = xbt_dict_get(head,"123");
   xbt_test_assert(data);
   xbt_test_add0("Search 123");
   data = xbt_dict_get(head,"123");
   xbt_test_assert(data);
index 50be1b5..b964885 100644 (file)
@@ -218,7 +218,7 @@ xbt_dynar_length(const xbt_dynar_t dynar) {
 /** @brief Retrieve a copy of the Nth element of a dynar.
  *
  * \param dynar information dealer
 /** @brief Retrieve a copy of the Nth element of a dynar.
  *
  * \param dynar information dealer
- * \param idx index of the slot we want to retrive
+ * \param idx index of the slot we want to retrieve
  * \param[out] dst where to put the result to.
  */
 void
  * \param[out] dst where to put the result to.
  */
 void