BitOperations.RotateLeft 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 |
|---|---|
| RotateLeft(UInt32, Int32) |
Fait pivoter la valeur spécifiée à gauche par le nombre spécifié de bits. |
| RotateLeft(UInt64, Int32) |
Fait pivoter la valeur spécifiée à gauche par le nombre spécifié de bits. |
| RotateLeft(UIntPtr, Int32) |
Fait pivoter la valeur spécifiée à gauche par le nombre spécifié de bits. Similaire au comportement de l’instruction x86 ROL. |
RotateLeft(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 à gauche par le nombre spécifié de bits.
public:
static System::UInt32 RotateLeft(System::UInt32 value, int offset);
[System.CLSCompliant(false)]
public static uint RotateLeft(uint value, int offset);
[<System.CLSCompliant(false)>]
static member RotateLeft : uint32 * int -> uint32
Public Shared Function RotateLeft (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 ROL.
S’applique à
RotateLeft(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 à gauche par le nombre spécifié de bits.
public:
static System::UInt64 RotateLeft(System::UInt64 value, int offset);
[System.CLSCompliant(false)]
public static ulong RotateLeft(ulong value, int offset);
[<System.CLSCompliant(false)>]
static member RotateLeft : uint64 * int -> uint64
Public Shared Function RotateLeft (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 ROL.
S’applique à
RotateLeft(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 à gauche par le nombre spécifié de bits. Similaire au comportement de l’instruction x86 ROL.
public:
static UIntPtr RotateLeft(UIntPtr value, int offset);
[System.CLSCompliant(false)]
public static UIntPtr RotateLeft(UIntPtr value, int offset);
[<System.CLSCompliant(false)>]
static member RotateLeft : unativeint * int -> unativeint
Public Shared Function RotateLeft (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