Fix spelling errors (#5230)

* Fix spelling errors

* Exclusion list

* More updates for the exclusion list

* Even more updates for the exclusion list

* And even more updates for the exclusion list

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2023-12-15 14:17:59 -08:00 committed by GitHub
parent eba15a9ff4
commit 15716714a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 46 additions and 27 deletions

19
.vscode/cspell.json vendored
View File

@ -64,6 +64,8 @@
"AMQPS",
"amqpvalue",
"AMQPVALUE",
"australiacentral",
"australiaeast",
"avro",
"antkmsft",
"azcore",
@ -73,6 +75,7 @@
"azuresdk",
"azuresdkforcpp",
"azurl",
"centralindia",
"centralus",
"centraluseuap",
"Chukwu",
@ -97,6 +100,7 @@
"DVCPKG",
"DWARNINGS",
"easia",
"eastasia",
"eastus",
"echsmkey",
"Ecdsa",
@ -105,6 +109,8 @@
"Entra",
"euap",
"Favicon",
"fibonacci",
"francecentral",
"gcovr",
"githubio",
"gmock",
@ -118,13 +124,16 @@
"immutability",
"Intel",
"isoutput",
"israelcentral",
"issecret",
"italynorth",
"itfactor",
"iusg",
"jepio",
"Jeremi",
"jnyfah",
"Kirilov",
"koreacentral",
"Kouhei",
"lcov",
"LIBCMTD",
@ -150,6 +159,7 @@
"NOLINT",
"NOMINMAX",
"northcentralus",
"northeurope",
"nostd",
"nread",
"NTSTATUS",
@ -169,6 +179,7 @@
"PUCHAR",
"PVOID",
"pwsh",
"qatarcentral",
"Ragrs",
"Ragzrs",
"Reconnector",
@ -184,13 +195,19 @@
"sdpath",
"serializers",
"Seriot",
"southafricanorth",
"southcentralus",
"southeastasia",
"southindia",
"SPDX",
"stoi",
"stoll",
"stoull",
"STREQ",
"Sutou",
"swedencentral",
"switzerlandnorth",
"switzerlandwest",
"tsirpanis",
"Tsirpanis",
"uaenorth",
@ -213,6 +230,8 @@
"Wdocumentation",
"Werror",
"westcentralus",
"westeurope",
"westindia",
"westus",
"Wextra",
"Wgnu",

View File

@ -263,7 +263,7 @@ namespace Azure { namespace Security { namespace Attestation { namespace Test {
ResetPolicyTest();
}
/** @brief Tests for policy modification using a secured JWS with an emphemerally generated key.
/** @brief Tests for policy modification using a secured JWS with an ephemerally generated key.
*
* Forwards to the `SetPolicyTest` and `ResetPolicyTest` with a newly created
* AttestationSigingKey parameter.

View File

@ -212,7 +212,7 @@ namespace Azure { namespace Core { namespace Tracing { namespace OpenTelemetry {
* @details OpenTelemetry defines a `TextMapCarrier` class as a class which allows reading and
* writing to a map of text elements. The OpenTelemetry
* [HttpTraceContext](https://opentelemetry-cpp.readthedocs.io/en/latest/otel_docs/classopentelemetry_1_1trace_1_1propagation_1_1HttpTraceContext.html)
* uses a TextMapCarrier to propogate the required HTTP headers from an OpenTelemetry context
* uses a TextMapCarrier to propagate the required HTTP headers from an OpenTelemetry context
* into an HTTP request.
*/
class HttpRequestTextMapPropagator

View File

@ -134,7 +134,7 @@ namespace Azure { namespace Core { namespace Tracing { namespace OpenTelemetry {
std::string const& statusMessage) override;
/**
* @brief Propogate information from the current span to the HTTP request headers.
* @brief Propagate information from the current span to the HTTP request headers.
*
* @param request HTTP Request to the service. If there is an active tracing span,
* this will add required headers to the HTTP Request.

View File

@ -62,7 +62,7 @@
// (***) - note that we condition on WIN32 (i.e. all Windows including UWP, per CMake definition),
// and not on MSVC. That's because dllimport/dllexport is potentially needed on Windows platform
// regardless of the compiler used, but GCC or Clang have different syntax for that. We don't handle
// other compilers on Windows currentlty, but later we may add support (see "#if defined(_MSC_VER)"
// other compilers on Windows currently, but later we may add support (see "#if defined(_MSC_VER)"
// below).
#pragma once

View File

@ -148,7 +148,7 @@ namespace Azure { namespace Core { namespace Tracing { namespace _internal {
}
/**
* @brief Propogate information from the current span to the HTTP request headers.
* @brief Propagate information from the current span to the HTTP request headers.
*
* @param request HTTP Request to the service. If there is an active tracing span, this will
* add required headers to the HTTP Request.

View File

@ -225,7 +225,7 @@ namespace Azure { namespace Core { namespace Tracing { namespace _internal {
virtual void SetStatus(SpanStatus const& status, std::string const& description) = 0;
/**
* @brief Propogate information from the current span to the HTTP request headers.
* @brief Propagate information from the current span to the HTTP request headers.
*
* @param request HTTP Request to the service. If there is an active tracing span, this will
* add required headers to the HTTP Request.

View File

@ -95,7 +95,7 @@ public:
break;
}
default:
// imposible to get here
// impossible to get here
AZURE_UNREACHABLE_CODE();
}
}

View File

@ -76,7 +76,7 @@ namespace Azure { namespace Core { namespace Http { namespace _detail {
* @param request Http Request associated with the action.
*/
WinHttpAction(WinHttpRequest* request)
// Create a non-inheritable anonymous manual reset event intialized as unset.
// Create a non-inheritable anonymous manual reset event initialized as unset.
: m_httpRequest(request), m_actionCompleteEvent(CreateEvent(nullptr, TRUE, FALSE, nullptr))
{
if (!m_actionCompleteEvent)

View File

@ -28,7 +28,7 @@ namespace Azure { namespace Core { namespace Test {
NullableTest(Azure::Perf::TestOptions options) : PerfTest(options) {}
/**
* @brief Use NUllable to assing and read.
* @brief Use Nullable to assign and read.
*
*/
void Run(Azure::Core::Context const&) override

View File

@ -312,7 +312,7 @@ TEST(Context, HeapLinkIntegrity)
EXPECT_TRUE(secondGeneration.TryGetValue<std::string>(b, value));
EXPECT_EQ(value, "b");
// Now overide the generation
// Now override the generation
secondGeneration = secondGeneration.WithValue(c, std::string("c"));
EXPECT_TRUE(secondGeneration.TryGetValue<std::string>(a, value));
EXPECT_EQ(value, "a"); // Still know about first gen - The link is still in heap

View File

@ -99,9 +99,9 @@ namespace Azure { namespace Core { namespace Test {
EXPECT_NO_THROW(response.SetHeader(expected2.first, expected2.second));
EXPECT_PRED2(
[](Azure::Core::CaseInsensitiveMap headers, std::pair<std::string, std::string> expected) {
auto secondtHeader = headers.begin();
secondtHeader++;
return secondtHeader->first == expected.first && secondtHeader->second == expected.second
auto secondHeader = headers.begin();
secondHeader++;
return secondHeader->first == expected.first && secondHeader->second == expected.second
&& headers.size() == 2;
},
response.GetHeaders(),
@ -111,10 +111,10 @@ namespace Azure { namespace Core { namespace Test {
EXPECT_NO_THROW(response.SetHeader("valid3", "header3"));
EXPECT_PRED2(
[](Azure::Core::CaseInsensitiveMap headers, std::pair<std::string, std::string> expected) {
auto secondtHeader = headers.begin();
secondtHeader++;
secondtHeader++;
return secondtHeader->first == expected.first && secondtHeader->second == expected.second
auto secondHeader = headers.begin();
secondHeader++;
secondHeader++;
return secondHeader->first == expected.first && secondHeader->second == expected.second
&& headers.size() == 3;
},
response.GetHeaders(),

View File

@ -91,7 +91,7 @@ namespace Azure { namespace Perf {
BaseTest(Azure::Perf::TestOptions options) : m_options(options) {}
/**
* @brief Run one time at the beggining and before any test.
* @brief Run one time at the beginning and before any test.
*
* @remark No matter if the parallel option is set to more than one, the global setup will run
* only once.
@ -103,7 +103,7 @@ namespace Azure { namespace Perf {
* @brief Run one time per each test thread.
*
* @remark Each test thread will run the main test in a loop after running the setup from each
* thead.
* thread.
*
*/
virtual void Setup() {}

View File

@ -70,7 +70,7 @@ int main()
// Send an event with a UTF-8 encoded string body.
{
Azure::Messaging::EventHubs::Models::EventData event{"Hello Eventhubs!"};
event.MessageId = "test-message-id-hellowworld";
event.MessageId = "test-message-id-helloworld";
batch.TryAddMessage(event);
}

View File

@ -67,7 +67,7 @@
"defaultValue": ".vault.azure.net",
"type": "String",
"metadata": {
"description": "Domain suffix for sovereign clouds, requires the preceeding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
"description": "Domain suffix for sovereign clouds, requires the preceding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
}
},
"keyVaultSku": {

View File

@ -3,7 +3,7 @@
/**
*
* @brief This sample provides explamles of handling paged operations.
* @brief This sample provides examples of handling paged operations.
* @details This sample provides the code implementation to use the Key Vault Certificates SDK
* client for C++ to create, get properties of certificates, get properties of certificate versions,
* delete , get deleted certificates, purge

View File

@ -67,7 +67,7 @@
"defaultValue": ".vault.azure.net",
"type": "String",
"metadata": {
"description": "Domain suffix for sovereign clouds, requires the preceeding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
"description": "Domain suffix for sovereign clouds, requires the preceding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
}
},
"keyVaultSku": {

View File

@ -67,7 +67,7 @@
"defaultValue": ".vault.azure.net",
"type": "String",
"metadata": {
"description": "Domain suffix for sovereign clouds, requires the preceeding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
"description": "Domain suffix for sovereign clouds, requires the preceding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
}
},
"keyVaultSku": {

View File

@ -117,7 +117,7 @@
"defaultValue": ".vault.azure.net",
"type": "String",
"metadata": {
"description": "Domain suffix for sovereign clouds, requires the preceeding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
"description": "Domain suffix for sovereign clouds, requires the preceding '.'. The default uses the public Azure Cloud (.vault.azure.net)"
}
},
"keyVaultSku": {

View File

@ -452,7 +452,7 @@ namespace Azure { namespace Storage { namespace Blobs {
*/
Nullable<DateTime> DeletedOn;
/**
* Remaining days before this container will be permanantely deleted. Only valid when this
* Remaining days before this container will be permanently deleted. Only valid when this
* container was deleted.
*/
Nullable<int32_t> RemainingRetentionDays;
@ -1359,7 +1359,7 @@ namespace Azure { namespace Storage { namespace Blobs {
*/
Nullable<DateTime> DeletedOn;
/**
* Remaining days before this blob will be permanantely deleted. Only valid when this blob was
* Remaining days before this blob will be permanently deleted. Only valid when this blob was
* deleted.
*/
Nullable<int32_t> RemainingRetentionDays;