search for: nr_recode_types

Displaying 3 results from an estimated 3 matches for "nr_recode_types".

2018 Feb 10
0
Re: [PATCH] Add a cache for iconv_t handles to hive_t
...; instead of glthread_lock_{init,lock,unlock} as described in lock.h seems > correct, though. I have pushed that change. > > > I wonder if there's a way we can avoid hard-coding ‘4’ here, which > > AIUI is the size of the enum type. Maybe adding an extra enum case > > ‘nr_recode_types’? > > Sure, done. Great, thanks. I'm going to do a 1.3.15 release soonish. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Suppor...
2018 Feb 09
2
[PATCH] Add a cache for iconv_t handles to hive_t
It was brought to my attention that dumping a registry hive causes a lot of time spent in disk I/O activity because iconv_open() and iconv_close() are called for every key. Every iconv_open() call causes /usr/lib/.../gconv/$ENCODING.so to be opened and mapped. The iconv_t handles are now cached in the hive_h struct; they are opened on-demand and re-used. On my ~10 year old Lenovo T60, I have
2018 Jul 23
3
[hivex PATCH] Re-allocating unused blocks before assigning new blocks
Hello Richard As discussed in the IRC channel, when merging a moderately large reg file (~35MB) to a hiv file (~118 MB); hivex generates a huge hiv file (~580 MB). These changes address that by creating a list of unallocated blocks and reassigning unused blocks. I used https://github.com/msuhanov/regf/blob/master/Windows%20registry%20file%20format%20specification.md as a reference for the