com.thomsonreuters.upa.codec.Vector.decode()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(218)

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

Vector.decode介绍

[英]Decode Vector.
[中]解码向量。

代码示例

代码示例来源:origin: Refinitiv/Elektron-SDK

private int decodeVector(DecodeIterator dIter, DataDictionary dictionary)
  int ret = fidVectorValue.decode(dIter);
  if (ret < CodecReturnCodes.SUCCESS)

代码示例来源:origin: Refinitiv/Elektron-SDK

private int decodeVector(DecodeIterator dIter, DataDictionary dictionary)
  int ret = fidVectorValue.decode(dIter);
  if (ret < CodecReturnCodes.SUCCESS)

代码示例来源:origin: Refinitiv/Elektron-SDK

if ((retVal = vector.decode(decIter)) < CodecReturnCodes.SUCCESS)

代码示例来源:origin: Refinitiv/Elektron-SDK

private int decodeVector(DecodeIterator dIter, DataDictionary dictionary)
  int ret = fidVectorValue.decode(dIter);
  if (ret < CodecReturnCodes.SUCCESS)

代码示例来源:origin: Refinitiv/Elektron-SDK

ret = vec.decode(iterCopy);
if (ret == CodecReturnCodes.NO_DATA || ret < CodecReturnCodes.SUCCESS)
  return "";

代码示例来源:origin: Refinitiv/Elektron-SDK

dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.NO_DATA, vector.decode(dIter));
dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vector.decode(dIter));
dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(false, vector.checkHasSetDefs());
assertEquals(false, vector.checkHasSummaryData());
dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vector.decode(dIter));
dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vector.decode(dIter));
assertEquals(true, vector.checkHasSummaryData());
dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vector.decode(dIter));
dIter.clear();
dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());

代码示例来源:origin: Refinitiv/Elektron-SDK

retCode = _rsslVector.decode(_rsslDecodeIter);
switch (retCode)

代码示例来源:origin: Refinitiv/Elektron-SDK

assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(true, vector.checkHasPerEntryPermData());
assertEquals(true, vector.checkHasSetDefs());
       dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(),
                     Codec.minorVersion()));
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vectorEntry.decode(dIter));
       dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(),
                     Codec.minorVersion()));
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vectorEntry.decode(dIter));
       dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(),
                     Codec.minorVersion()));
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vectorEntry.decode(dIter));
       dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(),
                     Codec.minorVersion()));
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vectorEntry.decode(dIter));
       dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(),
                     Codec.minorVersion()));
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(CodecReturnCodes.INCOMPLETE_DATA, vectorEntry.decode(dIter));

代码示例来源:origin: Refinitiv/Elektron-SDK

public int decode(DecodeIterator dIter)
  int ret = vector.decode(dIter);
  if (ret != CodecReturnCodes.SUCCESS)

代码示例来源:origin: Refinitiv/Elektron-SDK

dIter.setBufferAndRWFVersion(buffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.SUCCESS, vec.decode(dIter));
assertEquals(DataTypes.OPAQUE, vec.containerType());

代码示例来源:origin: Refinitiv/Elektron-SDK

ret = vector.decode(dIter);
if (ret != CodecReturnCodes.SUCCESS
    && ret != CodecReturnCodes.BLANK_DATA)
ret = vector.decode(dIter);
if (ret != CodecReturnCodes.SUCCESS
    && ret != CodecReturnCodes.BLANK_DATA)

代码示例来源:origin: Refinitiv/Elektron-SDK

dIter.setBufferAndRWFVersion(mainEncodeBuffer, Codec.majorVersion(), Codec.minorVersion());
assertEquals(CodecReturnCodes.SUCCESS, vector.decode(dIter));
assertEquals(innerContainerType, vector.containerType());

相关文章