OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
c++
/
7
/
profile
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/31/2023 12:38:15 PM
rwxr-xr-x
📄
array
8.59 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
base.h
1.67 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
bitset
6.45 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
deque
5.15 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
forward_list
6.24 KB
12/04/2019 02:25:41 PM
rw-r--r--
📁
impl
-
01/31/2023 12:38:15 PM
rwxr-xr-x
📄
iterator_tracker.h
9.33 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
list
16.47 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
map
1.22 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
map.h
19.63 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
multimap.h
18.88 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
multiset.h
18.47 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
ordered_base.h
2.71 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
set
1.22 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
set.h
17.7 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
unordered_base.h
8.9 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
unordered_map
17.13 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
unordered_set
15.91 KB
12/04/2019 02:25:41 PM
rw-r--r--
📄
vector
15.51 KB
12/04/2019 02:25:41 PM
rw-r--r--
Editing: ordered_base.h
Close
// Profiling unordered containers implementation details -*- C++ -*- // Copyright (C) 2014-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // Under Section 7 of GPL version 3, you are granted additional // permissions described in the GCC Runtime Library Exception, version // 3.1, as published by the Free Software Foundation. // You should have received a copy of the GNU General Public License along // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. /** @file profile/ordered_base.h * This file is a GNU profile extension to the Standard C++ Library. */ #ifndef _GLIBCXX_PROFILE_ORDERED #define _GLIBCXX_PROFILE_ORDERED 1 namespace std _GLIBCXX_VISIBILITY(default) { namespace __profile { template<typename _Cont> class _Ordered_profile { public: void _M_profile_iterate(int __rewind = 0) const { __profcxx_map2umap_iterate(this->_M_map2umap_info, __rewind); } protected: _Ordered_profile() _GLIBCXX_NOEXCEPT { _M_profile_construct(); } #if __cplusplus >= 201103L _Ordered_profile(const _Ordered_profile&) noexcept : _Ordered_profile() { } _Ordered_profile(_Ordered_profile&& __other) noexcept : _Ordered_profile() { _M_swap(__other); } _Ordered_profile& operator=(const _Ordered_profile&) noexcept { _M_profile_destruct(); _M_profile_construct(); } _Ordered_profile& operator=(_Ordered_profile&& __other) noexcept { _M_swap(__other); __other._M_profile_destruct(); __other._M_profile_construct(); } #endif ~_Ordered_profile() { _M_profile_destruct(); } void _M_profile_construct() _GLIBCXX_NOEXCEPT { _M_map2umap_info = __profcxx_map2umap_construct(); } void _M_profile_destruct() _GLIBCXX_NOEXCEPT { __profcxx_map2umap_destruct(_M_map2umap_info); _M_map2umap_info = 0; } void _M_swap(_Ordered_profile& __other) { std::swap(_M_map2umap_info, __other._M_map2umap_info); } __gnu_profile::__map2umap_info* _M_map2umap_info; private: _Cont& _M_conjure() { return *static_cast<_Cont*>(this); } }; } // namespace __profile } // namespace std #endif