ViewModel//属性定义 Dictionary<int, string> _selGroupList; /// <summary> /// 分组下拉列表 /// </summary> public Dictionary<int, string> selGroupList { get { ret ...
最近线上服务经常 出现cpu达到100%的问题,发现都是执行oracle操作的方法就没有返回。经过排查,最后定位到cpu消耗在以下方法 System.Collections.Generic.Dictionary`2<system.type,system.boolean>.FindEntry (... ...
分类:
其他好文 时间:
2019-12-24 13:39:07
阅读次数:
82
待整理 字典 定义 Dictionary<string, string> openWith = new Dictionary<string, string>(); 添加元素 openWith.Add("dib", "paint.exe"); 取值 Console.WriteLine("For key ...
REmote DIctionary Server(Redis) 是一个由Salvatore Sanfilippo写的key-value存储系统。 Redis是一个开源的使用ANSI C语言编写、遵守BSD协议、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。 ...
分类:
其他好文 时间:
2019-12-22 16:45:03
阅读次数:
72
Description Given a board which is a 2D matrix includes a-z and dictionary dict, find the largest collection of words on the board, the words can not ...
分类:
其他好文 时间:
2019-12-22 00:39:36
阅读次数:
70
Given a matrix of lower alphabets and a dictionary. Find all words in the dictionary that can be found in the matrix. A word can start from any positi ...
分类:
其他好文 时间:
2019-12-21 11:45:03
阅读次数:
100
什么是Redis Redis是由意大利人Salvatore Sanfilippo(网名:antirez)开发的一款内存高速缓存数据库。Redis全称为:Remote Dictionary Server(远程数据服务),该软件使用C语言编写,Redis是一个key value存储系统,它支持丰富的数据 ...
分类:
编程语言 时间:
2019-12-18 12:51:52
阅读次数:
92
1、什么是Redis Redis(Remote Dictionary Server) 是一个使用 C 语言编写的,开源的(BSD许可)高性能非关系型(NoSQL)的键值对数据库。Redis 可以存储键和五种不同类型的值之间的映射。键的类型只能为字符串,值支持五种数据类型:字符串、列表、集合、散列表、 ...
分类:
其他好文 时间:
2019-12-16 12:52:13
阅读次数:
113
dict是python中的常用数据结构,应该尽量掌握其使用方法 """ 初始化一个dict的四种方式: 1. dict() -> 创建一个空的dict 2. dict(mapping) -> new dictionary initialized from a mapping object's (ke ...
分类:
其他好文 时间:
2019-12-13 23:12:52
阅读次数:
70
我们常常在Linux下去查找文件 find / -name 'test.py' # 在根目录下查找名为test.py的文件 但是如果用查找文件的方式去查找文件夹的话,是查不到的 find / -maxdepth 1 -type d -name 'test_dictionary' # -maxdept ...
分类:
系统相关 时间:
2019-12-13 23:12:35
阅读次数:
264