04 2021 档案

摘要:ConcurrentDictionary的ContainsKey 保证了多线程读取、写入没问题,线程安全。但是并不能保证Key 重复 。这里多线程的时候,Key可能重复导致Add失败,请优先使用 AddOrUpdate 。 using System; using System.Collections 阅读全文
posted @ 2021-04-28 12:05 特洛伊-Micro 阅读(436) 评论(0) 推荐(0) 编辑
摘要:Go windows 环境搭建 1、下载安装Golang Go 官网下载地址:https://golang.org/dl/ Go 官方镜像站(推荐):https://golang.google.cn/dl/ 2、验证安装成功 go version go version go1.13.8 window 阅读全文
posted @ 2021-04-13 20:15 特洛伊-Micro 阅读(199) 评论(0) 推荐(1) 编辑
摘要:A few questions came up: 提出了一些问题: Does a base64 string always end with = ? base64字符串是否总是以=结尾吗? Why does an = get appended at the end? 为什么在末尾添加= ? It's 阅读全文
posted @ 2021-04-13 11:24 特洛伊-Micro 阅读(302) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示