MemoryCache是.Net Framework4.0中加入的内存缓存类; 在.Net Core的版本中,加入了以下内容: 1.缓存过期的回调 2.缓存容量的控制 3.缓存项优先级设定 4.缓存压缩 准备工作:Nuget安装Microsoft.Extensions.Caching.Memory ...
分类:
Web程序 时间:
2020-06-06 09:16:03
阅读次数:
244
一个设备驱动的主要任务有两个: 1. 存取设备的内存 2. 处理设备产生的中断 对于第一个任务。UIO 核心实现了mmap()能够处理物理内存(physical memory),逻辑内存(logical memory), 虚拟内存(virtual memory)。UIO驱动的编写是就不须要再考虑这些 ...
分类:
系统相关 时间:
2020-06-05 14:53:58
阅读次数:
93
An Intro to Stateful Stream Processing At a high level, we can consider state in stream processing as memory in operators that remembers information a ...
分类:
Web程序 时间:
2020-06-04 21:20:14
阅读次数:
74
#!/bin/bash startT=`date +%Y-%m-%dT%H:%M:%S`echo "TIMESTAMP CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS\n">>mem.$startT.txt ...
分类:
系统相关 时间:
2020-06-04 13:28:52
阅读次数:
63
Problem 1533 Subset Accept: 299 Submit: 740Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description整数集合Sn={1,2,...,n}的非空子集如果不含两个相邻的自然数,则称为好子集... ...
分类:
其他好文 时间:
2020-06-03 17:35:17
阅读次数:
51
adapted from poj 2482 Fleeting time does not blur the memory of you. Has it really been three years since i first saw you? I still remember, vividly, ...
分类:
其他好文 时间:
2020-06-03 17:25:52
阅读次数:
89
一. kubectl概述 Kubectl是用于控制Kubernetes集群的命令行工具,通过kubectl能够对集群本身进行管理,并能够在集群上进行容器化应用的安装部署。 kubectl命令的语法如下所示: kubectl [command] [TYPE] [NAME] [flags] comand ...
分类:
Web程序 时间:
2020-06-03 13:32:01
阅读次数:
80
1.前言 以前开发一直使用 springMVC模式开发 ,前端页面常使用 JSP ,现在html5淘汰了 ,要么使用html ,要么使用vue , 现在使用spring boot ,有必要总结一下 spring boot 对html 的操作 。 2.环境 spring boot 2.1.6.RELE ...
分类:
编程语言 时间:
2020-06-02 13:14:49
阅读次数:
63
Redis在windows系统中启动服务器时一闪而过 1.在redis配置文件conf下,最后一行添加maxmemory 1073741824 2.新建一个start.txt文档,将如下内容写进去 redis-server.exe redis.windows.conf 然后将文档改名为start.b ...
#include <stdio.h> #include <stdbool.h> #include <string.h> //字符函数库,这里不需要 #include <stdlib.h> //exit 函数需要 struct arr { char* arr_name; int len; //当前数组 ...
分类:
编程语言 时间:
2020-06-01 00:57:01
阅读次数:
71