20 个仓库
Utilities for counting leading zeros and performing bitwise analysis on integers.
Distinct from Integer Arithmetic: Distinct from Integer Arithmetic: focuses on bit-level analysis rather than arithmetic operations.
Explore 20 awesome GitHub repositories matching software engineering & architecture · Integer Bit Analyzers. Refine with filters or upvote what's useful.
This project is a curated educational resource and solution repository for algorithmic challenges, specifically focused on LeetCode problems. It serves as a technical reference for common data structures and algorithmic patterns, providing verified code implementations across multiple programming languages alongside detailed logic and complexity analysis. The repository functions as a comprehensive study guide for competitive programming and technical interview preparation. It includes specialized learning tools such as an Anki flashcard dataset for spaced repetition and a browser extension t
The project calculates the quotient of two integers without using multiplication or modulo operators via bit-shifting logic.
This project is a comprehensive collection of common computer science algorithms and data structures implemented in Swift. It serves as an educational reference and library for studying computational complexity, algorithmic logic, and data structure engineering through practical code examples. The repository provides a wide suite of data structure implementations, including various types of linked lists, heaps, hash tables, and an extensive range of hierarchical trees such as Red-Black, B-Tree, and Splay trees. It also covers diverse sorting and searching techniques, from basic bubble sort to
Provides operations for moving bits in a set left or right by a specified number of positions.
This project is a comprehensive reference for algorithms and data structures used to solve complex computational problems in competitive programming. It serves as a technical resource for implementing advanced mathematical programming, computational geometry, and graph theory. The repository provides detailed implementation guides for diversifying algorithmic techniques, including top-down and bottom-up dynamic programming optimization, number theory, and linear algebra. It features specific guides for complex tasks such as constructing planar graphs, solving linear Diophantine equations, and
Provides techniques to determine if a specific bit is set by shifting the target bit to the unit place.
This project is a header-only C++ library designed for graphics mathematics, providing a comprehensive suite of vector, matrix, and quaternion types. It is built using template metaprogramming to generate mathematical primitives at compile time, eliminating the need for precompiled binary libraries and allowing for direct integration into existing build systems. The library is distinguished by its strict adherence to the OpenGL Shading Language specification, ensuring that mathematical results remain consistent across both CPU and GPU code. It provides specialized utilities for managing float
Provides bit-level analysis utilities for integer data manipulation.
Boost is a collection of portable, high-performance source libraries that extend the C++ standard library. It provides a wide range of reusable components, data structures, and algorithms designed to add capabilities to the base language across different platforms. The project is distinguished by its extensive focus on compile-time template metaprogramming and generic programming. It implements advanced architectural patterns such as policy-based design, concept-based type validation, and the use of SFINAE for conditional template resolution to minimize runtime overhead. The library covers a
Generates bit masks for bits or groups of bits using compile-time variables.
This project is a front-end interview study guide and a collection of structured notes designed for technical job preparation. It serves as a comprehensive reference for web technologies, common technical interview questions, and JavaScript algorithm implementation. The notebook distinguishes itself by integrating specialized guides for web performance optimization, browser API documentation, and JavaScript algorithm references. It provides a structured approach to solving coding challenges involving data structures like binary trees, linked lists, and array manipulation. The content covers
Provides an implementation for counting set bits and performing bitwise analysis on integers.
The Rust RFCs repository is the formal home for the Rust language evolution process, housing the structured design documents and community review mechanisms that govern changes to the Rust programming language, its compiler, and its standard library. It defines the complete lifecycle for proposing, discussing, and implementing substantial changes through RFC documents, from initial submission and community feedback through final comment periods and sub-team sign-offs. The repository codifies the governance and collaboration processes that shape Rust's development, including mechanisms for com
Defines the standard bit-level operations on integer types used throughout Rust's standard library.
This project is a comprehensive collection of C++ libraries and toolkits providing reference implementations for data structures, graph algorithms, and bitwise logic. It serves as a C++ algorithm reference containing over 180 solved coding problems and a specialized toolkit for competitive programming. The repository distinguishes itself through extensive low-level bit manipulation libraries for parity checks, endianness detection, and XOR-based logic. It also provides a wide array of reference solutions for complex algorithmic challenges involving backtracking, graph theory, and dynamic prog
Provides a comprehensive library of fundamental bitwise operations, masks, and shift-based primitives.
Magic Enum is a C++ library that provides compile-time reflection for enumerations, enabling conversion between enum values and their string names, iteration over enum members, and validation of enum values without relying on macros or external code generation. It uses template metaprogramming and constexpr functions to extract enum information directly from the compiler's internal representation, making the entire reflection process static and free of runtime overhead. The library distinguishes itself through its comprehensive set of compile-time enum utilities, including the ability to coun
Implements enum fusion by encoding two enum indices into a single integer for multi-level switches.
Trail of Bits flags when the values in a shift operation are reversed.
H3 is an open-source library that provides a hierarchical hexagonal grid system for geospatial indexing. It projects the Earth onto an icosahedron and tiles each face with hexagons to minimize distortion, then encodes each hexagon as a 64-bit integer that stores its resolution and position in the hierarchy. This integer encoding enables fast bitwise operations for grid navigation and spatial analysis. The library offers a comprehensive set of grid topology algorithms for computing neighbor relationships, distances, and paths between cells directly on the hexagonal grid without geographic coor
Represents each hexagon as a 64-bit integer encoding its resolution and position for fast bitwise operations.
Alda is a text-based music programming language and command-line tool for composing, playing, and live-coding musical scores. It functions as a MIDI composition engine that renders plain-text scores into audio output, and as a live coding environment where code entered in a read-eval-print loop produces real-time playback without restarting the interpreter. The system distinguishes itself through an event-driven playback engine that schedules timed note events, an instrument-attribute inheritance model that cascades properties like volume and tempo from global defaults to individual parts, an
Changes note pitch by shifting octaves up or down using persistent angle bracket operators.
Algodeck is an open-source collection of flash cards designed for reviewing algorithms, data structures, and system design concepts, specifically curated for technical interview preparation. The project organizes knowledge into atomic question-and-answer pairs and incorporates spaced repetition scheduling to optimize long-term memory retention. The flash card catalog covers a broad range of computer science topics, including classic sorting algorithms like quicksort and mergesort, data structure operations for arrays, trees, heaps, tries, and graphs, as well as bit manipulation techniques for
Ships a collection of bit manipulation functions using masks and shifts for interview preparation.
Rhai is an embedded scripting engine and dynamically typed language designed for integration into Rust applications. It functions as an abstract syntax tree compiler and native interop layer, allowing developers to map Rust types and functions into a scripting environment for bidirectional communication. The project serves as a framework for creating customizable domain-specific languages. It allows for the definition of custom operators, syntax, and restricted execution environments, enabling the creation of specialized languages with tailored functional sets. The engine covers a broad rang
Enables the extraction and modification of individual bits within an integer using intuitive indexing syntax.
Unity 是一个用于 C 语言的轻量级单元测试框架,提供了验证代码正确性所需的断言库、测试运行器和报告机制。它作为在 C 环境中组织和执行单元测试的核心测试基础设施。 该框架专为系统级和嵌入式软件验证而设计,具有验证固件和硬件驱动程序的特定功能。它专注于内存完整性和指针有效性,允许验证指针状态并检查原始内存块。 该工具集涵盖了广泛的比较类型,包括针对整数、位模式和浮点值的数值验证。它还提供用于验证以空字符结尾的字符串、数组内容和布尔逻辑的实用程序,同时支持自定义失败消息以在调试期间提供上下文。
Checks if specific bits or masked ranges in an integer are set to verify hardware flags.
me_cleaner 是一组专门的工具,用于解析闪存描述符、剥离固件二进制大对象(blob)以及配置用于管理和执行引擎的硬件级关机。它提供了分析 BIOS 内存转储、提取特定固件区域以及删除非必要二进制模块以减少系统交互面的实用程序。 该项目专门针对 Intel 管理引擎(Management Engine)和可信执行引擎(Trusted Execution Engine)固件映像的清理。这涉及删除二进制 blob 并修改配置位,以强制这些子系统在硬件初始化过程后自动关闭。 该工具集涵盖了固件修改功能,例如从工厂分区中删除压缩块、删除非基础分区以及重新计算分区表以保持映像完整性。
Sets specific hardware flags to force the firmware to shut down after the initial boot process.
js-base64 是一个用于在 Base64 格式与 JavaScript 字符串或字节数组之间进行编码和解码的 JavaScript 库。它提供了将二进制数据转换为 Base64 字符串,并将这些字符串转换回原始文本或原始字节格式的实用工具。 该项目包含一个 Base64 字符串验证器,用于验证序列是否遵循正确的格式、字符和填充。它还支持通过替换会导致 URI 编码错误的字符来创建 URI 安全的 Base64 字符串,并允许移除填充。 该库提供了一个原型扩展实用工具,可直接向标准 JavaScript 字符串和数组对象添加编码和解码方法。
Implements low-level bit shifting to convert three bytes of binary data into four Base64 characters.
Open Location Code 是一个地理编码库和工具集,用于将全球经纬度坐标转换为标准化的、人类可读的字母数字数字地址,反之亦然。它作为一个离线位置编码系统,为地球上的任何位置生成唯一标识符,专门为缺乏正式街道地址或邮政系统的地区提供数字地址。 该系统作为无状态算法过程运行,允许在无需网络访问、互联网连接或外部数据库查找表的情况下对坐标进行编码和解码。它利用基于参考的缩短方式,通过省略基于附近参考点的公共前缀来减少地理标识符的长度。 该库包括用于双向地理编码转换和代码操作的实用工具。这些能力涵盖了位置字符串的验证、从缩短版本中恢复完整代码,以及将坐标转换为字母数字字符的分层网格。
Uses bit-shifting and binary logic to convert floating point coordinates into discrete grid cell identifiers.
Magspoof 是一个硬件卡模拟器和支付终端欺骗工具,旨在无线传输模拟的磁条数据。它作为一个磁条模拟器,产生电磁场来模仿物理卡的模式,从而在没有物理卡的情况下触发标准读卡器。 该项目包含一个服务代码修改器,能够更改磁信号中的特定位。这允许系统禁用支付终端上的芯片和 PIN 要求,强制从芯片回退到刷卡。 该系统支持跨轨道 1、2 和 3 的多轨道数据传输,并利用波形合成将数字数据转换为电磁脉冲。这些功能用于支付终端测试以及关于酒店房卡和门禁系统的访问控制研究。
Modifies specific data bits in the emulated signal to trick payment terminals into ignoring chip requirements.
This repository is a curated guide and implementation library of coding patterns used to solve data structures and algorithms problems. It serves as a technical interview study resource, providing a comprehensive set of strategies and computational logic examples for optimizing time and space complexity. The project focuses on standardized algorithmic patterns, including sliding windows, two pointers, and dynamic programming. It features specific implementations for a wide range of challenges, such as LeetCode problem solutions and specialized techniques like cyclic sort and bitwise XOR opera
Implements binary complement calculation using XOR operations and bitmasks.