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 年前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 年前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 年前3Elasticity and state migration: Part I - CS 591 K1: Data Stream Processing and Analytics Spring 2020
dataflow with sources S1, S2, … Sn and rates λ1, λ2, … λn identify the minimum parallelism πi per operator i, such that the physical dataflow can sustain all source rates. S1 S2 λ1 λ2 S1 S2 π=2 serialization send message waiting waiting 13 ??? Vasiliki Kalavri | Boston University 2020 14 o1 src o2 back-pressure target: 40 rec/s 10 rec/s 100 rec/s Which operator is the bottleneck? What if Boston University 2020 14 o1 src o2 back-pressure target: 40 rec/s 10 rec/s 100 rec/s Which operator is the bottleneck? What if we scale ο1 x 4? How much to scale ο2? o1 cannot keep up waiting for0 码力 | 93 页 | 2.42 MB | 1 年前3Golang 101(Go语言101 中文版) v1.21.a
Go中的首要容器类型 第19章:字符串 第20章:函数 - 函数类型和函数值,以及变长参数个数函数 第21章:通道 - Go特色的并发同步方式 第22章:方法 第23章:接口 - 通过包裹不同具体类型的非接口值来实现反射和多态 第24章:类型内嵌 - 不同于继承的类型扩展方式 第25章:非类型安全指针 第26章:泛型 - 如何使用和解读组合类型 第27章:反射 - reflect标准库包中提供的反射支持 Go中的一些语法和语义设计很简单明了,但也有一些设计略微反直觉,甚至自 相矛盾。 Go语法和语义设计中有很多折衷和权衡。一个Go程序员需要相当的 Go编程经验和感悟才能理解这些权衡。 Go提供了几种基本但非必需的类型,比如切片,接口和通道。 Go编译器和运 行时在实现这些类型的时候,进行了必要的封装。 一方面,这些封装为Go编程 带来了许多便利,使我们不用从头实现这些类型。 但另一方面,这些封装隐藏 了这些类型的内部结构, 详细地解释了内存块(memory block)。 了解Go值和内存块之间的关系对 于理解垃圾收集器是如何工作的以及如何避免内存泄漏非常有帮助。 4. 将接口值视为用于包裹非接口值的盒子。 我发现将接口值视为用于包裹非 接口值的盒子对于清除很多和接口相关的困惑非常有帮助。 5. 澄清了Go白皮书中的一些含糊描述,包括内嵌规则、提升方法估值和恐慌/ 恢复机制。 6. 汇总了许多知识点和细0 码力 | 608 页 | 1.08 MB | 1 年前3Golang 101(Go语言101 中文版) v1.21.a
Go中的首要容器类型 第19章:字符串 第20章:函数 - 函数类型和函数值,以及变长参数个数函数 第21章:通道 - Go特色的并发同步方式 第22章:方法 第23章:接口 - 通过包裹不同具体类型的非接口值来实现反射和多态 第24章:类型内嵌 - 不同于继承的类型扩展方式 第25章:非类型安全指针 第26章:泛型 - 如何使用和解读组合类型 第27章:反射 - reflect标准库包中提供的反射支持 Go中的一些语法和语义设计很简单明了,但也有一些设计略微反直觉,甚至 自相矛盾。 Go语法和语义设计中有很多折衷和权衡。一个Go程序员需要相当 的Go编程经验和感悟才能理解这些权衡。 Go提供了几种基本但非必需的类型,比如切片,接口和通道。 Go编译器和运 行时在实现这些类型的时候,进行了必要的封装。 一方面,这些封装为Go编 程带来了许多便利,使我们不用从头实现这些类型。 但另一方面,这些封装 隐藏了这些类型的内部结构, 详细地解释了内存块(memory block)。 了解Go值和内存块之间的关系 对于理解垃圾收集器是如何工作的以及如何避免内存泄漏非常有帮助。 4. 将接口值视为用于包裹非接口值的盒子。 我发现将接口值视为用于包裹 非接口值的盒子对于清除很多和接口相关的困惑非常有帮助。 5. 澄清了Go白皮书中的一些含糊描述,包括内嵌规则、提升方法估值和恐 慌/恢复机制。 6. 汇总了许多知识点和细节0 码力 | 821 页 | 956.82 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词