当前位置: 首页>>代码示例>>C++>>正文


C++ PrintStream::print方法代码示例

本文整理汇总了C++中PrintStream::print方法的典型用法代码示例。如果您正苦于以下问题:C++ PrintStream::print方法的具体用法?C++ PrintStream::print怎么用?C++ PrintStream::print使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PrintStream的用法示例。


在下文中一共展示了PrintStream::print方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: dump

void LargeAllocation::dump(PrintStream& out) const
{
    out.print(RawPointer(this), ":(cell at ", RawPointer(cell()), " with size ", m_cellSize, " and attributes ", m_attributes, ")");
}
开发者ID:mjparme,项目名称:openjdk-jfx,代码行数:4,代码来源:LargeAllocation.cpp

示例2: dump

void FloatRect::dump(PrintStream& out) const
{
    out.print(location(), " ", size());
}
开发者ID:CannedFish,项目名称:webkitgtk,代码行数:4,代码来源:FloatRect.cpp

示例3: RawPointer

void ShadowChicken::Frame::dump(PrintStream& out) const
{
    out.print(
        "{callee = ", RawPointer(callee), ", frame = ", RawPointer(frame), ", isTailDeleted = ",
        isTailDeleted, "}");
}
开发者ID:emutavchi,项目名称:WebKitForWayland,代码行数:6,代码来源:ShadowChicken.cpp

示例4: printInternal

void printInternal(PrintStream& out, JSC::ExitKind kind)
{
    out.print(exitKindToString(kind));
}
开发者ID:nickooms,项目名称:webkit,代码行数:4,代码来源:ExitKind.cpp

示例5: dumpMeta

void ControlValue::dumpMeta(CommaPrinter& comma, PrintStream& out) const
{
    for (FrequentedBlock successor : m_successors)
        out.print(comma, successor);
}
开发者ID:LuXiong,项目名称:webkit,代码行数:5,代码来源:B3ControlValue.cpp

示例6:

void SSACalculator::Variable::dump(PrintStream& out) const
{
    out.print("var", m_index);
}
开发者ID:sinoory,项目名称:webv8,代码行数:4,代码来源:DFGSSACalculator.cpp

示例7: dump

void SSACalculator::dump(PrintStream& out) const
{
    out.print("<Variables: [");
    CommaPrinter comma;
    for (unsigned i = 0; i < m_variables.size(); ++i) {
        out.print(comma);
        m_variables[i].dumpVerbose(out);
    }
    out.print("], Defs: [");
    comma = CommaPrinter();
    for (Def* def : const_cast<SSACalculator*>(this)->m_defs)
        out.print(comma, *def);
    out.print("], Phis: [");
    comma = CommaPrinter();
    for (Def* def : const_cast<SSACalculator*>(this)->m_phis)
        out.print(comma, *def);
    out.print("], Block data: [");
    comma = CommaPrinter();
    for (BlockIndex blockIndex = 0; blockIndex < m_graph.numBlocks(); ++blockIndex) {
        BasicBlock* block = m_graph.block(blockIndex);
        if (!block)
            continue;
        
        out.print(comma, *block, "=>(");
        out.print("Defs: {");
        CommaPrinter innerComma;
        for (auto entry : m_data[block].m_defs)
            out.print(innerComma, *entry.key, "->", *entry.value);
        out.print("}, Phis: {");
        innerComma = CommaPrinter();
        for (Def* def : m_data[block].m_phis)
            out.print(innerComma, *def);
        out.print("})");
    }
    out.print("]>");
}
开发者ID:sinoory,项目名称:webv8,代码行数:36,代码来源:DFGSSACalculator.cpp

示例8: dumpInContext

void MultiGetByOffsetCase::dumpInContext(PrintStream& out, DumpContext* context) const
{
    out.print(inContext(m_set.toStructureSet(), context), ":", inContext(m_method, context));
}
开发者ID:mjparme,项目名称:openjdk-jfx,代码行数:4,代码来源:DFGMultiGetByOffsetData.cpp

示例9: dumpBriefFunctionInformation

void InlineCallFrame::dumpBriefFunctionInformation(PrintStream& out) const
{
    out.print(inferredName(), "#", hash());
}
开发者ID:604339917,项目名称:JavaScriptCore-iOS-1,代码行数:4,代码来源:CodeOrigin.cpp

示例10: dumpMeta

void UpsilonValue::dumpMeta(PrintStream& out) const
{
    out.print("^", m_phi->index());
}
开发者ID:happyyang,项目名称:webkit,代码行数:4,代码来源:B3UpsilonValue.cpp

示例11: dump

