会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
90%
sqmw
The awakening is always delayed, there seems to be some fog
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
27
下一页
2022年12月23日
java lambda表达式<奇怪的Java>
摘要: 如图所示的代码不能捕获表达式里面的异常
阅读全文
posted @ 2022-12-23 19:27 sqmw
阅读(12)
评论(0)
推荐(0)
编辑
2022年12月22日
SQL定义变量
摘要: 今天在使用MySQL的时候,发现需要使用定义一个变量才行。总结了如下的变量的特点 1. 变量的一般定义形式 set @XXX = ? ;当然也是可以使用select的,但是没有这个简介 > 问题:变量XXX的定义域是什么,每一个connection相当于一个一个大括号,而作用域就是在这个{}里面,这
阅读全文
posted @ 2022-12-22 19:52 sqmw
阅读(106)
评论(0)
推荐(0)
编辑
2022年12月20日
java JVM和class字节码版本对照表
摘要: 链接前往 | JDK Version | Bytecode Version | | | | | Java 1.0 | 45.0 | | Java 1.1 | 45.3 | | Java 1.2 | 46.0 | | Java 1.3 | 47.0 | | Java 1.4 | 48.0 | | Ja
阅读全文
posted @ 2022-12-20 10:29 sqmw
阅读(120)
评论(0)
推荐(0)
编辑
2022年12月18日
一个循环实现五子棋输赢判定 gobang
摘要: 通过一个for循环实现五子棋输赢判定 看过好些人写的判定方法,发现基本都是使用三层for来遍历实现的虽然时间复杂度不是N^3但是如下算法时间复杂度仅仅是N 经过分析,时间复杂度的原因来自(x + i, y) in smallPointList->O(N)但是for i in range(-4, 5)
阅读全文
posted @ 2022-12-18 20:34 sqmw
阅读(87)
评论(0)
推荐(0)
编辑
2022年12月2日
网络报文形式
摘要: 请求报文 响应报文
阅读全文
posted @ 2022-12-02 16:24 sqmw
阅读(9)
评论(0)
推荐(0)
编辑
2022年12月1日
Go basic
摘要: 风格 0. 简洁,不能有多余的东西 1. 去掉了if while 的(),变得更加简洁 2. case 自带的 break,匹配之后就会自己跳出 3. 不能连续出现两个关键字(如 for var) 4. 和java/c一样采用的是值传递的方式传递参数 5. 想要传参修改值,就传递指针 输出 fmt.
阅读全文
posted @ 2022-12-01 19:30 sqmw
阅读(31)
评论(0)
推荐(0)
编辑
2022年11月21日
flutter 常用命令及日志打印包
摘要: 检测更新类 flutter --version 查看当前安装的flutter 版本 flutter upgrade 升级当前的flutter 版本 flutter doctor 检查环境安装是否完成 flutter devices 查看当前可用设备 清空、启动相关 flutter clean 清空b
阅读全文
posted @ 2022-11-21 00:16 sqmw
阅读(576)
评论(0)
推荐(0)
编辑
2022年11月19日
ide设置代码折叠
摘要: idea: //#region XXX //#endregion
阅读全文
posted @ 2022-11-19 19:26 sqmw
阅读(12)
评论(0)
推荐(0)
编辑
2022年10月29日
js ajax
摘要: ajax 使用注意 使用ajax的时候一定要加上网络协议无论是http 还是 https 浏览器的地址栏会自动填充 ajax的实例对象可以多次使用吗?经过测试一个实例后的XMLHttpRequest对象是可以多次使用的 let xhr = new XMLHttpRequest(); xhr.open
阅读全文
posted @ 2022-10-29 10:47 sqmw
阅读(217)
评论(0)
推荐(0)
编辑
js promise概念
摘要: Promise构造函数接受一个函数作为参数。该函数的两个参数分别是resolve和reject,它们是两个函数,由JavaScript引擎提供,不用自己部署。 //代码 // resole 和 reject 是有解释器进行分配的,名字我们可以自由修改 let _promise = new Promi
阅读全文
posted @ 2022-10-29 09:00 sqmw
阅读(9)
评论(0)
推荐(0)
编辑
上一页
1
···
11
12
13
14
15
16
17
18
19
···
27
下一页
公告