codesearch.isocpp.org by Andrew Tomazos.

Enter a valid C/C++ code snippet...

Searching for `static_cast<int>`...

2489599 source files searched.

123173 matches found.

Here is a random sample of matches...


actcd19/main/e/edb-debugger/edb-debugger_1.0.0-1/src/ByteShiftArray.cpp:93:

    quint8 ByteShiftArray::operator[](std::size_t i) const {
Q_ASSERT(i < INT_MAX);
return data_[static_cast<int>(i)];
}


actcd19/main/b/boswars/boswars_2.7+svn160110-4/engine/video/sdl.cpp:741:

    	default:
printf("SDL_Event { type=%d, ... }\n",
static_cast<int>(event->type));
break;


actcd19/main/i/insighttoolkit4/insighttoolkit4_4.12.2-dfsg1-4/Modules/Core/Common/include/itkMersenneTwisterRandomVariateGenerator.h:317:

    
// get rid of VS warning
int index = static_cast< int >(
M - MersenneTwisterRandomVariateGenerator::StateVectorLength );


actcd19/main/libi/libitpp/libitpp_4.3.1-7/itpp/base/algebra/svd.cpp:102:

              V._data(), &ldvt, work._data(), &lwork_tmp, rwork._data(), &info);
if (info == 0) {
lwork = static_cast<int>(real(work(0)));
work.set_size(lwork, false);
}


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/echo_canceller3.cc:265:

      RTC_DCHECK(render);
data_dumper_->DumpRaw("aec3_call_order",
static_cast<int>(EchoCanceller3ApiCall::kRender));

return render_writer_->Insert(render);


actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/offline_pages/core/prefetch/tasks/download_cleanup_task.cc:60:

      statement.BindInt(0, max_attempts);
statement.BindInt(1, static_cast<int>(PrefetchItemState::RECEIVED_BUNDLE));
statement.BindInt(2, static_cast<int>(PrefetchItemState::FINISHED));
statement.BindInt(3, max_attempts);
statement.BindInt(


actcd19/main/x/xdmf/xdmf_2.1.dfsg.1-16/libsrc/utils/XdmfUtilsPythonNoMpi.cxx:3678:

      arg1 = reinterpret_cast< XdmfDiff * >(argp1);
result = (XdmfInt32)(arg1)->SetIgnoreTopology();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:


actcd19/main/q/qtcreator/qtcreator_4.8.2-1/src/plugins/clangcodemodel/clangoverviewmodel.cpp:248:

        return std::make_pair(::Utils::LineColumn(static_cast<int>(range.start.line),
static_cast<int>(range.start.column)),
::Utils::LineColumn(static_cast<int>(range.end.line),
static_cast<int>(range.end.column)));
}


actcd19/main/s/solid/solid_5.54.0-1/src/solid/devices/backends/udev/udevprocessor.cpp:60:

                QString value = cpuMaxFreqFile.readAll().trimmed();
// cpuinfo_max_freq is in kHz
m_maxSpeed = static_cast<int>(value.toLongLong() / 1000);
}
if (m_maxSpeed <= 0) {


actcd19/main/l/lammps/lammps_0~20180510.gitaa1d815fe-4/src/SRD/fix_srd.cpp:888:

          iy = MAX(iy,binlo[1]);
iy = MIN(iy,binhi[1]);
iz = static_cast<int> ((x[i][2]-corner[2])*bininv1z);
iz = MAX(iz,binlo[2]);
iz = MIN(iz,binhi[2]);


actcd19/main/o/openjfx/openjfx_11.0.2+1-1/modules/javafx.web/src/main/native/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1677:

            LOG(WebGL, "Demangling: %s to %s", mangledSymbol.utf8().data(), mappedSymbol.utf8().data());
processedLog.append(mappedSymbol);
} while (startFrom < static_cast<int>(log.length()));

processedLog.append(log.substring(startFrom, log.length() - startFrom));


