text:
/* eslint-disable */
;(function(root, factory) {
  if (typeof define === 'function' && define.amd) { // AMD
    define(['Blockly'], factory);
  } else if (typeof exports === 'object') { // Node.js
    module.exports = factory();
  } else { // Browser
    var messages = factory();
    for (var key in messages) {
      root.Blockly.Msg[key] = messages[key];
    }
  }
}(this, function() {
// This file was automatically generated.  Do not modify.

'use strict';

const messages = Object.create(null);

messages["ADD_COMMENT"] = "Ajouter un commentaire";
messages["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Impossible de supprimer la variable « %1 » parce qu'elle fait partie de la définition de la fonction « %2 »";
messages["CHANGE_VALUE_TITLE"] = "Modifier la valeur :";
messages["CLEAN_UP"] = "Nettoyer les blocs";
messages["COLLAPSED_WARNINGS_WARNING"] = "Les blocs repliés contiennent des avertissements.";
messages["COLLAPSE_ALL"] = "Réduire les blocs";
messages["COLLAPSE_BLOCK"] = "Réduire le bloc";
messages["COLOUR_BLEND_COLOUR1"] = "couleur 1";
messages["COLOUR_BLEND_COLOUR2"] = "couleur 2";
messages["COLOUR_BLEND_HELPURL"] = "https://meyerweb.com/eric/tools/color-blend/#:::rgbp";
messages["COLOUR_BLEND_RATIO"] = "taux";
messages["COLOUR_BLEND_TITLE"] = "mélanger";
messages["COLOUR_BLEND_TOOLTIP"] = "Mélange deux couleurs dans une proportion donnée (de 0.0 à 1.0).";
messages["COLOUR_PICKER_HELPURL"] = "https://fr.wikipedia.org/wiki/Couleur";
messages["COLOUR_PICKER_TOOLTIP"] = "Choisir une couleur dans la palette.";
messages["COLOUR_RANDOM_HELPURL"] = "http://randomcolour.com";  // untranslated
messages["COLOUR_RANDOM_TITLE"] = "couleur aléatoire";
messages["COLOUR_RANDOM_TOOLTIP"] = "Choisir une couleur au hasard.";
messages["COLOUR_RGB_BLUE"] = "bleu";
messages["COLOUR_RGB_GREEN"] = "vert";
messages["COLOUR_RGB_HELPURL"] = "https://www.december.com/html/spec/colorpercompact.html";
messages["COLOUR_RGB_RED"] = "rouge";
messages["COLOUR_RGB_TITLE"] = "colorier en";
messages["COLOUR_RGB_TOOLTIP"] = "Créer une couleur avec la quantité spécifiée de rouge, vert et bleu. Les valeurs doivent être comprises entre 0 et 100.";
messages["CONTROLS_FLOW_STATEMENTS_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks";  // untranslated
messages["CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK"] = "quitter la boucle";
messages["CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE"] = "passer à l'itération de boucle suivante";
messages["CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK"] = "Sortir de la boucle englobante.";
messages["CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE"] = "Sauter le reste de cette boucle, et poursuivre avec l'itération suivante.";
messages["CONTROLS_FLOW_STATEMENTS_WARNING"] = "Attention : ce bloc ne devrait être utilisé que dans une boucle.";
messages["CONTROLS_FOREACH_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#for-each";  // untranslated
messages["CONTROLS_FOREACH_TITLE"] = "pour chaque élément %1 dans la liste %2";
messages["CONTROLS_FOREACH_TOOLTIP"] = "Pour chaque élément d'une liste, assigner la valeur de l'élément à la variable « %1 », puis exécuter des instructions.";
messages["CONTROLS_FOR_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#count-with";  // untranslated
messages["CONTROLS_FOR_TITLE"] = "compter avec %1 de %2 à %3 par %4";
messages["CONTROLS_FOR_TOOLTIP"] = "Faire prendre successivement à la variable « %1 » les valeurs entre deux nombres de début et de fin par incrément du pas spécifié et exécuter les instructions spécifiées.";
messages["CONTROLS_IF_ELSEIF_TOOLTIP"] = "Ajouter une condition au bloc conditionnel.";
messages["CONTROLS_IF_ELSE_TOOLTIP"] = "Ajouter une condition finale déclenchée dans tous les autres cas au bloc conditionnel.";
messages["CONTROLS_IF_HELPURL"] = "https://github.com/google/blockly/wiki/IfElse";  // untranslated
messages["CONTROLS_IF_IF_TOOLTIP"] = "Ajouter, supprimer ou réordonner les sections pour reconfigurer ce bloc conditionnel.";
messages["CONTROLS_IF_MSG_ELSE"] = "sinon";
messages["CONTROLS_IF_MSG_ELSEIF"] = "sinon si";
messages["CONTROLS_IF_MSG_IF"] = "si";
messages["CONTROLS_IF_TOOLTIP_1"] = "Si une valeur est vraie, alors exécuter certaines instructions.";
messages["CONTROLS_IF_TOOLTIP_2"] = "Si une valeur est vraie, alors exécuter le premier bloc d'instructions. Sinon, exécuter le second bloc d'instructions.";
messages["CONTROLS_IF_TOOLTIP_3"] = "Si la première valeur est vraie, alors exécuter le premier bloc d'instructions. Sinon, si la seconde valeur est vraie, exécuter le second bloc d'instructions.";
messages["CONTROLS_IF_TOOLTIP_4"] = "Si la première valeur est vraie, alors exécuter le premier bloc d'instructions. Sinon, si la seconde valeur est vraie, exécuter le second bloc d'instruction. Si aucune des valeurs n'est vraie, exécuter le dernier bloc d'instruction.";
messages["CONTROLS_REPEAT_HELPURL"] = "https://fr.wikipedia.org/wiki/Boucle_for";
messages["CONTROLS_REPEAT_INPUT_DO"] = "faire";
messages["CONTROLS_REPEAT_TITLE"] = "répéter %1 fois";
messages["CONTROLS_REPEAT_TOOLTIP"] = "Exécuter des instructions plusieurs fois.";
messages["CONTROLS_WHILEUNTIL_HELPURL"] = "https://github.com/google/blockly/wiki/Loops#repeat";
messages["CONTROLS_WHILEUNTIL_OPERATOR_UNTIL"] = "répéter jusqu'à ce que";
messages["CONTROLS_WHILEUNTIL_OPERATOR_WHILE"] = "répéter tant que";
messages["CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL"] = "Tant qu'une valeur est fausse, alors exécuter des instructions.";
messages["CONTROLS_WHILEUNTIL_TOOLTIP_WHILE"] = "Tant qu'une valeur est vraie, alors exécuter des instructions.";
messages["DELETE_ALL_BLOCKS"] = "Supprimer ces %1 blocs ?";
messages["DELETE_BLOCK"] = "Supprimer le bloc";
messages["DELETE_VARIABLE"] = "Supprimer la variable « %1 »";
messages["DELETE_VARIABLE_CONFIRMATION"] = "Supprimer %1 utilisations de la variable « %2 » ?";
messages["DELETE_X_BLOCKS"] = "Supprimer %1 blocs";
messages["DIALOG_CANCEL"] = "Annuler";
messages["DIALOG_OK"] = "OK";
messages["DISABLE_BLOCK"] = "Désactiver le bloc";
messages["DUPLICATE_BLOCK"] = "Dupliquer";
messages["DUPLICATE_COMMENT"] = "Dupliquer le commentaire";
messages["ENABLE_BLOCK"] = "Activer le bloc";
messages["EXPAND_ALL"] = "Développer les blocs";
messages["EXPAND_BLOCK"] = "Développer le bloc";
messages["EXTERNAL_INPUTS"] = "Entrées externes";
messages["HELP"] = "Aide";
messages["INLINE_INPUTS"] = "Entrées en ligne";
messages["LISTS_CREATE_EMPTY_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#create-empty-list";  // untranslated
messages["LISTS_CREATE_EMPTY_TITLE"] = "créer une liste vide";
messages["LISTS_CREATE_EMPTY_TOOLTIP"] = "Renvoyer une liste, de longueur 0, ne contenant aucun enregistrement de données";
messages["LISTS_CREATE_WITH_CONTAINER_TITLE_ADD"] = "liste";
messages["LISTS_CREATE_WITH_CONTAINER_TOOLTIP"] = "Ajouter, supprimer, ou réordonner les sections pour reconfigurer ce bloc de liste.";
messages["LISTS_CREATE_WITH_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#create-list-with";
messages["LISTS_CREATE_WITH_INPUT_WITH"] = "créer une liste avec";
messages["LISTS_CREATE_WITH_ITEM_TOOLTIP"] = "Ajouter un élément à la liste.";
messages["LISTS_CREATE_WITH_TOOLTIP"] = "Créer une liste avec un nombre quelconque d'éléments.";
messages["LISTS_GET_INDEX_FIRST"] = "premier";
messages["LISTS_GET_INDEX_FROM_END"] = "n° depuis la fin";
messages["LISTS_GET_INDEX_FROM_START"] = "nº";
messages["LISTS_GET_INDEX_GET"] = "obtenir";
messages["LISTS_GET_INDEX_GET_REMOVE"] = "obtenir et supprimer";
messages["LISTS_GET_INDEX_LAST"] = "dernier";
messages["LISTS_GET_INDEX_RANDOM"] = "au hasard";
messages["LISTS_GET_INDEX_REMOVE"] = "supprimer";
messages["LISTS_GET_INDEX_TAIL"] = "";  // untranslated
messages["LISTS_GET_INDEX_TOOLTIP_GET_FIRST"] = "Renvoie le premier élément dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_FROM"] = "Renvoie l'élément à la position indiquée dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_LAST"] = "Renvoie le dernier élément dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_RANDOM"] = "Renvoie un élément au hasard dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST"] = "Supprime et renvoie le premier élément dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM"] = "Supprime et renvoie l'élément à la position indiquée dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST"] = "Supprime et renvoie le dernier élément dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM"] = "Supprime et renvoie un élément au hasard dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST"] = "Supprime le premier élément dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM"] = "Supprime l'élément à la position indiquée dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST"] = "Supprime le dernier élément dans une liste.";
messages["LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM"] = "Supprime un élément au hasard dans une liste.";
messages["LISTS_GET_SUBLIST_END_FROM_END"] = "jusqu'au n° depuis la fin";
messages["LISTS_GET_SUBLIST_END_FROM_START"] = "jusqu'au n°";
messages["LISTS_GET_SUBLIST_END_LAST"] = "jusqu'à la fin";
messages["LISTS_GET_SUBLIST_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#getting-a-sublist";  // untranslated
messages["LISTS_GET_SUBLIST_START_FIRST"] = "obtenir la sous-liste depuis le début";
messages["LISTS_GET_SUBLIST_START_FROM_END"] = "obtenir la sous-liste depuis le n° depuis la fin";
messages["LISTS_GET_SUBLIST_START_FROM_START"] = "obtenir la sous-liste depuis le n°";
messages["LISTS_GET_SUBLIST_TAIL"] = "";
messages["LISTS_GET_SUBLIST_TOOLTIP"] = "Crée une copie de la partie spécifiée d'une liste.";
messages["LISTS_INDEX_FROM_END_TOOLTIP"] = "%1 est le dernier élément.";
messages["LISTS_INDEX_FROM_START_TOOLTIP"] = "%1 est le premier élément.";
messages["LISTS_INDEX_OF_FIRST"] = "trouver la première occurrence de l'élément";
messages["LISTS_INDEX_OF_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list";  // untranslated
messages["LISTS_INDEX_OF_LAST"] = "trouver la dernière occurrence de l'élément";
messages["LISTS_INDEX_OF_TOOLTIP"] = "Renvoie l'index de la première/dernière occurrence de l'élément dans la liste. Renvoie %1 si l'élément n'est pas trouvé.";
messages["LISTS_INLIST"] = "dans la liste";
messages["LISTS_ISEMPTY_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#is-empty";  // untranslated
messages["LISTS_ISEMPTY_TITLE"] = "%1 est vide";
messages["LISTS_ISEMPTY_TOOLTIP"] = "Renvoie vrai si la liste est vide.";
messages["LISTS_LENGTH_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#length-of";  // untranslated
messages["LISTS_LENGTH_TITLE"] = "longueur de %1";
messages["LISTS_LENGTH_TOOLTIP"] = "Renvoie la longueur d'une liste.";
messages["LISTS_REPEAT_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#create-list-with";  // untranslated
messages["LISTS_REPEAT_TITLE"] = "créer une liste avec l'élément %1 répété %2 fois";
messages["LISTS_REPEAT_TOOLTIP"] = "Crée une liste consistant en la valeur fournie répétée le nombre de fois indiqué.";
messages["LISTS_REVERSE_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#reversing-a-list";
messages["LISTS_REVERSE_MESSAGE0"] = "inverser %1";
messages["LISTS_REVERSE_TOOLTIP"] = "Inverser la copie d'une liste.";
messages["LISTS_SET_INDEX_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#in-list--set";  // untranslated
messages["LISTS_SET_INDEX_INPUT_TO"] = "comme";
messages["LISTS_SET_INDEX_INSERT"] = "insérer en";
messages["LISTS_SET_INDEX_SET"] = "mettre";
messages["LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST"] = "Insère l'élément au début d'une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_INSERT_FROM"] = "Insère l'élément à la position indiquée dans une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_INSERT_LAST"] = "Ajoute l'élément à la fin d'une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM"] = "Insère l'élément au hasard dans une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_SET_FIRST"] = "Définit le premier élément dans une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_SET_FROM"] = "Définit l'élément à la position indiquée dans une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_SET_LAST"] = "Définit le dernier élément dans une liste.";
messages["LISTS_SET_INDEX_TOOLTIP_SET_RANDOM"] = "Définit un élément au hasard dans une liste.";
messages["LISTS_SORT_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#sorting-a-list";
messages["LISTS_SORT_ORDER_ASCENDING"] = "croissant";
messages["LISTS_SORT_ORDER_DESCENDING"] = "décroissant";
messages["LISTS_SORT_TITLE"] = "trier %1 %2 %3";
messages["LISTS_SORT_TOOLTIP"] = "Trier une copie d'une liste.";
messages["LISTS_SORT_TYPE_IGNORECASE"] = "alphabétique, en ignorant la casse";
messages["LISTS_SORT_TYPE_NUMERIC"] = "numérique";
messages["LISTS_SORT_TYPE_TEXT"] = "alphabétique";
messages["LISTS_SPLIT_HELPURL"] = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists";
messages["LISTS_SPLIT_LIST_FROM_TEXT"] = "créer une liste depuis le texte";
messages["LISTS_SPLIT_TEXT_FROM_LIST"] = "créer un texte depuis la liste";
messages["LISTS_SPLIT_TOOLTIP_JOIN"] = "Réunir une liste de textes en un seul, en les joignant par un séparateur.";
messages["LISTS_SPLIT_TOOLTIP_SPLIT"] = "Couper un texte en une liste de textes, en coupant à chaque séparateur.";
messages["LISTS_SPLIT_WITH_DELIMITER"] = "avec séparateur";
messages["LOGIC_BOOLEAN_FALSE"] = "faux";
messages["LOGIC_BOOLEAN_HELPURL"] = "https://github.com/google/blockly/wiki/Logic#values";  // untranslated
messages["LOGIC_BOOLEAN_TOOLTIP"] = "Renvoie soit vrai soit faux.";
messages["LOGIC_BOOLEAN_TRUE"] = "vrai";
messages["LOGIC_COMPARE_HELPURL"] = "https://fr.wikipedia.org/wiki/In%C3%A9galit%C3%A9_(math%C3%A9matiques)";
messages["LOGIC_COMPARE_TOOLTIP_EQ"] = "Renvoyer vrai si les deux entrées sont égales.";
messages["LOGIC_COMPARE_TOOLTIP_GT"] = "Renvoyer vrai si la première entrée est plus grande que la seconde.";
messages["LOGIC_COMPARE_TOOLTIP_GTE"] = "Renvoyer true si la première entrée est supérieure ou égale à la seconde.";
messages["LOGIC_COMPARE_TOOLTIP_LT"] = "Renvoyer vrai si la première entrée est plus petite que la seconde.";
messages["LOGIC_COMPARE_TOOLTIP_LTE"] = "Renvoyer vrai si la première entrée est plus petite ou égale à la seconde.";
messages["LOGIC_COMPARE_TOOLTIP_NEQ"] = "Renvoyer vrai si les deux entrées sont différentes.";
messages["LOGIC_NEGATE_HELPURL"] = "https://github.com/google/blockly/wiki/Logic#not";  // untranslated
messages["LOGIC_NEGATE_TITLE"] = "non %1";
messages["LOGIC_NEGATE_TOOLTIP"] = "Renvoie vrai si l'entrée est fausse. Renvoie faux si l'entrée est vraie.";
messages["LOGIC_NULL"] = "nul";
messages["LOGIC_NULL_HELPURL"] = "https://en.wikipedia.org/wiki/Nullable_type";
messages["LOGIC_NULL_TOOLTIP"] = "Renvoie nul.";
messages["LOGIC_OPERATION_AND"] = "et";
messages["LOGIC_OPERATION_HELPURL"] = "https://github.com/google/blockly/wiki/Logic#logical-operations";  // untranslated
messages["LOGIC_OPERATION_OR"] = "ou";
messages["LOGIC_OPERATION_TOOLTIP_AND"] = "Renvoyer vrai si les deux entrées sont vraies.";
messages["LOGIC_OPERATION_TOOLTIP_OR"] = "Renvoyer vrai si au moins une des entrées est vraie.";
messages["LOGIC_TERNARY_CONDITION"] = "test";
messages["LOGIC_TERNARY_HELPURL"] = "https://en.wikipedia.org/wiki/%3F%3A";
messages["LOGIC_TERNARY_IF_FALSE"] = "si faux";
messages["LOGIC_TERNARY_IF_TRUE"] = "si vrai";
messages["LOGIC_TERNARY_TOOLTIP"] = "Vérifie la condition indiquée dans « test ». Si elle est vraie, renvoie la valeur « si vrai » ; sinon renvoie la valeur « si faux ».";
messages["MATH_ADDITION_SYMBOL"] = "+";
messages["MATH_ARITHMETIC_HELPURL"] = "https://fr.wikipedia.org/wiki/Arithm%C3%A9tique";
messages["MATH_ARITHMETIC_TOOLTIP_ADD"] = "Renvoie la somme des deux nombres.";
messages["MATH_ARITHMETIC_TOOLTIP_DIVIDE"] = "Renvoie le quotient des deux nombres.";
messages["MATH_ARITHMETIC_TOOLTIP_MINUS"] = "Renvoie la différence des deux nombres.";
messages["MATH_ARITHMETIC_TOOLTIP_MULTIPLY"] = "Renvoie le produit des deux nombres.";
messages["MATH_ARITHMETIC_TOOLTIP_POWER"] = "Renvoie le premier nombre élevé à la puissance du second.";
messages["MATH_ATAN2_HELPURL"] = "https://fr.wikipedia.org/wiki/Atan2";
messages["MATH_ATAN2_TITLE"] = "atan2 de (x : %1 ; y : %2)";
messages["MATH_ATAN2_TOOLTIP"] = "Renvoie l'arc-tangente du point (X, Y) en degrés entre -180 et 180.";
messages["MATH_CHANGE_HELPURL"] = "https://fr.wikipedia.org/wiki/Idiome_de_programmation";
messages["MATH_CHANGE_TITLE"] = "incrémenter %1 de %2";
messages["MATH_CHANGE_TOOLTIP"] = "Ajouter un nombre à la variable « %1 ».";
messages["MATH_CONSTANT_HELPURL"] = "https://fr.wikipedia.org/wiki/Table_de_constantes_math%C3%A9matiques";
messages["MATH_CONSTANT_TOOLTIP"] = "Renvoie une des constantes courantes : π (3,141...), e (2,718...), φ (nom d'or : ½(1+√5) = 1,618…), √2 (1,414...), √½ (0,707...), ou ∞ (infini).";
messages["MATH_CONSTRAIN_HELPURL"] = "https://en.wikipedia.org/wiki/Clamping_(graphics)";  // untranslated
messages["MATH_CONSTRAIN_TITLE"] = "contraindre %1 entre %2 et %3";
messages["MATH_CONSTRAIN_TOOLTIP"] = "Contraindre un nombre à rester entre les limites spécifiées (incluses).";
messages["MATH_DIVISION_SYMBOL"] = "÷";
messages["MATH_IS_DIVISIBLE_BY"] = "est divisible par";
messages["MATH_IS_EVEN"] = "est pair";
messages["MATH_IS_NEGATIVE"] = "est négatif";
messages["MATH_IS_ODD"] = "est impair";
messages["MATH_IS_POSITIVE"] = "est positif";
messages["MATH_IS_PRIME"] = "est premier";
messages["MATH_IS_TOOLTIP"] = "Vérifier si un nombre est pair, impair, premier, entier, positif, négatif ou s'il est divisible par un certain nombre. Renvoie vrai ou faux.";
messages["MATH_IS_WHOLE"] = "est entier";
messages["MATH_MODULO_HELPURL"] = "https://fr.wikipedia.org/wiki/Modulo_(op%C3%A9ration)";
messages["MATH_MODULO_TITLE"] = "reste de %1 ÷ %2";
messages["MATH_MODULO_TOOLTIP"] = "Renvoyer le reste de la division euclidienne des deux nombres.";
messages["MATH_MULTIPLICATION_SYMBOL"] = "×";
messages["MATH_NUMBER_HELPURL"] = "https://fr.wikipedia.org/wiki/Nombre";
messages["MATH_NUMBER_TOOLTIP"] = "Un nombre.";
messages["MATH_ONLIST_HELPURL"] = "";  // untranslated
messages["MATH_ONLIST_OPERATOR_AVERAGE"] = "moyenne de la liste";
messages["MATH_ONLIST_OPERATOR_MAX"] = "maximum de la liste";
messages["MATH_ONLIST_OPERATOR_MEDIAN"] = "médiane de la liste";
messages["MATH_ONLIST_OPERATOR_MIN"] = "minimum de la liste";
messages["MATH_ONLIST_OPERATOR_MODE"] = "majoritaires de la liste";
messages["MATH_ONLIST_OPERATOR_RANDOM"] = "élément aléatoire de la liste";
messages["MATH_ONLIST_OPERATOR_STD_DEV"] = "écart type de la liste";
messages["MATH_ONLIST_OPERATOR_SUM"] = "somme de la liste";
messages["MATH_ONLIST_TOOLTIP_AVERAGE"] = "Renvoyer la moyenne (arithmétique) des valeurs numériques dans la liste.";
messages["MATH_ONLIST_TOOLTIP_MAX"] = "Renvoyer le plus grand nombre dans la liste.";
messages["MATH_ONLIST_TOOLTIP_MEDIAN"] = "Renvoyer le nombre médian de la liste.";
messages["MATH_ONLIST_TOOLTIP_MIN"] = "Renvoyer le plus petit nombre dans la liste.";
messages["MATH_ONLIST_TOOLTIP_MODE"] = "Renvoyer une liste d'un ou plusieurs éléments les plus fréquents dans la liste.";
messages["MATH_ONLIST_TOOLTIP_RANDOM"] = "Renvoyer un élément au hasard dans la liste.";
messages["MATH_ONLIST_TOOLTIP_STD_DEV"] = "Renvoyer l'écart type de la liste.";
messages["MATH_ONLIST_TOOLTIP_SUM"] = "Renvoyer la somme de tous les nombres dans la liste.";
messages["MATH_POWER_SYMBOL"] = "^";
messages["MATH_RANDOM_FLOAT_HELPURL"] = "https://fr.wikipedia.org/wiki/G%C3%A9n%C3%A9rateur_de_nombres_al%C3%A9atoires";
messages["MATH_RANDOM_FLOAT_TITLE_RANDOM"] = "fraction aléatoire";
messages["MATH_RANDOM_FLOAT_TOOLTIP"] = "Renvoyer une fraction aléatoire entre 0,0 (inclus) et 1,0 (exclus).";
messages["MATH_RANDOM_INT_HELPURL"] = "https://fr.wikipedia.org/wiki/G%C3%A9n%C3%A9rateur_de_nombres_al%C3%A9atoires";
messages["MATH_RANDOM_INT_TITLE"] = "entier aléatoire entre %1 et %2";
messages["MATH_RANDOM_INT_TOOLTIP"] = "Renvoyer un entier aléatoire entre les deux limites spécifiées, incluses.";
messages["MATH_ROUND_HELPURL"] = "https://fr.wikipedia.org/wiki/Arrondi_(math%C3%A9matiques)";
messages["MATH_ROUND_OPERATOR_ROUND"] = "arrondir";
messages["MATH_ROUND_OPERATOR_ROUNDDOWN"] = "arrondir par défaut (à l'entier inférieur le plus proche)";
messages["MATH_ROUND_OPERATOR_ROUNDUP"] = "arrondir par excès (à l'entier supérieur le plus proche)";
messages["MATH_ROUND_TOOLTIP"] = "Arrondir un nombre au-dessus ou au-dessous.";
messages["MATH_SINGLE_HELPURL"] = "https://fr.wikipedia.org/wiki/Racine_carr%C3%A9e";
messages["MATH_SINGLE_OP_ABSOLUTE"] = "valeur absolue";
messages["MATH_SINGLE_OP_ROOT"] = "racine carrée";
messages["MATH_SINGLE_TOOLTIP_ABS"] = "Renvoie la valeur absolue d'un nombre.";
messages["MATH_SINGLE_TOOLTIP_EXP"] = "Renvoie <em>e</em> à la puissance d'un nombre.";
messages["MATH_SINGLE_TOOLTIP_LN"] = "Renvoie le logarithme naturel d'un nombre.";
messages["MATH_SINGLE_TOOLTIP_LOG10"] = "Renvoie le logarithme décimal d'un nombre.";
messages["MATH_SINGLE_TOOLTIP_NEG"] = "Renvoie l'opposé d'un nombre";
messages["MATH_SINGLE_TOOLTIP_POW10"] = "Renvoie 10 à la puissance d'un nombre.";
messages["MATH_SINGLE_TOOLTIP_ROOT"] = "Renvoie la racine carrée d'un nombre.";
messages["MATH_SUBTRACTION_SYMBOL"] = "−";
messages["MATH_TRIG_ACOS"] = "acos";
messages["MATH_TRIG_ASIN"] = "asin";
messages["MATH_TRIG_ATAN"] = "atan";
messages["MATH_TRIG_COS"] = "cos";
messages["MATH_TRIG_HELPURL"] = "https://fr.wikipedia.org/wiki/Fonction_trigonom%C3%A9trique";
messages["MATH_TRIG_SIN"] = "sin";
messages["MATH_TRIG_TAN"] = "tan";
messages["MATH_TRIG_TOOLTIP_ACOS"] = "Renvoie l'arccosinus d'un nombre.";
messages["MATH_TRIG_TOOLTIP_ASIN"] = "Renvoie l'arcsinus d'un nombre.";
messages["MATH_TRIG_TOOLTIP_ATAN"] = "Renvoie l'arctangente d'un nombre.";
messages["MATH_TRIG_TOOLTIP_COS"] = "Renvoie le cosinus d'un angle en degrés (pas en radians).";
messages["MATH_TRIG_TOOLTIP_SIN"] = "Renvoie le sinus d'un angle en degrés (pas en radians).";
messages["MATH_TRIG_TOOLTIP_TAN"] = "Renvoie la tangente d'un angle en degrés (pas en radians).";
messages["NEW_COLOUR_VARIABLE"] = "Créer une variable de couleur...";
messages["NEW_NUMBER_VARIABLE"] = "Créer une variable numérique...";
messages["NEW_STRING_VARIABLE"] = "Créer une variable de chaîne...";
messages["NEW_VARIABLE"] = "Créer une variable...";
messages["NEW_VARIABLE_TITLE"] = "Nom de la nouvelle variable :";
messages["NEW_VARIABLE_TYPE_TITLE"] = "Nouveau type de variable :";
messages["ORDINAL_NUMBER_SUFFIX"] = "";
messages["PROCEDURES_ALLOW_STATEMENTS"] = "autoriser les ordres";
messages["PROCEDURES_BEFORE_PARAMS"] = "avec :";
messages["PROCEDURES_CALLNORETURN_HELPURL"] = "https://fr.wikipedia.org/wiki/Sous-programme";
messages["PROCEDURES_CALLNORETURN_TOOLTIP"] = "Exécuter la fonction « %1 » définie par l'utilisateur.";
messages["PROCEDURES_CALLRETURN_HELPURL"] = "https://fr.wikipedia.org/wiki/Sous-programme";
messages["PROCEDURES_CALLRETURN_TOOLTIP"] = "Exécuter la fonction « %1 » définie par l'utilisateur et utiliser son résultat.";
messages["PROCEDURES_CALL_BEFORE_PARAMS"] = "avec :";
messages["PROCEDURES_CREATE_DO"] = "Créer « %1 »";
messages["PROCEDURES_DEFNORETURN_COMMENT"] = "Décrivez cette fonction...";
messages["PROCEDURES_DEFNORETURN_DO"] = "";
messages["PROCEDURES_DEFNORETURN_HELPURL"] = "https://fr.wikipedia.org/wiki/Sous-programme";
messages["PROCEDURES_DEFNORETURN_PROCEDURE"] = "faire quelque chose";
messages["PROCEDURES_DEFNORETURN_TITLE"] = "pour";
messages["PROCEDURES_DEFNORETURN_TOOLTIP"] = "Crée une fonction sans sortie.";
messages["PROCEDURES_DEFRETURN_HELPURL"] = "https://fr.wikipedia.org/wiki/Sous-programme";
messages["PROCEDURES_DEFRETURN_RETURN"] = "retourner";
messages["PROCEDURES_DEFRETURN_TOOLTIP"] = "Crée une fonction avec une sortie.";
messages["PROCEDURES_DEF_DUPLICATE_WARNING"] = "Attention : cette fonction a des paramètres en doublon.";
messages["PROCEDURES_HIGHLIGHT_DEF"] = "Surligner la définition de la fonction";
messages["PROCEDURES_IFRETURN_HELPURL"] = "http://c2.com/cgi/wiki?GuardClause";
messages["PROCEDURES_IFRETURN_TOOLTIP"] = "Si une valeur est vraie, alors renvoyer une seconde valeur.";
messages["PROCEDURES_IFRETURN_WARNING"] = "Attention : ce bloc ne peut être utilisé que dans une définition de fonction.";
messages["PROCEDURES_MUTATORARG_TITLE"] = "nom de l'entrée :";
messages["PROCEDURES_MUTATORARG_TOOLTIP"] = "Ajouter une entrée à la fonction.";
messages["PROCEDURES_MUTATORCONTAINER_TITLE"] = "entrées";
messages["PROCEDURES_MUTATORCONTAINER_TOOLTIP"] = "Ajouter, supprimer, ou réarranger les entrées de cette fonction.";
messages["REDO"] = "Refaire";
messages["REMOVE_COMMENT"] = "Supprimer un commentaire";
messages["RENAME_VARIABLE"] = "Renommer la variable...";
messages["RENAME_VARIABLE_TITLE"] = "Renommer toutes les variables « %1 » en :";
messages["TEXT_APPEND_HELPURL"] = "https://github.com/google/blockly/wiki/Text#text-modification";  // untranslated
messages["TEXT_APPEND_TITLE"] = "ajouter le texte %2 à %1";
messages["TEXT_APPEND_TOOLTIP"] = "Ajouter du texte à la variable « %1 ».";
messages["TEXT_CHANGECASE_HELPURL"] = "https://github.com/google/blockly/wiki/Text#adjusting-text-case";  // untranslated
messages["TEXT_CHANGECASE_OPERATOR_LOWERCASE"] = "en minuscules";
messages["TEXT_CHANGECASE_OPERATOR_TITLECASE"] = "en Capitale Initiale Pour Chaque Mot";
messages["TEXT_CHANGECASE_OPERATOR_UPPERCASE"] = "en MAJUSCULES";
messages["TEXT_CHANGECASE_TOOLTIP"] = "Renvoyer une copie du texte dans une autre casse.";
messages["TEXT_CHARAT_FIRST"] = "obtenir la première lettre";
messages["TEXT_CHARAT_FROM_END"] = "obtenir la lettre nº (depuis la fin)";
messages["TEXT_CHARAT_FROM_START"] = "obtenir la lettre nº";
messages["TEXT_CHARAT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#extracting-text";  // untranslated
messages["TEXT_CHARAT_LAST"] = "obtenir la dernière lettre";
messages["TEXT_CHARAT_RANDOM"] = "obtenir une lettre au hasard";
messages["TEXT_CHARAT_TAIL"] = "";  // untranslated
messages["TEXT_CHARAT_TITLE"] = "%2 dans le texte %1";
messages["TEXT_CHARAT_TOOLTIP"] = "Renvoie la lettre à la position indiquée.";
messages["TEXT_COUNT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#counting-substrings";
messages["TEXT_COUNT_MESSAGE0"] = "nombre %1 sur %2";
messages["TEXT_COUNT_TOOLTIP"] = "Compter combien de fois un texte donné apparaît dans un autre.";
messages["TEXT_CREATE_JOIN_ITEM_TOOLTIP"] = "Ajouter un élément au texte.";
messages["TEXT_CREATE_JOIN_TITLE_JOIN"] = "joindre";
messages["TEXT_CREATE_JOIN_TOOLTIP"] = "Ajouter, supprimer, ou réordonner des sections pour reconfigurer ce bloc de texte.";
messages["TEXT_GET_SUBSTRING_END_FROM_END"] = "jusqu'à la lettre nº (depuis la fin)";
messages["TEXT_GET_SUBSTRING_END_FROM_START"] = "jusqu'à la lettre nº";
messages["TEXT_GET_SUBSTRING_END_LAST"] = "jusqu'à la dernière lettre";
messages["TEXT_GET_SUBSTRING_HELPURL"] = "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text";  // untranslated
messages["TEXT_GET_SUBSTRING_INPUT_IN_TEXT"] = "dans le texte";
messages["TEXT_GET_SUBSTRING_START_FIRST"] = "obtenir la sous-chaîne depuis la première lettre";
messages["TEXT_GET_SUBSTRING_START_FROM_END"] = "obtenir la sous-chaîne depuis la lettre nº (depuis la fin)";
messages["TEXT_GET_SUBSTRING_START_FROM_START"] = "obtenir la sous-chaîne depuis la lettre nº";
messages["TEXT_GET_SUBSTRING_TAIL"] = "";  // untranslated
messages["TEXT_GET_SUBSTRING_TOOLTIP"] = "Renvoie une partie indiquée du texte.";
messages["TEXT_INDEXOF_HELPURL"] = "https://github.com/google/blockly/wiki/Text#finding-text";  // untranslated
messages["TEXT_INDEXOF_OPERATOR_FIRST"] = "trouver la première occurrence de la chaîne";
messages["TEXT_INDEXOF_OPERATOR_LAST"] = "trouver la dernière occurrence du texte";
messages["TEXT_INDEXOF_TITLE"] = "%2 %3 dans le texte %1";
messages["TEXT_INDEXOF_TOOLTIP"] = "Renvoie l'index de la première/dernière occurrence de la première chaîne dans la seconde. Renvoie %1 si la chaîne n'est pas trouvée.";
messages["TEXT_ISEMPTY_HELPURL"] = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text";  // untranslated
messages["TEXT_ISEMPTY_TITLE"] = "%1 est vide";
messages["TEXT_ISEMPTY_TOOLTIP"] = "Renvoie vrai si le texte fourni est vide.";
messages["TEXT_JOIN_HELPURL"] = "https://github.com/google/blockly/wiki/Text#text-creation";  // untranslated
messages["TEXT_JOIN_TITLE_CREATEWITH"] = "créer un texte avec";
messages["TEXT_JOIN_TOOLTIP"] = "Créer un morceau de texte en joignant bout à bout et successivement un nombre quelconque d'éléments dans le même ordre.";
messages["TEXT_LENGTH_HELPURL"] = "https://github.com/google/blockly/wiki/Text#text-modification";  // untranslated
messages["TEXT_LENGTH_TITLE"] = "longueur de %1";
messages["TEXT_LENGTH_TOOLTIP"] = "Renvoie le nombre de lettres (chiffres, ponctuations, symboles et espaces compris) dans le texte fourni.";
messages["TEXT_PRINT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#printing-text";  // untranslated
messages["TEXT_PRINT_TITLE"] = "afficher %1";
messages["TEXT_PRINT_TOOLTIP"] = "Afficher le texte, le nombre ou une autre valeur spécifiée.";
messages["TEXT_PROMPT_HELPURL"] = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user";  // untranslated
messages["TEXT_PROMPT_TOOLTIP_NUMBER"] = "Demander un nombre à l'utilisateur.";
messages["TEXT_PROMPT_TOOLTIP_TEXT"] = "Demander un texte à l'utilisateur.";
messages["TEXT_PROMPT_TYPE_NUMBER"] = "demander un nombre avec un message";
messages["TEXT_PROMPT_TYPE_TEXT"] = "demander un texte avec un message";
messages["TEXT_REPLACE_HELPURL"] = "https://github.com/google/blockly/wiki/Text#replacing-substrings";
messages["TEXT_REPLACE_MESSAGE0"] = "remplacer %1 par %2 dans %3";
messages["TEXT_REPLACE_TOOLTIP"] = "Remplacer toutes les occurrences d'un texte par un autre.";
messages["TEXT_REVERSE_HELPURL"] = "https://github.com/google/blockly/wiki/Text#reversing-text";
messages["TEXT_REVERSE_MESSAGE0"] = "renverser %1";
messages["TEXT_REVERSE_TOOLTIP"] = "Renverse l'ordre des caractères dans le texte.";
messages["TEXT_TEXT_HELPURL"] = "https://fr.wikipedia.org/wiki/Cha%C3%AEne_de_caract%C3%A8res";
messages["TEXT_TEXT_TOOLTIP"] = "Une lettre, un mot ou une ligne de texte.";
messages["TEXT_TRIM_HELPURL"] = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces";  // untranslated
messages["TEXT_TRIM_OPERATOR_BOTH"] = "supprimer les espaces des deux côtés de";
messages["TEXT_TRIM_OPERATOR_LEFT"] = "supprimer les espaces du côté gauche de";
messages["TEXT_TRIM_OPERATOR_RIGHT"] = "supprimer les espaces du côté droit de";
messages["TEXT_TRIM_TOOLTIP"] = "Renvoyer une copie du texte avec les espaces supprimés d'un ou des deux bouts.";
messages["TODAY"] = "Aujourd'hui";
messages["UNDO"] = "Annuler";
messages["UNNAMED_KEY"] = "non nommé";
messages["VARIABLES_DEFAULT_NAME"] = "élément";
messages["VARIABLES_GET_CREATE_SET"] = "Créer « définir %1 »";
messages["VARIABLES_GET_HELPURL"] = "https://github.com/google/blockly/wiki/Variables#get";  // untranslated
messages["VARIABLES_GET_TOOLTIP"] = "Renvoie la valeur de cette variable.";
messages["VARIABLES_SET"] = "définir %1 à %2";
messages["VARIABLES_SET_CREATE_GET"] = "Créer « obtenir %1 »";
messages["VARIABLES_SET_HELPURL"] = "https://github.com/google/blockly/wiki/Variables#set";  // untranslated
messages["VARIABLES_SET_TOOLTIP"] = "Définit cette variable pour qu'elle soit égale à la valeur de l'entrée.";
messages["VARIABLE_ALREADY_EXISTS"] = "Une variable nommée « %1 » existe déjà.";
messages["VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE"] = "Une variable nommée « %1 » existe déjà pour un autre type : « %2 ».";
messages["WORKSPACE_ARIA_LABEL"] = "Espace de travail de Blocky";
messages["WORKSPACE_COMMENT_DEFAULT_TEXT"] = "Expliquez quelque chose...";
messages["CONTROLS_FOREACH_INPUT_DO"] = messages["CONTROLS_REPEAT_INPUT_DO"];
messages["CONTROLS_FOR_INPUT_DO"] = messages["CONTROLS_REPEAT_INPUT_DO"];
messages["CONTROLS_IF_ELSEIF_TITLE_ELSEIF"] = messages["CONTROLS_IF_MSG_ELSEIF"];
messages["CONTROLS_IF_ELSE_TITLE_ELSE"] = messages["CONTROLS_IF_MSG_ELSE"];
messages["CONTROLS_IF_IF_TITLE_IF"] = messages["CONTROLS_IF_MSG_IF"];
messages["CONTROLS_IF_MSG_THEN"] = messages["CONTROLS_REPEAT_INPUT_DO"];
messages["CONTROLS_WHILEUNTIL_INPUT_DO"] = messages["CONTROLS_REPEAT_INPUT_DO"];
messages["LISTS_CREATE_WITH_ITEM_TITLE"] = messages["VARIABLES_DEFAULT_NAME"];
messages["LISTS_GET_INDEX_HELPURL"] = messages["LISTS_INDEX_OF_HELPURL"];
messages["LISTS_GET_INDEX_INPUT_IN_LIST"] = messages["LISTS_INLIST"];
messages["LISTS_GET_SUBLIST_INPUT_IN_LIST"] = messages["LISTS_INLIST"];
messages["LISTS_INDEX_OF_INPUT_IN_LIST"] = messages["LISTS_INLIST"];
messages["LISTS_SET_INDEX_INPUT_IN_LIST"] = messages["LISTS_INLIST"];
messages["MATH_CHANGE_TITLE_ITEM"] = messages["VARIABLES_DEFAULT_NAME"];
messages["PROCEDURES_DEFRETURN_COMMENT"] = messages["PROCEDURES_DEFNORETURN_COMMENT"];
messages["PROCEDURES_DEFRETURN_DO"] = messages["PROCEDURES_DEFNORETURN_DO"];
messages["PROCEDURES_DEFRETURN_PROCEDURE"] = messages["PROCEDURES_DEFNORETURN_PROCEDURE"];
messages["PROCEDURES_DEFRETURN_TITLE"] = messages["PROCEDURES_DEFNORETURN_TITLE"];
messages["TEXT_APPEND_VARIABLE"] = messages["VARIABLES_DEFAULT_NAME"];
messages["TEXT_CREATE_JOIN_ITEM_TITLE_ITEM"] = messages["VARIABLES_DEFAULT_NAME"];

messages["MATH_HUE"] = "230";
messages["LOOPS_HUE"] = "120";
messages["LISTS_HUE"] = "260";
messages["LOGIC_HUE"] = "210";
messages["VARIABLES_HUE"] = "330";
messages["TEXTS_HUE"] = "160";
messages["PROCEDURES_HUE"] = "290";
messages["COLOUR_HUE"] = "20";
messages["VARIABLES_DYNAMIC_HUE"] = "310";
return messages;
}));


text:
.. _install:

************
Installation
************

Dependencies
============

Python 2.7 and 3.4+ are supported.

``pyregion`` has the following required dependencies:

* `Astropy <http://www.astropy.org/>`__ version 1.0 or later (which requires Numpy)
* ``pyparsing`` version 2.0 or later for parsing the DS9 region files
    * `Homepage <http://pyparsing.wikispaces.com/>`__
    * `PyPI page <https://pypi.python.org/pypi/pyparsing>`__

``pyregion`` has the following optional dependencies for plotting:

* `matplotlib <http://matplotlib.org/>`__
* `wcsaxes <https://github.com/astrofrog/wcsaxes>`__

To work with the development version, you'll need Cython and a C compiler,
because the code to generate masks from regions is written in Cython.

Stable version
==============

Installing the latest stable version is possible either using pip or conda.

Using pip
---------

To install pyregion with `pip <http://www.pip-installer.org/en/latest/>`_
from `PyPI <https://pypi.python.org/pypi/pyregion>`_
simply run::

    pip install --no-deps pyregion

.. note::

    The ``--no-deps`` flag is optional, but highly recommended if you already
    have Numpy installed, since otherwise pip will sometimes try to "help" you
    by upgrading your Numpy installation, which may not always be desired.

Using conda
-----------

To install regions with `Anaconda <https://www.continuum.io/downloads>`_
from the `astropy channel on anaconda.org <https://anaconda.org/astropy/pyregion>`__
simply run::

    conda install -c astropy pyregion

Testing installation
--------------------

To check if your install is OK, run the tests:

.. code-block:: bash

    python -c 'import pyregion; pyregion.test()'

Development version
===================

Install the latest development version from https://github.com/astropy/pyregion :

.. code-block:: bash

    git clone https://github.com/astropy/pyregion
    cd pyregion
    python setup.py install
    python setup.py test
    python setup.py build_docs

redpajama_set_name: RedPajamaGithub


text:
<?php
/**
 * Created by PhpStorm.
 * User: dg
 * Date: 01.6.2018
 * Time: 08:44
 */

namespace SmartOptim\Http;

use SmartOptim\Optimizer;

abstract class BaseClient {
	/**
	 * The SmartOptim api endpoint.
	 */
	const AUTH_HEADER = 'X-API-KEY';

	/**
	 * The client user agent
	 * @var string
	 */
	const USER_AGENT = 'SmartOptim PHP Client';

	/**
	 * The API url
	 */
	const API_URL = 'http://api.smartoptim.test/v1';

	/**
	 * Optimize
	 * @url http://api.smartoptim.com/v1/optimize
	 */
	const ENDPOINT_OPTIMIZE = '/optimize';

	/**
	 * Profile
	 * @url http://api.smartoptim.com/v1/users/info
	 */
	const ENDPOINT_PROFILE = '/users/info';

	/**
	 * Maximum timeout for a request in second
	 * @var int
	 */
	const TIMEOUT = 150;

	/**
	 * Additional user agent info
	 * @var string
	 */
	private static $user_agent = null;

	/**
	 * The SmartOptim api key that is used to authenticate the request
	 * @var string $api_key
	 */
	protected $api_key;

	/**
	 * Send HTTP POST request to the server.
	 * The method must throw exception in case of error.
	 *
	 * @param $url
	 * @param $data
	 * @param $files ( List of files the key:path, the key is the handle for the file. )
	 *
	 * @return mixed
	 * @throws \Exception
	 */
	abstract public function post( $url, $data, $files = array() );

	/**
	 *  Send HTTP GET request to server
	 *    The method must throw exception in case of error.
	 *
	 * @param $url
	 *
	 * @return mixed
	 * @throws \Exception
	 */
	abstract public function get( $url );

	/**
	 * Send HTTP POST request to the server.
	 * The method must throw exception in case of error.
	 *
	 * @param $url
	 * @param $data
	 * @param $files
	 * @param null $api_key
	 *
	 * @return mixed
	 * @throws \Exception
	 */
	abstract public static function _post( $url, $data, $files = array(), $api_key = null );

	/**
	 *  Send HTTP GET request to server
	 *    The method must throw exception in case of error.
	 *
	 * @param $url
	 * @param null $api_key
	 *
	 * @return mixed
	 * @throws \Exception
	 */
	abstract public static function _get( $url, $api_key = null );

	/**
	 * Used to download image from url. Returns the local path or false on failure.
	 *
	 * @param string $url
	 * @param string $save_filepath
	 *
	 * @return string|bool
	 */
	public static function download( $url, $save_filepath ) {
		$ch = curl_init( $url );
		curl_setopt( $ch, CURLOPT_HEADER, 0 );
		curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
		curl_setopt( $ch, CURLOPT_BINARYTRANSFER, 1 );
		$raw = curl_exec( $ch );
		curl_close( $ch );
		$fp = fopen( $save_filepath, 'w+' );
		fwrite( $fp, $raw );
		fclose( $fp );
		if ( file_exists( $save_filepath ) ) {
			return $save_filepath;
		} else {
			return false;
		}
	}

	/**
	 * Convert $resource to CURLFile, also backwards compatible with
	 * version lower than 5.5
	 *
	 * @param $resource
	 *
	 * @return \CURLFile|string
	 */
	public static function to_curl_file( $resource ) {
		if ( ! class_exists( 'CURLFile' ) ) {
			return '@' . $resource;
		} else {
			return new \CURLFile( $resource );
		}
	}

	/**
	 * Returns the SmartOptim PHP Client user agent
	 * @return string
	 */
	public static function get_user_agent() {
		$user_agent = self::USER_AGENT . ' v' . Optimizer::VERSION;
		if ( ! is_null( self::$user_agent ) && ! empty( self::$user_agent ) ) {
			$user_agent = $user_agent . ', ' . self::$user_agent;
		}
		return $user_agent;
	}

	public static function set_user_agent( $user_agent ) {
		static::$user_agent = $user_agent;
	}

	/**
	 * Returns full url based on the endpoint
	 *
	 * @param $endpoint
	 *
	 * @return string
	 */
	public static function get_endpoint( $endpoint ) {
		return self::API_URL . $endpoint;
	}

}


text:
<?php

namespace ZfrEbWorker\Message;

/**
 * @author Michaël Gallego
 */
interface DelayedMessageInterface extends MessageInterface
{
    /**
     * Get the delay (in seconds)
     *
     * @return int
     */
    public function getDelay(): int;
}


text:
'use strict';
app.controller('LogsCtrl', function($scope, logs, infos) {

    $scope.infos = infos;
    $scope.logs = logs;

});


text: export { PaintBrush as default } from "./";


text:
using GestionePrenotazioni.Domain.ReadModel;
using Jarvis.Framework.Kernel.Events;
using Jarvis.Framework.Kernel.ProjectionEngine;
using MongoDB.Driver;
using System;
using GestionePrenotazioni.Domain.Aggregates.Attrezzatura.Events;

namespace GestionePrenotazioni.Domain.EventHandlers
{
    public class AttrezzaturaProjection : AbstractProjection,
        IEventHandler<AttrezzaturaRegistrata>
    {
        private readonly ICollectionWrapper<AttrezzaturaReadModel, String> _attrezzatura;

        public AttrezzaturaProjection(
            ICollectionWrapper<AttrezzaturaReadModel, String> attrezzatura)
        {
            _attrezzatura = attrezzatura;
            _attrezzatura.Attach(this, true);
        }

        public override int Priority
        {
            get { return 10; }
        }

        public override void Drop()
        {
            _attrezzatura.Drop();
        }

        public override void SetUp()
        {
            _attrezzatura.CreateIndex("Nome",
                Builders<AttrezzaturaReadModel>.IndexKeys.Ascending(r => r.Nome));
        }

        public void On(AttrezzaturaRegistrata e)
        {
            _attrezzatura.Insert(e, new AttrezzaturaReadModel()
            {
                Id = e.AggregateId.AsString(),
                Nome = e.Nome,
            });
        }
    }
}


text:
namespace aura {

EventFilter::EventFilter(Window* owner) : owner_(owner) {
}

EventFilter::~EventFilter() {
}

}  // namespace aura


text:
@interface Shortcut : NSObject
{
    id delegate;
}
@property (assign) id delegate;
- (int) addShortcut: (int)code withKeyModifier:(int)modifier;
- (void) hotkeyWasPressed: (NSString*)hotKeyID;
@end
OSStatus myHotKeyHandler(EventHandlerCallRef nextHandler, EventRef anEvent, void *userData);

@implementation Shortcut
@synthesize delegate;

OSStatus myHotKeyHandler(EventHandlerCallRef nextHandler, EventRef anEvent, void *userData)
{
    if ( userData != NULL ) {
        id delegate = (id)userData;
        if ( delegate ) {
          EventHotKeyID myHotKeyID;
          GetEventParameter(anEvent, kEventParamDirectObject, typeEventHotKeyID,NULL,
          sizeof(myHotKeyID),NULL,&myHotKeyID);

          NSString* ObjectiveFail = [NSString stringWithFormat:@"%i", myHotKeyID.id];

          [delegate hotkeyWasPressed: ObjectiveFail]; // I don't why but macruby get crashy when I returned an int so, whatever, to_i that sh-t.
        }
    }
    return noErr;
}

- (int) addShortcut: (int)code withKeyModifier:(int)modifier
{
  static UInt32 _id = 0;

  EventHotKeyRef myHotKeyRef;
  EventHotKeyID  myHotKeyID;

  EventTypeSpec eventType;
  eventType.eventClass=kEventClassKeyboard;
  eventType.eventKind=kEventHotKeyPressed;

  EventTargetRef eventTarget = (EventTargetRef) GetEventMonitorTarget(); //GetApplicationEventTarget()?

  myHotKeyID.signature='mhk1';
  myHotKeyID.id=_id++;

  if ( delegate == nil )
    delegate = self;

  InstallEventHandler(eventTarget, &myHotKeyHandler, 1, &eventType, (void *)delegate, NULL);
  RegisterEventHotKey(code, modifier, myHotKeyID, eventTarget, 0, &myHotKeyRef);

  return (int)myHotKeyID.id;
}

- (void) hotkeyWasPressed: (NSString*)hotKeyID {
  NSLog(@"Shh, you shouldn't see me!");
};

@end

void Init_shortcut(void) {}


text:
(function(global) {

  'use strict';

  /* global suite, test */

  var Client;
  var assert;
  var utils;

  if (typeof module !== 'undefined' && module.exports) {
    Client = require('../lib/Client');
    utils = require('conducto-core').utils;
    assert = require('assert');
  }
  else {
    Client = global.conducto.Client;
    utils = global.conducto.utils;
    assert = function assert(expr, msg) {
      if (!expr) throw new Error(msg || 'failed');
    };
  }

  suite('client', function() {

    test('default options', function() {
      var client = new Client();
      assert(client.secure === true);
      assert(client.port === 443);
      assert(client.host === 'localhost');
      assert(client.keepalive === 5000);
      assert(client.timeout === 2500);
      assert(client.path === '/');
      assert(typeof client.query === 'object');
    });

    test('options', function() {
      var opts = {
        secure: false,
        port: 80,
        host: 'foobar',
        foo: 'bar',
        keepalive: 1234,
        timeout: 1234,
        path: '/foo',
        query: {
          'foo': 'bar'
        },
      };
      var client = new Client(opts);
      assert(client.secure === false);
      assert(client.port === 80);
      assert(client.host === 'foobar');
      assert(typeof client.foo === 'undefined');
      assert(client.keepalive === 1234);
      assert(client.timeout === 1234);
      assert(client.path === '/foo');
      assert(client.query.foo === 'bar');
    });

    test('open promise', function() {
      var client = new Client();
      var p = client.open();
      if (utils.Promise)
        assert(p instanceof utils.Promise);
    });

    test('open callback', function(done) {
      var client = new Client();
      client.open(function(err) {
        assert(err);
        assert(this === client);
        done();
      });
    });

  });

})(this);


text: call java -jar -Dlog4j.configurationFile=loggerConfig-dev.xml MusicFileNamer-0.2-SNAPSHOT.jar


text: require('ember-forms/controls/unbound_select');


text:
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Threading.Tasks;
using fastJSON;
using Winston.Net;
using Winston.Packaging;
using Environment = Winston.OS.Environment;

namespace Winston.Index
{
    class WebIndex
    {
        public static async Task<PackageSource> TryLoadAsync(string uriOrPath)
        {
            Uri uri;
            if (!Uri.TryCreate(uriOrPath, UriKind.Absolute, out uri))
            {
                return null;
            }
            var scheme = uri.Scheme.ToLowerInvariant();
            if (scheme != "http" && scheme != "https")
            {
                return null;
            }

            try
            {
                using (var client = NetUtils.HttpClient())
                {
                    var res = await client.GetAsync(uri);
                    var json = await res.Content.ReadAsStringAsync();
                    var result = JSON.ToObject<PackageSource>(json);
                    result.Location = uri.ToString();
                    return result;
                }
            }
            catch (Exception ex)
            {
                if (Environment.IsDebug)
                {
                    Console.Error.Write(ex.StackTrace);
                }
            }
            return null;
        }
    }
}


text:
local net = require("framework.cc.net.init")
local TimerTestScene = game.createSceneClass("TimerTestScene")

function TimerTestScene:ctor()
    cc.FileUtils:getInstance():addSearchPath("src/")

    self:prepare({
        description = "Please check console output"
    })

    local items = {
        "Timer"
    }
    self:addChild(game.createMenu(items, handler(self, self.runTest)))
end

function TimerTestScene:TimerTest()
    if self.timer_ then
        return
    end

	local Timer = require("framework.cc.utils.Timer")
    local appTimer = Timer.new()

    -- 响应 CITYHALL_UPGRADE_TIMER 事件
    local function onCityHallUpgradeTimer(event)
        if event.countdown > 0 then
            -- 倒计时还未结束,更新用户界面上显示的时间
            print("timer counting")
        else
            -- 倒计时已经结束,更新用户界面显示升级后的城防大厅
            print("timer over")
        end
    end

    -- 注册事件
    appTimer:addEventListener("CITYHALL_UPGRADE_TIMER", onCityHallUpgradeTimer)
    -- 城防大厅升级需要 3600 秒,每 30 秒更新一次界面显示
    appTimer:addCountdown("CITYHALL_UPGRADE_TIMER", 600, 10)

    appTimer:start()

    self.timer_ = appTimer
end

function TimerTestScene:onExit()
    if self.timer_ then
        self.timer_:stop()
    end
end

return TimerTestScene


text:
package login;

import message.User;

/**
 * Created by Administrator on 2016/2/18.
 */
public interface UserLogin {
    int login(User user);
}


text:
export {};
//# sourceMappingURL=managedInstanceVulnerabilityAssessments.js.map


text:
/*
 * Copyright 2001-2004 The Apache Software Foundation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.sun.org.apache.xerces.internal.impl.xs.traversers;

import com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar;
import com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols;
import com.sun.org.apache.xerces.internal.impl.xs.XSAnnotationImpl;
import com.sun.org.apache.xerces.internal.impl.xs.XSNotationDecl;
import com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl;
import com.sun.org.apache.xerces.internal.util.DOMUtil;
import com.sun.org.apache.xerces.internal.xs.XSObjectList;
import org.w3c.dom.Element;

/**
 * The notation declaration schema component traverser.
 *
 * <notation
 *   id = ID
 *   name = NCName
 *   public = anyURI
 *   system = anyURI
 *   {any attributes with non-schema namespace . . .}>
 *   Content: (annotation?)
 * </notation>
 *
 * @xerces.internal
 *
 * @author Rahul Srivastava, Sun Microsystems Inc.
 * @author Elena Litani, IBM
 * @version $Id: XSDNotationTraverser.java,v 1.7 2010-11-01 04:40:02 joehw Exp $
 */
class  XSDNotationTraverser extends XSDAbstractTraverser {

    XSDNotationTraverser (XSDHandler handler,
            XSAttributeChecker gAttrCheck) {
        super(handler, gAttrCheck);
    }

    XSNotationDecl traverse(Element elmNode,
            XSDocumentInfo schemaDoc,
            SchemaGrammar grammar) {

        // General Attribute Checking for elmNode
        Object[] attrValues = fAttrChecker.checkAttributes(elmNode, true, schemaDoc);
        //get attributes
        String  nameAttr   = (String) attrValues[XSAttributeChecker.ATTIDX_NAME];

        String  publicAttr = (String) attrValues[XSAttributeChecker.ATTIDX_PUBLIC];
        String  systemAttr = (String) attrValues[XSAttributeChecker.ATTIDX_SYSTEM];
        if (nameAttr == null) {
            reportSchemaError("s4s-att-must-appear", new Object[]{SchemaSymbols.ELT_NOTATION, SchemaSymbols.ATT_NAME}, elmNode);
            fAttrChecker.returnAttrArray(attrValues, schemaDoc);
            return null;
        }

        if (systemAttr == null && publicAttr == null) {
            reportSchemaError("PublicSystemOnNotation", null, elmNode);
            publicAttr = "missing";
        }

        XSNotationDecl notation = new XSNotationDecl();
        notation.fName = nameAttr;
        notation.fTargetNamespace = schemaDoc.fTargetNamespace;
        notation.fPublicId = publicAttr;
        notation.fSystemId = systemAttr;

        //check content
        Element content = DOMUtil.getFirstChildElement(elmNode);
        XSAnnotationImpl annotation = null;

        if (content != null && DOMUtil.getLocalName(content).equals(SchemaSymbols.ELT_ANNOTATION)) {
            annotation = traverseAnnotationDecl(content, attrValues, false, schemaDoc);
            content = DOMUtil.getNextSiblingElement(content);
        }
        else {
            String text = DOMUtil.getSyntheticAnnotation(elmNode);
            if (text != null) {
                annotation = traverseSyntheticAnnotation(elmNode, text, attrValues, false, schemaDoc);
            }
        }
        XSObjectList annotations;
        if (annotation != null) {
            annotations = new XSObjectListImpl();
            ((XSObjectListImpl) annotations).addXSObject(annotation);
        } else {
            annotations = XSObjectListImpl.EMPTY_LIST;
        }
        notation.fAnnotations = annotations;
        if (content!=null){
            Object[] args = new Object [] {SchemaSymbols.ELT_NOTATION, "(annotation?)", DOMUtil.getLocalName(content)};
            reportSchemaError("s4s-elt-must-match.1", args, content);

        }
        if (grammar.getGlobalNotationDecl(notation.fName) == null) {
            grammar.addGlobalNotationDecl(notation);
        }

        // also add it to extended map
        final String loc = fSchemaHandler.schemaDocument2SystemId(schemaDoc);
        final XSNotationDecl notation2 = grammar.getGlobalNotationDecl(notation.fName, loc);
        if (notation2 == null) {
            grammar.addGlobalNotationDecl(notation, loc);
        }

        // handle duplicates
        if (fSchemaHandler.fTolerateDuplicates) {
            if (notation2 != null) {
                notation = notation2;
            }
            fSchemaHandler.addGlobalNotationDecl(notation);
        }
        fAttrChecker.returnAttrArray(attrValues, schemaDoc);

        return notation;
    }
}


text:
package org.pebble.core;

import java.io.IOException;

/**
 * Interface used to update the mapping between an entry and the starting offset in bits of its encoded representation.
 */
public interface PebbleOffsetsStoreWriter {

    /**
     * Appends to offsets store the offset of latest entry encoded representation.
     *
     * @param offset in bits of the starting offset of latest encoded entry representation.
     * @throws IOException in case there is an exception appending offset to the store.
     */
    public void append(long offset) throws IOException;

}


text:
/** MACHINE-GENERATED FROM AVRO SCHEMA. DO NOT EDIT DIRECTLY */
package example.idl.`case`.model

import org.apache.avro.Schema

import org.oedura.scavro.{AvroMetadata, AvroReader, AvroSerializeable}

import example.idl.{DefaultEnum => JDefaultEnum, DefaultTest => JDefaultTest, Embedded => JEmbedded}

import scala.jdk.CollectionConverters._

sealed trait Defaults

sealed trait DefaultEnum extends DefaultsF

object DefaultEnum {
  case object SPADES extends DefaultEnum
  case object DIAMONDS extends DefaultEnum
  case object CLUBS extends DefaultEnum
  case object HEARTS extends DefaultEnum
}

final case class Embedded(inner: Int) extends AvroSerializeable with Defaults {
  type J = JEmbedded
  override def toAvro: JEmbedded = {
    new JEmbedded(inner)
  }
}

final object Embedded {
  implicit def reader = new AvroReader[Embedded] {
    override type J = JEmbedded
  }
  implicit val metadata: AvroMetadata[Embedded, JEmbedded] = new AvroMetadata[Embedded, JEmbedded] {
    override val avroClass: Class[JEmbedded] = classOf[JEmbedded]
    override val schema: Schema = JEmbedded.getClassSchema()
    override val fromAvro: (JEmbedded) => Embedded = {
      (j: JEmbedded) => Embedded(j.getInner.toInt)
    }
  }
}

final case class DefaultTest(suit: DefaultEnum = DefaultEnum.SPADES, number: Int = 0, str: String = "str", optionString: Option[String] = None, optionStringValue: Option[String] = Some("default"), embedded: Embedded = new Embedded(1), defaultArray: Array[Int] = Array(1, 3, 4, 5), optionalEnum: Option[DefaultEnum] = None, defaultMap: Map[String, String] = Map("Hello" -> "world", "Merry" -> "Christmas"), byt: Array[Byte] = Array[Byte](-61, -65)) extends AvroSerializeable with Defaults {
  type J = JDefaultTest
  override def toAvro: JDefaultTest = {
    new JDefaultTest(suit match {
      case DefaultEnum.SPADES => JDefaultEnum.SPADES
      case DefaultEnum.DIAMONDS => JDefaultEnum.DIAMONDS
      case DefaultEnum.CLUBS => JDefaultEnum.CLUBS
      case DefaultEnum.HEARTS => JDefaultEnum.HEARTS
    }, number, str, optionString match {
      case Some(x) => x
      case None => null
    }, optionStringValue match {
      case Some(x) => x
      case None => null
    }, embedded.toAvro, {
      val array: java.util.List[java.lang.Integer] = new java.util.ArrayList[java.lang.Integer]
      defaultArray foreach { element =>
        array.add(element)
      }
      array
    }, optionalEnum match {
      case Some(x) => x match {
        case DefaultEnum.SPADES => JDefaultEnum.SPADES
        case DefaultEnum.DIAMONDS => JDefaultEnum.DIAMONDS
        case DefaultEnum.CLUBS => JDefaultEnum.CLUBS
        case DefaultEnum.HEARTS => JDefaultEnum.HEARTS
      }
      case None => null
    }, {
      val map: java.util.Map[CharSequence, CharSequence] = new java.util.HashMap[CharSequence, CharSequence]
      defaultMap foreach { kvp =>
        val key = kvp._1
        val value = kvp._2
        map.put(key, value)
      }
      map
    }, java.nio.ByteBuffer.wrap(byt))
  }
}

final object DefaultTest {
  implicit def reader = new AvroReader[DefaultTest] {
    override type J = JDefaultTest
  }
  implicit val metadata: AvroMetadata[DefaultTest, JDefaultTest] = new AvroMetadata[DefaultTest, JDefaultTest] {
    override val avroClass: Class[JDefaultTest] = classOf[JDefaultTest]
    override val schema: Schema = JDefaultTest.getClassSchema()
    override val fromAvro: (JDefaultTest) => DefaultTest = {
      (j: JDefaultTest) => DefaultTest(j.getSuit match {
        case JDefaultEnum.SPADES => DefaultEnum.SPADES
        case JDefaultEnum.DIAMONDS => DefaultEnum.DIAMONDS
        case JDefaultEnum.CLUBS => DefaultEnum.CLUBS
        case JDefaultEnum.HEARTS => DefaultEnum.HEARTS
      }, j.getNumber.toInt, j.getStr.toString, j.getOptionString match {
        case null => None
        case _ => Some(j.getOptionString.toString)
      }, j.getOptionStringValue match {
        case null => None
        case _ => Some(j.getOptionStringValue.toString)
      }, Embedded.metadata.fromAvro(j.getEmbedded), Array((j.getDefaultArray.asScala: _*)) map { x =>
        x.toInt
      }, j.getOptionalEnum match {
        case null => None
        case _ => Some(j.getOptionalEnum match {
          case JDefaultEnum.SPADES => DefaultEnum.SPADES
          case JDefaultEnum.DIAMONDS => DefaultEnum.DIAMONDS
          case JDefaultEnum.CLUBS => DefaultEnum.CLUBS
          case JDefaultEnum.HEARTS => DefaultEnum.HEARTS
        })
      }, j.getDefaultMap match {
        case (map: java.util.Map[_,_]) => {
          scala.jdk.CollectionConverters.mapAsScalaMapConverter(map).asScala.toMap map { kvp =>
            val key = kvp._1.toString
            val value = kvp._2
            (key, value.toString)
          }
        }
      }, j.getByt match {
        case (buffer: java.nio.ByteBuffer) => {
          buffer.array()
        }
      })
    }
  }
}


text:
package com.microsoft.azure.management.apimanagement.v2019_12_01.implementation;

import com.microsoft.azure.management.apimanagement.v2019_12_01.SubscriptionKeysContract;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;

class SubscriptionKeysContractImpl extends WrapperImpl<SubscriptionKeysContractInner> implements SubscriptionKeysContract {
    private final ApiManagementManager manager;
    SubscriptionKeysContractImpl(SubscriptionKeysContractInner inner, ApiManagementManager manager) {
        super(inner);
        this.manager = manager;
    }

    @Override
    public ApiManagementManager manager() {
        return this.manager;
    }

    @Override
    public String primaryKey() {
        return this.inner().primaryKey();
    }

    @Override
    public String secondaryKey() {
        return this.inner().secondaryKey();
    }

}


text:
<?php
namespace ERP;

require_once __DIR__.'/ConversionRateArrayConverter.php';

/**
 * Generated from NGS DSL
 *
 * Converts an object of class ERP\ConversionRate into a JSON string and backwards via an array converter.
 *
 * @package ERP
 * @version 0.9.9 beta
 */
abstract class ConversionRateJsonConverter
{/**
     * @param string Json representation of the object(s)
     *
     * @return array|\ERP\ConversionRate An object or an array of objects of type "ERP\ConversionRate"
     */
    public static function fromJson($item, $allowNullValues=false)
    {
        $obj = json_decode($item, true);

        return \NGS\Utils::isJsonArray($item)
            ? \ERP\ConversionRateArrayConverter::fromArrayList($obj, $allowNullValues)
            : \ERP\ConversionRateArrayConverter::fromArray($obj);
    }

    /**
     * @param array|\ERP\ConversionRate An object or an array of objects of type "ERP\ConversionRate"
     *
     * @return string Json representation of the object(s)
     */
    public static function toJson($item)
    {
        $arr = \ERP\ConversionRateArrayConverter::toArray($item);
        if(is_array($item))
            return json_encode($arr);
        if(empty($arr))
            return '{}';
        return json_encode($arr);
    }
}


text:
package com.set.dao;

import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;

class DataSourceWithLoginDAOFactory extends DAOFactory {
	private String username, password;
	private DataSource dataSource;

	public DataSourceWithLoginDAOFactory(DataSource dataSource, String username, String password) {
		this.dataSource = dataSource;
		this.username = username;
		this.password = password;
	}

	@Override
	Connection getConnection() throws SQLException {
		return dataSource.getConnection(username, password);
	}
}


text:
author: b
type: gallery
featimg: year3.jpg
title: Our 3rd year anniversary
gallery-id: 3year
tags: [anniversary]
category: [holiday]
---
I wrote this story before it even happened. 😘
We were celebrating our 3rd year since I somehow was able to spit out "Will you go out with me"?

You probably expect it by now, but your present was in a mailbox. I was expecting your shower when you got home from work too. 😉 The mailbox was locked though until after everything was over and you knew the code. You saw the lock 2 nights before, but turns out it has nothing to do with my locker at work. 🤐

It all started when you got home from work. You got the mailbox and were excited/confused for another birthday/anniversary riddle. Im surprised you aren't over them yet.

(1) When you came home from work, there was a box of chocolate covered strawberries waiting for you with the first code in it. You asked what the number was for, but turns out that also wasn't what I told you. You'll probably notice that both numbers have hearts around them when you get the card.

(2)The second code was at dinner in your card, with this hint telling you where to look for the code. No I didn't actually forget to give you the card. You had to wait until the end of the date to figure out this is where the last piece of the combination is.
(03-24-33)

I didn't want you to have to really think about this one on our anniversary, but of course thats what you ended up doing, and I knew when I thought of this that there was nothing I could do about it because you're you. 🙄 Its also fine though because I knew I would have to tell you the code in the end.

Hopefully you'll say it was worth the wait. ❤

Happy 3 years! Can't wait for the more to come.

{% include gallery.html %}


text:
#ifndef DMOBJECTPRO_H
#define DMOBJECTPRO_H
#include "dmhash.h"
#include "dmcallback.h"

#ifdef DM_SUPPORT_OBJECT_PRO
#define DM_COMMON
#ifndef DM_COMMON
#include "dmobject.h"
DM_BEGIN_NAMESPACE
typedef struct _ObjectCBData{
    _ObjectCBData() : func(0), classPtr(0) {}
    dbool isEmpty() const { return (func==0 && classPtr==0); }

    CallFunc func;
    void *classPtr;
} ObjectCBData;
DM_END_NAMESPACE

#define DM_OBJECT \
        protected:  Hash<duint, ObjectCBData> m_object_cb_map;

#define DM_SIGNAL(FuncName) \
        private:    duint FuncName##FuncKey() const { return dmHash(#FuncName); } \
        public:     void FuncName(const Variant &v) { \
                        ObjectCBData d = m_object_cb_map.value(FuncName##FuncKey()); \
                        if (!d.isEmpty()) {\
                            (static_cast<Object*>(d.classPtr)->*(d.func))(v); \
                        }\
                    }

#define DM_CONNECT(O1, FuncName1, O2Type, O2, FuncName2)    \
        do { \
            DM_NS::ObjectCBData d; \
            d.func = (DM_NS::CallFunc)(&O2Type##::##FuncName2);\
            d.classPtr = O2; \
            O1->m_object_cb_map.insert(O1->FuncName1##FuncKey(), d);\
        } while (0)

#else
DM_BEGIN_NAMESPACE
class ObjectCBData{
public:
    ObjectCBData() : func(0), classPtr(0) {}
    dbool isEmpty() const { return (func==0 && classPtr==0); }
    dbool operator==(const ObjectCBData &other) const
    { return (func == other.func && classPtr == other.classPtr); }
    dbool operator!=(const ObjectCBData &other) const
    { return !(*this == other); }

    CallbackFunc func;
    void *classPtr;
};
DM_END_NAMESPACE
DM_USING_NAMESPACE;
#define DM_OBJECT \
        public: Hash<duint, ObjectCBData> m_object_cb_map; \
        public: dbool __isSignalConnected(dint key, const ObjectCBData &data) const {\
                    Vector<ObjectCBData> l = m_object_cb_map.values(key); \
                    if (!l.isEmpty()) {\
                        for (int i=0; i<l.size(); ++i) {\
                            if (l.at(i) == data) \
                                return true; \
                        } \
                    }\
                    return false; \
                } \
        public: dbool __removeSlot(dint key, const ObjectCBData &data) { \
                    Hash<duint, ObjectCBData>::Iterator it = m_object_cb_map.begin(); \
                    while (it != m_object_cb_map.constEnd()) {\
                        if (key == it.key() && data == it.value()) {\
                            it = m_object_cb_map.erase(it);  return true; \
                        } \
                        else\
                            ++it;\
                    }\
                    return false; \
                }

#define DM_SIGNAL(FuncName) \
        public: duint FuncName##FuncKey() const { return dmHash(#FuncName); } \
        public: void FuncName(const Variant &v = Variant()) { \
                    Vector<ObjectCBData> l = m_object_cb_map.values(FuncName##FuncKey()); \
                    if (!l.isEmpty()) {\
                        for (int i=0; i<l.size(); ++i) {\
                            const ObjectCBData& d = l.at(i); \
                            (*(d.func))(d.classPtr, v); \
                        } \
                    }\
                }

#define DM_SLOT_DECLARE(FuncName) \
            public: void FuncName(const Variant &param);

#define DM_SIGNAL_INHERITABLE(ClassName, FuncName) \
    public: duint FuncName##FuncKey() const { return dmHash(#ClassName###FuncName); } \
    public: void FuncName(const Variant &v) { \
                Vector<ObjectCBData> l = m_object_cb_map.values(FuncName##FuncKey()); \
                if (!l.isEmpty()) {\
                    for (int i=0; i<l.size(); ++i) {\
                        const ObjectCBData& d = l.at(i); \
                        (*(d.func))(d.classPtr, v); \
                    } \
                }\
            }

#define DM_CONNECT(O1Type, O1, FuncName1, O2Type, O2, FuncName2)    \
        do { \
            ObjectCBData d; \
            d.func = DM_CALLBACK(O2Type, FuncName2);\
            d.classPtr = (O2); \
            O1Type *OT1 = static_cast<O1Type*>(O1); \
            if (!OT1->__isSignalConnected(OT1->FuncName1##FuncKey(), d)) \
                OT1->m_object_cb_map.insertMulti(OT1->FuncName1##FuncKey(), d); \
        } while (0)

#define DM_DISCONNECT(O1Type, O1, FuncName1, O2Type, O2, FuncName2)    \
        do { \
            ObjectCBData d; \
            d.func = DM_CALLBACK(O2Type, FuncName2);\
            d.classPtr = (O2); \
            O1Type *OT1 = static_cast<O1Type*>(O1); \
            OT1->__removeSlot(OT1->FuncName1##FuncKey(), d); \
        } while (0)
#endif

#else //DM_SUPPORT_OBJECT_PRO
#define DM_OBJECT
#define DM_SIGNAL(FuncName)
#define DM_SIGNAL_INHERITABLE(ClassName, FuncName)
#define DM_SLOT_DECLARE(FuncName)
#define DM_CONNECT(O1Type, O1, FuncName1, O2Type, O2, FuncName2)
#define DM_DISCONNECT(O1Type, O1, FuncName1, O2Type, O2, FuncName2)
#endif // DM_SUPPORT_OBJECT_PRO
#endif // DMOBJECTPRO_H


text:
<?php

/**
 * Contains how many changes were made associated with an experiment at
 * the adgroup, critieria and creative levels
 * @package    Google_Api_Ads_AdWords_v201605
 * @subpackage v201605
 */
class ExperimentSummaryStats
{

    const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201605";
    const XSI_TYPE = "ExperimentSummaryStats";

    /**
     * @access public
     * @var integer
     */
    public $adGroupsCount;

    /**
     * @access public
     * @var integer
     */
    public $adGroupCriteriaCount;

    /**
     * @access public
     * @var integer
     */
    public $adGroupAdsCount;

    /**
     * Gets the namesapce of this class
     * @return string the namespace of this class
     */
    public function getNamespace()
    {
        return self::WSDL_NAMESPACE;
    }

    /**
     * Gets the xsi:type name of this class
     * @return string the xsi:type name of this class
     */
    public function getXsiTypeName()
    {
        return self::XSI_TYPE;
    }

    public function __construct($adGroupsCount = null, $adGroupCriteriaCount = null, $adGroupAdsCount = null)
    {
        $this->adGroupsCount = $adGroupsCount;
        $this->adGroupCriteriaCount = $adGroupCriteriaCount;
        $this->adGroupAdsCount = $adGroupAdsCount;
    }

}


text:
package com.nextbreakpoint.shop.designs.controllers.delete;

import com.nextbreakpoint.shop.common.model.Mapper;
import com.nextbreakpoint.shop.designs.model.DeleteDesignResponse;
import io.vertx.core.json.JsonObject;

public class DeleteDesignResponseMapper implements Mapper<DeleteDesignResponse, String> {
    @Override
    public String transform(DeleteDesignResponse response) {
        final String json = new JsonObject()
                .put("uuid", response.getUuid().toString())
                .encode();

        return json;
    }
}


text:
'use strict';

var path    = require('path');
var http    = require('http');

var express = require('express');
var Tiny    = require('tiny-di');

// SETUP CONFIG
var config;
try {
  config = require('config/config.json');
} catch (e) {
  console.log('config not found, using fallback config');
  config = require('config/config.dist.json');
}
var appDir = path.resolve(__dirname, '../../client/app');
config.appRoot = path.dirname(appDir);
config.serverRoot = __dirname;

module.exports = Daemon;

function Daemon() {

  var $injector = new Tiny();
  $injector.bind('$injector').to($injector);
  $injector.setResolver(fileLoader);

  var app = express();
  var server = http.createServer(app);

  $injector
    .bind('config').to(config)
    .bind('app').to(app)
    .bind('server').to(server);

  this.run = run;

  function run() {
    loadModules();
    server.listen(config.server.port, config.server.host);
    console.log('Server started:', config.server.host + ':' + config.server.port);
  }

  function loadModules() {
    var modulePath = path.resolve(config.serverRoot, config.server.modulePath);
    config.modules.forEach(function(submodule) {
      var file = submodule.file || submodule.module;
      var submodulePath = path.resolve(modulePath, file);
      $injector.bind(submodule.module).load(submodulePath);
    });
  }

  function fileLoader(file) {
    var fullPath = path.resolve(__dirname, file);

    try {
      return require(fullPath);
    } catch (e) {

      try {
        // try fallback
        return require(file);

      } catch (e2) {

        console.log('Cannot load required file/module'.red, fullPath);
        console.log(e, e2);
        return false;
      }
    }
  }
}

// STARTED BY COMMAND LINE
if (require.main === module) {
  var daemon = new Daemon();
  daemon.run();
}


text:
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="AppTheme" parent="android:Theme.Light" />

    <style name="chat_content_date_style">
        <item name="android:minHeight">50dp</item>
        <item name="android:gravity">center</item>
        <item name="android:textColor">#000000</item>
        <item name="android:textSize">15sp</item>
        <item name="android:lineSpacingExtra">2dp</item>
        <item name="android:clickable">true</item>
        <item name="android:focusable">true</item>
        <item name="android:background">#bfbfbf</item>
    </style>

    <style name="chat_text_name_style">
        <item name="android:textColor">#818181</item>
        <item name="android:textSize">15sp</item>
        <item name="android:gravity">center</item>
    </style>

    <style name="chat_text_date_style">
        <item name="android:padding">2dp</item>
        <item name="android:paddingTop">2dip</item>
        <item name="android:paddingBottom">2dip</item>
        <item name="android:paddingLeft">12dip</item>
        <item name="android:paddingRight">12dip</item>
        <item name="android:textColor">@color/btn_gray_normal</item>
        <item name="android:textSize">12sp</item>
        <item name="android:background">@drawable/timestampe_bg</item>
    </style>

    <style name="AnimFade" parent="@android:style/Animation.Activity">
        <item name="android:activityOpenEnterAnimation">@anim/fade_in</item>
        <item name="android:activityOpenExitAnimation">@anim/hold</item>
        <item name="android:activityCloseExitAnimation">@anim/fade_out</item>
    </style>

    <style name="AnimFade2" parent="@android:style/Animation.Activity">
        <item name="android:activityOpenEnterAnimation">@anim/slide_in_from_right</item>
        <item name="android:activityOpenExitAnimation">@anim/slide_out_to_left</item>
        <item name="android:activityCloseExitAnimation">@anim/slide_out_to_right</item>
        <item name="android:activityCloseEnterAnimation">@anim/slide_in_from_left</item>
    </style>

    <style name="AnimBottom" parent="@android:style/Animation">
        <item name="android:windowEnterAnimation">@anim/push_bottom_in</item>
        <item name="android:windowExitAnimation">@anim/push_bottom_out</item>
    </style>

    <style name="AnimTop" parent="@android:style/Animation">
        <item name="android:windowEnterAnimation">@anim/push_top_in</item>
        <item name="android:windowExitAnimation">@anim/push_top_out</item>
    </style>

    <style name="AnimTop2" parent="@android:style/Animation">
        <item name="android:windowEnterAnimation">@anim/push_top_in2</item>
        <item name="android:windowExitAnimation">@anim/push_top_out2</item>
    </style>

    <style name="AnimHead" parent="@android:style/Animation">
        <item name="android:windowEnterAnimation">@anim/head_in</item>
        <item name="android:windowExitAnimation">@anim/head_out</item>
    </style>

    <style name="Anim_style" parent="android:Theme.NoTitleBar.Fullscreen">
        <item name="android:windowAnimationStyle">@style/AnimFade</item>
    </style>

    <style name="Anim_style2" parent="android:Theme.NoTitleBar">
        <item name="android:windowAnimationStyle">@style/AnimFade</item>
    </style>

    <style name="horizontal_slide" parent="android:Theme.NoTitleBar">
        <item name="android:windowAnimationStyle">@style/AnimFade2</item>
    </style>

    <style name="nornal_style" parent="android:Theme.NoTitleBar"></style>

    <!--
    <style name="horizontal_slide2" parent="android:style/Theme.Holo.Light.NoActionBar">
        <item name="android:windowAnimationStyle">@style/AnimFade2</item>
    </style>
    -->

    <style name="MyDialogStyle">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowFrame">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
        <item name="android:backgroundDimEnabled">true</item>
    </style>

    <style name="MyAlertDialog" parent="android:Theme.Dialog">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
    </style>

    <style name="MyDialogStyleBottom" parent="android:Theme.Dialog">
        <item name="android:windowAnimationStyle">@style/AnimBottom</item>
        <item name="android:windowFrame">@null</item>
        <!-- 边框 -->
        <item name="android:windowIsFloating">true</item>
        <!-- 是否浮现在activity之上 -->
        <item name="android:windowIsTranslucent">true</item>
        <!-- 半透明 -->
        <item name="android:windowNoTitle">true</item>
        <!-- 无标题 -->
        <item name="android:windowBackground">@android:color/transparent</item>
        <!-- 背景透明 -->
        <item name="android:backgroundDimEnabled">true</item>
        <!-- 模糊 -->
    </style>

    <style name="MyDialogStyleTop" parent="android:Theme.Dialog">
        <item name="android:windowAnimationStyle">@style/AnimTop2</item>
        <item name="android:windowFrame">@null</item>
        <!-- 边框 -->
        <item name="android:windowIsFloating">true</item>
        <!-- 是否浮现在activity之上 -->
        <item name="android:windowIsTranslucent">true</item>
        <!-- 半透明 -->
        <item name="android:windowNoTitle">true</item>
        <!-- 无标题 -->
        <item name="android:windowBackground">@android:color/transparent</item>
        <!-- 背景透明 -->
        <item name="android:backgroundDimEnabled">false</item>
        <!-- 模糊 -->
    </style>

    <style name="HeadScale" parent="android:Theme.Dialog">
        <item name="android:windowAnimationStyle">@style/AnimHead</item>
        <item name="android:windowFrame">@null</item>
        <!-- 边框 -->
        <item name="android:windowIsFloating">true</item>
        <!-- 是否浮现在activity之上 -->
        <item name="android:windowIsTranslucent">true</item>
        <!-- 半透明 -->
        <item name="android:windowNoTitle">true</item>
        <!-- 无标题 -->
        <item name="android:windowBackground">@android:color/black</item>
        <item name="android:backgroundDimEnabled">false</item>
        <!-- 模糊 -->
    </style>

    <style name="devide_line_eee">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">1.5dp</item>
        <item name="android:background">#eee</item>
    </style>

 <style name="bottom_line_edit_text_style" parent="@android:style/Widget.EditText">
        <item name="android:gravity">center_vertical</item>
        <item name="android:paddingLeft">6.0dip</item>
        <item name="android:paddingTop">6.0dip</item>
        <item name="android:paddingRight">6.0dip</item>
        <item name="android:paddingBottom">6.0dip</item>
        <item name="android:includeFontPadding">false</item>
        <item name="android:background">@drawable/edit_text_bg</item>
    </style>

    <style name="AnimPreview">
        <item name="android:windowEnterAnimation">@anim/fade_in</item>
        <item name="android:windowExitAnimation">@anim/fade_out</item>
    </style>
</resources>


text:
import { createSelector } from 'reselect';
import {IBlockchainsState, moduleName} from './types';
import {Wei} from '@emeraldpay/bigamount-crypto';

export function all (state: any): IBlockchainsState {
  return state[moduleName];
}

export const getCurrentInfo = createSelector(
  [all],
  (state: IBlockchainsState) => {
    return Object.keys(state).map((chainCode) => ({
      id: chainCode,
      title: chainCode,
      height: state[chainCode].height
    }));
  }
);

export function gasPrice (state: any, chain: string): Wei {
  return state[moduleName][chain.toLowerCase()].gasPrice;
}

export function getHeight (state: any, chain: string): number {
  const data = state[moduleName][chain.toLowerCase()];
  if (!data) {
    return 0;
  }
  if (!data.height) {
    return 0;
  }
  return data.height;
}

export function hasAny (state: any): boolean {
  return Object.keys(all(state)).length > 0;
}


text:
package com.navercorp.pinpoint.plugin.thrift.field.accessor;

/**
 * @author HyunGil Jeong
 */
public interface AsyncMarkerFlagFieldAccessor {
    void _$PINPOINT$_setAsyncMarkerFlag(boolean flag);
    boolean _$PINPOINT$_getAsyncMarkerFlag();
}


text:
START_ATF_NAMESPACE
    typedef _NLA_BLOB *PNLA_BLOB;
END_ATF_NAMESPACE


text:
<?php

namespace PhpOffice\PhpWord\Collection;

/**
 * Titles collection
 *
 * @since 0.10.0
 */
class Titles extends AbstractCollection
{
}


text:
<q>

The <q> element includes content quoted from another source. This
         element is used for short quotes that are displayed inline. Use the long quote element
         (<lq>) for quotations that should be set off from the surrounding text or that
         contain multiple paragraphs.

Category: Body elements


text:
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Threading;

namespace DotCommon.Scheduling
{
    /// <summary>
    /// 调度器
    /// </summary>
    public class ScheduleService : IScheduleService
    {
        private readonly ILogger _logger;
        private readonly object SyncObject = new object();
        private readonly Dictionary<string, TimerBasedTask> _taskDict = new Dictionary<string, TimerBasedTask>();

        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="logger"></param>
        public ScheduleService(ILogger<ScheduleService> logger)
        {
            _logger = logger;
        }

        /// <summary>
        /// 开始一个调度任务
        /// </summary>
        /// <param name="name">任务名</param>
        /// <param name="action">任务操作</param>
        /// <param name="dueTime">在多久时间后开始</param>
        /// <param name="period">执行时间间隔</param>
        public void StartTask(string name, Action action, int dueTime, int period)
        {
            lock (SyncObject)
            {
                if (_taskDict.ContainsKey(name))
                {
                    return;
                }
                var timer = new Timer(TaskCallback, name, Timeout.Infinite, Timeout.Infinite);
                var task = new TimerBasedTask
                {
                    Name = name,
                    Action = action,
                    Timer = timer,
                    DueTime = dueTime,
                    Period = period,
                    Stopped = false
                };
                _taskDict.Add(name, task);
                timer.Change(dueTime, period);
            }
        }

        /// <summary>
        /// 根据任务名停止调度任务
        /// </summary>
        /// <param name="name">任务名</param>
        public void StopTask(string name)
        {
            lock (SyncObject)
            {
                TimerBasedTask task;
                if (_taskDict.TryGetValue(name, out task))
                {
                    task.Stopped = true;
                    task.Timer.Dispose();
                    _taskDict.Remove(name);
                }
            }
        }

        private void TaskCallback(object obj)
        {
            var taskName = (string)obj;
            TimerBasedTask task;
            if (_taskDict.TryGetValue(taskName, out task))
            {
                try
                {
                    if (!task.Stopped)
                    {
                        task.Timer.Change(Timeout.Infinite, Timeout.Infinite);
                        task.Action();
                    }
                }
                catch (ObjectDisposedException)
                {
                }
                catch (Exception ex)
                {
                    throw new Exception($"Task has exception, name: {task.Name}, due: {task.DueTime}, period: {task.Period},error detail:{ex.Message}");
                }
                finally
                {
                    try
                    {
                        if (!task.Stopped)
                        {
                            task.Timer.Change(task.Period, task.Period);
                        }
                    }
                    catch (ObjectDisposedException ex)
                    {
                        _logger.LogError(ex, "Object has disposed,{0}", ex.Message);
                    }
                    catch (Exception ex)
                    {
                        throw new Exception($"Timer change has exception, name: {task.Name}, due: {task.DueTime}, period: {task.Period},error detail:{ex.Message}");
                    }
                }
            }
        }

        class TimerBasedTask
        {
            public string Name;
            public Action Action;
            public Timer Timer;
            public int DueTime;
            public int Period;
            public bool Stopped;
        }
    }
}


text:
package ccare.domain;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by IntelliJ IDEA. User: carecx Date: 03-Nov-2010 Time: 23:47:28 To
 * change this template use File | Settings | File Templates.
 */

@XmlRootElement
public class Space {

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}


text:
namespace Google.Cloud.AIPlatform.V1.Snippets
{
    // [START aiplatform_v1_generated_ModelService_UpdateModel_sync_flattened]
    using Google.Cloud.AIPlatform.V1;
    using Google.Protobuf.WellKnownTypes;

    public sealed partial class GeneratedModelServiceClientSnippets
    {
        /// <summary>Snippet for UpdateModel</summary>
        /// <remarks>
        /// This snippet has been automatically generated and should be regarded as a code template only.
        /// It will require modifications to work:
        /// - It may require correct/in-range values for request initialization.
        /// - It may require specifying regional endpoints when creating the service client as shown in
        ///   https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
        /// </remarks>
        public void UpdateModel()
        {
            // Create client
            ModelServiceClient modelServiceClient = ModelServiceClient.Create();
            // Initialize request argument(s)
            Model model = new Model();
            FieldMask updateMask = new FieldMask();
            // Make the request
            Model response = modelServiceClient.UpdateModel(model, updateMask);
        }
    }
    // [END aiplatform_v1_generated_ModelService_UpdateModel_sync_flattened]
}


text:
<ManualTestResults version="1.0.0.3">
  <ManualTestCases>
    <ManualTestCase Name="4.7.1">Pending</ManualTestCase>
    <ManualTestCase Name="5.1.1">Pending</ManualTestCase>
    <ManualTestCase Name="5.1.2">Pending</ManualTestCase>
    <ManualTestCase Name="5.1.3">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.2">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.3">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.4.1">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.4.2">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.4.3">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.4.4">Pending</ManualTestCase>
    <ManualTestCase Name="5.2.6">Pending</ManualTestCase>
    <ManualTestCase Name="5.3.1">Pending</ManualTestCase>
    <ManualTestCase Name="5.3.2">Pending</ManualTestCase>
    <ManualTestCase Name="5.3.3">Pending</ManualTestCase>
    <ManualTestCase Name="5.4.1">Pending</ManualTestCase>
    <ManualTestCase Name="5.5.1">Pending</ManualTestCase>
    <ManualTestCase Name="5.5.2">Pending</ManualTestCase>
    <ManualTestCase Name="5.6.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.2.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.2.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.3.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.3.2.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.3.2.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.3.3.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.3">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.4">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.5">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.6">Pending</ManualTestCase>
    <ManualTestCase Name="6.4.7">Pending</ManualTestCase>
    <ManualTestCase Name="6.5.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.5.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.5.3">Pending</ManualTestCase>
    <ManualTestCase Name="6.5.4">Pending</ManualTestCase>
    <ManualTestCase Name="6.6.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.6.3">Pending</ManualTestCase>
    <ManualTestCase Name="6.6.4">Pending</ManualTestCase>
    <ManualTestCase Name="6.7.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.7.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.8.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.9.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.9.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.9.3">Pending</ManualTestCase>
    <ManualTestCase Name="6.9.4">Pending</ManualTestCase>
    <ManualTestCase Name="6.9.5">Pending</ManualTestCase>
    <ManualTestCase Name="6.10.1">Pending</ManualTestCase>
    <ManualTestCase Name="6.10.2">Pending</ManualTestCase>
    <ManualTestCase Name="6.10.3">Pending</ManualTestCase>
  </ManualTestCases>
</ManualTestResults>


text:
using System;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSeven;
using Umbraco.Tests.TestHelpers;

namespace Umbraco.Tests.Migrations
{
    [TestFixture]
    [DatabaseTestBehavior(DatabaseBehavior.NewDbFileAndSchemaPerTest)]
    public class MigrationIssuesTests : BaseDatabaseFactoryTest
    {
        [Test]
        public void Issue8370Test()
        {
            // fixme maybe we need to create some content?
            // yes otherwise cannot get it to fail!

            var n = new NodeDto
            {
                Text = "text",
                CreateDate = DateTime.Now,
                Path = "-1",
                ParentId = -1,
                UniqueId = Guid.NewGuid()
            };
            DatabaseContext.Database.Insert(n);
            var ct = new ContentTypeDto
            {
                Alias = "alias",
                NodeId = n.NodeId,
                Thumbnail = "thumb"
            };
            DatabaseContext.Database.Insert(ct);
            n = new NodeDto
            {
                Text = "text",
                CreateDate = DateTime.Now,
                Path = "-1",
                ParentId = -1,
                UniqueId = Guid.NewGuid()
            };
            DatabaseContext.Database.Insert(n);
            var dt = new DataTypeDto
            {
                PropertyEditorAlias = Constants.PropertyEditors.RelatedLinksAlias,
                DbType = "x",
                DataTypeId = n.NodeId
            };
            DatabaseContext.Database.Insert(dt);
            var pt = new PropertyTypeDto
            {
                Alias = "alias",
                ContentTypeId = ct.NodeId,
                DataTypeId = dt.DataTypeId
            };
            DatabaseContext.Database.Insert(pt);
            n = new NodeDto
            {
                Text = "text",
                CreateDate = DateTime.Now,
                Path = "-1",
                ParentId = -1,
                UniqueId = Guid.NewGuid()
            };
            DatabaseContext.Database.Insert(n);
            var data = new PropertyDataDto
            {
                NodeId = n.NodeId,
                PropertyTypeId = pt.Id,
                Text = "text"
            };
            DatabaseContext.Database.Insert(data);
            data = new PropertyDataDto
            {
                NodeId = n.NodeId,
                PropertyTypeId = pt.Id,
                Text = "<root><node title=\"\" type=\"\" newwindow=\"\" link=\"\" /></root>"
            };
            DatabaseContext.Database.Insert(data);

            var migration = new UpdateRelatedLinksData(SqlSyntax, Logger);
            migration.UpdateRelatedLinksDataDo(DatabaseContext.Database);

            data = DatabaseContext.Database.Fetch<PropertyDataDto>("SELECT * FROM cmsPropertyData WHERE id=" + data.Id).FirstOrDefault();
            Assert.IsNotNull(data);
            Console.WriteLine(data.Text);
            Assert.AreEqual("[{\"title\":\"\",\"caption\":\"\",\"link\":\"\",\"newWindow\":false,\"type\":\"external\",\"internal\":null,\"edit\":false,\"isInternal\":false}]",
                data.Text);
        }
    }
}


text:
package org.opensplice.dds.core.policy;

import org.omg.dds.core.policy.DestinationOrder;
import org.omg.dds.core.policy.QosPolicy;
import org.opensplice.dds.core.IllegalArgumentExceptionImpl;
import org.opensplice.dds.core.OsplServiceEnvironment;

public class DestinationOrderImpl extends QosPolicyImpl implements
        DestinationOrder {
    private static final long serialVersionUID = 2722089115467848342L;
    private final Kind kind;

    public DestinationOrderImpl(OsplServiceEnvironment environment) {
        super(environment);
        this.kind = Kind.BY_RECEPTION_TIMESTAMP;
    }

    public DestinationOrderImpl(OsplServiceEnvironment environment, Kind kind) {
        super(environment);

        if (kind == null) {
            throw new IllegalArgumentExceptionImpl(environment,
                    "Supplied invalid Kind.");
        }
        this.kind = kind;
    }

    @Override
    public Comparable<DestinationOrder> requestedOfferedContract() {
        return this;
    }

    @Override
    public int compareTo(DestinationOrder o) {
        // BY_RECEPTION_TIMESTAMP < BY_SOURCE_TIMESTAMP
        if (this.kind.equals(o.getKind())) {
            return 0;
        } else if (this.kind.equals(Kind.BY_RECEPTION_TIMESTAMP)) {
            return -1;
        }
        return 1;
    }

    @Override
    public boolean equals(Object other) {
        if (!(other instanceof DestinationOrderImpl)) {
            return false;
        }
        return (this.kind == ((DestinationOrderImpl) other).kind);
    }

    @Override
    public int hashCode() {
        return 31 * 17 + this.kind.hashCode();
    }

    @Override
    public Kind getKind() {
        return this.kind;
    }

    @Override
    public DestinationOrder withKind(Kind kind) {
        return new DestinationOrderImpl(this.environment, kind);
    }

    @Override
    public DestinationOrder withReceptionTimestamp() {
        return new DestinationOrderImpl(this.environment,
                Kind.BY_RECEPTION_TIMESTAMP);
    }

    @Override
    public DestinationOrder withSourceTimestamp() {
        return new DestinationOrderImpl(this.environment,
                Kind.BY_SOURCE_TIMESTAMP);
    }

    @Override
    public Class<? extends QosPolicy> getPolicyClass() {
        return DestinationOrder.class;
    }

}


text:
package ipe

import (
	"time"

	log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
	"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket"
)

// An User Connection
type connection struct {
	SocketID  string
	Socket    *websocket.Conn
	CreatedAt time.Time
}

// Create a new Subscriber
func newConnection(socketID string, s *websocket.Conn) *connection {
	log.Infof("Creating a new Subscriber %+v", socketID)

	return &connection{SocketID: socketID, Socket: s, CreatedAt: time.Now()}
}

// Publish the message to websocket atached to this client
func (conn *connection) Publish(m interface{}) {
	go func() {
		if err := conn.Socket.WriteJSON(m); err != nil {
			log.Errorf("Error publishing message to connection %+v, %s", conn, err)
		}
	}()
}


text:
namespace ContosoMoments.Models
{
    public interface INetworkConnection
    {
        bool IsConnected { get; }
        void CheckNetworkConnection();
    }
}