Masking lets you modify a specific bit (or bits) using a bit pattern (called the mask) and a logical bitwise operator (AND, OR, or XOR). By changing t ...
分类:
其他好文 时间:
2020-05-19 12:29:32
阅读次数:
62
前言 浏览器缓存又叫客户端缓存,存储在客户端的缓存,由浏览器控制,关于存储的策略由响应头(Response Header)规定,主要的响应头标记是Cache-Contro、Etag、Last-Modified. 生效范围: 仅对当前浏览器生效。 实现方式: 使用HTTP Header 更新策略: T ...
分类:
其他好文 时间:
2020-05-13 12:12:51
阅读次数:
60
原文:三分钟快速搭建分布式高可用的Redis集群 这里的Redis集群指的是Redis Cluster,它是Redis在3.0版本正式推出的专用集群方案,有效地解决了Redis分布式方面的需求。当单机内存、并发、流量等遇到瓶颈的时候,可以采用这种Redis Cluster方案进行解决。 分区规则 R... ...
分类:
其他好文 时间:
2020-05-12 10:02:07
阅读次数:
68
[TOC] Go官方库的文件操作分散在多个包中,比如 " " 、 " " 、 " " 包,强烈推荐你阅读一下。 原文: "Working with Files in Go" , 作者: "NanoDano" 基本操作 创建空文件 Truncate文件 获取文件信息 重命名、删除、复制文件 打开和关闭 ...
分类:
其他好文 时间:
2020-05-04 01:07:02
阅读次数:
94
yum,是Yellow dog Updater Modified的简称,起初是由yellow dog这一发行版的开发者Terra Soft研发,用python写成,那时还叫做yup(yellow dog updater),后经杜克大学的Linux@Duke开发团队进行改进,遂有此名。yum的宗旨是自 ...
分类:
系统相关 时间:
2020-05-01 18:16:25
阅读次数:
87
Launch X-431 V+ HD3 is a modified version of the multi-brand scanner Launch X-431 Pro which, in its new edition, received a more powerful tablet and a ...
分类:
其他好文 时间:
2020-04-30 21:37:14
阅读次数:
86
Launch X-431 V+ HD3 is a modified version of the multi-brand scanner Launch X-431 Pro which, in its new edition, received a more powerful tablet and a ...
分类:
其他好文 时间:
2020-04-30 21:23:42
阅读次数:
81
问题背景 HTTP协议中GET请求方法中的请求头内容 : If Modified Since 具体描述 HTTP请求头的IMS(If Modified Since):浏览器缓存记录的该文件的最后服务器修改时间。 浏览器发送HTTP请求时,把If Modified Since一起发到服务器去,服务器会 ...
分类:
Web程序 时间:
2020-04-22 13:32:42
阅读次数:
102
1. 概念 MESI(Modified Exclusive Shared Or Invalid)是一种广泛使用的支持写回策略的缓存一致性协议。 cpu核中每个缓存行使用2bit表示4种状态。 2.状态机 M(Modified,修改的): 缓存行只被缓存在该cpu中(其它cpu中如果有,也会变为inv ...
分类:
其他好文 时间:
2020-04-19 17:46:00
阅读次数:
72
/** * The number of times this list has been <i>structurally modified</i>. * Structural modifications are those that change the size of the * list, or ...
分类:
编程语言 时间:
2020-04-18 18:41:57
阅读次数:
99