1. 21 Dec, 2014 1 commit
    • Alon Diamant's avatar
      Following @mattsta's friendly review: · d74a5a08
      Alon Diamant authored
        1. memory leak in t_set.c has been fixed
        2. end-of-line spaces has been removed (from all over the place)
        3. for loops have been ordered up to match existing Redis style (less weird)
        4. comments format has been fixed (added * in the beggining of every comment line)
      d74a5a08
  2. 14 Dec, 2014 1 commit
    • Alon Diamant's avatar
      Added <count> parameter to SPOP: · 28802887
      Alon Diamant authored
      spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
      Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
      Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
      Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
      --
      Cleaned up code a bit to match with required Redis coding style
      28802887
  3. 07 Aug, 2014 1 commit
  4. 08 Nov, 2012 1 commit
  5. 14 Feb, 2012 2 commits
  6. 09 Mar, 2011 1 commit
  7. 28 Feb, 2011 1 commit
  8. 09 Dec, 2010 1 commit
  9. 26 Aug, 2010 3 commits