-
Notifications
You must be signed in to change notification settings - Fork 55
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
INTERNAL: Modify the term related to eflag #812
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
rebase 되었습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일부 리뷰
- \<foperand\>는 bitwise 연산을 취할 operand로 hexadecimal로 표현한다. | ||
\<foperand\>의 길이는 compare 연산을 취한 \<fvalue\>의 길이와 동일하여야 한다. | ||
- \<compop\> \<fvalue\> | ||
- \<bitwvalue\>는 bitwise 연산을 취할 operand로 hexadecimal로 표현한다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
operand로 => 값으로
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
단순 변경만 하고, 문장을 읽어보지 않았네요.
문장을 읽어보면서 수정할 사항이 있는 지도 확인해 주세요.
c86074e
to
7e988dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 완료
@@ -102,28 +102,28 @@ bkey의 hexadecimal 표현과 저장 방식을 그대로 따른다. | |||
|
|||
eflag에 대한 filter 조건은 아래와 같이 표현하며, | |||
(1) eflag의 전체/부분 값과 특정 값과의 compare 연산이나 | |||
(2) eflag의 전체/부분 값에 대해 어떤 operand로 bitwise 연산을 취한 후의 결과와 특정 값과의 compare 연산이다. | |||
(2) eflag의 전체/부분 값에 대해 주어진 값과 bitwise 연산을 취한 결과와 특정 값과의 compare 연산이다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"주어진 값과" 부분이 없어도 문장이 충분히 이해되니, 제거하시죠.
t/coll_bop_eflag.t
Outdated
@@ -42,13 +42,13 @@ sub do_btree_efilter { | |||
$bkrange = "0x" . "0"x62 . ".." . "0x" . "F"x62; | |||
|
|||
# prepare for making efilter. | |||
my $foperand = "0x" . "F"x62; | |||
my $bitwvalue = "0x" . "F"x62; | |||
my $fvallist = "0x" . sprintf "%062d", 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fvallist => compvallist
t/long_query_detect_issue.t
Outdated
@@ -42,13 +42,13 @@ sub do_btree_efilter { | |||
$bkrange = "0x" . "0"x62 . ".." . "0x" . "F"x62; | |||
|
|||
# prepare for making efilter. | |||
my $foperand = "0x" . "F"x62; | |||
my $bitwvalue = "0x" . "F"x62; | |||
my $fvallist = "0x" . sprintf "%062d", 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fvallist => compvallist
- [\<bitwop\> \<foperand\>] | ||
bitwise/compare 연산을 취할 데이터의 length는 \<compvalue\>의 length로 한다. | ||
예를 들어, eflag 전체 데이터를 선택한다면, \<offset\>은 0이어야 하고 | ||
\<compvalue\>의 length는 eflag 전체 데이터의 length와 동일하여야 한다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
offset 설명을 아래와 같이 합시다.
- eflag 값에서 bitwise/compare 연산을 취할 시작 offset을 바이트 단위로 나타낸다.
- offset과 bitwise/compare 연산을 취할 데이터 length의 합은 eflag 데이터의 length보다 작거나 같아야 한다.
- 예를 들어, eflag 전체 데이터와 비교한다면, <offset>은 0이어야 <compvalue>의 length는 eflag 전체 데이터의 length와 동일하여야 한다.
\<fvalue\>는 eflag 부분 데이터에 대해 bitwise 연산을 취할 operand로 사용되며, | ||
- 앞서 기술한 \<offset\>과 \<bitwop\>가 생략되면, eflag의 전체 데이터를 \<value\>로 변경한다. | ||
부분 변경을 위한 \<offset\>과 \<bitwop\>가 지정되면 | ||
\<value\>는 eflag 부분 데이터에 대해 bitwise 연산을 취할 operand로 사용되며, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
operand로 => 데이터로
🔗 Related Issue
⌨️ What I did