Top "Uint" questions

is a type of variable and is used to store the equivalent of a mathematical non-negative integer

Arithmetic operation resulted in an overflow in unsafe C#

Background We've been using some code copied verbatim from Joe Duffy's "Concurrent Programming on Windows" (page 149) in production for over …

c# overflow stack-overflow unsafe uint
Variable length encoding of an integer

Whats the best way of doing variable length encoding of an unsigned integer value in C# ? "The actual intent is …

c# variables uint
C++11 uint types vs u_int

I just stumbled upon the type u_int8_t because it did not compile in Windows+MinGW (but compiled fine …

c++11 uint cstdint
can I assume that sizeof(uint8_t) = 1?

I have a program that uses dynamic allocation for a uint8_t array; can I safely assume that its length …

c sizeof uint8t uint
How to generate a random number in solidity?

I have a couple of keccaks, which could be reduced to one, if I would find a cheap way to …

string split solidity uint
unsigned int (c++) vs uint (c#)

Following is the c# code: static void Main(string[] args) { uint y = 12; int x = -2; if (x > y) Console.…

c# c++ int unsigned uint
Convert Uint8ClampedArray to regular array

How can I convert a Uint8ClampedArray (like one used for storing HTML5 canvas image data) to a regular array, …

javascript arrays typed-arrays uint
Cast a 10 bit unsigned integer to a signed integer in python

I have a list of numbers in the range 0-1023. I would like to convert them to integers such that 1023 …

python int uint