#!/usr/bin/python # # Copyright (C) 2006 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. XML_ENTRY_1 = """ http://www.google.com/test/id/url Testing 2000 series laptop
A Testing Laptop
Computer Laptop testing laptop products
""" TEST_BASE_ENTRY = """ Testing 2000 series laptop
A Testing Laptop
yes Computer Laptop testing laptop products
""" BIG_FEED = """ dive into mark A <em>lot</em> of effort went into making this effortless 2005-07-31T12:29:29Z tag:example.org,2003:3 Copyright (c) 2003, Mark Pilgrim Example Toolkit Atom draft-07 snapshot tag:example.org,2003:3.2397 2005-07-31T12:29:29Z 2003-12-13T08:29:29-04:00 Mark Pilgrim http://example.org/ f8dy@example.com Sam Ruby Joe Gregorio

[Update: The Atom draft is finished.]

""" SMALL_FEED = """ Example Feed 2003-12-13T18:30:02Z John Doe urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6 Atom-Powered Robots Run Amok urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a 2003-12-13T18:30:02Z Some text. """ GBASE_FEED = """ http://www.google.com/base/feeds/snippets 2007-02-08T23:18:21.935Z Items matching query: digital camera GoogleBase 2171885 1 25 http://www.google.com/base/feeds/snippets/13246453826751927533 2007-02-08T13:23:27.000Z 2007-02-08T16:40:57.000Z Digital Camera Battery Notebook Computer 12v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting Cables Notebook Computer 12v DC Power Cable - 5.5mm x 2.1mm (Center +) This connection cable will allow any Digital Pursuits battery pack to power portable computers that operate with 12v power and have a 2.1mm power connector (center +) Digital ... B&H Photo-Video anon-szot0wdsq0at@base.google.com PayPal & Bill Me Later credit available online only. new 420 9th Ave. 10001 305668-REG Products Digital Camera Battery 2007-03-10T13:23:27.000Z 1172711 34.95 usd Digital Photography>Camera Connecting Cables EN DCB5092 US 1.0 http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305668.jpg&dhm=ffffffff84c9a95e&size=6 http://www.google.com/base/feeds/snippets/10145771037331858608 2007-02-08T13:23:27.000Z 2007-02-08T16:40:57.000Z Digital Camera Battery Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting Cables Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) This connection cable will allow any Digital Pursuits battery pack to power any electronic device that operates with 5v power and has a 2.5mm power connector (center +) Digital ... B&H Photo-Video anon-szot0wdsq0at@base.google.com 420 9th Ave. 10001 new 0.18 US Digital Photography>Camera Connecting Cables PayPal & Bill Me Later credit available online only. 305656-REG http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305656.jpg&dhm=7315bdc8&size=6 DCB5108 838098005108 34.95 usd EN Digital Camera Battery 1172711 Products 2007-03-10T13:23:27.000Z http://www.google.com/base/feeds/snippets/3128608193804768644 2007-02-08T02:21:27.000Z 2007-02-08T15:40:13.000Z Digital Camera Battery Power Cable for Kodak 645 Pro-Back ProBack & DCS-300 Series Camera Connecting Cables Camera Connection Cable - to Power Kodak 645 Pro-Back DCS-300 Series Digital Cameras This connection cable will allow any Digital Pursuits battery pack to power the following digital cameras: Kodak DCS Pro Back 645 DCS-300 series Digital Photography ... B&H Photo-Video anon-szot0wdsq0at@base.google.com 0.3 DCB6006 http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305685.jpg&dhm=72f0ca0a&size=6 420 9th Ave. 10001 PayPal & Bill Me Later credit available online only. Products US digital kodak camera Digital Camera Battery 2007-03-10T02:21:27.000Z EN new 34.95 usd 1172711 Digital Photography>Camera Connecting Cables 305685-REG """ EXTENSION_TREE = """ John Doe Bar """ TEST_AUTHOR = """ John Doe johndoes@someemailadress.com http://www.google.com """ TEST_LINK = """ """ TEST_GBASE_ATTRIBUTE = """ Digital Camera Battery """ CALENDAR_FEED = """ http://www.google.com/calendar/feeds/default 2007-03-20T22:48:57.833Z GData Ops Demo's Calendar List GData Ops Demo gdata.ops.demo@gmail.com Google Calendar 1 http://www.google.com/calendar/feeds/default/gdata.ops.demo%40gmail.com 2007-03-20T22:48:57.837Z 2007-03-20T22:48:52.000Z GData Ops Demo GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com 2007-03-20T22:48:57.837Z 2007-03-20T22:48:53.000Z GData Ops Demo Secondary Calendar GData Ops Demo Secondary Calendar """ CALENDAR_FULL_EVENT_FEED = """ http://www.google.com/calendar/feeds/default/private/full 2007-03-20T21:29:57.000Z GData Ops Demo GData Ops Demo GData Ops Demo gdata.ops.demo@gmail.com Google Calendar 10 1 25 http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr3100 2007-03-20T21:29:52.000Z 2007-03-20T21:29:57.000Z test deleted GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo0 2007-03-20T21:26:04.000Z 2007-03-20T21:28:46.000Z Afternoon at Dolores Park with Kim GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos 2007-03-20T21:28:37.000Z 2007-03-20T21:28:37.000Z Team meeting GData Ops Demo gdata.ops.demo@gmail.com DTSTART;TZID=America/Los_Angeles:20070323T090000 DTEND;TZID=America/Los_Angeles:20070323T100000 RRULE:FREQ=WEEKLY;BYDAY=FR;UNTIL=20070817T160000Z;WKST=SU BEGIN:VTIMEZONE TZID:America/Los_Angeles X-LIC-LOCATION:America/Los_Angeles BEGIN:STANDARD TZOFFSETFROM:-0700 TZOFFSETTO:-0800 TZNAME:PST DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0800 TZOFFSETTO:-0700 TZNAME:PDT DTSTART:19700405T020000 RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU END:DAYLIGHT END:VTIMEZONE http://www.google.com/calendar/feeds/default/private/full/st4vk9kiffs6rasrl32e4a7alo 2007-03-20T21:25:46.000Z 2007-03-20T21:25:46.000Z Movie with Kim and danah GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo 2007-03-20T21:24:43.000Z 2007-03-20T21:25:08.000Z Dinner with Kim and Sarah GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g 2007-03-20T21:24:19.000Z 2007-03-20T21:25:05.000Z Dinner with Jane and John GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc 2007-03-20T21:24:33.000Z 2007-03-20T21:24:33.000Z Tennis with Elizabeth GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c 2007-03-20T21:24:00.000Z 2007-03-20T21:24:00.000Z Lunch with Jenn GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco 2007-03-20T07:50:02.000Z 2007-03-20T20:39:26.000Z test entry test desc GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg 2007-02-14T23:23:37.000Z 2007-02-14T23:25:30.000Z test GData Ops Demo gdata.ops.demo@gmail.com http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc 2007-07-16T22:13:28.000Z 2007-07-16T22:13:29.000Z GData Ops Demo gdata.ops.demo@gmail.com """ CALENDAR_BATCH_REQUEST = """ 1 Event inserted via batch 2 http://www.google.com/calendar/feeds/default/private/full/glcs0kv2qqa0gf52qi1jo018gc Event queried via batch 3 http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs Event updated via batch 4 http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc Event deleted via batch """ CALENDAR_BATCH_RESPONSE = """ http://www.google.com/calendar/feeds/default/private/full 2007-09-21T23:01:00.380Z Batch Feed 1 http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ek Event inserted via batch 2 http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gc Event queried via batch 3 http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qs Event updated via batch 3 4 http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqc Event deleted via batch Deleted """ GBASE_ATTRIBUTE_FEED = """ http://www.google.com/base/feeds/attributes 2006-11-01T20:35:59.578Z Attribute histogram for query: [item type:jobs] GoogleBase 16 1 16 http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D 2006-11-01T20:36:00.100Z job industry(text) Attribute"job industry" of type text. it internet healthcare information technology accounting clerical and administrative other sales and sales management information systems engineering and architecture sales """ GBASE_ATTRIBUTE_ENTRY = """ http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D 2006-11-01T20:36:00.100Z job industry(text) Attribute"job industry" of type text. it internet healthcare information technology accounting clerical and administrative other sales and sales management information systems engineering and architecture sales """ GBASE_LOCALES_FEED = """ http://www.google.com/base/feeds/locales/ 2006-06-13T18:11:40.120Z Locales Google Inc. base@google.com GoogleBase 3 25 http://www.google.com/base/feeds/locales/en_US 2006-03-27T22:27:36.658Z en_US en_US http://www.google.com/base/feeds/locales/en_GB 2006-06-13T18:14:18.601Z en_GB en_GB http://www.google.com/base/feeds/locales/de_DE 2006-06-13T18:14:18.601Z de_DE de_DE """ GBASE_STRING_ENCODING_ENTRY = """ http://www.google.com/base/feeds/snippets/17495780256183230088 2007-12-09T03:13:07.000Z 2008-01-07T03:26:46.000Z Digital Camera Cord Fits SONY Cybershot DSC-R1 S40 SONY \xC2\xB7 Cybershot Digital Camera Usb Cable DESCRIPTION This is a 2.5 USB 2.0 A to Mini B (5 Pin) high quality digital camera cable used for connecting your Sony Digital Cameras and Camcoders. Backward Compatible with USB 2.0, 1.0 and 1.1. Fully ... eBay Products EN US 0.99 usd http://thumbs.ebaystatic.com/pict/270195049057_1.jpg Cameras & Photo>Digital Camera Accessories>Cables Cords & Connectors>USB Cables>For Other Brands 11729 270195049057 2008-02-06T03:26:46Z """ RECURRENCE_EXCEPTION_ENTRY = """ http://www.google.com/calendar/feeds/default/private/composite/i7lgfj69mjqjgnodklif3vbm7g 2007-04-05T21:51:49.000Z 2007-04-05T21:51:49.000Z testDavid gdata ops gdata.ops.test@gmail.com DTSTART;TZID=America/Anchorage:20070403T100000 DTEND;TZID=America/Anchorage:20070403T110000 RRULE:FREQ=DAILY;UNTIL=20070408T180000Z;WKST=SU EXDATE;TZID=America/Anchorage:20070407T100000 EXDATE;TZID=America/Anchorage:20070405T100000 EXDATE;TZID=America/Anchorage:20070404T100000 BEGIN:VTIMEZONE TZID:America/Anchorage X-LIC-LOCATION:America/Anchorage BEGIN:STANDARD TZOFFSETFROM:-0800 TZOFFSETTO:-0900 TZNAME:AKST DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0900 TZOFFSETTO:-0800 TZNAME:AKDT DTSTART:19700405T020000 RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU END:DAYLIGHT END:VTIMEZONE i7lgfj69mjqjgnodklif3vbm7g_20070407T180000Z 2007-04-05T21:51:49.000Z 2007-04-05T21:52:58.000Z testDavid gdata ops gdata.ops.test@gmail.com 2007-04-05T21:54:09.285Z Comments for: testDavid """ NICK_ENTRY = """ https://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo 1970-01-01T00:00:00.000Z Foo """ NICK_FEED = """ http://apps-apis.google.com/a/feeds/example.com/nickname/2.0 1970-01-01T00:00:00.000Z Nicknames for user SusanJones 1 2 http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo Foo http://apps-apis.google.com/a/feeds/example.com/nickname/2.0/suse suse """ USER_ENTRY = """ https://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser 1970-01-01T00:00:00.000Z TestUser """ USER_FEED = """ http://apps-apis.google.com/a/feeds/example.com/user/2.0 1970-01-01T00:00:00.000Z Users """ EMAIL_LIST_ENTRY = """ https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/testlist 1970-01-01T00:00:00.000Z testlist """ EMAIL_LIST_FEED = """ http://apps-apis.google.com/a/feeds/example.com/emailList/2.0 1970-01-01T00:00:00.000Z EmailLists """ EMAIL_LIST_RECIPIENT_ENTRY = """ https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/TestUser%40example.com 1970-01-01T00:00:00.000Z TestUser """ EMAIL_LIST_RECIPIENT_FEED = """ http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient 1970-01-01T00:00:00.000Z Recipients for email list us-sales """ ACL_FEED = """ http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full 2007-04-21T00:52:04.000Z Elizabeth Bennet's access control list Google Calendar 2 1 http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com 2007-04-21T00:52:04.000Z owner Elizabeth Bennet liz@gmail.com http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/default 2007-04-21T00:52:04.000Z read Elizabeth Bennet liz@gmail.com """ ACL_ENTRY = """ http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com 2007-04-21T00:52:04.000Z owner Elizabeth Bennet liz@gmail.com """ DOCUMENT_LIST_FEED = """ 21test.usertest.user@gmail.comhttp://docs.google.com/feeds/documents/private/full/spreadsheet%3AsupercalifragilisticexpeadociousTest Spreadsheet2007-07-03T18:03:32.045Ztest.usertest.user@gmail.comhttp://docs.google.com/feeds/documents/private/full/document%3Agr00vyTest Document2007-07-03T18:02:50.338Zhttp://docs.google.com/feeds/documents/private/fullAvailable Documents - test.user@gmail.com2007-07-09T23:07:21.898Z """ DOCUMENT_LIST_ENTRY = """ test.usertest.user@gmail.comhttp://docs.google.com/feeds/documents/private/full/spreadsheet%3AsupercalifragilisticexpealidociousTest Spreadsheet2007-07-03T18:03:32.045Z """ BATCH_ENTRY = """ http://www.google.com/base/feeds/items/2173859253842813008 2006-07-11T14:51:43.560Z 2006-07-11T14:51: 43.560Z title content recipes itemB """ BATCH_FEED_REQUEST = """ My Batch Feed http://www.google.com/base/feeds/items/13308004346459454600 http://www.google.com/base/feeds/items/17437536661927313949 ... ... itemA recipes ... ... itemB recipes """ BATCH_FEED_RESULT = """ http://www.google.com/base/feeds/items 2006-07-11T14:51:42.894Z My Batch http://www.google.com/base/feeds/items/2173859253842813008 2006-07-11T14:51:43.560Z 2006-07-11T14:51: 43.560Z ... ... recipes itemB http://www.google.com/base/feeds/items/11974645606383737963 2006-07-11T14:51:43.247Z 2006-07-11T14:51: 43.247Z ... ... recipes itemA http://www.google.com/base/feeds/items/13308004346459454600 2006-07-11T14:51:42.894Z Error Bad request http://www.google.com/base/feeds/items/17437536661927313949 2006-07-11T14:51:43.246Z Deleted """ ALBUM_FEED = """ http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1 2007-09-21T18:23:05.000Z Test public http://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/s160-c/Test.jpg sample http://picasaweb.google.com/sample.user Picasaweb 4 1 500 1 Test public 1188975600000 2 sample.user sample true 0 http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/2 2007-09-05T20:49:23.000Z 2007-09-21T18:23:05.000Z Aqua Blue.jpg Blue 2 1190398985145172 0.0 1 2560 1600 883405 1189025362000 true c041ce17aaa637eb656c81d9cf526c24 true 1 Aqua Blue.jpg Blue tag, test sample http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/3 2007-09-05T20:49:24.000Z 2007-09-21T18:19:38.000Z Aqua Graphite.jpg Gray 3 1190398778006402 1.0 1 2560 1600 798334 1189025363000 true a5ce2e36b9df7d3cb081511c72e73926 true 0 Aqua Graphite.jpg Gray sample http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/tag 2007-09-05T20:49:24.000Z tag tag sample http://picasaweb.google.com/sample.user http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/test 2007-09-05T20:49:24.000Z test test sample http://picasaweb.google.com/sample.user """ CODE_SEARCH_FEED = """ http://www.google.com/codesearch/feeds/search?q=malloc 2007-12-19T16:08:04Z Google Code Search Google Code Search 2530000 1 Google Code Search http://www.google.com/codesearch http://www.google.com/codesearch?hl=en&q=+malloc+show:LDjwp-Iqc7U:84hEYaYsZk8:xDGReDhvNi0&sa=N&ct=rx&cd=1&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002#first2007-12-19T16:08:04ZCode owned by external author.software/autoconf/manual/autoconf-2.60/autoconf.html<pre> 8: void *<b>malloc</b> (); </pre><pre> #undef <b>malloc</b> </pre><pre> void *<b>malloc</b> (); </pre><pre> rpl_<b>malloc</b> (size_t n) </pre><pre> return <b>malloc</b> (n); </pre> http://www.google.com/codesearch?hl=en&q=+malloc+show:h4hfh-fV-jI:niBq_bwWZNs:H0OhClf0HWQ&sa=N&ct=rx&cd=2&cs_p=ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz&cs_f=guile-1.6.8/libguile/mallocs.c&cs_p=ftp://ftp.gnu.org/gnu/guile/guile-1.6.8.tar.gz&cs_f=guile-1.6.8/libguile/mallocs.c#first2007-12-19T16:08:04ZCode owned by external author.guile-1.6.8/libguile/mallocs.c<pre> 86: { scm_t_bits mem = n ? (scm_t_bits) <b>malloc</b> (n) : 0; if (n &amp;&amp; !mem) </pre><pre>#include &lt;<b>malloc</b>.h&gt; </pre><pre>scm_t_bits scm_tc16_<b>malloc</b>; </pre><pre><b>malloc</b>_free (SCM ptr) </pre><pre><b>malloc</b>_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED) </pre><pre> scm_puts(&quot;#&lt;<b>malloc</b> &quot;, port); </pre><pre> scm_t_bits mem = n ? (scm_t_bits) <b>malloc</b> (n) : 0; </pre><pre> SCM_RETURN_NEWSMOB (scm_tc16_<b>malloc</b>, mem); </pre><pre> scm_tc16_<b>malloc</b> = scm_make_smob_type (&quot;<b>malloc</b>&quot;, 0); </pre><pre> scm_set_smob_free (scm_tc16_<b>malloc</b>, <b>malloc</b>_free); </pre>GPL http://www.google.com/codesearch?hl=en&q=+malloc+show:9wyZUG-N_30:7_dFxoC1ZrY:C0_iYbFj90M&sa=N&ct=rx&cd=3&cs_p=http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz&cs_f=bash-3.0/lib/malloc/alloca.c&cs_p=http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz&cs_f=bash-3.0/lib/malloc/alloca.c#first2007-12-19T16:08:04ZCode owned by external author.bash-3.0/lib/malloc/alloca.c<pre> 78: #ifndef emacs #define <b>malloc</b> x<b>malloc</b> extern pointer x<b>malloc</b> (); </pre><pre> <b>malloc</b>. The Emacs executable needs alloca to call x<b>malloc</b>, because </pre><pre> ordinary <b>malloc</b> isn&#39;t protected from input signals. On the other </pre><pre> hand, the utilities in lib-src need alloca to call <b>malloc</b>; some of </pre><pre> them are very simple, and don&#39;t have an x<b>malloc</b> routine. </pre><pre> Callers below should use <b>malloc</b>. */ </pre><pre>#define <b>malloc</b> x<b>malloc</b> </pre><pre>extern pointer x<b>malloc</b> (); </pre><pre> It is very important that sizeof(header) agree with <b>malloc</b> </pre><pre> register pointer new = <b>malloc</b> (sizeof (header) + size); </pre>GPL http://www.google.com/codesearch?hl=en&q=+malloc+show:uhVCKyPcT6k:8juMxxzmUJw:H7_IDsTB2L4&sa=N&ct=rx&cd=4&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2&cs_f=mozilla/xpcom/build/malloc.c&cs_p=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/src/mozilla-source-1.7b-source.tar.bz2&cs_f=mozilla/xpcom/build/malloc.c#first2007-12-19T16:08:04ZCode owned by external author.mozilla/xpcom/build/malloc.c<pre> 54: http://gee.cs.oswego.edu/dl/html/<b>malloc</b>.html You may already by default be using a c library containing a <b>malloc</b> </pre><pre>/* ---------- To make a <b>malloc</b>.h, start cutting here ------------ */ </pre><pre> Note: There may be an updated version of this <b>malloc</b> obtainable at </pre><pre> ftp://gee.cs.oswego.edu/pub/misc/<b>malloc</b>.c </pre><pre>* Why use this <b>malloc</b>? </pre><pre> most tunable <b>malloc</b> ever written. However it is among the fastest </pre><pre> allocator for <b>malloc</b>-intensive programs. </pre><pre> http://gee.cs.oswego.edu/dl/html/<b>malloc</b>.html </pre><pre> You may already by default be using a c library containing a <b>malloc</b> </pre><pre> that is somehow based on some version of this <b>malloc</b> (for example in </pre>Mozilla http://www.google.com/codesearch?hl=en&q=+malloc+show:4n1P2HVOISs:Ybbpph0wR2M:OhIN_sDrG0U&sa=N&ct=rx&cd=5&cs_p=http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz&cs_f=hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh&cs_p=http://regexps.srparish.net/src/hackerlab/hackerlab-1.0pre2.tar.gz&cs_f=hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh#first2007-12-19T16:08:04ZCode owned by external author.hackerlab-1.0pre2/src/hackerlab/tests/mem-tests/unit-must-malloc.sh<pre> 11: echo ================ unit-must-<b>malloc</b> tests ================ ./unit-must-<b>malloc</b> echo ...passed </pre><pre># tag: Tom Lord Tue Dec 4 14:54:29 2001 (mem-tests/unit-must-<b>malloc</b>.sh) </pre><pre>echo ================ unit-must-<b>malloc</b> tests ================ </pre><pre>./unit-must-<b>malloc</b> </pre>GPL http://www.google.com/codesearch?hl=en&q=+malloc+show:GzkwiWG266M:ykuz3bG00ws:2sTvVSif08g&sa=N&ct=rx&cd=6&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2&cs_f=tar-1.14/lib/malloc.c&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.14.tar.bz2&cs_f=tar-1.14/lib/malloc.c#first2007-12-19T16:08:04ZCode owned by external author.tar-1.14/lib/malloc.c<pre> 22: #endif #undef <b>malloc</b> </pre><pre>/* Work around bug on some systems where <b>malloc</b> (0) fails. </pre><pre>#undef <b>malloc</b> </pre><pre>rpl_<b>malloc</b> (size_t n) </pre><pre> return <b>malloc</b> (n); </pre>GPL http://www.google.com/codesearch?hl=en&q=+malloc+show:o_TFIeBY6dY:ktI_dt8wPao:AI03BD1Dz0Y&sa=N&ct=rx&cd=7&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz&cs_f=tar-1.16.1/lib/malloc.c&cs_p=http://ftp.gnu.org/gnu/tar/tar-1.16.1.tar.gz&cs_f=tar-1.16.1/lib/malloc.c#first2007-12-19T16:08:04ZCode owned by external author.tar-1.16.1/lib/malloc.c<pre> 21: #include &lt;config.h&gt; #undef <b>malloc</b> </pre><pre>/* <b>malloc</b>() function that is glibc compatible. </pre><pre>#undef <b>malloc</b> </pre><pre>rpl_<b>malloc</b> (size_t n) </pre><pre> return <b>malloc</b> (n); </pre>GPL http://www.google.com/codesearch?hl=en&q=+malloc+show:_ibw-VLkMoI:jBOtIJSmFd4:-0NUEVeCwfY&sa=N&ct=rx&cd=8&cs_p=http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2&cs_f=uClibc-0.9.29/include/malloc.h&cs_p=http://freshmeat.net/redir/uclibc/20616/url_bz2/uClibc-0.9.28.1.tar.bz2&cs_f=uClibc-0.9.29/include/malloc.h#first2007-12-19T16:08:04ZCode owned by external author.uClibc-0.9.29/include/malloc.h<pre> 1: /* Prototypes and definition for <b>malloc</b> implementation. Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc. </pre><pre>/* Prototypes and definition for <b>malloc</b> implementation. </pre><pre> `pt<b>malloc</b>&#39;, a <b>malloc</b> implementation for multiple threads without </pre><pre> See the files `pt<b>malloc</b>.c&#39; or `COPYRIGHT&#39; for copying conditions. </pre><pre> This work is mainly derived from <b>malloc</b>-2.6.4 by Doug Lea </pre><pre> ftp://g.oswego.edu/pub/misc/<b>malloc</b>.c </pre><pre> `pt<b>malloc</b>.c&#39;. </pre><pre># define __<b>malloc</b>_ptr_t void * </pre><pre># define __<b>malloc</b>_ptr_t char * </pre><pre># define __<b>malloc</b>_size_t size_t </pre>LGPL http://www.google.com/codesearch?hl=en&q=+malloc+show:F6qHcZ9vefo:bTX7o9gKfks:hECF4r_eKC0&sa=N&ct=rx&cd=9&cs_p=http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz&cs_f=glibc-2.0.1/hurd/hurdmalloc.h&cs_p=http://ftp.gnu.org/gnu/glibc/glibc-2.0.1.tar.gz&cs_f=glibc-2.0.1/hurd/hurdmalloc.h#first2007-12-19T16:08:04ZCode owned by external author.glibc-2.0.1/hurd/hurdmalloc.h<pre> 15: #define <b>malloc</b> _hurd_<b>malloc</b> #define realloc _hurd_realloc </pre><pre> All hurd-internal code which uses <b>malloc</b> et al includes this file so it </pre><pre> will use the internal <b>malloc</b> routines _hurd_{<b>malloc</b>,realloc,free} </pre><pre> of <b>malloc</b> et al is the unixoid one using sbrk. </pre><pre>extern void *_hurd_<b>malloc</b> (size_t); </pre><pre>#define <b>malloc</b> _hurd_<b>malloc</b> </pre>GPL http://www.google.com/codesearch?hl=en&q=+malloc+show:CHUvHYzyLc8:pdcAfzDA6lY:wjofHuNLTHg&sa=N&ct=rx&cd=10&cs_p=ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2&cs_f=httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h&cs_p=ftp://apache.mirrors.pair.com/httpd/httpd-2.2.4.tar.bz2&cs_f=httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h#first2007-12-19T16:08:04ZCode owned by external author.httpd-2.2.4/srclib/apr/include/arch/netware/apr_private.h<pre> 173: #undef <b>malloc</b> #define <b>malloc</b>(x) library_<b>malloc</b>(gLibHandle,x) </pre><pre>/* Redefine <b>malloc</b> to use the library <b>malloc</b> call so </pre><pre>#undef <b>malloc</b> </pre><pre>#define <b>malloc</b>(x) library_<b>malloc</b>(gLibHandle,x) </pre>Apache """ YOUTUBE_VIDEO_FEED = """http://gdata.youtube.com/feeds/api/standardfeeds/top_rated2008-05-14T02:24:07.000-07:00Top Ratedhttp://www.youtube.com/img/pic_youtubelogo_123x63.gifYouTubehttp://www.youtube.com/YouTube data API100125 http://gdata.youtube.com/feeds/api/videos/C71ypXYGho82008-03-20T10:17:27.000-07:002008-05-14T04:26:37.000-07:00Me odeio por te amar - KARYN GARCIAhttp://www.karyngarcia.com.brTvKarynGarciahttp://gdata.youtube.com/feeds/api/users/tvkaryngarciaMe odeio por te amar - KARYN GARCIAhttp://www.karyngarcia.com.bramar, boyfriend, garcia, karyn, me, odeio, por, teMusictest111test222 http://gdata.youtube.com/feeds/api/videos/gsVaTyb1tBw2008-02-15T04:31:45.000-08:002008-05-14T05:09:42.000-07:00extreme helmet cam Kani, Keil and Patotrimmedperaltamagichttp://gdata.youtube.com/feeds/api/users/peraltamagicextreme helmet cam Kani, Keil and Patotrimmedalcala, cam, campillo, dirt, extreme, helmet, kani, patoSports