码迷,mamicode.com
首页 >  
搜索关键字:constant pool    ( 4909个结果
Mysql优化
1. 服务器层面 1)尽量数据存到内存,Innodb_buffer_pool_size建议设为服务器总内存的 3/4 或者 4/5 如果我们到mysql那查看 SHOW GLOBAL STATUS LIKE 'Innodb_buffer_pool_pages_%' 看到 Innodb_buffer_ ...
分类:数据库   时间:2019-01-27 21:56:45    阅读次数:217
【Ray Tracing The Next Week 超详解】 光线追踪2-9
我们来整理一下项目的代码 目录 include --hit --texture --material RTdef.hpp ray.hpp camera.hpp main.cpp 3D泛型数学库中的randomfunc.hpp增加了新内容 #pragma once #include <lvgm\typ ...
分类:其他好文   时间:2019-01-27 21:35:57    阅读次数:130
《从0到1学习Flink》—— Flink 写入数据到 ElasticSearch
<! more 前言 前面 FLink 的文章中我们已经介绍了说 Flink 已经有很多自带的 Connector。 1、[《从0到1学习Flink》—— Data Source 介绍 ](http://www.54tianzhisheng.cn/2018/10/28/flink sources/) ...
分类:其他好文   时间:2019-01-27 19:04:26    阅读次数:208
LeetCode-24-Swap Nodes in Pairs
算法描述: Given a linked list, swap every two adjacent nodes and return its head. Example: Note: Your algorithm should use only constant extra space. You ...
分类:其他好文   时间:2019-01-25 15:06:14    阅读次数:167
SSE4 1和SSE4 2 Intrinsics各函数介绍
SIMD相关头文件包括: //#include <ivec.h>//MMX //#include <fvec.h>//SSE(also include ivec.h) //#include <dvec.h>//SSE2(also include fvec.h) #include <mmintrin. ...
分类:其他好文   时间:2019-01-25 13:02:28    阅读次数:227
线程池梳理
线程池 目的 降低资源消耗 通过重复利用已创建的线程降低线程的创建和销毁的消耗 提高利用率 当任务到达时,可以省去线程的创建时间,直接去执行。 方便管理 线程是稀缺资源,如果无限制地创建,不仅会消耗系统资源,还会降低系统的稳定性。使用线程池可以统一分配,调优和监控。 线程池的四种创建方式 1. ne ...
分类:编程语言   时间:2019-01-24 22:59:07    阅读次数:252
VMware vSphere 4.0平台虚机迁移至VMware vSphere 6.0平台方法
VMware vSphere 4.0平台虚机迁移至VMware vSphere 6.0平台方法
分类:系统相关   时间:2019-01-24 11:56:39    阅读次数:213
创建带值枚举
注意构造函数是必须的并且是私有的,还有其中的value是必须的。上面是自定义的。 ...
分类:其他好文   时间:2019-01-24 11:03:42    阅读次数:138
warning: ISO C++ forbids converting a string constant to 'char*'
第1种字符串赋值方式: 第2种字符串赋值方式: 第3种字符串赋值方式: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 解决办法:采用第2或3种字符串赋值方式 ...
分类:编程语言   时间:2019-01-24 00:31:37    阅读次数:298
使用tp访问数据库时提示错误: 'PDO' not found, 和not defined constant mysql_attr_init_command
第一个问题: PDO not found 是因为 php没有安装pdo扩展, 无法提供给 php 以 数据库访问功能, 所以 报错是在文件: Think/Db.class.php的里面. 解决方法是: 给 php安装 PDO 扩展: 这时 再看 就可以 在 默认 自动 加载的modules目录 中 ...
分类:数据库   时间:2019-01-24 00:24:51    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!