Java 类org.apache.lucene.util.packed.PackedInts.Decoder 实例源码

项目:lams    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:search    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:NYBC    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:lucure-core    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:read-open-source-code    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:read-open-source-code    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:read-open-source-code    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}
项目:Maskana-Gestor-de-Conocimiento    文件:ForUtil.java   
/**
 * Compute the number of iterations required to decode <code>BLOCK_SIZE</code>
 * values with the provided {@link Decoder}.
 */
private static int computeIterations(PackedInts.Decoder decoder) {
  return (int) Math.ceil((float) BLOCK_SIZE / decoder.byteValueCount());
}