codesearch.isocpp.org by Andrew Tomazos.
Enter a valid C/C++ code snippet...
Searching for `<< static_cast<int>`
...
2489599 source files searched.
4824 matches found.
Here is a random sample of matches...
actcd19/main/d/deal.ii/deal.ii_9.0.1-1/source/grid/grid_out.cc:2039:
out << ',';
if (cell->active())
out << static_cast<int>(cell->subdomain_id());
else
out << 'X';
actcd19/main/o/ola/ola_0.10.7.nojsmin-1/plugins/artnet/ArtNetPort.cpp:176:
<< static_cast<int>(m_node->NetAddress()) << ":"
<< static_cast<int>(m_node->SubnetAddress()) << ":"
<< static_cast<int>(m_node->GetInputPortUniverse(PortId()));
return str.str();
}
actcd19/main/g/gnss-sdr/gnss-sdr_0.0.10-4/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.cc:472:
if (print_max_errs-- > 0)
{
std::cout << "offset " << i << " in1: " << static_cast<int>(t(((t *)(in1))[i])) << " in2: " << static_cast<int>(t(((t *)(in2))[i]));
std::cout << " tolerance was: " << tol << std::endl;
}
actcd19/main/l/lyx/lyx_2.3.2-1/src/mathed/InsetMathGrid.cpp:1159:
case CELL_BEGIN_OF_MULTICOLUMN:
os << "[cell colspan="
<< static_cast<int>(ncellcols(i)) << ' '
<< cell(i) << ']';
break;
actcd19/main/o/ola/ola_0.10.7.nojsmin-1/plugins/artnet/ArtNetNode.cpp:1142:
if (packet.net != m_net_address) {
OLA_DEBUG << "Received ArtTodRequest for net "
<< static_cast<int>(packet.net)
<< " which doesn't match our net address "
<< static_cast<int>(m_net_address) << ", discarding";
actcd19/main/k/kodi/kodi_17.6+dfsg1-4/xbmc/video/VideoInfoTag.cpp:399:
ar << dynamic_cast<IArchivable&>(m_streamDetails);
ar << m_showLink;
ar << static_cast<int>(m_namedSeasons.size());
for (const auto& namedSeason : m_namedSeasons)
{
actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/media/webrtc/trunk/webrtc/modules/video_coding/codec_database.cc:535:
uint8_t payload_type = frame.PayloadType();
LOG(LS_INFO) << "Initializing decoder with payload type '"
<< static_cast<int>(payload_type) << "'.";
assert(new_codec);
const VCMDecoderMapItem* decoder_item = FindDecoderItem(payload_type);
actcd19/main/c/chromium/chromium_72.0.3626.121-1/third_party/blink/renderer/platform/graphics/gpu/xr_webgl_drawing_buffer.cc:152:
}
DVLOG(2) << __FUNCTION__
<< ": anti_aliasing_mode_=" << static_cast<int>(anti_aliasing_mode_);
storage_texture_supported_ =
actcd19/main/libs/libsidplayfp/libsidplayfp_1.8.8-1/utils/MD5/MD5.cpp:79:
cout << "MD5 (\"" << test[i] << "\") = ";
for (int di = 0; di < 16; ++di)
cout << hex << setw(2) << setfill('0') << static_cast<int>(myMD5.getDigest()[di]);
cout << endl;
}
actcd19/main/v/vtk7/vtk7_7.1.1+dfsg1-12/Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:1101:
<< " fill=\"rgb(" << std::setprecision(0)
<< static_cast<int>(rgba[0]) << ","
<< static_cast<int>(rgba[1]) << ","
<< static_cast<int>(rgba[2])
<< std::setprecision(floatPrec) << ")\"" << endl;
actcd19/main/o/orthanc-wsi/orthanc-wsi_0.6-2/Applications/Dicomizer.cpp:197:
{
LOG(WARNING) << "Target image compression: Jpeg with quality "
<< static_cast<int>(target.GetJpegQuality());
target.SetJpegQuality(target.GetJpegQuality());
}
actcd19/main/libr/libreoffice/libreoffice_5.4.3-4/sc/source/core/data/column2.cxx:1665:
break;
case sc::FormulaResultValue::Error:
cout << "error (" << static_cast<int>(aRes.mnError) << ")";
break;
case sc::FormulaResultValue::Invalid:
actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/sdext/source/pdfimport/pdfparse/pdfentries.cxx:1367:
aTmp += " " + OUString::number(static_cast<unsigned int>(sal_uInt8(aEnt[i])), 16);
SAL_WARN("sdext.pdfimport.pdfparse",
"O entry has length " << static_cast<int>(aEnt.getLength()) << ", should be 32 <" << aTmp << ">" );
}
#endif
actcd19/main/libp/libphonenumber/libphonenumber_7.1.0-2/cpp/src/phonenumbers/phonenumberutil.cc:1691:
} else {
LOG(ERROR) << "Error parsing example number ("
<< static_cast<int>(success) << ")";
}
}
actcd19/main/libo/libosl/libosl_0.8.0-1.4/sample/rating/ratingstat.cc:381:
for (int j=0; j<sc_length_2d; ++j) {
// os << std::setw(5) << std::setprecision(3) << variance[i*sc_length_2d+j].getAverage();
os << std::setw(5) << static_cast<int>(variance[i*sc_length_2d+j].average());
}
os << "\n";
actcd19/main/v/valentina/valentina_0.6.1~dfsg-9/.pc/02019-01-02T15:58:59+02:00~ca3d26256.patch/src/test/ValentinaTest/tst_findpoint.cpp:115:
QTest::newRow("Two intersection points (lowest point, leftmost point)") << points1 << points2
<< static_cast<int>(v)
<< static_cast<int>(h) << p;
h = HCrossCurvesPoint::RightmostPoint;
actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/signin/core/browser/signin_metrics.cc:956:
NOTREACHED() << "Signin_Impression_From* user actions"
<< " are not recorded for access point "
<< static_cast<int>(access_point);
break;
case AccessPoint::ACCESS_POINT_MAX:
actcd19/main/k/kitemmodels/kitemmodels_5.37.0-2/autotests/kselectionproxymodeltest.cpp:217:
QTest::newRow(QByteArray("test" + QByteArray::number(testNumber)).data())
<< static_cast<int>(KSelectionProxyModel::SubTreesWithoutRoots)
<< QStringList{"3", "9", "11", "15"} << 6
<< 1
actcd19/main/o/openscenegraph-3.4/openscenegraph-3.4_3.4.1+dfsg1-5/src/osgPlugins/trk/ReaderWriterTRK.cpp:243:
OSG_NOTICE<<"swap_xy="<<static_cast<int>(header.swap_xy)<<std::endl;
OSG_NOTICE<<"swap_yz="<<static_cast<int>(header.swap_yz)<<std::endl;
OSG_NOTICE<<"swap_zx="<<static_cast<int>(header.swap_zx)<<std::endl;
OSG_NOTICE<<"n_count="<<header.n_count<<std::endl;
OSG_NOTICE<<"hdr_size="<<header.hdr_size<<std::endl;
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/third_party/webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.cc:76:
if (shift_overflow) {
RTC_LOG(LS_ERROR) << "Invalid remb bitrate value : " << mantissa << "*2^"
<< static_cast<int>(exponenta);
return false;
}
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.11.3+dfsg-5/tests/auto/corelib/itemmodels/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp:353:
for (int i = 10000; i < 20000; ++i)
list.append(QStringLiteral("Number: ") + QString::number(i));
QTest::newRow("large set ascending") << static_cast<int>(Qt::AscendingOrder) << int(Qt::CaseSensitive) << list << list;
}
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.11.3+dfsg-5/tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp:1215:
<< (IntList() << 1);
QTest::newRow("(a, c, b) + (d) = (a, b, c, d)")
<< static_cast<int>(Qt::AscendingOrder)
<< (QStringList() << "a" << "c" << "b")
<< (QStringList() << "d")
actcd19/main/p/pcl/pcl_1.8.1+dfsg1-1/common/src/point_types.cpp:121:
<< static_cast<int>(p.r) << ","
<< static_cast<int>(p.g) << ","
<< static_cast<int>(p.b) << " - "
<< p.label << ")";
return (os);
actcd19/main/i/imagevis3d/imagevis3d_3.1.0-7/BatchRenderer/CGLContext.cpp:67:
if (glerr != kCGLNoError)
{
std::cerr << "CGL pixel format error: " << static_cast<int>(glerr);
throw std::runtime_error("CGL error.");
}
actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/Qt/Widgets/Testing/Cxx/pqTextEditTest.cxx:166:
QTest::newRow("editingFinished: Key_Return and ALT")
<< 1 << 1 << text << text << static_cast<int>(Qt::Key_Return)
<< static_cast<int>(Qt::AltModifier) << false;
QTest::newRow("editingFinished: Key_Enter and CTRL")
<< 1 << 1 << text << text << static_cast<int>(Qt::Key_Enter)
actcd19/main/a/android-platform-art/android-platform-art_8.1.0+r23-3/runtime/gc/heap.cc:3181:
} else if (use_rem_sets && rem_set != nullptr) {
DCHECK(collector::SemiSpace::kUseRememberedSet && collector_type_ == kCollectorTypeGSS)
<< static_cast<int>(collector_type_);
TimingLogger::ScopedTiming t2("AllocSpaceRemSetClearCards", timings);
rem_set->ClearCards();
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.10.1+dfsg-5/tests/auto/widgets/itemviews/qtreewidget/tst_qtreewidget.cpp:2486:
<< true;
QTest::newRow("change 3rd c to c in (e, c, c, c, a)")
<< static_cast<int>(Qt::DescendingOrder)
<< (QStringList() << "e" << "c" << "c" << "c" << "a")
<< 3 << "c"
actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx:488:
strm << "rgba: redSize=" << static_cast<int>(pfd.cRedBits) << " greenSize=" << static_cast<int>(pfd.cGreenBits) << "blueSize=" << static_cast<int>(pfd.cBlueBits) << "alphaSize=" << static_cast<int>(pfd.cAlphaBits) << endl;
strm << "aux buffers: " << static_cast<int>(pfd.cAuxBuffers)<< endl;
strm << "depth size: " << static_cast<int>(pfd.cDepthBits) << endl;
strm << "stencil size: " << static_cast<int>(pfd.cStencilBits) << endl;
strm << "accum: redSize=" << static_cast<int>(pfd.cAccumRedBits) << " greenSize=" << static_cast<int>(pfd.cAccumGreenBits) << "blueSize=" << static_cast<int>(pfd.cAccumBlueBits) << "alphaSize=" << static_cast<int>(pfd.cAccumAlphaBits) << endl;
actcd19/main/f/firefox/firefox_65.0.1-1/media/webrtc/trunk/webrtc/modules/video_capture/windows/device_info_ds.cc:589:
RTC_LOG(LS_INFO) << "Camera capability, width:" << capability.width
<< " height:" << capability.height
<< " type:" << static_cast<int>(capability.videoType)
<< " fps:" << capability.maxFPS;
}
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/media/formats/mp4/mp4_stream_parser.cc:369:
MEDIA_LOG(ERROR, media_log_)
<< "Unsupported audio object type 0x" << std::hex
<< static_cast<int>(audio_type) << " in esds.";
return false;
}
actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/url_pattern_index/url_pattern_index_unittest.cc:699:
<< "ElementTypes: " << static_cast<int>(rule_data.element_types)
<< "; ActivationTypes: "
<< static_cast<int>(rule_data.activation_types);
}
ASSERT_TRUE(AddUrlRule(MakeUrlRule(UrlPattern("exmpl.com", kSubstring))));
actcd19/main/o/ola/ola_0.10.7.nojsmin-1/plugins/spi/SPIBackend.cpp:389:
void SoftwareBackend::Commit(uint8_t output) {
if (output >= m_output_sizes.size()) {
OLA_WARN << "Invalid SPI output " << static_cast<int>(output);
return;
}
actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/viz/common/gl_scaler_overscan_pixeltest.cc:518:
for (const auto& tc : kTestCases) {
SCOPED_TRACE(testing::Message()
<< "shader=" << static_cast<int>(tc.shader)
<< ", scale_from=" << tc.scale_from.ToString()
<< ", scale_to=" << tc.scale_to.ToString());
actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/VTK/Rendering/GL2PS/vtkGL2PSUtilities.cxx:851:
<< " stroke=\"rgb(" << std::setprecision(0)
<< static_cast<int>(rgba[0]) << ","
<< static_cast<int>(rgba[1]) << ","
<< static_cast<int>(rgba[2])
<< std::setprecision(floatPrec) << ")\"" << endl;
actcd19/main/m/magics++/magics++_3.3.1-1/src/drivers/SVGDriver.cc:1127:
stream << "stroke=\"rgb("
<< static_cast<int>(currentColour_.red() *255) << ","
<< static_cast<int>(currentColour_.green()*255) << ","
<< static_cast<int>(currentColour_.blue() *255) << ")\""
<< " fill=\"rgb("
actcd19/main/k/kstars/kstars_3.0.0-1/kstars/indi/indicap.cpp:258:
{
argument.beginStructure();
argument << static_cast<int>(source);
argument.endStructure();
return argument;
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/content/browser/service_worker/service_worker_version.cc:624:
event_type == ServiceWorkerMetrics::EventType::MESSAGE ||
status() == ACTIVATED)
<< "Event of type " << static_cast<int>(event_type)
<< " can only be dispatched to an active worker: " << status();
actcd19/main/t/thunderbird/thunderbird_60.5.1-1/media/webrtc/trunk/webrtc/p2p/base/p2ptransportchannel.cc:1399:
LOG_J(LS_INFO, this) << "Transport channel state changed from "
<< static_cast<int>(state_) << " to "
<< static_cast<int>(state);
// Check that the requested transition is allowed. Note that
// P2PTransportChannel does not (yet) implement a direct mapping of the ICE
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.cc:197:
if (callback->OnInitializeDecoder(payload_type, ap.format, ap.rate) == -1) {
RTC_LOG(LS_ERROR) << "Failed to create decoder for payload type: "
<< payload_name << "/" << static_cast<int>(payload_type);
return -1;
}
actcd19/main/libr/libreoffice/libreoffice_5.4.3-4/sc/source/core/tool/token.cxx:511:
cout << " opcode: " << rToken.GetOpCode() << " " <<
formula::FormulaCompiler::GetNativeSymbol( rToken.GetOpCode()).toUtf8().getStr() << endl;
cout << " type: " << static_cast<int>(rToken.GetType()) << endl;
switch (rToken.GetType())
{
actcd19/main/c/chromium/chromium_72.0.3626.121-1/media/filters/jpeg_parser.cc:307:
if (scan->num_components != frame_header.num_components) {
DLOG(ERROR) << "The number of scan components ("
<< static_cast<int>(scan->num_components)
<< ") mismatches the number of image components ("
<< static_cast<int>(frame_header.num_components) << ")";
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.10.1+dfsg-5/tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp:1221:
<< (IntList() << 0 << 1 << 2);
QTest::newRow("(b, c, a) + (d) = (d, c, b, a)")
<< static_cast<int>(Qt::DescendingOrder)
<< (QStringList() << "b" << "c" << "a")
<< (QStringList() << "d")
actcd19/main/f/firefox/firefox_65.0.1-1/gfx/angle/checkout/src/libANGLE/renderer/d3d/DynamicHLSL.cpp:1065:
"\n"
"static float minPointSize = "
<< static_cast<int>(caps.minAliasedPointSize)
<< ".0f;\n"
"static float maxPointSize = "
actcd19/main/p/pcl/pcl_1.9.1+dfsg1-3/common/src/point_types.cpp:126:
{
os << "(" << p.x << "," << p.y << "," << p.z << " - "
<< static_cast<int>(p.r) << ","
<< static_cast<int>(p.g) << ","
<< static_cast<int>(p.b) << " - "
actcd19/main/o/opensurgsim/opensurgsim_0.7.0-8/SurgSim/Devices/LabJack/linux/LabJackScaffold.cpp:1176:
device->getName() << "'. The command bytes are wrong. Expected: " << static_cast<int>(sendBytes[1]) <<
", " << static_cast<int>(sendBytes[2]) << ", " << static_cast<int>(sendBytes[3]) << ". Received: " <<
static_cast<int>(readBytes[1]) << ", " << static_cast<int>(readBytes[2]) << ", " <<
static_cast<int>(readBytes[3]) << "." << std::endl <<
" labjackusb error code: " << errno << "." << std::endl;
actcd19/main/c/chromium/chromium_72.0.3626.121-1/chrome/common/extensions/chrome_extensions_client.cc:79:
return CHANNEL_STABLE;
}
NOTREACHED() << static_cast<int>(channel);
return CHANNEL_UNKNOWN;
}
actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/Qt/Widgets/Testing/Cxx/pqTextEditTest.cxx:143:
QTest::newRow("textChanged: Key_Return and CTRL")
<< 0 << text.length() << text << text << static_cast<int>(Qt::Key_Return)
<< static_cast<int>(Qt::ControlModifier) << false;
QTest::newRow("textChanged: Key_Return and ALT") << 0 << text.length() << text << text
<< static_cast<int>(Qt::Key_Return)
actcd19/main/libr/libreoffice/libreoffice_5.4.3-4/vcl/source/gdi/virdev.cxx:225:
mbForceZeroExtleadBug( false )
{
SAL_INFO( "vcl.virdev", "VirtualDevice::VirtualDevice( " << static_cast<int>(eFormat) << " )" );
ImplInitVirDev(&rCompDev, 0, 0, eFormat);
actcd19/main/o/ola/ola_0.10.7.nojsmin-1/libs/usb/JaRuleConstants.cpp:139:
os << "Unknown";
}
os << " (" << static_cast<int>(command_class) << ")";
return os;
}
actcd19/main/p/protobuf/protobuf_3.6.1.3-1/conformance/third_party/jsoncpp/jsoncpp.cpp:4189:
std::ostringstream oss;
oss << "\\u" << std::hex << std::uppercase << std::setfill('0')
<< std::setw(4) << static_cast<int>(*c);
result += oss.str();
} else {
actcd19/main/g/gpsshogi/gpsshogi_0.7.0-2/bin/gpsusi.cc:520:
os << "info time " << static_cast<int>(elapsed*1000)
<< " nodes " << node_count << " nps " << static_cast<int>(node_count/elapsed)
<< " hashfull " << static_cast<int>(memory*1000) << "\n";
}
if ((seconds*0.94-elapsed)*1000 < 110 || stop_checkmate)
actcd19/main/r/rtags/rtags_2.21-3/src/rct/rct/Serializer.h:203:
read(&byte, 1);
if (byte != sizeof(T)) {
error() << "Invalid size. Expected" << sizeof(T) << "got" << static_cast<int>(byte);
return false;
}
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.10.1+dfsg-5/tests/auto/widgets/itemviews/qtreewidget/tst_qtreewidget.cpp:2334:
<< false;
QTest::newRow("change a to b in (a, c)")
<< static_cast<int>(Qt::AscendingOrder)
<< (QStringList() << "a" << "c")
<< 0 << "b"
actcd19/main/c/clickhouse/clickhouse_18.16.1+ds-4/dbms/src/Storages/MergeTree/MergeTreeDataMergerMutator.cpp:298:
<< DiskSpaceMonitor::getReservationCount() << " chunks), "
<< formatReadableSizeWithBinarySuffix(sum_bytes)
<< " required now (+" << static_cast<int>((DISK_USAGE_COEFFICIENT_TO_SELECT - 1.0) * 100)
<< "% on overhead); suppressing similar warnings for the next hour");
}
actcd19/main/v/vtk7/vtk7_7.1.1+dfsg1-12/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx:485:
}
strm << "buffer size: " << static_cast<int>(pfd.cColorBits) << endl;
strm << "level: " << static_cast<int>(pfd.bReserved) << endl;
if (pfd.iPixelType == PFD_TYPE_RGBA)
{
actcd19/main/p/pingus/pingus_0.7.6-4/src/util/utf8.cpp:100:
else
{
log_error("UTF8: malformed UTF-8 sequence: " << static_cast<int>(c));
it += 1;
}
actcd19/main/c/chromium/chromium_72.0.3626.121-1/third_party/webrtc/modules/audio_device/android/audio_manager.cc:289:
<< ", input_channels: " << static_cast<int>(input_channels)
<< ", output_buffer_size: " << static_cast<int>(output_buffer_size)
<< ", input_buffer_size: " << static_cast<int>(input_buffer_size);
RTC_DCHECK(thread_checker_.CalledOnValidThread());
hardware_aec_ = hardware_aec;
actcd19/main/v/vdr-plugin-live/vdr-plugin-live_2.3.1-3/osd_status.cpp:145:
for (i = html.begin(); i != html.end(); ++i) {
if (*i >= 128)
result << "&#" << static_cast<int>(*i) << ";";
else if (*i == '<')
result << "<";
actcd19/main/a/android-platform-art/android-platform-art_8.1.0+r23-3/compiler/utils/arm64/managed_register_arm64.cc:96:
os << "DRegister: " << static_cast<int>(AsDRegister());
} else if (IsSRegister()) {
os << "SRegister: " << static_cast<int>(AsSRegister());
} else {
os << "??: " << RegId();
actcd19/main/m/mongodb/mongodb_3.4.18-2/src/mongo/db/ops/modifier_bit_test.cpp:342:
TEST(InPlace, IntToIntOrIsInPlace) {
Document doc(BSON("a" << static_cast<int>(1)));
Mod mod(BSON("$bit" << BSON("a" << BSON("or" << static_cast<int>(1)))));
actcd19/main/c/chromium/chromium_72.0.3626.121-1/chrome/common/media_router/mojo/media_router_struct_traits.h:327:
}
NOTREACHED() << "Unknown controller type "
<< static_cast<int>(controller_type);
return media_router::mojom::RouteControllerType::kNone;
}
actcd19/main/p/pcl/pcl_1.9.1+dfsg1-3/common/src/point_types.cpp:128:
<< static_cast<int>(p.r) << ","
<< static_cast<int>(p.g) << ","
<< static_cast<int>(p.b) << " - "
<< p.label << ")";
return (os);
actcd19/main/p/pcl/pcl_1.9.1+dfsg1-3/io/src/openni_grabber.cpp:399:
XnMapOutputMode actual_image_md;
if (!mapConfigMode2XnMode (image_mode, image_md) || !device_->findCompatibleImageMode (image_md, actual_image_md))
PCL_THROW_EXCEPTION (pcl::IOException, "could not find compatible image stream mode " << static_cast<int> (image_mode) );
XnMapOutputMode current_image_md = device_->getImageOutputMode ();
actcd19/main/l/llvm-toolchain-6.0/llvm-toolchain-6.0_6.0.1-10/lib/Target/AMDGPU/SIFoldOperands.cpp:716:
MRI->clearKillFlags(Fold.OpToFold->getReg());
}
DEBUG(dbgs() << "Folded source from " << MI << " into OpNo " <<
static_cast<int>(Fold.UseOpNo) << " of " << *Fold.UseMI << '\n');
tryFoldInst(TII, Fold.UseMI);
actcd19/main/i/insighttoolkit4/insighttoolkit4_4.12.2-dfsg1-4/Modules/Core/Common/test/itkSymmetricSecondRankTensorTest.cxx:92:
for (unsigned int i = 0; i < pixelArray[j].GetNumberOfComponents(); i++)
{
std::cout << "\tpixelArray[" << j << "].GetNthComponent(" << i << ") = " << static_cast<int>(pixelArray[j].GetNthComponent(i)) << std::endl;
}
}
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.10.1+dfsg-5/tests/auto/widgets/itemviews/qtablewidget/tst_qtablewidget.cpp:1230:
QTest::newRow("2x2 reorder (ascending, sortColumn = 1)")
<< 2 << 2
<< static_cast<int>(Qt::AscendingOrder) << 1
<< (QStringList()
<< "00" << "0"
actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/vcl/opengl/framebuffer.cxx:37:
void OpenGLFramebuffer::Bind(GLenum eTarget)
{
VCL_GL_INFO( "Binding framebuffer " << static_cast<int>(mnId) );
glBindFramebuffer(eTarget, mnId);
CHECK_GL_ERROR();
actcd19/main/v/valentina/valentina_0.6.1~dfsg-9/src/test/ValentinaTest/tst_findpoint.cpp:107:
QTest::newRow("Two intersection points (highest point, rightmost point)") << points1 << points2
<< static_cast<int>(v)
<< static_cast<int>(h) << p;
v = VCrossCurvesPoint::LowestPoint;
actcd19/main/o/openfoam/openfoam_1812+dfsg1-2/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamFieldTemplates.C:856:
<< "Convert face field: " << fld.name()
<< " size=" << faceLabels.size()
<< " nComp=" << static_cast<int>(pTraits<Type>::nComponents) << nl;
const fvMesh& mesh = fld.mesh();
actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/vcl/unx/gtk3/gtk3gtkdata.cxx:341:
default:
SAL_WARN( "vcl.gtk", "pointer " << static_cast<int>(ePointerStyle) << "not implemented" );
break;
}
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.11.3+dfsg-5/tests/auto/widgets/itemviews/qtreewidget/tst_qtreewidget.cpp:2527:
<< false;
QTest::newRow("change 1st c to d in (a, c, c, c, e)")
<< static_cast<int>(Qt::AscendingOrder)
<< (QStringList() << "a" << "c" << "c" << "c" << "e")
<< 1 << "d"
actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/VTK/IO/Legacy/vtkDataWriter.cxx:1860:
{
// currently writing vtkIdType as int
*fp << static_cast<int>(pts[j]) << " ";
}
*fp << "\n";
actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/FullWrtText.cxx:1369:
if (type & 0x200) {
// small int between 0 and 0x4f : ident ?
f << "f5=" << static_cast<int>(input->readLong(2)) << ",";
}
if (type & 0x100) {
actcd19/main/v/valentina/valentina_0.6.1~dfsg-9/.pc/02019-01-02T15:58:59+02:00~ca3d26256.patch/src/test/ValentinaTest/tst_findpoint.cpp:107:
QTest::newRow("Two intersection points (highest point, rightmost point)") << points1 << points2
<< static_cast<int>(v)
<< static_cast<int>(h) << p;
v = VCrossCurvesPoint::LowestPoint;
actcd19/main/p/pcl/pcl_1.8.0+dfsg1-6/common/src/point_types.cpp:99:
os << "(" << p.x << "," << p.y << "," << p.z << " - "
<< static_cast<int>(p.r) << ","
<< static_cast<int>(p.g) << ","
<< static_cast<int>(p.b) << ","
<< static_cast<int>(p.a) << ")";
actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/neteq_impl.cc:220:
rtc::CritScope lock(&crit_sect_);
LOG(LS_VERBOSE) << "RegisterPayloadType "
<< static_cast<int>(rtp_payload_type) << " "
<< static_cast<int>(codec);
int ret = decoder_database_->RegisterPayload(rtp_payload_type, codec, name);
actcd19/main/k/kitemmodels/kitemmodels_5.37.0-2/autotests/kselectionproxymodeltest.cpp:487:
QTest::newRow(QByteArray("test" + QByteArray::number(testNumber)).data())
<< static_cast<int>(kspm_mode) << connectSelectionModelFirst << emulateSingleSelectionMode
<< QStringList{"5"} << 0
<< 0
actcd19/main/p/pcl/pcl_1.9.1+dfsg1-3/common/src/point_types.cpp:54:
<< static_cast<int>(p.r) << ","
<< static_cast<int>(p.g) << ","
<< static_cast<int>(p.b) << ","
<< static_cast<int>(p.a) << ")";
return (os);
actcd19/main/b/boost1.67/boost1.67_1.67.0-13/libs/signals2/example/doc_view.cpp:95:
for (std::string::const_iterator it = s.begin(); it != s.end(); ++it)
std::cout << ' ' << std::hex << static_cast<int>(*it);
std::cout << std::endl;
actcd19/main/a/akonadi/akonadi_18.08.3-4/src/private/protocol.cpp:150:
Q_ASSERT(false);
return dbg << static_cast<int>(type);
}
actcd19/main/f/firefox/firefox_65.0.1-1/media/webrtc/trunk/webrtc/modules/video_coding/frame_buffer2.cc:189:
<< last_decoded_frame_timestamp_ << ":"
<< last_decoded_frame_key.picture_id << ":"
<< static_cast<int>(last_decoded_frame_key.spatial_layer) << ").";
}
}
actcd19/main/i/isc-kea/isc-kea_1.5.0-1/src/lib/cryptolink/openssl_hmac.cc:42:
if (algo == 0) {
isc_throw(UnsupportedAlgorithm,
"Unknown hash algorithm: " <<
static_cast<int>(hash_algorithm));
}
actcd19/main/h/horizon-eda/horizon-eda_0.20181108-1/src/router/pns_horizon_iface.cpp:151:
pt_b = horizon::PatchType::HOLE_NPTH;
std::cout << "pt " << static_cast<int>(pt_a) << " " << static_cast<int>(pt_b) << std::endl;
if (parent_a == &parent_dummy_outline || parent_b == &parent_dummy_outline) { // one is the board edge
actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.10.1+dfsg-5/tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp:997:
QTest::newRow("ascending order")
<< static_cast<int>(Qt::AscendingOrder)
<< (QStringList() << "c" << "d" << "a" << "b")
<< (QStringList() << "a" << "b" << "c" << "d")
actcd19/main/m/magics++/magics++_3.3.1-1/src/drivers/SVGDriver.cc:581:
<< static_cast<int>(currentColour_.red() *255) << ","
<< static_cast<int>(currentColour_.green()*255) << ","
<< static_cast<int>(currentColour_.blue() *255) << ")\""
<< " fill=\"none\"";
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/media/cast/net/rtp/framer.cc:45:
VLOG(1) << "InsertPacket frame:" << rtp_header.frame_id
<< " packet:" << static_cast<int>(rtp_header.packet_id)
<< " max packet:" << static_cast<int>(rtp_header.max_packet_id);
actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/Qt/Widgets/Testing/Cxx/pqTextEditTest.cxx:248:
<< static_cast<int>(Qt::Key_Return) << static_cast<int>(Qt::ShiftModifier) << true;
QTest::newRow("editingFinished: Key_Enter and SHIFT")
<< static_cast<int>(Qt::Key_Enter) << static_cast<int>(Qt::ShiftModifier) << true;
QTest::newRow("editingFinished: Key_Return and CTRL")
actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/vcl/source/window/debugevent.cxx:243:
SAL_INFO( "vcl.debugevent",
"Injected edit / move key 0x" << std::hex << static_cast<int>(aKeyEvent.mnCode) << std::dec
<< " -> " << bHandled
<< " win " << pWindow );
actcd19/main/k/khmer/khmer_2.1.2+dfsg-6/third-party/seqan/core/include/seqan/bam_io/bam_sam_conversion.h:508:
ss.str("");
__int8 y = *it++;
ss << static_cast<int>(y); // Cast to prevent textual interpretation.
append(target, ss.str());
}
actcd19/main/m/mongodb/mongodb_3.4.18-2/src/mongo/db/storage/key_string_test.cpp:1190:
std::vector<BSONObj> numbers;
for (uint64_t x = 0; x < kMinPerfSamples; x++)
numbers.push_back(BSON("" << static_cast<int>(expReal(gen))));
perfTest(version, numbers);
actcd19/main/p/pcl/pcl_1.8.1+dfsg1-1/common/src/point_types.cpp:422:
"(" << p.x << "," << p.y << "," << p.z << " - " <<
p.normal_x << "," << p.normal_y << "," << p.normal_z << " - "
<< static_cast<int>(p.r) << ","
<< static_cast<int>(p.g) << ","
<< static_cast<int>(p.b) << ","
actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/include/vcl/salbtype.hxx:140:
{
return rStream << "mcBlueOrIndex: " << static_cast<int>(rColor.GetBlueOrIndex()) << ", mcGreen: "
<< static_cast<int>(rColor.GetGreen()) << ", mcRed: " << static_cast<int>(rColor.GetRed()) << ", mbIndex: " << static_cast<int>(rColor.IsIndex());
}
actcd19/main/s/skrooge/skrooge_2.9.0-1/tests/skgbaseguitest/skgtestperiodedit.cpp:51:
QTest::newRow("LAST DAY") << static_cast<int>(SKGPeriodEdit::LAST) << static_cast<int>(SKGPeriodEdit::DAY) << 1 << QDate(2014, 12, 3) << QDate(2014, 12, 3) << QDate(2014, 12, 3);
QTest::newRow("LAST WEEK") << static_cast<int>(SKGPeriodEdit::LAST) << static_cast<int>(SKGPeriodEdit::WEEK) << 1 << QDate(2014, 12, 3) << QDate(2014, 11, 27) << QDate(2014, 12, 3);
QTest::newRow("LAST MONTH") << static_cast<int>(SKGPeriodEdit::LAST) << static_cast<int>(SKGPeriodEdit::MONTH) << 1 << QDate(2014, 12, 3) << QDate(2014, 11, 4) << QDate(2014, 12, 3);
QTest::newRow("LAST QUARTER") << static_cast<int>(SKGPeriodEdit::LAST) << static_cast<int>(SKGPeriodEdit::QUARTER) << 1 << QDate(2014, 12, 3) << QDate(2014, 9, 4) << QDate(2014, 12, 3);
QTest::newRow("LAST SEMESTER") << static_cast<int>(SKGPeriodEdit::LAST) << static_cast<int>(SKGPeriodEdit::SEMESTER) << 1 << QDate(2014, 12, 3) << QDate(2014, 6, 4) << QDate(2014, 12, 3);
actcd19/main/s/skrooge/skrooge_2.9.0-1/tests/skgbaseguitest/skgtestperiodedit.cpp:60:
QTest::newRow("PREVIOUS 2 MONTH") << static_cast<int>(SKGPeriodEdit::PREVIOUS) << static_cast<int>(SKGPeriodEdit::MONTH) << 2 << QDate(2014, 12, 3) << QDate(2014, 10, 1) << QDate(2014, 11, 30);
QTest::newRow("PREVIOUS 2 QUARTER") << static_cast<int>(SKGPeriodEdit::PREVIOUS) << static_cast<int>(SKGPeriodEdit::QUARTER) << 2 << QDate(2014, 12, 3) << QDate(2014, 4, 1) << QDate(2014, 9, 30);
QTest::newRow("PREVIOUS 2 SEMESTER") << static_cast<int>(SKGPeriodEdit::PREVIOUS) << static_cast<int>(SKGPeriodEdit::SEMESTER) << 2 << QDate(2014, 12, 3) << QDate(2013, 7, 1) << QDate(2014, 6, 30);
QTest::newRow("PREVIOUS 2 YEAR") << static_cast<int>(SKGPeriodEdit::PREVIOUS) << static_cast<int>(SKGPeriodEdit::YEAR) << 2 << QDate(2014, 12, 3) << QDate(2012, 1, 1) << QDate(2013, 12, 31);
actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/Qt/Widgets/Testing/Cxx/pqTextEditTest.cxx:227:
QTest::addColumn<bool>("focus");
QTest::newRow("textChanged: Key_A no modifier") << static_cast<int>(Qt::Key_A)
<< static_cast<int>(Qt::NoModifier) << true;
QTest::newRow("textChanged: Key_Return and SHIFT") << static_cast<int>(Qt::Key_Return)
actcd19/main/p/pdal/pdal_1.8.0+ds-1/vendor/pdalboost/boost/date_time/date_generators.hpp:296:
<< static_cast<int>(month_) << '.'
<< 1 << '.'
<< static_cast<int>(dow_);
return ss.str();
}
actcd19/main/c/clickhouse/clickhouse_18.16.1+ds-4/libs/libmysqlxx/include/mysqlxx/Manip.h:46:
std::ostream & operator<< (bool value) { return ostr << static_cast<int>(value); }
std::ostream & operator<< (char value) { return ostr << static_cast<int>(value); }
std::ostream & operator<< (unsigned char value) { return ostr << static_cast<int>(value); }
std::ostream & operator<< (signed char value) { return ostr << static_cast<int>(value); }
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/net/http2/decoder/payload_decoders/push_promise_payload_decoder.cc:35:
return out << "kResumeDecodingPushPromiseFields";
}
return out << static_cast<int>(v);
}
actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/tools/llvm-objdump/COFFDump.cpp:488:
outs() << "\n";
outs() << " Size of prolog: " << static_cast<int>(UI->PrologSize) << "\n";
outs() << " Number of Codes: " << static_cast<int>(UI->NumCodes) << "\n";
// Maybe this should move to output of UOP_SetFPReg?
if (UI->getFrameRegister()) {
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/third_party/webrtc/logging/rtc_event_log/rtc_event_log2text.cc:483:
if (parsed_header.extension.hasVideoRotation) {
std::cout << "\tRotation="
<< static_cast<int>(
parsed_header.extension.videoRotation);
}