Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 70424cd

Browse files
committed
v8 upload
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 2bb05b6 commit 70424cd

File tree

19,446 files changed

+310217
-826416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

19,446 files changed

+310217
-826416
lines changed

COPYING-logo

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This is the full-colour version of the currently unofficial Linux logo
2+
("currently unofficial" just means that there has been no paperwork and
3+
that I have not really announced it yet). It was created by Larry Ewing,
4+
and is freely usable as long as you acknowledge Larry as the original
5+
artist.
6+
7+
Note that there are black-and-white versions of this available that
8+
scale down to smaller sizes and are better for letterheads or whatever
9+
you want to use it for: for the full range of logos take a look at
10+
Larry's web-page:
11+
12+
https://www.isc.tamu.edu/~lewing/linux/
13+
14+
The SVG version was re-illustrated in vector by Garrett LeSage and
15+
refined and cleaned up by IFo Hancroft. It is also freely usable
16+
as long as you acknowledge Larry, Garrett and IFo as above.
17+
18+
There are also black-and-white and inverted vector versions at
19+
Garrett's repository:
20+
21+
https://github.com/garrett/Tux

COPYRIGHT.txt

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ These documentation pages include resources by third parties. This copyright
22
file applies only to those resources. The following third party resources are
33
included, and carry their own copyright notices and license terms:
44

5-
* Fira Sans (FiraSans-Regular.woff2, FiraSans-Medium.woff2,
6-
FiraSans-Regular.woff, FiraSans-Medium.woff):
5+
* Fira Sans (FiraSans-Regular.woff2, FiraSans-Medium.woff2):
76

87
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
98
with Reserved Font Name Fira Sans.
@@ -25,9 +24,7 @@ included, and carry their own copyright notices and license terms:
2524
Licensed under the MIT license (see LICENSE-MIT.txt).
2625

2726
* Source Code Pro (SourceCodePro-Regular.ttf.woff2,
28-
SourceCodePro-Semibold.ttf.woff2, SourceCodePro-It.ttf.woff2,
29-
SourceCodePro-Regular.ttf.woff, SourceCodePro-Semibold.ttf.woff,
30-
SourceCodePro-It.ttf.woff):
27+
SourceCodePro-Semibold.ttf.woff2, SourceCodePro-It.ttf.woff2):
3128

3229
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
3330
with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark
@@ -37,8 +34,7 @@ included, and carry their own copyright notices and license terms:
3734
See SourceCodePro-LICENSE.txt.
3835

3936
* Source Serif 4 (SourceSerif4-Regular.ttf.woff2, SourceSerif4-Bold.ttf.woff2,
40-
SourceSerif4-It.ttf.woff2, SourceSerif4-Regular.ttf.woff,
41-
SourceSerif4-Bold.ttf.woff, SourceSerif4-It.ttf.woff):
37+
SourceSerif4-It.ttf.woff2):
4238

4339
Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name
4440
'Source'. All Rights Reserved. Source is a trademark of Adobe in the United

FiraSans-Medium.woff

-182 KB
Binary file not shown.

FiraSans-Regular.woff

-179 KB
Binary file not shown.

NanumBarunGothic.ttf.woff

-662 KB
Binary file not shown.

SourceCodePro-It.ttf.woff

-57.1 KB
Binary file not shown.

SourceCodePro-Regular.ttf.woff

-66.6 KB
Binary file not shown.

SourceCodePro-Semibold.ttf.woff

-66.5 KB
Binary file not shown.

SourceSerif4-Bold.ttf.woff

-108 KB
Binary file not shown.

SourceSerif4-It.ttf.woff

-76.3 KB
Binary file not shown.

SourceSerif4-Regular.ttf.woff

-101 KB
Binary file not shown.

alloc/all.html

+3-3
Large diffs are not rendered by default.

