Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atomicx: 泛型封装 atomic.Value #101

Merged
merged 6 commits into from
Oct 1, 2022
Merged

atomicx: 泛型封装 atomic.Value #101

merged 6 commits into from
Oct 1, 2022

Conversation

flycash
Copy link
Contributor

@flycash flycash commented Sep 29, 2022

No description provided.

@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Merging #101 (5028881) into dev (926d442) will increase coverage by 0.36%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #101      +/-   ##
==========================================
+ Coverage   94.68%   95.05%   +0.36%     
==========================================
  Files          24       25       +1     
  Lines        1148     1172      +24     
==========================================
+ Hits         1087     1114      +27     
+ Misses         45       43       -2     
+ Partials       16       15       -1     
Impacted Files Coverage Δ
syncx/atomicx/atomic.go 100.00% <100.00%> (ø)
sqlx/encrypt.go 73.07% <0.00%> (+0.79%) ⬆️
pool/task_pool.go 99.05% <0.00%> (+0.94%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@flycash flycash merged commit 4e5e879 into ecodeclub:dev Oct 1, 2022
zoupengyu3517 added a commit to zoupengyu3517/ekit that referenced this pull request Oct 2, 2022
flycash added a commit to flycash/ekit that referenced this pull request Nov 20, 2022
* atomicx: 泛型封装 atomic.Value

* 添加 CHANGELOG

* syncx/atomicx: 增加 Swap 和 CAS 的泛型包装

* 添加 swap nil 的测试

* 添加更加多的 benchmark 测试,同时保证 NewValue 和 NewValueOf 的语义在 nil 上一致

* 优化单元测试
flycash added a commit that referenced this pull request Dec 6, 2022
* sqlx 加密列 key长度校验 (#102)

* sqlx 加密列 key长度校验

* sqlx 加密列 key长度校验 补单元测试

* 修改加密列key长度错误提示

* atomicx: 泛型封装 atomic.Value (#101)

* atomicx: 泛型封装 atomic.Value

* 添加 CHANGELOG

* syncx/atomicx: 增加 Swap 和 CAS 的泛型包装

* 添加 swap nil 的测试

* 添加更加多的 benchmark 测试,同时保证 NewValue 和 NewValueOf 的语义在 nil 上一致

* 优化单元测试

* queue: API 定义 (#109)

* queue: API 定义

* 补充 API 说明

* 实现优先级队列和并发安全优先级队列 (#110)

基于小顶堆和切片的实现

* queue: 延时队列 (#115)

* 延迟队列: 优化唤醒入队元素逻辑 (#117)

* 修改CHANGELOG链接;添加测试用例修复bug

Signed-off-by: longyue0521 <[email protected]>

* 修改cond的SignalCh为signalCh;理清注释

Signed-off-by: longyue0521 <[email protected]>

Signed-off-by: longyue0521 <[email protected]>

* value: AnyValue 设计 (#120) (#121)

* value: AnyValue 设计 (#120)

* 修复ci检测问题

* 1.fix cr问题
2.add changelog对该pr的引用
3.add license 头部

* 1.修改ChangeLog,加入新特性描述
2.挪出value包,放在根目录
3.统一error格式打印

* 断言方式.Name改为.String

Co-authored-by: vividwei <[email protected]>

* queue: 基于切片的并发阻塞队列和基于 CAS 的并发队列设计 (#119)

* queue:使用list包中的LinkedList实现并发阻塞链式队列 (#122)

* queue:增加链式并发阻塞队列

Co-authored-by: kangdan <[email protected]>
Co-authored-by: dan.kang <[email protected]>

* ConcurrentLinkBlockingQueue 改成ConcurrentLinkedBlockingQueue (#123)



* ConcurrentLinkBlockingQueue 改成ConcurrentLinkedBlockingQueue

* modify .CHANGELOG.md

* modify .CHANGELOG.md

Co-authored-by: kangdan <[email protected]>
Co-authored-by: dan.kang <[email protected]>

* queue: ConcurrentLinkedQueue增加超时控制逻辑 (#124)



Co-authored-by: kangdan <[email protected]>
Co-authored-by: dan.kang <[email protected]>

* queue: 添加例子

- 添加队列例子
- 去除 ConcurrentLinkedQueue 的超时机制

* queue: 添加例子 (#126)

Signed-off-by: longyue0521 <[email protected]>
Co-authored-by: hookokoko <[email protected]>
Co-authored-by: Gevin <[email protected]>
Co-authored-by: Longyue Li <[email protected]>
Co-authored-by: 韦佳栋 <[email protected]>
Co-authored-by: vividwei <[email protected]>
Co-authored-by: kangdan666 <[email protected]>
Co-authored-by: kangdan <[email protected]>
Co-authored-by: dan.kang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants