-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
109 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nav: | ||
- 主页: index.md | ||
- 项目状态: projects.md | ||
- 计划: todo.md | ||
- 库: libraries | ||
- Plant-OS: Plant-OS | ||
- CoolPotOS: CoolPotOS |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
search: | ||
exclude: true | ||
--- | ||
|
||
# 隐藏页面 | ||
|
||
## 114514 | ||
|
||
![114:51:40](assets/114514.png) | ||
|
||
## 已过时的 | ||
|
||
### Plant-OS 吉祥物备选项 | ||
|
||
![icon 1](assets/icon-1.png) | ||
![icon 2](assets/icon-2.png) | ||
![icon 3](assets/icon-3.png) | ||
![icon 4](assets/icon-4.png) | ||
![icon 5](assets/icon-5.png) | ||
![icon 6](assets/icon-6.png) | ||
![icon 7](assets/icon-7.png) | ||
![icon 8](assets/icon-8.png) | ||
![icon 9](assets/icon-9.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ meta: | |
|
||
# 内存分配器 | ||
|
||
![](/assets/内存管理.svg) | ||
![内存管理](assets/内存管理.svg) |
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
comments: true | ||
meta: | ||
- property: og:title | ||
content: libmisc | ||
title: misc | ||
--- | ||
|
||
# plos misc | ||
|
||
各种可能会使用到的函数 | ||
|
||
## crypto | ||
|
||
用于加密、解密、编码与哈希的函数集 | ||
|
||
### 加密、解密 | ||
|
||
- `caesar` | ||
|
||
### 编码 | ||
|
||
- `base64` | ||
- `hex` | ||
|
||
### 哈希 | ||
|
||
- `crc16` | ||
- `crc32` | ||
- `md2` | ||
- `md5` | ||
- `sha256` | ||
|
||
| Benchmark | Time | CPU | Iterations | | ||
|-----------|-------------|-------------|------------| | ||
| HASH | 965213 ns | 965165 ns | 718 | | ||
| CRC16 | 2159411 ns | 2159417 ns | 322 | | ||
| CRC32 | 1919038 ns | 1918664 ns | 365 | | ||
| MD2 | 80181603 ns | 80179200 ns | 9 | | ||
| MD5 | 5365364 ns | 5365305 ns | 130 | | ||
| SHA256 | 9748719 ns | 9748511 ns | 72 | | ||
|
||
> 测试数据大小 1,000,000 | ||
## math | ||
|
||
扩展的数学函数集 | ||
|
||
- `FFT` | ||
- `MDCT` | ||
- ... | ||
|
||
| Benchmark | Time | CPU | Iterations | | ||
|-----------|----------|----------|------------| | ||
| PLOS_FFT | 24344 ns | 24343 ns | 28176 | | ||
| FFTW | 4071 ns | 4071 ns | 171647 | | ||
|
||
> 测试数据大小 2048 | ||
**测试平台** | ||
|
||
```plan | ||
CPU: AMD Ryzen 7 5800H with Radeon Graphics | ||
Run on (16 X 4463 MHz CPU s) | ||
CPU Caches: | ||
L1 Data 32 KiB (x8) | ||
L1 Instruction 32 KiB (x8) | ||
L2 Unified 512 KiB (x8) | ||
L3 Unified 16384 KiB (x1) | ||
``` | ||
|
||
具体测试代码见 [Plant-OS](/Plant-OS/) 储存库 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters