码迷,mamicode.com
首页 >  
搜索关键字:modified    ( 1174个结果
boost库使用:仿SGI-STL实现的一个树节点内存allocator
1 ////////////////////////////////////////////////////////////////////////// 2 //code by hzs 3 //email: huangzhesi@gmail.com 4 //Last modified: 2014-....
分类:其他好文   时间:2014-05-27 02:41:54    阅读次数:218
对 HTTP 304 的理解
最近和同事一起看Web的Cache问题,又进一步理解了 HTTP 中的 304 又有了一些了解。 304 的标准解释是:Not Modified 客户端有缓冲的文档并发出了一个条件性的请求(一般是提供If-Modified-Since头表示客户只想比指定日期更新的文档)。服务器告诉客户,原来缓冲的文...
分类:其他好文   时间:2014-05-26 16:34:36    阅读次数:238
Modified LCS (扩展欧几里德)细写了对这个算法思路的理解
题目:Modified LCS 为过此题去仔细研究了下扩展欧几里德算法,领悟了一些精华。 模板为: void gcd(ll a, ll b, ll& d, ll& x, ll& y) { if(!b) {d = a; x = 1; y = 0;} else{ gcd(b, a%b, d, y, x); y -= x*(a/b);} } 这里算出来的x,y是对于方...
分类:其他好文   时间:2014-05-23 00:26:20    阅读次数:377
LeetCode: Reverse Nodes in k-Group [024]
【题目】 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is. You may not alter the values in the nodes, only n...
分类:其他好文   时间:2014-05-18 10:22:34    阅读次数:367
Leetcode | Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le...
分类:其他好文   时间:2014-05-18 01:53:53    阅读次数:331
HTTP Caching 优化网站
HTTP Caching 用好了,可以极大的减小服务器负载和减少网络带宽。十分有必要深入了解下 http 的 caching 协议。先来看下请求/响应过程:http 请求/响应1、用 Last-Modified 头在第一次请求的响应头返回 Last-Modified 内容,时间格式如:Wed, 22...
分类:Web程序   时间:2014-05-16 09:22:42    阅读次数:351
php header cache
phpheader()中的cache有四种标识头:Last-Modified,Expires,Pragma:no-cache,Cache-Control。以下的测试环境为谷歌浏览器,其余的未测试Last-Modified:在判断缓存的时候,If-Modified-Since会将此值发送给服务器。Expires:后面的日期用于标识缓存在什么时候过期Pragma:尽量用Cac..
分类:Web程序   时间:2014-05-14 19:06:02    阅读次数:323
Etag缓存在PHP和NodeJS中的实现
HTTP 提供了许多页面缓存的方案,其中属 Etag 和 Last-Modified 应用最广。本文会先介绍 Etag 的应用场景,然后说说他在 php 和 node 中的使用。本文地址:http://www.cnblogs.com/hustskyking/p/etag-in-node.html,转...
分类:Web程序   时间:2014-05-12 21:27:32    阅读次数:426
linux中yum命令的解析
yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。yu...
分类:系统相关   时间:2014-05-12 05:10:03    阅读次数:509
【LeetCode】Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-05-11 18:15:52    阅读次数:300
1174条   上一页 1 ... 115 116 117 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!