上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: https://github.com/BNDong/Cnblogs-Theme-SimpleMemory https://www.likecs.com/show-306717407.html 1、修改博客皮肤为 SimpleMemory 2、在页面定制 CSS 代码 中 ( 注意要勾选禁用模本默认C 阅读全文
posted @ 2022-11-22 17:49 Joey-Wang 阅读(56) 评论(0) 推荐(0)
摘要: # 添加公共库的remote: $ git remote add \ public https://github.com/cmu-db/bustub.git # 后续拉取公共库的最新更改: $ git fetch public $ git merge public/master 阅读全文
posted @ 2022-11-15 14:40 Joey-Wang 阅读(37) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_42310154/article/details/119004977 图解 Git 基本命令 merge 和 rebase 0 引言 网上有太多讲rebase和merge的文章,但大多都是复制粘贴没有自己的理解,而且很多博客的例子写的过于复杂 阅读全文
posted @ 2022-11-14 17:28 Joey-Wang 阅读(139) 评论(0) 推荐(0)
摘要: 方法二为bustub官方推荐。目前不清楚这两种方法是否有区别,但实际尝试中两种方法中,第一种方法会跳出不明的 pull request,第二种不会。 方法一 在 “create a new repository” 页面选择“import a repository”。 填上要clone仓库的url和想 阅读全文
posted @ 2022-11-14 17:24 Joey-Wang 阅读(2583) 评论(0) 推荐(1)
摘要: JUnit+EasyMock测试实例 一、实例一(纯Java) 要求: 编写一个简单的货币基金选择器,考虑以下几种货币类型:CNY(人民币)、USD(美元)、GBP(英镑)、EUR(欧元)、CAD(加元),假设基金选择方法每次选择兑换值最高的货币作为投资目标,实验包括对JUnit和EasyMock的 阅读全文
posted @ 2022-03-26 05:53 Joey-Wang 阅读(346) 评论(0) 推荐(0)
摘要: EasyMock入门使用 一、EasyMock安装 EasyMock是一套通过简单的方法对于指定的接口或类生成Mock对象的类库,它能利用对接口或类的模拟来辅助单元测试。 要使用EasyMock辅助单元测试,添加easymock的jar包即可。 二、EasyMock使用 通过EasyMock,我们可 阅读全文
posted @ 2022-03-26 05:52 Joey-Wang 阅读(2031) 评论(0) 推荐(0)
摘要: JUnit 测试实例 一、 实验要求 对Rectangle程序进行测试:根据已经学习的测试思想,对函数getArea()、getPerimeter()和findMax()进行测试。 import java.util.Comparator; public class Rect { private in 阅读全文
posted @ 2022-03-26 05:48 Joey-Wang 阅读(551) 评论(0) 推荐(0)
摘要: Go 程 Go 程(goroutine)是由 Go 运行时管理的轻量级线程。 go f(x, y, z) 会启动一个新的 Go 程并执行 f(x, y, z) f, x, y 和 z 的求值发生在当前的 Go 程中,而 f 的执行发生在新的 Go 程中。 Go 程在相同的地址空间中运行,因此在访问共 阅读全文
posted @ 2022-03-26 05:05 Joey-Wang 阅读(40) 评论(0) 推荐(0)
摘要: Go 指南:https://tour.go-zh.org/ 🌟 Golang 标准库文档(中文):http://word.topgoer.com/ 官方文档(英文):https://go-zh.org/pkg/ 方法 ==Go 没有类。不过可以为结构体类型定义方法。== 方法就是一类带特殊的 接收 阅读全文
posted @ 2022-03-26 05:04 Joey-Wang 阅读(72) 评论(0) 推荐(0)
摘要: 归纳自:Go 指南:https://tour.go-zh.org/ 🌟 Golang 标准库文档(中文):http://word.topgoer.com/ 官方文档(英文):https://go-zh.org/pkg/ 1 包、变量、函数 包 每个 Go 程序都是由包构成的。 程序从 main 包 阅读全文
posted @ 2022-03-26 05:03 Joey-Wang 阅读(102) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页