org.omg.CORBA.portable.InputStream.read_float_array()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(169)

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

InputStream.read_float_array介绍

暂无

代码示例

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation read_float_array
 */
public void read_float_array( org.omg.CORBA.FloatSeqHolder seq, int offset, int length )
{
  delegate.read_float_array( seq.value, offset, length );
}

代码示例来源:origin: org.jppf/jppf-jmxremote_optional

@Override
public void read_float_array(final float[] value, final int offset, final int length) {
 in.read_float_array(value, offset, length);
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public static float[] read (org.omg.CORBA.portable.InputStream istream)
{
  float value[] = null;
  int _len0 = istream.read_long ();
  value = new float[_len0];
  istream.read_float_array (value, 0, _len0);
  return value;
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public static float[]
read(org.omg.CORBA.portable.InputStream in)
{
  float[] _ob_v;
  int len0 = in.read_ulong();
  _ob_v = new float[len0];
  in.read_float_array(_ob_v, 0, len0);
  return _ob_v;
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public static float[] read (final org.omg.CORBA.portable.InputStream _in)
{
  float[] _result;
  int _l_result39 = _in.read_long();
  try
  {
     int x = _in.available();
     if ( x > 0 && _l_result39 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result39);
      }
  }
  catch (java.io.IOException e)
  {
  }
  _result = new float[_l_result39];
  _in.read_float_array(_result,0,_l_result39);
  return _result;
}

代码示例来源:origin: JacORB/JacORB

public static float[] read (final org.omg.CORBA.portable.InputStream _in)
{
  float[] _result;
  int _l_result39 = _in.read_long();
  try
  {
     int x = _in.available();
     if ( x > 0 && _l_result39 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result39);
      }
  }
  catch (java.io.IOException e)
  {
  }
  _result = new float[_l_result39];
  _in.read_float_array(_result,0,_l_result39);
  return _result;
}

代码示例来源:origin: apache/cxf

stream.read_float_array(values, 0, arraySize);
val = values;
break;

相关文章