6765 Commits

Author SHA1 Message Date
Looly
7393f66d06 提供 core 模块下的 text 中布隆过滤器的单过滤器多哈希函数支持 2025-11-26 17:35:20 +08:00
Golden Looly
4d4bf08fc1
Merge pull request #4139 from Lettuceleaves/feat/bloom-multi-hash
Feat/bloom multi hash
2025-11-26 17:27:24 +08:00
Looly
28502528f5 修复DateModifier处理AM和PM的ceiling和round问题(pr#4161@Github) 2025-11-26 17:24:22 +08:00
Looly
bdbe51fe31 修复ReflectUtil.newInstanceIfPossible传入Object逻辑错误(pr#4160@Github) 2025-11-26 16:30:29 +08:00
Looly
eb0c039c05 优化ObjectUtil.containsString改为CharSequence(pr#4154@Github) 2025-11-26 09:43:30 +08:00
Looly
28f267c5a7 修复StrUtil.str(ByteBuffer, Charset) 方法修改入参 ByteBuffer 的 position,导致入参变化 2025-11-25 18:53:38 +08:00
Looly
7bd0585a39 优化EscapeUtil,兼容不规范的转义(pr#4150@Github) 2025-11-25 17:07:12 +08:00
Looly
13a04feab7 pr#4149@Github 2025-11-25 15:16:49 +08:00
Looly
7da2b63991 Enhance Mathematical Correctness and Performance in Combination and Arrangement Modules 2025-11-24 16:03:53 +08:00
Looly
0eac9c008b add test 2025-11-23 23:27:49 +08:00
Looly
e4ea0e8b4d add test 2025-11-23 23:22:39 +08:00
Looly
81ef1d6ffd 修复FileNameUtil.extName在特殊后缀判断逻辑过于宽松导致误判问题(pr#4142@Github) 2025-11-23 23:17:08 +08:00
Looly
6fb973ff3e fix doc 2025-11-23 23:12:30 +08:00
LettuceLeaves
efee8a14b0 test(core):添加单布隆过滤器多哈希函数的测试用例 2025-11-21 01:50:34 +08:00
LettuceLeaves
6ad6a8022e fix(core):使用位运算解决极端情况下Math.abs()失败导致的BitSet报错 2025-11-21 01:37:52 +08:00
LettuceLeaves
a31e3ff096 feat(core):单个布隆过滤器允许使用多个哈希函数 2025-11-21 01:11:54 +08:00
Looly
9e87ff60da fix isBwetween 2025-11-20 10:48:49 +08:00
Looly
fceeafebce fix code 2025-11-19 23:08:35 +08:00
Looly
12c86e5bab Merge branch 'v7-dev' of github.com:chinabugotech/hutool into v7-dev 2025-11-19 22:31:42 +08:00
Golden Looly
f95c3ff165
Merge pull request #4134 from Lettuceleaves/perf/optimize-str-finder
Perf/optimize str finder
2025-11-19 22:26:30 +08:00
Looly
342050aab6
!1386 添加ollama模型名称
Merge pull request !1386 from BUG小卖部/v7-dev
2025-11-19 14:10:25 +00:00
zhuhongyu
3e83b6004f 添加ollama模型名称 2025-11-19 10:46:13 +08:00
LettuceLeaves
7578350baa Merge remote-tracking branch 'upstream/v7-dev' into perf/optimize-str-finder 2025-11-19 01:08:30 +08:00
LettuceLeaves
dbed4a4d0f test(core):添加Sunday算法测试 2025-11-19 01:05:44 +08:00
LettuceLeaves
3f15fdd44c perf:使用Sunday算法,优化字串查询 2025-11-19 01:03:42 +08:00
LettuceLeaves
1bba40a32f perf:优化isSubEquals方法,去除toString()防止拷贝 2025-11-19 00:20:56 +08:00
LettuceLeaves
7e8fd78377 test(core):添加 StrFinder 测试用例 2025-11-19 00:03:50 +08:00
Looly
e554eba399 Merge branch 'v7-dev' of github.com:chinabugotech/hutool into v7-dev 2025-11-18 22:38:41 +08:00
Golden Looly
2c498ffa0a
Merge pull request #4133 from Lettuceleaves/fix/doc-version-typo
docs:修改文档中的版本错误信息
2025-11-18 22:38:07 +08:00
LettuceLeaves
eb9d50daf6 docs:修改文档中的版本错误信息 2025-11-18 18:56:44 +08:00
Looly
db5f36028f fix bug 2025-11-17 21:42:18 +08:00
Looly
f9fb33c3f1 add test 2025-11-12 22:14:47 +08:00
Looly
d8209d1ca0 Merge branch 'v7-dev' of gitee.com:chinabugotech/hutool into v7-dev 2025-11-12 22:14:30 +08:00
Looly
49033d0c4a add test 2025-11-12 22:09:42 +08:00
Looly
74040066ac add methods 2025-11-07 01:37:42 +08:00
Looly
b5a511b9da add methods 2025-11-07 01:35:19 +08:00
Looly
1204a0033e fix test 2025-11-06 16:55:26 +08:00
Looly
50072cd4e7 fix test 2025-11-06 16:53:44 +08:00
Looly
1210d57b79 change name 2025-11-06 16:50:42 +08:00
Looly
5f48b13b88 修正开闭区间错误 2025-11-06 16:48:15 +08:00
Looly
4e0d106e91
!1385 修正开闭区间错误
Merge pull request !1385 from 身有光名/v7-dev
2025-11-06 07:47:00 +00:00
zongze.lee
ebba917222 测试 equals 方法与不同引用对象比较失败 2025-11-06 03:43:41 +08:00
zongze.lee
56ffa92e5e 测试不包含起始元素的迭代
内存溢出
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.base/java.util.Arrays.copyOf(Arrays.java:3481)
	at java.base/java.util.ArrayList.grow(ArrayList.java:237)
	at java.base/java.util.ArrayList.grow(ArrayList.java:244)
	at java.base/java.util.ArrayList.add(ArrayList.java:454)
	at java.base/java.util.ArrayList.add(ArrayList.java:467)
	at cn.hutool.v7.core.lang.range.RangeTest.testIteratorWithoutIncludeStart(RangeTest.java:49)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-11-06 02:45:40 +08:00
zongze.lee
c0461c16f6 修正测试相邻区间合并失败
对于测试用例:
range1 = [1, 3],其上界是 Bound.atMost(3)(右闭区间)
range2 = [3, 5],其下界是 Bound.atLeast(3)(左闭区间)
在比较 Bound.atMost(3).compareTo(Bound.atLeast(3)) 时:
两者的值相等(都是3)
调用 compareIfSameBoundValue 方法
bt1 = CLOSE_UPPER_BOUND (code=2)
bt2 = CLOSE_LOWER_BOUND (code=-2)
两者是错位的(一个上界一个下界)
由于 bt1.isLowerBound() 为 false(因为是上界),所以返回 -1
这导致 boundedRange.getUpperBound().compareTo(other.getLowerBound()) < 0 为 true,判定区间不相交。
但实际上,[1,3] 和 [3,5] 在点3处是相交的,因为3既包含在第一个区间又包含在第二个区间中。
2025-11-06 02:09:57 +08:00
Looly
a3a7622419 add ai to bom 2025-11-05 18:05:50 +08:00
Looly
1fac9525ab add test 2025-10-29 23:26:17 +08:00
Looly
5b2b2c6ef3 修复FileUtil.listFileNames相对路径index混乱问题(issue#4121@Github) 2025-10-29 23:12:14 +08:00
Looly
dfe54d6611 fix comment 2025-10-29 18:40:44 +08:00
Looly
4df295ed3f fix code 2025-10-29 10:24:23 +08:00
Looly
182103120c add DDLBuilder 2025-10-28 22:11:42 +08:00