Skip to content

Commit

Permalink
deploy: 5f59990
Browse files Browse the repository at this point in the history
  • Loading branch information
copybara-service[bot] committed Jan 16, 2025
1 parent 7e926d6 commit 9c70b5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cpp/api/TENSORSTORE_ASSERT_OK.html
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@
</dt>
<dt class="sig sig-object highlight c">
<span class="sig-name descname"><span class="n">TENSORSTORE_ASSERT_OK</span></span><span class="p">(</span><span><a class="n reference internal" href="#" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<dd><p>Same as <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_EXPECT_OK.html#c:cpp_api_preprocessed.cc&#64;12299030&#64;macro&#64;TENSORSTORE_EXPECT_OK" title="TENSORSTORE_EXPECT_OK (C macro) — EXPECT assertion that the argument, when converted to an absl::Status via tensorstore::GetStatus, has a code of absl::StatusCode::kOk."><span class="n">TENSORSTORE_EXPECT_OK</span></a></code>, but returns in the case of an error.</p>
<dd><p>Same as <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_EXPECT_OK.html#c:cpp_api_preprocessed.cc&#64;12299045&#64;macro&#64;TENSORSTORE_EXPECT_OK" title="TENSORSTORE_EXPECT_OK (C macro) — EXPECT assertion that the argument, when converted to an absl::Status via tensorstore::GetStatus, has a code of absl::StatusCode::kOk."><span class="n">TENSORSTORE_EXPECT_OK</span></a></code>, but returns in the case of an error.</p>
</dd></dl>


Expand Down
16 changes: 8 additions & 8 deletions cpp/api/tensorstore.Result.html
Original file line number Diff line number Diff line change
Expand Up @@ -2837,14 +2837,14 @@ <h2 id="friend-functions">Friend functions<a class="headerlink" href="#friend-fu
<h2 id="related-macros">Related Macros<a class="headerlink" href="#related-macros" title="Link to this heading"></a></h2>
<dl class="c macro summary objdesc">
<dt class="sig sig-object highlight c">
<a class="sig-name descname reference internal" href="TENSORSTORE_ASSIGN_OR_RETURN.html"><span class="doc"><span class="pre">TENSORSTORE_ASSIGN_OR_RETURN</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_ASSIGN_OR_RETURN.html#c.c:cpp_api_preprocessed.cc&#64;5721067&#64;macro&#64;TENSORSTORE_ASSIGN_OR_RETURN" title="decl (C macro parameter)"><span class="n">decl</span></a></span><span class="p">,&nbsp;</span><span><span class="p">...</span></span><span class="p">);</span></dt>
<a class="sig-name descname reference internal" href="TENSORSTORE_ASSIGN_OR_RETURN.html"><span class="doc"><span class="pre">TENSORSTORE_ASSIGN_OR_RETURN</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_ASSIGN_OR_RETURN.html#c.c:cpp_api_preprocessed.cc&#64;5721082&#64;macro&#64;TENSORSTORE_ASSIGN_OR_RETURN" title="decl (C macro parameter)"><span class="n">decl</span></a></span><span class="p">,&nbsp;</span><span><span class="p">...</span></span><span class="p">);</span></dt>
<dd><p>Convenience macro for propagating errors when calling a function that
returns a <code class="cpp-expr sig sig-inline cpp highlight"><span class="n">tensorstore</span><span class="p">::</span><a class="desctype reference internal" href="#" title="tensorstore::Result (C++ class) — Result&lt;T&gt; implements a value-or-error concept providing a discriminated union of a usable value, T, or an absl::Status error describing why the value is not present. Result&lt;void&gt; is permitted, which becomes a wrapper for absl::Status, and which enables use of Result&lt;T&gt; in a wide variety of template contexts."><span class="n">Result</span></a></code>.</p>
</dd></dl>

<dl class="c macro summary objdesc">
<dt class="sig sig-object highlight c">
<a class="sig-name descname reference internal" href="TENSORSTORE_CHECK_OK_AND_ASSIGN.html"><span class="doc"><span class="pre">TENSORSTORE_CHECK_OK_AND_ASSIGN</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_CHECK_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;5722202&#64;macro&#64;TENSORSTORE_CHECK_OK_AND_ASSIGN" title="decl (C macro parameter)"><span class="n">decl</span></a></span><span class="p">,&nbsp;</span><span><span class="p">...</span></span><span class="p">);</span></dt>
<a class="sig-name descname reference internal" href="TENSORSTORE_CHECK_OK_AND_ASSIGN.html"><span class="doc"><span class="pre">TENSORSTORE_CHECK_OK_AND_ASSIGN</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_CHECK_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;5722217&#64;macro&#64;TENSORSTORE_CHECK_OK_AND_ASSIGN" title="decl (C macro parameter)"><span class="n">decl</span></a></span><span class="p">,&nbsp;</span><span><span class="p">...</span></span><span class="p">);</span></dt>
<dd><p>Convenience macro for checking errors when calling a function that returns a
<code class="cpp-expr sig sig-inline cpp highlight"><span class="n">tensorstore</span><span class="p">::</span><a class="desctype reference internal" href="#" title="tensorstore::Result (C++ class) — Result&lt;T&gt; implements a value-or-error concept providing a discriminated union of a usable value, T, or an absl::Status error describing why the value is not present. Result&lt;void&gt; is permitted, which becomes a wrapper for absl::Status, and which enables use of Result&lt;T&gt; in a wide variety of template contexts."><span class="n">Result</span></a></code>.</p>
</dd></dl>
Expand All @@ -2854,22 +2854,22 @@ <h2 id="related-macros">Related Macros<a class="headerlink" href="#related-macro
<h2 id="test-support">Test support<a class="headerlink" href="#test-support" title="Link to this heading"></a></h2>
<dl class="c macro summary objdesc">
<dt class="sig sig-object highlight c">
<a class="sig-name descname reference internal" href="TENSORSTORE_EXPECT_OK.html"><span class="doc"><span class="pre">TENSORSTORE_EXPECT_OK</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_EXPECT_OK.html#c.c:cpp_api_preprocessed.cc&#64;12299030&#64;macro&#64;TENSORSTORE_EXPECT_OK" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<a class="sig-name descname reference internal" href="TENSORSTORE_EXPECT_OK.html"><span class="doc"><span class="pre">TENSORSTORE_EXPECT_OK</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_EXPECT_OK.html#c.c:cpp_api_preprocessed.cc&#64;12299045&#64;macro&#64;TENSORSTORE_EXPECT_OK" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<dd><p>EXPECT assertion that the argument, when converted to an <code class="cpp-expr sig sig-inline cpp highlight"><span class="n">absl</span><span class="p">::</span><a class="desctype reference external" href="https://abseil.io/docs/cpp/guides/status" title="C++ class"><span class="n">Status</span></a></code> via
<code class="cpp-expr sig sig-inline cpp highlight"><span class="n">tensorstore</span><span class="p">::</span><a class="reference internal" href="tensorstore.GetStatus-AnyFuture.html#c:&#64;N&#64;tensorstore&#64;F&#64;GetStatus#&amp;1$&#64;N&#64;tensorstore&#64;S&#64;AnyFuture#" title="tensorstore::GetStatus (C++ function) — Waits for the future to be ready and returns the status."><span class="n">GetStatus</span></a></code>, has a code of <code class="cpp-expr sig sig-inline cpp highlight"><span class="n">absl</span><span class="p">::</span><a class="desctype reference external" href="https://abseil.io/docs/cpp/guides/status-codes" title="C++ enumeration"><span class="n">StatusCode</span></a><span class="p">::</span><a class="reference external" href="https://abseil.io/docs/cpp/guides/status-codes" title="C++ enumerator"><span class="n">kOk</span></a></code>.</p>
</dd></dl>

<dl class="c macro summary objdesc">
<dt class="sig sig-object highlight c">
<a class="sig-name descname reference internal" href="TENSORSTORE_ASSERT_OK.html"><span class="doc"><span class="pre">TENSORSTORE_ASSERT_OK</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_ASSERT_OK.html#c.c:cpp_api_preprocessed.cc&#64;12299249&#64;macro&#64;TENSORSTORE_ASSERT_OK" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<dd><p>Same as <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_EXPECT_OK.html#c:cpp_api_preprocessed.cc&#64;12299030&#64;macro&#64;TENSORSTORE_EXPECT_OK" title="TENSORSTORE_EXPECT_OK (C macro) — EXPECT assertion that the argument, when converted to an absl::Status via tensorstore::GetStatus, has a code of absl::StatusCode::kOk."><span class="n">TENSORSTORE_EXPECT_OK</span></a></code>, but returns in the case of an error.</p>
<a class="sig-name descname reference internal" href="TENSORSTORE_ASSERT_OK.html"><span class="doc"><span class="pre">TENSORSTORE_ASSERT_OK</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_ASSERT_OK.html#c.c:cpp_api_preprocessed.cc&#64;12299264&#64;macro&#64;TENSORSTORE_ASSERT_OK" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<dd><p>Same as <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_EXPECT_OK.html#c:cpp_api_preprocessed.cc&#64;12299045&#64;macro&#64;TENSORSTORE_EXPECT_OK" title="TENSORSTORE_EXPECT_OK (C macro) — EXPECT assertion that the argument, when converted to an absl::Status via tensorstore::GetStatus, has a code of absl::StatusCode::kOk."><span class="n">TENSORSTORE_EXPECT_OK</span></a></code>, but returns in the case of an error.</p>
</dd></dl>

<dl class="c macro summary objdesc">
<dt class="sig sig-object highlight c">
<a class="sig-name descname reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html"><span class="doc"><span class="pre">TENSORSTORE_ASSERT_OK_AND_ASSIGN</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299629&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="decl (C macro parameter)"><span class="n">decl</span></a></span><span class="p">,&nbsp;</span><span><a class="n reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299629&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<dd><p>ASSERTs that <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299629&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="expr (C macro parameter)"><span class="n">expr</span></a></code> is a <code class="cpp-expr sig sig-inline cpp highlight"><span class="n">tensorstore</span><span class="p">::</span><a class="desctype reference internal" href="#" title="tensorstore::Result (C++ class) — Result&lt;T&gt; implements a value-or-error concept providing a discriminated union of a usable value, T, or an absl::Status error describing why the value is not present. Result&lt;void&gt; is permitted, which becomes a wrapper for absl::Status, and which enables use of Result&lt;T&gt; in a wide variety of template contexts."><span class="n">Result</span></a></code> with a value, and assigns the
value to <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299629&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="decl (C macro parameter)"><span class="n">decl</span></a></code>.</p>
<a class="sig-name descname reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html"><span class="doc"><span class="pre">TENSORSTORE_ASSERT_OK_AND_ASSIGN</span></span></a><span class="p">(</span><span><a class="n reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299644&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="decl (C macro parameter)"><span class="n">decl</span></a></span><span class="p">,&nbsp;</span><span><a class="n reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299644&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="expr (C macro parameter)"><span class="n">expr</span></a></span><span class="p">);</span></dt>
<dd><p>ASSERTs that <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299644&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="expr (C macro parameter)"><span class="n">expr</span></a></code> is a <code class="cpp-expr sig sig-inline cpp highlight"><span class="n">tensorstore</span><span class="p">::</span><a class="desctype reference internal" href="#" title="tensorstore::Result (C++ class) — Result&lt;T&gt; implements a value-or-error concept providing a discriminated union of a usable value, T, or an absl::Status error describing why the value is not present. Result&lt;void&gt; is permitted, which becomes a wrapper for absl::Status, and which enables use of Result&lt;T&gt; in a wide variety of template contexts."><span class="n">Result</span></a></code> with a value, and assigns the
value to <code class="cpp-expr sig sig-inline cpp highlight"><a class="reference internal" href="TENSORSTORE_ASSERT_OK_AND_ASSIGN.html#c.c:cpp_api_preprocessed.cc&#64;12299644&#64;macro&#64;TENSORSTORE_ASSERT_OK_AND_ASSIGN" title="decl (C macro parameter)"><span class="n">decl</span></a></code>.</p>
</dd></dl>

<div class="toctree-wrapper compound">
Expand Down
2 changes: 1 addition & 1 deletion sitemap.xml

Large diffs are not rendered by default.

0 comments on commit 9c70b5f

Please sign in to comment.