Java 应用与开发 - 高级 I/O 编程Java 1/0 原理 常用 I/O 流类型 # Java 应用与开发 高级 I/O 编程 王晓东 wangxiaodong@ouc.edu.cn 中国海洋大学 October 29, 2018   Source) 数据宿(Data Sink) ▶ 流(Stream) Java 中把不同的数据源与程序间的数据传输都抽象表述为流,java.io 包中定义了多种 I/O 流类型实现数据 I/O 功能。 ## Java I/O 流的分类 ## ☑ 按照数据流动的方向 Java 流可分为输入流(Input Stream)和输出流(Output Stream)。 ▶ 输入流只能从中读取数据,而不能向其写出数据;0 码力 | 27 页 | 609.17 KB | 2 年前3
File I/O for Game Developers: Past, Present, and FutureFile I/O for Game Developers: Past, Present, and Future ## GUY DAVIDSON ## 20 23 October 01 - 06 # FILE I/O: PAST, PRESENT AND FUTURE CPPCON OCTOBER 3 $ ^{RD} $ 2023 GUY DAVIDSON @HATCAT01 ## I NTRODUCTIONS |• File access - open fclose flush|• Direct i/o - fread fwrite|• Unformatted i/o - fgetc/fgets fputc/fputs getchar putchar| |---|---|---| |• Formatted i/o - scanf printf|• File positioning - ftell fgetpos 428777cdd7bd07f47/p55_1.jpg) ## THE 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 | 1 年前3
THE NETWORKINGTS FROM SCRATCH: IO ObjectsTHE NETWORKING TS FROM SCRATCH ## I /O Objects Robert Leahy - rleahy@rleahy.ca ISO C++ Networking is blocked on Executors (P0443) Target for Networking is currently C++23 (P0592) Used standalone Asio of composed asynchronous operations depend on those guarantees being honored transitively ## “I/O objects” provide a handle to low level asynchronous functionality within the framework of the Networking target (like std::function) I/O object contains a container of pending Transitively I/O object owns pending Type erasure means target could be any type Target could own the I/O object creating a cycle ##0 码力 | 35 页 | 900.82 KB | 1 年前3
Concurrency Patterns Istructure Software system ## ■ Design pattern ■ Interplay of components ■ Focus on a subsystem ## I diome ■ Implementation of an architecture or design pattern in a concrete programming language. ## Interface ■ Guarded Suspension Reactor ## Scoped Locking ## Scoped Locking is RAI applied to locking ## I dea: - Bind the acquiring (constructor) and the releasing (destructor) of the resource to the lifetime locking strategies as replaceable components. Is the application of the strategy pattern to locking. ## I dea: ■ You want to use your library in various domains. - Depending on the domain, you want to use0 码力 | 39 页 | 1.14 MB | 1 年前3
Why I Was Wrong About
TypeScript## Why I Was Wrong About TypeScript TJ VanToll Progress $ ^{®} $ DevReach 2013 THE PREMIER DEVELOPER CONFERENCE IN CENTRAL & EASTERN EUROPE ## TypeScript TypeScript Modules Decorators Generics Triple-Slash Directives Structural detection ## Why I Was Wrong About TypeScript ## Whether TypeScript is a good fit for your next project ## Why I Was Wrong About TypeScript ## “A typed superset of JavaScript _1.jpg) # Objects: math = root: Math.sqrt square: square cube: (x) -> x * square x # Splats: race = (winner, runners...) -> print winner, runners # Existence: alert "I knew it!"0 码力 | 61 页 | 3.65 MB | 2 年前3
Nim Tutorial (Part I) 0.17.1#### Nim Tutorial (Part I) 0.17.1 ## Andreas Rumpf August 19, 2017 Contents 1 Introduction 2 2 The first program 2 3 Lexical elements 2 3.1 String and character literals 3 3.2 Comments 3 turned off and optimizations are turned on. Though it should be pretty obvious what the program does, I will explain the syntax: statements which are not indented are executed when the program starts. Indentation can have any Nim code text commented out inside this with no indentation restrictions. yes("May I ask a You can also use the discard statement together with long string literals to create block comments:0 码力 | 24 页 | 271.23 KB | 1 年前3
Object Introspection: A Revolutionary Memory Profiler for C++ Objects## +23 ## Object Introspection: A Revolutionary Memory Profiler for C++ Objects ## JONATHAN HASLAM & ADITYA SARWADE 20 23 October 01 - 06 ## Scene Setting “... functions then provide the basic vocabulary of data.” Bjarne Stroustrup, A Tour of C++, Second Edition. struct TimeStamps { i64 insertionTime; i64 processingTime; }; ## Scene Setting struct Bar { std::string str; }; struct Foo p4_1.jpg) ## Object Introspection (Ol) Goals - Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers • Optimised, production0 码力 | 62 页 | 2.24 MB | 1 年前3
angular2 mock test i[Image](/uploads/documents/4/1/f/7/41f7ae8ceaa6f78310b437a4e201349e/p1_1.jpg) ## ANGULAR 2 MOCK TEST I ## Q 1 - Which of the following is correct about Angular 2 Components? A - AngularJS had a focus of0 码力 | 4 页 | 83.79 KB | 2 年前3
Julia 1.8.0 Documentation## The Julia Language ## julia V1.8.0 The Julia Project August 19, 2022 ## Contents Contents I Manual 1 Julia 1.8 Documentation 2 Getting Started 2.1 Resources 3 Variables 3.1 Allowed Variable Varargs methods ..... 153 12.7 Note on Optional and keyword Arguments ..... 154 12.8 Function-like objects ..... 154 12.9 Empty generic functions ..... 155 12.10 Method design and the avoidance of ambiguities Operations on Arrays ..... 269 21 Networking and Streams ..... 271 21.1 Basic Stream I/O ..... 271 21.2 Text I/O ..... 272 21.3 IO Output Contextual Properties ..... 273 21.4 Working with Files0 码力 | 1595 页 | 5.35 MB | 2 年前3
Julia 1.10.0 DEV DocumentationJulia Language ## julia V1.10.0-DEV.1622 The Julia Project July 3, 2023 ## Contents Contents I Manual 1 Julia 1.10-DEV Documentation 1.1 Important Links 1.2 Introduction 1.3 Julia Compared Varargs methods ..... 163 12.8 Note on Optional and keyword Arguments ..... 163 12.9 Function-like objects ..... 164 12.10 Empty generic functions ..... 165 12.11 Method design and the avoidance of ambiguities Operations on Arrays ..... 281 21 Networking and Streams ..... 283 21.1 Basic Stream I/O ..... 283 21.2 Text I/O ..... 284 21.3 IO Output Contextual Properties ..... 285 21.4 Working with Files0 码力 | 1678 页 | 5.95 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
I/O流字节流字符流InputStreamOutputStreamFile I/Obuffered file IOunbuffered file IODirectStorageC++I/O ObjectsExecutorsCompletion handlersOwnership cyclesExecutionContextConcurrency PatternsThread-Specific StorageMonitor ObjectScoped LockingFutureTypeScriptJavaScriptTJ VanTollProgress核心构建Nimvar statementprocstring literalscontrol flowObject IntrospectionMemory ProfilerType ReconstructionCode GenerationDebug InfoAngular 2组件服务模块指令DocumentationREPLCrashesI/OJulia 1.8Julia调试文档环境变量













