Skip to content

Commit

Permalink
fixed license in XXH3Base
Browse files Browse the repository at this point in the history
  • Loading branch information
oertl committed Feb 3, 2025
1 parent 7e10c37 commit f15110a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ spotless {
]),
new Tuple3('javaXXH', 'APACHE_2_0_XXH',[
'src/main/java/com/dynatrace/hash4j/hashing/XXH3_64.java',
'src/main/java/com/dynatrace/hash4j/hashing/XXH3_128.java'
'src/main/java/com/dynatrace/hash4j/hashing/XXH3_128.java',
'src/main/java/com/dynatrace/hash4j/hashing/XXH3Base.java'
])
]

Expand Down
22 changes: 22 additions & 0 deletions src/main/java/com/dynatrace/hash4j/hashing/XXH3Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
* This implementation was derived from
*
* https://github.com/OpenHFT/Zero-Allocation-Hashing/blob/zero-allocation-hashing-0.16/src/main/java/net/openhft/hashing/XXH3.java
*
* which was published under the license below:
*
* Copyright 2015 Higher Frequency Trading http://www.higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.dynatrace.hash4j.hashing;

import static com.dynatrace.hash4j.hashing.AbstractHasher.*;
Expand Down

0 comments on commit f15110a

Please sign in to comment.