actcd19/main/c/cataclysm-dda/cataclysm-dda_0.C+git20190228.faafa3a-2/src/string_input_popup.cpp:174:

    
if( up ) {
if( _hist_str_ind >= static_cast<int>( hist.size() ) ) {
return;
} else {


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/FullWrtText.cxx:1680:

        if (val && !knownZone)
ok=false;
val = ok ? static_cast<int>(input->readLong(1)) : 0;
if (val < 1 || val > 20)
ok=false;


actcd19/main/g/gtkmm3.0/gtkmm3.0_3.24.0-2/gdk/gdkmm/device.cc:89:

    GrabStatus Device::grab(const Glib::RefPtr<Window>& window, GrabOwnership grab_ownership, bool owner_events, EventMask event_mask, guint32 time_)
{
return static_cast<GrabStatus>(gdk_device_grab(gobj(), Glib::unwrap(window), static_cast<GdkGrabOwnership>(grab_ownership), static_cast<int>(owner_events), static_cast<GdkEventMask>(event_mask), nullptr, time_));
}
G_GNUC_END_IGNORE_DEPRECATIONS


actcd19/main/p/pcl/pcl_1.9.1+dfsg1-3/io/src/pcd_io.cpp:940:

        if (cloud.fields[d].name == "_")
continue;
int count = abs (static_cast<int> (cloud.fields[d].count));
if (count == 0)
count = 1; // we simply cannot tolerate 0 counts (coming from older converter code)


actcd19/main/o/orthanc-postgresql/orthanc-postgresql_2.0-5/Core/PostgreSQLLargeObject.cpp:61:

        while (size > 0)
{
int chunk = (size > static_cast<size_t>(MAX_CHUNK_SIZE) ? MAX_CHUNK_SIZE : static_cast<int>(size));
int nbytes = lo_write(pg, fd, position, chunk);
if (nbytes <= 0)


actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/extensions/source/scanner/sane.cxx:568:

                GetOptionUnit( nOption ) == SANE_UNIT_MM )
{
nHeightMM = static_cast<int>(fabs(fBRy - fTLy));
}
}


actcd19/main/r/ring/ring_20190215.1.f152c98~ds1-1/lrc/src/call.cpp:2235:

             return dialNumber();
case static_cast<int>(Ring::Role::Number):
case static_cast<int>(Call::Role::Number):
return peerContactMethod()->bestId();
case static_cast<int>(Ring::Role::URI):


actcd19/main/k/krita/krita_4.1.7+dfsg-1/libs/odf/KoOdfGraphicStyles.cpp:126:

            dashStyle.addAttribute("draw:style", "rect");
QVector<qreal> dashes = pen.dashPattern();
dashStyle.addAttribute("draw:dots1", static_cast<int>(1));
dashStyle.addAttribute("draw:dots1-length", dashes[0]*pen.widthF());
dashStyle.addAttribute("draw:distance", dashes[1]*pen.widthF());


actcd19/main/d/double-conversion/double-conversion_3.1.0-3/double-conversion/double-conversion.cc:924:

        while (*current == '0') {
if (Advance(&current, separator_, 10, end)) {
*processed_characters_count = static_cast<int>(current - input);
return SignedZero(sign);
}


actcd19/main/p/pentobi/pentobi_14.0-1/src/libboardgame_sgf/Writer.h:123:

            {
m_out << '\n';
auto indent = static_cast<int>(m_current_indent + 1 + id.size());
for (int i = 0; i < indent; ++i)
m_out << ' ';


actcd19/main/s/scribus/scribus_1.4.7+dfsg-3/scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp:302:

    		docu.writeAttribute("checkAnnotations", static_cast<int>(itcp.value().checkAnnotations));
docu.writeAttribute("checkRasterPDF", static_cast<int>(itcp.value().checkRasterPDF));
docu.writeAttribute("checkForGIF", static_cast<int>(itcp.value().checkForGIF));
docu.writeAttribute("ignoreOffLayers", static_cast<int>(itcp.value().ignoreOffLayers));
docu.writeAttribute("checkOffConflictLayers", static_cast<int>(itcp.value().checkOffConflictLayers));


actcd19/main/m/med-fichier/med-fichier_4.0.0+repack-7/python/medenumtest_long_wrap.cc:6417:

      SWIG_Python_SetConstant(d, "MED_CLASS_ALL",SWIG_From_int(static_cast< int >(MED_CLASS_ALL)));
SWIG_Python_SetConstant(d, "MED_POINT1",SWIG_From_int(static_cast< int >(001)));
SWIG_Python_SetConstant(d, "MED_SEG2",SWIG_From_int(static_cast< int >(102)));
SWIG_Python_SetConstant(d, "MED_SEG3",SWIG_From_int(static_cast< int >(103)));
SWIG_Python_SetConstant(d, "MED_SEG4",SWIG_From_int(static_cast< int >(104)));


actcd19/main/b/blackbox/blackbox_0.70.1-36/.pc/fix-ftbfs-gcc-4.3.diff/lib/Image.cc:1703:

                                                            yt[1][y]))));
