water.H2O.fail()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(138)

本文整理了Java中water.H2O.fail()方法的一些代码示例,展示了H2O.fail()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。H2O.fail()方法的具体详情如下:
包路径:water.H2O
类名称:H2O
方法名:fail

H2O.fail介绍

暂无

代码示例

代码示例来源:origin: h2oai/h2o-3

@Override protected int size() { throw H2O.fail(); }
@Override protected int numNodes() { throw H2O.fail(); }

代码示例来源:origin: h2oai/h2o-3

@Override protected AutoBuffer compress(AutoBuffer ab, AutoBuffer abAux) { throw H2O.fail(); }
@Override protected int size() { throw H2O.fail(); }

代码示例来源:origin: h2oai/h2o-3

@Override protected int numNodes() { throw H2O.fail(); }
}

代码示例来源:origin: h2oai/h2o-2

@Override
public Value chunkIdx( int cidx ) { throw H2O.fail(); }
@Override

代码示例来源:origin: h2oai/h2o-2

@Override
public long length() { throw H2O.fail(); }
@Override

代码示例来源:origin: h2oai/h2o-2

@Override
public int nChunks() { throw H2O.fail(); }
@Override

代码示例来源:origin: h2oai/h2o-2

@Override
public int elem2ChunkIdx(long i) { throw H2O.fail(); }
@Override

代码示例来源:origin: h2oai/h2o-2

@Override boolean hasFloat() { throw H2O.fail(); }
@Override public String toString() { return "NewChunk._sparseLen="+_sparseLen; }

代码示例来源:origin: h2oai/h2o-2

double op( double d ) { throw H2O.fail(); }
protected ASTUniOp( String[] vars, Type[] types, int form, int precedence, int association ) {

代码示例来源:origin: h2oai/h2o-2

@Override public AutoBuffer write(AutoBuffer bb) { throw H2O.fail(); }
@Override public Chunk read(AutoBuffer bb)       { throw H2O.fail(); }

代码示例来源:origin: h2oai/h2o-2

@Override public Chunk read(AutoBuffer bb)       { throw H2O.fail(); }
}

代码示例来源:origin: h2oai/h2o-2

@Override protected AutoBuffer compress(AutoBuffer ab) { throw H2O.fail(); }
@Override protected int size() { throw H2O.fail(); }

代码示例来源:origin: h2oai/h2o-2

@Override
public long chunk2StartElem( int cidx ) { throw H2O.fail(); }

代码示例来源:origin: h2oai/h2o-2

@Override protected int size() { throw H2O.fail(); }
}

代码示例来源:origin: h2oai/h2o-2

@Override public HTTP500V1 fillInto( Handler h ) { throw H2O.fail(); }
@Override public HTTP500V1 fillFrom( Handler h ) { throw H2O.fail(); }

代码示例来源:origin: h2oai/h2o-2

@Override public HTTP500V1 fillFrom( Handler h ) { throw H2O.fail(); }
}

代码示例来源:origin: h2oai/h2o-3

public void do_not_split( ) {
 if( _pid == NO_PARENT) return; // skip root
 DecidedNode dn = _tree.decided(_pid);
 for( int i=0; i<dn._nids.length; i++ )
  if( dn._nids[i]==_nid )
   { dn._nids[i] = ScoreBuildHistogram.UNDECIDED_CHILD_NODE_ID; return; }
 throw H2O.fail();
}

代码示例来源:origin: h2oai/h2o-2

public void do_not_split( ) {
 if( _pid == -1 ) return; // skip root
 DecidedNode dn = _tree.decided(_pid);
 for( int i=0; i<dn._nids.length; i++ )
  if( dn._nids[i]==_nid )
   { dn._nids[i] = -1; return; }
 throw H2O.fail();
}

代码示例来源:origin: h2oai/h2o-2

@Override protected ModelBuildersMetadataV1 schema(int version) {
  switch (version) {
  case 1:
   return new ModelBuildersMetadataV1();
  default:
   throw H2O.fail("Unknown schema version: " + version + " for handler class: " + this.getClass());
  }
 }
}

代码示例来源:origin: h2oai/h2o-2

protected byte atb(int idx) {
 int vpb = 8 / _bpv;  // values per byte
 int bix = OFF + idx / vpb; // byte index
 int off = _bpv * (idx % vpb);
 byte b   = _mem[bix];
 switch( _bpv ) {
  case 1: return read1b(b, off);
  case 2: return read2b(b, off);
  default: H2O.fail();
 }
 return -1;
}
@Override boolean set_impl(int idx, long l)   { return false; }

相关文章