diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6338bfd --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Platform + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 8a3bbbb..86fe860 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,7 @@ m3_128.AsBytes() // output: [182 25 164 232] ``` +LICENSE +--- + +Copyright (c) 2020 Platform BigData Adtech Admicro \ No newline at end of file diff --git a/tmp.txt b/tmp.txt deleted file mode 100644 index d58aedb..0000000 --- a/tmp.txt +++ /dev/null @@ -1,99 +0,0 @@ -804e378a1fc2ae47cb1729b57a7fb4dd - - -Java: - -dịch trái - -k2 = RotateLeft(k2, 33) -k2 *= c1 -h2 ^= k2 - --1429430960931417013L << 33 = -7099457975374315520 - --1429430960931417013L >>> -33 = 7924303930 - - --7099457975374315520L | 7924303930L - --7099457967450011590 - -x >> y, với x là số âm nó tương đương với: x>> y + (2 << (^y)) - - -9223372036854775807 - -public int asInt() { - return this.bytes[0] & 255 | (this.bytes[1] & 255) << 8 | (this.bytes[2] & 255) << 16 | (this.bytes[3] & 255) << 24; -} - - -seed: --1467523828 - -data: -"681236075540516864" - - -hash: -ver guava 11.0.2 -e8a419b6a02dd4769f55b02614e8644e - -ver guava 13: -e8a419b6a02dd4769f55b02614e8644e -e8a419b6a02dd4769f55b02614e8644e - -murmur3_128 8 byte đầu: -h1: --4679499707516148273 -h2: -3525630834450039407 - -murmur3_128 8 byte thứ 2: -h1: --1462970647251474314 -h2: -7348657231571827987 - - -length 32 - -i = 15 - - -kết quả sau khi remainingProcess mixK1, mixK2: -h1: -7114075945533132289 -7348657231571827987 -length = 36 - - -Kết quả của hàm fmix64: - --3984010896604591268 -k ^= k >>> 33 --3984010895058275643 - - - - -Kết quả cuối cùng: -h1: -8562518959811306728 -h2: -5648895005875525023 - - -16 byte sau khi putLong: --24, -92, 25, -74, -96, 45, -44, 118, -97, 85, -80, 38, 20, -24, 100, 78 - - - - - - - - - - -