• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nasa / trick / 18137782273

30 Sep 2025 05:08PM UTC coverage: 55.79% (-0.09%) from 55.875%
18137782273

Pull #1966

github

web-flow
Merge 111093bfc into bf419f2f4
Pull Request #1966: Introduce the option to include decimal comment lines for hexfloat values in the checkpoint file.

6 of 30 new or added lines in 5 files covered. (20.0%)

10 existing lines in 3 files now uncovered.

12353 of 22142 relevant lines covered (55.79%)

270851.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/trick_source/sim_services/MemoryManager/MemoryManager_is_alloced.cpp
1
#include "trick/MemoryManager.hh"
2

3
int Trick::MemoryManager::is_alloced(void *addr) {
380✔
4

5
    ALLOC_INFO *info;
6

7
    pthread_mutex_lock(&mm_mutex);
380✔
8
    if ( (info = get_alloc_info_at( addr)) != NULL) {
380✔
UNCOV
9
        pthread_mutex_unlock(&mm_mutex);
×
UNCOV
10
        return (1);
×
11
    }
12
    pthread_mutex_unlock(&mm_mutex);
380✔
13
    return (0);
380✔
14
}
15

16
// MEMBER FUNCTION:
17
int Trick::MemoryManager::var_exists( std::string var_name) {
1,165✔
18
    VARIABLE_MAP::iterator variable_pos;
1,165✔
19

20
    pthread_mutex_lock(&mm_mutex);
1,165✔
21
    variable_pos = variable_map.find( var_name);
1,165✔
22

23
    if (variable_pos != variable_map.end()) {
1,165✔
24
        pthread_mutex_unlock(&mm_mutex);
527✔
25
        return (1);
527✔
26
    }
27
    pthread_mutex_unlock(&mm_mutex);
638✔
28
    return (0);
638✔
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc