E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
allocator
DirectShow开发快速入门之慨述(三)
4、媒体Samples和
Allocator
sFilters通过pin的连接来传递数据,数据流是从一个filter的输出pin流向相连的filter的输入pin。
zipper9527
·
2009-07-22 19:00
STL源码剖析笔记三
二、内存空间的构造与初始化
Allocator
除了完成内存请求的分配之外,还在空间的构造与初始化方面做了一些重要的工作。C++中的类型有两类:内建类型(如int、char)和用户自定义类型。
nathanglk
·
2009-07-19 16:00
c
工作
gcc
Class
语言
反汇编iphone 电话api
include#include#includetypedefstruct__CFMachPort*CFMachPortRef;externvoid*_CTServerConnectionCreate(CF
Allocator
Ref
dadalan
·
2009-07-10 00:00
C++ Primer学习系列(7):标准库名字和头文件/算法简介/再谈IO库
附录A.1标准库名字和头文件本书中用到的标准库名字及其头文件::abort,:accumulate,inner_product,:
allocator
,auto_ptr,uninitialized_copy
zhoudaxia
·
2009-06-28 21:00
C++
算法
IO
iterator
iostream
permutation
Linux MMU summary
物理页申请(allocation) 核心算法是:Binary Buddy
Allocator
. 1.
wapysun
·
2009-06-26 17:00
linux
STL List 实现(1)
与vector一样,List容器采用了普遍的内存管理器
allocator
来管理内存,维护着底层的双链表的表头和表尾,从而轻松
bichenggui
·
2009-06-22 18:00
list
iterator
Class
insert
reference
distance
string 中英文字符
C++的中英文字符串表示(string,wstring) 在C++中字符串类的string的模板原型是basic_string template , class _Ax =
allocator
>
pengzhixi
·
2009-05-15 11:00
c
工作
String
basic
Class
语言
slab alloc内存分配机制
slab的“对象重用” 到目前为止,SUN于1991年发明的Slab
Allocator
是各种OS内核Memory
Allocator
pengzhixi
·
2009-05-15 10:00
STL Study Day 2: memory
allocator
STLStudyDay2:memory
allocator
今天,总算把SGISTLdefaultmemory
allocator
看懂了,闲话少说,先把结果拿出来。实验的平台跟昨天一样,实验的思路也没有变。
Logic, Analysis, and Computation
·
2009-05-12 09:00
学习STL Day 1: memory allocation
第二章的主要内容是STL memory
allocator
,其中比较有意思的部分是SGIdefault memory
allocator
的设计,其思路是当所需memory小于128byte
Logic, Analysis, and Computation
·
2009-05-11 12:00
失败的代码 之 仿制的vector
其实在参考的时候也犹豫了,到底是应该完全按照自己的思路写,还是借鉴书上或他人的现有代码写,这种想法致使我当时还想顺带着连
allocator
类也一写,但最后的结果是借鉴并且放弃写
allocator
,理由是
纸质笔记本
·
2009-05-08 15:00
彻底学习STL中的
Allocator
Allocator
是C++语言标准库中最神秘的部分之一。它们很少被显式使用,标准也没有明确出它们应该在什么时候被使用。
cissco
·
2009-05-04 16:00
C++
c
C#
活动
IT厂商
我的游戏引擎设计
core–包含container,memory,
allocator
,timer,algorithms,multi-thread,byte-endianchecking,mathfunction,linearmath
大道无亲 大象无形 大音希声 大巧若拙 大智若愚 大器晚成
·
2009-05-03 23:00
glibc中malloc的详细解释
glibc中的malloc实现:Themainpropertiesofthealgorithmsare:*Forlarge(>=512bytes)requests,itisapurebest-fit
allocator
eroswang
·
2009-04-27 22:00
struct
System
include
linux内核
linker
combinations
The Standard Librarian: What Are
Allocator
s Good For?
作者:Matt Austern 摘自:http://dev.csdn.net/Develop/article/17/17946.shtm
Allocator
是C++语言标准库中最神秘的部分之一
linuxstuding
·
2009-04-23 23:00
for
error LNK2001: unresolved external symbol "public: int __thiscall CFtProtocolThread::getFnIds(class _STL::vector > &)" (?getFnId
$
allocator
@H@_STL@@@_STL@@@Z)
gengxt2003
·
2009-04-23 09:00
vector
Class
DLL中导出STL时,去掉警告的方法
若导出的是vector,则需要如下语句:EXPIMP_TEMPLATEtemplateclassKCDLL_APIstd::
allocator
;EXPIMP_TEMPLATEtemplateclassKCDLL_APIstd
jonathandj
·
2009-04-21 00:00
vector
api
list
Class
dll
STL
Allocator
空间分配器二
STL
Allocator
空间分配器二 今天把SGI提供的
Allocator
分配器仔细看了下,其设计还是相当精巧的。
sparkliang
·
2009-04-20 22:00
编译directshow的示例程序baseclasses
编译baseclassesLigo,2009.4.17由于此工程的头文件中包含文件时都用了改成了双引号"",然后编译时编译不过,说是_CLSID_Memory
Allocator
无法链接(实际代码中是CLSID_Memory
Allocator
jszj
·
2009-04-20 09:00
Web
filter
OS
dll
templates
linker
C++中一些不常用的前缀介绍
placementnew主要适用于:在对时间要求非常高的应用程序中,因为这些程序分配的时间是确定的; STL标准库中
allocator
masefee
·
2009-04-09 11:00
C++
delete
Class
mfc
interface
编译器
xmemcached发布1.0版本
2、添加了Buffer
Allocator
接口,用于
庄周梦蝶
·
2009-03-13 22:00
slab
allocator
首先要说的是memory area,因为有时需要的内存没有一个page frame那么大,比方说只有10bytes,如果分配一个page frame给它,则会产生很多internal fraction。这是一方面,更重要的是很多kernel的数据结构都不正好是一个或几个page frame那么大,那么在分配的时候就会造成很多internal fraction。为了解决这个问题,linux现在是采用
longxj
·
2009-02-16 19:00
数据结构
linux
cache
Access
sun
OGRE中对象的内存分配[转]
其实如果你打开OgreMemory
Allocator
Config.h文件仔细看看就会发现,这些所谓千奇百怪的Alloc类其实都是一样的,都是继承自相同的类——StdAllocPolicy,只是作
kamaliang
·
2009-02-12 20:00
研究physx的一些进展(NxTriangleMesh)
physx有很多用户类需要自己写,很麻烦,比如NxStream,NxUser
Allocator
,不过他带的例子中有现成了,拿来用好了:)physx的plane类型和character不能进行碰撞,这点非常奇怪
limiteee
·
2009-01-24 10:00
测试
iterator
Build
character
byte
STL二:
Allocator
空间分配器一
Allocator
空间分配器一一简介
Allocator
分配器是STL的重要组件,负责为容器Container中的元素分配和释放空间,前面也说过将
Allocator
独立出来的好处就是可以实现不同的分配策略
sparkliang
·
2009-01-12 19:00
linux
table
Class
reference
nested
磁盘
stl::
allocator
析构函数调用
近来由于项目需要,采用c++编程,学习了一下stl,对stl::
allocator
粗略研究了一下,
allocator
其实就是一个工厂模式,对它的几个方法粗略分析一下 pointer
xieyj
·
2009-01-06 09:00
设计模式
编程
C++
c
C#
解决VC中的有关STl 的4786编译警告
Cpp1.cppD:/1prg/MicrosoftVisualStudio/prg/menu/Cpp1.cpp(13):warningC4786:'std::reverse_iterator;,std::
allocator
joji_h
·
2009-01-03 15:00
几种STL容器的基本用法[资料]
一、原型与构造函数 Vector的原型可定义为 vector<T,
allocator
<T> > 其构造函数为 vector()
hereson2
·
2008-12-29 19:00
J#
几种STL容器的基本用法[资料]
阅读更多一、原型与构造函数Vector的原型可定义为vector>其构造函数为vector()//空的vector(al)//指定一种
allocator
vector(n)//用默认T()初始化n个元素vector
hereson2
·
2008-12-29 19:00
J#
The Standard Librarian: What Are
Allocator
s Good For?
MatthewH.AusternMostofuswhousetheC++Standardlibrarytendtoforgetabout
allocator
s,thosemysteriousthingsspecifiedbydefaulttemplateparametersforSTLcontainers.Inmostsituationsyouwillnotneedtocallanallocato
arduousbonze
·
2008-12-27 22:00
iterator
Class
reference
Constructor
Allocation
containers
内存管理[2]
在中/* * Fallback definitions for an
allocator
not wanting to provide * its own optimized kmalloc definitions
qinzhonghello
·
2008-12-25 15:00
c
IO
cache
user
null
当在使用STL时,VC有时会提出类似以下的警告:
有时会提出类似以下的警告:Compiling...test.cppC:/Windows/Desktop/test/test.cpp(13):warningC4786:'std::reverse_iterator,std::
allocator
dotnet90
·
2008-12-15 13:00
c
basic
Modern C++ Design 笔记 第四章 Small-Object Allocation
在频繁的new/delete的时候容易衍生memoryfragment,我想设计这个
Allocator
的初衷就在这里。初看到这个题目的时候不由的让人联想到的东西是std::
allocator
.
hhygcy
·
2008-11-24 14:00
练习
Allocator
类
比较懒,把方法的实现都写在类里面了 template <class Type>class Vector1{public:Vector1(): element(0), first_free(0), end(0){}~Vector1(){alloc.deallocate(element, end-element);}void push_back(const Type& t){
linuxstuding
·
2008-11-13 14:00
cat
C++ typename的使用
C++箴言:理解typename的两个含义先舉實例:(1)以下未加typename編譯不會通過template, classAlloc=std::
allocator
>classrange_set
ChefZ -- 磨劍錄 (A Coder's Log)
·
2008-11-12 19:00
为了生成flash文件方便,写了个工具
include #include #include using namespace std;#include #include namespace std{ typedef basic_string,
allocator
S.l.e!ep.¢%
·
2008-11-04 19:00
VC++ warning C4786 详解
$
allocator
@D@2@@std@@V?$
allocator
@V?$basic_string@DU?$cha
alvin969
·
2008-10-29 19:00
c
vector
basic
Class
vc++
Instantiation
template
#pragma once#include #include#include //
allocator
#includeusing namespace std;templateclass Array{
liuxizhiyi
·
2008-10-23 12:00
Class
经典文章收藏
AMemory
Allocator
SomeStorageManagementTechniquesforContainerClasses
linyt
·
2008-10-10 18:00
几个并行计算、内核相关的链接
article.php/c8223SystemCallOptimizationwiththeSYSENTERInstructionbyJohnGulbrandsenWindows下的2.TheSLUB
allocator
slab
Snowdream
·
2008-10-10 15:00
memcached全面剖析–2.理解memcached的内存存储
gihyo.jp/dev/feature/01/memcached/0002SlabAllocation机制:整理内存以便重复使用SlabAllocation的主要术语在Slab中缓存记录的原理Slab
Allocator
starxu85
·
2008-09-30 13:00
Gamebryo 游戏引擎分析(二)内存管理
全局的几个动态内存管理函数,是通过这样几个类实现的:NiMemManager,Ni
Allocator
,NiMemTracker(继承自Ni
Allocator
);这几个类都是对用户透明的,用户只能通过NiMemoryDefines.h
niitlcj
·
2008-09-26 11:00
memcached全面剖析–2.理解memcached的内存存储
SlabAllocation机制:整理内存以便重复使用最近的memcached默认情况下采用了名为Slab
Allocator
的机制分配、管理内存。在该机制出现以前,内存的分
ispring
·
2008-07-30 02:00
SVN
memcached
脚本
F#
perl
memcached全面剖析–2.理解memcached的内存存储
SlabAllocation机制:整理内存以便重复使用最近的memcached默认情况下采用了名为Slab
Allocator
的机制分配、管理内存。在该机制出现以前,内存的分
ispring
·
2008-07-30 02:00
SVN
F#
memcached
脚本
perl
VMR9的定制AP
VMR9允许我们自己提供
Allocator
-Presenter,以便完成一些特殊的需要。我们提供自己的A/P,VMR9会调用
foruok
·
2008-07-27 15:00
windows
filter
video
Graph
文档
VMR9的定制AP
VMR9允许我们自己提供
Allocator
-Presenter,以便完成一些特殊的需要。我们提供自己的A/P,VMR9会调用A
king_tt
·
2008-07-27 15:00
VM
IShellFolder 接口浏览文件夹(一)
voidSpecialFolder_Browse(HWNDhwnd) { LPMALLOCg_pMalloc; /*GetstheShell'sdefault
allocator
*/ if(:
zgl7903
·
2008-06-23 09:00
shell
null
BI
System
buffer
Path
利用栈实现括号匹配
预定义#define maxsize 100#define TRUE 1#define FALSE 0char s[maxsize];//功能函数int match(char e[]){ typedef
allocator
nt05的记事本
·
2008-06-16 04:00
GWeekly[20] = 这周.病了
这周只是应付几门考试,对于C++的异常处理有一点初步学习,顺便在kevinlynx的博客上学到了点C++自己写一个容器分配对象
allocator
的方法。
我住包子山
·
2008-06-15 22:00
SGI STL的内存池
SGISTL的内存池stl中各种容器都有一个可选的模板参数:
allocator
,也就是一个负责内存分配的组件。STL标准规定的allcator被定义在memory文件中。
loop_in_codes
·
2008-06-12 21:00
上一页
34
35
36
37
38
39
40
41
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他