Download for Windows Premium
-50% Premium
Publiciteit
variable statique
Definitie
variable qui garde sa valeur entre les appels d'une fonction  ... See more
static variable
static
Une variable statique a une portée locale uniquement, mais elle ne perd pas sa valeur lorsque le script appelle la fonction.
A static variable exists only in a local function scope, but it does not lose its value when program execution leaves this scope.
Il suffit d'ajouter une variable statique à une classe pour conserver une instance partagée de la classe elle-même et vous avez terminé.
You just have to add a static variable to a class to keep a shared instance of the class itself, and you are done.
Quand une variable statique est modifiée par un module, tous autres modules voient la nouvelle valeur.
When a Static variable is modified by a module, all other modules will see the new value.
Puisque la classe ne définit aucune variable statique, la phase d'initialisation se termine très rapidement.
Since the class does not have any static variables to initialize, the initialization completes trivially.
la variable statique, qui a l'avantage de signaler au lecteur qu'il s'agit de valeur à longue durée de vie mais n'intéressant que la fonction qui la déclare.
static variables, which have the advantage of indicating to the reader that they relate to values of long life duration but are only of interest to the function that declares them.
Comment créer une variable statique ?
How do I create a static variable?
Toutes les fonctions doivent être sûres pour les threads (en d'autres termes, n'utilisez aucune variable statique ou globale dans la fonction sans les protéger avec mutex).
All functions must be thread-safe. In other words, don't use any global or static variables in the functions without protecting them with mutexes
Le programme suivant Dans une portée locale de fonction, une variable statique existe seulement, mais elle ne perd pas sa valeur quand l'exécution du programme laisse cette portée.
In a local function scope, a static variable exists only, but it does not lose its value when program execution leaves this scope.
La présente invention concerne la fourniture d'un procédé d'instruction de tension et un compensateur variable statique, capable d'ajuster la tension dans un système d'alimentation à CA monophasé.
The purpose of the invention is to provide a voltage control method and static variable compensator capable of adjusting voltage in a single-phase AC power system.
Ligne 1 : Nous allons créer une variable statique publique contenant un identifiant destiné à notre intent, plus facile à manipuler.
Line 1: We're going to create a public static variable containing an identifier meant for our intent, which is easier to work with.
PHP n'enregistre pas la valeur par défaut déclarée à l'origine de toute variable statique.
PHP does not record the originally declared default value of any static variable.
Ce compensateur variable statique est conçu pour générer une seconde instruction de tension d'axe, à partir de la différence entre une tension CC convertie dans un circuit de conversion CA-CC de type tension monophasée et une instruction de tension CC établie.
This static variable compensator is configured to generate a second axis voltage command from the difference between a DC voltage converted in a single-phase voltage-type AC-DC conversion circuit and an established DC voltage command.
Et puisque la phase d'initialisation modifie la variable statique instance de manière séquentielle, toutes les invocations concurrentes de la méthode getInstance qui suivent retourneront la même instance correctement initialisée sans aucun surcoût lié à la synchronisation.
And since the initialization phase writes the static variable INSTANCE in a sequential operation, all subsequent concurrent invocations of the getInstance will return the same correctly initialized INSTANCE without incurring any additional synchronization overhead.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor variable statique in het Frans

Publiciteit

Resultaten: 401. Exact: 35. Verstreken tijd: 74 ms.