Displaying 20 results from an estimated 3651 matches for "writers".
2007 Feb 10
2
[LLVMdev] Problems with both the 1.9 Release and the CVS on Cygwin
Hi,
I am back into working on LLVM now and am having problems with Cygwin builds.
Problems with both the 1.9 Release and the CVS on Cygwin...
LLVM CVS Release build :-
/usr/src/llvm/configure --prefix=/usr/llvm
make tools-only ENABLE_OPTIMIZED=1
make[3]: Entering directory `/usr/src/lib/Bytecode/Writer'
llvm[3]: Compiling SlotCalculator.cpp for Release build
llvm[3]: Compiling
2012 Mar 31
2
[PATCH v6] hivexml: Add byte run reporting functions
...e_t node_struct_length = hivex_node_struct_length (h, node);
+ if (errno) {
+ if (errno == EINVAL) {
+ fprintf (stderr, "node_byte_runs: Invoked on what does not seem to be a node (%zu).\n", node);
+ }
+ return -1;
+ }
+ /* A node has one byte run. */
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_runs"));
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_run"));
+ memset (buf, 0, 1+BYTE_RUN_BUF_LEN);
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%zu", node);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAS...
2011 Sep 17
3
[PATCH 1/1] hivexml: Base64-encode non-printable data
...XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST attr_name, BAD_CAST attr_data));
+ else if (strcmp (encoding_to_use, "base64") == 0) {
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST attr_encoding, BAD_CAST "base64"));
+ XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST attr_name));
+ XML_CHECK (xmlTextWriterWriteBase64, (writer, BAD_CAST attr_data, 0, strlen(attr_data)));
+ XML_CHECK (xmlTextWriterEndAttribute, (writer));
+ } else {
+ fprintf (stderr, "safe_print_string_attribute: Unexpected encoding to use (...
2011 Sep 02
1
[PATCH 6/7] hivexml: Report attributes in values instead of text.
...c80c..4789dbc 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -199,6 +199,7 @@ node_start (hive_h *h, void *writer_v, hive_node_h node, const char *name)
{
int64_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 (xmlTextWriterStartAttr...
2011 Dec 08
1
[hivex] [PATCH 8/8] hivexml: Add byte run reporting functions
...e_t node_struct_length = hivex_node_struct_length (h, node);
+ if (errno) {
+ if (errno == EINVAL) {
+ fprintf (stderr, "node_byte_runs: Invoked on what does not seem to be a node (%zu).\n", node);
+ }
+ return -1;
+ }
+ /* A node has one byte run. */
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_runs"));
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_run"));
+ memset (buf, 0, 1+BYTE_RUN_BUF_LEN);
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", node);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST...
2012 Feb 01
1
[PATCH] hivexml
...char *name)
> {
> int64_t last_modified;
> @@ -265,6 +282,20 @@ end_value (xmlTextWriterPtr writer)
> XML_CHECK (xmlTextWriterEndElement, (writer));
> }
>
> +static void
> +start_string(xmlTextWriterPtr writer, const char *encoding)
> +{
> + XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "string"));
> + if (encoding)
> + XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST
> "encoding", BAD_CAST encoding));
> +}
> +
> +static void
> +end_string(xmlTextWriterPtr writer)
> +{
> + XML_CHECK (xmlText...
2011 Dec 13
1
[hivex] [PATCH 1/1] hivexml: Change value type output to standard names
...r *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 (writer, key, value_type_windows_string (t), NULL);
XML_CHECK (xmlTextWriterStartAttribute, (writer, BAD_CAST "value"));
XML_CHECK (xmlTextWriterWriteString, (writer, BAD_CAST str));
XML_CHECK (xmlTextWriterEndAttribute, (writer));
@@ -308,7 +334,7 @@ value_multiple_strings (hive_h *h, void *writer_v, hive_node_h node,
const char *key...
2019 Jun 03
1
Re: [PATCH libnbd discussion only 4/5] api: Implement concurrent writer.
On 6/3/19 10:29 AM, Richard W.M. Jones wrote:
> ---
> docs/libnbd.pod | 73 +++++++++++++++++++++++++++++++++++++++++++++
> generator/generator | 52 +++++++++++++++++++++++++++-----
> lib/handle.c | 32 ++++++++++++++++++++
> lib/internal.h | 7 +++++
> lib/socket.c | 22 +++++++++++---
> podwrapper.pl.in | 3 +-
> 6 files changed, 177
2019 Jun 04
0
[PATCH libnbd v2 3/4] api: Implement concurrent writer.
Callers may now optionally set up a concurrent writer thread. The
outline of this idea is explained here:
https://www.redhat.com/archives/libguestfs/2019-June/msg00010.html
The change is quite small, but here are some points which are true but
may not be obvious:
* All writes return immediately with success (unless we run out of
memory), and writes never block.
* When going down the READY
2006 Sep 14
1
Possiible Bug ? indexWriter#doc_count counts deleted docs after #commit
I''m playing with "updating" docs in my index, and I think I''ve found bug
with IndexWriter counting deleted docs. Script and output follow:
=====
require ''rubygems''
require ''ferret''
p Ferret::VERSION
@doc = {:id => ''44'', :name => ''fred'', :email => ''abc at
2010 Jul 20
2
[LLVMdev] MC-JIT
New patch taking Eli's comments into account.
Olivier.
On Tue, Jul 20, 2010 at 11:09 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Tue, Jul 20, 2010 at 1:36 PM, Olivier Meurant
> <meurant.olivier at gmail.com> wrote:
>>> Seems reasonable, but I haven't looked at the code yet. I would
>>> suggest trying to split your work up into separate
2009 Jul 08
2
RuntimeError (JPEG marker not found!):
Hi,
while generating the PDF file , i am getting following error..
please help for me.
RuntimeError (JPEG marker not found!):
C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/
graphics/imageinfo.rb:176:in `
measure_JPEG''
C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/
graphics/imageinfo.rb:174:in `
loop''
2019 Apr 20
3
stats-writer error is back
Afer a reboot (and installation of postfix-3.4.5) I am getting the stat-writer permission denied error again.
from doveconf -n
service stats {
unix_listener stats-reader {
user = dovecot
}
unix_listener stats-writer {
user = dovecot
}
}
# ls -ls /var/run/dovecot/stats-writer
0 srw-rw---- 1 dovecot dovecot 0 Apr 20 04:34 /var/run/dovecot/stats-writer
Apr 20 04:45:00 mail
2017 Mar 29
2
[RFC] better link error messages
On 3/29/17 12:53 PM, Rui Ueyama via llvm-dev wrote:
> Put it all together, the following error messages should work for
> everybody. I'll create a patch to make this change and send it for
> review. Thank you guys for the inputs!
>
>
> Undefined symbol error:
>
> bin/ld.lld: error: undefined symbol:
>
2017 Mar 29
2
[RFC] better link error messages
I am late on the thread, but I just want to say that the new format
looks awesome!
Thanks,
Rafael
On 29 March 2017 at 15:18, Rui Ueyama via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> My bad. I intended this.
>
> Undefined symbol error:
>
> bin/ld.lld: error: undefined symbol:
> lld::elf::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0,
>
2019 Jun 04
2
Re: [PATCH libnbd v2 3/4] api: Implement concurrent writer.
There are several races / deadlocks which I've thought about. Let's
see if I can remember them all ...
(1) This I experienced: nbd_aio_get_fd deadlocks if there are
concurrent synchronous APIs going on. A typical case is where you set
up the concurrent writer thread before connecting, and then call a
synchronous connect function such as connect_tcp. The synchronous
function grabs
2011 Aug 31
1
[PATCH] hivex: Add byte runs for nodes and values
...e_t node_struct_length = hivex_node_struct_length (h, node);
+ if (errno) {
+ if (errno == EINVAL) {
+ fprintf (stderr, "node_byte_runs: Invoked on what does not seem to be a node (%zu).\n", node);
+ }
+ return -1;
+ }
+ /* A node has one byte run. */
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_runs"));
+ XML_CHECK (xmlTextWriterStartElement, (writer, BAD_CAST "byte_run"));
+ memset (buf, 0, 1+BYTE_RUN_BUF_LEN);
+ snprintf (buf, 1+BYTE_RUN_BUF_LEN, "%d", node);
+ XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST...
2010 Jul 20
0
[LLVMdev] MC-JIT
On Tue, Jul 20, 2010 at 1:36 PM, Olivier Meurant
<meurant.olivier at gmail.com> wrote:
>> Seems reasonable, but I haven't looked at the code yet. I would
>> suggest trying to split your work up into separate patches which
>> implement incremental pieces of functionality, then submitting them to
>> llvm-commits for review. That is much easier for us to deal with
2019 Jun 03
0
[PATCH libnbd discussion only 4/5] api: Implement concurrent writer.
---
docs/libnbd.pod | 73 +++++++++++++++++++++++++++++++++++++++++++++
generator/generator | 52 +++++++++++++++++++++++++++-----
lib/handle.c | 32 ++++++++++++++++++++
lib/internal.h | 7 +++++
lib/socket.c | 22 +++++++++++---
podwrapper.pl.in | 3 +-
6 files changed, 177 insertions(+), 12 deletions(-)
diff --git a/docs/libnbd.pod b/docs/libnbd.pod
index
2010 May 06
2
reading formatted txt file into a data frame
Dear all
Lets say I have a plain text file as follows:
> cat(c("[ID: 001 ] [Writer: Steven Moffat ] [Rating: 8.9 ] Doctor Who",
+ "[ID: 002 ] [Writer: Joss Whedon ] [Rating: 8.8 ] Buffy",
+ "[ID: 003 ] [Writer: J. Michael Straczynski ] [Rating: 7.4 ]
Babylon [5]"),
+ sep = "\n", file = "tmp.txt")
I would somehow like to read