编程技术 第1253页
System.gc 之后到底发生了什么 ?-拾光赋

System.gc 之后到底发生了什么 ?

本文基于 OpenJDK17 进行讨论 在 JDK NIO 针对堆外内存的分配场景中,我们经常会看到 System.gc 的身影,比如当我们通过 FileChannel#map 对文件进行内存映射的时候,如果 JVM 进程虚拟内存空间...
Lee的头像-拾光赋Lee9个月前
0130
Windows下Cmake编译Poco库-拾光赋

Windows下Cmake编译Poco库

Windows下Cmake编译Poco库,C++ Windows下使用Cmake编译Poco库 1.编译前准备: 先配置OpenSSL环境 (openssl version -a查看) 如果openssl是1.0.*版本,Poco版本最高用1.9.4。 如果1.1或者更高,...
Lee的头像-拾光赋Lee2年前
05010
Legacy Interface-拾光赋

Legacy Interface

Legacy Interface, Suppose you are working on a very very big java project. Congratulations!!! Problem Scenario Suddenly your senior comes to your desk and says- 'Hey X, we need to ...
kity的头像-拾光赋kity4年前
0208
字符编码发展史2 — ISO-8859-N-拾光赋

字符编码发展史2 — ISO-8859-N

字符编码发展史2 — ISO-8859-N, 2.2. 第二个阶段 本地化 2.2.1. ANSI 2.2.2. ISO/IEC 8859-N 2.2.2.1. 什么是ISO/IEC 8859-N? 2.2.2.2. ISO 8859-1的编码表 上一篇《字符编码发展史1 — ASCII...
Lee的头像-拾光赋Lee4个月前
05315
Caching & IOStrategy @ SwayDB-拾光赋

Caching & IOStrategy @ SwayDB

Caching & IOStrategy @ SwayDB,We all know that Memory IO is 50-200 times faster than Disk IO! Caching plays a decent role in boosting read and compaction performance but some machi...
kity的头像-拾光赋kity5年前
04115
OAuth 2.0(Open Authorization 2.0)授权框架入门介绍-拾光赋

OAuth 2.0(Open Authorization 2.0)授权框架入门介绍

拓展阅读 OAuth 2.0-01-Overview OAuth2-02-java 整合 OAuth2-03-springboot 整合 oauth2 是什么? OAuth 2.0(Open Authorization 2.0)是一种授权框架,允许第三方应用程序访问用户在另一个服...
Lee的头像-拾光赋Lee9个月前
0140
npm i 安装的依赖项目,运行正常,换成pnpm i安装的依赖运行报错-拾光赋

npm i 安装的依赖项目,运行正常,换成pnpm i安装的依赖运行报错

npm i 安装的依赖项目,运行正常,换成pnpm i安装的依赖运行报错,报错信息大概如下   Failed to compile with 15 errors 00:47:21These dependencies were not found: * codemirror/addon/di...
Lee的头像-拾光赋Lee2年前
0100
10 Programming Languages Side by Side (JS, Python, Ruby, PHP, GO, Rust, Dart, C#, Java, Ballerina)-拾光赋

10 Programming Languages Side by Side (JS, Python, Ruby, PHP, GO, Rust, Dart, C#, Java, Ballerina)

10 Programming Languages Side by Side (JS, Python, Ruby, PHP, GO, Rust, Dart, C#, Java, Ballerina),Using the below you can see the basics of 10 different languages. For most of the...
the LivinGrimoire software design pattern-拾光赋

the LivinGrimoire software design pattern

the LivinGrimoire software design pattern,the LivinGrimoire is a software design pattern, that absorbs skills. 1 line of code is needed to add a skill (similar to the matrix learn ...
kity的头像-拾光赋kity4个月前
0318
Mocking Logger in Java with Mockito-拾光赋

Mocking Logger in Java with Mockito

Mocking Logger in Java with Mockito,Yes, you read it correctly: 'Mocking Logger in Java'. That might sound very weird when you see this for the first time but there are some partic...
kity的头像-拾光赋kity5年前
02315
使用Python的turtle模块绘制美丽的樱花树-拾光赋

使用Python的turtle模块绘制美丽的樱花树

使用Python的turtle模块绘制美丽的樱花树,引言 Python的turtle模块是一个直观的图形化编程工具,让用户通过控制海龟在屏幕上的移动来绘制各种形状和图案。turtle模块的独特之处在于其简洁易懂的...
Lee的头像-拾光赋Lee9个月前
090
vue 基础学习 一-拾光赋

vue 基础学习 一

vue 基础学习 一,1. vue 使用快速入门三步走 (1) 新建 HTML 页面,引入 Vue.js文件 <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>Vue.js ...
Lee的头像-拾光赋Lee2年前
0180