p->blue = static_cast<unsigned char>
(tb - (bsign * static_cast<int>(sqrt(xt[2][x] +
yt[2][y]))));
}


actcd19/main/c/calligra/calligra_3.1.0+dfsg-5/plugins/shapefiltereffects/ConvolveMatrixEffect.cpp:229:

                } else {
dst[dstPixel] = qRgba( qBound(0, static_cast<int>(sumR / divisor + m_bias), 255),
qBound(0, static_cast<int>(sumG / divisor + m_bias), 255),
qBound(0, static_cast<int>(sumB / divisor + m_bias), 255),
qBound(0, static_cast<int>(sumA / divisor + m_bias), 255));


actcd19/main/g/geos/geos_3.7.1-1/src/operation/polygonize/PolygonizeGraph.cpp:385:

    	 * to be true.
*/
for(int i=static_cast<int>(edges.size())-1; i>=0; --i)
{
PolygonizeDirectedEdge *de=(PolygonizeDirectedEdge*)edges[i];


actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/download/internal/common/download_ukm_helper.cc:36:

          .SetDownloadId(download_id)
.SetFileType(static_cast<int>(file_type))
.SetDownloadSource(static_cast<int>(download_source))
.SetDownloadConnectionSecurity(static_cast<int>(state))
.SetIsSameHostDownload(is_same_host_download)


actcd19/main/c/codequery/codequery_0.21.1+dfsg1-1/scintilla/src/Editor.cxx:6507:

    
case SCI_SETINDENT:
pdoc->indentInChars = static_cast<int>(wParam);
if (pdoc->indentInChars != 0)
pdoc->actualIndentInChars = pdoc->indentInChars;


actcd19/main/p/pingus/pingus_0.7.6-4/src/util/sexpr_file_writer.cpp:83:

      (*out) << "\n" << indent() << "(" << name << " "
<< static_cast<int>(color.r) << " "
<< static_cast<int>(color.g) << " "
<< static_cast<int>(color.b) << " "
<< static_cast<int>(color.a) << ")";


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/FullWrtGraph.cxx:395:

      val = int(input->readLong(2)); // number of point in the left part
if (val) f << "N[left]?=" << val << ",";
auto N=static_cast<int>(input->readLong(2));
if (N*4+28 > sz) {
f << "#N=" << N << ",";


actcd19/main/k/kde4libs/kde4libs_4.14.38-3/khtml/rendering/render_text.cpp:1363:

        int retval=6666666;
for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox())
retval = qMin( retval, static_cast<int>(box->m_x));
return retval;
}


actcd19/main/g/gnss-sdr/gnss-sdr_0.0.10-4/src/algorithms/resampler/gnuradio_blocks/direct_resampler_conditioner_cs.cc:80:

        gr_vector_int &ninput_items_required)
{
int nreqd = std::max(static_cast<unsigned>(1), static_cast<int>(static_cast<double>(noutput_items + 1) * sample_freq_in() / sample_freq_out()) + history() - 1);
unsigned ninputs = ninput_items_required.size();


actcd19/main/t/trilinos/trilinos_12.12.1-7/packages/tpetra/core/test/CrsMatrix/assembleElement.cpp:170:

        static_assert (Kokkos::Impl::is_view<LhsViewType>::value,
"LhsViewType must be a Kokkos::View specialization.");
static_assert (static_cast<int> (RhsViewType::rank) == 1,
"RhsViewType must be a rank-1 Kokkos::View.");
static_assert (static_cast<int> (LhsViewType::rank) == 2,


actcd19/main/c/cmake/cmake_3.13.4-1/Source/CTest/cmCTestCoverageHandler.cxx:925:

          this->Quiet);
}
return static_cast<int>(cont->TotalCoverage.size());
}
int cmCTestCoverageHandler::HandleGCovCoverage(


actcd19/main/w/webkit2gtk/webkit2gtk_2.22.7-1/Source/WebCore/rendering/RenderBlockLineLayout.cpp:114:

                if (nextTransition.refersToEndOfPreviousNode())
return;
if (static_cast<int>(nextTransition.offset() + 1) > start && runs)
runs->appendRun(createRun(start, nextTransition.offset() + 1, obj, resolver));
appendRunsForObject(runs, nextTransition.offset() + 1, end, obj, resolver);


actcd19/main/c/cloudcompare/cloudcompare_2.10.1-1/qCC/ccClippingBoxTool.cpp:505:

    
indexMins[d] = static_cast<int>(floor(a + static_cast<PointCoordinateType>(1.0e-6)));
indexMaxs[d] = static_cast<int>(ceil(b - static_cast<PointCoordinateType>(1.0e-6))) - 1;

assert(indexMaxs[d] >= indexMins[d]);


actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/VTK/Filters/Core/vtkMergeFilter.cxx:36:

      vtkFieldNode(const char* name, vtkDataSet* ptr=0)
{
int length = static_cast<int>(strlen(name));
if (length > 0)
{


actcd19/main/i/insighttoolkit4/insighttoolkit4_4.12.2-dfsg1-4/Modules/Filtering/ImageIntensity/test/itkMultiplyImageFilterTest.cxx:129:

        if( !itk::Math::FloatAlmostEqual( oIt.Get(), expectedValue, 10, epsilon ) )
{
std::cerr.precision( static_cast< int >( itk::Math::abs( std::log10( epsilon ) ) ) );
std::cerr << "Test failed!" << std::endl;
std::cerr << "Error in pixel value at index [" << oIt.GetIndex() << "]" << std::endl;


actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/VTK/Geovis/Core/vtkGeoProjection.cxx:251:

    int vtkGeoProjection::GetNumberOfOptionalParameters()
{
return static_cast<int>(this->Internals->OptionalParameters.size());
}
//-----------------------------------------------------------------------------


actcd19/main/g/gem/gem_0.94-1/src/Geos/multimodel.cpp:293:

      int skipRatei=static_cast<int>(skipRate);
int topModeli=static_cast<int>(topModel);
int baseModeli=static_cast<int>(baseModel);
if (skipRatei == 0) {
if (topModeli == 0) {


actcd19/main/o/openms/openms_2.4.0-real-1/src/openms/source/ANALYSIS/MAPMATCHING/TransformationModelLinear.cpp:85:

              points.push_back(Wm5::Vector2d(data_weighted[i].first, data_weighted[i].second));
}
if (!Wm5::HeightLineFit2<double>(static_cast<int>(size), &points.front(), slope_, intercept_))
{
throw Exception::UnableToFit(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "TransformationModelLinear", "Unable to fit linear transformation to data points.");


actcd19/main/m/mariadb-10.3/mariadb-10.3_10.3.13-1/storage/innobase/row/row0ftsort.cc:463:

    	param.cs = doc->charset;
param.doc = reinterpret_cast<char*>(doc->text.f_str);
param.length = static_cast<int>(doc->text.f_len);
param.mode= MYSQL_FTPARSER_SIMPLE_MODE;


actcd19/main/g/gtkmm3.0/gtkmm3.0_3.24.0-2/gtk/gtkmm/widget.cc:5711:

    void Widget::set_focus_on_click(bool focus_on_click)
{
gtk_widget_set_focus_on_click(gobj(), static_cast<int>(focus_on_click));
}


actcd19/main/libv/libv8-3.14/libv8-3.14_3.14.5.8-11/.pc/0099_powerpc_support.patch/src/heap.cc:7310:

    #define ADJUST_LAST_TIME_OBJECT_COUNT(name)                                    \
counters->count_of_##name()->Increment( \
static_cast<int>(object_counts_[name])); \
counters->count_of_##name()->Decrement( \
static_cast<int>(object_counts_last_time_[name])); \


actcd19/main/r/rosegarden/rosegarden_18.12-1/src/sound/ControlBlock.cpp:374:

            bool channelMatch =
(track.m_channelFilter == -1 || // all channels
track.m_channelFilter == static_cast<int>(channel));

// if the event doesn't match this track's filters, try the next track


actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/VTK/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx:197:

      GLint vp[4];
glGetIntegerv(GL_VIEWPORT, vp);
this->Storage->Offset.Set(static_cast<int>(vp[0]),
static_cast<int>(vp[1]));


actcd19/main/i/isc-kea/isc-kea_1.5.0-1/src/lib/hooks/tests/hooks_manager_unittest.cc:460:

        // 1027 * 2
CalloutHandlePtr handle = HooksManager::createCalloutHandle();
handle->setArgument("result", static_cast<int>(0));
handle->setArgument("data_2", static_cast<int>(15));


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/cc/tiles/tiling_set_raster_queue_required.cc:21:

        RasterTilePriorityQueue::Type type)
: type_(type) {
DCHECK_NE(static_cast<int>(type),
static_cast<int>(RasterTilePriorityQueue::Type::ALL));


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/long_long.pass.cpp:41:

                if (ch != base::traits_type::eof())
{
int n = static_cast<int>(str_.size());
str_.push_back(static_cast<CharT>(ch));
str_.resize(str_.capacity());


actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/VTK/IO/Geometry/vtkCGMWriter.cxx:756:

              scaledPts->GetPoint(p[i], x);
points[i].x = static_cast<int>(x[0]);
points[i].y = static_cast<int>(x[1]);
}
cgmSetLineColor(im, color);


actcd19/main/m/med-fichier/med-fichier_4.0.0+repack-7/python/medenumtest_long_wrap.cc:6461:

      SWIG_Python_SetConstant(d, "MED_N_NODE_GEO_FIXED_CON",SWIG_From_int(static_cast< int >(1)));
SWIG_Python_SetConstant(d, "MED_NODAL",SWIG_From_int(static_cast< int >(MED_NODAL)));
SWIG_Python_SetConstant(d, "MED_DESCENDING",SWIG_From_int(static_cast< int >(MED_DESCENDING)));
SWIG_Python_SetConstant(d, "MED_UNDEF_CONNECTIVITY_MODE",SWIG_From_int(static_cast< int >(MED_UNDEF_CONNECTIVITY_MODE)));
SWIG_Python_SetConstant(d, "MED_NO_CMODE",SWIG_From_int(static_cast< int >(MED_NO_CMODE)));


actcd19/main/f/flightgear/flightgear_2018.3.2+dfsg-2/src/Scripting/NasalPositioned.cxx:864:

        fp->setFollowLegTrackToFixes(static_cast<bool>(value.num));
} else if (!strcmp(fieldName, "cruiseAltitudeFt")) {
fp->setCruiseAltitudeFt(static_cast<int>(value.num));
} else if (!strcmp(fieldName, "cruiseFlightLevel")) {
fp->setCruiseFlightLevel(static_cast<int>(value.num));


actcd19/main/g/godot/godot_3.0.6-2/thirdparty/bullet/BulletInverseDynamics/IDMath.cpp:101:

        if (a.cols() != b.cols()) {
error_message("size missmatch. a.cols()= %d, b.cols()= %d\n",
static_cast<int>(a.cols()), static_cast<int>(b.cols()));
abort();
}


actcd19/main/v/vtk7/vtk7_7.1.1+dfsg1-12/Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:1102:

                 << static_cast<int>(rgba[0]) << ","
<< static_cast<int>(rgba[1]) << ","
<< static_cast<int>(rgba[2])
<< std::setprecision(floatPrec) << ")\"" << endl;
}


actcd19/main/w/wesnoth-1.14/wesnoth-1.14_1.14.5-1/src/editor/action/mouse/mouse_action.cpp:462:

    	uint8_t alpha = 196;
int size = image->w;
int zoom = static_cast<int>(size * disp.get_zoom_factor());

// Add the alpha factor and scale the image


actcd19/main/g/gloox/gloox_1.0.22-0.1/src/parser.cpp:216:

                    case DecodeInvalid:
cleanup();
return static_cast<int>( i );
case DecodeInsufficient:
return -1;


actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/Filters/Geometry/vtkAbstractGridConnectivity.h:420:

      // Sanity check
assert( "pre: GridID is out-of-bound GridPointData" &&
(gridID >= 0) && (gridID < static_cast<int>(this->NumberOfGrids)));
assert( "pre: GridPointGhostArrays has not been allocated" &&
(this->GridPointGhostArrays.size() == this->NumberOfGrids) );


actcd19/main/r/regina-normal/regina-normal_5.1-6/engine/triangulation/dim3/reorder.cpp:242:

                return NULL;

if(i >= static_cast<int>(trig.countEdges()))
return iso_from_edges(trig, edge_orientations, force_oriented);


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/BeagleWksDRParser.cxx:1115:

        val=static_cast<int>(input->readULong(2)); // 0
if (val) f << "g0=" << val << ",";
val=static_cast<int>(input->readULong(2)); // 0
if (shape.m_type==7) {
switch (val) { // what is the logic ?


actcd19/main/c/colobot/colobot_0.1.11.1-6/src/level/robotmain.cpp:2274:

    static std::string TimeFormat(float time)
{
int minutes = static_cast<int>(floor(time/60));
double time2 = fmod(time, 60);
double seconds;


actcd19/main/c/chromium/chromium_72.0.3626.121-1/url/url_parse_unittest.cc:655:

        const FileSystemURLParseCase* parsecase = &filesystem_cases[i];
const char* url = parsecase->input;
ParseFileSystemURL(url, static_cast<int>(strlen(url)), &parsed);

EXPECT_TRUE(ComponentMatches(url, "filesystem", parsed.scheme));


actcd19/main/c/chromium/chromium_72.0.3626.121-1/chrome/browser/extensions/extension_service.h:335:

                                const syncer::StringOrdinal& page_ordinal) {
OnExtensionInstalled(extension, page_ordinal,
static_cast<int>(kInstallFlagNone));
}


actcd19/main/m/mapnik/mapnik_3.0.22+ds-1/include/mapnik/cairo/cairo_context.hpp:162:

                    CAIRO_FORMAT_ARGB32,
static_cast<int>(data.width()),
static_cast<int>(data.height())),
cairo_surface_closer());


actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/GUISupport/Qt/vtkQtTreeModelAdapter.cxx:506:

        }

return createIndex(row, 0, static_cast<int>(parentId));
}


actcd19/main/g/guitarix/guitarix_0.36.1-1/src/gx_head/engine/gx_json.cpp:1057:

        jw.write(flags);
header.write_major_minor(jw);
jw.write(static_cast<int>(mtime));
jw.end_array(true);
}


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/media/capture/video/chromeos/local_gpu_memory_buffer_manager.cc:190:

        gpu::SurfaceHandle surface_handle) {
if (usage != gfx::BufferUsage::SCANOUT_CAMERA_READ_WRITE) {
LOG(ERROR) << "Unsupported gfx::BufferUsage" << static_cast<int>(usage);
return std::unique_ptr<gfx::GpuMemoryBuffer>();
}


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/MsWrdText.cxx:807:

        tEntry.m_type = static_cast<int>(input->readULong(1));
// fN internal...
tEntry.m_id = static_cast<int>(input->readULong(1));
auto ptr = long(input->readULong(4));
tEntry.setBegin(ptr);


actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/VTK/IO/Geometry/vtkXYZMolReader.cxx:77:

      while ( comment );
//cout << "Have line that is not a comment: [" << line << "]" << endl;
len = static_cast<int>(strlen(line));
int ft = 0;
ptr = line;


actcd19/main/c/chromium/chromium_72.0.3626.121-1/v8/src/x64/disasm-x64.cc:2791:

      }