alloc/alloc/fn.alloc.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Allocate memory with the global allocator."><meta name="keywords" content="rust, rustlang, rust-lang, alloc"><title>alloc in alloc::alloc - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script src="../../crates.js"></script><script defer src="../../main.js"></script>
2-
<noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../logo.gif"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../alloc/index.html"><div class="logo-container"><img class="rust-logo" src="../../logo.gif" alt="logo"></div>
2+
<noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../logo.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../alloc/index.html"><div class="logo-container"><img class="rust-logo" src="../../logo.svg" alt="logo"></div>
33
</a><h2 class="location"></h2>
44
</nav>
5-
<nav class="sidebar"><a class="sidebar-logo" href="../../alloc/index.html"><div class="logo-container"><img class="rust-logo" src="../../logo.gif" alt="logo"></div>
6-
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In alloc::alloc</a></h2><div id="sidebar-vars" data-name="alloc" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../alloc/index.html"><img class="rust-logo" src="../../logo.gif" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
7-
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">alloc</a>::<wbr><a href="index.html">alloc</a>::<wbr><a class="fn" href="#">alloc</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><span class="since" title="Stable since Rust version 1.28.0">1.28.0</span> · <a class="srclink" href="../../src/alloc/alloc.rs.html#88-90">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub unsafe fn alloc(layout: <a class="struct" href="struct.Layout.html" title="struct alloc::alloc::Layout">Layout</a>) -&gt; <a class="primitive" href="../../core/primitive.pointer.html">*mut </a><a class="primitive" href="../../core/primitive.u8.html">u8</a></code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Allocate memory with the global allocator.</p>
5+
<nav class="sidebar"><a class="sidebar-logo" href="../../alloc/index.html"><div class="logo-container"><img class="rust-logo" src="../../logo.svg" alt="logo"></div>
6+
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In alloc::alloc</a></h2><div id="sidebar-vars" data-name="alloc" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../alloc/index.html"><img class="rust-logo" src="../../logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
7+
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">alloc</a>::<wbr><a href="index.html">alloc</a>::<wbr><a class="fn" href="#">alloc</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><span class="since" title="Stable since Rust version 1.28.0">1.28.0</span> · <a class="srclink" href="../../src/alloc/alloc.rs.html#90-92">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub unsafe fn alloc(layout: <a class="struct" href="struct.Layout.html" title="struct alloc::alloc::Layout">Layout</a>) -&gt; <a class="primitive" href="../../core/primitive.pointer.html">*mut </a><a class="primitive" href="../../core/primitive.u8.html">u8</a></code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Allocate memory with the global allocator.</p>
88
<p>This function forwards calls to the <a href="trait.GlobalAlloc.html#tymethod.alloc" title="GlobalAlloc::alloc"><code>GlobalAlloc::alloc</code></a> method
99
of the allocator registered with the <code>#[global_allocator]</code> attribute
1010
if there is one, or the <code>std</code> crate’s default.</p>
@@ -24,5 +24,5 @@ <h2 id="examples"><a href="#examples">Examples</a></h2>
2424

2525
<span class="ident">dealloc</span>(<span class="ident">ptr</span>, <span class="ident">layout</span>);
2626
}</code></pre><a class="test-arrow" target="_blank" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0Aextern%20crate%20r%23alloc%3B%0Afn%20main()%20%7B%0Ause%20std%3A%3Aalloc%3A%3A%7Balloc%2C%20dealloc%2C%20Layout%7D%3B%0A%0Aunsafe%20%7B%0A%20%20%20%20let%20layout%20%3D%20Layout%3A%3Anew%3A%3A%3Cu16%3E()%3B%0A%20%20%20%20let%20ptr%20%3D%20alloc(layout)%3B%0A%0A%20%20%20%20*(ptr%20as%20*mut%20u16)%20%3D%2042%3B%0A%20%20%20%20assert_eq!(*(ptr%20as%20*mut%20u16)%2C%2042)%3B%0A%0A%20%20%20%20dealloc(ptr%2C%20layout)%3B%0A%7D%0A%7D&amp;edition=2021">Run</a></div>
27-
</div></details></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="alloc" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
27+
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="alloc" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
2828
</body></html>

0 commit comments

Comments
 (0)