#!/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
ComputerLaptoptesting laptopproducts"""
TEST_BASE_ENTRY = """
Testing 2000 series laptop
A Testing Laptop
yesComputerLaptoptesting laptopproducts"""
BIG_FEED = """
dive into mark
A <em>lot</em> of effort
went into making this effortless
2005-07-31T12:29:29Ztag:example.org,2003:3Copyright (c) 2003, Mark Pilgrim
Example Toolkit
Atom draft-07 snapshottag:example.org,2003:3.23972005-07-31T12:29:29Z2003-12-13T08:29:29-04:00Mark Pilgrimhttp://example.org/f8dy@example.comSam RubyJoe Gregorio
[Update: The Atom draft is finished.]
"""
SMALL_FEED = """
Example Feed2003-12-13T18:30:02ZJohn Doeurn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6Atom-Powered Robots Run Amokurn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a2003-12-13T18:30:02ZSome text.
"""
GBASE_FEED = """
http://www.google.com/base/feeds/snippets2007-02-08T23:18:21.935ZItems matching query: digital cameraGoogleBase 2171885125http://www.google.com/base/feeds/snippets/132464538267519275332007-02-08T13:23:27.000Z2007-02-08T16:40:57.000ZDigital Camera Battery Notebook Computer 12v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting CablesNotebook 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-Videoanon-szot0wdsq0at@base.google.comPayPal & Bill Me Later credit available online only.new420 9th Ave. 10001305668-REGProductsDigital Camera Battery2007-03-10T13:23:27.000Z117271134.95 usdDigital Photography>Camera Connecting CablesENDCB5092US1.0http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305668.jpg&dhm=ffffffff84c9a95e&size=6http://www.google.com/base/feeds/snippets/101457710373318586082007-02-08T13:23:27.000Z2007-02-08T16:40:57.000ZDigital Camera Battery Electronic Device 5v DC Power Cable - 5.5mm x 2.5mm (Center +) Camera Connecting CablesElectronic 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-Videoanon-szot0wdsq0at@base.google.com420 9th Ave. 10001new0.18USDigital Photography>Camera Connecting CablesPayPal & Bill Me Later credit available online only.305656-REGhttp://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305656.jpg&dhm=7315bdc8&size=6DCB510883809800510834.95 usdENDigital Camera Battery1172711Products2007-03-10T13:23:27.000Zhttp://www.google.com/base/feeds/snippets/31286081938047686442007-02-08T02:21:27.000Z2007-02-08T15:40:13.000ZDigital Camera Battery Power Cable for Kodak 645 Pro-Back ProBack & DCS-300 Series Camera Connecting CablesCamera 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-Videoanon-szot0wdsq0at@base.google.com0.3DCB6006http://base.google.com/base_image?q=http%3A%2F%2Fwww.bhphotovideo.com%2Fimages%2Fitems%2F305685.jpg&dhm=72f0ca0a&size=6420 9th Ave. 10001PayPal & Bill Me Later credit available online only.ProductsUSdigital kodak cameraDigital Camera Battery2007-03-10T02:21:27.000ZENnew34.95 usd1172711Digital Photography>Camera Connecting Cables305685-REG"""
EXTENSION_TREE = """
John Doe
Bar
"""
TEST_AUTHOR = """
John Doejohndoes@someemailadress.comhttp://www.google.com
"""
TEST_LINK = """
"""
TEST_GBASE_ATTRIBUTE = """
Digital Camera Battery
"""
CALENDAR_FEED = """
http://www.google.com/calendar/feeds/default2007-03-20T22:48:57.833ZGData Ops Demo's Calendar ListGData Ops Demogdata.ops.demo@gmail.com
Google Calendar1
http://www.google.com/calendar/feeds/default/gdata.ops.demo%40gmail.com2007-03-20T22:48:57.837Z2007-03-20T22:48:52.000ZGData Ops DemoGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/jnh21ovnjgfph21h32gvms2758%40group.calendar.google.com2007-03-20T22:48:57.837Z2007-03-20T22:48:53.000ZGData Ops Demo Secondary CalendarGData Ops Demo Secondary Calendar
"""
CALENDAR_FULL_EVENT_FEED = """
http://www.google.com/calendar/feeds/default/private/full2007-03-20T21:29:57.000ZGData Ops DemoGData Ops DemoGData Ops Demogdata.ops.demo@gmail.com
Google Calendar10125
http://www.google.com/calendar/feeds/default/private/full/o99flmgmkfkfrr8u745ghr31002007-03-20T21:29:52.000Z2007-03-20T21:29:57.000Ztest deletedGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/2qt3ao5hbaq7m9igr5ak9esjo02007-03-20T21:26:04.000Z2007-03-20T21:28:46.000ZAfternoon at Dolores Park with KimGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/uvsqhg7klnae40v50vihr1pvos2007-03-20T21:28:37.000Z2007-03-20T21:28:37.000ZTeam meetingGData Ops Demogdata.ops.demo@gmail.comDTSTART;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/st4vk9kiffs6rasrl32e4a7alo2007-03-20T21:25:46.000Z2007-03-20T21:25:46.000ZMovie with Kim and danahGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/ofl1e45ubtsoh6gtu127cls2oo2007-03-20T21:24:43.000Z2007-03-20T21:25:08.000ZDinner with Kim and SarahGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/b69s2avfi2joigsclecvjlc91g2007-03-20T21:24:19.000Z2007-03-20T21:25:05.000ZDinner with Jane and JohnGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/u9p66kkiotn8bqh9k7j4rcnjjc2007-03-20T21:24:33.000Z2007-03-20T21:24:33.000ZTennis with ElizabethGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/76oj2kceidob3s708tvfnuaq3c2007-03-20T21:24:00.000Z2007-03-20T21:24:00.000ZLunch with JennGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/5np9ec8m7uoauk1vedh5mhodco2007-03-20T07:50:02.000Z2007-03-20T20:39:26.000Ztest entrytest descGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/fu6sl0rqakf3o0a13oo1i1a1mg2007-02-14T23:23:37.000Z2007-02-14T23:25:30.000ZtestGData Ops Demogdata.ops.demo@gmail.com
http://www.google.com/calendar/feeds/default/private/full/h7a0haa4da8sil3rr19ia6luvc2007-07-16T22:13:28.000Z2007-07-16T22:13:29.000ZGData Ops Demogdata.ops.demo@gmail.com
"""
CALENDAR_BATCH_REQUEST = """
1Event inserted via batch2http://www.google.com/calendar/feeds/default/private/full/glcs0kv2qqa0gf52qi1jo018gcEvent queried via batch3http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qsEvent updated via batch4http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqcEvent deleted via batch
"""
CALENDAR_BATCH_RESPONSE = """
http://www.google.com/calendar/feeds/default/private/full2007-09-21T23:01:00.380ZBatch Feed1http://www.google.com/calendar/feeds/default/private/full/n9ug78gd9tv53ppn4hdjvk68ekEvent inserted via batch2http://www.google.com/calendar/feeds/default/private/full/glsc0kv2aqa0ff52qi1jo018gcEvent queried via batch3http://www.google.com/calendar/feeds/default/private/full/ujm0go5dtngdkr6u91dcqvj0qsEvent updated via batch34http://www.google.com/calendar/feeds/default/private/full/d8qbg9egk1n6lhsgq1sjbqffqcEvent deleted via batchDeleted
"""
GBASE_ATTRIBUTE_FEED = """
http://www.google.com/base/feeds/attributes2006-11-01T20:35:59.578ZAttribute histogram for query: [item type:jobs]GoogleBase16116http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D2006-11-01T20:36:00.100Zjob industry(text)Attribute"job industry" of type text.
it internethealthcareinformation technologyaccountingclerical and administrativeothersales and sales managementinformation systemsengineering and architecturesales
"""
GBASE_ATTRIBUTE_ENTRY = """
http://www.google.com/base/feeds/attributes/job+industry%28text%29N%5Bitem+type%3Ajobs%5D2006-11-01T20:36:00.100Zjob industry(text)Attribute"job industry" of type text.
it internethealthcareinformation technologyaccountingclerical and administrativeothersales and sales managementinformation systemsengineering and architecturesales
"""
GBASE_LOCALES_FEED = """
http://www.google.com/base/feeds/locales/2006-06-13T18:11:40.120ZLocalesGoogle Inc.base@google.comGoogleBase325http://www.google.com/base/feeds/locales/en_US2006-03-27T22:27:36.658Zen_USen_UShttp://www.google.com/base/feeds/locales/en_GB2006-06-13T18:14:18.601Zen_GBen_GBhttp://www.google.com/base/feeds/locales/de_DE2006-06-13T18:14:18.601Zde_DEde_DE"""
GBASE_STRING_ENCODING_ENTRY = """
http://www.google.com/base/feeds/snippets/174957802561832300882007-12-09T03:13:07.000Z2008-01-07T03:26:46.000ZDigital Camera Cord Fits SONY Cybershot DSC-R1 S40SONY \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 ...eBayProductsENUS0.99 usdhttp://thumbs.ebaystatic.com/pict/270195049057_1.jpgCameras & Photo>Digital Camera Accessories>CablesCords & Connectors>USB Cables>For Other Brands117292701950490572008-02-06T03:26:46Z"""
RECURRENCE_EXCEPTION_ENTRY = """
http://www.google.com/calendar/feeds/default/private/composite/i7lgfj69mjqjgnodklif3vbm7g2007-04-05T21:51:49.000Z2007-04-05T21:51:49.000ZtestDavidgdata opsgdata.ops.test@gmail.comDTSTART;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:VTIMEZONEi7lgfj69mjqjgnodklif3vbm7g_20070407T180000Z2007-04-05T21:51:49.000Z2007-04-05T21:52:58.000ZtestDavidgdata opsgdata.ops.test@gmail.com2007-04-05T21:54:09.285ZComments for: testDavid"""
NICK_ENTRY = """
https://apps-apis.google.com/a/feeds/example.com/nickname/2.0/Foo1970-01-01T00:00:00.000ZFoo"""
NICK_FEED = """
http://apps-apis.google.com/a/feeds/example.com/nickname/2.0
1970-01-01T00:00:00.000ZNicknames for user SusanJones12
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/TestUser1970-01-01T00:00:00.000ZTestUser"""
USER_FEED = """
http://apps-apis.google.com/a/feeds/example.com/user/2.0
1970-01-01T00:00:00.000ZUsers1
http://apps-apis.google.com/a/feeds/example.com/user/2.0/TestUser
TestUser
http://apps-apis.google.com/a/feeds/example.com/user/2.0/JohnSmith
JohnSmith"""
EMAIL_LIST_ENTRY = """
https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/testlist
1970-01-01T00:00:00.000Ztestlist"""
EMAIL_LIST_FEED = """
http://apps-apis.google.com/a/feeds/example.com/emailList/2.0
1970-01-01T00:00:00.000ZEmailLists1
http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales
1970-01-01T00:00:00.000Zus-sales
http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-eng
1970-01-01T00:00:00.000Zus-eng"""
EMAIL_LIST_RECIPIENT_ENTRY = """
https://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/TestUser%40example.com1970-01-01T00:00:00.000ZTestUser"""
EMAIL_LIST_RECIPIENT_FEED = """
http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient
1970-01-01T00:00:00.000ZRecipients for email list us-sales1
http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/joe%40example.com
1970-01-01T00:00:00.000Zjoe@example.com
http://apps-apis.google.com/a/feeds/example.com/emailList/2.0/us-sales/recipient/susan%40example.com
1970-01-01T00:00:00.000Zsusan@example.com"""
ACL_FEED = """
http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full2007-04-21T00:52:04.000ZElizabeth Bennet's access control listGoogle Calendar21http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com2007-04-21T00:52:04.000ZownerElizabeth Bennetliz@gmail.comhttp://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/default2007-04-21T00:52:04.000ZreadElizabeth Bennetliz@gmail.com"""
ACL_ENTRY = """
http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Aliz%40gmail.com2007-04-21T00:52:04.000ZownerElizabeth Bennetliz@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/21738592538428130082006-07-11T14:51:43.560Z2006-07-11T14:51: 43.560ZtitlecontentrecipesitemB"""
BATCH_FEED_REQUEST = """
My Batch Feedhttp://www.google.com/base/feeds/items/13308004346459454600http://www.google.com/base/feeds/items/17437536661927313949......itemArecipes......itemBrecipes"""
BATCH_FEED_RESULT = """
http://www.google.com/base/feeds/items2006-07-11T14:51:42.894ZMy Batchhttp://www.google.com/base/feeds/items/21738592538428130082006-07-11T14:51:43.560Z2006-07-11T14:51: 43.560Z......recipesitemBhttp://www.google.com/base/feeds/items/119746456063837379632006-07-11T14:51:43.247Z2006-07-11T14:51: 43.247Z......recipesitemAhttp://www.google.com/base/feeds/items/133080043464594546002006-07-11T14:51:42.894ZErrorBad requesthttp://www.google.com/base/feeds/items/174375366619273139492006-07-11T14:51:43.246ZDeleted"""
ALBUM_FEED = """
http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/12007-09-21T18:23:05.000ZTestpublichttp://lh6.google.com/sample.user/Rt8WNoDZEJE/AAAAAAAAABk/HQGlDhpIgWo/s160-c/Test.jpgsamplehttp://picasaweb.google.com/sample.userPicasaweb415001Testpublic11889756000002sample.usersampletrue0http://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/22007-09-05T20:49:23.000Z2007-09-21T18:23:05.000ZAqua Blue.jpgBlue211903989851451720.01256016008834051189025362000truec041ce17aaa637eb656c81d9cf526c24true1Aqua Blue.jpgBluetag, testsamplehttp://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/photoid/32007-09-05T20:49:24.000Z2007-09-21T18:19:38.000ZAqua Graphite.jpgGray311903987780064021.01256016007983341189025363000truea5ce2e36b9df7d3cb081511c72e73926true0Aqua Graphite.jpgGraysamplehttp://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/tag2007-09-05T20:49:24.000Ztagtagsamplehttp://picasaweb.google.com/sample.userhttp://picasaweb.google.com/data/entry/api/user/sample.user/albumid/1/tag/test2007-09-05T20:49:24.000Ztesttestsamplehttp://picasaweb.google.com/sample.user"""
CODE_SEARCH_FEED = """
http://www.google.com/codesearch/feeds/search?q=malloc2007-12-19T16:08:04ZGoogle Code SearchGoogle Code Search25300001Google Code Searchhttp://www.google.com/codesearchhttp://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 && !mem)
</pre><pre>#include <<b>malloc</b>.h>
</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("#<<b>malloc</b> ", 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 ("<b>malloc</b>", 0);
</pre><pre> scm_set_smob_free (scm_tc16_<b>malloc</b>, <b>malloc</b>_free);
</pre>GPLhttp://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'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'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>GPLhttp://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>Mozillahttp://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>GPLhttp://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>GPLhttp://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 <config.h>
#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>GPLhttp://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>', a <b>malloc</b> implementation for multiple threads without
</pre><pre> See the files `pt<b>malloc</b>.c' or `COPYRIGHT' 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'.
</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>LGPLhttp://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>GPLhttp://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 API100125http://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, teMusictest111test222http://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