Home
last modified time | relevance | path

Searched refs:GetUInt (Results 1 – 25 of 214) sorted by relevance

123456789

/dports/biology/avida/avida-2.12.4-src/avida-core/source/main/
H A DcGradientCount.cc210 m_movesigny = (rng.GetUInt(0,2) == 1) ? -1 : 1; in generatePeak()
215 m_halo_dir = (rng.GetUInt(0,2) == 1) ? -1 : 1; in generatePeak()
216 m_changling = (rng.GetUInt(0,2) == 1) ? -1 : 1; in generatePeak()
220 const int chooseUpDown = rng.GetUInt(0,2); in generatePeak()
222 int chooseEW = rng.GetUInt(0,2); in generatePeak()
234 int chooseNS = rng.GetUInt(0,2); in generatePeak()
451 int random_shift = ctx.GetRandom().GetUInt(0,2); in setHaloPeakMovement()
634 int direction = ctx.GetRandom().GetUInt(0,2); in generateBarrier()
683 if(ctx.GetRandom().GetUInt(0, 21) == 20) direction = ctx.GetRandom().GetUInt(0, 8); in generateBarrier()
777 int chooseEW = rng.GetUInt(0,2); in generateHills()
[all …]
/dports/biology/avida/avida-2.12.4-src/avida-core/source/tools/
H A DcRandom.h134 …unsigned int GetUInt(const unsigned int max) { return static_cast<int>(GetDouble() * static_cast<d… in GetUInt() function
143 …unsigned int GetUInt(const unsigned int min, const unsigned int max) { return GetUInt(max - min) +… in GetUInt() function
152 int GetInt(const int max) { return static_cast<int>(GetUInt(max)); } in GetInt()
153 int GetInt(const int min, const int max) { return static_cast<int>(GetUInt(max - min)) + min; } in GetInt()
329 int byte_pos = 8 * GetUInt(4); in MutateByte()
330 int new_byte = GetUInt(256); in MutateByte()
338 int byte_pos = 8 * GetUInt(4); in ClearByte()
345 int bit_pos = GetUInt(32); in MutateBit()
352 int bit_pos = (in_byte) * 8 + GetUInt(8); in MutateBit()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/externalized/
H A DItemModel.cc174 obj.GetUInt("itemIndex"), in deserialize()
176 obj.GetUInt("usItemClass"), in deserialize()
177 obj.GetUInt("ubClassIndex"), in deserialize()
178 (ItemCursor)obj.GetUInt("ubCursor"), in deserialize()
179 obj.GetUInt("ubGraphicType"), in deserialize()
180 obj.GetUInt("ubGraphicNum"), in deserialize()
181 obj.GetUInt("ubWeight"), in deserialize()
182 obj.GetUInt("ubPerPocket"), in deserialize()
183 obj.GetUInt("usPrice"), in deserialize()
184 obj.GetUInt("ubCoolness"), in deserialize()
/dports/biology/avida/avida-2.12.4-src/avida-core/source/utils/task_events/
H A Dtask_event_gen.cc93 int next_task = random.GetUInt(num_tasks); in main()
113 int next_task = random.GetUInt(num_tasks); in main()
115 next_task = random.GetUInt(num_tasks); in main()
119 int old_task = random.GetUInt(num_tasks); in main()
121 old_task = random.GetUInt(num_tasks); in main()
H A Dtask_event_gen.old.cc95 int next_task = random.GetUInt(num_tasks); in main()
118 next_task = random.GetUInt(num_tasks); in main()
128 int task_pos = random.GetUInt(task_count); in main()
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/
H A DglTFImporter.cpp331 SetFace(faces[i], data.GetUInt(i)); in ImportMeshes()
340 SetFace(faces[i / 2], data.GetUInt(i), data.GetUInt(i + 1)); in ImportMeshes()
349 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1)); in ImportMeshes()
351 SetFace(faces[i - 1], faces[i - 2].mIndices[1], data.GetUInt(i)); in ImportMeshes()
363 … SetFace(faces[i / 3], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
370 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
372 … SetFace(faces[i - 2], faces[i - 1].mIndices[1], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
379 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
381 … SetFace(faces[i - 2], faces[0].mIndices[0], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/code/
H A DglTFImporter.cpp360 SetFace(faces[i], data.GetUInt(i)); in ImportMeshes()
369 SetFace(faces[i / 2], data.GetUInt(i), data.GetUInt(i + 1)); in ImportMeshes()
378 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1)); in ImportMeshes()
380 SetFace(faces[i - 1], faces[i - 2].mIndices[1], data.GetUInt(i)); in ImportMeshes()
392 … SetFace(faces[i / 3], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
399 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
401 … SetFace(faces[i - 2], faces[i - 1].mIndices[1], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
408 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
410 … SetFace(faces[i - 2], faces[0].mIndices[0], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
H A DglTF2Importer.cpp416 SetFace(faces[i], data.GetUInt(i)); in ImportMeshes()
425 SetFace(faces[i / 2], data.GetUInt(i), data.GetUInt(i + 1)); in ImportMeshes()
434 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1)); in ImportMeshes()
436 SetFace(faces[i - 1], faces[i - 2].mIndices[1], data.GetUInt(i)); in ImportMeshes()
448 … SetFace(faces[i / 3], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
455 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
457 … SetFace(faces[i - 2], faces[i - 1].mIndices[1], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
464 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
466 … SetFace(faces[i - 2], faces[0].mIndices[0], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/
H A DFastmix.cpp56 maxSamples = 16384u / (increment.GetUInt() + 1u);
129 if(!chn.dwFlags[CHN_LOOP] || chn.position.GetUInt() >= chn.nLength) in GetSampleCount()
139 } else if (chn.position.GetUInt() >= chn.nLength) in GetSampleCount()
161 if(overshoot.GetUInt() < loopLength) in GetSampleCount()
169 if(chn.position.GetUInt() <= chn.nLoopStart || chn.position.GetUInt() >= chn.nLength) in GetSampleCount()
198 if (nPos.IsNegative() || nPos.GetUInt() >= chn.nLength) return 0; in GetSampleCount()
209 const SmpLength nPosInt = nPos.GetUInt(); in GetSampleCount()
220 if(nPos.GetUInt() >= lookaheadStart) in GetSampleCount()
282 SmpLength posDest = (nPos + nInc * (nSmpCount - 1)).GetUInt(); in GetSampleCount()
440 MPT_ASSERT(chn.position.GetUInt() == targetpos.GetUInt()); in CreateStereoMix()
[all …]
/dports/devel/upp/upp/bazaar/plugin/assimp/code/glTF/
H A DglTFImporter.cpp329 SetFace(faces[i], data.GetUInt(i)); in ImportMeshes()
342 SetFace(faces[i / 2], data.GetUInt(i), data.GetUInt(i + 1)); in ImportMeshes()
351 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1)); in ImportMeshes()
353 SetFace(faces[i - 1], faces[i - 2].mIndices[1], data.GetUInt(i)); in ImportMeshes()
369 … SetFace(faces[i / 3], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
376 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
378 … SetFace(faces[i - 2], faces[i - 1].mIndices[1], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
385 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
387 … SetFace(faces[i - 2], faces[0].mIndices[0], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/glTF/
H A DglTFImporter.cpp313 SetFace(faces[i], data.GetUInt(i)); in ImportMeshes()
326 SetFace(faces[i / 2], data.GetUInt(i), data.GetUInt(i + 1)); in ImportMeshes()
335 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1)); in ImportMeshes()
337 SetFace(faces[i - 1], faces[i - 2].mIndices[1], data.GetUInt(i)); in ImportMeshes()
353 … SetFace(faces[i / 3], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
360 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
362 … SetFace(faces[i - 2], faces[i - 1].mIndices[1], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
369 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
371 … SetFace(faces[i - 2], faces[0].mIndices[0], faces[i - 1].mIndices[2], data.GetUInt(i)); in ImportMeshes()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Scene/
H A DSceneResolver.cpp85 unsigned oldNodeID = component->GetAttribute(j).GetUInt(); in Resolve()
103 unsigned oldComponentID = component->GetAttribute(j).GetUInt(); in Resolve()
127 unsigned numIDs = oldNodeIDs[0].GetUInt(); in Resolve()
133 unsigned oldNodeID = oldNodeIDs[k].GetUInt(); in Resolve()
/dports/multimedia/mxflib/mxflib-1.0.1/mxflib/
H A Dmdobject.h770 UInt32 GetUInt(UInt32 Default = 0) { if (Value) return Value->GetUInt(); else return Default; };
862 UInt32 GetUInt(const char *ChildName, UInt32 Default = 0)
865 …if (Ptr) return Ptr->GetUInt(); else if(Value) return Value->GetUInt(ChildName, Default); else ret…
959 UInt32 GetUInt(const UL &ChildType, UInt32 Default = 0)
962 if (Ptr) return Ptr->GetUInt(); else return Default;
964 UInt32 GetUInt(ULPtr &ChildType, UInt32 Default = 0) { return GetUInt(*ChildType, Default); }
995 …UInt32 GetUInt(MDOTypePtr ChildType, UInt32 Default = 0) { MDObjectPtr Ptr = operator[](ChildType)…
1302 …UInt32 GetUInt(const char *ChildName, UInt32 Default = 0) { return Object->GetUInt(ChildName, Defa…
1329 …UInt32 GetUInt(const UL &ChildType, UInt32 Default = 0) { return Object->GetUInt(ChildType, Defaul…
1330 …UInt32 GetUInt(ULPtr &ChildType, UInt32 Default = 0) { return Object->GetUInt(*ChildType, Default)…
[all …]
H A Dmdtraits.cpp348 sprintf(Buffer, "%u", GetUInt(Object)); in GetString()
435 sprintf(Buffer, "%u", GetUInt(Object)); in GetString()
510 sprintf(Buffer, "%u", GetUInt(Object)); in GetString()
1059 return (*it).second->GetUInt(); in GetUInt()
1294 UInt32 MDTraits_Raw::GetUInt(MDValuePtr Object) in GetUInt() function in MDTraits_Raw
2261 if(Numerator) Num = Numerator->GetUInt(); in GetString()
2262 if(Denominator) Den = Denominator->GetUInt(); in GetString()
2307 if(Year) Y = Year->GetUInt(); else Y = 0; in GetString()
2308 if(Month) M = Month->GetUInt(); else M = 0; in GetString()
2309 if(Day) D = Day->GetUInt(); else D = 0; in GetString()
[all …]
H A Dmdtraits.h149 virtual UInt32 GetUInt(MDValuePtr Object);
162 inline UInt32 GetUint(MDValuePtr Object) { return GetUInt(Object); } in GetUint()
219 virtual UInt32 GetUInt(MDValuePtr Object);
242 virtual UInt32 GetUInt(MDValuePtr Object);
265 virtual UInt32 GetUInt(MDValuePtr Object);
292 virtual UInt32 GetUInt(MDValuePtr Object);
346 virtual UInt32 GetUInt(MDValuePtr Object);
368 virtual UInt32 GetUInt(MDValuePtr Object);
H A Dmdtype.h583 UInt32 GetUInt(void) { return Type->Traits->GetUInt(this); }; in GetUInt() function
585 UInt32 GetUint(void) { return Type->Traits->GetUInt(this); }; in GetUint()
593 …UInt32 GetUInt(const char *ChildName, UInt32 Default = 0) { MDValuePtr Ptr = operator[](ChildName)…
595 …ault = 0) { MDValuePtr Ptr = operator[](ChildName); if (Ptr) return Ptr->GetUInt(); else return De…
610 …UInt32 GetUInt(const UL &Child, UInt32 Default = 0) { MDValuePtr Ptr = operator[](Child); if (Ptr)…
612 … Default = 0) { MDValuePtr Ptr = operator[](Child); if (Ptr) return Ptr->GetUInt(); else return De…
/dports/biology/avida/avida-2.12.4-src/avida-core/source/cpu/
H A DcHardwareBase.cc474 int site = ctx.GetRandom().GetUInt(offspring_genome.GetSize()); in Divide_DoMutations()
507 int site = ctx.GetRandom().GetUInt(memory.GetSize()); in Divide_DoMutations()
554 int site = ctx.GetRandom().GetUInt(memory.GetSize()); in Divide_DoMutations()
570 int mut = ctx.GetRandom().GetUInt((m_inst_set->GetSize() * 2) + 1); in doUniformMutation()
573 int site = ctx.GetRandom().GetUInt(genome.GetSize()); in doUniformMutation()
579 int site = ctx.GetRandom().GetUInt(genome.GetSize()); in doUniformMutation()
585 int site = ctx.GetRandom().GetUInt(genome.GetSize() + 1); in doUniformMutation()
594 int mut = ctx.GetRandom().GetUInt((m_inst_set->GetSize() * 2) + 1); in doUniformCopyMutation()
839 int site = ctx.GetRandom().GetUInt(child_genome.GetSize()); in Divide_DoExactMutations()
1103 int site = ctx.GetRandom().GetUInt(memory.GetSize()); in PointMutate()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/externalized/mercs/
H A DMERCListingModel.cc46 r.GetUInt("quoteID"), in deserialize()
56 r.GetUInt("profileID"), in deserialize()
57 r.GetUInt("bioIndex"), in deserialize()
/dports/games/libretro-snes9x/snes9x-73aa348/
H A Dsnes9x.cpp241 Settings.SoundPlaybackRate = conf.GetUInt("Sound::Rate", 48000); in S9xLoadConfigFiles()
242 Settings.SoundInputRate = conf.GetUInt("Sound::InputRate", 31950); in S9xLoadConfigFiles()
266 Settings.TurboSkipFrames = conf.GetUInt("Settings::TurboFrameSkip", 15); in S9xLoadConfigFiles()
273 Settings.AutoSaveDelay = conf.GetUInt("Settings::AutoSaveDelay", 0); in S9xLoadConfigFiles()
276 Settings.FrameTimePAL = Settings.FrameTimeNTSC = conf.GetUInt("Settings::FrameTime", 16667); in S9xLoadConfigFiles()
281 Settings.SkipFrames = conf.GetUInt("Settings::FrameSkip", 0) + 1; in S9xLoadConfigFiles()
311 Settings.SuperFXClockMultiplier = conf.GetUInt("Hack::SuperFXClockMultiplier", 100); in S9xLoadConfigFiles()
312 Settings.OverclockMode = conf.GetUInt("Hack::OverclockMode", 0); in S9xLoadConfigFiles()
326 Settings.Port = -(int) conf.GetUInt("Netplay::Port"); in S9xLoadConfigFiles()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Navigation/
H A DCrowdManager.cpp293 …numQueryFilterTypes_ = index < value.Size() ? Min(value[index++].GetUInt(), (unsigned)DT_CROWD_MAX… in SetQueryFilterTypesAttr()
301 filter->setIncludeFlags((unsigned short)value[index++].GetUInt()); in SetQueryFilterTypesAttr()
302 filter->setExcludeFlags((unsigned short)value[index++].GetUInt()); in SetQueryFilterTypesAttr()
304 numAreas_[queryFilterType] = Min(value[index++].GetUInt(), (unsigned)DT_MAX_AREAS); in SetQueryFilterTypesAttr()
362 …numObstacleAvoidanceTypes_ = index < value.Size() ? Min(value[index++].GetUInt(), (unsigned)DT_CRO… in SetObstacleAvoidanceTypesAttr()
375 params.gridSize = (unsigned char)value[index++].GetUInt(); in SetObstacleAvoidanceTypesAttr()
376 params.adaptiveDivs = (unsigned char)value[index++].GetUInt(); in SetObstacleAvoidanceTypesAttr()
377 params.adaptiveRings = (unsigned char)value[index++].GetUInt(); in SetObstacleAvoidanceTypesAttr()
378 params.adaptiveDepth = (unsigned char)value[index++].GetUInt(); in SetObstacleAvoidanceTypesAttr()
/dports/devel/upp/upp/bazaar/plugin/assimp/code/glTF2/
H A DglTF2Importer.cpp529 SetFace(faces[i], data.GetUInt(i)); in ImportMeshes()
542 SetFace(faces[i / 2], data.GetUInt(i), data.GetUInt(i + 1)); in ImportMeshes()
551 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1)); in ImportMeshes()
553 SetFace(faces[i - 1], faces[i - 2].mIndices[1], data.GetUInt(i)); in ImportMeshes()
569 SetFace(faces[i / 3], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
580 SetFace(faces[i], data.GetUInt(i + 1), data.GetUInt(i), data.GetUInt(i + 2)); in ImportMeshes()
583 SetFace(faces[i], data.GetUInt(i), data.GetUInt(i + 1), data.GetUInt(i + 2)); in ImportMeshes()
591 SetFace(faces[0], data.GetUInt(0), data.GetUInt(1), data.GetUInt(2)); in ImportMeshes()
593 SetFace(faces[i], faces[0].mIndices[0], faces[i - 1].mIndices[2], data.GetUInt(i + 2)); in ImportMeshes()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/externalized/strategic/
H A DCreatureLairModel.cc81 sectorAttack.chance = obj.GetUInt("chance"); in readAttackSectors()
156 uint16_t warpExitGridNo = warpExit.GetUInt("gridNo"); in deserialize()
159 obj.GetUInt("lairId"), in deserialize()
160 obj.GetUInt("associatedMineId"), in deserialize()
/dports/multimedia/mxflib/mxflib-1.0.1/mxfsplit/
H A Dmxfsplit.cpp519 UInt32 IndexSID = (*it)->GetUInt(IndexSID_UL); in DumpIndex()
520 UInt32 BodySID = (*it)->GetUInt(BodySID_UL); in DumpIndex()
569 UInt32 BodySID = ThisPartition->GetUInt( BodySID_UL ); in DumpBody()
695 if((*Track_it)->GetUInt(TrackNumber_UL) == TrackNumber) in DumpBody()
720 TrackID = TrackIDObject->GetUInt(); in DumpBody()
755 UInt32 LinkedTrackID = LinkedTrackIDObject->GetUInt(); in DumpBody()
794 UInt32 ChannelCount = Descriptor->GetUInt(ChannelCount_UL); in DumpBody()
795 UInt32 QuantizationBits = Descriptor->GetUInt(QuantizationBits_UL); in DumpBody()
1113 UInt32 BodySID = ThisECDSet->GetUInt(BodySID_UL); in BuildEssenceInfo()
/dports/finance/moneymanagerex/moneymanagerex-1.2.7/3rd/ctpp/src/functions/
H A DFnGetText.cpp82 aArguments[1].GetString(), (UINT_32)aArguments[0].GetUInt()); in Handler()
88 (UINT_32)aArguments[1].GetUInt(), aArguments[0].GetString()); in Handler()
/dports/textproc/ctpp2/ctpp2-2.8.3/src/functions/
H A DFnGetText.cpp82 aArguments[1].GetString(), (UINT_32)aArguments[0].GetUInt()); in Handler()
88 (UINT_32)aArguments[1].GetUInt(), aArguments[0].GetString()); in Handler()

123456789