Library Search
结果页

02-虚拟线程与并发编程

在 技术栈 中找到 8 个匹配结果。

返回文档库
技术栈

技术栈

8 个
查看全部
Java ```java // 组合多个异步调用 CompletableFuture<String> userFuture = CompletableFuture.supplyAsync(() -> fetchUser(id), virtualExecutor); CompletableFuture<Integer> orderFuture = CompletableFuture.sup… 2% Remix ## 运行步骤 ```bash npx create-remix@latest remix-contacts cd remix-contacts npm run dev ``` ## 预期输出 - 页面显示预设联系人,搜索框实时过滤 - 填写表单添加联系人,提交后自动刷新(无需手动 setState) - 删除按钮直接提交 Form,Remix 自动重新验证 loader # Remix He… 2% Rust ```rust trait Summary { fn summarize(&self) -> String; } impl Summary for Article { fn summarize(&self) -> String { format!("{} - by {}", self.title, self.author) } } ``` 泛型约束:… 2% SEGGER J-Link # 批量烧录(脚本循环) for i in {1..100}; do JFlash -openprj production.jflash \ -open "firmware_v1.2.hex" \ -auto \ -exit echo "设备 #$i 完成" done ``` ### 5. 序列号 CSV 定制… 2% C++ # C++ 技术栈概览 C++ 是由 Bjarne Stroustrup 于 1985 年发布的**通用编程语言**,以 C 语言为基础引入面向对象特性。经过 C++11/14/17/20/23 标准迭代,已成为支持**面向对象、泛型、函数式**的多范式语言。 ## 解决什么问题 - **系统编程**:操作系统、驱动程序、嵌入式固件 - **游戏开发**:Unreal Engine、Coco… 2% Kotlin | 函数 | 对象引用 | 返回值 | 典型场景 | |------|---------|--------|----------| | `let` | `it` | Lambda 结果 | 可空对象安全操作 | | `run` | `this` | Lambda 结果 | 对象配置+计算 | | `apply` | `this` | 对象本身 | 对象初始化 | | `also` | `it` |… 1% Solid.js ```html <!-- index.html --> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Solid.js App… 1% Spring Batch ```java @Bean public Step cleanupStep(JobRepository repo, PlatformTransactionManager tm) { return new StepBuilder("cleanupStep", repo) .tasklet((contribution, chunkContext) -> {… 1%