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.
هذا المشروع عبارة عن مجموعة شاملة من مكتبات وأدوات C++ توفر تطبيقات مرجعية لهياكل البيانات، وخوارزميات الرسوم البيانية، والمنطق الثنائي (bitwise logic). يعمل كمرجع لخوارزميات C++ يحتوي على أكثر من 180 مسألة برمجية محلولة ومجموعة أدوات متخصصة للبرمجة التنافسية. يتميز المستودع بمكتبات واسعة النطاق لمعالجة البتات منخفضة المستوى لفحوصات التكافؤ، واكتشاف ترتيب البايتات (endianness)، والمنطق القائم على XOR. كما يوفر مجموعة واسعة من الحلول المرجعية للتحديات الخوارزمية المعقدة التي تتضمن التراجع (backtracking)، ونظرية الرسوم البيانية، والبرمجة الديناميكية. تغطي مساحة القدرات منظمات البيانات الخطية والهرمية الأساسية، بما في ذلك القوائم المرتبطة، والمكدسات، والطوابير، وأشجار البحث الثنائية. يتضمن مجموعة كاملة من خوارزميات الرسوم البيانية للبحث عن المسارات والأشجار الممتدة، وطرق متنوعة للفرز والبحث، وتحويلات المصفوفات، وأدوات معالجة النصوص. بالإضافة إلى ذلك، يغطي الدوال الحسابية الرياضية، وضغط البيانات بدون فقدان، وشفرات التشفير الأساسية.
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 هو محرك برمجة نصية مضمن ولغة ذات كتابة ديناميكية مصممة للدمج في تطبيقات Rust. يعمل كمترجم لشجرة بناء الجملة المجردة (AST) وطبقة تداخل أصلية، مما يسمح للمطورين بربط أنواع ووظائف Rust ببيئة برمجة نصية للتواصل ثنائي الاتجاه. يعمل المشروع كإطار عمل لإنشاء لغات خاصة بالمجال (DSL) قابلة للتخصيص. يسمح بتعريف عوامل تشغيل مخصصة، وبناء جملة، وبيئات تنفيذ مقيدة، مما يتيح إنشاء لغات متخصصة ذات مجموعات وظيفية مصممة خصيصاً. يغطي المحرك مجموعة واسعة من القدرات بما في ذلك الحماية (Sandboxing) المحدودة الموارد للتنفيذ الآمن، وتنظيم الكود المعياري، ومعالجة البيانات الشاملة للأنواع الرقمية والنصية والثنائية. كما يوفر أدوات لمعالجة AST، وتسلسل حالة التنفيذ، وقابلية المراقبة في وقت التشغيل من خلال فحص مكدس الاستدعاءات وواجهات التصحيح. تم تصميم المحرك للنشر عبر المنصات على أي وحدة معالجة مركزية أو نظام تشغيل مدعوم من المترجم الأصلي.
Enables the extraction and modification of individual bits within an integer using intuitive indexing syntax.
Unity هو إطار عمل لاختبار الوحدات خفيف الوزن لـ C، يوفر مكتبة التأكيد، ومشغل الاختبار، وآليات التقارير المطلوبة للتحقق من صحة الكود. يعمل كبنية تحتية أساسية للاختبار لتنظيم وتنفيذ اختبارات الوحدات في بيئات C. تم تصميم إطار العمل للتحقق من البرمجيات على مستوى النظام والمضمنة، مع قدرات محددة للتحقق من البرامج الثابتة (Firmware) وتعريفات الأجهزة. يركز على سلامة الذاكرة وصحة المؤشرات، مما يسمح بالتحقق من حالات المؤشر وفحص كتل الذاكرة الخام. تغطي مجموعة الأدوات مجموعة واسعة من أنواع المقارنة، بما في ذلك التحقق الرقمي للأعداد الصحيحة، وأنماط البت، وقيم الفاصلة العائمة. كما توفر أدوات مساعدة للتحقق من السلاسل المنتهية بـ null، ومحتويات المصفوفة، والمنطق المنطقي، مع دعم رسائل فشل مخصصة لتوفير السياق أثناء تصحيح الأخطاء.
Checks if specific bits or masked ranges in an integer are set to verify hardware flags.
me_cleaner هي مجموعة من الأدوات المتخصصة لتحليل واصفات الفلاش، وتجريد كتل البرامج الثابتة، وتكوين عمليات الإغلاق على مستوى الأجهزة لمحركات الإدارة والتنفيذ. توفر أدوات لتحليل تفريغ ذاكرة BIOS، واستخراج مناطق برامج ثابتة محددة، وإزالة الكتل الثنائية غير الأساسية لتقليل سطح تفاعل النظام. يستهدف المشروع بشكل خاص تنظيف صور البرامج الثابتة لـ Intel Management Engine وTrusted Execution Engine. يتضمن ذلك إزالة الكتل الثنائية وتعديل بتات التكوين لإجبار هذه الأنظمة الفرعية على الإغلاق تلقائياً بعد عملية تهيئة الأجهزة. تغطي مجموعة الأدوات إمكانيات تعديل البرامج الثابتة مثل حذف الكتل المضغوطة من أقسام المصنع، وإزالة الأقسام غير الأساسية، وإعادة حساب جداول الأقسام للحفاظ على سلامة الصورة.
Sets specific hardware flags to force the firmware to shut down after the initial boot process.
js-base64 هي مكتبة JavaScript لترميز وفك ترميز البيانات بين تنسيق Base64 وسلاسل JavaScript أو مصفوفات البايت. توفر أدوات لتحويل البيانات الثنائية إلى سلاسل Base64 وتحويل تلك السلاسل مرة أخرى إلى نصها الأصلي أو تنسيق البايت الخام. يتضمن المشروع مدققاً لسلسلة Base64 للتحقق مما إذا كان التسلسل يتبع التنسيق الصحيح والحروف والحشو (padding). كما يدعم إنشاء سلاسل Base64 آمنة لـ URI عن طريق استبدال الحروف التي قد تسبب أخطاء ترميز في URIs ويسمح بإزالة الحشو. توفر المكتبة أداة امتداد للنموذج (prototype extension) تضيف طرق الترميز وفك الترميز مباشرة إلى كائنات السلسلة والمصفوفة القياسية في JavaScript.
Implements low-level bit shifting to convert three bytes of binary data into four Base64 characters.
Open Location Code is a geocoding library and toolset used to transform global latitude and longitude coordinates into standardized, human-readable alphanumeric digital addresses and back again. It functions as an offline location coding system that generates unique identifiers for any location on Earth, specifically providing digital addresses for areas where formal street addresses or postal systems are missing. The system operates as a stateless algorithmic process, allowing coordinates to be encoded and decoded without the need for network access, internet connections, or external databas
Uses bit-shifting and binary logic to convert floating point coordinates into discrete grid cell identifiers.
Magspoof هي أداة لمحاكاة البطاقات وأداة لخداع محطات الدفع مصممة لنقل بيانات الشريط المغناطيسي المحاكى لاسلكياً. تعمل كمحاكي للشريط المغناطيسي يولد مجالات كهرومغناطيسية لتقليد أنماط بيانات البطاقات الفعلية لتشغيل قارئات البطاقات القياسية دون بطاقة فعلية. يتضمن المشروع معدلاً لرمز الخدمة قادراً على تغيير بتات محددة داخل الإشارات المغناطيسية. وهذا يسمح للنظام بتعطيل متطلبات الشريحة ورقم التعريف الشخصي (chip-and-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.