public BlockTransformer(JenkinsConfig config) : this() { _a = 0x9e3779b9; _b = 0x9e3779b9; _c = config.Seed; _bytesProcessed = 0; }
public JenkinsLookup2Function(JenkinsConfig config) { if (config is null) { throw new ArgumentNullException(nameof(config)); } _config = config.Clone(); }
public JenkinsLookup3Function(JenkinsConfig config) { if (config is null) { throw new ArgumentNullException(nameof(config)); } _config = config.Clone(); if (!_validHashSizes.Contains(_config.HashSizeInBits)) { throw new ArgumentOutOfRangeException($"{nameof(config)}.{nameof(config.HashSizeInBits)}", _config.HashSizeInBits, $"{nameof(config)}.{nameof(config.HashSizeInBits)} must be contained within JenkinsLookup3.ValidHashSizes."); } }
public static IJenkins Create(JenkinsTypes type, JenkinsConfig config) => Factory.Create(type, config);
public static IJenkins Lookup3Bit64(JenkinsConfig config = null) => Factory.Lookup3Bit64(config);
public static IStreamableJenkins Lookup2(JenkinsConfig config = null) => Factory.Lookup2(config);