Displaying 6 results from an estimated 6 matches for "root_node".
2006 Aug 18
10
TreeCtrl update
...reeItemId.
The TreeCtrl files were changed so much that I am just uploading the
whole files instead of the diffs.
traverse_tree(tree_ctrl,tree_ctrl.get_root_item) do |node_id,cookie|
puts "Name: #{tree_ctrl.get_item_text(node_id)}\t\tCookie:
#{cookie}"
end
def traverse_tree(tree_ctrl,root_node,cookie=0,&block)
if cookie == 0
ret = tree_ctrl.get_first_child(root_node)
else
ret = tree_ctrl.get_next_child(root_node,cookie)
end
if ret[0].is_ok
if block_given?
yield(ret[0],ret[1])
end
traverse_tree(tree_ctrl,ret[0],0,&block)
end
ret_sib = tree_...
2009 Nov 12
9
uninitialized constant XML::Document
Hi All,
I have installed "libxml-ruby" gem on my ruby instllation. while trying
to create xml document with ruby progam in Rad Rails am getting error
like "uninitialized constant XML::Document (NameError)"
do i need to config any thing else in environment.rb file
Thanks in advance
Chinna.
--
Posted via http://www.ruby-forum.com/.
2016 Apr 05
0
[PATCH 3/7] customize: add support for pvvxsvc
...rstboot_script);
-
- (* Open the SYSTEM hive. *)
- let systemroot = g#inspect_get_windows_systemroot root in
- let filename = sprintf "%s/system32/config/SYSTEM" systemroot in
- let filename = g#case_sensitive_path filename in
- g#hivex_open ~write:true filename;
-
- let root_node = g#hivex_root () in
-
- (* Find the 'Current' ControlSet. *)
- let current_cs =
- let select = g#hivex_node_get_child root_node "Select" in
- let valueh = g#hivex_node_get_value select "Current" in
- let value = int_of_le32 (g#hivex_value_value valu...
2017 Feb 18
11
[PATCH 0/8] Miscellaneous cleanups to Windows registry code.
A very miscellaneous set of cleanups to how we handle the Windows
registry in virt-v2v, firstboot, and inspection code. This should all
be straightforward non-controversial refactoring. Some highlights:
- Add a new mllib Registry module containing various utility
functions that are currently scattered all around.
- Only compute the software/system hive paths once during inspection,
and
2012 Oct 04
3
[PATCH] btrfs ulist use rbtree instead
...&& (ref_node = ulist_next(refs, &ref_uiter))) {
ret = btrfs_find_all_roots(trans, fs_info, ref_node->val,
tree_mod_seq_elem.seq, &roots);
if (ret)
break;
- ULIST_ITER_INIT(&root_uiter);
+ ULIST_ITER_INIT(roots, &root_uiter);
while (!ret && (root_node = ulist_next(roots, &root_uiter))) {
pr_debug("root %llu references leaf %llu, data list "
"%#lx\n", root_node->val, ref_node->val,
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index b650155..a0aad87 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup....
2016 Apr 05
22
[PATCH 0/7] Add support for SUSE virtio windows drivers
Hi there,
SUSE ships Virtual Machine Driver Pack for the virtio windows drivers. Get v2v
and customize to discover them and use them if available.
Cédric Bosdonnat (7):
v2v: check next free oem%d.inf in /Windows/Inf
v2v: extract controller offset discovery as a function
customize: add support for pvvxsvc
v2v: extract reusable parts of viostor regedits
v2v: adapt the subkey in Enum