/external/truth/extensions/java8/src/test/java/com/google/common/truth/ |
D | OptionalDoubleSubjectTest.java | 23 import java.util.OptionalDouble; 44 assertThat(OptionalDouble.of(1337.0)).isPresent(); in isPresent() 50 expectFailure(whenTesting -> whenTesting.that(OptionalDouble.empty()).isPresent()); in isPresentFailing() 56 assertThat(OptionalDouble.empty()).isEmpty(); in isEmpty() 62 expectFailure(whenTesting -> whenTesting.that(OptionalDouble.of(1337.0)).isEmpty()); in isEmptyFailing() 75 assertThat(OptionalDouble.of(1337.0)).hasValue(1337.0); in hasValue() 81 expectFailure(whenTesting -> whenTesting.that(OptionalDouble.empty()).hasValue(1337.0)); in hasValue_FailingWithEmpty() 92 expectFailure(whenTesting -> whenTesting.that(OptionalDouble.of(1337.0)).hasValue(42.0)); in hasValue_FailingWithWrongValue() 97 ExpectFailure.SimpleSubjectBuilderCallback<OptionalDoubleSubject, OptionalDouble> in expectFailure()
|
/external/truth/extensions/java8/src/main/java/com/google/common/truth/ |
D | OptionalDoubleSubject.java | 21 import java.util.OptionalDouble; 31 private final OptionalDouble actual; 35 @Nullable OptionalDouble subject, in OptionalDoubleSubject() 81 public static Subject.Factory<OptionalDoubleSubject, OptionalDouble> optionalDoubles() { in optionalDoubles()
|
D | Truth8.java | 24 import java.util.OptionalDouble; 59 public static OptionalDoubleSubject assertThat(@Nullable OptionalDouble target) { in assertThat()
|
/external/golang-protobuf/proto/ |
D | equal_test.go | 129 x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(1)}, 130 y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(2)}, 135 x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(float64(math.NaN()))}, 136 y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(0)}, 194 x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(2)}, 195 y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(2)}, 202 x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(float64(math.NaN()))}, 203 y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(float64(math.NaN()))}, 259 y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(0)}, 310 y: &test3pb.TestAllTypes{OptionalDouble: proto.Float64(0)},
|
/external/guava/guava/src/com/google/common/base/ |
D | MoreObjects.java | 25 import java.util.OptionalDouble; 365 } else if (value instanceof OptionalDouble) { in isEmpty() 366 return !((OptionalDouble) value).isPresent(); in isEmpty()
|
/external/golang-protobuf/internal/testprotos/fieldtrack/ |
D | fieldtrack.pb.go | 37 …OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=o… member 215 if x != nil && x.OptionalDouble != nil { 216 return *x.OptionalDouble
|
/external/guava/guava/src/com/google/common/collect/ |
D | Streams.java | 32 import java.util.OptionalDouble; 150 public static DoubleStream stream(OptionalDouble optional) { in stream() 962 public static OptionalDouble findLast(DoubleStream stream) { 965 return boxedLast.map(OptionalDouble::of).orElseGet(OptionalDouble::empty);
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | UnittestProto3Optional.cs | 431 public double OptionalDouble { property in ProtobufUnittest.TestProto3Optional 650 …bufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) r… in Equals() 678 …) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OptionalDouble); in GetHashCode() 752 output.WriteDouble(OptionalDouble); in WriteTo() 846 output.WriteDouble(OptionalDouble); in IBufferMessage.InternalWriteTo() 1003 OptionalDouble = other.OptionalDouble; in MergeFrom() 1098 OptionalDouble = input.ReadDouble(); in MergeFrom() 1203 OptionalDouble = input.ReadDouble(); in IBufferMessage.InternalMergeFrom()
|
D | TestMessagesProto3.cs | 625 public double OptionalDouble { property in ProtobufTestMessages.Proto3.TestAllTypesProto3 2308 …bufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) r… in Equals() 2467 …if (OptionalDouble != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Get… in GetHashCode() 2670 if (OptionalDouble != 0D) { in WriteTo() 2672 output.WriteDouble(OptionalDouble); in WriteTo() 3023 if (OptionalDouble != 0D) { in IBufferMessage.InternalWriteTo() 3025 output.WriteDouble(OptionalDouble); in IBufferMessage.InternalWriteTo() 3365 if (OptionalDouble != 0D) { in CalculateSize() 3662 if (other.OptionalDouble != 0D) { in MergeFrom() 3663 OptionalDouble = other.OptionalDouble; in MergeFrom() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | UnittestProto3Optional.cs | 431 public double OptionalDouble { property in ProtobufUnittest.TestProto3Optional 650 …bufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) r… in Equals() 678 …) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(OptionalDouble); in GetHashCode() 752 output.WriteDouble(OptionalDouble); in WriteTo() 846 output.WriteDouble(OptionalDouble); in IBufferMessage.InternalWriteTo() 1003 OptionalDouble = other.OptionalDouble; in MergeFrom() 1098 OptionalDouble = input.ReadDouble(); in MergeFrom() 1203 OptionalDouble = input.ReadDouble(); in IBufferMessage.InternalMergeFrom()
|
D | TestMessagesProto3.cs | 625 public double OptionalDouble { property in ProtobufTestMessages.Proto3.TestAllTypesProto3 2308 …bufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptionalDouble, other.OptionalDouble)) r… in Equals() 2467 …if (OptionalDouble != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Get… in GetHashCode() 2670 if (OptionalDouble != 0D) { in WriteTo() 2672 output.WriteDouble(OptionalDouble); in WriteTo() 3023 if (OptionalDouble != 0D) { in IBufferMessage.InternalWriteTo() 3025 output.WriteDouble(OptionalDouble); in IBufferMessage.InternalWriteTo() 3365 if (OptionalDouble != 0D) { in CalculateSize() 3662 if (other.OptionalDouble != 0D) { in MergeFrom() 3663 OptionalDouble = other.OptionalDouble; in MergeFrom() [all …]
|
/external/golang-protobuf/internal/testprotos/nullable/ |
D | nullable.go | 21 …OptionalDouble float64 `protobuf:"fixed64,106,opt,name=optional_do… member 128 …OptionalDouble float64 `protobuf:"fixed64,106,opt,name=optional_do… member
|
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto3/ |
D | fields.pb.go | 78 …OptionalDouble float64 `protobuf:"fixed64,14,opt,name=optional_doub… member 229 return x.OptionalDouble
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | StreamsTest.java | 30 import java.util.OptionalDouble; 171 assertThat(stream(OptionalDouble.empty())).isEmpty(); in testStream_optionalDouble() 172 assertThat(stream(OptionalDouble.of(5.0))).containsExactly(5.0); in testStream_optionalDouble()
|
/external/golang-protobuf/internal/cmd/generate-corpus/ |
D | main.go | 40 OptionalDouble: proto.Float64(1012.5),
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ArbitraryInstances.java | 122 import java.util.OptionalDouble; 216 .put(OptionalDouble.class, OptionalDouble.empty())
|
D | FreshValueGenerator.java | 114 import java.util.OptionalDouble; 562 OptionalDouble generateOptionalDouble() { in generateOptionalDouble() 563 return OptionalDouble.of(generateDouble()); in generateOptionalDouble()
|
/external/golang-protobuf/internal/testprotos/test3/ |
D | test.pb.go | 158 …OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optio… member 477 if x != nil && x.OptionalDouble != nil { 478 return *x.OptionalDouble
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | ArbitraryInstancesTest.java | 105 import java.util.OptionalDouble; 174 assertEquals(OptionalDouble.empty(), ArbitraryInstances.get(OptionalDouble.class)); in testGet_primitives()
|
D | FreshValueGeneratorTest.java | 100 import java.util.OptionalDouble; 478 assertFreshInstance(new TypeToken<OptionalDouble>() {}); in testOptionalDouble()
|
/external/golang-protobuf/testing/protocmp/ |
D | reflect_test.go | 27 OptionalDouble: proto.Float64(64.64),
|
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto2/ |
D | fields.pb.go | 92 …OptionalDouble *float64 `protobuf:"fixed64,14,opt,name=optional_d… member 345 if x != nil && x.OptionalDouble != nil { 346 return *x.OptionalDouble
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 108 OptionalDouble = 23.5, in CreateFullTestAllTypesProto2()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 108 OptionalDouble = 23.5, in CreateFullTestAllTypesProto2()
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/ |
D | test.pb.go | 153 …OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=… member 350 return m.OptionalDouble
|