示例#1
0
void c_Continuation::t_next() {
  INSTANCE_METHOD_INJECTION_BUILTIN(Continuation, Continuation::next);
  const_assert(!hhvm);
  preNext();
  m_received.setNull();
  nextImpl(fi);
}
示例#2
0
void c_Continuation::t_send(CVarRef v) {
  INSTANCE_METHOD_INJECTION_BUILTIN(Continuation, Continuation::send);
  const_assert(!hhvm);
  nextCheck();
  m_received.assignVal(v);
  nextImpl(fi);
}
示例#3
0
void c_Continuation::t_raise(CVarRef v) {
  INSTANCE_METHOD_INJECTION_BUILTIN(Continuation, Continuation::raise);
  const_assert(!hhvm);
  nextCheck();
  m_received.assignVal(v);
  m_should_throw = true;
  nextImpl(fi);
}
void WriteBufferValidUTF8::finish()
{
    /// Write all complete sequences from buffer.
    nextImpl();

    /// If unfinished sequence at end, then write replacement.
    if (working_buffer.begin() != memory.data())
        putReplacement();
}
void WriteBufferValidUTF8::finish()
{
	/// Выпишем все полные последовательности из буфера.
	nextImpl();

	/// Если осталась незаконченная последовательность, запишем replacement.
	if (working_buffer.begin() != &memory[0])
		putReplacement();
}
示例#6
0
HexWriteBuffer::~HexWriteBuffer()
{
    try
    {
        nextImpl();
    }
    catch (...)
    {
        tryLogCurrentException(__PRETTY_FUNCTION__);
    }
}
 CAS& EngineBase::next() {
     try {
         util::Trace clTrace(util::enTraceDetailLow, UIMA_TRACE_ORIGIN, UIMA_TRACE_COMPID_ENGINE);
         /** why do this (bi)
         if (!checkAndSetCallingSequenceProcess()) {
            logError(clTrace, UIMA_ERR_ENGINE_INVALID_CALLING_SEQUENCE);
         } **/
         return nextImpl();
     } catch (Exception& rclException) {
         getAnnotatorContext().getLogger().logError(rclException.getErrorInfo());
         //return rclException.getErrorInfo().getErrorId();
         throw rclException;
     }
 }
示例#8
0
void Tree::next(void *&p) const
{
    nextImpl(p);
}
示例#9
0
void TreeInterface::next(void *&ptr)
{
    nextImpl(ptr);
}