An error occurred fetching the project authors.
  1. 08 Dec, 2016 1 commit
  2. 18 Jan, 2016 1 commit
  3. 08 Jan, 2016 1 commit
  4. 24 Aug, 2015 1 commit
    • Brenden Blanco's avatar
      Fix map.clear() usage for array type maps · 8e40c235
      Brenden Blanco authored
      Calling delete on an array type map entry does not have an effect.
      Instead, the entry needs to be zeroed out, since the array slot always
      exists. To avoid unnecessary calls to update(), only call update() when
      the map type is array-like. The type was not exposed to python up until
      now, so add it.
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      8e40c235
  5. 12 Aug, 2015 1 commit
  6. 11 Aug, 2015 1 commit
  7. 09 Aug, 2015 1 commit
    • Brenden Blanco's avatar
      Add update_table API: accepts sscanf style strings and populates a map · 985adf61
      Brenden Blanco authored
      This is the culmination of the previous patches. It adds an api that can
      input map data in a string format, but validating the numbers and
      locations of data fields. The use case is for fuse file input/output. A
      printf api may follow.
      
      Take the table with key/leaf of:
        struct Key { int a; int b; };
        struct Leaf { int a; int b; int c; struct SubLeaf { int x; int y; } s; };
      
      One would input to this table using:
        update_table(table_name, "{1 2}", "{1 2 -3 {9 0xa}}");
      
      The implementation uses a JITed function for each unique type, that is
      invoked to run sscanf on behalf of the caller. The input must have the
      exact right number of arguments. Bit fields are supported, but the
      caller must be aware of the collapse of those bitfields into an aligned
      field, as well as endianness.
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      985adf61
  8. 08 Aug, 2015 1 commit
  9. 07 Aug, 2015 2 commits
  10. 03 Aug, 2015 3 commits
  11. 05 Jun, 2015 1 commit
  12. 02 May, 2015 1 commit
  13. 26 Apr, 2015 1 commit