int instr_len = static_cast<int>(data - instr);
DCHECK_GT(instr_len, 0); // Ensure progress.


actcd19/main/l/lammps/lammps_0~20180510.gitaa1d815fe-4/src/MC/fix_atom_swap.cpp:538:

    {
int i = -1;
int iwhichglobal = static_cast<int> (nswap*random_equal->uniform());
if ((iwhichglobal >= nswap_before) &&
(iwhichglobal < nswap_before + nswap_local)) {


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/extensions/browser/api/system_cpu/cpu_info_provider_win.cc:61:

        return false;

DCHECK_EQ(num_of_processors, static_cast<int>(infos->size()));
for (int i = 0; i < returned_num_of_processors; ++i) {
double kernel = static_cast<double>(processor_info[i].KernelTime.QuadPart),


actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:393:

      int packet_rate = rtc::CheckedDivExact(48000, kDefaultOpusSettings.pacsize);
EXPECT_EQ(kTargetBitrateBps -
8 * static_cast<int>(kOverheadBytesPerPacket) * packet_rate,
states.encoder->GetTargetBitrate());
}


actcd19/main/c/chromium/chromium_72.0.3626.121-1/chrome/chrome_cleaner/settings/settings.cc:51:

                            &val) &&
val > static_cast<int>(ExecutionMode::kNone) &&
val < static_cast<int>(ExecutionMode::kNumValues)) {
return static_cast<ExecutionMode>(val);
}


