亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? buffer.java

?? gcc的組建
?? JAVA
字號(hào):
/* Buffer.java --    Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.nio;import gnu.classpath.Pointer;/** * @since 1.4 */public abstract class Buffer{  int cap = 0;  int limit = 0;  int pos = 0;  int mark = -1;  Pointer address;  /**   * Creates a new Buffer.   *   * Should be package private.   */  Buffer (int capacity, int limit, int position, int mark)  {    if (capacity < 0)      throw new IllegalArgumentException ();        cap = capacity;    limit (limit);    position (position);        if (mark >= 0)    {      if (mark > pos)        throw new IllegalArgumentException ();            this.mark = mark;    }  }    /**   * Retrieves the capacity of the buffer.   *   * @return the capacity of the buffer   */  public final int capacity ()  {    return cap;  }  /**   * Clears the buffer.   *   * @return this buffer   */  public final Buffer clear ()  {    limit = cap;    pos = 0;    mark = -1;    return this;  }      /**   * Flips the buffer.   *   * @return this buffer   */  public final Buffer flip ()  {    limit = pos;    pos = 0;    mark = -1;    return this;  }      /**   * Tells whether the buffer has remaining data to read or not.   *   * @return true if the buffer contains remaining data to read,   * false otherwise   */  public final boolean hasRemaining ()  {    return remaining() > 0;  }  /**   * Tells whether this buffer is read only or not.   *   * @return true if the buffer is read only, false otherwise   */  public abstract boolean isReadOnly ();  /**   * Retrieves the current limit of the buffer.   *   * @return the limit of the buffer   */  public final int limit ()  {    return limit;  }  /**   * Sets this buffer's limit.   *    * @param newLimit The new limit value; must be non-negative and no larger   * than this buffer's capacity.   *   * @return this buffer   *   * @exception IllegalArgumentException If the preconditions on newLimit   * do not hold.   */  public final Buffer limit (int newLimit)  {    if ((newLimit < 0) || (newLimit > cap))      throw new IllegalArgumentException ();    if (newLimit < mark)        mark = -1;    if (pos > newLimit)        pos = newLimit;    limit = newLimit;    return this;  }  /**   * Sets this buffer's mark at its position.   *   * @return this buffer   */  public final Buffer mark ()  {    mark = pos;    return this;  }  /**   * Retrieves the current position of this buffer.   *   * @return the current position of this buffer   */  public final int position ()  {    return pos;  }      /**   * Sets this buffer's position. If the mark is defined and larger than the   * new position then it is discarded.   *    * @param newPosition The new position value; must be non-negative and no   * larger than the current limit.   *   * @return this buffer   *   * @exception IllegalArgumentException If the preconditions on newPosition   * do not hold   */  public final Buffer position (int newPosition)  {    if ((newPosition < 0) || (newPosition > limit))      throw new IllegalArgumentException ();    if (newPosition <= mark)        mark = -1;    pos = newPosition;    return this;  }  /**   * Returns the number of elements between the current position and the limit.   *   * @return the number of remaining elements   */  public final int remaining()  {    return limit - pos;  }  /**   * Resets this buffer's position to the previously-marked position.   *   * @return this buffer   *   * @exception InvalidMarkException If the mark has not been set.   */  public final Buffer reset()  {    if (mark == -1)      throw new InvalidMarkException ();    pos = mark;    return this;  }  /**   * Rewinds this buffer. The position is set to zero and the mark   * is discarded.   *   * @return this buffer   */  public final Buffer rewind()  {    pos = 0;    mark = -1;    return this;  }  /**   * Checks for underflow. This method is used internally to check   * whether a buffer has enough elements left to satisfy a read    * request.   *   * @exception BufferUnderflowException If there are no remaining   * elements in this buffer.   */  final void checkForUnderflow()  {    if (!hasRemaining())      throw new BufferUnderflowException();  }  /**   * Checks for underflow. This method is used internally to check   * whether a buffer has enough elements left to satisfy a read    * request for a given number of elements.   *   * @param length The length of a sequence of elements.   *   * @exception BufferUnderflowException If there are not enough    * remaining elements in this buffer.   */  final void checkForUnderflow(int length)  {    if (remaining() < length)      throw new BufferUnderflowException();  }  /**   * Checks for overflow. This method is used internally to check   * whether a buffer has enough space left to satisfy a write    * request.   *   * @exception BufferOverflowException If there is no remaining   * space in this buffer.   */  final void checkForOverflow()  {    if (!hasRemaining())      throw new BufferOverflowException();  }  /**   * Checks for overflow. This method is used internally to check   * whether a buffer has enough space left to satisfy a write    * request for a given number of elements.   *   * @param length The length of a sequence of elements.   *   * @exception BufferUnderflowException If there is not enough    * remaining space in this buffer.   */  final void checkForOverflow(int length)  {    if (remaining() < length)      throw new BufferOverflowException();  }  /**   * Checks if index is negative or not smaller than the buffer's    * limit. This method is used internally to check whether   * an indexed request can be fulfilled.   *   * @param index The requested position in the buffer.   *   * @exception IndexOutOfBoundsException If index is negative or not smaller   * than the buffer's limit.   */  final void checkIndex(int index)  {    if (index < 0        || index >= limit ())      throw new IndexOutOfBoundsException ();  }  /**   * Checks if buffer is read-only. This method is used internally to   * check if elements can be put into a buffer.   *   * @exception ReadOnlyBufferException If this buffer is read-only.   */  final void checkIfReadOnly()   {    if (isReadOnly())      throw new ReadOnlyBufferException ();  }  /**   * Checks whether an array is large enough to hold the given number of   * elements at the given offset. This method is used internally to   * check if an array is big enough.   *   * @param arraylength The length of the array.   * @param offset The offset within the array of the first byte to be read;   * must be non-negative and no larger than arraylength.   * @param length The number of bytes to be read from the given array;   * must be non-negative and no larger than arraylength - offset.   *   * @exception IndexOutOfBoundsException If the preconditions on the offset   * and length parameters do not hold   */  static final void checkArraySize(int arraylength, int offset, int length)  {    if ((offset < 0) ||        (length < 0) ||        (arraylength < length + offset))      throw new IndexOutOfBoundsException ();  }}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美成人午夜| 91麻豆精品国产91久久久久久久久| 亚洲精品免费电影| 日韩欧美在线综合网| 色综合久久久久久久| 精品亚洲成a人在线观看| 亚洲精品视频免费看| 久久久久久夜精品精品免费| 欧美亚洲综合久久| 国产成人免费视频一区| 亚洲bt欧美bt精品777| 中文字幕一区二区日韩精品绯色| 91精品黄色片免费大全| 色综合一个色综合亚洲| 国产精品自拍一区| 在线观看日韩精品| 国产999精品久久| 国产一区二区剧情av在线| 亚洲狠狠丁香婷婷综合久久久| 久久一区二区三区四区| 欧美三级日韩在线| 91亚洲精华国产精华精华液| 国产精品资源站在线| 麻豆91精品91久久久的内涵| 亚洲国产一区二区三区青草影视 | 欧美视频你懂的| www.久久精品| 国产成人亚洲综合a∨猫咪| 麻豆精品蜜桃视频网站| 日韩高清不卡一区| 日日摸夜夜添夜夜添精品视频| 依依成人精品视频| 亚洲日本在线观看| 综合av第一页| 国产精品久久久久婷婷| 中文字幕高清不卡| 欧美国产乱子伦| 欧美国产乱子伦| 国产精品久久久久久久浪潮网站| 久久久久久夜精品精品免费| 国产亚洲一区二区在线观看| 久久久久久电影| 国产欧美日韩亚州综合 | 欧美在线free| 欧美日韩免费电影| 51久久夜色精品国产麻豆| 9191成人精品久久| 日韩精品资源二区在线| 欧美不卡激情三级在线观看| 精品剧情在线观看| 久久久久久久综合日本| 中文成人综合网| 日韩一区在线看| 亚洲自拍偷拍av| 天堂va蜜桃一区二区三区漫画版| 日本女优在线视频一区二区| 久色婷婷小香蕉久久| 国产精品一区二区在线观看不卡| 国产成人av电影在线观看| 99视频一区二区| 91国产免费观看| 欧美一级午夜免费电影| 久久久精品国产99久久精品芒果| 国产精品美女视频| 亚洲精品免费在线| 蜜桃精品在线观看| 成人午夜精品一区二区三区| 91麻豆视频网站| 91精品国产欧美日韩| 国产亚洲欧美日韩俺去了| 国产精品国产三级国产三级人妇 | 国产在线精品不卡| av高清久久久| 欧美日韩欧美一区二区| 欧美精品一区二区三区蜜臀| 国产在线观看一区二区| 波多野结衣91| 欧美高清www午色夜在线视频| 亚洲精品一区二区三区蜜桃下载| 国产精品成人在线观看| 午夜久久电影网| 国产成人午夜高潮毛片| 欧美性高清videossexo| 久久网站最新地址| 一片黄亚洲嫩模| 国产一区二区三区高清播放| 色一区在线观看| 精品国产乱码久久久久久浪潮| 综合分类小说区另类春色亚洲小说欧美| 日韩不卡免费视频| eeuss鲁片一区二区三区| 88在线观看91蜜桃国自产| 国产欧美一区视频| 日韩**一区毛片| 91视频91自| 久久久久久黄色| 青草国产精品久久久久久| 99精品视频中文字幕| 精品国产三级电影在线观看| 亚洲高清免费观看| 成人成人成人在线视频| 欧美mv日韩mv国产| 亚洲国产综合视频在线观看| 国产高清不卡一区| 日韩一区二区精品| 亚洲国产精品久久久男人的天堂| 国产91富婆露脸刺激对白| 欧美一区二区三区在线电影| 一区二区三区在线观看网站| 国产高清精品久久久久| 91成人免费在线视频| 久久精品欧美一区二区三区不卡| 青青草97国产精品免费观看 | 成人在线视频一区| 精品日韩在线一区| 日本系列欧美系列| 在线观看日韩电影| 亚洲视频1区2区| 成人a级免费电影| 国产亚洲欧美日韩日本| 国精产品一区一区三区mba桃花| 一区二区高清免费观看影视大全 | 午夜视频在线观看一区二区三区| 99热在这里有精品免费| 国产女人水真多18毛片18精品视频| 久久超碰97人人做人人爱| 欧美视频一区二区在线观看| 一区二区欧美国产| 日本韩国欧美一区二区三区| 亚洲日穴在线视频| 91网站黄www| 亚洲欧洲精品一区二区精品久久久| 国产成人亚洲综合色影视| 国产欧美一二三区| 成人午夜电影网站| 中文久久乱码一区二区| 99在线精品观看| 一区二区成人在线视频 | 亚洲国产成人自拍| 成人午夜精品在线| 国产精品不卡在线观看| caoporn国产精品| 自拍偷拍亚洲激情| 一本一道综合狠狠老| 亚洲最大色网站| 欧美日韩国产综合一区二区| 婷婷亚洲久悠悠色悠在线播放 | 中文字幕一区二| 91网站在线播放| 洋洋av久久久久久久一区| 欧美在线综合视频| 天天亚洲美女在线视频| 日韩三级伦理片妻子的秘密按摩| 久久精品国产免费| 国产网站一区二区三区| 91麻豆国产福利在线观看| 一二三区精品福利视频| 69久久99精品久久久久婷婷 | 美腿丝袜亚洲色图| 国产日韩欧美不卡在线| 91麻豆文化传媒在线观看| 亚洲成人在线网站| 精品理论电影在线| www..com久久爱| 亚洲国产日韩一级| 日韩欧美国产系列| 成人伦理片在线| 亚洲图片欧美视频| 精品久久久久一区| 成人激情午夜影院| 亚洲成人综合视频| 久久男人中文字幕资源站| 91免费观看视频| 蜜桃视频一区二区三区| 国产精品美女久久久久久2018| 欧美亚洲愉拍一区二区| 激情国产一区二区| 亚洲狠狠丁香婷婷综合久久久| 日韩午夜精品视频| 91视频在线看| 麻豆91免费观看| 一区二区三区产品免费精品久久75| 日韩一区二区免费在线电影 | 精品国产一区二区三区忘忧草 | 欧美人与禽zozo性伦| 国产福利一区二区三区视频在线| 亚洲精品中文在线影院| 日韩免费观看高清完整版在线观看| www.欧美.com| 激情欧美一区二区| 天堂av在线一区| 国产精品视频线看| 日韩欧美一区二区久久婷婷| 色婷婷综合久久久久中文| 国产综合久久久久影院| 亚洲不卡av一区二区三区| 国产精品视频看| 精品电影一区二区| 欧美精品自拍偷拍| 91丨九色丨国产丨porny|