Custom Views for the Rest of UsCustom Views for the Rest of Us ## JACOB RICE 20 21 October 24-29 ## Custom Views for the Rest of Us Jacob Rice jacob.rice.cpp@gmail.com KEYSIGHT TECHNOLOGIES 1 using namespace std::views; 2 for y> ## → ## → ## → ## What is a view? ## Easy to access: namespace std { 3 } namespace views = ranges::views; ## Range • Semantically: a collection of "things". • Has begin and end functions iterated. Pipelines are cheap to create; “real” work is done during iteration. 1 using namespace std::views; 2 for (int i : iota(2) | filter(even) | transform(square)) 3 std::cout << i <<0 码力 | 187 页 | 13.25 MB | 1 年前3
Distributed Ranges: A Model for Building Distributed Data Structures, Algorithms, and Views## +23 ## Distributed Ranges: A Model for Building Distributed Data Structures, Algorithms, and Views ## BENJAMIN BROCK ## Notices and Disclaimers For notices, disclaimers, and details about performance Other names and brands may be claimed as the property of others. ## Human Readable Disclaimer - The views in this talk are mine, not necessarily those of my employer. - This is a speculative, academic-style dot_product(vector& x, vector & y) { auto z = views::zip(x, y) | views::transform([](auto element) { auto [a, b] = element; return a * b; 0 码力 | 127 页 | 2.06 MB | 1 年前3
Что нужно знать об архитектуре ClickHouse, чтобы его эффективно использовать0 码力 | 28 页 | 506.94 KB | 2 年前3
django cms 3.1.x Documentationpy admin.py models.py templates/ tests.py urls.py views.py Let's add it this application to our project. Add 'polls' to the end of INSTALLED_APPS is in here polls_plugin/ # the newly-created application __init__.py admin.py models.py tests.py views.py my_site/ static/ project.db requirements.txt ## The Plugin Model In your poll application’s models supported_apps, but in our case we need it so is_current_app can be detected properly (because the views for the poll app are in polls and our cms_toolbar.py is in the polls_plugin app). There’s a lot more0 码力 | 200 页 | 1.63 MB | 2 年前3
Django 3.1.x Documentationadmin interface: it’s not just scaffolding – it’s the whole house ■ Design your URLs ■ Write your views ■ Design your templates ■ This is just the surface • Quick install guide ■ Install Python Introducing the Django Admin • Writing your first Django app, part 3 Overview Writing more views Write views that actually do something ■ Raising a 404 error ■ Use the template system ■ Removing hardcoded Namespacing URL names • Writing your first Django app, part 4 Write a minimal form ■ Use generic views: Less code is better • Writing your first Django app, part 5 ■ Introducing automated testing ■0 码力 | 3094 页 | 3.03 MB | 2 年前3
Django 3.0.x DocumentationHTTP requests ..... 189 3.4 Working with forms ..... 231 3.5 Templates ..... 279 3.6 Class-based views ..... 291 3.7 Migrations ..... 316 3.8 Managing files ..... 328 3.9 Testing in Django ..... 647 6.1 Applications ..... 647 6.2 System check framework ..... 653 6.3 Built-in class-based views API ..... 666 6.4 Clickjacking Protection 716 6.5 contrib packages 718 6.6 Cross Site Request functions for use in URLconf 1453 6.27 Django Utils 1454 6.28 Validators 1468 6.29 Built-in Views 1473 7 Meta-documentation and miscellany 1477 7.1 API stability 1477 7.2 Design philosophies0 码力 | 2002 页 | 6.73 MB | 2 年前3
Taming the C++ Filter View[Image](/uploads/documents/9/3/9/8/9398714df43beb793f9dce171fbfd241/p1_6.jpg) 3 C++20 Views C++ ©2024 by josuttis.com C++20: Views templatevoid print(const T& coll) { for (const auto& @2024 by josuttis.com 4 Output: 0 8 15 47 11 42 1 0 1 8 11 15 42 47 C++20: Views void print(const auto& coll) { for (const auto& elem : coll) { std::cout << elem << 11 42 1 0 1 8 11 15 42 47 C++ @2024 by josuttis.com 5 josuttis|eckstein IT communication C++20: Views void print(const std::ranges::input_range auto& coll) { for (const auto& elem : coll)0 码力 | 43 页 | 2.77 MB | 1 年前3
Navicat Version 16 Windows User Guide Databases 52 Tables 52 Views 53 Procedures / Functions Tablespaces Events Other Objects Maintain Objects Oracle Schemas Tables Views Materialized Views Procedures / Functions Tables Views Materialized Views Procedures / Functions Types Foreign Servers Other Objects Maintain Objects Manage Extensions SQL Server Databases & Schemas Tables Views Procedures Maintain Objects SQLite Databases Tables Views Other Objects Maintain Objects MongoDB Databases Collections Views 77 Functions 77 Indexes 78 MapReduce 78 GridFS 780 码力 | 324 页 | 3.93 MB | 2 年前3
Navicat Version 16 User Guide (Mac)
Databases 51 Tables 51 Views 52 Procedures / Functions Tablespaces Events Other Objects Maintain Objects Oracle Schemas Tables Views Materialized Views Procedures / Functions Tables Views Materialized Views Procedures / Functions Types Foreign Servers Other Objects Maintain Objects Manage Extensions SQL Server Databases & Schemas Tables Views Procedures Maintain Objects SQLite Databases Tables Views Other Objects Maintain Objects MongoDB Databases Collections Views 75 Functions 75 Indexes 76 MapReduce 76 GridFS 760 码力 | 324 页 | 7.77 MB | 2 年前3
Navicat Version 16 Linux User Guide Databases 51 Tables 51 Views 52 Procedures / Functions Tablespaces Events Other Objects Maintain Objects Oracle Schemas Tables Views Materialized Views Procedures / Functions Tables Views Materialized Views Procedures / Functions Types Foreign Servers Other Objects Maintain Objects Manage Extensions SQL Server Databases & Schemas Tables Views Procedures Maintain Objects SQLite Databases Tables Views Other Objects Maintain Objects MongoDB Databases Collections Views 75 Functions 75 Indexes 76 MapReduce 76 GridFS 760 码力 | 321 页 | 6.65 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
custom viewsproxy iteratorsviewable_rangerange-v3customization points分布式范围分布式数据结构分段处理分布式算法并行计算ClickHouseDistributed tablesreplicated merge treeshardingmaterialized viewsdjango CMSMPTTDjango-treebeardMaterialized Pathpluginasynchronous viewsJSONFielddeprecationPython compatibilitycaching middlewareDjangoORMclass-based viewsstatic filesloggingFilter Viewscall-by-valuecall-by-referenceLazy EvaluationPipelinesNavicatDatabase AdministrationCollaborationData Migration ToolsAutomationBackup & RestoreMultiple DatabasesInstallationRegistrationConnection Settings