actcd19/main/c/chromium/chromium_72.0.3626.121-1/base/files/file_util_unittest.cc:834:

    
// Write file.
EXPECT_EQ(static_cast<int>(kData.length()),
WriteFile(file_name, kData.data(), kData.length()));
EXPECT_TRUE(PathExists(file_name));


actcd19/main/p/pingus/pingus_0.7.6-4/src/editor/object_properties.cpp:397:

          color_r_inputbox->set_text(StringUtil::to_string(static_cast<int>(obj->get_color().r)));
color_g_inputbox->set_text(StringUtil::to_string(static_cast<int>(obj->get_color().g)));
color_b_inputbox->set_text(StringUtil::to_string(static_cast<int>(obj->get_color().b)));
color_a_inputbox->set_text(StringUtil::to_string(static_cast<int>(obj->get_color().a)));


actcd19/main/e/ecflow/ecflow_4.13.0-1/Viewer/ecflowUI/src/VUserVarAttr.cpp:134:

            std::vector<Variable> v;
vnode->variables(v);
int n=static_cast<int>(v.size());
for(int i=0; i < n; i++)
{


actcd19/main/libi/libitpp/libitpp_4.3.1-6/itpp/base/itfile.cpp:385:

      double val_real, val_imag;

s >> i >> j;
m.set_size(static_cast<int>(i), static_cast<int>(j), false);
for (int j = 0; j < m.cols(); ++j)
for (int i = 0; i < m.rows(); ++i) {


actcd19/main/a/android-platform-frameworks-native/android-platform-frameworks-native_8.1.0+r23-2/libs/gui/Surface.cpp:859:

                    *value = durationUs > std::numeric_limits<int>::max() ?
std::numeric_limits<int>::max() :
static_cast<int>(durationUs);
return NO_ERROR;
}


actcd19/main/q/qscintilla2/qscintilla2_2.10.4+dfsg-2/src/Editor.cpp:5880:

    
case SCI_SETSEL: {
int nStart = static_cast<int>(wParam);
int nEnd = static_cast<int>(lParam);
if (nEnd < 0)


actcd19/main/t/telepathy-qt/telepathy-qt_0.9.6.1-6/tests/dbus/streamed-media-chan.cpp:1034:

                        SLOT(expectSuccessfulCall(Tp::PendingOperation*))));
