补丁更新:SSH把补丁复制到shared/p_w_picpaths下面switchboot-l看分区当前在HD1.1分区上面,给1.3装系统打补丁在cd/shared/p_w_picpaths下面安装11.4.1.608.0.isop_w_picpath2disk--instslot=HD1.3BIGIP-11.4.1.608.0.iso--force打补丁(要在HD1.1下给HD1.3打补丁)p_w_picpath..
分类:
其他好文 时间:
2015-06-03 06:12:47
阅读次数:
145
永久保存数据的方法:1.Shared Preferences 以键值对的形式存储基本数据类型( booleans, floats, ints, longs, and strings),存储的数据在限制在一个application(一个package)内部使用 2.Internal Storage ....
分类:
移动开发 时间:
2015-06-02 17:41:12
阅读次数:
209
为什么要用智能指针?
我们知道在C++中,资源管理是个头疼的问题。资源管理最常做的就是内存管理。而指针用起来如果忘记归还,就会导致内存泄露。
比如:class Oneclass{};
int func(){
Oneclass* one=new Oneclass;
if(!one)return 1;
delete one;
return 0;
}可见,上面代码中,我...
分类:
编程语言 时间:
2015-06-02 09:29:59
阅读次数:
138
Build Static Libaryar ru xxx.a *.oranlib xxx.a//not necessaryBuild Dynamic Libaryg++ -shared -fPIC -o xxx.so *.o
分类:
系统相关 时间:
2015-06-02 00:10:20
阅读次数:
161
#include#include#include#include#include#define TEXT_SZ 2048struct shared_use_st { int written_by_you; char some_text[TEXT_SZ];};int main(){ ...
分类:
其他好文 时间:
2015-05-31 23:06:36
阅读次数:
218
__linker_init() 在 begin.S 中被调用,并传入两个参数:sp(堆栈指针)、#0。 linker(动态链接器,也称解释器)本身也是一个 shared object,__linker_init() 负责初始化 linker,完成 linker 的重定位等工作。由...
分类:
移动开发 时间:
2015-05-30 19:50:23
阅读次数:
150
shared_ptr是一個模板類,它保存了一個指向動態分配的對象的指針,當指向這個對象的最後一個shared_ptr被銷燬的時候,這個對象也被銷燬了。
有三種使用 shared_ptr的方法:
1)使用 std::shared_ptr
要用 std::shared_ptr的方式使用。
實例代碼:
#include
#include
class A
{
public:
A()
...
分类:
其他好文 时间:
2015-05-30 18:20:51
阅读次数:
115
Boost Asio 异步TCP服务器框架
flyfish 2015-5-30
session 类 头文件
#pragma once
#include
#include
#include
#include
class session: public boost::enable_shared_from_this
{
public:
session(boost:...
分类:
其他好文 时间:
2015-05-30 08:13:04
阅读次数:
216
我用的ffmpeg版本为 ffmpeg-2.1.8.tar.bz2
版本低了恐怕有些头文件和API找不到。
在Linux下解压后编译,Linux下编译很简单,我这里生成的动态库:
./configure –enable-shared
make
就能找到各个so动态库文件。
移动位置后,记得手动链接 一下:ln -s libavcodec.so.55 libavcodec.so
ln -s...
分类:
其他好文 时间:
2015-05-29 15:44:35
阅读次数:
316
Basic Memory StructuresThe basic memory structures associated with Oracle Database include:System global area (SGA)The SGA is a group of shared memory...
分类:
其他好文 时间:
2015-05-29 15:42:20
阅读次数:
199