From 7452d0525ecfc12c11fe005c31b089a5b4d7a102 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 15 Mar 2018 23:29:08 -0700 Subject: 4228 --- html/069hash.cc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/069hash.cc.html') diff --git a/html/069hash.cc.html b/html/069hash.cc.html index cb047f3a..06aa1a3e 100644 --- a/html/069hash.cc.html +++ b/html/069hash.cc.html @@ -120,7 +120,7 @@ if ('onhashchange' in window) { 56 size_t hash_mu_address(size_t h, reagent& r) { 57 if (r.value == 0) return 0; 58 trace("mem") << "location " << r.value << " is " << no_scientific(get_or_insert(Memory, r.value)) << end(); - 59 r.set_value(get_or_insert(Memory, r.value)); + 59 r.set_value(get_or_insert(Memory, r.value)); 60 drop_from_type(r, "address"); 61 return hash(h, r); 62 } @@ -138,10 +138,10 @@ if ('onhashchange' in window) { 74 int size = get_or_insert(Memory, r.value); 75 reagent/*copy*/ elem = r; 76 delete elem.type; - 77 elem.type = copy_array_element(r.type); + 77 elem.type = copy_array_element(r.type); 78 for (int i=0, address = r.value+1; i < size; ++i, address += size_of(elem)) { 79 reagent/*copy*/ tmp = elem; - 80 tmp.set_value(address); + 80 tmp.set_value(address); 81 h = hash(h, tmp); 82 //? cerr << i << " (" << address << "): " << h << '\n'; 83 } @@ -155,7 +155,7 @@ if ('onhashchange' in window) { 91 for (int i = 0; i < SIZE(info.elements); ++i) { 92 reagent/*copy*/ element = element_type(r.type, i); 93 if (has_property(element, "ignore-for-hash")) continue; - 94 element.set_value(address+offset); + 94 element.set_value(address+offset); 95 h = hash(h, element); 96 //? cerr << i << ": " << h << '\n'; 97 offset += size_of(info.elements.at(i).type); @@ -171,7 +171,7 @@ if ('onhashchange' in window) { 107 // todo: move this error to container definition time 108 if (has_property(variant, "ignore-for-hash")) 109 raise << get(Type, type->value).name << ": /ignore-for-hash won't work in exclusive containers\n" << end(); -110 variant.set_value(r.value + /*skip tag*/1); +110 variant.set_value(r.value + /*skip tag*/1); 111 h = hash(h, variant); 112 return h; 113 } -- cgit 1.4.1-2-gfad0