会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
90%
sqmw
The awakening is always delayed, there seems to be some fog
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2023年1月11日
dart Future & Isolate
摘要: Future通过CPU调度实现的,单线程切换 Isolate可能会调用其他CPU内核,Isolate是一个绝对封闭的,通信仅仅能通过SendPort
阅读全文
posted @ 2023-01-11 22:54 sqmw
阅读(17)
评论(0)
推荐(0)
编辑
flush close到底是什么东西
摘要: flush() 是把缓冲区的数据强行输出, 主要用在IO中,即清空缓冲区数据,一般在读写流(stream)的时候,数据是先被读到了内存中, 再把数据写到文件中,当你数据读完的时候不代表你的数据已经写完了,因为还有一部分有可能会留在内存这个缓冲区中。这时候如果 你调用了close()方法关闭了读写流,
阅读全文
posted @ 2023-01-11 21:37 sqmw
阅读(39)
评论(0)
推荐(0)
编辑
js functionSet
摘要: 本文用来记录自己封装的js代码,防止二次重写
阅读全文
posted @ 2023-01-11 19:38 sqmw
阅读(16)
评论(0)
推荐(0)
编辑
package:webview_windows 使用注意
摘要: await _webViewController.loadUrl("F:/language/hbuilderx/code/test/test3.html"); await _webViewController.loadUrl("file:///F:/language/hbuilderx/code/t
阅读全文
posted @ 2023-01-11 19:07 sqmw
阅读(26)
评论(0)
推荐(0)
编辑
win32 sendMessage sendMessageTimeout postMessage
摘要: PostMessage();//将消息丢在消息队列就不管了 SendMessage();//等待消息处理,同步函数 SendMessageTimeout();//可以广播信息或者单独发信息,有超时时间,可以设置处理类型,通过fuFlags来设置 fuFlags SMTO_NORMAL 超时就返回,不
阅读全文
posted @ 2023-01-11 17:40 sqmw
阅读(149)
评论(0)
推荐(0)
编辑
PC软件打包
摘要: # inno setup ## 官网直达 https://jrsoftware.org/isinfo.php ## inno setup 功能简介 - inno setup 说明:要生成快捷方式的时候如果指定main.exe,之后又会把main.exe复制一次到安装目录下可以避开 - inno se
阅读全文
posted @ 2023-01-11 10:34 sqmw
阅读(27)
评论(0)
推荐(0)
编辑
dart functionSet
摘要: 文件 根据传入的路径,返回上N级目录 /// 0表示当前路径, -1 上一级路径 返回值的最后面没有 / /// 最多到达磁盘目录 String getPathFromIndex(String path, int index){ List<String> dirNames = path.split(
阅读全文
posted @ 2023-01-11 00:24 sqmw
阅读(16)
评论(0)
推荐(0)
编辑
公告