search for: last_modified

Displaying 20 results from an estimated 27 matches for "last_modified".

2011 Aug 10
1
[PATCH] Report last-modified time of hive root and nodes
...;size && \ + BITMAP_TST((h)->bitmap,(off))) + + /* Fields from the header, extracted from little-endianness hell. */ + size_t rootoffs; /* Root key offset (always an nk-block). */ + size_t endpages; /* Offset of end of pages. */ + char *last_modified; /* mtime of base block. */ + + /* For writing. */ + size_t endblocks; /* Offset to next block allocation (0 + if not allocated anything yet). */ +}; + typedef struct hive_h hive_h; /* Nodes and values. */ @@ -761,7 +801,7 @@ typedef stru...
2011 Aug 10
1
[Hivex][PATCH v2] Report last-modified time of hive root and nodes
...ve_node_h, hive_value_h, hive_type t, size_t len, const char *key, const char *value); int (*value_any) (hive_h *, void *opaque, hive_node_h, hive_value_h, hive_type t, size_t len, const char *key, const char *value); + int (*node_mtime) (hive_h *h, void *writer_v, hive_node_h node, const char *last_modified); }; #define HIVEX_VISIT_SKIP_BAD 1 @@ -1134,6 +1135,8 @@ all, set the function pointer to NULL. */ int (*value_any) (hive_h *, void *opaque, hive_node_h, hive_value_h, hive_type t, size_t len, const char *key, const char *value); + int (*node_mtime) (hive_h *h, void *write...
2011 Aug 13
2
[Hivex] [PATCH v3] Report last-modified time of hive root and nodes
...odified-time reporting has been essentially unused. These changes report the registry time by treating the time fields as Windows filetime fields stored in little-Endian (which means they can be treated as a single 64-bit little-Endian integer). This patch adds to the hivex ABI: * int64_t hivex_last_modified (hive_h *) * int64_t hivex_node_timestamp (hive_h *, hive_node_h) These two functions return the hive's last-modified time and a particular node's last-modified time, respectively. Credit to Richard Jones for the ABI suggestion, and for the tip on Microsoft's filetime time span. hiv...
2006 May 17
3
WebServices: execution expired
...f list news = ActionWebService::Client::Soap.new( NewsApi, "http://localhost:3000/news/news") rsp = news.list render_text rsp.to_s end end Strange, but I have successful log message: Web Service Response (0.024314): => [#<NewsTopic:0xb7612328 @attributes={"last_modified"=>nil, "title"=>nil, "id"=>nil, "contents"=>nil, "preview"=>nil, "sticky"=>nil}, @new_record=true>, #<NewsTopic:0xb7612314 @attributes={"last_modified"=>nil, "title"=>nil, "id"=>nil...
2011 Dec 13
1
[hivex] [PATCH 1/2] hivex: Expose hive major and minor version
...of the hive", + "\ +Return major version stored in the hive header, -1 on error."; + + "minor_version", (RInt32, [AHive]), + "return the minor version of the hive", + "\ +Return minor version stored in the hive header, -1 on error."; + "last_modified", (RInt64, [AHive]), "return the modification time from the header of the hive", "\ diff --git a/lib/hivex.c b/lib/hivex.c index bf1a860..455202f 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -64,7 +64,7 @@ struct ntreg_header { uint32_t sequence2; int64_t last_m...
2011 Aug 16
1
[PATCH] hivexml: Add root attribute to the root node
...StartElement, (writer, BAD_CAST "node")); XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "name", BAD_CAST name)); + if (node == hivex_root (h)) { + XML_CHECK (xmlTextWriterWriteAttribute, (writer, BAD_CAST "root", BAD_CAST "1")); + } + last_modified = hivex_node_timestamp (h, node); if (last_modified >= 0) { timebuf = filetime_to_8601 (last_modified); -- 1.7.6
2005 Sep 20
1
timer interrupts, virqs, irq balance questions
...stem_timestamp+offset is significantly behind the previous value of processed_system_time, and that the previous value was set by the OTHER vcpu. Timer ISR/0: Time went backwards: delta=-44611438 cpu_delta=15388562 shadow=69081255546 off=254172405 processed=69380039389 cpu_processed=69320039389 last_modified=CPU1, prev_st=69291796314, prev_offset=92519230 0: 69320039389 1: 69380000000 Timer ISR/0: Time went backwards: delta=-1374402 cpu_delta=528625598 shadow=69081255546 off=777409441 processed=69860039389 cpu_processed=69330039389 last_modified=CPU1, prev_st=69291796314, prev_offset=571453258 0: 69...
2007 Jul 29
1
Curious why this doesn't work. (has_many, belongs_to)
...son - Career League GM name: Stef belongs to Pool: RHP 07-08 Season - Career League GM name: Chris belongs to Pool: RHP 07-08 Season - Career League => nil >> Works nice! Inversely.. this doesn''t... >> pool = Pool.find_all => [#<Pool:0xb7022dc8 @attributes={"last_modified"=>nil, "id"=>"1", "salary_cap"=>"40000000", "pool_name"=>"RHP 07-08 Season - Career League", "created"=>nil}>] >> puts pool.gm NoMethodError: undefined method `gm'' for #<Array:0xb7022ee0&...
2010 Oct 04
4
http caching a dynamic page
Is it possible to take advantage of http caching/proxy caching with dynamic pages? i.e. pages with section/part that can change over time but certain part of the page remain the same. I would rather not keep re-rendering the static part but insure the dynamic part are rendered with fresh data. I am using memcached mostly as an object store that I can minimize db hits but I still am rendering a
2018 Feb 09
3
[PATCH] Add a cache for iconv_t handles to hive_t
...*filename, int flags) { @@ -164,11 +193,17 @@ hivex_open (const char *filename, int flags) goto error; } + for (int t=0; t<3; t++) { + pthread_mutex_init (&h->iconv_cache[t].mutex, NULL); + h->iconv_cache[t].handle = NULL; + } + /* Last modified time. */ h->last_modified = le64toh ((int64_t) h->hdr->last_modified); if (h->msglvl >= 2) { - char *name = _hivex_windows_utf16_to_utf8 (h->hdr->name, 64); + char *name = _hivex_recode (h, utf16le_to_utf8, + h->hdr->name, 64, NULL); fprintf (stderr,...
2007 Jun 19
1
Histograms with strings, grouped by repeat count (w/ data)
...ld just get past the initial learning curve. Thank you in advance, Matt Here's some real data, with the private info replaced :) d<-read.table(file="C:\\users\\trunnellm\\downloads\\statistics\\downloads.csv", sep=",", quote="\"", header=TRUE) filename,last_modified,email_addr,country_residence file1,3/4/2006 13:54,email1,Korea (South) file2,3/4/2006 14:33,email2,United States file2,3/4/2006 16:03,email2,United States file2,3/4/2006 16:17,email3,United States file2,3/4/2006 16:28,email3,United States file3,3/4/2006 19:13,email4,United States file2,3/4/2006 21:...
2011 Aug 11
2
[Hivex] [PATCH] Correct 32-bit to 64-bit call
--- generator/generator.ml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/generator/generator.ml b/generator/generator.ml index 31478cd..de911f1 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -1771,7 +1771,7 @@ static void raise_closed (const char *) Noreturn; pr " rv = copy_type_value (r, len, t);\n"; pr "
2018 Feb 09
0
Re: [PATCH] Add a cache for iconv_t handles to hive_t
...vex_open (const char *filename, int flags) > goto error; > } > > + for (int t=0; t<3; t++) { > + pthread_mutex_init (&h->iconv_cache[t].mutex, NULL); > + h->iconv_cache[t].handle = NULL; > + } > + > /* Last modified time. */ > h->last_modified = le64toh ((int64_t) h->hdr->last_modified); > > if (h->msglvl >= 2) { > - char *name = _hivex_windows_utf16_to_utf8 (h->hdr->name, 64); > + char *name = _hivex_recode (h, utf16le_to_utf8, > + h->hdr->name, 64, NULL);...
2006 May 28
1
ActiveRecord: FK constraints problem
...ger ); CREATE TABLE contents ( id serial NOT NULL, alias character varying(32) NOT NULL, name character varying(64) NOT NULL, title character varying(64) NOT NULL, keywords character varying(256), description character varying(512), contents character varying(2048), last_modified timestamp without time zone ); CREATE TABLE contents_sections ( section_id integer NOT NULL, content_id integer NOT NULL ); ALTER TABLE ONLY contents_sections ADD CONSTRAINT fk_contents_contents_sections FOREIGN KEY (content_id) REFERENCES contents(id); ALTER TABLE ONLY contents_sect...
2005 Aug 15
0
Last modification time
...TP-HEAD request i assume. We use Xapian for a (mostly) weekly updated newspaper and might soon create RDF/RSS feeds based on queries. Some of those pulling clients might be satisfied with a HEAD request ... But it's not too urgent, i either do the stat thing or subclass Database to implement a last_modified method. Cheers, RalfD > It probably > wouldn't be too hard to return a time_t for the last modification time. > > Cheers, > Olly
2011 Dec 13
1
[hivex] [PATCH 2/2] hivex: Expose embedded hive file name
...responsible for freeing returned string."; + "major_version", (RInt32, [AHive]), "return the major version of the hive", "\ diff --git a/lib/hivex.c b/lib/hivex.c index 455202f..11468f9 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -634,6 +634,12 @@ hivex_last_modified (hive_h *h) return timestamp_check (h, 0, h->last_modified); } +char * +hivex_name (hive_h *h) +{ + return (h && h->hdr) ? windows_utf16_to_utf8 (h->hdr->name, 64) : NULL; +} + int32_t hivex_major_version (hive_h *h) { diff --git a/xml/hivexml.c b/xml/hivexml.c index 3...
2018 Feb 09
2
[PATCH] Add a cache for iconv_t handles to hive_t
...t char *filename, int flags) { @@ -164,11 +192,17 @@ hivex_open (const char *filename, int flags) goto error; } + for (int t=0; t<3; t++) { + glthread_lock_init (&h->iconv_cache[t].mutex); + h->iconv_cache[t].handle = NULL; + } + /* Last modified time. */ h->last_modified = le64toh ((int64_t) h->hdr->last_modified); if (h->msglvl >= 2) { - char *name = _hivex_windows_utf16_to_utf8 (h->hdr->name, 64); + char *name = _hivex_recode (h, utf16le_to_utf8, + h->hdr->name, 64, NULL); fprintf (stderr,...
2009 Apr 01
2
hpricot won't scrape! (newb question)
....igvita.com/blog/") { |f| puts "Fetched document: #{f.base_uri}" puts "\t Content Type: #{f.content_type}\n" puts "\t Charset: #{f.charset}\n" puts "\t Content-Encoding: #{f.content_encoding}\n" puts "\t Last Modified: #{f.last_modified}\n\n" # Save the response body @response = f.read } # HPricot RDoc: http://code.whytheluckystiff.net/hpricot/ doc = Hpricot(@response) # Retrieve content puts (doc/"/html/body/div/div[5]/div/div[2]/div[2]/div[2]").to_html () rescue Exception =>...
2011 Sep 02
1
[PATCH 6/7] hivexml: Report attributes in values instead of text.
...++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/xml/hivexml.c b/xml/hivexml.c index f29c80c..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 (wri...
2012 Mar 31
2
[PATCH v6] hivexml: Add byte run reporting functions
...xmlTextWriterWriteAttribute, (writer, BAD_CAST "len", BAD_CAST buf)); + XML_CHECK (xmlTextWriterEndElement, (writer)); + XML_CHECK (xmlTextWriterEndElement, (writer)); + return 0; +} + static int 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")); @@ -235,7 +264,8 @@ node_start (hive_h *h, void *writer_v, hive_node_h node, const char *name) } } - return 0; +...