]> AND Public Git Repository - simgrid.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Blank lines (codefactor.io).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 16 Feb 2022 15:16:26 +0000 (16:16 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 16 Feb 2022 15:16:26 +0000 (16:16 +0100)
src/include/xxhash.hpp
src/mc/api/TransitionComm.cpp
src/mc/checker/SafetyChecker.cpp

index 8543ccc90b48c12600c5af9a2867c96c27974642..14d43efa19d642437ca2f1af6b3b338ef811a2bb 100644 (file)
@@ -548,8 +548,8 @@ namespace xxh
        enum class error_code : uint8_t { ok = 0, error };
 
        template <size_t N>
        enum class error_code : uint8_t { ok = 0, error };
 
        template <size_t N>
-       class hash_state_t {
-
+       class hash_state_t
+       {
                uint64_t total_len = 0;
                hash_t<N> v1 = 0, v2 = 0, v3 = 0, v4 = 0;
                std::array<hash_t<N>, 4> mem = {{ 0,0,0,0 }};
                uint64_t total_len = 0;
                hash_t<N> v1 = 0, v2 = 0, v3 = 0, v4 = 0;
                std::array<hash_t<N>, 4> mem = {{ 0,0,0,0 }};
index eb2bd22b31b35c098fb0c7e759a4d5e713604bbf..df1127141798787adde674a425210b9c09e4ef6a 100644 (file)
@@ -167,7 +167,6 @@ TestAnyTransition::TestAnyTransition(aid_t issuer, int times_considered, std::st
   int size;
   stream >> size;
   for (int i = 0; i < size; i++) {
   int size;
   stream >> size;
   for (int i = 0; i < size; i++) {
-
     Transition* t = deserialize_transition(issuer, 0, stream);
     XBT_DEBUG("TestAny received a transition %s", t->to_string(true).c_str());
     transitions_.push_back(t);
     Transition* t = deserialize_transition(issuer, 0, stream);
     XBT_DEBUG("TestAny received a transition %s", t->to_string(true).c_str());
     transitions_.push_back(t);
index 57e7049e2fe89308c839a854588f7aecc34d1ae7..8806934f6dc338a125de82edc7d7f79ce16de166 100644 (file)
@@ -113,7 +113,6 @@ void SafetyChecker::run()
     int next = state->next_transition();
 
     if (next < 0) { // If there is no more transition in the current state, backtrack.
     int next = state->next_transition();
 
     if (next < 0) { // If there is no more transition in the current state, backtrack.
-
       XBT_DEBUG("There remains %zu actors, but none to interleave (depth %zu).",
                 mc_model_checker->get_remote_process().actors().size(), stack_.size() + 1);
 
       XBT_DEBUG("There remains %zu actors, but none to interleave (depth %zu).",
                 mc_model_checker->get_remote_process().actors().size(), stack_.size() + 1);