Skip to content

Commit 4e8a560

Browse files
chore: remove redundant words in comment (#117310)
Signed-off-by: shangchenglumetro <[email protected]>
1 parent ee8f12c commit 4e8a560

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

docs/design/mono/web/linear-ir.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Each IR instruction is represented by a MonoInst structure. The fields of the st
4141

4242
- ins-\>opcode contains the opcode of the instruction. It is always set.
4343

44-
- ins-\>dreg, ins-\>sreg1, ins-\>sreg2 contain the the destination and source vregs of the instruction. If the instruction doesn't have a destination/and our source, the corresponding field is set to -1.
44+
- ins-\>dreg, ins-\>sreg1, ins-\>sreg2 contain the destination and source vregs of the instruction. If the instruction doesn't have a destination/and our source, the corresponding field is set to -1.
4545

4646
- ins-\>backend is used for various purposes:
4747
- for MonoInst's representing vtype variables, it indicates that the variable is in unmanaged format (used during marshalling)

docs/design/mono/web/soft-debugger-wire-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Each command requires at least one TypeID (of type id) parameter before any addi
392392
| GET_FIELD_CATTRS | 11 | Returns a list of custom attributes of a type's field. Custom attribute definition is given below. | Ask for a FieldID of one the type field and a TypeID of an custom attribute type | INVALID_TYPEID, INVALID_FIELDID |
393393
| GET_PROPERTY_CATTRS | 12 | Returns a list of custom attributes of a type's property. Custom attribute definition is given below. | Ask for a PropertyID of one the type field and a TypeID of an custom attribute type | INVALID_TYPEID, INVALID_PROPERTYID |
394394
| GET_SOURCE_FILES_2 | 13 | Returns a list of source file full paths (string) where the type is defined | None | INVALID_TYPEID |
395-
| GET_VALUES_2 | 14 | Returns a number of variant value equals to the number of FieldID that was passed as parameter. If the field had a ThreadStatic attribute applied to it, value fetched are from the thread parameter point of view. | Ask for an ObjectID representing a System.Thread instance and a list of FieldID representing this type static fields to the the value of. Only static field are supported. | INVALID_OBJECT, INVALID_TYPEID, INVALID_FIELDID |
395+
| GET_VALUES_2 | 14 | Returns a number of variant value equals to the number of FieldID that was passed as parameter. If the field had a ThreadStatic attribute applied to it, value fetched are from the thread parameter point of view. | Ask for an ObjectID representing a System.Thread instance and a list of FieldID representing this type static fields to the value of. Only static field are supported. | INVALID_OBJECT, INVALID_TYPEID, INVALID_FIELDID |
396396

397397
The main functions handling these commands are `type_commands` and `type_commands_internal` and are situated at `debugger-agent.c:6726` and `debugger-agent.c:6403` respectively.
398398

docs/design/security/System.HashCode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Concretely, in the face of adversarial input:
128128

129129
## Implementation
130130

131-
The `HashCode` type uses the [**xxHash32**](https://github.com/Cyan4973/xxHash) algorithm, which is a non-cryptographic hash algorithm with a 32-bit seed and a 32-bit digest. All instances of the `HashCode` type use the same seed value, generated randomly at app start. This value is chosen independently of other random seed values in the runtime, such as the the global 64-bit seed used in `string.GetHashCode`'s Marvin32 routine.
131+
The `HashCode` type uses the [**xxHash32**](https://github.com/Cyan4973/xxHash) algorithm, which is a non-cryptographic hash algorithm with a 32-bit seed and a 32-bit digest. All instances of the `HashCode` type use the same seed value, generated randomly at app start. This value is chosen independently of other random seed values in the runtime, such as the global 64-bit seed used in `string.GetHashCode`'s Marvin32 routine.
132132

133133
The xxHash32 repo's README file touts good performance and avalanching. This can be validated through a simple C# program.
134134

docs/project/list-of-diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ The diagnostic id values reserved for .NET Libraries analyzer warnings are `SYSL
297297
APIs can be marked as `[Experimental]` if their shape or functionality is included in a release but not yet officially supported. Experimental APIs offer the opportunity to collect customer feedback on these APIs in a major release, usually refining the APIs and removing the `[Experimental]` attribute in the next release. The `[Experimental]` attribute differs from `[RequiresPreviewFeatures]`, wherein:
298298

299299
* `[RequiresPreviewFeatures]` APIs require a corresponding preview feature in another product area such as the compiler or SDK
300-
- Using these APIs requires enabling preview features for the the project and all its consumers
300+
- Using these APIs requires enabling preview features for the project and all its consumers
301301
* `[Experimental]` APIs are self-contained within the libraries and do not require preview features in other parts of the product
302302
- These APIs can be used by suppressing specific diagnostics without enabling preview features for the project
303303

src/coreclr/jit/fgehopt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2505,7 +2505,7 @@ BasicBlock* Compiler::fgCloneTryRegion(BasicBlock* tryEntry, CloneTryInfo& info,
25052505
//
25062506
// We need to clone to the entire try region plus any
25072507
// enclosed regions and any enclosing mutual protect regions,
2508-
// plus all the the associated handlers and filters and any
2508+
// plus all the associated handlers and filters and any
25092509
// regions they enclose, plus any callfinallies that follow.
25102510
//
25112511
// This is necessary because try regions can't have multiple entries, or

src/coreclr/jit/smallhash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ class HashTableBase
583583

584584
//------------------------------------------------------------------------
585585
// HashTableBase::Remove: removes a key from the hash table and asserts
586-
// that it did exist in the the table.
586+
// that it did exist in the table.
587587
//
588588
// Arguments:
589589
// key - The key to remove from the table.

src/coreclr/tools/superpmi/superpmi/neardiffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ bool NearDiffer::mungeOffsets(
416416
// We might want to do something similar for mov/movk/movk/movk sequences on Arm64. The following code was
417417
// previously used, but currently is not active.
418418
//
419-
// One difference is we might see a different number of movk on arm64 depending on the the data. Our "hack"
419+
// One difference is we might see a different number of movk on arm64 depending on the data. Our "hack"
420420
// of zeroing out the constant so they compare equal doesn't work well. In this case, we really do want
421421
// a callback to the disassembler to skip the instructions.
422422
//

src/coreclr/unwinder/arm64/unwinder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ Routine Description:
16881688
returned.
16891689
16901690
HandlerData - Supplies a pointer to a variable that receives a pointer
1691-
the the language handler data.
1691+
the language handler data.
16921692
16931693
UnwindParams - Additional parameters shared with caller.
16941694
@@ -2536,7 +2536,7 @@ Routine Description:
25362536
ContextRecord - Supplies the address of a context record.
25372537
25382538
HandlerData - Supplies a pointer to a variable that receives a pointer
2539-
the the language handler data.
2539+
the language handler data.
25402540
25412541
EstablisherFrame - Supplies a pointer to a variable that receives the
25422542
the establisher frame pointer value.

0 commit comments

Comments
 (0)