码迷,mamicode.com
首页 >  
搜索关键字:shared    ( 3257个结果)
CodeChef STRSUB(dp+二分)
题意:(中文题意) https://codechef_shared.s3.amazonaws.com/download/translated/MARCH15/mandarin/STRSUB.pdf 解析: 先预处理一个数组pre[],pre[i]表示i这个位置,往前最多能找到哪个位置是满足0和1都不大于k的。 然后以每个位置i为左区间的长度就可以计算出,为 (r - pre[i] +...
分类:其他好文   时间:2015-03-09 20:58:44    阅读次数:132
C++实现服务器压力测试框架
C++实现服务器压力测试框架 flyfish 2015-3-9 模拟大量客户端对服务器进行压力测试框架 头文件 #pragma once #include #include #include #include #include class CSession: public boost::enable_shared_from_this { public: ...
分类:编程语言   时间:2015-03-09 19:09:47    阅读次数:364
《virtualbox完全学习手册》
《virtualbox完全学习手册》之VirtualBox开源版和闭源版的区别《virtualbox完全学习手册》之 玩转virtualbox的虚拟BIOS《virtualbox完全学习手册》之 虚拟机也玩多屏显示《virtualbox完全学习手册》之shared folder功能详解01《virt...
分类:其他好文   时间:2015-03-09 14:19:33    阅读次数:528
遇到的错误
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPI...
分类:其他好文   时间:2015-03-09 14:11:13    阅读次数:290
【起航计划 028】2015 起航计划 Android APIDemo的魔鬼步伐 27 App->Preferences->Launching preferences 其他activity获取Preference中的值
前给例子介绍了如何使用PreferenceActivity 来显示修改应用偏好,用户对Preferences的修改自动存储在应用对应的Shared Preferences中。本例介绍了如何从一个Activity来取得由PreferenceActivity 的Preference值。 比如在实际应用中...
分类:移动开发   时间:2015-03-09 12:37:30    阅读次数:153
【起航计划 027】2015 起航计划 Android APIDemo的魔鬼步伐 26 App->Preferences->Preferences from XML 偏好设置界面
我们在前面的例子Android ApiDemo示例解析(9):App->Activity->Persistent State 介绍了可以使用Shared Preferences来存储一些状态,Shared Preferences更一般的用法是用来存储一些应用程序偏好(设置)。包android.pre...
分类:移动开发   时间:2015-03-09 12:17:29    阅读次数:176
C++ Primer学习总结 第12章 动态内存
第12章 动态内存 1.    申请并使用shared_ptr.  P400   2.    shared_ptr计数. P402 赋值, 拷贝, 向函数传递一个智能指针, 或函数返回一个智能指针都会增加当前智能指针的计数.   3.    不同对象间利用智能指针共享数据的例子.   4.    使用new来动态申请内存. P407 默认情况下...
分类:编程语言   时间:2015-03-09 10:57:10    阅读次数:133
1063. Set Similarity
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the total number of distinct n...
分类:其他好文   时间:2015-03-07 17:13:09    阅读次数:156
LTE的GAA架构,LTE如何使用TLS
TR133919中给出GAA的架构                                               其中,GBA包括HTTP Digest, Pre-Shared Key TLS, IKE with pre-shared secret and a priori any mechanism based on username...
分类:其他好文   时间:2015-03-07 11:41:00    阅读次数:244
cocos2d-x避免手动修改android.mk文件来编译
编辑android.mk文件,替换为如下内容LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := cocos2dcpp_shared LOCAL_MODULE_F...
分类:移动开发   时间:2015-03-06 17:00:48    阅读次数:158
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!