Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69142 invoked from network); 1 Mar 2012 16:22:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2012 16:22:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=adi_mutu06@yahoo.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=adi_mutu06@yahoo.com; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain yahoo.com from 98.139.91.212 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: adi_mutu06@yahoo.com X-Host-Fingerprint: 98.139.91.212 nm17-vm0.bullet.mail.sp2.yahoo.com Received: from [98.139.91.212] ([98.139.91.212:41825] helo=nm17-vm0.bullet.mail.sp2.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/2D-46815-342AF4F4 for ; Thu, 01 Mar 2012 11:22:28 -0500 Received: from [98.139.91.66] by nm17.bullet.mail.sp2.yahoo.com with NNFMP; 01 Mar 2012 16:22:24 -0000 Received: from [98.139.91.51] by tm6.bullet.mail.sp2.yahoo.com with NNFMP; 01 Mar 2012 16:22:24 -0000 Received: from [127.0.0.1] by omp1051.mail.sp2.yahoo.com with NNFMP; 01 Mar 2012 16:22:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 274101.82720.bm@omp1051.mail.sp2.yahoo.com Received: (qmail 54898 invoked by uid 60001); 1 Mar 2012 16:22:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1330618943; bh=/6B4gb51bgQdUkbNVGLIg1Dv2SKmoYs9lr4JxuGW0U8=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=U30xzz3pcrFSXC0ehSA5de8Qr4d3eGujvkeILpipGywpGaKIXngn3HlLjz13kLdk0eYNSR+Yy2XqtiXpgjD0ijPbaQtM7HbP8oz7Kp5d1cg7n63XYf4HGfseStjN8ck4m5y8j+Y+CJNWmAsG2VsEvyNYel4P4dU8BiqNjdkH+P4= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=yKr9D7eNpRuaFE62xETsw2xVkbpqAtagfTW/jtKipZ+i8DD+qCiQEw9DZ3QJui15IuZw+esziWBx6DTlggZPE5ImRDR4ZYccpdQ2KuSxpTeWbbC+GUuqvJGJN3jJOmbqKqorjDpVy/ksvLC16onnONVNXbZ91G6CFLxm58AJoWA=; X-YMail-OSG: TKqKgM8VM1kQWLtuKp3o2.crceNxM069XVe.6hNsJfHvQnY riqhE2HZ4UP0jWU66BOvD.4ErhJPazwqU6lQ30FJ2I5dmniwKH6PoIPYKx9F ZOmuWWftb6HBn1HiRJQqnueHdCojgAPDps25I_1lMwtMs4BeRGm96qbcBoDr .sGiZz0g98a8PLP63XrmXC1g2wdWWKKD6rnHCb0RPDhvXQm.5NoH1uHKMsje sSOckBbS0k7LKrfR3J35isArML33SpYAYnIKtMz337CzMGEjWbnq9d0U143r 3Zub0bwwNuPu8rakBPTtJiGnCG00LMlmOt29ysHLBXdhcSk_V1mM8hZkWej3 koA37O5zQNFPedIgHL1A08NDctDUNKKI0nLu.pmHfguluO9ULBFA.jibDpXK zhUkOQm4uYdziHXUv7lZ7tLGhjJdpWhMVaeuBxb7IEPz60YSoYDX.nA3UUjV QZsyIG2E_vOqvELuu3gz.YoqHa.5.ohi_1fHB4Rsr8fdebSx0PS0uco9of.h PrFlQkOce4PuavtUQRPLCy9pqLMFN5KdjdN8SqPBhllOLWjPeHq0- Received: from [92.80.10.11] by web43505.mail.sp1.yahoo.com via HTTP; Thu, 01 Mar 2012 08:22:23 PST X-Mailer: YahooMailWebService/0.8.116.338427 Message-ID: <1330618943.51670.YahooMailNeo@web43505.mail.sp1.yahoo.com> Date: Thu, 1 Mar 2012 08:22:23 -0800 (PST) Reply-To: Adi Mutu To: PHP Developers Mailing List MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1545666102-1468918827-1330618943=:51670" Subject: question about Zend MM From: adi_mutu06@yahoo.com (Adi Mutu) --1545666102-1468918827-1330618943=:51670 Content-Type: text/plain; charset=us-ascii Hello, I want to understand how Zend MM works, so i'm looking trought the sources and i see this: #define ZEND_MM_ALIGNMENT_MASK ~(ZEND_MM_ALIGNMENT-1) #define ZEND_MM_ALIGNED_SIZE(size) (((size) + ZEND_MM_ALIGNMENT - 1) & ZEND_MM_ALIGNMENT_MASK) I understand that the first define will create something like 11111000 ( it will clear last 3 bits) but what does the 2nd define? Before clearing the last 3 bytes why does it add ZEND_MM_ALIGNMENT- 1 to size? Thanks, --1545666102-1468918827-1330618943=:51670--