[bcc32 Error] System.ZLib.hpp(310): E2040 Declaration terminated incorrectly  Full parser context    DllUnit.cpp(9): #include frm\ttunit1.h    ttunit1.h(58): #include d:\program files (x86)\embarcadero\studio\18.0\include\windows\vcl\Vcl.WinXCtrls.hp…
#include "vcl.fctreeview.hpp"#include "RM_Class.hpp"#include "RM_Common.hpp" 这样可以 #include "RM_Class.hpp"#include "RM_Common.hpp"#include "vcl.fctreeview.hpp" 这样就不可以了 17error [bcc32 Error] vcl.fc…
System.Types.hpp System.Types.hpp(77): E2029 'TObject' must be a previously defined class or struct class PASCALIMPLEMENTATION TBitConverter : public System::TObject{    typedef System::TObject inherited; 工程文件a.cbproj <PropertyGroup Condition="'$(…
system.ZLib http://docwiki.embarcadero.com/CodeExamples/Berlin/en/ZLibCompressDecompress_(Delphi) 还不如万老师的例子正确,官方的例子是 http://www.cnblogs.com/del/archive/2008/01/01/1022539.html System.ZLib.TZCompressionStream System.ZLib.TZDecompressionStream http://d…
补丁而已. New Major Features in 14.2 What's New in VCL Products 14.2 Breaking Changes To learn about breaking changes in this version, please refer to the following page: Breaking Changes in 14.2.3 (VCL Product Line) Known Issues To learn about known iss…
c++builder  解压缩  TZCompressionStream  TZDecompressionStream #include <System.ZLib.hpp> void __fastcall TForm33::Button1Click(TObject *Sender) { /* Create the Input, Output and Compressed streams. */ TFileStream *input = new TFileStream(Edit1->Tex…
BACKGROUND  1. Field  The embodiments of the disclosure generally relate to computer clusters, and more particularly to systems, methods, and devices for the efficient management of resources of computer clusters.  2. Description of the Related Art …
转自:https://scalegrid.io/blog/enabling-data-compression-in-mongodb-3-0/ MongoDB 3.0 with the wired tiger storage engine enables you to transparently compress the data stored in your database. This is a fairly exciting and useful feature that can be us…
系统合约在链启动阶段就会被部署,是因为系统合约赋予了EOS链资源.命名拍卖.基础数据准备.生产者信息.投票等能力.本篇文章将会从源码角度详细研究system合约. 关键字:EOS,eosio.system,智能合约,name类型,native.hpp,newaccount,bidname,core token init,onblock,更新已入选生产节点 eosio.system 概览 笔者使用的IDE是VScode,首先来看eosio.system的源码结构.如下图所示. 本文分析的源码来自于…
A system switches between non-secure and secure modes by making processes, applications, and data for the non-secure mode unavailable to the secure mode and vice versa. The process thread run queue is modified to include a state flag for each process…
boost::system::error_code is the most basic class in Boost.System; it represents operating system-specific errors. Because operating systems typically enumerate errors, boost::system::error_code saves an error code in a variable of type int. 1. error…
Android 4.2.2 版本的文件系统 内核版本为 3.0.31 版本号为JDQ39 factory//估计是存放网络通信协议的登录密钥的|-- bluetooth|-- hdcp.keys|-- imei|-- lost+found|-- nv.log|-- nv_data.bin|-- nv_data.bin.md5|-- wifi|-- wv.keyssdcard// 是SD卡中的FAT32文件系统挂载的目录.SD卡中的EXT2分区的挂载目录|-- Music|-- Podcasts|…
使用fpm来制作rpm包 2017/2/22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79…
delphi 泛型 System.Generics.Collections.pas TList<T> http://docwiki.embarcadero.com/Libraries/Berlin/en/System.Generics.Collections.TListhttp://docwiki.embarcadero.com/CodeExamples/Berlin/en/Generics_Collections_TList_(Delphi)http://docwiki.embarcader…
Non-static data member initializers 非静态成员变量初始化变得简单,这个XE7 64位编译成功,32位还是不支持 As a simple example, struct TPerson {  String aname = "张三"; }; class A { public: int a = 7; String aName = "MyName"; }; would be equivalent to class A { public:…
原文:https://my.oschina.net/wangmengjun/blog/1142982 什么是FastDFS? FastDFS是一个开源的分布式文件系统,她对文件进行管理,功能包括:文件存储.文件同步.文件访问(文件上传.文件下载)等,解决了大容量存储和负载均衡的问题.特别适合以文件为载体的在线服务,如相册网站.视频网站等等. FastDFS服务端有两个角色:跟踪器(tracker)和存储节点(storage).跟踪器主要做调度工作,在访问上起负载均衡的作用. 存储节点存储文件,完…
一.环境 HOST:ubuntu12.04-LTS Embedded:freescale imx6 linux-3.0.35 CROSS_COMPILE:freescale提供的gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- 二.下载源码 http://mirrors.ustc.edu.cn/qtproject/archive/qt/5.5/5.5.1/sin…
real case test MM parallel 4x scalable (i7 6700)(on the newer processors will be linear) I did a small test with real code scenario,look at parallel zlib with my patch, zcompress loop 1000 of a 1100KB text file: uses System.Zlib; threadvar INS: TMemo…
Introduction When an application crashes, a crash report is created and stored on the device. Crash reports describe the conditions under which the application terminated, in most cases including a complete backtrace for each executing thread, and ar…
通过openjdk源码分析ObjectMonitor底层实现 Hotspot JDK只是部分开源,将底层的调用C++的native方法的具体实现屏蔽了,而openjdk则将这部分也开源了,接下来我们通过openjdk源码分析ObjectMonitor底层实现. openjdk 的官方地址为: https://openjdk.java.net/ 源码地址: https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file 源码分析 ObjectMonitor…
阿里云openssl升级,实现nginx主动推送 nginx主动推送能够有效减少不必要的报文传输,减少用户请求次数,以达到更快访问速度 现有版本检查 [root@node3 ~]# openssl version #这个版本是无法支持http2.0主动推送功能.需要升级为2019版本. OpenSSL 1.0.2k-fips 26 Jan 2017 安装一个nginx 如果当前版本不支持http2.0 那么请升级nginx版本,升级办法本博客有. #安装一个nginx 也可以自定义安装. yum…
现有版本检查 [root@node3 ~]# openssl version               #这个版本是无法支持http2.0主动推送功能.需要升级为2019版本. OpenSSL 1.0.2k-fips 26 Jan 2017 安装一个nginx #安装一个nginx 也可以自定义安装. yum安装的nginx默认路径: /etc/nginx yum install -y nginx yum install -y pcre pcre-devel openssl openssl-d…
Nginx 是一位俄罗斯人 Igor Sysoev(伊戈尔·塞索斯夫)编写的一款高性能HTTP和反向代理服务器. Nginx 主要是有C编写的,安装Nginx需要GCC编译器(GNU Compiler Collection).除了这个,Nginx的一些模块需要其他第三方库的支持,例如gzip的zlilb库,rewrite的pcre库,ssl功能需要openssl库等. 1)安装Pcre Perl语言兼容正则表达式 (Perl Compatible Regular Expressions) ,首先…
网络方面用的比较多的库是libevent和boost.asio,两者都是跨平台的.其中libevent是基于Reactor实现的,而boost.asio是基于Proactor实现的.Reactor和Proactor模式的主要区别就是真正的操作(如读/写)是由谁来完成的,Reactor中需要应用程序自己读取或者写入数据,而在Proactor模式中,应用程序不需要进行实际的读/写过程,操作系统会读取缓冲区或者写入缓冲区到真正的IO设备,应用程序只需要从缓冲区读取(操作系统已经帮我们读好了)或者写入(…
注:以下所有操作均在CentOS 6.5 x86_64位系统下完成. #准备工作# 在安装Nginx之前,请确保已经使用yum安装了pcre等基础组件,具体见<CentOS安装LNMP环境的基础组件>. 然后创建www的用户组和用户,并且不允许登录权限: # id www id: www:无此用户 # groupadd www # useradd -g www -s /sbin/nologin www # id www uid=(www) gid=(www) 组=(www) #Nginx的安装…
可以参考以前安装成功的案例 centos 7.0 nginx 1.7.9成功安装过程 官网下载 http://nginx.org/en/download.html nginx下载位置 /usr/local/ nginx 安装目录 /usr/etc/nginx1910 nginx path prefix: "/usr/etc/nginx1910" nginx binary file: "/usr/etc/nginx1910/sbin/nginx" nginx conf…
本文属于动手搭建PHP开发环境的一部分,更多点击链接查看. 本文以centos6为例. 安装PHP 下载 http://cn2.php.net/distributions/php-5.6.22.tar.bz2 http://cn2.php.net/distributions/php-7.0.7.tar.bz2 更新yum源 这里将Centos的yum源更换为国内的阿里云源.yum安装正常的可以跳过本步骤. 阿里云Linux安装镜像源地址: http://mirrors.aliyun.com/ 1…
configure是一个命令行工具,用于配置Qt编译到指定平台.configure必须运行于Qt源码根目录.当运行configure时,编译源码使用的是所选工具链中的make工具. 一.源码目录.编译目录和安装目录 源码目录就是包含源码的目录.编译目录是包含Makefiles文件.object文件和其他中间文件的目录.安装目录是二进制文件和库文件安装的目录. 当编译目录和源码目录不一样时,称为影子编译(shadow build),比如说,Qt Creator默认是使用影子编译来编译工程的.这里也…
1.http://nginx.org/download/nginx-1.6.3.tar.gz 2. [root@track nginx-1.6.3]#./configure --prefix=/usr/local/nginx \ ------------------------------------------------------ ./configure: error: the HTTP rewrite module requires the PCRE library. You can e…
centos 7.0根目录 的目录构成 [root@localhost /]# lsbin dev home lib64 mnt proc run srv tmp varboot etc lib media opt root sbin sys usr 首先下载 nginx 官网 http://nginx.org/en/download.html 由于不太熟悉centos 7.0 的目录 先直接安装到usr目录下 usr/local/src [root@localhost /]# cd usr […