Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8585

Re: optional operation

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: optional operation
Date Wed, 05 Oct 2011 16:05:10 -0700
Organization A noiseless patient Spider
Lines 20
Message-ID <j6inr7$jms$1@dont-email.me> (permalink)
References <5eb0fcba-199f-46e4-b913-2f3e851d89fc@q26g2000vby.googlegroups.com> <c_idnaoeDvisCRHTnZ2dnUVZ_rWdnZ2d@earthlink.com> <6745899f-3c13-4d2b-81fb-52975c560a3b@q24g2000vby.googlegroups.com> <j6in1n$fil$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 5 Oct 2011 23:05:11 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="20188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EGCNvkeraZsjnqB6Pjn9/H+BbWPBTHik="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To <j6in1n$fil$1@dont-email.me>
Cancel-Lock sha1:vD3uVyPkpdHSWaCYqll0lx0AxFk=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8585

Show key headers only | View raw


On 10/5/2011 3:51 PM, markspace wrote:
> On 10/5/2011 2:20 PM, bob wrote:
>> Thanks, but I am still confused. How can a buffer not be backed by an
>> accessible array?
>
> I would have guessed due to this method here:
>
> <http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html#allocateDirect%28int%29>
>
>
> You'll need to read the comments at the begging of that page to
> understand what it is doing.


Should be "beginning" not begging.  Typing fast, didn't proofread.

Meant to add too that you seemed to have discovered another reason that 
the array would not be accessible --- the Buffer wraps another buffer, 
which is fine.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

optional operation bob <bob@coolgroups.com> - 2011-10-05 09:49 -0700
  Re: optional operation Patricia Shanahan <pats@acm.org> - 2011-10-05 10:30 -0700
    Re: optional operation bob <bob@coolgroups.com> - 2011-10-05 14:20 -0700
      Re: optional operation markspace <-@.> - 2011-10-05 15:51 -0700
        Re: optional operation markspace <-@.> - 2011-10-05 16:05 -0700
          Re: optional operation bob <bob@coolgroups.com> - 2011-10-05 23:46 -0700
            Re: optional operation Lew <lewbloch@gmail.com> - 2011-10-06 06:47 -0700

csiph-web