Provides classes that define older non-generic collections of objects, such as lists, queues, hash tables and dictionaries. Developers should prefer the generic collections in the System.Collections package. Commonly Used Types: System.Collections.ArrayList System.Collections.Hashtable System.Collections.CollectionBase System.Collections.ReadOnlyCollectionBase System.Collections.Stack System.Collections.SortedList System.Collections.DictionaryBase System.Collections.Queue System.Collections.Comparer System.Collections.CaseInsensitiveComparer When using NuGet 3.x this package requires at least version 3.4.
==CSharpTest.Net.Collections== * BPlusTree - a fairly full featured IDictionary backed by a B+Tree on disk. * BTreeDictionary - a fully in-memory IDictionary implemented by a B+Tree. * BTreeList - an in-memory IList using a B+Tree for storage and access. * LurchTable - Least Used Recently Concurrent Hash Table, LinkedHashMap but thread-safe. * MergeSort - Provides a memory-efficient sort for arrays. * OrderedEnumeration & OrderedKeyValuePairs - Ordered enum of large volumes of key-values. * OrdinalList - A simple byte[] based bit-mask collection supporting set operations.
ActiveSharp works using a unique combination of runtime identification of fields that are passed "by ref", and runtime MSIL inspection (to see which properties use those fields). The MSIL inspection is done only once, then cached. The by-ref field lookup is done on every call, but it's very quick (basically just an integer subtraction and a hash table lookup).
jshashtable is a JavaScript implementation of a hash table. It creates a single constructor function called Hashtable in the global scope.
Persistent Hash Table using Esent for .NET
CRC implemenations. CRC name of catalogue(112) are supported. Fat-Table are supported for speed up. Crc3, Crc4, Crc5, Crc6, Crc7, Crc8, Crc10, Crc11, Crc12, Crc13, Crc14, Crc15, Crc16, Crc17, Crc21, Crc24, Crc30, Crc31, Crc32, Crc40, Crc64, Crc82 and Custom width and parameters are supported. Crc.Create("crc32"); Crc.Create(CrcName.CRC40_GSM); Crc.CreateBy("CRC-217/CUSTOM", 217, poly, init, xorout, true, true, table);
Fuaran.Core.Column.Ops — a columnar op-algebra over Fuaran.Core.Column's Table (SetCell / SetColumn / InsertColumn / RemoveColumn / AppendRows / ApplyTransform) with a total apply / canApply, a partial invert (undo/redo), a structural Diff, a canonical wire codec, and a Fuaran.Core.OpStream StreamWitness — so table edits become an append-only, hash-chained, replayable, tamper-evident stream (the columnar analogue of the tree op-stream). No base type, no new witness field (the op DU is self-contained over Table; OpStream stays generic over its (apply, encode, decode) witness). FSharp.Core only, Fable-clean.
A high performance hash collection for use in a distributed hash table
A single-module library with a hashtable that keeps a weak pointer to each key's data and uses a finalizer to detect when the data is no longer referenced (by any non-weak pointers).
The spine-avatar command for .spineavatar files: inspect a package, validate it (with the shipping profile: real posters, no source/), pack it with the format's defaults, computed capabilities, rendered posters and a fresh hash table, strip source/, render posters and state and expression sheets, and report on several packages at once.
Implementation of a lock-free dictionary on .Net This fork contain the following changes: - Non-snapshotting Keys and Values properties (Azure Gem) - Attempt at reducing GC pressure (Azure Gem, TODO: Measure effectiveness, seems to be minimal-to-nonexistent-to-imaginary, YMMV) - NonBlockingHashset wrapper (Azure Gem, TODO: Implement a proper one instead of a wrapper) - Capacity getter property (Azure Gem) - Capacity is not doubled on construction (Azure Gem) - Clear with capacity (Azure Gem) - EstimatedCount getter property (Azure Gem) - Removal of the hash mixer (Idea from https://github.com/VSadov/NonBlocking/issues/20#issuecomment-1545057207) - Rename everything from "Concurrent" to "Nonblocking" (Azure Gem) Some changes are specific to my use case. Included types: === NonBlocking.NonBlockingDictionary Lock-free, wait-free implementation of a dictionary. - has the same API as System.Collections.Concurrent.ConcurrentDictionary. - No locks are taken during any operation including Get, Add, Remove, internal resizes etc... - While multiple threads accessing NonBlocking dictionary will help each other in operations such as table resizing, there is no dependency on such behavior. If any thread get unscheduled or delayed for whatever reason, other threads will be able to make progress independently. - NonBlocking dictionary scales linearly with the number of active threads if hardware permits. On most operations NonBlocking dictionary is faster than Concurrent, especially in write-heavy scenarios. Core algorithms are based on NonBlockingHashMap, written and released to the public domain by Dr. Cliff Click. A good overview could be found here: https://www.youtube.com/watch?v=HJ-719EGIts === NonBlocking.NonBlockingHashSet Lock-free, wait-free implementation of a hashset based on NonBlockingDictionary. - No locks are taken during any operation including Get, Add, Remove, internal resizes etc... - While multiple threads accessing NonBlocking dictionary will help each other in operations such as table resizing, there is no dependency on such behavior. If any thread get unscheduled or delayed for whatever reason, other threads will be able to make progress independently. - NonBlocking dictionary scales linearly with the number of active threads if hardware permits. === Counter32 === Counter64 Low-overhead scalable counters. === Disclaimer I, Azure Gem, do not intend to maintain this fork.
Core OpStream server engine. Provides OT and CRDT convergence algorithms (TextOT, RichText, JSON CRDT, List CRDT, Table, Tree, Form), document session management, consistent-hash document routing, awareness/presence, undo/redo, and snapshot policies. All subsystems are interface-driven and DI-friendly.
A library of .NET extension methods for working with arrays, hash tables, dictionaries and collections.
Fuaran.Compute.ColumnOps — a columnar op-algebra over Fuaran.Core.Column's Table (SetCell / SetColumn / InsertColumn / RemoveColumn / AppendRows / ApplyTransform) with a total apply / canApply, a partial invert (undo/redo), a structural Diff, a canonical wire codec, and a Fuaran.Core.OpStream StreamWitness — so table edits become an append-only, hash-chained, replayable, tamper-evident stream (the columnar analogue of the tree op-stream). No base type, no new witness field (the op DU is self-contained over Table; OpStream stays generic over its (apply, encode, decode) witness). FSharp.Core only, Fable-clean.
RuleWright JSON-to-domain mapping, structural schema validation with JSON pointer errors, and canonical rule hashing. JSON parsing is abstracted behind IRuleJsonReader; no JSON library dependency.
PasswordHasherLibrary is a comprehensive, high-security password hashing solution for .NET applications, designed to safeguard user credentials with advanced cryptographic techniques. Utilizing SHA512, custom salts, and an additional pepper value, this library ensures your passwords are protected against brute-force and rainbow table attacks. With features like asynchronous hashing for performance optimization, built-in verification methods to streamline authentication, and a time-constant comparison function to prevent timing attacks, PasswordHasherLibrary delivers a robust, easy-to-integrate approach to password security.
MurmurHash generates fast, non-cryptographic hashes using the MurmurHash3 algorithm. Ideal for hash tables, data partitioning, bloom filters, and checksums where cryptographic security isn't needed.
A .NET implementation of Krapivin's elastic hashing hash table with MurmurHash3 from MurmurHash.Net.
Tamper-evident, zero-trust audit logging for Entity Framework Core. Every change is sealed into a per-table HMAC-SHA256 hash chain in the same transaction, with a signed head and anchors outside the database, so manipulation, even by database administrators, is cryptographically detectable. GDPR/KVKK redaction without breaking the chain, reasons and request metadata, incremental and offline verification, history and time travel, OpenTelemetry.
Commonly used codes in Asp.net Core Mvc Projects in the form of tools
Behavior Map is a simple state machine or state manager. Using Hash Table-like data structure to improve performance. And Behavior Map stores state(event) and behavior, for executing behavior during that state. Behavior Map does not make a huge difference from if statements. However, it can be more clean and reusable state management.
Reads and writes the SqlArchive format: a manifest carrying a full schema snapshot and a per-table content hash, phased SQL, and one JSONL file per table. The engine behind exporting a SQL Server database to a readable archive, restoring it as a migration, and verifying the two match.
Zero-allocation, hardware-accelerated storage engine primitives engineered for modern Log-Structured Merge-Tree (LSM-Tree) architectures, embedded key-value stores, and high-throughput transactional databases. Provides the foundational low-level building blocks for the Kdouja LSM-Tree Engine: • Write-Ahead Logging (WAL): Monotonically increasing atomic sequence ordering, forward-only buffered streaming, and hardware-accelerated Castagnoli CRC32-C with frame masking. • Immutable Sorted String Tables (SSTables): Kirsch-Mitzenmacher double-hashing Bloom Filters (XxHash64), RocksDB/LevelDB-compatible prefix-shortened bytewise key comparators, and stack-allocated binary span formatters. • MVCC Snapshot Isolation: Lock-free snapshot visibility pinning and compaction garbage-collection pruning guards. • Compact Variable-Length Encoding: Zero-allocation LEB128 VarInts and ZigZag signed 32/64-bit integer codecs with canonical overlong validation. • High-Throughput Storage Security: Key-cached AEAD ciphers (AES-256-GCM & ChaCha20-Poly1305), HKDF key derivation, and GCRA virtual-time compaction rate limiting.
High-performance native collections for .NET: Cuckoo hash table, perfect hash table, and van Emde Boas tree.
Universal hash migrator for Masterly.Hash: verify bcrypt, ASP.NET Core Identity (v2/v3), Django PBKDF2, phpass (WordPress/phpBB), unsalted MD5/SHA digests and external Argon2 PHC hashes, upgrade them to Argon2id on login, onion-wrap weak hashes offline, and audit a password table.
Seed an EF Core database from JSON, CSV and Excel (.xlsx) files: one file or sheet per table, insert order by foreign keys, safe to re-run, typo checks, value transforms (e.g. password hashing), PostgreSQL identity reset. Runs via UseSeeding/UseAsyncSeeding on Migrate, EnsureCreated and dotnet ef database update.