検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 53 for Vec (0.033 sec.)
Vec の実装 9109
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... utex の実装 Light (default) Rust Coal Navy Ayu 例: Vec の実装 全てをまとめるために、最初から std::Vec を書 ... を含んでいます) 。 究極には、これは、ここで実装する Vec では可能な最適化を全部は 利用しないということを意味 ...
https://man.plustar.jp/rust/nomicon/vec.html - [similar]
参照外し 8558
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... Target=[T]> を実装すればよいのです。これによって、 Vec に あらゆる状況において、スライスに型強制したり、ス ... になります。 use std::ops::Deref; impl<T> Deref for Vec<T> { type Target = [T]; fn deref(&self) -> &[T] { ...
https://man.plustar.jp/rust/nomicon/vec-deref.html - [similar]
Subtyping and Variance 8424
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... generic type with unbound arguments. For instance Vec is a type constructor that takes a T and returns a ... Vec<T> . & and &mut are type constructors that take tw ...
https://man.plustar.jp/rust/nomicon/subtyping.html - [similar]
アロケーティング 8156
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... メモリのアロケーティング Unique を使用することで、 Vec の重要な機能に関して (そして実に std の全ての コレ ... クションにおいて) 問題が発生します。すなわち、空の Vec は実際に、 何もアロケートしていないのです。ですから ...
https://man.plustar.jp/rust/nomicon/vec-alloc.html - [similar]
ライフタイム 7739
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... 別名付け もう一つの例はどうでしょう。 let mut data = vec![1, 2, 3]; let x = &data[0]; data.push(4); println ... !("{}", x); 'a: { let mut data: Vec<i32> = vec![1, 2, 3]; 'b: { // スコープ 'b は次の貸 ...
https://man.plustar.jp/rust/nomicon/lifetimes.html - [similar]
ポイゾニング 7680
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... うのも例外を発見した処理は直後に 死ぬためです。例えばVecを別のスレッドに送り、そのスレッドがパニックし、結果 ... として Vecが奇妙な状態に陥ったとしても、ドロップされて永久に闇 ...
https://man.plustar.jp/rust/nomicon/poisoning.html - [similar]
Drop Check 7605
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... owever, what if we do the following? let (x, y) = (vec![], vec![]); Does either value strictly outlive th ... es and structs. However, what about something like Vec? Vec has to manually drop its elements via pure-li ...
https://man.plustar.jp/rust/nomicon/dropck.html - [similar]
競合 7471
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... icUsize, Ordering}; use std::sync::Arc; let data = vec![1, 2, 3, 4]; // Arc にすることで、 他のスレッドよ ... なら、アトミックメモリから読み込み、その値のコピーを Vec のインデックス実装に // 渡すからです。このインデッ ...
https://man.plustar.jp/rust/nomicon/races.html - [similar]
デアロケーティング 7055
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... リをアロケートしていないからです。 impl<T> Drop for Vec<T> { fn drop(&mut self) { if self.cap != 0 { while ...
https://man.plustar.jp/rust/nomicon/vec-dealloc.html - [similar]
サイズが 0 の型を扱う 6995
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 並行性 8.1. 競合 8.2. Send and Sync 8.3. Atomics 9. Vec の実装 9.1. レイアウト 9.2. アロケーティング 9.3. ... .5. 参照外し 9.6. 挿入と削除 9.7. IntoIter 9.8. RawVec 9.9. Drain 9.10. サイズが 0 の型を扱う 9.11. Final ... ust では 絶対に これを気にする必要はないのですが、 Vec は非常に生ポインタや生アロケーションを 多用します。 ... いことに、ポインタのイテレータと、 RawValIter と RawVec に対する アロケーションの扱いを抽出しました。なんと ...
https://man.plustar.jp/rust/nomicon/vec-zsts.html - [similar]
PREV 1 2 3 4 5 6 NEXT