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/c/chromium/chromium_72.0.3626.121-1/third_party/webrtc/modules/video_coding/jitter_buffer.cc:305:

        RTC_HISTOGRAM_COUNTS_1000(
"WebRTC.Video.KeyFramesReceivedInPermille",
static_cast<int>(
(receive_statistics_.key_frames * 1000.0f / total_frames) + 0.5f));
}


actcd19/main/t/trilinos/trilinos_12.12.1-7/packages/intrepid/example/Shared/example_04.cpp:319:

               Kokkos::View<float**,Kokkos::LayoutRight,Kokkos::Cuda> A,  Kokkos::View<float**,Kokkos::LayoutRight,Kokkos::Cuda> B,
float beta, Kokkos::View<float**,Kokkos::LayoutRight,Kokkos::Cuda> C){
const int m = static_cast<int> (C.dimension_0()),
n = static_cast<int> (C.dimension_1 ()),
k = (transA == Teuchos::NO_TRANS ? A.dimension_1 () : A.dimension_0 ());


actcd19/contrib/c/corsix-th/corsix-th_0.62-2/CorsixTH/Src/th_lua_ui.cpp:47:

        render_target *pCanvas = luaT_testuserdata<render_target>(L, 3);
int iCanvasXBase = static_cast<int>(luaL_checkinteger(L, 4));
int iCanvasYBase = static_cast<int>(luaL_checkinteger(L, 5));
bool bShowHeat = lua_toboolean(L, 6) != 0;


actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/media/libvpx/libvpx/test/test_intra_pred_speed.cc:80:

    void TestIntraPred(const char name[], VpxPredFunc const *pred_funcs,
const char *const signatures[], int block_size) {
const int kNumTests = static_cast<int>(
2.e10 / (block_size * block_size * kNumVp9IntraPredFuncs));
Vp9IntraPredTestMem intra_pred_test_mem;


actcd19/main/v/vtk7/vtk7_7.1.1+dfsg1-12/Rendering/OpenGL2/vtkShaderProgram.cxx:823:

                                  static_cast<const GLchar *>(cname));
const char *allocStr = strdup(cname);
this->AttributeLocs.insert(std::make_pair(allocStr, static_cast<int>(loc)));
}
else


actcd19/main/libs/libsbml/libsbml_5.17.2+dfsg-3/src/sbml/math/L3ParserSettings.cpp:454:

        return 0;

return (static_cast<int>(settings->getParseAvogadroCsymbol()));
}


actcd19/main/c/chromium/chromium_72.0.3626.121-1/base/trace_event/trace_log.cc:1576:

    #endif

