こちらの応募は終了しました、冬も募集予定です。
This file contains hidden or 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
const std = @import("std"); | |
const system = std.os.system; | |
pub const Scheduler = struct { | |
pub const InitConfig = struct { | |
max_threads: ?u16 = null, | |
}; | |
pub fn init(self: *Scheduler, config: InitConfig) !void { |
This file contains hidden or 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
//! Zig 作者のコードを参考にした | |
//! https://gist.github.com/andrewrk/34c21bdc1600b0884a3ab9fa9aa485b8 | |
//! https://gist.github.com/karlseguin/53bb8ebf945b20aa0b7472d9d30de801 | |
//! 非同期版 tcp echo server | |
const std = @import("std"); | |
const net = std.net; | |
const os = std.os; | |
const mem = std.mem; | |
const log = std.log; |
日時: | 2022-03-28 |
---|---|
作: | voluntas |
バージョン: | 2022.5 |
URL: | https://voluntas.github.io/ |
This file contains hidden or 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
-module(benchmark). | |
-export([main/0]). | |
%% 1100 バイト中 1000 バイトを暗号化する | |
%% AES-128-CTR + HMAC-SHA1 はお尻に 10 バイトつけるので 1110 バイトになる | |
%% AES-128-GCM はお尻に 16 バイトつけるので 1116 バイトになる | |
%% TODO: IV は固定ではなく SeqNum にすべき |
日時 | 2024-11-12 |
---|---|
バージョン | 2024.5 |
作 | 時雨堂 |
URL | https://sora-cloud.shiguredo.jp/ |
日時: | 2021-01-29 |
---|---|
作: | @voluntas |
バージョン: | 2021.2 |
url: | https://voluntas.github.io/ |
更新: | 2023-12-08 |
---|---|
作者: | @voluntas |
バージョン: | 2023.2 |
URL: | https://voluntas.github.io/ |
タイポなどは Twitter の @voluntas までお願いします。