Benign rust 328 installs Download

ruTENSOR 0.1.34

“Ruda tensor contractions, reductions, permutations and elementwise operations”

Basename is uppercase README.mdContains an unbounded block loop
SHA-2565712f193ff2c84f2ef35f078f9467ac04f1e7939f60e5593cecab106e6131deb
MaleculeH(Cm)Md(Pt)

Evidence

Rust File::create call file.rs · lines 13–29
13:31… .len() as u64;
14 let offset = 0;
15
16 let mut file = std::fs::File::create(&file_name).unwrap();
17 file.write_all(bytes_generated).unwrap();
18 core::mem::drop(file);
19
20 let bytes = Bytes::from_file(&file_name, size, offset);
21
22 let bytes_from_file: &[u8] = &bytes;
23 assert_eq!(
24 bytes_generated, bytes_from_file,
25 "The file is read correctly."
26 );
27 core::mem::drop(bytes);
28
29 …
Contains an unbounded block loop spread.rs · lines 25–33
25:31… _ruda_count[i] as usize {
26 return true;
27 }
28
29 loop {
30 num_rudas[i] = num_rudas[i].div_ceil(base);
31 num_rudas[i + 1] *= base;
32
33 if num_rudas[i] < …
imports super::* spread.rs · lines 34–57
34:24… false;
35 }
36 }
37 };
38
39 for i in 0..2 {
40 if reduce_count(i) {
41 break;
⋯4 lines
46}
47
48#[cfg(test)]
49mod tests {
50 use super::*;
51
52 #[test]
53 fn safe_num_rudas_even() {
54 let max = (32, 32, 32);
55 let required = 2048;
56
57 let actual = ruda_cou …
Contains Hiragana or Katakana script README.md · line 0
0# ruTENSOR [English](../../README.md) | [简体中���](../zh/README.md) | **日本語** | [Deutsch](../de/README.md) | [Русский](../ru/README.md) **英���** | [简体������](../zh/README.md) Ruda デバイス テンソルのテンソル線形代数: 収縮と einsum、リダクション、物理的置換、および要素ごとの演���。 - Cargo パッケージ: `ruTENSOR` - Rust ク���ート: `rutensor` - [英語ユーザ������イド](../../../docs/ja/libraries/rutensor.md) - [中文���用文档](../../../docs/zh/libraries/rutensor.md) ## ruTENSOR ユーザーガイド [計算ライ�
Reads a file into a Rust string comptime_option.rs · lines 514–520
514:4… /// .nth(1)
515 /// .map_or_else(|| std::fs::read_to_string("/etc/someconfig.conf"), Ok)?
516 /// .parse()?;
517 /// # Ok(())
518 /// # }
519 /// ```
520 …

Showing the top 5 files — 2 more files (18 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.