int current_thread_id = static_cast<int>(base::PlatformThread::CurrentId());
if (process_sort_index_ != 0) {
AddMetadataEventWhileLocked(current_thread_id, "process_sort_index",


actcd19/main/c/chromium/chromium_72.0.3626.121-1/v8/src/wasm/module-decoder.cc:451:

        for (uint32_t i = 0; ok() && i < signatures_count; ++i) {
TRACE("DecodeSignature[%d] module+%d\n", i,
static_cast<int>(pc_ - start_));
FunctionSig* s = consume_sig(module_->signature_zone.get());
module_->signatures.push_back(s);


actcd19/main/g/glm/glm_0.9.9.3-2/test/core/core_func_integer_find_lsb.cpp:290:

    	TimestampEnd = std::clock();

printf("ntz1: %d clocks\n", static_cast<int>(TimestampEnd - TimestampBeg));

TimestampBeg = std::clock();


actcd19/main/c/ceph/ceph_12.2.11+dfsg1-2/src/rocksdb/db/internal_stats.cc:471:

        char buf[100];
snprintf(buf, sizeof(buf), "%d",
vstorage->NumLevelFiles(static_cast<int>(level)));
*value = buf;
return true;


actcd19/main/c/chromium/chromium_72.0.3626.121-1/chrome/browser/chromeos/policy/device_status_collector.cc:1125:

        int active_seconds = (now - last_idle_check_).InSeconds();
if (active_seconds < 0 ||
active_seconds >= static_cast<int>((2 * kIdlePollIntervalSeconds))) {
activity_storage_->AddActivityPeriod(
now - TimeDelta::FromSeconds(kIdlePollIntervalSeconds), now, now,


actcd19/main/c/charls/charls_2.0.0+dfsg-1/src/decoderstrategy.h:152:

                {

if (_validBits <= 0)
throw std::system_error(static_cast<int>(charls::ApiResult::InvalidCompressedData), CharLSCategoryInstance());

return;


actcd19/main/c/chromium/chromium_72.0.3626.121-1/base/system/sys_info.h:51:

      // Return the number of megabytes of physical memory on the current machine.
static int AmountOfPhysicalMemoryMB() {
return static_cast<int>(AmountOfPhysicalMemory() / 1024 / 1024);
}


actcd19/main/m/med-fichier/med-fichier_4.0.0+repack-6/python/medenum_int_wrap.cc:8484:

      SWIG_Python_SetConstant(d, "MED_FIELD",SWIG_From_int(static_cast< int >(MED_FIELD)));
SWIG_Python_SetConstant(d, "MED_LIBRARY",SWIG_From_int(static_cast< int >(MED_LIBRARY)));
SWIG_Python_SetConstant(d, "MED_FILE",SWIG_From_int(static_cast< int >(MED_FILE)));
SWIG_Python_SetConstant(d, "MED_MESH_SUPPORT",SWIG_From_int(static_cast< int >(MED_MESH_SUPPORT)));
SWIG_Python_SetConstant(d, "MED_ELSTRUCT",SWIG_From_int(static_cast< int >(MED_ELSTRUCT)));


actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/toolkit/components/protobuf/src/google/protobuf/type.pb.cc:555:

              DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->oneofs(this->oneofs_size() - 1).data(),
static_cast<int>(this->oneofs(this->oneofs_size() - 1).length()),
::google::protobuf::internal::WireFormatLite::PARSE,
"google.protobuf.Type.oneofs"));


actcd19/main/t/trilinos/trilinos_12.12.1-7/packages/moocho/src/ConstrainedOptPack/src/qpsolvers/ConstrainedOptPack_QPSolverStats.hpp:69:

      /// Enumeration for the type of projected QP on output
enum EConvexity {
CONVEXITY_NOT_KNOWN = static_cast<int>(NOT_KNOWN),
CONVEX = 0,
NONCONVEX = 1


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/content/browser/bluetooth/bluetooth_metrics.cc:210:

        case blink::mojom::WebBluetoothGATTQueryQuantity::SINGLE:
UMA_HISTOGRAM_ENUMERATION(
"Bluetooth.Web.GetCharacteristic.Outcome", static_cast<int>(outcome),
static_cast<int>(UMAGetCharacteristicOutcome::COUNT));
return;


actcd19/main/m/mariadb-10.3/mariadb-10.3_10.3.13-1/storage/rocksdb/rocksdb/db/compaction_picker_test.cc:298:

      ASSERT_EQ(1U, compaction->input(0, 0)->fd.GetNumber());
ASSERT_EQ(2U, compaction->input(0, 1)->fd.GetNumber());
ASSERT_EQ(1, static_cast<int>(compaction->num_input_levels()));
ASSERT_EQ(num_levels - 2, compaction->output_level());
}


actcd19/main/h/hsail-tools/hsail-tools_0~20170314-3/libHSAIL/HSAILDump.cpp:415:

        void dumpValue(f32_t arg) { printFloatValue(s, FloatDisassemblyModeDecimal, arg); }
void dumpValue(f64_t arg) { printFloatValue(s, FloatDisassemblyModeDecimal, arg); }
void dumpValue(char arg) { s << static_cast<int>(arg); }
void dumpValue(signed char arg) { s << static_cast<int>(arg); }
void dumpValue(unsigned char arg) { s << static_cast<int>(arg); }


actcd19/main/t/trilinos/trilinos_12.12.1-7/packages/tpetra/core/test/Block/BlockMultiVector.cpp:69:

            return false;
}
for (int j = 0; j < static_cast<int> (X.dimension_1 ()); ++j) {
for (int i = 0; i < static_cast<int> (X.dimension_0 ()); ++i) {
if (X(i,j) != Y(i,j)) {


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/MacDrawProParser.cxx:2616:

        f.str("");
f << "HeaderInfo-B" << i << ":";
val=static_cast<int>(input->readULong(2)); // always 0 ?
if (val) f << "f0=" << val << ",";


actcd19/main/c/codelite/codelite_12.0+dfsg-1/sdk/codelite_indexer/network/named_pipe.cpp:94:

    	}


*written = static_cast<int>(actualWrote);
return true;
#else


actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/media/webrtc/trunk/webrtc/base/trace_event.h:346:

            category, name, id, TRACE_EVENT_FLAG_NONE, \
value1_name, static_cast<int>(value1_val), \
value2_name, static_cast<int>(value2_val))
#define TRACE_COPY_COUNTER_ID2(category, name, id, value1_name, value1_val, \
value2_name, value2_val) \


actcd19/main/v/vtk7/vtk7_7.1.1+dfsg1-12/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx:295:

                                static_cast<int>(vp[1]));

this->Storage->Dim.Set(static_cast<int>(vp[2]),
static_cast<int>(vp[3]));


actcd19/main/q/qtbase-opensource-src/qtbase-opensource-src_5.10.1+dfsg-5/src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp:368:

                // now since that is pretty much standard.
QWindowSystemInterface::handleWheelEvent(w, localPoint, globalPoint, wheelDelta, Qt::Vertical);
qScreenEventDebug() << "Qt wheel, w=" << w << ", (" << localPoint.x() << "," << localPoint.y() << "), d=" << static_cast<int>(wheelDelta);
}
}


actcd19/main/f/ffmpegthumbnailer/ffmpegthumbnailer_2.1.1-0.2/.pc/ffmpeg4.patch/libffmpegthumbnailer/moviedecoder.cpp:429:

            else
{
destWidth = static_cast<int>(static_cast<float>(squareSize) / srcHeight * srcWidth);
destHeight = squareSize;
}


