36 references to CompressionKind
Microsoft.ML.Data (36)
DataLoadSave\Binary\BinaryLoader.cs (20)
83public readonly CompressionKind Compression; 140CompressionKind compression, int rowsPerBlock, long lookupOffset, long metadataTocOffset) 343CompressionKind compression = (CompressionKind)reader.ReadByte(); 344bool knowCompression = Enum.IsDefined(typeof(CompressionKind), compression); 459public readonly CompressionKind Compression; 481CompressionKind compression, long blockOffset, long blockSize) 497CompressionKind compression, long blockOffset, long blockSize) 503ectx.Assert(Enum.IsDefined(typeof(CompressionKind), compression)); 526CompressionKind compression, long blockOffset, long blockSize) 530Contracts.Assert((codec == null) || !Enum.IsDefined(typeof(CompressionKind), compression)); 544CompressionKind compression, long blockOffset, long blockSize) 556CompressionKind compression, long blockOffset, long blockSize) 572CompressionKind compression, long blockOffset, long blockSize) 595CompressionKind compression, long blockOffset, long blockSize) 1109CompressionKind compression = (CompressionKind)_reader.ReadByte(); 1110bool knowCompression = Enum.IsDefined(typeof(CompressionKind), compression); 1693private readonly CompressionKind _compression; 1779Ectx.Assert(Enum.IsDefined(typeof(CompressionKind), entry.Compression));
DataLoadSave\Binary\BinarySaver.cs (9)
37public CompressionKind Compression = CompressionKind.Default; 58private readonly CompressionKind _compression; 274var metadataInfos = new List<Tuple<string, IValueCodec, CompressionKind>>(); 299metadataInfos.Add(Tuple.Create(metaColumn.Name, codec, (CompressionKind)args[5])); 348private delegate IValueCodec WriteMetadataCoreDelegate(Stream stream, DataViewSchema schema, int col, string kind, DataViewType type, out CompressionKind compression); 350private IValueCodec WriteMetadataCore<T>(Stream stream, DataViewSchema schema, int col, string kind, DataViewType type, out CompressionKind compressionKind) 356compressionKind = default(CompressionKind); 381compressionKind = CompressionKind.None;
DataLoadSave\Binary\CompressionKind.cs (6)
34public static Stream CompressStream(this CompressionKind compression, Stream stream) 38case CompressionKind.None: 40case CompressionKind.Deflate: 53public static Stream DecompressStream(this CompressionKind compression, Stream stream) 57case CompressionKind.None: 59case CompressionKind.Deflate:
DataView\Transposer.cs (1)
124args.Compression = CompressionKind.Default;