BitOperations.RotateRight Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| RotateRight(UInt32, Int32) |
Fait pivoter la valeur spécifiée à droite par le nombre spécifié de bits. |
| RotateRight(UInt64, Int32) |
Fait pivoter la valeur spécifiée à droite par le nombre spécifié de bits. |
| RotateRight(UIntPtr, Int32) |
Fait pivoter la valeur spécifiée à droite par le nombre spécifié de bits. Similaire au comportement de l’instruction x86 ROR. |
RotateRight(UInt32, Int32)
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
Important
Cette API n’est pas conforme CLS.
Fait pivoter la valeur spécifiée à droite par le nombre spécifié de bits.
public:
static System::UInt32 RotateRight(System::UInt32 value, int offset);
[System.CLSCompliant(false)]
public static uint RotateRight(uint value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : uint32 * int -> uint32
Public Shared Function RotateRight (value As UInteger, offset As Integer) As UInteger
Paramètres
- value
- UInt32
Valeur à faire pivoter.
- offset
- Int32
Nombre de bits à faire pivoter. Toute valeur en dehors de la plage [0..31] est traitée comme congruent mod 32.
Retours
Valeur pivotée.
- Attributs
Remarques
Cette méthode est similaire au comportement de l’instruction x86 ROR.
S’applique à
RotateRight(UInt64, Int32)
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
Important
Cette API n’est pas conforme CLS.
Fait pivoter la valeur spécifiée à droite par le nombre spécifié de bits.
public:
static System::UInt64 RotateRight(System::UInt64 value, int offset);
[System.CLSCompliant(false)]
public static ulong RotateRight(ulong value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : uint64 * int -> uint64
Public Shared Function RotateRight (value As ULong, offset As Integer) As ULong
Paramètres
- value
- UInt64
Valeur à faire pivoter.
- offset
- Int32
Nombre de bits à faire pivoter. Toute valeur en dehors de la plage [0..63] est traitée comme congruent mod 64.
Retours
Valeur pivotée.
- Attributs
Remarques
Cette méthode est similaire au comportement de l’instruction x86 ROR.
S’applique à
RotateRight(UIntPtr, Int32)
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
- Source:
- BitOperations.cs
Important
Cette API n’est pas conforme CLS.
Fait pivoter la valeur spécifiée à droite par le nombre spécifié de bits. Similaire au comportement de l’instruction x86 ROR.
public:
static UIntPtr RotateRight(UIntPtr value, int offset);
[System.CLSCompliant(false)]
public static UIntPtr RotateRight(UIntPtr value, int offset);
[<System.CLSCompliant(false)>]
static member RotateRight : unativeint * int -> unativeint
Public Shared Function RotateRight (value As UIntPtr, offset As Integer) As UIntPtr
Paramètres
- value
-
UIntPtr
unativeint
Valeur à faire pivoter.
- offset
- Int32
Nombre de bits à faire pivoter. Toute valeur en dehors de la plage [0..31] est traitée comme congruent mod 32 sur un processus 32 bits, et toute valeur en dehors de la plage [0...63] est traitée comme congruent mod 64 sur un processus 64 bits.
Retours
unativeint
Valeur pivotée.
- Attributs