Object Oriented Programming
Object-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final Template method Destructor Interfaces Liskov substitution principle /destructor Slicing ShadowingPolymorphism Polymorphism (poly morphs) is the characteristic of an object to behave differently at run time. Polymorphism ▪ Inheritance is the base of polymorphism ▪ Enables separation of the interface and its implementation is one of the crucial ideas of modern software design.Object-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality0 码力 | 38 页 | 752.99 KB | 5 月前3Dynamic Model in TVM
rights reserved. Presenter: Haichen Shen, Yao Wang Amazon SageMaker Neo, Deep Engine Science Dynamic Model in TVM AWS AI© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Models with models© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support dynamic model in TVM ● Support Any-dim in typing ● Use shape function to compute the type at runtime ● Virtual Affiliates. All rights reserved. Relay virtual machine Relay Executable relay.vm.compile Relay Object (hardware independent) Code segment VM Func 0 VM Func 1 ... VM Func N Data segment Const 00 码力 | 24 页 | 417.46 KB | 5 月前3Object Lifetime: From Start to Finish
Object Lifetime From Start to Finish Thamara Andrade | https://thamara.dev/34 Me finally understanding why my code was failing… ... and realizing I didn’t really understand the rules for object object lifetime.What is object lifetime anyway? 567You can expect… but not… •Review of object lifetime •(A Little of) RAII •Beyond basic lifetime •Common pitfalls •Value categories •Unions/Arrays •Any Initialization68 { Resource Acquisition Is Initialization Tying resource acquisition and deallocation to object lifetime.69 { struct DynamicArray { explicit DynamicArray(size_t sz) : m_d(new int[sz]) {} ~DynamicArray()0 码力 | 214 页 | 9.34 MB | 5 月前3SVG Test Document
inkscape:window-width="2560" showgrid="false" inkscape:document-rotation="0" inkscape:current-layer="layer1" inkscape:document-units="mm" inkscape:cy="471.3062" inkscape:cx="4150 码力 | 5 页 | 11.74 KB | 5 月前3Back to Basics: Object-Oriented Programming
Andreas Fertig Write unique code! Back to Basics Object-Oriented Programming Presentation Material CppCon, Aurora CO, 2024-09-20© 2024 Andreas Fertig AndreasFertig.com All rights reserved All programs com post@AndreasFertig.com 5A class ■ C++ adds classes for object-oriented programming. ■ The constructors B are called when the object is cre- ated. ■ Data fields of classes should be initialized Flush() override { puts("USBC Flush"); } 15 }; 16 17 int main() 18 { 19 A Note, I’m creating a USBC object and store it as IOPort 20 std::unique_ptrport{std::make_unique ()}; 21 22 port−>Flush(); 0 码力 | 20 页 | 1.04 MB | 5 月前3Apache ShardingSphere 5.1.1 Document
Apache ShardingSphere document v5.1.1 Apache ShardingSphere Apr 14, 2022 Contents 1 Overview 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 we prefer to focus on its incrementation instead of a total overturn. 1 Apache ShardingSphere document, v5.1.1 1.1.1 ShardingSphere-JDBC ShardingSphere‐JDBC defines itself as a lightweight Java framework that is compatible with MySQL and PostgreSQL protocol. 1.1. Introduction 2 Apache ShardingSphere document, v5.1.1 1.1.3 ShardingSphere-Sidecar(TODO) ShardingSphere‐Sidecar (TODO) defines itself as a cloud‐native0 码力 | 458 页 | 3.43 MB | 1 年前3Apache ShardingSphere 5.0.0 Document
Apache ShardingSphere document v5.0.0 Apache ShardingSphere Nov 10, 2021 Contents 1 Overview 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 is positioned as a Database Plus, and aims at building a new criterion and ecosystem above multi‐model databases. It focuses on how to reuse existing databases and their re‐ spective upper layer, rather we prefer to focus on its incrementation instead of a total overturn. 1 Apache ShardingSphere document, v5.0.0 1.1.1 ShardingSphere-JDBC ShardingSphere‐JDBC defines itself as a lightweight Java framework0 码力 | 403 页 | 3.15 MB | 1 年前3Apache ShardingSphere 5.2.1 Document
Apache ShardingSphere document v5.2.1 Apache ShardingSphere Oct 18, 2022 Contents 1 Overview 1 1.1 What is ShardingSphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 encapsulates database binary protocol to support heterogeneous languages. 1 Apache ShardingSphere document, v5.2.1 1.1.2 Product Features Fea- ture Definition Data Shard‐ ing Data sharding is an database that implements JDBC specifications. 1.1. What is ShardingSphere 2 Apache ShardingSphere document, v5.2.1 • Zero Business Intrusion In response to database switchover scenarios, ShardingSphere0 码力 | 523 页 | 4.51 MB | 1 年前3Apache ShardingSphere 5.1.2 Document
Apache ShardingSphere document v5.1.2 Apache ShardingSphere Jun 17, 2022 Contents 1 Overview 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 we prefer to focus on its incrementation instead of a total overturn. 1 Apache ShardingSphere document, v5.1.2 1.1.1 ShardingSphere-JDBC ShardingSphere‐JDBC defines itself as a lightweight Java framework that is compatible with MySQL and PostgreSQL protocol. 1.1. Introduction 2 Apache ShardingSphere document, v5.1.2 1.1.3 ShardingSphere-Sidecar(TODO) ShardingSphere‐Sidecar (TODO) defines itself as a cloud‐native0 码力 | 503 页 | 3.66 MB | 1 年前3Apache ShardingSphere 5.2.0 Document
Apache ShardingSphere document v5.2.0 Apache ShardingSphere Sep 8, 2022 Contents 1 Overview 1 1.1 What is ShardingSphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 Java framework that provides additional services at Java’s JDBC layer. 1 Apache ShardingSphere document, v5.2.0 ShardingSphere-Proxy ShardingSphere‐Proxy is a transparent database proxy, providing a the system’s true capacity and performance. 1.1. What is ShardingSphere 2 Apache ShardingSphere document, v5.2.0 1.1.3 Advantages • Ultimate Performance Having been polished for years, the driver is0 码力 | 483 页 | 4.27 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100