File tree Expand file tree Collapse file tree 7 files changed +32
-29
lines changed
Expand file tree Collapse file tree 7 files changed +32
-29
lines changed Original file line number Diff line number Diff line change 11name : docs
22
33on :
4+ push :
5+ branches : dev
6+ pull_request :
47 workflow_dispatch :
58 # Inputs the workflow accepts.
69 inputs :
1013 default : ' 3.39.12:3.39.x'
1114 # Input has to be provided for the workflow to run
1215 required : true
13- comment :
14- description : ' Comment only'
15- # Default value if no value is explicitly provided
16- default : ' '
17- # Input has to be provided for the workflow to run
18- required : false
1916env :
2017 DOCS_CI : 1
2118 PYTHON_VERSION : 3.x
Original file line number Diff line number Diff line change 1+ yasio-4.3.0
2+
3+ 1 . Use dynamic buffer for recv
4+ 2 . Improve kcp, invoke ` ikcp_peeksize ` before invoke ` ikcp_recv `
5+
6+
17yasio-4.2.4
28
39 1 . Fix yasio_ni
410 2 . Improve ohos support
5-
6-
11+
12+
713yasio-4.2.3
814
915 1 . Update llvm to 17.0.6 for msvc14.40 support
Original file line number Diff line number Diff line change @@ -174,12 +174,17 @@ uint8_t值。
174174
175175## <a name =" read_bytes " ></a > ibstream_view::read_bytes
176176
177- 读取指定长度字节数据,无GC 。
177+ 读取指定长度字节数据视图,此接口无数据拷贝 。
178178
179179``` cpp
180- cxx17::string_view read_bytes ();
180+ cxx17::string_view read_bytes (int len );
181181```
182182
183+ ### 参数
184+
185+ *len*<br/>
186+ 要读取的字节数。
187+
183188### 返回值
184189
185190二进制数据的 `cxx17::string_view` 类型视图。
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ WeasyPrint==60.2
55mkdocs-pdf-export-plugin == 0.5.10
66mkdocs-minify-plugin == 0.8.0
77mike >= 2.0.0
8- Pillow == 10.3 .0
8+ Pillow == 10.2 .0
99mkdocs-git-revision-date-localized-plugin
1010mkdocs-redirects >= 1.2.1
1111jieba >= 0.42.1
Original file line number Diff line number Diff line change @@ -9,28 +9,23 @@ mike delete --all
99
1010Write-Host " Active versions: $rel_str "
1111
12- if (" $rel_str " -eq " " ) {
13- Write-Error " docs versions list can't be empty, should be 'docs_ver[:docs_tag],...'"
14- exit 1
15- }
16-
17- $rel_arr = ($rel_str -split ' ,' )
18-
1912$docs_ver = $null
20- foreach ($rel in $rel_arr ) {
21- # ver:tag
22- $info = ($rel -split ' :' )
23- $docs_ver = $info [0 ]
24- $docs_tag = if ($info.Count -ge 2 ) { $info [1 ] } else { " v$ ( $info [0 ]) " }
25- git checkout " $docs_tag "
26- mike deploy $docs_ver
13+ if ($rel_str ) {
14+ $rel_arr = ($rel_str -split ' ,' )
15+ foreach ($rel in $rel_arr ) {
16+ # ver:tag
17+ $info = ($rel -split ' :' )
18+ $docs_ver = $info [0 ]
19+ $docs_tag = if ($info.Count -ge 2 ) { $info [1 ] } else { " v$ ( $info [0 ]) " }
20+ git checkout " $docs_tag "
21+ mike deploy $docs_ver
22+ }
2723}
2824
2925git checkout dev
3026mike deploy latest
3127mike list
3228
33- if ($env: GITHUB_ACTIONS -eq ' true' ) {
29+ if ($docs_ver -and ( $ env: GITHUB_ACTIONS -eq ' true' ) ) {
3430 mike set-default $docs_ver -- push
3531}
36-
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ includedir=${exec_prefix}/include
55
66Name: yasio
77Description: A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client application.
8- Version: 4.2.4
8+ Version: 4.3.0
99Libs: -L${libdir}
1010Cflags: -I${includedir}/yasio
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ SOFTWARE.
205205/*
206206** The yasio version macros
207207*/
208- #define YASIO_VERSION_NUM 0x040205
208+ #define YASIO_VERSION_NUM 0x040300
209209
210210/*
211211** The macros used by io_service.
You can’t perform that action at this time.
0 commit comments