Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DE349180 for ; Thu, 8 Mar 2012 06:39:10 +0000 (UTC) Received: (qmail 43901 invoked by uid 500); 8 Mar 2012 06:39:09 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 43013 invoked by uid 500); 8 Mar 2012 06:39:03 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 42969 invoked by uid 99); 8 Mar 2012 06:39:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 06:39:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of manojmokashi@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 06:38:55 +0000 Received: by ggcs5 with SMTP id s5so62349ggc.30 for ; Wed, 07 Mar 2012 22:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=U9t9mGbTe/+SaWVqSQEoVK/HwK328zPOgApSVQZSgbY=; b=XRDRpykSLgi9rniM7y04b8FSH4WRtSwNT0kBQv1jPgAh9E7/4ma+uE9+d61jFpyQOa 4h1+at72f1hlxPvGw2KyQ2lC/4miHEEo6myDE32hn8vTKRPTimjo/vmx0Isp+vVsMyNm rj2ojsqVIPDQ5iM03q3qUBCSylmjZox17PwlarbzWPleULQRM69K2IN7m98gHk5nFWni rRB7Y1AKS8vz24yPqxgxXlAogPkZuw+zlwpjEwIBxqbfbjFQVV3zMF5nq0/UIwdPQzTm QpnJB7sLko/AJkAzVzr54JGBFgdTTTM9OyOtQkqfnagjZJ7lGX4k80wo18XJ9Id8xkSC yktA== MIME-Version: 1.0 Received: by 10.236.78.72 with SMTP id f48mr8997374yhe.121.1331188714838; Wed, 07 Mar 2012 22:38:34 -0800 (PST) Received: by 10.236.181.136 with HTTP; Wed, 7 Mar 2012 22:38:34 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Mar 2012 12:08:34 +0530 Message-ID: Subject: Re: [Collections] Circular Buffer From: manoj mokashi To: user@commons.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org @James : >>Does the header include a record size ? Yes. I suppose you are wondering why i need to detect the headers if the record size is known. Actually its a corrupted archive in which the header size is correct, but the body size is not, and so i don't know where the body ends and hence where the next header starts. And i do still need to parse the header to get at things like isDirectory, timestamp. @Sebb : >>I think it should be possible to do this efficiently as the underlying >>storage is an array. So should i raise a request in JIRA ? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org