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

Commit 31b632f

Browse files
committed
v3 upload
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent c262461 commit 31b632f

File tree

19,036 files changed

+167456
-102253
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,036 files changed

+167456
-102253
lines changed

NanumBarunGothic-LICENSE.txt

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
Copyright (c) 2010, NAVER Corporation (https://www.navercorp.com/),
2+
3+
with Reserved Font Name Nanum, Naver Nanum, NanumGothic, Naver NanumGothic,
4+
NanumMyeongjo, Naver NanumMyeongjo, NanumBrush, Naver NanumBrush, NanumPen,
5+
Naver NanumPen, Naver NanumGothicEco, NanumGothicEco, Naver NanumMyeongjoEco,
6+
NanumMyeongjoEco, Naver NanumGothicLight, NanumGothicLight, NanumBarunGothic,
7+
Naver NanumBarunGothic, NanumSquareRound, NanumBarunPen, MaruBuri
8+
9+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
10+
This license is copied below, and is also available with a FAQ at:
11+
http://scripts.sil.org/OFL
12+
13+
14+
-----------------------------------------------------------
15+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
16+
-----------------------------------------------------------
17+
18+
PREAMBLE
19+
The goals of the Open Font License (OFL) are to stimulate worldwide
20+
development of collaborative font projects, to support the font creation
21+
efforts of academic and linguistic communities, and to provide a free and
22+
open framework in which fonts may be shared and improved in partnership
23+
with others.
24+
25+
The OFL allows the licensed fonts to be used, studied, modified and
26+
redistributed freely as long as they are not sold by themselves. The
27+
fonts, including any derivative works, can be bundled, embedded,
28+
redistributed and/or sold with any software provided that any reserved
29+
names are not used by derivative works. The fonts and derivatives,
30+
however, cannot be released under any other type of license. The
31+
requirement for fonts to remain under this license does not apply
32+
to any document created using the fonts or their derivatives.
33+
34+
DEFINITIONS
35+
"Font Software" refers to the set of files released by the Copyright
36+
Holder(s) under this license and clearly marked as such. This may
37+
include source files, build scripts and documentation.
38+
39+
"Reserved Font Name" refers to any names specified as such after the
40+
copyright statement(s).
41+
42+
"Original Version" refers to the collection of Font Software components as
43+
distributed by the Copyright Holder(s).
44+
45+
"Modified Version" refers to any derivative made by adding to, deleting,
46+
or substituting -- in part or in whole -- any of the components of the
47+
Original Version, by changing formats or by porting the Font Software to a
48+
new environment.
49+
50+
"Author" refers to any designer, engineer, programmer, technical
51+
writer or other person who contributed to the Font Software.
52+
53+
PERMISSION & CONDITIONS
54+
Permission is hereby granted, free of charge, to any person obtaining
55+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
56+
redistribute, and sell modified and unmodified copies of the Font
57+
Software, subject to the following conditions:
58+
59+
1) Neither the Font Software nor any of its individual components,
60+
in Original or Modified Versions, may be sold by itself.
61+
62+
2) Original or Modified Versions of the Font Software may be bundled,
63+
redistributed and/or sold with any software, provided that each copy
64+
contains the above copyright notice and this license. These can be
65+
included either as stand-alone text files, human-readable headers or
66+
in the appropriate machine-readable metadata fields within text or
67+
binary files as long as those fields can be easily viewed by the user.
68+
69+
3) No Modified Version of the Font Software may use the Reserved Font
70+
Name(s) unless explicit written permission is granted by the corresponding
71+
Copyright Holder. This restriction only applies to the primary font name as
72+
presented to the users.
73+
74+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
75+
Software shall not be used to promote, endorse or advertise any
76+
Modified Version, except to acknowledge the contribution(s) of the
77+
Copyright Holder(s) and the Author(s) or with their explicit written
78+
permission.
79+
80+
5) The Font Software, modified or unmodified, in part or in whole,
81+
must be distributed entirely under this license, and must not be
82+
distributed under any other license. The requirement for fonts to
83+
remain under this license does not apply to any document created
84+
using the Font Software.
85+
86+
TERMINATION
87+
This license becomes null and void if any of the above conditions are
88+
not met.
89+
90+
DISCLAIMER
91+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
92+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
93+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
94+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
95+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
96+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
97+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
99+
OTHER DEALINGS IN THE FONT SOFTWARE.

NanumBarunGothic.ttf.woff

662 KB
Binary file not shown.

NanumBarunGothic.ttf.woff2

390 KB
Binary file not shown.

alloc/all.html

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

alloc/alloc/fn.alloc.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<!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="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="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></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="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a href='../../alloc/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../index.html">alloc</a>::<wbr><a href="index.html">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><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../wheel.svg"></a></div></form></nav><section id="main" class="content"><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><span class="out-of-band"><span class="since" title="Stable since Rust version 1.28.0">1.28.0</span><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/alloc/alloc.rs.html#87-89" title="goto source code">[src]</a></span></h1><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><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>
1+
<!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="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="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><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="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></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="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a href='../../alloc/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../index.html">alloc</a>::<wbr><a href="index.html">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><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../wheel.svg"></a></div></form></nav><section id="main" class="content"><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><span class="out-of-band"><span class="since" title="Stable since Rust version 1.28.0">1.28.0</span><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/alloc/alloc.rs.html#88-90" title="goto source code">[src]</a></span></h1><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>
23
<p>This function forwards calls to the <a href="trait.GlobalAlloc.html#tymethod.alloc" title="GlobalAlloc::alloc"><code>GlobalAlloc::alloc</code></a> method
34
of the allocator registered with the <code>#[global_allocator]</code> attribute
45
if there is one, or the <code>std</code> crate’s default.</p>
@@ -13,11 +14,10 @@ <h2 id="examples" class="section-header"><a href="#examples">Examples</a></h2>
1314
<span class="kw">let</span> <span class="ident">layout</span> <span class="op">=</span> <span class="ident">Layout::new</span>::<span class="op">&lt;</span><span class="ident">u16</span><span class="op">&gt;</span>();
1415
<span class="kw">let</span> <span class="ident">ptr</span> <span class="op">=</span> <span class="ident">alloc</span>(<span class="ident">layout</span>);
1516

16-
<span class="kw-2">*</span>(<span class="ident">ptr</span> <span class="kw">as</span> <span class="kw-2">*</span><span class="kw-2">mut</span> <span class="ident">u16</span>) <span class="op">=</span> <span class="number">42</span>;
17-
<span class="macro">assert_eq!</span>(<span class="kw-2">*</span>(<span class="ident">ptr</span> <span class="kw">as</span> <span class="kw-2">*</span><span class="kw-2">mut</span> <span class="ident">u16</span>), <span class="number">42</span>);
17+
<span class="kw-2">*</span>(<span class="ident">ptr</span> <span class="kw">as</span> <span class="kw-2">*mut</span> <span class="ident">u16</span>) <span class="op">=</span> <span class="number">42</span>;
18+
<span class="macro">assert_eq!</span>(<span class="kw-2">*</span>(<span class="ident">ptr</span> <span class="kw">as</span> <span class="kw-2">*mut</span> <span class="ident">u16</span>), <span class="number">42</span>);
1819

1920
<span class="ident">dealloc</span>(<span class="ident">ptr</span>, <span class="ident">layout</span>);
2021
}</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>
2122
</div></details></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="alloc" data-search-index-js="../../search-index.js" data-search-js="../../search.js"></div>
22-
<script src="../../main.js"></script>
2323
</body></html>

0 commit comments

Comments
 (0)