Java 应用与开发 - 高级 I/O 编程
大纲 Java I/O 原理 基础 I/O 流 常用 I/O 流类型 I/O 应用 Java 应用与开发 高级 I/O 编程 王晓东 wangxiaodong@ouc.edu.cn 中国海洋大学 October 29, 2018 大纲 Java I/O 原理 基础 I/O 流 常用 I/O 流类型 I/O 应用 学习目标 1. 深入理解 Java 的 I/O 原理 2. 掌握 Java Java 基本 I/O 流类型 3. 掌握 I/O 的几种应用编程方式 大纲 Java I/O 原理 基础 I/O 流 常用 I/O 流类型 I/O 应用 大纲 Java I/O 原理 基础 I/O 流 常用 I/O 流类型 I/O 应用 大纲 Java I/O 原理 基础 I/O 流 常用 I/O 流类型 I/O 应用 ���� Java I/O 原理 基础 I/O 流 常用 常用 I/O 流类型 I/O 应用 大纲 Java I/O 原理 基础 I/O 流 常用 I/O 流类型 I/O 应用 Java I/O 原理 O I/O(Input/Output)基本概念 ▶ 数据源(Data Source) ▶ 数据宿(Data Sink) ▶ 流(Stream) Java 中把不同的数据源与程序间的数据传输都抽象表述为 流,java.io 包中定义了多种 I/O 流类型实现数据0 码力 | 27 页 | 609.17 KB | 1 年前3File I/O for Game Developers: Past, Present, and Future
FILE I/O: PAST, PRESENT AND FUTURE CPPCON OCTOBER 3RD 2023 GUY DAVIDSON @HATCAT01INTRODUCTIONS • Head of Engineering Practice at Creative Assembly • 1980 – Acorn Atom • ISO/IEC JTC1/SC22/WG21 • BSI RAM, MORE DISK CAPACITY • Formatted i/o – scanf printf • Direct i/o – fread fwrite • File positioning – ftell fgetpos fseek fsetpos rewind • Unformatted i/o – fgetc/fgets fputc/fputs getchar putchar interface Secondary interfaceTHE 64-BIT ADDRESS SPACE • https://wg21.link/p1040 • “I’m very keen on std::embed. I’ve been hand-embedding data in executables for NEARLY FORTY YEARS now. — Guy "Hatcat"0 码力 | 64 页 | 2.69 MB | 5 月前3Concurrency Patterns I
0 码力 | 39 页 | 1.14 MB | 5 月前3Why I Was Wrong About TypeScript
Why I Was Wrong About TypeScript TJ VanToll TypeScript TypeScript TypeScript Why I Was Wrong About TypeScript Whether TypeScript is a good fit for your next project Why I Was Wrong About PHP, and way more. Why I Was Wrong About TypeScript ✉ “We risk a lot by building our core on top of TypeScript.” “I don’t hear anyone talking about TypeScript.” “I like to keep my JavaScript JavaScript pure, as God intended.” Why I Was Wrong About TypeScript Why? 3 reasons 1) Commitment to the ECMAScript standard “Some examples [of compile-to-JavaScript frameworks], like Dart, portend0 码力 | 61 页 | 3.65 MB | 1 年前3Nim Tutorial (Part I) 0.17.1
N i m T u t o r i a l ( P a r t I ) 0 . 1 7 . 1 Andr e a s R umpf Aug us t 1 9 , 2 0 1 7 C o nt e nt s 1 I n t r od u c t i on 2 2 Th e fi r s t p r ogr am 2 3 L e x i c al e l e m e n t s 2 3. 1 1 S t r i n g an d c h ar ac t e r l i t e r al s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3. 2 C om m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ar s t at e m e n t 3 5 Th e as s i gn m e n t s t at e m e n t 3 6 C on s t an t s 4 7 Th e l e t s t at e m e n t 4 8 C on t r ol fl ow s t at e m e n t s 4 8. 1 I f s t at e m e n t . . . . . . .0 码力 | 24 页 | 271.23 KB | 1 年前3Rust 异步 Runtime 的兼容层 - 施继成
Rust 异步 Runtime 的兼容层 施继成 @ DatenLord Introduce what’s rust async runtime # Rust async runtime Analyze the reason of runtime isolation # Async runtime binding # Compatible layer 1 Create a wheel Language and compiler define tasks • How to run it? • When to run it? • How does it deal with the I/O? Rust async runtime Runtime responsibilities • Invoke waiting tasks and halt tasks • Get notifications HTTP client framework for async-std Async runtime binding Barriers on runtime switch • Switch all I/O related data structures • Switch all async macros • Switch all functions • Scan everywhere – We0 码力 | 22 页 | 957.41 KB | 1 年前3angular2 mock test i
supplied with a mock test key to let you verify the final score and grade yourself. ANGULAR 2 MOCK TEST I Q 1 - Which of the following is correct about Angular 2 Components? A - AngularJS had a focus of Controllers0 码力 | 4 页 | 83.79 KB | 1 年前3Rust 异步并发框架在移动端的应用 - 陈明煜
第三届中国 Rust 开发者大会 Rust 异步并发框架在移动端的应用 陈明煜 chenmingyu4@huawei.com 华为 公共开发部 嵌入式软件能力中心 本科就读加州大学圣地亚哥分校,毕业时长两年半, Rustacean 在 华为 目前正在使用 Rust 开发并行调度框架等模块。 Rust 异步并发框架在移动端的应用 陈明煜 chenmingyu4@huawei.com 华为 公共开发部 嵌入式软件能力中心 Applications of Rust Runtime in Mobile Overview of asynchronous Rust #1 Rust 异步简介 Ylong async runtime #3 Ylong Runtime 并发框架 目录 Table of Contents #2 社区并发框架介绍以及与移动端的不适配性 Introduction environment Rust 异步机制 Asynchronous Rust 异步并发框架是许多大型应用、系统具备的底层能力。 区别于多线程编程模型,它带来以下优势: 任务调度颗粒度更小,充分利用线程资源 更可控的线程数 单个任务资源占用:几十 KB -> 几百 Byte 任务切换时间 : 10 微秒 -> 100 纳秒 Rust 语言并没有提供异步并发框架, 只提供异步所需的基本特性:0 码力 | 25 页 | 1.64 MB | 1 年前3ExtJS和AngularJS比较
ExtJS和AngularJS比较 原文地址:http://www.techferry.com/articles/ExtJS-vs-AngularJS.html ExtJS 和AngularJS 是两种企业级的富 UI设计框架。 这篇文章从优势、架构、测试、性能等各个方面比较了 ExtJS 和 AngularJS 我们用ExtJS和AngularJS开发了一个简单测试的应用程序,进行完整的性能测 Sencha ExtJS 和 和 AngularJS对比 对比 序号 序号 Features ExtJS AngularJS 1. UI应用程序商店 ✔ ✘ 2. 丰富的UI组件样式 ✔ 幸运的是, AngularUI中已经包含了许 多开源的组件, AngularUI Bootstrap, K endo (and Angular-Kendo), Wijmo 和其他 的. 3. 开发单页应用 应用程序设计框架 ExtJS 5 支持 MVC (Model-View-Controller) 和 MVVM (M odel-View-ViewModel) MVW (Model-View-Whatever). 它支持流行的设计模式,比如 Model-Vi ew-Controller(MVC) 和 Model-View-Vie wModel(MVVM) 8. 依赖注入 Ext JS 能够通过扩展(0 码力 | 6 页 | 244.12 KB | 1 年前3Guia prático RISC-V Atlas de uma Arquitetura Aberta Primeira edição, 1.0.0
D e p o i m e n t o s Este livro oportuno descreve de forma concisa a ISA RISC-V simples, livre e aberta que está experimentando rápida absorção em muitas áreas diferentes da computação. O livro contém de computadores em geral, e também descreve as escolhas particulares de projeto que fizemos na criação do RISC-V. Eu posso imaginar este livro se tornando um guia de referência bem utilizado por muitos usuários California, Berkeley, um dos quatro arquitetos do RISC-V Eu gosto do RISC-V e deste livro, pois eles são elegantes, breves, direto ao ponto e com- pletos. Os comentários do livro fornecem gratuitamente uma0 码力 | 215 页 | 21.77 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100