content
stringlengths 4
1.04M
| lang
stringclasses 358
values | score
int64 0
5
| repo_name
stringlengths 5
114
| repo_path
stringlengths 4
229
| repo_licenses
sequencelengths 1
8
|
---|---|---|---|---|---|
it("should define property in 'window' object", function() {
expect(window["a"]["b"]).toBeDefined();
});
| JavaScript | 3 | 1shenxi/webpack | test/configCases/library/array-window/index.js | [
"MIT"
] |
(set-logic QF_IDL)
(set-info :source |
Queens benchmarks generated by Hyondeuk Kim in SMT-LIB format.
|)
(set-info :smt-lib-version 2.0)
(set-info :category "crafted")
(set-info :status sat)
(declare-fun x0 () Int)
(declare-fun x1 () Int)
(declare-fun x2 () Int)
(declare-fun x3 () Int)
(declare-fun x4 () Int)
(declare-fun x5 () Int)
(declare-fun x6 () Int)
(declare-fun x7 () Int)
(declare-fun x8 () Int)
(declare-fun x9 () Int)
(declare-fun x10 () Int)
(assert
(let
((?v_0 (- x0 x10))
(?v_1 (- x1 x10))
(?v_2 (- x2 x10))
(?v_3 (- x3 x10))
(?v_4 (- x4 x10))
(?v_5 (- x5 x10))
(?v_6 (- x6 x10))
(?v_7 (- x7 x10))
(?v_8 (- x8 x10))
(?v_9 (- x9 x10))
(?v_10 (- x0 x1))
(?v_11 (- x0 x2))
(?v_12 (- x0 x3))
(?v_13 (- x0 x4))
(?v_14 (- x0 x5))
(?v_15 (- x0 x6))
(?v_16 (- x0 x7))
(?v_17 (- x0 x8))
(?v_18 (- x0 x9))
(?v_19 (- x1 x2))
(?v_20 (- x1 x3))
(?v_21 (- x1 x4))
(?v_22 (- x1 x5))
(?v_23 (- x1 x6))
(?v_24 (- x1 x7))
(?v_25 (- x1 x8))
(?v_26 (- x1 x9))
(?v_27 (- x2 x3))
(?v_28 (- x2 x4))
(?v_29 (- x2 x5))
(?v_30 (- x2 x6))
(?v_31 (- x2 x7))
(?v_32 (- x2 x8))
(?v_33 (- x2 x9))
(?v_34 (- x3 x4))
(?v_35 (- x3 x5))
(?v_36 (- x3 x6))
(?v_37 (- x3 x7))
(?v_38 (- x3 x8))
(?v_39 (- x3 x9))
(?v_40 (- x4 x5))
(?v_41 (- x4 x6))
(?v_42 (- x4 x7))
(?v_43 (- x4 x8))
(?v_44 (- x4 x9))
(?v_45 (- x5 x6))
(?v_46 (- x5 x7))
(?v_47 (- x5 x8))
(?v_48 (- x5 x9))
(?v_49 (- x6 x7))
(?v_50 (- x6 x8))
(?v_51 (- x6 x9))
(?v_52 (- x7 x8))
(?v_53 (- x7 x9))
(?v_54 (- x8 x9)))
(and (<= ?v_0 9) (>= ?v_0 0) (<= ?v_1 9) (>= ?v_1 0) (<= ?v_2 9) (>= ?v_2 0)
(<= ?v_3 9) (>= ?v_3 0) (<= ?v_4 9) (>= ?v_4 0) (<= ?v_5 9) (>= ?v_5 0)
(<= ?v_6 9) (>= ?v_6 0) (<= ?v_7 9) (>= ?v_7 0) (<= ?v_8 9) (>= ?v_8 0)
(<= ?v_9 9) (>= ?v_9 0)
(not (= x0 x1)) (not (= x0 x2)) (not (= x0 x3)) (not (= x0 x4))
(not (= x0 x5)) (not (= x0 x6)) (not (= x0 x7)) (not (= x0 x8))
(not (= x0 x9)) (not (= x1 x2)) (not (= x1 x3)) (not (= x1 x4))
(not (= x1 x5)) (not (= x1 x6)) (not (= x1 x7)) (not (= x1 x8))
(not (= x1 x9)) (not (= x2 x3)) (not (= x2 x4)) (not (= x2 x5))
(not (= x2 x6)) (not (= x2 x7)) (not (= x2 x8)) (not (= x2 x9))
(not (= x3 x4)) (not (= x3 x5)) (not (= x3 x6)) (not (= x3 x7))
(not (= x3 x8)) (not (= x3 x9)) (not (= x4 x5)) (not (= x4 x6))
(not (= x4 x7)) (not (= x4 x8)) (not (= x4 x9)) (not (= x5 x6))
(not (= x5 x7)) (not (= x5 x8)) (not (= x5 x9)) (not (= x6 x7))
(not (= x6 x8)) (not (= x6 x9)) (not (= x7 x8)) (not (= x7 x9))
(not (= x8 x9))
(not (= ?v_10 1)) (not (= ?v_10 (- 1))) (not (= ?v_11 2))
(not (= ?v_11 (- 2))) (not (= ?v_12 3)) (not (= ?v_12 (- 3)))
(not (= ?v_13 4)) (not (= ?v_13 (- 4))) (not (= ?v_14 5))
(not (= ?v_14 (- 5))) (not (= ?v_15 6)) (not (= ?v_15 (- 6)))
(not (= ?v_16 7)) (not (= ?v_16 (- 7))) (not (= ?v_17 8))
(not (= ?v_17 (- 8))) (not (= ?v_18 9)) (not (= ?v_18 (- 9)))
(not (= ?v_19 1)) (not (= ?v_19 (- 1))) (not (= ?v_20 2))
(not (= ?v_20 (- 2))) (not (= ?v_21 3)) (not (= ?v_21 (- 3)))
(not (= ?v_22 4)) (not (= ?v_22 (- 4))) (not (= ?v_23 5))
(not (= ?v_23 (- 5))) (not (= ?v_24 6)) (not (= ?v_24 (- 6)))
(not (= ?v_25 7)) (not (= ?v_25 (- 7))) (not (= ?v_26 8))
(not (= ?v_26 (- 8))) (not (= ?v_27 1)) (not (= ?v_27 (- 1)))
(not (= ?v_28 2)) (not (= ?v_28 (- 2))) (not (= ?v_29 3))
(not (= ?v_29 (- 3))) (not (= ?v_30 4)) (not (= ?v_30 (- 4)))
(not (= ?v_31 5)) (not (= ?v_31 (- 5))) (not (= ?v_32 6))
(not (= ?v_32 (- 6))) (not (= ?v_33 7)) (not (= ?v_33 (- 7)))
(not (= ?v_34 1)) (not (= ?v_34 (- 1))) (not (= ?v_35 2))
(not (= ?v_35 (- 2))) (not (= ?v_36 3)) (not (= ?v_36 (- 3)))
(not (= ?v_37 4)) (not (= ?v_37 (- 4))) (not (= ?v_38 5))
(not (= ?v_38 (- 5))) (not (= ?v_39 6)) (not (= ?v_39 (- 6)))
(not (= ?v_40 1)) (not (= ?v_40 (- 1))) (not (= ?v_41 2))
(not (= ?v_41 (- 2))) (not (= ?v_42 3)) (not (= ?v_42 (- 3)))
(not (= ?v_43 4)) (not (= ?v_43 (- 4))) (not (= ?v_44 5))
(not (= ?v_44 (- 5))) (not (= ?v_45 1)) (not (= ?v_45 (- 1)))
(not (= ?v_46 2)) (not (= ?v_46 (- 2))) (not (= ?v_47 3))
(not (= ?v_47 (- 3))) (not (= ?v_48 4)) (not (= ?v_48 (- 4)))
(not (= ?v_49 1)) (not (= ?v_49 (- 1))) (not (= ?v_50 2))
(not (= ?v_50 (- 2))) (not (= ?v_51 3)) (not (= ?v_51 (- 3)))
(not (= ?v_52 1)) (not (= ?v_52 (- 1))) (not (= ?v_53 2))
(not (= ?v_53 (- 2))) (not (= ?v_54 1)) (not (= ?v_54 (- 1))))))
(check-sat)
(exit)
| SMT | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/SMT/queen10-1.smt2 | [
"MIT"
] |
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Fabian Büchler <[email protected]>, 2015
# 5a85a00218ad0559ac6870a4179f4dbc, 2017
# Lukas Bischofberger <[email protected]>, 2017
# Mads Jensen <[email protected]>, 2015
# Niklas P <[email protected]>, 2015-2016
# Thomas Tanner, 2015
# Tom Jaster <[email protected]>, 2015
# Xavier Ordoquy <[email protected]>, 2015
msgid ""
msgstr ""
"Project-Id-Version: Django REST framework\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-13 21:45+0200\n"
"PO-Revision-Date: 2020-10-13 19:45+0000\n"
"Last-Translator: Xavier Ordoquy <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/django-rest-framework-1/django-rest-framework/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: authentication.py:70
msgid "Invalid basic header. No credentials provided."
msgstr "Ungültiger basic header. Keine Zugangsdaten angegeben."
#: authentication.py:73
msgid "Invalid basic header. Credentials string should not contain spaces."
msgstr "Ungültiger basic header. Zugangsdaten sollen keine Leerzeichen enthalten."
#: authentication.py:83
msgid "Invalid basic header. Credentials not correctly base64 encoded."
msgstr "Ungültiger basic header. Zugangsdaten sind nicht korrekt mit base64 kodiert."
#: authentication.py:101
msgid "Invalid username/password."
msgstr "Ungültiger Benutzername/Passwort"
#: authentication.py:104 authentication.py:206
msgid "User inactive or deleted."
msgstr "Benutzer inaktiv oder gelöscht."
#: authentication.py:184
msgid "Invalid token header. No credentials provided."
msgstr "Ungültiger token header. Keine Zugangsdaten angegeben."
#: authentication.py:187
msgid "Invalid token header. Token string should not contain spaces."
msgstr "Ungültiger token header. Zugangsdaten sollen keine Leerzeichen enthalten."
#: authentication.py:193
msgid ""
"Invalid token header. Token string should not contain invalid characters."
msgstr "Ungültiger Token Header. Tokens dürfen keine ungültigen Zeichen enthalten."
#: authentication.py:203
msgid "Invalid token."
msgstr "Ungültiges Token"
#: authtoken/apps.py:7
msgid "Auth Token"
msgstr "Auth Token"
#: authtoken/models.py:13
msgid "Key"
msgstr "Schlüssel"
#: authtoken/models.py:16
msgid "User"
msgstr "Benutzer"
#: authtoken/models.py:18
msgid "Created"
msgstr "Erzeugt"
#: authtoken/models.py:27 authtoken/serializers.py:19
msgid "Token"
msgstr "Token"
#: authtoken/models.py:28
msgid "Tokens"
msgstr "Tokens"
#: authtoken/serializers.py:9
msgid "Username"
msgstr "Benutzername"
#: authtoken/serializers.py:13
msgid "Password"
msgstr "Passwort"
#: authtoken/serializers.py:35
msgid "Unable to log in with provided credentials."
msgstr "Die angegebenen Zugangsdaten stimmen nicht."
#: authtoken/serializers.py:38
msgid "Must include \"username\" and \"password\"."
msgstr "\"username\" und \"password\" sind erforderlich."
#: exceptions.py:102
msgid "A server error occurred."
msgstr "Ein Serverfehler ist aufgetreten."
#: exceptions.py:142
msgid "Invalid input."
msgstr ""
#: exceptions.py:161
msgid "Malformed request."
msgstr "Fehlerhafte Anfrage."
#: exceptions.py:167
msgid "Incorrect authentication credentials."
msgstr "Falsche Anmeldedaten."
#: exceptions.py:173
msgid "Authentication credentials were not provided."
msgstr "Anmeldedaten fehlen."
#: exceptions.py:179
msgid "You do not have permission to perform this action."
msgstr "Sie sind nicht berechtigt diese Aktion durchzuführen."
#: exceptions.py:185
msgid "Not found."
msgstr "Nicht gefunden."
#: exceptions.py:191
#, python-brace-format
msgid "Method \"{method}\" not allowed."
msgstr "Methode \"{method}\" nicht erlaubt."
#: exceptions.py:202
msgid "Could not satisfy the request Accept header."
msgstr "Kann die Accept Kopfzeile der Anfrage nicht erfüllen."
#: exceptions.py:212
#, python-brace-format
msgid "Unsupported media type \"{media_type}\" in request."
msgstr "Nicht unterstützter Medientyp \"{media_type}\" in der Anfrage."
#: exceptions.py:223
msgid "Request was throttled."
msgstr "Die Anfrage wurde gedrosselt."
#: exceptions.py:224
#, python-brace-format
msgid "Expected available in {wait} second."
msgstr ""
#: exceptions.py:225
#, python-brace-format
msgid "Expected available in {wait} seconds."
msgstr ""
#: fields.py:316 relations.py:245 relations.py:279 validators.py:90
#: validators.py:183
msgid "This field is required."
msgstr "Dieses Feld ist erforderlich."
#: fields.py:317
msgid "This field may not be null."
msgstr "Dieses Feld darf nicht null sein."
#: fields.py:701
msgid "Must be a valid boolean."
msgstr ""
#: fields.py:766
msgid "Not a valid string."
msgstr ""
#: fields.py:767
msgid "This field may not be blank."
msgstr "Dieses Feld darf nicht leer sein."
#: fields.py:768 fields.py:1881
#, python-brace-format
msgid "Ensure this field has no more than {max_length} characters."
msgstr "Stelle sicher, dass dieses Feld nicht mehr als {max_length} Zeichen lang ist."
#: fields.py:769
#, python-brace-format
msgid "Ensure this field has at least {min_length} characters."
msgstr "Stelle sicher, dass dieses Feld mindestens {min_length} Zeichen lang ist."
#: fields.py:816
msgid "Enter a valid email address."
msgstr "Gib eine gültige E-Mail Adresse an."
#: fields.py:827
msgid "This value does not match the required pattern."
msgstr "Dieser Wert passt nicht zu dem erforderlichen Muster."
#: fields.py:838
msgid ""
"Enter a valid \"slug\" consisting of letters, numbers, underscores or "
"hyphens."
msgstr "Gib ein gültiges \"slug\" aus Buchstaben, Ziffern, Unterstrichen und Minuszeichen ein."
#: fields.py:839
msgid ""
"Enter a valid \"slug\" consisting of Unicode letters, numbers, underscores, "
"or hyphens."
msgstr ""
#: fields.py:854
msgid "Enter a valid URL."
msgstr "Gib eine gültige URL ein."
#: fields.py:867
msgid "Must be a valid UUID."
msgstr ""
#: fields.py:903
msgid "Enter a valid IPv4 or IPv6 address."
msgstr "Geben Sie eine gültige IPv4 oder IPv6 Adresse an"
#: fields.py:931
msgid "A valid integer is required."
msgstr "Eine gültige Ganzzahl ist erforderlich."
#: fields.py:932 fields.py:969 fields.py:1005 fields.py:1366
#, python-brace-format
msgid "Ensure this value is less than or equal to {max_value}."
msgstr "Stelle sicher, dass dieser Wert kleiner oder gleich {max_value} ist."
#: fields.py:933 fields.py:970 fields.py:1006 fields.py:1367
#, python-brace-format
msgid "Ensure this value is greater than or equal to {min_value}."
msgstr "Stelle sicher, dass dieser Wert größer oder gleich {min_value} ist."
#: fields.py:934 fields.py:971 fields.py:1010
msgid "String value too large."
msgstr "Zeichenkette zu lang."
#: fields.py:968 fields.py:1004
msgid "A valid number is required."
msgstr "Eine gültige Zahl ist erforderlich."
#: fields.py:1007
#, python-brace-format
msgid "Ensure that there are no more than {max_digits} digits in total."
msgstr "Stelle sicher, dass es insgesamt nicht mehr als {max_digits} Ziffern lang ist."
#: fields.py:1008
#, python-brace-format
msgid ""
"Ensure that there are no more than {max_decimal_places} decimal places."
msgstr "Stelle sicher, dass es nicht mehr als {max_decimal_places} Nachkommastellen lang ist."
#: fields.py:1009
#, python-brace-format
msgid ""
"Ensure that there are no more than {max_whole_digits} digits before the "
"decimal point."
msgstr "Stelle sicher, dass es nicht mehr als {max_whole_digits} Stellen vor dem Komma lang ist."
#: fields.py:1148
#, python-brace-format
msgid "Datetime has wrong format. Use one of these formats instead: {format}."
msgstr "Datums- und Zeitangabe hat das falsche Format. Nutze stattdessen eines dieser Formate: {format}."
#: fields.py:1149
msgid "Expected a datetime but got a date."
msgstr "Erwarte eine Datums- und Zeitangabe, erhielt aber ein Datum."
#: fields.py:1150
#, python-brace-format
msgid "Invalid datetime for the timezone \"{timezone}\"."
msgstr ""
#: fields.py:1151
msgid "Datetime value out of range."
msgstr ""
#: fields.py:1236
#, python-brace-format
msgid "Date has wrong format. Use one of these formats instead: {format}."
msgstr "Datum hat das falsche Format. Nutze stattdessen eines dieser Formate: {format}."
#: fields.py:1237
msgid "Expected a date but got a datetime."
msgstr "Erwarte ein Datum, erhielt aber eine Datums- und Zeitangabe."
#: fields.py:1303
#, python-brace-format
msgid "Time has wrong format. Use one of these formats instead: {format}."
msgstr "Zeitangabe hat das falsche Format. Nutze stattdessen eines dieser Formate: {format}."
#: fields.py:1365
#, python-brace-format
msgid "Duration has wrong format. Use one of these formats instead: {format}."
msgstr "Laufzeit hat das falsche Format. Benutze stattdessen eines dieser Formate {format}."
#: fields.py:1399 fields.py:1456
#, python-brace-format
msgid "\"{input}\" is not a valid choice."
msgstr "\"{input}\" ist keine gültige Option."
#: fields.py:1402
#, python-brace-format
msgid "More than {count} items..."
msgstr "Mehr als {count} Ergebnisse"
#: fields.py:1457 fields.py:1603 relations.py:485 serializers.py:570
#, python-brace-format
msgid "Expected a list of items but got type \"{input_type}\"."
msgstr "Erwarte eine Liste von Elementen, erhielt aber den Typ \"{input_type}\"."
#: fields.py:1458
msgid "This selection may not be empty."
msgstr "Diese Auswahl darf nicht leer sein"
#: fields.py:1495
#, python-brace-format
msgid "\"{input}\" is not a valid path choice."
msgstr "\"{input}\" ist ein ungültiger Pfad."
#: fields.py:1514
msgid "No file was submitted."
msgstr "Es wurde keine Datei übermittelt."
#: fields.py:1515
msgid ""
"The submitted data was not a file. Check the encoding type on the form."
msgstr "Die übermittelten Daten stellen keine Datei dar. Prüfe den Kodierungstyp im Formular."
#: fields.py:1516
msgid "No filename could be determined."
msgstr "Der Dateiname konnte nicht ermittelt werden."
#: fields.py:1517
msgid "The submitted file is empty."
msgstr "Die übermittelte Datei ist leer."
#: fields.py:1518
#, python-brace-format
msgid ""
"Ensure this filename has at most {max_length} characters (it has {length})."
msgstr "Stelle sicher, dass dieser Dateiname höchstens {max_length} Zeichen lang ist (er hat {length})."
#: fields.py:1566
msgid ""
"Upload a valid image. The file you uploaded was either not an image or a "
"corrupted image."
msgstr "Lade ein gültiges Bild hoch. Die hochgeladene Datei ist entweder kein Bild oder ein beschädigtes Bild."
#: fields.py:1604 relations.py:486 serializers.py:571
msgid "This list may not be empty."
msgstr "Diese Liste darf nicht leer sein."
#: fields.py:1605
#, python-brace-format
msgid "Ensure this field has at least {min_length} elements."
msgstr ""
#: fields.py:1606
#, python-brace-format
msgid "Ensure this field has no more than {max_length} elements."
msgstr ""
#: fields.py:1682
#, python-brace-format
msgid "Expected a dictionary of items but got type \"{input_type}\"."
msgstr "Erwartete ein Dictionary mit Elementen, erhielt aber den Typ \"{input_type}\"."
#: fields.py:1683
msgid "This dictionary may not be empty."
msgstr ""
#: fields.py:1755
msgid "Value must be valid JSON."
msgstr "Wert muss gültiges JSON sein."
#: filters.py:49 templates/rest_framework/filters/search.html:2
msgid "Search"
msgstr "Suche"
#: filters.py:50
msgid "A search term."
msgstr ""
#: filters.py:180 templates/rest_framework/filters/ordering.html:3
msgid "Ordering"
msgstr "Sortierung"
#: filters.py:181
msgid "Which field to use when ordering the results."
msgstr ""
#: filters.py:287
msgid "ascending"
msgstr "Aufsteigend"
#: filters.py:288
msgid "descending"
msgstr "Absteigend"
#: pagination.py:174
msgid "A page number within the paginated result set."
msgstr ""
#: pagination.py:179 pagination.py:372 pagination.py:590
msgid "Number of results to return per page."
msgstr ""
#: pagination.py:189
msgid "Invalid page."
msgstr "Ungültige Seite."
#: pagination.py:374
msgid "The initial index from which to return the results."
msgstr ""
#: pagination.py:581
msgid "The pagination cursor value."
msgstr ""
#: pagination.py:583
msgid "Invalid cursor"
msgstr "Ungültiger Zeiger"
#: relations.py:246
#, python-brace-format
msgid "Invalid pk \"{pk_value}\" - object does not exist."
msgstr "Ungültiger pk \"{pk_value}\" - Object existiert nicht."
#: relations.py:247
#, python-brace-format
msgid "Incorrect type. Expected pk value, received {data_type}."
msgstr "Falscher Typ. Erwarte pk Wert, erhielt aber {data_type}."
#: relations.py:280
msgid "Invalid hyperlink - No URL match."
msgstr "Ungültiger Hyperlink - entspricht keiner URL."
#: relations.py:281
msgid "Invalid hyperlink - Incorrect URL match."
msgstr "Ungültiger Hyperlink - URL stimmt nicht überein."
#: relations.py:282
msgid "Invalid hyperlink - Object does not exist."
msgstr "Ungültiger Hyperlink - Objekt existiert nicht."
#: relations.py:283
#, python-brace-format
msgid "Incorrect type. Expected URL string, received {data_type}."
msgstr "Falscher Typ. Erwarte URL Zeichenkette, erhielt aber {data_type}."
#: relations.py:448
#, python-brace-format
msgid "Object with {slug_name}={value} does not exist."
msgstr "Objekt mit {slug_name}={value} existiert nicht."
#: relations.py:449
msgid "Invalid value."
msgstr "Ungültiger Wert."
#: schemas/utils.py:32
msgid "unique integer value"
msgstr ""
#: schemas/utils.py:34
msgid "UUID string"
msgstr ""
#: schemas/utils.py:36
msgid "unique value"
msgstr ""
#: schemas/utils.py:38
#, python-brace-format
msgid "A {value_type} identifying this {name}."
msgstr ""
#: serializers.py:337
#, python-brace-format
msgid "Invalid data. Expected a dictionary, but got {datatype}."
msgstr "Ungültige Daten. Dictionary erwartet, aber {datatype} erhalten."
#: templates/rest_framework/admin.html:116
#: templates/rest_framework/base.html:136
msgid "Extra Actions"
msgstr ""
#: templates/rest_framework/admin.html:130
#: templates/rest_framework/base.html:150
msgid "Filters"
msgstr "Filter"
#: templates/rest_framework/base.html:37
msgid "navbar"
msgstr ""
#: templates/rest_framework/base.html:75
msgid "content"
msgstr ""
#: templates/rest_framework/base.html:78
msgid "request form"
msgstr ""
#: templates/rest_framework/base.html:157
msgid "main content"
msgstr ""
#: templates/rest_framework/base.html:173
msgid "request info"
msgstr ""
#: templates/rest_framework/base.html:177
msgid "response info"
msgstr ""
#: templates/rest_framework/horizontal/radio.html:4
#: templates/rest_framework/inline/radio.html:3
#: templates/rest_framework/vertical/radio.html:3
msgid "None"
msgstr "Nichts"
#: templates/rest_framework/horizontal/select_multiple.html:4
#: templates/rest_framework/inline/select_multiple.html:3
#: templates/rest_framework/vertical/select_multiple.html:3
msgid "No items to select."
msgstr "Keine Elemente zum Auswählen."
#: validators.py:39
msgid "This field must be unique."
msgstr "Dieses Feld muss eindeutig sein."
#: validators.py:89
#, python-brace-format
msgid "The fields {field_names} must make a unique set."
msgstr "Die Felder {field_names} müssen eine eindeutige Menge bilden."
#: validators.py:171
#, python-brace-format
msgid "Surrogate characters are not allowed: U+{code_point:X}."
msgstr ""
#: validators.py:243
#, python-brace-format
msgid "This field must be unique for the \"{date_field}\" date."
msgstr "Dieses Feld muss bezüglich des \"{date_field}\" Datums eindeutig sein."
#: validators.py:258
#, python-brace-format
msgid "This field must be unique for the \"{date_field}\" month."
msgstr "Dieses Feld muss bezüglich des \"{date_field}\" Monats eindeutig sein."
#: validators.py:271
#, python-brace-format
msgid "This field must be unique for the \"{date_field}\" year."
msgstr "Dieses Feld muss bezüglich des \"{date_field}\" Jahrs eindeutig sein."
#: versioning.py:40
msgid "Invalid version in \"Accept\" header."
msgstr "Ungültige Version in der \"Accept\" Kopfzeile."
#: versioning.py:71
msgid "Invalid version in URL path."
msgstr "Ungültige Version im URL Pfad."
#: versioning.py:116
msgid "Invalid version in URL path. Does not match any version namespace."
msgstr "Ungültige Version im URL-Pfad. Entspricht keinem Versions-Namensraum."
#: versioning.py:148
msgid "Invalid version in hostname."
msgstr "Ungültige Version im Hostname."
#: versioning.py:170
msgid "Invalid version in query parameter."
msgstr "Ungültige Version im Anfrageparameter."
| Gettext Catalog | 2 | scratchmex/django-rest-framework | rest_framework/locale/de/LC_MESSAGES/django.po | [
"BSD-3-Clause"
] |
'
' Copyright 2009 Tomas Rokicki and Jonathan Dummer
'
' See end of file for terms of use.
'
' This object does some basic tests, first functional,
' then speed. It will potentially destroy the data on the card, although
' only if the card has more than a few megabytes of data (we write random
' junk at the 8MB point). So please try to run it on a freshly formatted
' card.
'
obj
term: "sysdep"
block: "safe_spi"
'block: "mb_spi" ' this *must* match what is in the sdfat object
'block: "mb_rawb_spi"
'block: "sb_rawb_spi"
sdfat[2]: "fsrw"'
CON
_clkmode = term#_clkmode
_xinfreq = term#_xinfreq
offset = 8 * 2048 ' the block offset of where we do writes
var
long speedresults[24]
long sr
long maxdur
byte bigbuf[8192]
pub go | x
maxdur := 2 ' the max duration in seconds; keep below 10sec to avoid clock wrap
maxdur *= clkfreq
x := \start
term.str(string("Erroneously returned from start!", 13))
term.dec(x)
term.tx(13)
pub start_block_layer : retval | i
retval := \block.start_explicit(term#sd_DO, term#sd_CLK, term#sd_DI, term#sd_CS)
if retval < 0
term.str( string( 13, "Mount failed spectacularly!", 13, "Command => Response", 13 ) )
{
i := block.get_log_pointer
repeat while byte[i] <> 0
term.dec( byte[i++] & 63 )
term.str( string( " => " ) )
term.dec( byte[i++] )
term.tx( 13 )
}
abort( retval )
pub stop_block_layer
block.stop
pub start
term.start
repeat
sr := 0
term.str(string(13, "Waiting for key press to start tests", 13))
term.rx
' if these fail, comment out the next line
mounttests
rawspeed
fsrwspeed
sdfat.unmount
term.str(string("Repeating all the speed results:", 13))
showallspeed
term.str(string("All done!", 13))
pub error(s)
term.str(s)
abort(-1234)
pub mounttests | r, startcnt, bytes, n, duration, i
term.str(string("Mount tests first", 13))
term.str(string("First mount.", 13))
start_block_layer
term.str(string("Succeeded; stopping cog.", 13))
stop_block_layer
term.str(string("Second mount.", 13))
start_block_layer
term.str(string("Succeeded.", 13))
term.str(string("Reading block 0 (should be a boot block)", 13))
bytefill(@bigbuf, 0, 512)
block.readblock(0, @bigbuf)
term.str(string("Read finished; checking for boot block signature", 13))
if !(bigbuf[510] == $55 and bigbuf[511] == $aa)
error(string("boot block signature not found",13))
term.str(string("Boot block checks out; unmounting", 13))
stop_block_layer
term.str(string("Third mount.", 13))
start_block_layer
term.str(string("Succeeded.", 13))
term.str(string("Reading block 0 again (should still be a boot block)", 13))
bytefill(@bigbuf, 0, 512)
block.readblock(0, @bigbuf)
term.str(string("Read finished; checking for boot block signature", 13))
if !(bigbuf[510] == $55 and bigbuf[511] == $aa)
error(string("boot block signature not found",13))
term.str(string("Boot block checks out; writing it back", 13))
block.writeblock(0, @bigbuf)
term.str(string("Write finished; unmounting", 13))
stop_block_layer
term.str(string("Fourth mount.", 13))
start_block_layer
term.str(string("Succeeded.", 13))
term.str(string("Reading block 0 again (should still be a boot block)", 13))
bytefill(@bigbuf, 0, 512)
block.readblock(0, @bigbuf)
term.str(string("Read finished; checking for boot block signature", 13))
if !(bigbuf[510] == $55 and bigbuf[511] == $aa)
error(string("boot block signature not found",13))
stop_block_layer
term.str(string("Block layer seems to check out", 13))
return
pub showspeed(b) | duration, bytes
duration := long[b][1]
bytes := long[b][2]
term.str(long[b][0])
term.tx(" ")
term.dec( (bytes + 512) / 1024 )
term.str(string(" kB in "))
term.dec(duration/(clkfreq/1000))
term.str(string(" ms at "))
term.dec(bytes/(duration/(clkfreq/1024)))
term.str(string(" kB/s",13))
pub addspeed(s, dur, n)
speedresults[sr++] := s
speedresults[sr++] := dur
speedresults[sr++] := n
showspeed(@speedresults[sr-3])
pub showallspeed | s
term.str(string(13, "Clock: "))
term.dec(clkfreq)
term.str(string(" ClusterSize: "))
term.dec(sdfat.getclustersize)
term.str(string(" ClusterCount: "))
term.dec(sdfat.getclustercount)
term.tx(13)
repeat s from 0 to sr-3 step 3
showspeed(@speedresults[s])
pub rawspeed | r, startcnt, bytes, n, duration, ptr
start_block_layer
term.str(string("Now speed tests", 13))
' NOTE: SOME CARDS CAN NOT HANDLE A WRITE BEFORE A READ!!
' (not an issue for fsrw, we always read block 0 first thing)
block.readblock(0, @bigbuf)
'
' For writes, we will destroy whatever data is wherever we write, if there is data
' there. So we write high up on the card. But at the same time, we don't want to
' mess up the metadata.
'
term.str(string("How fast can we write, sequentially?", 13))
n := 128
duration := 0
ptr := offset
repeat while duration < maxdur
n += n
duration -= cnt
repeat n
block.writeblock(ptr++, @bigbuf)
duration += cnt
addspeed(string("Raw write"), duration, (ptr-offset)*512)
' try a non-sequential write
term.str(string("Do a single non-sequential write..."))
ptr += 10
block.writeblock(ptr, @bigbuf)
term.str(string("Done", 13))
term.str(string("How fast can we read, sequentially?", 13))
n := 128
duration := 0
ptr := offset
repeat while duration < maxdur
n += n
duration -= cnt
repeat n
block.readblock(ptr++, @bigbuf)
duration += cnt
addspeed(string("Raw read"), duration, (ptr-offset)*512)
'
' That's it for the block layer.
'
stop_block_layer
pub fsrwspeed | r, startcnt, bytes, n, duration, i
'
' Now we move on to the filesystem layer.
'
term.str(string("Now the filesystem tests",13))
term.str(string("Trying to mount",13))
sdfat.mount_explicit(term#sd_DO, term#sd_CLK, term#sd_DI, term#sd_CS)
term.str(string("Mounted.",13))
' determine the write speed first, then use that size for the read
term.str(string("How fast can we write using pwrite?",13))
n := 0
i := 2
duration := 0
sdfat.popen(string("speed.tst"),"w")
repeat while duration < maxdur
i += i
n += i
duration -= cnt
repeat i
sdfat.pwrite(@bigbuf, 8192)
duration += cnt
sdfat.pclose
addspeed(string("fsrw pwrite"), duration, n*8192)
' now determine the read speed
term.str(string("How fast can we read using pread?",13))
sdfat.popen(string("speed.tst"),"r")
duration := -cnt
repeat n
sdfat.pread(@bigbuf, 8192)
duration += cnt
sdfat.pclose
addspeed(string("fsrw pread"), duration, n*8192)
term.str(string("How fast can we write using pputc?",13))
n := 0
i := 512
duration := 0
sdfat.popen(string("speed.tst"),"w")
repeat while duration < maxdur
i += i
n += i
duration -= cnt
repeat i
sdfat.pputc("!")
duration += cnt
sdfat.pclose
addspeed(string("FSRW pputc"), duration, n)
term.str(string("How fast can we read using pgetc?",13))
sdfat.popen(string("speed.tst"),"r")
duration := -cnt
repeat n
sdfat.pgetc
duration += cnt
sdfat.pclose
addspeed(string("FSRW pgetc"), duration, n)
' copy speed.tst to speed2.tst
sdfat.popen(string("speed.tst"),"r")
sdfat[1].popen(string("speed2.tst"),"w")
repeat while (i:=sdfat.pgetc)=>0
sdfat[1].pputc(i)
sdfat.pclose
sdfat[1].pclose
{{
' Permission is hereby granted, free of charge, to any person obtaining
' a copy of this software and associated documentation files
' (the "Software"), to deal in the Software without restriction,
' including without limitation the rights to use, copy, modify, merge,
' publish, distribute, sublicense, and/or sell copies of the Software,
' and to permit persons to whom the Software is furnished to do so,
' subject to the following conditions:
'
' The above copyright notice and this permission notice shall be included
' in all copies or substantial portions of the Software.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
' EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
' IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
' CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
' SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
}} | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/FAT16 routines with secure digital card layer/test.spin | [
"MIT"
] |
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
;TEST_INIT_EXEC nfp-mem i32.ctm:0x88 0x01020304 0x05060708
;TEST_INIT_EXEC nfp-mem i32.ctm:0x90 0x090a0b0c 0x0d0e0f10 0x11121314 0x15161718
;TEST_INIT_EXEC nfp-mem i32.ctm:0xa0 0x191a1b1c 0x1d1e1f20 0x21222324 0x25262728
;TEST_INIT_EXEC nfp-mem i32.ctm:0xb0 0x292a2b2c 0x2d2e2f30 0x31323334 0x35363738
;TEST_INIT_EXEC nfp-mem i32.ctm:0xc0 0x393a3b3c
#include <aggregate.uc>
#include <stdmac.uc>
#include <pv.uc>
.reg pkt_vec[PV_SIZE_LW]
aggregate_zero(pkt_vec, PV_SIZE_LW)
move(pkt_vec[0], 0x3c)
move(pkt_vec[2], 0x88)
move(pkt_vec[4], 0x3fc0)
| UnrealScript | 3 | pcasconnetronome/nic-firmware | test/datapath/pkt_inc_pat_64B_x88.uc | [
"BSD-2-Clause"
] |
-- Idris2
import System
import System.Concurrency
-- Test `conditionBroadcast` wakes the child with 1 main and 1 child thread
main : IO ()
main =
do cvMutex <- makeMutex
cv <- makeCondition
t <- fork $ do mutexAcquire cvMutex
conditionWait cv cvMutex
putStrLn "Hello mother"
putStrLn "Hello child"
sleep 1
conditionBroadcast cv
threadWait t
| Idris | 4 | ska80/idris-jvm | tests/racket/conditions004/Main.idr | [
"BSD-3-Clause"
] |
fun g n = n + 1
fun f x = x
| UrWeb | 2 | apple314159/urweb | tests/unif1.ur | [
"BSD-3-Clause"
] |
KIDS Distribution saved on Jan 26, 2020@16:11:20
Nodule copy for PET and Biopsy forms
**KIDS**:SAMI*18.0*3^
**INSTALL NAME**
SAMI*18.0*3
"BLD",11433,0)
SAMI*18.0*3^SAMI^0^3200126^y
"BLD",11433,1,0)
^^1^1^3200126^
"BLD",11433,1,1,0)
nodule copy for PET and Biopsy forms
"BLD",11433,4,0)
^9.64PA^^
"BLD",11433,6.3)
1
"BLD",11433,"KRN",0)
^9.67PA^1.5^24
"BLD",11433,"KRN",.4,0)
.4
"BLD",11433,"KRN",.401,0)
.401
"BLD",11433,"KRN",.402,0)
.402
"BLD",11433,"KRN",.403,0)
.403
"BLD",11433,"KRN",.5,0)
.5
"BLD",11433,"KRN",.84,0)
.84
"BLD",11433,"KRN",1.5,0)
1.5
"BLD",11433,"KRN",1.6,0)
1.6
"BLD",11433,"KRN",1.61,0)
1.61
"BLD",11433,"KRN",1.62,0)
1.62
"BLD",11433,"KRN",3.6,0)
3.6
"BLD",11433,"KRN",3.8,0)
3.8
"BLD",11433,"KRN",9.2,0)
9.2
"BLD",11433,"KRN",9.8,0)
9.8
"BLD",11433,"KRN",9.8,"NM",0)
^9.68A^2^2
"BLD",11433,"KRN",9.8,"NM",1,0)
SAMICAS3^^0^B182089690
"BLD",11433,"KRN",9.8,"NM",2,0)
SAMIRU^^0^B5105701
"BLD",11433,"KRN",9.8,"NM","B","SAMICAS3",1)
"BLD",11433,"KRN",9.8,"NM","B","SAMIRU",2)
"BLD",11433,"KRN",19,0)
19
"BLD",11433,"KRN",19.1,0)
19.1
"BLD",11433,"KRN",101,0)
101
"BLD",11433,"KRN",409.61,0)
409.61
"BLD",11433,"KRN",771,0)
771
"BLD",11433,"KRN",779.2,0)
779.2
"BLD",11433,"KRN",870,0)
870
"BLD",11433,"KRN",8989.51,0)
8989.51
"BLD",11433,"KRN",8989.52,0)
8989.52
"BLD",11433,"KRN",8994,0)
8994
"BLD",11433,"KRN","B",.4,.4)
"BLD",11433,"KRN","B",.401,.401)
"BLD",11433,"KRN","B",.402,.402)
"BLD",11433,"KRN","B",.403,.403)
"BLD",11433,"KRN","B",.5,.5)
"BLD",11433,"KRN","B",.84,.84)
"BLD",11433,"KRN","B",1.5,1.5)
"BLD",11433,"KRN","B",1.6,1.6)
"BLD",11433,"KRN","B",1.61,1.61)
"BLD",11433,"KRN","B",1.62,1.62)
"BLD",11433,"KRN","B",3.6,3.6)
"BLD",11433,"KRN","B",3.8,3.8)
"BLD",11433,"KRN","B",9.2,9.2)
"BLD",11433,"KRN","B",9.8,9.8)
"BLD",11433,"KRN","B",19,19)
"BLD",11433,"KRN","B",19.1,19.1)
"BLD",11433,"KRN","B",101,101)
"BLD",11433,"KRN","B",409.61,409.61)
"BLD",11433,"KRN","B",771,771)
"BLD",11433,"KRN","B",779.2,779.2)
"BLD",11433,"KRN","B",870,870)
"BLD",11433,"KRN","B",8989.51,8989.51)
"BLD",11433,"KRN","B",8989.52,8989.52)
"BLD",11433,"KRN","B",8994,8994)
"MBREQ")
0
"PKG",230,-1)
1^1
"PKG",230,0)
SAMI^SAMI^SCREENING APPLICATIONS MANAGEMENT - IELCAP
"PKG",230,22,0)
^9.49I^1^1
"PKG",230,22,1,0)
18.0^3191203
"PKG",230,22,1,"PAH",1,0)
3^3200126
"PKG",230,22,1,"PAH",1,1,0)
^^1^1^3200126
"PKG",230,22,1,"PAH",1,1,1,0)
nodule copy for PET and Biopsy forms
"QUES","XPF1",0)
Y
"QUES","XPF1","??")
^D REP^XPDH
"QUES","XPF1","A")
Shall I write over your |FLAG| File
"QUES","XPF1","B")
YES
"QUES","XPF1","M")
D XPF1^XPDIQ
"QUES","XPF2",0)
Y
"QUES","XPF2","??")
^D DTA^XPDH
"QUES","XPF2","A")
Want my data |FLAG| yours
"QUES","XPF2","B")
YES
"QUES","XPF2","M")
D XPF2^XPDIQ
"QUES","XPI1",0)
YO
"QUES","XPI1","??")
^D INHIBIT^XPDH
"QUES","XPI1","A")
Want KIDS to INHIBIT LOGONs during the install
"QUES","XPI1","B")
NO
"QUES","XPI1","M")
D XPI1^XPDIQ
"QUES","XPM1",0)
PO^VA(200,:EM
"QUES","XPM1","??")
^D MG^XPDH
"QUES","XPM1","A")
Enter the Coordinator for Mail Group '|FLAG|'
"QUES","XPM1","B")
"QUES","XPM1","M")
D XPM1^XPDIQ
"QUES","XPO1",0)
Y
"QUES","XPO1","??")
^D MENU^XPDH
"QUES","XPO1","A")
Want KIDS to Rebuild Menu Trees Upon Completion of Install
"QUES","XPO1","B")
NO
"QUES","XPO1","M")
D XPO1^XPDIQ
"QUES","XPZ1",0)
Y
"QUES","XPZ1","??")
^D OPT^XPDH
"QUES","XPZ1","A")
Want to DISABLE Scheduled Options, Menu Options, and Protocols
"QUES","XPZ1","B")
NO
"QUES","XPZ1","M")
D XPZ1^XPDIQ
"QUES","XPZ2",0)
Y
"QUES","XPZ2","??")
^D RTN^XPDH
"QUES","XPZ2","A")
Want to MOVE routines to other CPUs
"QUES","XPZ2","B")
NO
"QUES","XPZ2","M")
D XPZ2^XPDIQ
"RTN")
2
"RTN","SAMICAS3")
0^1^B182089690
"RTN","SAMICAS3",1,0)
SAMICAS3 ;ven/gpl - ielcap: case review page (cont) ; 2019-03-14T19:08Z
"RTN","SAMICAS3",2,0)
;;18.0;SAM;;;Build 1
"RTN","SAMICAS3",3,0)
;
"RTN","SAMICAS3",4,0)
;@license: see routine SAMIUL
"RTN","SAMICAS3",5,0)
;
"RTN","SAMICAS3",6,0)
; SAMICASE contains subroutines for producing the ELCAP Case Review Page.
"RTN","SAMICAS3",7,0)
; It is currently untested & in progress.
"RTN","SAMICAS3",8,0)
;
"RTN","SAMICAS3",9,0)
; see SAMICUL for documentation
"RTN","SAMICAS3",10,0)
;
"RTN","SAMICAS3",11,0)
quit ; no entry from top
"RTN","SAMICAS3",12,0)
;
"RTN","SAMICAS3",13,0)
;
"RTN","SAMICAS3",14,0)
;;@ppi - post new form selection (post service)
"RTN","SAMICAS3",15,0)
WSNFPOST ; post new form selection (post service)
"RTN","SAMICAS3",16,0)
;
"RTN","SAMICAS3",17,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",18,0)
;
"RTN","SAMICAS3",19,0)
;ven/gpl;web service;procedure;
"RTN","SAMICAS3",20,0)
;@web service
"RTN","SAMICAS3",21,0)
; web service SAMICASE-wsNuFormPost
"RTN","SAMICAS3",22,0)
;@called by
"RTN","SAMICAS3",23,0)
; WSNFPOST^SAMICASE
"RTN","SAMICAS3",24,0)
;@calls
"RTN","SAMICAS3",25,0)
; parseBody^%wf
"RTN","SAMICAS3",26,0)
; GETHOME^SAMIHOM3
"RTN","SAMICAS3",27,0)
; $$KEYDATE^SAMIHOM3
"RTN","SAMICAS3",28,0)
; $$setroot^%wd
"RTN","SAMICAS3",29,0)
; $$KEY2FM^SAMICAS2
"RTN","SAMICAS3",30,0)
; MKSBFORM^SAMICAS3
"RTN","SAMICAS3",31,0)
; MKCEFORM^SAMICAS3
"RTN","SAMICAS3",32,0)
; MKFUFORM^SAMICAS3
"RTN","SAMICAS3",33,0)
; MKBXFORM^SAMICAS3
"RTN","SAMICAS3",34,0)
; MKPTFORM^SAMICAS3
"RTN","SAMICAS3",35,0)
; MKITFORM^SAMICAS3
"RTN","SAMICAS3",36,0)
;@input
"RTN","SAMICAS3",37,0)
; .ARGS
"RTN","SAMICAS3",38,0)
; .ARGS("form")
"RTN","SAMICAS3",39,0)
; .ARGS("studyid")
"RTN","SAMICAS3",40,0)
; .ARGS("sid")
"RTN","SAMICAS3",41,0)
; .BODY
"RTN","SAMICAS3",42,0)
; .BODY(1) (e.g. "samiroute=casereview&dfn="_dfn_"&studyid="_studyid)
"RTN","SAMICAS3",43,0)
;@output
"RTN","SAMICAS3",44,0)
; @RESULT
"RTN","SAMICAS3",45,0)
;@tests
"RTN","SAMICAS3",46,0)
; SAMIUTS2
"RTN","SAMICAS3",47,0)
;
"RTN","SAMICAS3",48,0)
;@stanza 2 get new form
"RTN","SAMICAS3",49,0)
;
"RTN","SAMICAS3",50,0)
new vars,bdy
"RTN","SAMICAS3",51,0)
set bdy=$get(BODY(1))
"RTN","SAMICAS3",52,0)
do parseBody^%wf("vars",.bdy)
"RTN","SAMICAS3",53,0)
merge vars=ARGS
"RTN","SAMICAS3",54,0)
merge ^SAMIUL("nuform","vars")=vars
"RTN","SAMICAS3",55,0)
;
"RTN","SAMICAS3",56,0)
new sid set sid=$get(vars("studyid"))
"RTN","SAMICAS3",57,0)
if sid="" set sid=$get(ARGS("sid"))
"RTN","SAMICAS3",58,0)
if sid="" do quit ;
"RTN","SAMICAS3",59,0)
. do GETHOME^SAMIHOM3(.RESULT,.ARGS) ; on error return to home page
"RTN","SAMICAS3",60,0)
. quit
"RTN","SAMICAS3",61,0)
;
"RTN","SAMICAS3",62,0)
set nuform=$get(vars("form"))
"RTN","SAMICAS3",63,0)
if nuform="" set nuform="ceform"
"RTN","SAMICAS3",64,0)
;
"RTN","SAMICAS3",65,0)
new datekey set datekey=$$KEYDATE^SAMIHOM3($$NOW^XLFDT)
"RTN","SAMICAS3",66,0)
;
"RTN","SAMICAS3",67,0)
; check to see if form already exists
"RTN","SAMICAS3",68,0)
;
"RTN","SAMICAS3",69,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",70,0)
n collide s collide=0 ; duplicate form for today - backdate forms scenario
"RTN","SAMICAS3",71,0)
if $data(@root@("graph",sid,nuform_"-"_datekey)) do ; already exists
"RTN","SAMICAS3",72,0)
. s collide=1
"RTN","SAMICAS3",73,0)
. if nuform="siform" quit
"RTN","SAMICAS3",74,0)
. if nuform="sbform" quit ; do not create multiple background forms
"RTN","SAMICAS3",75,0)
. new lastone
"RTN","SAMICAS3",76,0)
. set lastone=$order(@root@("graph",sid,nuform_"-a "),-1)
"RTN","SAMICAS3",77,0)
. quit:lastone=""
"RTN","SAMICAS3",78,0)
. set newfm=$$KEY2FM^SAMICASE(lastone)
"RTN","SAMICAS3",79,0)
. set datekey=$$KEYDATE^SAMIHOM3($$FMADD^XLFDT(newfm,1)) ; add one day to the last form
"RTN","SAMICAS3",80,0)
;
"RTN","SAMICAS3",81,0)
; code to not allow two same forms for a patient a day
"RTN","SAMICAS3",82,0)
;
"RTN","SAMICAS3",83,0)
i collide=1 d q ;
"RTN","SAMICAS3",84,0)
. s ARGS("errorMessage")="Form already exists for today"
"RTN","SAMICAS3",85,0)
. s ARGS("studyid")=sid
"RTN","SAMICAS3",86,0)
. d WSCASE^SAMICASE(.RESULT,.ARGS)
"RTN","SAMICAS3",87,0)
;
"RTN","SAMICAS3",88,0)
if nuform="sbform" do ;
"RTN","SAMICAS3",89,0)
. new oldkey s oldkey=$o(@root@("graph",sid,"sbform"))
"RTN","SAMICAS3",90,0)
. i $e(oldkey,1,6)="sbform" d q ;
"RTN","SAMICAS3",91,0)
. . set ARGS("key")=oldkey
"RTN","SAMICAS3",92,0)
. . set ARGS("studyid")=sid
"RTN","SAMICAS3",93,0)
. . set ARGS("form")="vapals:sbform"
"RTN","SAMICAS3",94,0)
. new key set key="sbform-"_datekey
"RTN","SAMICAS3",95,0)
. set ARGS("key")=key
"RTN","SAMICAS3",96,0)
. set ARGS("studyid")=sid
"RTN","SAMICAS3",97,0)
. set ARGS("form")="vapals:sbform"
"RTN","SAMICAS3",98,0)
. do MKSBFORM(sid,key)
"RTN","SAMICAS3",99,0)
. quit
"RTN","SAMICAS3",100,0)
;
"RTN","SAMICAS3",101,0)
if nuform="ceform" do ;
"RTN","SAMICAS3",102,0)
. new key set key="ceform-"_datekey
"RTN","SAMICAS3",103,0)
. set ARGS("key")=key
"RTN","SAMICAS3",104,0)
. set ARGS("studyid")=sid
"RTN","SAMICAS3",105,0)
. set ARGS("form")="vapals:ceform"
"RTN","SAMICAS3",106,0)
. do MKCEFORM(sid,key)
"RTN","SAMICAS3",107,0)
. quit
"RTN","SAMICAS3",108,0)
;
"RTN","SAMICAS3",109,0)
if nuform="fuform" do ;
"RTN","SAMICAS3",110,0)
. new key set key="fuform-"_datekey
"RTN","SAMICAS3",111,0)
. set ARGS("key")=key
"RTN","SAMICAS3",112,0)
. set ARGS("studyid")=sid
"RTN","SAMICAS3",113,0)
. set ARGS("form")="vapals:fuform"
"RTN","SAMICAS3",114,0)
. do MKFUFORM(sid,key)
"RTN","SAMICAS3",115,0)
. quit
"RTN","SAMICAS3",116,0)
;
"RTN","SAMICAS3",117,0)
if nuform="bxform" do ;
"RTN","SAMICAS3",118,0)
. new key set key="bxform-"_datekey
"RTN","SAMICAS3",119,0)
. set ARGS("key")=key
"RTN","SAMICAS3",120,0)
. set ARGS("studyid")=sid
"RTN","SAMICAS3",121,0)
. set ARGS("form")="vapals:bxform"
"RTN","SAMICAS3",122,0)
. do MKBXFORM(sid,key)
"RTN","SAMICAS3",123,0)
. quit
"RTN","SAMICAS3",124,0)
;
"RTN","SAMICAS3",125,0)
if nuform="ptform" do ;
"RTN","SAMICAS3",126,0)
. new key set key="ptform-"_datekey
"RTN","SAMICAS3",127,0)
. set ARGS("key")=key
"RTN","SAMICAS3",128,0)
. set ARGS("studyid")=sid
"RTN","SAMICAS3",129,0)
. set ARGS("form")="vapals:ptform"
"RTN","SAMICAS3",130,0)
. do MKPTFORM(sid,key)
"RTN","SAMICAS3",131,0)
. quit
"RTN","SAMICAS3",132,0)
;
"RTN","SAMICAS3",133,0)
if nuform="itform" do ;
"RTN","SAMICAS3",134,0)
. new key set key="itform-"_datekey
"RTN","SAMICAS3",135,0)
. set ARGS("key")=key
"RTN","SAMICAS3",136,0)
. set ARGS("studyid")=sid
"RTN","SAMICAS3",137,0)
. set ARGS("form")="vapals:itform"
"RTN","SAMICAS3",138,0)
. do MKITFORM(sid,key)
"RTN","SAMICAS3",139,0)
. quit
"RTN","SAMICAS3",140,0)
;
"RTN","SAMICAS3",141,0)
do wsGetForm^%wf(.RESULT,.ARGS)
"RTN","SAMICAS3",142,0)
;
"RTN","SAMICAS3",143,0)
;@stanza 3 termination
"RTN","SAMICAS3",144,0)
;
"RTN","SAMICAS3",145,0)
quit ; end of wsNuFormPost
"RTN","SAMICAS3",146,0)
;
"RTN","SAMICAS3",147,0)
;
"RTN","SAMICAS3",148,0)
MKSBFORM(sid,key) ; create background form
"RTN","SAMICAS3",149,0)
;
"RTN","SAMICAS3",150,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",151,0)
;
"RTN","SAMICAS3",152,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",153,0)
;@called-by
"RTN","SAMICAS3",154,0)
; WSNFPOST^SAMICAS3
"RTN","SAMICAS3",155,0)
;@calls
"RTN","SAMICAS3",156,0)
; $$setroot^%wd
"RTN","SAMICAS3",157,0)
; $$SID2NUM^SAMIHOM3
"RTN","SAMICAS3",158,0)
;@input
"RTN","SAMICAS3",159,0)
; sid = study id
"RTN","SAMICAS3",160,0)
; key =
"RTN","SAMICAS3",161,0)
;@output
"RTN","SAMICAS3",162,0)
; @root@("graph",sid,key)
"RTN","SAMICAS3",163,0)
;@examples [tbd]
"RTN","SAMICAS3",164,0)
;@tests [tbd]
"RTN","SAMICAS3",165,0)
;
"RTN","SAMICAS3",166,0)
;@stanza 2 create background form
"RTN","SAMICAS3",167,0)
;
"RTN","SAMICAS3",168,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",169,0)
new sien set sien=$$SID2NUM^SAMIHOM3(sid)
"RTN","SAMICAS3",170,0)
quit:+sien=0
"RTN","SAMICAS3",171,0)
new cdate set cdate=$piece(key,"sbform-",2)
"RTN","SAMICAS3",172,0)
merge @root@("graph",sid,key)=@root@(sien)
"RTN","SAMICAS3",173,0)
set @root@("graph",sid,key,"samicreatedate")=cdate
"RTN","SAMICAS3",174,0)
do SSAMISTA^SAMICASE(sid,key,"incomplete")
"RTN","SAMICAS3",175,0)
;
"RTN","SAMICAS3",176,0)
;@stanza 3 termination
"RTN","SAMICAS3",177,0)
;
"RTN","SAMICAS3",178,0)
quit ; end of MKSBFORM
"RTN","SAMICAS3",179,0)
;
"RTN","SAMICAS3",180,0)
PREVNOD(sid) ; extrinsic which returns the key of the latest form
"RTN","SAMICAS3",181,0)
; that includes a nodule grid. used for nodule copy
"RTN","SAMICAS3",182,0)
n retkey s retkey=""
"RTN","SAMICAS3",183,0)
n fary
"RTN","SAMICAS3",184,0)
d SORTFRMS(.fary,sid)
"RTN","SAMICAS3",185,0)
n tdt s tdt=""
"RTN","SAMICAS3",186,0)
f s tdt=$o(fary(tdt),-1) q:tdt="" q:retkey'="" d ;
"RTN","SAMICAS3",187,0)
. n tmpkey s tmpkey=""
"RTN","SAMICAS3",188,0)
. f s tmpkey=$o(fary(tdt,tmpkey)) q:tmpkey="" q:retkey'="" d ;
"RTN","SAMICAS3",189,0)
. . i tmpkey["ceform" s retkey=tmpkey
"RTN","SAMICAS3",190,0)
. . i tmpkey["ptform" s retkey=tmpkey
"RTN","SAMICAS3",191,0)
. . i tmpkey["bxform" s retkey=tmpkey
"RTN","SAMICAS3",192,0)
;
"RTN","SAMICAS3",193,0)
q retkey
"RTN","SAMICAS3",194,0)
;
"RTN","SAMICAS3",195,0)
SORTFRMS(ARY,sid) ; sorts all forms for patient sid by date
"RTN","SAMICAS3",196,0)
; and returns in ARY, passed by reference
"RTN","SAMICAS3",197,0)
; format of return is ARY(fmdate,key)=""
"RTN","SAMICAS3",198,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",199,0)
q:'$d(@root@("graph",sid))
"RTN","SAMICAS3",200,0)
n froot s froot=$na(@root@("graph",sid))
"RTN","SAMICAS3",201,0)
n zi s zi=""
"RTN","SAMICAS3",202,0)
f s zi=$o(@froot@(zi)) q:zi="" d ;
"RTN","SAMICAS3",203,0)
. n ftype s ftype=$p(zi,"-",1)
"RTN","SAMICAS3",204,0)
. n fdate s fdate=$p(zi,ftype_"-",2)
"RTN","SAMICAS3",205,0)
. n X,Y
"RTN","SAMICAS3",206,0)
. s X=fdate
"RTN","SAMICAS3",207,0)
. D ^%DT
"RTN","SAMICAS3",208,0)
. i Y=-1 d ^ZTER Q ;
"RTN","SAMICAS3",209,0)
. S ARY(Y,zi)=""
"RTN","SAMICAS3",210,0)
q
"RTN","SAMICAS3",211,0)
;
"RTN","SAMICAS3",212,0)
MKCEFORM(sid,key) ; create ct evaluation form
"RTN","SAMICAS3",213,0)
;
"RTN","SAMICAS3",214,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",215,0)
;
"RTN","SAMICAS3",216,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",217,0)
;@called-by
"RTN","SAMICAS3",218,0)
; WSNFPOST^SAMICAS3
"RTN","SAMICAS3",219,0)
;@calls
"RTN","SAMICAS3",220,0)
; $$setroot^%wd
"RTN","SAMICAS3",221,0)
; $$SID2NUM^SAMIHOM3
"RTN","SAMICAS3",222,0)
;@input
"RTN","SAMICAS3",223,0)
; sid = study id
"RTN","SAMICAS3",224,0)
; key =
"RTN","SAMICAS3",225,0)
;@output
"RTN","SAMICAS3",226,0)
; @root@("graph",sid,key)
"RTN","SAMICAS3",227,0)
;@examples [tbd]
"RTN","SAMICAS3",228,0)
;@tests [tbd]
"RTN","SAMICAS3",229,0)
;
"RTN","SAMICAS3",230,0)
;@stanza 2 create ct eval form
"RTN","SAMICAS3",231,0)
;
"RTN","SAMICAS3",232,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",233,0)
new sien set sien=$$SID2NUM^SAMIHOM3(sid)
"RTN","SAMICAS3",234,0)
quit:+sien=0
"RTN","SAMICAS3",235,0)
new cdate set cdate=$piece(key,"ceform-",2)
"RTN","SAMICAS3",236,0)
; nodule copy
"RTN","SAMICAS3",237,0)
n srckey s srckey=$$PREVNOD(sid)
"RTN","SAMICAS3",238,0)
i srckey'="" d ;
"RTN","SAMICAS3",239,0)
. new target,source
"RTN","SAMICAS3",240,0)
. set source=$name(@root@("graph",sid,srckey))
"RTN","SAMICAS3",241,0)
. set target=$name(@root@("graph",sid,key))
"RTN","SAMICAS3",242,0)
. d CTCOPY^SAMICTC1(source,target)
"RTN","SAMICAS3",243,0)
; end nodule copy
"RTN","SAMICAS3",244,0)
;new items,prevct
"RTN","SAMICAS3",245,0)
;do GETITEMS^SAMICASE("items",sid)
"RTN","SAMICAS3",246,0)
;set prevct=""
"RTN","SAMICAS3",247,0)
;if $data(items("type","vapals:ceform")) do ;previous cteval exists
"RTN","SAMICAS3",248,0)
;. set prevct=$order(items("type","vapals:ceform",""),-1) ; latest ceform
"RTN","SAMICAS3",249,0)
;if prevct'="" do ;
"RTN","SAMICAS3",250,0)
;. new target,source
"RTN","SAMICAS3",251,0)
;. set source=$name(@root@("graph",sid,prevct))
"RTN","SAMICAS3",252,0)
;. set target=$name(@root@("graph",sid,key))
"RTN","SAMICAS3",253,0)
;. do CTCOPY^SAMICTC1(source,target)
"RTN","SAMICAS3",254,0)
merge @root@("graph",sid,key)=@root@(sien)
"RTN","SAMICAS3",255,0)
set @root@("graph",sid,key,"samicreatedate")=cdate
"RTN","SAMICAS3",256,0)
do SSAMISTA^SAMICASE(sid,key,"incomplete")
"RTN","SAMICAS3",257,0)
;
"RTN","SAMICAS3",258,0)
;@stanza 3 termination
"RTN","SAMICAS3",259,0)
;
"RTN","SAMICAS3",260,0)
quit ; end of MKCEFORM
"RTN","SAMICAS3",261,0)
;
"RTN","SAMICAS3",262,0)
MKFUFORM(sid,key) ; create Follow-up form
"RTN","SAMICAS3",263,0)
;
"RTN","SAMICAS3",264,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",265,0)
;
"RTN","SAMICAS3",266,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",267,0)
;@called-by
"RTN","SAMICAS3",268,0)
; WSNFPOST^SAMICAS3
"RTN","SAMICAS3",269,0)
;@calls
"RTN","SAMICAS3",270,0)
; $$setroot^%wd
"RTN","SAMICAS3",271,0)
; $$SID2NUM^SAMIHOM3
"RTN","SAMICAS3",272,0)
;@input
"RTN","SAMICAS3",273,0)
; sid = study id
"RTN","SAMICAS3",274,0)
; key =
"RTN","SAMICAS3",275,0)
;@output
"RTN","SAMICAS3",276,0)
; @root@("graph",sid,key)
"RTN","SAMICAS3",277,0)
;@examples [tbd]
"RTN","SAMICAS3",278,0)
;@tests [tbd]
"RTN","SAMICAS3",279,0)
;
"RTN","SAMICAS3",280,0)
;@stanza 2 create Follow-up form
"RTN","SAMICAS3",281,0)
;
"RTN","SAMICAS3",282,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",283,0)
new sien set sien=$$SID2NUM^SAMIHOM3(sid)
"RTN","SAMICAS3",284,0)
quit:+sien=0
"RTN","SAMICAS3",285,0)
new cdate set cdate=$piece(key,"fuform-",2)
"RTN","SAMICAS3",286,0)
merge @root@("graph",sid,key)=@root@(sien)
"RTN","SAMICAS3",287,0)
set @root@("graph",sid,key,"samicreatedate")=cdate
"RTN","SAMICAS3",288,0)
set @root@("graph",sid,key,"sidof")=$$KEY2DSPD^SAMICAS2(cdate)
"RTN","SAMICAS3",289,0)
set @root@("graph",sid,key,"sidoe")=$$BASELNDT(sid)
"RTN","SAMICAS3",290,0)
do SSAMISTA^SAMICASE(sid,key,"incomplete")
"RTN","SAMICAS3",291,0)
;
"RTN","SAMICAS3",292,0)
;@stanza 3 termination
"RTN","SAMICAS3",293,0)
;
"RTN","SAMICAS3",294,0)
quit ; end of MKFUFORM
"RTN","SAMICAS3",295,0)
;
"RTN","SAMICAS3",296,0)
BASELNDT(sid) ; Extrinsic returns the last previous baseline CT date
"RTN","SAMICAS3",297,0)
;
"RTN","SAMICAS3",298,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",299,0)
n groot s groot=$na(@root@("graph",sid))
"RTN","SAMICAS3",300,0)
n items s items=""
"RTN","SAMICAS3",301,0)
d GETITEMS^SAMICASE("items",sid)
"RTN","SAMICAS3",302,0)
q:'$d(items) ""
"RTN","SAMICAS3",303,0)
n bdate s bdate=""
"RTN","SAMICAS3",304,0)
n bkey s bkey=""
"RTN","SAMICAS3",305,0)
n done s done=0
"RTN","SAMICAS3",306,0)
f s bkey=$o(items("type","vapals:ceform",bkey)) q:bkey="" d ;
"RTN","SAMICAS3",307,0)
. ;w !,bkey," ",$g(@groot@(bkey,"cetex"))
"RTN","SAMICAS3",308,0)
. if $g(@groot@(bkey,"cetex"))="b" d ;
"RTN","SAMICAS3",309,0)
. . s done=1
"RTN","SAMICAS3",310,0)
. . s bdate=$p(bkey,"ceform-",2)
"RTN","SAMICAS3",311,0)
s bdate=$$KEY2DSPD^SAMICAS2(bdate)
"RTN","SAMICAS3",312,0)
q bdate
"RTN","SAMICAS3",313,0)
;
"RTN","SAMICAS3",314,0)
MKPTFORM(sid,key) ; create pet evaluation form
"RTN","SAMICAS3",315,0)
;
"RTN","SAMICAS3",316,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",317,0)
;
"RTN","SAMICAS3",318,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",319,0)
;@called-by
"RTN","SAMICAS3",320,0)
; WSNFPOST^SAMICAS3
"RTN","SAMICAS3",321,0)
;@calls
"RTN","SAMICAS3",322,0)
; $$setroot^%wd
"RTN","SAMICAS3",323,0)
; $$SID2NUM^SAMIHOM3
"RTN","SAMICAS3",324,0)
;@input
"RTN","SAMICAS3",325,0)
; sid = study id
"RTN","SAMICAS3",326,0)
; key =
"RTN","SAMICAS3",327,0)
;@output
"RTN","SAMICAS3",328,0)
; @root@("graph",sid,key)
"RTN","SAMICAS3",329,0)
;@examples [tbd]
"RTN","SAMICAS3",330,0)
;@tests [tbd]
"RTN","SAMICAS3",331,0)
;
"RTN","SAMICAS3",332,0)
;@stanza 2 create pet eval form
"RTN","SAMICAS3",333,0)
;
"RTN","SAMICAS3",334,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",335,0)
new sien set sien=$$SID2NUM^SAMIHOM3(sid)
"RTN","SAMICAS3",336,0)
quit:+sien=0
"RTN","SAMICAS3",337,0)
; nodule copy
"RTN","SAMICAS3",338,0)
n srckey s srckey=$$PREVNOD(sid)
"RTN","SAMICAS3",339,0)
i srckey'="" d ;
"RTN","SAMICAS3",340,0)
. new target,source
"RTN","SAMICAS3",341,0)
. set source=$name(@root@("graph",sid,srckey))
"RTN","SAMICAS3",342,0)
. set target=$name(@root@("graph",sid,key))
"RTN","SAMICAS3",343,0)
. d CTCOPY^SAMICTC1(source,target)
"RTN","SAMICAS3",344,0)
; end nodule copy
"RTN","SAMICAS3",345,0)
new cdate set cdate=$piece(key,"ptform-",2)
"RTN","SAMICAS3",346,0)
merge @root@("graph",sid,key)=@root@(sien)
"RTN","SAMICAS3",347,0)
set @root@("graph",sid,key,"samicreatedate")=cdate
"RTN","SAMICAS3",348,0)
do SSAMISTA^SAMICASE(sid,key,"incomplete")
"RTN","SAMICAS3",349,0)
;
"RTN","SAMICAS3",350,0)
;@stanza 3 termination
"RTN","SAMICAS3",351,0)
;
"RTN","SAMICAS3",352,0)
quit ; end of MKPTFORM
"RTN","SAMICAS3",353,0)
;
"RTN","SAMICAS3",354,0)
MKITFORM(sid,key) ; create intervention form
"RTN","SAMICAS3",355,0)
;
"RTN","SAMICAS3",356,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",357,0)
;
"RTN","SAMICAS3",358,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",359,0)
;@called-by
"RTN","SAMICAS3",360,0)
; WSNFPOST^SAMICAS3
"RTN","SAMICAS3",361,0)
;@calls
"RTN","SAMICAS3",362,0)
; $$setroot^%wd
"RTN","SAMICAS3",363,0)
; $$SID2NUM^SAMIHOM3
"RTN","SAMICAS3",364,0)
;@input
"RTN","SAMICAS3",365,0)
; sid = study id
"RTN","SAMICAS3",366,0)
; key =
"RTN","SAMICAS3",367,0)
;@output
"RTN","SAMICAS3",368,0)
; @root@("graph",sid,key)
"RTN","SAMICAS3",369,0)
;@examples [tbd]
"RTN","SAMICAS3",370,0)
;@tests [tbd]
"RTN","SAMICAS3",371,0)
;
"RTN","SAMICAS3",372,0)
;@stanza 2 create intervention form
"RTN","SAMICAS3",373,0)
;
"RTN","SAMICAS3",374,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",375,0)
new sien set sien=$$SID2NUM^SAMIHOM3(sid)
"RTN","SAMICAS3",376,0)
quit:+sien=0
"RTN","SAMICAS3",377,0)
new cdate set cdate=$piece(key,"itform-",2)
"RTN","SAMICAS3",378,0)
merge @root@("graph",sid,key)=@root@(sien)
"RTN","SAMICAS3",379,0)
set @root@("graph",sid,key,"samicreatedate")=cdate
"RTN","SAMICAS3",380,0)
do SSAMISTA^SAMICASE(sid,key,"incomplete")
"RTN","SAMICAS3",381,0)
;
"RTN","SAMICAS3",382,0)
;@stanza 3 termination
"RTN","SAMICAS3",383,0)
;
"RTN","SAMICAS3",384,0)
quit ; end of MKITFORM
"RTN","SAMICAS3",385,0)
;
"RTN","SAMICAS3",386,0)
MKBXFORM(sid,key) ; create biopsy form
"RTN","SAMICAS3",387,0)
;
"RTN","SAMICAS3",388,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",389,0)
;
"RTN","SAMICAS3",390,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",391,0)
;@called-by
"RTN","SAMICAS3",392,0)
; WSNFPOST^SAMICAS3
"RTN","SAMICAS3",393,0)
;@calls
"RTN","SAMICAS3",394,0)
; $$setroot^%wd
"RTN","SAMICAS3",395,0)
; $$SID2NUM^SAMIHOM3
"RTN","SAMICAS3",396,0)
;@input
"RTN","SAMICAS3",397,0)
; sid = study id
"RTN","SAMICAS3",398,0)
; key =
"RTN","SAMICAS3",399,0)
;@output
"RTN","SAMICAS3",400,0)
; @root@("graph",sid,key)
"RTN","SAMICAS3",401,0)
;@examples [tbd]
"RTN","SAMICAS3",402,0)
;@tests [tbd]
"RTN","SAMICAS3",403,0)
;
"RTN","SAMICAS3",404,0)
;@stanza 2 create background form
"RTN","SAMICAS3",405,0)
;
"RTN","SAMICAS3",406,0)
new root set root=$$setroot^%wd("vapals-patients")
"RTN","SAMICAS3",407,0)
new sien set sien=$$SID2NUM^SAMIHOM3(sid)
"RTN","SAMICAS3",408,0)
quit:+sien=0
"RTN","SAMICAS3",409,0)
new cdate set cdate=$piece(key,"bxform-",2)
"RTN","SAMICAS3",410,0)
; nodule copy
"RTN","SAMICAS3",411,0)
n srckey s srckey=$$PREVNOD(sid)
"RTN","SAMICAS3",412,0)
i srckey'="" d ;
"RTN","SAMICAS3",413,0)
. new target,source
"RTN","SAMICAS3",414,0)
. set source=$name(@root@("graph",sid,srckey))
"RTN","SAMICAS3",415,0)
. set target=$name(@root@("graph",sid,key))
"RTN","SAMICAS3",416,0)
. d CTCOPY^SAMICTC1(source,target)
"RTN","SAMICAS3",417,0)
; end nodule copy
"RTN","SAMICAS3",418,0)
merge @root@("graph",sid,key)=@root@(sien)
"RTN","SAMICAS3",419,0)
set @root@("graph",sid,key,"samicreatedate")=cdate
"RTN","SAMICAS3",420,0)
do SSAMISTA^SAMICASE(sid,key,"incomplete")
"RTN","SAMICAS3",421,0)
;
"RTN","SAMICAS3",422,0)
;@stanza 3 termination
"RTN","SAMICAS3",423,0)
;
"RTN","SAMICAS3",424,0)
quit ; end of MKBXFORM
"RTN","SAMICAS3",425,0)
;
"RTN","SAMICAS3",426,0)
;
"RTN","SAMICAS3",427,0)
CASETBL(ary) ; generates case review table
"RTN","SAMICAS3",428,0)
;
"RTN","SAMICAS3",429,0)
;@stanza 1 invocation, binding, & branching
"RTN","SAMICAS3",430,0)
;
"RTN","SAMICAS3",431,0)
;ven/gpl;private;procedure;
"RTN","SAMICAS3",432,0)
;@called by : none
"RTN","SAMICAS3",433,0)
;@calls
"RTN","SAMICAS3",434,0)
;@input
"RTN","SAMICAS3",435,0)
; ary = name of array (passed by name, will be cleared)
"RTN","SAMICAS3",436,0)
;@output
"RTN","SAMICAS3",437,0)
; @ary
"RTN","SAMICAS3",438,0)
;@tests
"RTN","SAMICAS3",439,0)
; SAMIUTS2
"RTN","SAMICAS3",440,0)
;
"RTN","SAMICAS3",441,0)
;@stanza 2 build table
"RTN","SAMICAS3",442,0)
;
"RTN","SAMICAS3",443,0)
kill @ary
"RTN","SAMICAS3",444,0)
;
"RTN","SAMICAS3",445,0)
set @ary@("siform","form")="siform"
"RTN","SAMICAS3",446,0)
set @ary@("siform","js")="subPr"
"RTN","SAMICAS3",447,0)
set @ary@("siform","name")="Intake"
"RTN","SAMICAS3",448,0)
set @ary@("siform","image")="preview.gif"
"RTN","SAMICAS3",449,0)
;
"RTN","SAMICAS3",450,0)
set @ary@("nuform","form")="nuform"
"RTN","SAMICAS3",451,0)
set @ary@("nuform","js")="subFr"
"RTN","SAMICAS3",452,0)
set @ary@("nuform","name")="New Form"
"RTN","SAMICAS3",453,0)
set @ary@("nuform","image")="nform.gif"
"RTN","SAMICAS3",454,0)
;
"RTN","SAMICAS3",455,0)
set @ary@("sched","form")="sched"
"RTN","SAMICAS3",456,0)
set @ary@("sched","js")="subSc"
"RTN","SAMICAS3",457,0)
set @ary@("sched","name")="Schedule"
"RTN","SAMICAS3",458,0)
set @ary@("sched","image")="schedule.gif"
"RTN","SAMICAS3",459,0)
;
"RTN","SAMICAS3",460,0)
set @ary@("sbform","form")="sbform"
"RTN","SAMICAS3",461,0)
set @ary@("sbform","js")="subPr"
"RTN","SAMICAS3",462,0)
set @ary@("sbform","name")="Background"
"RTN","SAMICAS3",463,0)
set @ary@("sbform","image")="preview.gif"
"RTN","SAMICAS3",464,0)
;
"RTN","SAMICAS3",465,0)
set @ary@("ceform","form")="ceform"
"RTN","SAMICAS3",466,0)
set @ary@("ceform","js")="subPr"
"RTN","SAMICAS3",467,0)
set @ary@("ceform","name")="CT Evaluation"
"RTN","SAMICAS3",468,0)
set @ary@("ceform","image")="preview.gif"
"RTN","SAMICAS3",469,0)
;
"RTN","SAMICAS3",470,0)
set @ary@("report","form")="report"
"RTN","SAMICAS3",471,0)
set @ary@("report","js")="subRp"
"RTN","SAMICAS3",472,0)
set @ary@("report","name")="Report"
"RTN","SAMICAS3",473,0)
set @ary@("report","image")="report.gif"
"RTN","SAMICAS3",474,0)
;
"RTN","SAMICAS3",475,0)
set @ary@("ptform","form")="ptform"
"RTN","SAMICAS3",476,0)
set @ary@("ptform","js")="subPr"
"RTN","SAMICAS3",477,0)
set @ary@("ptform","name")="PET Evaluation"
"RTN","SAMICAS3",478,0)
set @ary@("ptform","image")="preview.gif"
"RTN","SAMICAS3",479,0)
;
"RTN","SAMICAS3",480,0)
set @ary@("bxform","form")="bxform"
"RTN","SAMICAS3",481,0)
set @ary@("bxform","js")="subPr"
"RTN","SAMICAS3",482,0)
set @ary@("bxform","name")="Biopsy"
"RTN","SAMICAS3",483,0)
set @ary@("bxform","image")="preview.gif"
"RTN","SAMICAS3",484,0)
;
"RTN","SAMICAS3",485,0)
set @ary@("rbform","form")="rbform"
"RTN","SAMICAS3",486,0)
set @ary@("rbform","js")="subPr"
"RTN","SAMICAS3",487,0)
set @ary@("rbform","name")="Intervention"
"RTN","SAMICAS3",488,0)
set @ary@("rbform","image")="preview.gif"
"RTN","SAMICAS3",489,0)
;
"RTN","SAMICAS3",490,0)
set @ary@("ceform","form")="ceform"
"RTN","SAMICAS3",491,0)
set @ary@("ceform","js")="subPr"
"RTN","SAMICAS3",492,0)
set @ary@("ceform","name")="CT Evaluation"
"RTN","SAMICAS3",493,0)
set @ary@("ceform","image")="preview.gif"
"RTN","SAMICAS3",494,0)
;
"RTN","SAMICAS3",495,0)
;@stanza 3 termination
"RTN","SAMICAS3",496,0)
;
"RTN","SAMICAS3",497,0)
quit ; end of casetbl
"RTN","SAMICAS3",498,0)
;
"RTN","SAMICAS3",499,0)
;
"RTN","SAMICAS3",500,0)
EOR ; end of routine SAMICAS3
"RTN","SAMIRU")
0^2^B5105701
"RTN","SAMIRU",1,0)
SAMIRU ;ven/gpl - sami user reports ; 4/19/19 10:47am
"RTN","SAMIRU",2,0)
;;18.0;SAM;;;Build 1
"RTN","SAMIRU",3,0)
;
"RTN","SAMIRU",4,0)
;@license: see routine SAMIUL
"RTN","SAMIRU",5,0)
;
"RTN","SAMIRU",6,0)
; SAMIRU contains the routines to handle rural/urban status
"RTN","SAMIRU",7,0)
; It is currently untested & in progress.
"RTN","SAMIRU",8,0)
;
"RTN","SAMIRU",9,0)
quit ; no entry from top
"RTN","SAMIRU",10,0)
;
"RTN","SAMIRU",11,0)
; sirs = rural status r,u,n
"RTN","SAMIRU",12,0)
; sipsa = preferred address
"RTN","SAMIRU",13,0)
;
"RTN","SAMIRU",14,0)
; $$URBRUR^SAMIVSTA(zipcode) returns r u
"RTN","SAMIRU",15,0)
;
"RTN","SAMIRU",16,0)
; NCHS Urban-Rural graph for zip code table
"RTN","SAMIRU",17,0)
;
"RTN","SAMIRU",18,0)
INDEX ; create the zip index in the zip graph
"RTN","SAMIRU",19,0)
n root
"RTN","SAMIRU",20,0)
s root=$$setroot^%wd("NCHS Urban-Rural")
"RTN","SAMIRU",21,0)
k @root@("zip")
"RTN","SAMIRU",22,0)
n zi s zi=0
"RTN","SAMIRU",23,0)
f s zi=$o(@root@(zi)) q:+zi=0 d ;
"RTN","SAMIRU",24,0)
. n ruca30
"RTN","SAMIRU",25,0)
. s ruca30=$g(@root@(zi,"ruca30"))
"RTN","SAMIRU",26,0)
. q:ruca30=""
"RTN","SAMIRU",27,0)
. s zipcoden=$g(@root@(zi,"zipcoden"))
"RTN","SAMIRU",28,0)
. q:zipcoden=""
"RTN","SAMIRU",29,0)
. s @root@("zip",zipcoden)=ruca30
"RTN","SAMIRU",30,0)
q
"RTN","SAMIRU",31,0)
;
"RTN","SAMIRU",32,0)
WSGETRU(rtn,filter) ; web service to return counts for rural and urban
"RTN","SAMIRU",33,0)
;
"RTN","SAMIRU",34,0)
n root s root=$$setroot^%wd("vapals-patients")
"RTN","SAMIRU",35,0)
n rural,urban,unknown
"RTN","SAMIRU",36,0)
s (rural,urban,unknown)=0
"RTN","SAMIRU",37,0)
n zi s zi=0
"RTN","SAMIRU",38,0)
f s zi=$o(@root@(zi)) q:+zi=0 d ;
"RTN","SAMIRU",39,0)
. n sid s sid=$g(@root@(zi,"sisid"))
"RTN","SAMIRU",40,0)
. q:sid=""
"RTN","SAMIRU",41,0)
. n gr s gr=$na(@root@("graph",sid))
"RTN","SAMIRU",42,0)
. n siform
"RTN","SAMIRU",43,0)
. s siform=$o(@gr@("siform-"))
"RTN","SAMIRU",44,0)
. q:siform=""
"RTN","SAMIRU",45,0)
. i $g(@gr@(siform,"sirs"))="u" s urban=urban+1
"RTN","SAMIRU",46,0)
. i $g(@gr@(siform,"sirs"))="r" s rural=rural+1
"RTN","SAMIRU",47,0)
. i $g(@gr@(siform,"sirs"))="n" s unknown=unknown+1
"RTN","SAMIRU",48,0)
n rslt
"RTN","SAMIRU",49,0)
s rslt("result","urban")=urban
"RTN","SAMIRU",50,0)
s rslt("result","rural")=rural
"RTN","SAMIRU",51,0)
s rslt("result","unknown")=unknown
"RTN","SAMIRU",52,0)
s rslt("result","site")="VA-PALS Test"
"RTN","SAMIRU",53,0)
d ENCODE^VPRJSON("rslt","rtn")
"RTN","SAMIRU",54,0)
q
"RTN","SAMIRU",55,0)
;
"RTN","SAMIRU",56,0)
WSZIPRU(rtn,filter) ;
"RTN","SAMIRU",57,0)
n zzip s zzip=$g(filter("zip"))
"RTN","SAMIRU",58,0)
n rslt,ru
"RTN","SAMIRU",59,0)
s ru=$$URBRUR^SAMIVSTA(zzip)
"RTN","SAMIRU",60,0)
if (ru'="u")&(ru'="r") s ru="n"
"RTN","SAMIRU",61,0)
s rslt("result")=ru
"RTN","SAMIRU",62,0)
d ENCODE^VPRJSON("rslt","rtn")
"RTN","SAMIRU",63,0)
q
"RTN","SAMIRU",64,0)
;
"VER")
8.0^22.2
**END**
**END**
| Genshi | 4 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-3/sami-1.18.0.3-i3.kid | [
"Apache-2.0"
] |
@{ ModuleVersion = '1.0'; NestedModules = 'D:\PowerShell\test\powershell\Modules\Microsoft.PowerShell.Security\Modules\ImportUnTrustedManifestWithBinFnExport_System32.dll'; CmdletsToExport = 'Invoke-Hello' }
| PowerShell | 2 | vedhasp/PowerShell | test/powershell/Modules/Microsoft.PowerShell.Security/Modules/ImportUnTrustedManifestWithBinFnExport.psd1 | [
"MIT"
] |
--TEST--
Bug #79393 (Null coalescing operator failing with SplFixedArray)
--FILE--
<?php
$foo = new SplFixedArray(5);
$foo[0] = 'bar1';
$foo[1] = 'bar2';
$foo[2] = 0;
$foo[3] = false;
$foo[4] = '';
var_dump($foo[0] ?? null);
var_dump($foo[1] ?? null);
var_dump($foo[2] ?? null);
var_dump($foo[3] ?? null);
var_dump($foo[4] ?? null);
var_dump($foo[5] ?? null);
?>
--EXPECT--
string(4) "bar1"
string(4) "bar2"
int(0)
bool(false)
string(0) ""
NULL
| PHP | 3 | thiagooak/php-src | ext/spl/tests/bug79393.phpt | [
"PHP-3.01"
] |
/*
* Comment 1
*/
#header {
/*
* Comment 2
*/
color: red;
}
@media only screen and (max-width: 600px) {
/*
* Comment 3
*/
body {
background-color: lightblue; /* Comment 4 */
color: red; /* Comment 5 */
}
}
| CSS | 3 | fuelingtheweb/prettier | tests/css_comments/CRLF.css | [
"MIT"
] |
(*
Module: PamConf
Parses /etc/pam.conf files
Author: Dominic Cleal <[email protected]>
About: Reference
This lens tries to keep as close as possible to `man pam.conf` where
possible.
About: Licence
This file is licensed under the LGPL v2+, like the rest of Augeas.
About: Lens Usage
About: Configuration files
This lens applies to /etc/pam.conf. See <filter>.
*)
module PamConf =
autoload xfm
(************************************************************************
* Group: USEFUL PRIMITIVES
*************************************************************************)
let indent = Util.indent
let comment = Util.comment
let empty = Util.empty
let include = Pam.include
let service = Rx.word
(************************************************************************
* Group: LENSES
*************************************************************************)
let record = [ seq "record" . indent .
[ label "service" . store service ] .
Sep.space .
Pam.record ]
let lns = ( empty | comment | include | record ) *
let filter = incl "/etc/pam.conf"
let xfm = transform lns filter
(* Local Variables: *)
(* mode: caml *)
(* End: *)
| Augeas | 5 | zwass/launcher | pkg/augeas/assets/lenses/pamconf.aug | [
"MIT"
] |
insert into `notpk` values (1111, 6);
-- include some comments to inflate the file size.
-- include some comments to inflate the file size.
-- include some comments to inflate the file size.
-- include some comments to inflate the file size.
-- include some comments to inflate the file size.
-- include some comments to inflate the file size.
-- include some comments to inflate the file size.
| SQL | 0 | imtbkcat/tidb-lightning | tests/tool_1472/data/EE1472.notpk.1.sql | [
"Apache-2.0"
] |
signature webapp-wordpress {
http-reply-body /.*(<link rel=(\"|')stylesheet(\"|') [^>]+wp-content|<meta name=(\"|')generator(\"|') [^>]+WordPress[^\"]+)/
event "WordPress"
}
signature webapp-xoops {
http-reply-body /.*<meta name=(\"|')generator(\"|') [^>]+XOOPS/
event "Xoops"
}
signature webapp-phpmyadmin {
http-reply-body /.*(var pma_absolute_uri = '|PMA_sendHeaderLocation\(|<title>phpMyAdmin<\/title>)/
event "phpMyAdmin"
}
signature webapp-phppgadmin {
http-reply-body /.*(<title>phpPgAdmin<\/title>|<span class=(\"|')appname(\"|')>phpPgAdmin)/
event "phpPgAdmin"
}
signature webapp-phpbb {
http-reply-body /.*(Powered by (<a href=(\"|')[^>]+)?phpBB|<meta name=(\"|')copyright(\"|') [^>]+phpBB Group)/
event "phpBB"
}
signature webapp-joomla {
http-reply-body /.*(<meta name=(\"|')generator(\"|') [^>]+Joomla|<!\-\- JoomlaWorks \"K2\")/
http-reply-header /X-Content-Encoded-By: Joomla/
event "Joomla"
}
signature webapp-google-analytics {
http-reply-body /.*(\.google\-analytics\.com\/ga\.js|<script src=(\"|')[^\"]+google\-analytics\.com\/urchin\.js(\"|'))/
event "Google Analytics"
}
signature webapp-cpanel {
http-reply-body /.*<!-- cPanel/
event "cPanel"
}
signature webapp-mediawiki {
http-reply-body /.*(<meta name=(\"|')generator(\"|') [^>]+MediaWiki|<a[^>]+>Powered by MediaWiki<\/a>)/
event "MediaWiki"
}
signature webapp-moodle {
http-reply-body /.*(var moodleConfigFn = function\(me\)|<img[^>]+moodlelogo)/
event "Moodle"
}
signature webapp-oscommerce {
http-reply-body /.*<!-- header_eof \/\/-->/
event "osCommerce"
}
signature webapp-plesk {
http-reply-body /.*<script[^>]* src=(\"|')[^>]*common\.js\?plesk/
event "Plesk"
}
signature webapp-plone {
http-reply-body /.*<meta name=(\"|')generator(\"|') [^>]+Plone/
event "Plone"
}
signature webapp-redmine {
http-reply-body /.*(<meta name=(\"|')description(\"|')Redmine(\"|')|Powered by <a href=(\"|')[^>]+Redmine)/
event "Redmine"
}
signature webapp-trac {
http-reply-body /.*(<a id=(\"|')tracpowered)/
event "Trac"
}
signature webapp-typo3 {
http-reply-body /.*(<meta name=(\"|')generator(\"|') [^>]+TYPO3|<(script[^>]* src|link[^>]* href)=[^>]*fileadmin)/
event "Typo3"
}
signature webapp-drupal {
http-reply-body /.*(<script [^>]+drupal\.js|jQuery\.extend\(Drupal\.settings, \{|Drupal\.extend\(\{ settings: \{|<link[^>]+sites\/(default|all)\/themes\/|<style[^>]+sites\/(default|all)\/(themes|modules)\/)/
event "Drupal"
} | Standard ML | 4 | yaplej/bro | scripts/policy/protocols/http/detect-webapps.sig | [
"Apache-2.0"
] |
/*
*
* Copyright 2019 gRPC authors.
*
* 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.
*
*/
#import <GRPCClient/GRPCInterceptor.h>
NS_ASSUME_NONNULL_BEGIN
@interface RequestCacheEntry : NSObject <NSCopying>
@property(readonly, copy, nullable) NSString *path;
@property(readonly, copy, nullable) id message;
@end
@interface MutableRequestCacheEntry : RequestCacheEntry
@property(copy, nullable) NSString *path;
@property(copy, nullable) id<NSObject> message;
@end
@interface ResponseCacheEntry : NSObject <NSCopying>
@property(readonly, copy, nullable) NSDate *deadline;
@property(readonly, copy, nullable) NSDictionary *headers;
@property(readonly, copy, nullable) id message;
@property(readonly, copy, nullable) NSDictionary *trailers;
@end
@interface MutableResponseCacheEntry : ResponseCacheEntry
@property(copy, nullable) NSDate *deadline;
@property(copy, nullable) NSDictionary *headers;
@property(copy, nullable) id message;
@property(copy, nullable) NSDictionary *trailers;
@end
@interface CacheContext : NSObject <GRPCInterceptorFactory>
- (nullable instancetype)init;
- (nullable ResponseCacheEntry *)getCachedResponseForRequest:(RequestCacheEntry *)request;
- (void)setCachedResponse:(ResponseCacheEntry *)response forRequest:(RequestCacheEntry *)request;
@end
@interface CacheInterceptor : GRPCInterceptor
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (nullable instancetype)initWithInterceptorManager:
(GRPCInterceptorManager *_Nonnull)intercepterManager
cacheContext:(CacheContext *_Nonnull)cacheContext
NS_DESIGNATED_INITIALIZER;
// implementation of GRPCInterceptorInterface
- (void)startWithRequestOptions:(GRPCRequestOptions *)requestOptions
callOptions:(GRPCCallOptions *)callOptions;
- (void)writeData:(id)data;
- (void)finish;
// implementation of GRPCResponseHandler
- (void)didReceiveInitialMetadata:(nullable NSDictionary *)initialMetadata;
- (void)didReceiveData:(id)data;
- (void)didCloseWithTrailingMetadata:(nullable NSDictionary *)trailingMetadata
error:(nullable NSError *)error;
@end
NS_ASSUME_NONNULL_END
| C | 4 | arghyadip01/grpc | src/objective-c/examples/InterceptorSample/InterceptorSample/CacheInterceptor.h | [
"Apache-2.0"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M8,7m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0"/>
<path
android:fillColor="@android:color/white"
android:pathData="M17.66,14.13C16.8,13.43 15.7,13 14.5,13s-2.3,0.43 -3.16,1.13C11.11,14.32 11,14.6 11,14.89l0,0.61c0,0.28 0.22,0.5 0.5,0.5h6c0.28,0 0.5,-0.22 0.5,-0.5l0,-0.61C18,14.6 17.89,14.32 17.66,14.13z"/>
<path
android:fillColor="@android:color/white"
android:pathData="M8,11c-1.84,0 -3.56,0.5 -5.03,1.37C2.36,12.73 2,13.39 2,14.09l0,1.41C2,15.78 2.22,16 2.5,16h7v-1.11c0,-0.75 0.32,-1.45 0.88,-1.91c0.54,-0.44 1.15,-0.78 1.8,-1.03C10.91,11.35 9.5,11 8,11z"/>
<path
android:fillColor="@android:color/white"
android:pathData="M14.5,10m-2,0a2,2 0,1 1,4 0a2,2 0,1 1,-4 0"/>
</vector>
| XML | 3 | Imudassir77/material-design-icons | android/action/supervisor_account/materialiconsround/black/res/drawable/round_supervisor_account_20.xml | [
"Apache-2.0"
] |
defmodule IEx.App do
@moduledoc false
use Application
def start(_type, _args) do
children = [IEx.Config, IEx.Broker, IEx.Pry]
Supervisor.start_link(children, strategy: :one_for_one, name: IEx.Supervisor)
end
end
| Elixir | 3 | doughsay/elixir | lib/iex/lib/iex/app.ex | [
"Apache-2.0"
] |
"""
BCE0022-9.boo(9,22): BCE0022: Cannot convert 'callable(int, string) as void' to 'MyCallable'.
"""
callable MyCallable(i as int) as string
def foo(i as int, a as string) as void:
pass
call as MyCallable = foo
| Boo | 3 | popcatalin81/boo | tests/testcases/errors/BCE0022-9.boo | [
"BSD-3-Clause"
] |
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -typecheck
se C
}
}
return self.B)
class a!.a: c {
public var b : d where l.Type) {
func a()
}
var b) {
func d
d() {
}
let c : d {
}
}
}
func f<d where f.e : String {
let d>: a {
var d == { }
return NSData([Byte])
}
enum b = d<A, d>
protocol a {
func a(T] = g, U) {
func f<d == nil
class A<e: P> String {
}
}
func c) -> {
typealias A {
let t: Int = a
}
typealias F = g<c
class func f(e?) in 0)
}
class a))
func b(Range<d, let b = j> e<U : S<T {
self.g == b[1
self))
}
class func g()
}
}
typealias E
typealias d where k) {
".B
(T> Any, f, A, Any, g<T, k : a {
func c(n: ()()
extension NSData {
case .b {
typealias d<f = 1, ""
case .c<T> : String {
}
}
"
protocol a {}
class b, b {
get {
typealias d.startIndex, self.g : a {
}
var b(b<B : 1]
}
}
class b: String
d: ExtensibleCollectionType>(self)
let foo as a(n: b {
c: [T: NSManagedObject {
}
map(T>(n: Array) {
case C(Any) {
}
func c(c {}
func c(x, range.a: String {
var _ = b<T
return "
func a(c())
typealias e : c {
}
}
return [][[c> {
func c
}
func b[Byte]
case .A, k : B<h : Any, A : b
| Swift | 0 | lwhsu/swift | validation-test/compiler_crashers_fixed/02097-swift-singlerawcomment-singlerawcomment.swift | [
"Apache-2.0"
] |
module Message.TopLevelMessage exposing (TopLevelMessage(..))
import Message.Callback exposing (Callback)
import Message.Message exposing (Message)
import Message.Subscription exposing (Delivery)
type TopLevelMessage
= Update Message
| Callback Callback
| DeliveryReceived Delivery
| Elm | 4 | Caprowni/concourse | web/elm/src/Message/TopLevelMessage.elm | [
"Apache-2.0"
] |
(* ::Package:: *)
(* ::Section:: *)
(*Definitions*)
(* ::Input:: *)
(*decimalFloatLiteral[x_Real,exponentWidth_Integer]:=*)
(* With[*)
(* {m=If[x==0,0,MantissaExponent[x][[1]]*10],*)
(* e=If[x==0,0,MantissaExponent[x][[2]]-1]},*)
(* StringJoin[*)
(* StringRiffle[#,""]&/@*)
(* {{#[[1]]},*)
(* If[Length[#]>1,{"."},Nothing],*)
(* If[Length[#]>1,StringPartition[#[[2]],UpTo[5]],Nothing],*)
(* If[e!=0,"e"<>If[e>0,"+","-"]<>IntegerString[e,10,exponentWidth],Nothing]}&[*)
(* StringSplit[ToString[m],"."]]]]*)
(* ::Input:: *)
(*decimalFloatLiteral[0,_]:="0"*)
(* ::Section:: *)
(*Random arguments with denser distribution near m=1*)
(* ::Input:: *)
(*SeedRandom[666]*)
(* ::Input:: *)
(*randomu=Sort[RandomReal[{-10,10},60,WorkingPrecision->20]];*)
(* ::Input:: *)
(*randomm=Sort[Select[1-RandomVariate[HalfNormalDistribution[3],60,WorkingPrecision->20],#>=0&]];*)
(* ::Input:: *)
(*randomargs=Flatten[Outer[List,randomu,randomm],1];*)
(* ::Input:: *)
(*randomvals=Map[*)
(*{*)
(*JacobiSN[#[[1]],#[[2]]],JacobiCN[#[[1]],#[[2]]],JacobiDN[#[[1]],#[[2]]],JacobiAmplitude[#[[1]],#[[2]]]}&,*)
(*randomargs];*)
(* ::Input:: *)
(*randomstrs=Map[*)
(*"entry { argument: "<>decimalFloatLiteral[#[[1]],2]<>*)
(*" argument: "<>decimalFloatLiteral[#[[2]],2]<>*)
(*" value: "<>decimalFloatLiteral[#[[3]],2]<>*)
(*" value: "<>decimalFloatLiteral[#[[4]],2]<>*)
(*" value: "<>decimalFloatLiteral[#[[5]],2]<>*)
(*" value: "<>decimalFloatLiteral[#[[6]],2]<>*)
(*"}"*)
(*&,*)
(*Join[randomargs,randomvals,2]];*)
(* ::Input:: *)
(*SetDirectory[NotebookDirectory[]]*)
(* ::Input:: *)
(*Export[*)
(*"..\\numerics\\elliptic_functions.proto.txt",*)
(*StringRiffle[randomstrs,"\n"],*)
(*"text"]*)
| Mathematica | 3 | tnuvoletta/Principia | mathematica/elliptic_functions.wl | [
"MIT"
] |
#![warn(clippy::if_then_some_else_none)]
#![feature(custom_inner_attributes)]
fn main() {
// Should issue an error.
let _ = if foo() {
println!("true!");
Some("foo")
} else {
None
};
// Should issue an error when macros are used.
let _ = if matches!(true, true) {
println!("true!");
Some(matches!(true, false))
} else {
None
};
// Should issue an error. Binary expression `o < 32` should be parenthesized.
let x = Some(5);
let _ = x.and_then(|o| if o < 32 { Some(o) } else { None });
// Should issue an error. Unary expression `!x` should be parenthesized.
let x = true;
let _ = if !x { Some(0) } else { None };
// Should not issue an error since the `else` block has a statement besides `None`.
let _ = if foo() {
println!("true!");
Some("foo")
} else {
eprintln!("false...");
None
};
// Should not issue an error since there are more than 2 blocks in the if-else chain.
let _ = if foo() {
println!("foo true!");
Some("foo")
} else if bar() {
println!("bar true!");
Some("bar")
} else {
None
};
let _ = if foo() {
println!("foo true!");
Some("foo")
} else {
bar().then(|| {
println!("bar true!");
"bar"
})
};
// Should not issue an error since the `then` block has `None`, not `Some`.
let _ = if foo() { None } else { Some("foo is false") };
// Should not issue an error since the `else` block doesn't use `None` directly.
let _ = if foo() { Some("foo is true") } else { into_none() };
// Should not issue an error since the `then` block doesn't use `Some` directly.
let _ = if foo() { into_some("foo") } else { None };
}
fn _msrv_1_49() {
#![clippy::msrv = "1.49"]
// `bool::then` was stabilized in 1.50. Do not lint this
let _ = if foo() {
println!("true!");
Some(149)
} else {
None
};
}
fn _msrv_1_50() {
#![clippy::msrv = "1.50"]
let _ = if foo() {
println!("true!");
Some(150)
} else {
None
};
}
fn foo() -> bool {
unimplemented!()
}
fn bar() -> bool {
unimplemented!()
}
fn into_some<T>(v: T) -> Option<T> {
Some(v)
}
fn into_none<T>() -> Option<T> {
None
}
// Should not warn
fn f(b: bool, v: Option<()>) -> Option<()> {
if b {
v?; // This is a potential early return, is not equivalent with `bool::then`
Some(())
} else {
None
}
}
| Rust | 4 | ohno418/rust | src/tools/clippy/tests/ui/if_then_some_else_none.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
>0& v
> v
:
^-1\+&\_$.@
| Befunge | 0 | SuprDewd/BefungeSimulator | befunge_code/codeforces_130/c.befunge | [
"MIT"
] |
export GIT_COMMITTER_NAME="Vehicle Researcher"
export GIT_COMMITTER_EMAIL="[email protected]"
export GIT_AUTHOR_NAME="Vehicle Researcher"
export GIT_AUTHOR_EMAIL="[email protected]"
export GIT_SSH_COMMAND="ssh -i /data/gitkey"
| Shell | 3 | shoes22/openpilot | release/identity.sh | [
"MIT"
] |
class MainProg : GLib.Object {
public static int main(string[] args) {
var c1 = new Class1();
c1.hello();
return 0;
}
}
| Vala | 2 | kira78/meson | test cases/vala/2 multiple files/main.vala | [
"Apache-2.0"
] |
(set-logic QF_BV)
(set-option :produce-assignments true)
(declare-const var_x (_ BitVec 8)) ; nullary function
(declare-const var_y (_ BitVec 8)) ; nullary function
(declare-const var_z (_ BitVec 8)) ; nullary function
(assert (= var_x #x01))
(assert (! (= var_y #x02) :named y_equality))
(assert (= var_z (bvadd var_x var_y)))
(check-sat)
(get-assignment)
| SMT | 4 | mauguignard/cbmc | regression/smt2_solver/get-assignment/get-assignment1.smt2 | [
"BSD-4-Clause"
] |
#Signature file v4.1
#Version 1.75.0
CLSS public abstract interface com.sun.source.doctree.DocTreeVisitor<%0 extends java.lang.Object, %1 extends java.lang.Object>
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitAttribute(com.sun.source.doctree.AttributeTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitAuthor(com.sun.source.doctree.AuthorTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitComment(com.sun.source.doctree.CommentTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitDeprecated(com.sun.source.doctree.DeprecatedTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitDocComment(com.sun.source.doctree.DocCommentTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitDocRoot(com.sun.source.doctree.DocRootTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitEndElement(com.sun.source.doctree.EndElementTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitEntity(com.sun.source.doctree.EntityTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitErroneous(com.sun.source.doctree.ErroneousTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitIdentifier(com.sun.source.doctree.IdentifierTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitInheritDoc(com.sun.source.doctree.InheritDocTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitLink(com.sun.source.doctree.LinkTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitLiteral(com.sun.source.doctree.LiteralTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitOther(com.sun.source.doctree.DocTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitParam(com.sun.source.doctree.ParamTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitReference(com.sun.source.doctree.ReferenceTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitReturn(com.sun.source.doctree.ReturnTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitSee(com.sun.source.doctree.SeeTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitSerial(com.sun.source.doctree.SerialTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitSerialData(com.sun.source.doctree.SerialDataTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitSerialField(com.sun.source.doctree.SerialFieldTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitSince(com.sun.source.doctree.SinceTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitStartElement(com.sun.source.doctree.StartElementTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitText(com.sun.source.doctree.TextTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitThrows(com.sun.source.doctree.ThrowsTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitUnknownBlockTag(com.sun.source.doctree.UnknownBlockTagTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitUnknownInlineTag(com.sun.source.doctree.UnknownInlineTagTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitValue(com.sun.source.doctree.ValueTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public abstract {com.sun.source.doctree.DocTreeVisitor%0} visitVersion(com.sun.source.doctree.VersionTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitDocType(com.sun.source.doctree.DocTypeTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitHidden(com.sun.source.doctree.HiddenTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitIndex(com.sun.source.doctree.IndexTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitProvides(com.sun.source.doctree.ProvidesTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitSummary(com.sun.source.doctree.SummaryTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitSystemProperty(com.sun.source.doctree.SystemPropertyTree,{com.sun.source.doctree.DocTreeVisitor%1})
meth public {com.sun.source.doctree.DocTreeVisitor%0} visitUses(com.sun.source.doctree.UsesTree,{com.sun.source.doctree.DocTreeVisitor%1})
CLSS public abstract interface com.sun.source.tree.TreeVisitor<%0 extends java.lang.Object, %1 extends java.lang.Object>
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitAnnotatedType(com.sun.source.tree.AnnotatedTypeTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitAnnotation(com.sun.source.tree.AnnotationTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitArrayAccess(com.sun.source.tree.ArrayAccessTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitArrayType(com.sun.source.tree.ArrayTypeTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitAssert(com.sun.source.tree.AssertTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitAssignment(com.sun.source.tree.AssignmentTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitBinary(com.sun.source.tree.BinaryTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitBindingPattern(com.sun.source.tree.BindingPatternTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitBlock(com.sun.source.tree.BlockTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitBreak(com.sun.source.tree.BreakTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitCase(com.sun.source.tree.CaseTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitCatch(com.sun.source.tree.CatchTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitClass(com.sun.source.tree.ClassTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitCompilationUnit(com.sun.source.tree.CompilationUnitTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitCompoundAssignment(com.sun.source.tree.CompoundAssignmentTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitConditionalExpression(com.sun.source.tree.ConditionalExpressionTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitContinue(com.sun.source.tree.ContinueTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitDefaultCaseLabel(com.sun.source.tree.DefaultCaseLabelTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitDoWhileLoop(com.sun.source.tree.DoWhileLoopTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitEmptyStatement(com.sun.source.tree.EmptyStatementTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitEnhancedForLoop(com.sun.source.tree.EnhancedForLoopTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitErroneous(com.sun.source.tree.ErroneousTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitExports(com.sun.source.tree.ExportsTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitExpressionStatement(com.sun.source.tree.ExpressionStatementTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitForLoop(com.sun.source.tree.ForLoopTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitGuardedPattern(com.sun.source.tree.GuardedPatternTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitIdentifier(com.sun.source.tree.IdentifierTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitIf(com.sun.source.tree.IfTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitImport(com.sun.source.tree.ImportTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitInstanceOf(com.sun.source.tree.InstanceOfTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitIntersectionType(com.sun.source.tree.IntersectionTypeTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitLabeledStatement(com.sun.source.tree.LabeledStatementTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitLambdaExpression(com.sun.source.tree.LambdaExpressionTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitLiteral(com.sun.source.tree.LiteralTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitMemberReference(com.sun.source.tree.MemberReferenceTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitMemberSelect(com.sun.source.tree.MemberSelectTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitMethod(com.sun.source.tree.MethodTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitMethodInvocation(com.sun.source.tree.MethodInvocationTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitModifiers(com.sun.source.tree.ModifiersTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitModule(com.sun.source.tree.ModuleTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitNewArray(com.sun.source.tree.NewArrayTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitNewClass(com.sun.source.tree.NewClassTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitOpens(com.sun.source.tree.OpensTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitOther(com.sun.source.tree.Tree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitPackage(com.sun.source.tree.PackageTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitParameterizedType(com.sun.source.tree.ParameterizedTypeTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitParenthesized(com.sun.source.tree.ParenthesizedTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitParenthesizedPattern(com.sun.source.tree.ParenthesizedPatternTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitPrimitiveType(com.sun.source.tree.PrimitiveTypeTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitProvides(com.sun.source.tree.ProvidesTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitRequires(com.sun.source.tree.RequiresTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitReturn(com.sun.source.tree.ReturnTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitSwitch(com.sun.source.tree.SwitchTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitSwitchExpression(com.sun.source.tree.SwitchExpressionTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitSynchronized(com.sun.source.tree.SynchronizedTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitThrow(com.sun.source.tree.ThrowTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitTry(com.sun.source.tree.TryTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitTypeCast(com.sun.source.tree.TypeCastTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitTypeParameter(com.sun.source.tree.TypeParameterTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitUnary(com.sun.source.tree.UnaryTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitUnionType(com.sun.source.tree.UnionTypeTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitUses(com.sun.source.tree.UsesTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitVariable(com.sun.source.tree.VariableTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitWhileLoop(com.sun.source.tree.WhileLoopTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitWildcard(com.sun.source.tree.WildcardTree,{com.sun.source.tree.TreeVisitor%1})
meth public abstract {com.sun.source.tree.TreeVisitor%0} visitYield(com.sun.source.tree.YieldTree,{com.sun.source.tree.TreeVisitor%1})
CLSS public com.sun.source.util.TreePathScanner<%0 extends java.lang.Object, %1 extends java.lang.Object>
cons public init()
meth public com.sun.source.util.TreePath getCurrentPath()
meth public {com.sun.source.util.TreePathScanner%0} scan(com.sun.source.tree.Tree,{com.sun.source.util.TreePathScanner%1})
meth public {com.sun.source.util.TreePathScanner%0} scan(com.sun.source.util.TreePath,{com.sun.source.util.TreePathScanner%1})
supr com.sun.source.util.TreeScanner<{com.sun.source.util.TreePathScanner%0},{com.sun.source.util.TreePathScanner%1}>
hfds path
CLSS public com.sun.source.util.TreeScanner<%0 extends java.lang.Object, %1 extends java.lang.Object>
cons public init()
intf com.sun.source.tree.TreeVisitor<{com.sun.source.util.TreeScanner%0},{com.sun.source.util.TreeScanner%1}>
meth public {com.sun.source.util.TreeScanner%0} reduce({com.sun.source.util.TreeScanner%0},{com.sun.source.util.TreeScanner%0})
meth public {com.sun.source.util.TreeScanner%0} scan(com.sun.source.tree.Tree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} scan(java.lang.Iterable<? extends com.sun.source.tree.Tree>,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitAnnotatedType(com.sun.source.tree.AnnotatedTypeTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitAnnotation(com.sun.source.tree.AnnotationTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitArrayAccess(com.sun.source.tree.ArrayAccessTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitArrayType(com.sun.source.tree.ArrayTypeTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitAssert(com.sun.source.tree.AssertTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitAssignment(com.sun.source.tree.AssignmentTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitBinary(com.sun.source.tree.BinaryTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitBindingPattern(com.sun.source.tree.BindingPatternTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitBlock(com.sun.source.tree.BlockTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitBreak(com.sun.source.tree.BreakTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitCase(com.sun.source.tree.CaseTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitCatch(com.sun.source.tree.CatchTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitClass(com.sun.source.tree.ClassTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitCompilationUnit(com.sun.source.tree.CompilationUnitTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitCompoundAssignment(com.sun.source.tree.CompoundAssignmentTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitConditionalExpression(com.sun.source.tree.ConditionalExpressionTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitContinue(com.sun.source.tree.ContinueTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitDefaultCaseLabel(com.sun.source.tree.DefaultCaseLabelTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitDoWhileLoop(com.sun.source.tree.DoWhileLoopTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitEmptyStatement(com.sun.source.tree.EmptyStatementTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitEnhancedForLoop(com.sun.source.tree.EnhancedForLoopTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitErroneous(com.sun.source.tree.ErroneousTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitExports(com.sun.source.tree.ExportsTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitExpressionStatement(com.sun.source.tree.ExpressionStatementTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitForLoop(com.sun.source.tree.ForLoopTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitGuardedPattern(com.sun.source.tree.GuardedPatternTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitIdentifier(com.sun.source.tree.IdentifierTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitIf(com.sun.source.tree.IfTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitImport(com.sun.source.tree.ImportTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitInstanceOf(com.sun.source.tree.InstanceOfTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitIntersectionType(com.sun.source.tree.IntersectionTypeTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitLabeledStatement(com.sun.source.tree.LabeledStatementTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitLambdaExpression(com.sun.source.tree.LambdaExpressionTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitLiteral(com.sun.source.tree.LiteralTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitMemberReference(com.sun.source.tree.MemberReferenceTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitMemberSelect(com.sun.source.tree.MemberSelectTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitMethod(com.sun.source.tree.MethodTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitMethodInvocation(com.sun.source.tree.MethodInvocationTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitModifiers(com.sun.source.tree.ModifiersTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitModule(com.sun.source.tree.ModuleTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitNewArray(com.sun.source.tree.NewArrayTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitNewClass(com.sun.source.tree.NewClassTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitOpens(com.sun.source.tree.OpensTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitOther(com.sun.source.tree.Tree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitPackage(com.sun.source.tree.PackageTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitParameterizedType(com.sun.source.tree.ParameterizedTypeTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitParenthesized(com.sun.source.tree.ParenthesizedTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitParenthesizedPattern(com.sun.source.tree.ParenthesizedPatternTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitPrimitiveType(com.sun.source.tree.PrimitiveTypeTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitProvides(com.sun.source.tree.ProvidesTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitRequires(com.sun.source.tree.RequiresTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitReturn(com.sun.source.tree.ReturnTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitSwitch(com.sun.source.tree.SwitchTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitSwitchExpression(com.sun.source.tree.SwitchExpressionTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitSynchronized(com.sun.source.tree.SynchronizedTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitThrow(com.sun.source.tree.ThrowTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitTry(com.sun.source.tree.TryTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitTypeCast(com.sun.source.tree.TypeCastTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitTypeParameter(com.sun.source.tree.TypeParameterTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitUnary(com.sun.source.tree.UnaryTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitUnionType(com.sun.source.tree.UnionTypeTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitUses(com.sun.source.tree.UsesTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitVariable(com.sun.source.tree.VariableTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitWhileLoop(com.sun.source.tree.WhileLoopTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitWildcard(com.sun.source.tree.WildcardTree,{com.sun.source.util.TreeScanner%1})
meth public {com.sun.source.util.TreeScanner%0} visitYield(com.sun.source.tree.YieldTree,{com.sun.source.util.TreeScanner%1})
supr java.lang.Object
CLSS public abstract interface java.io.Serializable
CLSS public abstract interface java.lang.Comparable<%0 extends java.lang.Object>
meth public abstract int compareTo({java.lang.Comparable%0})
CLSS public abstract java.lang.Enum<%0 extends java.lang.Enum<{java.lang.Enum%0}>>
cons protected init(java.lang.String,int)
intf java.io.Serializable
intf java.lang.Comparable<{java.lang.Enum%0}>
meth protected final java.lang.Object clone() throws java.lang.CloneNotSupportedException
meth protected final void finalize()
meth public final boolean equals(java.lang.Object)
meth public final int compareTo({java.lang.Enum%0})
meth public final int hashCode()
meth public final int ordinal()
meth public final java.lang.Class<{java.lang.Enum%0}> getDeclaringClass()
meth public final java.lang.String name()
meth public java.lang.String toString()
meth public static <%0 extends java.lang.Enum<{%%0}>> {%%0} valueOf(java.lang.Class<{%%0}>,java.lang.String)
supr java.lang.Object
CLSS public java.lang.Exception
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
supr java.lang.Throwable
CLSS public java.lang.Object
cons public init()
meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
meth protected void finalize() throws java.lang.Throwable
meth public boolean equals(java.lang.Object)
meth public final java.lang.Class<?> getClass()
meth public final void notify()
meth public final void notifyAll()
meth public final void wait() throws java.lang.InterruptedException
meth public final void wait(long) throws java.lang.InterruptedException
meth public final void wait(long,int) throws java.lang.InterruptedException
meth public int hashCode()
meth public java.lang.String toString()
CLSS public java.lang.Throwable
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
intf java.io.Serializable
meth public final java.lang.Throwable[] getSuppressed()
meth public final void addSuppressed(java.lang.Throwable)
meth public java.lang.StackTraceElement[] getStackTrace()
meth public java.lang.String getLocalizedMessage()
meth public java.lang.String getMessage()
meth public java.lang.String toString()
meth public java.lang.Throwable fillInStackTrace()
meth public java.lang.Throwable getCause()
meth public java.lang.Throwable initCause(java.lang.Throwable)
meth public void printStackTrace()
meth public void printStackTrace(java.io.PrintStream)
meth public void printStackTrace(java.io.PrintWriter)
meth public void setStackTrace(java.lang.StackTraceElement[])
supr java.lang.Object
CLSS public abstract interface org.netbeans.api.java.source.CancellableTask<%0 extends java.lang.Object>
intf org.netbeans.api.java.source.Task<{org.netbeans.api.java.source.CancellableTask%0}>
meth public abstract void cancel()
CLSS public abstract interface org.netbeans.api.java.source.Task<%0 extends java.lang.Object>
meth public abstract void run({org.netbeans.api.java.source.Task%0}) throws java.lang.Exception
CLSS public org.netbeans.api.java.source.support.ErrorAwareTreePathScanner<%0 extends java.lang.Object, %1 extends java.lang.Object>
cons public init()
meth public {org.netbeans.api.java.source.support.ErrorAwareTreePathScanner%0} visitCase(com.sun.source.tree.CaseTree,{org.netbeans.api.java.source.support.ErrorAwareTreePathScanner%1})
meth public {org.netbeans.api.java.source.support.ErrorAwareTreePathScanner%0} visitErroneous(com.sun.source.tree.ErroneousTree,{org.netbeans.api.java.source.support.ErrorAwareTreePathScanner%1})
supr com.sun.source.util.TreePathScanner<{org.netbeans.api.java.source.support.ErrorAwareTreePathScanner%0},{org.netbeans.api.java.source.support.ErrorAwareTreePathScanner%1}>
CLSS public abstract org.netbeans.modules.refactoring.api.AbstractRefactoring
cons protected init(org.openide.util.Lookup)
fld public final static int INIT = 0
fld public final static int PARAMETERS_CHECK = 2
fld public final static int PREPARE = 3
fld public final static int PRE_CHECK = 1
meth public final org.netbeans.modules.refactoring.api.Context getContext()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public final org.netbeans.modules.refactoring.api.Problem checkParameters()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public final org.netbeans.modules.refactoring.api.Problem fastCheckParameters()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public final org.netbeans.modules.refactoring.api.Problem preCheck()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public final org.netbeans.modules.refactoring.api.Problem prepare(org.netbeans.modules.refactoring.api.RefactoringSession)
anno 0 org.netbeans.api.annotations.common.CheckForNull()
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public final org.openide.util.Lookup getRefactoringSource()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public final void addProgressListener(org.netbeans.modules.refactoring.api.ProgressListener)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public final void cancelRequest()
meth public final void removeProgressListener(org.netbeans.modules.refactoring.api.ProgressListener)
anno 1 org.netbeans.api.annotations.common.NonNull()
supr java.lang.Object
hfds PLUGIN_STEPS,cancel,currentState,filtersDescription,gbHandlers,plugins,pluginsWithProgress,progressListener,progressSupport,refactoringSource,scope
hcls ProgressL
CLSS public final org.netbeans.modules.refactoring.java.api.ChangeParametersRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
innr public final static ParameterInfo
meth public boolean isOverloadMethod()
meth public java.lang.String getMethodName()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public java.lang.String getReturnType()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public java.util.Set<javax.lang.model.element.Modifier> getModifiers()
meth public org.netbeans.modules.refactoring.java.api.ChangeParametersRefactoring$ParameterInfo[] getParameterInfo()
meth public void setMethodName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NullAllowed()
meth public void setModifiers(java.util.Set<javax.lang.model.element.Modifier>)
meth public void setOverloadMethod(boolean)
meth public void setParameterInfo(org.netbeans.modules.refactoring.java.api.ChangeParametersRefactoring$ParameterInfo[])
meth public void setReturnType(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NullAllowed()
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds methodName,modifiers,overloadMethod,paramTable,returnType,selectedObject
CLSS public final static org.netbeans.modules.refactoring.java.api.ChangeParametersRefactoring$ParameterInfo
outer org.netbeans.modules.refactoring.java.api.ChangeParametersRefactoring
cons public init(int)
cons public init(int,java.lang.String,java.lang.String,java.lang.String)
meth public int getOriginalIndex()
meth public java.lang.String getDefaultValue()
meth public java.lang.String getName()
meth public java.lang.String getType()
supr java.lang.Object
hfds defaultVal,name,origIndex,type
CLSS public final org.netbeans.modules.refactoring.java.api.EncapsulateFieldRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public boolean isAlwaysUseAccessors()
meth public boolean isGeneratePropertyChangeSupport()
meth public boolean isGenerateVetoableChangeSupport()
meth public java.lang.String getGetterName()
meth public java.lang.String getSetterName()
meth public java.util.Set<javax.lang.model.element.Modifier> getFieldModifiers()
meth public java.util.Set<javax.lang.model.element.Modifier> getMethodModifiers()
meth public org.netbeans.api.java.source.TreePathHandle getSourceType()
meth public void setAlwaysUseAccessors(boolean)
meth public void setFieldModifiers(java.util.Set<javax.lang.model.element.Modifier>)
meth public void setGeneratePropertyChangeSupport(boolean)
meth public void setGenerateVetoableSupport(boolean)
meth public void setGetterName(java.lang.String)
meth public void setMethodModifiers(java.util.Set<javax.lang.model.element.Modifier>)
meth public void setSetterName(java.lang.String)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds alwaysUseAccessors,fieldModifiers,getterName,isGeneratePropertyChangeSupport,isGenerateVetoableSupport,methodModifiers,setterName
CLSS public final org.netbeans.modules.refactoring.java.api.ExtractInterfaceRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public java.lang.String getInterfaceName()
meth public java.util.List<org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.ExecutableElement>> getMethods()
meth public java.util.List<org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.VariableElement>> getFields()
meth public java.util.List<org.netbeans.api.java.source.TypeMirrorHandle<javax.lang.model.type.TypeMirror>> getImplements()
meth public org.netbeans.api.java.source.TreePathHandle getSourceType()
meth public void setFields(java.util.List<org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.VariableElement>>)
meth public void setImplements(java.util.List<org.netbeans.api.java.source.TypeMirrorHandle<javax.lang.model.type.TypeMirror>>)
meth public void setInterfaceName(java.lang.String)
meth public void setMethods(java.util.List<org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.ExecutableElement>>)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds fields,ifcName,implementz,methods
CLSS public final org.netbeans.modules.refactoring.java.api.ExtractSuperclassRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public java.lang.String getSuperClassName()
meth public org.netbeans.api.java.source.TreePathHandle getSourceType()
meth public org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>>[] getMembers()
meth public void setMembers(org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>>[])
meth public void setSuperClassName(java.lang.String)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds EMPTY_MEMBERS,members,scName
CLSS public final org.netbeans.modules.refactoring.java.api.InlineRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle,org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type)
anno 1 org.netbeans.api.annotations.common.NonNull()
innr public final static !enum Type
meth public org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type getType()
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds type
CLSS public final static !enum org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type
outer org.netbeans.modules.refactoring.java.api.InlineRefactoring
fld public final static org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type CONSTANT
fld public final static org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type METHOD
fld public final static org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type TEMP
fld public final static org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type UNSUPPORTED
meth public static org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.api.InlineRefactoring$Type>
CLSS public final org.netbeans.modules.refactoring.java.api.InnerToOuterRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public java.lang.String getClassName()
meth public java.lang.String getReferenceName()
meth public org.netbeans.api.java.source.TreePathHandle getSourceType()
meth public void setClassName(java.lang.String)
meth public void setReferenceName(java.lang.String)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds className,referenceName
CLSS public final org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
anno 1 org.netbeans.api.annotations.common.NonNull()
innr public final static !enum Equality
meth public boolean getReplace()
meth public boolean getWrap()
meth public java.lang.String getNewName()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public java.lang.String getPackageName()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality getEquality()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public org.openide.filesystems.FileObject getSourceRoot()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public void setEquality(org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public void setNewName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NullAllowed()
meth public void setPackageName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NullAllowed()
meth public void setReplace(boolean)
meth public void setSourceRoot(org.openide.filesystems.FileObject)
meth public void setWrap(boolean)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds equality,newName,packageName,replace,sourceRoot,wrap
CLSS public final static !enum org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality
outer org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring
fld public final static org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality DELEGATE
fld public final static org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality GENERATE
fld public final static org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality SEPARATE
meth public static org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring$Equality>
CLSS public final org.netbeans.modules.refactoring.java.api.IntroduceParameterRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public boolean isFinal()
meth public boolean isOverloadMethod()
meth public boolean isReplaceAll()
meth public java.lang.String getParameterName()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public void setFinal(boolean)
meth public void setOverloadMethod(boolean)
meth public void setParameterName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public void setReplaceAll(boolean)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds isFinal,isReplaceAll,overloadMethod,parameterName
CLSS public final org.netbeans.modules.refactoring.java.api.InvertBooleanRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public java.lang.String getNewName()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public void setNewName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NullAllowed()
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds newName
CLSS public final org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties
cons public !varargs init(org.netbeans.api.java.source.TreePathHandle[])
anno 1 org.netbeans.api.annotations.common.NonNull()
innr public final static !enum Visibility
meth public boolean isAddDeprecated()
meth public boolean isDelegate()
meth public boolean isUpdateJavaDoc()
meth public org.netbeans.api.java.source.TreePathHandle[] getPreSelectedMembers()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility getVisibility()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public void setAddDeprecated(boolean)
meth public void setDelegate(boolean)
meth public void setUpdateJavaDoc(boolean)
meth public void setVisibility(org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility)
anno 1 org.netbeans.api.annotations.common.NonNull()
supr java.lang.Object
hfds addDeprecated,delegate,preSelectedMembers,updateJavaDoc,visibility
CLSS public final static !enum org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility
outer org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties
fld public final static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility ASIS
fld public final static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility DEFAULT
fld public final static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility ESCALATE
fld public final static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility PRIVATE
fld public final static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility PROTECTED
fld public final static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility PUBLIC
meth public static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties$Visibility>
CLSS public final org.netbeans.modules.refactoring.java.api.JavaRefactoringUtils
meth public !varargs static org.netbeans.api.java.source.ClasspathInfo getClasspathInfoFor(org.openide.filesystems.FileObject[])
meth public static <%0 extends javax.lang.model.element.Element> java.util.List<org.netbeans.api.java.source.ElementHandle<{%%0}>> elementsToHandles(java.lang.Iterable<? extends {%%0}>)
meth public static <%0 extends javax.lang.model.element.Element> java.util.List<{%%0}> handlesToElements(java.lang.Iterable<org.netbeans.api.java.source.ElementHandle<{%%0}>>,org.netbeans.api.java.source.CompilationInfo)
meth public static boolean isFromLibrary(org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>,org.netbeans.api.java.source.ClasspathInfo)
meth public static boolean isOnSourceClasspath(org.openide.filesystems.FileObject)
meth public static boolean isRefactorable(org.openide.filesystems.FileObject)
meth public static com.sun.source.util.TreePath findEnclosingClass(org.netbeans.api.java.source.CompilationInfo,com.sun.source.util.TreePath,boolean,boolean,boolean,boolean,boolean)
meth public static java.util.Collection<javax.lang.model.element.ExecutableElement> getOverriddenMethods(javax.lang.model.element.ExecutableElement,org.netbeans.api.java.source.CompilationInfo)
meth public static java.util.Collection<javax.lang.model.element.ExecutableElement> getOverridingMethods(javax.lang.model.element.ExecutableElement,org.netbeans.api.java.source.CompilationInfo)
anno 0 java.lang.Deprecated()
meth public static java.util.Collection<javax.lang.model.element.ExecutableElement> getOverridingMethods(javax.lang.model.element.ExecutableElement,org.netbeans.api.java.source.CompilationInfo,java.util.concurrent.atomic.AtomicBoolean)
meth public static java.util.Collection<javax.lang.model.element.TypeElement> getSuperTypes(javax.lang.model.element.TypeElement,org.netbeans.api.java.source.CompilationInfo,boolean)
meth public static java.util.Collection<org.netbeans.api.java.source.TreePathHandle> getInvocationsOf(org.netbeans.api.java.source.ElementHandle,org.netbeans.api.java.source.CompilationController) throws java.io.IOException
meth public static java.util.Collection<org.netbeans.api.java.source.TreePathHandle> getReferencesToMember(org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement>,org.netbeans.api.java.source.ClasspathInfo,org.netbeans.api.java.source.ElementHandle) throws java.io.IOException
meth public static java.util.List<javax.lang.model.type.TypeMirror> elementsToTypes(java.util.List<? extends javax.lang.model.element.Element>)
meth public static java.util.List<javax.lang.model.type.TypeMirror> handlesToTypes(java.lang.Iterable<? extends org.netbeans.api.java.source.TypeMirrorHandle>,org.netbeans.api.java.source.CompilationInfo)
meth public static java.util.List<org.netbeans.api.java.source.TreePathHandle> treesToHandles(com.sun.source.util.TreePath,java.lang.Iterable<? extends com.sun.source.tree.Tree>,org.netbeans.api.java.source.CompilationInfo)
meth public static java.util.List<org.netbeans.api.java.source.TreePathHandle> treesToHandles(java.lang.Iterable<? extends com.sun.source.tree.Tree>,org.netbeans.api.java.source.CompilationInfo)
meth public static java.util.List<org.netbeans.api.java.source.TypeMirrorHandle> typesToHandles(java.lang.Iterable<? extends javax.lang.model.type.TypeMirror>)
meth public static void cacheTreePathInfo(com.sun.source.util.TreePath,org.netbeans.api.java.source.CompilationInfo)
supr java.lang.Object
hcls InvocationScanner
CLSS public final org.netbeans.modules.refactoring.java.api.MemberInfo<%0 extends java.lang.Object>
innr public final static !enum Group
meth public boolean equals(java.lang.Object)
meth public boolean isMakeAbstract()
meth public int hashCode()
meth public java.lang.String getHtmlText()
meth public java.lang.String getName()
meth public java.lang.String toString()
meth public java.util.Set<javax.lang.model.element.Modifier> getModifiers()
meth public javax.swing.Icon getIcon()
meth public org.netbeans.modules.refactoring.java.api.MemberInfo$Group getGroup()
meth public static <%0 extends javax.lang.model.element.Element> org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<{%%0}>> create({%%0},org.netbeans.api.java.source.CompilationInfo)
meth public static <%0 extends javax.lang.model.element.Element> org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<{%%0}>> create({%%0},org.netbeans.api.java.source.CompilationInfo,org.netbeans.modules.refactoring.java.api.MemberInfo$Group)
meth public static <%0 extends javax.lang.model.type.TypeMirror> org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.TypeMirrorHandle<{%%0}>> create({%%0},com.sun.source.tree.Tree,org.netbeans.api.java.source.CompilationInfo)
meth public static <%0 extends javax.lang.model.type.TypeMirror> org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.TypeMirrorHandle<{%%0}>> createImplements(org.netbeans.api.java.source.TypeMirrorHandle,java.lang.String,javax.swing.Icon,java.lang.String)
meth public static org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.TreePathHandle> create(com.sun.source.util.TreePath,org.netbeans.api.java.source.CompilationInfo)
meth public void setMakeAbstract(java.lang.Boolean)
meth public void setName(java.lang.String)
meth public {org.netbeans.modules.refactoring.java.api.MemberInfo%0} getElementHandle()
supr java.lang.Object
hfds group,htmlText,icon,makeAbstract,member,modifiers,name
CLSS public final static !enum org.netbeans.modules.refactoring.java.api.MemberInfo$Group
outer org.netbeans.modules.refactoring.java.api.MemberInfo
fld public final static org.netbeans.modules.refactoring.java.api.MemberInfo$Group FIELD
fld public final static org.netbeans.modules.refactoring.java.api.MemberInfo$Group IMPLEMENTS
fld public final static org.netbeans.modules.refactoring.java.api.MemberInfo$Group METHOD
fld public final static org.netbeans.modules.refactoring.java.api.MemberInfo$Group TYPE
meth public static org.netbeans.modules.refactoring.java.api.MemberInfo$Group valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.api.MemberInfo$Group[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.api.MemberInfo$Group>
CLSS public final org.netbeans.modules.refactoring.java.api.PullUpRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement> getTargetType()
meth public org.netbeans.api.java.source.TreePathHandle getSourceType()
meth public org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>>[] getMembers()
meth public void setMembers(org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>>[])
meth public void setTargetType(org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement>)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds EMPTY_MEMBERS,members,targetType
CLSS public org.netbeans.modules.refactoring.java.api.PushDownRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public org.netbeans.api.java.source.TreePathHandle getSourceType()
meth public org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>>[] getMembers()
meth public void setMembers(org.netbeans.modules.refactoring.java.api.MemberInfo<org.netbeans.api.java.source.ElementHandle<? extends javax.lang.model.element.Element>>[])
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds EMPTY_MEMBERS,members
CLSS public final org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithBuilderRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
anno 1 org.netbeans.api.annotations.common.NonNull()
innr public final static Setter
meth public java.lang.String getBuildMethodName()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public java.lang.String getBuilderName()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public java.util.List<org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithBuilderRefactoring$Setter> getSetters()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public void setBuildMethodName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public void setBuilderName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public void setSetters(java.util.List<org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithBuilderRefactoring$Setter>)
anno 1 org.netbeans.api.annotations.common.NonNull()
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds buildMethodName,builderName,setters
CLSS public final static org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithBuilderRefactoring$Setter
outer org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithBuilderRefactoring
cons public init(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)
anno 1 org.netbeans.api.annotations.common.NonNull()
anno 2 org.netbeans.api.annotations.common.NonNull()
anno 3 org.netbeans.api.annotations.common.NullAllowed()
anno 4 org.netbeans.api.annotations.common.NonNull()
meth public boolean isOptional()
meth public java.lang.String getDefaultValue()
meth public java.lang.String getName()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public java.lang.String getType()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public java.lang.String getVarName()
anno 0 org.netbeans.api.annotations.common.NonNull()
supr java.lang.Object
hfds defaultValue,name,optional,type,varName
CLSS public final org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithFactoryRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public java.lang.String getFactoryName()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public void setFactoryName(java.lang.String)
anno 1 org.netbeans.api.annotations.common.NonNull()
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds factoryName
CLSS public final org.netbeans.modules.refactoring.java.api.UseSuperTypeRefactoring
cons public init(org.netbeans.api.java.source.TreePathHandle)
meth public org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement> getTargetSuperType()
meth public org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement>[] getCandidateSuperTypes()
meth public org.netbeans.api.java.source.TreePathHandle getTypeElement()
meth public void setTargetSuperType(org.netbeans.api.java.source.ElementHandle<javax.lang.model.element.TypeElement>)
supr org.netbeans.modules.refactoring.api.AbstractRefactoring
hfds candidateSuperTypes,javaClassHandle,superType
hcls TypeMirrorComparator
CLSS public final !enum org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants
fld public final static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants FIND_DIRECT_SUBCLASSES
fld public final static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants FIND_OVERRIDING_METHODS
fld public final static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants FIND_SUBCLASSES
fld public final static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants SEARCH_FROM_BASECLASS
fld public final static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants SEARCH_OVERLOADED
meth public static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants>
CLSS public final org.netbeans.modules.refactoring.java.api.ui.JavaRefactoringActionsFactory
meth public static org.openide.util.ContextAwareAction changeParametersAction()
meth public static org.openide.util.ContextAwareAction encapsulateFieldsAction()
meth public static org.openide.util.ContextAwareAction extractInterfaceAction()
meth public static org.openide.util.ContextAwareAction extractSuperclassAction()
meth public static org.openide.util.ContextAwareAction inlineAction()
meth public static org.openide.util.ContextAwareAction innerToOuterAction()
meth public static org.openide.util.ContextAwareAction introduceLocalExtensionAction()
meth public static org.openide.util.ContextAwareAction introduceParameterAction()
meth public static org.openide.util.ContextAwareAction pullUpAction()
meth public static org.openide.util.ContextAwareAction pushDownAction()
meth public static org.openide.util.ContextAwareAction useSuperTypeAction()
supr java.lang.Object
CLSS public final org.netbeans.modules.refactoring.java.api.ui.JavaScopeBuilder
cons public init()
meth public static org.netbeans.modules.refactoring.api.Scope open(java.lang.String,org.netbeans.modules.refactoring.api.Scope)
supr java.lang.Object
CLSS public final org.netbeans.modules.refactoring.java.spi.DiffElement
meth protected java.lang.String getNewFileContent()
meth public java.lang.String getDisplayText()
meth public java.lang.String getText()
meth public org.openide.filesystems.FileObject getParentFile()
meth public org.openide.text.PositionBounds getPosition()
meth public org.openide.util.Lookup getLookup()
meth public static org.netbeans.modules.refactoring.java.spi.DiffElement create(org.netbeans.api.java.source.ModificationResult$Difference,org.openide.filesystems.FileObject,org.netbeans.api.java.source.ModificationResult)
meth public void performChange()
meth public void setEnabled(boolean)
supr org.netbeans.modules.refactoring.spi.SimpleRefactoringElementImplementation
hfds bounds,diff,displayText,modification,newFileContent,parentFile
CLSS public abstract org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin
cons public init()
fld protected final java.util.concurrent.atomic.AtomicBoolean cancelRequested
fld protected volatile boolean cancelRequest
anno 0 java.lang.Deprecated()
innr protected TransformTask
innr protected final static !enum Phase
intf org.netbeans.modules.refactoring.spi.RefactoringPlugin
meth protected abstract org.netbeans.api.java.source.JavaSource getJavaSource(org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase)
meth protected final java.util.Collection<org.netbeans.api.java.source.ModificationResult> processFiles(java.util.Set<org.openide.filesystems.FileObject>,org.netbeans.api.java.source.CancellableTask<org.netbeans.api.java.source.WorkingCopy>) throws java.io.IOException
meth protected final java.util.Collection<org.netbeans.api.java.source.ModificationResult> processFiles(java.util.Set<org.openide.filesystems.FileObject>,org.netbeans.api.java.source.CancellableTask<org.netbeans.api.java.source.WorkingCopy>,org.netbeans.api.java.source.ClasspathInfo) throws java.io.IOException
meth protected final org.netbeans.modules.refactoring.api.Problem createAndAddElements(java.util.Set<org.openide.filesystems.FileObject>,org.netbeans.api.java.source.CancellableTask<org.netbeans.api.java.source.WorkingCopy>,org.netbeans.modules.refactoring.spi.RefactoringElementsBag,org.netbeans.modules.refactoring.api.AbstractRefactoring)
meth protected final org.netbeans.modules.refactoring.api.Problem createAndAddElements(java.util.Set<org.openide.filesystems.FileObject>,org.netbeans.api.java.source.CancellableTask<org.netbeans.api.java.source.WorkingCopy>,org.netbeans.modules.refactoring.spi.RefactoringElementsBag,org.netbeans.modules.refactoring.api.AbstractRefactoring,org.netbeans.api.java.source.ClasspathInfo)
meth protected final org.netbeans.modules.refactoring.api.Problem createProblemAndLog(org.netbeans.modules.refactoring.api.Problem,java.lang.Throwable)
meth protected final void queryFiles(java.util.Set<org.openide.filesystems.FileObject>,org.netbeans.api.java.source.CancellableTask<? extends org.netbeans.api.java.source.CompilationController>) throws java.io.IOException
meth protected final void queryFiles(java.util.Set<org.openide.filesystems.FileObject>,org.netbeans.api.java.source.CancellableTask<? extends org.netbeans.api.java.source.CompilationController>,org.netbeans.api.java.source.ClasspathInfo) throws java.io.IOException
meth protected org.netbeans.api.java.source.ClasspathInfo getClasspathInfo(org.netbeans.modules.refactoring.api.AbstractRefactoring)
meth protected org.netbeans.modules.refactoring.api.Problem checkParameters(org.netbeans.api.java.source.CompilationController) throws java.io.IOException
meth protected org.netbeans.modules.refactoring.api.Problem fastCheckParameters(org.netbeans.api.java.source.CompilationController) throws java.io.IOException
meth protected org.netbeans.modules.refactoring.api.Problem preCheck(org.netbeans.api.java.source.CompilationController) throws java.io.IOException
meth protected static org.netbeans.modules.refactoring.api.Problem createProblem(org.netbeans.modules.refactoring.api.Problem,boolean,java.lang.String)
meth protected static org.netbeans.modules.refactoring.api.Problem isElementAvail(org.netbeans.api.java.source.TreePathHandle,org.netbeans.api.java.source.CompilationInfo)
meth public org.netbeans.modules.refactoring.api.Problem checkParameters()
meth public org.netbeans.modules.refactoring.api.Problem fastCheckParameters()
meth public org.netbeans.modules.refactoring.api.Problem preCheck()
meth public static org.netbeans.modules.refactoring.spi.Transaction createTransaction(java.util.Collection<org.netbeans.api.java.source.ModificationResult>)
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public void cancelRequest()
supr org.netbeans.modules.refactoring.spi.ProgressProviderAdapter
hfds EMPTY_PATH,currentTask,workingTask
hcls WorkingTask
CLSS protected final static !enum org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase
outer org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin
fld public final static org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase CHECKPARAMETERS
fld public final static org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase FASTCHECKPARAMETERS
fld public final static org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase PRECHECK
fld public final static org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase PREPARE
meth public static org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$Phase>
CLSS protected org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask
outer org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin
cons public init(org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin,org.netbeans.modules.refactoring.java.spi.RefactoringVisitor,org.netbeans.api.java.source.TreePathHandle)
intf org.netbeans.api.java.source.CancellableTask<org.netbeans.api.java.source.WorkingCopy>
meth public void cancel()
meth public void run(org.netbeans.api.java.source.WorkingCopy) throws java.io.IOException
supr java.lang.Object
hfds treePathHandle,visitor
CLSS public final !enum org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters BINARYFILE
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters COMMENT
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters DEPENDENCY
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters IMPORT
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters PLATFORM
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters SOURCEFILE
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters TESTFILE
innr public final static !enum ReadWrite
meth public java.lang.String getKey()
meth public static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters>
hfds key
CLSS public final static !enum org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite
outer org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite READ
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite READ_WRITE
fld public final static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite WRITE
meth public java.lang.String getKey()
meth public static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite valueOf(java.lang.String)
meth public static org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite[] values()
supr java.lang.Enum<org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters$ReadWrite>
hfds key
CLSS public org.netbeans.modules.refactoring.java.spi.RefactoringVisitor
cons public init()
cons public init(boolean)
fld protected org.netbeans.api.java.source.TreeMaker make
fld protected org.netbeans.api.java.source.WorkingCopy workingCopy
intf com.sun.source.doctree.DocTreeVisitor<com.sun.source.doctree.DocTree,javax.lang.model.element.Element>
meth protected void rewrite(com.sun.source.tree.Tree,com.sun.source.doctree.DocTree,com.sun.source.doctree.DocTree)
anno 1 org.netbeans.api.annotations.common.NonNull()
anno 2 org.netbeans.api.annotations.common.NullAllowed()
anno 3 org.netbeans.api.annotations.common.NonNull()
meth protected void rewrite(com.sun.source.tree.Tree,com.sun.source.tree.Tree)
meth public com.sun.source.doctree.DocTree visitAttribute(com.sun.source.doctree.AttributeTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitAuthor(com.sun.source.doctree.AuthorTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitComment(com.sun.source.doctree.CommentTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitDeprecated(com.sun.source.doctree.DeprecatedTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitDocComment(com.sun.source.doctree.DocCommentTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitDocRoot(com.sun.source.doctree.DocRootTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitEndElement(com.sun.source.doctree.EndElementTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitEntity(com.sun.source.doctree.EntityTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitErroneous(com.sun.source.doctree.ErroneousTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitHidden(com.sun.source.doctree.HiddenTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitIdentifier(com.sun.source.doctree.IdentifierTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitIndex(com.sun.source.doctree.IndexTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitInheritDoc(com.sun.source.doctree.InheritDocTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitLink(com.sun.source.doctree.LinkTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitLiteral(com.sun.source.doctree.LiteralTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitOther(com.sun.source.doctree.DocTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitParam(com.sun.source.doctree.ParamTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitProvides(com.sun.source.doctree.ProvidesTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitReference(com.sun.source.doctree.ReferenceTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitReturn(com.sun.source.doctree.ReturnTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitSee(com.sun.source.doctree.SeeTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitSerial(com.sun.source.doctree.SerialTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitSerialData(com.sun.source.doctree.SerialDataTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitSerialField(com.sun.source.doctree.SerialFieldTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitSince(com.sun.source.doctree.SinceTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitStartElement(com.sun.source.doctree.StartElementTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitText(com.sun.source.doctree.TextTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitThrows(com.sun.source.doctree.ThrowsTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitUnknownBlockTag(com.sun.source.doctree.UnknownBlockTagTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitUnknownInlineTag(com.sun.source.doctree.UnknownInlineTagTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitUses(com.sun.source.doctree.UsesTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitValue(com.sun.source.doctree.ValueTree,javax.lang.model.element.Element)
meth public com.sun.source.doctree.DocTree visitVersion(com.sun.source.doctree.VersionTree,javax.lang.model.element.Element)
meth public com.sun.source.tree.Tree scan(com.sun.source.tree.Tree,javax.lang.model.element.Element)
meth public com.sun.source.util.DocTreePath getCurrentDocPath()
anno 0 org.netbeans.api.annotations.common.CheckForNull()
meth public void setWorkingCopy(org.netbeans.api.java.source.WorkingCopy) throws org.netbeans.modules.refactoring.java.spi.ToPhaseException
supr org.netbeans.api.java.source.support.ErrorAwareTreePathScanner<com.sun.source.tree.Tree,javax.lang.model.element.Element>
hfds docScanner
hcls DocTreePathScannerImpl
CLSS public org.netbeans.modules.refactoring.java.spi.ToPhaseException
cons public init()
supr java.lang.Exception
CLSS public org.netbeans.modules.refactoring.java.spi.ui.JavaActionsImplementationProvider
cons public init()
meth public boolean canChangeParameters(org.openide.util.Lookup)
meth public boolean canEncapsulateFields(org.openide.util.Lookup)
meth public boolean canExtractInterface(org.openide.util.Lookup)
meth public boolean canExtractSuperclass(org.openide.util.Lookup)
meth public boolean canInline(org.openide.util.Lookup)
meth public boolean canInnerToOuter(org.openide.util.Lookup)
meth public boolean canIntroduceLocalExtension(org.openide.util.Lookup)
meth public boolean canIntroduceParameter(org.openide.util.Lookup)
meth public boolean canPullUp(org.openide.util.Lookup)
meth public boolean canPushDown(org.openide.util.Lookup)
meth public boolean canUseSuperType(org.openide.util.Lookup)
meth public void doChangeParameters(org.openide.util.Lookup)
meth public void doEncapsulateFields(org.openide.util.Lookup)
meth public void doExtractInterface(org.openide.util.Lookup)
meth public void doExtractSuperclass(org.openide.util.Lookup)
meth public void doInline(org.openide.util.Lookup)
meth public void doInnerToOuter(org.openide.util.Lookup)
meth public void doIntroduceLocalExtension(org.openide.util.Lookup)
meth public void doIntroduceParameter(org.openide.util.Lookup)
meth public void doPullUp(org.openide.util.Lookup)
meth public void doPushDown(org.openide.util.Lookup)
meth public void doUseSuperType(org.openide.util.Lookup)
supr java.lang.Object
CLSS public abstract org.netbeans.modules.refactoring.java.spi.ui.JavaRefactoringActionDelegate
cons protected init(java.lang.String)
cons protected init(java.lang.String,boolean)
meth protected boolean isEnabled(org.openide.util.Lookup)
meth public abstract org.netbeans.modules.refactoring.spi.ui.RefactoringUI createRefactoringUI(org.netbeans.api.java.source.TreePathHandle,int,int,org.netbeans.api.java.source.CompilationInfo)
meth public java.lang.String getErrorMessage()
meth public static javax.swing.Action createAction(org.netbeans.modules.refactoring.java.spi.ui.JavaRefactoringActionDelegate)
supr java.lang.Object
hfds name,requiresSelection
CLSS public abstract interface org.netbeans.modules.refactoring.spi.ProgressProvider
meth public abstract void addProgressListener(org.netbeans.modules.refactoring.api.ProgressListener)
meth public abstract void removeProgressListener(org.netbeans.modules.refactoring.api.ProgressListener)
CLSS public org.netbeans.modules.refactoring.spi.ProgressProviderAdapter
cons protected init()
intf org.netbeans.modules.refactoring.spi.ProgressProvider
meth protected final void fireProgressListenerStart(int,int)
meth protected final void fireProgressListenerStep()
meth protected final void fireProgressListenerStep(int)
meth protected final void fireProgressListenerStop()
meth public void addProgressListener(org.netbeans.modules.refactoring.api.ProgressListener)
meth public void removeProgressListener(org.netbeans.modules.refactoring.api.ProgressListener)
supr java.lang.Object
hfds progressSupport
CLSS public abstract interface org.netbeans.modules.refactoring.spi.RefactoringElementImplementation
fld public final static int GUARDED = 2
fld public final static int NORMAL = 0
fld public final static int READ_ONLY = 3
fld public final static int WARNING = 1
meth public abstract boolean isEnabled()
meth public abstract int getStatus()
meth public abstract java.lang.String getDisplayText()
meth public abstract java.lang.String getText()
meth public abstract org.openide.filesystems.FileObject getParentFile()
anno 0 org.netbeans.api.annotations.common.NonNull()
meth public abstract org.openide.text.PositionBounds getPosition()
meth public abstract org.openide.util.Lookup getLookup()
meth public abstract void openInEditor()
meth public abstract void performChange()
meth public abstract void setEnabled(boolean)
meth public abstract void setStatus(int)
meth public abstract void showPreview()
meth public abstract void undoChange()
CLSS public abstract interface org.netbeans.modules.refactoring.spi.RefactoringPlugin
meth public abstract org.netbeans.modules.refactoring.api.Problem checkParameters()
meth public abstract org.netbeans.modules.refactoring.api.Problem fastCheckParameters()
meth public abstract org.netbeans.modules.refactoring.api.Problem preCheck()
meth public abstract org.netbeans.modules.refactoring.api.Problem prepare(org.netbeans.modules.refactoring.spi.RefactoringElementsBag)
meth public abstract void cancelRequest()
CLSS public abstract org.netbeans.modules.refactoring.spi.SimpleRefactoringElementImplementation
cons public init()
intf org.netbeans.modules.refactoring.spi.RefactoringElementImplementation
meth protected java.lang.String getNewFileContent()
meth public boolean isEnabled()
meth public int getStatus()
meth public void openInEditor()
meth public void setEnabled(boolean)
meth public void setStatus(int)
meth public void showPreview()
meth public void undoChange()
supr java.lang.Object
hfds enabled,status
| Standard ML | 3 | timfel/netbeans | java/refactoring.java/nbproject/org-netbeans-modules-refactoring-java.sig | [
"Apache-2.0"
] |
= Hello, AsciiDoc!
Doc Writer <[email protected]>
An introduction to http://asciidoc.org[AsciiDoc].
== First Section
* item 1
* item 2
[source,ruby]
puts "Hello, World!" | AsciiDoc | 3 | g3hxqe-contrib/verdaccio | test/unit/partials/readme/ascii.adoc | [
"MIT"
] |
--TEST--
Class cannot implement UnitEnum
--FILE--
<?php
class Foo implements UnitEnum {}
?>
--EXPECTF--
Fatal error: Non-enum class Foo cannot implement interface UnitEnum in %s on line %d
| PHP | 3 | NathanFreeman/php-src | Zend/tests/enum/no-class-implements-unit-enum.phpt | [
"PHP-3.01"
] |
<cfcomponent>
<cfset This.name = "HelloWorld">
<cfset This.Sessionmanagement="True">
<cfset This.loginstorage="session">
<cffunction name="OnRequestStart">
</cffunction>
</cfcomponent>
| ColdFusion CFC | 3 | PushpneetSingh/Hello-world | Lucee/lucee/code/Application.cfc | [
"MIT"
] |
--TEST--
statement cache
--EXTENSIONS--
oci8
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
--FILE--
<?php
// Note: with TimesTen, the column will be called "EXP"
require __DIR__."/connect.inc";
$pc = oci_pconnect($user, $password, $dbase);
$stmt = oci_parse($pc, "select 1+3 from dual");
oci_execute($stmt);
var_dump(oci_fetch_array($stmt));
$stmt = oci_parse($pc, "select 1+3 from dual");
oci_execute($stmt);
var_dump(oci_fetch_array($stmt));
echo "Done\n";
?>
--EXPECTF--
array(2) {
[0]=>
string(1) "4"
["%r(1\+3|EXP)%r"]=>
string(1) "4"
}
array(2) {
[0]=>
string(1) "4"
["%r(1\+3|EXP)%r"]=>
string(1) "4"
}
Done
| PHP | 4 | NathanFreeman/php-src | ext/oci8/tests/statement_cache.phpt | [
"PHP-3.01"
] |
Scriptname _Camp_InstinctsGlowScript extends ObjectReference
import CampUtil
import _CampInternal
MagicEffect property _Camp_SurvivalVisionEffect auto
Actor property PlayerRef auto
bool eligibleForDeletion = false
Event OnInit()
FallbackEventEmitter emitter = GetEventEmitter_InstinctsStopSearch()
emitter.RegisterFormForModEventWithFallback("Campfire_InstinctsStopSearch", "InstinctsStopSearch", self)
RegisterForSingleUpdate(5.0)
EndEvent
Event OnUpdate()
; Destroy if player stops using the ability.
if eligibleForDeletion
Destroy()
endif
if PlayerRef.HasMagicEffect(_Camp_SurvivalVisionEffect)
RegisterForSingleUpdate(5.0)
else
eligibleForDeletion = true
endif
EndEvent
Event InstinctsStopSearch()
eligibleForDeletion = true
RegisterForSingleUpdate(3.0)
endEvent
function Destroy()
UnregisterForUpdate()
FallbackEventEmitter emitter = GetEventEmitter_InstinctsStopSearch()
emitter.UnregisterFormForModEventWithFallback("Campfire_InstinctsStopSearch", self)
self.Disable(true)
self.Delete()
endFunction | Papyrus | 4 | chesko256/Campfire | Scripts/Source/_Camp_InstinctsGlowScript.psc | [
"MIT"
] |
package opal: import *;
new function getInt() {
while True {
IO.out("Insert number of terms: ");
new dynamic n = IO.read();
try {
n = int(n);
} catch ValueError {
IO.out("Invalid input. Retry.\n");
} success {
if n <= 0 {
IO.out("Invalid input. Retry.\n");
continue;
}
return int(n);
}
}
}
main {
new int n = getInt();
new int a = 0,
b = 1, c;
for i = 0; i < n; i++ {
IO.out(a, IO.endl);
c = a + b;
a = b;
b = c;
}
} | Opal | 3 | thatsOven/opal-lang | examples/fibonacci.opal | [
"MIT"
] |
(*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
[@@@warning "-67"]
type 'a unit_result = ('a, ALoc.t * Error_message.internal_error) result
type ('a, 'ctx) abstract_visitor =
options:Options.t -> (Loc.t, Loc.t) Flow_ast.Program.t -> 'ctx -> 'a
(** TypedRunner - This runner does a full local typecheck and makes available the
typed AST as well as the full context to each job. This runner is needed for
any type based transforms. It runs a full local typecheck so can be slow on
large codebases. *)
module type SIMPLE_TYPED_RUNNER_CONFIG = sig
type accumulator
val reporter : accumulator Codemod_report.t
val check_options : Options.t -> Options.t
val visit : (accumulator, Codemod_context.Typed.t) abstract_visitor
end
module type UNTYPED_RUNNER_CONFIG = sig
type accumulator
val reporter : accumulator Codemod_report.t
val visit : (accumulator, Codemod_context.Untyped.t) abstract_visitor
end
module type UNTYPED_FLOW_INIT_RUNNER_CONFIG = sig
type accumulator
val init : reader:State_reader.t -> unit
val reporter : accumulator Codemod_report.t
val visit : (accumulator, Codemod_context.UntypedFlowInit.t) abstract_visitor
end
module type TYPED_RUNNER_WITH_PREPASS_CONFIG = sig
type accumulator
type prepass_state
type prepass_result
val reporter : accumulator Codemod_report.t
val prepass_init : unit -> prepass_state
val prepass_run :
Context.t ->
prepass_state ->
File_key.t ->
Mutator_state_reader.t ->
File_sig.With_ALoc.t ->
(ALoc.t, ALoc.t * Type.t) Flow_ast.Program.t ->
prepass_result
val store_precheck_result : prepass_result unit_result Utils_js.FilenameMap.t -> unit
val visit : (accumulator, Codemod_context.Typed.t) abstract_visitor
end
module type RUNNABLE = sig
val run : genv:ServerEnv.genv -> write:bool -> repeat:bool -> Utils_js.FilenameSet.t -> unit Lwt.t
end
module MakeSimpleTypedRunner (C : SIMPLE_TYPED_RUNNER_CONFIG) : RUNNABLE
module MakeUntypedFlowInitRunner (C : UNTYPED_FLOW_INIT_RUNNER_CONFIG) : RUNNABLE
module MakeUntypedRunner (C : UNTYPED_RUNNER_CONFIG) : RUNNABLE
module MakeTypedRunnerWithPrepass (C : TYPED_RUNNER_WITH_PREPASS_CONFIG) : RUNNABLE
| OCaml | 5 | zhangmaijun/flow | src/codemods/utils/codemod_runner.mli | [
"MIT"
] |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
<title>TrackSelectionDialogBuilder (ExoPlayer library)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TrackSelectionDialogBuilder (ExoPlayer library)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.class.summary">Nested</a> | </li>
<li>Field | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding"> </div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.google.android.exoplayer2.ui</a></div>
<h2 title="Class TrackSelectionDialogBuilder" class="title">Class TrackSelectionDialogBuilder</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public final class <span class="typeNameLabel">TrackSelectionDialogBuilder</span>
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
<div class="block">Builder for a dialog with a <a href="TrackSelectionView.html" title="class in com.google.android.exoplayer2.ui"><code>TrackSelectionView</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface </code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="TrackSelectionDialogBuilder.DialogCallback.html" title="interface in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder.DialogCallback</a></span></code></th>
<td class="colLast">
<div class="block">Callback which is invoked when a track selection has been made.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(android.content.Context,java.lang.CharSequence,com.google.android.exoplayer2.trackselection.DefaultTrackSelector,int)">TrackSelectionDialogBuilder</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> title,
<a href="../trackselection/DefaultTrackSelector.html" title="class in com.google.android.exoplayer2.trackselection">DefaultTrackSelector</a> trackSelector,
int rendererIndex)</code></th>
<td class="colLast">
<div class="block">Creates a builder for a track selection dialog which automatically updates a <a href="../trackselection/DefaultTrackSelector.html" title="class in com.google.android.exoplayer2.trackselection"><code>DefaultTrackSelector</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(android.content.Context,java.lang.CharSequence,com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo,int,com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder.DialogCallback)">TrackSelectionDialogBuilder</a></span>​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> title,
<a href="../trackselection/MappingTrackSelector.MappedTrackInfo.html" title="class in com.google.android.exoplayer2.trackselection">MappingTrackSelector.MappedTrackInfo</a> mappedTrackInfo,
int rendererIndex,
<a href="TrackSelectionDialogBuilder.DialogCallback.html" title="interface in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder.DialogCallback</a> callback)</code></th>
<td class="colLast">
<div class="block">Creates a builder for a track selection dialog.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://developer.android.com/reference/android/app/Dialog.html" title="class or interface in android.app" class="externalLink" target="_top">Dialog</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
<td class="colLast">
<div class="block">Builds the dialog.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAllowAdaptiveSelections(boolean)">setAllowAdaptiveSelections</a></span>​(boolean allowAdaptiveSelections)</code></th>
<td class="colLast">
<div class="block">Sets whether adaptive selections (consisting of more than one track) can be made.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAllowMultipleOverrides(boolean)">setAllowMultipleOverrides</a></span>​(boolean allowMultipleOverrides)</code></th>
<td class="colLast">
<div class="block">Sets whether multiple overrides can be set and selected, i.e.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIsDisabled(boolean)">setIsDisabled</a></span>​(boolean isDisabled)</code></th>
<td class="colLast">
<div class="block">Sets whether the selection is initially shown as disabled.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOverride(com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride)">setOverride</a></span>​(<a href="../trackselection/DefaultTrackSelector.SelectionOverride.html" title="class in com.google.android.exoplayer2.trackselection">DefaultTrackSelector.SelectionOverride</a> override)</code></th>
<td class="colLast">
<div class="block">Sets the initial selection override to show.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOverrides(java.util.List)">setOverrides</a></span>​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="../trackselection/DefaultTrackSelector.SelectionOverride.html" title="class in com.google.android.exoplayer2.trackselection" target="_top">DefaultTrackSelector.SelectionOverride</a>> overrides)</code></th>
<td class="colLast">
<div class="block">Sets the list of initial selection overrides to show.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShowDisableOption(boolean)">setShowDisableOption</a></span>​(boolean showDisableOption)</code></th>
<td class="colLast">
<div class="block">Sets whether an option is available for disabling the renderer.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTheme(int)">setTheme</a></span>​(int themeResId)</code></th>
<td class="colLast">
<div class="block">Sets the resource ID of the theme used to inflate this dialog.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackFormatComparator(java.util.Comparator)">setTrackFormatComparator</a></span>​(<a href="https://developer.android.com/reference/java/util/Comparator.html" title="class or interface in java.util" class="externalLink">Comparator</a><<a href="../Format.html" title="class in com.google.android.exoplayer2" target="_top">Format</a>> trackFormatComparator)</code></th>
<td class="colLast">
<div class="block">Sets a <a href="https://developer.android.com/reference/java/util/Comparator.html" title="class or interface in java.util" class="externalLink" target="_top"><code>Comparator</code></a> used to determine the display order of the tracks within each track
group.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackNameProvider(com.google.android.exoplayer2.ui.TrackNameProvider)">setTrackNameProvider</a></span>​(<a href="TrackNameProvider.html" title="interface in com.google.android.exoplayer2.ui">TrackNameProvider</a> trackNameProvider)</code></th>
<td class="colLast">
<div class="block">Sets the <a href="TrackNameProvider.html" title="interface in com.google.android.exoplayer2.ui"><code>TrackNameProvider</code></a> used to generate the user visible name of each track and
updates the view with track names queried from the specified provider.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="<init>(android.content.Context,java.lang.CharSequence,com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo,int,com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder.DialogCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TrackSelectionDialogBuilder</h4>
<pre>public TrackSelectionDialogBuilder​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> title,
<a href="../trackselection/MappingTrackSelector.MappedTrackInfo.html" title="class in com.google.android.exoplayer2.trackselection">MappingTrackSelector.MappedTrackInfo</a> mappedTrackInfo,
int rendererIndex,
<a href="TrackSelectionDialogBuilder.DialogCallback.html" title="interface in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder.DialogCallback</a> callback)</pre>
<div class="block">Creates a builder for a track selection dialog.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The context of the dialog.</dd>
<dd><code>title</code> - The title of the dialog.</dd>
<dd><code>mappedTrackInfo</code> - The <a href="../trackselection/MappingTrackSelector.MappedTrackInfo.html" title="class in com.google.android.exoplayer2.trackselection"><code>MappingTrackSelector.MappedTrackInfo</code></a> containing the track information.</dd>
<dd><code>rendererIndex</code> - The renderer index in the <code>mappedTrackInfo</code> for which the track
selection is shown.</dd>
<dd><code>callback</code> - The <a href="TrackSelectionDialogBuilder.DialogCallback.html" title="interface in com.google.android.exoplayer2.ui"><code>TrackSelectionDialogBuilder.DialogCallback</code></a> invoked when a track selection has been made.</dd>
</dl>
</li>
</ul>
<a id="<init>(android.content.Context,java.lang.CharSequence,com.google.android.exoplayer2.trackselection.DefaultTrackSelector,int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TrackSelectionDialogBuilder</h4>
<pre>public TrackSelectionDialogBuilder​(<a href="https://developer.android.com/reference/android/content/Context.html" title="class or interface in android.content" class="externalLink" target="_top">Context</a> context,
<a href="https://developer.android.com/reference/java/lang/CharSequence.html" title="class or interface in java.lang" class="externalLink" target="_top">CharSequence</a> title,
<a href="../trackselection/DefaultTrackSelector.html" title="class in com.google.android.exoplayer2.trackselection">DefaultTrackSelector</a> trackSelector,
int rendererIndex)</pre>
<div class="block">Creates a builder for a track selection dialog which automatically updates a <a href="../trackselection/DefaultTrackSelector.html" title="class in com.google.android.exoplayer2.trackselection"><code>DefaultTrackSelector</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The context of the dialog.</dd>
<dd><code>title</code> - The title of the dialog.</dd>
<dd><code>trackSelector</code> - A <a href="../trackselection/DefaultTrackSelector.html" title="class in com.google.android.exoplayer2.trackselection"><code>DefaultTrackSelector</code></a> whose current selection is used to set up
the dialog and which is updated when new tracks are selected in the dialog.</dd>
<dd><code>rendererIndex</code> - The renderer index in the <code>trackSelector</code> for which the track
selection is shown.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="setTheme(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTheme</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setTheme​(@StyleRes
int themeResId)</pre>
<div class="block">Sets the resource ID of the theme used to inflate this dialog.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>themeResId</code> - The resource ID of the theme.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setIsDisabled(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIsDisabled</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setIsDisabled​(boolean isDisabled)</pre>
<div class="block">Sets whether the selection is initially shown as disabled.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>isDisabled</code> - Whether the selection is initially shown as disabled.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setOverride(com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOverride</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setOverride​(@Nullable
<a href="../trackselection/DefaultTrackSelector.SelectionOverride.html" title="class in com.google.android.exoplayer2.trackselection">DefaultTrackSelector.SelectionOverride</a> override)</pre>
<div class="block">Sets the initial selection override to show.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>override</code> - The initial override to show, or null for no override.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setOverrides(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOverrides</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setOverrides​(<a href="https://developer.android.com/reference/java/util/List.html" title="class or interface in java.util" class="externalLink">List</a><<a href="../trackselection/DefaultTrackSelector.SelectionOverride.html" title="class in com.google.android.exoplayer2.trackselection" target="_top">DefaultTrackSelector.SelectionOverride</a>> overrides)</pre>
<div class="block">Sets the list of initial selection overrides to show.
<p>Note that only the first override will be used unless <a href="#setAllowMultipleOverrides(boolean)"><code>setAllowMultipleOverrides(boolean)</code></a> is set to <code>true</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>overrides</code> - The list of initial overrides to show. There must be at most one override for
each track group.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setAllowAdaptiveSelections(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAllowAdaptiveSelections</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setAllowAdaptiveSelections​(boolean allowAdaptiveSelections)</pre>
<div class="block">Sets whether adaptive selections (consisting of more than one track) can be made.
<p>For the selection view to enable adaptive selection it is necessary both for this feature to
be enabled, and for the target renderer to support adaptation between the available tracks.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>allowAdaptiveSelections</code> - Whether adaptive selection is enabled.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setAllowMultipleOverrides(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAllowMultipleOverrides</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setAllowMultipleOverrides​(boolean allowMultipleOverrides)</pre>
<div class="block">Sets whether multiple overrides can be set and selected, i.e. tracks from multiple track groups
can be selected.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>allowMultipleOverrides</code> - Whether multiple track selection overrides are allowed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setShowDisableOption(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShowDisableOption</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setShowDisableOption​(boolean showDisableOption)</pre>
<div class="block">Sets whether an option is available for disabling the renderer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>showDisableOption</code> - Whether the disable option is shown.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This builder, for convenience.</dd>
</dl>
</li>
</ul>
<a id="setTrackFormatComparator(java.util.Comparator)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTrackFormatComparator</h4>
<pre class="methodSignature">public void setTrackFormatComparator​(@Nullable
<a href="https://developer.android.com/reference/java/util/Comparator.html" title="class or interface in java.util" class="externalLink">Comparator</a><<a href="../Format.html" title="class in com.google.android.exoplayer2" target="_top">Format</a>> trackFormatComparator)</pre>
<div class="block">Sets a <a href="https://developer.android.com/reference/java/util/Comparator.html" title="class or interface in java.util" class="externalLink" target="_top"><code>Comparator</code></a> used to determine the display order of the tracks within each track
group.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>trackFormatComparator</code> - The comparator, or <code>null</code> to use the original order.</dd>
</dl>
</li>
</ul>
<a id="setTrackNameProvider(com.google.android.exoplayer2.ui.TrackNameProvider)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTrackNameProvider</h4>
<pre class="methodSignature">public <a href="TrackSelectionDialogBuilder.html" title="class in com.google.android.exoplayer2.ui">TrackSelectionDialogBuilder</a> setTrackNameProvider​(@Nullable
<a href="TrackNameProvider.html" title="interface in com.google.android.exoplayer2.ui">TrackNameProvider</a> trackNameProvider)</pre>
<div class="block">Sets the <a href="TrackNameProvider.html" title="interface in com.google.android.exoplayer2.ui"><code>TrackNameProvider</code></a> used to generate the user visible name of each track and
updates the view with track names queried from the specified provider.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>trackNameProvider</code> - The <a href="TrackNameProvider.html" title="interface in com.google.android.exoplayer2.ui"><code>TrackNameProvider</code></a> to use, or null to use the default.</dd>
</dl>
</li>
</ul>
<a id="build()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>build</h4>
<pre class="methodSignature">public <a href="https://developer.android.com/reference/android/app/Dialog.html" title="class or interface in android.app" class="externalLink" target="_top">Dialog</a> build()</pre>
<div class="block">Builds the dialog.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.class.summary">Nested</a> | </li>
<li>Field | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>
| HTML | 4 | UniiqTV/ExoPlayer | docs/doc/reference/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.html | [
"Apache-2.0"
] |
//This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
package {
import GZ.File.RcImg;
public class Image {
public function fOpen(_oRc : RcImg): Int;
public function fDelete(_oRc : RcImg): Void;
}
} | Redcode | 3 | VLiance/GZE | src/Lib_GZ/Wrap/Image.cw | [
"Apache-2.0"
] |
#pragma once
#include <torch/csrc/jit/api/module.h>
namespace caffe2 {
namespace serialize {
class PyTorchStreamReader;
} // namespace serialize
} // namespace caffe2
namespace torch {
namespace jit {
struct CompilationUnit;
// Deserializes a model in legacy format.
Module LEGACY_deserialize(
std::shared_ptr<CompilationUnit> cu,
std::shared_ptr<caffe2::serialize::PyTorchStreamReader> reader,
const c10::optional<c10::Device>& device);
} // namespace jit
} // namespace torch
| C | 4 | Hacky-DH/pytorch | torch/csrc/jit/serialization/import_legacy.h | [
"Intel"
] |
package test;
import java.lang.annotation.*;
@Target(value=ElementType.TYPE)
public @interface AnnotationWithArguments {
String name();
String arg() default "default";
}
| Java | 4 | qussarah/declare | compiler/testData/compileKotlinAgainstJava/AnnotationWithArguments.java | [
"Apache-2.0"
] |
// (c) Copyright 1995-2015 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant any
// rights to the materials distributed herewith. Except as
// otherwise provided in a valid license issued to you by
// Xilinx, and to the maximum extent permitted by applicable
// law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
// WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES
// AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
// BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
// INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
// (2) Xilinx shall not be liable (whether in contract or tort,
// including negligence, or under any other theory of
// liability) for any loss or damage of any kind or nature
// related to, arising under or in connection with these
// materials, including for any direct, or any indirect,
// special, incidental, or consequential loss or damage
// (including loss of data, profits, goodwill, or any type of
// loss or damage suffered as a result of any action brought
// by a third party) even if such damage or loss was
// reasonably foreseeable or Xilinx had been advised of the
// possibility of the same.
//
// CRITICAL APPLICATIONS
// Xilinx products are not designed or intended to be fail-
// safe, or for use in any application requiring fail-safe
// performance, such as life-support or safety devices or
// systems, Class III medical devices, nuclear facilities,
// applications related to the deployment of airbags, or any
// other applications that could lead to death, personal
// injury, or severe property or environmental damage
// (individually and collectively, "Critical
// Applications"). Customer assumes the sole risk and
// liability of any use of Xilinx products in Critical
// Applications, subject only to applicable laws and
// regulations governing limitations on product liability.
//
// THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
// PART OF THIS FILE AT ALL TIMES.
//
// DO NOT MODIFY THIS FILE.
// IP VLNV: adapteva.com:Adapteva:eCfg:1.0
// IP Revision: 7
// The following must be inserted into your Verilog file for this
// core to be instantiated. Change the instance name and port connections
// (in parentheses) to your own signal names.
//----------- Begin Cut here for INSTANTIATION Template ---// INST_TAG
elink2_top_eCfg_0_0 your_instance_name (
.mi_dout(mi_dout), // output wire [31 : 0] mi_dout
.ecfg_sw_reset(ecfg_sw_reset), // output wire ecfg_sw_reset
.ecfg_reset(ecfg_reset), // output wire ecfg_reset
.ecfg_tx_enable(ecfg_tx_enable), // output wire ecfg_tx_enable
.ecfg_tx_mmu_mode(ecfg_tx_mmu_mode), // output wire ecfg_tx_mmu_mode
.ecfg_tx_gpio_mode(ecfg_tx_gpio_mode), // output wire ecfg_tx_gpio_mode
.ecfg_tx_ctrl_mode(ecfg_tx_ctrl_mode), // output wire [3 : 0] ecfg_tx_ctrl_mode
.ecfg_tx_clkdiv(ecfg_tx_clkdiv), // output wire [3 : 0] ecfg_tx_clkdiv
.ecfg_rx_enable(ecfg_rx_enable), // output wire ecfg_rx_enable
.ecfg_rx_mmu_mode(ecfg_rx_mmu_mode), // output wire ecfg_rx_mmu_mode
.ecfg_rx_gpio_mode(ecfg_rx_gpio_mode), // output wire ecfg_rx_gpio_mode
.ecfg_rx_loopback_mode(ecfg_rx_loopback_mode), // output wire ecfg_rx_loopback_mode
.ecfg_cclk_en(ecfg_cclk_en), // output wire ecfg_cclk_en
.ecfg_cclk_div(ecfg_cclk_div), // output wire [3 : 0] ecfg_cclk_div
.ecfg_cclk_pllcfg(ecfg_cclk_pllcfg), // output wire [3 : 0] ecfg_cclk_pllcfg
.ecfg_coreid(ecfg_coreid), // output wire [11 : 0] ecfg_coreid
.ecfg_dataout(ecfg_dataout), // output wire [10 : 0] ecfg_dataout
.mi_clk(mi_clk), // input wire mi_clk
.mi_rst(mi_rst), // input wire mi_rst
.mi_en(mi_en), // input wire mi_en
.mi_we(mi_we), // input wire mi_we
.mi_addr(mi_addr), // input wire [11 : 0] mi_addr
.mi_din(mi_din), // input wire [31 : 0] mi_din
.hw_reset(hw_reset), // input wire hw_reset
.ecfg_datain(ecfg_datain) // input wire [10 : 0] ecfg_datain
);
// INST_TAG_END ------ End INSTANTIATION Template ---------
| Verilog | 4 | security-geeks/parallella-examples | rpi-camera/parallella_7020_headless_gpiose_elink2/parallella_7020_headless_gpiose_elink2.srcs/sources_1/bd/elink2_top/ip/elink2_top_eCfg_0_0/elink2_top_eCfg_0_0.veo | [
"BSD-3-Clause"
] |
foo : List Char -> ()
foo cs = case cs of
"bar" => ()
_ => ()
| Idris | 3 | ska80/idris-jvm | tests/idris2/error017/Issue962.idr | [
"BSD-3-Clause"
] |
/* @generated */
digraph cfg {
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_1" [label="1: Start person_typeid\nFormals: \nLocals: t:int person:Person \n " color=yellow style=filled]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_1" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_11" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_2" [label="2: Exit person_typeid \n " color=yellow style=filled]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_3" [label="3: Destruction \n _fun_Person_~Person(&person:Person&) virtual [line 26]\n " shape="box"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_3" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_2" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_4" [label="4: + \n " ]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_4" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_3" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_5" [label="5: Call _fun_std::type_info_operator== \n n$0=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$0.__type_name:void,&t:int) [line 22]\n n$1=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$1.__type_name:void,&person:Person) [line 22]\n n$2=_fun_std::type_info_operator==(n$0:std::type_info const &,n$1:std::type_info const &) [line 22]\n " shape="box"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_5" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_6" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_5" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_7" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_6" [label="6: Prune (true branch) \n PRUNE((n$2 != 0), true); [line 22]\n " shape="invhouse"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_6" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_8" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_7" [label="7: Prune (false branch) \n PRUNE((n$2 == 0), false); [line 22]\n " shape="invhouse"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_7" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_9" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_8" [label="8: Return Stmt \n *&return:int=1 [line 23]\n _fun_Person_~Person(&person:Person&) virtual [line 23]\n " shape="box"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_8" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_2" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_9" [label="9: Return Stmt \n *&return:int=(1 / 0) [line 25]\n _fun_Person_~Person(&person:Person&) virtual [line 25]\n " shape="box"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_9" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_2" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_10" [label="10: DeclStmt \n *&t:int=3 [line 21]\n " shape="box"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_10" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_5" ;
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_11" [label="11: DeclStmt \n _fun_Person_Person(&person:Person*) [line 20]\n " shape="box"]
"person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_11" -> "person_typeid#_Z13person_typeidv.259e8739c3aa7b455d1b67a326ce9b09_10" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_1" [label="1: Start person_typeid_name\nFormals: \nLocals: person_type_info:char const * t_type_info:char const * t:int person:Person \n " color=yellow style=filled]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_1" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_13" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_2" [label="2: Exit person_typeid_name \n " color=yellow style=filled]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_3" [label="3: Destruction \n _fun_Person_~Person(&person:Person&) virtual [line 37]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_3" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_2" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_4" [label="4: + \n " ]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_4" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_3" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_5" [label="5: BinaryOperatorStmt: EQ \n n$0=*&t_type_info:char const * [line 33]\n n$1=*&person_type_info:char const * [line 33]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_5" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_6" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_5" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_7" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == n$1) != 0), true); [line 33]\n " shape="invhouse"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_6" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_8" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == n$1) == 0), false); [line 33]\n " shape="invhouse"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_7" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_9" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_8" [label="8: Return Stmt \n *&return:int=0 [line 34]\n _fun_Person_~Person(&person:Person&) virtual [line 34]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_8" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_2" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_9" [label="9: Return Stmt \n *&return:int=(1 / 0) [line 36]\n _fun_Person_~Person(&person:Person&) virtual [line 36]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_9" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_2" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_10" [label="10: DeclStmt \n n$2=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$2.__type_name:void,&person:Person) [line 32]\n _=*n$2:std::type_info const [line 32]\n n$4=_fun_std::type_info_name(n$2:std::type_info const &) [line 32]\n *&person_type_info:char const *=n$4 [line 32]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_10" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_5" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_11" [label="11: DeclStmt \n n$5=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$5.__type_name:void,&t:int) [line 31]\n _=*n$5:std::type_info const [line 31]\n n$7=_fun_std::type_info_name(n$5:std::type_info const &) [line 31]\n *&t_type_info:char const *=n$7 [line 31]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_11" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_10" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_12" [label="12: DeclStmt \n *&t:int=3 [line 30]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_12" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_11" ;
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_13" [label="13: DeclStmt \n _fun_Person_Person(&person:Person*) [line 29]\n " shape="box"]
"person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_13" -> "person_typeid_name#_Z18person_typeid_namev.61ab0ec473f2261bf55eb69fa502c9ca_12" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_1" [label="1: Start employee_typeid\nFormals: \nLocals: ptr:Person* employee:Employee \n " color=yellow style=filled]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_1" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_11" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_2" [label="2: Exit employee_typeid \n " color=yellow style=filled]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_3" [label="3: Destruction \n _fun_Employee_~Employee(&employee:Employee&) virtual [line 46]\n " shape="box"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_3" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_2" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_4" [label="4: + \n " ]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_4" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_3" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_5" [label="5: Call _fun_std::type_info_operator== \n n$0=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$0.__type_name:void,&employee:Employee) [line 42]\n n$1=*&ptr:Person* [line 42]\n n$2=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$2.__type_name:void,n$1:Person) [line 42]\n n$3=_fun_std::type_info_operator==(n$0:std::type_info const &,n$2:std::type_info const &) [line 42]\n " shape="box"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_5" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_6" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_5" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_7" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_6" [label="6: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 42]\n " shape="invhouse"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_6" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_8" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_7" [label="7: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 42]\n " shape="invhouse"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_7" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_9" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_8" [label="8: Return Stmt \n *&return:int=(1 / 0) [line 43]\n _fun_Employee_~Employee(&employee:Employee&) virtual [line 43]\n " shape="box"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_8" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_2" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_9" [label="9: Return Stmt \n *&return:int=0 [line 45]\n _fun_Employee_~Employee(&employee:Employee&) virtual [line 45]\n " shape="box"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_9" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_2" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_10" [label="10: DeclStmt \n *&ptr:Employee*=&employee [line 41]\n " shape="box"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_10" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_5" ;
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_11" [label="11: DeclStmt \n _fun_Employee_Employee(&employee:Employee*) [line 40]\n " shape="box"]
"employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_11" -> "employee_typeid#_Z15employee_typeidv.d5a1249d00c1531124f473b9003de8b4_10" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_1" [label="1: Start template_type_id_person\nFormals: \nLocals: person:Person \n " color=yellow style=filled]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_1" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_10" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_2" [label="2: Exit template_type_id_person \n " color=yellow style=filled]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_3" [label="3: Destruction \n _fun_Person_~Person(&person:Person&) virtual [line 68]\n " shape="box"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_3" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_2" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_4" [label="4: + \n " ]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_4" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_3" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_5" [label="5: BinaryOperatorStmt: EQ \n n$0=_fun_template_typeid<Person>(&person:Person&) [line 64]\n n$1=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$1.__type_name:void,&person:Person) [line 64]\n _=*n$1:std::type_info const [line 64]\n n$3=_fun_std::type_info_name(n$1:std::type_info const &) [line 64]\n " shape="box"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_5" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_6" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_5" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_7" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_6" [label="6: Prune (true branch) \n PRUNE(((n$0 == n$3) != 0), true); [line 64]\n " shape="invhouse"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_6" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_8" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_7" [label="7: Prune (false branch) \n PRUNE(((n$0 == n$3) == 0), false); [line 64]\n " shape="invhouse"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_7" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_9" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_8" [label="8: Return Stmt \n *&return:int=1 [line 65]\n _fun_Person_~Person(&person:Person&) virtual [line 65]\n " shape="box"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_8" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_2" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_9" [label="9: Return Stmt \n *&return:int=(1 / 0) [line 67]\n _fun_Person_~Person(&person:Person&) virtual [line 67]\n " shape="box"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_9" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_2" ;
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_10" [label="10: DeclStmt \n _fun_Person_Person(&person:Person*) [line 63]\n " shape="box"]
"template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_10" -> "template_type_id_person#_Z23template_type_id_personv.5fe9ce5a34a9724ffe6120b87e057895_5" ;
"value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_1" [label="1: Start __infer_globals_initializer_std::__numeric_type<void>::value\nFormals: \nLocals: \n " color=yellow style=filled]
"value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_1" -> "value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_3" ;
"value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_2" [label="2: Exit __infer_globals_initializer_std::__numeric_type<void>::value \n " color=yellow style=filled]
"value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_3" [label="3: DeclStmt \n *&#GB<codetoanalyze/cpp/shared/types/typeid_expr.cpp>$std::__numeric_type<void>::value:_Bool=1 [line 1697]\n " shape="box"]
"value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_3" -> "value#__numeric_type<void>#__infer_globals_initializer_std.47862f77402cf0b9a8f85342f9963960_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_1" [label="1: Start std::__convert_to_integral\nFormals: __val:int\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_3" [label="3: Return Stmt \n n$0=*&__val:int [line 4310]\n *&return:int=n$0 [line 4310]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEi.43b0259cdf1b6086b5b232de7e5ddc3b_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_1" [label="1: Start std::__convert_to_integral\nFormals: __val:int\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_3" [label="3: Return Stmt \n n$0=*&__val:int [line 4329]\n *&return:int=n$0 [line 4329]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEn.f0a547f6acd880fbe54bf8cd9fcfe151_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_1" [label="1: Start std::__convert_to_integral\nFormals: __val:unsigned int\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_3" [label="3: Return Stmt \n n$0=*&__val:unsigned int [line 4313]\n *&return:unsigned int=n$0 [line 4313]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEj.fd205920d652f02f0b9a9b89e450a068_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_1" [label="1: Start std::__convert_to_integral\nFormals: __val:unsigned int\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_3" [label="3: Return Stmt \n n$0=*&__val:unsigned int [line 4332]\n *&return:unsigned int=n$0 [line 4332]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEo.15fc37df335893286e47ebfc292083c1_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_1" [label="1: Start std::__convert_to_integral\nFormals: __val:long\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_3" [label="3: Return Stmt \n n$0=*&__val:long [line 4316]\n *&return:long=n$0 [line 4316]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEl.19b65e5b35784a4d6b1ba397569565af_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_1" [label="1: Start std::__convert_to_integral\nFormals: __val:unsigned long\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_3" [label="3: Return Stmt \n n$0=*&__val:unsigned long [line 4319]\n *&return:unsigned long=n$0 [line 4319]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEm.111d95b3f3b4d5dd40ab1add8f243f84_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_1" [label="1: Start std::__convert_to_integral\nFormals: __val:long long\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_3" [label="3: Return Stmt \n n$0=*&__val:long long [line 4322]\n *&return:long long=n$0 [line 4322]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEx.c1183c63775e8691319a0bd03664ac0c_2" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_1" [label="1: Start std::__convert_to_integral\nFormals: __val:unsigned long long\nLocals: \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_1" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_3" ;
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_2" [label="2: Exit std::__convert_to_integral \n " color=yellow style=filled]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_3" [label="3: Return Stmt \n n$0=*&__val:unsigned long long [line 4325]\n *&return:unsigned long long=n$0 [line 4325]\n " shape="box"]
"__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_3" -> "__convert_to_integral#std#_ZNSt3__121__convert_to_integralEy.4261f4b82618cc6ea34bb4631aefbdda_2" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_1" [label="1: Start person_ptr_typeid\nFormals: ptr:Person*\nLocals: person:Person \n " color=yellow style=filled]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_1" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_10" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_2" [label="2: Exit person_ptr_typeid \n " color=yellow style=filled]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_3" [label="3: Destruction \n _fun_Person_~Person(&person:Person&) virtual [line 54]\n " shape="box"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_3" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_2" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_4" [label="4: + \n " ]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_4" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_3" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_5" [label="5: BinaryOperatorStmt: EQ \n n$0=*&ptr:Person* [line 50]\n n$1=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$1.__type_name:void,n$0:Person) [line 50]\n _=*n$1:std::type_info const [line 50]\n n$3=_fun_std::type_info_name(n$1:std::type_info const &) [line 50]\n n$4=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$4.__type_name:void,&person:Person) [line 50]\n _=*n$4:std::type_info const [line 50]\n n$6=_fun_std::type_info_name(n$4:std::type_info const &) [line 50]\n " shape="box"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_5" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_6" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_5" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_7" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_6" [label="6: Prune (true branch) \n PRUNE(((n$3 == n$6) != 0), true); [line 50]\n " shape="invhouse"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_6" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_8" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_7" [label="7: Prune (false branch) \n PRUNE(((n$3 == n$6) == 0), false); [line 50]\n " shape="invhouse"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_7" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_9" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_8" [label="8: Return Stmt \n *&return:int=(1 / 0) [line 51]\n _fun_Person_~Person(&person:Person&) virtual [line 51]\n " shape="box"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_8" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_2" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_9" [label="9: Return Stmt \n *&return:int=0 [line 53]\n _fun_Person_~Person(&person:Person&) virtual [line 53]\n " shape="box"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_9" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_2" ;
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_10" [label="10: DeclStmt \n _fun_Person_Person(&person:Person*) [line 49]\n " shape="box"]
"person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_10" -> "person_ptr_typeid#_Z17person_ptr_typeidP6Person.d9adfc6b86c71441019a0fdc03c35fa6_5" ;
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_1" [label="1: Start template_typeid<Person>\nFormals: value:Person const &\nLocals: result:Person 0$?%__sil_tmpSIL_materialize_temp__n$3:Person \n " color=yellow style=filled]
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_1" -> "template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_4" ;
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_2" [label="2: Exit template_typeid<Person> \n " color=yellow style=filled]
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_3" [label="3: Return Stmt \n n$0=_fun___cxx_typeid(sizeof(std::type_info const ):void,n$0.__type_name:void) [line 59]\n _=*n$0:std::type_info const [line 59]\n n$2=_fun_std::type_info_name(n$0:std::type_info const &) [line 59]\n *&return:char const *=n$2 [line 59]\n _fun_Person_~Person(&result:Person&) virtual [line 59]\n " shape="box"]
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_3" -> "template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_2" ;
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_4" [label="4: DeclStmt \n n$4=*&value:Person const & [line 58]\n _fun_Person_Person(&0$?%__sil_tmpSIL_materialize_temp__n$3:Person const *,n$4:Person const &) [line 58]\n _fun_Person_Person(&result:Person*,&0$?%__sil_tmpSIL_materialize_temp__n$3:Person&) [line 58]\n " shape="box"]
"template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_4" -> "template_typeid<Person>#_Z15template_typeidI6PersonEPKcRKT_.a1cb4d870e3df2f09bf7a22e0fc6e5c6_3" ;
"Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_1" [label="1: Start Employee_Employee\nFormals: this:Employee*\nLocals: \n " color=yellow style=filled]
"Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_1" -> "Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_3" ;
"Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_2" [label="2: Exit Employee_Employee \n " color=yellow style=filled]
"Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_3" [label="3: Constructor Init \n n$0=*&this:Employee* [line 17]\n _fun_Person_Person(n$0:Employee*) [line 17]\n " shape="box"]
"Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_3" -> "Employee#Employee#{_ZN8EmployeeC1Ev|constexpr}.16759caee496fa04cbb5c95e71252949_2" ;
"~Employee#Employee#(_ZN6PersonD0Ev).b246750215fd295f2276d9dd33772816_1" [label="1: Start Employee_~Employee\nFormals: this:Employee*\nLocals: \n " color=yellow style=filled]
"~Employee#Employee#(_ZN6PersonD0Ev).b246750215fd295f2276d9dd33772816_1" -> "~Employee#Employee#(_ZN6PersonD0Ev).b246750215fd295f2276d9dd33772816_2" ;
"~Employee#Employee#(_ZN6PersonD0Ev).b246750215fd295f2276d9dd33772816_2" [label="2: Exit Employee_~Employee \n " color=yellow style=filled]
"Person#Person#{_ZN6PersonC1Ev|constexpr}.d3aa73a16cf65083c030acbc97a9ff15_1" [label="1: Start Person_Person\nFormals: this:Person*\nLocals: \n " color=yellow style=filled]
"Person#Person#{_ZN6PersonC1Ev|constexpr}.d3aa73a16cf65083c030acbc97a9ff15_1" -> "Person#Person#{_ZN6PersonC1Ev|constexpr}.d3aa73a16cf65083c030acbc97a9ff15_2" ;
"Person#Person#{_ZN6PersonC1Ev|constexpr}.d3aa73a16cf65083c030acbc97a9ff15_2" [label="2: Exit Person_Person \n " color=yellow style=filled]
"~Person#Person#(_ZN6PersonD0Ev).6c309af5fed23bf91f2ee6ecd26bcc41_1" [label="1: Start Person_~Person\nFormals: this:Person*\nLocals: \n " color=yellow style=filled]
"~Person#Person#(_ZN6PersonD0Ev).6c309af5fed23bf91f2ee6ecd26bcc41_1" -> "~Person#Person#(_ZN6PersonD0Ev).6c309af5fed23bf91f2ee6ecd26bcc41_2" ;
"~Person#Person#(_ZN6PersonD0Ev).6c309af5fed23bf91f2ee6ecd26bcc41_2" [label="2: Exit Person_~Person \n " color=yellow style=filled]
"Person#Person#{_ZN6PersonC1ERKS_|constexpr}.723fccb56b807554fd33d1118dcb83e1_1" [label="1: Start Person_Person\nFormals: this:Person* __param_0:Person const &\nLocals: \n " color=yellow style=filled]
"Person#Person#{_ZN6PersonC1ERKS_|constexpr}.723fccb56b807554fd33d1118dcb83e1_1" -> "Person#Person#{_ZN6PersonC1ERKS_|constexpr}.723fccb56b807554fd33d1118dcb83e1_2" ;
"Person#Person#{_ZN6PersonC1ERKS_|constexpr}.723fccb56b807554fd33d1118dcb83e1_2" [label="2: Exit Person_Person \n " color=yellow style=filled]
"bad_exception#bad_exception#std#{_ZNSt13bad_exceptionC1Ev}.9b3ad9f8b08e34cb77dd347cfc0925a2_1" [label="1: Start std::bad_exception_bad_exception\nFormals: this:std::bad_exception*\nLocals: \n " color=yellow style=filled]
"bad_exception#bad_exception#std#{_ZNSt13bad_exceptionC1Ev}.9b3ad9f8b08e34cb77dd347cfc0925a2_2" [label="2: Exit std::bad_exception_bad_exception \n " color=yellow style=filled]
"exception#exception#std#{_ZNSt9exceptionC1Ev}.5226a0e6cc026fc29eb750a66d588910_1" [label="1: Start std::exception_exception\nFormals: this:std::exception*\nLocals: \n " color=yellow style=filled]
"exception#exception#std#{_ZNSt9exceptionC1Ev}.5226a0e6cc026fc29eb750a66d588910_2" [label="2: Exit std::exception_exception \n " color=yellow style=filled]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_1" [label="1: Start std::exception_ptr_exception_ptr\nFormals: this:std::exception_ptr*\nLocals: \n " color=yellow style=filled]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_1" -> "exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_3" ;
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_2" [label="2: Exit std::exception_ptr_exception_ptr \n " color=yellow style=filled]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_3" [label="3: Constructor Init \n n$0=*&this:std::exception_ptr* [line 130]\n *n$0.__ptr_:void*=null [line 130]\n " shape="box"]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_3" -> "exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1Ev}.0c4f2ef0c0bd9280100ecba5b0fba8bd_2" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_1" [label="1: Start std::exception_ptr_operator_bool\nFormals: this:std::exception_ptr*\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool \n " color=yellow style=filled]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_1" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_4" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_2" [label="2: Exit std::exception_ptr_operator_bool \n " color=yellow style=filled]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_3" [label="3: + \n " ]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_3" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_9" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_4" [label="4: BinaryOperatorStmt: NE \n n$1=*&this:std::exception_ptr const * [line 138]\n n$2=*n$1.__ptr_:void* [line 138]\n " shape="box"]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_4" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_5" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_4" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_6" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_5" [label="5: Prune (true branch) \n PRUNE(((n$2 != null) != 0), true); [line 138]\n " shape="invhouse"]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_5" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_7" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_6" [label="6: Prune (false branch) \n PRUNE(((n$2 != null) == 0), false); [line 138]\n " shape="invhouse"]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_6" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_8" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=1 [line 138]\n " shape="box"]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_7" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_3" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=0 [line 138]\n " shape="box"]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_8" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_3" ;
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_9" [label="9: Return Stmt \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool [line 138]\n *&return:_Bool=n$3 [line 138]\n " shape="box"]
"operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_9" -> "operator_bool#exception_ptr#std#(_ZNKSt13exception_ptrcvbEv).6fac2b4e27029bcd0295f179efc6cf0f_2" ;
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_1" [label="1: Start std::exception_ptr_exception_ptr\nFormals: this:std::exception_ptr* __param_0:int\nLocals: \n " color=yellow style=filled]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_1" -> "exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_3" ;
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_2" [label="2: Exit std::exception_ptr_exception_ptr \n " color=yellow style=filled]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_3" [label="3: Constructor Init \n n$0=*&this:std::exception_ptr* [line 131]\n *n$0.__ptr_:void*=null [line 131]\n " shape="box"]
"exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_3" -> "exception_ptr#exception_ptr#std#{_ZNSt13exception_ptrC1EDn}.b23bb2147c8a8ba771e2f40d3542abc9_2" ;
"nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_1" [label="1: Start std::nested_exception_nested_ptr\nFormals: this:std::nested_exception* __return_param:std::exception_ptr*\nLocals: \n " color=yellow style=filled]
"nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_1" -> "nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_3" ;
"nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_2" [label="2: Exit std::nested_exception_nested_ptr \n " color=yellow style=filled]
"nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_3" [label="3: Return Stmt \n n$0=*&__return_param:std::exception_ptr* [line 180]\n n$1=*&this:std::nested_exception const * [line 180]\n _fun_std::exception_ptr_exception_ptr(n$0:std::exception_ptr*,n$1.__ptr_:std::exception_ptr&) [line 180]\n " shape="box"]
"nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_3" -> "nested_ptr#nested_exception#std#(_ZNKSt16nested_exception10nested_ptrEv).753e0357077fd8ac8ab8130b900014ef_2" ;
"name#type_info#std#(_ZNKSt9type_info4nameEv).8c41a474dda80a419c854969d1ab23e8_1" [label="1: Start std::type_info_name\nFormals: this:std::type_info*\nLocals: \n " color=yellow style=filled]
"name#type_info#std#(_ZNKSt9type_info4nameEv).8c41a474dda80a419c854969d1ab23e8_2" [label="2: Exit std::type_info_name \n " color=yellow style=filled]
"hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_1" [label="1: Start std::type_info_hash_code\nFormals: this:std::type_info*\nLocals: \n " color=yellow style=filled]
"hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_1" -> "hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_3" ;
"hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_2" [label="2: Exit std::type_info_hash_code \n " color=yellow style=filled]
"hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_3" [label="3: Return Stmt \n n$0=*&this:std::type_info const * [line 116]\n n$1=*n$0.__type_name:unsigned long [line 116]\n *&return:unsigned long=n$1 [line 116]\n " shape="box"]
"hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_3" -> "hash_code#type_info#std#(_ZNKSt9type_info9hash_codeEv).01675cb218ac7b3cd979914210b13e49_2" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_1" [label="1: Start std::type_info_before\nFormals: this:std::type_info* __arg:std::type_info const &\nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool \n " color=yellow style=filled]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_1" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_4" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_2" [label="2: Exit std::type_info_before \n " color=yellow style=filled]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_3" [label="3: + \n " ]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_3" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_9" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_4" [label="4: BinaryOperatorStmt: LT \n n$1=*&this:std::type_info const * [line 106]\n n$2=*n$1.__type_name:char const * [line 106]\n n$3=*&__arg:std::type_info const & [line 106]\n n$4=*n$3.__type_name:char const * [line 106]\n " shape="box"]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_4" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_5" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_4" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_6" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_5" [label="5: Prune (true branch) \n PRUNE(((n$2 < n$4) != 0), true); [line 106]\n " shape="invhouse"]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_5" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_7" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_6" [label="6: Prune (false branch) \n PRUNE(((n$2 < n$4) == 0), false); [line 106]\n " shape="invhouse"]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_6" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_8" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_7" [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=1 [line 106]\n " shape="box"]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_7" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_3" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_8" [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool=0 [line 106]\n " shape="box"]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_8" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_3" ;
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_9" [label="9: Return Stmt \n n$5=*&0$?%__sil_tmpSIL_temp_conditional___n$0:_Bool [line 106]\n *&return:_Bool=n$5 [line 106]\n " shape="box"]
"before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_9" -> "before#type_info#std#(_ZNKSt9type_info6beforeERKS_).d0ee91d1b591c9ae21397c3dface7eb7_2" ;
"operator==#type_info#std#(_ZNKSt9type_infoeqERKS_).bba3803f824984bb290007319588edac_1" [label="1: Start std::type_info_operator==\nFormals: this:std::type_info* __arg:std::type_info const &\nLocals: \n " color=yellow style=filled]
"operator==#type_info#std#(_ZNKSt9type_infoeqERKS_).bba3803f824984bb290007319588edac_2" [label="2: Exit std::type_info_operator== \n " color=yellow style=filled]
"operator!=#type_info#std#(_ZNKSt9type_infoneERKS_).b69fd72b9eb174c6136ece21a7473e28_1" [label="1: Start std::type_info_operator!=\nFormals: this:std::type_info* __arg:std::type_info const &\nLocals: \n " color=yellow style=filled]
"operator!=#type_info#std#(_ZNKSt9type_infoneERKS_).b69fd72b9eb174c6136ece21a7473e28_2" [label="2: Exit std::type_info_operator!= \n " color=yellow style=filled]
"type_info#type_info#std#{_ZNSt9type_infoC1EPKc}.95293c2b692be68318d378f77a5be8af_1" [label="1: Start std::type_info_type_info\nFormals: this:std::type_info* __n:char const *\nLocals: \n " color=yellow style=filled]
"type_info#type_info#std#{_ZNSt9type_infoC1EPKc}.95293c2b692be68318d378f77a5be8af_2" [label="2: Exit std::type_info_type_info \n " color=yellow style=filled]
}
| Graphviz (DOT) | 4 | JacobBarthelmeh/infer | infer/tests/codetoanalyze/cpp/shared/types/typeid_expr.cpp.dot | [
"MIT"
] |
module OpenCV
import Base.size
include("cv_cxx.jl")
include("cv_wrap.jl")
end | Julia | 1 | ptelang/opencv_contrib | modules/julia/gen/jl_cxx_files/OpenCV.jl | [
"Apache-2.0"
] |
program_name='debug'
#if_not_defined __NCL_LIB_DEBUG
#define __NCL_LIB_DEBUG
include 'io'
define_constant
char DEBUG_OFF = 0 // Available debug verbosity levels
char DEBUG_ERROR = 1
char DEBUG_WARN = 2
char DEBUG_INFO = 3
char DEBUG_DEBUG = 4
char DEBUG_MAX_LEVEL = 4
char DEBUG_LEVEL_STRINGS[5][16] = {
'Off',
'Error',
'Warn',
'Info',
'Debug'
}
define_variable
persistent char debug_level // Current system debug level
/**
* Returns a string representing the debug level passed.
*
* @param x an char specifying the debug level
* @return a string representing the level
*/
define_function char[5] debug_get_level_string(char x)
{
return DEBUG_LEVEL_STRINGS[x + 1]
}
/**
* Gets a numerical debug level based on it's equivalent string representation.
*
* @param x a character array containing the string to parse
* @return a character containing the numerical debug level represented
* by the content of x
*/
define_function char debug_get_level_from_string(char x[]) {
stack_var char lvl;
if (length_string(x) == 1) {
lvl = atoi(x);
if (lvl > 4) {
lvl = DEBUG_OFF;
}
}
for (lvl = length_array(DEBUG_LEVEL_STRINGS); lvl; lvl--) {
if (lower_string(x) == lower_string(DEBUG_LEVEL_STRINGS[lvl])) {
lvl = lvl - 1;
break;
}
}
return lvl;
}
/**
* Sets the current system debugging level for controlling debug message
* verbosity.
*
* @param x a char specifying the debug level to set
*/
define_function debug_set_level(char x)
{
if (x >= DEBUG_OFF && x <= DEBUG_MAX_LEVEL) {
println("'Debug level set to ', debug_get_level_string(x)")
debug_level = x
} else {
debug_msg(DEBUG_WARN, "'Invalid debug level, defaulting to ',
debug_get_level_string(DEBUG_ERROR)")
debug_set_level(DEBUG_ERROR)
}
}
/**
* Voices a debug message if required by the current debug level. All system
* messages should pass through here.
*
* If the ability to dump to a file or netorked logging service is required it
* can be added here.
*
* @param msg_level a char specifying the debug level of the message
* @param msg a string containing the debug message
*/
define_function debug_msg(char msg_level, char msg[])
{
stack_var long i,l;
stack_var char c;
stack_var char out[255];
stack_var char in[255];
if (msg_level < DEBUG_ERROR || msg_level > DEBUG_MAX_LEVEL) {
debug_msg(DEBUG_ERROR, "'invalid debug level specified - ', msg")
return
}
if (msg_level <= debug_level) {
if (FIND_STRING(msg, "$00", 1) > 0){
in = msg
out = ""
l = LENGTH_STRING(in)
for (i = 0; i < l; i++){
c = GET_BUFFER_CHAR(in)
if(c == "$00"){
out = "out,'$00'"
}else{
out = "out,c"
}
}
println("upper_string(debug_get_level_string(msg_level)),': ', out")
}else{
println("upper_string(debug_get_level_string(msg_level)),': ', msg")
}
}
}
/**
* Prints a debug message forced to hex - this avoids situations where a hex
* value is a valid ascii character
*
* @param msg_level a char specifying the debug level of the message
* @param msg a string containing the debug message to be printed as hex
*/
define_function debug_hex(char msg_level, char msg[])
{
stack_var long i,l;
stack_var char c;
stack_var char out[255];
stack_var char in[255];
if (msg_level < DEBUG_ERROR || msg_level > DEBUG_MAX_LEVEL) {
debug_msg(DEBUG_ERROR, "'invalid debug level specified - ', msg")
return
}
if (msg_level <= debug_level) {
in = msg
out = ""
l = LENGTH_STRING(in)
for (i = 0; i < l; i++){
c = GET_BUFFER_CHAR(in)
out = "out, '$', itohex(c),','"
}
println("upper_string(debug_get_level_string(msg_level)),': ',out")
}
}
/**
* Prints a debug message forced to decimal
*
* @param msg_level a char specifying the debug level of the message
* @param msg a string containing the debug message to be printed as decimal
*/
define_function debug_dec(char msg_level, char msg[])
{
stack_var long i,l;
stack_var char c;
stack_var char in[255];
if (msg_level < DEBUG_ERROR || msg_level > DEBUG_MAX_LEVEL) {
debug_msg(DEBUG_ERROR, "'invalid debug level specified - ', msg")
return
}
if (msg_level <= debug_level) {
in = msg
l = LENGTH_STRING(in)
println("'message length: ',itoa(l)")
for (i = 1; i <= l; i++){
c = GET_BUFFER_CHAR(in)
println("'[',itoa(i),'] ',itoa(c)")
}
}
}
#end_if | NetLinx | 5 | KimBurgess/netlinx-common-libraries | debug.axi | [
"MIT"
] |
' createpanel.bmx
Strict
Import MaxGui.Drivers
AppTitle = "Panel Example"
Local window:TGadget = CreateWindow( AppTitle, 100, 100, 440, 240, Null, WINDOW_TITLEBAR|WINDOW_CLIENTCOORDS|WINDOW_RESIZABLE )
' create an active panel that occupies entire window client area
Local panel:TGadget = CreatePanel(0,0,ClientWidth(window),ClientHeight(window),window,PANEL_ACTIVE)
SetGadgetLayout panel, EDGE_ALIGNED, EDGE_ALIGNED, EDGE_ALIGNED, EDGE_ALIGNED
' and add to it a smaller green panel with a sunken edge
Local panel2:TGadget = CreatePanel(10,10,200,200,panel,PANEL_ACTIVE|PANEL_SUNKEN)
SetGadgetColor(panel2,160,255,160)
' and finally a group panel with a child button
Local group:TGadget = CreatePanel(220,10,200,200,panel,PANEL_GROUP,"Group Label")
Local button:TGadget = CreateButton("Push Button",0,10,ClientWidth(group)-20,26,group)
Repeat
WaitEvent()
Print CurrentEvent.ToString()
Select EventID()
Case EVENT_WINDOWCLOSE, EVENT_APPTERMINATE
End
End Select
Forever
| BlitzMax | 4 | jabdoa2/blitzmax | mod/maxgui.mod/maxgui.mod/doc/createpanel.bmx | [
"Zlib"
] |
// verify that after encountering a semicolon after an item the parser recovers
mod M {};
//~^ ERROR expected item, found `;`
struct S {};
//~^ ERROR expected item, found `;`
fn foo(a: usize) {};
//~^ ERROR expected item, found `;`
fn main() {
struct X {}; // ok
let _: usize = S {};
//~^ ERROR mismatched types
let _: usize = X {};
//~^ ERROR mismatched types
foo("");
//~^ ERROR mismatched types
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/suggestions/recover-from-semicolon-trailing-item.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
{
"state": {
"zodiac__sign": {
"aquarius": "Vodn\u00e1\u0159",
"aries": "Beran",
"cancer": "Rak",
"capricorn": "Kozoroh",
"gemini": "Bl\u00ed\u017eenci",
"leo": "Lev",
"libra": "V\u00e1hy",
"pisces": "Ryby",
"sagittarius": "St\u0159elec",
"scorpio": "\u0160t\u00edr",
"taurus": "B\u00fdk",
"virgo": "Panna"
}
}
} | JSON | 2 | tbarbette/core | homeassistant/components/zodiac/translations/sensor.cs.json | [
"Apache-2.0"
] |
INTERFACE zif_abapgit_sap_package
PUBLIC .
TYPES:
ty_devclass_tt TYPE STANDARD TABLE OF devclass WITH DEFAULT KEY .
METHODS create
IMPORTING
!is_package TYPE scompkdtln
RAISING
zcx_abapgit_exception .
METHODS create_local
RAISING
zcx_abapgit_exception .
METHODS list_subpackages
RETURNING
VALUE(rt_list) TYPE ty_devclass_tt .
METHODS list_superpackages
RETURNING
VALUE(rt_list) TYPE ty_devclass_tt
RAISING
zcx_abapgit_exception .
METHODS read_parent
RETURNING
VALUE(rv_parentcl) TYPE tdevc-parentcl
RAISING
zcx_abapgit_exception .
METHODS create_child
IMPORTING
!iv_child TYPE devclass
RAISING
zcx_abapgit_exception .
METHODS exists
RETURNING
VALUE(rv_bool) TYPE abap_bool .
METHODS are_changes_recorded_in_tr_req
RETURNING
VALUE(rv_are_changes_rec_in_tr_req) TYPE abap_bool
RAISING
zcx_abapgit_exception .
METHODS get_transport_type
RETURNING
VALUE(rs_transport_type) TYPE zif_abapgit_definitions=>ty_transport_type
RAISING
zcx_abapgit_exception .
METHODS get_transport_layer
RETURNING
VALUE(rv_transport_layer) TYPE devlayer
RAISING
zcx_abapgit_exception .
ENDINTERFACE.
| ABAP | 4 | amit3kumar/ABAP_ALL | src/zif_abapgit_sap_package.intf.abap | [
"MIT"
] |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!319 &101100000
AvatarMask:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: UpperBody
m_Mask: 00000000010000000100000000000000000000000100000001000000010000000100000000000000000000000100000001000000
m_Elements:
- m_Path:
m_Weight: 1
- m_Path: BaseCharacter
m_Weight: 1
- m_Path: Bip001
m_Weight: 0
- m_Path: Bip001/Bip001 Footsteps
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 L Thigh/Bip001 L Calf/Bip001
L Foot/Bip001 L Toe0/Bip001 L Toe0Nub
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 R Thigh/Bip001 R Calf/Bip001
R Foot/Bip001 R Toe0/Bip001 R Toe0Nub
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1
m_Weight: 0
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
Head
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
Head/Bip001 HeadNub
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
L Clavicle
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
L Clavicle/Bip001 L UpperArm
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
L Clavicle/Bip001 L UpperArm/Bip001 L Forearm
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001 L Hand
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001 L Hand/Bip001 L Finger0
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
L Clavicle/Bip001 L UpperArm/Bip001 L Forearm/Bip001 L Hand/Bip001 L Finger0/Bip001
L Finger0Nub
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
R Clavicle
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
R Clavicle/Bip001 R UpperArm
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
R Clavicle/Bip001 R UpperArm/Bip001 R Forearm
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001 R Hand
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001 R Hand/Bip001 R Finger0
m_Weight: 1
- m_Path: Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Spine2/Bip001 Neck/Bip001
R Clavicle/Bip001 R UpperArm/Bip001 R Forearm/Bip001 R Hand/Bip001 R Finger0/Bip001
R Finger0Nub
m_Weight: 1
| Mask | 3 | anshuwap/Pixel-PUBG | Assets/Game/Sources/Models/UpperBody.mask | [
"MIT"
] |
button {
foo: 1;
}
| CSS | 0 | FlyAboveGrass/wepy | packages/compiler-stylus/test/fixtures/css/guards.css | [
"BSD-3-Clause"
] |
trait Trait {}
fn get_function<'a>() -> &'a dyn Fn() -> dyn Trait {
panic!("")
}
fn main() {
// This isn't great. The issue here is that `dyn Trait` is not sized, so
// `dyn Fn() -> dyn Trait` is not well-formed.
let t: &dyn Trait = &get_function()();
//~^ ERROR expected function, found `&dyn Fn() -> (dyn Trait + 'static)`
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/issues/issue-41139.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
#!/usr/bin/env bash
# Copyright 2018 The Kubernetes Authors.
#
# 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.
set -o errexit
set -o nounset
set -o pipefail
run_certificates_tests() {
set -o nounset
set -o errexit
kube::log::status "Testing certificates"
# approve
kubectl create -f hack/testdata/csr.yml "${kube_flags[@]:?}"
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' ''
kubectl certificate approve foo "${kube_flags[@]}"
kubectl get csr "${kube_flags[@]}" -o json
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' 'Approved'
# Describe command should respect the chunk size parameter
kube::test::describe_resource_chunk_size_assert certificatesigningrequests events
kubectl delete -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert csr "{{range.items}}{{${id_field:?}}}{{end}}" ''
kubectl create -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' ''
kubectl certificate approve -f hack/testdata/csr.yml "${kube_flags[@]}"
kubectl get csr "${kube_flags[@]}" -o json
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' 'Approved'
kubectl delete -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert csr "{{range.items}}{{$id_field}}{{end}}" ''
# deny
kubectl create -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' ''
kubectl certificate deny foo "${kube_flags[@]}"
kubectl get csr "${kube_flags[@]}" -o json
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' 'Denied'
kubectl delete -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert csr "{{range.items}}{{$id_field}}{{end}}" ''
kubectl create -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' ''
kubectl certificate deny -f hack/testdata/csr.yml "${kube_flags[@]}"
kubectl get csr "${kube_flags[@]}" -o json
kube::test::get_object_assert 'csr/foo' '{{range.status.conditions}}{{.type}}{{end}}' 'Denied'
kubectl delete -f hack/testdata/csr.yml "${kube_flags[@]}"
kube::test::get_object_assert csr "{{range.items}}{{$id_field}}{{end}}" ''
set +o nounset
set +o errexit
}
| Shell | 4 | 767829413/kubernetes | test/cmd/certificate.sh | [
"Apache-2.0"
] |
/// <reference path="fourslash.ts" />
////"" as /**/const;
verify.not.quickInfoExists(); | TypeScript | 1 | monciego/TypeScript | tests/cases/fourslash/quickInfoForConstTypeReference.ts | [
"Apache-2.0"
] |
--TEST--
SPL: RecursiveIteratorIterator::getSubIterator() with explicit level parameter
--CREDITS--
Matt Raines [email protected]
#testfest London 2009-05-09
--FILE--
<?php
$sample_array = array(1, 2, array(3, 4));
$iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator($sample_array));
$iterator->next();
$iterator->next();
$iterator->next();
var_dump($iterator->getSubIterator(-1));
var_dump($iterator->getSubIterator(0)->getArrayCopy());
var_dump($iterator->getSubIterator(1)->getArrayCopy());
var_dump($iterator->getSubIterator(2));
?>
--EXPECT--
NULL
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
array(2) {
[0]=>
int(3)
[1]=>
int(4)
}
}
array(2) {
[0]=>
int(3)
[1]=>
int(4)
}
NULL
| PHP | 3 | thiagooak/php-src | ext/spl/tests/recursiveiteratoriterator_getsubiterator_variation_003.phpt | [
"PHP-3.01"
] |
<?xml version="1.0" encoding="utf-8"?>
<configurationSectionModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="d0ed9acb-0435-4532-afdd-b5115bc4d562" namespace="BVNetwork.NotFound.Configuration" xmlSchemaNamespace="BVNetwork404HandlerConfiguration" xmlns="http://schemas.microsoft.com/dsltools/ConfigurationSectionDesigner">
<typeDefinitions>
<externalType name="String" namespace="System" />
<externalType name="Boolean" namespace="System" />
<externalType name="Int32" namespace="System" />
<externalType name="Int64" namespace="System" />
<externalType name="Single" namespace="System" />
<externalType name="Double" namespace="System" />
<externalType name="DateTime" namespace="System" />
<externalType name="TimeSpan" namespace="System" />
</typeDefinitions>
<configurationElements>
<configurationSection name="Bvn404HandlerConfiguration" codeGenOptions="Singleton, XmlnsProperty" xmlSectionName="bvn404Handler">
<attributeProperties>
<attributeProperty name="RedirectsXmlFile" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="redirectsXmlFile" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
<attributeProperty name="HandlerMode" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="handlerMode" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
<attributeProperty name="FileNotFoundPage" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="fileNotFoundPage" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
<attributeProperty name="Threshold" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="threshold" isReadOnly="false" defaultValue="-1">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/Int32" />
</type>
</attributeProperty>
<attributeProperty name="BufferSize" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="bufferSize" isReadOnly="false" defaultValue="-1">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/Int32" />
</type>
</attributeProperty>
<attributeProperty name="Logging" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="logging" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
<attributeProperty name="IgnoredResourceExtensions" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="ignoredResourceExtensions" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
<attributeProperty name="LogWithHostname" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="logWithHostname" isReadOnly="false" defaultValue="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/Boolean" />
</type>
</attributeProperty>
</attributeProperties>
<elementProperties>
<elementProperty name="Bvn404HandlerProviders" isRequired="false" isKey="false" isDefaultCollection="true" xmlName="providers" isReadOnly="false">
<type>
<configurationElementCollectionMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/Bvn404HandlerProviders" />
</type>
</elementProperty>
</elementProperties>
</configurationSection>
<configurationElementCollection name="Bvn404HandlerProviders" xmlItemName="add" codeGenOptions="Indexer, AddMethod, RemoveMethod, GetItemMethods">
<itemType>
<configurationElementMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/Bvn404HandlerProvider" />
</itemType>
</configurationElementCollection>
<configurationElement name="Bvn404HandlerProvider">
<attributeProperties>
<attributeProperty name="Name" isRequired="true" isKey="true" isDefaultCollection="false" xmlName="name" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
<attributeProperty name="Type" isRequired="false" isKey="false" isDefaultCollection="false" xmlName="type" isReadOnly="false">
<type>
<externalTypeMoniker name="/d0ed9acb-0435-4532-afdd-b5115bc4d562/String" />
</type>
</attributeProperty>
</attributeProperties>
</configurationElement>
</configurationElements>
<propertyValidators>
<validators />
</propertyValidators>
</configurationSectionModel> | Csound | 3 | baier/404handler | src/Geta.404Handler/Configuration/Bvn404HandlerConfiguration.csd | [
"Apache-2.0"
] |
$ wasm-objdump -x code/js/ch01_hw.wasm
ch01_hw.wasm: file format wasm 0x1
Section Details:
Type[5]:
- type[0] (i32) -> nil
- type[1] () -> nil
- type[2] (i32, i32) -> i32
- type[3] (i32) -> i32
- type[4] (i32, i32, i32) -> nil
Import[1]:
- func[0] sig=0 <print_char> <- env.print_char
Function[11]:
- func[1] sig=1 <main>
- func[2] sig=2 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$12wrapping_add17h804b98cc596b4beaE>
- func[3] sig=2 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$15wrapping_offset17h15f931fc13aca864E>
- func[4] sig=2 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$3add17h2957673ffa7fb5dcE>
- func[5] sig=2 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$6offset17h9773484c37f3cdc3E>
- func[6] sig=3 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$7is_null17hab6a48c9c6634120E>
- func[7] sig=2 <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$3len17h7d755ec5a1795ddbE>
- func[8] sig=4 <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$4iter17h90193f7fe9cb8be6E>
- func[9] sig=2 <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$6as_ptr17hcf74385c24d97857E>
- func[10] sig=4 <_ZN4core5slice87_$LT$impl$u20$core..iter..traits..collect..IntoIterator$u20$for$u20$$RF$$u5b$T$u5d$$GT$9into_iter17h662a6b4ca30f6fdaE>
- func[11] sig=3 <_ZN85_$LT$core..slice..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h1023e5bd6414a678E>
Table[1]:
- table[0] type=funcref initial=1 max=1
Memory[1]:
- memory[0] pages: initial=17
Global[3]:
- global[0] i32 mutable=1 - init i32=1048576
- global[1] i32 mutable=0 <__data_end> - init i32=1048590
- global[2] i32 mutable=0 <__heap_base> - init i32=1048590
Export[4]:
- memory[0] -> "memory"
- global[1] -> "__data_end"
- global[2] -> "__heap_base"
- func[1] <main> -> "main"
Code[11]:
- func[1] size=234 <main>
- func[2] size=19 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$12wrapping_add17h804b98cc596b4beaE>
- func[3] size=47 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$15wrapping_offset17h15f931fc13aca864E>
- func[4] size=19 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$3add17h2957673ffa7fb5dcE>
- func[5] size=47 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$6offset17h9773484c37f3cdc3E>
- func[6] size=37 <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$7is_null17hab6a48c9c6634120E>
- func[7] size=47 <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$3len17h7d755ec5a1795ddbE>
- func[8] size=219 <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$4iter17h90193f7fe9cb8be6E>
- func[9] size=5 <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$6as_ptr17hcf74385c24d97857E>
- func[10] size=102 <_ZN4core5slice87_$LT$impl$u20$core..iter..traits..collect..IntoIterator$u20$for$u20$$RF$$u5b$T$u5d$$GT$9into_iter17h662a6b4ca30f6fdaE>
- func[11] size=319 <_ZN85_$LT$core..slice..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h1023e5bd6414a678E>
Data[1]:
- segment[0] memory=0 size=14 - init i32=1048576
- 0100000: 4865 6c6c 6f2c 2057 6f72 6c64 210a Hello, World!.
Custom:
- name: "name"
- func[0] <print_char>
- func[1] <main>
- func[2] <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$12wrapping_add17h804b98cc596b4beaE>
- func[3] <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$15wrapping_offset17h15f931fc13aca864E>
- func[4] <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$3add17h2957673ffa7fb5dcE>
- func[5] <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$6offset17h9773484c37f3cdc3E>
- func[6] <_ZN4core3ptr33_$LT$impl$u20$$BP$const$u20$T$GT$7is_null17hab6a48c9c6634120E>
- func[7] <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$3len17h7d755ec5a1795ddbE>
- func[8] <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$4iter17h90193f7fe9cb8be6E>
- func[9] <_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$6as_ptr17hcf74385c24d97857E>
- func[10] <_ZN4core5slice87_$LT$impl$u20$core..iter..traits..collect..IntoIterator$u20$for$u20$$RF$$u5b$T$u5d$$GT$9into_iter17h662a6b4ca30f6fdaE>
- func[11] <_ZN85_$LT$core..slice..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h1023e5bd6414a678E>
| ObjDump | 2 | abc767234318/wasmgo-book | code/js/ch01_hw.wasm.objdump | [
"MIT"
] |
#!/bin/bash
SAVEPATH=./ieg/checkpoints
mkdir -p $SAVEPATH
ARCH='resnet50'
DATASET='webvisionmini'
# Train on 8 GPUs.
python3 -m ieg.main \
--dataset=${DATASET} \
--network_name=${ARCH} \
--checkpoint_path=$SAVEPATH/fsr_webvisionmini \
--method='fsr' \
--ds_include_metadata=True \
--probe_dataset_hold_ratio=0 \
--batch_size=16 \
--max_iteration=123300 \
--meta_start_epoch=20 \
--queue_capacity=5000 \
--use_pseudo_loss='all_1_0.1_1' \
--val_batch_size=50 \
--eval_freq=10000 \
--use_imagenet_as_eval=True \
--l2_weight_decay=0.0001 \
--warmup_epochs=3 \
--cos_t_mul=2 \
--cos_m_mul=0.9
| Shell | 3 | shaun95/google-research | ieg/scripts/run_fsr_webvision.sh | [
"Apache-2.0"
] |
discard """
output: "done markerproc regression"
"""
type
Version* = distinct string
Special* = distinct string
VersionRangeEnum* = enum
verLater, # > V
verEarlier, # < V
verEqLater, # >= V -- Equal or later
verEqEarlier, # <= V -- Equal or earlier
verIntersect, # > V & < V
verEq, # V
verAny, # *
verSpecial # #head
VersionRange* = ref VersionRangeObj
VersionRangeObj = object
case kind*: VersionRangeEnum
of verLater, verEarlier, verEqLater, verEqEarlier, verEq:
ver*: Version
of verSpecial:
spe*: Special
of verIntersect:
verILeft, verIRight: VersionRange
of verAny:
nil
proc foo(x: string): VersionRange =
new(result)
result.kind = verEq
result.ver = Version(x)
proc main =
var a: array[500, VersionRange]
for i in 0 ..< 500:
a[i] = foo($i & "some longer text here " & $i)
GC_fullcollect()
for i in 0 ..< 500:
let expected = $i & "some longer text here " & $i
if a[i].ver.string != expected:
quit "bug!"
echo "done markerproc regression"
main()
| Nimrod | 4 | JohnAD/Nim | tests/ccgbugs/tmarkerproc_regression.nim | [
"MIT"
] |
MODULE = APR::Request::Apache2 PACKAGE = APR::Request::Apache2
BOOT:
{
apr_version_t version;
apr_version(&version);
if (version.major != APR_MAJOR_VERSION)
Perl_croak(aTHX_ "Can't load module APR::Request::Apache2 : "
"wrong libapr major version "
"(expected %d, saw %d)",
APR_MAJOR_VERSION, version.major);
}
| XS | 3 | brianbolt/rapache | libapreq2/glue/perl/xsbuilder/APR/Request/Apache2/Apache2.xs | [
"Apache-2.0"
] |
--TEST--
JIT BOOL_NOT: 002 Incorrect function JIT for MAY_BE_DOUBLE|MAY_BE_UNDEF
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
--FILE--
<?php
function test() {
$j = 2;
for ($i = 0; $i < 10;
$a = !$i + $c[0] = 0xfff0001/34028236692903846346336*6) {
$a =!$a + $a &= 74444444 - 444 >> 4 - $j++;
if ($j > 14) break;
}
}
test();
?>
--EXPECTF--
Warning: Undefined variable $a in %sbool_not_002.php on line 6
Warning: Undefined variable $a in %sbool_not_002.php on line 6
Deprecated: Implicit conversion from float %f to int loses precision in %sbool_not_002.php on line 6
Deprecated: Implicit conversion from float %f to int loses precision in %sbool_not_002.php on line 6
Fatal error: Uncaught ArithmeticError: Bit shift by negative number in %sbool_not_002.php:6
Stack trace:
#0 %sbool_not_002.php(10): test()
#1 {main}
thrown in %sbool_not_002.php on line 6
| PHP | 1 | NathanFreeman/php-src | ext/opcache/tests/jit/bool_not_002.phpt | [
"PHP-3.01"
] |
unit XPTheme;
{
Inno Setup
Copyright (C) 1997-2007 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Enables themes on Windows XP/Vista, and disables DPI scaling on Vista.
Used only by the Setup and SetupLdr projects.
Note: XPTheme must be included as the first unit in the program's "uses"
clause so that its code runs before any VCL initialization code.
}
interface
implementation
{$R XPTheme.res}
uses
Windows;
{ Avoid including Variants (via CommCtrl) in SetupLdr (SetupLdr uses XPTheme), saving 26 KB. }
procedure InitCommonControls; external comctl32 name 'InitCommonControls';
initialization
{ Work around bug in Windows XP Gold & SP1: If the application manifest
specifies COMCTL32.DLL version 6.0 (to enable visual styles), we must
call InitCommonControls() to ensure that we actually link to
COMCTL32.DLL, otherwise calls to MessageBox() fail. (XP SP2 appears
to fix this.)
Programs that don't statically link to COMCTL32, like SetupLdr, need this.
(Actually, that's not completely true -- SetupLdr uses RedirFunc, which
loads SHELL32.DLL, which in turn loads COMCTL32.DLL. But let's not rely on
that undocumented behavior.) }
InitCommonControls;
end.
| Pascal | 4 | Patriccollu/issrc | Projects/XPTheme.pas | [
"FSFAP"
] |
.appear-active {
transition: opacity .5s
}
.appear {
opacity: 0
}
| CSS | 3 | ardyno/nuxt.js | examples/spa/assets/main.css | [
"MIT"
] |
/*--------------------------------------------------*/
/* SAS Programming for R Users - code for exercises */
/* Copyright 2016 SAS Institute Inc. */
/*--------------------------------------------------*/
/*SP4R06d04*/
proc sql;
select mean(gr_liv_area) into :gr_mean from sp4r.ameshousing;
quit;
proc glm data=sp4r.ameshousing plots=diagnostics;
class heating_qc (ref='Fa');
model saleprice = heating_qc|gr_liv_area / solution clparm;
lsmeans heating_qc / at gr_liv_area=&gr_mean pdiff adjust=tukey cl;
estimate 'My Estimate' intercept 1 heating_qc 1 0 0 0
gr_liv_area &gr_mean heating_qc*gr_liv_area &gr_mean;
run;quit;
| SAS | 3 | snowdj/sas-prog-for-r-users | code/SP4R06d04.sas | [
"CC-BY-4.0"
] |
{#laziness}
============
<div class="hidden">
\begin{code}
module Laziness where
import Language.Haskell.Liquid.Prelude
{-@ LIQUID "--no-termination" @-}
divide :: Int -> Int -> Int
foo :: Int -> Int
-- zero :: Int
-- diverge :: a -> b
\end{code}
</div>
Lazy Evaluation?
----------------
Lazy Evaluation
===============
SMT based Verification
----------------------
Techniques developed for *strict* languages
<br>
<div class="fragment">
----------------------- --- ------------------------------------------
**Floyd-Hoare** : `ESCJava`, `SpecSharp` ...
**Model Checkers** : `Slam`, `Blast` ...
**Refinement Types** : `DML`, `Stardust`, `F7`, `F*`, `Sage` ...
----------------------- --- ------------------------------------------
</div>
<br>
<div class="fragment">
Surely soundness carries over to Haskell, right?
</div>
Back To the Beginning
---------------------
\begin{code}
{-@ divide :: Int -> {v:Int| v /= 0} -> Int @-}
divide n 0 = liquidError "div-by-zero!"
divide n d = n `div` d
\end{code}
<br>
<div class="fragment">
Should only try to `divide` by non-zero values
</div>
An Innocent Function
--------------------
`foo` returns a value *strictly less than* input.
<br>
\begin{code}
{-@ foo :: n:Nat -> {v:Nat | v < n} @-}
foo n
| n > 0 = n - 1
| otherwise = foo n
\end{code}
LiquidHaskell Lies!
-------------------
\begin{code}
explode = let z = 0
in (\x -> (2013 `divide` z)) (foo z)
\end{code}
<br>
<div class="fragment">
Why is this deemed *safe*?
</div>
<br>
<div class="fragment">
(Where's the *red* highlight when you want it?)
</div>
Safe With Eager Eval
--------------------
\begin{code} <div/>
{- foo :: n:Nat -> {v:Nat | v < n} -}
foo n
| n > 0 = n - 1
| otherwise = foo n
explode = let z = 0
in (\x -> (2013 `divide` z)) (foo z)
\end{code}
<br>
<div class="fragment">
In Java, ML, etc: program spins away, *never hits* divide-by-zero
</div>
Unsafe With Lazy Eval
---------------------
\begin{code}<div/>
{- foo :: n:Nat -> {v:Nat | v < n} -}
foo n
| n > 0 = n - 1
| otherwise = foo n
explode = let z = 0
in (\x -> (2013 `divide` z)) (foo z)
\end{code}
<br>
In Haskell, program *skips* `(foo z)` & hits divide-by-zero!
Problem: Divergence
-------------------
<div class="fragment">
What is denoted by `e :: {v:Int | 0 <= v}` ?
</div>
<br>
<div class="fragment">
`e` evaluates to a `Nat`
</div>
<div class="fragment">
or
**diverges**!
</div>
<div class="fragment">
<br>
Classical Floyd-Hoare notion of [partial correctness](http://en.wikipedia.org/wiki/Hoare_logic#Partial_and_total_correctness)
</div>
Problem: Divergence
-------------------
Suppose `e :: {v:Int | 0 <= v}`
<br>
**Consider**
`let x = e in body`
With Eager Evaluation
---------------------
Suppose `e :: {v:Int | 0 <= v}`
<br>
**Consider**
`let x = e in body`
<br>
<div class="fragment">
**Can** assume `x` is a `Nat` when checking `body`
</div>
But With Lazy Evaluation
------------------------
Suppose `e :: {v:Int | 0 <= v}`
<br>
**Consider**
`let x = e in body`
<br>
<div class="fragment">
**Cannot** assume `x` is a `Nat` when checking e!
</div>
Oops. Now what?
---------------
**Solution**
Only assign *non-trivial* refinements to *non-diverging* terms!
<br>
<div class="fragment">
**Require A Termination Analysis**
(Oh dear.)
</div>
<a href="http://goto.ucsd.edu:8090/index.html#?demo=TellingLies.hs" target="_blank">Demo:</a>Disable `"--no-termination" and see what happens!
Recap
-----
1. **Refinements:** Types + Predicates
2. **Subtyping:** SMT Implication
3. **Measures:** Strengthened Constructors
4. **Abstract Refinements:* Decouple Invariants
5. **Lazy Evaluation:** Requires Termination
6. <div class="fragment">**Termination:** Via Refinements!</div>
| Literate Haskell | 5 | curiousleo/liquidhaskell | docs/slides/plpv14/lhs/09_Laziness.lhs | [
"MIT",
"BSD-3-Clause"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = '';
checkConfig(config);
@endpoint = getEndpoint('ens', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
function getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: map[string]string, endpoint: string) throws: string{
if (!Util.empty(endpoint)) {
return endpoint;
}
if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
return endpointMap[regionId];
}
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
}
model AddNetworkInterfaceToInstanceRequest {
instanceId?: string(name='InstanceId'),
networks?: string(name='Networks'),
}
model AddNetworkInterfaceToInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model AddNetworkInterfaceToInstanceResponse = {
headers: map[string]string(name='headers'),
body: AddNetworkInterfaceToInstanceResponseBody(name='body'),
}
async function addNetworkInterfaceToInstanceWithOptions(request: AddNetworkInterfaceToInstanceRequest, runtime: Util.RuntimeOptions): AddNetworkInterfaceToInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AddNetworkInterfaceToInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function addNetworkInterfaceToInstance(request: AddNetworkInterfaceToInstanceRequest): AddNetworkInterfaceToInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return addNetworkInterfaceToInstanceWithOptions(request, runtime);
}
model AllocateEipAddressRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
count?: int32(name='Count'),
minCount?: int32(name='MinCount'),
}
model AllocateEipAddressResponseBody = {
bizStatusCode?: string(name='BizStatusCode'),
eipAddresses?: {
eipAddress?: [
{
eip?: string(name='Eip'),
}
](name='EipAddress')
}(name='EipAddresses'),
requestId?: string(name='RequestId'),
}
model AllocateEipAddressResponse = {
headers: map[string]string(name='headers'),
body: AllocateEipAddressResponseBody(name='body'),
}
async function allocateEipAddressWithOptions(request: AllocateEipAddressRequest, runtime: Util.RuntimeOptions): AllocateEipAddressResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AllocateEipAddress', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function allocateEipAddress(request: AllocateEipAddressRequest): AllocateEipAddressResponse {
var runtime = new Util.RuntimeOptions{};
return allocateEipAddressWithOptions(request, runtime);
}
model AssociateEipAddressRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
eip?: string(name='Eip'),
instanceIdInternetIp?: string(name='InstanceIdInternetIp'),
}
model AssociateEipAddressResponseBody = {
requestId?: string(name='RequestId'),
}
model AssociateEipAddressResponse = {
headers: map[string]string(name='headers'),
body: AssociateEipAddressResponseBody(name='body'),
}
async function associateEipAddressWithOptions(request: AssociateEipAddressRequest, runtime: Util.RuntimeOptions): AssociateEipAddressResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AssociateEipAddress', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function associateEipAddress(request: AssociateEipAddressRequest): AssociateEipAddressResponse {
var runtime = new Util.RuntimeOptions{};
return associateEipAddressWithOptions(request, runtime);
}
model AttachEnsInstancesRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
scripts?: string(name='Scripts'),
}
model AttachEnsInstancesResponseBody = {
requestId?: string(name='RequestId'),
}
model AttachEnsInstancesResponse = {
headers: map[string]string(name='headers'),
body: AttachEnsInstancesResponseBody(name='body'),
}
async function attachEnsInstancesWithOptions(request: AttachEnsInstancesRequest, runtime: Util.RuntimeOptions): AttachEnsInstancesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AttachEnsInstances', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function attachEnsInstances(request: AttachEnsInstancesRequest): AttachEnsInstancesResponse {
var runtime = new Util.RuntimeOptions{};
return attachEnsInstancesWithOptions(request, runtime);
}
model AuthorizeSecurityGroupRequest {
version?: string(name='Version'),
ipProtocol?: string(name='IpProtocol'),
portRange?: string(name='PortRange'),
securityGroupId?: string(name='SecurityGroupId'),
policy?: string(name='Policy'),
priority?: int32(name='Priority'),
sourceCidrIp?: string(name='SourceCidrIp'),
sourcePortRange?: string(name='SourcePortRange'),
}
model AuthorizeSecurityGroupResponseBody = {
requestId?: string(name='RequestId'),
}
model AuthorizeSecurityGroupResponse = {
headers: map[string]string(name='headers'),
body: AuthorizeSecurityGroupResponseBody(name='body'),
}
async function authorizeSecurityGroupWithOptions(request: AuthorizeSecurityGroupRequest, runtime: Util.RuntimeOptions): AuthorizeSecurityGroupResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AuthorizeSecurityGroup', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function authorizeSecurityGroup(request: AuthorizeSecurityGroupRequest): AuthorizeSecurityGroupResponse {
var runtime = new Util.RuntimeOptions{};
return authorizeSecurityGroupWithOptions(request, runtime);
}
model AuthorizeSecurityGroupEgressRequest {
version?: string(name='Version'),
ipProtocol?: string(name='IpProtocol'),
portRange?: string(name='PortRange'),
securityGroupId?: string(name='SecurityGroupId'),
policy?: string(name='Policy'),
priority?: int32(name='Priority'),
destCidrIp?: string(name='DestCidrIp'),
sourcePortRange?: string(name='SourcePortRange'),
}
model AuthorizeSecurityGroupEgressResponseBody = {
requestId?: string(name='RequestId'),
}
model AuthorizeSecurityGroupEgressResponse = {
headers: map[string]string(name='headers'),
body: AuthorizeSecurityGroupEgressResponseBody(name='body'),
}
async function authorizeSecurityGroupEgressWithOptions(request: AuthorizeSecurityGroupEgressRequest, runtime: Util.RuntimeOptions): AuthorizeSecurityGroupEgressResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('AuthorizeSecurityGroupEgress', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function authorizeSecurityGroupEgress(request: AuthorizeSecurityGroupEgressRequest): AuthorizeSecurityGroupEgressResponse {
var runtime = new Util.RuntimeOptions{};
return authorizeSecurityGroupEgressWithOptions(request, runtime);
}
model CheckQuotaRequest {
aliUid?: long(name='AliUid'),
resourceAttribute?: string(name='ResourceAttribute'),
groupUuid?: string(name='GroupUuid'),
}
model CheckQuotaResponseBody = {
requestId?: string(name='RequestId', description='Id of the request'),
code?: int32(name='Code'),
data?: string(name='Data'),
msg?: string(name='Msg'),
desc?: string(name='Desc'),
}
model CheckQuotaResponse = {
headers: map[string]string(name='headers'),
body: CheckQuotaResponseBody(name='body'),
}
async function checkQuotaWithOptions(request: CheckQuotaRequest, runtime: Util.RuntimeOptions): CheckQuotaResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CheckQuota', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function checkQuota(request: CheckQuotaRequest): CheckQuotaResponse {
var runtime = new Util.RuntimeOptions{};
return checkQuotaWithOptions(request, runtime);
}
model CreateApplicationRequest {
template?: string(name='Template'),
timeout?: int32(name='Timeout'),
}
model CreateApplicationResponseBody = {
appId?: string(name='AppId'),
requestId?: string(name='RequestId'),
}
model CreateApplicationResponse = {
headers: map[string]string(name='headers'),
body: CreateApplicationResponseBody(name='body'),
}
async function createApplicationWithOptions(request: CreateApplicationRequest, runtime: Util.RuntimeOptions): CreateApplicationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateApplication', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createApplication(request: CreateApplicationRequest): CreateApplicationResponse {
var runtime = new Util.RuntimeOptions{};
return createApplicationWithOptions(request, runtime);
}
model CreateEnsServiceRequest {
version?: string(name='Version'),
ensServiceId?: string(name='EnsServiceId'),
orderType?: string(name='OrderType'),
}
model CreateEnsServiceResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model CreateEnsServiceResponse = {
headers: map[string]string(name='headers'),
body: CreateEnsServiceResponseBody(name='body'),
}
async function createEnsServiceWithOptions(request: CreateEnsServiceRequest, runtime: Util.RuntimeOptions): CreateEnsServiceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateEnsService', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createEnsService(request: CreateEnsServiceRequest): CreateEnsServiceResponse {
var runtime = new Util.RuntimeOptions{};
return createEnsServiceWithOptions(request, runtime);
}
model CreateEPInstanceRequest {
EPNInstanceType?: string(name='EPNInstanceType'),
EPNInstanceName?: string(name='EPNInstanceName'),
internetChargeType?: string(name='InternetChargeType'),
networkingModel?: string(name='NetworkingModel'),
internetMaxBandwidthOut?: int32(name='InternetMaxBandwidthOut'),
}
model CreateEPInstanceResponseBody = {
EPNInstanceId?: string(name='EPNInstanceId'),
requestId?: string(name='RequestId'),
}
model CreateEPInstanceResponse = {
headers: map[string]string(name='headers'),
body: CreateEPInstanceResponseBody(name='body'),
}
async function createEPInstanceWithOptions(request: CreateEPInstanceRequest, runtime: Util.RuntimeOptions): CreateEPInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateEPInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createEPInstance(request: CreateEPInstanceRequest): CreateEPInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return createEPInstanceWithOptions(request, runtime);
}
model CreateEpnInstanceRequest {
EPNInstanceType?: string(name='EPNInstanceType'),
EPNInstanceName?: string(name='EPNInstanceName'),
internetChargeType?: string(name='InternetChargeType'),
networkingModel?: string(name='NetworkingModel'),
internetMaxBandwidthOut?: int32(name='InternetMaxBandwidthOut'),
}
model CreateEpnInstanceResponseBody = {
EPNInstanceId?: string(name='EPNInstanceId'),
requestId?: string(name='RequestId'),
}
model CreateEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: CreateEpnInstanceResponseBody(name='body'),
}
async function createEpnInstanceWithOptions(request: CreateEpnInstanceRequest, runtime: Util.RuntimeOptions): CreateEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createEpnInstance(request: CreateEpnInstanceRequest): CreateEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return createEpnInstanceWithOptions(request, runtime);
}
model CreateImageRequest {
product?: string(name='product'),
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
imageName?: string(name='ImageName'),
deleteAfterImageUpload?: string(name='DeleteAfterImageUpload'),
}
model CreateImageResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model CreateImageResponse = {
headers: map[string]string(name='headers'),
body: CreateImageResponseBody(name='body'),
}
async function createImageWithOptions(request: CreateImageRequest, runtime: Util.RuntimeOptions): CreateImageResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateImage', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createImage(request: CreateImageRequest): CreateImageResponse {
var runtime = new Util.RuntimeOptions{};
return createImageWithOptions(request, runtime);
}
model CreateKeyPairRequest {
version?: string(name='Version'),
keyPairName?: string(name='KeyPairName'),
}
model CreateKeyPairResponseBody = {
keyPairFingerPrint?: string(name='KeyPairFingerPrint'),
keyPairId?: string(name='KeyPairId'),
keyPairName?: string(name='KeyPairName'),
privateKeyBody?: string(name='PrivateKeyBody'),
requestId?: string(name='RequestId'),
}
model CreateKeyPairResponse = {
headers: map[string]string(name='headers'),
body: CreateKeyPairResponseBody(name='body'),
}
async function createKeyPairWithOptions(request: CreateKeyPairRequest, runtime: Util.RuntimeOptions): CreateKeyPairResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateKeyPair', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createKeyPair(request: CreateKeyPairRequest): CreateKeyPairResponse {
var runtime = new Util.RuntimeOptions{};
return createKeyPairWithOptions(request, runtime);
}
model CreateSecurityGroupRequest {
version?: string(name='Version'),
securityGroupName?: string(name='SecurityGroupName'),
}
model CreateSecurityGroupResponseBody = {
requestId?: string(name='RequestId'),
securityGroupId?: string(name='SecurityGroupId'),
}
model CreateSecurityGroupResponse = {
headers: map[string]string(name='headers'),
body: CreateSecurityGroupResponseBody(name='body'),
}
async function createSecurityGroupWithOptions(request: CreateSecurityGroupRequest, runtime: Util.RuntimeOptions): CreateSecurityGroupResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateSecurityGroup', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createSecurityGroup(request: CreateSecurityGroupRequest): CreateSecurityGroupResponse {
var runtime = new Util.RuntimeOptions{};
return createSecurityGroupWithOptions(request, runtime);
}
model CreateVmAndSaveStockRequest {
aliUid?: long(name='AliUid'),
tenant?: string(name='Tenant'),
workloadUuid?: string(name='WorkloadUuid'),
groupUuid?: string(name='GroupUuid'),
resourceAttribute?: string(name='ResourceAttribute'),
}
model CreateVmAndSaveStockResponseBody = {
requestId?: string(name='RequestId', description='Id of the request'),
code?: int32(name='Code'),
msg?: string(name='Msg'),
desc?: string(name='Desc'),
data?: string(name='Data'),
}
model CreateVmAndSaveStockResponse = {
headers: map[string]string(name='headers'),
body: CreateVmAndSaveStockResponseBody(name='body'),
}
async function createVmAndSaveStockWithOptions(request: CreateVmAndSaveStockRequest, runtime: Util.RuntimeOptions): CreateVmAndSaveStockResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateVmAndSaveStock', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createVmAndSaveStock(request: CreateVmAndSaveStockRequest): CreateVmAndSaveStockResponse {
var runtime = new Util.RuntimeOptions{};
return createVmAndSaveStockWithOptions(request, runtime);
}
model CreateVSwitchRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
cidrBlock?: string(name='CidrBlock'),
vSwitchName?: string(name='VSwitchName'),
}
model CreateVSwitchResponseBody = {
requestId?: string(name='RequestId'),
vSwitchId?: string(name='VSwitchId'),
}
model CreateVSwitchResponse = {
headers: map[string]string(name='headers'),
body: CreateVSwitchResponseBody(name='body'),
}
async function createVSwitchWithOptions(request: CreateVSwitchRequest, runtime: Util.RuntimeOptions): CreateVSwitchResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('CreateVSwitch', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function createVSwitch(request: CreateVSwitchRequest): CreateVSwitchResponse {
var runtime = new Util.RuntimeOptions{};
return createVSwitchWithOptions(request, runtime);
}
model DeleteApplicationRequest {
appId?: string(name='AppId'),
timeout?: int32(name='Timeout'),
}
model DeleteApplicationResponseBody = {
requestId?: string(name='RequestId'),
}
model DeleteApplicationResponse = {
headers: map[string]string(name='headers'),
body: DeleteApplicationResponseBody(name='body'),
}
async function deleteApplicationWithOptions(request: DeleteApplicationRequest, runtime: Util.RuntimeOptions): DeleteApplicationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteApplication', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteApplication(request: DeleteApplicationRequest): DeleteApplicationResponse {
var runtime = new Util.RuntimeOptions{};
return deleteApplicationWithOptions(request, runtime);
}
model DeleteEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
}
model DeleteEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model DeleteEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: DeleteEpnInstanceResponseBody(name='body'),
}
async function deleteEpnInstanceWithOptions(request: DeleteEpnInstanceRequest, runtime: Util.RuntimeOptions): DeleteEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteEpnInstance(request: DeleteEpnInstanceRequest): DeleteEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return deleteEpnInstanceWithOptions(request, runtime);
}
model DeleteKeyPairsRequest {
version?: string(name='Version'),
keyPairName?: string(name='KeyPairName'),
}
model DeleteKeyPairsResponseBody = {
requestId?: string(name='RequestId'),
}
model DeleteKeyPairsResponse = {
headers: map[string]string(name='headers'),
body: DeleteKeyPairsResponseBody(name='body'),
}
async function deleteKeyPairsWithOptions(request: DeleteKeyPairsRequest, runtime: Util.RuntimeOptions): DeleteKeyPairsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteKeyPairs', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteKeyPairs(request: DeleteKeyPairsRequest): DeleteKeyPairsResponse {
var runtime = new Util.RuntimeOptions{};
return deleteKeyPairsWithOptions(request, runtime);
}
model DeleteSecurityGroupRequest {
version?: string(name='Version'),
securityGroupId?: string(name='SecurityGroupId'),
}
model DeleteSecurityGroupResponseBody = {
requestId?: string(name='RequestId'),
}
model DeleteSecurityGroupResponse = {
headers: map[string]string(name='headers'),
body: DeleteSecurityGroupResponseBody(name='body'),
}
async function deleteSecurityGroupWithOptions(request: DeleteSecurityGroupRequest, runtime: Util.RuntimeOptions): DeleteSecurityGroupResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteSecurityGroup', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteSecurityGroup(request: DeleteSecurityGroupRequest): DeleteSecurityGroupResponse {
var runtime = new Util.RuntimeOptions{};
return deleteSecurityGroupWithOptions(request, runtime);
}
model DeleteVmRequest {
aliUid?: long(name='AliUid'),
workloadUuid?: string(name='WorkloadUuid'),
}
model DeleteVmResponseBody = {
code?: int32(name='Code'),
msg?: string(name='Msg'),
desc?: string(name='Desc'),
data?: string(name='Data'),
requestId?: string(name='RequestId'),
}
model DeleteVmResponse = {
headers: map[string]string(name='headers'),
body: DeleteVmResponseBody(name='body'),
}
async function deleteVmWithOptions(request: DeleteVmRequest, runtime: Util.RuntimeOptions): DeleteVmResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteVm', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteVm(request: DeleteVmRequest): DeleteVmResponse {
var runtime = new Util.RuntimeOptions{};
return deleteVmWithOptions(request, runtime);
}
model DeleteVSwitchRequest {
version?: string(name='Version'),
vSwitchId?: string(name='VSwitchId'),
}
model DeleteVSwitchResponseBody = {
requestId?: string(name='RequestId'),
}
model DeleteVSwitchResponse = {
headers: map[string]string(name='headers'),
body: DeleteVSwitchResponseBody(name='body'),
}
async function deleteVSwitchWithOptions(request: DeleteVSwitchRequest, runtime: Util.RuntimeOptions): DeleteVSwitchResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DeleteVSwitch', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function deleteVSwitch(request: DeleteVSwitchRequest): DeleteVSwitchResponse {
var runtime = new Util.RuntimeOptions{};
return deleteVSwitchWithOptions(request, runtime);
}
model DescribeApplicationRequest {
appId?: string(name='AppId'),
appVersions?: string(name='AppVersions'),
level?: string(name='Level'),
outDetailStatParams?: string(name='OutDetailStatParams'),
}
model DescribeApplicationResponseBody = {
application?: string(name='Application'),
requestId?: string(name='RequestId'),
}
model DescribeApplicationResponse = {
headers: map[string]string(name='headers'),
body: DescribeApplicationResponseBody(name='body'),
}
async function describeApplicationWithOptions(request: DescribeApplicationRequest, runtime: Util.RuntimeOptions): DescribeApplicationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeApplication', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeApplication(request: DescribeApplicationRequest): DescribeApplicationResponse {
var runtime = new Util.RuntimeOptions{};
return describeApplicationWithOptions(request, runtime);
}
model DescribeApplicationResourceSummaryRequest {
level?: string(name='Level'),
resourceType?: string(name='ResourceType'),
}
model DescribeApplicationResourceSummaryResponseBody = {
applicationResource?: string(name='ApplicationResource'),
requestId?: string(name='RequestId'),
}
model DescribeApplicationResourceSummaryResponse = {
headers: map[string]string(name='headers'),
body: DescribeApplicationResourceSummaryResponseBody(name='body'),
}
async function describeApplicationResourceSummaryWithOptions(request: DescribeApplicationResourceSummaryRequest, runtime: Util.RuntimeOptions): DescribeApplicationResourceSummaryResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeApplicationResourceSummary', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeApplicationResourceSummary(request: DescribeApplicationResourceSummaryRequest): DescribeApplicationResourceSummaryResponse {
var runtime = new Util.RuntimeOptions{};
return describeApplicationResourceSummaryWithOptions(request, runtime);
}
model DescribeAvailableResourceRequest {
version?: string(name='Version'),
}
model DescribeAvailableResourceResponseBody = {
code?: int32(name='Code'),
images?: {
image?: [
{
imageId?: string(name='ImageId'),
imageName?: string(name='ImageName'),
}
](name='Image')
}(name='Images'),
requestId?: string(name='RequestId'),
supportResources?: {
supportResource?: [
{
dataDiskSize?: string(name='DataDiskSize'),
ensRegionId?: string(name='EnsRegionId'),
instanceSpec?: string(name='InstanceSpec'),
supportResourcesCount?: string(name='SupportResourcesCount'),
systemDiskSize?: string(name='SystemDiskSize'),
}
](name='SupportResource')
}(name='SupportResources'),
}
model DescribeAvailableResourceResponse = {
headers: map[string]string(name='headers'),
body: DescribeAvailableResourceResponseBody(name='body'),
}
async function describeAvailableResourceWithOptions(request: DescribeAvailableResourceRequest, runtime: Util.RuntimeOptions): DescribeAvailableResourceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeAvailableResource', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeAvailableResource(request: DescribeAvailableResourceRequest): DescribeAvailableResourceResponse {
var runtime = new Util.RuntimeOptions{};
return describeAvailableResourceWithOptions(request, runtime);
}
model DescribeBandwitdhByInternetChargeTypeRequest {
version?: string(name='Version'),
startTime?: string(name='StartTime'),
endTime?: string(name='EndTime'),
isp?: string(name='Isp'),
ensRegionId?: string(name='EnsRegionId'),
}
model DescribeBandwitdhByInternetChargeTypeResponseBody = {
bandwidthValue?: long(name='BandwidthValue'),
internetChargeType?: string(name='InternetChargeType'),
requestId?: string(name='RequestId'),
timeStamp?: string(name='TimeStamp'),
}
model DescribeBandwitdhByInternetChargeTypeResponse = {
headers: map[string]string(name='headers'),
body: DescribeBandwitdhByInternetChargeTypeResponseBody(name='body'),
}
async function describeBandwitdhByInternetChargeTypeWithOptions(request: DescribeBandwitdhByInternetChargeTypeRequest, runtime: Util.RuntimeOptions): DescribeBandwitdhByInternetChargeTypeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeBandwitdhByInternetChargeType', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeBandwitdhByInternetChargeType(request: DescribeBandwitdhByInternetChargeTypeRequest): DescribeBandwitdhByInternetChargeTypeResponse {
var runtime = new Util.RuntimeOptions{};
return describeBandwitdhByInternetChargeTypeWithOptions(request, runtime);
}
model DescribeBandWithdChargeTypeRequest {
version?: string(name='Version'),
}
model DescribeBandWithdChargeTypeResponseBody = {
bandWithTypeInfo?: string(name='BandWithTypeInfo'),
chargeContractType?: string(name='ChargeContractType'),
chargeCycleInfo?: string(name='ChargeCycleInfo'),
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model DescribeBandWithdChargeTypeResponse = {
headers: map[string]string(name='headers'),
body: DescribeBandWithdChargeTypeResponseBody(name='body'),
}
async function describeBandWithdChargeTypeWithOptions(request: DescribeBandWithdChargeTypeRequest, runtime: Util.RuntimeOptions): DescribeBandWithdChargeTypeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeBandWithdChargeType', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeBandWithdChargeType(request: DescribeBandWithdChargeTypeRequest): DescribeBandWithdChargeTypeResponse {
var runtime = new Util.RuntimeOptions{};
return describeBandWithdChargeTypeWithOptions(request, runtime);
}
model DescribeCreatePrePaidInstanceResultRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
}
model DescribeCreatePrePaidInstanceResultResponseBody = {
instanceCreateResult?: {
instanceCreateStatus?: string(name='InstanceCreateStatus'),
instanceId?: string(name='InstanceId'),
}(name='InstanceCreateResult'),
requestId?: string(name='RequestId'),
}
model DescribeCreatePrePaidInstanceResultResponse = {
headers: map[string]string(name='headers'),
body: DescribeCreatePrePaidInstanceResultResponseBody(name='body'),
}
async function describeCreatePrePaidInstanceResultWithOptions(request: DescribeCreatePrePaidInstanceResultRequest, runtime: Util.RuntimeOptions): DescribeCreatePrePaidInstanceResultResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeCreatePrePaidInstanceResult', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeCreatePrePaidInstanceResult(request: DescribeCreatePrePaidInstanceResultRequest): DescribeCreatePrePaidInstanceResultResponse {
var runtime = new Util.RuntimeOptions{};
return describeCreatePrePaidInstanceResultWithOptions(request, runtime);
}
model DescribeDataDistResultRequest {
appId?: string(name='AppId'),
dataNames?: string(name='DataNames'),
dataVersions?: string(name='DataVersions'),
instanceIds?: string(name='InstanceIds'),
minDate?: string(name='MinDate'),
maxDate?: string(name='MaxDate'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
}
model DescribeDataDistResultResponseBody = {
distResults?: {
distResult?: [
{
name?: string(name='Name'),
statusStats?: {
statusStat?: [
{
instanceCount?: string(name='InstanceCount'),
instances?: {
instance?: [
{
instanceId?: string(name='InstanceId'),
startTime?: string(name='StartTime'),
statusDescrip?: string(name='StatusDescrip'),
updateTime?: string(name='UpdateTime'),
}
](name='Instance')
}(name='Instances'),
status?: string(name='Status'),
}
](name='StatusStat')
}(name='StatusStats'),
version?: string(name='Version'),
}
](name='DistResult')
}(name='DistResults'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeDataDistResultResponse = {
headers: map[string]string(name='headers'),
body: DescribeDataDistResultResponseBody(name='body'),
}
async function describeDataDistResultWithOptions(request: DescribeDataDistResultRequest, runtime: Util.RuntimeOptions): DescribeDataDistResultResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeDataDistResult', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeDataDistResult(request: DescribeDataDistResultRequest): DescribeDataDistResultResponse {
var runtime = new Util.RuntimeOptions{};
return describeDataDistResultWithOptions(request, runtime);
}
model DescribeDataPushResultRequest {
appId?: string(name='AppId'),
dataNames?: string(name='DataNames'),
dataVersions?: string(name='DataVersions'),
minDate?: string(name='MinDate'),
maxDate?: string(name='MaxDate'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
regionIds?: string(name='RegionIds'),
}
model DescribeDataPushResultResponseBody = {
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
pushResults?: {
pushResult?: [
{
name?: string(name='Name'),
statusStatS?: {
statusStat?: [
{
regionIdCount?: int32(name='RegionIdCount'),
regionIds?: {
regionId?: [
{
regionId?: string(name='RegionId'),
startTime?: string(name='StartTime'),
statusDescrip?: string(name='StatusDescrip'),
updateTime?: string(name='UpdateTime'),
}
](name='RegionId')
}(name='RegionIds'),
status?: string(name='Status'),
}
](name='StatusStat')
}(name='StatusStatS'),
version?: string(name='Version'),
}
](name='PushResult')
}(name='PushResults'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeDataPushResultResponse = {
headers: map[string]string(name='headers'),
body: DescribeDataPushResultResponseBody(name='body'),
}
async function describeDataPushResultWithOptions(request: DescribeDataPushResultRequest, runtime: Util.RuntimeOptions): DescribeDataPushResultResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeDataPushResult', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeDataPushResult(request: DescribeDataPushResultRequest): DescribeDataPushResultResponse {
var runtime = new Util.RuntimeOptions{};
return describeDataPushResultWithOptions(request, runtime);
}
model DescribeEipAddressesRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
eips?: string(name='Eips'),
}
model DescribeEipAddressesResponseBody = {
eipAddresses?: {
eipAddress?: [
{
eip?: string(name='Eip'),
instanceIdInternetIp?: string(name='InstanceIdInternetIp'),
}
](name='EipAddress')
}(name='EipAddresses'),
requestId?: string(name='RequestId'),
}
model DescribeEipAddressesResponse = {
headers: map[string]string(name='headers'),
body: DescribeEipAddressesResponseBody(name='body'),
}
async function describeEipAddressesWithOptions(request: DescribeEipAddressesRequest, runtime: Util.RuntimeOptions): DescribeEipAddressesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEipAddresses', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEipAddresses(request: DescribeEipAddressesRequest): DescribeEipAddressesResponse {
var runtime = new Util.RuntimeOptions{};
return describeEipAddressesWithOptions(request, runtime);
}
model DescribeEnsNetDistrictRequest {
version?: string(name='Version'),
netLevelCode?: string(name='NetLevelCode'),
netDistrictCode?: string(name='NetDistrictCode'),
}
model DescribeEnsNetDistrictResponseBody = {
code?: int32(name='Code'),
ensNetDistricts?: {
ensNetDistrict?: [
{
ensRegionIdCount?: string(name='EnsRegionIdCount'),
netDistrictCode?: string(name='NetDistrictCode'),
netDistrictEnName?: string(name='NetDistrictEnName'),
netDistrictFatherCode?: string(name='NetDistrictFatherCode'),
netDistrictLevel?: string(name='NetDistrictLevel'),
netDistrictName?: string(name='NetDistrictName'),
}
](name='EnsNetDistrict')
}(name='EnsNetDistricts'),
requestId?: string(name='RequestId'),
}
model DescribeEnsNetDistrictResponse = {
headers: map[string]string(name='headers'),
body: DescribeEnsNetDistrictResponseBody(name='body'),
}
async function describeEnsNetDistrictWithOptions(request: DescribeEnsNetDistrictRequest, runtime: Util.RuntimeOptions): DescribeEnsNetDistrictResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEnsNetDistrict', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEnsNetDistrict(request: DescribeEnsNetDistrictRequest): DescribeEnsNetDistrictResponse {
var runtime = new Util.RuntimeOptions{};
return describeEnsNetDistrictWithOptions(request, runtime);
}
model DescribeEnsNetLevelRequest {
version?: string(name='Version'),
}
model DescribeEnsNetLevelResponseBody = {
code?: int32(name='Code'),
ensNetLevels?: {
ensNetLevel?: [
{
ensNetLevelCode?: string(name='EnsNetLevelCode'),
}
](name='EnsNetLevel')
}(name='EnsNetLevels'),
requestId?: string(name='RequestId'),
}
model DescribeEnsNetLevelResponse = {
headers: map[string]string(name='headers'),
body: DescribeEnsNetLevelResponseBody(name='body'),
}
async function describeEnsNetLevelWithOptions(request: DescribeEnsNetLevelRequest, runtime: Util.RuntimeOptions): DescribeEnsNetLevelResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEnsNetLevel', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEnsNetLevel(request: DescribeEnsNetLevelRequest): DescribeEnsNetLevelResponse {
var runtime = new Util.RuntimeOptions{};
return describeEnsNetLevelWithOptions(request, runtime);
}
model DescribeEnsNetSaleDistrictRequest {
version?: string(name='Version'),
netLevelCode?: string(name='NetLevelCode'),
netDistrictCode?: string(name='NetDistrictCode'),
}
model DescribeEnsNetSaleDistrictResponseBody = {
code?: int32(name='Code'),
ensNetDistricts?: {
ensNetDistrict?: [
{
ensRegionIdCount?: string(name='EnsRegionIdCount'),
instanceCount?: string(name='InstanceCount'),
netDistrictCode?: string(name='NetDistrictCode'),
netDistrictEnName?: string(name='NetDistrictEnName'),
netDistrictFatherCode?: string(name='NetDistrictFatherCode'),
netDistrictLevel?: string(name='NetDistrictLevel'),
netDistrictName?: string(name='NetDistrictName'),
}
](name='EnsNetDistrict')
}(name='EnsNetDistricts'),
requestId?: string(name='RequestId'),
}
model DescribeEnsNetSaleDistrictResponse = {
headers: map[string]string(name='headers'),
body: DescribeEnsNetSaleDistrictResponseBody(name='body'),
}
async function describeEnsNetSaleDistrictWithOptions(request: DescribeEnsNetSaleDistrictRequest, runtime: Util.RuntimeOptions): DescribeEnsNetSaleDistrictResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEnsNetSaleDistrict', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEnsNetSaleDistrict(request: DescribeEnsNetSaleDistrictRequest): DescribeEnsNetSaleDistrictResponse {
var runtime = new Util.RuntimeOptions{};
return describeEnsNetSaleDistrictWithOptions(request, runtime);
}
model DescribeEnsRegionIdIpv6InfoRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
}
model DescribeEnsRegionIdIpv6InfoResponseBody = {
requestId?: string(name='RequestId'),
supportIpv6Info?: {
ensRegionId?: string(name='EnsRegionId'),
supportIpv6?: boolean(name='SupportIpv6'),
}(name='SupportIpv6Info'),
}
model DescribeEnsRegionIdIpv6InfoResponse = {
headers: map[string]string(name='headers'),
body: DescribeEnsRegionIdIpv6InfoResponseBody(name='body'),
}
async function describeEnsRegionIdIpv6InfoWithOptions(request: DescribeEnsRegionIdIpv6InfoRequest, runtime: Util.RuntimeOptions): DescribeEnsRegionIdIpv6InfoResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEnsRegionIdIpv6Info', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEnsRegionIdIpv6Info(request: DescribeEnsRegionIdIpv6InfoRequest): DescribeEnsRegionIdIpv6InfoResponse {
var runtime = new Util.RuntimeOptions{};
return describeEnsRegionIdIpv6InfoWithOptions(request, runtime);
}
model DescribeEnsRegionIdResourceRequest {
version?: string(name='Version'),
startTime?: string(name='StartTime'),
endTime?: string(name='EndTime'),
orderByParams?: string(name='OrderByParams'),
pageNumber?: int32(name='PageNumber'),
pageSize?: string(name='PageSize'),
isp?: string(name='Isp'),
}
model DescribeEnsRegionIdResourceResponseBody = {
ensRegionIdResources?: {
ensRegionIdResource?: [
{
area?: string(name='Area'),
areaCode?: string(name='AreaCode'),
bizDate?: string(name='BizDate'),
ensRegionId?: string(name='EnsRegionId'),
ensRegionIdName?: string(name='EnsRegionIdName'),
instanceCount?: int32(name='InstanceCount'),
internetBandwidth?: int32(name='InternetBandwidth'),
isp?: string(name='Isp'),
VCpu?: int32(name='VCpu'),
}
](name='EnsRegionIdResource')
}(name='EnsRegionIdResources'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeEnsRegionIdResourceResponse = {
headers: map[string]string(name='headers'),
body: DescribeEnsRegionIdResourceResponseBody(name='body'),
}
async function describeEnsRegionIdResourceWithOptions(request: DescribeEnsRegionIdResourceRequest, runtime: Util.RuntimeOptions): DescribeEnsRegionIdResourceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEnsRegionIdResource', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEnsRegionIdResource(request: DescribeEnsRegionIdResourceRequest): DescribeEnsRegionIdResourceResponse {
var runtime = new Util.RuntimeOptions{};
return describeEnsRegionIdResourceWithOptions(request, runtime);
}
model DescribeEnsRegionsRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
}
model DescribeEnsRegionsResponseBody = {
code?: int32(name='Code'),
ensRegions?: {
ensRegions?: [
{
area?: string(name='Area'),
enName?: string(name='EnName'),
ensRegionId?: string(name='EnsRegionId'),
name?: string(name='Name'),
province?: string(name='Province'),
}
](name='EnsRegions')
}(name='EnsRegions'),
requestId?: string(name='RequestId'),
}
model DescribeEnsRegionsResponse = {
headers: map[string]string(name='headers'),
body: DescribeEnsRegionsResponseBody(name='body'),
}
async function describeEnsRegionsWithOptions(request: DescribeEnsRegionsRequest, runtime: Util.RuntimeOptions): DescribeEnsRegionsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEnsRegions', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEnsRegions(request: DescribeEnsRegionsRequest): DescribeEnsRegionsResponse {
var runtime = new Util.RuntimeOptions{};
return describeEnsRegionsWithOptions(request, runtime);
}
model DescribeEpnBandWidthDataRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
instanceId?: string(name='InstanceId'),
startTime?: string(name='StartTime'),
endTime?: string(name='EndTime'),
period?: string(name='Period'),
isp?: string(name='Isp'),
networkingModel?: string(name='NetworkingModel'),
EPNInstanceId?: string(name='EPNInstanceId'),
}
model DescribeEpnBandWidthDataResponseBody = {
monitorData?: {
bandWidthMonitorData?: [
{
downBandWidth?: long(name='DownBandWidth'),
internetRX?: long(name='InternetRX'),
internetTX?: long(name='InternetTX'),
timeStamp?: string(name='TimeStamp'),
upBandWidth?: long(name='UpBandWidth'),
}
](name='BandWidthMonitorData'),
maxDownBandWidth?: long(name='MaxDownBandWidth'),
maxUpBandWidth?: long(name='MaxUpBandWidth'),
}(name='MonitorData'),
requestId?: string(name='RequestId'),
}
model DescribeEpnBandWidthDataResponse = {
headers: map[string]string(name='headers'),
body: DescribeEpnBandWidthDataResponseBody(name='body'),
}
async function describeEpnBandWidthDataWithOptions(request: DescribeEpnBandWidthDataRequest, runtime: Util.RuntimeOptions): DescribeEpnBandWidthDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEpnBandWidthData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEpnBandWidthData(request: DescribeEpnBandWidthDataRequest): DescribeEpnBandWidthDataResponse {
var runtime = new Util.RuntimeOptions{};
return describeEpnBandWidthDataWithOptions(request, runtime);
}
model DescribeEpnBandwitdhByInternetChargeTypeRequest {
version?: string(name='Version'),
startTime?: string(name='StartTime'),
endTime?: string(name='EndTime'),
isp?: string(name='Isp'),
ensRegionId?: string(name='EnsRegionId'),
networkingModel?: string(name='NetworkingModel'),
}
model DescribeEpnBandwitdhByInternetChargeTypeResponseBody = {
bandwidthValue?: long(name='BandwidthValue'),
internetChargeType?: string(name='InternetChargeType'),
requestId?: string(name='RequestId'),
timeStamp?: string(name='TimeStamp'),
}
model DescribeEpnBandwitdhByInternetChargeTypeResponse = {
headers: map[string]string(name='headers'),
body: DescribeEpnBandwitdhByInternetChargeTypeResponseBody(name='body'),
}
async function describeEpnBandwitdhByInternetChargeTypeWithOptions(request: DescribeEpnBandwitdhByInternetChargeTypeRequest, runtime: Util.RuntimeOptions): DescribeEpnBandwitdhByInternetChargeTypeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEpnBandwitdhByInternetChargeType', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEpnBandwitdhByInternetChargeType(request: DescribeEpnBandwitdhByInternetChargeTypeRequest): DescribeEpnBandwitdhByInternetChargeTypeResponse {
var runtime = new Util.RuntimeOptions{};
return describeEpnBandwitdhByInternetChargeTypeWithOptions(request, runtime);
}
model DescribeEpnInstanceAttributeRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
}
model DescribeEpnInstanceAttributeResponseBody = {
confVersions?: [
{
confVersion?: string(name='ConfVersion'),
ensRegionId?: string(name='EnsRegionId'),
}
](name='ConfVersions'),
EPNInstanceId?: string(name='EPNInstanceId'),
EPNInstanceName?: string(name='EPNInstanceName'),
instances?: [
{
ensRegionId?: string(name='EnsRegionId'),
instanceId?: string(name='InstanceId'),
instanceName?: string(name='InstanceName'),
isp?: string(name='Isp'),
privateIpAddress?: string(name='PrivateIpAddress'),
publicIpAddress?: string(name='PublicIpAddress'),
status?: string(name='Status'),
}
](name='Instances'),
networkingModel?: string(name='NetworkingModel'),
requestId?: string(name='RequestId'),
vSwitches?: [
{
cidrBlock?: string(name='CidrBlock'),
ensRegionId?: string(name='EnsRegionId'),
vSwitchId?: string(name='VSwitchId'),
vSwitchName?: string(name='VSwitchName'),
}
](name='VSwitches'),
}
model DescribeEpnInstanceAttributeResponse = {
headers: map[string]string(name='headers'),
body: DescribeEpnInstanceAttributeResponseBody(name='body'),
}
async function describeEpnInstanceAttributeWithOptions(request: DescribeEpnInstanceAttributeRequest, runtime: Util.RuntimeOptions): DescribeEpnInstanceAttributeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEpnInstanceAttribute', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEpnInstanceAttribute(request: DescribeEpnInstanceAttributeRequest): DescribeEpnInstanceAttributeResponse {
var runtime = new Util.RuntimeOptions{};
return describeEpnInstanceAttributeWithOptions(request, runtime);
}
model DescribeEpnInstancesRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
EPNInstanceName?: string(name='EPNInstanceName'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
}
model DescribeEpnInstancesResponseBody = {
EPNInstances?: {
EPNInstance?: [
{
creationTime?: string(name='CreationTime'),
EPNInstanceId?: string(name='EPNInstanceId'),
EPNInstanceName?: string(name='EPNInstanceName'),
EPNInstanceType?: string(name='EPNInstanceType'),
endTime?: string(name='EndTime'),
internetMaxBandwidthOut?: int32(name='InternetMaxBandwidthOut'),
modifyTime?: string(name='ModifyTime'),
networkingModel?: string(name='NetworkingModel'),
startTime?: string(name='StartTime'),
status?: string(name='Status'),
}
](name='EPNInstance')
}(name='EPNInstances'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeEpnInstancesResponse = {
headers: map[string]string(name='headers'),
body: DescribeEpnInstancesResponseBody(name='body'),
}
async function describeEpnInstancesWithOptions(request: DescribeEpnInstancesRequest, runtime: Util.RuntimeOptions): DescribeEpnInstancesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEpnInstances', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEpnInstances(request: DescribeEpnInstancesRequest): DescribeEpnInstancesResponse {
var runtime = new Util.RuntimeOptions{};
return describeEpnInstancesWithOptions(request, runtime);
}
model DescribeEpnMeasurementDataRequest {
version?: string(name='Version'),
startDate?: string(name='StartDate'),
endDate?: string(name='EndDate'),
}
model DescribeEpnMeasurementDataResponseBody = {
measurementDatas?: {
measurementData?: [
{
bandWidthFeeDatas?: {
bandWidthFeeData?: [
{
costCode?: string(name='CostCode'),
costName?: string(name='CostName'),
costType?: string(name='CostType'),
costVal?: int32(name='CostVal'),
ispLine?: string(name='IspLine'),
}
](name='BandWidthFeeData')
}(name='BandWidthFeeDatas'),
chargeModel?: string(name='ChargeModel'),
costCycle?: string(name='CostCycle'),
costEndTime?: string(name='CostEndTime'),
costStartTime?: string(name='CostStartTime'),
}
](name='MeasurementData')
}(name='MeasurementDatas'),
requestId?: string(name='RequestId'),
}
model DescribeEpnMeasurementDataResponse = {
headers: map[string]string(name='headers'),
body: DescribeEpnMeasurementDataResponseBody(name='body'),
}
async function describeEpnMeasurementDataWithOptions(request: DescribeEpnMeasurementDataRequest, runtime: Util.RuntimeOptions): DescribeEpnMeasurementDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeEpnMeasurementData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeEpnMeasurementData(request: DescribeEpnMeasurementDataRequest): DescribeEpnMeasurementDataResponse {
var runtime = new Util.RuntimeOptions{};
return describeEpnMeasurementDataWithOptions(request, runtime);
}
model DescribeExportImageInfoRequest {
imageId?: string(name='ImageId'),
imageName?: string(name='ImageName'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
}
model DescribeExportImageInfoResponseBody = {
images?: {
image?: [
{
architecture?: string(name='Architecture'),
creationTime?: string(name='CreationTime'),
exportedImageURL?: string(name='ExportedImageURL'),
imageExportStatus?: string(name='ImageExportStatus'),
imageId?: string(name='ImageId'),
imageName?: string(name='ImageName'),
imageOwnerAlias?: string(name='ImageOwnerAlias'),
platform?: string(name='Platform'),
}
](name='Image')
}(name='Images'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeExportImageInfoResponse = {
headers: map[string]string(name='headers'),
body: DescribeExportImageInfoResponseBody(name='body'),
}
async function describeExportImageInfoWithOptions(request: DescribeExportImageInfoRequest, runtime: Util.RuntimeOptions): DescribeExportImageInfoResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeExportImageInfo', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeExportImageInfo(request: DescribeExportImageInfoRequest): DescribeExportImageInfoResponse {
var runtime = new Util.RuntimeOptions{};
return describeExportImageInfoWithOptions(request, runtime);
}
model DescribeExportImageStatusRequest {
version?: string(name='Version'),
imageId?: string(name='ImageId'),
}
model DescribeExportImageStatusResponseBody = {
imageExportStatus?: string(name='ImageExportStatus'),
requestId?: string(name='RequestId'),
}
model DescribeExportImageStatusResponse = {
headers: map[string]string(name='headers'),
body: DescribeExportImageStatusResponseBody(name='body'),
}
async function describeExportImageStatusWithOptions(request: DescribeExportImageStatusRequest, runtime: Util.RuntimeOptions): DescribeExportImageStatusResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeExportImageStatus', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeExportImageStatus(request: DescribeExportImageStatusRequest): DescribeExportImageStatusResponse {
var runtime = new Util.RuntimeOptions{};
return describeExportImageStatusWithOptions(request, runtime);
}
model DescribeImageInfosRequest {
version?: string(name='Version'),
osType?: string(name='OsType'),
}
model DescribeImageInfosResponseBody = {
code?: int32(name='Code'),
images?: {
image?: [
{
description?: string(name='Description'),
imageId?: string(name='ImageId'),
imageSize?: string(name='ImageSize'),
imageVersion?: string(name='ImageVersion'),
OSName?: string(name='OSName'),
OSType?: string(name='OSType'),
}
](name='Image')
}(name='Images'),
requestId?: string(name='RequestId'),
}
model DescribeImageInfosResponse = {
headers: map[string]string(name='headers'),
body: DescribeImageInfosResponseBody(name='body'),
}
async function describeImageInfosWithOptions(request: DescribeImageInfosRequest, runtime: Util.RuntimeOptions): DescribeImageInfosResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeImageInfos', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeImageInfos(request: DescribeImageInfosRequest): DescribeImageInfosResponse {
var runtime = new Util.RuntimeOptions{};
return describeImageInfosWithOptions(request, runtime);
}
model DescribeImagesRequest {
product?: string(name='product'),
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
imageId?: string(name='ImageId'),
status?: string(name='Status'),
imageName?: string(name='ImageName'),
pageNumber?: string(name='PageNumber'),
pageSize?: string(name='PageSize'),
}
model DescribeImagesResponseBody = {
code?: int32(name='Code'),
images?: {
image?: [
{
architecture?: string(name='Architecture'),
creationTime?: string(name='CreationTime'),
imageId?: string(name='ImageId'),
imageName?: string(name='ImageName'),
imageOwnerAlias?: string(name='ImageOwnerAlias'),
imageSize?: string(name='ImageSize'),
platform?: string(name='Platform'),
}
](name='Image')
}(name='Images'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeImagesResponse = {
headers: map[string]string(name='headers'),
body: DescribeImagesResponseBody(name='body'),
}
async function describeImagesWithOptions(request: DescribeImagesRequest, runtime: Util.RuntimeOptions): DescribeImagesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeImages', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeImages(request: DescribeImagesRequest): DescribeImagesResponse {
var runtime = new Util.RuntimeOptions{};
return describeImagesWithOptions(request, runtime);
}
model DescribeInstanceAutoRenewAttributeRequest {
version?: string(name='Version'),
instanceIds?: string(name='InstanceIds'),
ownerId?: long(name='OwnerId'),
}
model DescribeInstanceAutoRenewAttributeResponseBody = {
code?: int32(name='Code'),
instanceRenewAttributes?: {
instanceRenewAttribute?: [
{
autoRenewal?: boolean(name='AutoRenewal'),
duration?: string(name='Duration'),
instanceId?: string(name='InstanceId'),
}
](name='InstanceRenewAttribute')
}(name='InstanceRenewAttributes'),
requestId?: string(name='RequestId'),
}
model DescribeInstanceAutoRenewAttributeResponse = {
headers: map[string]string(name='headers'),
body: DescribeInstanceAutoRenewAttributeResponseBody(name='body'),
}
async function describeInstanceAutoRenewAttributeWithOptions(request: DescribeInstanceAutoRenewAttributeRequest, runtime: Util.RuntimeOptions): DescribeInstanceAutoRenewAttributeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeInstanceAutoRenewAttribute', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeInstanceAutoRenewAttribute(request: DescribeInstanceAutoRenewAttributeRequest): DescribeInstanceAutoRenewAttributeResponse {
var runtime = new Util.RuntimeOptions{};
return describeInstanceAutoRenewAttributeWithOptions(request, runtime);
}
model DescribeInstanceMonitorDataRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
startTime?: string(name='StartTime'),
endTime?: string(name='EndTime'),
period?: string(name='Period'),
}
model DescribeInstanceMonitorDataResponseBody = {
code?: int32(name='Code'),
monitorData?: {
instanceMonitorData?: [
{
CPU?: string(name='CPU'),
instanceId?: string(name='InstanceId'),
memory?: string(name='Memory'),
}
](name='InstanceMonitorData')
}(name='MonitorData'),
requestId?: string(name='RequestId'),
}
model DescribeInstanceMonitorDataResponse = {
headers: map[string]string(name='headers'),
body: DescribeInstanceMonitorDataResponseBody(name='body'),
}
async function describeInstanceMonitorDataWithOptions(request: DescribeInstanceMonitorDataRequest, runtime: Util.RuntimeOptions): DescribeInstanceMonitorDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeInstanceMonitorData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeInstanceMonitorData(request: DescribeInstanceMonitorDataRequest): DescribeInstanceMonitorDataResponse {
var runtime = new Util.RuntimeOptions{};
return describeInstanceMonitorDataWithOptions(request, runtime);
}
model DescribeInstanceSpecRequest {
version?: string(name='Version'),
}
model DescribeInstanceSpecResponseBody = {
bandwidthLimit?: int32(name='BandwidthLimit'),
code?: int32(name='Code'),
dataDiskMaxSize?: int32(name='DataDiskMaxSize'),
dataDiskMinSize?: int32(name='DataDiskMinSize'),
instanceSpecs?: {
instanceSpec?: [
{
core?: string(name='Core'),
displayName?: string(name='DisplayName'),
instanceType?: string(name='InstanceType'),
memory?: string(name='Memory'),
}
](name='InstanceSpec')
}(name='InstanceSpecs'),
requestId?: string(name='RequestId'),
systemDiskMaxSize?: int32(name='SystemDiskMaxSize'),
}
model DescribeInstanceSpecResponse = {
headers: map[string]string(name='headers'),
body: DescribeInstanceSpecResponseBody(name='body'),
}
async function describeInstanceSpecWithOptions(request: DescribeInstanceSpecRequest, runtime: Util.RuntimeOptions): DescribeInstanceSpecResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeInstanceSpec', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeInstanceSpec(request: DescribeInstanceSpecRequest): DescribeInstanceSpecResponse {
var runtime = new Util.RuntimeOptions{};
return describeInstanceSpecWithOptions(request, runtime);
}
model DescribeInstanceTypesRequest {
version?: string(name='Version'),
}
model DescribeInstanceTypesResponseBody = {
code?: int32(name='Code'),
instanceTypes?: {
instanceType?: [
{
cpuCoreCount?: int32(name='CpuCoreCount'),
instanceTypeId?: string(name='InstanceTypeId'),
instanceTypeName?: string(name='InstanceTypeName'),
memorySize?: int32(name='MemorySize'),
}
](name='InstanceType')
}(name='InstanceTypes'),
requestId?: string(name='RequestId'),
}
model DescribeInstanceTypesResponse = {
headers: map[string]string(name='headers'),
body: DescribeInstanceTypesResponseBody(name='body'),
}
async function describeInstanceTypesWithOptions(request: DescribeInstanceTypesRequest, runtime: Util.RuntimeOptions): DescribeInstanceTypesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeInstanceTypes', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeInstanceTypes(request: DescribeInstanceTypesRequest): DescribeInstanceTypesResponse {
var runtime = new Util.RuntimeOptions{};
return describeInstanceTypesWithOptions(request, runtime);
}
model DescribeInstanceVncUrlRequest {
instanceId?: string(name='InstanceId', description='实例ID。'),
}
model DescribeInstanceVncUrlResponseBody = {
requestId?: string(name='RequestId', description='请求ID。'),
vncUrl?: string(name='VncUrl', description='管理终端Url。'),
}
model DescribeInstanceVncUrlResponse = {
headers: map[string]string(name='headers'),
body: DescribeInstanceVncUrlResponseBody(name='body'),
}
async function describeInstanceVncUrlWithOptions(request: DescribeInstanceVncUrlRequest, runtime: Util.RuntimeOptions): DescribeInstanceVncUrlResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeInstanceVncUrl', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeInstanceVncUrl(request: DescribeInstanceVncUrlRequest): DescribeInstanceVncUrlResponse {
var runtime = new Util.RuntimeOptions{};
return describeInstanceVncUrlWithOptions(request, runtime);
}
model DescribeKeyPairsRequest {
version?: string(name='Version'),
keyPairName?: string(name='KeyPairName'),
pageNumber?: string(name='PageNumber'),
pageSize?: string(name='PageSize'),
}
model DescribeKeyPairsResponseBody = {
keyPairs?: {
keyPair?: [
{
creationTime?: string(name='CreationTime'),
keyPairFingerPrint?: string(name='KeyPairFingerPrint'),
keyPairName?: string(name='KeyPairName'),
}
](name='KeyPair')
}(name='KeyPairs'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeKeyPairsResponse = {
headers: map[string]string(name='headers'),
body: DescribeKeyPairsResponseBody(name='body'),
}
async function describeKeyPairsWithOptions(request: DescribeKeyPairsRequest, runtime: Util.RuntimeOptions): DescribeKeyPairsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeKeyPairs', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeKeyPairs(request: DescribeKeyPairsRequest): DescribeKeyPairsResponse {
var runtime = new Util.RuntimeOptions{};
return describeKeyPairsWithOptions(request, runtime);
}
model DescribeMeasurementDataRequest {
version?: string(name='Version'),
startDate?: string(name='StartDate'),
endDate?: string(name='EndDate'),
}
model DescribeMeasurementDataResponseBody = {
measurementDatas?: {
measurementData?: [
{
bandWidthFeeDatas?: {
bandWidthFeeData?: [
{
costCode?: string(name='CostCode'),
costName?: string(name='CostName'),
costVal?: int32(name='CostVal'),
}
](name='BandWidthFeeData')
}(name='BandWidthFeeDatas'),
chargeModel?: string(name='ChargeModel'),
costCycle?: string(name='CostCycle'),
costEndTime?: string(name='CostEndTime'),
costStartTime?: string(name='CostStartTime'),
resourceFeeData?: {
memory?: int32(name='Memory'),
storage?: int32(name='Storage'),
vcpu?: int32(name='Vcpu'),
}(name='ResourceFeeData'),
resourceFeeDataDetails?: {
resourceFeeDataDetail?: [
{
costCode?: string(name='CostCode'),
costName?: string(name='CostName'),
costVal?: int32(name='CostVal'),
resourceType?: string(name='ResourceType'),
}
](name='ResourceFeeDataDetail')
}(name='ResourceFeeDataDetails'),
}
](name='MeasurementData')
}(name='MeasurementDatas'),
requestId?: string(name='RequestId'),
}
model DescribeMeasurementDataResponse = {
headers: map[string]string(name='headers'),
body: DescribeMeasurementDataResponseBody(name='body'),
}
async function describeMeasurementDataWithOptions(request: DescribeMeasurementDataRequest, runtime: Util.RuntimeOptions): DescribeMeasurementDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeMeasurementData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeMeasurementData(request: DescribeMeasurementDataRequest): DescribeMeasurementDataResponse {
var runtime = new Util.RuntimeOptions{};
return describeMeasurementDataWithOptions(request, runtime);
}
model DescribeNetworkInterfacesRequest {
instanceId?: string(name='InstanceId'),
vSwitchId?: string(name='VSwitchId'),
ensRegionId?: string(name='EnsRegionId'),
primaryIpAddress?: string(name='PrimaryIpAddress'),
pageNumber?: string(name='PageNumber'),
pageSize?: string(name='PageSize'),
}
model DescribeNetworkInterfacesResponseBody = {
networkInterfaceSets?: {
networkInterfaceSet?: [
{
creationTime?: string(name='CreationTime'),
ensRegionId?: string(name='EnsRegionId'),
instanceId?: string(name='InstanceId'),
macAddress?: string(name='MacAddress'),
networkInterfaceId?: string(name='NetworkInterfaceId'),
primaryIp?: string(name='PrimaryIp'),
primaryIpType?: string(name='PrimaryIpType'),
status?: string(name='Status'),
vSwitchId?: string(name='VSwitchId'),
}
](name='NetworkInterfaceSet')
}(name='NetworkInterfaceSets'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model DescribeNetworkInterfacesResponse = {
headers: map[string]string(name='headers'),
body: DescribeNetworkInterfacesResponseBody(name='body'),
}
async function describeNetworkInterfacesWithOptions(request: DescribeNetworkInterfacesRequest, runtime: Util.RuntimeOptions): DescribeNetworkInterfacesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeNetworkInterfaces', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeNetworkInterfaces(request: DescribeNetworkInterfacesRequest): DescribeNetworkInterfacesResponse {
var runtime = new Util.RuntimeOptions{};
return describeNetworkInterfacesWithOptions(request, runtime);
}
model DescribePrePaidInstanceStockRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
systemDiskSize?: int32(name='SystemDiskSize'),
dataDiskSize?: int32(name='DataDiskSize'),
instanceSpec?: string(name='InstanceSpec'),
}
model DescribePrePaidInstanceStockResponseBody = {
avaliableCount?: int32(name='AvaliableCount'),
cores?: int32(name='Cores'),
dataDiskSize?: int32(name='DataDiskSize'),
ensRegionId?: string(name='EnsRegionId'),
instanceSpec?: string(name='InstanceSpec'),
memory?: int32(name='Memory'),
requestId?: string(name='RequestId'),
systemDiskSize?: int32(name='SystemDiskSize'),
}
model DescribePrePaidInstanceStockResponse = {
headers: map[string]string(name='headers'),
body: DescribePrePaidInstanceStockResponseBody(name='body'),
}
async function describePrePaidInstanceStockWithOptions(request: DescribePrePaidInstanceStockRequest, runtime: Util.RuntimeOptions): DescribePrePaidInstanceStockResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribePrePaidInstanceStock', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describePrePaidInstanceStock(request: DescribePrePaidInstanceStockRequest): DescribePrePaidInstanceStockResponse {
var runtime = new Util.RuntimeOptions{};
return describePrePaidInstanceStockWithOptions(request, runtime);
}
model DescribePriceRequest {
systemDisk?: {
size?: int32(name='Size'),
}(name='SystemDisk'),
dataDisk?: [
{
size?: int32(name='Size'),
}
](name='DataDisk'),
version?: string(name='Version'),
instanceType?: string(name='InstanceType'),
ensRegionId?: string(name='EnsRegionId'),
period?: int32(name='Period'),
quantity?: int32(name='Quantity'),
internetChargeType?: string(name='InternetChargeType'),
}
model DescribePriceResponseBody = {
priceInfo?: {
price?: {
currency?: string(name='Currency'),
discountPrice?: float(name='DiscountPrice'),
originalPrice?: float(name='OriginalPrice'),
tradePrice?: float(name='TradePrice'),
}(name='Price'),
}(name='PriceInfo'),
requestId?: string(name='RequestId'),
}
model DescribePriceResponse = {
headers: map[string]string(name='headers'),
body: DescribePriceResponseBody(name='body'),
}
async function describePriceWithOptions(request: DescribePriceRequest, runtime: Util.RuntimeOptions): DescribePriceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribePrice', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describePrice(request: DescribePriceRequest): DescribePriceResponse {
var runtime = new Util.RuntimeOptions{};
return describePriceWithOptions(request, runtime);
}
model DescribeSecurityGroupAttributeRequest {
version?: string(name='Version'),
securityGroupId?: string(name='SecurityGroupId'),
}
model DescribeSecurityGroupAttributeResponseBody = {
permissions?: {
permission?: [
{
creationTime?: string(name='CreationTime'),
destCidrIp?: string(name='DestCidrIp'),
direction?: string(name='Direction'),
ipProtocol?: string(name='IpProtocol'),
policy?: string(name='Policy'),
portRange?: string(name='PortRange'),
priority?: int32(name='Priority'),
sourceCidrIp?: string(name='SourceCidrIp'),
sourcePortRange?: string(name='SourcePortRange'),
}
](name='Permission')
}(name='Permissions'),
requestId?: string(name='RequestId'),
securityGroupId?: string(name='SecurityGroupId'),
}
model DescribeSecurityGroupAttributeResponse = {
headers: map[string]string(name='headers'),
body: DescribeSecurityGroupAttributeResponseBody(name='body'),
}
async function describeSecurityGroupAttributeWithOptions(request: DescribeSecurityGroupAttributeRequest, runtime: Util.RuntimeOptions): DescribeSecurityGroupAttributeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeSecurityGroupAttribute', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeSecurityGroupAttribute(request: DescribeSecurityGroupAttributeRequest): DescribeSecurityGroupAttributeResponse {
var runtime = new Util.RuntimeOptions{};
return describeSecurityGroupAttributeWithOptions(request, runtime);
}
model DescribeSecurityGroupsRequest {
version?: string(name='Version'),
securityGroupId?: string(name='SecurityGroupId'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
securityGroupName?: string(name='SecurityGroupName'),
}
model DescribeSecurityGroupsResponseBody = {
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
securityGroups?: {
securityGroup?: [
{
creationTime?: string(name='CreationTime'),
securityGroupId?: string(name='SecurityGroupId'),
securityGroupName?: string(name='SecurityGroupName'),
}
](name='SecurityGroup')
}(name='SecurityGroups'),
totalCount?: int32(name='TotalCount'),
}
model DescribeSecurityGroupsResponse = {
headers: map[string]string(name='headers'),
body: DescribeSecurityGroupsResponseBody(name='body'),
}
async function describeSecurityGroupsWithOptions(request: DescribeSecurityGroupsRequest, runtime: Util.RuntimeOptions): DescribeSecurityGroupsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeSecurityGroups', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeSecurityGroups(request: DescribeSecurityGroupsRequest): DescribeSecurityGroupsResponse {
var runtime = new Util.RuntimeOptions{};
return describeSecurityGroupsWithOptions(request, runtime);
}
model DescribeServcieScheduleRequest {
appId?: string(name='AppId'),
uuid?: string(name='Uuid'),
podConfigName?: string(name='PodConfigName'),
}
model DescribeServcieScheduleResponseBody = {
index?: int32(name='Index'),
instanceId?: string(name='InstanceId'),
instanceIp?: string(name='InstanceIp'),
instancePort?: int32(name='InstancePort'),
podAbstractInfo?: {
containerService?: boolean(name='ContainerService'),
containerStatuses?: {
containerStatus?: [
{
containerId?: string(name='ContainerId'),
name?: string(name='Name'),
}
](name='ContainerStatus')
}(name='ContainerStatuses'),
name?: boolean(name='Name'),
namespace?: boolean(name='Namespace'),
resourceScope?: boolean(name='ResourceScope'),
status?: boolean(name='Status'),
}(name='PodAbstractInfo'),
requestId?: string(name='RequestId'),
requestRepeated?: boolean(name='RequestRepeated'),
tcpPorts?: string(name='TcpPorts'),
}
model DescribeServcieScheduleResponse = {
headers: map[string]string(name='headers'),
body: DescribeServcieScheduleResponseBody(name='body'),
}
async function describeServcieScheduleWithOptions(request: DescribeServcieScheduleRequest, runtime: Util.RuntimeOptions): DescribeServcieScheduleResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeServcieSchedule', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeServcieSchedule(request: DescribeServcieScheduleRequest): DescribeServcieScheduleResponse {
var runtime = new Util.RuntimeOptions{};
return describeServcieScheduleWithOptions(request, runtime);
}
model DescribeUserBandWidthDataRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
instanceId?: string(name='InstanceId'),
startTime?: string(name='StartTime'),
endTime?: string(name='EndTime'),
period?: string(name='Period'),
isp?: string(name='Isp'),
}
model DescribeUserBandWidthDataResponseBody = {
code?: int32(name='Code'),
monitorData?: {
bandWidthMonitorData?: [
{
downBandWidth?: int32(name='DownBandWidth'),
internetRX?: int32(name='InternetRX'),
internetTX?: int32(name='InternetTX'),
timeStamp?: string(name='TimeStamp'),
upBandWidth?: int32(name='UpBandWidth'),
}
](name='BandWidthMonitorData'),
maxDownBandWidth?: string(name='MaxDownBandWidth'),
maxUpBandWidth?: string(name='MaxUpBandWidth'),
}(name='MonitorData'),
requestId?: string(name='RequestId'),
}
model DescribeUserBandWidthDataResponse = {
headers: map[string]string(name='headers'),
body: DescribeUserBandWidthDataResponseBody(name='body'),
}
async function describeUserBandWidthDataWithOptions(request: DescribeUserBandWidthDataRequest, runtime: Util.RuntimeOptions): DescribeUserBandWidthDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeUserBandWidthData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeUserBandWidthData(request: DescribeUserBandWidthDataRequest): DescribeUserBandWidthDataResponse {
var runtime = new Util.RuntimeOptions{};
return describeUserBandWidthDataWithOptions(request, runtime);
}
model DescribeVSwitchesRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
vSwitchId?: string(name='VSwitchId'),
vSwitchName?: string(name='VSwitchName'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
orderByParams?: string(name='OrderByParams'),
}
model DescribeVSwitchesResponseBody = {
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
vSwitches?: {
vSwitch?: [
{
cidrBlock?: string(name='CidrBlock'),
createdTime?: string(name='CreatedTime'),
ensRegionId?: string(name='EnsRegionId'),
freeIpCount?: long(name='FreeIpCount'),
status?: string(name='Status'),
vSwitchId?: string(name='VSwitchId'),
vSwitchName?: string(name='VSwitchName'),
}
](name='VSwitch')
}(name='VSwitches'),
}
model DescribeVSwitchesResponse = {
headers: map[string]string(name='headers'),
body: DescribeVSwitchesResponseBody(name='body'),
}
async function describeVSwitchesWithOptions(request: DescribeVSwitchesRequest, runtime: Util.RuntimeOptions): DescribeVSwitchesResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('DescribeVSwitches', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function describeVSwitches(request: DescribeVSwitchesRequest): DescribeVSwitchesResponse {
var runtime = new Util.RuntimeOptions{};
return describeVSwitchesWithOptions(request, runtime);
}
model ExportBillDetailDataRequest {
version?: string(name='Version'),
startDate?: string(name='StartDate'),
endDate?: string(name='EndDate'),
}
model ExportBillDetailDataResponseBody = {
filePath?: string(name='FilePath'),
requestId?: string(name='RequestId'),
}
model ExportBillDetailDataResponse = {
headers: map[string]string(name='headers'),
body: ExportBillDetailDataResponseBody(name='body'),
}
async function exportBillDetailDataWithOptions(request: ExportBillDetailDataRequest, runtime: Util.RuntimeOptions): ExportBillDetailDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ExportBillDetailData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function exportBillDetailData(request: ExportBillDetailDataRequest): ExportBillDetailDataResponse {
var runtime = new Util.RuntimeOptions{};
return exportBillDetailDataWithOptions(request, runtime);
}
model ExportImageRequest {
version?: string(name='Version'),
imageId?: string(name='ImageId'),
OSSBucket?: string(name='OSSBucket'),
OSSRegionId?: string(name='OSSRegionId'),
OSSPrefix?: string(name='OSSPrefix'),
roleName?: string(name='RoleName'),
}
model ExportImageResponseBody = {
exportedImageURL?: string(name='ExportedImageURL'),
requestId?: string(name='RequestId'),
}
model ExportImageResponse = {
headers: map[string]string(name='headers'),
body: ExportImageResponseBody(name='body'),
}
async function exportImageWithOptions(request: ExportImageRequest, runtime: Util.RuntimeOptions): ExportImageResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ExportImage', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function exportImage(request: ExportImageRequest): ExportImageResponse {
var runtime = new Util.RuntimeOptions{};
return exportImageWithOptions(request, runtime);
}
model ExportMeasurementDataRequest {
version?: string(name='Version'),
startDate?: string(name='StartDate'),
endDate?: string(name='EndDate'),
}
model ExportMeasurementDataResponseBody = {
filePath?: string(name='FilePath'),
requestId?: string(name='RequestId'),
}
model ExportMeasurementDataResponse = {
headers: map[string]string(name='headers'),
body: ExportMeasurementDataResponseBody(name='body'),
}
async function exportMeasurementDataWithOptions(request: ExportMeasurementDataRequest, runtime: Util.RuntimeOptions): ExportMeasurementDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ExportMeasurementData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function exportMeasurementData(request: ExportMeasurementDataRequest): ExportMeasurementDataResponse {
var runtime = new Util.RuntimeOptions{};
return exportMeasurementDataWithOptions(request, runtime);
}
model GetVmListRequest {
aliUid?: long(name='AliUid'),
groupUuid?: string(name='GroupUuid'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
}
model GetVmListResponseBody = {
code?: int32(name='Code', description='业务状态码'),
requestId?: string(name='RequestId', description='Id of the request'),
msg?: string(name='Msg', description='返回信息'),
data?: string(name='Data', description='业务数据'),
desc?: string(name='Desc'),
}
model GetVmListResponse = {
headers: map[string]string(name='headers'),
body: GetVmListResponseBody(name='body'),
}
async function getVmListWithOptions(request: GetVmListRequest, runtime: Util.RuntimeOptions): GetVmListResponse {
Util.validateModel(request);
var query = OpenApiUtil.query(Util.toMap(request));
var req = new OpenApi.OpenApiRequest{
query = query,
};
return doRPCRequest('GetVmList', '2017-11-10', 'HTTPS', 'GET', 'AK', 'json', req, runtime);
}
async function getVmList(request: GetVmListRequest): GetVmListResponse {
var runtime = new Util.RuntimeOptions{};
return getVmListWithOptions(request, runtime);
}
model ImportKeyPairRequest {
version?: string(name='Version'),
keyPairName?: string(name='KeyPairName'),
publicKeyBody?: string(name='PublicKeyBody'),
}
model ImportKeyPairResponseBody = {
keyPairFingerPrint?: string(name='KeyPairFingerPrint'),
keyPairName?: string(name='KeyPairName'),
requestId?: string(name='RequestId'),
}
model ImportKeyPairResponse = {
headers: map[string]string(name='headers'),
body: ImportKeyPairResponseBody(name='body'),
}
async function importKeyPairWithOptions(request: ImportKeyPairRequest, runtime: Util.RuntimeOptions): ImportKeyPairResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ImportKeyPair', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function importKeyPair(request: ImportKeyPairRequest): ImportKeyPairResponse {
var runtime = new Util.RuntimeOptions{};
return importKeyPairWithOptions(request, runtime);
}
model JoinPublicIpsToEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
instanceInfos?: string(name='InstanceInfos'),
}
model JoinPublicIpsToEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model JoinPublicIpsToEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: JoinPublicIpsToEpnInstanceResponseBody(name='body'),
}
async function joinPublicIpsToEpnInstanceWithOptions(request: JoinPublicIpsToEpnInstanceRequest, runtime: Util.RuntimeOptions): JoinPublicIpsToEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('JoinPublicIpsToEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function joinPublicIpsToEpnInstance(request: JoinPublicIpsToEpnInstanceRequest): JoinPublicIpsToEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return joinPublicIpsToEpnInstanceWithOptions(request, runtime);
}
model JoinSecurityGroupRequest {
version?: string(name='Version'),
securityGroupId?: string(name='SecurityGroupId'),
instanceId?: string(name='InstanceId'),
}
model JoinSecurityGroupResponseBody = {
requestId?: string(name='RequestId'),
}
model JoinSecurityGroupResponse = {
headers: map[string]string(name='headers'),
body: JoinSecurityGroupResponseBody(name='body'),
}
async function joinSecurityGroupWithOptions(request: JoinSecurityGroupRequest, runtime: Util.RuntimeOptions): JoinSecurityGroupResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('JoinSecurityGroup', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function joinSecurityGroup(request: JoinSecurityGroupRequest): JoinSecurityGroupResponse {
var runtime = new Util.RuntimeOptions{};
return joinSecurityGroupWithOptions(request, runtime);
}
model JoinVSwitchesToEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
vSwitchesInfo?: string(name='VSwitchesInfo'),
}
model JoinVSwitchesToEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model JoinVSwitchesToEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: JoinVSwitchesToEpnInstanceResponseBody(name='body'),
}
async function joinVSwitchesToEpnInstanceWithOptions(request: JoinVSwitchesToEpnInstanceRequest, runtime: Util.RuntimeOptions): JoinVSwitchesToEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('JoinVSwitchesToEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function joinVSwitchesToEpnInstance(request: JoinVSwitchesToEpnInstanceRequest): JoinVSwitchesToEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return joinVSwitchesToEpnInstanceWithOptions(request, runtime);
}
model LeaveSecurityGroupRequest {
version?: string(name='Version'),
securityGroupId?: string(name='SecurityGroupId'),
instanceId?: string(name='InstanceId'),
}
model LeaveSecurityGroupResponseBody = {
requestId?: string(name='RequestId'),
}
model LeaveSecurityGroupResponse = {
headers: map[string]string(name='headers'),
body: LeaveSecurityGroupResponseBody(name='body'),
}
async function leaveSecurityGroupWithOptions(request: LeaveSecurityGroupRequest, runtime: Util.RuntimeOptions): LeaveSecurityGroupResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('LeaveSecurityGroup', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function leaveSecurityGroup(request: LeaveSecurityGroupRequest): LeaveSecurityGroupResponse {
var runtime = new Util.RuntimeOptions{};
return leaveSecurityGroupWithOptions(request, runtime);
}
model ListApplicationsRequest {
clusterNames?: string(name='ClusterNames'),
appVersions?: string(name='AppVersions'),
level?: string(name='Level'),
outAppInfoParams?: string(name='OutAppInfoParams'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
minDate?: string(name='MinDate'),
maxDate?: string(name='MaxDate'),
}
model ListApplicationsResponseBody = {
applications?: {
application?: [
{
appList?: {
app?: [
{
appId?: string(name='AppId'),
appInfo?: string(name='AppInfo'),
}
](name='App')
}(name='AppList'),
clusterName?: string(name='ClusterName'),
}
](name='Application')
}(name='Applications'),
pageNumber?: int32(name='PageNumber'),
pageSize?: int32(name='PageSize'),
requestId?: string(name='RequestId'),
totalCount?: int32(name='TotalCount'),
}
model ListApplicationsResponse = {
headers: map[string]string(name='headers'),
body: ListApplicationsResponseBody(name='body'),
}
async function listApplicationsWithOptions(request: ListApplicationsRequest, runtime: Util.RuntimeOptions): ListApplicationsResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ListApplications', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function listApplications(request: ListApplicationsRequest): ListApplicationsResponse {
var runtime = new Util.RuntimeOptions{};
return listApplicationsWithOptions(request, runtime);
}
model ModifyEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
EPNInstanceName?: string(name='EPNInstanceName'),
networkingModel?: string(name='NetworkingModel'),
internetMaxBandwidthOut?: int32(name='InternetMaxBandwidthOut'),
}
model ModifyEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model ModifyEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: ModifyEpnInstanceResponseBody(name='body'),
}
async function modifyEpnInstanceWithOptions(request: ModifyEpnInstanceRequest, runtime: Util.RuntimeOptions): ModifyEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ModifyEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function modifyEpnInstance(request: ModifyEpnInstanceRequest): ModifyEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return modifyEpnInstanceWithOptions(request, runtime);
}
model ModifyImageAttributeRequest {
product?: string(name='product'),
version?: string(name='Version'),
imageId?: string(name='ImageId'),
imageName?: string(name='ImageName'),
}
model ModifyImageAttributeResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model ModifyImageAttributeResponse = {
headers: map[string]string(name='headers'),
body: ModifyImageAttributeResponseBody(name='body'),
}
async function modifyImageAttributeWithOptions(request: ModifyImageAttributeRequest, runtime: Util.RuntimeOptions): ModifyImageAttributeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ModifyImageAttribute', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function modifyImageAttribute(request: ModifyImageAttributeRequest): ModifyImageAttributeResponse {
var runtime = new Util.RuntimeOptions{};
return modifyImageAttributeWithOptions(request, runtime);
}
model ModifyImageSharePermissionRequest {
imageId?: string(name='ImageId'),
addAccounts?: string(name='AddAccounts'),
removeAccounts?: string(name='RemoveAccounts'),
}
model ModifyImageSharePermissionResponseBody = {
requestId?: string(name='RequestId'),
}
model ModifyImageSharePermissionResponse = {
headers: map[string]string(name='headers'),
body: ModifyImageSharePermissionResponseBody(name='body'),
}
async function modifyImageSharePermissionWithOptions(request: ModifyImageSharePermissionRequest, runtime: Util.RuntimeOptions): ModifyImageSharePermissionResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ModifyImageSharePermission', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function modifyImageSharePermission(request: ModifyImageSharePermissionRequest): ModifyImageSharePermissionResponse {
var runtime = new Util.RuntimeOptions{};
return modifyImageSharePermissionWithOptions(request, runtime);
}
model ModifyInstanceAttributeRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
password?: string(name='Password'),
instanceName?: string(name='InstanceName'),
}
model ModifyInstanceAttributeResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model ModifyInstanceAttributeResponse = {
headers: map[string]string(name='headers'),
body: ModifyInstanceAttributeResponseBody(name='body'),
}
async function modifyInstanceAttributeWithOptions(request: ModifyInstanceAttributeRequest, runtime: Util.RuntimeOptions): ModifyInstanceAttributeResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ModifyInstanceAttribute', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function modifyInstanceAttribute(request: ModifyInstanceAttributeRequest): ModifyInstanceAttributeResponse {
var runtime = new Util.RuntimeOptions{};
return modifyInstanceAttributeWithOptions(request, runtime);
}
model PreCreateEnsServiceRequest {
version?: string(name='Version'),
ensServiceName?: string(name='EnsServiceName'),
imageId?: string(name='ImageId'),
instanceSpec?: string(name='InstanceSpec'),
systemDiskSize?: string(name='SystemDiskSize'),
dataDiskSize?: string(name='DataDiskSize'),
bandwidthType?: string(name='BandwidthType'),
instanceBandwithdLimit?: string(name='InstanceBandwithdLimit'),
password?: string(name='Password'),
keyPairName?: string(name='KeyPairName'),
userData?: string(name='UserData'),
netLevel?: string(name='NetLevel'),
schedulingStrategy?: string(name='SchedulingStrategy'),
schedulingPriceStrategy?: string(name='SchedulingPriceStrategy'),
buyResourcesDetail?: string(name='BuyResourcesDetail'),
}
model PreCreateEnsServiceResponseBody = {
buyResourcesDetail?: string(name='BuyResourcesDetail'),
code?: int32(name='Code'),
ensServiceId?: string(name='EnsServiceId'),
netLevel?: string(name='NetLevel'),
requestId?: string(name='RequestId'),
}
model PreCreateEnsServiceResponse = {
headers: map[string]string(name='headers'),
body: PreCreateEnsServiceResponseBody(name='body'),
}
async function preCreateEnsServiceWithOptions(request: PreCreateEnsServiceRequest, runtime: Util.RuntimeOptions): PreCreateEnsServiceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('PreCreateEnsService', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function preCreateEnsService(request: PreCreateEnsServiceRequest): PreCreateEnsServiceResponse {
var runtime = new Util.RuntimeOptions{};
return preCreateEnsServiceWithOptions(request, runtime);
}
model PushApplicationDataRequest {
data?: string(name='Data'),
appId?: string(name='AppId'),
timeout?: int32(name='Timeout'),
pushStrategy?: string(name='PushStrategy'),
}
model PushApplicationDataResponseBody = {
pushResults?: {
pushResult?: [
{
name?: string(name='Name'),
resultCode?: int32(name='ResultCode'),
resultDescrip?: string(name='ResultDescrip'),
version?: string(name='Version'),
}
](name='PushResult')
}(name='PushResults'),
requestId?: string(name='RequestId'),
}
model PushApplicationDataResponse = {
headers: map[string]string(name='headers'),
body: PushApplicationDataResponseBody(name='body'),
}
async function pushApplicationDataWithOptions(request: PushApplicationDataRequest, runtime: Util.RuntimeOptions): PushApplicationDataResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('PushApplicationData', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function pushApplicationData(request: PushApplicationDataRequest): PushApplicationDataResponse {
var runtime = new Util.RuntimeOptions{};
return pushApplicationDataWithOptions(request, runtime);
}
model RebootInstanceRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
forceStop?: string(name='ForceStop'),
}
model RebootInstanceResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model RebootInstanceResponse = {
headers: map[string]string(name='headers'),
body: RebootInstanceResponseBody(name='body'),
}
async function rebootInstanceWithOptions(request: RebootInstanceRequest, runtime: Util.RuntimeOptions): RebootInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RebootInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function rebootInstance(request: RebootInstanceRequest): RebootInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return rebootInstanceWithOptions(request, runtime);
}
model ReInitDiskRequest {
version?: string(name='Version'),
diskId?: string(name='DiskId'),
imageId?: string(name='ImageId'),
}
model ReInitDiskResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model ReInitDiskResponse = {
headers: map[string]string(name='headers'),
body: ReInitDiskResponseBody(name='body'),
}
async function reInitDiskWithOptions(request: ReInitDiskRequest, runtime: Util.RuntimeOptions): ReInitDiskResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ReInitDisk', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function reInitDisk(request: ReInitDiskRequest): ReInitDiskResponse {
var runtime = new Util.RuntimeOptions{};
return reInitDiskWithOptions(request, runtime);
}
model ReleaseEipAddressRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
eips?: string(name='Eips'),
}
model ReleaseEipAddressResponseBody = {
requestId?: string(name='RequestId'),
}
model ReleaseEipAddressResponse = {
headers: map[string]string(name='headers'),
body: ReleaseEipAddressResponseBody(name='body'),
}
async function releaseEipAddressWithOptions(request: ReleaseEipAddressRequest, runtime: Util.RuntimeOptions): ReleaseEipAddressResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ReleaseEipAddress', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function releaseEipAddress(request: ReleaseEipAddressRequest): ReleaseEipAddressResponse {
var runtime = new Util.RuntimeOptions{};
return releaseEipAddressWithOptions(request, runtime);
}
model ReleasePostPaidInstanceRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
}
model ReleasePostPaidInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model ReleasePostPaidInstanceResponse = {
headers: map[string]string(name='headers'),
body: ReleasePostPaidInstanceResponseBody(name='body'),
}
async function releasePostPaidInstanceWithOptions(request: ReleasePostPaidInstanceRequest, runtime: Util.RuntimeOptions): ReleasePostPaidInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ReleasePostPaidInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function releasePostPaidInstance(request: ReleasePostPaidInstanceRequest): ReleasePostPaidInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return releasePostPaidInstanceWithOptions(request, runtime);
}
model ReleasePrePaidInstanceRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
}
model ReleasePrePaidInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model ReleasePrePaidInstanceResponse = {
headers: map[string]string(name='headers'),
body: ReleasePrePaidInstanceResponseBody(name='body'),
}
async function releasePrePaidInstanceWithOptions(request: ReleasePrePaidInstanceRequest, runtime: Util.RuntimeOptions): ReleasePrePaidInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('ReleasePrePaidInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function releasePrePaidInstance(request: ReleasePrePaidInstanceRequest): ReleasePrePaidInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return releasePrePaidInstanceWithOptions(request, runtime);
}
model RemovePublicIpsFromEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
instanceInfos?: string(name='InstanceInfos'),
}
model RemovePublicIpsFromEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model RemovePublicIpsFromEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: RemovePublicIpsFromEpnInstanceResponseBody(name='body'),
}
async function removePublicIpsFromEpnInstanceWithOptions(request: RemovePublicIpsFromEpnInstanceRequest, runtime: Util.RuntimeOptions): RemovePublicIpsFromEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RemovePublicIpsFromEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function removePublicIpsFromEpnInstance(request: RemovePublicIpsFromEpnInstanceRequest): RemovePublicIpsFromEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return removePublicIpsFromEpnInstanceWithOptions(request, runtime);
}
model RemoveVSwitchesFromEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
vSwitchesInfo?: string(name='VSwitchesInfo'),
}
model RemoveVSwitchesFromEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model RemoveVSwitchesFromEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: RemoveVSwitchesFromEpnInstanceResponseBody(name='body'),
}
async function removeVSwitchesFromEpnInstanceWithOptions(request: RemoveVSwitchesFromEpnInstanceRequest, runtime: Util.RuntimeOptions): RemoveVSwitchesFromEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RemoveVSwitchesFromEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function removeVSwitchesFromEpnInstance(request: RemoveVSwitchesFromEpnInstanceRequest): RemoveVSwitchesFromEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return removeVSwitchesFromEpnInstanceWithOptions(request, runtime);
}
model RescaleApplicationRequest {
appId?: string(name='AppId'),
rescaleType?: string(name='RescaleType'),
rescaleLevel?: string(name='RescaleLevel'),
resourceSelector?: string(name='ResourceSelector'),
toAppVersion?: string(name='ToAppVersion'),
timeout?: int32(name='Timeout'),
}
model RescaleApplicationResponseBody = {
requestId?: string(name='RequestId'),
}
model RescaleApplicationResponse = {
headers: map[string]string(name='headers'),
body: RescaleApplicationResponseBody(name='body'),
}
async function rescaleApplicationWithOptions(request: RescaleApplicationRequest, runtime: Util.RuntimeOptions): RescaleApplicationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RescaleApplication', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function rescaleApplication(request: RescaleApplicationRequest): RescaleApplicationResponse {
var runtime = new Util.RuntimeOptions{};
return rescaleApplicationWithOptions(request, runtime);
}
model RevokeSecurityGroupRequest {
version?: string(name='Version'),
ipProtocol?: string(name='IpProtocol'),
portRange?: string(name='PortRange'),
securityGroupId?: string(name='SecurityGroupId'),
policy?: string(name='Policy'),
priority?: int32(name='Priority'),
sourceCidrIp?: string(name='SourceCidrIp'),
sourcePortRange?: string(name='SourcePortRange'),
}
model RevokeSecurityGroupResponseBody = {
requestId?: string(name='RequestId'),
}
model RevokeSecurityGroupResponse = {
headers: map[string]string(name='headers'),
body: RevokeSecurityGroupResponseBody(name='body'),
}
async function revokeSecurityGroupWithOptions(request: RevokeSecurityGroupRequest, runtime: Util.RuntimeOptions): RevokeSecurityGroupResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RevokeSecurityGroup', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function revokeSecurityGroup(request: RevokeSecurityGroupRequest): RevokeSecurityGroupResponse {
var runtime = new Util.RuntimeOptions{};
return revokeSecurityGroupWithOptions(request, runtime);
}
model RevokeSecurityGroupEgressRequest {
version?: string(name='Version'),
ipProtocol?: string(name='IpProtocol'),
portRange?: string(name='PortRange'),
securityGroupId?: string(name='SecurityGroupId'),
policy?: string(name='Policy'),
priority?: int32(name='Priority'),
destCidrIp?: string(name='DestCidrIp'),
sourcePortRange?: string(name='SourcePortRange'),
}
model RevokeSecurityGroupEgressResponseBody = {
requestId?: string(name='RequestId'),
}
model RevokeSecurityGroupEgressResponse = {
headers: map[string]string(name='headers'),
body: RevokeSecurityGroupEgressResponseBody(name='body'),
}
async function revokeSecurityGroupEgressWithOptions(request: RevokeSecurityGroupEgressRequest, runtime: Util.RuntimeOptions): RevokeSecurityGroupEgressResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RevokeSecurityGroupEgress', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function revokeSecurityGroupEgress(request: RevokeSecurityGroupEgressRequest): RevokeSecurityGroupEgressResponse {
var runtime = new Util.RuntimeOptions{};
return revokeSecurityGroupEgressWithOptions(request, runtime);
}
model RollbackApplicationRequest {
appId?: string(name='AppId'),
fromAppVersion?: string(name='FromAppVersion'),
toAppVersion?: string(name='ToAppVersion'),
timeout?: int32(name='Timeout'),
}
model RollbackApplicationResponseBody = {
requestId?: string(name='RequestId'),
}
model RollbackApplicationResponse = {
headers: map[string]string(name='headers'),
body: RollbackApplicationResponseBody(name='body'),
}
async function rollbackApplicationWithOptions(request: RollbackApplicationRequest, runtime: Util.RuntimeOptions): RollbackApplicationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RollbackApplication', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function rollbackApplication(request: RollbackApplicationRequest): RollbackApplicationResponse {
var runtime = new Util.RuntimeOptions{};
return rollbackApplicationWithOptions(request, runtime);
}
model RunServiceScheduleRequest {
appId?: string(name='AppId'),
uuid?: string(name='Uuid'),
clientIp?: string(name='ClientIp'),
serviceAction?: string(name='ServiceAction'),
podConfigName?: string(name='PodConfigName'),
preLockedTimeout?: int32(name='PreLockedTimeout'),
directorys?: string(name='Directorys'),
serviceCommands?: string(name='ServiceCommands'),
scheduleStrategy?: string(name='ScheduleStrategy'),
}
model RunServiceScheduleResponseBody = {
commandResults?: {
commandResult?: [
{
command?: string(name='Command'),
containerName?: string(name='ContainerName'),
resultMsg?: string(name='ResultMsg'),
}
](name='CommandResult')
}(name='CommandResults'),
index?: int32(name='Index'),
instanceId?: string(name='InstanceId'),
instanceIp?: string(name='InstanceIp'),
instancePort?: int32(name='InstancePort'),
requestId?: string(name='RequestId'),
requestRepeated?: string(name='RequestRepeated'),
tcpPorts?: boolean(name='TcpPorts'),
}
model RunServiceScheduleResponse = {
headers: map[string]string(name='headers'),
body: RunServiceScheduleResponseBody(name='body'),
}
async function runServiceScheduleWithOptions(request: RunServiceScheduleRequest, runtime: Util.RuntimeOptions): RunServiceScheduleResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('RunServiceSchedule', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function runServiceSchedule(request: RunServiceScheduleRequest): RunServiceScheduleResponse {
var runtime = new Util.RuntimeOptions{};
return runServiceScheduleWithOptions(request, runtime);
}
model SchedulePodRequest {
aliUid?: long(name='AliUid'),
groupUuid?: string(name='GroupUuid'),
workloadUuid?: string(name='WorkloadUuid'),
tenant?: string(name='Tenant'),
regions?: string(name='Regions'),
areaCodes?: string(name='AreaCodes'),
isps?: string(name='Isps'),
requirements?: string(name='Requirements'),
labels?: string(name='Labels'),
resourceAttribute?: string(name='ResourceAttribute'),
}
model SchedulePodResponseBody = {
requestId?: string(name='RequestId', description='Id of the request'),
code?: long(name='Code'),
msg?: string(name='Msg'),
desc?: string(name='Desc'),
data?: string(name='Data'),
}
model SchedulePodResponse = {
headers: map[string]string(name='headers'),
body: SchedulePodResponseBody(name='body'),
}
async function schedulePodWithOptions(request: SchedulePodRequest, runtime: Util.RuntimeOptions): SchedulePodResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('SchedulePod', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function schedulePod(request: SchedulePodRequest): SchedulePodResponse {
var runtime = new Util.RuntimeOptions{};
return schedulePodWithOptions(request, runtime);
}
model StartEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
}
model StartEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model StartEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: StartEpnInstanceResponseBody(name='body'),
}
async function startEpnInstanceWithOptions(request: StartEpnInstanceRequest, runtime: Util.RuntimeOptions): StartEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('StartEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function startEpnInstance(request: StartEpnInstanceRequest): StartEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return startEpnInstanceWithOptions(request, runtime);
}
model StartInstanceRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
}
model StartInstanceResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model StartInstanceResponse = {
headers: map[string]string(name='headers'),
body: StartInstanceResponseBody(name='body'),
}
async function startInstanceWithOptions(request: StartInstanceRequest, runtime: Util.RuntimeOptions): StartInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('StartInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function startInstance(request: StartInstanceRequest): StartInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return startInstanceWithOptions(request, runtime);
}
model StopEpnInstanceRequest {
EPNInstanceId?: string(name='EPNInstanceId'),
}
model StopEpnInstanceResponseBody = {
requestId?: string(name='RequestId'),
}
model StopEpnInstanceResponse = {
headers: map[string]string(name='headers'),
body: StopEpnInstanceResponseBody(name='body'),
}
async function stopEpnInstanceWithOptions(request: StopEpnInstanceRequest, runtime: Util.RuntimeOptions): StopEpnInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('StopEpnInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function stopEpnInstance(request: StopEpnInstanceRequest): StopEpnInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return stopEpnInstanceWithOptions(request, runtime);
}
model StopInstanceRequest {
version?: string(name='Version'),
instanceId?: string(name='InstanceId'),
forceStop?: string(name='ForceStop'),
}
model StopInstanceResponseBody = {
code?: int32(name='Code'),
requestId?: string(name='RequestId'),
}
model StopInstanceResponse = {
headers: map[string]string(name='headers'),
body: StopInstanceResponseBody(name='body'),
}
async function stopInstanceWithOptions(request: StopInstanceRequest, runtime: Util.RuntimeOptions): StopInstanceResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('StopInstance', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function stopInstance(request: StopInstanceRequest): StopInstanceResponse {
var runtime = new Util.RuntimeOptions{};
return stopInstanceWithOptions(request, runtime);
}
model UnassociateEipAddressRequest {
version?: string(name='Version'),
ensRegionId?: string(name='EnsRegionId'),
eip?: string(name='Eip'),
instanceIdInternetIp?: string(name='InstanceIdInternetIp'),
}
model UnassociateEipAddressResponseBody = {
requestId?: string(name='RequestId'),
}
model UnassociateEipAddressResponse = {
headers: map[string]string(name='headers'),
body: UnassociateEipAddressResponseBody(name='body'),
}
async function unassociateEipAddressWithOptions(request: UnassociateEipAddressRequest, runtime: Util.RuntimeOptions): UnassociateEipAddressResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UnassociateEipAddress', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function unassociateEipAddress(request: UnassociateEipAddressRequest): UnassociateEipAddressResponse {
var runtime = new Util.RuntimeOptions{};
return unassociateEipAddressWithOptions(request, runtime);
}
model UpgradeApplicationRequest {
appId?: string(name='AppId'),
template?: string(name='Template'),
timeout?: int32(name='Timeout'),
}
model UpgradeApplicationResponseBody = {
requestId?: string(name='RequestId'),
}
model UpgradeApplicationResponse = {
headers: map[string]string(name='headers'),
body: UpgradeApplicationResponseBody(name='body'),
}
async function upgradeApplicationWithOptions(request: UpgradeApplicationRequest, runtime: Util.RuntimeOptions): UpgradeApplicationResponse {
Util.validateModel(request);
var req = new OpenApi.OpenApiRequest{
body = Util.toMap(request),
};
return doRPCRequest('UpgradeApplication', '2017-11-10', 'HTTPS', 'POST', 'AK', 'json', req, runtime);
}
async function upgradeApplication(request: UpgradeApplicationRequest): UpgradeApplicationResponse {
var runtime = new Util.RuntimeOptions{};
return upgradeApplicationWithOptions(request, runtime);
}
| Tea | 4 | aliyun/alibabacloud-sdk | ens-20171110/main.tea | [
"Apache-2.0"
] |
#!/bin/bash
# Copyright 2019 gRPC authors.
#
# 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.
set -ex
readonly UPB_GENERATED_SRC=src/core/ext/upb-generated
readonly UPBDEFS_GENERATED_SRC=src/core/ext/upbdefs-generated
readonly UPB_TMP_OUTPUT="$(mktemp -d)"
tools/codegen/core/gen_upb_api.sh "$UPB_TMP_OUTPUT"
diff -rq "$UPB_GENERATED_SRC" "$UPB_TMP_OUTPUT/upb-generated"
diff -rq "$UPBDEFS_GENERATED_SRC" "$UPB_TMP_OUTPUT/upbdefs-generated"
| Shell | 4 | arghyadip01/grpc | tools/distrib/check_upb_output.sh | [
"Apache-2.0"
] |
public class ClassWithReferenceToInner {
public String f1(Thread.State state) {
return "OK"
}
public String f2(Outer.Nested nested) {
return "OK"
}
}
class Outer {
class Nested {}
}
| Groovy | 3 | AndrewReitz/kotlin | libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/groovyInterop/lib/src/main/groovy/ClassWithReferenceToInner.groovy | [
"ECL-2.0",
"Apache-2.0"
] |
<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="lib/simpleRequire.js"></script>
<script src="lib/config.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="lib/facePrint.js"></script>
<script src="lib/testHelper.js"></script>
<!-- <script src="ut/lib/canteen.js"></script> -->
<link rel="stylesheet" href="lib/reset.css" />
</head>
<body>
<style>
</style>
<div id="main0"></div>
<div id="main1"></div>
<div id="main2"></div>
<div id="main3"></div>
<script>
require(['echarts'], function (echarts) {
var option = {
xAxis: {},
yAxis: {},
series: {
type: 'line',
data: [[11, 22], [33, 44]]
},
toolbox: {
show: true,
feature: {
restore: {},
saveAsImage: {},
dataZoom: {},
dataView: {}
}
},
animation: false
};
var chart = testHelper.create(echarts, 'main0', {
title: [
'orient: horizontal; top right side',
'Text when hover on toolbox icon should not be outside of the canvas'
],
option: option
});
});
</script>
<script>
require(['echarts'], function (echarts) {
var option = {
xAxis: {},
yAxis: {},
series: {
type: 'line',
data: [[11, 22], [33, 44]]
},
toolbox: {
show: true,
feature: {
dataZoom: {},
dataView: {},
restore: {},
saveAsImage: {}
},
left: 10,
bottom: 10
},
animation: false
};
var chart = testHelper.create(echarts, 'main1', {
title: [
'orient: horizontal; bottom left side',
'Text when hover on toolbox icon should not be outside of the canvas'
],
option: option
});
});
</script>
<script>
require(['echarts'], function (echarts) {
var option = {
xAxis: {
},
yAxis: {
},
series: {
type: 'line',
data: [[11, 22], [33, 44]],
},
toolbox: {
show: true,
feature: {
restore: {},
saveAsImage: {},
dataZoom: {},
dataView: {}
},
orient: 'vertical',
left: 5
},
animation: false
};
var chart = testHelper.create(echarts, 'main2', {
title: [
'orient: horizontal; bottom left side',
'Text when hover on toolbox icon should not be outside of the canvas'
],
option: option
});
});
</script>
<script>
require(['echarts'], function (echarts) {
var option = {
xAxis: {},
yAxis: {},
series: {
type: 'line',
data: [[11, 22], [33, 44]]
},
toolbox: {
show: true,
feature: {
restore: {},
saveAsImage: {},
dataZoom: {},
dataView: {}
},
orient: 'vertical',
right: 5
},
animation: false
};
var chart = testHelper.create(echarts, 'main3', {
title: [
'orient: horizontal; bottom right side',
'Text when hover on toolbox icon should not be outside of the canvas'
],
option: option
});
});
</script>
</body>
</html>
| HTML | 4 | DominiqueDeCordova/echarts | test/toolbox-title.html | [
"Apache-2.0"
] |
.q-space
flex-grow: 1 !important
| Sass | 1 | ygyg70/quasar | ui/src/components/space/QSpace.sass | [
"MIT"
] |
require(httr)
data = '{"title":"china1"}'
res <- httr::POST(url = 'http://example.com/post', body = data)
| R | 3 | verhovsky/curlconverter | fixtures/r/post_with_data_binary.r | [
"MIT"
] |
package com.baeldung.category;
class BaeldungCategory {
public static String capitalize(String self) {
String capitalizedStr = self;
if (self.size() > 0) {
capitalizedStr = self.substring(0, 1).toUpperCase() + self.substring(1);
}
return capitalizedStr
}
public static double toThePower(Number self, Number exponent) {
return Math.pow(self, exponent);
}
}
| Groovy | 3 | DBatOWL/tutorials | core-groovy-2/src/main/groovy/com/baeldung/category/BaeldungCategory.groovy | [
"MIT"
] |
^XA
^FX Property Of Text ^FS
^CWQ,E:MOD000.FNT
^CFQ,35
^FO15,53
^FDProperty Of^FS
^FX WMTU Logo ^FS
~DGR:000.GRF,3248,29,,hN01FE,hO0FFE,hP01F8,hQ03E,hR0F,hR03C,hR01E,hS07,hS038,hS01C,hO0EJ0E,hN01FEI06,hO01F8007,hP01E0038,hQ0F0018,hQ03801C,hQ01C00C,hR0E00C,hR07006,hR03006,hN01F003806,hO0FC01803,hP0E01803,hP0700C03,hP0300C03,hP0380C03,hP0180C03,7FFCI01FFJ0MFL07UFC00IFC180C03,7FFEI03FF8I0MFL0VFC00IFC180C,7FFEI03FF8I0MFL0VFC00IFC,7FFEI03FF8001MF8J01VFC00IFC,3IFI07FF8001MF8J01VFC00IFC,3IFI07FFC001MFCJ01VFC00IFC,3IFI07FFC001MFCJ03VFC00IFC,1IFI0IFC003MFCJ03VFC00IFC,1IF800IFE003MFEJ03VFC00IFC,1IF800IFE003MFEJ07VFC00IFC,0IF800IFE003MFEJ07VFC00IFC,0IF801JF007NFJ07VFC00IFC,0IFC01JF007NFJ0KF800IF800IFC00IFC,07FFC01JF007FFDKF8I0KF800IF800IFC00IFC,07FFC03JF007FFDKF8001KF800IF800IFC00IFC,07FFE03JF80IF9KF8001KF800IF800IFC00IFC,07FFE03JF80IF9KFC001KF800IF800IFC00IFC,03FFE07JF80IF9KFC003KF800IF800IFC00IFC,03FFE07JFC1IF9KFC003KF800IF800IFC00IFC,03IF07JFC1IF1KFE003KF800IF800IFC00IFC,01IF07JFC1IF1KFE007KF800IF800IFC00IFC,01IF0KFE1IF1LF007KF800IF800IFC00IFC,01IF0KFE3FFE1LF00LF800IF800IFC00IFC,00IF8KFE3FFE1LF00LF800IF800IFC00IFC,00IF9KFE3FFE1LF80LF800IF800IFC00IFC,00IF9LF3FFC1LF81LF800IF800IFC00IFC,007FF9LF7FFC1LF81LF800IF800IFC00IFC,007RFC1IF3FFC1FFEIF800IF800IFC00IFC,007KFELFC1IF3FFC3FFCIF800IF800IFC00IFC,003KFCLF81IF3FFE3FFCIF800IF800IFC00IFC,003KFC7KF81IF1FFE7FFCIF800IF800IFC00IFC,003KFC7KF81IF1FFE7FF8IF800IF800IFC00IFC,003KF87KF01IF1IF7FF8IF800IF800IFC00IFC,001KF83KF01IF0LF8IF800IF800IFC00IFC,001KF83KF01IF0LF0IF800IF800IFC00IFC,001KF83JFE01IF07KF0IF800IF800IFC00IFC,I0KF03JFE01IF07KF0IF800IF800IFC00IFC,I0KF01JFE01IF07JFE0IF800IF800IFC00IFC,I0KF01JFC01IF03JFE0IF800IF800IFE01IFC,I07IFE01JFC01IF83JFC0IF800IF800IFE01IF8,I07IFE01JFC01IF83JFC0IF800IF8007IF03IF8,I07IFE00JF801IF81JFC0IF800IF8007NF8,I03IFE00JF801IF81JF80IF800IF8007NF8,I03IFC00JF801IF81JF80IF800IF8007NF8,I03IFC007IF801IF80JF80IF800IF8003NF,I03IFC007IF001IF80JF00IF800IF8003NF,I01IFC007IF001IF807IF00IF800IF8001MFE,I01IF8007IF001IF807FFE00IF800IF8001MFE,I01IF8003FFE001IF807FFE00IF800IF8I0MFC,J0IF8003FFE001IF803FFE00IF800IF8I07LF8,J0IFI03FFE001IF803FFC00IF800IF8I03LF,J0IFI01FFC001IF801FFC00IF800IF8J0KFC,J07FFI01FFC001IF801FFC00IF800IF8J03JF,hI0IFC,,::gN07E01C00FEI01C186007,gM01FF8FC01FFI0FF1BFC3FC,gM03C1CFC0383801E79F9E79E,gM0300C0C0701C03811E07E07,gM070060C0600C03001C03C038,gM060060C0600C070018018018,gM060060C0C00C060018018018,:::::gM060060C0C00C07F018018018,gM060060C0600C07F818018018,gM0700E0C0600C07,gM0380E0C0701C06,gM01C3E0C0383C06,gN0FFE0C01FFC06,gN07E60C00FCC06,gP060CJ0C06,:gP0E0CCI0C06,gO01C0DE001806,gM01C380DE1C7806,gN0FF00DE1FF006,gN03E00CC07C006,gY02,
^FO223,10^XG000.GRF^FS
^IDR:000.GRF
^FX CODE128 Barcode ^FS
^FO15,150
^BCN,30,Y,N,N
^FD/zAVocCnv4MIs0Xb^FS
^XZ
| Zimpl | 3 | ajnavarro/language-dataset | data/github.com/WMTU/collielabelprinter/0c866937ed1b53dd8221b33ffdcff58051f892c4/default.zpl | [
"MIT"
] |
option(SWIFT_ENABLE_IOS32
"Build 32-bit variants of iOS"
TRUE)
if(SWIFT_ENABLE_IOS32)
set(SUPPORTED_IOS_ARCHS "armv7;armv7s;arm64;arm64e")
set(SUPPORTED_IOS_SIMULATOR_ARCHS "i386;x86_64;arm64")
else()
set(SUPPORTED_IOS_ARCHS "arm64;arm64e")
set(SUPPORTED_IOS_SIMULATOR_ARCHS "x86_64;arm64")
endif()
set(SUPPORTED_TVOS_ARCHS "arm64")
set(SUPPORTED_TVOS_SIMULATOR_ARCHS "x86_64;arm64")
set(SUPPORTED_WATCHOS_ARCHS "armv7k;arm64_32")
set(SUPPORTED_WATCHOS_SIMULATOR_ARCHS "i386;x86_64;arm64")
set(SUPPORTED_OSX_ARCHS "x86_64;arm64")
is_sdk_requested(OSX swift_build_osx)
if(swift_build_osx)
configure_sdk_darwin(
OSX "OS X" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_OSX}"
macosx macosx macos "${SUPPORTED_OSX_ARCHS}")
configure_target_variant(OSX-DA "OS X Debug+Asserts" OSX DA "Debug+Asserts")
configure_target_variant(OSX-RA "OS X Release+Asserts" OSX RA "Release+Asserts")
configure_target_variant(OSX-R "OS X Release" OSX R "Release")
endif()
is_sdk_requested(FREESTANDING swift_build_freestanding)
if(swift_build_freestanding AND (SWIFT_FREESTANDING_FLAVOR STREQUAL "apple"))
set(SWIFT_FREESTANDING_SDK "" CACHE STRING
"Which SDK to use when building the FREESTANDING stdlib")
set(SWIFT_FREESTANDING_TRIPLE_NAME "" CACHE STRING
"Which triple name (e.g. 'none-macho') to use when building the FREESTANDING stdlib")
set(SWIFT_FREESTANDING_MODULE_NAME "" CACHE STRING
"Which .swiftmodule name (e.g. 'freestanding') to use when building the FREESTANDING stdlib")
set(SWIFT_FREESTANDING_ARCHS "" CACHE STRING
"Which architectures to build when building the FREESTANDING stdlib")
configure_sdk_darwin(
FREESTANDING "FREESTANDING" ""
"${SWIFT_FREESTANDING_SDK}"
"${SWIFT_FREESTANDING_TRIPLE_NAME}" "${SWIFT_FREESTANDING_MODULE_NAME}" "${SWIFT_FREESTANDING_ARCHS}")
set(SWIFT_SDK_FREESTANDING_LIB_SUBDIR "freestanding")
configure_target_variant(FREESTANDING-DA "FREESTANDING Debug+Asserts" FREESTANDING DA "Debug+Asserts")
configure_target_variant(FREESTANDING-RA "FREESTANDING Release+Asserts" FREESTANDING RA "Release+Asserts")
configure_target_variant(FREESTANDING-R "FREESTANDING Release" FREESTANDING R "Release")
configure_target_variant(FREESTANDING-S "FREESTANDING MinSizeRelease" FREESTANDING S "MinSizeRelease")
set(SWIFT_FREESTANDING_TEST_DEPENDENCIES "Darwin")
endif()
# Compatible cross-compile SDKS for Darwin OSes: IOS, IOS_SIMULATOR, TVOS,
# TVOS_SIMULATOR, WATCHOS, WATCHOS_SIMULATOR (archs hardcoded below).
is_sdk_requested(IOS swift_build_ios)
if(swift_build_ios)
configure_sdk_darwin(
IOS "iOS" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_IOS}"
iphoneos ios ios "${SUPPORTED_IOS_ARCHS}")
configure_target_variant(IOS-DA "iOS Debug+Asserts" IOS DA "Debug+Asserts")
configure_target_variant(IOS-RA "iOS Release+Asserts" IOS RA "Release+Asserts")
configure_target_variant(IOS-R "iOS Release" IOS R "Release")
endif()
is_sdk_requested(IOS_SIMULATOR swift_build_ios_simulator)
if(swift_build_ios_simulator)
configure_sdk_darwin(
IOS_SIMULATOR "iOS Simulator" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_IOS}"
iphonesimulator ios ios-simulator
"${SUPPORTED_IOS_SIMULATOR_ARCHS}")
configure_target_variant(
IOS_SIMULATOR-DA "iOS Debug+Asserts" IOS_SIMULATOR DA "Debug+Asserts")
configure_target_variant(
IOS_SIMULATOR-RA "iOS Release+Asserts" IOS_SIMULATOR RA "Release+Asserts")
configure_target_variant(
IOS_SIMULATOR-R "iOS Release" IOS_SIMULATOR R "Release")
endif()
is_sdk_requested(TVOS swift_build_tvos)
if(swift_build_tvos)
configure_sdk_darwin(
TVOS "tvOS" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_TVOS}"
appletvos tvos tvos "${SUPPORTED_TVOS_ARCHS}")
configure_target_variant(TVOS-DA "tvOS Debug+Asserts" TVOS DA "Debug+Asserts")
configure_target_variant(TVOS-RA "tvOS Release+Asserts" TVOS RA "Release+Asserts")
configure_target_variant(TVOS-R "tvOS Release" TVOS R "Release")
endif()
is_sdk_requested(TVOS_SIMULATOR swift_build_tvos_simulator)
if(swift_build_tvos_simulator)
configure_sdk_darwin(
TVOS_SIMULATOR "tvOS Simulator" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_TVOS}"
appletvsimulator tvos tvos-simulator
"${SUPPORTED_TVOS_SIMULATOR_ARCHS}")
configure_target_variant(
TVOS_SIMULATOR-DA "tvOS Debug+Asserts" TVOS_SIMULATOR DA "Debug+Asserts")
configure_target_variant(
TVOS_SIMULATOR-RA "tvOS Release+Asserts" TVOS_SIMULATOR RA "Release+Asserts")
configure_target_variant(
TVOS_SIMULATOR-R "tvOS Release" TVOS_SIMULATOR R "Release")
endif()
is_sdk_requested(WATCHOS swift_build_watchos)
if(swift_build_watchos)
configure_sdk_darwin(
WATCHOS "watchOS" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_WATCHOS}"
watchos watchos watchos "${SUPPORTED_WATCHOS_ARCHS}")
configure_target_variant(WATCHOS-DA "watchOS Debug+Asserts" WATCHOS DA "Debug+Asserts")
configure_target_variant(WATCHOS-RA "watchOS Release+Asserts" WATCHOS RA "Release+Asserts")
configure_target_variant(WATCHOS-R "watchOS Release" WATCHOS R "Release")
endif()
is_sdk_requested(WATCHOS_SIMULATOR swift_build_watchos_simulator)
if(swift_build_watchos_simulator)
configure_sdk_darwin(
WATCHOS_SIMULATOR "watchOS Simulator" "${SWIFT_DARWIN_DEPLOYMENT_VERSION_WATCHOS}"
watchsimulator watchos watchos-simulator
"${SUPPORTED_WATCHOS_SIMULATOR_ARCHS}")
configure_target_variant(WATCHOS_SIMULATOR-DA "watchOS Debug+Asserts" WATCHOS_SIMULATOR DA "Debug+Asserts")
configure_target_variant(WATCHOS_SIMULATOR-RA "watchOS Release+Asserts" WATCHOS_SIMULATOR RA "Release+Asserts")
configure_target_variant(WATCHOS_SIMULATOR-R "watchOS Release" WATCHOS_SIMULATOR R "Release")
endif()
| CMake | 2 | hooman/swift | cmake/modules/DarwinSDKs.cmake | [
"Apache-2.0"
] |
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct Uniforms {
half4 colorRed;
half4 colorGreen;
half unknownInput;
};
struct Inputs {
};
struct Outputs {
half4 sk_FragColor [[color(0)]];
};
bool test_int_b(Uniforms _uniforms) {
bool ok = true;
int4 inputRed = int4(_uniforms.colorRed);
int4 inputGreen = int4(_uniforms.colorGreen);
int4 x = inputRed + 2;
ok = ok && all(x == int4(3, 2, 2, 3));
x = inputGreen.ywxz - 2;
ok = ok && all(x == int4(-1, -1, -2, -2));
x = inputRed + inputGreen.y;
ok = ok && all(x == int4(2, 1, 1, 2));
x.xyz = inputGreen.wyw * 9;
ok = ok && all(x == int4(9, 9, 9, 2));
x.xy = x.zw / 3;
ok = ok && all(x == int4(3, 0, 9, 2));
x = (inputRed * 5).yxwz;
ok = ok && all(x == int4(0, 5, 5, 0));
x = 2 + inputRed;
ok = ok && all(x == int4(3, 2, 2, 3));
x = 10 - inputGreen.ywxz;
ok = ok && all(x == int4(9, 9, 10, 10));
x = inputRed.x + inputGreen;
ok = ok && all(x == int4(1, 2, 1, 2));
x.xyz = 9 * inputGreen.wyw;
ok = ok && all(x == int4(9, 9, 9, 2));
x.xy = 36 / x.zw;
ok = ok && all(x == int4(4, 18, 9, 2));
x = (36 / x).yxwz;
ok = ok && all(x == int4(2, 9, 18, 4));
x += 2;
x *= 2;
x -= 4;
x /= 2;
ok = ok && all(x == int4(2, 9, 18, 4));
x = x + 2;
x = x * 2;
x = x - 4;
x = x / 2;
ok = ok && all(x == int4(2, 9, 18, 4));
return ok;
}
fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
Outputs _out;
(void)_out;
bool _0_ok = true;
half4 _1_inputRed = _uniforms.colorRed;
half4 _2_inputGreen = _uniforms.colorGreen;
half4 _3_x = _1_inputRed + 2.0h;
_0_ok = _0_ok && all(_3_x == half4(3.0h, 2.0h, 2.0h, 3.0h));
_3_x = _2_inputGreen.ywxz - 2.0h;
_0_ok = _0_ok && all(_3_x == half4(-1.0h, -1.0h, -2.0h, -2.0h));
_3_x = _1_inputRed + _2_inputGreen.y;
_0_ok = _0_ok && all(_3_x == half4(2.0h, 1.0h, 1.0h, 2.0h));
_3_x.xyz = _2_inputGreen.wyw * 9.0h;
_0_ok = _0_ok && all(_3_x == half4(9.0h, 9.0h, 9.0h, 2.0h));
_3_x.xy = _3_x.zw / 0.5h;
_0_ok = _0_ok && all(_3_x == half4(18.0h, 4.0h, 9.0h, 2.0h));
_3_x = (_1_inputRed * 5.0h).yxwz;
_0_ok = _0_ok && all(_3_x == half4(0.0h, 5.0h, 5.0h, 0.0h));
_3_x = 2.0h + _1_inputRed;
_0_ok = _0_ok && all(_3_x == half4(3.0h, 2.0h, 2.0h, 3.0h));
_3_x = 10.0h - _2_inputGreen.ywxz;
_0_ok = _0_ok && all(_3_x == half4(9.0h, 9.0h, 10.0h, 10.0h));
_3_x = _1_inputRed.x + _2_inputGreen;
_0_ok = _0_ok && all(_3_x == half4(1.0h, 2.0h, 1.0h, 2.0h));
_3_x.xyz = 9.0h * _2_inputGreen.wyw;
_0_ok = _0_ok && all(_3_x == half4(9.0h, 9.0h, 9.0h, 2.0h));
_3_x.xy = 36.0h / _3_x.zw;
_0_ok = _0_ok && all(_3_x == half4(4.0h, 18.0h, 9.0h, 2.0h));
_3_x = (36.0h / _3_x).yxwz;
_0_ok = _0_ok && all(_3_x == half4(2.0h, 9.0h, 18.0h, 4.0h));
_3_x += 2.0h;
_3_x *= 2.0h;
_3_x -= 4.0h;
_3_x /= 2.0h;
_0_ok = _0_ok && all(_3_x == half4(2.0h, 9.0h, 18.0h, 4.0h));
_3_x = _3_x + 2.0h;
_3_x = _3_x * 2.0h;
_3_x = _3_x - 4.0h;
_3_x = _3_x / 2.0h;
_0_ok = _0_ok && all(_3_x == half4(2.0h, 9.0h, 18.0h, 4.0h));
_out.sk_FragColor = _0_ok && test_int_b(_uniforms) ? _uniforms.colorGreen : _uniforms.colorRed;
return _out;
}
| Metal | 3 | fourgrad/skia | tests/sksl/shared/VectorScalarMath.metal | [
"BSD-3-Clause"
] |
#!/bin/bash
set -e
node="yarn node"
jestArgs="--coverage"
if [ -n "$CI" ]; then
jestArgs="${jestArgs} --maxWorkers=4 --ci"
fi
$node "$(yarn bin jest)" $jestArgs
| Shell | 4 | fatash89/babel | scripts/test-cov.sh | [
"MIT"
] |
package gw.internal.gosu.regression.subpackage
enhancement EnhancedClassEnhancement : gw.internal.gosu.regression.EnhancedClass {
protected function protectedFunction() : String {
return "protected"
}
public function echo(arg : String) : String {
return arg
}
}
| Gosu | 3 | tcmoore32/sheer-madness | gosu-test/src/test/gosu/gw/internal/gosu/regression/subpackage/EnhancedClassEnhancement.gsx | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html lang="<$mt:BlogLanguage$>" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="<$mt:PublishCharset$>">
<meta name="description" content="<$mt:PageExcerpt remove_html="1" encode_html="1"$>">
<meta name="generator" content="<$mt:ProductName version="1"$>">
<title><$mt:PageTitle encode_html="1"$> - <$mt:BlogName encode_html="1"$></title>
<$mt:Include module="<__trans phrase="HTML Head">"$>
<!-- Open Graph Protocol -->
<meta property="og:type" content="article">
<meta property="og:locale" content="<$mt:BlogLanguage setvar="blog_lang"$><mt:If name="blog_lang" eq="ja">ja_JP<mt:else><$mt:Var name="blog_lang"$></mt:If>">
<meta property="og:title" content="<$mt:PageTitle encode_html="1"$>">
<meta property="og:url" content="<$mt:PagePermalink encode_html="1"$>">
<meta property="og:description" content="<$mt:PageExcerpt remove_html="1" encode_html="1"$>">
<meta property="og:site_name" content="<$mt:BlogName encode_html="1"$>">
<meta property="og:image" content="<mt:Assets type="image" tag="@SITE_ICON" limit="1"><$mt:AssetThumbnailURL width="320" square="1" encode_html="1"$><mt:Else><$mt:SupportDirectoryURL with_domain="1" encode_html="1"$>theme_static/rainier/img/siteicon-sample.png</mt:Assets>">
<!-- Metadata -->
<meta itemprop="description" content="<$mt:PageExcerpt remove_html="1" encode_html="1"$>">
<link itemprop="url" href="<$mt:PagePermalink encode_html="1"$>">
<link itemprop="image" href="<mt:Assets type="image" tag="@SITE_ICON" limit="1"><$mt:AssetThumbnailURL width="320" square="1" encode_html="1"$><mt:Else><$mt:SupportDirectoryURL with_domain="1" encode_html="1"$>theme_static/rainier/img/siteicon-sample.png</mt:Assets>">
</head>
<body>
<div id="container">
<div id="container-inner">
<header id="header" role="banner">
<div id="header-inner">
<$mt:Include module="<__trans phrase="Banner Header">"$>
<$mt:Include module="<__trans phrase="Navigation">"$>
</div>
</header>
<div id="content">
<div id="content-inner">
<ul class="breadcrumb breadcrumb-list">
<li class="breadcrumb-list-item"><a href="<$mt:BlogURL encode_html="1"$>"><__trans phrase="Home"></a></li>
<li class="breadcrumb-list-item"><$mt:PageTitle$></li>
</ul>
<div id="page-main" class="main" role="main">
<section class="page">
<h2 itemprop="name" class="title"><$mt:PageTitle$></h2>
<div itemprop="text">
<$mt:PageBody$>
<$mt:PageMore$>
</div>
<footer>
<p><__trans phrase="Last update">: <time itemprop="dateModified" datetime="<$mt:PageModifiedDate format_name="iso8601"$>"><$mt:PageModifiedDate format="%x %X"$></time></p>
</footer>
</section>
</div>
<aside class="widgets related" role="complementary">
<$mt:WidgetSet name="<__trans phrase="Related Contents">" ignore_recent_comments="1"$>
</aside>
</div>
</div>
<footer id="footer" role="contentinfo">
<div id="footer-inner">
<$mt:Include module="<__trans phrase="Banner Footer">"$>
</div>
</footer>
</div>
</div>
<script src="<$mt:StaticWebPath encode_html="1"$>jquery/jquery.min.js"></script>
<script src="<$mt:Link template="javascript_theme" encode_html="1">"></script>
</body>
</html>
| MTML | 3 | movabletype/mt-theme-rainier | themes/rainier/templates/page.mtml | [
"MIT"
] |
#include "\a3\ui_f_curator\UI\Displays\RscDisplayAttributes.sqf"
| SQF | 0 | MrDj200/task-force-arma-3-radio | addons/static_radios/functions/fnc_zeusAttributes.sqf | [
"RSA-MD"
] |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {verifyNoBrowserErrors} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
import {browser, by, element} from 'protractor';
describe('ngUpgrade', function() {
const URL = '/';
beforeEach(function() {
browser.rootEl = 'body';
browser.get(URL);
});
afterEach(function() {
browser.useAllAngular2AppRoots();
verifyNoBrowserErrors();
});
it('should bootstrap AngularJS and Angular apps together', function() {
const ng1NameInput = element(by.css('input[ng-model="name"]'));
expect(ng1NameInput.getAttribute('value')).toEqual('World');
const projectedGreetingEl = element(by.css('.projected-content .greeting'));
const upgradedNg1ComponentEl = element(by.css('ng1-user'));
expect(projectedGreetingEl.getText()).toMatch(/World!$/);
expect(upgradedNg1ComponentEl.getText()).toMatch(/^User: World/);
});
});
| TypeScript | 5 | John-Cassidy/angular | modules/playground/e2e_test/upgrade/upgrade_spec.ts | [
"MIT"
] |
$!
$! Check operation of "bc".
$!
$! 2010-04-05 SMS. New. Based (loosely) on "bctest".
$!
$!
$ tmp_file_name = "tmp.bctest"
$ failure = ""
$!
$! Basic command test.
$!
$ on warning then goto bc_fail
$ bc
$ on error then exit
$!
$! Test for SunOS 5.[78] bc bug.
$!
$ if (failure .eqs. "")
$ then
$!
$ define /user_mode sys$output 'tmp_file_name'
$ bc
obase=16
ibase=16
a=AD88C418F31B3FC712D0425001D522B3AE9134FF3A98C13C1FCC1682211195406C1A6C66C6A\
CEEC1A0EC16950233F77F1C2F2363D56DD71A36C57E0B2511FC4BA8F22D261FE2E9356D99AF57\
10F3817C0E05BF79C423C3F66FDF321BE8D3F18F625D91B670931C1EF25F28E489BDA1C5422D1\
C3F6F7A1AD21585746ECC4F10A14A778AF56F08898E965E9909E965E0CB6F85B514150C644759\
3BE731877B16EA07B552088FF2EA728AC5E0FF3A23EB939304519AB8B60F2C33D6BA0945B66F0\
4FC3CADF855448B24A9D7640BCF473E
b=DCE91E7D120B983EA9A104B5A96D634DD644C37657B1C7860B45E6838999B3DCE5A555583C6\
9209E41F413422954175A06E67FFEF6746DD652F0F48AEFECC3D8CAC13523BDAAD3F5AF4212BD\
8B3CD64126E1A82E190228020C05B91C8B141F1110086FC2A4C6ED631EBA129D04BB9A19FC53D\
3ED0E2017D60A68775B75481449
(a/b)*b + (a%b) - a
$ status = $status
$ output_expected = "0"
$ gosub check_output
$ if (output .ne. 1)
$ then
$ failure = "SunOStest"
$ else
$ delete 'f$parse( tmp_file_name)'
$ endif
$ endif
$!
$! Test for SCO bc bug.
$!
$ if (failure .eqs. "")
$ then
$!
$ define /user_mode sys$output 'tmp_file_name'
$ bc
obase=16
ibase=16
-FFDD63BA1A4648F0D804F8A1C66C53F0D2110590E8A3907EC73B4AEC6F15AC177F176F2274D2\
9DC8022EA0D7DD3ABE9746D2D46DD3EA5B5F6F69DF12877E0AC5E7F5ADFACEE54573F5D256A06\
11B5D2BC24947724E22AE4EC3FB0C39D9B4694A01AFE5E43B4D99FB9812A0E4A5773D8B254117\
1239157EC6E3D8D50199 * -FFDD63BA1A4648F0D804F8A1C66C53F0D2110590E8A3907EC73B4\
AEC6F15AC177F176F2274D29DC8022EA0D7DD3ABE9746D2D46DD3EA5B5F6F69DF12877E0AC5E7\
F5ADFACEE54573F5D256A0611B5D2BC24947724E22AE4EC3FB0C39D9B4694A01AFE5E43B4D99F\
B9812A0E4A5773D8B2541171239157EC6E3D8D50199 - FFBACC221682DA464B6D7F123482522\
02EDAEDCA38C3B69E9B7BBCD6165A9CD8716C4903417F23C09A85B851961F92C217258CEEB866\
85EFCC5DD131853A02C07A873B8E2AF2E40C6D5ED598CD0E8F35AD49F3C3A17FDB7653E4E2DC4\
A8D23CC34686EE4AD01F7407A7CD74429AC6D36DBF0CB6A3E302D0E5BDFCD048A3B90C1BE5AA8\
E16C3D5884F9136B43FF7BB443764153D4AEC176C681B078F4CC53D6EB6AB76285537DDEE7C18\
8C72441B52EDBDDBC77E02D34E513F2AABF92F44109CAFE8242BD0ECBAC5604A94B02EA44D43C\
04E9476E6FBC48043916BFA1485C6093603600273C9C33F13114D78064AE42F3DC466C7DA543D\
89C8D71
AD534AFBED2FA39EE9F40E20FCF9E2C861024DB98DDCBA1CD118C49CA55EEBC20D6BA51B2271C\
928B693D6A73F67FEB1B4571448588B46194617D25D910C6A9A130CC963155CF34079CB218A44\
8A1F57E276D92A33386DDCA3D241DB78C8974ABD71DD05B0FA555709C9910D745185E6FE108E3\
37F1907D0C56F8BFBF52B9704 % -E557905B56B13441574CAFCE2BD257A750B1A8B2C88D0E36\
E18EF7C38DAC80D3948E17ED63AFF3B3467866E3B89D09A81B3D16B52F6A3C7134D3C6F5123E9\
F617E3145BBFBE9AFD0D6E437EA4FF6F04BC67C4F1458B4F0F47B64 - 1C2BBBB19B74E86FD32\
9E8DB6A8C3B1B9986D57ED5419C2E855F7D5469E35E76334BB42F4C43E3F3A31B9697C171DAC4\
D97935A7E1A14AD209D6CF811F55C6DB83AA9E6DFECFCD6669DED7171EE22A40C6181615CAF3F\
5296964
$ status = $status
$ output_expected = "0\0"
$ gosub check_output
$ if (output .ne. 1)
$ then
$ failure = "SCOtest"
$ else
$ delete 'f$parse( tmp_file_name)'
$ endif
$ endif
$!
$! Test for working 'print' command.
$!
$ if (failure .eqs. "")
$ then
$!
$ define /user_mode sys$output 'tmp_file_name'
$ bc
print "OK"
$ status = $status
$ output_expected = "OK"
$ gosub check_output
$ if (output .ne. 1)
$ then
$ failure = "printtest"
$ else
$ delete 'f$parse( tmp_file_name)'
$ endif
$ endif
$!
$ if (failure .nes. "")
$ then
$ write sys$output -
"No working bc found. Consider installing GNU bc."
$ exit %X00030000 ! %DCL-W-NORMAL
$ endif
$!
$ exit
$!
$!
$! Complete "bc" command failure.
$!
$ bc_fail:
$ write sys$output -
"No ""bc"" program/symbol found. Consider installing GNU bc."
$ exit %X00030000 ! %DCL-W-NORMAL
$!
$!
$! Output check subroutine.
$!
$ check_output:
$ eof = 0
$ line_nr = 0
$ open /read tmp_file 'tmp_file_name'
$ c_o_loop:
$ read /error = error_read tmp_file line
$ goto ok_read
$ error_read:
$ eof = 1
$ ok_read:
$ line_expected = f$element( line_nr, "\", output_expected)
$ line_nr = line_nr+ 1
$ if ((line_expected .nes. "\") .and. (.not. eof) .and. -
(line_expected .eqs. line)) then goto c_o_loop
$!
$ if ((line_expected .eqs. "\") .and. eof)
$ then
$ output = 1
$ else
$ output = 0
$ endif
$ close tmp_file
$ return
$!
| DIGITAL Command Language | 3 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/openssl-1.0.2o/test/bctest.com | [
"Apache-2.0"
] |
#!MC 1200
# Created by Tecplot 360 build 12.0.0.3454
$!VarSet |MFBD| = '/home/parent/pnu/src/warp/bin'
$!ALTERDATA
EQUATION = '{Pdiff}=abs({P}[1]-{P}[2])'
$!EXTENDEDCOMMAND
COMMANDPROCESSORID = 'CFDAnalyzer3'
COMMAND = 'Integrate VariableOption=\'Average\' ScalarVar=11 XVariable=1 YVariable=2 ZVariable=3'
$!DRAWGRAPHICS TRUE
$!EXTENDEDCOMMAND
COMMANDPROCESSORID = 'CFDAnalyzer3'
COMMAND = 'Integrate VariableOption=\'Average\' ScalarVar=11 XVariable=1 YVariable=2 ZVariable=3'
$!RemoveVar |MFBD|
| MAXScript | 2 | zhanghuanqian/CFDWARP | bin/Pdiffintegral.mcr | [
"BSD-2-Clause"
] |
xquery version "1.0-ml";
import module namespace const = "http://marklogic.com/smart-mastering/constants"
at "/com.marklogic.smart-mastering/constants.xqy";
(: Currently, there isn't a function to delete options. :)
xdmp:collection-delete($const:OPTIONS-COLL),
xdmp:collection-delete($const:ALGORITHM-COLL),
for $uri in (
"/xqy-action-output/source/1/doc1.xml",
"/xqy-action-output/source/2/doc2.xml"
)
where doc-available($uri)
return xdmp:document-delete($uri),
xdmp:invoke-function(function() {
xdmp:document-delete("/custom-merge-xqy.xqy"),
xdmp:document-delete("/custom-merge-sjs.sjs"),
xdmp:document-delete("/custom-triple-merge-xqy.xqy"),
xdmp:document-delete("/custom-triple-merge-sjs.sjs"),
xdmp:document-delete("/custom-action.xqy"),
xdmp:document-delete("/custom-action.sjs"),
xdmp:document-delete("/combine.xqy")
},
map:new((
map:entry('database', xdmp:modules-database()),
map:entry('update','true')
))
)
| XQuery | 4 | MLjyang/marklogic-data-hub | marklogic-data-hub/src/test/ml-modules/root/test/suites/data-hub/5/smart-mastering/merging-xml/suite-teardown.xqy | [
"Apache-2.0"
] |
insert into EMPLOYEES values(4, 'Eric', 'Senior Developer');
insert into EMPLOYEES values(5, 'Vidhyaah', 'Senior Manager'); | SQL | 3 | DBatOWL/tutorials | persistence-modules/spring-boot-persistence/src/test/resources/import_senior_employees.sql | [
"MIT"
] |
/// <reference path='fourslash.ts' />
// @noUnusedParameters: true
//// class Base {
//// constructor(x: number) {} // Remove unused parameter
//// }
////
//// class Derived extends Base {
//// constructor(x: number) {
//// super(x);
//// }
//// }
// No codefix to remove a non-last parameter in a callback
verify.codeFixAvailable([{ description: "Prefix 'x' with an underscore" }]);
| TypeScript | 4 | monciego/TypeScript | tests/cases/fourslash/codeFixUnusedIdentifier_super1.ts | [
"Apache-2.0"
] |
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* 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.
*****************************************************************************/
#include "modules/drivers/camera/util.h"
#include <cstdarg>
#include <cstdint>
namespace apollo {
namespace drivers {
namespace camera {
void print_m256(__m256i a) {
unsigned char snoop[32];
bool dst_align = Aligned(reinterpret_cast<void*>(snoop));
if (dst_align)
Store<true>(reinterpret_cast<__m256i*>(snoop), a);
else
Store<false>(reinterpret_cast<__m256i*>(snoop), a);
for (int i = 0; i < 32; ++i) {
printf("DEBUG8 %d %u \n", i, snoop[i]);
}
}
void print_m256_i32(const __m256i a) {
unsigned int snoop[8];
bool dst_align = Aligned(reinterpret_cast<void*>(snoop));
if (dst_align)
Store<true>(reinterpret_cast<__m256i*>(snoop), a);
else
Store<false>(reinterpret_cast<__m256i*>(snoop), a);
for (int i = 0; i < 8; ++i) {
printf("DEBUG32 %d %u \n", i, snoop[i]);
}
}
void print_m256_i16(const __m256i a) {
uint16_t snoop[16];
bool dst_align = Aligned(reinterpret_cast<void*>(snoop));
if (dst_align)
Store<true>(reinterpret_cast<__m256i*>(snoop), a);
else
Store<false>(reinterpret_cast<__m256i*>(snoop), a);
for (int i = 0; i < 16; ++i) {
printf("DEBUG16 %d %u \n", i, snoop[i]);
}
}
template <bool align>
SIMD_INLINE void yuv_separate_avx2(uint8_t* y, __m256i* y0, __m256i* y1,
__m256i* u0, __m256i* v0) {
__m256i yuv_m256[4];
if (align) {
yuv_m256[0] = Load<true>(reinterpret_cast<__m256i*>(y));
yuv_m256[1] = Load<true>(reinterpret_cast<__m256i*>(y) + 1);
yuv_m256[2] = Load<true>(reinterpret_cast<__m256i*>(y) + 2);
yuv_m256[3] = Load<true>(reinterpret_cast<__m256i*>(y) + 3);
} else {
yuv_m256[0] = Load<false>(reinterpret_cast<__m256i*>(y));
yuv_m256[1] = Load<false>(reinterpret_cast<__m256i*>(y) + 1);
yuv_m256[2] = Load<false>(reinterpret_cast<__m256i*>(y) + 2);
yuv_m256[3] = Load<false>(reinterpret_cast<__m256i*>(y) + 3);
}
*y0 =
_mm256_or_si256(_mm256_permute4x64_epi64(
_mm256_shuffle_epi8(yuv_m256[0], Y_SHUFFLE0), 0xD8),
_mm256_permute4x64_epi64(
_mm256_shuffle_epi8(yuv_m256[1], Y_SHUFFLE1), 0xD8));
*y1 =
_mm256_or_si256(_mm256_permute4x64_epi64(
_mm256_shuffle_epi8(yuv_m256[2], Y_SHUFFLE0), 0xD8),
_mm256_permute4x64_epi64(
_mm256_shuffle_epi8(yuv_m256[3], Y_SHUFFLE1), 0xD8));
*u0 = _mm256_permutevar8x32_epi32(
_mm256_or_si256(
_mm256_or_si256(_mm256_shuffle_epi8(yuv_m256[0], U_SHUFFLE0),
_mm256_shuffle_epi8(yuv_m256[1], U_SHUFFLE1)),
_mm256_or_si256(_mm256_shuffle_epi8(yuv_m256[2], U_SHUFFLE2),
_mm256_shuffle_epi8(yuv_m256[3], U_SHUFFLE3))),
U_SHUFFLE4);
*v0 = _mm256_permutevar8x32_epi32(
_mm256_or_si256(
_mm256_or_si256(_mm256_shuffle_epi8(yuv_m256[0], V_SHUFFLE0),
_mm256_shuffle_epi8(yuv_m256[1], V_SHUFFLE1)),
_mm256_or_si256(_mm256_shuffle_epi8(yuv_m256[2], V_SHUFFLE2),
_mm256_shuffle_epi8(yuv_m256[3], V_SHUFFLE3))),
U_SHUFFLE4);
}
template <bool align>
void yuv2rgb_avx2(__m256i y0, __m256i u0, __m256i v0, uint8_t* rgb) {
__m256i r0 = YuvToRed(y0, v0);
__m256i g0 = YuvToGreen(y0, u0, v0);
__m256i b0 = YuvToBlue(y0, u0);
Store<align>(reinterpret_cast<__m256i*>(rgb) + 0,
InterleaveBgr<0>(r0, g0, b0));
Store<align>(reinterpret_cast<__m256i*>(rgb) + 1,
InterleaveBgr<1>(r0, g0, b0));
Store<align>(reinterpret_cast<__m256i*>(rgb) + 2,
InterleaveBgr<2>(r0, g0, b0));
}
template <bool align>
void yuv2rgb_avx2(uint8_t* yuv, uint8_t* rgb) {
__m256i y0, y1, u0, v0;
yuv_separate_avx2<align>(yuv, &y0, &y1, &u0, &v0);
__m256i u0_u0 = _mm256_permute4x64_epi64(u0, 0xD8);
__m256i v0_v0 = _mm256_permute4x64_epi64(v0, 0xD8);
yuv2rgb_avx2<align>(y0, _mm256_unpacklo_epi8(u0_u0, u0_u0),
_mm256_unpacklo_epi8(v0_v0, v0_v0), rgb);
yuv2rgb_avx2<align>(y1, _mm256_unpackhi_epi8(u0_u0, u0_u0),
_mm256_unpackhi_epi8(v0_v0, v0_v0),
rgb + 3 * sizeof(__m256i));
}
void yuyv2rgb_avx(unsigned char* YUV, unsigned char* RGB, int NumPixels) {
assert(NumPixels == (1920 * 1080));
bool align = Aligned(YUV) & Aligned(RGB);
uint8_t* yuv_offset = YUV;
uint8_t* rgb_offset = RGB;
if (align) {
for (int i = 0; i < NumPixels;
i = i + static_cast<int>(2 * sizeof(__m256i)),
yuv_offset += 4 * static_cast<int>(sizeof(__m256i)),
rgb_offset += 6 * static_cast<int>(sizeof(__m256i))) {
yuv2rgb_avx2<true>(yuv_offset, rgb_offset);
}
} else {
for (int i = 0; i < NumPixels;
i = i + static_cast<int>(2 * sizeof(__m256i)),
yuv_offset += 4 * static_cast<int>(sizeof(__m256i)),
rgb_offset += 6 * static_cast<int>(sizeof(__m256i))) {
yuv2rgb_avx2<false>(yuv_offset, rgb_offset);
}
}
}
} // namespace camera
} // namespace drivers
} // namespace apollo
| C++ | 4 | jzjonah/apollo | modules/drivers/camera/util.cc | [
"Apache-2.0"
] |
-- Test for visual mode not being reset causing E315 error.
local helpers = require('test.functional.helpers')(after_each)
local feed, source = helpers.feed, helpers.source
local clear, expect = helpers.clear, helpers.expect
describe('E315 error', function()
setup(clear)
it('is working', function()
-- At this point there is no visual selection because :call reset it.
-- Let's restore the selection:
source([[
let g:msg="Everything's fine."
function! TriggerTheProblem()
normal gv
'<,'>del _
try
exe "normal \<Esc>"
catch /^Vim\%((\a\+)\)\=:E315/
echom 'Snap! E315 error!'
let g:msg='Snap! E315 error!'
endtry
endfunction
enew
enew
setl buftype=nofile
call append(line('$'), 'Delete this line.')
]])
-- NOTE: this has to be done by a call to a function because executing
-- :del the ex-way will require the colon operator which resets the
-- visual mode thus preventing the problem:
feed('GV:call TriggerTheProblem()<cr>')
source([[
%del _
call append(line('$'), g:msg)
brewind
]])
-- Assert buffer contents.
expect([[
Everything's fine.]])
end)
end)
| Lua | 5 | uga-rosa/neovim | test/functional/legacy/103_visual_mode_reset_spec.lua | [
"Vim"
] |
{% extends 'base.volt' %}
{% block header %}{% endblock %}
{% block mainContent %}
<p>This is the login page</p>
{% endblock %}
{% block footer %}{% endblock %}
| Volt | 4 | tidytrax/cphalcon | tests/_data/fixtures/views/blocks/index/login.volt | [
"BSD-3-Clause"
] |
USE: io
IN: hello-world
: hello ( -- ) "Hello world" print ;
MAIN: hello
| Factor | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Factor/hello-world.factor | [
"MIT"
] |
package com.baeldung.spring.cloud.hystrix.rest.producer;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class GreetingControllerImpl implements GreetingController {
@Override
public String greeting(@PathVariable("username") String username) {
return String.format("Hello %s!\n", username);
}
}
| Java | 4 | zeesh49/tutorials | spring-cloud/spring-cloud-hystrix/rest-producer/src/main/java/com/baeldung/spring/cloud/hystrix/rest/producer/GreetingControllerImpl.java | [
"MIT"
] |
:- object('09-freebsd').
:- uses(marelle,[sh/1]).
:- uses(sudo,[sudo_or_empty/1]).
% before the directive:
% :- multifile installs_with_pkgng/1
% add the directive:
:- public installs_with_pkgng/1.
% before the directive:
% :- multifile installs_with_pkgng/2
% add the directive:
:- public installs_with_pkgng/2.
% before the directive:
% :- multifile installs_with_ports/2
% add the directive:
:- public installs_with_ports/2.
% before the directive:
% :- multifile installs_with_ports/3
% add the directive:
:- public installs_with_ports/3.
:- include('09-freebsd.pl').
:- end_object.
| Logtalk | 3 | PaulBrownMagic/logtalk3 | tools/wrapper/marelle-master/09-freebsd.lgt | [
"Apache-2.0"
] |
// aux-build:test-macros.rs
extern crate test_macros;
use test_macros::recollect_attr;
#[recollect_attr]
struct FieldStruct where {
field: MissingType1 //~ ERROR cannot find
}
#[recollect_attr]
struct TupleStruct(MissingType2) where; //~ ERROR cannot find
enum MyEnum where {
Variant(MissingType3) //~ ERROR cannot find
}
fn main() {}
| Rust | 2 | Eric-Arellano/rust | src/test/ui/proc-macro/empty-where-clause.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
var content = "<%= javascript_escape(render("show.html", assigns)) %>";
<%= if @comment.parent_id do %>
var comment = u(".js-comment[data-id='<%= hashid(@comment.parent_id) %>']").first().comment;
comment.addReply(content);
<% else %>
var comment = u(".js-comment").first().comment;
comment.addComment(content);
<% end %>
| HTML+EEX | 3 | PsOverflow/changelog.com | lib/changelog_web/templates/news_item_comment/create_success.js.eex | [
"MIT"
] |
postfix_control_command=Fullständig sökväg till Postfix-kontrollkommando,0
postfix_config_command=Fullständig sökväg till Postfix-konfigurationskommando,0
postfix_config_file=Fullständig sökväg till Postfix-konfigurationsfil,0
postfix_aliases_table_command=Fullständig sökväg till Postfix-kommando för aliasgenerering,0
postfix_newaliases_command=Fullständig sökväg till %quot;newaliases"-kommando (sendmail-kompabilitet),0
postfix_lookup_table_command=Fullständig sökväg till kommando för Postfix-uppslagstabell (`postmap'),0
| SystemVerilog | 1 | GalaxyGFX/webmin | postfix/config.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
.*==============================================================*\
.* *
.* Dlg.ipf - Information Tag Language file for the screens *
.* for help on the dialog boxes. *
.* Copyright (C) 1996 xTech Ltd. All rights reserved. *
.* Copyright 1991 IBM Corporation *
.* *
.*==============================================================*/
.*--------------------------------------------------------------*\
.* Help for Product information *
.* res = PANEL_PRODUCTINFO *
.*--------------------------------------------------------------*/
:h1 res=3100 name=PANEL_PRODUCTINFO.Product information dialog
:p.This dialog displays information about the application, such
as version number and copyright notice.
.*--------------------------------------------------------------*\
.* About Box Dialog Ok button *
.* res = PANEL_PRODUCTINFO_OK *
.*--------------------------------------------------------------*/
:h1 res=3110 name=PANEL_PRODUCTINFO_OK.OK
:p.The OK button closes the Product information dialog.
| IGOR Pro | 3 | zanud/xds-2.60 | misc/Samples/OS2/Template/HLP/dlg.ipf | [
"Apache-2.0"
] |
Red [
Title: "GUI-related mezzanines"
Author: "Nenad Rakocevic"
File: %utils.red
Tabs: 4
Rights: "Copyright (C) 2016-2018 Red Foundation. All rights reserved."
License: {
Distributed under the Boost Software License, Version 1.0.
See https://github.com/red/red/blob/master/BSL-License.txt
}
]
hex-to-rgb: function [
"Converts a color in hex format to a tuple value; returns NONE if it fails"
hex [issue!] "Accepts #rgb, #rrggbb, #rrggbbaa" ;-- 3,6,8 nibbles supported
return: [tuple! none!] ;-- 3 or 4 bytes long
][
switch length? str: form hex [
3 [
uppercase str
forall str [str/1: str/1 - pick "70" str/1 >= #"A"]
as-color 11h * str/1 11h * str/2 11h * str/3
]
6 [if bin: to binary! hex [as-color bin/1 bin/2 bin/3]]
8 [if bin: to binary! hex [as-rgba bin/1 bin/2 bin/3 bin/4]]
]
]
within?: function [
"Return TRUE if the point is within the rectangle bounds"
point [pair!] "XY position"
offset [pair!] "Offset of area"
size [pair!] "Size of area"
return: [logic!]
][
to logic! all [
point/x >= offset/x
point/y >= offset/y
point/x < (offset/x + size/x)
point/y < (offset/y + size/y)
]
]
overlap?: function [
"Return TRUE if the two faces bounding boxes are overlapping"
A [object!] "First face"
B [object!] "Second face"
return: [logic!] "TRUE if overlapping"
][
A1: A/offset
B1: B/offset
A2: A1 + A/size
B2: B1 + B/size
make logic! all [A1/x < B2/x B1/x < A2/x A1/y < B2/y B1/y < A2/y]
]
distance?: function [
"Returns the distance between 2 points or face centers"
A [object! pair!] "First face or point"
B [object! pair!] "Second face or point"
return: [float!] "Distance between them"
][
A: either object? A [A/offset * 2 + A/size][A * 2] ;-- doubling for odd-sized faces
B: either object? B [B/offset * 2 + B/size][B * 2] ;-- to compensate for integer pair (im)precision
d: B - A
d/x ** 2 + (d/y ** 2) ** 0.5 / 2
] | Red | 4 | GalenIvanov/red | modules/view/utils.red | [
"BSL-1.0",
"BSD-3-Clause"
] |
"""Group for Zigbee Home Automation."""
from __future__ import annotations
import asyncio
import logging
from typing import TYPE_CHECKING, Any, NamedTuple
import zigpy.endpoint
import zigpy.exceptions
import zigpy.group
from zigpy.types.named import EUI64
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_registry import async_entries_for_device
from .helpers import LogMixin
if TYPE_CHECKING:
from .device import ZHADevice
from .gateway import ZHAGateway
_LOGGER = logging.getLogger(__name__)
class GroupMember(NamedTuple):
"""Describes a group member."""
ieee: EUI64
endpoint_id: int
class GroupEntityReference(NamedTuple):
"""Reference to a group entity."""
name: str
original_name: str
entity_id: int
class ZHAGroupMember(LogMixin):
"""Composite object that represents a device endpoint in a Zigbee group."""
def __init__(
self, zha_group: ZHAGroup, zha_device: ZHADevice, endpoint_id: int
) -> None:
"""Initialize the group member."""
self._zha_group = zha_group
self._zha_device = zha_device
self._endpoint_id = endpoint_id
@property
def group(self) -> ZHAGroup:
"""Return the group this member belongs to."""
return self._zha_group
@property
def endpoint_id(self) -> int:
"""Return the endpoint id for this group member."""
return self._endpoint_id
@property
def endpoint(self) -> zigpy.endpoint.Endpoint:
"""Return the endpoint for this group member."""
return self._zha_device.device.endpoints.get(self.endpoint_id)
@property
def device(self) -> ZHADevice:
"""Return the zha device for this group member."""
return self._zha_device
@property
def member_info(self) -> dict[str, Any]:
"""Get ZHA group info."""
member_info: dict[str, Any] = {}
member_info["endpoint_id"] = self.endpoint_id
member_info["device"] = self.device.zha_device_info
member_info["entities"] = self.associated_entities
return member_info
@property
def associated_entities(self) -> list[GroupEntityReference]:
"""Return the list of entities that were derived from this endpoint."""
ha_entity_registry = self.device.gateway.ha_entity_registry
zha_device_registry = self.device.gateway.device_registry
return [
GroupEntityReference(
ha_entity_registry.async_get(entity_ref.reference_id).name,
ha_entity_registry.async_get(entity_ref.reference_id).original_name,
entity_ref.reference_id,
)._asdict()
for entity_ref in zha_device_registry.get(self.device.ieee)
if list(entity_ref.cluster_channels.values())[
0
].cluster.endpoint.endpoint_id
== self.endpoint_id
]
async def async_remove_from_group(self) -> None:
"""Remove the device endpoint from the provided zigbee group."""
try:
await self._zha_device.device.endpoints[
self._endpoint_id
].remove_from_group(self._zha_group.group_id)
except (zigpy.exceptions.ZigbeeException, asyncio.TimeoutError) as ex:
self.debug(
"Failed to remove endpoint: %s for device '%s' from group: 0x%04x ex: %s",
self._endpoint_id,
self._zha_device.ieee,
self._zha_group.group_id,
str(ex),
)
def log(self, level: int, msg: str, *args: Any, **kwargs) -> None:
"""Log a message."""
msg = f"[%s](%s): {msg}"
args = (f"0x{self._zha_group.group_id:04x}", self.endpoint_id) + args
_LOGGER.log(level, msg, *args, **kwargs)
class ZHAGroup(LogMixin):
"""ZHA Zigbee group object."""
def __init__(
self,
hass: HomeAssistant,
zha_gateway: ZHAGateway,
zigpy_group: zigpy.group.Group,
) -> None:
"""Initialize the group."""
self.hass = hass
self._zha_gateway = zha_gateway
self._zigpy_group = zigpy_group
@property
def name(self) -> str:
"""Return group name."""
return self._zigpy_group.name
@property
def group_id(self) -> int:
"""Return group name."""
return self._zigpy_group.group_id
@property
def endpoint(self) -> zigpy.endpoint.Endpoint:
"""Return the endpoint for this group."""
return self._zigpy_group.endpoint
@property
def members(self) -> list[ZHAGroupMember]:
"""Return the ZHA devices that are members of this group."""
return [
ZHAGroupMember(
self, self._zha_gateway.devices.get(member_ieee), endpoint_id
)
for (member_ieee, endpoint_id) in self._zigpy_group.members.keys()
if member_ieee in self._zha_gateway.devices
]
async def async_add_members(self, members: list[GroupMember]) -> None:
"""Add members to this group."""
if len(members) > 1:
tasks = []
for member in members:
tasks.append(
self._zha_gateway.devices[member.ieee].async_add_endpoint_to_group(
member.endpoint_id, self.group_id
)
)
await asyncio.gather(*tasks)
else:
await self._zha_gateway.devices[
members[0].ieee
].async_add_endpoint_to_group(members[0].endpoint_id, self.group_id)
async def async_remove_members(self, members: list[GroupMember]) -> None:
"""Remove members from this group."""
if len(members) > 1:
tasks = []
for member in members:
tasks.append(
self._zha_gateway.devices[
member.ieee
].async_remove_endpoint_from_group(
member.endpoint_id, self.group_id
)
)
await asyncio.gather(*tasks)
else:
await self._zha_gateway.devices[
members[0].ieee
].async_remove_endpoint_from_group(members[0].endpoint_id, self.group_id)
@property
def member_entity_ids(self) -> list[str]:
"""Return the ZHA entity ids for all entities for the members of this group."""
all_entity_ids: list[str] = []
for member in self.members:
entity_references = member.associated_entities
for entity_reference in entity_references:
all_entity_ids.append(entity_reference["entity_id"])
return all_entity_ids
def get_domain_entity_ids(self, domain: str) -> list[str]:
"""Return entity ids from the entity domain for this group."""
domain_entity_ids: list[str] = []
for member in self.members:
if member.device.is_coordinator:
continue
entities = async_entries_for_device(
self._zha_gateway.ha_entity_registry,
member.device.device_id,
include_disabled_entities=True,
)
domain_entity_ids.extend(
[entity.entity_id for entity in entities if entity.domain == domain]
)
return domain_entity_ids
@property
def group_info(self) -> dict[str, Any]:
"""Get ZHA group info."""
group_info: dict[str, Any] = {}
group_info["group_id"] = self.group_id
group_info["name"] = self.name
group_info["members"] = [member.member_info for member in self.members]
return group_info
def log(self, level: int, msg: str, *args: Any, **kwargs) -> None:
"""Log a message."""
msg = f"[%s](%s): {msg}"
args = (self.name, self.group_id) + args
_LOGGER.log(level, msg, *args, **kwargs)
| Python | 5 | mtarjoianu/core | homeassistant/components/zha/core/group.py | [
"Apache-2.0"
] |
%namespace LSLib.DebuggerFrontend.ExpressionParser
%visibility public
%scannertype ExpressionScanner
%scanbasetype ExpressionScanBase
%tokentype ExpressionTokens
/* Expression lexer - essentially a simplified version of Goal.yy */
letter [a-zA-Z]
digit [0-9]
hex [0-9a-fA-F]
%%
/* Reserved words */
"NOT" return (int)ExpressionTokens.NOT;
/* Special characters */
"(" return (int)'(';
")" return (int)')';
"," return (int)',';
"." return (int)'.';
[ \t\v\r\n\f] ;
{letter}({letter}|{digit}|_)* { yylval = MakeLiteral(yytext); return (int)ExpressionTokens.IDENTIFIER; }
/* GUID strings */
({hex}{8})-({hex}{4})-({hex}{4})-({hex}{4})-({hex}{12}) { yylval = MakeLiteral(yytext); return (int)ExpressionTokens.GUIDSTRING; }
/* Special case for identifiers with a GUID string at the end */
{letter}({letter}|{digit}|_|-)*({hex}{8})-({hex}{4})-({hex}{4})-({hex}{4})-({hex}{12}) { yylval = MakeLiteral(yytext); return (int)ExpressionTokens.GUIDSTRING; }
/* Variables with a leading underscore are local, and are handled differently */
_({letter}|{digit}|_)* { yylval = MakeLiteral(yytext); return (int)ExpressionTokens.LOCAL_VAR; }
[+\-]?{digit}({digit})* { yylval = MakeLiteral(yytext); return (int)ExpressionTokens.INTEGER; }
[+\-]?{digit}+\.{digit}+ { yylval = MakeLiteral(yytext); return (int)ExpressionTokens.FLOAT; }
L?\"(\\.|[^\\"])*\" { yylval = MakeString(yytext); return (int)ExpressionTokens.STRING; }
. return ((int)ExpressionTokens.BAD);
| Lex | 4 | EmperorPark/lslib | DebuggerFrontend/ExpressionParser/Expression.lex | [
"MIT"
] |
foo is bar smallerish baz
| Dogescript | 0 | erinkeith/dogescript | test/spec/operators/smallerish/assignment/source.djs | [
"MIT"
] |
import { useEffect } from 'react'
const Test3 = () => {
useEffect(() => {
throw new Error('Client Test 3')
}, [])
return <h1>Client Test 3</h1>
}
export default Test3
| JavaScript | 3 | blomqma/next.js | examples/with-sentry/pages/client/test3.js | [
"MIT"
] |
#!/bin/bash
sudo apt-get update
sudo apt-get install -y \
squashfs-tools \
python3-pip \
python3-apt \
python3-debian \
python3-pyelftools \
python3-yaml \
python3-tabulate \
python3-jsonschema \
python3-click \
python3-pymacaroons \
python3-simplejson \
python3-progressbar \
python3-requests-toolbelt \
python3-requests-unixsocket
sudo pip3 install \
petname \
snapcraft
snapcraft --version
| Shell | 4 | bravmi/lazydocker | .circleci/install_snapcraft.sh | [
"MIT"
] |
import { ok, ok2 } from "./module";
expect(ok).toBe(true);
expect(ok2).toBe(true);
| JavaScript | 3 | 1shenxi/webpack | test/cases/inner-graph/try-globals/import-module.js | [
"MIT"
] |