返回博主主页
上一页 1 2 3 4 5 6 7 ··· 27 下一页
摘要: 传统的 IO mmap mmap 是一种内存映射技术,mmap 相比于传统的 IO 来说,其实就是少了 1 次 CPU 拷贝而已,上图。 sendFile 在 Linux 中,提供 sendFile 函数,实现了零拷贝 阅读全文
posted @ 2024-02-26 16:24 懒惰的星期六 阅读(34) 评论(0) 推荐(0) 编辑
摘要: select *,now() from information_schema.INNODB_TRX; -- 查看当前正在被锁定的事务 select *,now() from information_schema.INNODB_LOCKS; -- 查看当前正在被锁定的行 select *,now() 阅读全文
posted @ 2024-02-26 15:36 懒惰的星期六 阅读(19) 评论(0) 推荐(0) 编辑
摘要: StampedLock 是 Java 8 引入的一种新的锁机制,它是 ReadWriteLock 的改进版,提供了更高的并发性和更好的性能。下面是一个使用 StampedLock 的示例: import java.util.concurrent.locks.StampedLock; public c 阅读全文
posted @ 2024-02-26 15:19 懒惰的星期六 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Spring-generator https://mirren.gitee.io/spring-generator-doc/?spm=a2c6h.12873639.article-detail.8.5f6a27fexATC6d#link-help 阅读全文
posted @ 2024-02-26 15:01 懒惰的星期六 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 要删除分支中的 commit,可以使用 git rebase 命令。以下是具体步骤: 首先,使用 git log 命令查看要删除的 commit 的哈希值。 然后,使用 git rebase -i <commit> 命令进入交互式 rebase 模式,其中 <commit> 是要删除的 commit 阅读全文
posted @ 2024-02-23 17:18 懒惰的星期六 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1、前端上传文件 -> 接口接收文件 MultiPartFile -> 转发到其它接口 //a)Multipart 转 File public static File convert(MultipartFile multipartFile) throws IOException { File fil 阅读全文
posted @ 2024-02-22 09:39 懒惰的星期六 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 已知: public interface A { default void fun(){ System.out.println("A"); } } public interface B extends A{ default void fun(){ System.out.println("B"); } 阅读全文
posted @ 2024-02-05 10:08 懒惰的星期六 阅读(19) 评论(0) 推荐(0) 编辑
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev 阅读全文
posted @ 2024-01-25 11:41 懒惰的星期六 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1 package.json vite build 和 vite 是 Vite.js 的两个命令。 vite 是一个开发服务器,它可以快速地在浏览器中启动一个开发环境,并支持热更新。使用 vite 命令可以启动 Vite.js 的开发服务器。 vite build 是一个命令行工具,它可以将 Vit 阅读全文
posted @ 2024-01-25 11:33 懒惰的星期六 阅读(211) 评论(1) 推荐(0) 编辑
摘要: 同步develop分支的代码 git checkout develop git remote -v git remote add upstream ‘被fork代码仓的 git 地址’ git fetch upstream git merge upstream/develop git push or 阅读全文
posted @ 2024-01-12 09:44 懒惰的星期六 阅读(138) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 27 下一页

Welcome to here

主页