Searched refs:OptionalValue (Results 1 – 6 of 6) sorted by relevance
42 OptionalValue<T> operator[](int feature_idx) const {50 return OptionalValue<T>();52 return OptionalValue<T>(value_iter->second);91 OptionalValue<T> operator[](int feature_idx) const {93 return OptionalValue<T>();96 return OptionalValue<T>(single_value_);
27 class OptionalValue {29 OptionalValue() : value_(), has_value_(false) {} in OptionalValue() function30 explicit OptionalValue(T value) : value_(value), has_value_(true) {} in OptionalValue() function
1112 if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute() local1113 Value = *OptionalValue; in cloneScalarAttribute()1114 else if (auto OptionalValue = Val.getAsSignedConstant()) in cloneScalarAttribute() local1115 Value = *OptionalValue; in cloneScalarAttribute()1116 else if (auto OptionalValue = Val.getAsSectionOffset()) in cloneScalarAttribute() local1117 Value = *OptionalValue; in cloneScalarAttribute()1141 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute() local1142 Value = *OptionalValue; in cloneScalarAttribute()
832 OptionalValue = other.optionalValue_ != null ? other.OptionalValue.Clone() : null; in TestAllTypes()1737 public global::Google.Protobuf.WellKnownTypes.Value OptionalValue { property in Conformance.TestAllTypes2040 if (!object.Equals(OptionalValue, other.OptionalValue)) return false; in Equals()2154 if (optionalValue_ != null) hash ^= OptionalValue.GetHashCode(); in GetHashCode()2384 output.WriteMessage(OptionalValue); in WriteTo()2614 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue); in CalculateSize()2868 OptionalValue.MergeFrom(other.OptionalValue); in MergeFrom()
456 …OptionalValue *_struct.Value `protobuf:"bytes,306,opt,name=optional_value,json=op… member1166 return m.OptionalValue
2529 else if (auto OptionalValue = Val.getAsUnsignedConstant()) in cloneScalarAttribute() local2530 Value = *OptionalValue; in cloneScalarAttribute()