Designing Fast and Efficient List-like Data StructuresList-like data structures std::vector std::list std::dequestd::vector C++ version of the array-list data structure Backed by a C-style array Automatically allocates a new backing array when inserting (O(n))std::list C++ version of the linked-list data structure Elements stored in nodes referencing the next nodestd::list Node Node Node Node Node Node std::list First Laststd::list Inserting byte ...std::list with custom allocator Idea: minimize cache misses by grouping consecutive nodes into contiguous memorystd::list with custom allocator Node Node Node Node Node std::list First Laststd::list0 码力 | 29 页 | 852.61 KB | 6 月前3
JAVA 应用与开发 - 集合与映射JAVA 应用与开发 集合与映射 让我们愉快的 Coding 起来吧... ��� �������������� November 4, 2019 ���� �����List����Set�����Map�的������� ���������� ������iterator��Enumeration ��������� API ������的������������ 1 28 集合�� 集合�����用���������������合����� �� O 集合类型分类 � Set ��������的������������� ������������的��� �� List ������的��������������� ������的���������������� �������� �� Map �����的��¡���Key-Value������ �������的��������������� 集合�� 集合�����用���������������合����� �� O 集合类型分类 � Set ��������的������������� ������������的��� �� List ������的��������������� ������的���������������� �������� �� Map �����的��¡���Key-Value������ �������的���������������0 码力 | 66 页 | 713.79 KB | 1 年前3
Back to Basics: Concurrency9Human Psychology 10 ● The reality is that we have to multitask: ○ We balance work, family, to-do lists, 8 half-finished hobby C++ programming projects, etc. ● Our brains (i.e., human cpus) however0 码力 | 141 页 | 6.02 MB | 6 月前3
CakePHP Cookbook Documentation 5.xDatabase Configuration Migrations CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding Articles Create Add Template Adding Tutorial - Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding Articles Create Add Template Adding Configuring Components to Load Controller::loadComponent() Request Life-cycle Callbacks Event List Controller Callback Methods Controller Middleware Controller::middleware() More on Controllers0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727 List of Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Documentation, Release 5.x (continued from previous page) // Good your-name/cakephp-foo-bar See awesome list recommendations18 for details. Summarized By naming the pieces of your application using CakePHP Tem- plates Arti- cles/index.php Arti- cles/add.php Arti- cles/get_list.php MenuLinks/index.php MenuLinks/add.php MenuLinks/get_list.php View template files are named after the controller functions they0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding Articles Create Add Template Adding Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding Articles Create Add Template Adding Configuring Components to Load Controller::loadComponent() Request Life-cycle Callbacks Event List Controller Callback Methods Controller Middleware Controller::middleware() More on Controllers0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding Articles Create Add Template Adding Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding Articles Create Add Template Adding Model Configuring Components to Load Configuring Helpers to Load Request Life-cycle Callbacks Event List Controller Callback Methods More on Controllers The Pages Controller Components Views The App0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841 List of Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . might try a run through the Content Management Tutorial to see how things fit together. See awesome list recommendations18 for details. CakePHP Folder Structure After you’ve downloaded the CakePHP application will automatically render the template after our controller action completes. Create the Article List Template Now that we have our controller pulling data from the model, and preparing our view context0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831 List of Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Documentation, Release 4.x (continued from previous page) // Good your-name/cakephp-foo-bar See awesome list recommendations18 for details. Summarized By naming the pieces of your application using CakePHP will automatically render the template after our controller action completes. Create the Article List Template Now that we have our controller pulling data from the model, and preparing our view context0 码力 | 967 页 | 2.88 MB | 1 年前3
Laravel 5.2 中文文档eption\HttpException; use Illuminate\Foundation\Validation\ValidationException; /** * A list of the exception types that should not be reported. 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 目录包含应用的异常处理器,同时还是处理应用抛出的任何异常的好地方。 注意:app 目录中的很多类都可以通过 Artisan 命令生成,要查看所有有效的命令,可以在 终端中运行 php artisan list make 命令。 服务提供者 1、简介 服务提供者是所有 Laravel 应用启动的中心,你自己的应用以及所有 Laravel 的核心服务都 是通过服务提供者启动。 但是,我们所谓 自带的命令行接口名称,它为我们在开发过程中提供了很多有用的命 令。通过强大的 Symfony Console 组件驱动。想要查看所有可用的 Artisan 命令,可使用 list 命令: php artisan list 每个命令都可以用 help 指令显示命令描述及命令参数和选项。想要查看帮助界面,只需要 在命令前加上 help 就可以了: php artisan help migrate0 码力 | 377 页 | 4.56 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