actcd19/main/f/firefox-esr/firefox-esr_60.5.1esr-1/toolkit/components/protobuf/src/google/protobuf/struct.pb.cc:1004:

      if (has_string_value()) {
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
this->string_value().data(), static_cast<int>(this->string_value().length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Value.string_value");


actcd19/main/z/zeroc-ice/zeroc-ice_3.7.2-4/.pc/0001-Fix-macros-for-Linux-OS-detection/cpp/src/IceGrid/PlatformInfo.cpp:111:

    
vector<SYSTEM_LOGICAL_PROCESSOR_INFORMATION> buffer(1);
DWORD returnLength = sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION) * static_cast<int>(buffer.size());
while(true)
{


actcd19/main/g/gdal/gdal_2.4.0+dfsg-1/frmts/hdf5/hdf5imagedataset.cpp:556:

        else if( poDS->ndims == 3 )
{
poDS->nBands = static_cast<int>(poDS->dims[0]);
}
else


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

    			surface->LineTo(static_cast<int>(rcSegment.right), static_cast<int>(rcSegment.bottom));
if (subLine == ll->lines) {
surface->MoveTo(static_cast<int>(rcSegment.left), static_cast<int>(rcSegment.top));
surface->LineTo(static_cast<int>(rcSegment.right), static_cast<int>(rcSegment.top));
}


actcd19/main/s/supertux/supertux_0.6.0-1/src/editor/worldmap_objects.cpp:68:

    
m_tile_x = static_cast<int>(m_col.m_bbox.get_left()) / 32;
m_tile_y = static_cast<int>(m_col.m_bbox.get_top()) / 32;

result.remove("x");


actcd19/main/p/paraview/paraview_5.0.1+dfsg1-5.1/VTK/Interaction/Widgets/vtkBiDimensionalRepresentation2D.cxx:692:

          {
maxX = static_cast<int>(p2[0]);
maxY = static_cast<int>(p2[1]);
}
if (p3[1] > maxY)


actcd19/main/o/openscad/openscad_2019.01~RC2-2/src/dxfdata.cc:249:

    				double sweep_angle = ellipse_stop_angle-ellipse_start_angle;
int n = Calc::get_fragments_from_r(r_major, fn, fs, fa);
n = static_cast<int>(ceil(n * sweep_angle / (2 * M_PI)));
// Vector2d p1;
Vector2d p1{0.0, 0.0};


actcd19/main/libv/libv8-3.14/libv8-3.14_3.14.5.8-11/src/utils.h:986:

        // The strange typing in ASSERT is necessary to avoid stupid warnings, see:
// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43680
ASSERT(static_cast<int>(element) < static_cast<int>(sizeof(T) * CHAR_BIT));
return 1 << element;
}


actcd19/main/m/mariadb-10.3/mariadb-10.3_10.3.13-1/storage/rocksdb/rocksdb/db/db_iterator_test.cc:1012:

    
ASSERT_TRUE(iter->Valid());
ASSERT_EQ(static_cast<int>(get_perf_context()->internal_delete_skipped_count), 2);

// now testing with iterate_bound


actcd19/main/q/qgis/qgis_2.18.28+dfsg-2/src/plugins/evis/eventbrowser/evisimagedisplaywidget.cpp:179:

        else
{
mySize.setHeight( static_cast<int>( mImage->height() *( mScaleToFit + ( mScaleFactor * mCurrentZoomStep ) ) ) );
mySize.setWidth( static_cast<int>(( double )mySize.height() * mImageSizeRatio ) );
}


actcd19/main/c/colobot/colobot_0.1.11.1-6/lib/gtest/include/gtest/internal/gtest-port.h:1632:

    #if !GTEST_OS_WINDOWS_MOBILE
inline int Read(int fd, void* buf, unsigned int count) {
return static_cast<int>(read(fd, buf, count));
}
inline int Write(int fd, const void* buf, unsigned int count) {


actcd19/main/g/geany/geany_1.34.1-1/scintilla/src/Editor.cxx:7239:

    
case SCI_SETCARETFORE:
vs.caretcolour = ColourDesired(static_cast<int>(wParam));
InvalidateStyleRedraw();
break;


actcd19/main/q/qtwebkit/qtwebkit_2.3.4.dfsg-10/Tools/DumpRenderTree/efl/TextInputController.cpp:52:

        JSStringRelease(string);

int start = static_cast<int>(JSValueToNumber(context, arguments[1], exception));
int length = static_cast<int>(JSValueToNumber(context, arguments[2], exception));


actcd19/main/e/ecflow/ecflow_4.13.0-1/ANattr/src/RepeatAttr.cpp:680:

    void RepeatEnumerated::setToLastValue()
{
currentIndex_ = static_cast< int > ( theEnums_.size() - 1);
if (currentIndex_ < 0) currentIndex_ = 0;
incr_state_change_no();


actcd19/non-free/f/fsl/fsl_5.0.8-6/src/first/first.cc:537:

    	
*bounds=static_cast<int>(floor(xmin/xdim)-1);
*(bounds+1)=static_cast<int>(ceil(xmax/xdim)+1);
*(bounds+2)=static_cast<int>(floor(ymin/ydim)-1);
*(bounds+3)=static_cast<int>(ceil(ymax/ydim)+1);


actcd19/main/w/webkit2gtk/webkit2gtk_2.22.7-1/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:229:

        m_deinterleavePadRemovedHandlerId = g_signal_connect(deInterleave, "pad-removed", G_CALLBACK(onGStreamerDeinterleavePadRemovedCallback), this);

GstCaps* caps = gst_caps_new_simple("audio/x-raw", "rate", G_TYPE_INT, static_cast<int>(gSampleBitRate),
"channels", G_TYPE_INT, gNumberOfChannels,
"format", G_TYPE_STRING, GST_AUDIO_NE(F32),


actcd19/main/m/mongodb/mongodb_3.4.18-2/src/third_party/pcre-8.41/pcre_stringpiece.h:78:

          length_(static_cast<int>(strlen(ptr_))) { }
StringPiece(const string& str)
: ptr_(str.data()), length_(static_cast<int>(str.size())) { }
StringPiece(const char* offset, int len)
: ptr_(offset), length_(len) { }


actcd19/main/c/clp/clp_1.16.11+repack1-1/src/ClpModel.cpp:3541:

         }
#endif
int size = static_cast<int>(columnNames_.size());
if (size > iColumn) {
return columnNames_[iColumn];


actcd19/main/i/insighttoolkit4/insighttoolkit4_4.12.2-dfsg1-4/Modules/Core/Common/test/itkThreadedIteratorRangePartitionerTest2.cxx:259:

      for( unsigned int i = 0; i < 256; ++i )
{
container->SetElement( i, static_cast< int >( i ) );
}
DomainType fullDomain( container->Begin(), container->End() );


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/v8/src/arm/constants-arm.h:340:

    
inline int NeonU(NeonDataType dt) { return static_cast<int>(dt) >> 2; }
inline int NeonSz(NeonDataType dt) { return static_cast<int>(dt) & 0x3; }

// Convert sizes to data types (U bit is clear).


actcd19/main/c/chromium/chromium_72.0.3626.121-1/third_party/webrtc/modules/pacing/bitrate_prober.cc:165:

          cluster->time_started_ms = now_ms;
}
cluster->sent_bytes += static_cast<int>(bytes);
cluster->sent_probes += 1;
next_probe_time_ms_ = GetNextProbeTime(*cluster);


actcd19/main/l/liggghts/liggghts_3.8.0+repack1-4/src/fix_multisphere_comm.cpp:561:

            j = list[i];

flag = static_cast<int>(buf[m++]);
if(flag)
{


actcd19/main/n/nodejs/nodejs_4.6.1~dfsg-1/deps/v8/src/scanner.h:732:

      // Return the current source position.
int source_pos() {
return static_cast<int>(source_->pos()) - kCharacterLookaheadBufferSize;
}


actcd19/main/m/mame/mame_0.182-1/src/devices/sound/discrete.h:4637:

    #define DISCRETE_MIXER4(NODE,ENAB,IN0,IN1,IN2,IN3,INFO)                 DSC_SND_ENTRY( NODE, dst_mixer       , DSS_NODE        , 5, DSE( static_cast<int>(ENAB),static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3) ), DSE( ENAB,IN0,IN1,IN2,IN3 ), INFO, "DISCRETE_MIXER4" ),
#define DISCRETE_MIXER5(NODE,ENAB,IN0,IN1,IN2,IN3,IN4,INFO) DSC_SND_ENTRY( NODE, dst_mixer , DSS_NODE , 6, DSE( static_cast<int>(ENAB),static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4) ), DSE( ENAB,IN0,IN1,IN2,IN3,IN4 ), INFO, "DISCRETE_MIXER5" ),
#define DISCRETE_MIXER6(NODE,ENAB,IN0,IN1,IN2,IN3,IN4,IN5,INFO) DSC_SND_ENTRY( NODE, dst_mixer , DSS_NODE , 7, DSE( static_cast<int>(ENAB),static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5) ), DSE( ENAB,IN0,IN1,IN2,IN3,IN4,IN5 ), INFO, "DISCRETE_MIXER6" ),
#define DISCRETE_MIXER7(NODE,ENAB,IN0,IN1,IN2,IN3,IN4,IN5,IN6,INFO) DSC_SND_ENTRY( NODE, dst_mixer , DSS_NODE , 8, DSE( static_cast<int>(ENAB),static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5),static_cast<int>(IN6) ), DSE( ENAB,IN0,IN1,IN2,IN3,IN4,IN5,IN6 ), INFO, "DISCRETE_MIXER7" ),
#define DISCRETE_MIXER8(NODE,ENAB,IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7,INFO) DSC_SND_ENTRY( NODE, dst_mixer , DSS_NODE , 9, DSE( static_cast<int>(ENAB),static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5),static_cast<int>(IN6),static_cast<int>(IN7) ), DSE( ENAB,IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7 ), INFO, "DISCRETE_MIXER8" ),


actcd19/main/f/freecad/freecad_0.18~pre1+dfsg1-5/src/Gui/Clipping.cpp:154:

            {
minlen = minlen / steps;
int dim = static_cast<int>(log10(minlen));
double singleStep = pow(10.0, dim);
d->ui.clipView->setSingleStep(singleStep);


actcd19/main/k/kstars/kstars_3.0.0-1/kstars/ekos/align/offlineastrometryparser.cpp:411:

        }

int elapsed = static_cast<int>(round(solverTimer.elapsed() / 1000.0));
align->appendLogText(i18np("Solver completed in %1 second.", "Solver completed in %1 seconds.", elapsed));


actcd19/main/libc/libcxx-serial/libcxx-serial_1.2.1-1/src/impl/unix.cc:323:

    
// set custom divisor
ser.custom_divisor = ser.baud_base / static_cast<int> (baudrate_);
// update flags
ser.flags &= ~ASYNC_SPD_MASK;


actcd19/main/c/codeblocks/codeblocks_16.01+dfsg-2.1/src/sdk/wxscintilla/src/scintilla/src/Editor.cxx:6415:

    
case SCI_MARKERDELETE:
pdoc->DeleteMark(static_cast<int>(wParam), static_cast<int>(lParam));
break;


actcd19/main/libr/libreoffice/libreoffice_6.0.6~rc1-1/writerfilter/source/ooxml/OOXMLPropertySet.cxx:635:

        else
{
mnValue = static_cast<int>(val);
}
}


actcd19/main/x/xboxdrv/xboxdrv_0.8.8-1/src/xboxdrv_main.cpp:247:

        % uint16_t(desc.idVendor) % uint16_t(desc.idProduct) << std::endl;
std::cout << "USB Path: " << boost::format("%03d:%03d")
% static_cast<int>(libusb_get_bus_number(dev))
% static_cast<int>(libusb_get_device_address(dev)) << std::endl;
if (dev_type.type == GAMEPAD_XBOX360_WIRELESS)


actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/include/llvm/Analysis/AliasAnalysis.h:141:

    LLVM_NODISCARD inline bool isNoModRef(const ModRefInfo MRI) {
return (static_cast<int>(MRI) & static_cast<int>(ModRefInfo::MustModRef)) ==
static_cast<int>(ModRefInfo::Must);
}
LLVM_NODISCARD inline bool isModOrRefSet(const ModRefInfo MRI) {


actcd19/main/m/mapnik/mapnik_3.0.22+ds-1/include/mapnik/util/geometry_to_wkb.hpp:180:

        wkb_stream ss(wkb->buffer(), wkb->size());
ss.write(reinterpret_cast<char*>(&byte_order),1);
write(ss, static_cast<int>(mapnik::geometry::geometry_types::Polygon), 4, byte_order);
write(ss, poly.num_rings(), 4, byte_order);


actcd19/main/q/qgis/qgis_2.18.28+dfsg-2/src/core/dxf/qgsdxfexport.cpp:4458:

      {
int i;
for ( i = 0; i < static_cast< int >( sizeof( mDxfEncodings ) / sizeof( *mDxfEncodings ) ) && strcmp( codec.data(), mDxfEncodings[i][1] ) != 0; ++i )
;


actcd19/main/c/centreon-engine/centreon-engine_18.10.0-4/src/configuration/applier/contact.cc:309:

      modify_if_different(
c->notify_on_host_down,
static_cast<int>(static_cast<bool>(
obj.host_notification_options() & host::down)));
modify_if_different(


actcd19/main/t/thunderbird/thunderbird_60.5.1-1/media/webrtc/trunk/webrtc/test/frame_generator.cc:160:

            pause_time_(pause_time_ms),
num_frames_(files.size()),
target_width_(static_cast<int>(target_width)),
target_height_(static_cast<int>(target_height)),
current_frame_num_(num_frames_ - 1),


actcd19/main/k/kid3/kid3_3.7.0-2/src/core/model/tagsearcher.cpp:482:

    {
QVariantList lst;
lst << m_searchText << m_replaceText << static_cast<int>(m_flags)
<< m_frameMask;
return lst;


actcd19/main/m/mozjs52/mozjs52_52.9.1-1/mfbt/double-conversion/fixed-dtoa.cc:90:

          uint64_t part_low = low_bits_ >> power;
uint64_t part_high = high_bits_ << (64 - power);
int result = static_cast<int>(part_low + part_high);
high_bits_ = 0;
low_bits_ -= part_low << power;


actcd19/main/z/zeroc-ice/zeroc-ice_3.6.4-1+buster/cpp/src/Slice/RubyUtil.cpp:1730:

                    for(vector<unsigned char>::const_iterator q = p->second.begin(); q != p->second.end(); ++q)
{
str << static_cast<int>(*q);
}
out << str.str() << "\"";


actcd19/main/g/gnss-sdr/gnss-sdr_0.0.10-4/src/algorithms/libs/rtklib/rtklib_rtkcmn.cc:1317:

        /* leap year if year%4==0 in 1901-2099 */
days = static_cast<int>(t.time / 86400);
sec = static_cast<int>(t.time - static_cast<time_t>(days) * 86400);
for (day = days % 1461, mon = 0; mon < 48; mon++)
{


actcd19/main/o/opencv/opencv_3.2.0+dfsg-4/modules/cudaarithm/src/arithm.cpp:248:

            cublasSafeCall( cublasSgemm_v2(handle, transa, transb, tr2 ? src2.rows : src2.cols, tr1 ? src1.cols : src1.rows, tr2 ? src2.cols : src2.rows,
&alphaf,
src2.ptr<float>(), static_cast<int>(src2.step / sizeof(float)),
src1.ptr<float>(), static_cast<int>(src1.step / sizeof(float)),
&betaf,


actcd19/main/libp/libpodofo/libpodofo_0.9.6+dfsg-4/src/doc/PdfField.h:1058:

    inline void PdfTextField::SetRichText( bool bRichText )
{
this->SetFieldFlag( static_cast<int>(ePdfTextField_RichText), bRichText);
}


actcd19/main/c/clanlib/clanlib_1.0~svn3827-7/Sources/SDL/graphic_context_sdl.cpp:84:

    
x += static_cast<int>(get_modelview().get_origin_x());
y += static_cast<int>(get_modelview().get_origin_y());

int bpp = screen->format->BytesPerPixel;


actcd19/main/m/mixxx/mixxx_2.2.0~dfsg-1/src/util/movinginterquartilemean.cpp:74:

            int nFullValues = m_list.size() - 2*static_cast<int>(quartileSize) - 2;
double quartileWeight = (interQuartileRange - nFullValues) / 2;
QLinkedList<double>::iterator it = m_list.begin() + static_cast<int>(quartileSize);
double d_sum = *it * quartileWeight;
++it;


actcd19/main/m/mame/mame_0.176-3/src/devices/sound/discrete.h:4687:

    #define DISCRETE_CUSTOM6(NODE,CLASS,IN0,IN1,IN2,IN3,IN4,IN5,INFO)             DSC_SND_ENTRY( NODE, CLASS, DST_CUSTOM      , 6, DSE( static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5) ), DSE( IN0,IN1,IN2,IN3,IN4,IN5 ), INFO, "DISCRETE_CUSTOM6" ),
#define DISCRETE_CUSTOM7(NODE,CLASS,IN0,IN1,IN2,IN3,IN4,IN5,IN6,INFO) DSC_SND_ENTRY( NODE, CLASS, DST_CUSTOM , 7, DSE( static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5),static_cast<int>(IN6) ), DSE( IN0,IN1,IN2,IN3,IN4,IN5,IN6 ), INFO, "DISCRETE_CUSTOM7" ),
#define DISCRETE_CUSTOM8(NODE,CLASS,IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7,INFO) DSC_SND_ENTRY( NODE, CLASS, DST_CUSTOM , 8, DSE( static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5),static_cast<int>(IN6),static_cast<int>(IN7) ), DSE( IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7 ), INFO, "DISCRETE_CUSTOM8" ),
#define DISCRETE_CUSTOM9(NODE,CLASS,IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,INFO) DSC_SND_ENTRY( NODE, CLASS, DST_CUSTOM , 9, DSE( static_cast<int>(IN0),static_cast<int>(IN1),static_cast<int>(IN2),static_cast<int>(IN3),static_cast<int>(IN4),static_cast<int>(IN5),static_cast<int>(IN6),static_cast<int>(IN7),static_cast<int>(IN8) ), DSE( IN0,IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8 ), INFO, "DISCRETE_CUSTOM9" ),


actcd19/main/c/calligraplan/calligraplan_3.1.0-3/src/libs/ui/kptganttitemdelegate.cpp:922:

                const QRectF r = QRectF( opt.rect ).adjusted( -pw, -pw, pw, pw );
QPainterPath path;
const qreal delta = static_cast< int >( r.height() / 2 );
path.moveTo( delta, 0. );
path.lineTo( 2.*delta, delta );


actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/content/browser/webrtc/webrtc_internals.cc:184:

      if (observers_.might_have_observers()) {
std::unique_ptr<base::DictionaryValue> id(new base::DictionaryValue());
id->SetInteger("pid", static_cast<int>(pid));
id->SetInteger("lid", lid);
SendUpdate("removePeerConnection", std::move(id));


actcd19/main/v/vtk7/vtk7_7.1.1+dfsg1-12/Rendering/Volume/vtkFixedPointVolumeRayCastMapper.cxx:1826:

        if ( diff[1] >= diff[0] && diff[1] >= diff[2] && rayDirection[1])
{
steps = 1 + static_cast<int>( diff[1] /
((rayDirection[1]<0)?(-rayDirection[1]):(rayDirection[1])) );
}


actcd19/main/a/audacity/audacity_2.0.6-2/.pc/wxWidgets-3.0.patch/src/TrackPanel.cpp:4766:

                    / (mInitialTrackHeight + mInitialUpperTrackHeight);

int newTrackHeight = static_cast < int >
(mInitialTrackHeight + delta * proportion);


actcd19/main/g/gnss-sdr/gnss-sdr_0.0.9-5/src/algorithms/PVT/libs/nmea_printer.cc:580:

                        frame_str.width(3);
frame_str.fill('0');
frame_str << std::dec << static_cast<int>(d_PVT_data->d_visible_satellites_Az[current_satellite]);

frame_str << ",";


actcd19/main/z/zeroc-ice/zeroc-ice_3.7.2-4/php/src/php7/Properties.cpp:60:

                str.append(p->first + "=" + p->second);
}
RETURN_STRINGL(STRCAST(str.c_str()), static_cast<int>(str.length()));
}
catch(const IceUtil::Exception& ex)


actcd19/main/g/gdal/gdal_2.4.0+dfsg-1/ogr/ogrsf_frmts/vrt/ogrvrtlayer.cpp:1384:

                return nullptr;

if( ((m_iGeomFieldFilter < static_cast<int>(apoGeomFieldProps.size()) &&
apoGeomFieldProps[m_iGeomFieldFilter]->eGeometryStyle ==
VGS_Direct) ||


actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/ParaViewCore/VTKExtensions/Default/vtkSpyPlotUniReader.cxx:1938:

              return 0;
}
if (static_cast<int>(markerBuffer.size()) < numBytes)
{
markerBuffer.resize(numBytes);


actcd19/main/k/k3b/k3b_18.08.1-1/src/rip/videodvd/k3bvideodvdaudiomodel.cpp:57:

                d->chosenAudio.insert( &title, 0 );

for( int i = 0; i < static_cast<int>( title.numAudioStreams() ); ++i ) {
const VideoDVD::AudioStream& audio = title.audioStream( i );
d->parents.insert( &audio, &title );


actcd19/main/r/rdkit/rdkit_201809.1+dfsg-6/Code/Geometry/UniformGrid3D.cpp:106:

      xi = static_cast<int>(floor(tPt.x + move));
yi = static_cast<int>(floor(tPt.y + move));
zi = static_cast<int>(floor(tPt.z + move));

if ((xi < 0) || (xi >= static_cast<int>(d_numX))) {


actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:175:

            return "cell," + ssid_mccmnc;
}
return base::IntToString(static_cast<int>(connection_type)) + "," +
ssid_mccmnc;
}


actcd19/main/p/presage/presage_0.9.1-2.1/apps/gtk/gprompter/scintilla/src/Editor.cxx:7448:

    
case SCI_SETSELECTIONNSTART:
sel.Range(wParam).anchor.SetPosition(static_cast<int>(lParam));
Redraw();
break;


actcd19/main/r/rocksdb/rocksdb_5.17.2-3/.pc/fix_db_bench_tool_FTBFS.patch/tools/db_bench_tool.cc:4092:

              compactionOptions.output_file_size_limit =
MaxFileSizeForLevel(mutable_cf_options,
static_cast<int>(output_level), compaction_style);
db->CompactFiles(
compactionOptions,


actcd19/main/o/openms/openms_2.4.0-real-1/src/openms/source/COMPARISON/SPECTRA/BinnedSpectrum.cpp:105:

            
// prevent spreading over left boundaries
if (static_cast<int>(idx - j - 1) >= 0)
{
bins_.coeffRef(idx - j - 1) += p.getIntensity();


actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/Imaging/Core/vtkImageDifference.cxx:62:

          static_cast<int>((c2+in2Inc1)[0]) + static_cast<int>((c2+in2Inc1-in2Inc0)[0]) + static_cast<int>((c2+in2Inc1+in2Inc0)[0]); \
ag2 = static_cast<int>((c2)[1]) + static_cast<int>((c2 - in2Inc0)[1]) + static_cast<int>((c2 + in2Inc0)[1]) + \
static_cast<int>((c2-in2Inc1)[1]) + static_cast<int>((c2-in2Inc1-in2Inc0)[1]) + static_cast<int>((c2-in2Inc1+in2Inc0)[1]) + \
static_cast<int>((c2+in2Inc1)[1]) + static_cast<int>((c2+in2Inc1-in2Inc0)[1]) + static_cast<int>((c2+in2Inc1+in2Inc0)[1]); \
ab2 = static_cast<int>((c2)[2]) + static_cast<int>((c2 - in2Inc0)[2]) + static_cast<int>((c2 + in2Inc0)[2]) + \


actcd19/main/v/vtk-dicom/vtk-dicom_0.8.9-1/Source/vtkDICOMUIDGenerator.cxx:165:

    
// return the remainder
return static_cast<int>(x);
}


actcd19/main/g/gdal/gdal_2.4.0+dfsg-1/frmts/grib/degrib/degrib/degrib2.cpp:1229:

       if (ComputeUnit (meta->convert, meta->unitName, f_unit, &unitM, &unitB,
unitName) == 0) {
unitLen = static_cast<int>(strlen (unitName));
meta->unitName = (char *) realloc ((void *) (meta->unitName),
1 + unitLen * sizeof (char));


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

          return;

if (Succ(head_) == static_cast<int>(base::Relaxed_Load(&tail_))) {
overflow_ = true;
} else {


actcd19/main/p/pktools/pktools_2.6.7.6+ds-1/src/algorithms/ImgRegression.cc:130:

          if(icol2<0||icol2>=imgReader2.nrOfCol())
continue;
icol2=static_cast<int>(icol2);
irow2=static_cast<int>(irow2);
//check for nodata


actcd19/main/c/chromium/chromium_72.0.3626.121-1/components/cloud_devices/common/printer_description.cc:171:

      {                                                              \
type, #type, static_cast<int>(width* unit_um + 0.5), \
static_cast<int>(height* unit_um + 0.5) \
}


actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/VTK/Common/DataModel/vtkHyperTreeGrid.cxx:1232:

      // Check whether coordinate arrays match grid size
// If coordinates array are complete, compute all tree scales
if ( static_cast<int>( this->GridSize[0] ) + 1 == this->XCoordinates->GetNumberOfTuples()
&& static_cast<int>( this->GridSize[1] ) + 1 == this->YCoordinates->GetNumberOfTuples()
&& static_cast<int>( this->GridSize[2] ) + 1 == this->ZCoordinates->GetNumberOfTuples() )


actcd19/main/v/vtk6/vtk6_6.3.0+dfsg2-2/Charts/Core/vtkChartXY.cxx:989:

      vtkRectf rect = this->Legend->GetBoundingRect(painter);
legendSize.Set(static_cast<int>(rect.GetWidth()),
static_cast<int>(rect.GetHeight()));

// Figure out the correct place and alignment based on the legend layout.


actcd19/main/p/pcl/pcl_1.8.1+dfsg1-1/examples/segmentation/example_supervoxels.cpp:205:

        
// Fill in image data
int centerX = static_cast<int>(cloud->width / 2.0);
int centerY = static_cast<int>(cloud->height / 2.0);
unsigned short* depth_pixel;


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

    	case SCI_GETLINESELSTARTPOSITION:
case SCI_GETLINESELENDPOSITION: {
SelectionSegment segmentLine(SelectionPosition(pdoc->LineStart(static_cast<int>(wParam))),
SelectionPosition(pdoc->LineEnd(static_cast<int>(wParam))));
for (size_t r=0; r<sel.Count(); r++) {


actcd19/main/h/htseq/htseq_0.5.4p3-2/src/StepVector_wrap.cxx:3987:

        SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_Pair_int_int_second_set" "', argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
if (arg1) (arg1)->second = arg2;
resultobj = SWIG_Py_Void();


actcd19/main/g/gdal/gdal_2.4.0+dfsg-1/ogr/ogrsf_frmts/pg/ogrpglayer.cpp:1361:

            if( EQUALN(pszFieldName, apszKnownGeomFuncPrefixes[i],
static_cast<int>(strlen(apszKnownGeomFuncPrefixes[i]))) )
return static_cast<int>(i);
}
return -1;


actcd19/main/libm/libmwaw/libmwaw_0.3.14-1/src/lib/MacDraft5Parser.cxx:2855:

        return false;
}
if (layoutId<0 || layoutId>=static_cast<int>(m_state->m_layoutList.size()) || !m_state->m_layoutList[size_t(layoutId)]) {
MWAW_DEBUG_MSG(("MacDraft5Parser::sendText: can not find the layout\n"));
return false;


actcd19/main/c/chromium/chromium_72.0.3626.121-1/sandbox/linux/integration_tests/bpf_dsl_seccomp_unittest.cc:469:

    // MIN_PRIVATE_SYSCALL plus 1 (to avoid NUL errno).
int ArmPrivateSysnoToErrno(int sysno) {
if (sysno >= static_cast<int>(MIN_PRIVATE_SYSCALL) &&
sysno <= static_cast<int>(MAX_PRIVATE_SYSCALL)) {
return (sysno - MIN_PRIVATE_SYSCALL) + 1;


actcd19/main/libr/libreoffice/libreoffice_6.0.6~rc1-1/xmlsecurity/qa/unit/signing/signing.cxx:497:

        SfxObjectShell* pObjectShell = pBaseModel->GetObjectShell();
CPPUNIT_ASSERT(pObjectShell);
CPPUNIT_ASSERT_EQUAL(static_cast<int>(SignatureState::BROKEN), static_cast<int>(pObjectShell->GetDocumentSignatureState()));
}


actcd19/main/p/paraview/paraview_5.4.1+dfsg4-3.1/Plugins/MantaView/VTK/vtkMantaProperty.cxx:329:

          // just default to phong
this->MantaMaterial = new Manta::Phong(this->DiffuseTexture, this->SpecularTexture,
static_cast<int>(this->GetSpecularPower()),
new Manta::Constant<Manta::ColorComponent>(this->Reflectance));
}