Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
15a0dc4a
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
15a0dc4a
编写于
12月 21, 2017
作者:
C
Cristian
提交者:
Greg Hogan
12月 21, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[hotfix] [docs] Fix typos in MemorySegment class
This closes #5199
上级
cc8f70b1
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
flink-core/src/main/java/org/apache/flink/core/memory/MemorySegment.java
...main/java/org/apache/flink/core/memory/MemorySegment.java
+9
-9
未找到文件。
flink-core/src/main/java/org/apache/flink/core/memory/MemorySegment.java
浏览文件 @
15a0dc4a
...
...
@@ -272,7 +272,7 @@ public abstract class MemorySegment {
// - Grab mutable fields onto the stack before checking and using. This
// guards us against concurrent modifications which invalidate the
// pointers
// - Use subtrations for range checks, as they are tolerant
// - Use subtra
c
tions for range checks, as they are tolerant
//------------------------------------------------------------------------
/**
...
...
@@ -402,7 +402,7 @@ public abstract class MemorySegment {
}
/**
* Reads a
n
character value (16 bit, 2 bytes) from the given position, in little-endian byte order.
* Reads a character value (16 bit, 2 bytes) from the given position, in little-endian byte order.
* This method's speed depends on the system's native byte order, and it
* is possibly slower than {@link #getChar(int)}. For most cases (such as
* transient storage in memory or serialization for I/O and network),
...
...
@@ -423,7 +423,7 @@ public abstract class MemorySegment {
}
/**
* Reads a
n
character value (16 bit, 2 bytes) from the given position, in big-endian byte order.
* Reads a character value (16 bit, 2 bytes) from the given position, in big-endian byte order.
* This method's speed depends on the system's native byte order, and it
* is possibly slower than {@link #getChar(int)}. For most cases (such as
* transient storage in memory or serialization for I/O and network),
...
...
@@ -444,7 +444,7 @@ public abstract class MemorySegment {
}
/**
* Writes a char value to t
eh
given position, in the system's native byte order.
* Writes a char value to t
he
given position, in the system's native byte order.
*
* @param index The position at which the memory will be written.
* @param value The char value to be written.
...
...
@@ -476,7 +476,7 @@ public abstract class MemorySegment {
* one in which it is read, and {@link #putChar(int, char)} is the preferable choice.
*
* @param index The position at which the value will be written.
* @param value The
short
value to be written.
* @param value The
char
value to be written.
*
* @throws IndexOutOfBoundsException Thrown, if the index is negative, or larger then the segment size minus 2.
*/
...
...
@@ -497,7 +497,7 @@ public abstract class MemorySegment {
* one in which it is read, and {@link #putChar(int, char)} is the preferable choice.
*
* @param index The position at which the value will be written.
* @param value The
short
value to be written.
* @param value The
char
value to be written.
*
* @throws IndexOutOfBoundsException Thrown, if the index is negative, or larger then the segment size minus 2.
*/
...
...
@@ -510,7 +510,7 @@ public abstract class MemorySegment {
}
/**
* Reads
two memory at
the given position, composing them into a short value
* Reads
a short integer value (16 bit, 2 bytes) from
the given position, composing them into a short value
* according to the current byte order.
*
* @param index The position from which the memory will be read.
...
...
@@ -534,7 +534,7 @@ public abstract class MemorySegment {
}
/**
* Reads a
n
short integer value (16 bit, 2 bytes) from the given position, in little-endian byte order.
* Reads a short integer value (16 bit, 2 bytes) from the given position, in little-endian byte order.
* This method's speed depends on the system's native byte order, and it
* is possibly slower than {@link #getShort(int)}. For most cases (such as
* transient storage in memory or serialization for I/O and network),
...
...
@@ -555,7 +555,7 @@ public abstract class MemorySegment {
}
/**
* Reads a
n
short integer value (16 bit, 2 bytes) from the given position, in big-endian byte order.
* Reads a short integer value (16 bit, 2 bytes) from the given position, in big-endian byte order.
* This method's speed depends on the system's native byte order, and it
* is possibly slower than {@link #getShort(int)}. For most cases (such as
* transient storage in memory or serialization for I/O and network),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录