Better organize ray_common module (#4898)

This commit is contained in:
Hao Chen
2019-06-05 14:19:09 +08:00
committed by Robert Nishihara
parent c2253d2313
commit d106283769
61 changed files with 102 additions and 103 deletions
@@ -13,7 +13,7 @@ import org.ray.api.id.UniqueId;
/**
* Helper method for different Ids.
* Note: any changes to these methods must be synced with C++ helper functions
* in src/ray/id.h
* in src/ray/common/id.h
*/
public class IdUtil {
public static final int OBJECT_INDEX_POS = 16;
@@ -161,7 +161,7 @@ public class IdUtil {
}
/**
* This method is the same as `Hash()` method of `ID` class in ray/src/ray/id.h
* This method is the same as `Hash()` method of `ID` class in ray/src/ray/common/id.h
*/
private static long murmurHash64A(byte[] data, int length, int seed) {
final long m = 0xc6a4a7935bd1e995L;