Searched refs:Double (Results 1 - 25 of 707) sorted by relevance

1234567891011>>

/external/valgrind/VEX/priv/
H A Dhost_generic_maddf.h41 void h_generic_calc_MAddF64 ( /*OUT*/Double*, Double*, Double*,
42 Double* );
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
H A DDoubleArrayAsListTest.java37 private static List<Double> asList(Double[] values) {
49 @Override protected List<Double> create(Double[] elements) {
55 @Override protected List<Double> create(Double[] elements) {
56 Double[] suffix = {Double.MIN_VALUE, Double.MAX_VALUE};
57 Double[] al
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
H A DFloatTagTest.java27 assertEquals(new Double(6.8523015e+5), getMapValue("canonical: 6.8523015e+5", "canonical"));
28 assertEquals(new Double(6.8523015e+5),
30 assertEquals(new Double(6.8523015e+5), getMapValue("fixed: 685_230.15", "fixed"));
31 assertEquals(new Double(6.8523015e+5),
33 assertEquals(Double.NEGATIVE_INFINITY,
35 assertEquals(Double.NaN, getMapValue("not a number: .NaN", "not a number"));
39 assertEquals(new Double(1), getMapValue("number: !!float 1", "number"));
43 assertEquals(new Double(1), getMapValue("number: !<tag:yaml.org,2002:float> 1", "number"));
48 map.put("number", new Double(1));
54 assertEquals(new Double(47.
[all...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DDoubleArrayAsListTest.java45 private static List<Double> asList(Double[] values) {
55 List<ListTestSuiteBuilder<Double>> builders =
71 for (ListTestSuiteBuilder<Double> builder : builders) {
87 @Override protected List<Double> create(Double[] elements) {
93 @Override protected List<Double> create(Double[] elements) {
94 Double[] suffix = {Double
[all...]
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
H A DChildDoubleModule.java9 class ChildDoubleModule extends ParentModule<Double, String, List<Double>> {
11 @Provides Double provideDouble() {
15 @Provides List<Double> provideListOfDouble() {
16 List<Double> list = new ArrayList<>();
H A DBoundedGenericComponent.java28 BoundedGenerics<Double, LinkedList<String>, LinkedList<Comparable<String>>, Double, Set<Double>>
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DChiSquaredDistribution.java32 public interface ChiSquaredDistribution extends ContinuousDistribution, HasDensity<Double> {
52 double density(Double x);
H A DExponentialDistribution.java32 public interface ExponentialDistribution extends ContinuousDistribution, HasDensity<Double> {
52 double density(Double x);
H A DGammaDistribution.java32 public interface GammaDistribution extends ContinuousDistribution, HasDensity<Double> {
66 double density(Double x);
H A DNormalDistribution.java33 public interface NormalDistribution extends ContinuousDistribution, HasDensity<Double> {
64 double density(Double x);
H A DBetaDistribution.java28 public interface BetaDistribution extends ContinuousDistribution, HasDensity<Double> {
63 double density(Double x) throws MathException;
/external/jcommander/src/main/java/com/beust/jcommander/converters/
H A DDoubleConverter.java28 public class DoubleConverter extends BaseConverter<Double> {
34 public Double convert(String value) {
36 return Double.parseDouble(value);
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/number/
H A DIsNaN.java11 public final class IsNaN extends TypeSafeMatcher<Double> {
16 public boolean matchesSafely(Double item) {
17 return Double.isNaN(item);
21 public void describeMismatchSafely(Double item, Description mismatchDescription) {
31 * Creates a matcher of {@link Double}s that matches when an examined double is not a number.
33 * <pre>assertThat(Double.NaN, is(notANumber()))</pre>
35 public static Matcher<Double> notANumber() {
H A DIsCloseTo.java14 public class IsCloseTo extends TypeSafeMatcher<Double> {
24 public boolean matchesSafely(Double item) {
29 public void describeMismatchSafely(Double item, Description mismatchDescription) {
45 private double actualDelta(Double item) {
50 * Creates a matcher of {@link Double}s that matches when an examined double is equal
60 public static Matcher<Double> closeTo(double operand, double error) {
/external/clang/test/SemaCXX/
H A Dmissing-namespace-qualifier-typo-corrections.cpp10 int Double(int x) { return x + x; } function
12 Double(toFoobar()); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}}
26 if (toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}}
27 if (noFoobar()) Double(7); // expected-error{{use of undeclared identifier 'noFoobar'; did you mean 'barstool::toFoobar'?}}
28 if (moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'moreFoobar'; did you mean 'fizbin::nested::moreFoobar'}}
29 if (lessFoobar()) Double(7); // expected-error{{use of undeclared identifier 'lessFoobar'; did you mean 'fizbin::nested::lessFoobar'?}}
30 if (baztool::toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'baztool'; did you mean 'fizbin::baztool'?}}
31 if (nested::moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'nested'; did you mean 'fizbin::nested'?}}
32 if (dummy::morebar()) Double(7); // expected-error{{use of undeclared identifier 'dummy'; did you mean 'fizbin::dummy'?}}
33 if (dummy::mrebar()) Double(
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
H A DPerson.java22 private final Option<Double> income;
28 public Person(int id, String name, Option<Double> income) {
42 public Option<Double> getIncome() {
/external/testng/src/main/java/org/testng/internal/junit/
H A DInexactComparisonCriteria.java14 if (expected instanceof Double)
15 AssertJUnit.assertEquals((Double)expected, (Double)actual, fDelta);
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/badexecutor/
H A DComponentDependency.java21 ListenableFuture<Double> doubleDep();
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/builder/
H A DDepComponent.java21 ListenableFuture<Double> d();
/external/junit/src/main/java/org/junit/internal/
H A DInexactComparisonCriteria.java18 if (expected instanceof Double) {
19 Assert.assertEquals((Double) expected, (Double) actual, (Double) fDelta);
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
H A DRandomKey.java64 public abstract class RandomKey<T> extends AbstractListChromosome<Double> implements PermutationChromosome<T> {
69 private final List<Double> sortedRepresentation;
81 public RandomKey(List<Double> representation) {
84 List<Double> sortedRepr = new ArrayList<Double> (getRepresentation());
98 public RandomKey(Double[] representation) {
119 private static <S> List<S> decodeGeneric(List<S> sequence, List<Double> representation, List<Double> sortedRepr) {
129 List<Double> reprCopy = new ArrayList<Double> (representatio
[all...]
H A DChromosome.java33 private double fitness = Double.MIN_VALUE;
45 if (this.fitness == Double.MIN_VALUE) {
65 return ((Double)this.getFitness()).compareTo(another.getFitness());
/external/caliper/examples/src/main/java/examples/
H A DDoubleToStringBenchmark.java31 return ((Double) d).toString();
33 @Override String convert(Double d) {
41 @Override String convert(Double d) {
49 @Override String convert(Double d) {
57 @Override String convert(Double d) {
64 abstract String convert(Double d);
70 NegativeInfinity(Double.NEGATIVE_INFINITY),
71 NaN(Double.NaN);
92 Double d = value.value;
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/number/
H A DIsNanTest.java13 Matcher<Double> matcher = notANumber();
21 assertMatches(notANumber(), Double.NaN);
31 assertDoesNotMatch(notANumber(), Double.POSITIVE_INFINITY);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/
H A DBaseDoubleEncodedValue.java45 long v = Double.doubleToRawLongBits(getValue());
52 return Double.doubleToRawLongBits(getValue()) ==
53 Double.doubleToRawLongBits(((DoubleEncodedValue)o).getValue());
62 return Double.compare(getValue(), ((DoubleEncodedValue)o).getValue());

Completed in 1014 milliseconds

1234567891011>>