Home
last modified time | relevance | path

Searched refs:laneIndex (Results 1 – 25 of 127) sorted by relevance

123456

/dports/cad/sumo/sumo-1.2.0/src/netimport/
H A DNIXMLShapeHandler.cpp43 int laneIndex; in getLanePos() local
44 NBHelpers::interpretLaneID(laneID, edgeID, laneIndex); in getLanePos()
46 if (edge == 0 || laneIndex < 0 || edge->getNumLanes() <= laneIndex) { in getLanePos()
56 return edge->getLanes()[laneIndex].shape.positionAtOffset(lanePos, -lanePosLat); in getLanePos()
H A DNIXMLPTHandler.cpp121 const int laneIndex = NBEdge::getLaneIndexFromLaneID(laneID); in addPTStop() local
128 if (edge->getNumLanes() <= laneIndex) { in addPTStop()
132 SVCPermissions permissions = edge->getPermissions(laneIndex); in addPTStop()
H A DNIXMLTrafficLightsHandler.cpp327 int laneIndex = attrs.get<int>(attr, nullptr, ok); in retrieveLaneIndex() local
328 if (edge->getNumLanes() <= laneIndex) { in retrieveLaneIndex()
330 … WRITE_ERROR("Invalid lane index '" + toString(laneIndex) + "' for edge '" + edge->getID() + "'."); in retrieveLaneIndex()
334 return laneIndex; in retrieveLaneIndex()
/dports/cad/sumo/sumo-1.2.0/tools/contributed/traas/examples/java_wsclient/de/tudresden/ws/
H A DVehicleChangeLane.java39 protected byte laneIndex; field in VehicleChangeLane
71 return laneIndex; in getLaneIndex()
79 this.laneIndex = value; in setLaneIndex()
H A DSimulationConvert2D.java42 protected byte laneIndex; field in SimulationConvert2D
90 return laneIndex; in getLaneIndex()
98 this.laneIndex = value; in setLaneIndex()
H A DSimulationConvert3D.java42 protected byte laneIndex; field in SimulationConvert3D
90 return laneIndex; in getLaneIndex()
98 this.laneIndex = value; in setLaneIndex()
H A DVehicleSetStop.java47 protected byte laneIndex; field in VehicleSetStop
120 return laneIndex; in getLaneIndex()
128 this.laneIndex = value; in setLaneIndex()
/dports/cad/sumo/sumo-1.2.0/src/microsim/trigger/
H A DMSCalibrator.h117 VehicleRemover(MSLane* lane, int laneIndex, MSCalibrator* parent) : in VehicleRemover() argument
118 MSMoveReminder(parent->getID(), lane, true), myLaneIndex(laneIndex), myParent(parent) {} in VehicleRemover()
190 bool invalidJam(int laneIndex) const;
206 int remainingVehicleCapacity(int laneIndex) const;
H A DMSCalibrator.cpp450 MSCalibrator::invalidJam(int laneIndex) const { in invalidJam()
451 if (laneIndex < 0) { in invalidJam()
460 assert(laneIndex < (int)myEdge->getLanes().size()); in invalidJam()
461 const MSLane* const lane = myEdge->getLanes()[laneIndex]; in invalidJam()
468 return toSlow && remainingVehicleCapacity(laneIndex) < 1; in invalidJam()
473 MSCalibrator::remainingVehicleCapacity(int laneIndex) const { in remainingVehicleCapacity()
474 if (laneIndex < 0) { in remainingVehicleCapacity()
482 assert(laneIndex < (int)myEdge->getLanes().size()); in remainingVehicleCapacity()
483 MSLane* lane = myEdge->getLanes()[laneIndex]; in remainingVehicleCapacity()
/dports/security/liboqs/liboqs-0.7.0/scripts/copy_from_xkcp/patches/
H A Dlib_low_KeccakP-1600-times4_AVX2_KeccakP-1600-times4-SIMD256.c75 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane;
83 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane;
93 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane;
133 statesAsLanes[laneIndex(instanceIndex, lanePosition)] = lane;
182 - memcpy( curData, ((unsigned char *)&statesAsLanes[laneIndex(instanceIndex, lanePosition)])…
183 + memcpy( curData, ((const unsigned char *)&statesAsLanes[laneIndex(instanceIndex, lanePosit…
190 - *(uint64_t*)curData = statesAsLanes[laneIndex(instanceIndex, lanePosition)];
191 + store64(curData, statesAsLanes[laneIndex(instanceIndex, lanePosition)]);
228 - *((uint64_t*)curOutput) = *((uint64_t*)curInput) ^ statesAsLanes[laneIndex(instanceIndex, …
229 + store64(curOutput, load64(curInput) ^ statesAsLanes[laneIndex(instanceIndex, lanePosition)…
/dports/cad/sumo/sumo-1.2.0/src/netwrite/
H A DNWWriter_OpenDrive.h105 …static PositionVector getLeftLaneBorder(const NBEdge* edge, int laneIndex = -1, double widthOffset…
106 static PositionVector getRightLaneBorder(const NBEdge* edge, int laneIndex = -1);
H A DNWWriter_OpenDrive.cpp562 NWWriter_OpenDrive::getLeftLaneBorder(const NBEdge* edge, int laneIndex, double widthOffset) { in getLeftLaneBorder() argument
564 if (laneIndex == -1) { in getLeftLaneBorder()
566 laneIndex = lefthand ? 0 : (int)edge->getNumLanes() - 1; in getLeftLaneBorder()
579 for (int i = leftmost; i < laneIndex; i++) { in getLeftLaneBorder()
583 for (int i = leftmost; i > laneIndex; i--) { in getLeftLaneBorder()
595 NWWriter_OpenDrive::getRightLaneBorder(const NBEdge* edge, int laneIndex) { in getRightLaneBorder() argument
596 return getLeftLaneBorder(edge, laneIndex, edge->getLaneWidth(laneIndex)); in getRightLaneBorder()
/dports/cad/sumo/sumo-1.2.0/src/dfrouter/
H A DRODFDetectorHandler.cpp68 …int laneIndex = StringUtils::toIntSecure(lane.substr(lane.rfind('_') + 1), std::numeric_limits<int… in myStartElement() local
69 if (edge == nullptr || laneIndex >= edge->getNumLanes()) { in myStartElement()
/dports/cad/sumo/sumo-1.2.0/tools/contributed/traas/src/de/tudresden/sumo/cmd/
H A DSimulation.java44 public static SumoCommand convert2D(String edgeID, double pos, byte laneIndex, String toGeo){ in convert2D() argument
45 Object[] array = new Object[]{pos, laneIndex, toGeo}; in convert2D()
57 public static SumoCommand convert3D(String edgeID, double pos, byte laneIndex, String toGeo){ in convert3D() argument
58 Object[] array = new Object[]{pos, laneIndex, toGeo}; in convert3D()
/dports/security/liboqs/liboqs-0.7.0/src/common/sha3/xkcp_low/KeccakP-1600times4/avx2/
H A DKeccakP-1600-times4-SIMD256.c44 #define laneIndex(instanceIndex, lanePosition) ((lanePosition)*4 + instanceIndex) macro
132 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane; in KeccakP1600times4_AddBytes()
140 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane; in KeccakP1600times4_AddBytes()
149 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane; in KeccakP1600times4_AddBytes()
221 statesAsLanes[laneIndex(instanceIndex, lanePosition)] = lane; in KeccakP1600times4_OverwriteBytes()
228 memcpy(&statesAsLanes[laneIndex(instanceIndex, lanePosition)], curData, sizeLeft); in KeccakP1600times4_OverwriteBytes()
286 statesAsLanes[laneIndex(instanceIndex, lanePosition)] = 0; in KeccakP1600times4_OverwriteWithZeroes()
292 memset(&statesAsLanes[laneIndex(instanceIndex, lanePosition)], 0, sizeLeft); in KeccakP1600times4_OverwriteWithZeroes()
315 store64(curData, statesAsLanes[laneIndex(instanceIndex, lanePosition)]); in KeccakP1600times4_ExtractBytes()
322 memcpy( curData, &statesAsLanes[laneIndex(instanceIndex, lanePosition)], sizeLeft); in KeccakP1600times4_ExtractBytes()
[all …]
/dports/cad/sumo/sumo-1.2.0/src/libsumo/
H A DVehicle.h98 …tance(const std::string& vehicleID, const std::string& edgeID, double position, int laneIndex = 0);
125 int laneIndex = 0,
153 static void changeLane(const std::string& vehicleID, int laneIndex, double duration);
177 …ToXY(const std::string& vehicleID, const std::string& edgeID, const int laneIndex, const double x,…
H A DSimulation.h93 …static TraCIPosition convert2D(const std::string& edgeID, double pos, int laneIndex = 0, bool toGe…
95 …static TraCIPosition convert3D(const std::string& edgeID, double pos, int laneIndex = 0, bool toGe…
H A DVehicle.cpp872 int laneIndex,
925 if ((laneIndex < 0) || laneIndex >= (int)(allLanes.size())) {
926 …throw TraCIException("No lane with index '" + toString(laneIndex) + "' on road '" + edgeID + "'.");
929 …if (!veh->addTraciStop(allLanes[laneIndex], startPos, pos, durationSteps, untilStep, parking, trig…
991 Vehicle::changeLane(const std::string& vehicleID, int laneIndex, double duration) {
993 laneTimeLine.push_back(std::make_pair(MSNet::getInstance()->getCurrentTimeStep(), laneIndex));
994 …back(std::make_pair(MSNet::getInstance()->getCurrentTimeStep() + TIME2STEPS(duration), laneIndex));
1001 int laneIndex = getVehicle(vehicleID)->getLaneIndex() + indexOffset;
1002 laneTimeLine.push_back(std::make_pair(MSNet::getInstance()->getCurrentTimeStep(), laneIndex));
1003 …back(std::make_pair(MSNet::getInstance()->getCurrentTimeStep() + TIME2STEPS(duration), laneIndex));
[all …]
H A DSimulation.cpp305 Simulation::convert2D(const std::string& edgeID, double pos, int laneIndex, bool toGeo) { in convert2D() argument
306 …Position result = Helper::getLaneChecking(edgeID, laneIndex, pos)->getShape().positionAtOffset(pos… in convert2D()
316 Simulation::convert3D(const std::string& edgeID, double pos, int laneIndex, bool toGeo) { in convert3D() argument
317 …Position result = Helper::getLaneChecking(edgeID, laneIndex, pos)->getShape().positionAtOffset(pos… in convert3D()
341 result.laneIndex = roadPos.first->getIndex(); in convertRoad()
/dports/cad/sumo/sumo-1.2.0/src/traci-server/
H A DTraCIServerAPI_Vehicle.cpp208 int laneIndex; in processGet() local
216 laneIndex = inputStorage.readUnsignedByte(); in processGet()
218 …WrapperStorage().writeDouble(libsumo::Vehicle::getDrivingDistance(id, roadID, edgePos, laneIndex)); in processGet()
365 int laneIndex = 0; in processSet() local
366 if (!server.readTypeCheckingByte(inputStorage, laneIndex)) { in processSet()
392 … libsumo::Vehicle::setStop(id, edgeID, pos, laneIndex, duration, stopFlags, startPos, until); in processSet()
432 int laneIndex = 0; in processSet() local
433 if (!server.readTypeCheckingByte(inputStorage, laneIndex)) { in processSet()
449 … if ((laneIndex < 0) || (laneIndex >= (int)(v->getEdge()->getLanes().size()) && relative < 1)) { in processSet()
454 libsumo::Vehicle::changeLane(id, laneIndex, duration); in processSet()
[all …]
/dports/security/s2n/s2n-tls-1.1.2/pq-crypto/kyber_r3/
H A DKeccakP-1600-times4-SIMD256_avx2.c37 #define laneIndex(instanceIndex, lanePosition) ((lanePosition)*4 + instanceIndex) macro
108 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane; in KeccakP1600times4_AddBytes()
118 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane; in KeccakP1600times4_AddBytes()
127 statesAsLanes[laneIndex(instanceIndex, lanePosition)] ^= lane; in KeccakP1600times4_AddBytes()
203 statesAsLanes[laneIndex(instanceIndex, lanePosition)] = lane; in KeccakP1600times4_OverwriteBytes()
210 memcpy(&statesAsLanes[laneIndex(instanceIndex, lanePosition)], curData, sizeLeft); in KeccakP1600times4_OverwriteBytes()
271 statesAsLanes[laneIndex(instanceIndex, lanePosition)] = 0; in KeccakP1600times4_OverwriteWithZeroes()
277 memset(&statesAsLanes[laneIndex(instanceIndex, lanePosition)], 0, sizeLeft); in KeccakP1600times4_OverwriteWithZeroes()
304 *(UINT64*)(void*)curData = statesAsLanes[laneIndex(instanceIndex, lanePosition)]; in KeccakP1600times4_ExtractBytes()
311 memcpy( curData, &statesAsLanes[laneIndex(instanceIndex, lanePosition)], sizeLeft); in KeccakP1600times4_ExtractBytes()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/jit/x64/
H A DLIR-x64.h444 uint32_t laneIndex() const { in laneIndex() function
445 return mir_->toWasmReplaceLaneSimd128()->laneIndex(); in laneIndex()
469 uint32_t laneIndex() const { in laneIndex() function
470 return mir_->toWasmReplaceLaneSimd128()->laneIndex(); in laneIndex()
/dports/cad/sumo/sumo-1.2.0/tools/traci/
H A D_simulation.py297 def convert2D(self, edgeID, pos, laneIndex=0, toGeo=False): argument
306 pos, laneIndex, tc.TYPE_UBYTE, posType)
309 def convert3D(self, edgeID, pos, laneIndex=0, toGeo=False): argument
318 pos, laneIndex, tc.TYPE_UBYTE, posType)
/dports/cad/sumo/sumo-1.2.0/src/guisim/
H A DGUIEdge.cpp303 int laneIndex = 0; in drawMesoVehicles() local
305 …ector<MSLane*>::const_iterator msl = myLanes->begin(); msl != myLanes->end(); ++msl, ++laneIndex) { in drawMesoVehicles()
312 if (laneIndex < segment->numQueues()) { in drawMesoVehicles()
314 queue = segment->getQueue(laneIndex); in drawMesoVehicles()
/dports/cad/sumo/sumo-1.2.0/tools/tls/
H A Dtls_csv2SUMO.py202 laneIndex = i.split("_")[-1] variable
206 li = e._lanes[int(laneIndex)]

123456