From: Augustin Degomme Date: Fri, 12 Jun 2020 10:01:06 +0000 (+0200) Subject: spelling mistakes in include/ and examples/ X-Git-Tag: v3.26~538 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5fda94ac3d246037758dab959b3dfc9a071ccc26?ds=sidebyside spelling mistakes in include/ and examples/ still with codespell --- diff --git a/examples/README.rst b/examples/README.rst index 7cc5e29be1..0ae9e5065b 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -28,12 +28,12 @@ to simulate. Actors: the Active Entities =========================== -Starting and Stoping Actors +Starting and Stopping Actors --------------------------- - **Creating actors:** Most actors are started from the deployment XML file, because this - is a :ref:`better scientific habbit `, but you can + is a :ref:`better scientific habit `, but you can also create them directly from your code. .. tabs:: @@ -106,7 +106,7 @@ Starting and Stoping Actors See also :cpp:func:`sg_actor_kill`, :cpp:func:`sg_actor_kill_all`, :cpp:func:`sg_actor_exit`, :cpp:func:`sg_actor_on_exit`. - - **Controling the actor life cycle from the XML:** + - **Controlling the actor life cycle from the XML:** You can specify a start time and a kill time in the deployment file. .. tabs:: @@ -679,7 +679,7 @@ options to see the task executions: - **Platform Tracing:** This program is a toy example just loading the platform, so that - you can play with the platform visualization. Recommanded options: + you can play with the platform visualization. Recommended options: ``--cfg=tracing:yes --cfg=tracing/categorized:yes`` .. tabs:: diff --git a/examples/c/actor-create/actor-create.c b/examples/c/actor-create/actor-create.c index eda06b9f32..47e65cfcb0 100644 --- a/examples/c/actor-create/actor-create.c +++ b/examples/c/actor-create/actor-create.c @@ -7,7 +7,7 @@ * * The first step is to declare the code of your actors (what they do exactly does not matter to this example) and then * you ask SimGrid to start your actors. There is three ways of doing so: - * - Directly, by instantiating your actor as paramter to Actor::create() + * - Directly, by instantiating your actor as parameter to Actor::create() * - By first registering your actors before instantiating it; * - Through the deployment file. * diff --git a/examples/c/platform-failures/platform-failures.tesh b/examples/c/platform-failures/platform-failures.tesh index d70b2de9c0..5aa5c9ca16 100644 --- a/examples/c/platform-failures/platform-failures.tesh +++ b/examples/c/platform-failures/platform-failures.tesh @@ -210,7 +210,7 @@ $ ${bindir:=.}/c-platform-failures --log=xbt_cfg.thres:critical --log=no_loc ${p > [ 43.774742] (1:master@Tremblay) Goodbye now! > [ 43.774742] (0:maestro@) Simulation time 43.7747 -p NOT testing the mixure of failures and CpuTI: +p NOT testing the mixture of failures and CpuTI: p This test leads to a deadlock because of a bug somewhere in surf_solve. p We should debug this instead of ignoring the issue, but it's utterly p complex with such an integration test. One day, we will setup a set of diff --git a/examples/deprecated/java/async/waitall/Main.java b/examples/deprecated/java/async/waitall/Main.java index d183627a89..5035b0a8a9 100644 --- a/examples/deprecated/java/async/waitall/Main.java +++ b/examples/deprecated/java/async/waitall/Main.java @@ -5,7 +5,7 @@ package async.waitall; -/** This example demonstrates the use of the asynchrounous communications +/** This example demonstrates the use of the asynchronous communications * * Task.isend() and Task.irecv() are used to start the communications in non-blocking mode. * diff --git a/examples/deprecated/java/dht/kademlia/Node.java b/examples/deprecated/java/dht/kademlia/Node.java index f7552d4bf5..6b0ca58bb6 100644 --- a/examples/deprecated/java/dht/kademlia/Node.java +++ b/examples/deprecated/java/dht/kademlia/Node.java @@ -80,7 +80,7 @@ public class Node extends Process { Msg.debug("Caught exception: " + e); } } - Msg.info(findNodeSuccedded + "/" + (findNodeSuccedded + findNodeFailed) + " FIND_NODE have succedded."); + Msg.info(findNodeSuccedded + "/" + (findNodeSuccedded + findNodeFailed) + " FIND_NODE have succeeded."); } /** @@ -218,7 +218,7 @@ public class Node extends Process { if (counts) { findNodeSuccedded++; } - Msg.debug("Find node on " + destination + " succedded"); + Msg.debug("Find node on " + destination + " succeeded"); } else { Msg.debug("Find node on " + destination + " failed"); Msg.debug("Queried " + queries + " nodes to find " + destination); @@ -259,7 +259,7 @@ public class Node extends Process { } /** - * @brief Handles an incomming task + * @brief Handles an incoming task * @param task The task we need to handle */ public void handleTask(Task task) { diff --git a/examples/deprecated/java/dht/kademlia/dht-kademlia.tesh b/examples/deprecated/java/dht/kademlia/dht-kademlia.tesh index 4791a132bc..8623d4b5ac 100644 --- a/examples/deprecated/java/dht/kademlia/dht-kademlia.tesh +++ b/examples/deprecated/java/dht/kademlia/dht-kademlia.tesh @@ -6,10 +6,10 @@ $ ${javacmd:=java} -classpath ${classpath:=.} dht/kademlia/Main ${srcdir:=.}/../ > [0.000000] [java/INFO] Using regular java threads. > [900.000000] [java/INFO] Terminating the simulation... > [node-0.simgrid.org:dht.kademlia.Node:(1) 0.000000] [java/INFO] Hi, I'm going to create the network with the id 0! -> [node-0.simgrid.org:dht.kademlia.Node:(1) 900.000000] [java/INFO] 8/8 FIND_NODE have succedded. +> [node-0.simgrid.org:dht.kademlia.Node:(1) 900.000000] [java/INFO] 8/8 FIND_NODE have succeeded. > [node-1.simgrid.org:dht.kademlia.Node:(2) 0.000000] [java/INFO] Hi, I'm going to join the network with the id 1! -> [node-1.simgrid.org:dht.kademlia.Node:(2) 900.000000] [java/INFO] 8/8 FIND_NODE have succedded. +> [node-1.simgrid.org:dht.kademlia.Node:(2) 900.000000] [java/INFO] 8/8 FIND_NODE have succeeded. > [node-2.simgrid.org:dht.kademlia.Node:(3) 0.000000] [java/INFO] Hi, I'm going to join the network with the id 2! -> [node-2.simgrid.org:dht.kademlia.Node:(3) 900.000000] [java/INFO] 8/8 FIND_NODE have succedded. +> [node-2.simgrid.org:dht.kademlia.Node:(3) 900.000000] [java/INFO] 8/8 FIND_NODE have succeeded. > [node-3.simgrid.org:dht.kademlia.Node:(4) 0.000000] [java/INFO] Hi, I'm going to join the network with the id 4! -> [node-3.simgrid.org:dht.kademlia.Node:(4) 900.000000] [java/INFO] 8/8 FIND_NODE have succedded. +> [node-3.simgrid.org:dht.kademlia.Node:(4) 900.000000] [java/INFO] 8/8 FIND_NODE have succeeded. diff --git a/examples/deprecated/msg/README.doc b/examples/deprecated/msg/README.doc index 03505a57b2..a294843ed4 100644 --- a/examples/deprecated/msg/README.doc +++ b/examples/deprecated/msg/README.doc @@ -27,7 +27,7 @@ options to see the task executions: This example declares several tracing categories to that are used to classify its tasks. When the program is executed, the tracing mechanism registers the resource utilization of hosts - and links according to these categories. Recommanded options: + and links according to these categories. Recommended options: @verbatim --cfg=tracing:yes --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes @endverbatim @@ -36,14 +36,14 @@ options to see the task executions: This is an augmented version of our basic master/worker example using several tracing features. It traces resource usage, sorted out in several categories; Trace marks and user variables are also - used. Recommanded options: + used. Recommended options: @verbatim --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes @endverbatim - Process migration tracing. @ref examples/deprecated/msg/trace-process-migration/trace-process-migration.c \n This version is enhanced so that the process migrations can be - displayed as arrows in a Gantt-chart visualization. Recommanded + displayed as arrows in a Gantt-chart visualization. Recommended options to that extend: @verbatim -cfg=tracing:yes --cfg=tracing/msg/process:yes @endverbatim diff --git a/examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c b/examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c index a2f736a355..1a637cf9e7 100644 --- a/examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c +++ b/examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c @@ -16,7 +16,7 @@ static void create_and_execute_task (void) static int trace_fun(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[]) { //Set initial values for the link user variables - //This example uses source and destination where source and destination are the name of hosts inthe platform file. + //This example uses source and destination where source and destination are the name of hosts in the platform file. //The functions will set/change the value of the variable for all links in the route between source and destination. //Set the Link_Capacity variable diff --git a/examples/platforms/energy_platform.xml b/examples/platforms/energy_platform.xml index 2da6ba54d0..eda19adbb6 100644 --- a/examples/platforms/energy_platform.xml +++ b/examples/platforms/energy_platform.xml @@ -3,7 +3,7 @@ -