码迷,mamicode.com
首页 >  
搜索关键字:magnum container    ( 5979个结果
Understanding and Using Servlet Filters
Overview of How Filters WorkThis section provides an overview of the following topics:How the Servlet Container Invokes FiltersTypical Filter ActionsH...
分类:其他好文   时间:2014-05-19 23:10:22    阅读次数:418
hadoop中日志聚集问题
遇到的问题:当点击上面的logs时,会出现下面问题:这个解决方案为:By default, Hadoop stores the logs of each container in the node where that container was hosted. While this is irre...
分类:其他好文   时间:2014-05-19 10:33:13    阅读次数:369
深入Jetty源码之Servlet框架及实现(Servlet、Filter、Registration)
概述Servlet是Server Applet的缩写,即在服务器端运行的小程序,而Servlet框架则是对HTTP服务器(Servlet Container)和用户小程序中间层的标准化和抽象。这一层抽象隔离了HTTP服务器的实现细节,而Servlet规范定义了各个类的行为,从而保证了这些“服务器端运...
分类:其他好文   时间:2014-05-17 00:46:29    阅读次数:387
【LeetCode】Container With Most Water
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-05-16 19:42:17    阅读次数:286
LeetCode 011 Container With Most Water
【题目】 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:其他好文   时间:2014-05-16 01:32:47    阅读次数:406
c++11的新特性
好奇心来源于下面的一段代码, 一个是unordered_map, 这是c++11新加的container. 另外还有unordered_set, unordered_multimap, unordered_multiset.另外在for循环中, 可以使用下列形式:1 for (auto &eleme...
分类:编程语言   时间:2014-05-15 12:03:28    阅读次数:339
[LeetCode]Container With Most Water
Container With Most Water...
分类:其他好文   时间:2014-05-15 02:29:03    阅读次数:387
深入浅出实例解析linux内核container_of宏
做一件事情首先应该知道它的目的是什么。 container_of的目的:如何通过结构中的某个变量获取结构本身的指针。 总体思路:假想一下,你的结构体中有好几个成员,你如何通过里面的“任一成员”获取 整个结构体的首地址呢。container_of的做法就是通过typeof定义一个与“任一成员”同类型 的指针变量pvar_a(假设变量名就是pvar_a),并让指针变量pvar_a指向这个“...
分类:系统相关   时间:2014-05-14 19:56:15    阅读次数:494
OpenStack_Swift源码分析——Ring基本原理及一致性Hash算法
1、Ring的基本概念 Ring是swfit中最重要的组件,用于记录存储对象与物理位置之间的映射关系,当用户需要对Account、Container、Object操作时,就需要查询对应的Ring文件(Account、Container、Object都有自己对应的Ring),Ring 使用Region(最近几个版本中新加入的)、Zone、Device、Partition和Replica来维护这些信...
分类:其他好文   时间:2014-05-14 15:22:15    阅读次数:1213
【我的设计模式】迭代器模式
迭代器(Iterator)模式,又叫做游标(Cursor)模式。GOF给出的定义为:提供一种方法访问一个容器(container)对象中各个元素,而又不需暴露该对象的内部细节。应用场景在java中所有的集合类都实现了Conllection接口,而Conllection接口又继承了Iterable接口...
分类:其他好文   时间:2014-05-14 11:54:50    阅读次数:256
5979条   上一页 1 ... 594 595 596 597 598 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!