QCOMPARE(mLoop->exec(), 0);
while (!mSDCStreamReturn || !mSSCStreamReturn || (static_cast<int>(mChangedLSS) == -1)) {
// wait direction and state changed signal
qDebug() << "re-entering mainloop to wait for stream direction change and state change";


actcd19/main/c/cura-engine/cura-engine_3.3.0-2.1/src/FffGcodeWriter.cpp:994:

    {
unsigned int extruder_count = storage.getSettingAsCount("machine_extruder_count");
assert(static_cast<int>(extruder_count) > 0);
std::vector<unsigned int> ret;
ret.push_back(start_extruder);


actcd19/main/n/nodejs/nodejs_10.15.2~dfsg-1/deps/v8/src/compiler/code-generator.cc:790:

    
Handle<FixedArray> literals = isolate()->factory()->NewFixedArray(
static_cast<int>(deoptimization_literals_.size()), TENURED);
for (unsigned i = 0; i < deoptimization_literals_.size(); i++) {
Handle<Object> object = deoptimization_literals_[i].Reify(isolate());


actcd19/main/t/trilinos/trilinos_12.12.1-7/packages/anasazi/tpetra/test/MVOPTester/MultiVecTraitsTest2.cpp:128:

        {
Array<norm_type> X_norms_in (X_norms); // deep copy
reduceAll<int, norm_type> (*comm, REDUCE_SUM, static_cast<int> (numCols),
X_norms_in.getRawPtr (), X_norms.getRawPtr ());
}


actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/starmath/source/parse.cxx:1222:

                case TCSUP :    nIndex = static_cast<int>(CSUP);    break;
case TLSUB : nIndex = static_cast<int>(LSUB); break;
case TLSUP : nIndex = static_cast<int>(LSUP); break;
default :
SAL_WARN( "starmath", "unknown case");


actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/Utilities/VisItBridge/Library/VisItLib/avt/DBAtts/SIL/avtSILEnumeratedNamespace.C:136:

        else if (sortedElems)
{
int min = 0, max = static_cast<int>(elements.size())-1;
int mid = (max+min)/2;
while (min <= max)


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/GreatWksGraph.cxx:1137:

        f << "#lineArrows=" << val << ",";
}
val=static_cast<int>(input->readLong(2));
if (val!=1)
f << "#lineArrow[unset],";


actcd19/main/c/chromium/chromium_72.0.3626.121-1/chrome/browser/download/download_shelf.cc:61:

          ((animation_progress * kCompleteAnimationCycles) + 0.5) * base::kPiDouble;
temp = sin(temp) / 2 + 0.5;
return static_cast<int>(255.0 * temp);
}


actcd19/main/a/anjuta-extras/anjuta-extras_3.26.0-5/plugins/scintilla/scintilla/src/CallTip.cxx:237:

    	// OSX doesn't put borders on "help tags"
// Draw a raised border around the edges of the window
surfaceWindow->MoveTo(0, static_cast<int>(rcClientSize.bottom) - 1);
surfaceWindow->PenColour(colourShade);
surfaceWindow->LineTo(static_cast<int>(rcClientSize.right) - 1, static_cast<int>(rcClientSize.bottom) - 1);


actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx:550:

          if (glGetError() == GL_NO_ERROR)
{
rgba[0] = static_cast<int>(size);
}
glGetFramebufferAttachmentParameteriv(GL_DRAW_FRAMEBUFFER,


actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/Imaging/Color/vtkImageQuantizeRGBToIndex.cxx:525:

    
newBounds[axis*2] = static_cast<int>(this->Median[axis] + 1);
newBounds[axis*2 + 1] = static_cast<int>(this->Bounds[axis*2 + 1]);
this->Child2->SetBounds( newBounds );


actcd19/main/libr/libreoffice/libreoffice_6.0.6~rc1-1/hwpfilter/source/hcode.cxx:1156:

        unsigned char ch2 = sal::static_int_cast<unsigned char>(input & 0xff);
int idx = (ch - 0xA1) * 94 + (ch2 - 0xA1);
if (idx >= 3854 && idx < static_cast<int>(3854 + SAL_N_ELEMENTS(ksc5601_2uni_page21))) {
// Hanja : row 42 - row 93 : 3854 = 94 * (42-1)
hchar value = ksc5601_2uni_page21[idx - 3854];


actcd19/main/s/scite/scite_4.1.3-1/scintilla/gtk/PlatGTK.cxx:1938:

    	}
gtk_menu_popup(widget, NULL, NULL, MenuPositionFunc,
GINT_TO_POINTER((static_cast<int>(pt.y) << 16) | static_cast<int>(pt.x)), 0,
gtk_get_current_event_time());
#endif


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/pdf/pdfium/pdfium_engine.cc:3522:

    
rv.set_x(static_cast<int>(rect.x() * current_zoom_ - position_.x()));
rv.set_y(static_cast<int>(rect.y() * current_zoom_ - position_.y()));
rv.set_width(right - rv.x());
rv.set_height(bottom - rv.y());


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc:180:

      if ((!(filter_delay_ && usable_linear_estimate_)) ||
(filter_delay_ >
static_cast<int>(config_.filter.main.length_blocks) - 4)) {
return;
}


actcd19/main/m/med-fichier/med-fichier_4.0.0+repack-7/python/medenumtest_long_wrap.cc:6443:

      SWIG_Python_SetConstant(d, "MED_STRUCT_GEO_SUP_INTERNAL",SWIG_From_int(static_cast< int >(700)));
SWIG_Python_SetConstant(d, "MED_NONE",SWIG_From_int(static_cast< int >(0)));
SWIG_Python_SetConstant(d, "MED_NO_GEOTYPE",SWIG_From_int(static_cast< int >(0)));
SWIG_Python_SetConstant(d, "MED_UNDEF_GEOTYPE",SWIG_From_int(static_cast< int >(0)));
SWIG_Python_SetConstant(d, "MED_UNDEF_GEOMETRY_TYPE",SWIG_From_int(static_cast< int >(0)));


actcd19/main/n/nodejs/nodejs_4.6.1~dfsg-1/deps/v8/src/heap-snapshot-generator.cc:727:

      HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing));
if (cache_entry == NULL) return HeapEntry::kNoEntry;
return static_cast<int>(reinterpret_cast<intptr_t>(cache_entry->value));
}


