Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
9fcd5e2d
提交
9fcd5e2d
authored
10月 07, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
6f06aa37
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
12 行增加
和
7 行删除
+12
-7
PageFreeList.java
h2/src/main/org/h2/store/PageFreeList.java
+3
-0
MathUtils.java
h2/src/main/org/h2/util/MathUtils.java
+2
-2
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+4
-3
TestPageStore.java
h2/src/test/org/h2/test/unit/TestPageStore.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+2
-1
没有找到文件。
h2/src/main/org/h2/store/PageFreeList.java
浏览文件 @
9fcd5e2d
...
...
@@ -86,6 +86,9 @@ public class PageFreeList extends Page {
return
-
1
;
}
}
else
{
// set the bit first, because logUndo can
// allocate other pages, and we must not
// return the same page twice
used
.
set
(
free
);
store
.
logUndo
(
this
,
data
);
store
.
update
(
this
);
...
...
h2/src/main/org/h2/util/MathUtils.java
浏览文件 @
9fcd5e2d
...
...
@@ -182,7 +182,7 @@ public class MathUtils {
* Reverse the bits in a 32 bit integer. This code is also available in Java
* 5 using Integer.reverse, however not available yet in Retrotranslator.
* The code was taken from http://www.hackersdelight.org - reverse.c
*
*
* @param x the original value
* @return the value with reversed bits
*/
...
...
@@ -197,7 +197,7 @@ public class MathUtils {
/**
* Reverse the bits in a 64 bit long. This code is also available in Java 5
* using Long.reverse, however not available yet in Retrotranslator.
*
*
* @param x the original value
* @return the value with reversed bits
*/
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
9fcd5e2d
...
...
@@ -297,7 +297,10 @@ java org.h2.test.TestAll timer
/*
check freelist undo recursion
translate button should be disabled by default because it is slow.
documentation: rolling review at features (alphabetically)
<code class="notranslate"></code>
mvcc merge problem
...
...
@@ -314,8 +317,6 @@ out of memory in tests: analyze heap dump
integrate the short documentation, but where?
documentation: rolling review at roadmap.html: done
remove old TODO, move to roadmap
kill a test:
...
...
h2/src/test/org/h2/test/unit/TestPageStore.java
浏览文件 @
9fcd5e2d
...
...
@@ -111,7 +111,7 @@ public class TestPageStore extends TestBase {
p
.
setInt
(
3
,
random
.
nextInt
(
100
));
}
p
.
execute
();
}
else
if
(
random
.
nextInt
(
100
)
<
90
)
{
}
else
if
(
random
.
nextInt
(
100
)
<
90
)
{
p
=
updateMany
[
random
.
nextInt
(
tableCount
)];
p
.
setInt
(
1
,
i
);
p
.
setInt
(
2
,
random
.
nextInt
(
50
));
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
9fcd5e2d
...
...
@@ -614,4 +614,5 @@ approach risky getters suxxess gmb delegate delegating delegates collisions
linkage superfluous disallow scoop moebius inputs copilot dmoebius leod jenkov
jakob poker docware peter unstable measurable scramble reissued recreation
scrambling distinguish official unofficial distinguishable overwrites lastval
notranslate
\ No newline at end of file
notranslate vince bonfanti alphabetically sysdummy sysibm activation
deactivation
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论