8 references to Trim
Microsoft.ML.Data (4)
Transforms\Hashing.cs (4)
614=> value.IsEmpty ? 0 : (Hashing.MurmurHash(seed, value.Span.Trim(' ')) & mask) + 1; 618=> value.IsEmpty ? 0 : (Hashing.MurmurHashV2(seed, value.Span.Trim(' ')) & mask) + 1; 628hash = Hashing.MurmurHashV2(hash, value.Span.Trim(' ')); 1548return (int)Hashing.MurmurHash(_seed, obj.Span.Trim(' ')) + 1;
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
917stopword = stopword.Trim(' ');
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\W3CPropagator.cs (1)
705public static ReadOnlySpan<char> TrimSpaceOnly(ReadOnlySpan<char> span) => span.Trim(Space);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (1)
529ReadOnlySpan<char> value = envVar.AsSpan().Trim(' ');
System.Private.Xml (1)
System\Xml\Xsl\XPath\XPathCompileException.cs (1)
88if (queryString == null || queryString.AsSpan().Trim(' ').IsEmpty)