search for: start_value

Displaying 14 results from an estimated 14 matches for "start_value".

2011 Dec 13
1
[hivex] [PATCH 1/1] hivexml: Change value type output to standard names
...turn "REG_RESOURCE_LIST"; break; + case 9: return "REG_FULL_RESOURCE_DESCRIPTOR"; break; + case 10: return "REG_RESOURCE_REQUIREMENTS_LIST"; break; + case 11: return "REG_QWORD"; break; + default: return "unknown"; break; + } +} + static void start_value (xmlTextWriterPtr writer, const char *key, const char *type, const char *encoding) @@ -294,7 +320,7 @@ value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value, type = "unknown"; } - start_value (writer, key, type, NULL); + start_value (write...
2011 Sep 02
1
[PATCH 6/7] hivexml: Report attributes in values instead of text.
..._t last_modified; char *timebuf; + int ret = 0; xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v; XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "node")); @@ -278,7 +279,9 @@ value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value, } start_value (writer, key, type, NULL); - XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST str)); + XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value")); + XML_CHECK (xmlTextWriterWriteString, (writer, str)); + XML_CHECK (xmlTextWriterEndAttribute, (writer)); end_value (wri...
2011 Sep 17
3
[PATCH 1/1] hivexml: Base64-encode non-printable data
...) { XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "root", BAD_CAST "1")); @@ -227,7 +277,7 @@ node_start (hive_h *h, void *writer_v, hive_node_h node, const char *name) } } - return 0; + return ret; } static int @@ -242,13 +292,16 @@ static void start_value (xmlTextWriterPtr writer, const char *key, const char *type, const char *encoding) { + int ret = 0; XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "value")); XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "type", BAD_CAST type)); if (...
2012 Mar 31
2
[PATCH v6] hivexml: Add byte run reporting functions
...value); end_value (writer); - return 0; + return ret; } static int @@ -307,6 +380,7 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node, const char *key, char **argv) { xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v; + int ret = 0; start_value (writer, key, "string-list", NULL); size_t i; @@ -316,8 +390,9 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node, XML_CHECK (xmlTextWriterEndElement, (writer)); } + ret = value_byte_runs (h, writer_v, value); end_value (writer); - return 0; + retu...
2011 Dec 08
1
[hivex] [PATCH 8/8] hivexml: Add byte run reporting functions
...value); end_value (writer); - return 0; + return ret; } static int @@ -308,6 +380,7 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node, const char *key, char **argv) { xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v; + int ret = 0; start_value (writer, key, "string-list", NULL); size_t i; @@ -317,8 +390,9 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node, XML_CHECK (xmlTextWriterEndElement, (writer)); } + ret = value_byte_runs (h, writer_v, value); end_value (writer); - return 0; + retu...
2019 Apr 04
5
[RFC] Changes to llvm.experimental.vector.reduce intrinsics
...ause for fmul this is the start value of the reduction, rather than a value to which the fmul reduction is accumulated into. [Option A] Always using the start value operand in the reduction (https://reviews.llvm.org/D60261) declare float @llvm.experimental.vector.reduce.v2.fadd.f32.v4f32(float %start_value, <4 x float> %vec) This means that if the start value is 'undef', the result will be undef and all code creating such a reduction will need to ensure it has a sensible start value (e.g. 0.0 for fadd, 1.0 for fmul). When using 'fast' or ‘reassoc’ on the call it will be impleme...
2012 Feb 01
1
[PATCH] hivexml
...ic int > value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value, > hive_type t, size_t len, const char *key, const char *str) > @@ -292,9 +323,14 @@ value_string (hive_h *h, void *writer_v, > type = "unknown"; > } > > - start_value (writer, key, type, NULL); > + int validXML = isValidXMLString(str); > + start_value (writer, key, type, validXML ? NULL : "base64"); > XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value")); > - XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CA...
2019 Apr 05
4
[RFC] Changes to llvm.experimental.vector.reduce intrinsics
...;> value to which the fmul reduction is accumulated into. >> >> [Option A] Always using the start value operand in the reduction >> (https://reviews.llvm.org/D60261) >> >>   declare float >> @llvm.experimental.vector.reduce.v2.fadd.f32.v4f32(float >> %start_value, <4 x float> %vec) >> >> This means that if the start value is 'undef', the result will be >> undef and all code creating such a reduction will need to ensure it >> has a sensible start value (e.g. 0.0 for fadd, 1.0 for fmul). When >> using 'fast...
2011 Aug 31
1
[PATCH] hivex: Add byte runs for nodes and values
...const char *str) { xmlTextWriterPtr writer = (xmlTextWriterPtr) writer_v; const char *type; + int ret = 0; switch (t) { case hive_t_string: type = "string"; break; @@ -278,9 +348,12 @@ value_string (hive_h *h, void *writer_v, hive_node_h node, hive_value_h value, } start_value (writer, key, type, NULL); - XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST str)); + XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value")); + XML_CHECK (xmlTextWriterWriteString, (writer, str)); + XML_CHECK (xmlTextWriterEndAttribute, (writer)); + ret = value_by...
2019 Apr 10
2
[RFC] Changes to llvm.experimental.vector.reduce intrinsics
...uroLLVM. There is a BoF at 2pm today on LLVM-VP. > >>>> >>>> [Option A] Always using the start value operand in the reduction (https://reviews.llvm.org/D60261) >>>> >>>> declare float @llvm.experimental.vector.reduce.v2.fadd.f32.v4f32(float %start_value, <4 x float> %vec) >>>> >>>> This means that if the start value is 'undef', the result will be undef and all code creating such a reduction will need to ensure it has a sensible start value (e.g. 0.0 for fadd, 1.0 for fmul). When using 'fast' or ‘reas...
2019 May 16
4
[RFC] Changes to llvm.experimental.vector.reduce intrinsics
...on LLVM-VP. >>> >>>>>> >>>>>> [Option A] Always using the start value operand in the reduction (https://reviews.llvm.org/D60261) >>>>>> >>>>>> declare float @llvm.experimental.vector.reduce.v2.fadd.f32.v4f32(float %start_value, <4 x float> %vec) >>>>>> >>>>>> This means that if the start value is 'undef', the result will be undef and all code creating such a reduction will need to ensure it has a sensible start value (e.g. 0.0 for fadd, 1.0 for fmul). When using 'fas...
2006 Oct 31
5
mongrel parser for server response
...ode = (digit){3} >mark %http_status_code ; Http_status_text = any* >mark %http_status_text ; Request_Line = (HTTP_Version " " Http_status_code " " Http_status_text CRLF) ; field_name = (token -- ":")+ >start_field %write_field; field_value = any* >start_value %write_value; message_header = field_name ":" " "* field_value :> CRLF; Request = Request_Line (message_header)* ( CRLF @done); Chris
2006 Oct 11
7
Mongrel HTTP Header Problem
Hi, I''ve recently been trying to setup Mongrel behind Pound so that I can do mutual SSL authentication. I''ve had a few problems with Pound (documented at [1]), but now have it working correctly. However, I think there is a problem with Mongrel and how it deals with the headers Pound adds to the HTTP header block. One of the extra headers Pound adds is
2009 Aug 25
28
Anything but Aptana
Not trying to get into a "What''s a good IDE" here, BUT....On Windows....RadRails never cut it. Under Aptana, it''s a terrible joke, and I''m sick of losing so much time waiting not only for this thing to initialize, but the hanging and crashing I go through is killing me. Please, someone....point me to a decent, lightweight IDE. All i want is syntax coloring.