20 references to Result
Microsoft.ML.Core (20)
Utilities\DoubleParser.cs (20)
93var res = Parse(span, out value, flags); 94Contracts.Assert(res != Result.Empty || ((flags & OptionFlags.EmptyAsNaN) == 0 && value == 0) || Single.IsNaN(value)); 95return res <= Result.Empty; 103var res = Parse(span, out value, flags); 104Contracts.Assert(res != Result.Empty || ((flags & OptionFlags.EmptyAsNaN) == 0 && value == 0) || Double.IsNaN(value)); 105return res <= Result.Empty; 108public static Result Parse(ReadOnlySpan<char> span, out Single value, OptionFlags flags = OptionFlags.Default) 120return Result.Empty; 133return Result.Good; 138return Result.Good; 146return Result.Error; 153return Result.Extra; 157return Result.Good; 160public static Result Parse(ReadOnlySpan<char> span, out Double value, OptionFlags flags = OptionFlags.Default) 172return Result.Empty; 185return Result.Good; 190return Result.Good; 198return Result.Error; 205return Result.Extra; 209return Result.Good;