actcd19/main/libt/libtgvoip/libtgvoip_2.4.2-1/webrtc_dsp/modules/audio_processing/aec3/matched_filter.cc:453:

                         << (start - static_cast<int>(shift)) / fs_by_1000
<< " ms, end: "
<< (end - static_cast<int>(shift)) / fs_by_1000 << " ms.";
alignment_shift += filter_intra_lag_shift_;
}


actcd19/main/n/nodejs/nodejs_4.6.1~dfsg-1/deps/v8/src/x64/code-stubs-x64.cc:5034:

      int64_t offset = (ref0.address() - ref1.address());
// Check that fits into int.
DCHECK(static_cast<int>(offset) == offset);
return static_cast<int>(offset);
}


actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/feed/core/feed_scheduler_host.cc:360:

      if (eula_accepted_notifier_ && !eula_accepted_notifier_->IsEulaAccepted()) {
DVLOG(2) << "EULA not being accepted stopped refresh from trigger "
<< static_cast<int>(trigger);
return false;
}


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/MoreParser.cxx:1079:

      val= input->readLong(2); // always 0
if (val) f << "f1=" << val << ",";
auto maxCols=static_cast<int>(input->readLong(2));
f << "nCol=" << maxCols << ",";
if (maxCols<0 || 16+8*maxCols != dataSz)