This commit is contained in:
rozmansi
2023-09-14 06:39:04 +00:00
parent c811db9d0f
commit a6a8d4d5b8
346 changed files with 347 additions and 347 deletions

View File

@@ -149,7 +149,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">static</span> time_point <a class="code hl_function" href="structstdex_1_1chrono_1_1aosn__date.html#aa049501abaf0ecce57864b258c6f77dc">from_system</a>(_In_ <span class="keyword">const</span> FILETIME&amp; t) <span class="keyword">noexcept</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> uint64_t x = ((<span class="keyword">static_cast&lt;</span>uint64_t<span class="keyword">&gt;</span>(t.dwHighDateTime)) &lt;&lt; 32) | t.dwLowDateTime;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">return</span> time_point(duration(<span class="keyword">static_cast&lt;</span>rep<span class="keyword">&gt;</span>((x / 864000000000 + 2305814)))); <span class="comment">// Convert from 100 ns to 1-day interval and adjust epoch</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">return</span> time_point(duration(<span class="keyword">static_cast&lt;</span>rep<span class="keyword">&gt;</span>(x / 864000000000 + 2305814))); <span class="comment">// Convert from 100 ns to 1-day interval and adjust epoch</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> }</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">static</span> time_point <a class="code hl_function" href="structstdex_1_1chrono_1_1aosn__date.html#aa049501abaf0ecce57864b258c6f77dc">from_system</a>(_In_ DATE t)</div>
@@ -466,7 +466,7 @@ $(document).ready(function() { init_codefold(0); });
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Sep 14 2023 06:34:25 for stdex by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
Generated on Thu Sep 14 2023 06:39:02 for stdex by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>