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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? indexoutput.java

?? lucene-2.4.0 是一個全文收索的工具包
?? JAVA
字號:
package org.apache.lucene.store;/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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. */import java.io.IOException;import org.apache.lucene.util.UnicodeUtil;/** Abstract base class for output to a file in a Directory.  A random-access * output stream.  Used for all Lucene index output operations. * @see Directory * @see IndexInput */public abstract class IndexOutput {  private UnicodeUtil.UTF8Result utf8Result = new UnicodeUtil.UTF8Result();  /** Writes a single byte.   * @see IndexInput#readByte()   */  public abstract void writeByte(byte b) throws IOException;  /** Writes an array of bytes.   * @param b the bytes to write   * @param length the number of bytes to write   * @see IndexInput#readBytes(byte[],int,int)   */  public void writeBytes(byte[] b, int length) throws IOException {    writeBytes(b, 0, length);  }  /** Writes an array of bytes.   * @param b the bytes to write   * @param offset the offset in the byte array   * @param length the number of bytes to write   * @see IndexInput#readBytes(byte[],int,int)   */  public abstract void writeBytes(byte[] b, int offset, int length) throws IOException;  /** Writes an int as four bytes.   * @see IndexInput#readInt()   */  public void writeInt(int i) throws IOException {    writeByte((byte)(i >> 24));    writeByte((byte)(i >> 16));    writeByte((byte)(i >>  8));    writeByte((byte) i);  }  /** Writes an int in a variable-length format.  Writes between one and   * five bytes.  Smaller values take fewer bytes.  Negative numbers are not   * supported.   * @see IndexInput#readVInt()   */  public void writeVInt(int i) throws IOException {    while ((i & ~0x7F) != 0) {      writeByte((byte)((i & 0x7f) | 0x80));      i >>>= 7;    }    writeByte((byte)i);  }  /** Writes a long as eight bytes.   * @see IndexInput#readLong()   */  public void writeLong(long i) throws IOException {    writeInt((int) (i >> 32));    writeInt((int) i);  }  /** Writes an long in a variable-length format.  Writes between one and five   * bytes.  Smaller values take fewer bytes.  Negative numbers are not   * supported.   * @see IndexInput#readVLong()   */  public void writeVLong(long i) throws IOException {    while ((i & ~0x7F) != 0) {      writeByte((byte)((i & 0x7f) | 0x80));      i >>>= 7;    }    writeByte((byte)i);  }  /** Writes a string.   * @see IndexInput#readString()   */  public void writeString(String s) throws IOException {    UnicodeUtil.UTF16toUTF8(s, 0, s.length(), utf8Result);    writeVInt(utf8Result.length);    writeBytes(utf8Result.result, 0, utf8Result.length);  }  /** Writes a sub sequence of characters from s as the old   *  format (modified UTF-8 encoded bytes).   * @param s the source of the characters   * @param start the first character in the sequence   * @param length the number of characters in the sequence   * @deprecated -- please pre-convert to utf8 bytes   * instead or use {@link #writeString}   */  public void writeChars(String s, int start, int length)       throws IOException {    final int end = start + length;    for (int i = start; i < end; i++) {      final int code = (int)s.charAt(i);      if (code >= 0x01 && code <= 0x7F)	writeByte((byte)code);      else if (((code >= 0x80) && (code <= 0x7FF)) || code == 0) {	writeByte((byte)(0xC0 | (code >> 6)));	writeByte((byte)(0x80 | (code & 0x3F)));      } else {	writeByte((byte)(0xE0 | (code >>> 12)));	writeByte((byte)(0x80 | ((code >> 6) & 0x3F)));	writeByte((byte)(0x80 | (code & 0x3F)));      }    }  }  /** Writes a sub sequence of characters from char[] as   *  the old format (modified UTF-8 encoded bytes).   * @param s the source of the characters   * @param start the first character in the sequence   * @param length the number of characters in the sequence   * @deprecated -- please pre-convert to utf8 bytes instead or use {@link #writeString}   */  public void writeChars(char[] s, int start, int length)    throws IOException {    final int end = start + length;    for (int i = start; i < end; i++) {      final int code = (int)s[i];      if (code >= 0x01 && code <= 0x7F)	writeByte((byte)code);      else if (((code >= 0x80) && (code <= 0x7FF)) || code == 0) {	writeByte((byte)(0xC0 | (code >> 6)));	writeByte((byte)(0x80 | (code & 0x3F)));      } else {	writeByte((byte)(0xE0 | (code >>> 12)));	writeByte((byte)(0x80 | ((code >> 6) & 0x3F)));	writeByte((byte)(0x80 | (code & 0x3F)));      }    }  }  private static int COPY_BUFFER_SIZE = 16384;  private byte[] copyBuffer;  /** Copy numBytes bytes from input to ourself. */  public void copyBytes(IndexInput input, long numBytes) throws IOException {    long left = numBytes;    if (copyBuffer == null)      copyBuffer = new byte[COPY_BUFFER_SIZE];    while(left > 0) {      final int toCopy;      if (left > COPY_BUFFER_SIZE)        toCopy = COPY_BUFFER_SIZE;      else        toCopy = (int) left;      input.readBytes(copyBuffer, 0, toCopy);      writeBytes(copyBuffer, 0, toCopy);      left -= toCopy;    }  }  /** Forces any buffered output to be written. */  public abstract void flush() throws IOException;  /** Closes this stream to further operations. */  public abstract void close() throws IOException;  /** Returns the current position in this file, where the next write will   * occur.   * @see #seek(long)   */  public abstract long getFilePointer();  /** Sets current position in this file, where the next write will occur.   * @see #getFilePointer()   */  public abstract void seek(long pos) throws IOException;  /** The number of bytes in the file. */  public abstract long length() throws IOException;  /** Set the file length. By default, this method does   * nothing (it's optional for a Directory to implement   * it).  But, certain Directory implementations (for   * example @see FSDirectory) can use this to inform the   * underlying IO system to pre-allocate the file to the   * specified size.  If the length is longer than the   * current file length, the bytes added to the file are   * undefined.  Otherwise the file is truncated.   * @param length file length   */  public void setLength(long length) throws IOException {};}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性大战xxxxx久久久| 国产精品二三区| 精品1区2区3区| 91精品办公室少妇高潮对白| 一本色道a无线码一区v| aaa欧美大片| 91亚洲永久精品| 99精品黄色片免费大全| 色综合久久中文字幕综合网 | 国产一区二区影院| 六月婷婷色综合| 精品一区二区在线观看| 国产精品系列在线播放| 成人禁用看黄a在线| 97超碰欧美中文字幕| 色婷婷久久综合| 欧美日韩三级视频| 日韩三级中文字幕| 精品久久一区二区| 欧美国产视频在线| 免费三级欧美电影| 久久精品国产亚洲a| 国产一区999| 成人黄动漫网站免费app| 一本大道久久a久久综合婷婷| 色悠悠亚洲一区二区| 4438x亚洲最大成人网| 日韩女优毛片在线| 日本一区二区综合亚洲| 成人免费在线播放视频| 午夜久久久影院| 久久99精品一区二区三区三区| 国产 欧美在线| 日本高清成人免费播放| 日韩精品专区在线影院观看| 欧美高清在线视频| 亚洲成人第一页| 国产综合色在线| 色综合一个色综合| 欧美电影免费观看高清完整版在| 国产欧美日韩激情| 亚洲6080在线| 国产精品456| 日本韩国精品在线| 日韩三级高清在线| 国产精品免费观看视频| 亚洲国产一区二区a毛片| 久久精品国产亚洲高清剧情介绍| 成人黄色a**站在线观看| 欧美高清dvd| 中文成人综合网| 日韩精品成人一区二区三区| 国产成人免费xxxxxxxx| 7777精品伊人久久久大香线蕉经典版下载| 久久丝袜美腿综合| 亚洲成av人片在线| 不卡的av网站| 欧美tk丨vk视频| 夜夜嗨av一区二区三区 | 精品福利在线导航| 亚洲黄网站在线观看| 国产在线一区二区综合免费视频| 91一区在线观看| 久久久高清一区二区三区| 亚洲国产日韩综合久久精品| 国产盗摄视频一区二区三区| 欧美精品久久天天躁| 中文字幕中文乱码欧美一区二区| 蜜臀久久99精品久久久久久9 | 国产欧美日韩不卡| 蜜臀a∨国产成人精品| 91免费在线视频观看| 国产亚洲精品资源在线26u| 日本中文字幕一区二区有限公司| 97久久精品人人做人人爽 | 日韩极品在线观看| 一本到一区二区三区| 欧美极品美女视频| jvid福利写真一区二区三区| 日韩三级av在线播放| 亚洲国产欧美在线| 色综合久久中文字幕| 国产精品人成在线观看免费| 精品制服美女久久| 日韩免费看网站| 日av在线不卡| 9191精品国产综合久久久久久| 亚洲最新视频在线观看| av一区二区久久| 日本一区二区三区免费乱视频| 久久精品国产亚洲一区二区三区 | 亚洲人123区| 大美女一区二区三区| 久久精品视频在线免费观看| 久久福利资源站| 欧美电视剧免费观看| 美国一区二区三区在线播放| 在线播放中文字幕一区| 天堂资源在线中文精品| 欧美在线你懂的| 亚洲国产综合人成综合网站| 在线观看免费视频综合| 亚洲欧美日韩系列| 色妞www精品视频| 亚洲色图视频网| 在线视频一区二区免费| 亚洲午夜私人影院| 精品视频在线免费| 五月综合激情日本mⅴ| 91精品国产麻豆国产自产在线| 日韩国产精品久久久久久亚洲| 91精品国产入口| 久久99最新地址| 国产亚洲一区字幕| eeuss影院一区二区三区| 亚洲欧洲国产日韩| av欧美精品.com| 一区二区三区在线视频免费| 欧美色综合网站| 蜜臀久久久99精品久久久久久| 精品久久久久99| 成人一区在线观看| 一区二区三区蜜桃| 宅男噜噜噜66一区二区66| 九九国产精品视频| 国产欧美精品一区二区色综合 | 久久99九九99精品| www国产精品av| 99麻豆久久久国产精品免费优播| 亚洲欧美日韩国产综合| 欧美另类变人与禽xxxxx| 久久精品99国产精品日本| 欧美激情一区二区三区| 一本一本久久a久久精品综合麻豆| 五月天久久比比资源色| 26uuu久久天堂性欧美| 99精品国产一区二区三区不卡| 亚洲风情在线资源站| 久久免费看少妇高潮| 一本一道综合狠狠老| 美日韩黄色大片| 国产精品视频看| 欧美日韩一区视频| 国内精品视频一区二区三区八戒| 欧美激情一区二区三区| 欧美人成免费网站| 国产福利一区二区| 亚洲一卡二卡三卡四卡五卡| 精品免费视频一区二区| 日本黄色一区二区| 精品制服美女久久| 亚洲伊人色欲综合网| 久久精品日韩一区二区三区| 色综合久久久网| 国产精品一二三四| 午夜精品久久久久久久蜜桃app| 久久精品一区二区三区不卡牛牛 | 日韩不卡在线观看日韩不卡视频| 久久久噜噜噜久噜久久综合| 91福利资源站| 国产成人在线视频网址| 视频一区二区中文字幕| 国产精品色噜噜| 精品美女一区二区| 欧美视频在线一区二区三区 | 麻豆91免费观看| 亚洲丝袜制服诱惑| 久久九九久久九九| 91精品国产色综合久久不卡蜜臀| 97精品国产97久久久久久久久久久久| 久久国产精品72免费观看| 亚洲韩国精品一区| 最近日韩中文字幕| 久久久午夜精品| 制服丝袜国产精品| 在线免费视频一区二区| www.亚洲色图.com| 国产精品综合一区二区三区| 男人的天堂久久精品| 亚洲一区二区三区四区在线| 亚洲欧美在线另类| 中文字幕精品综合| 久久―日本道色综合久久| 日韩午夜小视频| 91精品国模一区二区三区| 日本二三区不卡| 色综合久久88色综合天天| 成人听书哪个软件好| 国产精品一区二区在线播放| 久久91精品国产91久久小草 | 91在线视频在线| 成人动漫在线一区| 成人综合婷婷国产精品久久| 国产精品一区二区男女羞羞无遮挡| 秋霞国产午夜精品免费视频| 午夜久久久久久| 亚洲成人高清在线| 午夜精品福利在线| 亚洲va韩国va欧美va精品| 亚洲福利一区二区三区|