Top "Bitmask" questions

Bitmask is a technique used to isolate specific bits in a byte in order to work only on the desired ones.

SELECT users from MySQL database by privileges bitmask?

I have users table and want to SELECT some rows by bitmask criteria. I'll try to explain my problem with …

php mysql select bitmask
Correct usage of bitmask?

heyhey, just have a question about bitmasks. I think I know now what they are and where they can be …

java bit-manipulation bitwise-operators bit bitmask
SQL Server: varbinary or int to store a bit mask?

Is there any advantage of using int vs varbinary for storing bit masks in terms of performance or flexibility. For …

sql sql-server database-design bitmask
Using SQL to determine cidr value of a subnet mask

I'd like to find a way to do a SQL query that will calculate the cidr (bit representation) of a …

sql subnet bitmask cidr
Using sigaction(), c

I was doing a little reading about sigaction() (sources are from my course notes) and I'm not sure I understand …

c unix signals bitmask systems-programming
Bitmask in PHP for settings?

Bits and bitmask are something I have been struggling to understand for a while, but I would like to learn …

php bitmask
What are the rules for bitmasks? Like 0xFF vs. 0xFC

Im working on a game that creates Procedurally generated dungeons, I found an example that uses bit masking to retrieve …

java bit-manipulation bit bitmask
Is there any difference between integer and bit(n) data types for a bitmask?

I am working with a table in a PostgreSQL database that has several boolean columns that determine some state (e.…

postgresql sqldatatypes bitmask postgresql-9.0
Using Layers and Bitmask with Raycast in Unity

Unity's Raycast functions has a parameter you could use to raycast to a particular GameObject. You can also use that …

c# unity3d raycasting bitmask
Put a 4 Byte Integer into the first 4 char elements of vector

I have a vector<unsigned char> and want to put a 4 byte Integer into the first 4 elements. Is …

c++ vector integer bitmask