Skip to content

Commit bb31e06

Browse files
committed
doc: remove double "the"
1 parent fa33c33 commit bb31e06

37 files changed

Lines changed: 51 additions & 51 deletions

doc/contributing/source/coding-style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ run the following command:
306306

307307
Due to the integration of clang-tidy with CMake, clang-tidy can be run while building
308308
|ns3|. In this way, clang-tidy errors will be shown alongside build errors on the terminal.
309-
To build |ns3| and run clang-tidy, run the the following command:
309+
To build |ns3| and run clang-tidy, run the following command:
310310

311311
.. sourcecode:: console
312312

doc/installation/source/windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ Calculate the MD5 hash of your BOX_FILE.box and fill the field then click to pro
717717

718718
Upload the box.
719719

720-
Now you should be able to download your box from the Vagrant servers via the the following command.
720+
Now you should be able to download your box from the Vagrant servers via the following command.
721721

722722
.. sourcecode:: console
723723

doc/manual/source/how-to-write-tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ use the ``ASSERT`` variants.
114114
How to add an example program to the test suite
115115
***********************************************
116116

117-
There are two methods for adding an example program to the the test
117+
There are two methods for adding an example program to the test
118118
suite. Normally an example is added using only one of these methods
119119
to avoid running the example twice.
120120

doc/manual/source/profiling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Sanitizers were used to find issues in multiple occasions:
166166
the stack-trace of where the bug happened (``LteAmc::GetDlTbSizeFromMcs``),
167167
affected variables (``McsToItbsUl`` and ``TransportBlockSizeTable``),
168168
and a shadow bytes map, showing the wrong access between square brackets.
169-
* The the global redzone (f9) shadow bytes are empty memory allocated between global variables (00s and 04s),
169+
* The global redzone (f9) shadow bytes are empty memory allocated between global variables (00s and 04s),
170170
which are left there to be corrupted by the bugged program.
171171
Any eventual corruption is then traced back to the source, without affecting the program execution.
172172
* The adopted solution in merge request `MR703`_ was to fix one of the schedulers that could produce the index value of -1,

src/buildings/model/three-gpp-v2v-channel-condition-model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class ThreeGppV2vHighwayChannelConditionModel : public ThreeGppChannelConditionM
167167
*
168168
* @param a tx mobility model
169169
* @param b rx mobility model
170-
* @return the the condition of the channel between \p a and \p b
170+
* @return the condition of the channel between \p a and \p b
171171
*/
172172
Ptr<ChannelCondition> GetChCondAndFixCallback(Ptr<const MobilityModel> a,
173173
Ptr<const MobilityModel> b);

src/dsr/model/dsr-routing.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,8 @@ DsrRouting::CheckSendBuffer()
10131013
/*ackId=*/0,
10141014
/*segsLeft=*/nodeList.size() - 2,
10151015
/*expire=*/m_maxMaintainTime);
1016-
bool result = m_maintainBuffer.Enqueue(
1017-
newEntry); // Enqueue the packet the the maintenance buffer
1016+
bool result =
1017+
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the maintenance buffer
10181018
if (result)
10191019
{
10201020
NetworkKey networkKey;
@@ -1282,7 +1282,7 @@ DsrRouting::PacketNewRoute(Ptr<Packet> packet,
12821282
/*segsLeft=*/nodeList.size() - 2,
12831283
/*expire=*/m_maxMaintainTime);
12841284
bool result =
1285-
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the the maintenance buffer
1285+
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the maintenance buffer
12861286

12871287
if (result)
12881288
{
@@ -1611,7 +1611,7 @@ DsrRouting::Send(Ptr<Packet> packet,
16111611
/*segsLeft=*/nodeList.size() - 2,
16121612
/*expire=*/m_maxMaintainTime);
16131613
bool result =
1614-
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the the maintenance buffer
1614+
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the maintenance buffer
16151615
if (result)
16161616
{
16171617
NetworkKey networkKey;
@@ -1923,7 +1923,7 @@ DsrRouting::SendPacketFromBuffer(const DsrOptionSRHeader& sourceRoute,
19231923
/*segsLeft=*/nodeList.size() - 2,
19241924
/*expire=*/m_maxMaintainTime);
19251925
bool result =
1926-
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the the maintenance buffer
1926+
m_maintainBuffer.Enqueue(newEntry); // Enqueue the packet the maintenance buffer
19271927

19281928
if (result)
19291929
{

src/energy/model/generic-battery-model.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ enum GenericBatteryType
4242
/**
4343
* @ingroup energy
4444
*
45-
* Battery models that described the parameters of the the battery presets.
45+
* Battery models that described the parameters of the battery presets.
4646
*/
4747
enum BatteryModel
4848
{
@@ -56,7 +56,7 @@ enum BatteryModel
5656
/**
5757
* @ingroup energy
5858
*
59-
* The structure containing the the parameter values that describe a
59+
* The structure containing the parameter values that describe a
6060
* battery preset.
6161
*/
6262
struct BatteryPresets

src/internet-apps/model/dhcp-client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class DhcpClient : public Application
5252
DhcpClient(Ptr<NetDevice> netDevice);
5353

5454
/**
55-
* @brief Get the the NetDevice DHCP should work on
55+
* @brief Get the NetDevice DHCP should work on
5656
* @return the NetDevice DHCP should work on
5757
*/
5858
Ptr<NetDevice> GetDhcpClientNetDevice();

src/internet/doc/udp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ callback as well.
172172
Called when the ``Connect()`` succeeds and the remote address is validated.
173173

174174
*NotifyConnectionFailed*: *SetConnectCallback*, 2nd argument
175-
Called in ``Connect()`` when the the remote address validation fails.
175+
Called in ``Connect()`` when the remote address validation fails.
176176

177177
*NotifyDataSent*: *SetDataSentCallback*
178178
The socket notifies the application that some bytes have been transmitted at

src/internet/model/ipv4-static-routing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ class Ipv4StaticRouting : public Ipv4RoutingProtocol
318318
* exactly match wildcards in the routes (see AddMulticastRoute). That is,
319319
* calling RemoveMulticastRoute with the origin set to "0.0.0.0" will not
320320
* remove routes with any address in the origin, but will only remove routes
321-
* with "0.0.0.0" set as the the origin.
321+
* with "0.0.0.0" set as the origin.
322322
*
323323
* @param origin The IP address specified as the origin of packets for the
324324
* route.

0 commit comments

Comments
 (0)