Search:

Type: Posts; User: Xpl0ReRChR

Search: Search took 0.01 seconds.

  1. It makes perfect sense, I should have tried using...

    It makes perfect sense, I should have tried using an example myself. Good point on the integer division!

    Thank you for taking the time!
  2. Thank you Dennis! SLOB_UNIT is defined as...

    Thank you Dennis! SLOB_UNIT is defined as sizeof(slob_t), which is a struct describing a block.

    I should have been more specific. What I meant to ask is, what is it that the formula represents?
  3. Question about something defined in slob.c

    #define SLOB_UNITS(size) (((size) + SLOB_UNIT - 1)/SLOB_UNIT)

    Could someone explain to me what this does? I would be really greatful! :)
Results 1 to 3 of 3