:computer: A curated list of awesome bitwise operations and tricks
bit-manipulationNote: Some of the code here is old and was written when I was learning C++. It might be possible that code is not safe or making wrong assumptions. Please use with caution. Pull requests are always welcome. Include contains single header implementation of data structures and some algorithms.
algorithm cpp interview-questions interview-practice data-structures datastructures c-plus-plus bit-manipulation tree leetcode-solutions leetcode string-manipulationAlgo Deck is an open-source collection of 200+ algorithmic flash cards. It helps you preparing and succeeding in your algorithm & data structure interview. The code examples are in Java.
tree algorithm linked-list stack queue math algorithms graph array recursion bit-manipulation data-structures complexity sorting-algorithms heap interview-practice dynamic-programming hashtable greedy-algorithmsFor a Swift 3.x compatible version, check out release 2.0.5 or the swift-3 branch. If you want to install Bitter manually just include all the Swift files in Sources/Bitter in your project or load it as a git submodule.
bitset bit-manipulation bitwise-operatorsThis is Henry S. Warren's 'Aha!' superoptimiser tool with a couple of mods make it more appropriate for targeting ARM and Thumb code. e.g. It knows about the BIC and RSB instructions. It also has various rejiggery of source the exact nature of which escapes me at the moment. The original source is available on the 'distrib' branch.
optimization-tools aha bit-manipulation tool optimizationbitbuf is a fast C API designed to help make the creation and analysis of binary data as simple and natural as possible. bitbuf structures can be constructed from integers, strings, or files. They can also be sliced, appended, reversed, inserted and so on with simple functions. They can also be searched, replaced, read from, and navigated with ease.
bit-manipulation bit-twiddling bit-array bit-algorithmsDeepmage is a terminal-based hex editor for non-octet-oriented data. Its goal is to easily allow you to operate at the level of individual bits and n-bit words. This is the functionality I missed in most of the free hex editors, which were obviously made with 8-bit bytes in mind. Of course 8-bit bytes are good enough for most users, but people who do a lot of security research and/or reversing might know of a few frustrating situations in which the assumption that everything divides neatly into octets was proven false. For me, it was first with baseband (7-bit packed GSM alphabet) and with codecs (variable-length bitfields). Deepmage is currently in the alpha version. The code needs some refactoring, there's not real documentation and few comments and it works really slow if your terminal windows is big - but the basic functionality is there.
hex-editor bit-manipulation bitstreamPure-Rust traits and utilities for constant-time cryptographic implementations. This crate represents a “best-effort” attempt, since side-channels are ultimately a property of a deployed cryptographic system including the hardware it runs on, not just of software.
rust-traits bit-manipulation constant-time cryptographytake bytes out of things easily ✨🍪
bit-manipulation byte-manipulationInformally, an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output. An algorithm is thus a sequence of computational steps that transform the input into the output. To the extent possible under law, Carlos Abraham has waived all copyright and related or neighboring rights to this work.
algorithms allalgorithms greedy-algorithm selection-algorithm bit-manipulation sort game-theory numerical-analysis clustering sorting-algorithms cpp
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.