void PageCount::dump(PrintStream& out) const
{
    out.print(String::number(bytes()), "B");
}
开发者ID:caiolima,项目名称:webkit,代码行数:4,代码来源:WasmPageCount.cpp

示例12: printInternal

void printInternal(PrintStream& out, MacroAssembler::DoubleCondition cond)
{
    switch (cond) {
    case MacroAssembler::DoubleEqual:
        out.print("DoubleEqual");
        return;
    case MacroAssembler::DoubleNotEqual:
        out.print("DoubleNotEqual");
        return;
    case MacroAssembler::DoubleGreaterThan:
        out.print("DoubleGreaterThan");
        return;
    case MacroAssembler::DoubleGreaterThanOrEqual:
        out.print("DoubleGreaterThanOrEqual");
        return;
    case MacroAssembler::DoubleLessThan:
        out.print("DoubleLessThan");
        return;
    case MacroAssembler::DoubleLessThanOrEqual:
        out.print("DoubleLessThanOrEqual");
        return;
    case MacroAssembler::DoubleEqualOrUnordered:
        out.print("DoubleEqualOrUnordered");
        return;
    case MacroAssembler::DoubleNotEqualOrUnordered:
        out.print("DoubleNotEqualOrUnordered");
        return;
    case MacroAssembler::DoubleGreaterThanOrUnordered:
        out.print("DoubleGreaterThanOrUnordered");
        return;
    case MacroAssembler::DoubleGreaterThanOrEqualOrUnordered:
        out.print("DoubleGreaterThanOrEqualOrUnordered");
        return;
    case MacroAssembler::DoubleLessThanOrUnordered:
        out.print("DoubleLessThanOrUnordered");
        return;
    case MacroAssembler::DoubleLessThanOrEqualOrUnordered:
        out.print("DoubleLessThanOrEqualOrUnordered");
        return;
    }

    RELEASE_ASSERT_NOT_REACHED();
}
开发者ID:LuXiong,项目名称:webkit,代码行数:43,代码来源:file.cpp

示例13: dumpSpillInfo

void VariableEvent::dumpSpillInfo(const char* name, PrintStream& out) const
{
    out.print(name, "(", id(), ", ", spillRegister(), ", ", dataFormatToString(dataFormat()), ")");
}
开发者ID:B-Stefan,项目名称:webkit,代码行数:4,代码来源:DFGVariableEvent.cpp

示例14: printInternal

void printInternal(PrintStream& out, UseKind useKind)
{
    switch (useKind) {
    case UntypedUse:
        out.print("Untyped");
        break;
    case Int32Use:
        out.print("Int32");
        break;
    case KnownInt32Use:
        out.print("KnownInt32");
        break;
    case Int52RepUse:
        out.print("Int52Rep");
        break;
    case MachineIntUse:
        out.print("MachineInt");
        break;
    case NumberUse:
        out.print("Number");
        break;
    case DoubleRepUse:
        out.print("DoubleRep");
        break;
    case DoubleRepRealUse:
        out.print("DoubleRepReal");
        break;
    case DoubleRepMachineIntUse:
        out.print("DoubleRepMachineInt");
        break;
    case BooleanUse:
        out.print("Boolean");
        break;
    case CellUse:
        out.print("Cell");
        break;
    case KnownCellUse:
        out.print("KnownCell");
        break;
    case ObjectUse:
        out.print("Object");
        break;
    case FinalObjectUse:
        out.print("FinalObject");
        break;
    case ObjectOrOtherUse:
        out.print("ObjectOrOther");
        break;
    case StringIdentUse:
        out.print("StringIdent");
        break;
    case StringUse:
        out.print("String");
        break;
    case KnownStringUse:
        out.print("KnownString");
        break;
    case StringObjectUse:
        out.print("StringObject");
        break;
    case StringOrStringObjectUse:
        out.print("StringOrStringObject");
        break;
    case NotStringVarUse:
        out.print("NotStringVar");
        break;
    case NotCellUse:
        out.print("NotCell");
        break;
    case OtherUse:
        out.print("Other");
        break;
    case MiscUse:
        out.print("Misc");
        break;
    default:
        RELEASE_ASSERT_NOT_REACHED();
        break;
    }
}
开发者ID:agilehands,项目名称:JavaScriptCore-iOS,代码行数:80,代码来源:DFGUseKind.cpp

示例15: dump

void Compilation::dump(PrintStream& out) const
{
    out.print("Comp", m_uid);
}
开发者ID:mjparme,项目名称:openjdk-jfx,代码行数:4,代码来源:ProfilerCompilation.cpp


注:本文中的PrintStream::print方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。