Preliminary support for ARM

This commit adds preliminary support for 64-bit ARM architectures.

Relates #25318
This commit is contained in:
Drew Raines 2017-06-30 13:22:20 -05:00 committed by Jason Tedor
parent 1b602477ae
commit 6deb18c0de
5 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ snakeyaml = 1.15
# When updating log4j, please update also docs/java-api/index.asciidoc # When updating log4j, please update also docs/java-api/index.asciidoc
log4j = 2.8.2 log4j = 2.8.2
slf4j = 1.6.2 slf4j = 1.6.2
jna = 4.4.0 jna = 4.4.0-1
# test dependencies # test dependencies
randomizedrunner = 2.5.0 randomizedrunner = 2.5.0

View File

@ -269,7 +269,7 @@ public class SearchIT extends ESRestHighLevelClientTestCase {
assertEquals(5, matrixStats.getFieldCount("num2")); assertEquals(5, matrixStats.getFieldCount("num2"));
assertEquals(29d, matrixStats.getMean("num2"), 0d); assertEquals(29d, matrixStats.getMean("num2"), 0d);
assertEquals(330d, matrixStats.getVariance("num2"), 0d); assertEquals(330d, matrixStats.getVariance("num2"), 0d);
assertEquals(-0.13568039346585542, matrixStats.getSkewness("num2"), 0d); assertEquals(-0.13568039346585542, matrixStats.getSkewness("num2"), 1.0e-16);
assertEquals(1.3517561983471074, matrixStats.getKurtosis("num2"), 0d); assertEquals(1.3517561983471074, matrixStats.getKurtosis("num2"), 0d);
assertEquals(-767.5, matrixStats.getCovariance("num", "num2"), 0d); assertEquals(-767.5, matrixStats.getCovariance("num", "num2"), 0d);
assertEquals(-0.9876336291667923, matrixStats.getCorrelation("num", "num2"), 0d); assertEquals(-0.9876336291667923, matrixStats.getCorrelation("num", "num2"), 0d);

View File

@ -0,0 +1 @@
c9dfcec6f07ee4b1d7a6c09a7eaa9dd4fb6d2c79

View File

@ -1 +0,0 @@
6edc9b4514969d768039acf43f04210b15658cd7

View File

@ -242,6 +242,7 @@ final class SystemCallFilter {
static { static {
Map<String,Arch> m = new HashMap<>(); Map<String,Arch> m = new HashMap<>();
m.put("amd64", new Arch(0xC000003E, 0x3FFFFFFF, 57, 58, 59, 322, 317)); m.put("amd64", new Arch(0xC000003E, 0x3FFFFFFF, 57, 58, 59, 322, 317));
m.put("aarch64", new Arch(0xC00000B7, 0xFFFFFFFF, 1079, 1071, 221, 281, 277));
ARCHITECTURES = Collections.unmodifiableMap(m); ARCHITECTURES = Collections.unmodifiableMap(m);
} }