Skip to content

Commit

Permalink
Whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Apr 19, 2024
1 parent 91b075f commit 5fb43c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ internal Dictionary(int capacity, IEqualityComparer<TKey>? comparer, bool usePro
{
_comparer = comparer ?? EqualityComparer<TKey>.Default;

if (!useProvidedComparer) {
if (!useProvidedComparer)
{
// Special-case EqualityComparer<string>.Default, StringComparer.Ordinal, and StringComparer.OrdinalIgnoreCase.
// We use a non-randomized comparer for improved perf, falling back to a randomized comparer if the
// hash buckets become unbalanced.
Expand Down
4 changes: 2 additions & 2 deletions src/mono/mono/metadata/appdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,9 +880,9 @@ mono_runtime_install_appctx_properties (void)
for (int i = 0; i < n_appctx_props; ++i) {
glong num_chars;
combined_keys [i] = g_utf8_to_utf16 (appctx_keys [i], -1, NULL, &num_chars, NULL);
combined_key_lengths[i] = GLONG_TO_UINT32(num_chars);
combined_key_lengths [i] = GLONG_TO_UINT32 (num_chars);
combined_values [i] = g_utf8_to_utf16 (appctx_values [i], -1, NULL, &num_chars, NULL);
combined_value_lengths[i] = GLONG_TO_UINT32(num_chars);
combined_value_lengths [i] = GLONG_TO_UINT32 (num_chars);
}

runtimeconfig_json_read_props (
Expand Down

0 comments on commit 5fb43c4

Please sign in to comment.