From: Martin Quinson Date: Sun, 6 Nov 2016 22:27:28 +0000 (+0100) Subject: Spell check, again O:-) X-Git-Tag: v3_14~225 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3fe5947a05c3e9c84b29e4e7f60c111aeab7fe27 Spell check, again O:-) --- diff --git a/src/xbt/graph.c b/src/xbt/graph.c index 0c8325a789..56cf62e194 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -203,7 +203,7 @@ double xbt_graph_edge_get_length(xbt_edge_t edge) * * From wikipedia: * - * The Floyd–Warshall algorithm takes as input an adjacency matrix representation of a weighted, directed graph (V, E). + * The Floyd-Warshall algorithm takes as input an adjacency matrix representation of a weighted, directed graph (V, E). * The weight of a path between two vertices is the sum of the weights of the edges along that path. The edges E of the * graph may have negative weights, but the graph must not have any negative weight cycles. The algorithm computes, for * each pair of vertices, the minimum weight among all paths between the two vertices. The running time complexity is diff --git a/src/xbt/mmalloc/mm_legacy.c b/src/xbt/mmalloc/mm_legacy.c index e8a5c1d8f9..4fb087a92c 100644 --- a/src/xbt/mmalloc/mm_legacy.c +++ b/src/xbt/mmalloc/mm_legacy.c @@ -18,7 +18,7 @@ #include #include "src/mc/mc_protocol.h" -/* ***** Whether to use `mmalloc` of the undrlying malloc ***** */ +/* ***** Whether to use `mmalloc` of the underlying malloc ***** */ static int __malloc_use_mmalloc; @@ -76,7 +76,7 @@ static void* mm_fake_malloc(size_t n) size_t count = n / sizeof(uint64_t); if (n % sizeof(uint64_t)) count++; - // Check that we have enough availabel memory: + // Check that we have enough available memory: if (fake_alloc_index + count >= BUFFER_SIZE) exit(127); // Allocate it: diff --git a/src/xbt/mmalloc/mmalloc.c b/src/xbt/mmalloc/mmalloc.c index 47ed191f0f..f04b8635d7 100644 --- a/src/xbt/mmalloc/mmalloc.c +++ b/src/xbt/mmalloc/mmalloc.c @@ -183,7 +183,7 @@ void *mmalloc_no_memset(xbt_mheap_t mdp, size_t size) size_t requested_size = size; // The amount of memory requested by user, for real - /* Work even if the user was stupid enough to ask a ridicullously small block (even 0-length), + /* Work even if the user was stupid enough to ask a ridiculously small block (even 0-length), * ie return a valid block that can be realloced and freed. * glibc malloc does not use this trick but return a constant pointer, but we need to enlist the free fragments later on. */ diff --git a/src/xbt/snprintf.c b/src/xbt/snprintf.c index 4f75d19f2f..c5fffcc3b3 100644 --- a/src/xbt/snprintf.c +++ b/src/xbt/snprintf.c @@ -85,7 +85,7 @@ char *bvprintf(const char *fmt, va_list ap) if (vasprintf(&res, fmt, ap) < 0) { /* Do not want to use xbt_die() here, as it uses the logging - * infrastucture and may fail to allocate memory too. */ + * infrastructure and may fail to allocate memory too. */ fprintf(stderr, "bprintf: vasprintf failed. Aborting.\n"); xbt_abort(); } diff --git a/src/xbt/xbt_matrix.c b/src/xbt/xbt_matrix.c index 38cffdc75c..f3d09087e5 100644 --- a/src/xbt/xbt_matrix.c +++ b/src/xbt/xbt_matrix.c @@ -83,7 +83,7 @@ void xbt_matrix_copy_values(xbt_matrix_t dst, xbt_matrix_t src, unsigned int lsi XBT_DEBUG ("Copy a %ux%u submatrix from %ux%u(of %ux%u) to %ux%u (of %ux%u)", lsize, rsize, lpos_src, rpos_src, src->lines, src->rows, lpos_dst, rpos_dst, dst->lines, dst->rows); - /* everybody knows that issue is between the chair and the screen (particulary in my office) */ + /* everybody knows that issue is between the chair and the screen (particularly in my office) */ xbt_assert(src->elmsize == dst->elmsize); /* don't check free_f since the user may play weird games with this */ diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index 09f4cc9df6..6208210e1d 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -44,7 +44,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_sync_os, xbt, "Synchronization mechanism (OS-level)"); -/* use named sempahore when sem_init() does not work */ +/* use named semaphore when sem_init() does not work */ #if !HAVE_SEM_INIT static int next_sem_ID = 0; static xbt_os_mutex_t next_sem_ID_lock; diff --git a/src/xbt/xbt_virtu.c b/src/xbt/xbt_virtu.c index 2d44621341..a655f45202 100644 --- a/src/xbt/xbt_virtu.c +++ b/src/xbt/xbt_virtu.c @@ -1,7 +1,6 @@ -/* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */ +/* virtualization layer for XBT */ -/* Copyright (c) 2007-2010, 2012-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2014. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ diff --git a/teshsuite/simdag/CMakeLists.txt b/teshsuite/simdag/CMakeLists.txt index a0fd7e40a8..cde7cfceb7 100644 --- a/teshsuite/simdag/CMakeLists.txt +++ b/teshsuite/simdag/CMakeLists.txt @@ -33,8 +33,7 @@ set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/flatifier/bogus_ ${CMAKE_CURRENT_SOURCE_DIR}/basic-parsing-test/basic-parsing-test-sym-full.tesh ${CMAKE_CURRENT_SOURCE_DIR}/basic-parsing-test/basic-parsing-test-bypass.tesh PARENT_SCOPE) -set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/platforms/ASbypass.xml - ${CMAKE_CURRENT_SOURCE_DIR}/platforms/four_hosts_floyd.xml +set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/platforms/four_hosts_floyd.xml ${CMAKE_CURRENT_SOURCE_DIR}/platforms/two_hosts_multi_hop.xml ${CMAKE_CURRENT_SOURCE_DIR}/platforms/host_attributes.xml ${CMAKE_CURRENT_SOURCE_DIR}/platforms/link_attributes.xml diff --git a/tools/internal/spell_dict.txt b/tools/internal/spell_dict.txt index 40384796aa..4ba5bbbbee 100644 --- a/tools/internal/spell_dict.txt +++ b/tools/internal/spell_dict.txt @@ -25,7 +25,9 @@ dynar dynars endverbatim FIXME +fprintf Gbytes +getline GPU hideinitializer hpp @@ -54,6 +56,8 @@ MCed MCer memcpy memcmp +memmove +memset Mflops mmap ModelChecker @@ -69,6 +73,9 @@ pid printf proc pstate +pthread +pthreads +realloc RngStream SD simcall @@ -84,6 +91,9 @@ smpi smx src std +strbuff +strerror +strlen struct syscall syscalls