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
|
---|---|---|---|---|---|
#en-punctuation
!
"
#
$
%
&
'
(
)
*
+
,
-
.
/
#0
#1
#2
#3
#4
#5
#6
#7
#8
#9
:
;
<
=
>
?
@
[
\
]
^
_
`
#a
#b
#c
#d
#e
#f
#g
#h
#i
#j
#k
#l
#m
#n
#o
#p
#q
#r
#s
#t
#u
#v
#w
#x
#y
#z
{
|
}
~
!
#fullwidth
!
"
#
$
%
&
'
(
)
*
+
,
-
.
/
:
;
<
=
>
?
@
[
\
]
^
_
`
{
|
}
~
⦅
⦆
。
「
」
、
・
#cn-punctuation
、
。
〃
〄
々
〆
〇
〈
〉
《
》
「
」
『
』
【
】
〒
〓
〔
〕
〖
〗
〘
〙
〚
〛
〜
〝
〞
〟
#中文
的
吗
不
我
们
起
就
最
在
人
有
是
为
以
于
上
他
而
后
之
来
由
及
了
下
可
到
这
与
也
因
此
但
并
个
其
已
无
小
今
去
再
好
只
又
或
很
亦
某
把
那
你
乃
它
吧
被
比
别
趁
当
从
到
得
打
凡
儿
尔
该
各
给
跟
和
何
还
即
几
既
看
据
距
靠
啦
了
另
么
每
们
嘛
拿
哪
那
您
凭
且
却
让
仍
啥
如
若
使
谁
虽
随
同
所
她
哇
嗡
往
哪
些
向
沿
哟
用
于
咱
则
怎
曾
至
致
着
诸
自
啊
#英文
to
can
could
dare
do
did
does
may
might
would
should
must
will
ought
shall
need
is
a
am
are
about
according
after
against
all
almost
also
although
among
an
and
another
any
anything
approximately
as
asked
at
back
because
before
besides
between
both
but
by
call
called
currently
despite
did
do
dr
during
each
earlier
eight
even
eventually
every
everything
five
for
four
from
he
her
here
his
how
however
i
if
in
indeed
instead
it
its
just
last
like
major
many
may
maybe
meanwhile
more
moreover
most
mr
mrs
ms
much
my
neither
net
never
nevertheless
nine
no
none
not
nothing
now
of
on
once
one
only
or
other
our
over
partly
perhaps
prior
regarding
separately
seven
several
she
should
similarly
since
six
so
some
somehow
still
such
ten
that
the
their
then
there
therefore
these
they
this
those
though
three
to
two
under
unless
unlike
until
volume
we
what
whatever
whats
when
where
which
while
why
with
without
yesterday
yet
you
your
aboard
about
above
according to
across
afore
after
against
agin
along
alongside
amid
amidst
among
amongst
anent
around
as
aslant
astride
at
athwart
bar
because of
before
behind
below
beneath
beside
besides
between
betwixt
beyond
but
by
circa
despite
down
during
due to
ere
except
for
from
in
inside
into
less
like
mid
midst
minus
near
next
nigh
nigher
nighest
notwithstanding
of
off
on
on to
onto
out
out of
outside
over
past
pending
per
plus
qua
re
round
sans
save
since
through
throughout
thru
till
to
toward
towards
under
underneath
unlike
until
unto
up
upon
versus
via
vice
with
within
without
he
her
herself
hers
him
himself
his
I
it
its
itself
me
mine
my
myself
ours
she
their
theirs
them
themselves
they
us
we
our
ourselves
you
your
yours
yourselves
yourself
this
that
these
those
a
about
above
across
after
afterwards
again
against
all
almost
alone
along
already
also
although
always
am
among
amongst
amoungst
amount
an
and
another
any
anyhow
anyone
anything
anyway
anywhere
are
around
as
at
back
be
became
because
become
becomes
becoming
been
before
beforehand
behind
being
below
beside
besides
between
beyond
bill
both
bottom
but
by
call
can
cannot
cant
co
computer
con
could
couldnt
cry
de
describe
detail
do
done
down
due
during
each
eg
eight
either
eleven
else
elsewhere
empty
enough
etc
even
ever
every
everyone
everything
everywhere
except
few
fifteen
fify
fill
find
fire
first
five
for
former
formerly
forty
found
four
from
front
full
further
get
give
go
had
has
hasnt
have
he
hence
her
here
hereafter
hereby
herein
hereupon
hers
herself
him
himself
his
how
however
hundred
i
ie
if
in
inc
indeed
interest
into
is
it
its
itself
keep
last
latter
latterly
least
less
ltd
made
many
may
me
meanwhile
might
mill
mine
more
moreover
most
mostly
move
much
must
my
myself
name
namely
neither
never
nevertheless
next
nine
no
nobody
none
noone
nor
not
nothing
now
nowhere
of
off
often
on
once
one
only
onto
or
other
others
otherwise
our
ours
ourselves
out
over
own
part
per
perhaps
please
put
rather
re
same
see
seem
seemed
seeming
seems
serious
several
she
should
show
side
since
sincere
six
sixty
so
some
somehow
someone
something
sometime
sometimes
somewhere
still
such
take
ten
than
that
the
their
them
themselves
then
thence
there
thereafter
thereby
therefore
therein
thereupon
these
they
thick
thin
third
this
those
though
three
through
throughout
thru
thus
to
together
too
top
toward
towards
twelve
twenty
two
un
under
until
up
upon
us
very
via
was
we
well
were
what
whatever
when
whence
whenever
where
whereafter
whereas
whereby
wherein
whereupon
wherever
whether
which
while
whither
who
whoever
whole
whom
whose
why
will
with
within
without
would
yet
you
your
yours
yourself
yourselves
#other number
| Lex | 0 | maguec/RediSearch | src/dep/cndict/lex/lex-stopword.lex | [
"MIT",
"Ruby",
"Apache-2.0",
"BSD-3-Clause"
] |
- attributes("title") = "Scalatra: a tiny, Sinatra-like web framework for Scala"
- attributes("headline") = "Welcome to Scalatra"
Hello, Scalate! | Scaml | 1 | grimcoder/ProduceMarketRESTScalatra | src/main/webapp/WEB-INF/views/hello-scalate.scaml | [
"MIT"
] |
<%def name="tip()">
<%
from vilya.models.tips import Tips
text, url = Tips.get_tip()
%>
% if user.settings.show_tips:
<div class="alert alert-info hidden-phone">
<strong>tips:</strong> ${text|n}
% if url:
<a href="${url}">Try it</a>
% endif
</div>
% endif
</%def>
| Mako | 3 | mubashshirjamal/code | vilya/templates/widgets/tips.mako | [
"BSD-3-Clause"
] |
--TEST--
Bug #79846 (8c67c166996 broke simple regexp)
--FILE--
<?php
$item = "component_phase_1";
preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match);
var_dump($match);
?>
--EXPECT--
array(3) {
[0]=>
string(17) "component_phase_1"
[1]=>
string(15) "component_phase"
[2]=>
string(1) "1"
}
| PHP | 4 | NathanFreeman/php-src | ext/pcre/tests/bug79846.phpt | [
"PHP-3.01"
] |
dr
Dr
itd
itn
št #NUMERIC_ONLY#
Št #NUMERIC_ONLY#
d
jan
Jan
feb
Feb
mar
Mar
apr
Apr
jun
Jun
jul
Jul
avg
Avg
sept
Sept
sep
Sep
okt
Okt
nov
Nov
dec
Dec
tj
Tj
npr
Npr
sl
Sl
op
Op
gl
Gl
oz
Oz
prev
dipl
ing
prim
Prim
cf
Cf
gl
Gl
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
| Slash | 0 | aquaktus/nematus | data/nonbreaking_prefixes/nonbreaking_prefix.sl | [
"BSD-3-Clause"
] |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<p class="desc">
この記事ではhtree.jsを[link:https://nodejs.org/en/ node.js]環境で実行する方法について説明します。 node環境で実行すると、自動テストを実行できるようになります。 テストはコマンドラインから実行可能で、[link:https://travis-ci.org/ Travis]のような自動のCIツールからも実行できます。
</p>
<h2>The short version(概略)</h2>
<p>
npmとnodeについて詳しい方は以下のコマンドを実行し
<code>
$ npm install three --save-dev
</code> それから以下のコードをテストに追加してください
<code>
const THREE = require('three');
</code>
</p>
<h2>一からテスト可能なプロジェクトを作成する</h2>
<p>
If you're not familiar with these tools, here's a quick guide (for linux, the installation process will be slightly different using windows, but the NPM commands are identical). もしツールについて詳しくないようであれば、簡単な説明があります(linuxでは、windowsとインストールのやり方が大きく異なります。しかしNPMコマンドはそれとは関係ありません)。
</p>
<h3>Basic setup(基本的な設定)</h3>
<div>
<ol>
<li>
[link:https://www.npmjs.org/ npm]とnodejsをインストールします。 もっとも早い方法は、一般的に以下のように行うことです。
<code>
$ sudo apt-get install -y npm nodejs-legacy
# fix any problems with SSL in the default registry URL
$ npm config set registry http://registry.npmjs.org/
</code>
</li>
<li>
新しいプロジェクトのディレクトリを作成します。
<code>
$ mkdir test-example; cd test-example
</code>
</li>
<li>
npmに新しいプロジェクトfileを作成させます。
<code>
$ npm init
</code> すべてのプロンプトでEnterを押すと全てデフォルトの設定になります。 こうすることでpackage.jsonが作成されます。
</li><br />
<li>
以下のようにしてテスト機能を起動してみてください
<code>
$ npm test
</code> おそらくですが、これは失敗します。 package.jsonの中の、テスト用のスクリプトの定義はこのようになっています。
<code>
"test": "echo \"Error: no test specified\" && exit 1"
</code>
</li>
</ol>
</div>
<h2>Add mocha(mochaの追加)</h2>
<div>
[link:https://mochajs.org/ mocha]を使用していきます。
<ol>
<li>
以下のようにしてmochaをインストールします。
<code>
$ npm install mocha --save-dev
</code> node_modulesディレクトリが作られていて、依存関係がそこに示されていることが分かるかと思います。 また、package.jsonが更新されていることも分かるでしょう。 devDependencies プロパティは、--save-dev の使用により追加・更新されます。
</li><br />
<li>
テストでmochaを使うためにpackage.jsonを編集してください。 これはtestが呼ばれた時に、mochaを実行して詳細をどこに報告するかを決めるためです。 デフォルトでは、testディレクトリにあるものはなんでも実行されます。(もしtestディレクトリがない場合npm ERRが発生する可能性があります。その場合はmkdir testを実行し、ディレクトリを作成してください)
<code>
"test": "mocha --reporter list"
</code>
</li>
<li>
以下のコマンドでテストをもう一度実行してみてください
<code>
$ npm test
</code> 今度はうまくいくはずです。0 passing (1ms)などと報告されるでしょう。
</li>
</ol>
</div>
<h2>three.jsを追加する</h2>
<div>
<ol>
<li>
three.jsを依存ファイルに加えましょう。
<code>
$ npm install three --save-dev
</code>
<ul>
<li>
もし違うバージョンのthreeが必要な場合は次のコマンドを使ってください。
<code>
$ npm show three versions
</code> こうすると使用可能なバージョンが分かります。npmに使用したいバージョンを伝えましょう。
<code>
$ npm install three@0.84.0 --save
</code> (この例では0.84.0をインストールしています)。--saveは、これをdevの依存関係ではなく、このプロジェクトの依存関係にします。詳しくは、ドキュメント([link:https://docs.npmjs.com/cli/v8/configuring-npm/package-json here])をご覧ください。
</li>
</ul>
</li>
<li>
Mochaはtestディレクトリの中でテストを探します。それではtestディレクトリを作成しましょう。
<code>
$ mkdir test
</code>
</li>
<li>
最終的には、実際に実行するJSのテストが必要です。 three.jsのオブジェクトが利用可能で動いていることを確かめるための簡単なテストを追加してみましょう。 以下のコードが書かれたtest/verify-three.jsを作成します。
<code>
const THREE = require('three');
const assert = require('assert');
describe('The THREE object', function() {
it('should have a defined BasicShadowMap constant', function() {
assert.notEqual('undefined', THREE.BasicShadowMap);
}),
it('should be able to construct a Vector3 with default of x=0', function() {
const vec3 = new THREE.Vector3();
assert.equal(0, vec3.x);
})
})
</code>
</li>
<li>
最後に$npm testでもう一度testを行いましょう。上のテストが実行されて成功するはずで、結果は以下のようになるでしょう。
<code>
The THREE object should have a defined BasicShadowMap constant: 0ms
The THREE object should be able to construct a Vector3 with default of x=0: 0ms
2 passing (8ms)
</code>
</li>
</ol>
</div>
<h2>自分のコードを追加する</h2>
<div>
3つのことをやる必要があります。
<ol>
<li>
自分のコードに期待される動作についてテストを書き、それをtest/の下に置いてください。 ここ([link:https://github.com/air/encounter/blob/master/test/Physics-test.js Here])に実際のプロジェクトの例を置いておきます。
</li>
<li>
nodejsが機能的なコードを見られるようにエクスポートして、requireと組み合わせて使用します。こちら([link:https://github.com/air/encounter/blob/master/js/Physics.js here])をご覧ください。
</li>
<li>
上記のサンプルコードでrequire('three')を行なったのと同じ方法で、 テストコードに、あなたが作成したコードをインポートする必要があります。
</li>
</ol>
<p>
2と3の項目は、コードの管理方法によって異なります。上記のPhysics.jsの例では、exportの部分は最後の方にあります。 module.exportsにオブジェクトを割り当てています。
</p>
<code>
//=============================================================================
// make available in nodejs
//=============================================================================
if (typeof exports !== 'undefined')
{
module.exports = Physics;
}
</code>
</div>
<h2>Dealing with dependencies(依存関係に対処する)</h2>
<div>
<p>
もしすでに、require.jsやborwserifyといった賢いツールを使っているようなら、この章は飛ばしてください。
</p>
<p>
three.jsのプロジェクトはブラウザで実行するのが一般的です。そのため、モジュールのロードはブラウザによって行われ、たくさんのscriptタグが実行されます。一つのファイルであれば依存関係の心配をする必要はありません。 しかしながら、nodejsでは他の全てのものと結びつけられているindex.htmlがないので、 明示的にそうする必要があります。
</p>
<p>
他のファイルに依存するモジュールをexportする場合、nodeにそのファイルをロードするように伝えなくてはなりません。 以下に1つのアプローチを示します。
</p>
<ol>
<li>
モジュールを始める時に、nodejs環境であるかを確かめます。
</li>
<li>
もしそうであれば、依存関係を明示的に宣言します。
</li>
<li>
もしnodejs環境でないならおそらくブラウザ環境ですので、特に他のことはしなくても良いです。
</li>
</ol>
Physics.jsからのサンプルコードを示しておきます。
<code>
//=============================================================================
// setup for server-side testing
//=============================================================================
if (typeof require === 'function') // test for nodejs environment
{
const THREE = require('three');
const MY3 = require('./MY3.js');
}
</code>
</div>
</body>
</html>
| HTML | 5 | Hyeong-jin/three.js | docs/manual/ja/buildTools/Testing-with-NPM.html | [
"MIT"
] |
module audiostreamerscrobbler.maintypes.Player
let PLAYERTYPE_ID_BLUOS = "BluOS"
let PLAYERTYPE_ID_HEOS = "HEOS"
let PLAYERTYPE_ID_MUSICCAST = "MusicCast"
union PlayerTypes = {
BluOs
Heos
MusicCast
}
augment PlayerTypes {
function playerTypeId = |this| -> getPlayerTypeID(this)
}
function getAllPlayerTypes = {
return [PlayerTypes.BluOs(), PlayerTypes.Heos(), PlayerTypes.MusicCast()]
}
function createPlayer = |playerImpl| {
let playerTypeId = getPlayerTypeID(playerImpl: playerType())
let playerId = createPlayerId(playerTypeId, playerImpl: name())
let player = DynamicObject("PlayerProxy"):
define("impl", playerImpl):
define("id", playerId):
define("playerTypeId", getPlayerTypeID(playerImpl: playerType())):
fallback(DynamicObject.delegate(playerImpl))
return player
}
function createPlayerId = |playerTypeId, playerName| {
return playerTypeId + "/" + playerName
}
function getPlayerType = |playerTypeId| {
case {
when playerTypeId == PLAYERTYPE_ID_BLUOS {
return PlayerTypes.BluOs()
}
when playerTypeId == PLAYERTYPE_ID_HEOS {
return PlayerTypes.Heos()
}
when playerTypeId == PLAYERTYPE_ID_MUSICCAST {
return PlayerTypes.MusicCast()
}
otherwise {
raise("Internal error: unknown player type ID '" + playerTypeId + "'")
}
}
}
function getPlayerTypeID = |playerType| {
case {
when playerType: isBluOs() {
return PLAYERTYPE_ID_BLUOS
}
when playerType: isHeos() {
return PLAYERTYPE_ID_HEOS
}
when playerType: isMusicCast() {
return PLAYERTYPE_ID_MUSICCAST
}
otherwise {
raise("Internal error: unknown player type '" + playerType + "'")
}
}
}
| Golo | 4 | vvdleun/audiostreamerscrobbler | src/main/golo/include/maintypes/Player.golo | [
"MIT"
] |
#!/usr/bin/env io
// example of implementing control structures
myif := method(condition,
index := if(condition, 1, 2)
call evalArgAt(index)
)
myif(19 > 5,
writeln("19 > 5. Correct.")
,
writeln("19 > 5. Incorrect.")
)
| Io | 4 | akluth/io | samples/misc/Control.io | [
"BSD-3-Clause"
] |
<%args>
title
items
user
</%args>
<head>
<title><% title %></title>
</head>
<&|base.myt:wrap &>
<div><& base.myt:greeting, name=user &></div>
<div><& base.myt:greeting, name="me"&></div>
<div><& base.myt:greeting, name="world" &></div>
<h2>Loop</h2>
%if items:
<ul>
% for item in items:
<li><% item %></li>
%
</ul>
%
</&>
| Myghty | 4 | omunroe-com/sbvedwllorg | examples/bench/myghty/template.myt | [
"BSD-3-Clause"
] |
implementation module StdPointer
import StdOverloaded, StdClass, StdArray, StdInt, StdChar, StdString
readInt :: !Pointer !Offset -> Int
readInt pointer offset = IF_INT_64_OR_32 (readInt_64 pointer offset) (readInt_32 pointer offset)
readInt_64 :: !Pointer !Offset -> Int
readInt_64 pointer offset = code {
pop_b 1
| mov (%rbx,%rax,1),%rax
instruction 72
instruction 139
instruction 4
instruction 3
}
readInt_32 :: !Pointer !Offset -> Int
readInt_32 pointer offset = code {
pop_b 1
| mov (%ebx,%eax,1),%eax
instruction 139
instruction 4
instruction 3
}
readIntP :: !Pointer !Offset -> (!Int,!Pointer)
readIntP pointer offset = IF_INT_64_OR_32 (readIntP_64 pointer offset) (readIntP_32 pointer offset)
readIntP_64 :: !Pointer !Offset -> (!Int,!Pointer)
readIntP_64 pointer offset = code {
| mov (%rbx,%rax,1),%rcx
instruction 72
instruction 139
instruction 12
instruction 3
| mov %rbx,%rax
instruction 72
instruction 139
instruction 195
| mov %rcx,%rbx
instruction 72
instruction 139
instruction 217
}
readIntP_32 :: !Pointer !Offset -> (!Int,!Pointer)
readIntP_32 pointer offset = code {
| mov (%ebx,%eax,1),%ecx
instruction 139
instruction 12
instruction 3
| mov %ebx,%eax
instruction 139
instruction 195
| mov %ecx,%ebx
instruction 139
instruction 217
}
readIntElemOffset :: !Pointer !Offset -> Int
readIntElemOffset pointer offset = IF_INT_64_OR_32 (readIntElemOffset_64 pointer offset) (readIntElemOffset_32 pointer offset)
readIntElemOffset_64 :: !Pointer !Offset -> Int
readIntElemOffset_64 pointer offset = code {
pop_b 1
| mov (%rbx,%rax,8),%rax
instruction 72
instruction 139
instruction 4
instruction 195
}
readIntElemOffset_32 :: !Pointer !Offset -> Int
readIntElemOffset_32 pointer offset = code {
pop_b 1
| mov (%ebx,%eax,4),%eax
instruction 139
instruction 4
instruction 131
}
readIntElemOffsetP :: !Pointer !Offset -> (!Int,!Pointer)
readIntElemOffsetP pointer offset = IF_INT_64_OR_32 (readIntElemOffsetP_64 pointer offset) (readIntElemOffsetP_32 pointer offset)
readIntElemOffsetP_64 :: !Pointer !Offset -> (!Int,!Pointer)
readIntElemOffsetP_64 pointer offset = code {
| mov (%rbx,%rax,8),%rcx
instruction 72
instruction 139
instruction 12
instruction 195
| mov %rbx,%rax
instruction 72
instruction 139
instruction 195
| mov %rcx,%rbx
instruction 72
instruction 139
instruction 217
}
readIntElemOffsetP_32 :: !Pointer !Offset -> (!Int,!Pointer)
readIntElemOffsetP_32 pointer offset = code {
| mov (%ebx,%eax,4),%ecx
instruction 139
instruction 12
instruction 131
| mov %ebx,%eax
instruction 139
instruction 195
| mov %ecx,%ebx
instruction 139
instruction 217
}
readInt32Z :: !Pointer !Offset -> Int
readInt32Z pointer offset = code {
pop_b 1
| mov (%eax,%ebx,1),%eax
instruction 139
instruction 4
instruction 24
}
readInt32S :: !Pointer !Offset -> Int
readInt32S pointer offset = IF_INT_64_OR_32 (readInt32S_64 pointer offset) (readInt32S_32 pointer offset)
readInt32S_64 :: !Pointer !Offset -> Int
readInt32S_64 pointer offset = code {
pop_b 1
| movsxd rax,dword ptr [rbx+rax]
instruction 72
instruction 99
instruction 4
instruction 3
}
readInt32S_32 :: !Pointer !Offset -> Int
readInt32S_32 pointer offset = code {
pop_b 1
| mov (%eax,%ebx,1),%eax
instruction 139
instruction 4
instruction 24
}
readInt16Z :: !Pointer !Offset -> Int
readInt16Z pointer offset = code {
pop_b 1
| movzwl (%eax,%ebx,1),%eax
instruction 15
instruction 183
instruction 4
instruction 24
}
readInt16S :: !Pointer !Offset -> Int
readInt16S pointer offset = IF_INT_64_OR_32 (readInt16S_64 pointer offset) (readInt16S_32 pointer offset)
readInt16S_64 :: !Pointer !Offset -> Int
readInt16S_64 pointer offset = code {
pop_b 1
| movswl (%rax,%rbx,1),%rax
instruction 72
instruction 15
instruction 191
instruction 4
instruction 24
}
readInt16S_32 :: !Pointer !Offset -> Int
readInt16S_32 pointer offset = code {
pop_b 1
| movswl (%eax,%ebx,1),%eax
instruction 15
instruction 191
instruction 4
instruction 24
}
readInt8Z :: !Pointer !Offset -> Int
readInt8Z pointer offset = code {
pop_b 1
| movzbl (%eax,%ebx,1),%eax
instruction 15
instruction 182
instruction 4
instruction 24
}
readInt8S :: !Pointer !Offset -> Int
readInt8S pointer offset = IF_INT_64_OR_32 (readInt8S_64 pointer offset) (readInt8S_32 pointer offset)
readInt8S_64 :: !Pointer !Offset -> Int
readInt8S_64 pointer offset = code {
pop_b 1
| movsbl (%rax,%rbx,1),%rax
instruction 72
instruction 15
instruction 190
instruction 4
instruction 24
}
readInt8S_32 :: !Pointer !Offset -> Int
readInt8S_32 pointer offset = code {
pop_b 1
| movsbl (%eax,%ebx,1),%eax
instruction 15
instruction 190
instruction 4
instruction 24
}
readChar :: !Pointer !Offset -> Char
readChar pointer offset = code {
pop_b 1
| movzbl (%eax,%ebx,1),%eax
instruction 15
instruction 182
instruction 4
instruction 24
}
readReal64 :: !Pointer !Offset -> Real
readReal64 pointer offset = IF_INT_64_OR_32 (readReal64_64 pointer offset) (readReal64_32 pointer offset)
readReal64_64 :: !Pointer !Offset -> Real
readReal64_64 pointer offset = code {
pushR 0.0
updatepop_b 0 2
jmp read_f8_p_64
:read_f8_p_64
| movsd xmm0,mmword ptr [rbx+rax]
instruction 242
instruction 15
instruction 16
instruction 4
instruction 3
}
readReal64_32 :: !Pointer !Offset -> Real
readReal64_32 pointer offset = code {
pushR 0.0
update_b 1 3
updatepop_b 0 2
jmp read_f8_p_32
:read_f8_p_32
| fldl (%eax,%ebx,1)
instruction 221
instruction 4
instruction 24
| fstp %st(1)
instruction 221
instruction 217
}
readReal32 :: !Pointer !Offset -> Real
readReal32 pointer offset = IF_INT_64_OR_32 (readReal32_64 pointer offset) (readReal32_32 pointer offset)
readReal32_64 :: !Pointer !Offset -> Real
readReal32_64 pointer offset = code {
pushR 0.0
updatepop_b 0 2
jmp read_f4_p_64
:read_f4_p_64
| cvtss2sd xmm0,dword ptr [rbx+rax]
instruction 243
instruction 15
instruction 90
instruction 4
instruction 3
}
readReal32_32 :: !Pointer !Offset -> Real
readReal32_32 pointer offset = code {
pushR 0.0
update_b 1 3
updatepop_b 0 2
jmp read_f4_p_32
:read_f4_p_32
| flds (%eax,%ebx,1)
instruction 217
instruction 4
instruction 24
| fstp %st(1)
instruction 221
instruction 217
}
writeInt :: !Pointer !Offset !Int -> Pointer
writeInt pointer offset i = IF_INT_64_OR_32 (writeInt_64 pointer offset i) (writeInt_32 pointer offset i)
writeInt_64 :: !Pointer !Offset !Int -> Pointer
writeInt_64 pointer offset i = code {
updatepop_b 0 2
| mov qword ptr [rbx+r10],rax
instruction 74
instruction 137
instruction 4
instruction 19
}
writeInt_32 :: !Pointer !Offset !Int -> Pointer
writeInt_32 pointer offset i = code {
updatepop_b 0 2
| mov (%esp),%ecx
instruction 139
instruction 12
instruction 36
| movl %ecx,(%eax,%ebx,1)
instruction 137
instruction 12
instruction 24
}
writeIntElemOffset :: !Pointer !Offset !Int -> Pointer
writeIntElemOffset pointer offset i = IF_INT_64_OR_32 (writeIntElemOffset_64 pointer offset i) (writeIntElemOffset_32 pointer offset i)
writeIntElemOffset_64 :: !Pointer !Offset !Int -> Pointer
writeIntElemOffset_64 pointer offset i = code {
updatepop_b 0 2
| mov qword ptr [r10+rbx*8],rax
instruction 73
instruction 137
instruction 4
instruction 218
}
writeIntElemOffset_32 :: !Pointer !Offset !Int -> Pointer
writeIntElemOffset_32 pointer offset i = code {
updatepop_b 0 2
| mov (%esp),%ecx
instruction 139
instruction 12
instruction 36
| movl %ecx,(%ebx,%eax,4)
instruction 137
instruction 12
instruction 131
}
writeInt32 :: !Pointer !Offset !Int -> Pointer
writeInt32 pointer offset i = IF_INT_64_OR_32 (writeInt32_64 pointer offset i) (writeInt32_32 pointer offset i)
writeInt32_64 :: !Pointer !Offset !Int -> Pointer
writeInt32_64 pointer offset i = code {
updatepop_b 0 2
| mov dword ptr [rbx+r10],eax
instruction 66
instruction 137
instruction 4
instruction 19
}
writeInt32_32 :: !Pointer !Offset !Int -> Pointer
writeInt32_32 pointer offset i = code {
updatepop_b 0 2
| mov (%esp),%ecx
instruction 139
instruction 12
instruction 36
| movl %ecx,(%eax,%ebx,1)
instruction 137
instruction 12
instruction 24
}
writeInt16 :: !Pointer !Offset !Int -> Pointer
writeInt16 pointer offset i = IF_INT_64_OR_32 (writeInt16_64 pointer offset i) (writeInt16_32 pointer offset i)
writeInt16_64 :: !Pointer !Offset !Int -> Pointer
writeInt16_64 pointer offset i = code {
updatepop_b 0 2
| mov word ptr [rbx+r10],ax
instruction 102
instruction 66
instruction 137
instruction 4
instruction 19
}
writeInt16_32 :: !Pointer !Offset !Int -> Pointer
writeInt16_32 pointer offset i = code {
updatepop_b 0 2
| mov (%esp),%ecx
instruction 139
instruction 12
instruction 36
| movw %cx,(%eax,%ebx,1)
instruction 102
instruction 137
instruction 12
instruction 24
}
writeInt8 :: !Pointer !Offset !Int -> Pointer
writeInt8 pointer offset i = IF_INT_64_OR_32 (writeInt8_64 pointer offset i) (writeInt8_32 pointer offset i)
writeInt8_64 :: !Pointer !Offset !Int -> Pointer
writeInt8_64 pointer offset i = code {
updatepop_b 0 2
| mov byte ptr [rbx+r10],al
instruction 66
instruction 136
instruction 4
instruction 19
}
writeInt8_32 :: !Pointer !Offset !Int -> Pointer
writeInt8_32 pointer offset i = code {
updatepop_b 0 2
| mov (%esp),%ecx
instruction 139
instruction 12
instruction 36
| movl %cl,(%eax,%ebx,1)
instruction 136
instruction 12
instruction 24
}
writeChar :: !Pointer !Offset !Char -> Pointer
writeChar pointer offset i = IF_INT_64_OR_32 (writeChar_64 pointer offset i) (writeChar_32 pointer offset i)
writeChar_64 :: !Pointer !Offset !Char -> Pointer
writeChar_64 pointer offset i = code {
updatepop_b 0 2
| mov byte ptr [rbx+r10],al
instruction 66
instruction 136
instruction 4
instruction 19
}
writeChar_32 :: !Pointer !Offset !Char -> Pointer
writeChar_32 pointer offset i = code {
updatepop_b 0 2
| mov (%esp),%ecx
instruction 139
instruction 12
instruction 36
| movl %cl,(%eax,%ebx,1)
instruction 136
instruction 12
instruction 24
}
writeReal64 :: !Pointer !Offset !Real -> Pointer
writeReal64 pointer offset double = IF_INT_64_OR_32 (writeReal64_64 pointer offset double) (writeReal64_32 pointer offset double)
writeReal64_64 :: !Pointer !Offset !Real -> Pointer
writeReal64_64 pointer offset double = code {
updatepop_b 0 2
| movsd mmword ptr [rbx+rax],xmm0
instruction 242
instruction 15
instruction 17
instruction 4
instruction 3
}
writeReal64_32 :: !Pointer !Offset !Real -> Pointer
writeReal64_32 pointer offset double = code {
updatepop_b 0 3
| fstl (%eax,%ebx,1)
instruction 221
instruction 20
instruction 24
}
writeReal32 :: !Pointer !Offset !Real -> Pointer
writeReal32 pointer offset double = IF_INT_64_OR_32 (writeReal32_64 pointer offset double) (writeReal32_32 pointer offset double)
writeReal32_64 :: !Pointer !Offset !Real -> Pointer
writeReal32_64 pointer offset double = code {
updatepop_b 0 2
| cvtsd2ss xmm0,xmm0
instruction 242
instruction 15
instruction 90
instruction 192
| movss dword ptr [rbx+rax],xmm0
instruction 243
instruction 15
instruction 17
instruction 4
instruction 3
}
writeReal32_32 :: !Pointer !Offset !Real -> Pointer
writeReal32_32 pointer offset double = code {
updatepop_b 0 3
| fsts (%eax,%ebx,1)
instruction 217
instruction 20
instruction 24
}
derefInt :: !Pointer -> Int
derefInt ptr = code {
load_i 0
}
derefString :: !Pointer -> String
derefString ptr = copy ptr 0 (createArray len '\0')
where
len = skip_to_zero ptr - ptr
skip_to_zero ptr
| load_char ptr <> '\0' = skip_to_zero (ptr+1)
= ptr
copy :: !Pointer !Offset *{#Char} -> *{#Char}
copy ptr off arr
# char = load_char (ptr+off)
| char <> '\0' = copy ptr (off + 1) {arr & [off] = char}
= arr
derefCharArray :: !Pointer !Int -> {#Char}
derefCharArray ptr len = copy 0 (createArray len '\0')
where
copy :: !Offset *{#Char} -> *{#Char}
copy off arr
# char = load_char (ptr+off)
| off < len = copy (inc off) {arr & [off] = char}
= arr
load_char :: !Pointer -> Char
load_char ptr = code inline {
load_ui8 0
}
writeCharArray :: !Pointer !{#Char} -> Pointer
writeCharArray ptr array = copy ptr 0
where
len = size array
copy :: !Pointer !Offset -> Pointer
copy ptr off
# char = array.[off]
| off < len = copy (writeChar ptr off char) (inc off)
= ptr
packInt :: !Int -> {#Int}
packInt i = {i}
packString :: !String -> {#Char}
packString s = s +++ "\0"
unpackString :: !{#Char} -> String
unpackString s = unpack 0
where
unpack :: Int -> String
unpack off | s.[off] == '\0' = s % (0, off - 1)
| otherwise = unpack (off + 1)
unpackInt16Z :: !{#Char} !Offset -> Int
unpackInt16Z s off
= (toInt s.[off])
bitor (toInt s.[off + 1] << 8)
unpackInt16S :: !{#Char} !Offset -> Int
unpackInt16S s off = IF_INT_64_OR_32 (((unpackInt16Z s off) << 48) >> 48) (((unpackInt16Z s off) << 16) >> 16)
unpackInt32Z :: !{#Char} !Offset -> Int
unpackInt32Z s off
= (toInt s.[off])
bitor (toInt s.[off + 1] << 8)
bitor (toInt s.[off + 2] << 16)
bitor (toInt s.[off + 3] << 24)
unpackInt32S :: !{#Char} !Offset -> Int
unpackInt32S s off = IF_INT_64_OR_32 (((unpackInt32Z s off) << 32) >> 32) (unpackInt32Z s off)
unpackInt64 :: !{#Char} !Offset -> Int
unpackInt64 s off
= (toInt s.[off])
bitor (toInt s.[off + 1] << 8)
bitor (toInt s.[off + 2] << 16)
bitor (toInt s.[off + 3] << 24)
bitor (toInt s.[off + 4] << 32)
bitor (toInt s.[off + 5] << 40)
bitor (toInt s.[off + 6] << 48)
bitor (toInt s.[off + 7] << 56)
unpackBool :: !{#Char} !Offset -> Bool
unpackBool s off = unpackInt32Z s off <> 0
forceEval :: !a !*env -> *env
forceEval _ world = world
forceEvalPointer :: !Pointer !*env -> *env
forceEvalPointer _ world = world
global_argc :: Pointer
global_argc = code {
pushLc global_argc
}
global_argv :: Pointer
global_argv = code {
pushLc global_argv
}
| Clean | 3 | timjs/iris-clean | Libraries/StdPointer.icl | [
"MIT"
] |
PUT /stuff/here?foo=bar HTTP/1.0\r\n
CONTENT-LENGTH: -1\r\n
\r\n
{"test": "-1} | HTTP | 0 | ashishmjn/gunicorn | tests/requests/invalid/014.http | [
"MIT"
] |
# This is the python script
# import sys
# for i in range(0, 16):
# for j in range(0, 16):
# code = str(i * 16 + j)
# sys.stdout.write(u"\u001b[38;5;" + code + "m " + code.ljust(4))
# print u"\u001b[0m"
# Foreground Colors
echo 0..16 | each { |col|
let row = (echo 0..16 | each { |row|
let code = ($col * 16 + $row)
if $code < 256 {
$"(ansi -e '38;5;')($code | into string)m($code | into string | str lpad -l 4 -c ' ')(ansi reset)"
} {} # Do nothing in the else
} | str collect)
$"($row)(char newline)"
} | str collect
# Background Colors
echo 0..16 | each { |col|
let row = (echo 0..16 | each { |row|
let code = ($col * 16 + $row)
if $code < 256 {
$"(ansi -e '48;5;')($code | into string)m($code | into string | str lpad -l 4 -c ' ')(ansi reset)"
} {} # do nothing in the else
} | str collect)
$"($row)(char newline)"
} | str collect
| Nu | 4 | x3rAx/nu_scripts | coloring/python_index_table.nu | [
"MIT"
] |
// @target: es6
// @filename: asyncawait.ts
export function async<T>(...args: any[]): any { }
export function await(...args: any[]): any { }
// @filename: a.ts
import { async, await } from 'asyncawait';
export default async(() => await(Promise.resolve(1)));
// @filename: b.ts
export default async () => { return 0; };
// @filename: c.ts
import { async, await } from 'asyncawait';
export default async<number>();
// @filename: d.ts
import { async, await } from 'asyncawait';
export default async;
// @filename: e.ts
import { async, await } from 'asyncawait';
export default async
export function foo() { } | TypeScript | 3 | nilamjadhav/TypeScript | tests/cases/compiler/exportDefaultAsyncFunction2.ts | [
"Apache-2.0"
] |
import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.4
import QGroundControl.FactControls 1.0
import QGroundControl.Palette 1.0
Rectangle {
QGCPalette { id: palette; colorGroupEnabled: enabled }
width: 100
height: 100
color: "#e43f3f"
// palette.text
}
| QML | 2 | uavosky/uavosky-qgroundcontrol | src/test.qml | [
"Apache-2.0"
] |
## recursive implementation
fibonacci_rec := function( n )
if n = 1 or n = 2 then
return 1;
fi;
return fibonacci_rec( n - 1 ) + fibonacci_rec( n - 2 );
end;
## iterative implementation
fibonacci_iterative := function( n )
local prev, prev2, curr_fib;
if n = 1 or n = 2 then
return 1;
fi;
prev := 1;
prev2 := 1;
while n > 2 do
curr_fib := prev + prev2;
prev2 := prev;
prev := curr_fib;
n := n - 1;
od;
return curr_fib;
end;
## using the internal function
fibonacci_internal := i -> Fibonacci( i );
## fibonacci iterator
fibonacci_iterator := function( )
local previous_list;
previous_list := [ 1, 1 ];
return function( )
local ret_val, tmp_val;
ret_val := previous_list[ 1 ];
tmp_val := previous_list[ 1 ] + previous_list[ 2 ];
previous_list[ 1 ] := previous_list[ 2 ];
previous_list[ 2 ] := tmp_val;
return ret_val;
end;
end;
| GAP | 4 | Mynogs/Algorithm-Implementations | Fibonacci_series/GAP/sebasguts/fibonacci.gi | [
"MIT"
] |
..
Copyright 2020 The HuggingFace Team. 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.
BARThez
-----------------------------------------------------------------------------------------------------------------------
Overview
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The BARThez model was proposed in `BARThez: a Skilled Pretrained French Sequence-to-Sequence Model
<https://arxiv.org/abs/2010.12321>`__ by Moussa Kamal Eddine, Antoine J.-P. Tixier, Michalis Vazirgiannis on 23 Oct,
2020.
The abstract of the paper:
*Inductive transfer learning, enabled by self-supervised learning, have taken the entire Natural Language Processing
(NLP) field by storm, with models such as BERT and BART setting new state of the art on countless natural language
understanding tasks. While there are some notable exceptions, most of the available models and research have been
conducted for the English language. In this work, we introduce BARThez, the first BART model for the French language
(to the best of our knowledge). BARThez was pretrained on a very large monolingual French corpus from past research
that we adapted to suit BART's perturbation schemes. Unlike already existing BERT-based French language models such as
CamemBERT and FlauBERT, BARThez is particularly well-suited for generative tasks, since not only its encoder but also
its decoder is pretrained. In addition to discriminative tasks from the FLUE benchmark, we evaluate BARThez on a novel
summarization dataset, OrangeSum, that we release with this paper. We also continue the pretraining of an already
pretrained multilingual BART on BARThez's corpus, and we show that the resulting model, which we call mBARTHez,
provides a significant boost over vanilla BARThez, and is on par with or outperforms CamemBERT and FlauBERT.*
This model was contributed by `moussakam <https://huggingface.co/moussakam>`__. The Authors' code can be found `here
<https://github.com/moussaKam/BARThez>`__.
Examples
_______________________________________________________________________________________________________________________
- BARThez can be fine-tuned on sequence-to-sequence tasks in a similar way as BART, check:
:prefix_link:`examples/pytorch/summarization/ <examples/pytorch/summarization/README.md>`.
BarthezTokenizer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: transformers.BarthezTokenizer
:members:
BarthezTokenizerFast
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: transformers.BarthezTokenizerFast
:members:
| reStructuredText | 4 | MarcelGM/transformers | docs/source/model_doc/barthez.rst | [
"Apache-2.0"
] |
/*# sourceMappingURL=main.d41d8cd9.css.map*/ | CSS | 0 | josephaw1022/THE-PERSONAL-WEBSITE | build/static/css/main.d41d8cd9.css | [
"MIT"
] |
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>body</title>
</head>
<body>
<div id="qunit-fixture"></div>
<script src="../../dist/jquery.min.js"></script>
<script src="iframeTest.js"></script>
<script>
var i, input, elem, tags, policy,
results = [],
inputs = [
[ "<div></div>", "<div class='test'></div>", [ "div" ] ],
[ "<div></div>", "<div class='test'></div><span class='test'></span>",
[ "div", "span" ] ],
[ "<table></table>", "<td class='test'></td>", [ "td" ] ],
[ "<select></select>", "<option class='test'></option>", [ "option" ] ]
];
function runTests( messagePrefix, getHtmlWrapper ) {
for ( i = 0; i < inputs.length; i++ ) {
input = inputs[ i ];
elem = jQuery( getHtmlWrapper( input[ 0 ] ) );
elem.append( getHtmlWrapper( input[ 1 ] ) );
tags = elem.find( ".test" ).toArray().map( function( node ) {
return node.nodeName.toLowerCase();
} );
results.push( {
actual: tags,
expected: input[ 2 ],
message: messagePrefix + ": " + input[ 2 ].join( ", " )
} );
}
elem = jQuery( getHtmlWrapper( "<div></div>" ) );
elem.append( getHtmlWrapper( "text content" ) );
results.push( {
actual: elem.html(),
expected: "text content",
message: messagePrefix + ": text content properly appended"
} );
}
if ( typeof trustedTypes !== "undefined" ) {
policy = trustedTypes.createPolicy( "jquery-test-policy", {
createHTML: function( html ) {
return html;
}
} );
runTests( "TrustedHTML", function wrapInTrustedHtml( input ) {
return policy.createHTML( input );
} );
} else {
// No TrustedHTML support so let's at least run tests with object wrappers
// with a proper `toString` function. This also shows that jQuery support
// of TrustedHTML is generic and would work with similar APIs out of the box
// as well. Ideally, we'd run these tests in browsers with TrustedHTML support
// as well but due to the CSP TrustedHTML enforcement these tests would fail.
runTests( "Object wrapper", function( input ) {
return {
toString: function toString() {
return input;
}
};
} );
}
startIframeTest( results );
</script>
</body>
</html>
| HTML | 4 | sfleandro/jquery | test/data/trusted-html.html | [
"MIT"
] |
; Script Name : eventlog_security.au3
; Author : Craig Richards
; Created : 3rd February 2012
; Last Modified :
; Version : 1.0
; Modifications :
; Description : This will show you the last failed login attempt, it then outputs all failed login attempts to a file, then clears all the Security part of the event log
#Include <EventLog.au3> ; Include the Eventlog header file
#Include <String.au3> ; Include the String header file
#Include <Array.au3> ; Include the Array header file
#Include <GUIConstantsEx.au3> ; Include the GUIConstantsEx header file
#Include <Date.au3> ; Include the Date header file
#Include <File.au3> ; Include the File header file
Global $iMemo ; Set the Global Variable iMemo
_Main() ; Call the Function _Main
Func _Main() ; Start of the Main function
Local $hEventLog, $aEvent ; Set some Local variables
GUICreate("EventLog", 400, 300) ; Create a Window to display the last record
$iMemo = GUICtrlCreateEdit("", 2, 2, 396, 300, 0)
GUICtrlSetFont($iMemo, 9, 400, 0, "Courier New")
GUISetState()
$hEventLog = _EventLog__Open( "", "Security") ; Create the variable hEventLog, this opens the Security Event Log
$x=_EventLog__Count ($hEventLog) ; Get a count of all the records
MsgBox(4096,"Security events", "You Have " & $x & " events, displaying the last failure event") ; Display the Count of events
For $i=0 To $x ; For all events
$aEvent = _EventLog__Read($hEventLog, True, False) ; Display just the last event
if $aEvent[6] = "529" then ; If the Error code is 529
; Display all the information
MemoWrite("Result ............: " & $aEvent[ 0])
MemoWrite("Record number .....: " & $aEvent[ 1])
MemoWrite("Submitted .........: " & $aEvent[ 2] & " " & $aEvent[ 3])
MemoWrite("Generated .........: " & $aEvent[ 4] & " " & $aEvent[ 5])
MemoWrite("Event ID ..........: " & $aEvent[ 6])
MemoWrite("Type ..............: " & $aEvent[ 8])
MemoWrite("Category ..........: " & $aEvent[ 9])
MemoWrite("Source ............: " & $aEvent[10])
MemoWrite("Computer ..........: " & $aEvent[11])
MemoWrite("Username ..........: " & $aEvent[12])
MemoWrite("Description .......: " & $aEvent[13])
; Write out all the records to a log file and date stamp the file
_FileWriteLog(@UserProfileDir & "\login_failure_attempts.log." & StringReplace(_DateTimeFormat( _NowCalc(),2), "/", "-"), $aEvent[10] & " " & $aEvent[11] & " " & $aEvent[12] & " " & $aEvent[13] & " " & $aEvent[4] & " " & $aEvent[5])
endif ; End of the loop
Next
_EventLog__Backup($hEventLog, "C:\Security_EventLog.bak." & StringReplace(_DateTimeFormat( _NowCalc(),2), "/", "-")) ; Backup the Security Event log
_EventLog__Clear($hEventLog, "") ; Clear the event log
_EventLog__Close($hEventLog) ; Close the event log
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
EndFunc ; End of the Main Function
Func MemoWrite($sMessage) ; Start of the Memowrite Function, to display the messages
GUICtrlSetData($iMemo, $sMessage & @CRLF, 1) ; Display the messages
EndFunc ;==>MemoWrite ; End of the Function | AutoIt | 5 | X-EcutiOnner/Notepad3 | test/test_files/StyleLexers/styleLexAU3/security_eventlog.au3 | [
"BSD-3-Clause"
] |
<table>
<tr>
<td></td>
<td>Previous is empty</td>
</tr>
<tr>
<td>Next is empty</td>
<td></td>
</tr>
</table> | HTML | 0 | asahiocean/joplin | packages/app-cli/tests/html_to_md/table_with_empty_cells.html | [
"MIT"
] |
# DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.
@0x81df9e172c8504b4;
struct Cat {
kind @0 :Text;
}
| Cap'n Proto | 2 | mrpotes/go-raml | codegen/python/fixtures/python_capnp/Cat.capnp | [
"BSD-2-Clause"
] |
'reach 0.1';
export const main =
Reach.App(
{},
[Participant('A', {})],
(A) => {
const a =
parallelReduce(null);
});
| RenderScript | 2 | chikeabuah/reach-lang | hs/t/n/Err_ParallelReduceIncomplete.rsh | [
"Apache-2.0"
] |
import { G } from "./subdir/g.ts";
import { H } from "./subdir/h.ts";
console.log(new G(true), new H(true));
| TypeScript | 1 | Preta-Crowz/deno | cli/tests/bundle/file_tests-fixture07.ts | [
"MIT"
] |
<GameProjectFile>
<PropertyGroup Type="Node" Name="cat_queen" ID="a216914d-c0d7-49f6-8da3-6a19dd0dc55f" Version="0.0.0.1" />
<Content ctype="GameProjectContent">
<Content>
<Animation Duration="54" Speed="0.3333333">
<Timeline ActionTag="115142900" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="35" Value="True" />
</Timeline>
<Timeline ActionTag="115142900" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="35" X="0.5009375" Y="0.4984375" />
<PointFrame FrameIndex="37" X="0.500625" Y="0.499375" />
<PointFrame FrameIndex="39" X="0.5003125" Y="0.5" />
<PointFrame FrameIndex="41" X="0.500625" Y="0.499375" />
<PointFrame FrameIndex="43" X="0.500625" Y="0.499375" />
<PointFrame FrameIndex="45" X="0.5009375" Y="0.49875" />
<PointFrame FrameIndex="47" X="0.5003125" Y="0.499375" />
<PointFrame FrameIndex="54" X="0.5003125" Y="0.499375" />
</Timeline>
<Timeline ActionTag="115142899" FrameType="PositionFrame">
<PointFrame FrameIndex="35" X="31.7" Y="139.85" />
<PointFrame FrameIndex="37" X="31.8" Y="139.85" />
<PointFrame FrameIndex="39" X="31.8" Y="139.85" />
<PointFrame FrameIndex="41" X="31.8" Y="139.85" />
<PointFrame FrameIndex="43" X="31.8" Y="139.85" />
<PointFrame FrameIndex="45" X="31.8" Y="139.85" />
<PointFrame FrameIndex="47" X="31.8" Y="139.85" />
<PointFrame FrameIndex="54" Tween="False" X="31.8" Y="139.85" />
</Timeline>
<Timeline ActionTag="115142899" FrameType="ScaleFrame">
<PointFrame FrameIndex="35" X="0.160965" Y="0.160965" />
<PointFrame FrameIndex="37" X="0.5396881" Y="0.5396881" />
<PointFrame FrameIndex="39" X="0.5398712" Y="0.5398712" />
<PointFrame FrameIndex="41" X="0.5397491" Y="0.5397491" />
<PointFrame FrameIndex="43" X="0.5405579" Y="0.5405579" />
<PointFrame FrameIndex="45" X="0.5402527" Y="0.5402527" />
<PointFrame FrameIndex="47" X="0.5405884" Y="0.5405884" />
<PointFrame FrameIndex="54" Tween="False" X="0.5405884" Y="0.5405884" />
</Timeline>
<Timeline ActionTag="115142899" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="35" X="95.75595" Y="95.75595" />
<PointFrame FrameIndex="37" X="-45.1248" Y="-45.1248" />
<PointFrame FrameIndex="39" X="26.30077" Y="26.30077" />
<PointFrame FrameIndex="41" X="-31.8221" Y="-31.8221" />
<PointFrame FrameIndex="43" X="-0.7972717" Y="-0.7972717" />
<PointFrame FrameIndex="45" X="-11.0085" Y="-11.0085" />
<PointFrame FrameIndex="47" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="115142899" FrameType="EventFrame">
<StringFrame FrameIndex="54" Value="player5_end" />
</Timeline>
<Timeline ActionTag="115142902" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="115142902" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="6" X="0.500813" Y="0.4979452" />
<PointFrame FrameIndex="13" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="14" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="15" X="0.500813" Y="0.4972603" />
<PointFrame FrameIndex="16" X="0.5" Y="0.5" />
<PointFrame FrameIndex="18" X="0.5" Y="0.5" />
<PointFrame FrameIndex="20" X="0.500813" Y="0.4979452" />
<PointFrame FrameIndex="21" X="0.5004065" Y="0.4979452" />
<PointFrame FrameIndex="22" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="23" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="24" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="25" X="0.5012195" Y="0.5" />
<PointFrame FrameIndex="27" X="0.498374" Y="0.4958904" />
<PointFrame FrameIndex="29" X="0.5012195" Y="0.4979452" />
<PointFrame FrameIndex="30" X="0.5004065" Y="0.4993151" />
<PointFrame FrameIndex="31" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="32" X="0.500813" Y="0.4972603" />
<PointFrame FrameIndex="33" X="0.5004065" Y="0.4986301" />
<PointFrame FrameIndex="35" X="0.5" Y="0.5" />
<PointFrame FrameIndex="48" X="0.5" Y="0.5" />
<PointFrame FrameIndex="51" X="0.500813" Y="0.4979452" />
<PointFrame FrameIndex="52" X="0.5004065" Y="0.4979452" />
<PointFrame FrameIndex="54" X="0.5004065" Y="0.4986301" />
</Timeline>
<Timeline ActionTag="115142901" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="-21.35" Y="15.2" />
<PointFrame FrameIndex="6" X="-21.8" Y="16.05" />
<PointFrame FrameIndex="13" Tween="False" X="-21.35" Y="15.2" />
<PointFrame FrameIndex="14" X="-21.35" Y="15.2" />
<PointFrame FrameIndex="15" X="-21.75" Y="15.9" />
<PointFrame FrameIndex="16" X="-16.95" Y="12.15" />
<PointFrame FrameIndex="18" X="-16.95" Y="12.15" />
<PointFrame FrameIndex="20" X="-21.8" Y="16.35" />
<PointFrame FrameIndex="21" X="-21.25" Y="15.35" />
<PointFrame FrameIndex="22" Tween="False" X="-21.35" Y="15.2" />
<PointFrame FrameIndex="23" X="-21.35" Y="15.2" />
<PointFrame FrameIndex="24" X="-21.4" Y="15.45" />
<PointFrame FrameIndex="25" Tween="False" X="-20.6" Y="13.85" />
<PointFrame FrameIndex="27" Tween="False" X="-21.05" Y="15.2" />
<PointFrame FrameIndex="29" Tween="False" X="-21.35" Y="16.55" />
<PointFrame FrameIndex="30" Tween="False" X="-21.45" Y="17.35" />
<PointFrame FrameIndex="31" X="-21.35" Y="15.2" />
<PointFrame FrameIndex="32" X="-21.75" Y="15.9" />
<PointFrame FrameIndex="33" X="-17.55" Y="12.5" />
<PointFrame FrameIndex="35" X="-16.95" Y="12.15" />
<PointFrame FrameIndex="48" X="-16.95" Y="12.15" />
<PointFrame FrameIndex="51" X="-21.8" Y="16.35" />
<PointFrame FrameIndex="52" X="-21.25" Y="15.35" />
<PointFrame FrameIndex="54" Tween="False" X="-21.35" Y="15.2" />
</Timeline>
<Timeline ActionTag="115142901" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2485657" Y="0.2485657" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="16" X="0.248291" Y="0.248291" />
<PointFrame FrameIndex="18" X="0.248291" Y="0.248291" />
<PointFrame FrameIndex="20" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="21" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="27" Tween="False" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="29" Tween="False" X="0.2484131" Y="0.2484131" />
<PointFrame FrameIndex="30" Tween="False" X="0.2484894" Y="0.2484894" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="33" X="0.2483063" Y="0.2483063" />
<PointFrame FrameIndex="35" X="0.248291" Y="0.248291" />
<PointFrame FrameIndex="48" X="0.248291" Y="0.248291" />
<PointFrame FrameIndex="51" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="52" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="115142901" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="5.003769" Y="5.003769" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="3.001221" Y="3.001221" />
<PointFrame FrameIndex="16" X="-29.0567" Y="-29.0567" />
<PointFrame FrameIndex="18" X="-29.0567" Y="-29.0567" />
<PointFrame FrameIndex="20" X="4.749466" Y="4.749466" />
<PointFrame FrameIndex="21" X="-1.501648" Y="-1.501648" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="-7.302277" Y="-7.302277" />
<PointFrame FrameIndex="27" Tween="False" X="-1.055115" Y="-1.055115" />
<PointFrame FrameIndex="29" Tween="False" X="4.791138" Y="4.791138" />
<PointFrame FrameIndex="30" Tween="False" X="7.906113" Y="7.906113" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="3.001221" Y="3.001221" />
<PointFrame FrameIndex="33" X="-27.05116" Y="-27.05116" />
<PointFrame FrameIndex="35" X="-29.0567" Y="-29.0567" />
<PointFrame FrameIndex="48" X="-29.0567" Y="-29.0567" />
<PointFrame FrameIndex="51" X="4.749466" Y="4.749466" />
<PointFrame FrameIndex="52" X="-1.501648" Y="-1.501648" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="115142904" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="115142904" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="6" X="0.499359" Y="0.4996287" />
<PointFrame FrameIndex="13" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="14" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="15" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="16" X="0.4997436" Y="0.4993812" />
<PointFrame FrameIndex="18" X="0.499359" Y="0.5001237" />
<PointFrame FrameIndex="20" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="21" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="22" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="23" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="24" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="25" X="0.4998718" Y="0.4996287" />
<PointFrame FrameIndex="27" X="0.5001282" Y="0.4998762" />
<PointFrame FrameIndex="29" X="0.4996154" Y="0.5002475" />
<PointFrame FrameIndex="30" X="0.4997436" Y="0.4998762" />
<PointFrame FrameIndex="31" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="32" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="33" X="0.5" Y="0.5002475" />
<PointFrame FrameIndex="35" X="0.4997436" Y="0.4993812" />
<PointFrame FrameIndex="48" X="0.499359" Y="0.5001237" />
<PointFrame FrameIndex="51" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="52" X="0.4996154" Y="0.4997525" />
<PointFrame FrameIndex="54" X="0.4996154" Y="0.4997525" />
</Timeline>
<Timeline ActionTag="115142903" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="0.4" Y="79.2" />
<PointFrame FrameIndex="6" X="0.25" Y="77.55" />
<PointFrame FrameIndex="13" Tween="False" X="0.4" Y="79.2" />
<PointFrame FrameIndex="14" X="0.4" Y="79.2" />
<PointFrame FrameIndex="15" X="0.4" Y="78" />
<PointFrame FrameIndex="16" X="-10.15" Y="80.45" />
<PointFrame FrameIndex="18" X="-11.45" Y="81.2" />
<PointFrame FrameIndex="20" X="0.4" Y="78" />
<PointFrame FrameIndex="21" X="0.4" Y="79.55" />
<PointFrame FrameIndex="22" Tween="False" X="0.4" Y="79.2" />
<PointFrame FrameIndex="23" X="0.4" Y="79.2" />
<PointFrame FrameIndex="24" X="0.4" Y="79.2" />
<PointFrame FrameIndex="25" Tween="False" X="-7.15" Y="78.5" />
<PointFrame FrameIndex="27" Tween="False" X="-3.75" Y="78.1" />
<PointFrame FrameIndex="29" Tween="False" X="-0.5" Y="77.55" />
<PointFrame FrameIndex="30" Tween="False" X="1.1" Y="77.15" />
<PointFrame FrameIndex="31" X="0.4" Y="79.2" />
<PointFrame FrameIndex="32" X="0.4" Y="78" />
<PointFrame FrameIndex="33" X="-3.05" Y="83.75" />
<PointFrame FrameIndex="35" X="-10.15" Y="80.45" />
<PointFrame FrameIndex="48" X="-11.45" Y="81.2" />
<PointFrame FrameIndex="51" X="0.4" Y="78" />
<PointFrame FrameIndex="52" X="0.4" Y="79.55" />
<PointFrame FrameIndex="54" Tween="False" X="0.4" Y="79.2" />
</Timeline>
<Timeline ActionTag="115142903" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2486267" Y="0.2486267" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="16" X="0.2483978" Y="0.2483978" />
<PointFrame FrameIndex="18" X="0.2483826" Y="0.2483826" />
<PointFrame FrameIndex="20" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="27" Tween="False" X="0.2485046" Y="0.2485046" />
<PointFrame FrameIndex="29" Tween="False" X="0.2485352" Y="0.2485352" />
<PointFrame FrameIndex="30" Tween="False" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="33" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="35" X="0.2483978" Y="0.2483978" />
<PointFrame FrameIndex="48" X="0.2483826" Y="0.2483826" />
<PointFrame FrameIndex="51" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="115142903" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="-0.2491608" Y="-0.2491608" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="0" Y="0" />
<PointFrame FrameIndex="16" X="-17.27354" Y="-17.27354" />
<PointFrame FrameIndex="18" X="-19.53067" Y="-19.53067" />
<PointFrame FrameIndex="20" X="0" Y="0" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="-11.47696" Y="-11.47696" />
<PointFrame FrameIndex="27" Tween="False" X="-7.287659" Y="-7.287659" />
<PointFrame FrameIndex="29" Tween="False" X="-3.254883" Y="-3.254883" />
<PointFrame FrameIndex="30" Tween="False" X="-1.262238" Y="-1.262238" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="0" Y="0" />
<PointFrame FrameIndex="33" X="-6.000763" Y="-6.000763" />
<PointFrame FrameIndex="35" X="-17.27354" Y="-17.27354" />
<PointFrame FrameIndex="48" X="-19.53067" Y="-19.53067" />
<PointFrame FrameIndex="51" X="0" Y="0" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="115142906" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="115142906" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="6" X="0.5013514" Y="0.5064516" />
<PointFrame FrameIndex="13" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="14" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="15" X="0.5" Y="0.5096774" />
<PointFrame FrameIndex="16" X="0.4986486" Y="0.5080645" />
<PointFrame FrameIndex="18" X="0.4972973" Y="0.5048387" />
<PointFrame FrameIndex="20" X="0.5" Y="0.5096774" />
<PointFrame FrameIndex="21" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="22" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="23" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="24" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="25" X="0.5" Y="0.5032258" />
<PointFrame FrameIndex="27" X="0.5" Y="0.5016129" />
<PointFrame FrameIndex="29" X="0.4932432" Y="0.5112903" />
<PointFrame FrameIndex="30" X="0.4986486" Y="0.4983871" />
<PointFrame FrameIndex="31" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="32" X="0.5" Y="0.5096774" />
<PointFrame FrameIndex="33" X="0.4972973" Y="0.5096774" />
<PointFrame FrameIndex="35" X="0.4986486" Y="0.5080645" />
<PointFrame FrameIndex="48" X="0.4972973" Y="0.5048387" />
<PointFrame FrameIndex="51" X="0.5" Y="0.5096774" />
<PointFrame FrameIndex="52" X="0.5" Y="0.5064516" />
<PointFrame FrameIndex="54" X="0.5" Y="0.5064516" />
</Timeline>
<Timeline ActionTag="115142905" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="-11" Y="34.15" />
<PointFrame FrameIndex="6" X="-11.25" Y="33.2" />
<PointFrame FrameIndex="13" Tween="False" X="-11" Y="34.15" />
<PointFrame FrameIndex="14" X="-11" Y="34.15" />
<PointFrame FrameIndex="15" X="-10.7" Y="33.05" />
<PointFrame FrameIndex="16" X="-11" Y="38.15" />
<PointFrame FrameIndex="18" X="-11.55" Y="38.5" />
<PointFrame FrameIndex="20" X="-10.7" Y="33.05" />
<PointFrame FrameIndex="21" X="-11" Y="34.75" />
<PointFrame FrameIndex="22" Tween="False" X="-11" Y="34.15" />
<PointFrame FrameIndex="23" X="-11" Y="34.15" />
<PointFrame FrameIndex="24" X="-11" Y="34.15" />
<PointFrame FrameIndex="25" Tween="False" X="-12.8" Y="34.8" />
<PointFrame FrameIndex="27" Tween="False" X="-12.35" Y="34.8" />
<PointFrame FrameIndex="29" Tween="False" X="-12" Y="35.05" />
<PointFrame FrameIndex="30" Tween="False" X="-11.75" Y="35" />
<PointFrame FrameIndex="31" X="-11" Y="34.15" />
<PointFrame FrameIndex="32" X="-10.7" Y="33.05" />
<PointFrame FrameIndex="33" X="-11.5" Y="38.9" />
<PointFrame FrameIndex="35" X="-11" Y="38.15" />
<PointFrame FrameIndex="48" X="-11.55" Y="38.5" />
<PointFrame FrameIndex="51" X="-10.7" Y="33.05" />
<PointFrame FrameIndex="52" X="-11" Y="34.75" />
<PointFrame FrameIndex="54" Tween="False" X="-11" Y="34.15" />
</Timeline>
<Timeline ActionTag="115142905" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="16" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="18" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="20" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="27" Tween="False" X="0.2484436" Y="0.2484436" />
<PointFrame FrameIndex="29" Tween="False" X="0.2483978" Y="0.2483978" />
<PointFrame FrameIndex="30" Tween="False" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="33" X="0.2484894" Y="0.2484894" />
<PointFrame FrameIndex="35" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="48" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="51" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="115142905" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="4.502777" Y="4.502777" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="-7.502594" Y="-7.502594" />
<PointFrame FrameIndex="16" X="-1.001801" Y="-1.001801" />
<PointFrame FrameIndex="18" X="13.01396" Y="13.01396" />
<PointFrame FrameIndex="20" X="-7.502594" Y="-7.502594" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="8.294296" Y="8.294296" />
<PointFrame FrameIndex="27" Tween="False" X="1.530472" Y="1.530472" />
<PointFrame FrameIndex="29" Tween="False" X="-5.021988" Y="-5.021988" />
<PointFrame FrameIndex="30" Tween="False" X="-8.39357" Y="-8.39357" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="-7.502594" Y="-7.502594" />
<PointFrame FrameIndex="33" X="10.50813" Y="10.50813" />
<PointFrame FrameIndex="35" X="-1.001801" Y="-1.001801" />
<PointFrame FrameIndex="48" X="13.01396" Y="13.01396" />
<PointFrame FrameIndex="51" X="-7.502594" Y="-7.502594" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537379" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537379" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="6" X="0.4963415" Y="0.5081081" />
<PointFrame FrameIndex="13" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="14" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="15" X="0.495122" Y="0.5067568" />
<PointFrame FrameIndex="16" X="0.504878" Y="0.5054054" />
<PointFrame FrameIndex="18" X="0.5036585" Y="0.5067568" />
<PointFrame FrameIndex="20" X="0.495122" Y="0.5067568" />
<PointFrame FrameIndex="21" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="22" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="23" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="24" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="25" X="0.5012195" Y="0.5121621" />
<PointFrame FrameIndex="27" X="0.4939024" Y="0.5135135" />
<PointFrame FrameIndex="29" X="0.5012195" Y="0.5027027" />
<PointFrame FrameIndex="30" X="0.5036585" Y="0.5027027" />
<PointFrame FrameIndex="31" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="32" X="0.495122" Y="0.5067568" />
<PointFrame FrameIndex="33" X="0.4987805" Y="0.5013514" />
<PointFrame FrameIndex="35" X="0.504878" Y="0.5054054" />
<PointFrame FrameIndex="48" X="0.5036585" Y="0.5067568" />
<PointFrame FrameIndex="51" X="0.495122" Y="0.5067568" />
<PointFrame FrameIndex="52" X="0.5012195" Y="0.5054054" />
<PointFrame FrameIndex="54" X="0.5012195" Y="0.5054054" />
</Timeline>
<Timeline ActionTag="115142907" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="15.3" Y="34.15" />
<PointFrame FrameIndex="6" X="15.15" Y="32.85" />
<PointFrame FrameIndex="13" Tween="False" X="15.3" Y="34.15" />
<PointFrame FrameIndex="14" X="15.3" Y="34.15" />
<PointFrame FrameIndex="15" X="15.05" Y="32.8" />
<PointFrame FrameIndex="16" X="14.6" Y="47.65" />
<PointFrame FrameIndex="18" X="14.2" Y="48.95" />
<PointFrame FrameIndex="20" X="15.05" Y="32.8" />
<PointFrame FrameIndex="21" X="15.3" Y="34.7" />
<PointFrame FrameIndex="22" Tween="False" X="15.3" Y="34.15" />
<PointFrame FrameIndex="23" X="15.3" Y="34.15" />
<PointFrame FrameIndex="24" X="15.3" Y="34.15" />
<PointFrame FrameIndex="25" Tween="False" X="12.8" Y="33.7" />
<PointFrame FrameIndex="27" Tween="False" X="13.35" Y="33.65" />
<PointFrame FrameIndex="29" Tween="False" X="13.95" Y="33.65" />
<PointFrame FrameIndex="30" Tween="False" X="14.35" Y="33.65" />
<PointFrame FrameIndex="31" X="15.3" Y="34.15" />
<PointFrame FrameIndex="32" X="15.05" Y="32.8" />
<PointFrame FrameIndex="33" X="15.85" Y="46.25" />
<PointFrame FrameIndex="35" X="14.6" Y="47.65" />
<PointFrame FrameIndex="48" X="14.2" Y="48.95" />
<PointFrame FrameIndex="51" X="15.05" Y="32.8" />
<PointFrame FrameIndex="52" X="15.3" Y="34.7" />
<PointFrame FrameIndex="54" Tween="False" X="15.3" Y="34.15" />
</Timeline>
<Timeline ActionTag="115142907" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="16" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="18" X="0.2485046" Y="0.2485046" />
<PointFrame FrameIndex="20" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2484589" Y="0.2484589" />
<PointFrame FrameIndex="27" Tween="False" X="0.2484131" Y="0.2484131" />
<PointFrame FrameIndex="29" Tween="False" X="0.2484131" Y="0.2484131" />
<PointFrame FrameIndex="30" Tween="False" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="33" X="0.2483826" Y="0.2483826" />
<PointFrame FrameIndex="35" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="48" X="0.2485046" Y="0.2485046" />
<PointFrame FrameIndex="51" X="0.2485809" Y="0.2485809" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="115142907" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="2.001251" Y="2.001251" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="3.751343" Y="3.751343" />
<PointFrame FrameIndex="16" X="-92.75095" Y="-92.75095" />
<PointFrame FrameIndex="18" X="-99.25748" Y="-99.25748" />
<PointFrame FrameIndex="20" X="3.751343" Y="3.751343" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="-9.769409" Y="-9.769409" />
<PointFrame FrameIndex="27" Tween="False" X="-3.521469" Y="-3.521469" />
<PointFrame FrameIndex="29" Tween="False" X="2.531097" Y="2.531097" />
<PointFrame FrameIndex="30" Tween="False" X="5.702286" Y="5.702286" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="3.751343" Y="3.751343" />
<PointFrame FrameIndex="33" X="-69.97156" Y="-69.97156" />
<PointFrame FrameIndex="35" X="-92.75095" Y="-92.75095" />
<PointFrame FrameIndex="48" X="-99.25748" Y="-99.25748" />
<PointFrame FrameIndex="51" X="3.751343" Y="3.751343" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537377" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537377" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="6" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="13" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="14" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="15" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="16" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="18" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="20" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="21" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="22" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="23" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="24" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="25" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="27" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="29" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="30" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="31" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="32" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="33" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="35" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="48" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="51" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="52" X="0.5011111" Y="0.4988889" />
<PointFrame FrameIndex="54" X="0.5011111" Y="0.4988889" />
</Timeline>
<Timeline ActionTag="-725537378" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="6" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="13" Tween="False" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="14" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="15" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="16" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="18" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="20" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="21" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="22" Tween="False" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="23" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="24" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="25" Tween="False" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="27" Tween="False" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="29" Tween="False" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="30" Tween="False" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="31" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="32" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="33" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="35" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="48" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="51" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="52" X="-11.9" Y="7.75" />
<PointFrame FrameIndex="54" Tween="False" X="-11.9" Y="7.75" />
</Timeline>
<Timeline ActionTag="-725537378" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="16" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="18" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="20" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="27" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="29" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="30" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="33" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="35" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="48" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="51" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537378" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="0" Y="0" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="0" Y="0" />
<PointFrame FrameIndex="16" X="0" Y="0" />
<PointFrame FrameIndex="18" X="0" Y="0" />
<PointFrame FrameIndex="20" X="0" Y="0" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="27" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="29" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="30" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="0" Y="0" />
<PointFrame FrameIndex="33" X="0" Y="0" />
<PointFrame FrameIndex="35" X="0" Y="0" />
<PointFrame FrameIndex="48" X="0" Y="0" />
<PointFrame FrameIndex="51" X="0" Y="0" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537375" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537375" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="6" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="13" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="14" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="15" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="16" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="18" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="20" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="21" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="22" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="23" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="24" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="25" X="0.5039474" Y="0.5052083" />
<PointFrame FrameIndex="27" X="0.5026316" Y="0.5052083" />
<PointFrame FrameIndex="29" X="0.5026316" Y="0.5052083" />
<PointFrame FrameIndex="30" X="0.5039474" Y="0.5052083" />
<PointFrame FrameIndex="31" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="32" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="33" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="35" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="48" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="51" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="52" X="0.5026316" Y="0.50625" />
<PointFrame FrameIndex="54" X="0.5026316" Y="0.50625" />
</Timeline>
<Timeline ActionTag="-725537376" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="13.85" Y="5.85" />
<PointFrame FrameIndex="6" X="13.85" Y="5.85" />
<PointFrame FrameIndex="13" Tween="False" X="13.85" Y="5.85" />
<PointFrame FrameIndex="14" X="13.85" Y="5.85" />
<PointFrame FrameIndex="15" X="13.75" Y="5.8" />
<PointFrame FrameIndex="16" X="13.75" Y="5.8" />
<PointFrame FrameIndex="18" X="13.75" Y="5.8" />
<PointFrame FrameIndex="20" X="13.75" Y="5.8" />
<PointFrame FrameIndex="21" X="13.75" Y="5.8" />
<PointFrame FrameIndex="22" Tween="False" X="13.75" Y="5.8" />
<PointFrame FrameIndex="23" X="13.75" Y="5.8" />
<PointFrame FrameIndex="24" X="13.75" Y="5.8" />
<PointFrame FrameIndex="25" Tween="False" X="13.85" Y="6.05" />
<PointFrame FrameIndex="27" Tween="False" X="13.85" Y="6" />
<PointFrame FrameIndex="29" Tween="False" X="13.9" Y="6.05" />
<PointFrame FrameIndex="30" Tween="False" X="13.85" Y="6.05" />
<PointFrame FrameIndex="31" X="13.85" Y="5.85" />
<PointFrame FrameIndex="32" X="13.75" Y="5.8" />
<PointFrame FrameIndex="33" X="13.75" Y="5.8" />
<PointFrame FrameIndex="35" X="13.75" Y="5.8" />
<PointFrame FrameIndex="48" X="13.75" Y="5.8" />
<PointFrame FrameIndex="51" X="13.75" Y="5.8" />
<PointFrame FrameIndex="52" X="13.75" Y="5.8" />
<PointFrame FrameIndex="54" Tween="False" X="13.75" Y="5.8" />
</Timeline>
<Timeline ActionTag="-725537376" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="16" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="18" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="20" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2485352" Y="0.2485352" />
<PointFrame FrameIndex="27" Tween="False" X="0.2484741" Y="0.2484741" />
<PointFrame FrameIndex="29" Tween="False" X="0.2484589" Y="0.2484589" />
<PointFrame FrameIndex="30" Tween="False" X="0.2485352" Y="0.2485352" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="33" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="35" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="48" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="51" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537376" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="0" Y="0" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="0" Y="0" />
<PointFrame FrameIndex="16" X="0" Y="0" />
<PointFrame FrameIndex="18" X="0" Y="0" />
<PointFrame FrameIndex="20" X="0" Y="0" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="4.263763" Y="4.263763" />
<PointFrame FrameIndex="27" Tween="False" X="4.254196" Y="4.254196" />
<PointFrame FrameIndex="29" Tween="False" X="4.254196" Y="4.254196" />
<PointFrame FrameIndex="30" Tween="False" X="4.263763" Y="4.263763" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="0" Y="0" />
<PointFrame FrameIndex="33" X="0" Y="0" />
<PointFrame FrameIndex="35" X="0" Y="0" />
<PointFrame FrameIndex="48" X="0" Y="0" />
<PointFrame FrameIndex="51" X="0" Y="0" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537373" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537373" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="6" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="13" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="14" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="15" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="16" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="18" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="20" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="21" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="22" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="23" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="24" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="25" X="0.5" Y="0.4981481" />
<PointFrame FrameIndex="27" X="0.5" Y="0.4986111" />
<PointFrame FrameIndex="29" X="0.5" Y="0.4981481" />
<PointFrame FrameIndex="30" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="31" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="32" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="33" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="35" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="48" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="51" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="52" X="0.5003496" Y="0.4990741" />
<PointFrame FrameIndex="54" X="0.5003496" Y="0.4990741" />
</Timeline>
<Timeline ActionTag="-725537374" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="1" Y="16.25" />
<PointFrame FrameIndex="6" X="1" Y="15.85" />
<PointFrame FrameIndex="13" X="1" Y="16.25" />
<PointFrame FrameIndex="14" X="1" Y="16.25" />
<PointFrame FrameIndex="15" X="1" Y="15.6" />
<PointFrame FrameIndex="16" X="1" Y="18.45" />
<PointFrame FrameIndex="18" X="1" Y="18.45" />
<PointFrame FrameIndex="20" X="1" Y="15.6" />
<PointFrame FrameIndex="21" X="1" Y="16.7" />
<PointFrame FrameIndex="22" Tween="False" X="1" Y="16.25" />
<PointFrame FrameIndex="23" X="1" Y="16.25" />
<PointFrame FrameIndex="24" X="1" Y="16.25" />
<PointFrame FrameIndex="25" Tween="False" X="0.35" Y="16.75" />
<PointFrame FrameIndex="27" Tween="False" X="0.55" Y="16.75" />
<PointFrame FrameIndex="29" Tween="False" X="0.8" Y="16.75" />
<PointFrame FrameIndex="30" Tween="False" X="1" Y="16.75" />
<PointFrame FrameIndex="31" X="1" Y="16.25" />
<PointFrame FrameIndex="32" X="1" Y="15.6" />
<PointFrame FrameIndex="33" X="1" Y="18.75" />
<PointFrame FrameIndex="35" X="1" Y="18.45" />
<PointFrame FrameIndex="48" X="1" Y="18.45" />
<PointFrame FrameIndex="51" X="1" Y="15.6" />
<PointFrame FrameIndex="52" X="1" Y="16.7" />
<PointFrame FrameIndex="54" Tween="False" X="1" Y="16.25" />
</Timeline>
<Timeline ActionTag="-725537374" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="13" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="16" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="18" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="20" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="27" Tween="False" X="0.2486267" Y="0.2486267" />
<PointFrame FrameIndex="29" Tween="False" X="0.2486267" Y="0.2486267" />
<PointFrame FrameIndex="30" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="33" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="35" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="48" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="51" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537374" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="0" Y="0" />
<PointFrame FrameIndex="13" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="0" Y="0" />
<PointFrame FrameIndex="16" X="0" Y="0" />
<PointFrame FrameIndex="18" X="0" Y="0" />
<PointFrame FrameIndex="20" X="0" Y="0" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="-3.22525" Y="-3.22525" />
<PointFrame FrameIndex="27" Tween="False" X="-1.79689" Y="-1.79689" />
<PointFrame FrameIndex="29" Tween="False" X="-0.5236664" Y="-0.5236664" />
<PointFrame FrameIndex="30" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="0" Y="0" />
<PointFrame FrameIndex="33" X="0" Y="0" />
<PointFrame FrameIndex="35" X="0" Y="0" />
<PointFrame FrameIndex="48" X="0" Y="0" />
<PointFrame FrameIndex="51" X="0" Y="0" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537371" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537371" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="6" X="0.5052631" Y="0.498125" />
<PointFrame FrameIndex="13" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="14" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="15" X="0.5013158" Y="0.4975" />
<PointFrame FrameIndex="16" X="0.5026316" Y="0.499375" />
<PointFrame FrameIndex="18" X="0.5026316" Y="0.499375" />
<PointFrame FrameIndex="20" X="0.5013158" Y="0.4975" />
<PointFrame FrameIndex="21" X="0.5039474" Y="0.500625" />
<PointFrame FrameIndex="22" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="23" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="24" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="25" X="0.5026316" Y="0.49875" />
<PointFrame FrameIndex="27" X="0.5065789" Y="0.500625" />
<PointFrame FrameIndex="29" X="0.5013158" Y="0.5" />
<PointFrame FrameIndex="30" X="0.5052631" Y="0.496875" />
<PointFrame FrameIndex="31" X="0.5026316" Y="0.5" />
<PointFrame FrameIndex="32" X="0.5013158" Y="0.4975" />
<PointFrame FrameIndex="33" X="0.5052631" Y="0.501875" />
<PointFrame FrameIndex="35" X="0.5026316" Y="0.499375" />
<PointFrame FrameIndex="48" X="0.5026316" Y="0.499375" />
<PointFrame FrameIndex="51" X="0.5013158" Y="0.4975" />
<PointFrame FrameIndex="52" X="0.5039474" Y="0.500625" />
<PointFrame FrameIndex="54" X="0.5026316" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537372" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="6" X="-17.4" Y="22.7" />
<PointFrame FrameIndex="13" Tween="False" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="14" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="15" X="-13.85" Y="21.35" />
<PointFrame FrameIndex="16" X="-21.9" Y="30.15" />
<PointFrame FrameIndex="18" X="-22.05" Y="31.5" />
<PointFrame FrameIndex="20" X="-13.85" Y="21.35" />
<PointFrame FrameIndex="21" X="-16.15" Y="23.6" />
<PointFrame FrameIndex="22" Tween="False" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="23" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="24" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="25" Tween="False" X="-19.75" Y="25.1" />
<PointFrame FrameIndex="27" Tween="False" X="-18.1" Y="24.45" />
<PointFrame FrameIndex="29" Tween="False" X="-16.45" Y="24.05" />
<PointFrame FrameIndex="30" Tween="False" X="-15.65" Y="23.65" />
<PointFrame FrameIndex="31" X="-15.75" Y="23.15" />
<PointFrame FrameIndex="32" X="-13.85" Y="21.35" />
<PointFrame FrameIndex="33" X="-21.3" Y="31.2" />
<PointFrame FrameIndex="35" X="-21.9" Y="30.15" />
<PointFrame FrameIndex="48" X="-22.05" Y="31.5" />
<PointFrame FrameIndex="51" X="-13.85" Y="21.35" />
<PointFrame FrameIndex="52" X="-16.15" Y="23.6" />
<PointFrame FrameIndex="54" Tween="False" X="-15.75" Y="23.15" />
</Timeline>
<Timeline ActionTag="-725537372" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2485199" Y="0.2485199" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.2485199" Y="0.2485199" />
<PointFrame FrameIndex="16" X="0.2482605" Y="0.2482605" />
<PointFrame FrameIndex="18" X="0.2482452" Y="0.2482452" />
<PointFrame FrameIndex="20" X="0.2485199" Y="0.2485199" />
<PointFrame FrameIndex="21" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2484131" Y="0.2484131" />
<PointFrame FrameIndex="27" Tween="False" X="0.248291" Y="0.248291" />
<PointFrame FrameIndex="29" Tween="False" X="0.2483368" Y="0.2483368" />
<PointFrame FrameIndex="30" Tween="False" X="0.2484131" Y="0.2484131" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.2485199" Y="0.2485199" />
<PointFrame FrameIndex="33" X="0.2482605" Y="0.2482605" />
<PointFrame FrameIndex="35" X="0.2482605" Y="0.2482605" />
<PointFrame FrameIndex="48" X="0.2482452" Y="0.2482452" />
<PointFrame FrameIndex="51" X="0.2485199" Y="0.2485199" />
<PointFrame FrameIndex="52" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537372" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="9.006927" Y="9.006927" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="-8.754303" Y="-8.754303" />
<PointFrame FrameIndex="16" X="38.09514" Y="38.09514" />
<PointFrame FrameIndex="18" X="38.09731" Y="38.09731" />
<PointFrame FrameIndex="20" X="-8.754303" Y="-8.754303" />
<PointFrame FrameIndex="21" X="2.001251" Y="2.001251" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="15.04134" Y="15.04134" />
<PointFrame FrameIndex="27" Tween="False" X="8.282303" Y="8.282303" />
<PointFrame FrameIndex="29" Tween="False" X="1.53833" Y="1.53833" />
<PointFrame FrameIndex="30" Tween="False" X="-1.646667" Y="-1.646667" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="-8.754303" Y="-8.754303" />
<PointFrame FrameIndex="33" X="33.07339" Y="33.07339" />
<PointFrame FrameIndex="35" X="38.09514" Y="38.09514" />
<PointFrame FrameIndex="48" X="38.09731" Y="38.09731" />
<PointFrame FrameIndex="51" X="-8.754303" Y="-8.754303" />
<PointFrame FrameIndex="52" X="2.001251" Y="2.001251" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537348" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537348" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="6" X="0.5" Y="0.498" />
<PointFrame FrameIndex="13" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="14" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="15" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="16" X="0.5" Y="0.4993333" />
<PointFrame FrameIndex="18" X="0.5" Y="0.4993333" />
<PointFrame FrameIndex="20" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="21" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="22" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="23" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="24" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="25" X="0.5014018" Y="0.4973333" />
<PointFrame FrameIndex="27" X="0.5" Y="0.4973333" />
<PointFrame FrameIndex="29" X="0.5004673" Y="0.4973333" />
<PointFrame FrameIndex="30" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="31" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="32" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="33" X="0.4990654" Y="0.4973333" />
<PointFrame FrameIndex="35" X="0.5" Y="0.4993333" />
<PointFrame FrameIndex="48" X="0.5" Y="0.4993333" />
<PointFrame FrameIndex="51" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="52" X="0.5" Y="0.4986667" />
<PointFrame FrameIndex="54" X="0.5" Y="0.4986667" />
</Timeline>
<Timeline ActionTag="-725537370" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="1.2" Y="33.55" />
<PointFrame FrameIndex="6" X="1.2" Y="32.1" />
<PointFrame FrameIndex="13" Tween="False" X="1.2" Y="33.55" />
<PointFrame FrameIndex="14" X="1.2" Y="33.55" />
<PointFrame FrameIndex="15" X="1.2" Y="32.35" />
<PointFrame FrameIndex="16" X="1.2" Y="37.3" />
<PointFrame FrameIndex="18" X="1.2" Y="37.3" />
<PointFrame FrameIndex="20" X="1.2" Y="32.35" />
<PointFrame FrameIndex="21" X="1.2" Y="34" />
<PointFrame FrameIndex="22" Tween="False" X="1.2" Y="33.55" />
<PointFrame FrameIndex="23" X="1.2" Y="33.55" />
<PointFrame FrameIndex="24" X="1.2" Y="33.55" />
<PointFrame FrameIndex="25" Tween="False" X="-0.4" Y="33.8" />
<PointFrame FrameIndex="27" Tween="False" X="0.25" Y="33.8" />
<PointFrame FrameIndex="29" Tween="False" X="0.9" Y="33.8" />
<PointFrame FrameIndex="30" Tween="False" X="1.2" Y="33.8" />
<PointFrame FrameIndex="31" X="1.2" Y="33.55" />
<PointFrame FrameIndex="32" X="1.2" Y="32.35" />
<PointFrame FrameIndex="33" X="1.2" Y="37.7" />
<PointFrame FrameIndex="35" X="1.2" Y="37.3" />
<PointFrame FrameIndex="48" X="1.2" Y="37.3" />
<PointFrame FrameIndex="51" X="1.2" Y="32.35" />
<PointFrame FrameIndex="52" X="1.2" Y="34" />
<PointFrame FrameIndex="54" Tween="False" X="1.2" Y="33.55" />
</Timeline>
<Timeline ActionTag="-725537370" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.248642" Y="0.2416534" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="16" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="18" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="20" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="27" Tween="False" X="0.2486267" Y="0.2486267" />
<PointFrame FrameIndex="29" Tween="False" X="0.2486267" Y="0.2486267" />
<PointFrame FrameIndex="30" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="33" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="35" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="48" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="51" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537370" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="0" Y="0" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="0" Y="0" />
<PointFrame FrameIndex="16" X="-6.000763" Y="-6.000763" />
<PointFrame FrameIndex="18" X="-6.000763" Y="-6.000763" />
<PointFrame FrameIndex="20" X="0" Y="0" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="-3.22525" Y="-3.22525" />
<PointFrame FrameIndex="27" Tween="False" X="-1.79689" Y="-1.79689" />
<PointFrame FrameIndex="29" Tween="False" X="-0.5236664" Y="-0.5236664" />
<PointFrame FrameIndex="30" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="0" Y="0" />
<PointFrame FrameIndex="33" X="-6.503555" Y="-6.503555" />
<PointFrame FrameIndex="35" X="-6.000763" Y="-6.000763" />
<PointFrame FrameIndex="48" X="-6.000763" Y="-6.000763" />
<PointFrame FrameIndex="51" X="0" Y="0" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537346" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537346" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="6" X="0.4981865" Y="0.5" />
<PointFrame FrameIndex="13" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="14" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="15" X="0.4989637" Y="0.5" />
<PointFrame FrameIndex="16" X="0.4992228" Y="0.4990625" />
<PointFrame FrameIndex="18" X="0.4994819" Y="0.500625" />
<PointFrame FrameIndex="20" X="0.4989637" Y="0.5" />
<PointFrame FrameIndex="21" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="22" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="23" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="24" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="25" X="0.4984456" Y="0.4996875" />
<PointFrame FrameIndex="27" X="0.4987047" Y="0.5009375" />
<PointFrame FrameIndex="29" X="0.4994819" Y="0.4996875" />
<PointFrame FrameIndex="30" X="0.4987047" Y="0.5003125" />
<PointFrame FrameIndex="31" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="32" X="0.4989637" Y="0.5" />
<PointFrame FrameIndex="33" X="0.4992228" Y="0.499375" />
<PointFrame FrameIndex="35" X="0.4992228" Y="0.4990625" />
<PointFrame FrameIndex="48" X="0.4994819" Y="0.500625" />
<PointFrame FrameIndex="51" X="0.4989637" Y="0.5" />
<PointFrame FrameIndex="52" X="0.4989637" Y="0.4996875" />
<PointFrame FrameIndex="54" X="0.4989637" Y="0.4996875" />
</Timeline>
<Timeline ActionTag="-725537347" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="0.8" Y="62" />
<PointFrame FrameIndex="6" X="0.65" Y="60.4" />
<PointFrame FrameIndex="13" Tween="False" X="0.8" Y="62" />
<PointFrame FrameIndex="14" X="0.8" Y="62" />
<PointFrame FrameIndex="15" X="0.8" Y="60.8" />
<PointFrame FrameIndex="16" X="-4.7" Y="64.2" />
<PointFrame FrameIndex="18" X="-5.5" Y="65.2" />
<PointFrame FrameIndex="20" X="0.8" Y="60.8" />
<PointFrame FrameIndex="21" X="0.8" Y="62.65" />
<PointFrame FrameIndex="22" Tween="False" X="0.8" Y="62" />
<PointFrame FrameIndex="23" X="0.8" Y="62" />
<PointFrame FrameIndex="24" X="0.8" Y="62" />
<PointFrame FrameIndex="25" Tween="False" X="-3.35" Y="61.65" />
<PointFrame FrameIndex="27" Tween="False" X="-1.2" Y="61.05" />
<PointFrame FrameIndex="29" Tween="False" X="0.85" Y="60.35" />
<PointFrame FrameIndex="30" Tween="False" X="1.85" Y="59.9" />
<PointFrame FrameIndex="31" X="0.8" Y="62" />
<PointFrame FrameIndex="32" X="0.8" Y="60.8" />
<PointFrame FrameIndex="33" X="-1.15" Y="66.85" />
<PointFrame FrameIndex="35" X="-4.7" Y="64.2" />
<PointFrame FrameIndex="48" X="-5.5" Y="65.2" />
<PointFrame FrameIndex="51" X="0.8" Y="60.8" />
<PointFrame FrameIndex="52" X="0.8" Y="62.65" />
<PointFrame FrameIndex="54" Tween="False" X="0.8" Y="62" />
</Timeline>
<Timeline ActionTag="-725537347" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2486267" Y="0.2486267" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="16" X="0.2483978" Y="0.2483978" />
<PointFrame FrameIndex="18" X="0.2483826" Y="0.2483826" />
<PointFrame FrameIndex="20" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="27" Tween="False" X="0.2485046" Y="0.2485046" />
<PointFrame FrameIndex="29" Tween="False" X="0.2485352" Y="0.2485352" />
<PointFrame FrameIndex="30" Tween="False" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="33" X="0.2485504" Y="0.2485504" />
<PointFrame FrameIndex="35" X="0.2483978" Y="0.2483978" />
<PointFrame FrameIndex="48" X="0.2483826" Y="0.2483826" />
<PointFrame FrameIndex="51" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537347" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="-0.2491608" Y="-0.2491608" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="0" Y="0" />
<PointFrame FrameIndex="16" X="-17.27354" Y="-17.27354" />
<PointFrame FrameIndex="18" X="-19.53067" Y="-19.53067" />
<PointFrame FrameIndex="20" X="0" Y="0" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="-11.47696" Y="-11.47696" />
<PointFrame FrameIndex="27" Tween="False" X="-7.287659" Y="-7.287659" />
<PointFrame FrameIndex="29" Tween="False" X="-3.254883" Y="-3.254883" />
<PointFrame FrameIndex="30" Tween="False" X="-1.262238" Y="-1.262238" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="0" Y="0" />
<PointFrame FrameIndex="33" X="-6.000763" Y="-6.000763" />
<PointFrame FrameIndex="35" X="-17.27354" Y="-17.27354" />
<PointFrame FrameIndex="48" X="-19.53067" Y="-19.53067" />
<PointFrame FrameIndex="51" X="0" Y="0" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537344" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="True" />
</Timeline>
<Timeline ActionTag="-725537344" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="0" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="6" X="0.4988889" Y="0.4999035" />
<PointFrame FrameIndex="13" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="14" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="15" X="0.5002778" Y="0.5000965" />
<PointFrame FrameIndex="16" X="0.4988889" Y="0.4999035" />
<PointFrame FrameIndex="18" X="0.4986111" Y="0.4999035" />
<PointFrame FrameIndex="20" X="0.5005556" Y="0.5000965" />
<PointFrame FrameIndex="21" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="22" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="23" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="24" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="25" X="0.4991667" Y="0.5000965" />
<PointFrame FrameIndex="27" X="0.5002778" Y="0.5" />
<PointFrame FrameIndex="29" X="0.4994445" Y="0.4998069" />
<PointFrame FrameIndex="30" X="0.4986111" Y="0.5" />
<PointFrame FrameIndex="31" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="32" X="0.5002778" Y="0.5000965" />
<PointFrame FrameIndex="33" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="35" X="0.4997222" Y="0.4998069" />
<PointFrame FrameIndex="48" X="0.5" Y="0.4998069" />
<PointFrame FrameIndex="51" X="0.5005556" Y="0.5000965" />
<PointFrame FrameIndex="52" X="0.4994445" Y="0.5" />
<PointFrame FrameIndex="54" X="0.4994445" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537345" FrameType="PositionFrame">
<PointFrame FrameIndex="0" X="36.6" Y="56.95" />
<PointFrame FrameIndex="6" X="37.2" Y="55.3" />
<PointFrame FrameIndex="13" Tween="False" X="36.6" Y="56.95" />
<PointFrame FrameIndex="14" X="36.6" Y="56.95" />
<PointFrame FrameIndex="15" X="38.05" Y="55" />
<PointFrame FrameIndex="16" X="32.35" Y="81.3" />
<PointFrame FrameIndex="18" X="32.35" Y="82.4" />
<PointFrame FrameIndex="20" X="38.05" Y="55.1" />
<PointFrame FrameIndex="21" X="36.6" Y="57.45" />
<PointFrame FrameIndex="22" Tween="False" X="36.6" Y="56.95" />
<PointFrame FrameIndex="23" X="36.6" Y="56.95" />
<PointFrame FrameIndex="24" X="36.6" Y="56.95" />
<PointFrame FrameIndex="25" Tween="False" X="36.85" Y="54.75" />
<PointFrame FrameIndex="27" Tween="False" X="36.1" Y="55.05" />
<PointFrame FrameIndex="29" Tween="False" X="35.3" Y="55.35" />
<PointFrame FrameIndex="30" Tween="False" X="35.1" Y="55.6" />
<PointFrame FrameIndex="31" X="36.6" Y="56.95" />
<PointFrame FrameIndex="32" X="38.05" Y="55" />
<PointFrame FrameIndex="33" X="34.55" Y="75.05" />
<PointFrame FrameIndex="35" X="34.65" Y="77.75" />
<PointFrame FrameIndex="48" X="34.6" Y="80.35" />
<PointFrame FrameIndex="51" X="38.05" Y="55.1" />
<PointFrame FrameIndex="52" X="36.6" Y="57.45" />
<PointFrame FrameIndex="54" Tween="False" X="36.6" Y="56.95" />
</Timeline>
<Timeline ActionTag="-725537345" FrameType="ScaleFrame">
<PointFrame FrameIndex="0" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="6" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="13" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="14" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="15" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="16" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="18" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="20" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="21" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="22" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="23" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="24" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="25" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="27" Tween="False" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="29" Tween="False" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="30" Tween="False" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="31" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="32" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="33" X="0.2485657" Y="0.2485657" />
<PointFrame FrameIndex="35" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="48" X="0.2486115" Y="0.2486115" />
<PointFrame FrameIndex="51" X="0.2485962" Y="0.2485962" />
<PointFrame FrameIndex="52" X="0.248642" Y="0.248642" />
<PointFrame FrameIndex="54" Tween="False" X="0.248642" Y="0.248642" />
</Timeline>
<Timeline ActionTag="-725537345" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="0" X="0" Y="0" />
<PointFrame FrameIndex="6" X="1.75061" Y="1.75061" />
<PointFrame FrameIndex="13" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="14" X="0" Y="0" />
<PointFrame FrameIndex="15" X="3.251389" Y="3.251389" />
<PointFrame FrameIndex="16" X="-6.717499" Y="-6.717499" />
<PointFrame FrameIndex="18" X="-6.717499" Y="-6.717499" />
<PointFrame FrameIndex="20" X="3.251389" Y="3.251389" />
<PointFrame FrameIndex="21" X="0" Y="0" />
<PointFrame FrameIndex="22" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="23" X="0" Y="0" />
<PointFrame FrameIndex="24" X="0" Y="0" />
<PointFrame FrameIndex="25" Tween="False" X="2.803268" Y="2.803268" />
<PointFrame FrameIndex="27" Tween="False" X="2.022202" Y="2.022202" />
<PointFrame FrameIndex="29" Tween="False" X="1.279709" Y="1.279709" />
<PointFrame FrameIndex="30" Tween="False" X="1.036758" Y="1.036758" />
<PointFrame FrameIndex="31" X="0" Y="0" />
<PointFrame FrameIndex="32" X="3.251389" Y="3.251389" />
<PointFrame FrameIndex="33" X="-5.25441" Y="-5.25441" />
<PointFrame FrameIndex="35" X="-2.001251" Y="-2.001251" />
<PointFrame FrameIndex="48" X="-2.001251" Y="-2.001251" />
<PointFrame FrameIndex="51" X="3.251389" Y="3.251389" />
<PointFrame FrameIndex="52" X="0" Y="0" />
<PointFrame FrameIndex="54" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537342" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="32" Value="True" />
<BoolFrame FrameIndex="33" Value="False" />
</Timeline>
<Timeline ActionTag="-725537342" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="32" X="0.5" Y="0.4998333" />
</Timeline>
<Timeline ActionTag="-725537341" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="33" Value="True" />
<BoolFrame FrameIndex="34" Value="False" />
</Timeline>
<Timeline ActionTag="-725537341" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="33" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537340" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="34" Value="True" />
<BoolFrame FrameIndex="35" Value="False" />
</Timeline>
<Timeline ActionTag="-725537340" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="34" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537339" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="35" Value="True" />
<BoolFrame FrameIndex="36" Value="False" />
</Timeline>
<Timeline ActionTag="-725537339" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="35" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537317" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="36" Value="True" />
<BoolFrame FrameIndex="37" Value="False" />
</Timeline>
<Timeline ActionTag="-725537317" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="36" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537316" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="37" Value="True" />
<BoolFrame FrameIndex="38" Value="False" />
</Timeline>
<Timeline ActionTag="-725537316" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="37" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537315" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="38" Value="True" />
<BoolFrame FrameIndex="39" Value="False" />
</Timeline>
<Timeline ActionTag="-725537315" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="38" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537314" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="39" Value="True" />
<BoolFrame FrameIndex="40" Value="False" />
</Timeline>
<Timeline ActionTag="-725537314" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="39" X="0.5" Y="0.4998333" />
</Timeline>
<Timeline ActionTag="-725537313" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="40" Value="True" />
<BoolFrame FrameIndex="41" Value="False" />
</Timeline>
<Timeline ActionTag="-725537313" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="40" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537312" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="41" Value="True" />
<BoolFrame FrameIndex="42" Value="False" />
</Timeline>
<Timeline ActionTag="-725537312" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="41" X="0.5001667" Y="0.4998333" />
</Timeline>
<Timeline ActionTag="-725537311" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="42" Value="True" />
<BoolFrame FrameIndex="43" Value="False" />
</Timeline>
<Timeline ActionTag="-725537311" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="42" X="0.5" Y="0.4998333" />
</Timeline>
<Timeline ActionTag="-725537310" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="43" Value="True" />
<BoolFrame FrameIndex="44" Value="False" />
</Timeline>
<Timeline ActionTag="-725537310" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="43" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537309" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="44" Value="True" />
<BoolFrame FrameIndex="45" Value="False" />
</Timeline>
<Timeline ActionTag="-725537309" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="44" X="0.5" Y="0.4998333" />
</Timeline>
<Timeline ActionTag="-725537343" FrameType="PositionFrame">
<PointFrame FrameIndex="32" Tween="False" X="39.8" Y="91.05" />
<PointFrame FrameIndex="33" Tween="False" X="28.95" Y="111.85" />
<PointFrame FrameIndex="34" Tween="False" X="28.95" Y="115" />
<PointFrame FrameIndex="35" Tween="False" X="28.95" Y="115" />
<PointFrame FrameIndex="36" Tween="False" X="28.95" Y="115" />
<PointFrame FrameIndex="37" Tween="False" X="28.95" Y="115" />
<PointFrame FrameIndex="38" Tween="False" X="28.95" Y="115" />
<PointFrame FrameIndex="39" Tween="False" X="31.15" Y="110.55" />
<PointFrame FrameIndex="40" Tween="False" X="35.45" Y="98.65" />
<PointFrame FrameIndex="41" Tween="False" X="32.2" Y="99.75" />
<PointFrame FrameIndex="42" Tween="False" X="33.3" Y="99.75" />
<PointFrame FrameIndex="43" Tween="False" X="35.45" Y="92.15" />
<PointFrame FrameIndex="44" Tween="False" X="36.55" Y="93.25" />
</Timeline>
<Timeline ActionTag="-725537343" FrameType="ScaleFrame">
<PointFrame FrameIndex="32" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="33" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="34" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="35" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="36" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="37" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="38" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="39" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="40" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="41" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="42" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="43" Tween="False" X="0.4529572" Y="0.4529572" />
<PointFrame FrameIndex="44" Tween="False" X="0.4529572" Y="0.4529572" />
</Timeline>
<Timeline ActionTag="-725537343" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="32" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="33" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="34" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="35" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="36" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="37" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="38" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="39" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="40" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="41" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="42" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="43" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="44" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537286" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="39" Value="True" />
</Timeline>
<Timeline ActionTag="-725537286" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="39" X="0.5" Y="0.5" />
<PointFrame FrameIndex="41" X="0.5" Y="0.5" />
<PointFrame FrameIndex="54" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537308" FrameType="PositionFrame">
<PointFrame FrameIndex="39" X="36.55" Y="144.7" />
<PointFrame FrameIndex="41" X="65.55" Y="147.6" />
<PointFrame FrameIndex="54" X="73.55" Y="165.4" />
</Timeline>
<Timeline ActionTag="-725537308" FrameType="ScaleFrame">
<PointFrame FrameIndex="39" X="1" Y="1" />
<PointFrame FrameIndex="41" X="0.8051605" Y="0.8051605" />
<PointFrame FrameIndex="54" X="0.8051605" Y="0.8051605" />
</Timeline>
<Timeline ActionTag="-725537308" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="39" X="0" Y="0" />
<PointFrame FrameIndex="41" X="0" Y="0" />
<PointFrame FrameIndex="54" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537284" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="40" Value="True" />
</Timeline>
<Timeline ActionTag="-725537284" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="40" X="0.5" Y="0.5" />
<PointFrame FrameIndex="42" X="0.5" Y="0.5" />
<PointFrame FrameIndex="54" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537285" FrameType="PositionFrame">
<PointFrame FrameIndex="40" X="31.65" Y="123.4" />
<PointFrame FrameIndex="42" X="41.4" Y="132.75" />
<PointFrame FrameIndex="54" X="50.3" Y="151.25" />
</Timeline>
<Timeline ActionTag="-725537285" FrameType="ScaleFrame">
<PointFrame FrameIndex="40" X="0.161026" Y="0.161026" />
<PointFrame FrameIndex="42" X="0.8051605" Y="0.8051605" />
<PointFrame FrameIndex="54" X="0.8051605" Y="0.8051605" />
</Timeline>
<Timeline ActionTag="-725537285" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="40" X="0" Y="0" />
<PointFrame FrameIndex="42" X="0" Y="0" />
<PointFrame FrameIndex="54" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537282" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="41" Value="True" />
</Timeline>
<Timeline ActionTag="-725537282" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="41" X="0.5" Y="0.5" />
<PointFrame FrameIndex="43" X="0.5" Y="0.5" />
<PointFrame FrameIndex="54" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537283" FrameType="PositionFrame">
<PointFrame FrameIndex="41" X="26.8" Y="121.8" />
<PointFrame FrameIndex="43" X="17.25" Y="124.7" />
<PointFrame FrameIndex="54" X="25.3" Y="142.3" />
</Timeline>
<Timeline ActionTag="-725537283" FrameType="ScaleFrame">
<PointFrame FrameIndex="41" X="0.161026" Y="0.161026" />
<PointFrame FrameIndex="43" X="0.8051605" Y="0.8051605" />
<PointFrame FrameIndex="54" X="0.8051605" Y="0.8051605" />
</Timeline>
<Timeline ActionTag="-725537283" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="41" X="0" Y="0" />
<PointFrame FrameIndex="43" X="0" Y="0" />
<PointFrame FrameIndex="54" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537280" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="31" Value="True" />
<BoolFrame FrameIndex="32" Value="False" />
</Timeline>
<Timeline ActionTag="-725537280" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="31" X="0.5" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537279" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="32" Value="True" />
<BoolFrame FrameIndex="33" Value="False" />
</Timeline>
<Timeline ActionTag="-725537279" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="32" X="0.49975" Y="0.50025" />
</Timeline>
<Timeline ActionTag="-725537278" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="33" Value="True" />
<BoolFrame FrameIndex="34" Value="False" />
</Timeline>
<Timeline ActionTag="-725537278" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="33" X="0.49975" Y="0.50025" />
</Timeline>
<Timeline ActionTag="-725537281" FrameType="PositionFrame">
<PointFrame FrameIndex="31" Tween="False" X="31.7" Y="116.95" />
<PointFrame FrameIndex="32" Tween="False" X="31.7" Y="116.95" />
<PointFrame FrameIndex="33" Tween="False" X="31.7" Y="116.95" />
</Timeline>
<Timeline ActionTag="-725537281" FrameType="ScaleFrame">
<PointFrame FrameIndex="31" Tween="False" X="0.7138214" Y="0.7138214" />
<PointFrame FrameIndex="32" Tween="False" X="0.8030548" Y="0.8030548" />
<PointFrame FrameIndex="33" Tween="False" X="0.8030548" Y="0.8030548" />
</Timeline>
<Timeline ActionTag="-725537281" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="31" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="32" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="33" Tween="False" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537255" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="34" Value="True" />
<BoolFrame FrameIndex="39" Value="False" />
</Timeline>
<Timeline ActionTag="-725537255" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="34" X="0.49975" Y="0.5" />
<PointFrame FrameIndex="38" X="0.5005" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537277" FrameType="PositionFrame">
<PointFrame FrameIndex="34" X="31.7" Y="116.95" />
<PointFrame FrameIndex="38" Tween="False" X="31.7" Y="116.95" />
</Timeline>
<Timeline ActionTag="-725537277" FrameType="ScaleFrame">
<PointFrame FrameIndex="34" X="0.8051605" Y="0.8051605" />
<PointFrame FrameIndex="38" Tween="False" X="0.08395386" Y="0.08395386" />
</Timeline>
<Timeline ActionTag="-725537277" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="34" X="0" Y="0" />
<PointFrame FrameIndex="38" Tween="False" X="90.03059" Y="90.03059" />
</Timeline>
<Timeline ActionTag="-725537253" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="39" Value="True" />
<BoolFrame FrameIndex="50" Value="False" />
</Timeline>
<Timeline ActionTag="-725537253" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="39" X="0.5" Y="0.5002778" />
<PointFrame FrameIndex="42" X="0.5" Y="0.5008333" />
<PointFrame FrameIndex="48" X="0.5" Y="0.4994445" />
</Timeline>
<Timeline ActionTag="-725537254" FrameType="PositionFrame">
<PointFrame FrameIndex="39" X="31.7" Y="116.95" />
<PointFrame FrameIndex="42" X="31.7" Y="116.95" />
<PointFrame FrameIndex="48" X="31.7" Y="116.95" />
</Timeline>
<Timeline ActionTag="-725537254" FrameType="ScaleFrame">
<PointFrame FrameIndex="39" X="0.8030548" Y="0.8030548" />
<PointFrame FrameIndex="42" X="0.7246246" Y="0.2147827" />
<PointFrame FrameIndex="48" X="1.57048" Y="0.1242981" />
</Timeline>
<Timeline ActionTag="-725537254" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="39" X="0" Y="0" />
<PointFrame FrameIndex="42" X="0" Y="0" />
<PointFrame FrameIndex="48" X="0" Y="0" />
</Timeline>
<Timeline ActionTag="-725537251" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="39" Value="True" />
<BoolFrame FrameIndex="40" Value="False" />
</Timeline>
<Timeline ActionTag="-725537251" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="39" X="0.50025" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537250" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="40" Value="True" />
<BoolFrame FrameIndex="41" Value="False" />
</Timeline>
<Timeline ActionTag="-725537250" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="40" X="0.50025" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537249" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="41" Value="True" />
<BoolFrame FrameIndex="42" Value="False" />
</Timeline>
<Timeline ActionTag="-725537249" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="41" X="0.50025" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537248" FrameType="VisibleFrame">
<BoolFrame FrameIndex="0" Value="False" />
<BoolFrame FrameIndex="42" Value="True" />
<BoolFrame FrameIndex="43" Value="False" />
</Timeline>
<Timeline ActionTag="-725537248" FrameType="AnchorPointFrame">
<PointFrame FrameIndex="42" X="0.50025" Y="0.5" />
</Timeline>
<Timeline ActionTag="-725537252" FrameType="PositionFrame">
<PointFrame FrameIndex="39" Tween="False" X="33.75" Y="107.05" />
<PointFrame FrameIndex="40" Tween="False" X="33.75" Y="107.05" />
<PointFrame FrameIndex="41" Tween="False" X="33.75" Y="107.05" />
<PointFrame FrameIndex="42" Tween="False" X="33.75" Y="107.05" />
</Timeline>
<Timeline ActionTag="-725537252" FrameType="ScaleFrame">
<PointFrame FrameIndex="39" Tween="False" X="0.6922607" Y="0.6922607" />
<PointFrame FrameIndex="40" Tween="False" X="0.6922607" Y="0.6922607" />
<PointFrame FrameIndex="41" Tween="False" X="0.6922607" Y="0.6922607" />
<PointFrame FrameIndex="42" Tween="False" X="0.6922607" Y="0.6922607" />
</Timeline>
<Timeline ActionTag="-725537252" FrameType="RotationSkewFrame">
<PointFrame FrameIndex="39" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="40" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="41" Tween="False" X="0" Y="0" />
<PointFrame FrameIndex="42" Tween="False" X="0" Y="0" />
</Timeline>
</Animation>
<ObjectData Name="cat_queen" CanEdit="False" Visible="False" FrameEvent="">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="3_00002.png" ActionTag="115142899" FrameEvent="player5_end" ctype="SingleNodeObjectData">
<Position X="31.8" Y="139.85" />
<Scale ScaleX="0.5405884" ScaleY="0.5405884" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="115142900" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5003125" ScaleY="0.499375" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="160" Y="160" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/10_00018.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_tail" ActionTag="115142901" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="-21.35" Y="15.2" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="115142902" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5004065" ScaleY="0.4986301" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="123" Y="73" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_tail.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_hat" ActionTag="115142903" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="0.4" Y="79.2" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="115142904" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.4996154" ScaleY="0.4997525" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="390" Y="404" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_hat.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_arm_left" ActionTag="115142905" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="-11" Y="34.15" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="115142906" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5064516" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="37" Y="31" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_arm_left.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_arm_right" ActionTag="115142907" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="15.3" Y="34.15" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537379" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5012195" ScaleY="0.5054054" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="41" Y="37" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_arm_right.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_foot_left" ActionTag="-725537378" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="-11.9" Y="7.75" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537377" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5011111" ScaleY="0.4988889" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="45" Y="45" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_foot_left.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_foot_right" ActionTag="-725537376" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="13.75" Y="5.8" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537375" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5026316" ScaleY="0.50625" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="38" Y="48" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_foot_right.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_skirt" ActionTag="-725537374" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="1" Y="16.25" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537373" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5003496" ScaleY="0.4990741" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="143" Y="108" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_skirt.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_hand_left" ActionTag="-725537372" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="-15.75" Y="23.15" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537371" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5026316" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="38" Y="80" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_hand_left.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_body" ActionTag="-725537370" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="1.2" Y="33.55" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537348" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.4986667" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="107" Y="75" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_body.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_head" ActionTag="-725537347" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="0.8" Y="62" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537346" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.4989637" ScaleY="0.4996875" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="193" Y="160" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_head.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_hand_right" ActionTag="-725537345" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="36.6" Y="56.95" />
<Scale ScaleX="0.248642" ScaleY="0.248642" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537344" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.4994445" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="180" Y="518" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_hand_right.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="monster4_effect" ActionTag="-725537343" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="36.55" Y="93.25" />
<Scale ScaleX="0.4529572" ScaleY="0.4529572" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537342" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.4998333" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00006.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537341" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00007.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537340" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00008.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537339" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00009.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537317" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00010.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537316" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00012.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537315" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00013.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537314" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.4998333" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00017.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537313" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00018.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537312" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5001667" ScaleY="0.4998333" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00022.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537311" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.4998333" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00023.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537310" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00027.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537309" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.4998333" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="300" Y="300" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/monster4_0_0000_00028.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="0_00010.png" ActionTag="-725537308" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="73.55" Y="165.4" />
<Scale ScaleX="0.8051605" ScaleY="0.8051605" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537286" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="60" Y="60" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/0_00010.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="1_00010.png" ActionTag="-725537285" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="50.3" Y="151.25" />
<Scale ScaleX="0.8051605" ScaleY="0.8051605" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537284" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="60" Y="60" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/1_00010.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="2_00010.png" ActionTag="-725537283" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="25.3" Y="142.3" />
<Scale ScaleX="0.8051605" ScaleY="0.8051605" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537282" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="60" Y="60" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/2_00010.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="3_00000.png" ActionTag="-725537281" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="31.7" Y="116.95" />
<Scale ScaleX="0.8030548" ScaleY="0.8030548" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537280" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/3_00000.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537279" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.49975" ScaleY="0.50025" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/3_00001.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537278" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.49975" ScaleY="0.50025" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/3_00002.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="3_00000.png" ActionTag="-725537277" Rotation="90.03059" RotationSkewX="90.03059" RotationSkewY="90.03059" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="31.7" Y="116.95" />
<Scale ScaleX="0.08395386" ScaleY="0.08395386" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537255" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5005" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/3_00003.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="3_00001.png" ActionTag="-725537254" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="31.7" Y="116.95" />
<Scale ScaleX="1.57048" ScaleY="0.1242981" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537253" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.4994445" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="260" Y="180" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/4_00009.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="5_00008.png" ActionTag="-725537252" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="33.75" Y="107.05" />
<Scale ScaleX="0.6922607" ScaleY="0.6922607" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<Children>
<NodeObjectData Name="SpriteObject" ActionTag="-725537251" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.50025" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/5_00008.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537250" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.50025" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/5_00010.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537249" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.50025" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/5_00012.png" />
</NodeObjectData>
<NodeObjectData Name="SpriteObject" ActionTag="-725537248" VisibleForFrame="False" FrameEvent="" ctype="SpriteObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.50025" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="200" Y="200" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
<FileData Type="Normal" Path="cat_queen_png/5_00014.png" />
</NodeObjectData>
</Children>
</NodeObjectData>
<NodeObjectData Name="lable" ActionTag="-725537247" FrameEvent="" ctype="SingleNodeObjectData">
<Position X="0" Y="0" />
<Scale ScaleX="1" ScaleY="1" />
<AnchorPoint ScaleX="0.5" ScaleY="0.5" />
<CColor A="255" R="255" G="255" B="255" />
<Size X="0" Y="0" />
<PrePosition X="0" Y="0" />
<PreSize X="0" Y="0" />
</NodeObjectData>
</Children>
</ObjectData>
</Content>
</Content>
</GameProjectFile> | Csound | 4 | chukong/CocosStudioSamples | DemoMicroCardGame/CocosStudioResources/cocosstudio/cat_queen.csd | [
"MIT"
] |
package com.baeldung.retrofit.basic;
import java.util.List;
import com.baeldung.retrofit.models.Contributor;
import com.baeldung.retrofit.models.Repository;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
public interface GitHubBasicApi {
/**
* List GitHub repositories of user
* @param user GitHub Account
* @return GitHub repositories
*/
@GET("users/{user}/repos")
Call<List<Repository>> listRepos(@Path("user") String user);
/**
* List Contributors of a GitHub Repository
* @param user GitHub Account
* @param repo GitHub Repository
* @return GitHub Repository Contributors
*/
@GET("repos/{user}/{repo}/contributors")
Call<List<Contributor>> listRepoContributors(@Path("user") String user, @Path("repo") String repo);
}
| Java | 5 | zeesh49/tutorials | libraries/src/main/java/com/baeldung/retrofit/basic/GitHubBasicApi.java | [
"MIT"
] |
62*1+v>01p001>+v>\:02p\:02gv
0 ^ <
. :p
" .1
v 0," "<0
" >1g12-+:|
, @
>^
# playfield cells can't store values over 255 as I designed it | Befunge | 0 | GingerIndustries/Fibonacci | Imperfect Languages/fib.befunge | [
"Unlicense"
] |
addpath('./functions')
a = 0:25;
f = fibonacci(a);
fig = figure;
plot(a,f, '-bs', 'Linewidth',1,'Markersize',5)
title('Fibonacci Graph')
saveas(fig,'fig1','jpg')
fig = figure;
plot(a,log(f), '-bs', 'Linewidth',1,'Markersize',5)
title('Logarithmic Fibonacci Graph')
saveas(fig,'logfig1','jpg')
% ### Exercise 1.5.3
f_20 = [fibonacci(0:18); fibonacci(1:19)]; % Create a matrix (2 by 20) with the first 20 fibonacci no.
C = num2cell(f_20, 1); % Convert each column into a Cell
ratio = cellfun(@(c) c(2)/c(1), C); % apply a function on each cell (i.e. column)...
fig = figure;
plot(1:19, ratio, '-bs', 'Linewidth',1,'Markersize',5);
hold on;
plot([0,20], [1.6180,1.6180],'r');
title('Fibonacci Ratio Graph');
saveas(fig, 'ratio','jpg');
| Matlab | 4 | IsmailM/Sysmic | Module1/1/assignment.matlab | [
"MIT"
] |
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Simple test for a cutom mutator.
#include <assert.h>
#include <cstdint>
#include <cstdlib>
#include <cstddef>
#include <iostream>
#include "FuzzerInterface.h"
static volatile int Sink;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
assert(Data);
if (Size > 0 && Data[0] == 'H') {
Sink = 1;
if (Size > 1 && Data[1] == 'i') {
Sink = 2;
if (Size > 2 && Data[2] == '!') {
std::cout << "BINGO; Found the target, exiting\n";
exit(1);
}
}
}
return 0;
}
extern "C" size_t LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size,
size_t MaxSize, unsigned int Seed) {
static bool Printed;
if (!Printed) {
std::cerr << "In LLVMFuzzerCustomMutator\n";
Printed = true;
}
return LLVMFuzzerMutate(Data, Size, MaxSize);
}
| C++ | 3 | sdmg15/json | test/thirdparty/Fuzzer/test/CustomMutatorTest.cpp | [
"MIT"
] |
-- -------------------------------- The script use tcc fence --------------------------------
CREATE TABLE IF NOT EXISTS `tcc_fence_log`
(
`xid` VARCHAR(128) NOT NULL COMMENT 'global id',
`branch_id` BIGINT NOT NULL COMMENT 'branch id',
`action_name` VARCHAR(64) NOT NULL COMMENT 'action name',
`status` TINYINT NOT NULL COMMENT 'status(tried:1;committed:2;rollbacked:3;suspended:4)',
`gmt_create` DATETIME(3) NOT NULL COMMENT 'create time',
`gmt_modified` DATETIME(3) NOT NULL COMMENT 'update time',
PRIMARY KEY (`xid`, `branch_id`),
KEY `idx_gmt_modified` (`gmt_modified`),
KEY `idx_status` (`status`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8; | SQL | 4 | YechenGu/seata | script/client/tcc/db/mysql.sql | [
"Apache-2.0"
] |
This module implements `tf.experimental.numpy` APIs, which provide NumPy APIs
implemented on top of TensorFlow.
Please see [TensorFlow NumPy API
Documentation](https://www.tensorflow.org/api_docs/python/tf/experimental/numpy).
| Markdown | 1 | yage99/tensorflow | tensorflow/python/ops/numpy_ops/README.md | [
"Apache-2.0"
] |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "precomp.h"
#include "_output.h"
#include "../interactivity/inc/ServiceLocator.hpp"
#pragma hdrstop
using namespace Microsoft::Console::Types;
using Microsoft::Console::Interactivity::ServiceLocator;
void WriteConvRegionToScreen(const SCREEN_INFORMATION& ScreenInfo,
const Viewport& convRegion)
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
if (!ScreenInfo.IsActiveScreenBuffer())
{
return;
}
const auto pIme = &gci.ConsoleIme;
for (unsigned int i = 0; i < pIme->ConvAreaCompStr.size(); ++i)
{
const auto& ConvAreaInfo = pIme->ConvAreaCompStr[i];
if (!ConvAreaInfo.IsHidden())
{
const auto currentViewport = ScreenInfo.GetViewport().ToInclusive();
const auto areaInfo = ConvAreaInfo.GetAreaBufferInfo();
// Do clipping region
til::inclusive_rect Region;
Region.Left = currentViewport.Left + areaInfo.rcViewCaWindow.Left + areaInfo.coordConView.X;
Region.Right = Region.Left + (areaInfo.rcViewCaWindow.Right - areaInfo.rcViewCaWindow.Left);
Region.Top = currentViewport.Top + areaInfo.rcViewCaWindow.Top + areaInfo.coordConView.Y;
Region.Bottom = Region.Top + (areaInfo.rcViewCaWindow.Bottom - areaInfo.rcViewCaWindow.Top);
Region.Left = std::max(Region.Left, currentViewport.Left);
Region.Top = std::max(Region.Top, currentViewport.Top);
Region.Right = std::min(Region.Right, currentViewport.Right);
Region.Bottom = std::min(Region.Bottom, currentViewport.Bottom);
if (Region)
{
Region.Left = std::max(Region.Left, convRegion.Left());
Region.Top = std::max(Region.Top, convRegion.Top());
Region.Right = std::min(Region.Right, convRegion.RightInclusive());
Region.Bottom = std::min(Region.Bottom, convRegion.BottomInclusive());
if (Region)
{
// if we have a renderer, we need to update.
// we've already confirmed (above with an early return) that we're on conversion areas that are a part of the active (visible/rendered) screen
// so send invalidates to those regions such that we're queried for data on the next frame and repainted.
if (ServiceLocator::LocateGlobals().pRender != nullptr)
{
ServiceLocator::LocateGlobals().pRender->TriggerRedraw(Viewport::FromInclusive(Region));
}
}
}
}
}
}
[[nodiscard]] HRESULT ConsoleImeResizeCompStrView()
{
try
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
const auto pIme = &gci.ConsoleIme;
pIme->RedrawCompMessage();
}
CATCH_RETURN();
return S_OK;
}
[[nodiscard]] HRESULT ConsoleImeResizeCompStrScreenBuffer(const til::size coordNewScreenSize)
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
const auto pIme = &gci.ConsoleIme;
return pIme->ResizeAllAreas(coordNewScreenSize);
}
[[nodiscard]] HRESULT ImeStartComposition()
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
gci.LockConsole();
auto unlock = wil::scope_exit([&] { gci.UnlockConsole(); });
// MSFT:29219348 Some IME implementations do not produce composition strings, and
// their users have come to rely on the cursor that conhost traditionally left on
// until a composition string showed up.
// One such IME is WNWB's "Universal Wubi input method" from wnwb.com (v. 10+).
// We shouldn't hide the cursor here so as to not break those IMEs.
gci.pInputBuffer->fInComposition = true;
return S_OK;
}
[[nodiscard]] HRESULT ImeEndComposition()
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
gci.LockConsole();
auto unlock = wil::scope_exit([&] { gci.UnlockConsole(); });
const auto pIme = &gci.ConsoleIme;
pIme->RestoreCursorVisibility();
gci.pInputBuffer->fInComposition = false;
return S_OK;
}
[[nodiscard]] HRESULT ImeComposeData(std::wstring_view text,
gsl::span<const BYTE> attributes,
gsl::span<const WORD> colorArray)
{
try
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
gci.LockConsole();
auto unlock = wil::scope_exit([&] { gci.UnlockConsole(); });
const auto pIme = &gci.ConsoleIme;
pIme->WriteCompMessage(text, attributes, colorArray);
}
CATCH_RETURN();
return S_OK;
}
[[nodiscard]] HRESULT ImeClearComposeData()
{
try
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
gci.LockConsole();
auto unlock = wil::scope_exit([&] { gci.UnlockConsole(); });
const auto pIme = &gci.ConsoleIme;
pIme->ClearAllAreas();
}
CATCH_RETURN();
return S_OK;
}
[[nodiscard]] HRESULT ImeComposeResult(std::wstring_view text)
{
try
{
auto& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
gci.LockConsole();
auto unlock = wil::scope_exit([&] { gci.UnlockConsole(); });
const auto pIme = &gci.ConsoleIme;
pIme->WriteResultMessage(text);
}
CATCH_RETURN();
return S_OK;
}
| C++ | 5 | sonvt1710/terminal | src/host/convarea.cpp | [
"MIT"
] |
<!DOCTYPE html>
<head>
<meta charset=UTF-8/>
<title>Redis实例状态监控报警</title>
</head>
<body>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>
<table style="width:100%; font-size:12px;" width="100%" cellpadding="0" cellspacing="0">
<colgroup>
<col style="width: 5px;">
</colgroup>
<tr>
<td></td>
<td style="padding-top:20px; padding-left:27px;">
<ul>
<li><span style="font-weight: bold; padding-top:20px; color:#3f3f3f;">Redis实例状态监控报警:</span></li>
</ul>
<table style="table-layout:fixed;width: 872px;border-collapse: collapse;word-break: break-all;word-wrap:break-word;border-top: 1px dotted #676767;text-align: center;color: #000; font-family:'宋体'; font-size:12px; margin-top:10px; margin-left: 24px">
<tr>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
应用id
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
应用名
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
负责人
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
ip
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
port
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 140px;">
状态
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 140px;">
说明
</td>
</tr>
<#list instanceAlertValueResultList as item>
<tr>
<#assign appid=item.appId?c>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
<a href='${ccDomain}/admin/app/index?appId=${appid}'>${appid}</a>
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
${item.appDesc.name!}
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
${item.appDesc.officer!}
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
${item.instanceInfo.ip!}
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 50px;">
${item.instanceInfo.port!}
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 140px;">
${item.instanceInfo.status!}
</td>
<td style="border-right: 1px dotted #676767; border-bottom: 1px dotted #676767; height:33px; width: 140px;">
${item.otherInfo!}
</td>
</tr>
</#list>
</table>
</td>
</tr>
</table>
</p>
</body>
</html> | FreeMarker | 3 | JokerQueue/cachecloud | cachecloud-web/src/main/resources/templates/instanceState.ftl | [
"Apache-2.0"
] |
#include "caffe2/operators/perplexity_op.h"
namespace caffe2 {
template <>
bool PerplexityOp<float, CPUContext>::RunOnDevice() {
auto& X = Input(0);
DCHECK_EQ(X.dim(), 1);
int N = X.dim32(0);
auto* Y = Output(0, vector<int64_t>(), at::dtype<float>());
const auto* Xdata = X.data<float>();
float perplexity = 1.0;
for (int i = 0; i < N; ++i) {
perplexity *= pow(Xdata[i], -1.0/N);
}
*(Y->template mutable_data<float>()) = perplexity;
return true;
}
REGISTER_CPU_OPERATOR(Perplexity, PerplexityOp<float, CPUContext>);
OPERATOR_SCHEMA(Perplexity).NumInputs(1).NumOutputs(1)
.SetDoc(R"DOC(
Perplexity calculates how well a probability distribution predicts a sample.
Perplexity takes a 1-D tensor containing a batch of probabilities. Each value
in the tensor belongs to a different sample and represents the probability of
the model predicting the true label for that sample. The operator returns a
single (float) perplexity value for the batch.
)DOC")
.Input(0, "probabilities", "The input data as Tensor. It contains a batch of"
"true label or target probabilities")
.Output(0, "output", "The output- a single (float) perplexity value for the "
"batch");
SHOULD_NOT_DO_GRADIENT(Perplexity);
} // namespace caffe2
| C++ | 4 | Hacky-DH/pytorch | caffe2/operators/perplexity_op.cc | [
"Intel"
] |
iframe(src="//" + fullUnsafeContentHostname + "/web-dev-iframe.html?chinaUx=" + Boolean(features.chinaUx))
| Jade | 0 | cihatislamdede/codecombat | app/templates/play/level/web-surface-view.jade | [
"CC-BY-4.0",
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "Hashtable Splatting Parameter Binding Tests" -Tags "CI" {
BeforeAll {
function SimpleTest {
param(
[Alias('Key')]
$Name,
$Path
)
"Key: $Name; Path: $Path; Args: $args"
}
}
Context "Basic Hashtable Splatting" {
It "works on cmdlet" {
$hash = @{ Verb = "Get"; OutVariable = "zoo" }
Get-Verb @hash > $null
$zoo | Should -BeOfType System.Management.Automation.VerbInfo
$zoo.Verb | Should -BeExactly 'Get'
}
It "works on simple function" {
$hash = @{ Name = "Hello"; Blah = "World" }
SimpleTest @hash | Should -BeExactly 'Key: Hello; Path: ; Args: -Blah: World'
$hash = @{ Name = "Hello"; Path = "World" }
SimpleTest @hash | Should -BeExactly 'Key: Hello; Path: World; Args: '
$hash = @{ Name = "Hello" }
SimpleTest @hash -Path "Yeah" | Should -BeExactly 'Key: Hello; Path: Yeah; Args: '
SimpleTest -Path "Yeah" @hash | Should -BeExactly 'Key: Hello; Path: Yeah; Args: '
$hash = @{ Key = "Hello" }
SimpleTest @hash | Should -BeExactly 'Key: Hello; Path: ; Args: '
}
It "works on ScriptBlock.GetPowerShell" {
$hash = @{ Verb = "Get"; OutVariable = "zoo" }
$ps = { param($hash) Get-Verb @hash; Get-Variable zoo }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Get'
} finally {
$ps.Dispose()
}
}
It "works on steppable pipeline" {
$hash = @{ Verb = "Get"; OutVariable = "zoo" }
$sp = { Get-Verb @hash }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Get'
$zoo | Should -BeOfType System.Management.Automation.VerbInfo
$zoo.Verb | Should -BeExactly 'Get'
$sp.End()
} finally {
$sp.Dispose()
}
}
}
Context "Explicitly specified named parameter supersedes the same one in Hashtable splatting" {
It "works with the same parameter name" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; OutVariable = "zoo" }
Get-Verb @hash -Verb "Send" > $null
$zoo | Should -BeOfType System.Management.Automation.VerbInfo
$zoo.Verb | Should -BeExactly "Send"
$zoo = $null
Get-Verb -Verb "Send" @hash > $null
$zoo | Should -BeOfType System.Management.Automation.VerbInfo
$zoo.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send"; Get-Variable zoo }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$zoo = $null
$sp = { Get-Verb @hash -Verb "Send" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeOfType System.Management.Automation.VerbInfo
$zoo.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ Name = "Hello"; Path = "World" }
SimpleTest @hash -Path "Yeah" | Should -BeExactly 'Key: Hello; Path: Yeah; Args: '
SimpleTest -Path "Yeah" @hash | Should -BeExactly 'Key: Hello; Path: Yeah; Args: '
$hash = @{ Name = "Hello"; Blah = "World" }
SimpleTest @hash -Name "Yeah" | Should -BeExactly 'Key: Yeah; Path: ; Args: -Blah: World'
}
It "works with the same alias name" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; ov = "zoo" }
Get-Verb @hash -Verb "Send" -ov "bar" > $null
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send" -ov "bar"; Get-Variable bar }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$bar = $null
$sp = { Get-Verb @hash -Verb "Send" -ov "bar" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ key = "Hello"; Path = "World" }
SimpleTest @hash -Key "Yeah" | Should -BeExactly 'Key: Yeah; Path: World; Args: '
}
It "works with parameter name and alias name mixed" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; OutVariable = "zoo" }
Get-Verb @hash -Verb "Send" -ov "bar" > $null
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send" -ov "bar"; Get-Variable bar }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$bar = $null
$sp = { Get-Verb @hash -Verb "Send" -ov "bar" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ Name = "Hello"; Path = "World" }
SimpleTest @hash -Key "Yeah" | Should -BeExactly 'Key: Yeah; Path: World; Args: '
}
It "works with unambiguous prefix and parameter name mixed - prefix explicitly specified" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; OutVariable = "zoo" }
Get-Verb @hash -Verb "Send" -outv "bar" > $null
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send" -outv "bar"; Get-Variable bar }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$bar = $null
$sp = { Get-Verb @hash -Verb "Send" -outv "bar" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ Name = "Hello"; Path = "World" }
SimpleTest @hash -n "Yeah" | Should -BeExactly 'Key: Yeah; Path: World; Args: '
}
It "works with unambiguous prefix and parameter name mixed - prefix in splatting hashtable" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; outv = "zoo" }
Get-Verb @hash -Verb "Send" -OutVariable "bar" > $null
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send" -OutVariable "bar"; Get-Variable bar }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$bar = $null
$sp = { Get-Verb @hash -Verb "Send" -OutVariable "bar" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ n = "Hello"; Path = "World" }
SimpleTest @hash -Name "Yeah" | Should -BeExactly 'Key: Yeah; Path: World; Args: '
}
It "works with unambiguous prefix and alias name mixed - prefix explicitly specified" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; ov = "zoo" }
Get-Verb @hash -Verb "Send" -outv "bar" > $null
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send" -outv "bar"; Get-Variable bar }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$bar = $null
$sp = { Get-Verb @hash -Verb "Send" -outv "bar" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ key = "Hello"; Path = "World" }
SimpleTest @hash -n "Yeah" | Should -BeExactly 'Key: Yeah; Path: World; Args: '
}
It "works with unambiguous prefix and alias name mixed - prefix in splatting hashtable" {
## Regular use with cmdlet
$hash = @{ Verb = "Get"; outv = "zoo" }
Get-Verb @hash -Verb "Send" -ov "bar" > $null
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly "Send"
## GetPowerShell
$ps = { param($hash) Get-Verb @hash -Verb "Send" -ov "bar"; Get-Variable bar }.GetPowerShell($hash)
try {
$result = $ps.Invoke()
$result[0] | Should -BeOfType System.Management.Automation.VerbInfo
$result[0].Verb | Should -BeExactly 'Send'
} finally {
$ps.Dispose()
}
## Steppable pipeline
$bar = $null
$sp = { Get-Verb @hash -Verb "Send" -ov "bar" }.GetSteppablePipeline()
try {
$sp.Begin($false)
$result = $sp.Process()
$result | Should -BeOfType System.Management.Automation.VerbInfo
$result.Verb | Should -BeExactly 'Send'
$zoo | Should -BeNullOrEmpty
$bar | Should -BeOfType System.Management.Automation.VerbInfo
$bar.Verb | Should -BeExactly 'Send'
$sp.End()
} finally {
$sp.Dispose()
}
## Regular use with simple function
$hash = @{ n = "Hello"; Path = "World" }
SimpleTest @hash -key "Yeah" | Should -BeExactly 'Key: Yeah; Path: World; Args: '
}
}
}
| PowerShell | 4 | rdtechie/PowerShell | test/powershell/engine/ParameterBinding/Splatting.Tests.ps1 | [
"MIT"
] |
' Module monkey.lang
'
' Placed into the public domain 24/02/2011.
' No warranty implied; use at your own risk.
#If LANG="cpp" Or LANG="java" Or LANG="cs" Or LANG="js" Or LANG="as"
Import "native/lang.${LANG}"
#Endif
Extern
Function Print( message$ )="$print"
Function Error( message$ )="$error"
Function DebugLog( message$ )="$debuglog"
Function DebugStop()="$debugstop"
Class @String Extends Null="String"
Method Length:Int() Property="$length"
Method Compare:Int( str:String )="$compare"
Method Find:Int( str:String,start:Int=0 )="$find"
Method FindLast:Int( str:String )="$findlast"
Method FindLast:Int( str:String,start:Int )="$findlast2"
Method Trim:String()="$trim"
Method Join:String( bits:String[] )="$join"
Method Split:String[]( sep:String )="$split"
Method Replace:String( substr:String,newstr:String )="$replace"
Method ToLower:String()="$tolower"
Method ToUpper:String()="$toupper"
Method Contains:Bool( subString:String )="$contains"
Method StartsWith:Bool( subString:String )="$startswith"
Method EndsWith:Bool( subString:String )="$endswith"
Method ToChars:Int[]()="$tochars"
Function FromChar:String( charCode:Int )="$fromchar"
Function FromChars:String( charCodes:Int[] )="$fromchars"
End
Class @Array Extends Null="Array"
Method Length:Int() Property="$length"
Method Resize:Int[]( newLength )="$resize"
End
Class @Object Extends Null="Object"
End
Class @Throwable="ThrowableObject"
End
| Monkey | 4 | Regal-Internet-Brothers/webcc-monkey | webcc.data/modules/monkey/lang.monkey | [
"Zlib"
] |
.kg-blockquote-alt {
font-size: 1.5em;
font-style: italic;
line-height: 1.7em;
text-align: center;
padding: 0 2.5em;
}
@media (max-width: 800px) {
.kg-blockquote-alt {
font-size: 1.4em;
padding-left: 2em;
padding-right: 2em;
}
}
@media (max-width: 600px) {
.kg-blockquote-alt {
font-size: 1.2em;
padding-left: 1.75em;
padding-right: 1.75em;
}
}
| CSS | 3 | ClashgamesFR/Ghost | core/frontend/src/cards/css/blockquote.css | [
"MIT"
] |
/area
parent_type = /atom
layer = 1.0
luminosity = 1 | DM | 0 | TheFakeElon/OpenDream | DMCompiler/DMStandard/Types/Atoms/Area.dm | [
"MIT"
] |
import "http://localhost:4545/type_directives_redirect.js";
| TypeScript | 0 | Preta-Crowz/deno | cli/tests/type_directives_redirect.ts | [
"MIT"
] |
(* ****** ****** *)
(*
** HX-2018-01:
** Hangman2:
** a word-guessing game
*)
(* ****** ****** *)
//
abst@ype state_t0ype
abst@ype input_t0ype
//
typedef state = state_t0ype
typedef input = input_t0ype
//
(* ****** ****** *)
datatype
status =
| STATUSsolved of ()
| STATUStimeup of ()
| STATUSasking of ()
(* ****** ****** *)
//
extern
fun
state_check
(&state): status
extern
fun
state_update
(&state >> _, input): int
extern
fun
state_initize
( state: &state? >> _
, ntime: int, word0: string): int
(* ****** ****** *)
//
extern
fun
GameLoop
(&state >> _, stream_vt(input)): int
and
GameLoop_solved
(&state >> _, stream_vt(input)): int
and
GameLoop_timeup
(&state >> _, stream_vt(input)): int
and
GameLoop_asking
(&state >> _, stream_vt(input)): int
//
(* ****** ****** *)
implement
GameLoop
(state, xs) = let
//
val
status = state_check(state)
//
in
case+ status of
| STATUSsolved() => GameLoop_solved(state, xs)
| STATUStimeup() => GameLoop_timeup(state, xs)
| STATUSasking() => GameLoop_asking(state, xs)
end // end of [GameLoop]
(* ****** ****** *)
#include
"share/atspre_staload.hats"
#include
"share/atspre_staload_libats_ML.hats"
(* ****** ****** *)
//
extern
fun
GameMain(): void
//
implement main0() = GameMain((*void*))
//
(* ****** ****** *)
//
extern
fun
stream_by_url_
(url: string): streamopt_vt(char)
extern
fun
streamize_channel00
((*channel00*)): stream_vt(string)
//
(* ****** ****** *)
local
#include
"$PATSHOMELOCS\
/atscntrb-libjson-c/mylibies.hats"
#include
"$PATSHOMELOCS\
/atscntrb-libjson-c/mylibies_link.hats"
#include
"$PATSHOMELOCS\
/atscntrb-hx-teaching-bucs/mylibies.hats"
#staload $JSON_ML
#staload
UN = "prelude/SATS/unsafe.sats"
#staload
STDLIB = "libats/libc/SATS/stdlib.sats"
#staload
UNISTD = "libats/libc/SATS/unistd.sats"
#define
Channel00Readall
"http://cs320.herokuapp.com/api/channel00/readall"
#define
Channel00Clearall
"http://cs320.herokuapp.com/api/channel00/clearall"
in (* in-of-local *)
implement
stream_by_url_(url) =
$BUCS520.streamopt_url_char<>(url)
implement
streamize_channel00
((*void*)) = let
//
fun
auxone
(n0: int):
List0_vt(string) = let
//
val opt =
stream_by_url_
(Channel00Readall)
//
val input =
(
case+ opt of
| ~None_vt() => ""
| ~Some_vt(input) =>
strptr2string
(
string_make_stream_vt
($UN.castvwtp0(input))
)
) : string // end of [val]
//
val-
JSONarray(jsvs) =
jsonval_ofstring(input)
//
in
//
auxone2(n0, jsvs, list_vt_nil)
//
end // end [auxone]
//
and
auxone2
(
n0: int
,
xs: jsonvalist
,
cs: List0_vt(string)
) : List0_vt(string) =
(
case+ xs of
| list_nil() => cs
| list_cons(x0, xs) => let
val-JSONstring(x0) = x0
val i0 = $STDLIB.atoi(x0)
in
if
i0 <= n0
then (cs)
else
auxone2(n0, xs, list_vt_cons(x0, cs))
end // end of [list_cons]
)
//
fun
auxjoin
(
n0: int
) :
stream_vt(string) =
$ldelay(auxjoin_con(n0))
//
and
auxjoin_con
(
n0: int
) :
stream_vt_con(string) =
let
val xs = auxone(n0)
in
//
case+ xs of
| ~list_vt_nil
() =>
auxjoin_con(n0) where
{
val _ = $UNISTD.sleep(1)
}
| ~list_vt_cons
(x0, xs) =>
stream_vt_cons(x0, auxjoin2(x0, xs))
//
end // end of [auxjoin_con]
//
and
auxjoin2
(
x0: string
,
xs: List0_vt(string)
) : stream_vt(string) = $ldelay
(
(
case+ xs of
| ~list_vt_nil
() => !
(auxjoin($STDLIB.atoi(x0)))
| ~list_vt_cons
(x1, xs) =>
stream_vt_cons(x1, auxjoin2(x1, xs))
), (list_vt_free(xs))
)
//
in
//
auxjoin(0) where
{
val
opt =
stream_by_url_(Channel00Clearall)
val
((*freed*)) =
(case+ opt of
| ~None_vt() => ()
| ~Some_vt(cs) => free(stream2list_vt(cs)))
} (* end of [where] *)
//
end // end of [streamize_channel00]
end // end of [local]
(* ****** ****** *)
fun
is_guessed
( c0: char
, guess: list0(char)
) : bool =
(guess).exists()(lam(c1) => c0=c1)
fun
word_display
( word0: string
, guess: list0(char)
) : void =
(
(word0).foreach()
(lam(c0) =>
print_char
(if is_guessed(c0, guess) then c0 else '_')
)
) (* end of [word_display] *)
(* ****** ****** *)
local
assume
state_t0ype = @{
ntime= int
,
word0= string
,
guess= list0(char)
}
assume input_t0ype = char
fun
is_contained
( c0: char
, word0: string
) : bool =
(word0).exists()(lam(c1) => c0=c1)
fun
is_solved
( w0: string
, guess: list0(char)
) : bool =
(w0).forall()
(lam(c0) => is_guessed(c0, guess))
in (* in-of-local *)
implement
state_check
(state) = let
//
val word0 = state.word0
val guess = state.guess
//
in
//
(
ifcase
| is_solved
(word0, guess) => STATUSsolved()
| state.ntime = 0 => STATUStimeup()
| _ (*otherwise*) => STATUSasking()
)
//
end // end of [state_check]
implement
state_update
(state, input) = let
//
val c0 = input
val nt = state.ntime
val w0 = state.word0
val cs = state.guess
//
in
//
ifcase
| is_guessed
(c0, cs) => (0)
| is_contained
(c0, w0) =>
(state.guess := list0_cons(c0, cs); 0)
| _ (* otherwise *) =>
(state.ntime := nt-1;
state.guess := list0_cons(c0, cs); 1)
//
end // end of [state_update]
implement
state_initize
( state
, ntime, word0) = (0) where
{
//
val () = (state.ntime := ntime)
val () = (state.word0 := word0)
val () = (state.guess := list0_nil())
//
} // end of [state_initize]
implement
GameLoop_solved
(state, xs) =
state.ntime where
{
val () = free(xs)
val () = println! ("You solved it: ", state.word0)
}
implement
GameLoop_timeup
(state, xs) =
state.ntime where
{
val () = free(xs)
val () = println! ("Sorry, you have no more chances.")
}
implement
GameLoop_asking
(state, xs) = let
//
val () =
println!
("Chances: ", state.ntime)
val () =
println!
("Guessed: ", state.guess)
val () =
word_display
(state.word0, state.guess)
//
val () = println!((*void*))
//
in
//
case+ !xs of
| ~stream_vt_nil() => (~1) where
{
val () =
println!
("ERROR: no input from the player!!!")
}
| ~stream_vt_cons(x0, xs) =>
let
val err =
state_update(state, x0) in GameLoop(state, xs)
end
//
end // end of [GameLoop_asking]
end // end of [local]
(* ****** ****** *)
implement
GameMain() =
{
//
val nt = 6
val w0 = "camouflage"
//
val () = println!("Start!")
//
var
state: state
val err =
state_initize(state, nt, w0)
//
val lines =
streamize_channel00()
val lines =
stream_vt_map<string><string>
(lines) where
{
//
#staload UN = $UNSAFE
//
implement
stream_vt_map$fopr<string><string>
(line) =
trunc(line) where
{
//
fun
trunc
(line: string): string = let
//
val ofs =
string_find_index<>(line, ':')
//
in
//
if
isgtez(ofs)
then
(
$UN.cast
{string}
(
ptr_add<char>
(string2ptr(line), succ(ofs))
)
) else ("")
//
end // end of [trunc]
} (* end of [stream_vt_map$fopr] *)
}
val chars = auxmain(lines) where
{
//
fun
auxmain
(
xs:
stream_vt(string)
) : stream_vt(char) = $ldelay
(
(
case+ !xs of
| ~stream_vt_nil() =>
stream_vt_nil()
| ~stream_vt_cons(x0, xs) => let
val x0 = g1ofg0(x0)
in
if
iseqz(x0)
then !(auxmain(xs))
else stream_vt_cons(x0[0], auxmain(xs))
end // end of [stream_vt_cons]
)
, (lazy_vt_free(xs))
)
}
//
val
ntime =
GameLoop(state, chars)
where
{ reassume input_t0ype }
//
val ((*void*)) = println! ("Game Over: ", ntime)
//
} (* end of [GameMain] *)
(* ****** ****** *)
(* end of [Hangman2.dats] *)
| ATS | 5 | ats-lang/ATS-CodeBook | RECIPE/Hangman2/Hangman2.dats | [
"MIT"
] |
#include <ATen/cuda/CUDABlas.h>
#include <c10/cuda/CUDAException.h>
#include <c10/test/util/complex_test_common.h>
__global__ void test_thrust_kernel() {
// thrust conversion
{
constexpr float num1 = float(1.23);
constexpr float num2 = float(4.56);
assert(c10::complex<float>(thrust::complex<float>(num1, num2)).real() == num1);
assert(c10::complex<float>(thrust::complex<float>(num1, num2)).imag() == num2);
}
{
constexpr double num1 = double(1.23);
constexpr double num2 = double(4.56);
assert(c10::complex<double>(thrust::complex<double>(num1, num2)).real() == num1);
assert(c10::complex<double>(thrust::complex<double>(num1, num2)).imag() == num2);
}
// thrust assignment
auto tup = assignment::one_two_thrust();
assert(std::get<c10::complex<double>>(tup).real() == double(1));
assert(std::get<c10::complex<double>>(tup).imag() == double(2));
assert(std::get<c10::complex<float>>(tup).real() == float(1));
assert(std::get<c10::complex<float>>(tup).imag() == float(2));
}
__global__ void test_std_functions_kernel() {
assert(std::abs(c10::complex<float>(3, 4)) == float(5));
assert(std::abs(c10::complex<double>(3, 4)) == double(5));
assert(std::abs(std::arg(c10::complex<float>(0, 1)) - PI / 2) < 1e-6);
assert(std::abs(std::arg(c10::complex<double>(0, 1)) - PI / 2) < 1e-6);
assert(std::abs(c10::polar(float(1), float(PI / 2)) - c10::complex<float>(0, 1)) < 1e-6);
assert(std::abs(c10::polar(double(1), double(PI / 2)) - c10::complex<double>(0, 1)) < 1e-6);
}
__global__ void test_reinterpret_cast() {
std::complex<float> z(1, 2);
c10::complex<float> zz = *reinterpret_cast<c10::complex<float>*>(&z);
assert(zz.real() == float(1));
assert(zz.imag() == float(2));
std::complex<double> zzz(1, 2);
c10::complex<double> zzzz = *reinterpret_cast<c10::complex<double>*>(&zzz);
assert(zzzz.real() == double(1));
assert(zzzz.imag() == double(2));
cuComplex cuComplex_zz = *reinterpret_cast<cuComplex*>(&zz);
assert(cuComplex_zz.x == float(1));
assert(cuComplex_zz.y == float(2));
cuDoubleComplex cuDoubleComplex_zzzz = *reinterpret_cast<cuDoubleComplex*>(&zzzz);
assert(cuDoubleComplex_zzzz.x == double(1));
assert(cuDoubleComplex_zzzz.y == double(2));
}
int safeDeviceCount() {
int count;
cudaError_t err = cudaGetDeviceCount(&count);
if (err == cudaErrorInsufficientDriver || err == cudaErrorNoDevice) {
return 0;
}
return count;
}
#define SKIP_IF_NO_GPU() \
do { \
if (safeDeviceCount() == 0) { \
return; \
} \
} while(0)
TEST(DeviceTests, ThrustConversion) {
SKIP_IF_NO_GPU();
ASSERT_EQ(cudaGetLastError(), cudaSuccess);
cudaDeviceSynchronize();
test_thrust_kernel<<<1, 1>>>();
C10_CUDA_KERNEL_LAUNCH_CHECK();
cudaDeviceSynchronize();
ASSERT_EQ(cudaGetLastError(), cudaSuccess);
}
TEST(DeviceTests, StdFunctions) {
SKIP_IF_NO_GPU();
cudaDeviceSynchronize();
test_std_functions_kernel<<<1, 1>>>();
C10_CUDA_KERNEL_LAUNCH_CHECK();
cudaDeviceSynchronize();
ASSERT_EQ(cudaGetLastError(), cudaSuccess);
}
TEST(DeviceTests, ReinterpretCast) {
SKIP_IF_NO_GPU();
cudaDeviceSynchronize();
test_reinterpret_cast<<<1, 1>>>();
C10_CUDA_KERNEL_LAUNCH_CHECK();
cudaDeviceSynchronize();
ASSERT_EQ(cudaGetLastError(), cudaSuccess);
}
| Cuda | 4 | Hacky-DH/pytorch | aten/src/ATen/test/cuda_complex_test.cu | [
"Intel"
] |
"""Test truncated SVD transformer."""
import numpy as np
import scipy.sparse as sp
import pytest
from sklearn.decomposition import TruncatedSVD, PCA
from sklearn.utils import check_random_state
from sklearn.utils._testing import assert_array_less, assert_allclose
SVD_SOLVERS = ["arpack", "randomized"]
@pytest.fixture(scope="module")
def X_sparse():
# Make an X that looks somewhat like a small tf-idf matrix.
rng = check_random_state(42)
X = sp.random(60, 55, density=0.2, format="csr", random_state=rng)
X.data[:] = 1 + np.log(X.data)
return X
@pytest.mark.parametrize("solver", ["randomized"])
@pytest.mark.parametrize("kind", ("dense", "sparse"))
def test_solvers(X_sparse, solver, kind):
X = X_sparse if kind == "sparse" else X_sparse.toarray()
svd_a = TruncatedSVD(30, algorithm="arpack")
svd = TruncatedSVD(30, algorithm=solver, random_state=42)
Xa = svd_a.fit_transform(X)[:, :6]
Xr = svd.fit_transform(X)[:, :6]
assert_allclose(Xa, Xr, rtol=2e-3)
comp_a = np.abs(svd_a.components_)
comp = np.abs(svd.components_)
# All elements are equal, but some elements are more equal than others.
assert_allclose(comp_a[:9], comp[:9], rtol=1e-3)
assert_allclose(comp_a[9:], comp[9:], atol=1e-2)
@pytest.mark.parametrize("n_components", (10, 25, 41))
def test_attributes(n_components, X_sparse):
n_features = X_sparse.shape[1]
tsvd = TruncatedSVD(n_components).fit(X_sparse)
assert tsvd.n_components == n_components
assert tsvd.components_.shape == (n_components, n_features)
@pytest.mark.parametrize("algorithm", SVD_SOLVERS)
def test_too_many_components(algorithm, X_sparse):
n_features = X_sparse.shape[1]
for n_components in (n_features, n_features + 1):
tsvd = TruncatedSVD(n_components=n_components, algorithm=algorithm)
with pytest.raises(ValueError):
tsvd.fit(X_sparse)
@pytest.mark.parametrize("fmt", ("array", "csr", "csc", "coo", "lil"))
def test_sparse_formats(fmt, X_sparse):
n_samples = X_sparse.shape[0]
Xfmt = X_sparse.toarray() if fmt == "dense" else getattr(X_sparse, "to" + fmt)()
tsvd = TruncatedSVD(n_components=11)
Xtrans = tsvd.fit_transform(Xfmt)
assert Xtrans.shape == (n_samples, 11)
Xtrans = tsvd.transform(Xfmt)
assert Xtrans.shape == (n_samples, 11)
@pytest.mark.parametrize("algo", SVD_SOLVERS)
def test_inverse_transform(algo, X_sparse):
# We need a lot of components for the reconstruction to be "almost
# equal" in all positions. XXX Test means or sums instead?
tsvd = TruncatedSVD(n_components=52, random_state=42, algorithm=algo)
Xt = tsvd.fit_transform(X_sparse)
Xinv = tsvd.inverse_transform(Xt)
assert_allclose(Xinv, X_sparse.toarray(), rtol=1e-1, atol=2e-1)
def test_integers(X_sparse):
n_samples = X_sparse.shape[0]
Xint = X_sparse.astype(np.int64)
tsvd = TruncatedSVD(n_components=6)
Xtrans = tsvd.fit_transform(Xint)
assert Xtrans.shape == (n_samples, tsvd.n_components)
@pytest.mark.parametrize("kind", ("dense", "sparse"))
@pytest.mark.parametrize("n_components", [10, 20])
@pytest.mark.parametrize("solver", SVD_SOLVERS)
def test_explained_variance(X_sparse, kind, n_components, solver):
X = X_sparse if kind == "sparse" else X_sparse.toarray()
svd = TruncatedSVD(n_components, algorithm=solver)
X_tr = svd.fit_transform(X)
# Assert that all the values are greater than 0
assert_array_less(0.0, svd.explained_variance_ratio_)
# Assert that total explained variance is less than 1
assert_array_less(svd.explained_variance_ratio_.sum(), 1.0)
# Test that explained_variance is correct
total_variance = np.var(X_sparse.toarray(), axis=0).sum()
variances = np.var(X_tr, axis=0)
true_explained_variance_ratio = variances / total_variance
assert_allclose(
svd.explained_variance_ratio_,
true_explained_variance_ratio,
)
@pytest.mark.parametrize("kind", ("dense", "sparse"))
@pytest.mark.parametrize("solver", SVD_SOLVERS)
def test_explained_variance_components_10_20(X_sparse, kind, solver):
X = X_sparse if kind == "sparse" else X_sparse.toarray()
svd_10 = TruncatedSVD(10, algorithm=solver, n_iter=10).fit(X)
svd_20 = TruncatedSVD(20, algorithm=solver, n_iter=10).fit(X)
# Assert the 1st component is equal
assert_allclose(
svd_10.explained_variance_ratio_,
svd_20.explained_variance_ratio_[:10],
rtol=5e-3,
)
# Assert that 20 components has higher explained variance than 10
assert (
svd_20.explained_variance_ratio_.sum() > svd_10.explained_variance_ratio_.sum()
)
@pytest.mark.parametrize("solver", SVD_SOLVERS)
def test_singular_values_consistency(solver):
# Check that the TruncatedSVD output has the correct singular values
rng = np.random.RandomState(0)
n_samples, n_features = 100, 80
X = rng.randn(n_samples, n_features)
pca = TruncatedSVD(n_components=2, algorithm=solver, random_state=rng).fit(X)
# Compare to the Frobenius norm
X_pca = pca.transform(X)
assert_allclose(
np.sum(pca.singular_values_ ** 2.0),
np.linalg.norm(X_pca, "fro") ** 2.0,
rtol=1e-2,
)
# Compare to the 2-norms of the score vectors
assert_allclose(
pca.singular_values_, np.sqrt(np.sum(X_pca ** 2.0, axis=0)), rtol=1e-2
)
@pytest.mark.parametrize("solver", SVD_SOLVERS)
def test_singular_values_expected(solver):
# Set the singular values and see what we get back
rng = np.random.RandomState(0)
n_samples = 100
n_features = 110
X = rng.randn(n_samples, n_features)
pca = TruncatedSVD(n_components=3, algorithm=solver, random_state=rng)
X_pca = pca.fit_transform(X)
X_pca /= np.sqrt(np.sum(X_pca ** 2.0, axis=0))
X_pca[:, 0] *= 3.142
X_pca[:, 1] *= 2.718
X_hat_pca = np.dot(X_pca, pca.components_)
pca.fit(X_hat_pca)
assert_allclose(pca.singular_values_, [3.142, 2.718, 1.0], rtol=1e-14)
def test_truncated_svd_eq_pca(X_sparse):
# TruncatedSVD should be equal to PCA on centered data
X_dense = X_sparse.toarray()
X_c = X_dense - X_dense.mean(axis=0)
params = dict(n_components=10, random_state=42)
svd = TruncatedSVD(algorithm="arpack", **params)
pca = PCA(svd_solver="arpack", **params)
Xt_svd = svd.fit_transform(X_c)
Xt_pca = pca.fit_transform(X_c)
assert_allclose(Xt_svd, Xt_pca, rtol=1e-9)
assert_allclose(pca.mean_, 0, atol=1e-9)
assert_allclose(svd.components_, pca.components_)
@pytest.mark.parametrize(
"algorithm, tol", [("randomized", 0.0), ("arpack", 1e-6), ("arpack", 0.0)]
)
@pytest.mark.parametrize("kind", ("dense", "sparse"))
def test_fit_transform(X_sparse, algorithm, tol, kind):
# fit_transform(X) should equal fit(X).transform(X)
X = X_sparse if kind == "sparse" else X_sparse.toarray()
svd = TruncatedSVD(
n_components=5, n_iter=7, random_state=42, algorithm=algorithm, tol=tol
)
X_transformed_1 = svd.fit_transform(X)
X_transformed_2 = svd.fit(X).transform(X)
assert_allclose(X_transformed_1, X_transformed_2)
| Python | 5 | MaiRajborirug/scikit-learn | sklearn/decomposition/tests/test_truncated_svd.py | [
"BSD-3-Clause"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
mutable struct MD
content::Vector{Any}
meta::Dict{Symbol, Any}
MD(content::AbstractVector, meta::Dict = Dict()) =
new(content, meta)
end
MD(xs...) = MD(vcat(xs...))
function MD(cfg::Config, xs...)
md = MD(xs...)
md.meta[:config] = cfg
return md
end
config(md::MD) = md.meta[:config]::Config
# Forward some array methods
Base.push!(md::MD, x) = push!(md.content, x)
Base.getindex(md::MD, args...) = md.content[args...]
Base.setindex!(md::MD, args...) = setindex!(md.content, args...)
Base.lastindex(md::MD) = lastindex(md.content)
Base.firstindex(md::MD) = firstindex(md.content)
Base.length(md::MD) = length(md.content)
Base.isempty(md::MD) = isempty(md.content)
Base.copy(md::MD) = MD(copy(md.content), copy(md.meta))
==(a::MD, b::MD) = (html(a) == html(b))
# Parser functions:
# md – should be modified appropriately
# return – basically, true if parse was successful
# false uses the next parser in the queue, true
# goes back to the beginning
#
# Inner parsers:
# return – element to use or nothing
# Inner parsing
function parseinline(stream::IO, md::MD, parsers::Vector{Function})
for parser in parsers
inner = parser(stream, md)
inner ≡ nothing || return inner
end
end
function parseinline(stream::IO, md::MD, config::Config)
content = []
buffer = IOBuffer()
while !eof(stream)
char = peek(stream, Char)
if haskey(config.inner, char) &&
(inner = parseinline(stream, md, config.inner[char])) !== nothing
c = String(take!(buffer))
!isempty(c) && push!(content, c)
buffer = IOBuffer()
push!(content, inner)
else
write(buffer, read(stream, Char))
end
end
c = String(take!(buffer))
!isempty(c) && push!(content, c)
return content
end
parseinline(s::AbstractString, md::MD, c::Config) =
parseinline(IOBuffer(s), md, c)
parseinline(s, md::MD) = parseinline(s, md, config(md))
# Block parsing
function parse(stream::IO, block::MD, config::Config; breaking = false)
skipblank(stream)
eof(stream) && return false
for parser in (breaking ? config.breaking : [config.breaking; config.regular])
parser(stream, block) && return true
end
return false
end
parse(stream::IO, block::MD; breaking = false) =
parse(stream, block, config(block), breaking = breaking)
function parse(stream::IO; flavor = julia)
isa(flavor, Symbol) && (flavor = flavors[flavor])
markdown = MD(flavor)
while parse(stream, markdown, flavor) end
return markdown
end
| Julia | 5 | jonas-schulze/julia | stdlib/Markdown/src/parse/parse.jl | [
"MIT"
] |
import "mekanosimulation"
class MekanoObjectGravity : MekanoObject
{
Vector2D gravity;
public:
property Vector2D gravity
{
set { gravity = value; }
get { value = gravity; }
}
void exertForces(MekanoSimulation sim)
{
for(o : sim.objectList)
for(p : o.points; p.type == center)
{
Vector2D f;
f.scale(gravity, o.mass);
o.applyForce(f, p);
}
}
}
| eC | 4 | N-eil/ecere-sdk | samples/guiAndGfx/mekano/mekanoobjectgravity.ec | [
"BSD-3-Clause"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Welbeck Garli <welbeckgrlyw@gmail.com>, 2020
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-17 11:07+0100\n"
"PO-Revision-Date: 2020-07-06 11:50+0000\n"
"Last-Translator: Resulkary <resulsaparov@gmail.com>\n"
"Language-Team: Turkmen (http://www.transifex.com/django/django/language/"
"tk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: tk\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Sessions"
msgstr "Sessiýalar"
msgid "session key"
msgstr "sessiýa açary"
msgid "session data"
msgstr "sessiýa maglumaty"
msgid "expire date"
msgstr "gutarýan senesi"
msgid "session"
msgstr "sessiýa"
msgid "sessions"
msgstr "sessiýalar"
| Gettext Catalog | 2 | jpmallarino/django | django/contrib/sessions/locale/tk/LC_MESSAGES/django.po | [
"BSD-3-Clause",
"0BSD"
] |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, install,
// copy or use the software.
//
//
// License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2010-2012, Multicoreware, Inc., all rights reserved.
// Copyright (C) 2010-2012, Advanced Micro Devices, Inc., all rights reserved.
// Third party copyrights are property of their respective owners.
//
// @Authors
// Jin Ma jin@multicorewareinc.com
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistribution's of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Redistribution's in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// * The name of the copyright holders may not be used to endorse or promote products
// derived from this software without specific prior written permission.
//
// This software is provided by the copyright holders and contributors as is and
// any express or implied warranties, including, but not limited to, the implied
// warranties of merchantability and fitness for a particular purpose are disclaimed.
// In no event shall the Intel Corporation or contributors be liable for any direct,
// indirect, incidental, special, exemplary, or consequential damages
// (including, but not limited to, procurement of substitute goods or services;
// loss of use, data, or profits; or business interruption) however caused
// and on any theory of liability, whether in contract, strict liability,
// or tort (including negligence or otherwise) arising in any way out of
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
#ifndef cn
#define cn 1
#endif
#define sz (int)sizeof(float)
#define src_elem_at(_src, y, step, x) *(__global const float *)(_src + mad24(y, step, (x) * sz))
#define dst_elem_at(_dst, y, step, x) *(__global float *)(_dst + mad24(y, step, (x) * sz))
__kernel void buildMotionMaps(__global const uchar * forwardMotionPtr, int forwardMotion_step, int forwardMotion_offset,
__global const uchar * backwardMotionPtr, int backwardMotion_step, int backwardMotion_offset,
__global const uchar * forwardMapPtr, int forwardMap_step, int forwardMap_offset,
__global const uchar * backwardMapPtr, int backwardMap_step, int backwardMap_offset,
int rows, int cols)
{
int x = get_global_id(0);
int y = get_global_id(1);
if (x < cols && y < rows)
{
int forwardMotion_index = mad24(forwardMotion_step, y, (int)sizeof(float2) * x + forwardMotion_offset);
int backwardMotion_index = mad24(backwardMotion_step, y, (int)sizeof(float2) * x + backwardMotion_offset);
int forwardMap_index = mad24(forwardMap_step, y, (int)sizeof(float2) * x + forwardMap_offset);
int backwardMap_index = mad24(backwardMap_step, y, (int)sizeof(float2) * x + backwardMap_offset);
float2 forwardMotion = *(__global const float2 *)(forwardMotionPtr + forwardMotion_index);
float2 backwardMotion = *(__global const float2 *)(backwardMotionPtr + backwardMotion_index);
__global float2 * forwardMap = (__global float2 *)(forwardMapPtr + forwardMap_index);
__global float2 * backwardMap = (__global float2 *)(backwardMapPtr + backwardMap_index);
float2 basePoint = (float2)(x, y);
forwardMap[0] = basePoint + backwardMotion;
backwardMap[0] = basePoint + forwardMotion;
}
}
__kernel void upscale(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
__global uchar * dstptr, int dst_step, int dst_offset, int scale)
{
int x = get_global_id(0);
int y = get_global_id(1);
if (x < src_cols && y < src_rows)
{
int src_index = mad24(y, src_step, sz * x * cn + src_offset);
int dst_index = mad24(y * scale, dst_step, sz * x * scale * cn + dst_offset);
__global const float * src = (__global const float *)(srcptr + src_index);
__global float * dst = (__global float *)(dstptr + dst_index);
#pragma unroll
for (int c = 0; c < cn; ++c)
dst[c] = src[c];
}
}
inline float diffSign1(float a, float b)
{
return a > b ? 1.0f : a < b ? -1.0f : 0.0f;
}
inline float3 diffSign3(float3 a, float3 b)
{
float3 pos;
pos.x = a.x > b.x ? 1.0f : a.x < b.x ? -1.0f : 0.0f;
pos.y = a.y > b.y ? 1.0f : a.y < b.y ? -1.0f : 0.0f;
pos.z = a.z > b.z ? 1.0f : a.z < b.z ? -1.0f : 0.0f;
return pos;
}
__kernel void diffSign(__global const uchar * src1, int src1_step, int src1_offset,
__global const uchar * src2, int src2_step, int src2_offset,
__global uchar * dst, int dst_step, int dst_offset, int rows, int cols)
{
int x = get_global_id(0);
int y = get_global_id(1);
if (x < cols && y < rows)
*(__global float *)(dst + mad24(y, dst_step, sz * x + dst_offset)) =
diffSign1(*(__global const float *)(src1 + mad24(y, src1_step, sz * x + src1_offset)),
*(__global const float *)(src2 + mad24(y, src2_step, sz * x + src2_offset)));
}
__kernel void calcBtvRegularization(__global const uchar * src, int src_step, int src_offset,
__global uchar * dst, int dst_step, int dst_offset, int dst_rows, int dst_cols,
int ksize, __constant float * c_btvRegWeights)
{
int x = get_global_id(0) + ksize;
int y = get_global_id(1) + ksize;
if (y < dst_rows - ksize && x < dst_cols - ksize)
{
src += src_offset;
#if cn == 1
const float srcVal = src_elem_at(src, y, src_step, x);
float dstVal = 0.0f;
for (int m = 0, count = 0; m <= ksize; ++m)
for (int l = ksize; l + m >= 0; --l, ++count)
{
dstVal += c_btvRegWeights[count] * (diffSign1(srcVal, src_elem_at(src, y + m, src_step, x + l))
- diffSign1(src_elem_at(src, y - m, src_step, x - l), srcVal));
}
dst_elem_at(dst, y, dst_step, x) = dstVal;
#elif cn == 3
__global const float * src0ptr = (__global const float *)(src + mad24(y, src_step, 3 * sz * x + src_offset));
float3 srcVal = (float3)(src0ptr[0], src0ptr[1], src0ptr[2]), dstVal = 0.f;
for (int m = 0, count = 0; m <= ksize; ++m)
{
for (int l = ksize; l + m >= 0; --l, ++count)
{
__global const float * src1ptr = (__global const float *)(src + mad24(y + m, src_step, 3 * sz * (x + l) + src_offset));
__global const float * src2ptr = (__global const float *)(src + mad24(y - m, src_step, 3 * sz * (x - l) + src_offset));
float3 src1 = (float3)(src1ptr[0], src1ptr[1], src1ptr[2]);
float3 src2 = (float3)(src2ptr[0], src2ptr[1], src2ptr[2]);
dstVal += c_btvRegWeights[count] * (diffSign3(srcVal, src1) - diffSign3(src2, srcVal));
}
}
__global float * dstptr = (__global float *)(dst + mad24(y, dst_step, 3 * sz * x + dst_offset + 0));
dstptr[0] = dstVal.x;
dstptr[1] = dstVal.y;
dstptr[2] = dstVal.z;
#else
#error "Number of channels should be either 1 of 3"
#endif
}
}
| OpenCL | 5 | Nondzu/opencv_contrib | modules/superres/src/opencl/superres_btvl1.cl | [
"BSD-3-Clause"
] |
/home/spinalvm/hdl/riscv-compliance/work//C.J.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4581 li a1,0
800000f8: a029 j 80000102 <_start+0x102>
800000fa: 000125b7 lui a1,0x12
800000fe: 3ab58593 addi a1,a1,939 # 123ab <_start-0x7ffedc55>
80000102: c02e sw a1,0(sp)
80000104: 00001117 auipc sp,0x1
80000108: f0010113 addi sp,sp,-256 # 80001004 <test_2_res>
8000010c: 4605 li a2,1
8000010e: a029 j 80000118 <_start+0x118>
80000110: 00012637 lui a2,0x12
80000114: 3ab60613 addi a2,a2,939 # 123ab <_start-0x7ffedc55>
80000118: c032 sw a2,0(sp)
8000011a: 00001117 auipc sp,0x1
8000011e: eee10113 addi sp,sp,-274 # 80001008 <test_3_res>
80000122: 56fd li a3,-1
80000124: a029 j 8000012e <_start+0x12e>
80000126: 000126b7 lui a3,0x12
8000012a: 3ab68693 addi a3,a3,939 # 123ab <_start-0x7ffedc55>
8000012e: c036 sw a3,0(sp)
80000130: 00001117 auipc sp,0x1
80000134: edc10113 addi sp,sp,-292 # 8000100c <test_4_res>
80000138: 00008737 lui a4,0x8
8000013c: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
80000140: a029 j 8000014a <_start+0x14a>
80000142: 00012737 lui a4,0x12
80000146: 3ab70713 addi a4,a4,939 # 123ab <_start-0x7ffedc55>
8000014a: c03a sw a4,0(sp)
8000014c: 00001117 auipc sp,0x1
80000150: ec410113 addi sp,sp,-316 # 80001010 <test_5_res>
80000154: 67a1 lui a5,0x8
80000156: a029 j 80000160 <_start+0x160>
80000158: 000127b7 lui a5,0x12
8000015c: 3ab78793 addi a5,a5,939 # 123ab <_start-0x7ffedc55>
80000160: c03e sw a5,0(sp)
80000162: 00001517 auipc a0,0x1
80000166: e9e50513 addi a0,a0,-354 # 80001000 <codasip_signature_start>
8000016a: 00001597 auipc a1,0x1
8000016e: eb658593 addi a1,a1,-330 # 80001020 <_end>
80000172: f0100637 lui a2,0xf0100
80000176: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000017a <complience_halt_loop>:
8000017a: 00b50c63 beq a0,a1,80000192 <complience_halt_break>
8000017e: 4554 lw a3,12(a0)
80000180: c214 sw a3,0(a2)
80000182: 4514 lw a3,8(a0)
80000184: c214 sw a3,0(a2)
80000186: 4154 lw a3,4(a0)
80000188: c214 sw a3,0(a2)
8000018a: 4114 lw a3,0(a0)
8000018c: c214 sw a3,0(a2)
8000018e: 0541 addi a0,a0,16
80000190: b7ed j 8000017a <complience_halt_loop>
80000192 <complience_halt_break>:
80000192: f0100537 lui a0,0xf0100
80000196: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000019a: 00052023 sw zero,0(a0)
8000019e: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...
| ObjDump | 3 | cbrune/VexRiscv | src/test/resources/asm/C.J.elf.objdump | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=2
ResourceCount=1
NewFileInclude1=#include "stdafx.h"
Class1=CChildFrame
LastClass=CPortView
LastTemplate=CView
Class2=CPortView
Resource1=IDR_PORT
[CLS:CChildFrame]
Type=0
HeaderFile=ChildFrame.h
ImplementationFile=ChildFrame.cpp
BaseClass=CMDIChildWnd
Filter=M
LastObject=CChildFrame
VirtualFilter=mfWC
[CLS:CPortView]
Type=0
HeaderFile=PortView.h
ImplementationFile=PortView.cpp
BaseClass=CView
Filter=C
LastObject=CPortView
[MNU:IDR_PORT]
Type=1
CommandCount=0
| Clarion | 1 | CarysT/medusa | Tools/PortWizard/Template/root.clw | [
"MIT"
] |
#!/bin/bash
# Copyright Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
WD=$(dirname "$0")
WD=$(cd "$WD"; pwd)
ROOT=$(dirname "$WD")
# shellcheck source=prow/lib.sh
source "${ROOT}/prow/lib.sh"
setup_and_export_git_sha
set -eux
GCS_BENCHMARK_DIR="${GCS_BENCHMARK_DIR:-istio-prow/benchmarks}"
BENCHMARK_COUNT="${BENCHMARK_COUNT:-5}"
BENCHMARK_CPUS="${BENCHMARK_CPUS:-8}"
REPORT_JUNIT="${REPORT_JUNIT:-${ARTIFACTS}/junit_benchmarks.xml}"
REPORT_PLAINTEXT="${REPORT_PLAINTEXT:-${ARTIFACTS}/benchmark-log.txt}"
# Sha we should compare against. Defaults to the PULL_BASE_SHA, which is the last commit on the branch we are on.
# For example, a PR on master will compare to the HEAD of master.
COMPARE_GIT_SHA="${COMPARE_GIT_SHA:-${PULL_BASE_SHA:-${GIT_SHA}}}"
case "${1}" in
run)
shift
benchmarkjunit "$@" -l "${REPORT_PLAINTEXT}" --output="${REPORT_JUNIT}" \
--test-arg "--benchmem" \
--test-arg "--count=${BENCHMARK_COUNT}" \
--test-arg "--cpu=${BENCHMARK_CPUS}" \
--test-arg "--test.timeout=30m"
# Print out the results as well for ease of debugging, so they are in the logs instead of just output
cat "${REPORT_PLAINTEXT}"
;;
report)
# Upload the reports to a well known path based on git SHA
gsutil cp "${REPORT_JUNIT}" "gs://${GCS_BENCHMARK_DIR}/${GIT_SHA}.xml"
gsutil cp "${REPORT_PLAINTEXT}" "gs://${GCS_BENCHMARK_DIR}/${GIT_SHA}.txt"
;;
compare)
# Fetch previous results, and compare them.
curl "https://storage.googleapis.com/${GCS_BENCHMARK_DIR}/${COMPARE_GIT_SHA}.txt" > "${ARTIFACTS}/baseline-benchmark-log.txt"
benchstat "${ARTIFACTS}/baseline-benchmark-log.txt" "${REPORT_PLAINTEXT}"
;;
*)
echo "unknown command, expect report, run, or compare."
;;
esac
| Shell | 4 | rveerama1/istio | prow/benchtest.sh | [
"Apache-2.0"
] |
#include "caffe2/operators/pool_op_util.h"
#include "caffe2/utils/eigen_utils.h"
namespace caffe2 {
namespace pool_op_util {
namespace {
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
// Vectorizes 4x4p0s0 average pooling for ARM NEON
void AvgPoolNeon4x4p0s0Plane(
int inputH,
int inputW,
const float* input,
float* output) {
constexpr int kKernelHeight = 4;
constexpr int kKernelWidth = 4;
constexpr float kDiv = (1.0f / ((float)kKernelHeight * (float)kKernelWidth));
// Handle portion that can be unrolled by 4
constexpr int kUnroll = 4;
constexpr int kLoadSizeFloat = (sizeof(float32x4_t) / sizeof(float));
constexpr int kLoadCols = kUnroll * kLoadSizeFloat;
if (inputW % kLoadCols == 0) {
//
// Manually unroll by 4 (kUnroll)
//
for (int h = 0; h < inputH; h += kKernelHeight) {
float* outputRow = output + (h / kKernelHeight) * (inputW / kKernelWidth);
const float* curInput = input + h * inputW;
for (int w = 0; w < inputW; w += kLoadCols) {
float32x4_t out = {};
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t v0_2 = vld1q_f32_aligned(curInput + 2 * inputW);
float32x4_t v0_3 = vld1q_f32_aligned(curInput + 3 * inputW);
float v0 = horizontal_sum_f32(v0_0, v0_1, v0_2, v0_3);
out = vsetq_lane_f32(v0, out, 0);
}
curInput += kLoadSizeFloat;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t v0_2 = vld1q_f32_aligned(curInput + 2 * inputW);
float32x4_t v0_3 = vld1q_f32_aligned(curInput + 3 * inputW);
float v0 = horizontal_sum_f32(v0_0, v0_1, v0_2, v0_3);
out = vsetq_lane_f32(v0, out, 1);
}
curInput += kLoadSizeFloat;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t v0_2 = vld1q_f32_aligned(curInput + 2 * inputW);
float32x4_t v0_3 = vld1q_f32_aligned(curInput + 3 * inputW);
float v0 = horizontal_sum_f32(v0_0, v0_1, v0_2, v0_3);
out = vsetq_lane_f32(v0, out, 2);
}
curInput += kLoadSizeFloat;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t v0_2 = vld1q_f32_aligned(curInput + 2 * inputW);
float32x4_t v0_3 = vld1q_f32_aligned(curInput + 3 * inputW);
float v0 = horizontal_sum_f32(v0_0, v0_1, v0_2, v0_3);
out = vsetq_lane_f32(v0, out, 3);
}
curInput += kLoadSizeFloat;
out = vmulq_f32(out, vdupq_n_f32(kDiv));
vst1q_f32_aligned(&outputRow[w / kKernelWidth], out);
}
}
} else {
//
// Not unrolled
//
for (int h = 0; h < inputH; h += kKernelHeight) {
const float* inputRow = input + h * inputW;
float* outputRow = output + (h / kKernelHeight) * (inputW / kKernelWidth);
for (int w = 0; w < inputW; w += kKernelWidth) {
const float* curInput = inputRow + w;
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t v0_2 = vld1q_f32_aligned(curInput + 2 * inputW);
float32x4_t v0_3 = vld1q_f32_aligned(curInput + 3 * inputW);
float v0 = horizontal_sum_f32(v0_0, v0_1, v0_2, v0_3) * kDiv;
outputRow[w / kKernelWidth] = v0;
}
}
}
}
// Vectorizes 2x2p0s0 average pooling for ARM NEON
void MaxPoolNeon2x2p0s0Plane(
int inputH,
int inputW,
const float* input,
float* output) {
constexpr int kKernelHeight = 2;
constexpr int kKernelWidth = 2;
// Handle portion that can be unrolled by 4
constexpr int kUnroll = 4;
constexpr int kLoadSizeFloat = (sizeof(float32x4_t) / sizeof(float));
constexpr int kLoadCols = kUnroll * kLoadSizeFloat;
if (inputW % kLoadCols == 0) {
for (int h = 0; h < inputH; h += kKernelHeight) {
float* outputRow = output + (h / kKernelHeight) * (inputW / kKernelWidth);
const float* curInput = input + h * inputW;
for (int w = 0; w < inputW; w += kLoadCols) {
float32x2_t hmax_0, hmax_1, hmax_2, hmax_3;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t vmax = vmaxq_f32(v0_0, v0_1);
hmax_0 = vpmax_f32(vget_low_f32(vmax), vget_high_f32(vmax));
}
curInput += kLoadSizeFloat;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t vmax = vmaxq_f32(v0_0, v0_1);
hmax_1 = vpmax_f32(vget_low_f32(vmax), vget_high_f32(vmax));
}
curInput += kLoadSizeFloat;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t vmax = vmaxq_f32(v0_0, v0_1);
hmax_2 = vpmax_f32(vget_low_f32(vmax), vget_high_f32(vmax));
}
curInput += kLoadSizeFloat;
{
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t vmax = vmaxq_f32(v0_0, v0_1);
hmax_3 = vpmax_f32(vget_low_f32(vmax), vget_high_f32(vmax));
}
curInput += kLoadSizeFloat;
float32x4_t out_0 = vcombine_f32(hmax_0, hmax_1);
float32x4_t out_1 = vcombine_f32(hmax_2, hmax_3);
vst1q_f32_aligned(&outputRow[w / kKernelWidth + 0], out_0);
vst1q_f32_aligned(&outputRow[w / kKernelWidth + 4], out_1);
}
}
} else {
// Not unrolled
for (int h = 0; h < inputH; h += kKernelHeight) {
const float* inputRow = input + h * inputW;
float* outputRow = output + (h / kKernelHeight) * (inputW / kKernelWidth);
for (int w = 0; w < inputW; w += kKernelWidth * 2) {
const float* curInput = inputRow + w;
float32x4_t v0_0 = vld1q_f32_aligned(curInput + 0 * inputW);
float32x4_t v0_1 = vld1q_f32_aligned(curInput + 1 * inputW);
float32x4_t vmax = vmaxq_f32(v0_0, v0_1);
float32x2_t hmax = vpmax_f32(vget_low_f32(vmax), vget_high_f32(vmax));
vst1_f32(&outputRow[w / kKernelWidth], hmax);
}
}
}
}
#endif
} // namespace
bool IsNeon4x4p0s0Eligible(
const int input_h,
const int input_w,
const int output_h,
const int output_w,
const int kh,
const int kw,
const int stride_h,
const int stride_w,
const int pad_t,
const int pad_l,
const int pad_b,
const int pad_r,
const int dilation_h,
const int dilation_w,
const float* X,
float* Y) {
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
// Use this kernel only if:
// 1. Kernel size is 4x4
// 2. Stride is 4x4
// 3. Padding is 0
// 4. Dilation is 1
// 5. Output width and height are even divisors of input width
// 6. Input width and height are divisible by 4 (should be implied by all of
// the above, but just check again)
// Input and output pointers are aligned by float32x4_t
const bool kernel_ok = (kh == 4) && (kw == 4);
const bool stride_ok = (stride_h == 4) && (stride_w == 4);
const bool pad_ok =
(pad_t == 0) && (pad_l == 0) && (pad_b == 0) && (pad_r == 0);
const bool dilation_ok = (dilation_h == 1) && (dilation_w == 1);
const bool output_ok = (input_h % output_h == 0) && (input_w % output_w == 0);
const bool input_ok = (input_w % 4 == 0) && (input_h % 4 == 0);
const bool align_ok = isPointerAligned(X, sizeof(float32x4_t)) &&
isPointerAligned(Y, sizeof(float32x4_t));
return kernel_ok && stride_ok && pad_ok && dilation_ok && output_ok &&
input_ok && align_ok;
#else
(void)input_h;
(void)input_w;
(void)output_h;
(void)output_w;
(void)kh;
(void)kw;
(void)stride_h;
(void)stride_w;
(void)pad_t;
(void)pad_l;
(void)pad_b;
(void)pad_r;
(void)dilation_h;
(void)dilation_w;
(void)X;
(void)Y;
return false;
#endif
}
bool IsNeon2x2p0s0Eligible(
const int input_h,
const int input_w,
const int output_h,
const int output_w,
const int kh,
const int kw,
const int stride_h,
const int stride_w,
const int pad_t,
const int pad_l,
const int pad_b,
const int pad_r,
const int dilation_h,
const int dilation_w,
const float* X,
float* Y) {
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
// Use this kernel only if:
// 1. Kernel size is 2x2
// 2. Stride is 2x2
// 3. Padding is 0
// 4. Dilation is 1
// 5. Output width and height are even divisors of input width
// 6. Input width and height are divisible by 4 (should be implied b all of
// the above, but just check again)
// Input and output pointers are aligned by float32x4_t
const bool kernel_ok = (kh == 2) && (kw == 2);
const bool stride_ok = (stride_h == 2) && (stride_w == 2);
const bool pad_ok =
(pad_t == 0) && (pad_l == 0) && (pad_b == 0) && (pad_r == 0);
const bool dilation_ok = (dilation_h == 1) && (dilation_w == 1);
const bool output_ok = (input_h % output_h == 0) && (input_w % output_w == 0);
const bool input_ok = (input_w % 4 == 0) && (input_h % 4 == 0);
const bool align_ok = isPointerAligned(X, sizeof(float32x4_t)) &&
isPointerAligned(Y, sizeof(float32x4_t));
return kernel_ok && stride_ok && pad_ok && dilation_ok && output_ok &&
input_ok && align_ok;
#else
(void)input_h;
(void)input_w;
(void)output_h;
(void)output_w;
(void)kh;
(void)kw;
(void)stride_h;
(void)stride_w;
(void)pad_t;
(void)pad_l;
(void)pad_b;
(void)pad_r;
(void)dilation_h;
(void)dilation_w;
(void)X;
(void)Y;
return false;
#endif
}
void RunNeonAveragePool4x4p0s0NCHW(
int N,
int C,
int H,
int W,
const float* X,
float* Y) {
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
const int X_stride = H * W;
const int Y_stride = (H / 4) * (W / 4);
const float* X_ptr = X;
float* Y_ptr = Y;
for (int i = 0; i < N; ++i) {
for (int j = 0; j < C; ++j) {
AvgPoolNeon4x4p0s0Plane(H, W, X_ptr, Y_ptr);
X_ptr += X_stride;
Y_ptr += Y_stride;
}
}
#else
(void)N;
(void)C;
(void)H;
(void)W;
(void)X;
(void)Y;
#endif
}
void RunNeonMaxPool2x2p0s0NCHW(
int N,
int C,
int H,
int W,
const float* X,
float* Y) {
#if defined(__ARM_NEON__) || defined(__ARM_NEON)
const int X_stride = H * W;
const int Y_stride = (H / 2) * (W / 2);
const float* X_ptr = X;
float* Y_ptr = Y;
for (int i = 0; i < N; ++i) {
for (int j = 0; j < C; ++j) {
MaxPoolNeon2x2p0s0Plane(H, W, X_ptr, Y_ptr);
X_ptr += X_stride;
Y_ptr += Y_stride;
}
}
#else
(void)N;
(void)C;
(void)H;
(void)W;
(void)X;
(void)Y;
#endif
}
} // namespace pool_op_util
} // namespace caffe2
| C++ | 5 | Hacky-DH/pytorch | caffe2/operators/pool_op_util.cc | [
"Intel"
] |
first([H|_], H).
split(A, B, C) :-
append(B, C, A), length(B, L1), length(C, L2), L1 = L2.
split(A, B, C) :-
append(B, C, A), length(B, L1), length(C, L2), L3 is L2+1, L1 = L3.
merge([], R, R).
merge(L, [], L).
merge([L1|L2], R, B) :-
first(R, R1), L1 =< R1, merge(L2, R, C), append([L1], C, B).
merge(L, [R1|R2], B) :-
first(L, L1), R1 < L1, merge(R2, L, C), append([R1], C, B).
mergesort([H|[]], [H]).
mergesort(A, B) :-
length(A, Len), Len > 1,
split(A, L, R),
mergesort(L, SL), mergesort(R, SR),
merge(SL, SR, B). | Prolog | 5 | Mynogs/Algorithm-Implementations | Merge_Sort/Prolog/jcla1/mergesort.prolog | [
"MIT"
] |
p
Your credit card
strong will not
> be charged now.
This is a text
which spans
several lines.
footer
Copyright © #{params[:x]} not xss?
| Slim | 1 | wonda-tea-coffee/brakeman | test/apps/rails5.2/app/views/users/smart.html.slim | [
"MIT"
] |
@load setup.bro
@load http-headers.bro
| Bro | 1 | dodoandbling/data_hacking | browser_fingerprinting/bro_scripts/__load__.bro | [
"MIT"
] |
a:b:c {} | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/pJGP-gxqsiFs_ruNrpY3bw/input.css | [
"Apache-2.0"
] |
% Copyright (c) Facebook, Inc. and its affiliates.
%
% This source code is licensed under the MIT license found in the
% LICENSE file in the root directory of this source tree.
-module(records).
-record(person, {name, phone, address}).
-record(rabbit, {name, color}).
-record(car, {plate, owner}).
-export([
test_type_Ok/0,
test_type_Bad/0,
test_index1_Ok/0,
test_index2_Ok/0,
test_index3_Bad/0,
test_index4_Bad/0,
test_match_field2_Ok/0,
test_match_field2_Bad/0,
test_match_field3_Ok/0,
test_match_field3_Bad/0,
test_match_field4_Ok/0,
test_match_field4_Bad/0,
test_match_field_multiple1_Ok/0,
test_match_field_multiple2_Bad/0,
test_match_field_multiple3_Bad/0,
test_match_as_tuple1_Ok/0,
test_match_as_tuple2_Bad/0,
test_match_as_tuple3_Bad/0,
test_match_as_tuple4_Bad/0,
test_match_as_tuple5_Bad/0,
test_match_as_tuple6_Bad/0,
test_match_as_tuple7_Bad/0,
test_bad_record_access_Bad/0,
test_bad_record_update_Bad/0,
test_nested1_Ok/0,
test_nested2_Ok/0,
test_nested3_Ok/0,
test_nested4_Bad/0,
test_nested5_Bad/0
]).
accepts_rabbits(#rabbit{}) -> ok.
test_type_Ok() ->
accepts_rabbits(#rabbit{name = "bunny", color = "brown"}).
test_type_Bad() ->
accepts_rabbits(#person{name = "alice", phone = 123, address = "LON"}).
accepts_three_using_rabbit(#rabbit.color) -> ok.
accepts_four_using_person(#person.address) -> ok.
test_index1_Ok() ->
accepts_three_using_rabbit(3).
test_index2_Ok() ->
accepts_four_using_person(4).
test_index3_Bad() ->
accepts_three_using_rabbit(2).
test_index4_Bad() ->
accepts_four_using_person(5).
test_match_field2_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{name = 123} -> ok
end.
test_match_field2_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{name = 9999999} -> ok
end.
test_match_field3_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{phone = 45} -> ok
end.
test_match_field3_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{phone = 9999999} -> ok
end.
test_match_field4_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{address = 6789} -> ok
end.
test_match_field4_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{address = 9999999} -> ok
end.
test_match_field_multiple1_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{address = 6789, name = 123} -> ok
end.
test_match_field_multiple2_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{address = 999999, name = 123} -> ok
end.
test_match_field_multiple3_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
#person{address = 6789, name = 99999} -> ok
end.
test_match_as_tuple1_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{person, 123, 45, 6789} -> ok
end.
test_match_as_tuple2_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{rabbit, 123, 45, 6789} -> ok
end.
test_match_as_tuple3_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{person, 999999, 45, 6789} -> ok
end.
test_match_as_tuple4_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{person, 123, 999999, 6789} -> ok
end.
test_match_as_tuple5_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{person, 123, 45, 999999} -> ok
end.
test_match_as_tuple6_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{person, _, _} -> ok
end.
test_match_as_tuple7_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
case P of
{person, _, _, _, _} -> ok
end.
test_bad_record_access_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
P#rabbit.name.
test_bad_record_update_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
P#rabbit{name = 9999}.
test_nested1_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
C = #car{plate = 987654, owner = P},
case C of
#car{owner = #person{name = 123}} -> ok
end.
test_nested2_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
C = #car{plate = 987654, owner = P},
case C of
#car{owner = #person{phone = 45}} -> ok
end.
test_nested3_Ok() ->
P = #person{name = 123, phone = 45, address = 6789},
C = #car{plate = 987654, owner = P},
case C of
#car{owner = #person{name = 123, address = 6789}} -> ok
end.
test_nested4_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
C = #car{plate = 987654, owner = P},
case C of
#car{owner = #person{name = 9999}} -> ok
end.
test_nested5_Bad() ->
P = #person{name = 123, phone = 45, address = 6789},
C = #car{plate = 987654, owner = P},
case C of
#car{owner = #person{name = 123, phone = 99999}} -> ok
end.
| Erlang | 4 | hWr33/infer | infer/tests/codetoanalyze/erlang/nonmatch/src/records.erl | [
"MIT"
] |
package com.baeldung.system.exit;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class SystemExitExample {
public void readFile() {
try {
BufferedReader br = new BufferedReader(new FileReader("file.txt"));
System.out.println(br.readLine());
br.close();
} catch (IOException e) {
System.exit(2);
} finally {
System.out.println("Exiting the program");
}
}
}
| Java | 3 | DBatOWL/tutorials | core-java-modules/core-java-os/src/main/java/com/baeldung/system/exit/SystemExitExample.java | [
"MIT"
] |
$! File: Build_GNV_CURL_PCSI_DESC.COM
$!
$! $Id$
$!
$! Build the *.pcsi$text file in the following sections:
$! Required software dependencies.
$! install/upgrade/postinstall steps.
$! 1. Duplicate filenames need an alias procedure. (N/A for curl)
$! 2. ODS-5 filenames need an alias procedure. (N/A for curl)
$! 3. Special alias links for executables (curl. -> curl.exe)
$! if a lot, then an alias procedure is needed.
$! 4. Rename the files to lowercase.
$! Move Release Notes to destination
$! Source kit option
$! Create directory lines
$! Add file lines for curl.
$! Add Link alias procedure file (N/A for curl)
$! Add [.SYS$STARTUP]curl_startup file
$! Add Release notes file.
$!
$! The file PCSI_GNV_CURL_FILE_LIST.TXT is read in to get the files other
$! than the release notes file and the source backup file.
$!
$! The PCSI system can really only handle ODS-2 format filenames and
$! assumes that there is only one source directory. It also assumes that
$! all destination files with the same name come from the same source file.
$! Fortunately CURL does not trip most of these issues, so those steps
$! above are marked N/A.
$!
$! A rename action section is needed to make sure that the files are
$! created in the GNV$GNU: in the correct case, and to create the alias
$! link [usr.bin]curl. for [usr.bin]curl.exe.
$!
$! Copyright 2009, John Malmberg
$!
$! Permission to use, copy, modify, and/or distribute this software for any
$! purpose with or without fee is hereby granted, provided that the above
$! copyright notice and this permission notice appear in all copies.
$!
$! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
$! WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
$! MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
$! ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
$! WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
$! ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
$! OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
$!
$!
$! 15-Jun-2009 J. Malmberg
$!
$!===========================================================================
$!
$ kit_name = f$trnlnm("GNV_PCSI_KITNAME")
$ if kit_name .eqs. ""
$ then
$ write sys$output "@MAKE_PCSI_CURL_KIT_NAME.COM has not been run."
$ goto all_exit
$ endif
$ producer = f$trnlnm("GNV_PCSI_PRODUCER")
$ if producer .eqs. ""
$ then
$ write sys$output "@MAKE_PCSI_CURL_KIT_NAME.COM has not been run."
$ goto all_exit
$ endif
$ filename_base = f$trnlnm("GNV_PCSI_FILENAME_BASE")
$ if filename_base .eqs. ""
$ then
$ write sys$output "@MAKE_PCSI_CURL_KIT_NAME.COM has not been run."
$ goto all_exit
$ endif
$!
$!
$! Parse the kit name into components.
$!---------------------------------------
$ producer = f$element(0, "-", kit_name)
$ base = f$element(1, "-", kit_name)
$ product = f$element(2, "-", kit_name)
$ mmversion = f$element(3, "-", kit_name)
$ majorver = f$extract(0, 3, mmversion)
$ minorver = f$extract(3, 2, mmversion)
$ updatepatch = f$element(4, "-", kit_name)
$ if updatepatch .eqs. "-" then updatepatch = ""
$!
$! kit type of "D" means a daily build
$ kit_type = f$edit(f$extract(0, 1, majorver), "upcase")
$!
$!
$ product_line = "product ''producer' ''base' ''product'"
$ if updatepatch .eqs. ""
$ then
$ product_name = " ''majorver'.''minorver'"
$ else
$ product_name = " ''majorver'.''minorver'-''updatepatch'"
$ endif
$ product_line = product_line + " ''product_name' full;"
$!write sys$output product_line
$!
$!
$!
$! Create the file as a VMS text file.
$!----------------------------------------
$ base_file = kit_name
$ create 'base_file'.pcsi$desc
$!
$!
$! Start building file.
$!----------------------
$ open/append pdsc 'base_file'.pcsi$desc
$!
$ write pdsc product_line
$!
$! Required product dependencies.
$!----------------------------------
$ vmsprd = "DEC"
$ if base .eqs. "I64VMS" then vmsprd = "HP"
$ vsiprd = "VSI"
$!
$ write pdsc " software ''vmsprd' ''base' VMS ;"
$ arch_type = f$getsyi("ARCH_NAME")
$ node_swvers = f$getsyi("node_swvers")
$ vernum = f$extract(1, f$length(node_swvers), node_swvers)
$ majver = f$element(0, ".", vernum)
$ minverdash = f$element(1, ".", vernum)
$ minver = f$element(0, "-", minverdash)
$ dashver = f$element(1, "-", minverdash)
$ if dashver .eqs. "-" then dashver = ""
$ vmstag = majver + minver + dashver
$ code = f$extract(0, 1, arch_type)
$ arch_code = f$extract(0, 1, arch_type)
$ line_out = -
" if ((not <software ''vsiprd' ''base' VMS version minimum" + -
" ''node_swvers'>) and" + -
" (not <software ''vmsprd' ''base' VMS version minimum ''node_swvers'>));"
$ write pdsc line_out
$ write pdsc " error NEED_VMS''vmstag';"
$ write pdsc " end if;"
$!
$write pdsc " software VMSPORTS ''base' ZLIB ;"
$write pdsc -
" if (not <software VMSPORTS ''base' ZLIB version minimum V1.2-8>) ;"
$write pdsc " error NEED_ZLIB;"
$write pdsc " end if;"
$!
$!
$!
$! install/upgrade/postinstall steps.
$!-----------------------------------
$! 1. Duplicate filenames need an alias procedure. (N/A for curl)
$! 2. ODS-5 filenames need an alias procedure. (N/A for curl)
$! 3. Special alias links for executables (curl. -> curl.exe)
$! if a lot, then an alias procedure is needed.
$! 4. Rename the files to lowercase.
$!
$!
$! Alias links needed.
$!-------------------------
$ add_alias_lines = ""
$ rem_alias_lines = ""
$ line_out = ""
$!
$! Read through the file list to set up aliases and rename commands.
$!---------------------------------------------------------------------
$ open/read flst pcsi_gnv_curl_file_list.txt
$!
$inst_alias_loop:
$ read/end=inst_alias_loop_end flst line_in
$ line_in = f$edit(line_in,"compress,trim,uncomment")
$ if line_in .eqs. "" then goto inst_alias_loop
$ pathname = f$element(0, " ", line_in)
$ linkflag = f$element(1, " ", line_in)
$ if linkflag .nes. "->" then goto inst_alias_write
$!
$ linktarget = f$element(2, " ", line_in)
$ if kit_type .eqs. "D"
$ then
$ old_start = f$locate("[gnv.usr", pathname)
$ if old_start .lt. f$length(pathname)
$ then
$ pathname = "[gnv.beta" + pathname - "[gnv.usr"
$ linktarget = "[gnv.beta" + linktarget - "[gnv.usr"
$ endif
$ endif
$ nlink = "pcsi$destination:" + pathname
$ ntarg = "pcsi$destination:" + linktarget
$ new_add_alias_line = -
"""if f$search(""""''nlink'"""") .eqs. """""""" then" + -
" set file/enter=''nlink' ''ntarg'"""
$ if add_alias_lines .nes. ""
$ then
$ add_alias_lines = add_alias_lines + "," + new_add_alias_line
$ else
$ add_alias_lines = new_add_alias_line
$ endif
$!
$ new_rem_alias_line = -
"""if f$search(""""''nlink'"""") .nes. """""""" then" + -
" set file/remove ''nlink';"""
$ if rem_alias_lines .nes. ""
$ then
$ rem_alias_lines = rem_alias_lines + "," + new_rem_alias_line
$ else
$ rem_alias_lines = new_rem_alias_line
$ endif
$!
$ goto inst_alias_loop
$!
$inst_alias_write:
$!
$! execute install / remove
$ write pdsc " execute install ("
$! add aliases
$ i = 0
$ex_ins_loop:
$ line = f$element(i, ",", add_alias_lines)
$ i = i + 1
$ if line .eqs. "" then goto ex_ins_loop
$ if line .eqs. "," then goto ex_ins_loop_end
$ if line_out .nes. "" then write pdsc line_out,","
$ line_out = line
$ goto ex_ins_loop
$ex_ins_loop_end:
$ write pdsc line_out
$ line_out = ""
$ write pdsc " )"
$ write pdsc " remove ("
$! remove aliases
$ i = 0
$ex_rem_loop:
$ line = f$element(i, ",", rem_alias_lines)
$ i = i + 1
$ if line .eqs. "" then goto ex_rem_loop
$ if line .eqs. "," then goto ex_rem_loop_end
$ if line_out .nes. "" then write pdsc line_out,","
$ line_out = line
$ goto ex_rem_loop
$ex_rem_loop_end:
$ write pdsc line_out
$ line_out = ""
$ write pdsc " ) ;"
$!
$! execute upgrade
$ write pdsc " execute upgrade ("
$ i = 0
$ex_upg_loop:
$ line = f$element(i, ",", rem_alias_lines)
$ i = i + 1
$ if line .eqs. "" then goto ex_upg_loop
$ if line .eqs. "," then goto ex_upg_loop_end
$ if line_out .nes. "" then write pdsc line_out,","
$ line_out = line
$ goto ex_upg_loop
$ex_upg_loop_end:
$ write pdsc line_out
$ line_out = ""
$! remove aliases
$ write pdsc " ) ;"
$!
$! execute postinstall
$ write pdsc " execute postinstall ("
$ if arch_code .nes. "V"
$ then
$ line_out = " ""set process/parse=extended"""
$ endif
$ i = 0
$ex_pins_loop:
$ line = f$element(i, ",", add_alias_lines)
$ i = i + 1
$ if line .eqs. "" then goto ex_pins_loop
$ if line .eqs. "," then goto ex_pins_loop_end
$ if line_out .nes. "" then write pdsc line_out,","
$ line_out = line
$ goto ex_pins_loop
$ex_pins_loop_end:
$ if line_out .eqs. "" then line_out = " ""continue"""
$! write pdsc line_out
$! line_out = ""
$! add aliases and follow with renames.
$!
$goto inst_dir
$!
$inst_dir_loop:
$ read/end=inst_alias_loop_end flst line_in
$ line_in = f$edit(line_in,"compress,trim,uncomment")
$ if line_in .eqs. "" then goto inst_dir_loop
$inst_dir:
$ pathname = f$element(0, " ", line_in)
$ if kit_type .eqs. "D"
$ then
$ if pathname .eqs. "[gnv]usr.dir"
$ then
$ pathname = "[gnv]beta.dir"
$ else
$ old_start = f$locate("[gnv.usr", pathname)
$ if old_start .lt. f$length(pathname)
$ then
$ pathname = "[gnv.beta" + pathname - "[gnv.usr"
$ endif
$ endif
$ endif
$!
$! Ignore the directory entries for now.
$!-----------------------------------------
$ filedir = f$parse(pathname,,,"DIRECTORY")
$ if pathname .eqs. filedir then goto inst_dir_loop
$!
$! process .dir extensions for rename
$! If this is not a directory then start processing files.
$!-------------------------
$ filetype = f$parse(pathname,,,"TYPE")
$ filetype_u = f$edit(filetype, "upcase")
$ filename = f$parse(pathname,,,"NAME")
$ if filetype_u .nes. ".DIR" then goto inst_file
$!
$! process directory lines for rename.
$!--------------------------------------
$ if line_out .nes. ""
$ then
$ write pdsc line_out,","
$ line_out = ""
$ endif
$ if arch_code .nes. "V"
$ then
$ if line_out .nes. "" then write pdsc line_out,","
$ line_out = " ""rename pcsi$destination:''pathname' ''filename'.DIR"""
$ else
$ if line_out .nes. "" then write pdsc line_out
$ line_out = ""
$ endif
$ goto inst_dir_loop
$!
$!
$! process file lines for rename
$!---------------------------------
$inst_file_loop:
$ read/end=inst_alias_loop_end flst line_in
$ line_in = f$edit(line_in,"compress,trim,uncomment")
$ if line_in .eqs. "" then goto inst_dir_loop
$ pathname = f$element(0, " ", line_in)
$ if kit_type .eqs. "D"
$ then
$ if pathname .eqs. "[gnv]usr.dir"
$ then
$ pathname = "[gnv]beta.dir"
$ else
$ old_start = f$locate("[gnv.usr", pathname)
$ if old_start .lt. f$length(pathname)
$ then
$ pathname = "[gnv.beta" + pathname - "[gnv.usr"
$ endif
$ endif
$ endif
$!
$! Filenames with $ in them are VMS special and do not need to be lowercase.
$! --------------------------------------------------------------------------
$ if f$locate("$", pathname) .lt. f$length(pathname) then goto inst_file_loop
$!
$ filetype = f$parse(pathname,,,"TYPE")
$ filename = f$parse(pathname,,,"NAME") + filetype
$inst_file:
$ if arch_code .nes. "V"
$ then
$ if line_out .nes. "" then write pdsc line_out,","
$ filetype = f$parse(pathname,,,"TYPE")
$ filename = f$parse(pathname,,,"NAME") + filetype
$ line_out = " ""rename pcsi$destination:''pathname' ''filename'"""
$ else
$ if line_out .nes. "" then write pdsc line_out
$ line_out = ""
$ endif
$ goto inst_file_loop
$!
$inst_alias_loop_end:
$!
$write pdsc line_out
$write pdsc " ) ;"
$close flst
$!
$! Move Release Notes to destination
$!-------------------------------------
$write pdsc " information RELEASE_NOTES phase after ;"
$!
$! Source kit option
$!---------------------
$write pdsc " option SOURCE default 0;"
$write pdsc " directory ""[gnv.common_src]"" PROTECTION PUBLIC ;"
$write pdsc -
" file ""[gnv.common_src]''filename_base'_original_src.bck"""
$write pdsc -
" source [common_src]''filename_base'_original_src.bck ;"
$if f$search("gnv$gnu:[vms_src]''filename_base'_vms_src.bck") .nes. ""
$then
$ write pdsc " directory ""[gnv.vms_src]"" PROTECTION PUBLIC ;"
$ write pdsc " file ""[gnv.vms_src]''filename_base'_vms_src.bck"""
$ write pdsc " source [vms_src]''filename_base'_vms_src.bck ;"
$endif
$write pdsc " end option;"
$!
$!
$! Read through the file list again.
$!----------------------------------
$open/read flst pcsi_gnv_curl_file_list.txt
$!
$!
$! Create directory lines
$!-------------------------
$flst_dir_loop:
$ read/end=flst_loop_end flst line_in
$ line_in = f$edit(line_in,"compress,trim,uncomment")
$ if line_in .eqs. "" then goto flst_dir_loop
$!
$ filename = f$element(0, " ", line_in)
$ linkflag = f$element(1, " ", line_in)
$ if linkflag .eqs. "->" then goto flst_dir_loop
$!
$! Ignore .dir extensions
$!-------------------------
$ filetype = f$edit(f$parse(filename,,,"TYPE"), "upcase")
$ if filetype .eqs. ".DIR" then goto flst_dir_loop
$!
$ destname = filename
$ if kit_type .eqs. "D"
$ then
$ old_start = f$locate("[gnv.usr", destname)
$ if old_start .lt. f$length(destname)
$ then
$ destname = "[gnv.beta" + destname - "[gnv.usr"
$ endif
$ endif
$!
$! It should be just a directory then.
$!-------------------------------------
$ filedir = f$edit(f$parse(filename,,,"DIRECTORY"), "lowercase")
$! If this is not a directory then start processing files.
$!---------------------------------------------------------
$ if filename .nes. filedir then goto flst_file
$!
$ write pdsc " directory ""''destname'"" PROTECTION PUBLIC ;"
$ goto flst_dir_loop
$!
$!
$! Add file lines for curl.
$!---------------------------
$flst_file_loop:
$ read/end=flst_loop_end flst line_in
$ line_in = f$edit(line_in,"compress,trim,uncomment")
$ if line_in .eqs. "" then goto inst_file_loop
$ filename = f$element(0, " ", line_in)
$ destname = filename
$ if kit_type .eqs. "D"
$ then
$ old_start = f$locate("[gnv.usr", destname)
$ if old_start .lt. f$length(destname)
$ then
$ destname = "[gnv.beta" + destname - "[gnv.usr"
$ endif
$ endif
$flst_file:
$ srcfile = filename - "gnv."
$ write pdsc " file ""''destname'"" "
$ write pdsc " source ""''srcfile'"" ;"
$ goto flst_file_loop
$!
$flst_loop_end:
$ close flst
$!
$! Add Link alias procedure file (N/A for curl)
$!------------------------------------------------
$!
$! Add [.SYS$STARTUP]curl_startup file
$!---------------------------------------
$ if kit_type .eqs. "D"
$ then
$ write pdsc " file ""[sys$startup]curl_daily_startup.com"""
$ else
$ write pdsc " file ""[sys$startup]curl_startup.com"""
$ endif
$ write pdsc " source [usr.lib]curl_startup.com ;"
$!
$! Add Release notes file.
$!------------------------------
$ write pdsc -
" file ""[SYSHLP]''filename_base'.release_notes"" release notes ;"
$!
$! Close the product file
$!------------------------
$ write pdsc "end product;"
$!
$close pdsc
$!
$all_exit:
$ exit
| DIGITAL Command Language | 4 | faizur/curl | packages/vms/build_gnv_curl_pcsi_desc.com | [
"curl"
] |
package date_test
import "testing"
import "date"
option now = () => 2030-01-01T00:00:00Z
inData =
"
#datatype,string,long,dateTime:RFC3339,string,string,double
#group,false,false,false,true,true,false
#default,_result,,,,,
,result,table,_time,_measurement,_field,_value
,,0,2018-05-22T19:53:00Z,_m,FF,1
,,0,2018-05-22T19:53:10Z,_m,FF,1
,,0,2018-05-22T19:53:20Z,_m,FF,1
,,0,2018-05-22T19:53:30Z,_m,FF,1
,,0,2018-05-22T19:53:40Z,_m,FF,1
,,0,2018-05-22T19:53:50Z,_m,FF,1
,,1,2018-05-22T19:53:00Z,_m,QQ,1
,,1,2018-05-22T19:53:10Z,_m,QQ,1
,,1,2018-05-22T19:53:20Z,_m,QQ,1
,,1,2018-05-22T19:53:30Z,_m,QQ,1
,,1,2018-05-22T19:53:40Z,_m,QQ,1
,,1,2018-05-22T19:53:50Z,_m,QQ,1
,,1,2018-05-22T19:54:00Z,_m,QQ,1
,,1,2018-05-22T19:54:10Z,_m,QQ,1
,,1,2018-05-22T19:54:20Z,_m,QQ,1
,,2,2018-05-22T19:53:00Z,_m,RR,1
,,2,2018-05-22T19:53:10Z,_m,RR,1
,,2,2018-05-22T19:53:20Z,_m,RR,1
,,2,2018-05-22T19:53:30Z,_m,RR,1
,,3,2018-05-22T19:53:40Z,_m,SR,1
,,3,2018-05-22T19:53:50Z,_m,SR,1
,,3,2018-05-22T19:54:00Z,_m,SR,1
"
outData =
"
#group,false,false,true,true,true,true,false,false
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,string,string,dateTime:RFC3339,long
#default,_result,,,,,,,
,result,table,_start,_stop,_field,_measurement,_time,_value
,,0,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,FF,_m,2018-05-22T19:53:00Z,0
,,0,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,FF,_m,2018-05-22T19:53:10Z,10
,,0,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,FF,_m,2018-05-22T19:53:20Z,20
,,0,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,FF,_m,2018-05-22T19:53:30Z,30
,,0,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,FF,_m,2018-05-22T19:53:40Z,40
,,0,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,FF,_m,2018-05-22T19:53:50Z,50
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:53:00Z,0
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:53:10Z,10
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:53:20Z,20
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:53:30Z,30
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:53:40Z,40
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:53:50Z,50
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:54:00Z,0
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:54:10Z,10
,,1,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,QQ,_m,2018-05-22T19:54:20Z,20
,,2,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,RR,_m,2018-05-22T19:53:00Z,0
,,2,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,RR,_m,2018-05-22T19:53:10Z,10
,,2,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,RR,_m,2018-05-22T19:53:20Z,20
,,2,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,RR,_m,2018-05-22T19:53:30Z,30
,,3,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,SR,_m,2018-05-22T19:53:40Z,40
,,3,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,SR,_m,2018-05-22T19:53:50Z,50
,,3,2018-01-01T00:00:00Z,2030-01-01T00:00:00Z,SR,_m,2018-05-22T19:54:00Z,0
"
t_time_second = (table=<-) =>
table
|> range(start: 2018-01-01T00:00:00Z)
|> map(fn: (r) => ({r with _value: date.second(t: r._time)}))
test _time_second = () =>
({input: testing.loadStorage(csv: inData), want: testing.loadMem(csv: outData), fn: t_time_second})
| FLUX | 4 | metrico/flux | stdlib/date/second_time_test.flux | [
"MIT"
] |
if ! (( $+commands[rustup] && $+commands[cargo] )); then
return
fi
# If the completion file doesn't exist yet, we need to autoload it and
# bind it to `cargo`. Otherwise, compinit will have already done that
if [[ ! -f "$ZSH_CACHE_DIR/completions/_cargo" ]]; then
autoload -Uz _cargo
typeset -g -A _comps
_comps[cargo]=_cargo
fi
# If the completion file doesn't exist yet, we need to autoload it and
# bind it to `rustup`. Otherwise, compinit will have already done that
if [[ ! -f "$ZSH_CACHE_DIR/completions/_rustup" ]]; then
autoload -Uz _rustup
typeset -g -A _comps
_comps[rustup]=_rustup
fi
# Generate completion files in the background
rustup completions zsh >| "$ZSH_CACHE_DIR/completions/_rustup" &|
cat >| "$ZSH_CACHE_DIR/completions/_cargo" <<'EOF'
#compdef cargo
source "$(rustc +${${(z)$(rustup default)}[1]} --print sysroot)"/share/zsh/site-functions/_cargo
EOF
| Shell | 4 | ohmyzsh/oh-my-zsh | plugins/rust/rust.plugin.zsh | [
"MIT"
] |
// 17 lines 7 code 6 comments 4 blanks
/*
* /* Hello! */
*/
/mob
// I can rely on this file to exist on disk.
var/some_file = './/dreammaker.dm'
/mob/Login()
// Not counted. /* */
world << "// Say hello to [src]!"
src << browse({"
/*<a href="https://google.com">Link</a>*/
"}, "window=google")
| DM | 3 | alexmaco/tokei | tests/data/dreammaker.dm | [
"Apache-2.0",
"MIT"
] |
rm -f *.eps *.dvi *.ps *.pdf *~ .*~
rm -rf *.tmp
| Stata | 1 | BlameJohnny/redo | docs/cookbook/latex/clean.do | [
"Apache-2.0"
] |
/*
* Normalizing -- forked from Normalize.css v8
*/
*, *:before, *:after // @stylint ignore
box-sizing: inherit
-webkit-tap-highlight-color: transparent
-moz-tap-highlight-color: transparent
html, body, #q-app
width: 100%
direction: ltr
// https://stackoverflow.com/a/23083463
body.platform-ios.within-iframe, body.platform-ios.within-iframe #q-app
width: 100px
min-width: 100%
html, body
margin: 0
box-sizing: border-box
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary
display: block
/*
* line 1: Remove the bottom border in Firefox 39-.
* lines 2,3: Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title]
border-bottom: none
text-decoration: underline
text-decoration: underline dotted
/**
* Remove the border on images inside links in IE 10.
*/
img
border-style: none
/*
* Hide the overflow in IE.
*/
svg:not(:root)
overflow: hidden
/*
* line 1: Correct the inheritance and scaling of font size in all browsers.
* line 2: Correct the odd `em` font sizing in all browsers.
*/
code, kbd, pre, samp
font-family: monospace, monospace
font-size: 1em
/*
* lines 1,2: Add the correct box sizing in Firefox.
* line 3: Show the overflow in Edge and IE.
*/
hr
box-sizing: content-box
height: 0
overflow: visible
/*
* Change font properties to `inherit` in all browsers (opinionated).
*/
button,
input,
optgroup,
select,
textarea
font: inherit
font-family: inherit
margin: 0
/*
* Restore the font weight unset by the previous rule.
*/
optgroup
font-weight: bold
/*
* Show the overflow in IE.
* input: Show the overflow in Edge.
* select: Show the overflow in Edge, Firefox, and IE.
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* select: Remove the inheritance of text transform in Firefox.
*/
button,
input,
select
overflow: visible
text-transform: none
/*
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner, input::-moz-focus-inner
border: 0
padding: 0
/*
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring, input:-moz-focusring
outline: 1px dotted ButtonText
/**
* Correct the padding in Firefox.
*/
fieldset
padding: 0.35em 0.75em 0.625em
/**
* lines 1,3,4,6: Correct the text wrapping in Edge and IE.
* line 2: Correct the color inheritance from `fieldset` elements in IE.
* line 5: Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend
box-sizing: border-box
color: inherit
display: table
max-width: 100%
padding: 0
white-space: normal
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress
vertical-align: baseline
/*
* Remove the default vertical scrollbar in IE.
*/
textarea
overflow: auto
/*
* Remove the inner padding and cancel buttons in Chrome on OS X and
* Safari on OS X.
*/
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration
-webkit-appearance: none
| Sass | 4 | ygyg70/quasar | ui/src/css/normalize.sass | [
"MIT"
] |
class StandardError {
def self raise: message {
"""
Raises new @Exception@ with @message.
Example:
StandardError raise: \"Error!\"
ArgumentError raise: \"Missing argument!\"
# is the same as:
StandardError new: \"Error!\” . raise!
ArgumentError new: \"Missing argument!\" . raise!
"""
new: message . raise!
}
}
| Fancy | 4 | bakkdoor/fancy | lib/exception.fy | [
"BSD-3-Clause"
] |
package com.example.xtendroid.sample1
import android.app.ProgressDialog
import android.text.Html
import android.view.View
import com.google.common.io.ByteStreams
import java.io.ByteArrayOutputStream
import java.net.HttpURLConnection
import java.net.URL
import org.xtendroid.app.AndroidActivity
import static org.xtendroid.utils.AsyncBuilder.*
import static extension org.xtendroid.utils.AlertUtils.*
/**
* Simple sample to show the usage of basic UI helpers as well as
* asynchronous processing. This example fetches a random quote from the internet
* when a button is pressed, and displays it in a TextView.
*/
@AndroidActivity(R.layout.activity_main) class MainActivity {
// Button's onClick method
override loadQuote(View v) {
// show progress
val pd = new ProgressDialog(this)
pd.message = "Loading quote..."
// load quote in the background
async(pd) [task, params|
// get the data in the background
getData('http://www.iheartquotes.com/api/v1/random')
].then [String result|
// update the UI with new data
mainQuote.text = Html.fromHtml(result)
].onError [Exception error|
// handle any errors by toasting it
toast("Error: " + error.message)
].start()
}
/**
* Utility function to get data from the internet. In production code,
* you should rather use something like the Volley library.
*
* @param url
* @return
* @throws IOException
*/
def static String getData(String url) {
// connect to the URL
var c = new URL(url).openConnection as HttpURLConnection
c.connect
if (c.responseCode == HttpURLConnection.HTTP_OK) {
// read data into a buffer
var os = new ByteArrayOutputStream
ByteStreams.copy(c.inputStream, os)
return os.toString
}
throw new Exception("[" + c.responseCode + "] " + c.responseMessage)
}
}
| Xtend | 5 | kusl/Xtendroid | examples/Sample1/src/com/example/xtendroid/sample1/MainActivity.xtend | [
"MIT"
] |
@0x8b53f943fbc3527f;
using Go = import "go.capnp";
$Go.package("offheap");
$Go.import("testpkg");
struct CellCapn {
unHashedKey @0: UInt64;
byteKey @1: Data;
value @2: Data;
}
struct HashTableCapn {
cells @0: UInt64;
cellSz @1: UInt64;
arraySize @2: UInt64;
population @3: UInt64;
zeroUsed @4: Bool;
zeroCell @5: CellCapn;
offheap @6: Data;
mmm @7: MmapMallocCapn;
}
struct IteratorCapn {
tab @0: HashTableCapn;
pos @1: Int64;
cur @2: CellCapn;
}
struct MmapMallocCapn {
path @0: Text;
fd @1: Int64;
fileBytesLen @2: Int64;
bytesAlloc @3: Int64;
mem @4: Data;
}
##compile with:
##
##
## capnp compile -ogo odir/schema.capnp
| Cap'n Proto | 4 | backwardn/offheap | ohser/schema.capnp | [
"MIT"
] |
/**
* @file hft_trader_struct.h
* @brief 交易业务数据和结构定义
*/
#ifndef _HFT_TRADER_STRUCT_H_
#define _HFT_TRADER_STRUCT_H_
#include "hft_trader_common.h"
namespace HFT {
// 市场类型名字,与行情保持一致
#define MARKET_SH "SH" // 上海交易所
#define MARKET_SZ "SZ" // 深圳交易所
#define MARKET_CFFEX "CFFEX" // 中金所
#define MARKET_CZCE "CZCE" // 郑商所
#define MARKET_DCE "DCE" // 大商所
#define MARKET_SHFE "SHFE" // 上期所
#define MARKET_HK "HK" // 香港交易所
#define MARKET_SGE "SGE" // 金交所
#define MARKET_CFETS "CFETS" // 外汇交易中心
#define MARKET_SHOP "SHOP" // 上海交易所期权
#define MARKET_SZOP "SZOP" // 深圳交易所期权
#define MARKET_SZHK "SZHK" // 深港通
#define MARKET_SHHK "SHHK" // 沪港通
// 整形的市场类型
enum MarketType {
Market_SSE = 1, // 上海交易所
Market_SZSE = 2, // 深圳交易所
Market_SSE_OP = 10, // 上海交易所期权,为了与行情保持一致
Market_SZSE_OP = 11, // 深圳交易所期权,为了与行情保持一致
};
// 订单状态定义
enum OrderStatus {
OrderStatus_PendingNew = 1, // 订单待报
OrderStatus_New = 2, // 订单已报
OrderStatus_PartiallyFilled = 3, // 订单部分成交
OrderStatus_Filled = 4, // 订单全部成交
OrderStatus_PendingCancel = 5, // 撤单待报
OrderStatus_Canceling = 6, // 已报待撤
OrderStatus_CancelFilled = 7, // 订单已撤销
OrderStatus_PartiallyCanceled = 8, // 部成部撤
OrderStatus_Rejected = 9, // 订单已拒绝
OrderStatus_CancelRejected = 10, // 撤单废单
};
// 订单类型定义
enum OrderType {
OrderType_LMT = 1, // 限价委托
OrderType_BOC = 2, // 对手方最优价格,深圳证券交易所
OrderType_BOP = 3, // 本方最优价格,深圳证券交易所
OrderType_B5TC = 4, // 最优五档剩余转撤销,上海/深圳证券交易所
OrderType_B5TL = 5, // 最优五档剩余转限价,上海证券交易所
OrderType_IOC = 6, // 即时成交剩余转撤销,深圳证券交易所
OrderType_AON = 7, // 全额成交或撤销,深圳证券交易所
OrderType_ALMT = 9, // 竞价限价,香港证券交易所
OrderType_ELMT = 10, // 增强限价,香港证券交易所
OrderType_OLMT = 11, // 零股限价,香港证券交易所
};
// 买卖方向定义
enum OrderSide {
OrderSide_Bid = 1, // 证券、基金、债券普通买入
OrderSide_Ask = 2, // 证券、基金、债券普通卖出
OrderSide_Buy_Open = 3, // 期权买入开仓
OrderSide_Buy_Close = 4, // 期权买入平仓
OrderSide_Sell_Open = 5, // 期权卖出开仓
OrderSide_Sell_Close = 6, // 期权卖出平仓
OrderSide_Margin_Bid = 13, // 证券、基金、债券融资买入
OrderSide_Margin_Ask = 14, // 证券、基金、债券融券卖出
OrderSide_Covered_Open = 15, // 期权备兑开仓
OrderSide_Covered_Close = 16, // 期权备兑平仓
OrderSide_ETF_Create = 17, // ETF申购
OrderSide_ETF_Redeem = 18, // ETF赎回
OrderSide_Reverse_Repurchase = 19, // 逆回购
OrderSide_Margin_EnBuyBack = 20, // 买券还券
OrderSide_Margin_EnSellBack = 21, // 卖券还款
OrderSide_Margin_StockBack = 22, // 现券还券
OrderSide_Margin_PayBack = 23, // 直接还款
OrderSide_Margin_MortgageIn = 24, // 担保品转入
OrderSide_Margin_MortgageOut = 25, // 担保品转出
OrderSide_Repurchase = 26, // 正回购
OrderSide_IPO_Bid = 27, // 新股申购
OrderSide_AHFPT_Bid = 28, // 盘后定价买入
OrderSide_AHFPT_Ask = 29, // 盘后定价卖出
OrderSide_Margin_MoreStockTrans = 30, // 余券划转
OrderSide_Allotment_Shares = 31, // 配股认购
OrderSide_ETF_Create_OTC = 33, // 场外ETF申购
OrderSide_ETF_Redeem_OTC = 34, // 场外ETF赎回
OrderSide_Bond_Swap = 35, // 债券转股
OrderSide_Bond_Sell_Back = 36, // 债券回售
OrderSide_Pledge_In = 37, // 质押式回购入库
OrderSide_Pledge_Out = 38, // 质押式回购出库
};
// 持仓类型
enum PositionSide {
PositionSide_Long = 1, // 多仓
PositionSide_Short = 2, // 空仓
PositionSide_Short_Covered = 3, // 备兑空仓
};
// 成交回报类型定义
enum TradeReportType {
TradeReportType_Normal = 1, // 普通回报
TradeReportType_Cancel = 2, // 撤单回报
TradeReportType_Abolish = 3, // 普通废单回报
TradeReportType_InsideCancel = 4, // 内部撤单回报,还未到交易所便被撤下来
TradeReportType_CancelAbolish = 5, // 撤单废单回报
};
// 资金账户类型定义
enum AccountType {
AccountType_Stock = 1, // 股票
AccountType_Futures = 2, // 期货
AccountType_Options = 3, // 股票期权
AccountType_Margin = 4, // 融资融券
};
// 货币类型
enum CurrencyType {
CurrencyType_CNY = 1, // 人民币
CurrencyType_HKD = 2, // 港币
CurrencyType_USD = 3, // 美元
CurrencyType_EUR = 4, // 欧元
CurrencyType_JPY = 5, // 日元
CurrencyType_KRW = 6, // 韩元
};
// 撤单标识
enum CancelFlag {
CancelFlag_False = 1, // 假,不是撤单
CancelFlag_True = 2, // 真,是撤单
};
// ETF申购赎回允许状态
enum ETFTradeState {
ETFTradeState_PurchaseAndRedeem = 1, // 允许申购和赎回
ETFTradeState_Forbidden = 2, // 不允许申购和赎回
ETFTradeState_OnlyPurchase = 3, // 表示允许申购、不允许赎回
ETFTradeState_OnlyRedeem = 4, // 表示允许赎回、不允许申购
};
// ETF现金替代标识
enum ETFRepalceFlag {
ETFRepalceFlag_Forbidden = 1, // 禁止现金替代
ETFRepalceFlag_Allow = 2, // 允许现金替代
ETFRepalceFlag_Must = 3, // 必须现金替代
ETFRepalceFlag_NotSHRefund = 4, // 对于跨市场ETF,表示非沪市股票退补现金替代,此时对应的溢价比例和现金金额部分不能为空
ETFRepalceFlag_NotSHMust = 5, // 对于跨市场ETF,表示非沪市股票必须现金替代,对应的现金金额部分不为空。
ETFRepalceFlag_NotSHSZRefund = 6, // 非沪深市场成分股退补现金替代,一般是上海跨境ETF对应的成分股
ETFRepalceFlag_NotSHSZMust = 7, // 非沪深市场成分股必须现金替代,一般是上海跨境ETF对应的停牌成分股和上海货币ETF-xxxxx1对应值。
};
// 证券类型
enum StkType {
StkType_Stock = 1, // 股票
StkType_Bond = 2, // 债券
StkType_Index = 3, // 指数
StkType_Future = 4, // 期货
StkType_Options = 5, // 期权
StkType_Fund = 6, // 基金
StkType_Repurchase = 7, // 回购
StkType_Warrant = 8, // 权证
StkType_STIB = 9, // 科创板股票
};
// 证券类型详细
enum SecurityTypeDetail {
SecurityTypeDetail_Default = 0, // 默认类型
SecurityTypeDetail_ZBAG = 1, // 主板A股
SecurityTypeDetail_ZXBG = 2, // 中小板股票
SecurityTypeDetail_CYBG = 3, // 创业板股票
SecurityTypeDetail_ZBBG = 4, // 主板B股
SecurityTypeDetail_GZ = 5, // 国债(含地方债)
SecurityTypeDetail_QYZ = 6, // 企业债
SecurityTypeDetail_GSZ = 7, // 公司债
SecurityTypeDetail_KZZ = 8, // 可转债
SecurityTypeDetail_SMZ = 9, // 私募债
SecurityTypeDetail_KJHSMZ = 10, // 可交换私募债
SecurityTypeDetail_ZQGSCJZ = 11, // 证券公司次级债
SecurityTypeDetail_ZYSHG = 12, // 质押式回购
SecurityTypeDetail_ZCZCZQ = 13, // 资产支持证券
SecurityTypeDetail_GPETF = 14, // 股票ETF
SecurityTypeDetail_KSCGPETF = 15, // 跨市场股票ETF
SecurityTypeDetail_KJETF = 16, // 跨境ETF
SecurityTypeDetail_SWZQETF = 17, // 实物债券ETF
SecurityTypeDetail_XJZQETF = 18, // 现金债券ETF
SecurityTypeDetail_HJETF = 19, // 黄金ETF
SecurityTypeDetail_HBETF = 20, // 货币ETF
SecurityTypeDetail_GGETF = 21, // 杠杆ETF
SecurityTypeDetail_SPQHETF = 22, // 商品期货ETF
SecurityTypeDetail_BZLOF = 23, // 标准LOF
SecurityTypeDetail_FJZJJ = 24, // 分级子基金
SecurityTypeDetail_FBSJJ = 25, // 封闭式基金
SecurityTypeDetail_JSSJJ = 26, // 仅申赎基金
SecurityTypeDetail_PSQZ = 27, // 配售权证
SecurityTypeDetail_QZ = 28, // 权证
SecurityTypeDetail_GGQQ = 29, // 个股期权
SecurityTypeDetail_ETFQQ = 30, // ETF期权
SecurityTypeDetail_ZGCP = 31, // 资管产品
SecurityTypeDetail_BJHG = 32, // 报价回购
SecurityTypeDetail_YXG = 33, // 优先股
SecurityTypeDetail_ZQGSDQZ = 34, // 证券公司短期债
SecurityTypeDetail_KJHGSZ = 35, // 可交换公司债
SecurityTypeDetail_ZQFX = 36, // 债券分销
SecurityTypeDetail_GZFX = 37, // 国债分销
SecurityTypeDetail_QTZQ = 38, // 其他债券
SecurityTypeDetail_KSC = 39, // 跨市场/跨境资金
SecurityTypeDetail_QTJJ = 40, // 其他基金
SecurityTypeDetail_GJBGP = 41, // 国际版股票
SecurityTypeDetail_QTGP = 42, // 其他股票
SecurityTypeDetail_MDSZQHG = 43, // 买断式债券回购
SecurityTypeDetail_CYBKZZ = 44, // 创业板可转债
SecurityTypeDetail_CTPZ = 45, // 存托凭证
SecurityTypeDetail_HLTCDR = 46, // 沪伦通CDR
SecurityTypeDetail_CXQYGP = 47, // 创新企业股票
SecurityTypeDetail_ZYDM = 48, // 质押代码
SecurityTypeDetail_SSSSHBJJ = 49, // 实时申赎货币基金
SecurityTypeDetail_XGXZFX = 50, // 新股新债发行
SecurityTypeDetail_KCB = 51, // 科创板
SecurityTypeDetail_KCBCDR = 53, // 科创板CDR
};
// 证券状态
enum SecurityStatus {
SecurityStatus_Normal = 0, // 正常
SecurityStatus_Suspend = 1, // 停牌
SecurityStatus_NearExpireDate = 2, // 临近到期日
SecurityStatus_Adjustment = 3, // 最近5个交易日内发生调整
SecurityStatus_ExcludeRight = 4, // 除权
SecurityStatus_ExcludeDividend = 5, // 除息
SecurityStatus_Caution = 6, // 风险警示
SecurityStatus_IPOFirstDay = 7, // 上市首日
SecurityStatus_Delisting = 8, // 退市整理期
SecurityStatus_TransferByAgreement = 9, // 退市后协议转让
};
// 柜台类型
enum CounterType {
CounterType_JZJY = 1, // 集中交易柜台
CounterType_APEX_MARGIN = 2, // 顶点两融HTS柜台
CounterType_APEX = 3, // 顶点快速柜台
CounterType_DYC = 5, // 君睿股票快速柜台
CounterType_DYC_MARGIN = 6, // 君睿两融快速柜台
CounterType_DYC_JZJY = 8, // 君睿股票集中柜台
CounterType_DYC_JZJY_MARGIN = 9, // 君睿两融集中柜台
};
// 常用股东权限类型
enum SecuidRight {
SecuidRight_Delisting = 1, // 退市整理
SecuidRight_Caution = 2, // 风险警示
SecuidRight_Gem = 3, // 创业板
SecuidRight_KeChuangPlate_Normal = 4, // 科创版权限_普通账号
SecuidRight_KeChuangPlate_Credit = 5, // 科创版权限_信用账号
SecuidRight_Repo = 6, // 债券回购-正回购
SecuidRight_Reverse_Repo = 7, // 债券回购-逆回购
SecuidRight_SHHK_Trade = 8, // 沪港通
SecuidRight_SZHK_Trade = 9, // 深港通
SecuidRight_ETF_Redemption_Normal = 10, // 普通ETF申赎
SecuidRight_Hulun_Trade = 11, // 沪伦通交易
};
// 柜台间资金划转方向
enum TransferFundSide {
TransferFundSide_In = 1, // 资金转入,从集中交易柜台转入到快速柜台
TransferFundSide_Out = 2, // 资金转出,从快速柜台转出到集中交易柜台
};
// 风控告警消息类型
struct RiskNotify {
char secuid[LEN_ID]; // 证券账户(股东代码)
char alarm_score[LEN_ID]; // 告警指数值
char alarm_status[LEN_ID]; // 告警状态
char alarm_rule[LEN_ID]; // 告警规则名称
char alarm_time[LEN_ID]; // 告警时间
char alarm_msg[LEN_ERR_MSG]; // 告警内容详情
};
// 委托属性
enum OrderFlag {
OrderFlag_Security_Normal = 1, // 证券普通交易
OrderFlag_Security_CashLoan = 2, // 证券融资交易
OrderFlag_Security_SecurityLoan = 3, // 证券融券交易
OrderFlag_Future_Option_Speculation = 4, // 期货/期权投机
OrderFlag_Future_Option_Hedge = 5, // 期货/期权套期保值
OrderFlag_Future_Option_Arbitrage = 6, // 期货/期权套利
OrderFlag_Option_Covered = 7, // 期权备兑交易
};
// 委托查询标志位
enum OrderQueryFlag {
OrderQueryFlag_All = 0, // 查询所有委托
OrderQueryFlag_Cancelable = 1, // 查询可撤单委托
OrderQueryFlag_NonCancel = 2, // 查询非撤单委托
};
// 新发行证券查询标志位
enum IPOQueryFlag {
IPOQueryFlag_NewStock = 1, // 查询新股信息
IPOQueryFlag_NewBond = 2, // 查询新债信息
};
// 行权执行类型定义
enum ExerciseType {
ExerciseType_Execute = 1, // 执行
};
// 行权操作状态类型定义
enum ExerciseOperateStatus {
ExerciseOperateStatus_InsertSubmitted = 1, // 已经提交
ExerciseOperateStatus_CancelSubmitted = 2, // 撤单已经提交
ExerciseOperateStatus_Accepted = 3, // 已经接受
ExerciseOperateStatus_InsertRejected = 4, // 报单已经被拒绝
ExerciseOperateStatus_CancelRejected = 5, // 撤单已经被拒绝
ExerciseOperateStatus_UnSubmitted = 6, // 未提交
};
// 行权状态类型定义
enum ExerciseStatus {
ExerciseStatus_SendStock = 1, // 发往现货系统
ExerciseStatus_RepealStock = 2, // 冲正现货系统
ExerciseStatus_SendOffer = 3, // 发往报盘
ExerciseStatus_Fail = 4, // 行权失败
ExerciseStatus_Accepted = 5, // 交易所已接收
ExerciseStatus_Cancelled = 6, // 行权已撤销
};
// 执行方式
enum StrikeModeType {
StrikeModeType_Continental = 1, // 欧式
StrikeModeType_American = 2, // 美式
StrikeModeType_Bermuda = 3, // 百慕大
};
// 期权类型
enum OptionsType {
OptionsType_CallOptions = 1, // 看涨
OptionsType_PutOptions = 2, // 看跌
};
// 申报单位
enum OrderUnitType {
OrderUnitType_Shou = 1, // 手
OrderUnitType_Gu = 2, // 股
OrderUnitType_Fen = 3, // 份
OrderUnitType_Zhang = 4, // 张
};
// 转移状态
enum TransferStatus {
TransferStatus_TransferHandling = 1, // 转移正在处理
TransferStatus_TransferSuccess = 2, // 转移成功
TransferStatus_TransferFail = 3, // 转移失败
};
// 现货持仓转划转型
enum TransferPositionType {
TransferPositionType_All = 1, // 任意仓
TransferPositionType_History = 2, // 昨仓
TransferPositionType_TodayBS = 3, // 今买卖仓
TransferPositionType_TodayPR = 4, // 今申赎仓
};
// 现货持仓划转方向
enum TransferStockPositionSide {
TransferStockPositionSide_In = 1, // 蓝补
TransferStockPositionSide_Out = 2, // 红冲
TransferStockPositionSide_MoveIn = 3, // 调入
TransferStockPositionSide_MoveOut = 4, // 调出
TransferStockPositionSide_Lock = 5, // 备兑锁定
TransferStockPositionSide_Unlock = 6, // 备兑解锁
TransferStockPositionSide_ExerciseFreeze = 7, // 行权冻结
TransferStockPositionSide_ExerciseUnfreeze = 8, // 行权失败解冻
TransferStockPositionSide_CoveredCloseUnfreeze = 9, // 备兑平仓释放
};
// 期权现货锁定类型
enum LockStockType {
LockStockType_Lock = 1, // 锁定
LockStockType_Unlock = 2, // 解锁
};
// 期权现货锁定状态
enum LockStockStatus {
LockStockStatus_SendStock = 1, // 发往现货系统
LockStockStatus_RepealStock = 2, // 发往现货系统冲正
LockStockStatus_SendOffer = 3, // 锁定/解锁被期权系统接收后往期权报盘发送
LockStockStatus_Fail = 4, // 锁定/解锁失败
LockStockStatus_Success = 5, // 锁定/解锁成功
LockStockStatus_ForceCancel = 6, // 强制撤销,锁定委托被管理员撤销,用在期权报盘工作异常的特殊场景
};
// 期权合约状态定义,目前仅深圳期权有
// 每个状态位使用整数的bit位表示,如果bit位为1,表示为此状态,一个合约可能处于多个状态
enum ContractStatus {
ContractStatus_Suspend = 0x00000001, // 停牌
ContractStatus_LongTermSuspend = 0x00000002, // 长期停牌
ContractStatus_CircuitBreaker = 0x00000040, // 熔断机制
// bit位为1: 不接受新订单申报
// bit位为0: 接受新订单申报
ContractStatus_RestrictLongOpen = 0x00000080, // 限制买入开仓
ContractStatus_RestrictShortOpen = 0x00000100, // 限制卖出(不包括备兑)开仓
ContractStatus_RestrictCoveredOpen = 0x00000200, // 限制备兑开仓
ContractStatus_VolatilityInterrupt = 0x00000400, // 波动性中断
ContractStatus_TempSuspend = 0x00000800, // 临时停牌
ContractStatus_ContinuousSuspend = 0x00001000, // 连续停牌
ContractStatus_RestrictExercise = 0x00002000, // 限制行权
ContractStatus_RestrictMakerQuote = 0x00004000, // 限制做市商报价
};
// 组合报单类型
enum OptionCombineType {
OptionCombineType_Combine = 1, // 组合
OptionCombineType_Split = 2, // 拆分
OptionCombineType_ForceSplit = 3, // 强拆
};
// 组合策略类型
enum OptionCombineStrategy {
OptionCombineStrategy_CNSJC = 1, // 认购牛市价差策略
OptionCombineStrategy_CXSJC = 2, // 认购熊市价差策略
OptionCombineStrategy_PXSJC = 3, // 认沽熊市价差策略
OptionCombineStrategy_PNSJC = 4, // 认沽牛市价差策略
OptionCombineStrategy_KS = 5, // 跨式空头
OptionCombineStrategy_KKS = 6, // 宽跨式空头
OptionCombineStrategy_ZBD = 7, // 保证金开仓转备兑
};
// 展期审批状态
enum ApprovalStatus {
ApprovalStatus_NoCheck = 1, // 未审批
ApprovalStatus_CheckSucc = 2, // 审批通过
ApprovalStatus_CheckFail = 3, // 审批不过
ApprovalStatus_Expired = 4, // 过期作废
ApprovalStatus_Cancelled = 5, // 已撤单
ApprovalStatus_Extended = 6, // 已展期处理
};
// 下单的请求类型
struct OrderReq {
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,可不传
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID,例如SH.600000或SHOP.10002003
int16_t order_type; // 订单类型,参考OrderType定义,新股申购填限价
int16_t side; // 买卖方向,参考OrderSide定义
int64_t volume; // 订单数量,股票单位(股),债券单位(上海:手,深圳:张)
int64_t price; // 订单委托价,限价单使用,扩大一万倍,市价填写0
int16_t order_flag; // 委托属性,参考OrderFlag定义
};
// 下单的应答类型
struct OrderRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int32_t order_date; // 系统生成的订单日期(夜市委托则返回下一个交易日)
char order_id[LEN_ID]; // 系统生成的订单id
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,原样返回
};
// 撤单的请求类型
struct CancelReq {
char order_id[LEN_ID]; // 被撤的原订单id
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,可不传
char cl_cancel_id[LEN_ID]; // 客户端撤单id,用来引用一个撤单订单,由用户自定义,可不传
};
// 撤单的应答类型
struct CancelRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char order_id[LEN_ID]; // 被撤的原订单id
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,原样返回
char cl_cancel_id[LEN_ID]; // 客户端撤单id,用来引用一个撤单订单,由用户自定义,原样返回
};
// 订单明细数据
struct OrderDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char order_id[LEN_ID]; // 系统生成的订单id,对于撤单是系统撤单id
char cl_order_id[LEN_ID]; // 客户端订单id,对应到客户端的原订单id
char orig_order_id[LEN_ID]; // 仅撤单订单使用,是被撤的原订单id
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID
int16_t order_status; // 订单状态,参考OrderStatus定义
int16_t order_type; // 订单类型,参考OrderType定义
int16_t side; // 买卖方向,参考OrderSide定义
int64_t volume; // 订单数量,股票单位(股),债券单位(上海:手,深圳:张)
int64_t price; // 订单委托价,扩大一万倍
int64_t filled_volume; // 订单累计已完成数量
int64_t filled_turnover; // 订单累计已完成金额,扩大一万倍
int64_t filled_price; // 成交均价,扩大一万倍
int64_t cancel_volume; // 撤单数量
int16_t cancel_flag; // 撤单标识,参考CancelFlag定义
int32_t order_date; // 订单日期,格式为YYYYMMDD
int32_t order_time; // 订单时间,格式为HHMMSSmmm,对于订单状态推送,是推送时间点
int32_t err_code; // 下单失败时的错误码
char err_msg[LEN_ERR_MSG]; // 下单失败时的错误消息,Windows是GBK,Linux是UTF8
char secuid[LEN_ID]; // 证券账户(股东代码)
char name[LEN_SYMBOL_NAME]; // 证券名称
int64_t freeze_amount; // 冻结金额
};
// 成交明细数据
struct TradeDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char order_id[LEN_ID]; // 系统生成的订单id,对于撤单是系统原订单id
char cl_order_id[LEN_ID]; // 客户端订单id,对应到客户端的原订单id
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID
int16_t order_type; // 订单类型,参考OrderType定义
int16_t side; // 买卖方向,参考OrderSide定义
int16_t report_type; // 成交回报类型,参考TradeReportType定义
char report_no[LEN_ID]; // 成交编号
int64_t volume; // 成交数量,当report_type不是TradeReportType_Normal时代表撤单或废单数量
int64_t price; // 成交价格,扩大一万倍
int64_t turnover; // 成交金额,扩大一万倍
int32_t trade_date; // 成交日期,格式为YYYYMMDD
int32_t trade_time; // 成交时间,格式为HHMMSSmmm
int32_t err_code; // 下单失败时的错误码
char err_msg[LEN_ERR_MSG]; // 下单失败时的错误消息,Windows是GBK,Linux是UTF8
char secuid[LEN_ID]; // 证券账户(股东代码)
char name[LEN_SYMBOL_NAME]; // 证券名称
};
// 仓位明细数据
struct PositionDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 持仓标的,格式为市场.证券ID或市场.合约ID
int16_t side; // 持仓方向,参考PositionSide定义
int64_t volume; // 总持仓量
int64_t avail_volume; // 可用持仓量
int64_t init_volume; // 日初持仓量
int64_t market_value; // 仓位市值,扩大一万倍
int64_t today_buy_volume; // 今日买入成交数量,仅顶点柜台有效
int64_t today_sell_volume; // 今日卖出成交数量,仅顶点柜台有效
char secuid[LEN_ID]; // 证券账户(股东代码)
int32_t cost_price; // 成本价
int64_t buy_cost; // 成本金额
int32_t last_price; // 最新价
int64_t income; // 浮动盈亏
int64_t total_income; // 累计盈亏
int64_t profit_cost; // 持仓成本(盈亏成本)
int64_t today_avail_pr_volume; // 可申赎数量,仅君睿柜台
int32_t market; // 市场,参考MarketType定义
int32_t security_type; // 证券类别,参考SecurityTypeDetail定义,仅君睿柜台
int64_t freeze_volume; // 冻结数量,仅顶点柜台有效
char name[LEN_SYMBOL_NAME]; // 证券名称
};
// 资金明细数据
struct CashDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t currency_type; // 货币类型,参考CurrencyType定义
int64_t total_amount; // 总资金量,扩大一万倍
int64_t avail_amount; // 可用资金,扩大一万倍
int64_t total_asset; // 总资产,扩大一万倍
int64_t market_value; // 证券市值,扩大一万倍
};
// 交易账户相关信息
struct AccountInfo {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char account_pwd[LEN_ID]; // 交易账号密码
char cust_orgid[LEN_ID]; // 交易账号的机构编码
char cust_branchid[LEN_ID]; // 交易账号的分支编码
char cl_system_id[LEN_SYS_ID]; // 接入方系统标识,由服务端分配
};
// 资金账号对应的股东账号信息
struct SecuidInfo {
char market[LEN_MARKET]; // 市场,SH、SZ等,参考本文件中定义
char secuid[LEN_ID]; // 证券账户(股东代码)
char bank_code[LEN_ORG_ID]; // 银行代码
};
// 登录应答数据
struct LoginRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char cust_orgid[LEN_ID]; // 交易账号的机构编码
char cust_branchid[LEN_ID]; // 交易账号的分支编码
char cust_id[LEN_ID]; // 客户号
char cust_name[LEN_ID]; // 客户姓名
SecuidInfo secuid_array[2]; // 股东代码列表
char cif_account[LEN_ID]; // 一户通账号
};
// ETF基本信息明细
struct ETFDetail {
char name[LEN_SYMBOL_NAME]; // ETF名称
char first_symbol[LEN_SYMBOL]; // 一级市场代码,格式为市场.证券ID或市场.合约ID
char second_symbol[LEN_SYMBOL]; // 二级市场代码,格式为市场.证券ID或市场.合约ID
int32_t trade_unit; // 最小申赎份额
int64_t cash_component; // 预估现金差额,扩大一万倍
int64_t max_cash_ratio; // 最大现金替代比例,扩大一万倍
int32_t trade_state; // 申购赎回允许状态,参考ETFTradeState定义
int32_t record_num; // 股票篮子记录数
int32_t trade_day; // T日日期
int32_t pre_trade_day; // T-1日日期
int64_t nav_percu; // T-1日申赎基准单位净值,扩大一万倍
int64_t nav; // T-1日基金单位净值,扩大一万倍
// 以下字段仅深圳ETF有效,为0表示没有限制
int64_t creation_limituser; // 单帐户当天累计可申购的基金份额上限
int64_t redemption_limituser; // 单帐户当天累计可赎回的基金份额上限
int64_t net_creation_limituser; // 单账户当天净申购的基金份额上限
int64_t net_redemption_limituser; // 单账户当天净赎回的基金份额上限
int64_t creation_limit; // 当天累计可申购的基金份额上限
int64_t redemption_limit; // 当天累计可赎回的基金份额上限
int64_t net_creation_limit; // 当天净申购的基金份额上限
int64_t net_redemption_limit; // 当天净赎回的基金份额上限
};
// ETF股票篮子明细
struct ETFStockDetail {
char first_symbol[LEN_SYMBOL]; // ETF一级市场代码,格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
char symbol[LEN_SYMBOL]; // 证券代码,格式为市场.证券ID或市场.合约ID
int32_t volume; // 股份数量
int16_t replace_flag; // 现金替代标识,参考ETFRepalceFlag定义
int64_t over_price_rate; // 溢价比例,扩大一万倍
int64_t replace_amt; // 现金替代金额,扩大一万倍
};
// 最大可委托数量数据
struct MaxOrderQtyDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int64_t max_qty; // 最大可委托数量,最大限制100万
int64_t actual_max_qty; // 实际最大可委托数量,可能超过100万
};
// 新股可申购额度数据
struct IPOMaxPurchaseDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char market[8]; // 市场,SH、SZ等,参考本文件中定义
int64_t max_qty; // 申购额度
int64_t stib_max_qty; // 科创板申购额度
};
// 新股数据
struct IPOStockDetail {
char symbol[LEN_SYMBOL]; // 格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int16_t currency_type; // 货币类型,参考CurrencyType定义
int64_t ipo_price; // 发行价,扩大一万倍
int64_t max_num; // 最高交易数量
int64_t min_num; // 最低交易数量
};
// 新股配号数据
struct IPODistributionDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int32_t biz_date; // 配号日期
char symbol[LEN_SYMBOL]; // 格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
char mate_no[LEN_ID]; // 申购配号
int64_t match_qty; // 成交数量
};
// 中签数据
struct IPOLotteryDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int32_t biz_date; // 中签日期
char symbol[LEN_SYMBOL]; // 格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int64_t match_price; // 成交价格,扩大一万倍
int64_t match_qty; // 成交数量
};
// 证券基本信息查询数据
struct SecurityBaseInfo {
char symbol[LEN_SYMBOL]; // 格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int32_t security_type; // 证券类型,参考SecurityTypeDetail定义
int32_t security_status; // 证券状态,参考SecurityStatus定义
int64_t price_tick; // 证券价位
int64_t limit_up; // 涨停价格
int64_t limit_down; // 跌停价格
int64_t max_qty; // 最大数量
int64_t min_qty; // 最小数量
int64_t buy_tick; // 买入最小单位
int64_t sale_tick; // 卖出最小单位
int32_t has_price_limit; // 是否有涨幅控制1=True/Yes,0=False/No
int32_t max_rise_rate; // 最大涨幅
int32_t is_registration; // 是否注册制1=True/Yes,0=False/No
};
// 沪港通参考汇率数据
struct HKRateDetail {
char market[8]; // 市场,SH、SZ等,参考本文件中定义
int64_t buy_rate; // 买入参考汇率,扩大一万倍
int64_t sale_rate; // 卖出参考汇率,扩大一万倍
int64_t mid_rate; // 中间参考汇率,扩大一万倍
int64_t set_rate; // 结算汇率,扩大一万倍
int32_t sys_date; // 更新日期
};
// 沪港通标的券数据
struct HKStockDetail {
char symbol[LEN_SYMBOL]; // 格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int16_t stktype; // 证券类型,参考StkType定义
int16_t currency_type; // 货币类型,参考CurrencyType定义
};
// 沪港通辅资金表资产数据
struct HKFundDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t currency_type; // 货币类型,参考CurrencyType定义
int64_t fund_uncomeavl; // 港股在途可用资金,扩大一万倍
int64_t fund_buy; // 港股资金买入冻结,扩大一万倍
int64_t fund_sale; // 港股资金卖出解冻,扩大一万倍
int64_t fund_uncomebuy; // 港股资金在途买入,扩大一万倍
int64_t fund_uncomesale; // 港股资金在途卖出,扩大一万倍
};
// 沪港通最小价差数据
struct HKMinPriceUnitDetail {
int16_t stktype; // 证券类型,参考StkType定义
int64_t begin_price; // 区间起始价格,扩大一万倍
int64_t end_price; // 区间终止价格,扩大一万倍
int32_t price_unit; // 区间最小价格单位,数值的单位为厘即1/1000元
};
// 沪港通交易日历数据
struct HKTradeCalendarDetail {
int32_t date; // 日期
int16_t business_flag; // 交易日标识,0表示交易日,1表示非交易日
int16_t commit_flag; // 交收日标识,0表示交收日,1表示非交收日
};
// 担保品转入转出请求类型
struct CreditMortgageInOutReq {
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID
int16_t side; // 买卖方向,参考OrderSide定义,
// 担保品转入传OrderSide_Margin_MortgageIn,
// 担保品转出传OrderSide_Margin_MortgageOut
int32_t volume; // 担保品划转数量
};
// 担保品转入转出应答类型
struct CreditMortgageInOutRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 系统生成的订单id
};
// 现券还券请求类型
struct CreditStockBackReq {
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID
int32_t volume; // 还券数量
};
// 现券还券应答类型
struct CreditStockBackRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 系统生成的订单id
};
// 直接还款应答类型
struct CreditPayBackRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int64_t real_back_amt; // 实际还款金额,扩大一万倍
};
// 信用标的券数据
struct CreditStockDetail {
char symbol[LEN_SYMBOL]; // 标的券,格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int16_t currency_type; // 货币类型,参考CurrencyType定义
char credit_fund_ctrl; // 融资允许,'0'-允许,'1'-禁止
char credit_stk_ctrl; // 融券允许,'0'-允许,'1'-禁止
int64_t margin_rate_fund; // 融资保证金比例,扩大一万倍
int64_t margin_rate_stk; // 融券保证金比例,扩大一万倍
int32_t sep_rem_qty; // 融券专户余券
};
// 信用资产数据
struct CreditAssetsDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t currency_type; // 货币类型,参考CurrencyType定义
int64_t avail_balance; // 可用自有资金,即可买担保品资金,扩大一万倍
int64_t fetch_balance; // 可取资金,扩大一万倍
int64_t frozen_balance; // 冻结资金,扩大一万倍
int64_t stock_balance; // 证券市值,扩大一万倍
int64_t fund_balance; // 总资金,扩大一万倍
int64_t asset_balance; // 总资产,扩大一万倍
int64_t avail_margin; // 可用保证金,扩大一万倍
int64_t credit_quota; // 授信额度,扩大一万倍
int64_t finance_quota; // 可融资额度,扩大一万倍
int64_t shortsell_quota; // 可融券额度,扩大一万倍
int64_t assure_ratio; // 维持担保比例,扩大一万倍
int64_t total_debt; // 总负债,扩大一万倍
int64_t fund_debt; // 融资负债金额,包含融资利息及费用,扩大一万倍
int64_t stock_debt; // 融券负债金额,包含融券利息及费用,扩大一万倍
int64_t fund_interest_fee; // 融资利息及费用,扩大一万倍
int64_t stock_interest_fee; // 融券利息及费用,扩大一万倍
int64_t shortsell_total_balance; // 融券卖出总资金,扩大一万倍
int64_t shortsell_avail_balance; // 融券卖出可用资金(仅君睿柜台),扩大一万倍
int64_t shortsell_frozen_balance; // 融券卖出冻结资金(仅君睿柜台),扩大一万倍
int64_t enbuyback_avail_balance; // 可买券还券资金,扩大一万倍
int64_t fund_margin_profit; // 融资盈亏,扩大一万倍
int64_t stock_margin_profit; // 融券盈亏,扩大一万倍
int64_t fund_interest; // 融资利息,扩大一万倍
int64_t stock_interest; // 融券利息,扩大一万倍
int64_t fund_margin_balance; // 融资市值,扩大一万倍
int64_t stock_margin_balance; // 融券市值,扩大一万倍
int64_t fund_floating_deficit; // 融资浮亏,扩大一万倍
int64_t stock_floating_deficit; // 融券浮亏,扩大一万倍
int64_t fund_margin_profit_conversion; // 融资盈亏折算,扩大一万倍
int64_t stock_margin_profit_conversion; // 融券盈亏折算,扩大一万倍
};
// 融资合约数据
struct CreditFinanceDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID
char name[LEN_SYMBOL_NAME]; // 证券名称
char order_id[LEN_ID]; // 系统生成的订单id
int16_t currency_type; // 货币类型
int16_t debt_status; // 负债现状,0:未了结,1:已了结
int32_t occur_date; // 合约的发生日期
int64_t total_balance; // 合约的总金额,扩大一万倍
int64_t cur_balance; // 合约的当前未偿还金额,扩大一万倍
int64_t total_interest_fee; // 合约的利息及费用总金额,扩大一万倍
int64_t cur_interest_fee; // 合约的当前未偿还利息及费用金额,扩大一万倍
int64_t interest_rate; // 利率,扩大一万倍
int64_t repayable_balance; // 可还款金额,扩大一万倍
int64_t f_deal_bal; // 期初应付融资款余额
int64_t f_exp_cet_intr; // 期初应付负债息费
int64_t credit_repay_unfrz; // 当日归还负债金额
int64_t all_fee_unfrz; // 当日归还负债息费
int32_t market; // 市场
};
// 融券合约数据类型
struct CreditShortsellDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID
char name[LEN_SYMBOL_NAME]; // 证券名称
char order_id[LEN_ID]; // 系统生成的订单id
int16_t currency_type; // 货币类型,参考CurrencyType定义
int16_t debt_status; // 负债现状,0:未了结,1:已了结
int32_t occur_date; // 合约的发生日期
int64_t total_qty; // 合约的融券总数量
int64_t cur_qty; // 合约的当前未偿还融券数量
int64_t total_interest_fee; // 合约的利息及费用总金额,扩大一万倍
int64_t cur_interest_fee; // 合约的当前未偿还利息及费用金额,扩大一万倍
int64_t interest_rate; // 利率,扩大一万倍
int64_t d_stk_bal; // 期初应偿还融券总数
int32_t market; // 市场
int64_t all_fee_unfrz; // 当日归还负债息费
int64_t stk_repay_unfrz; // 当日归还负债数量
int32_t end_date; // 负债截至日期
};
// 可还融资负债金额数据
struct CreditRepayAmountDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int64_t max_back_amt; // 可还款金额,扩大一万倍
};
// 信用融券负债数量数据
struct CreditRepayStockDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 持仓标的,格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int64_t total_qty; // 融券负债总数量
int64_t max_back_qty; // 可还券数量
int64_t returned_qty; // 已还券数量(包括现券还券、买券还券数量)
};
// 担保品券数据
struct CreditMortgageHoldDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 标的券,格式为市场.证券ID或市场.合约ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int16_t currency_type; // 货币类型,参考CurrencyType定义
int64_t pledge_rate; // 折算率,扩大一万倍
};
// 查询锁定的可融券数量的应答类型
struct CreditSecuritySellQtyRsp {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 证券代码,格式为市场.证券ID或市场.合约ID
int64_t total_qty; // 证券数量,指锁券的总数量
int64_t avail_qty; // 证券可用剩余数量,指锁券的可用数量
};
// 期权资金明细数据
struct OptionCashDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t currency_type; // 货币类型,参考CurrencyType定义
int64_t init_amount; // 日初资金,扩大一万倍
int64_t total_amount; // 总资金量,扩大一万倍
int64_t avail_amount; // 可用资金,扩大一万倍
int64_t fetch_amount; // 可取资金,扩大一万倍
int64_t frozen_amount; // 冻结资金,权利金委托冻结,扩大一万倍
int64_t used_margin; // 实时占用的保证金,包含未成交义务仓委托的冻结保证金,扩大一万倍
int64_t exercise_frozen; // 行权冻结资金,扩大一万倍
int64_t deposit_amount; // 入金金额,扩大一万倍
int64_t withdraw_amount; // 出金金额,扩大一万倍
int64_t royalty_in; // 权利金收入,扩大一万倍
int64_t royalty_out; // 权利金支出,扩大一万倍
int64_t commission; // 手续费,扩大一万倍
int64_t frozen_commission; // 冻结手续费,扩大一万倍
};
// 期权持仓明细数据
struct OptionPositionDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 持仓标的,格式为市场.证券ID或市场.合约ID
int16_t side; // 持仓方向,参考PositionSide定义
int64_t init_volume; // 日初持仓量,包含组合占用持仓
int64_t init_avail_volume; // 日初可用持仓量
int64_t init_comb_volume; // 日初已组合持仓量
int64_t volume; // 总持仓量,包含组合占用持仓
int64_t avail_volume; // 可用持仓量
int64_t comb_volume; // 已组合持仓量
int64_t open_volume; // 开仓数量
int64_t close_volume; // 平仓数量
int64_t exercise_frozen; // 行权冻结数量,包含合并行权冻结数量
int64_t buy_cost; // 持仓成本
char secuid[LEN_ID]; // 证券账户(股东代码)
};
// 行权的请求类型
struct ExerciseReq {
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID
int64_t volume; // 数量
int16_t exercise_type; // 执行类型,参考ExerciseType定义
};
// 行权的响应类型
struct ExerciseRsp {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 柜台行权委托编号
int16_t exercise_type; // 执行类型,参考ExerciseType定义
};
// 撤销行权请求类型
struct CancelExerciseReq {
char order_id[LEN_ID]; // 柜台行权委托编号
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,可不传
char cl_cancel_id[LEN_ID]; // 客户端撤单id,用来引用一个撤单订单,由用户自定义,可不传
};
// 撤销行权响应类型
struct CancelExerciseRsp {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char order_id[LEN_ID]; // 柜台行权委托编号
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,原样返回
char cl_cancel_id[LEN_ID]; // 客户端撤单id,用来引用一个撤单订单,由用户自定义,原样返回
};
// 行权委托明细
struct ExerciseDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t exercise_type; // 执行类型,参考ExerciseType定义
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 柜台行权委托编号
int32_t counter_order_date; // 申报日期,格式为YYYYMMDD
int32_t counter_order_time; // 申报时间,格式为HHMMSSmmm
int32_t counter_cancel_time; // 撤销时间,格式为HHMMSSmmm
int32_t exercise_status; // 行权状态
int32_t oper_status; // 行权操作状态
char symbol[LEN_SYMBOL]; // 交易标的,格式为市场.证券ID或市场.合约ID
int32_t volume; // 成交数量
int32_t cancel_volume; // 交易所返回的撤单数量
int32_t err_code; // 行权失败时的错误码
char err_msg[LEN_ERR_MSG]; // 行权失败时的错误消息,Windows是GBK,Linux是UTF8
};
// 期权合约信息
struct ContractInfo {
char contract_id[LEN_SYMBOL]; // 合约代码,格式为市场.证券ID或市场.合约ID
char exch_contract_id[LEN_SYMBOL]; // 交易所合约代码
char contract_name[LEN_SYMBOL_NAME]; // 合约名称
char underlying_contract_id[LEN_SYMBOL]; // 基础证券代码
char underlying_contract_name[LEN_SYMBOL_NAME]; // 基础证券名称
int32_t underlying_multiplier; // 合约基础商品乘数
int32_t strike_mode; // 执行方式,参考StrikeModeType定义
int32_t options_type; // 期权类型,参考OptionsType定义
int32_t order_unit; // 申报单位,参考OrderUnitType定义
int32_t buy_trading_unit; // 买入交易单位
int32_t sell_trading_unit; // 卖出交易单位
int32_t max_market_order_buy_volume; // 市价单买最大下单量
int32_t min_market_order_buy_volume; // 市价单买最小下单量
int32_t max_limit_order_buy_volume; // 限价单买最大下单量
int32_t min_limit_order_buy_volume; // 限价单买最小下单量
int32_t max_market_order_sell_volume; // 市价单卖最大下单量
int32_t min_market_order_sell_volume; // 市价单卖最小下单量
int32_t max_limit_order_sell_volume; // 限价单卖最大下单量
int32_t min_limit_order_sell_volume; // 限价单卖最小下单量
int32_t volume_multiplier; // 数量乘数
int64_t price_tick; // 最小变动价位,扩大一万倍
int32_t contract_status; // 合约状态,参考ContractStatus定义
int64_t strike_price; // 执行价,扩大一万倍
int32_t first_date; // 首交易日
int32_t last_date; // 最后交易日
int32_t strike_date; // 行权日
int32_t expire_date; // 到期日
int32_t deliv_date; // 交割日
int32_t is_up_down_limit; // 是否有涨跌幅限制,1表示是,0表示否
int64_t margin_unit; // 期权单位保证金,扩大一万倍
int64_t pre_settlement_price; // 合约前结算价,扩大一万倍
int64_t pre_close_price; // 合约前收盘价,扩大一万倍
int64_t underlying_pre_close_price; // 标的合约前收盘价,扩大一万倍
};
// 现货持仓划转请求类型
struct TransferStockReq {
char symbol[LEN_SYMBOL]; // 转移标的代码,格式为市场.证券ID或市场.合约ID
int16_t transfer_type; // 现货持仓转移类型,参考TransferPositionType定义
int16_t transfer_side; // 现货持仓转移方向,参考TransferStockPositionSide定义
int64_t transfer_qty; // 转移数量
};
// 现货持仓划转应答类型
struct TransferStockRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 转移标的代码,格式为市场.证券ID或市场.合约ID
int16_t transfer_type; // 现货持仓转移类型,参考TransferPositionType定义
int16_t transfer_side; // 现货持仓转移方向,参考TransferStockPositionSide定义
int64_t transfer_qty; // 转移数量
};
// 现货持仓划转明细数据
struct TransferStockDetail {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char serial_number[LEN_ID]; // 转移流水号
char symbol[LEN_SYMBOL]; // 转移标的代码,格式为市场.证券ID或市场.合约ID
int32_t transact_date; // 处理日期,格式为YYYYMMDD
int32_t transact_time; // 处理时间,格式为HHMMSSmmm
int16_t transfer_type; // 仓位转移类型,参考TransferPositionType定义
int16_t transfer_side; // 仓位转移方向,参考TransferStockPositionSide定义
int16_t transfer_status; // 转移状态,请参考TransferStatus定义
int64_t yesterday_volume; // 昨日仓位量
int64_t today_bs_volume; // 今日买卖仓位量
int64_t today_pr_volume; // 今日申赎仓位量
char stock_cust_id[LEN_ID]; // 现货系统客户号
char stock_secuid[LEN_ID]; // 现货系统股东代码
char status_msg[LEN_ERR_MSG]; // 转移状态信息
};
// 锁定现货委托请求类型
struct LockOrderReq {
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,可不传
char symbol[LEN_SYMBOL]; // 现货锁定标的,格式为市场.证券ID或市场.合约ID
int16_t lock_type; // 现货锁定类型,参考LockStockType定义
int64_t volume; // 现货锁定数量
};
// 锁定现货委托应答类型
struct LockOrderRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t lock_type; // 现货锁定类型,参考LockStockType定义
char order_id[LEN_ID]; // 系统生成的锁定委托id
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,原样返回
};
// 锁定现货委托明细数据
struct LockOrderDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 锁定的标的代码,格式为市场.证券ID或市场.合约ID
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 柜台锁定委托编号
int32_t order_date; // 申报日期,格式为YYYYMMDD
int32_t order_time; // 申报时间,格式为HHMMSSmmm
int32_t cancel_time; // 撤销时间,格式为HHMMSSmmm
int16_t lock_type; // 锁定类型,参考LockStockType定义
int16_t lock_status; // 锁定状态,成功、失败,参考LockStockStatus定义
int64_t volume; // 委托数量
int64_t cancel_volume; // 撤销数量
int32_t err_code; // 委托失败时的错误码
char err_msg[LEN_ERR_MSG]; // 委托失败时的错误消息,Windows是GBK,Linux是UTF8
};
// 组合委托请求类型
struct CombOrderReq {
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,可不传
char symbol[LEN_SYMBOL]; // 组合合约代码,格式为市场.合约ID&合约ID,例如SHOP.10002421&10002401
// 对于保证金开仓转备兑、备兑仓转普通,是单个合约代码
int16_t comb_type; // 组合报单类型,参考OptionCombineType定义
int16_t comb_strategy; // 组合策略类型,参考OptionCombineStrategy定义
int64_t volume; // 订单数量,单位:份
char exch_comb_id[LEN_ID]; // 交易所组合编码(拆分组合时必填),组合委托推送状态为成交时返回
};
// 组合委托应答类型
struct CombOrderRsp {
char account_id[LEN_ID]; // 交易账号,目前是资金账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int16_t comb_type; // 组合报单类型,参考OptionCombineType定义
char order_id[LEN_ID]; // 系统生成的组合委托id
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,原样返回
};
// 组合行权的请求类型
struct CombExerciseReq {
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char call_symbol[LEN_SYMBOL]; // 认购合约代码,格式为市场.合约ID,例如SHOP.10002421
char put_symbol[LEN_SYMBOL]; // 认沽合约代码,格式为市场.合约ID,例如SHOP.10002401
int64_t volume; // 数量
};
// 组合行权的响应类型
struct CombExerciseRsp {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 柜台行权委托编号
};
// 撤销组合行权请求类型
struct CancelCombExerciseReq {
char order_id[LEN_ID]; // 柜台行权委托编号
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,可不传
char cl_cancel_id[LEN_ID]; // 客户端撤单id,用来引用一个撤单订单,由用户自定义,可不传
};
// 撤销组合行权响应类型
struct CancelCombExerciseRsp {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char order_id[LEN_ID]; // 柜台行权委托编号
char cl_order_id[LEN_ID]; // 客户端订单id,用来引用一个普通订单,由用户自定义,原样返回
char cl_cancel_id[LEN_ID]; // 客户端撤单id,用来引用一个撤单订单,由用户自定义,原样返回
};
// 组合委托明细数据
struct CombOrderDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 组合合约代码,格式为市场.合约ID&合约ID,例如SHOP.10002421&10002401
char exch_comb_id[LEN_ID]; // 交易所组合编码,拆分时使用
int16_t comb_type; // 组合报单类型,参考OptionCombineType定义
int16_t comb_strategy; // 组合策略类型,参考OptionCombineStrategy定义
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 柜台组合委托编号
int32_t order_date; // 申报日期,格式为YYYYMMDD
int32_t order_time; // 申报时间,格式为HHMMSSmmm
int32_t cancel_time; // 撤销时间,格式为HHMMSSmmm
int16_t order_status; // 组合委托状态,参考OrderStatus定义
int16_t oper_status; // 组合委托操作状态,参考ExerciseOperateStatus定义
int64_t volume; // 委托数量
int64_t cancel_volume; // 撤销数量
int32_t err_code; // 委托失败时的错误码
char err_msg[LEN_ERR_MSG]; // 委托失败时的错误消息,Windows是GBK,Linux是UTF8
};
// 组合行权明细数据
struct CombExerciseDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char call_symbol[LEN_SYMBOL]; // 认购合约代码,格式为市场.合约ID,例如SHOP.10002421
char put_symbol[LEN_SYMBOL]; // 认沽合约代码,格式为市场.合约ID,例如SHOP.10002401
char cl_order_id[LEN_ID]; // 客户端订单id,由用户自定义,用来引用一个普通订单
char order_id[LEN_ID]; // 柜台组合行权委托编号
int32_t order_date; // 申报日期,格式为YYYYMMDD
int32_t order_time; // 申报时间,格式为HHMMSSmmm
int32_t cancel_time; // 撤销时间,格式为HHMMSSmmm
int16_t exercise_status; // 合并行权状态,参考ExerciseStatus定义
int16_t oper_status; // 行权操作状态,参考ExerciseOperateStatus定义
int64_t volume; // 行权数量
int64_t cancel_volume; // 撤销数量
int32_t err_code; // 行权失败时的错误码
char err_msg[LEN_ERR_MSG]; // 行权失败时的错误消息,Windows是GBK,Linux是UTF8
};
// 组合持仓明细数据
struct CombPositionDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char symbol[LEN_SYMBOL]; // 组合合约代码,格式为市场.合约ID&合约ID,例如SHOP.10002421&10002401
int16_t comb_strategy; // 组合策略类型,参考OptionCombineStrategy定义
int64_t volume; // 持仓总数量
int64_t avail_volume; // 持仓可用数量
int64_t yesterday_volume; // 昨日持仓量
int64_t yesterday_avail_volume; // 昨日可用持仓量
int64_t today_volume; // 今日买卖持仓量
int64_t today_avail_volume; // 今日买卖可用持仓量
int64_t margin; // 占用的保证金,扩大一万倍
int64_t frozen_margin; // 冻结的保证金,扩大一万倍
int64_t commission; // 手续费,扩大一万倍
int64_t frozen_commission; // 冻结的手续费,扩大一万倍
};
// 组合期权合约信息
struct CombContractInfo {
char contract_id[LEN_SYMBOL]; // 组合合约代码,格式为市场.合约ID&合约ID,例如SHOP.10002421&10002401
int16_t comb_strategy; // 组合策略类型,参考OptionCombineStrategy定义
char leg1_contract_id[LEN_SYMBOL]; // 成分一合约代码,格式为市场.证券ID或市场.合约ID
char leg1_name[LEN_SYMBOL_NAME]; // 成分一合约名称
int16_t leg1_side; // 策略要求的成分一合约多空方向,参考PositionSide定义
char leg2_contract_id[LEN_SYMBOL]; // 成分二合约代码,格式为市场.证券ID或市场.合约ID
char leg2_name[LEN_SYMBOL_NAME]; // 成分二合约名称
int16_t leg2_side; // 策略要求的成分二合约多空方向,参考PositionSide定义
};
// 锁券明细
struct LockSecurityDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int32_t sys_date; // 系统日期
char sno[LEN_ID]; // 锁券流水号
char symbol[LEN_SYMBOL]; // 标的代码,格式为市场.证券ID
char name[LEN_SYMBOL_NAME]; // 证券名称
int16_t lock_type; // 收费模式
int64_t used_fee_rate; // 融券费率
int64_t unused_fee_rate; // 管理费率
int32_t lock_qty; // 锁券数量
int32_t used_qty; // 已使用数量
int32_t back_qty; // 回收数量
int32_t begin_date; // 开始日期
int32_t back_date; // 归还日期
int32_t end_date; // 结束日期
};
// 锁券展期申请请求
struct ExtendLockSecurityReq {
int32_t sys_date; // 锁券日期
char sno[LEN_ID]; // 锁券流水号
int32_t apply_delay_days; // 申请展期天数
int64_t apply_used_fee_rate; // 申请使用费率
int64_t apply_unused_fee_rate; // 申请占用费率
int32_t apply_delay_qty; // 申请展期数量
char symbol[LEN_SYMBOL]; // 标的代码,格式为市场.证券ID,顶点两融必送
};
struct LockSecurityExtensionDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
int32_t apply_date; // 申请日期
int32_t apply_sno; // 申请流水号
int32_t sys_date; // 起始日(系统日期)
char sno[LEN_ID]; // 流水号
char symbol[LEN_SYMBOL]; // 锁定的标的代码,格式为市场.证券ID
char name[LEN_ID]; // 证券名称
int32_t apply_end_date; // 申请展期到期日
int32_t apply_delay_qty; // 申请展期股数
int64_t approval_used_fee_rate; // 审批融券费率
int64_t approval_unused_fee_rate; // 审批管理费率
int16_t approval_status; // 审批状态,参见ApprovalStatus定义
char approval_remark[LEN_ERR_MSG]; // 审批批注
};
// 资金划转流水明细数据
struct TransferFundDetail {
char account_id[LEN_ID]; // 交易账号
int16_t account_type; // 交易账号类型,参考AccountType定义
char serial_number[LEN_ID]; // 转移流水号
int32_t transact_date; // 处理日期YYYYMMDD
int32_t transact_time; // 处理时间HHMMSSmmm
int64_t transfer_value; // 转移金额,扩大1万倍
int16_t transfer_side; // 转入/转出,请参考TransferFundSide
int16_t transfer_status; // 转移状态,请参考TransferStatus
char remark[LEN_ERR_MSG]; // 备注
};
} // namespace HFT
#endif // _HFT_TRADER_STRUCT_H_
| C | 5 | funrunskypalace/vnpy | vnpy/api/hft/include/hft/hft_trader_struct.h | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CSettings
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "ProfilerClient.h"
ClassCount=6
Class1=CProfilerClientApp
Class2=CProfilerClientDlg
Class3=CAboutDlg
ResourceCount=6
Resource1=IDD_PROFILERCLIENT_DIALOG
Resource2=IDR_MAINFRAME
Resource3=IDD_SETTINGS
Resource4=IDD_EDIT_SERVER
Resource5=IDD_ABOUTBOX
Class4=CEditAlarm
Class5=CEditServer
Class6=CSettings
Resource6=IDD_EDIT_ALARM
[CLS:CProfilerClientApp]
Type=0
HeaderFile=ProfilerClient.h
ImplementationFile=ProfilerClient.cpp
Filter=N
[CLS:CProfilerClientDlg]
Type=0
HeaderFile=ProfilerClientDlg.h
ImplementationFile=ProfilerClientDlg.cpp
Filter=D
BaseClass=CDialog
VirtualFilter=dWC
LastObject=IDC_LIST1
[CLS:CAboutDlg]
Type=0
HeaderFile=ProfilerClientDlg.h
ImplementationFile=ProfilerClientDlg.cpp
Filter=D
[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889
[DLG:IDD_PROFILERCLIENT_DIALOG]
Type=1
Class=CProfilerClientDlg
ControlCount=3
Control1=IDC_STATUS,static,1342308352
Control2=IDC_BUTTON2,button,1342242816
Control3=IDC_TREE1,SysTreeView32,1350635527
[DLG:IDD_SETTINGS]
Type=1
Class=CSettings
ControlCount=15
Control1=IDC_LIST1,SysListView32,1350631425
Control2=IDC_BUTTON1,button,1342242816
Control3=IDC_BUTTON2,button,1342242816
Control4=IDC_BUTTON3,button,1342242816
Control5=IDC_BUTTON8,button,1342242816
Control6=IDC_LIST3,SysListView32,1350631425
Control7=IDC_BUTTON4,button,1342242816
Control8=IDC_BUTTON5,button,1342242816
Control9=IDC_BUTTON6,button,1342242816
Control10=IDC_EDIT1,edit,1350631552
Control11=IDC_BUTTON7,button,1342242816
Control12=IDOK,button,1342242816
Control13=IDC_STATIC,static,1342308352
Control14=IDC_STATIC,static,1342308352
Control15=IDC_STATIC,static,1342308352
[DLG:IDD_EDIT_SERVER]
Type=1
Class=CEditServer
ControlCount=7
Control1=IDC_EDIT1,edit,1350631552
Control2=IDC_EDIT2,edit,1350631552
Control3=IDC_CHECK1,button,1342242819
Control4=IDOK,button,1342242817
Control5=IDCANCEL,button,1342242816
Control6=IDC_STATIC,static,1342308352
Control7=IDC_STATIC,static,1342308352
[DLG:IDD_EDIT_ALARM]
Type=1
Class=CEditAlarm
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_CHECK1,button,1342242819
Control6=IDC_STATIC,static,1342308352
Control7=IDC_EDIT2,edit,1350631552
[CLS:CEditAlarm]
Type=0
HeaderFile=EditAlarm.h
ImplementationFile=EditAlarm.cpp
BaseClass=CDialog
Filter=D
LastObject=CEditAlarm
VirtualFilter=dWC
[CLS:CEditServer]
Type=0
HeaderFile=EditServer.h
ImplementationFile=EditServer.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
[CLS:CSettings]
Type=0
HeaderFile=Settings.h
ImplementationFile=Settings.cpp
BaseClass=CDialog
Filter=D
LastObject=IDC_BUTTON8
VirtualFilter=dWC
| Clarion | 2 | CarysT/medusa | Tools/ProfilerClient/ProfilerClient.clw | [
"MIT"
] |
(*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
(** Intermediate representation for classes and interfaces *)
include module type of Class_sig_intf
module Make (Env : Env_sig.S) (_ : Abnormal_sig.S with module Env := Env) (F : Func_sig.S) :
S with type func_sig = F.t and type func_params_tast = F.func_params_tast
| OCaml | 4 | zhangmaijun/flow | src/typing/class_sig.mli | [
"MIT"
] |
package {
import GZ.Sys.System;
<cpp>
#include "Lib_GzWeb_Emsc/Emscripten/EmscHeader.h"
</cpp>
/*
<cpp_static_h>
val oWindow = val::global("Null");
</cpp_static_h>
*/
public class OpSystem overplace System {
/*
public function OpSystem():Void{
System();
}
static function fSleep(_nMilliseconds : UInt = 1):Void {
}
static function fIni(_nInstance:UInt, _sCommandLine:String, _nShowCmd : UInt):Void{
}
static function fExit():Void;
*/
}
} | Redcode | 1 | VLiance/GZE | src/SubLib_System/Lib_GzWeb_Emsc/Emscripten/Sys/OpSystem.cw | [
"Apache-2.0"
] |
function isprime(n)
{
local i;
for (i = 2; i < n; ++i)
if (n % i == 0)
return false;
return true;
}
function primes(n)
{
local count = 0;
local i;
for (i = 2; i <= n; ++i)
if (isprime(i))
++count;
return count;
}
local N = 200000;
print("primes: " + primes(N) + "\n");
| Squirrel | 3 | walklang/walk | third_party/scripting_language_tests/prime.nut | [
"Apache-2.0"
] |
insert into td values (13, '61375a22', 4619933693154181067);
insert into td values (12, 'bce569ee', 8087760128111579208);
insert into td values (9, '61375a22', 2501249214340766673);
insert into td values (2, '61375a22', 1600326596351621369);
insert into td values (18, 'bce569ee', 3043846610385177219);
insert into td values (11, 'd506dcac', 169020885773637766);
insert into td values (6, '878953c3', 3102978774141056102);
insert into td values (15, '1d8ede06', 8177040548094666104);
insert into td values (3, '98f75e25', 442227276294056932);
insert into td values (19, '61375a22', 5453371549141321924);
insert into td values (7, '61375a22', 9085106755825191586);
insert into td values (14, '61375a22', 7174627045642804529);
insert into td values (20, '61375a22', 7759773814229015083);
insert into td values (10, '61375a22', 7246433967387654401);
insert into td values (8, '61375a22', 7868212083335997208);
insert into td values (5, '07d7a4d3', 116009058834652378);
insert into td values (16, 'bce569ee', 3149544167403849526);
insert into td values (4, '61375a22', 1036441664191435279);
insert into td values (1, 'bce569ee', 7343761187597299491);
insert into td values (17, 'bce569ee', 4505168548693639511);
| SQL | 2 | cuishuang/tidb | br/tests/lightning_duplicate_detection/data/dup_detect.td.0.sql | [
"Apache-2.0"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Color, RGBA } from 'vs/base/common/color';
import { localize } from 'vs/nls';
import { editorWidgetBorder, focusBorder, inputBackground, inputBorder, inputForeground, listHoverBackground, registerColor, selectBackground, selectBorder, selectForeground, checkboxBackground, checkboxBorder, checkboxForeground, transparent } from 'vs/platform/theme/common/colorRegistry';
import { PANEL_BORDER } from 'vs/workbench/common/theme';
// General setting colors
export const settingsHeaderForeground = registerColor('settings.headerForeground', { light: '#444444', dark: '#e7e7e7', hcDark: '#ffffff', hcLight: '#292929' }, localize('headerForeground', "The foreground color for a section header or active title."));
export const modifiedItemIndicator = registerColor('settings.modifiedItemIndicator', {
light: new Color(new RGBA(102, 175, 224)),
dark: new Color(new RGBA(12, 125, 157)),
hcDark: new Color(new RGBA(0, 73, 122)),
hcLight: new Color(new RGBA(102, 175, 224)),
}, localize('modifiedItemForeground', "The color of the modified setting indicator."));
export const settingsHeaderBorder = registerColor('settings.headerBorder', { dark: PANEL_BORDER, light: PANEL_BORDER, hcDark: PANEL_BORDER, hcLight: PANEL_BORDER }, localize('settingsHeaderBorder', "The color of the header container border."));
export const settingsSashBorder = registerColor('settings.sashBorder', { dark: PANEL_BORDER, light: PANEL_BORDER, hcDark: PANEL_BORDER, hcLight: PANEL_BORDER }, localize('settingsSashBorder', "The color of the Settings editor splitview sash border."));
// Enum control colors
export const settingsSelectBackground = registerColor(`settings.dropdownBackground`, { dark: selectBackground, light: selectBackground, hcDark: selectBackground, hcLight: selectBackground }, localize('settingsDropdownBackground', "Settings editor dropdown background."));
export const settingsSelectForeground = registerColor('settings.dropdownForeground', { dark: selectForeground, light: selectForeground, hcDark: selectForeground, hcLight: selectForeground }, localize('settingsDropdownForeground', "Settings editor dropdown foreground."));
export const settingsSelectBorder = registerColor('settings.dropdownBorder', { dark: selectBorder, light: selectBorder, hcDark: selectBorder, hcLight: selectBorder }, localize('settingsDropdownBorder', "Settings editor dropdown border."));
export const settingsSelectListBorder = registerColor('settings.dropdownListBorder', { dark: editorWidgetBorder, light: editorWidgetBorder, hcDark: editorWidgetBorder, hcLight: editorWidgetBorder }, localize('settingsDropdownListBorder', "Settings editor dropdown list border. This surrounds the options and separates the options from the description."));
// Bool control colors
export const settingsCheckboxBackground = registerColor('settings.checkboxBackground', { dark: checkboxBackground, light: checkboxBackground, hcDark: checkboxBackground, hcLight: checkboxBackground }, localize('settingsCheckboxBackground', "Settings editor checkbox background."));
export const settingsCheckboxForeground = registerColor('settings.checkboxForeground', { dark: checkboxForeground, light: checkboxForeground, hcDark: checkboxForeground, hcLight: checkboxForeground }, localize('settingsCheckboxForeground', "Settings editor checkbox foreground."));
export const settingsCheckboxBorder = registerColor('settings.checkboxBorder', { dark: checkboxBorder, light: checkboxBorder, hcDark: checkboxBorder, hcLight: checkboxBorder }, localize('settingsCheckboxBorder', "Settings editor checkbox border."));
// Text control colors
export const settingsTextInputBackground = registerColor('settings.textInputBackground', { dark: inputBackground, light: inputBackground, hcDark: inputBackground, hcLight: inputBackground }, localize('textInputBoxBackground', "Settings editor text input box background."));
export const settingsTextInputForeground = registerColor('settings.textInputForeground', { dark: inputForeground, light: inputForeground, hcDark: inputForeground, hcLight: inputForeground }, localize('textInputBoxForeground', "Settings editor text input box foreground."));
export const settingsTextInputBorder = registerColor('settings.textInputBorder', { dark: inputBorder, light: inputBorder, hcDark: inputBorder, hcLight: inputBorder }, localize('textInputBoxBorder', "Settings editor text input box border."));
// Number control colors
export const settingsNumberInputBackground = registerColor('settings.numberInputBackground', { dark: inputBackground, light: inputBackground, hcDark: inputBackground, hcLight: inputBackground }, localize('numberInputBoxBackground', "Settings editor number input box background."));
export const settingsNumberInputForeground = registerColor('settings.numberInputForeground', { dark: inputForeground, light: inputForeground, hcDark: inputForeground, hcLight: inputForeground }, localize('numberInputBoxForeground', "Settings editor number input box foreground."));
export const settingsNumberInputBorder = registerColor('settings.numberInputBorder', { dark: inputBorder, light: inputBorder, hcDark: inputBorder, hcLight: inputBorder }, localize('numberInputBoxBorder', "Settings editor number input box border."));
export const focusedRowBackground = registerColor('settings.focusedRowBackground', {
dark: transparent(listHoverBackground, .6),
light: transparent(listHoverBackground, .6),
hcDark: null,
hcLight: null,
}, localize('focusedRowBackground', "The background color of a settings row when focused."));
export const rowHoverBackground = registerColor('settings.rowHoverBackground', {
dark: transparent(listHoverBackground, .3),
light: transparent(listHoverBackground, .3),
hcDark: null,
hcLight: null
}, localize('settings.rowHoverBackground', "The background color of a settings row when hovered."));
export const focusedRowBorder = registerColor('settings.focusedRowBorder', {
dark: Color.white.transparent(0.12),
light: Color.black.transparent(0.12),
hcDark: focusBorder,
hcLight: focusBorder
}, localize('settings.focusedRowBorder', "The color of the row's top and bottom border when the row is focused."));
| TypeScript | 5 | KevinAo22/vscode | src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.ts | [
"MIT"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M3 13c0-2.45 1.76-4.47 4.08-4.91l-1.49 1.5L7 11l4-4.01L7 3 5.59 4.41l1.58 1.58v.06C3.7 6.46 1 9.42 1 13c0 3.87 3.13 7 7 7h3v-2H8c-2.76 0-5-2.24-5-5zm10 0v7h9v-7h-9zm7 5h-5v-3h5v3zM13 4h9v7h-9z"
}), 'MoveUpSharp'); | JavaScript | 3 | dany-freeman/material-ui | packages/mui-icons-material/lib/esm/MoveUpSharp.js | [
"MIT"
] |
{:duct.core/project-ns hello
:duct.core/environment :production
:duct.core/include ["hello/db" "hello/server"]
:duct.module/logging
{}
:duct.module.web/api
{}
; for benchmarking performance, disable logging
:duct.logger/timbre
{:enabled? false
:appenders {}
:level :error}
:duct.module/ataraxy
{[:get "/json"] [:json]
[:get "/plaintext"] [:plaintext]
[:get "/db"] [:single-query]
[:get "/db-mongo"] [:single-query-mongodb]
[:get "/queries" #{?queries}] [:queries]
[:get "/queries-mongo" #{?queries}] [:queries-mongodb]
[:get "/fortunes"] [:fortunes]
[:get "/fortunes-mongo"] [:fortunes-mongodb]}
[:duct.handler.static/ok :hello.handler/json]
{:body {:message "Hello, World!"}}
[:duct.handler.static/okplain :hello.handler/plaintext]
{:body "Hello, World!"}
:hello.handler/single-query
{:db #ig/ref :duct.database/sql}
:hello.handler/single-query-mongodb
{:db #ig/ref :duct.database.mongodb/monger}
:hello.handler/queries
{:db #ig/ref :duct.database/sql}
:hello.handler/queries-mongodb
{:db #ig/ref :duct.database.mongodb/monger}
:hello.handler/fortunes
{:db #ig/ref :duct.database/sql}
:hello.handler/fortunes-mongodb
{:db #ig/ref :duct.database.mongodb/monger}}
| edn | 4 | xsoheilalizadeh/FrameworkBenchmarks | frameworks/Clojure/duct/resources/hello/config.edn | [
"BSD-3-Clause"
] |
"""
The :mod:`sklearn.manifold` module implements data embedding techniques.
"""
from ._locally_linear import locally_linear_embedding, LocallyLinearEmbedding
from ._isomap import Isomap
from ._mds import MDS, smacof
from ._spectral_embedding import SpectralEmbedding, spectral_embedding
from ._t_sne import TSNE, trustworthiness
__all__ = [
"locally_linear_embedding",
"LocallyLinearEmbedding",
"Isomap",
"MDS",
"smacof",
"SpectralEmbedding",
"spectral_embedding",
"TSNE",
"trustworthiness",
]
| Python | 4 | MaiRajborirug/scikit-learn | sklearn/manifold/__init__.py | [
"BSD-3-Clause"
] |
// Copyright 2015 Cloudera Inc.
//
// 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.
//
//
// THIS FILE IS AUTO GENERATED BY generated_error_codes.py DO NOT MODIFY
// IT BY HAND.
//
namespace cpp impala
namespace java com.cloudera.impala.thrift
enum TErrorCode {
OK,
GENERAL,
CANCELLED,
ANALYSIS_ERROR,
NOT_IMPLEMENTED_ERROR,
RUNTIME_ERROR,
MEM_LIMIT_EXCEEDED,
INTERNAL_ERROR,
RECOVERABLE_ERROR,
PARQUET_MULTIPLE_BLOCKS,
PARQUET_COLUMN_METADATA_INVALID,
PARQUET_HEADER_PAGE_SIZE_EXCEEDED,
PARQUET_HEADER_EOF,
PARQUET_GROUP_ROW_COUNT_ERROR,
PARQUET_GROUP_ROW_COUNT_OVERFLOW,
PARQUET_MISSING_PRECISION,
PARQUET_WRONG_PRECISION,
PARQUET_BAD_CONVERTED_TYPE,
PARQUET_INCOMPATIBLE_DECIMAL,
SEQUENCE_SCANNER_PARSE_ERROR,
SNAPPY_DECOMPRESS_INVALID_BLOCK_SIZE,
SNAPPY_DECOMPRESS_INVALID_COMPRESSED_LENGTH,
SNAPPY_DECOMPRESS_UNCOMPRESSED_LENGTH_FAILED,
SNAPPY_DECOMPRESS_RAW_UNCOMPRESS_FAILED,
SNAPPY_DECOMPRESS_DECOMPRESS_SIZE_INCORRECT,
HDFS_SCAN_NODE_UNKNOWN_DISK,
FRAGMENT_EXECUTOR,
PARTITIONED_HASH_JOIN_MAX_PARTITION_DEPTH,
PARTITIONED_AGG_MAX_PARTITION_DEPTH,
MISSING_BUILTIN,
RPC_GENERAL_ERROR,
RPC_TIMEOUT,
UDF_VERIFY_FAILED,
PARQUET_CORRUPT_VALUE,
AVRO_DECIMAL_RESOLUTION_ERROR,
AVRO_DECIMAL_METADATA_MISMATCH,
AVRO_SCHEMA_RESOLUTION_ERROR,
AVRO_SCHEMA_METADATA_MISMATCH,
AVRO_UNSUPPORTED_DEFAULT_VALUE,
AVRO_MISSING_FIELD,
AVRO_MISSING_DEFAULT,
AVRO_NULLABILITY_MISMATCH,
AVRO_NOT_A_RECORD,
PARQUET_DEF_LEVEL_ERROR,
PARQUET_NUM_COL_VALS_ERROR,
PARQUET_DICT_DECODE_FAILURE,
SSL_PASSWORD_CMD_FAILED,
SSL_CERTIFICATE_PATH_BLANK,
SSL_PRIVATE_KEY_PATH_BLANK,
SSL_CERTIFICATE_NOT_FOUND,
SSL_PRIVATE_KEY_NOT_FOUND,
SSL_SOCKET_CREATION_FAILED,
MEM_ALLOC_FAILED,
PARQUET_REP_LEVEL_ERROR,
PARQUET_UNRECOGNIZED_SCHEMA,
COLLECTION_ALLOC_FAILED,
TMP_DEVICE_BLACKLISTED,
TMP_FILE_BLACKLISTED,
RPC_CLIENT_CONNECT_FAILURE,
STALE_METADATA_FILE_TOO_SHORT,
PARQUET_BAD_VERSION_NUMBER,
SCANNER_INCOMPLETE_READ,
SCANNER_INVALID_READ,
AVRO_BAD_VERSION_HEADER,
IMPALA_2598_KERBEROS_SSL_DISALLOWED
}
const list<string> TErrorMessage = [
// OK
"",
// GENERAL
"$0",
// CANCELLED
"$0",
// ANALYSIS_ERROR
"$0",
// NOT_IMPLEMENTED_ERROR
"$0",
// RUNTIME_ERROR
"$0",
// MEM_LIMIT_EXCEEDED
"$0",
// INTERNAL_ERROR
"$0",
// RECOVERABLE_ERROR
"$0",
// PARQUET_MULTIPLE_BLOCKS
"Parquet files should not be split into multiple hdfs-blocks. file=$0",
// PARQUET_COLUMN_METADATA_INVALID
"Column metadata states there are $0 values, but read $1 values from column $2. file=$3",
// PARQUET_HEADER_PAGE_SIZE_EXCEEDED
"(unused)",
// PARQUET_HEADER_EOF
"ParquetScanner: reached EOF while deserializing data page header. file=$0",
// PARQUET_GROUP_ROW_COUNT_ERROR
"Metadata states that in group $0($1) there are $2 rows, but $3 rows were read.",
// PARQUET_GROUP_ROW_COUNT_OVERFLOW
"(unused)",
// PARQUET_MISSING_PRECISION
"File '$0' column '$1' does not have the decimal precision set.",
// PARQUET_WRONG_PRECISION
"File '$0' column '$1' has a precision that does not match the table metadata precision. File metadata precision: $2, table metadata precision: $3.",
// PARQUET_BAD_CONVERTED_TYPE
"File '$0' column '$1' does not have converted type set to DECIMAL",
// PARQUET_INCOMPATIBLE_DECIMAL
"File '$0' column '$1' contains decimal data but the table metadata has type $2",
// SEQUENCE_SCANNER_PARSE_ERROR
"Problem parsing file $0 at $1$2",
// SNAPPY_DECOMPRESS_INVALID_BLOCK_SIZE
"Decompressor: block size is too big. Data is likely corrupt. Size: $0",
// SNAPPY_DECOMPRESS_INVALID_COMPRESSED_LENGTH
"Decompressor: invalid compressed length. Data is likely corrupt.",
// SNAPPY_DECOMPRESS_UNCOMPRESSED_LENGTH_FAILED
"Snappy: GetUncompressedLength failed",
// SNAPPY_DECOMPRESS_RAW_UNCOMPRESS_FAILED
"SnappyBlock: RawUncompress failed",
// SNAPPY_DECOMPRESS_DECOMPRESS_SIZE_INCORRECT
"Snappy: Decompressed size is not correct.",
// HDFS_SCAN_NODE_UNKNOWN_DISK
"Unknown disk id. This will negatively affect performance. Check your hdfs settings to enable block location metadata.",
// FRAGMENT_EXECUTOR
"Reserved resource size ($0) is larger than query mem limit ($1), and will be restricted to $1. Configure the reservation size by setting RM_INITIAL_MEM.",
// PARTITIONED_HASH_JOIN_MAX_PARTITION_DEPTH
"Cannot perform join at hash join node with id $0. The input data was partitioned the maximum number of $1 times. This could mean there is significant skew in the data or the memory limit is set too low.",
// PARTITIONED_AGG_MAX_PARTITION_DEPTH
"Cannot perform aggregation at hash aggregation node with id $0. The input data was partitioned the maximum number of $1 times. This could mean there is significant skew in the data or the memory limit is set too low.",
// MISSING_BUILTIN
"Builtin '$0' with symbol '$1' does not exist. Verify that all your impalads are the same version.",
// RPC_GENERAL_ERROR
"RPC Error: $0",
// RPC_TIMEOUT
"RPC timed out",
// UDF_VERIFY_FAILED
"Failed to verify function $0 from LLVM module $1, see log for more details.",
// PARQUET_CORRUPT_VALUE
"File $0 corrupt. RLE level data bytes = $1",
// AVRO_DECIMAL_RESOLUTION_ERROR
"Column '$0' has conflicting Avro decimal types. Table schema $1: $2, file schema $1: $3",
// AVRO_DECIMAL_METADATA_MISMATCH
"Column '$0' has conflicting Avro decimal types. Declared $1: $2, $1 in table's Avro schema: $3",
// AVRO_SCHEMA_RESOLUTION_ERROR
"Unresolvable types for column '$0': table type: $1, file type: $2",
// AVRO_SCHEMA_METADATA_MISMATCH
"Unresolvable types for column '$0': declared column type: $1, table's Avro schema type: $2",
// AVRO_UNSUPPORTED_DEFAULT_VALUE
"Field $0 is missing from file and default values of type $1 are not yet supported.",
// AVRO_MISSING_FIELD
"Inconsistent table metadata. Mismatch between column definition and Avro schema: cannot read field $0 because there are only $1 fields.",
// AVRO_MISSING_DEFAULT
"Field $0 is missing from file and does not have a default value.",
// AVRO_NULLABILITY_MISMATCH
"Field $0 is nullable in the file schema but not the table schema.",
// AVRO_NOT_A_RECORD
"Inconsistent table metadata. Field $0 is not a record in the Avro schema.",
// PARQUET_DEF_LEVEL_ERROR
"Could not read definition level, even though metadata states there are $0 values remaining in data page. file=$1",
// PARQUET_NUM_COL_VALS_ERROR
"Mismatched number of values in column index $0 ($1 vs. $2). file=$3",
// PARQUET_DICT_DECODE_FAILURE
"Failed to decode dictionary-encoded value. file=$0",
// SSL_PASSWORD_CMD_FAILED
"SSL private-key password command ('$0') failed with error: $1",
// SSL_CERTIFICATE_PATH_BLANK
"The SSL certificate path is blank",
// SSL_PRIVATE_KEY_PATH_BLANK
"The SSL private key path is blank",
// SSL_CERTIFICATE_NOT_FOUND
"The SSL certificate file does not exist at path $0",
// SSL_PRIVATE_KEY_NOT_FOUND
"The SSL private key file does not exist at path $0",
// SSL_SOCKET_CREATION_FAILED
"SSL socket creation failed: $0",
// MEM_ALLOC_FAILED
"Memory allocation of $0 bytes failed",
// PARQUET_REP_LEVEL_ERROR
"Could not read repetition level, even though metadata states there are $0 values remaining in data page. file=$1",
// PARQUET_UNRECOGNIZED_SCHEMA
"File '$0' has an incompatible Parquet schema for column '$1'. Column type: $2, Parquet schema:\n$3",
// COLLECTION_ALLOC_FAILED
"Failed to allocate buffer for collection '$0'.",
// TMP_DEVICE_BLACKLISTED
"Temporary device for directory $0 is blacklisted from a previous error and cannot be used.",
// TMP_FILE_BLACKLISTED
"Temporary file $0 is blacklisted from a previous error and cannot be expanded.",
// RPC_CLIENT_CONNECT_FAILURE
"RPC client failed to connect: $0",
// STALE_METADATA_FILE_TOO_SHORT
"Metadata for file '$0' appears stale. Try running \"refresh $1\" to reload the file metadata.",
// PARQUET_BAD_VERSION_NUMBER
"File '$0' has an invalid version number: $1\nThis could be due to stale metadata. Try running \"refresh $2\".",
// SCANNER_INCOMPLETE_READ
"Tried to read $0 bytes but could only read $1 bytes. This may indicate data file corruption. (file $2, byte offset: $3)",
// SCANNER_INVALID_READ
"Invalid read of $0 bytes. This may indicate data file corruption. (file $1, byte offset: $2)",
// AVRO_BAD_VERSION_HEADER
"File '$0' has an invalid version header: $1\nMake sure the file is an Avro data file.",
// IMPALA_2598_KERBEROS_SSL_DISALLOWED
"Enabling server-to-server SSL connections in conjunction with Kerberos authentication is not supported at the same time. Disable server-to-server SSL by unsetting --ssl_client_ca_certificate."
] | Thrift | 4 | kokosing/hue | apps/impala/thrift/ErrorCodes.thrift | [
"Apache-2.0"
] |
.*==============================================================*\
.* *
.* File.ipf - Information Tag Language file for the File menu *
.* help panels. *
.* Copyright (C) 1996 xTech Ltd. All rights reserved. *
.* Copyright 1991 IBM Corporation *
.* *
.*==============================================================*/
.*--------------------------------------------------------------*\
.* Main file menu *
.* res = PANEL_FILE *
.*--------------------------------------------------------------*/
:h1 res=2210 name=PANEL_FILE.File Menu
:i1 id=File.File Menu
:p.The File menu contains commands that you use to create, open,
and save data files. In addition, it also contains the
command that you use to exit the Sample application. The following
commands appear in the File menu:
:parml tsize=15 break=none.
:pt.New
:pd.Creates a new untitled file
:pt.Open
:pd.Opens an existing file
:pt.Save
:pd.Saves any changes to current file
:pt.Save As
:pd.Saves the current file using a new name
:pt.Exit
:pd.Quits the Sample application
:eparml.
.*--------------------------------------------------------------*\
.* File menu New command help panel *
.* res = PANEL_FILENEW *
.*--------------------------------------------------------------*/
:h1 res=2220 name=PANEL_FILENEW.New
:i2 refid=File.New
:p. You can create a new file in the Sample application window by
using the New command. To create a new file, do the following:
:ul.
:li.Select the File menu and choose the New command.
:eul.
:p. The word "Untitled" appears in the title bar of the new file.
.*--------------------------------------------------------------*\
.* File menu Open command help panel *
.* res = PANEL_FILEOPEN *
.*--------------------------------------------------------------*/
:h1 res=2230 name=PANEL_FILEOPEN.Open
:i2 refid=File.Open
:p.You can open a file that exists on any drive or in any directory
by using the Open command. To open a file, do the following:
:ul.
:li.Select the File menu and choose the Open command.
:eul.
:p.A dialog box appears, showing you a list of files in the current
directory.
.*--------------------------------------------------------------*\
.* File menu Save command help panel *
.* res = PANEL_FILESAVE *
.*--------------------------------------------------------------*/
:h1 res=2240 name=PANEL_FILESAVE.Save
:i2 refid=File.Save
:p.You use the Save command to save changes you've made to your file.
To save changes to the current file, do the following:
:ul.
:li.Select the File menu and choose the Save command.
:eul.
.*--------------------------------------------------------------*\
.* File menu Save As command help panel *
.* res = PANEL_FILESAVEAS *
.*--------------------------------------------------------------*/
:h1 res=2250 name=PANEL_FILESAVEAS.Save As
:i2 refid=File.Save As
:p.You use the Save As command to name and save a new file.
:p.Follow these steps to save a new file:
:ol.
:li.Select the File menu and choose the Save As command.
:eol.
:p.A dialog box appears, prompting you for a new filename.
.*--------------------------------------------------------------*\
.* File menu Exit command help panel *
.* res = PANEL_FILEEXIT *
.*--------------------------------------------------------------*/
:h1 res=2290 name=PANEL_FILEEXIT.Exit
:i2 refid=File.Exit
:p.You quit the Sample application by using the Exit command. To
quit the Sample application, do the following:
:ol.
:li.Select the File menu and choose the Exit command.
:eol.
.***********************************************************************
.*Help for Open Dialog box (D)
:h1 hide res=4163 scroll=none titlebar=yes group=1 id=A9003.Help for Open
.***********************************************************************
:link reftype=hd res=20500 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20600 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20500 nosearch noprint.Help for Open
:ol compact.
:li.Select the down arrow to the right of the :hp2.Drive:ehp2. list to display
all the drives on your system.
:li.Select a drive from the :hp2.Drive:ehp2. list.
:li.Select a directory from the :hp2.Directory:ehp2. list.
:li.Select a file name from the :hp2.File:ehp2. list or type in a file name
and select the :hp2.Open:ehp2. pushbutton to display
the file you want to edit.
:eol.
:p.For specific help, select a topic below.
:h1 hide res=20600 nosearch noprint.List of Fields
:dl compact tsize=20.
:dt.:link reftype=hd res=20501 group=20.File name:elink.
:dd.:link reftype=hd res=20502 group=21.Type of file:elink.
:dt.:link reftype=hd res=20503 group=22.Drive:elink.
:dd.:link reftype=hd res=20504 group=23.File:elink.
:dt.:link reftype=hd res=20505 group=24.Directory:elink.
:dd.:link reftype=hd res=20506 group=25.Open pushbutton:elink.
:edl.
.***********************************************************************
.*Help for File name (F)
:h1 hide res=20501 scroll=none titlebar=yes group=26 nosearch noprint.Help for File name
:link reftype=hd res=20550 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20550 nosearch.Help for File name
:p.Type the name of the file you want to open in the
:hp2.File name:ehp2. field
and select the :hp2.Open:ehp2. pushbutton.
:p.For more help, select a topic below.
:h1 hide res=20650 nosearch noprint.List of Fields
:dl compact tsize=20.
:dt.:link reftype=hd res=20501 group=27.File name:elink.
:dd.:link reftype=hd res=20502 group=28.Type of file:elink.
:dt.:link reftype=hd res=20503 group=29.Drive:elink.
:dd.:link reftype=hd res=20504 group=30.File:elink.
:dt.:link reftype=hd res=20505 group=31.Directory:elink.
:dd.:link reftype=hd res=20506 group=32.Open pushbutton:elink.
:dt.
:dd.:link reftype=hd res=4163 group=33.General help:elink.
:edl.
.************************************************************************
.*Help for Type of file (F)
:h1 hide res=20502 scroll=none titlebar=yes group=38 nosearch noprint.Help for Type of file
:link reftype=hd res=20552 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20552 group=39 nosearch.Help for Type of file
:p.Select the down arrow to the right of the :hp2.Type of file:ehp2. field to
display the available file types. The sample has set this field for
all file types.
:p.For more help, select a topic below.
.***********************************************************************
.*Help for Drive (F)
:h1 hide res=20503 scroll=none titlebar=yes group=11 nosearch noprint.Help for Drive
:link reftype=hd res=20553 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20553 group=40 nosearch.Help for Drive
:p.The :hp2.Drive:ehp2. list displays the drives on your system. Select the
drive that contains the files you want to edit.
:p.For more help, select a topic below.
.***************************************************************************
.*Help for File (F)
:h1 hide res=20504 scroll=none titlebar=yes group=11 nosearch noprint.Help for File
:link reftype=hd res=20554 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20554 group=42 nosearch.Help for File
:p.The :hp2.File:ehp2. list displays all the files in the directory
you selected from the :hp2.Directory:ehp2. list. Select the file you want
to open.
:p.For more help, select a topic below.
.***************************************************************************
.*Help for Directory (F)
:h1 hide res=20505 scroll=none titlebar=yes group=11 nosearch noprint.Help for Directory
:link reftype=hd res=20555 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20555 group=43 nosearch.Help for Directory
:p.The :hp2.Directory:ehp2. list displays the directories on the selected
drive. Select a directory to display the list of files from that directory
in the :hp2.File:ehp2. list box.
:p.For more help, select a topic below.
.*************************************************************************
.*Help for Open pushbutton (PU)
:h1 hide res=20506 scroll=none titlebar=yes group=17 nosearch noprint.Help for Open
:link reftype=hd res=20556 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=20650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=20556 group=44 nosearch.Help for Open
:p.Select the :hp2.Open:ehp2. pushbutton to display
the file you want to edit.
:p.For more help, select a topic below.
.*************************************************************************
.*Help for Save (PD)
:h1 hide res=4192 id=A4192 nosearch.Help for Save
:p.Use :hp2.Save:ehp2. to store the file you are editing. After the file
is saved, the text remains in the window so that you can continue editing it.
:nt.If you are editing a new file, select the :hp2.Save:ehp2. or :hp2.Save
as:ehp2. choices to display the :hp2.Save as:ehp2. pop-up so that you can name
the file you are editing. A file must have a title to be saved.
.**************************************************************************
.*Help for Save As (PD)
:h1 hide res=4208 id=A4208 nosearch.Help for Save as
:p.Use :hp2.Save as:ehp2. to name and save a new file or to save an existing
file under a different name, in a different directory, or on a different disk.
.**************************************************************************
.*Help for Save As Dialog box (D)
:h1 hide res=4210 scroll=none titlebar=yes group=100 id=A9004.Help for Save as
:link reftype=hd res=26500 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26600 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26500 nosearch noprint.Help for Save as
:ol compact.
:li.Select the down arrow to the right of the :hp2.Drive:ehp2. list to display
all the drives on your system.
:li.Select a drive from the :hp2.Drive:ehp2. list.
:li.Select a directory from the :hp2.Directory:ehp2. list.
:li.Type the name of the file you want to save in the :hp2.File name:ehp2. field
and select the :hp2.Save:ehp2. pushbutton.
:eol.
:p.For specific help, select a topic below.
:h1 hide res=26600 nosearch noprint.List of Fields
:dl compact tsize=20.
:dt.:link reftype=hd res=26501 group=200.File name:elink.
:dd.:link reftype=hd res=26502 group=210.Type of file:elink.
:dt.:link reftype=hd res=26503 group=220.Drive:elink.
:dd.:link reftype=hd res=26504 group=230.File:elink.
:dt.:link reftype=hd res=26505 group=240.Directory:elink.
:dd.:link reftype=hd res=26506 group=250.Save pushbutton:elink.
:edl.
.***********************************************************************
.*Help for File name (F)
:h1 hide res=26501 scroll=none titlebar=yes group=260 nosearch noprint.Help for File name
:link reftype=hd res=26550 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26550 nosearch.Help for File name
:p.Type the name of the file you want to save in the
:hp2.File name:ehp2. field
and select the :hp2.Save:ehp2. pushbutton.
:p.For more help, select a topic below.
:h1 hide res=26650 nosearch noprint.List of Fields
:dl compact tsize=20.
:dt.:link reftype=hd res=26501 group=270.File name:elink.
:dd.:link reftype=hd res=26502 group=280.Type of file:elink.
:dt.:link reftype=hd res=26503 group=290.Drive:elink.
:dd.:link reftype=hd res=26504 group=300.File:elink.
:dt.:link reftype=hd res=26505 group=310.Directory:elink.
:dd.:link reftype=hd res=26506 group=320.Save pushbutton:elink.
:dt.:link reftype=hd res=4210 group=330.General help:elink.
:dd.
:edl.
.************************************************************************
.*Help for Type of file (F)
:h1 hide res=26502 scroll=none titlebar=yes group=380 nosearch noprint.Help for Type of file
:link reftype=hd res=26552 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26552 group=390 nosearch.Help for Type of file
:p.Select the down arrow to the right of the :hp2.Type of file:ehp2. field to
display the available file types. The sample has set this field for
all file types.
:p.For more help, select a topic below.
.***********************************************************************
.*Help for Drive (F)
:h1 hide res=26503 scroll=none titlebar=yes group=110 nosearch noprint.Help for Drive
:link reftype=hd res=26553 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26553 group=400 nosearch.Help for Drive
:p.The :hp2.Drive:ehp2. list displays the drives on your system. Select the
drive that contains the files you want to save.
:p.For more help, select a topic below.
.***************************************************************************
.*Help for File (F)
:h1 hide res=26504 scroll=none titlebar=yes group=120 nosearch noprint.Help for File
:link reftype=hd res=26554 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26554 group=420 nosearch.Help for File
:p.The :hp2.File:ehp2. list displays all the files in the directory
you selected from the :hp2.Directory:ehp2. list. Select the file you want
to rename and save.
:p.For more help, select a topic below.
.***************************************************************************
.*Help for Directory (F)
:h1 hide res=26505 scroll=none titlebar=yes group=11 nosearch noprint.Help for Directory
:link reftype=hd res=26555 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26555 group=430 nosearch.Help for Directory
:p.The :hp2.Directory:ehp2. list displays the directories on the selected
drive. Select a directory to display the list of files from that directory
in the :hp2.File:ehp2. list box.
:p.For more help, select a topic below.
.*************************************************************************
.*Help for Save pushbutton (PU)
:h1 hide res=26506 scroll=none titlebar=yes group=170 nosearch noprint.Help for Save
:link reftype=hd res=26556 vpx=left vpy=top vpcx=100% vpcy=70% scroll=vertical rules=border titlebar=none child auto.
:link reftype=hd res=26650 vpx=left vpy=bottom vpcx=100% vpcy=30% scroll=vertical rules=none titlebar=none child auto.
:h1 hide res=26556 group=440 nosearch.Help for Save
:p.Select the :hp2.Save:ehp2. pushbutton to save the
file to the drive and directory you selected and with the file name
you specified.
:p.For more help, select a topic below.
.*************************************************************************
| IGOR Pro | 3 | zanud/xds-2.60 | misc/Samples/OS2/Template/HLP/file.ipf | [
"Apache-2.0"
] |
#!/usr/bin/env bash
# Copyright 2016 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# A simple script to compare differences between
# assembly listings for packages built with different
# compiler flags. It is useful to inspect the impact
# of a compiler change across all std lib packages.
#
# The script builds the std library (make.bash) once
# with FLAGS1 and once with FLAGS2 and compares the
# "go build <pkg>" assembly output for each package
# and lists the packages with differences.
#
# It leaves and old.txt and new.txt file in the package
# directories for the packages with differences.
FLAGS1="-newexport=0"
FLAGS2="-newexport=1"
echo
echo
echo "1a) clean build using $FLAGS1"
(export GO_GCFLAGS="$FLAGS1"; sh make.bash)
echo
echo
echo "1b) save go build output for all packages"
for pkg in `go list std`; do
echo $pkg
DIR=$GOROOT/src/$pkg
go build -gcflags "$FLAGS1 -S" -o /dev/null $pkg &> $DIR/old.txt
done
echo
echo
echo "2a) clean build using $FLAGS2"
(export GO_GCFLAGS="$FLAGS2"; sh make.bash)
echo
echo
echo "2b) save go build output for all packages"
for pkg in `go list std`; do
echo $pkg
DIR=$GOROOT/src/$pkg
go build -gcflags "$FLAGS2 -S" -o /dev/null $pkg &> $DIR/new.txt
done
echo
echo
echo "3) compare assembly files"
for pkg in `go list std`; do
DIR=$GOROOT/src/$pkg
if cmp $DIR/old.txt $DIR/new.txt &> /dev/null
then rm $DIR/old.txt $DIR/new.txt
else echo "==> $DIR"
fi
done
| Shell | 5 | Havoc-OS/androidprebuilts_go_linux-x86 | src/cmp.bash | [
"BSD-3-Clause"
] |
#define MyAppName "pGina"
#define MyAppVersion "3.2.1.0"
#define MyAppPublisher "pGina Team"
#define MyAppURL "http://www.pgina.org/"
#define MyAppExeName "pGina.Configuration.exe"
#define MyAppSetupName 'pGina'
#define SetupScriptVersion '0'
; Use some useful packaging stuff from: http://tonaday.blogspot.com/2010/12/innosetup.html
// dotnet_Passive enabled shows the .NET/VC2012 installation progress, as it can take quite some time
#define dotnet_Passive
#define use_dotnetfx40
#define use_vc2012
// Enable the required define(s) below if a local event function (prepended with Local) is used
//#define haveLocalPrepareToInstall
//#define haveLocalNeedRestart
//#define haveLocalNextButtonClick
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppID={{3D8D0F0D-7DBF-400C-9C44-00BD21986138}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} v{#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=true
LicenseFile=..\LICENSE
OutputBaseFilename=pGinaSetup-{#MyAppVersion}
SetupIconFile=..\pGina\src\Configuration\Resources\pginaicon_redcircle.ico
Compression=lzma/Max
SolidCompression=true
AppCopyright=pGina Team
ExtraDiskSpaceRequired=6
DisableDirPage=auto
AlwaysShowDirOnReadyPage=yes
AlwaysShowGroupOnReadyPage=yes
DisableProgramGroupPage=auto
ArchitecturesInstallIn64BitMode=x64 ia64
[Languages]
Name: "en"; MessagesFile: "compiler:Default.isl"
;Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "..\pGina\src\bin\pGina.Configuration.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\pGina\src\bin\*.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\pGina\src\bin\*.dll"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\pGina\src\bin\*.xml"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\pGina\src\bin\*.config"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Plugins\Core\bin\*.dll"; DestDir: "{app}\Plugins\Core"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Plugins\Contrib\bin\*.dll"; DestDir: "{app}\Plugins\Contrib"; Flags: ignoreversion recursesubdirs createallsubdirs
;Source: "..\Plugins\bin\*.xml"; DestDir: "{app}\Plugins"; Flags: ignoreversion recursesubdirs createallsubdirs
;Source: "..\Plugins\bin\*.config"; DestDir: "{app}\Plugins"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\pGina.InstallUtil.exe"; Parameters: "post-install"; StatusMsg: "Installing service, CP/GINA, and setting permissions..."; WorkingDir: "{app}"; Flags: runhidden
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent runascurrentuser
[UninstallRun]
Filename: "{app}\pGina.InstallUtil.exe"; Parameters: "post-uninstall"; StatusMsg: "Removing service and CP/GINA..."; WorkingDir: "{app}"; Flags: runhidden
; More custom stuff from [] for ensuring user gets everything needed
#include "scripts\products.iss"
#include "scripts\products\winversion.iss"
#include "scripts\products\fileversion.iss"
#ifdef use_dotnetfx40
#include "scripts\products\dotnetfx40client.iss"
#include "scripts\products\dotnetfx40full.iss"
#endif
#ifdef use_vc2012
#include "scripts\products\vc2012.iss"
#endif
#include "scripts\services.iss"
[CustomMessages]
win2000sp3_title=Windows 2000 Service Pack 3
winxpsp2_title=Windows XP Service Pack 2
winxpsp3_title=Windows XP Service Pack 3
#expr SaveToFile(AddBackslash(SourcePath) + "Preprocessed"+MyAppSetupname+SetupScriptVersion+".iss")
[Code]
function InitializeSetup(): Boolean;
begin
//init windows version
initwinversion();
//check if dotnetfx20 can be installed on this OS
//if not minwinspversion(5, 0, 3) then begin
// MsgBox(FmtMessage(CustomMessage('depinstall_missing'), [CustomMessage('win2000sp3_title')]), mbError, MB_OK);
// exit;
//end;
if not minwinspversion(5, 1, 3) then begin
MsgBox(FmtMessage(CustomMessage('depinstall_missing'), [CustomMessage('winxpsp3_title')]), mbError, MB_OK);
exit;
end;
// If no .NET 4.0 framework found, install the full thing
#ifdef use_dotnetfx40
dotnetfx40full(false);
#endif
// Visual C++ 2012 Redistributable
#ifdef use_vc2012
vc2012();
#endif
Result := true;
end;
procedure DoPreInstall();
begin
// If our service is already installed, stop it!
if IsServiceInstalled('pGina') = true then begin
StopService('pGina');
end
end;
procedure DoPostInstall();
begin
// ...
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssInstall then begin
DoPreInstall();
end else if CurStep = ssPostInstall then begin
DoPostInstall();
end;
end;
| Inno Setup | 5 | jxliujinyue/pgina | Installer/installer.iss | [
"BSD-3-Clause"
] |
# ------------------------------------------------------------------------------
# Author
# ------
#
# * Jerry Ling<jerryling315@gmail.com>
#
# ------------------------------------------------------------------------------
# Usage
# -----
#
# man will be inserted before the command
#
# ------------------------------------------------------------------------------
man-command-line() {
# if there is no command typed, use the last command
[[ -z "$BUFFER" ]] && zle up-history
# if typed command begins with man, do nothing
[[ "$BUFFER" = man\ * ]] && return
# get command and possible subcommand
# http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion-Flags
local -a args
args=(${${(Az)BUFFER}[1]} ${${(Az)BUFFER}[2]})
# check if man page exists for command and first argument
if man "${args[1]}-${args[2]}" >/dev/null 2>&1; then
BUFFER="man $args"
else
BUFFER="man ${args[1]}"
fi
}
zle -N man-command-line
# Defined shortcut keys: [Esc]man
bindkey "\e"man man-command-line
| Shell | 4 | chensanle/ohmyzsh | plugins/man/man.plugin.zsh | [
"MIT"
] |
%% -*- prolog -*-
%%=============================================================================
%% Copyright (C) 2011 by Denys Duchier
%%
%% This program is free software: you can redistribute it and/or modify it
%% under the terms of the GNU Lesser General Public License as published by the
%% Free Software Foundation, either version 3 of the License, or (at your
%% option) any later version.
%%
%% This program is distributed in the hope that it will be useful, but WITHOUT
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
%% more details.
%%
%% You should have received a copy of the GNU Lesser General Public License
%% along with this program. If not, see <http://www.gnu.org/licenses/>.
%%=============================================================================
is_RestartMode_('RM_NONE').
is_RestartMode_('RM_CONSTANT').
is_RestartMode_('RM_LINEAR').
is_RestartMode_('RM_LUBY').
is_RestartMode_('RM_GEOMETRIC').
is_RestartMode_('RM_NONE','RM_NONE').
is_RestartMode_('RM_CONSTANT','RM_CONSTANT').
is_RestartMode_('RM_LINEAR','RM_LINEAR').
is_RestartMode_('RM_LUBY','RM_LUBY').
is_RestartMode_('RM_GEOMETRIC','RM_GEOMETRIC').
is_RestartMode(X,Y) :- nonvar(X), is_RestartMode_(X,Y).
is_RestartMode(X) :- is_RestartMode_(X,_).
is_FloatRelType_('FRT_EQ').
is_FloatRelType_('FRT_NQ').
is_FloatRelType_('FRT_LQ').
is_FloatRelType_('FRT_LE').
is_FloatRelType_('FRT_GQ').
is_FloatRelType_('FRT_GR').
is_FloatRelType_('FRT_EQ','FRT_EQ').
is_FloatRelType_('FRT_NQ','FRT_NQ').
is_FloatRelType_('FRT_LQ','FRT_LQ').
is_FloatRelType_('FRT_LE','FRT_LE').
is_FloatRelType_('FRT_GQ','FRT_GQ').
is_FloatRelType_('FRT_GR','FRT_GR').
is_FloatRelType(X,Y) :- nonvar(X), is_FloatRelType_(X,Y).
is_FloatRelType(X) :- is_FloatRelType_(X,_).
is_ReifyMode_('RM_EQV').
is_ReifyMode_('RM_IMP').
is_ReifyMode_('RM_PMI').
is_ReifyMode_('RM_EQV','RM_EQV').
is_ReifyMode_('RM_IMP','RM_IMP').
is_ReifyMode_('RM_PMI','RM_PMI').
is_ReifyMode(X,Y) :- nonvar(X), is_ReifyMode_(X,Y).
is_ReifyMode(X) :- is_ReifyMode_(X,_).
is_IntRelType_('IRT_EQ').
is_IntRelType_('IRT_NQ').
is_IntRelType_('IRT_LQ').
is_IntRelType_('IRT_LE').
is_IntRelType_('IRT_GQ').
is_IntRelType_('IRT_GR').
is_IntRelType_('IRT_EQ','IRT_EQ').
is_IntRelType_('IRT_NQ','IRT_NQ').
is_IntRelType_('IRT_LQ','IRT_LQ').
is_IntRelType_('IRT_LE','IRT_LE').
is_IntRelType_('IRT_GQ','IRT_GQ').
is_IntRelType_('IRT_GR','IRT_GR').
is_IntRelType(X,Y) :- nonvar(X), is_IntRelType_(X,Y).
is_IntRelType(X) :- is_IntRelType_(X,_).
is_BoolOpType_('BOT_AND').
is_BoolOpType_('BOT_OR').
is_BoolOpType_('BOT_IMP').
is_BoolOpType_('BOT_EQV').
is_BoolOpType_('BOT_XOR').
is_BoolOpType_('BOT_AND','BOT_AND').
is_BoolOpType_('BOT_OR','BOT_OR').
is_BoolOpType_('BOT_IMP','BOT_IMP').
is_BoolOpType_('BOT_EQV','BOT_EQV').
is_BoolOpType_('BOT_XOR','BOT_XOR').
is_BoolOpType(X,Y) :- nonvar(X), is_BoolOpType_(X,Y).
is_BoolOpType(X) :- is_BoolOpType_(X,_).
is_IntPropLevel_('IPL_DEF').
is_IntPropLevel_('IPL_VAL').
is_IntPropLevel_('IPL_BND').
is_IntPropLevel_('IPL_DOM').
is_IntPropLevel_('IPL_BASIC').
is_IntPropLevel_('IPL_ADVANCED').
is_IntPropLevel_('IPL_BASIC_ADVANCED').
is_IntPropLevel_('IPL_DEF','IPL_DEF').
is_IntPropLevel_('IPL_VAL','IPL_VAL').
is_IntPropLevel_('IPL_BND','IPL_BND').
is_IntPropLevel_('IPL_DOM','IPL_DOM').
is_IntPropLevel_('IPL_BASIC','IPL_BASIC').
is_IntPropLevel_('IPL_ADVANCED','IPL_ADVANCED').
is_IntPropLevel_('IPL_BASIC_ADVANCED','IPL_BASIC_ADVANCED').
is_IntPropLevel(X,Y) :- nonvar(X), is_IntPropLevel_(X,Y).
is_IntPropLevel(X) :- is_IntPropLevel_(X,_).
is_TaskType_('TT_FIXP').
is_TaskType_('TT_FIXS').
is_TaskType_('TT_FIXE').
is_TaskType_('TT_FIXP','TT_FIXP').
is_TaskType_('TT_FIXS','TT_FIXS').
is_TaskType_('TT_FIXE','TT_FIXE').
is_TaskType(X,Y) :- nonvar(X), is_TaskType_(X,Y).
is_TaskType(X) :- is_TaskType_(X,_).
is_TraceEvent_('TE_INIT').
is_TraceEvent_('TE_PRUNE').
is_TraceEvent_('TE_FIX').
is_TraceEvent_('TE_FAIL').
is_TraceEvent_('TE_DONE').
is_TraceEvent_('TE_PROPAGATE').
is_TraceEvent_('TE_COMMIT').
is_TraceEvent_('TE_INIT','TE_INIT').
is_TraceEvent_('TE_PRUNE','TE_PRUNE').
is_TraceEvent_('TE_FIX','TE_FIX').
is_TraceEvent_('TE_FAIL','TE_FAIL').
is_TraceEvent_('TE_DONE','TE_DONE').
is_TraceEvent_('TE_PROPAGATE','TE_PROPAGATE').
is_TraceEvent_('TE_COMMIT','TE_COMMIT').
is_TraceEvent(X,Y) :- nonvar(X), is_TraceEvent_(X,Y).
is_TraceEvent(X) :- is_TraceEvent_(X,_).
is_SetRelType_('SRT_EQ').
is_SetRelType_('SRT_NQ').
is_SetRelType_('SRT_SUB').
is_SetRelType_('SRT_SUP').
is_SetRelType_('SRT_DISJ').
is_SetRelType_('SRT_CMPL').
is_SetRelType_('SRT_LQ').
is_SetRelType_('SRT_LE').
is_SetRelType_('SRT_GQ').
is_SetRelType_('SRT_GR').
is_SetRelType_('SRT_EQ','SRT_EQ').
is_SetRelType_('SRT_NQ','SRT_NQ').
is_SetRelType_('SRT_SUB','SRT_SUB').
is_SetRelType_('SRT_SUP','SRT_SUP').
is_SetRelType_('SRT_DISJ','SRT_DISJ').
is_SetRelType_('SRT_CMPL','SRT_CMPL').
is_SetRelType_('SRT_LQ','SRT_LQ').
is_SetRelType_('SRT_LE','SRT_LE').
is_SetRelType_('SRT_GQ','SRT_GQ').
is_SetRelType_('SRT_GR','SRT_GR').
is_SetRelType(X,Y) :- nonvar(X), is_SetRelType_(X,Y).
is_SetRelType(X) :- is_SetRelType_(X,_).
is_SetOpType_('SOT_UNION').
is_SetOpType_('SOT_DUNION').
is_SetOpType_('SOT_INTER').
is_SetOpType_('SOT_MINUS').
is_SetOpType_('SOT_UNION','SOT_UNION').
is_SetOpType_('SOT_DUNION','SOT_DUNION').
is_SetOpType_('SOT_INTER','SOT_INTER').
is_SetOpType_('SOT_MINUS','SOT_MINUS').
is_SetOpType(X,Y) :- nonvar(X), is_SetOpType_(X,Y).
is_SetOpType(X) :- is_SetOpType_(X,_).
branch(X0,X1) :-
(is_Space_or_Clause(X0,Y0)
-> (is_std_function(X1,Y1)
-> gecode_constraint_branch_1(Y0,Y1)
; throw(error(type_error('std::function<void(Space&home)>'(X1)),gecode_argument_error(branch(X0,X1),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(branch(X0,X1),arg=1)))).
convex(X0,X1) :-
(is_Space_or_Clause(X0,Y0)
-> (is_SetVar(X1,Y1)
-> gecode_constraint_convex_2(Y0,Y1)
; throw(error(type_error('SetVar'(X1)),gecode_argument_error(convex(X0,X1),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(convex(X0,X1),arg=1)))).
convex(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_SetVar(X1,Y1)
-> (is_SetVar(X2,Y2)
-> gecode_constraint_convex_3(Y0,Y1,Y2)
; throw(error(type_error('SetVar'(X2)),gecode_argument_error(convex(X0,X1,X2),arg=3))))
; throw(error(type_error('SetVar'(X1)),gecode_argument_error(convex(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(convex(X0,X1,X2),arg=1)))).
abs(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> gecode_constraint_abs_4(Y0,Y1,Y2)
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(abs(X0,X1,X2),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_abs_5(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(abs(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(abs(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(abs(X0,X1,X2),arg=1)))).
abs(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_abs_6(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(abs(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(abs(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(abs(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(abs(X0,X1,X2,X3),arg=1)))).
argmax(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_argmax_7(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(argmax(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmax(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmax(X0,X1,X2),arg=1)))).
argmax(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_bool(X3,Y3)
-> gecode_constraint_argmax_8(Y0,Y1,Y2,Y3)
; throw(error(type_error(bool(X3)),gecode_argument_error(argmax(X0,X1,X2,X3),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_argmax_10(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(argmax(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(argmax(X0,X1,X2,X3),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmax(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmax(X0,X1,X2,X3),arg=1)))).
argmax(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_bool(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_argmax_9(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(bool(X3)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_bool(X4,Y4)
-> gecode_constraint_argmax_11(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(bool(X4)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmax(X0,X1,X2,X3,X4),arg=1)))).
argmax(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_bool(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_argmax_12(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(argmax(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(bool(X4)),gecode_argument_error(argmax(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(argmax(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(argmax(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmax(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmax(X0,X1,X2,X3,X4,X5),arg=1)))).
argmin(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_argmin_13(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(argmin(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmin(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmin(X0,X1,X2),arg=1)))).
argmin(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_bool(X3,Y3)
-> gecode_constraint_argmin_14(Y0,Y1,Y2,Y3)
; throw(error(type_error(bool(X3)),gecode_argument_error(argmin(X0,X1,X2,X3),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_argmin_16(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(argmin(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(argmin(X0,X1,X2,X3),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmin(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmin(X0,X1,X2,X3),arg=1)))).
argmin(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_bool(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_argmin_15(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(bool(X3)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_bool(X4,Y4)
-> gecode_constraint_argmin_17(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(bool(X4)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmin(X0,X1,X2,X3,X4),arg=1)))).
argmin(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_bool(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_argmin_18(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(argmin(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(bool(X4)),gecode_argument_error(argmin(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(argmin(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(argmin(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(argmin(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(argmin(X0,X1,X2,X3,X4,X5),arg=1)))).
assign(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolAssign(X2,Y2)
-> gecode_constraint_assign_19(Y0,Y1,Y2)
; throw(error(type_error('BoolAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatAssign(X2,Y2)
-> gecode_constraint_assign_21(Y0,Y1,Y2)
; throw(error(type_error('FloatAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntAssign(X2,Y2)
-> gecode_constraint_assign_23(Y0,Y1,Y2)
; throw(error(type_error('IntAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_SetVar(X1,Y1)
-> (is_SetAssign(X2,Y2)
-> gecode_constraint_assign_25(Y0,Y1,Y2)
; throw(error(type_error('SetAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_BoolAssign(X2,Y2)
-> gecode_constraint_assign_27(Y0,Y1,Y2)
; throw(error(type_error('BoolAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatAssign(X2,Y2)
-> gecode_constraint_assign_30(Y0,Y1,Y2)
; throw(error(type_error('FloatAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntAssign(X2,Y2)
-> gecode_constraint_assign_33(Y0,Y1,Y2)
; throw(error(type_error('IntAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetAssign(X2,Y2)
-> gecode_constraint_assign_36(Y0,Y1,Y2)
; throw(error(type_error('SetAssign'(X2)),gecode_argument_error(assign(X0,X1,X2),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(assign(X0,X1,X2),arg=2)))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(assign(X0,X1,X2),arg=1)))).
assign(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolAssign(X2,Y2)
-> (is_BoolVarValPrint(X3,Y3)
-> gecode_constraint_assign_20(Y0,Y1,Y2,Y3)
; throw(error(type_error('BoolVarValPrint'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('BoolAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatAssign(X2,Y2)
-> (is_FloatVarValPrint(X3,Y3)
-> gecode_constraint_assign_22(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVarValPrint'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntAssign(X2,Y2)
-> (is_IntVarValPrint(X3,Y3)
-> gecode_constraint_assign_24(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVarValPrint'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_SetVar(X1,Y1)
-> (is_SetAssign(X2,Y2)
-> (is_SetVarValPrint(X3,Y3)
-> gecode_constraint_assign_26(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetVarValPrint'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('SetAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_BoolAssign(X2,Y2)
-> (is_BoolBranchFilter(X3,Y3)
-> gecode_constraint_assign_28(Y0,Y1,Y2,Y3)
; throw(error(type_error('BoolBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('BoolAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatAssign(X2,Y2)
-> (is_FloatBranchFilter(X3,Y3)
-> gecode_constraint_assign_31(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntAssign(X2,Y2)
-> (is_IntBranchFilter(X3,Y3)
-> gecode_constraint_assign_34(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetAssign(X2,Y2)
-> (is_SetBranchFilter(X3,Y3)
-> gecode_constraint_assign_37(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('SetAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(assign(X0,X1,X2,X3),arg=2)))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(assign(X0,X1,X2,X3),arg=1)))).
assign(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolAssign(X2,Y2)
-> (is_BoolBranchFilter(X3,Y3)
-> (is_BoolVarValPrint(X4,Y4)
-> gecode_constraint_assign_29(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('BoolVarValPrint'(X4)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('BoolBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('BoolAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatAssign(X2,Y2)
-> (is_FloatBranchFilter(X3,Y3)
-> (is_FloatVarValPrint(X4,Y4)
-> gecode_constraint_assign_32(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('FloatVarValPrint'(X4)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('FloatAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntAssign(X2,Y2)
-> (is_IntBranchFilter(X3,Y3)
-> (is_IntVarValPrint(X4,Y4)
-> gecode_constraint_assign_35(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntVarValPrint'(X4)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=3))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetAssign(X2,Y2)
-> (is_SetBranchFilter(X3,Y3)
-> (is_SetVarValPrint(X4,Y4)
-> gecode_constraint_assign_38(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('SetVarValPrint'(X4)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('SetBranchFilter'(X3)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('SetAssign'(X2)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=2)))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(assign(X0,X1,X2,X3,X4),arg=1)))).
binpacking(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> gecode_constraint_binpacking_39(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(binpacking(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(binpacking(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(binpacking(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(binpacking(X0,X1,X2,X3),arg=1)))).
binpacking(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_binpacking_40(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(binpacking(X0,X1,X2,X3,X4),arg=1)))).
branch(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolValBranch(X2,Y2)
-> gecode_constraint_branch_41(Y0,Y1,Y2)
; throw(error(type_error('BoolValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatValBranch(X2,Y2)
-> gecode_constraint_branch_43(Y0,Y1,Y2)
; throw(error(type_error('FloatValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntValBranch(X2,Y2)
-> gecode_constraint_branch_45(Y0,Y1,Y2)
; throw(error(type_error('IntValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2),arg=3))))
; (is_SetVar(X1,Y1)
-> (is_SetValBranch(X2,Y2)
-> gecode_constraint_branch_47(Y0,Y1,Y2)
; throw(error(type_error('SetValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2),arg=3))))
; throw(error(type_error('SetVar'(X1)),gecode_argument_error(branch(X0,X1,X2),arg=2)))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(branch(X0,X1,X2),arg=1)))).
branch(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolValBranch(X2,Y2)
-> (is_BoolVarValPrint(X3,Y3)
-> gecode_constraint_branch_42(Y0,Y1,Y2,Y3)
; throw(error(type_error('BoolVarValPrint'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('BoolValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatValBranch(X2,Y2)
-> (is_FloatVarValPrint(X3,Y3)
-> gecode_constraint_branch_44(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVarValPrint'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntValBranch(X2,Y2)
-> (is_IntVarValPrint(X3,Y3)
-> gecode_constraint_branch_46(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVarValPrint'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3))))
; (is_SetVar(X1,Y1)
-> (is_SetValBranch(X2,Y2)
-> (is_SetVarValPrint(X3,Y3)
-> gecode_constraint_branch_48(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetVarValPrint'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('SetValBranch'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> gecode_constraint_branch_49(Y0,Y1,Y2,Y3)
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> gecode_constraint_branch_55(Y0,Y1,Y2,Y3)
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('TieBreak<BoolVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3)))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatVarBranch(X2,Y2)
-> (is_FloatValBranch(X3,Y3)
-> gecode_constraint_branch_61(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; (is_FloatVarBranch(X2,Y2)
-> (is_FloatValBranch(X3,Y3)
-> gecode_constraint_branch_64(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('TieBreak<FloatVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> gecode_constraint_branch_67(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> gecode_constraint_branch_73(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('TieBreak<IntVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3)))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> gecode_constraint_branch_79(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> gecode_constraint_branch_85(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('TieBreak<SetVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3),arg=3)))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(branch(X0,X1,X2,X3),arg=2)))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(branch(X0,X1,X2,X3),arg=1)))).
branch(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> (is_BoolBranchFilter(X4,Y4)
-> gecode_constraint_branch_50(Y0,Y1,Y2,Y3,Y4)
; (is_Symmetries(X4,Y4)
-> gecode_constraint_branch_52(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> (is_BoolBranchFilter(X4,Y4)
-> gecode_constraint_branch_56(Y0,Y1,Y2,Y3,Y4)
; (is_Symmetries(X4,Y4)
-> gecode_constraint_branch_58(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('TieBreak<BoolVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=3)))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatVarBranch(X2,Y2)
-> (is_FloatValBranch(X3,Y3)
-> (is_FloatBranchFilter(X4,Y4)
-> gecode_constraint_branch_62(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('FloatBranchFilter'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; (is_FloatVarBranch(X2,Y2)
-> (is_FloatValBranch(X3,Y3)
-> (is_FloatBranchFilter(X4,Y4)
-> gecode_constraint_branch_65(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('FloatBranchFilter'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('TieBreak<FloatVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> (is_IntBranchFilter(X4,Y4)
-> gecode_constraint_branch_68(Y0,Y1,Y2,Y3,Y4)
; (is_Symmetries(X4,Y4)
-> gecode_constraint_branch_70(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> (is_IntBranchFilter(X4,Y4)
-> gecode_constraint_branch_74(Y0,Y1,Y2,Y3,Y4)
; (is_Symmetries(X4,Y4)
-> gecode_constraint_branch_76(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('TieBreak<IntVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=3)))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> (is_SetBranchFilter(X4,Y4)
-> gecode_constraint_branch_80(Y0,Y1,Y2,Y3,Y4)
; (is_Symmetries(X4,Y4)
-> gecode_constraint_branch_82(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> (is_SetBranchFilter(X4,Y4)
-> gecode_constraint_branch_86(Y0,Y1,Y2,Y3,Y4)
; (is_Symmetries(X4,Y4)
-> gecode_constraint_branch_88(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('TieBreak<SetVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=3)))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=2)))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(branch(X0,X1,X2,X3,X4),arg=1)))).
branch(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> (is_BoolBranchFilter(X4,Y4)
-> (is_BoolVarValPrint(X5,Y5)
-> gecode_constraint_branch_51(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_Symmetries(X4,Y4)
-> (is_BoolBranchFilter(X5,Y5)
-> gecode_constraint_branch_53(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> (is_BoolBranchFilter(X4,Y4)
-> (is_BoolVarValPrint(X5,Y5)
-> gecode_constraint_branch_57(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_Symmetries(X4,Y4)
-> (is_BoolBranchFilter(X5,Y5)
-> gecode_constraint_branch_59(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('TieBreak<BoolVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=3)))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatVarBranch(X2,Y2)
-> (is_FloatValBranch(X3,Y3)
-> (is_FloatBranchFilter(X4,Y4)
-> (is_FloatVarValPrint(X5,Y5)
-> gecode_constraint_branch_63(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('FloatVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('FloatBranchFilter'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('FloatValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_FloatVarBranch(X2,Y2)
-> (is_FloatValBranch(X3,Y3)
-> (is_FloatBranchFilter(X4,Y4)
-> (is_FloatVarValPrint(X5,Y5)
-> gecode_constraint_branch_66(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('FloatVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('FloatBranchFilter'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('FloatValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('TieBreak<FloatVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> (is_IntBranchFilter(X4,Y4)
-> (is_IntVarValPrint(X5,Y5)
-> gecode_constraint_branch_69(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_Symmetries(X4,Y4)
-> (is_IntBranchFilter(X5,Y5)
-> gecode_constraint_branch_71(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> (is_IntBranchFilter(X4,Y4)
-> (is_IntVarValPrint(X5,Y5)
-> gecode_constraint_branch_75(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_Symmetries(X4,Y4)
-> (is_IntBranchFilter(X5,Y5)
-> gecode_constraint_branch_77(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('TieBreak<IntVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=3)))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> (is_SetBranchFilter(X4,Y4)
-> (is_SetVarValPrint(X5,Y5)
-> gecode_constraint_branch_81(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('SetVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_Symmetries(X4,Y4)
-> (is_SetBranchFilter(X5,Y5)
-> gecode_constraint_branch_83(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('SetBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> (is_SetBranchFilter(X4,Y4)
-> (is_SetVarValPrint(X5,Y5)
-> gecode_constraint_branch_87(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('SetVarValPrint'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_Symmetries(X4,Y4)
-> (is_SetBranchFilter(X5,Y5)
-> gecode_constraint_branch_89(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('SetBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('TieBreak<SetVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=3)))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=2)))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5),arg=1)))).
branch(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> (is_Symmetries(X4,Y4)
-> (is_BoolBranchFilter(X5,Y5)
-> (is_BoolVarValPrint(X6,Y6)
-> gecode_constraint_branch_54(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVarValPrint'(X6)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('BoolBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; (is_BoolVarBranch(X2,Y2)
-> (is_BoolValBranch(X3,Y3)
-> (is_Symmetries(X4,Y4)
-> (is_BoolBranchFilter(X5,Y5)
-> (is_BoolVarValPrint(X6,Y6)
-> gecode_constraint_branch_60(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVarValPrint'(X6)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('BoolBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('BoolValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('TieBreak<BoolVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> (is_Symmetries(X4,Y4)
-> (is_IntBranchFilter(X5,Y5)
-> (is_IntVarValPrint(X6,Y6)
-> gecode_constraint_branch_72(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVarValPrint'(X6)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('IntBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; (is_IntVarBranch(X2,Y2)
-> (is_IntValBranch(X3,Y3)
-> (is_Symmetries(X4,Y4)
-> (is_IntBranchFilter(X5,Y5)
-> (is_IntVarValPrint(X6,Y6)
-> gecode_constraint_branch_78(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVarValPrint'(X6)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('IntBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('TieBreak<IntVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> (is_Symmetries(X4,Y4)
-> (is_SetBranchFilter(X5,Y5)
-> (is_SetVarValPrint(X6,Y6)
-> gecode_constraint_branch_84(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('SetVarValPrint'(X6)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('SetBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; (is_SetVarBranch(X2,Y2)
-> (is_SetValBranch(X3,Y3)
-> (is_Symmetries(X4,Y4)
-> (is_SetBranchFilter(X5,Y5)
-> (is_SetVarValPrint(X6,Y6)
-> gecode_constraint_branch_90(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('SetVarValPrint'(X6)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('SetBranchFilter'(X5)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('Symmetries'(X4)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('SetValBranch'(X3)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('TieBreak<SetVarBranch>'(X2)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(branch(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
cardinality(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_SetVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_int(X3,Y3)
-> gecode_constraint_cardinality_91(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))))
; (is_SetVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_int(X3,Y3)
-> gecode_constraint_cardinality_92(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(cardinality(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(cardinality(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(cardinality(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cardinality(X0,X1,X2,X3),arg=1)))).
channel(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_channel_93(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(channel(X0,X1,X2),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> gecode_constraint_channel_95(Y0,Y1,Y2)
; (is_IntVar(X2,Y2)
-> gecode_constraint_channel_96(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(channel(X0,X1,X2),arg=3)))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_channel_97(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(channel(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> gecode_constraint_channel_100(Y0,Y1,Y2)
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(channel(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(channel(X0,X1,X2),arg=2)))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(channel(X0,X1,X2),arg=1)))).
channel(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_channel_94(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(channel(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(channel(X0,X1,X2,X3),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> gecode_constraint_channel_98(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(channel(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(channel(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_channel_101(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(channel(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(channel(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(channel(X0,X1,X2,X3),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(channel(X0,X1,X2,X3),arg=1)))).
channel(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_channel_99(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_int(X4,Y4)
-> gecode_constraint_channel_102(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(channel(X0,X1,X2,X3,X4),arg=1)))).
channel(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_channel_103(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(channel(X0,X1,X2,X3,X4,X5),arg=1)))).
circuit(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_circuit_104(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_circuit_115(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(circuit(X0,X1,X2,X3),arg=3))))
; throw(error(type_error(int(X1)),gecode_argument_error(circuit(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(circuit(X0,X1,X2,X3),arg=1)))).
circuit(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_circuit_105(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_circuit_106(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4)))))
; (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_circuit_108(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=3)))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(circuit(X0,X1,X2,X3,X4),arg=1)))).
circuit(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_circuit_107(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_circuit_109(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_IntVarArgs(X4,Y4)
-> (is_IntVar(X5,Y5)
-> gecode_constraint_circuit_110(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntVar'(X5)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=3)))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5),arg=1)))).
circuit(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntVar(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_circuit_111(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('IntVar'(X5)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=3))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(circuit(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
circuit(X0,X1) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> gecode_constraint_circuit_112(Y0,Y1)
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(circuit(X0,X1),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(circuit(X0,X1),arg=1)))).
circuit(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntPropLevel(X2,Y2)
-> gecode_constraint_circuit_113(Y0,Y1,Y2)
; throw(error(type_error('IntPropLevel'(X2)),gecode_argument_error(circuit(X0,X1,X2),arg=3))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> gecode_constraint_circuit_114(Y0,Y1,Y2)
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(circuit(X0,X1,X2),arg=3))))
; throw(error(type_error(int(X1)),gecode_argument_error(circuit(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(circuit(X0,X1,X2),arg=1)))).
clause(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolOpType(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_BoolVarArgs(X3,Y3)
-> (is_BoolVar(X4,Y4)
-> gecode_constraint_clause_116(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_clause_118(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('BoolVarArgs'(X3)),gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('BoolVarArgs'(X2)),gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('BoolOpType'(X1)),gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(clause(X0,X1,X2,X3,X4),arg=1)))).
clause(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolOpType(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_BoolVarArgs(X3,Y3)
-> (is_BoolVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_clause_117(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_clause_119(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('BoolVarArgs'(X3)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('BoolVarArgs'(X2)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('BoolOpType'(X1)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(clause(X0,X1,X2,X3,X4,X5),arg=1)))).
count(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_count_120(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_count_122(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))))
; (is_IntArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_count_124(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_count_126(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))))
; (is_IntSet(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_count_128(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_count_130(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))))
; (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_count_133(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4)))))
; (is_IntSetArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_count_137(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_count_141(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))))
; (is_int(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_count_142(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_count_144(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=3)))))))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(count(X0,X1,X2,X3,X4),arg=1)))).
count(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_121(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_123(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_IntArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_125(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_127(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_IntSet(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_129(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_131(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_int(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_143(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_count_145(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=3)))))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(count(X0,X1,X2,X3,X4,X5),arg=1)))).
count(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> gecode_constraint_count_132(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(count(X0,X1,X2,X3),arg=4))))
; (is_IntSetArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_count_135(Y0,Y1,Y2,Y3)
; (is_IntArgs(X3,Y3)
-> gecode_constraint_count_136(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(count(X0,X1,X2,X3),arg=4)))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_count_139(Y0,Y1,Y2,Y3)
; (is_IntArgs(X3,Y3)
-> gecode_constraint_count_140(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(count(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(count(X0,X1,X2,X3),arg=3))))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(count(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(count(X0,X1,X2,X3),arg=1)))).
count(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntSetArgs(X2,Y2)
-> gecode_constraint_count_134(Y0,Y1,Y2)
; (is_IntVarArgs(X2,Y2)
-> gecode_constraint_count_138(Y0,Y1,Y2)
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(count(X0,X1,X2),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(count(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(count(X0,X1,X2),arg=1)))).
cumulative(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> gecode_constraint_cumulative_146(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> gecode_constraint_cumulative_158(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error(int(X1)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4),arg=1)))).
cumulative(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_cumulative_147(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_BoolVarArgs(X5,Y5)
-> gecode_constraint_cumulative_148(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolVarArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> gecode_constraint_cumulative_150(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))))
; (is_TaskTypeArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> gecode_constraint_cumulative_154(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('TaskTypeArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_cumulative_159(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_BoolVarArgs(X5,Y5)
-> gecode_constraint_cumulative_160(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolVarArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6)))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> gecode_constraint_cumulative_162(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4)))))
; (is_TaskTypeArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> gecode_constraint_cumulative_166(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('TaskTypeArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=3)))))
; throw(error(type_error(int(X1)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5),arg=1)))).
cumulative(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_BoolVarArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_cumulative_149(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('BoolVarArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_cumulative_151(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; (is_BoolVarArgs(X6,Y6)
-> gecode_constraint_cumulative_152(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))))
; (is_TaskTypeArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_cumulative_155(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; (is_BoolVarArgs(X6,Y6)
-> gecode_constraint_cumulative_156(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('TaskTypeArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_BoolVarArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_cumulative_161(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('BoolVarArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_cumulative_163(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; (is_BoolVarArgs(X6,Y6)
-> gecode_constraint_cumulative_164(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4)))))
; (is_TaskTypeArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_cumulative_167(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; (is_BoolVarArgs(X6,Y6)
-> gecode_constraint_cumulative_168(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=7)))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('TaskTypeArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; throw(error(type_error(int(X1)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
cumulative(X0,X1,X2,X3,X4,X5,X6,X7) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_BoolVarArgs(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_cumulative_153(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; (is_TaskTypeArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_BoolVarArgs(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_cumulative_157(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error('TaskTypeArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_BoolVarArgs(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_cumulative_165(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; (is_TaskTypeArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_BoolVarArgs(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_cumulative_169(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('BoolVarArgs'(X6)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntArgs'(X5)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error('TaskTypeArgs'(X2)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))))
; throw(error(type_error(int(X1)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cumulative(X0,X1,X2,X3,X4,X5,X6,X7),arg=1)))).
cumulatives(X0,X1,X2,X3,X4,X5,X6,X7) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_170(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_172(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_174(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_176(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_178(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_180(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_182(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> gecode_constraint_cumulatives_184(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=4)))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7),arg=1)))).
cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_171(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_173(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_175(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_177(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_179(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_181(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_183(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntArgs(X6,Y6)
-> (is_bool(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_cumulatives_185(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error(bool(X7)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntArgs'(X6)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6)))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4)))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(cumulatives(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1)))).
distinct(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> gecode_constraint_distinct_186(Y0,Y1,Y2)
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(distinct(X0,X1,X2),arg=3))))
; (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> gecode_constraint_distinct_188(Y0,Y1,Y2)
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(distinct(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntPropLevel(X2,Y2)
-> gecode_constraint_distinct_191(Y0,Y1,Y2)
; (is_int(X2,Y2)
-> gecode_constraint_distinct_192(Y0,Y1,Y2)
; throw(error(type_error(int(X2)),gecode_argument_error(distinct(X0,X1,X2),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(distinct(X0,X1,X2),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(distinct(X0,X1,X2),arg=1)))).
distinct(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_distinct_187(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))))
; (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_distinct_189(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_distinct_193(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(distinct(X0,X1,X2,X3),arg=1)))).
distinct(X0,X1) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> gecode_constraint_distinct_190(Y0,Y1)
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(distinct(X0,X1),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(distinct(X0,X1),arg=1)))).
div(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> gecode_constraint_div_194(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(div(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(div(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_div_195(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(div(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(div(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(div(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(div(X0,X1,X2,X3),arg=1)))).
div(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_div_196(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(div(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(div(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(div(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(div(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(div(X0,X1,X2,X3,X4),arg=1)))).
divmod(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_divmod_197(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(divmod(X0,X1,X2,X3,X4),arg=1)))).
divmod(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_divmod_198(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(divmod(X0,X1,X2,X3,X4,X5),arg=1)))).
dom(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> gecode_constraint_dom_199(Y0,Y1,Y2)
; throw(error(type_error('BoolVar'(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatVal(X2,Y2)
-> gecode_constraint_dom_203(Y0,Y1,Y2)
; (is_FloatVar(X2,Y2)
-> gecode_constraint_dom_205(Y0,Y1,Y2)
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3)))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_dom_206(Y0,Y1,Y2)
; (is_IntSet(X2,Y2)
-> gecode_constraint_dom_208(Y0,Y1,Y2)
; (is_int(X2,Y2)
-> gecode_constraint_dom_212(Y0,Y1,Y2)
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3))))))
; (is_SetVar(X1,Y1)
-> (is_SetVar(X2,Y2)
-> gecode_constraint_dom_226(Y0,Y1,Y2)
; throw(error(type_error('SetVar'(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> gecode_constraint_dom_227(Y0,Y1,Y2)
; throw(error(type_error('BoolVarArgs'(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatVal(X2,Y2)
-> gecode_constraint_dom_230(Y0,Y1,Y2)
; (is_FloatVarArgs(X2,Y2)
-> gecode_constraint_dom_231(Y0,Y1,Y2)
; throw(error(type_error('FloatVarArgs'(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> gecode_constraint_dom_232(Y0,Y1,Y2)
; (is_IntVarArgs(X2,Y2)
-> gecode_constraint_dom_234(Y0,Y1,Y2)
; (is_int(X2,Y2)
-> gecode_constraint_dom_236(Y0,Y1,Y2)
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3))))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetVarArgs(X2,Y2)
-> gecode_constraint_dom_243(Y0,Y1,Y2)
; throw(error(type_error('SetVarArgs'(X2)),gecode_argument_error(dom(X0,X1,X2),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(dom(X0,X1,X2),arg=2)))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(dom(X0,X1,X2),arg=1)))).
dom(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_200(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('BoolVar'(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatNum(X2,Y2)
-> (is_FloatNum(X3,Y3)
-> gecode_constraint_dom_201(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatNum'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; (is_FloatVal(X2,Y2)
-> (is_Reify(X3,Y3)
-> gecode_constraint_dom_204(Y0,Y1,Y2,Y3)
; throw(error(type_error('Reify'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatVal'(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3)))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_207(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; (is_IntSet(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_209(Y0,Y1,Y2,Y3)
; (is_Reify(X3,Y3)
-> gecode_constraint_dom_210(Y0,Y1,Y2,Y3)
; throw(error(type_error('Reify'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))))
; (is_int(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_213(Y0,Y1,Y2,Y3)
; (is_Reify(X3,Y3)
-> gecode_constraint_dom_214(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_dom_216(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))))
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))))
; (is_SetVar(X1,Y1)
-> (is_SetRelType(X2,Y2)
-> (is_IntSet(X3,Y3)
-> gecode_constraint_dom_220(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_dom_222(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_228(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('BoolVarArgs'(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatNum(X2,Y2)
-> (is_FloatNum(X3,Y3)
-> gecode_constraint_dom_229(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatNum'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatNum'(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_233(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_235(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4))))
; (is_int(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_dom_237(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_dom_238(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetRelType(X2,Y2)
-> (is_IntSet(X3,Y3)
-> gecode_constraint_dom_240(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_dom_241(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(dom(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(dom(X0,X1,X2,X3),arg=2)))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(dom(X0,X1,X2,X3),arg=1)))).
dom(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatNum(X2,Y2)
-> (is_FloatNum(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_dom_202(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatNum'(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('FloatNum'(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_Reify(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_dom_211(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('Reify'(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))))
; (is_int(X2,Y2)
-> (is_Reify(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_dom_215(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_dom_217(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_dom_218(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3)))))
; (is_SetVar(X1,Y1)
-> (is_SetRelType(X2,Y2)
-> (is_IntSet(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_dom_221(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_dom_223(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_dom_224(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_dom_239(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))))
; (is_SetVarArgs(X1,Y1)
-> (is_SetRelType(X2,Y2)
-> (is_int(X3,Y3)
-> (is_int(X4,Y4)
-> gecode_constraint_dom_242(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=2))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(dom(X0,X1,X2,X3,X4),arg=1)))).
dom(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_int(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_dom_219(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))))
; (is_SetVar(X1,Y1)
-> (is_SetRelType(X2,Y2)
-> (is_int(X3,Y3)
-> (is_int(X4,Y4)
-> (is_Reify(X5,Y5)
-> gecode_constraint_dom_225(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('SetVar'(X1)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(dom(X0,X1,X2,X3,X4,X5),arg=1)))).
element(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> gecode_constraint_element_244(Y0,Y1,Y2,Y3)
; (is_IntVar(X3,Y3)
-> gecode_constraint_element_246(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_element_248(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3),arg=4))))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> gecode_constraint_element_254(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_element_256(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_element_260(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_element_262(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(element(X0,X1,X2,X3),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(element(X0,X1,X2,X3),arg=1)))).
element(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_245(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_247(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_249(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4))))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_255(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_257(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_261(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_element_263(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(element(X0,X1,X2,X3,X4),arg=1)))).
element(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_int(X5,Y5)
-> (is_BoolVar(X6,Y6)
-> gecode_constraint_element_250(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; (is_IntVar(X6,Y6)
-> gecode_constraint_element_252(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7)))))
; throw(error(type_error(int(X5)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_int(X5,Y5)
-> (is_BoolVar(X6,Y6)
-> gecode_constraint_element_258(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('BoolVar'(X6)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error(int(X5)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_int(X5,Y5)
-> (is_IntVar(X6,Y6)
-> gecode_constraint_element_264(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error(int(X5)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
element(X0,X1,X2,X3,X4,X5,X6,X7) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_int(X5,Y5)
-> (is_BoolVar(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_element_251(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; (is_IntVar(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_element_253(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))))
; throw(error(type_error(int(X5)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_int(X5,Y5)
-> (is_BoolVar(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_element_259(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('BoolVar'(X6)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error(int(X5)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_int(X5,Y5)
-> (is_IntVar(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_element_265(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error(int(X5)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(element(X0,X1,X2,X3,X4,X5,X6,X7),arg=1)))).
extensional(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_DFA(X2,Y2)
-> gecode_constraint_extensional_266(Y0,Y1,Y2)
; (is_TupleSet(X2,Y2)
-> gecode_constraint_extensional_268(Y0,Y1,Y2)
; throw(error(type_error('TupleSet'(X2)),gecode_argument_error(extensional(X0,X1,X2),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_DFA(X2,Y2)
-> gecode_constraint_extensional_270(Y0,Y1,Y2)
; (is_TupleSet(X2,Y2)
-> gecode_constraint_extensional_272(Y0,Y1,Y2)
; throw(error(type_error('TupleSet'(X2)),gecode_argument_error(extensional(X0,X1,X2),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(extensional(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(extensional(X0,X1,X2),arg=1)))).
extensional(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_DFA(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_extensional_267(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=4))))
; (is_TupleSet(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_extensional_269(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('TupleSet'(X2)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_DFA(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_extensional_271(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=4))))
; (is_TupleSet(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_extensional_273(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('TupleSet'(X2)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(extensional(X0,X1,X2,X3),arg=1)))).
ite(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_BoolVar(X4,Y4)
-> gecode_constraint_ite_274(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('BoolVar'(X4)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('BoolVar'(X3)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=4))))
; (is_FloatVar(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> (is_FloatVar(X4,Y4)
-> gecode_constraint_ite_276(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('FloatVar'(X4)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=4))))
; (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_ite_277(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=4))))
; (is_SetVar(X2,Y2)
-> (is_SetVar(X3,Y3)
-> (is_SetVar(X4,Y4)
-> gecode_constraint_ite_279(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('SetVar'(X4)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('SetVar'(X3)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('SetVar'(X2)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=3)))))))
; throw(error(type_error('BoolVar'(X1)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(ite(X0,X1,X2,X3,X4),arg=1)))).
ite(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_BoolVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_ite_275(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('BoolVar'(X4)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('BoolVar'(X3)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_ite_278(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=3)))))
; throw(error(type_error('BoolVar'(X1)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(ite(X0,X1,X2,X3,X4,X5),arg=1)))).
linear(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_linear_280(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_linear_284(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatRelType(X2,Y2)
-> (is_FloatVal(X3,Y3)
-> gecode_constraint_linear_292(Y0,Y1,Y2,Y3)
; (is_FloatVar(X3,Y3)
-> gecode_constraint_linear_294(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('FloatRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_linear_312(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_linear_316(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(linear(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(linear(X0,X1,X2,X3),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(linear(X0,X1,X2,X3),arg=1)))).
linear(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_linear_281(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_linear_282(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_linear_285(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_linear_286(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error(int(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))))
; (is_FloatValArgs(X1,Y1)
-> (is_FloatVarArgs(X2,Y2)
-> (is_FloatRelType(X3,Y3)
-> (is_FloatVal(X4,Y4)
-> gecode_constraint_linear_288(Y0,Y1,Y2,Y3,Y4)
; (is_FloatVar(X4,Y4)
-> gecode_constraint_linear_290(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('FloatVar'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('FloatRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('FloatVarArgs'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatRelType(X2,Y2)
-> (is_FloatVal(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_linear_293(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5))))
; (is_FloatVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_linear_295(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('FloatRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))))
; (is_IntArgs(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_linear_296(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_linear_300(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_linear_304(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_linear_308(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_linear_313(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_linear_314(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_linear_317(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_linear_318(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error(int(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=2))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(linear(X0,X1,X2,X3,X4),arg=1)))).
linear(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_283(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))))
; (is_int(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_287(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))))
; (is_FloatValArgs(X1,Y1)
-> (is_FloatVarArgs(X2,Y2)
-> (is_FloatRelType(X3,Y3)
-> (is_FloatVal(X4,Y4)
-> (is_Reify(X5,Y5)
-> gecode_constraint_linear_289(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_FloatVar(X4,Y4)
-> (is_Reify(X5,Y5)
-> gecode_constraint_linear_291(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('FloatVar'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('FloatRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('FloatVarArgs'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))))
; (is_IntArgs(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_297(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_Reify(X5,Y5)
-> gecode_constraint_linear_298(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_301(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_Reify(X5,Y5)
-> gecode_constraint_linear_302(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))))
; throw(error(type_error(int(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_305(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_Reify(X5,Y5)
-> gecode_constraint_linear_306(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_309(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_Reify(X5,Y5)
-> gecode_constraint_linear_310(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6)))))
; throw(error(type_error(int(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3)))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_315(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))))
; (is_int(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_linear_319(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=2)))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5),arg=1)))).
linear(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_Reify(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_linear_299(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; (is_int(X4,Y4)
-> (is_Reify(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_linear_303(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntRelType(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_Reify(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_linear_307(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; (is_int(X4,Y4)
-> (is_Reify(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_linear_311(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('Reify'(X5)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=5)))))
; throw(error(type_error('IntRelType'(X3)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(linear(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
max(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> gecode_constraint_max_320(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(max(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(max(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_max_321(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(max(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(max(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_max_325(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(max(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(max(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(max(X0,X1,X2,X3),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(max(X0,X1,X2,X3),arg=1)))).
max(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_max_322(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(max(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(max(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(max(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(max(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(max(X0,X1,X2,X3,X4),arg=1)))).
max(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVarArgs(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> gecode_constraint_max_323(Y0,Y1,Y2)
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(max(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_max_324(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(max(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(max(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(max(X0,X1,X2),arg=1)))).
member(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> gecode_constraint_member_326(Y0,Y1,Y2)
; throw(error(type_error('BoolVar'(X2)),gecode_argument_error(member(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_member_330(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(member(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(member(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(member(X0,X1,X2),arg=1)))).
member(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_member_327(Y0,Y1,Y2,Y3)
; (is_Reify(X3,Y3)
-> gecode_constraint_member_328(Y0,Y1,Y2,Y3)
; throw(error(type_error('Reify'(X3)),gecode_argument_error(member(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('BoolVar'(X2)),gecode_argument_error(member(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_member_331(Y0,Y1,Y2,Y3)
; (is_Reify(X3,Y3)
-> gecode_constraint_member_332(Y0,Y1,Y2,Y3)
; throw(error(type_error('Reify'(X3)),gecode_argument_error(member(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(member(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(member(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(member(X0,X1,X2,X3),arg=1)))).
member(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_BoolVar(X2,Y2)
-> (is_Reify(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_member_329(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('Reify'(X3)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('BoolVar'(X2)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_Reify(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_member_333(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('Reify'(X3)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(member(X0,X1,X2,X3,X4),arg=1)))).
min(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> gecode_constraint_min_334(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(min(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(min(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_min_335(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(min(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(min(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_min_339(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(min(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(min(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(min(X0,X1,X2,X3),arg=2))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(min(X0,X1,X2,X3),arg=1)))).
min(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_min_336(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(min(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(min(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(min(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(min(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(min(X0,X1,X2,X3,X4),arg=1)))).
min(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVarArgs(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> gecode_constraint_min_337(Y0,Y1,Y2)
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(min(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_min_338(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(min(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(min(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(min(X0,X1,X2),arg=1)))).
mod(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_mod_340(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(mod(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(mod(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(mod(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(mod(X0,X1,X2,X3),arg=1)))).
mod(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_mod_341(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(mod(X0,X1,X2,X3,X4),arg=1)))).
mult(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> gecode_constraint_mult_342(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(mult(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(mult(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_mult_343(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(mult(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(mult(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(mult(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(mult(X0,X1,X2,X3),arg=1)))).
mult(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_mult_344(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(mult(X0,X1,X2,X3,X4),arg=1)))).
nooverlap(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> gecode_constraint_nooverlap_345(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntArgs'(X2)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4),arg=1)))).
nooverlap(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_nooverlap_346(Y0,Y1,Y2,Y3,Y4,Y5)
; (is_BoolVarArgs(X5,Y5)
-> gecode_constraint_nooverlap_347(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('BoolVarArgs'(X5)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=6)))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntArgs'(X2)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5),arg=1)))).
nooverlap(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntArgs(X4,Y4)
-> (is_BoolVarArgs(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_nooverlap_348(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('BoolVarArgs'(X5)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntArgs'(X4)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntVarArgs(X5,Y5)
-> (is_IntVarArgs(X6,Y6)
-> gecode_constraint_nooverlap_349(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVarArgs'(X6)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
nooverlap(X0,X1,X2,X3,X4,X5,X6,X7) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntVarArgs(X5,Y5)
-> (is_IntVarArgs(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_nooverlap_350(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; (is_BoolVarArgs(X7,Y7)
-> gecode_constraint_nooverlap_351(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('BoolVarArgs'(X7)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=8)))))
; throw(error(type_error('IntVarArgs'(X6)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7),arg=1)))).
nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVarArgs(X4,Y4)
-> (is_IntVarArgs(X5,Y5)
-> (is_IntVarArgs(X6,Y6)
-> (is_BoolVarArgs(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_nooverlap_352(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error('BoolVarArgs'(X7)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntVarArgs'(X6)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))))
; throw(error(type_error('IntVarArgs'(X4)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nooverlap(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1)))).
nroot(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> gecode_constraint_nroot_353(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(nroot(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(nroot(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_nroot_354(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(nroot(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(nroot(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(nroot(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nroot(X0,X1,X2,X3),arg=1)))).
nroot(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_nroot_355(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(nroot(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(nroot(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(nroot(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(nroot(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nroot(X0,X1,X2,X3,X4),arg=1)))).
nvalues(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_nvalues_356(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_nvalues_358(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_nvalues_360(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_nvalues_362(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(nvalues(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(nvalues(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nvalues(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nvalues(X0,X1,X2,X3),arg=1)))).
nvalues(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_nvalues_357(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_nvalues_359(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_nvalues_361(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_nvalues_363(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(nvalues(X0,X1,X2,X3,X4),arg=1)))).
path(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntVar(X5,Y5)
-> gecode_constraint_path_364(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntVar'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_path_375(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error(int(X1)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5),arg=1)))).
path(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntVar(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_path_365(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; (is_IntVarArgs(X5,Y5)
-> (is_IntVar(X6,Y6)
-> gecode_constraint_path_366(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6)))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntVar(X5,Y5)
-> (is_IntVar(X6,Y6)
-> gecode_constraint_path_368(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error('IntVar'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=3)))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
path(X0,X1,X2,X3,X4,X5,X6,X7) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntVarArgs(X5,Y5)
-> (is_IntVar(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_path_367(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntVar'(X6)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7))))
; throw(error(type_error('IntVarArgs'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntVar(X5,Y5)
-> (is_IntVar(X6,Y6)
-> (is_IntPropLevel(X7,Y7)
-> gecode_constraint_path_369(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntPropLevel'(X7)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; (is_IntVarArgs(X6,Y6)
-> (is_IntVar(X7,Y7)
-> gecode_constraint_path_370(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7)
; throw(error(type_error('IntVar'(X7)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=8))))
; throw(error(type_error('IntVarArgs'(X6)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=7)))))
; throw(error(type_error('IntVar'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=3)))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7),arg=1)))).
path(X0,X1,X2,X3,X4,X5,X6,X7,X8) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntVar(X4,Y4)
-> (is_IntVar(X5,Y5)
-> (is_IntVarArgs(X6,Y6)
-> (is_IntVar(X7,Y7)
-> (is_IntPropLevel(X8,Y8)
-> gecode_constraint_path_371(Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7,Y8)
; throw(error(type_error('IntPropLevel'(X8)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=9))))
; throw(error(type_error('IntVar'(X7)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=8))))
; throw(error(type_error('IntVarArgs'(X6)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=7))))
; throw(error(type_error('IntVar'(X5)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=6))))
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=3))))
; throw(error(type_error('IntArgs'(X1)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(path(X0,X1,X2,X3,X4,X5,X6,X7,X8),arg=1)))).
path(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_path_372(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(path(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(path(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(path(X0,X1,X2,X3),arg=1)))).
path(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_path_373(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))))
; (is_int(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntVar(X4,Y4)
-> gecode_constraint_path_374(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntVar'(X4)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error(int(X1)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(path(X0,X1,X2,X3,X4),arg=1)))).
pow(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_FloatVar(X3,Y3)
-> gecode_constraint_pow_376(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(pow(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(pow(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_pow_377(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(pow(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(pow(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(pow(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(pow(X0,X1,X2,X3),arg=1)))).
pow(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_int(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_pow_378(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(pow(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(pow(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(pow(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(pow(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(pow(X0,X1,X2,X3,X4),arg=1)))).
precede(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> gecode_constraint_precede_379(Y0,Y1,Y2)
; throw(error(type_error('IntArgs'(X2)),gecode_argument_error(precede(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(precede(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(precede(X0,X1,X2),arg=1)))).
precede(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_precede_380(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(precede(X0,X1,X2,X3),arg=4))))
; (is_int(X2,Y2)
-> (is_int(X3,Y3)
-> gecode_constraint_precede_381(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(precede(X0,X1,X2,X3),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(precede(X0,X1,X2,X3),arg=3)))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(precede(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(precede(X0,X1,X2,X3),arg=1)))).
precede(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_int(X2,Y2)
-> (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_precede_382(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error(int(X2)),gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(precede(X0,X1,X2,X3,X4),arg=1)))).
rel(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolOpType(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> gecode_constraint_rel_383(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_rel_385(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('BoolVarArgs'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; (is_BoolVar(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> gecode_constraint_rel_391(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_rel_395(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; (is_FloatVar(X1,Y1)
-> (is_FloatRelType(X2,Y2)
-> (is_FloatVal(X3,Y3)
-> gecode_constraint_rel_399(Y0,Y1,Y2,Y3)
; (is_FloatVar(X3,Y3)
-> gecode_constraint_rel_401(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('FloatRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_rel_403(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_rel_407(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; (is_SetRelType(X2,Y2)
-> (is_SetVar(X3,Y3)
-> gecode_constraint_rel_411(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))))
; (is_SetVar(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_rel_413(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))
; (is_SetRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> gecode_constraint_rel_415(Y0,Y1,Y2,Y3)
; (is_SetVar(X3,Y3)
-> gecode_constraint_rel_417(Y0,Y1,Y2,Y3)
; throw(error(type_error('SetVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3)))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> gecode_constraint_rel_419(Y0,Y1,Y2,Y3)
; (is_IntPropLevel(X3,Y3)
-> gecode_constraint_rel_422(Y0,Y1,Y2,Y3)
; (is_BoolVarArgs(X3,Y3)
-> gecode_constraint_rel_423(Y0,Y1,Y2,Y3)
; (is_IntArgs(X3,Y3)
-> gecode_constraint_rel_425(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_rel_427(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; (is_FloatVarArgs(X1,Y1)
-> (is_FloatRelType(X2,Y2)
-> (is_FloatVal(X3,Y3)
-> gecode_constraint_rel_429(Y0,Y1,Y2,Y3)
; (is_FloatVar(X3,Y3)
-> gecode_constraint_rel_430(Y0,Y1,Y2,Y3)
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('FloatRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; (is_IntArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_BoolVarArgs(X3,Y3)
-> gecode_constraint_rel_431(Y0,Y1,Y2,Y3)
; (is_IntVarArgs(X3,Y3)
-> gecode_constraint_rel_433(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_rel_436(Y0,Y1,Y2,Y3)
; (is_IntVar(X3,Y3)
-> gecode_constraint_rel_437(Y0,Y1,Y2,Y3)
; (is_IntArgs(X3,Y3)
-> gecode_constraint_rel_439(Y0,Y1,Y2,Y3)
; (is_IntVarArgs(X3,Y3)
-> gecode_constraint_rel_441(Y0,Y1,Y2,Y3)
; (is_int(X3,Y3)
-> gecode_constraint_rel_443(Y0,Y1,Y2,Y3)
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3),arg=4))))))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(rel(X0,X1,X2,X3),arg=2))))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(rel(X0,X1,X2,X3),arg=1)))).
rel(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolOpType(X1,Y1)
-> (is_BoolVarArgs(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_384(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_386(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('BoolVarArgs'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))))
; (is_BoolVar(X1,Y1)
-> (is_BoolOpType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_BoolVar(X4,Y4)
-> gecode_constraint_rel_387(Y0,Y1,Y2,Y3,Y4)
; (is_int(X4,Y4)
-> gecode_constraint_rel_389(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(int(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('BoolVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))
; (is_IntRelType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_392(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_rel_393(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_396(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_rel_397(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))))
; (is_FloatVar(X1,Y1)
-> (is_FloatRelType(X2,Y2)
-> (is_FloatVal(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_rel_400(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_FloatVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_rel_402(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('FloatVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('FloatRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_404(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_rel_405(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_408(Y0,Y1,Y2,Y3,Y4)
; (is_Reify(X4,Y4)
-> gecode_constraint_rel_409(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))
; (is_SetRelType(X2,Y2)
-> (is_SetVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_rel_412(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('SetVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))))
; (is_SetVar(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_rel_414(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4))))
; (is_SetRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_rel_416(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_SetVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> gecode_constraint_rel_418(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('SetVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('SetRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3)))))
; (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_420(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_BoolVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_424(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_426(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_428(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))))
; (is_IntArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_BoolVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_432(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_434(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_438(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_440(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_IntVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_442(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; (is_int(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_rel_444(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=4)))))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=2)))))))))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(rel(X0,X1,X2,X3,X4),arg=1)))).
rel(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_BoolOpType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_BoolVar(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_rel_388(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))))
; (is_int(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_rel_390(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5)))))
; throw(error(type_error('BoolVar'(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4))))
; (is_IntRelType(X2,Y2)
-> (is_BoolVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_rel_394(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))))
; (is_int(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_rel_398(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3)))))
; (is_IntVar(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> (is_IntVar(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_rel_406(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))))
; (is_int(X3,Y3)
-> (is_Reify(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_rel_410(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('Reify'(X4)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=4)))))
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(rel(X0,X1,X2,X3,X4,X5),arg=1)))).
rel(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> gecode_constraint_rel_421(Y0,Y1,Y2)
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntRelType(X2,Y2)
-> gecode_constraint_rel_435(Y0,Y1,Y2)
; throw(error(type_error('IntRelType'(X2)),gecode_argument_error(rel(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(rel(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(rel(X0,X1,X2),arg=1)))).
relax(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_SetVarArgs(X1,Y1)
-> (is_SetVarArgs(X2,Y2)
-> (is_Rnd(X3,Y3)
-> (is_double(X4,Y4)
-> gecode_constraint_relax_445(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error(double(X4)),gecode_argument_error(relax(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('Rnd'(X3)),gecode_argument_error(relax(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('SetVarArgs'(X2)),gecode_argument_error(relax(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('SetVarArgs'(X1)),gecode_argument_error(relax(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(relax(X0,X1,X2,X3,X4),arg=1)))).
sequence(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_int(X3,Y3)
-> (is_int(X4,Y4)
-> (is_int(X5,Y5)
-> gecode_constraint_sequence_446(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error(int(X5)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntSet'(X2)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_int(X3,Y3)
-> (is_int(X4,Y4)
-> (is_int(X5,Y5)
-> gecode_constraint_sequence_448(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error(int(X5)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntSet'(X2)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5),arg=1)))).
sequence(X0,X1,X2,X3,X4,X5,X6) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_int(X3,Y3)
-> (is_int(X4,Y4)
-> (is_int(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_sequence_447(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error(int(X5)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntSet'(X2)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntSet(X2,Y2)
-> (is_int(X3,Y3)
-> (is_int(X4,Y4)
-> (is_int(X5,Y5)
-> (is_IntPropLevel(X6,Y6)
-> gecode_constraint_sequence_449(Y0,Y1,Y2,Y3,Y4,Y5,Y6)
; throw(error(type_error('IntPropLevel'(X6)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=7))))
; throw(error(type_error(int(X5)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=6))))
; throw(error(type_error(int(X4)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=5))))
; throw(error(type_error(int(X3)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=4))))
; throw(error(type_error('IntSet'(X2)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sequence(X0,X1,X2,X3,X4,X5,X6),arg=1)))).
sorted(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> gecode_constraint_sorted_450(Y0,Y1,Y2)
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(sorted(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(sorted(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sorted(X0,X1,X2),arg=1)))).
sorted(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_sorted_451(Y0,Y1,Y2,Y3)
; (is_IntVarArgs(X3,Y3)
-> gecode_constraint_sorted_452(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(sorted(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(sorted(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(sorted(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sorted(X0,X1,X2,X3),arg=1)))).
sorted(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_sorted_453(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sorted(X0,X1,X2,X3,X4),arg=1)))).
sqr(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> gecode_constraint_sqr_454(Y0,Y1,Y2)
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(sqr(X0,X1,X2),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_sqr_455(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(sqr(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(sqr(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sqr(X0,X1,X2),arg=1)))).
sqr(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_sqr_456(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(sqr(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(sqr(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(sqr(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sqr(X0,X1,X2,X3),arg=1)))).
sqrt(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_FloatVar(X1,Y1)
-> (is_FloatVar(X2,Y2)
-> gecode_constraint_sqrt_457(Y0,Y1,Y2)
; throw(error(type_error('FloatVar'(X2)),gecode_argument_error(sqrt(X0,X1,X2),arg=3))))
; (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> gecode_constraint_sqrt_458(Y0,Y1,Y2)
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(sqrt(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(sqrt(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sqrt(X0,X1,X2),arg=1)))).
sqrt(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVar(X1,Y1)
-> (is_IntVar(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_sqrt_459(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntPropLevel'(X3)),gecode_argument_error(sqrt(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVar'(X2)),gecode_argument_error(sqrt(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('IntVar'(X1)),gecode_argument_error(sqrt(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(sqrt(X0,X1,X2,X3),arg=1)))).
unary(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> gecode_constraint_unary_460(Y0,Y1,Y2)
; throw(error(type_error('IntArgs'(X2)),gecode_argument_error(unary(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(unary(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(unary(X0,X1,X2),arg=1)))).
unary(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_unary_461(Y0,Y1,Y2,Y3)
; (is_BoolVarArgs(X3,Y3)
-> gecode_constraint_unary_462(Y0,Y1,Y2,Y3)
; throw(error(type_error('BoolVarArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3),arg=4)))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> gecode_constraint_unary_464(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(unary(X0,X1,X2,X3),arg=3)))))
; (is_TaskTypeArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> gecode_constraint_unary_468(Y0,Y1,Y2,Y3)
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(unary(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('TaskTypeArgs'(X1)),gecode_argument_error(unary(X0,X1,X2,X3),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(unary(X0,X1,X2,X3),arg=1)))).
unary(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntArgs(X2,Y2)
-> (is_BoolVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_unary_463(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('BoolVarArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))))
; (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_unary_465(Y0,Y1,Y2,Y3,Y4)
; (is_BoolVarArgs(X4,Y4)
-> gecode_constraint_unary_466(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('BoolVarArgs'(X4)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3)))))
; (is_TaskTypeArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_unary_469(Y0,Y1,Y2,Y3,Y4)
; (is_BoolVarArgs(X4,Y4)
-> gecode_constraint_unary_470(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('BoolVarArgs'(X4)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=5)))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('TaskTypeArgs'(X1)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(unary(X0,X1,X2,X3,X4),arg=1)))).
unary(X0,X1,X2,X3,X4,X5) :-
(is_Space_or_Clause(X0,Y0)
-> (is_IntVarArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntVarArgs(X3,Y3)
-> (is_BoolVarArgs(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_unary_467(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('BoolVarArgs'(X4)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntVarArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))))
; (is_TaskTypeArgs(X1,Y1)
-> (is_IntVarArgs(X2,Y2)
-> (is_IntArgs(X3,Y3)
-> (is_BoolVarArgs(X4,Y4)
-> (is_IntPropLevel(X5,Y5)
-> gecode_constraint_unary_471(Y0,Y1,Y2,Y3,Y4,Y5)
; throw(error(type_error('IntPropLevel'(X5)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=6))))
; throw(error(type_error('BoolVarArgs'(X4)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=5))))
; throw(error(type_error('IntArgs'(X3)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=4))))
; throw(error(type_error('IntVarArgs'(X2)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=3))))
; throw(error(type_error('TaskTypeArgs'(X1)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(unary(X0,X1,X2,X3,X4,X5),arg=1)))).
unshare(X0,X1) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> gecode_constraint_unshare_472(Y0,Y1)
; (is_IntVarArgs(X1,Y1)
-> gecode_constraint_unshare_474(Y0,Y1)
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(unshare(X0,X1),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(unshare(X0,X1),arg=1)))).
unshare(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVarArgs(X1,Y1)
-> (is_IntPropLevel(X2,Y2)
-> gecode_constraint_unshare_473(Y0,Y1,Y2)
; throw(error(type_error('IntPropLevel'(X2)),gecode_argument_error(unshare(X0,X1,X2),arg=3))))
; (is_IntVarArgs(X1,Y1)
-> (is_IntPropLevel(X2,Y2)
-> gecode_constraint_unshare_475(Y0,Y1,Y2)
; throw(error(type_error('IntPropLevel'(X2)),gecode_argument_error(unshare(X0,X1,X2),arg=3))))
; throw(error(type_error('IntVarArgs'(X1)),gecode_argument_error(unshare(X0,X1,X2),arg=2)))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(unshare(X0,X1,X2),arg=1)))).
when(X0,X1,X2) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_std_function(X2,Y2)
-> gecode_constraint_when_476(Y0,Y1,Y2)
; throw(error(type_error('std::function<void(Space&home)>'(X2)),gecode_argument_error(when(X0,X1,X2),arg=3))))
; throw(error(type_error('BoolVar'(X1)),gecode_argument_error(when(X0,X1,X2),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(when(X0,X1,X2),arg=1)))).
when(X0,X1,X2,X3) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_std_function(X2,Y2)
-> (is_IntPropLevel(X3,Y3)
-> gecode_constraint_when_477(Y0,Y1,Y2,Y3)
; (is_std_function(X3,Y3)
-> gecode_constraint_when_478(Y0,Y1,Y2,Y3)
; throw(error(type_error('std::function<void(Space&home)>'(X3)),gecode_argument_error(when(X0,X1,X2,X3),arg=4)))))
; throw(error(type_error('std::function<void(Space&home)>'(X2)),gecode_argument_error(when(X0,X1,X2,X3),arg=3))))
; throw(error(type_error('BoolVar'(X1)),gecode_argument_error(when(X0,X1,X2,X3),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(when(X0,X1,X2,X3),arg=1)))).
when(X0,X1,X2,X3,X4) :-
(is_Space_or_Clause(X0,Y0)
-> (is_BoolVar(X1,Y1)
-> (is_std_function(X2,Y2)
-> (is_std_function(X3,Y3)
-> (is_IntPropLevel(X4,Y4)
-> gecode_constraint_when_479(Y0,Y1,Y2,Y3,Y4)
; throw(error(type_error('IntPropLevel'(X4)),gecode_argument_error(when(X0,X1,X2,X3,X4),arg=5))))
; throw(error(type_error('std::function<void(Space&home)>'(X3)),gecode_argument_error(when(X0,X1,X2,X3,X4),arg=4))))
; throw(error(type_error('std::function<void(Space&home)>'(X2)),gecode_argument_error(when(X0,X1,X2,X3,X4),arg=3))))
; throw(error(type_error('BoolVar'(X1)),gecode_argument_error(when(X0,X1,X2,X3,X4),arg=2))))
; throw(error(type_error('Space'(X0)),gecode_argument_error(when(X0,X1,X2,X3,X4),arg=1)))).
| Prolog | 4 | ryandesign/yap | packages/gecode/6.0.1/gecode_yap_auto_generated.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
// Copyright (c) 2001-2015 see AUTHORS file
//
// 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.
//
//
// Adapted for Grace by Richard Roberts
// 2018, June
//
import "harness" as harness
class newPermute -> Benchmark {
inherit harness.newBenchmark
var count: Number := 0.asInteger
var v: List := Done
method benchmark -> Number {
count := 0.asInteger
v := platform.kernel.Array.new(6.asInteger)withAll(0.asInteger)
permute(6.asInteger)
count
}
method verifyResult(result: Number) -> Boolean {
8660 == result
}
method permute(n: Number) -> Done {
count := count + 1.asInteger
(n != 0).ifTrue {
permute (n - 1.asInteger)
n.downTo(1.asInteger) do { i: Number ->
swap (n) with (i)
permute (n - 1.asInteger)
swap (n) with (i)
}
}
}
method swap (i: Number) with (j: Number) -> Done {
var tmp: Number := v.at(i)
v. at (i) put (v.at(j))
v. at (j) put (tmp)
}
}
method newInstance -> Benchmark { newPermute }
| Grace | 4 | smarr/moth-benchmarks | benchmarks/Moth/Permute.grace | [
"MIT"
] |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "LayoutAnimationKeyFrameManager.h"
#include <algorithm>
#include <utility>
#include <react/debug/flags.h>
#include <react/debug/react_native_assert.h>
#include <logger/react_native_log.h>
#include <react/renderer/animations/conversions.h>
#include <react/renderer/animations/utils.h>
#include <react/renderer/componentregistry/ComponentDescriptorFactory.h>
#include <react/renderer/components/image/ImageProps.h>
#include <react/renderer/components/view/ViewProps.h>
#include <react/renderer/core/ComponentDescriptor.h>
#include <react/renderer/core/LayoutMetrics.h>
#include <react/renderer/core/Props.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/core/RawValue.h>
#include <react/renderer/mounting/MountingCoordinator.h>
#include <react/renderer/mounting/ShadowView.h>
#include <react/renderer/mounting/ShadowViewMutation.h>
#include <glog/logging.h>
namespace facebook {
namespace react {
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
static std::string GetMutationInstructionString(
ShadowViewMutation const &mutation) {
bool mutationIsRemove = mutation.type == ShadowViewMutation::Type::Remove;
bool mutationIsInsert = mutation.type == ShadowViewMutation::Type::Insert;
bool mutationIsDelete = mutation.type == ShadowViewMutation::Type::Delete;
bool mutationIsCreate = mutation.type == ShadowViewMutation::Type::Create;
std::string mutationType =
(mutationIsRemove
? "REMOVE"
: (mutationIsInsert
? "INSERT"
: (mutationIsDelete
? "DELETE"
: (mutationIsCreate ? "CREATE" : "UPDATE"))));
return mutationType + " [" +
std::to_string(
mutationIsInsert || mutationIsCreate
? mutation.newChildShadowView.tag
: mutation.oldChildShadowView.tag) +
"]->[" + std::to_string(mutation.parentShadowView.tag) + "] @" +
std::to_string(mutation.index);
}
void PrintMutationInstruction(
std::string message,
ShadowViewMutation const &mutation) {
[&](std::ostream &stream) -> std::ostream & {
stream << message
<< " Mutation: " << GetMutationInstructionString(mutation);
if (mutation.oldChildShadowView.tag != 0) {
stream << " old hash: ##"
<< std::hash<ShadowView>{}(mutation.oldChildShadowView);
}
if (mutation.newChildShadowView.tag != 0) {
stream << " new hash: ##"
<< std::hash<ShadowView>{}(mutation.newChildShadowView);
}
return stream;
}(LOG(ERROR));
}
void PrintMutationInstructionRelative(
std::string message,
ShadowViewMutation const &mutation,
ShadowViewMutation const &relativeMutation) {
LOG(ERROR) << message
<< " Mutation: " << GetMutationInstructionString(mutation)
<< " RelativeMutation: "
<< GetMutationInstructionString(relativeMutation);
}
#endif
static inline Float
interpolateFloats(Float coefficient, Float oldValue, Float newValue) {
return oldValue + (newValue - oldValue) * coefficient;
}
#pragma mark -
LayoutAnimationKeyFrameManager::LayoutAnimationKeyFrameManager(
RuntimeExecutor runtimeExecutor,
ContextContainer::Shared &contextContainer,
LayoutAnimationStatusDelegate *delegate)
: runtimeExecutor_(std::move(runtimeExecutor)),
contextContainer_(contextContainer),
layoutAnimationStatusDelegate_(delegate),
now_([]() {
return std::chrono::duration_cast<std::chrono::milliseconds>(
std::chrono::high_resolution_clock::now().time_since_epoch())
.count();
}) {}
#pragma mark UIManagerAnimationDelegate methods
/**
* Globally configure next LayoutAnimation.
* This is guaranteed to be called only on the JS thread.
*/
void LayoutAnimationKeyFrameManager::uiManagerDidConfigureNextLayoutAnimation(
jsi::Runtime &runtime,
RawValue const &config,
const jsi::Value &successCallbackValue,
const jsi::Value &failureCallbackValue) const {
bool hasSuccessCallback = successCallbackValue.isObject() &&
successCallbackValue.getObject(runtime).isFunction(runtime);
bool hasFailureCallback = failureCallbackValue.isObject() &&
failureCallbackValue.getObject(runtime).isFunction(runtime);
LayoutAnimationCallbackWrapper successCallback = hasSuccessCallback
? LayoutAnimationCallbackWrapper(
successCallbackValue.getObject(runtime).getFunction(runtime))
: LayoutAnimationCallbackWrapper();
LayoutAnimationCallbackWrapper failureCallback = hasFailureCallback
? LayoutAnimationCallbackWrapper(
failureCallbackValue.getObject(runtime).getFunction(runtime))
: LayoutAnimationCallbackWrapper();
auto layoutAnimationConfig =
parseLayoutAnimationConfig((folly::dynamic)config);
if (layoutAnimationConfig) {
std::lock_guard<std::mutex> lock(currentAnimationMutex_);
uiManagerDidConfigureNextLayoutAnimation(LayoutAnimation{
-1,
0,
false,
*layoutAnimationConfig,
successCallback,
failureCallback,
{}});
} else {
LOG(ERROR) << "Parsing LayoutAnimationConfig failed: "
<< (folly::dynamic)config;
callCallback(failureCallback);
}
}
void LayoutAnimationKeyFrameManager::setComponentDescriptorRegistry(
const SharedComponentDescriptorRegistry &componentDescriptorRegistry) {
componentDescriptorRegistry_ = componentDescriptorRegistry;
}
bool LayoutAnimationKeyFrameManager::shouldAnimateFrame() const {
std::lock_guard<std::mutex> lock(currentAnimationMutex_);
return currentAnimation_ || !inflightAnimations_.empty();
}
void LayoutAnimationKeyFrameManager::stopSurface(SurfaceId surfaceId) {
std::lock_guard<std::mutex> lock(surfaceIdsToStopMutex_);
surfaceIdsToStop_.insert(surfaceId);
}
#pragma mark - MountingOverrideDelegate methods
bool LayoutAnimationKeyFrameManager::shouldOverridePullTransaction() const {
return shouldAnimateFrame();
}
butter::optional<MountingTransaction>
LayoutAnimationKeyFrameManager::pullTransaction(
SurfaceId surfaceId,
MountingTransaction::Number transactionNumber,
TransactionTelemetry const &telemetry,
ShadowViewMutationList mutations) const {
simulateImagePropsMemoryAccess(mutations);
// Current time in milliseconds
uint64_t now = now_();
bool inflightAnimationsExistInitially = !inflightAnimations_.empty();
deleteAnimationsForStoppedSurfaces();
if (!mutations.empty()) {
#ifdef RN_SHADOW_TREE_INTROSPECTION
{
std::stringstream ss(getDebugDescription(mutations, {}));
std::string to;
while (std::getline(ss, to, '\n')) {
LOG(ERROR)
<< "LayoutAnimationKeyFrameManager.cpp: got mutation list: Line: "
<< to;
}
};
#endif
// DEBUG ONLY: list existing inflight animations
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR) << "BEGINNING DISPLAYING ONGOING inflightAnimations_!";
int i = 0;
int j = 0;
for (auto const &inflightAnimation : inflightAnimations_) {
i++;
j = 0;
if (inflightAnimation.completed) {
continue;
}
for (auto &keyframe : inflightAnimation.keyFrames) {
j++;
if (keyframe.invalidated) {
continue;
}
for (const auto &finalMutationForKeyFrame :
keyframe.finalMutationsForKeyFrame) {
if (finalMutationForKeyFrame.mutatedViewIsVirtual()) {
std::string msg = "Animation " + std::to_string(i) + " keyframe " +
std::to_string(j) + ": Final Animation";
PrintMutationInstruction(msg, finalMutationForKeyFrame);
} else {
LOG(ERROR) << "Animation " << i << " keyframe " << j
<< ": on tag: [" << keyframe.viewStart.tag << "]";
}
}
}
}
LOG(ERROR) << "BEGINNING DONE DISPLAYING ONGOING inflightAnimations_!";
#endif
PropsParserContext propsParserContext{surfaceId, *contextContainer_};
// What to do if we detect a conflict? Get current value and make
// that the baseline of the next animation. Scale the remaining time
// in the animation
// Types of conflicts and how we handle them:
// Update -> update: remove the previous update, make it the baseline of the
// next update (with current progress) Update -> remove: same, with final
// mutation being a remove Insert -> update: treat as update->update Insert
// -> remove: same, as update->remove Remove -> update/insert: not possible
// We just collect pairs here of <Mutation, AnimationConfig> and delete them
// from active animations. If another animation is queued up from the
// current mutations then these deleted mutations will serve as the baseline
// for the next animation. If not, the current mutations are executed
// immediately without issues.
std::vector<AnimationKeyFrame> conflictingAnimations{};
getAndEraseConflictingAnimations(
surfaceId, mutations, conflictingAnimations);
// Are we animating this list of mutations?
butter::optional<LayoutAnimation> currentAnimation{};
{
std::lock_guard<std::mutex> lock(currentAnimationMutex_);
if (currentAnimation_) {
currentAnimation = std::move(currentAnimation_);
currentAnimation_.reset();
}
}
if (currentAnimation.hasValue()) {
LayoutAnimation animation = std::move(currentAnimation).value();
animation.surfaceId = surfaceId;
animation.startTime = now;
// Pre-process list to:
// Catch remove+reinsert (reorders)
// Catch delete+create (reparenting) (this should be optimized away at
// the diffing level eventually?)
// TODO: to prevent this step we could tag Remove/Insert mutations as
// being moves on the Differ level, since we know that there? We could use
// TinyMap here, but it's not exposed by Differentiator (yet).
butter::set<Tag> insertedTags;
butter::set<Tag> deletedTags;
butter::set<Tag> reparentedTags; // tags that are deleted and recreated
std::unordered_map<Tag, ShadowViewMutation> movedTags;
for (const auto &mutation : mutations) {
if (mutation.type == ShadowViewMutation::Type::Insert) {
insertedTags.insert(mutation.newChildShadowView.tag);
}
if (mutation.type == ShadowViewMutation::Type::Delete) {
deletedTags.insert(mutation.oldChildShadowView.tag);
}
if (mutation.type == ShadowViewMutation::Type::Create) {
if (deletedTags.find(mutation.newChildShadowView.tag) !=
deletedTags.end()) {
reparentedTags.insert(mutation.newChildShadowView.tag);
}
}
}
// Process mutations list into operations that can be sent to platform
// immediately, and those that need to be animated Deletions, removals,
// updates are delayed and animated. Creations and insertions are sent to
// platform and then "animated in" with opacity updates. Upon completion,
// removals and deletions are sent to platform
ShadowViewMutation::List immediateMutations;
// Remove operations that are actually moves should be copied to
// "immediate mutations". The corresponding "insert" will also be executed
// immediately and animated as an update.
std::vector<AnimationKeyFrame> keyFramesToAnimate;
auto const layoutAnimationConfig = animation.layoutAnimationConfig;
for (auto const &mutation : mutations) {
ShadowView baselineShadowView =
(mutation.type == ShadowViewMutation::Type::Delete ||
mutation.type == ShadowViewMutation::Type::Remove ||
mutation.type == ShadowViewMutation::Type::Update
? mutation.oldChildShadowView
: mutation.newChildShadowView);
react_native_assert(baselineShadowView.tag > 0);
bool haveComponentDescriptor =
hasComponentDescriptorForShadowView(baselineShadowView);
// Immediately execute any mutations on a root node
if (baselineShadowView.traits.check(
ShadowNodeTraits::Trait::RootNodeKind)) {
immediateMutations.push_back(mutation);
continue;
}
butter::optional<ShadowViewMutation> executeMutationImmediately{};
bool isRemoveReinserted =
mutation.type == ShadowViewMutation::Type::Remove &&
insertedTags.find(mutation.oldChildShadowView.tag) !=
insertedTags.end();
// Reparenting can result in a node being removed, inserted (moved) and
// also deleted and created in the same frame, with the same props etc.
// This should eventually be optimized out of the diffing algorithm, but
// for now we detect reparenting and prevent the corresponding
// Delete/Create instructions from being animated.
bool isReparented =
reparentedTags.find(baselineShadowView.tag) != reparentedTags.end();
if (isRemoveReinserted) {
movedTags.insert({mutation.oldChildShadowView.tag, mutation});
}
// Inserts that follow a "remove" of the same tag should be treated as
// an update (move) animation.
bool wasInsertedTagRemoved = false;
auto movedIt = movedTags.end();
if (mutation.type == ShadowViewMutation::Type::Insert) {
// If this is a move, we actually don't want to copy this insert
// instruction to animated instructions - we want to
// generate an Update mutation for Remove+Insert pairs to animate
// the layout.
// The corresponding Remove and Insert instructions will instead
// be treated as "immediate" instructions.
movedIt = movedTags.find(mutation.newChildShadowView.tag);
wasInsertedTagRemoved = movedIt != movedTags.end();
}
auto const &mutationConfig =
(mutation.type == ShadowViewMutation::Type::Delete ||
(mutation.type == ShadowViewMutation::Type::Remove &&
!wasInsertedTagRemoved)
? layoutAnimationConfig.deleteConfig
: (mutation.type == ShadowViewMutation::Type::Insert &&
!wasInsertedTagRemoved
? layoutAnimationConfig.createConfig
: layoutAnimationConfig.updateConfig));
bool haveConfiguration =
mutationConfig.animationType != AnimationType::None;
// Creates and inserts should also be executed immediately.
// Mutations that would otherwise be animated, but have no
// configuration, are also executed immediately.
if (isRemoveReinserted || !haveConfiguration || isReparented ||
mutation.type == ShadowViewMutation::Type::Create ||
mutation.type == ShadowViewMutation::Type::Insert) {
executeMutationImmediately = mutation;
// It is possible, especially in the case of "moves", that we have a
// sequence of operations like:
// UPDATE X
// REMOVE X
// INSERT X
// In these cases, we will have queued up an animation for the UPDATE
// and delayed its execution; the REMOVE and INSERT will be executed
// first; and then the UPDATE will be animating to/from ShadowViews
// that are out-of-sync with what's on the mounting layer. Thus, for
// any UPDATE animations already queued up for this tag, we adjust the
// "previous" ShadowView.
if (mutation.type == ShadowViewMutation::Type::Insert) {
for (auto &keyframe : keyFramesToAnimate) {
if (keyframe.tag == baselineShadowView.tag) {
// If there's already an animation queued up, followed by this
// Insert, it *must* be an Update mutation animation. Other
// sequences should not be possible.
react_native_assert(
keyframe.type == AnimationConfigurationType::Update);
// The mutation is an "insert", so it must have a
// "newChildShadowView"
react_native_assert(mutation.newChildShadowView.tag > 0);
// Those asserts don't run in prod. If there's some edge-case
// that we haven't caught yet, we'd crash in debug; make sure we
// don't mutate the prevView in prod.
if (keyframe.type == AnimationConfigurationType::Update &&
mutation.newChildShadowView.tag > 0) {
keyframe.viewPrev = mutation.newChildShadowView;
}
}
}
} else if (mutation.type == ShadowViewMutation::Type::Remove) {
for (auto &keyframe : keyFramesToAnimate) {
if (keyframe.tag == baselineShadowView.tag) {
// If there's already an animation queued up, followed by this
// Insert, it *must* be an Update mutation animation. Other
// sequences should not be possible.
react_native_assert(
keyframe.type == AnimationConfigurationType::Update);
// The mutation is a "remove", so it must have a
// "oldChildShadowView"
react_native_assert(mutation.oldChildShadowView.tag > 0);
// Those asserts don't run in prod. If there's some edge-case
// that we haven't caught yet, we'd crash in debug; make sure we
// don't mutate the prevView in prod.
// Since normally the UPDATE would have been executed first and
// now it's deferred, we need to change the `oldChildShadowView`
// that is being referenced by the REMOVE mutation.
if (keyframe.type == AnimationConfigurationType::Update &&
mutation.oldChildShadowView.tag > 0) {
executeMutationImmediately =
ShadowViewMutation::RemoveMutation(
mutation.parentShadowView,
keyframe.viewPrev,
mutation.index);
}
}
}
}
}
// Deletes, non-move inserts, updates get animated
if (!wasInsertedTagRemoved && !isRemoveReinserted && !isReparented &&
haveConfiguration &&
mutation.type != ShadowViewMutation::Type::Create) {
ShadowView viewStart = ShadowView(
mutation.type == ShadowViewMutation::Type::Insert
? mutation.newChildShadowView
: mutation.oldChildShadowView);
react_native_assert(viewStart.tag > 0);
ShadowView viewFinal = ShadowView(
mutation.type == ShadowViewMutation::Type::Update
? mutation.newChildShadowView
: viewStart);
react_native_assert(viewFinal.tag > 0);
ShadowView parent = mutation.parentShadowView;
react_native_assert(
parent.tag > 0 ||
mutation.type == ShadowViewMutation::Type::Update ||
mutation.type == ShadowViewMutation::Type::Delete);
Tag tag = viewStart.tag;
AnimationKeyFrame keyFrame{};
if (mutation.type == ShadowViewMutation::Type::Insert) {
if (mutationConfig.animationProperty ==
AnimationProperty::Opacity &&
haveComponentDescriptor) {
auto props =
getComponentDescriptorForShadowView(baselineShadowView)
.cloneProps(propsParserContext, viewStart.props, {});
if (baselineShadowView.traits.check(
ShadowNodeTraits::Trait::ViewKind)) {
auto const &viewProps =
*std::static_pointer_cast<ViewProps const>(props);
const_cast<ViewProps &>(viewProps).opacity = 0;
}
react_native_assert(props != nullptr);
if (props != nullptr) {
viewStart.props = props;
}
}
bool isScaleX =
mutationConfig.animationProperty == AnimationProperty::ScaleX ||
mutationConfig.animationProperty == AnimationProperty::ScaleXY;
bool isScaleY =
mutationConfig.animationProperty == AnimationProperty::ScaleY ||
mutationConfig.animationProperty == AnimationProperty::ScaleXY;
if ((isScaleX || isScaleY) && haveComponentDescriptor) {
auto props =
getComponentDescriptorForShadowView(baselineShadowView)
.cloneProps(propsParserContext, viewStart.props, {});
if (baselineShadowView.traits.check(
ShadowNodeTraits::Trait::ViewKind)) {
auto const &viewProps =
*std::static_pointer_cast<ViewProps const>(props);
const_cast<ViewProps &>(viewProps).transform =
Transform::Scale(isScaleX ? 0 : 1, isScaleY ? 0 : 1, 1);
}
react_native_assert(props != nullptr);
if (props != nullptr) {
viewStart.props = props;
}
}
PrintMutationInstruction(
"Setting up animation KeyFrame for INSERT mutation (Create animation)",
mutation);
keyFrame = AnimationKeyFrame{
/* .finalMutationsForKeyFrame = */ {},
/* .type = */ AnimationConfigurationType::Create,
/* .tag = */ tag,
/* .parentView = */ parent,
/* .viewStart = */ viewStart,
/* .viewEnd = */ viewFinal,
/* .viewPrev = */ baselineShadowView,
/* .initialProgress = */ 0};
} else if (mutation.type == ShadowViewMutation::Type::Delete) {
// This is just for assertion purposes.
// The NDEBUG check here is to satisfy the compiler in certain environments
// complaining about correspondingRemoveIt being unused.
#ifdef REACT_NATIVE_DEBUG
#ifndef NDEBUG
// This block is temporarily disabled to fix some internal builds.
// In some build configurations, we get a compiler error that
// `correspondingRemoveIt` is unused.
/* Tag deleteTag = mutation.oldChildShadowView.tag;
auto correspondingRemoveIt = std::find_if(
mutations.begin(),
mutations.end(),
[&deleteTag](auto &mutation) {
return mutation.type == ShadowViewMutation::Type::Remove &&
mutation.oldChildShadowView.tag == deleteTag;
});
react_native_assert(correspondingRemoveIt != mutations.end());
*/
#endif
#endif
continue;
} else if (mutation.type == ShadowViewMutation::Type::Update) {
viewFinal = ShadowView(mutation.newChildShadowView);
PrintMutationInstruction(
"Setting up animation KeyFrame for UPDATE mutation (Update animation)",
mutation);
keyFrame = AnimationKeyFrame{
/* .finalMutationsForKeyFrame = */ {mutation},
/* .type = */ AnimationConfigurationType::Update,
/* .tag = */ tag,
/* .parentView = */ parent,
/* .viewStart = */ viewStart,
/* .viewEnd = */ viewFinal,
/* .viewPrev = */ baselineShadowView,
/* .initialProgress = */ 0};
} else {
// This should just be "Remove" instructions that are not animated
// (either this is a "move", or there's a corresponding "Delete"
// that is animated).
react_native_assert(
mutation.type == ShadowViewMutation::Type::Remove);
Tag removeTag = mutation.oldChildShadowView.tag;
auto correspondingInsertIt = std::find_if(
mutations.begin(),
mutations.end(),
[&removeTag](auto &mutation) {
return mutation.type == ShadowViewMutation::Type::Insert &&
mutation.newChildShadowView.tag == removeTag;
});
if (correspondingInsertIt == mutations.end()) {
// This is a REMOVE not paired with an INSERT (move), so it must
// be paired with a DELETE.
auto correspondingDeleteIt = std::find_if(
mutations.begin(),
mutations.end(),
[&removeTag](auto &mutation) {
return mutation.type == ShadowViewMutation::Type::Delete &&
mutation.oldChildShadowView.tag == removeTag;
});
react_native_assert(correspondingDeleteIt != mutations.end());
auto deleteMutation = *correspondingDeleteIt;
if (mutationConfig.animationProperty ==
AnimationProperty::Opacity &&
haveComponentDescriptor) {
auto props =
getComponentDescriptorForShadowView(baselineShadowView)
.cloneProps(propsParserContext, viewFinal.props, {});
if (baselineShadowView.traits.check(
ShadowNodeTraits::Trait::ViewKind)) {
auto const &viewProps =
*std::static_pointer_cast<ViewProps const>(props);
const_cast<ViewProps &>(viewProps).opacity = 0;
}
react_native_assert(props != nullptr);
if (props != nullptr) {
viewFinal.props = props;
}
}
bool isScaleX = mutationConfig.animationProperty ==
AnimationProperty::ScaleX ||
mutationConfig.animationProperty ==
AnimationProperty::ScaleXY;
bool isScaleY = mutationConfig.animationProperty ==
AnimationProperty::ScaleY ||
mutationConfig.animationProperty ==
AnimationProperty::ScaleXY;
if ((isScaleX || isScaleY) && haveComponentDescriptor) {
auto props =
getComponentDescriptorForShadowView(baselineShadowView)
.cloneProps(propsParserContext, viewFinal.props, {});
if (baselineShadowView.traits.check(
ShadowNodeTraits::Trait::ViewKind)) {
auto const &viewProps =
*std::static_pointer_cast<ViewProps const>(props);
const_cast<ViewProps &>(viewProps).transform =
Transform::Scale(isScaleX ? 0 : 1, isScaleY ? 0 : 1, 1);
}
react_native_assert(props != nullptr);
if (props != nullptr) {
viewFinal.props = props;
}
}
PrintMutationInstruction(
"Setting up animation KeyFrame for REMOVE mutation (Delete animation)",
mutation);
keyFrame = AnimationKeyFrame{
/* .finalMutationsForKeyFrame */ {mutation, deleteMutation},
/* .type */ AnimationConfigurationType::Delete,
/* .tag */ tag,
/* .parentView */ parent,
/* .viewStart */ viewStart,
/* .viewEnd */ viewFinal,
/* .viewPrev */ baselineShadowView,
/* .initialProgress */ 0};
} else {
PrintMutationInstruction(
"Executing Remove Immediately, due to reordering operation",
mutation);
immediateMutations.push_back(mutation);
continue;
}
}
// Handle conflicting animations
for (auto &conflictingKeyFrame : conflictingAnimations) {
auto const &conflictingMutationBaselineShadowView =
conflictingKeyFrame.viewStart;
// We've found a conflict.
if (conflictingMutationBaselineShadowView.tag == tag) {
conflictingKeyFrame.generateFinalSyntheticMutations = false;
// Do NOT update viewStart for a CREATE animation.
if (keyFrame.type == AnimationConfigurationType::Create) {
break;
}
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR)
<< "Due to conflict, replacing 'viewStart' of animated keyframe: ["
<< conflictingKeyFrame.viewPrev.tag << "] with ##"
<< std::hash<ShadowView>{}(conflictingKeyFrame.viewPrev);
#endif
// Pick a Prop or layout property, depending on the current
// animation configuration. Figure out how much progress we've
// already made in the current animation, and start the animation
// from this point.
keyFrame.viewPrev = conflictingKeyFrame.viewPrev;
keyFrame.viewStart = conflictingKeyFrame.viewPrev;
react_native_assert(keyFrame.viewStart.tag > 0);
keyFrame.initialProgress = 0;
// We're guaranteed that a tag only has one animation associated
// with it, so we can break here. If we support multiple
// animations and animation curves over the same tag in the
// future, this will need to be modified to support that.
break;
}
}
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR) << "Checking validity of keyframe: ["
<< keyFrame.viewStart.tag << "] [" << keyFrame.viewEnd.tag
<< "] [" << keyFrame.viewPrev.tag
<< "] animation type: " << (int)keyFrame.type;
#endif
react_native_assert(keyFrame.viewStart.tag > 0);
react_native_assert(keyFrame.viewEnd.tag > 0);
react_native_assert(keyFrame.viewPrev.tag > 0);
keyFramesToAnimate.push_back(keyFrame);
}
if (executeMutationImmediately.hasValue()) {
PrintMutationInstruction(
"Queue Up For Immediate Execution", *executeMutationImmediately);
immediateMutations.push_back(*executeMutationImmediately);
}
}
#ifdef RN_SHADOW_TREE_INTROSPECTION
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
{
int idx = 0;
for (auto &mutation : immediateMutations) {
PrintMutationInstruction(
std::string("IMMEDIATE list: ") + std::to_string(idx) + "/" +
std::to_string(immediateMutations.size()),
mutation);
idx++;
}
}
{
int idx = 0;
for (const auto &keyframe : keyFramesToAnimate) {
for (const auto &finalMutationForKeyFrame :
keyframe.finalMutationsForKeyFrame) {
PrintMutationInstruction(
std::string("FINAL list: ") + std::to_string(idx) + "/" +
std::to_string(keyFramesToAnimate.size()),
finalMutationForKeyFrame);
}
idx++;
}
}
#endif
#endif
auto finalConflictingMutations = ShadowViewMutationList{};
for (auto &keyFrame : conflictingAnimations) {
// Special-case: if we have some (1) ongoing UPDATE animation,
// (2) it conflicted with a new MOVE operation (REMOVE+INSERT)
// without another corresponding UPDATE, we should re-queue the
// keyframe so that its position/props don't suddenly "jump".
if (keyFrame.type == AnimationConfigurationType::Update) {
auto movedIt = movedTags.find(keyFrame.tag);
if (movedIt != movedTags.end()) {
auto newKeyFrameForUpdate = std::find_if(
keyFramesToAnimate.begin(),
keyFramesToAnimate.end(),
[&](auto const &newKeyFrame) {
return newKeyFrame.type ==
AnimationConfigurationType::Update &&
newKeyFrame.tag == keyFrame.tag;
});
if (newKeyFrameForUpdate == keyFramesToAnimate.end()) {
keyFrame.invalidated = false;
// The animation will continue from the current position - we
// restart viewStart to make sure there are no sudden jumps
keyFrame.viewStart = keyFrame.viewPrev;
// Find the insert mutation that conflicted with this update
for (auto &mutation : immediateMutations) {
if (mutation.newChildShadowView.tag == keyFrame.tag &&
(mutation.type == ShadowViewMutation::Insert ||
mutation.type == ShadowViewMutation::Create)) {
keyFrame.viewPrev = mutation.newChildShadowView;
keyFrame.viewEnd = mutation.newChildShadowView;
}
}
keyFramesToAnimate.push_back(keyFrame);
continue;
}
}
}
// If the "final" mutation is already accounted for, by previously
// setting the correct "viewPrev" of the next conflicting animation, we
// don't want to queue up any final UPDATE mutations here.
bool shouldGenerateSyntheticMutations =
keyFrame.generateFinalSyntheticMutations;
auto numFinalMutations = keyFrame.finalMutationsForKeyFrame.size();
bool onlyMutationIsUpdate =
(numFinalMutations == 1 &&
keyFrame.finalMutationsForKeyFrame[0].type ==
ShadowViewMutation::Update);
if (!shouldGenerateSyntheticMutations &&
(numFinalMutations == 0 || onlyMutationIsUpdate)) {
continue;
}
queueFinalMutationsForCompletedKeyFrame(
keyFrame,
finalConflictingMutations,
true,
"KeyFrameManager: Finished Conflicting Keyframe");
}
// Make sure that all operations execute in the proper order, since
// conflicting animations are not sorted in any reasonable way.
std::stable_sort(
finalConflictingMutations.begin(),
finalConflictingMutations.end(),
&shouldFirstComeBeforeSecondMutation);
std::stable_sort(
immediateMutations.begin(),
immediateMutations.end(),
&shouldFirstComeBeforeSecondRemovesOnly);
animation.keyFrames = keyFramesToAnimate;
inflightAnimations_.push_back(std::move(animation));
// At this point, we have the following information and knowledge graph:
// Knowledge Graph:
// [ImmediateMutations] -> assumes [FinalConflicting], [FrameDelayed],
// [Delayed] already executed [FrameDelayed] -> assumes
// [FinalConflicting], [Delayed] already executed [FinalConflicting] ->
// is adjusted based on [Delayed], no dependency on [FinalConflicting],
// [FrameDelayed] [Delayed] -> assumes [FinalConflicting],
// [ImmediateMutations] not executed yet
// Adjust [Delayed] based on [FinalConflicting]
// Knowledge Graph:
// [ImmediateMutations] -> assumes [FinalConflicting], [FrameDelayed],
// [Delayed] already executed [FrameDelayed] -> assumes
// [FinalConflicting], [Delayed] already executed [FinalConflicting] ->
// is adjusted based on [Delayed], no dependency on [FinalConflicting],
// [FrameDelayed] [Delayed] -> adjusted for [FinalConflicting]; assumes
// [ImmediateMutations] not executed yet
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR) << "Adjust [Delayed] based on [FinalConflicting]";
#endif
for (auto &mutation : finalConflictingMutations) {
if (mutation.type == ShadowViewMutation::Type::Insert ||
mutation.type == ShadowViewMutation::Type::Remove) {
adjustDelayedMutationIndicesForMutation(surfaceId, mutation, true);
}
}
// Adjust [FrameDelayed] based on [Delayed]
// Knowledge Graph:
// [ImmediateExecutions] -> assumes [FinalConflicting], [Delayed],
// [FrameDelayed] already executed [FrameDelayed] -> adjusted for
// [Delayed]; assumes [FinalConflicting] already executed
// [FinalConflicting] -> is adjusted based on [Delayed], no dependency
// on [FinalConflicting], [FrameDelayed] [Delayed] -> adjusted for
// [FinalConflicting]; assumes [ImmediateExecutions] not executed yet
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR) << "Adjust [FrameDelayed] based on [Delayed]";
#endif
for (auto &keyframe : inflightAnimations_.back().keyFrames) {
for (auto &finalMutation : keyframe.finalMutationsForKeyFrame) {
if (finalMutation.type == ShadowViewMutation::Type::Insert ||
finalMutation.type == ShadowViewMutation::Type::Remove) {
// When adjusting, skip adjusting against last animation - because
// all `mutation`s here come from the last animation, so we can't
// adjust a batch against itself.
adjustImmediateMutationIndicesForDelayedMutations(
surfaceId, finalMutation, true);
}
}
}
// Adjust [ImmediateExecutions] based on [Delayed]
// Knowledge Graph:
// [ImmediateExecutions] -> adjusted for [FrameDelayed], [Delayed];
// assumes [FinalConflicting] already executed [FrameDelayed] ->
// adjusted for [Delayed]; assumes [FinalConflicting] already executed
// [FinalConflicting] -> is adjusted based on [Delayed], no dependency
// on [FinalConflicting], [FrameDelayed] [Delayed] -> adjusted for
// [FinalConflicting]; assumes [ImmediateExecutions] not executed yet
//
// THEN,
// Adjust [Delayed] based on [ImmediateExecutions] and
// [FinalConflicting] Knowledge Graph: [ImmediateExecutions] -> adjusted
// for [FrameDelayed], [Delayed]; assumes [FinalConflicting] already
// executed [FrameDelayed] -> adjusted for [Delayed]; assumes
// [FinalConflicting] already executed [FinalConflicting] -> is adjusted
// based on [Delayed], no dependency on [FinalConflicting],
// [FrameDelayed] [Delayed] -> adjusted for [FinalConflicting],
// [ImmediateExecutions]
//
// We do these in the same loop because each immediate execution is
// impacted by each delayed mutation, and also can impact each delayed
// mutation, and these effects compound.
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR)
<< "Adjust each [ImmediateExecution] based on [Delayed] and [Delayed] based on each [ImmediateExecution]";
#endif
for (auto &mutation : immediateMutations) {
// Note: when adjusting [ImmediateExecutions] based on [FrameDelayed],
// we need only adjust Inserts. Since inserts are executed
// highest-index-first, lower indices being delayed does not impact
// the higher-index removals; and conversely, higher indices being
// delayed cannot impact lower index removal, regardless of order.
if (mutation.type == ShadowViewMutation::Type::Insert ||
mutation.type == ShadowViewMutation::Type::Remove) {
adjustImmediateMutationIndicesForDelayedMutations(
surfaceId,
mutation,
mutation.type == ShadowViewMutation::Type::Remove);
// Here we need to adjust both Delayed and FrameDelayed mutations.
// Delayed Removes can be impacted by non-delayed Inserts from the
// same frame.
adjustDelayedMutationIndicesForMutation(surfaceId, mutation);
}
}
// If the knowledge graph progression above is correct, it is now safe
// to execute finalConflictingMutations and immediateMutations in that
// order, and to queue the delayed animations from this frame.
//
// Execute the conflicting, delayed operations immediately. Any UPDATE
// operations that smoothly transition into another animation will be
// overridden by generated UPDATE operations at the end of the list, and
// we want any REMOVE or DELETE operations to execute immediately.
// Additionally, this should allow us to avoid performing index
// adjustment between this list of conflicting animations and the batch
// we're about to execute.
finalConflictingMutations.insert(
finalConflictingMutations.end(),
immediateMutations.begin(),
immediateMutations.end());
mutations = finalConflictingMutations;
} /* if (currentAnimation) */
else {
// If there's no "next" animation, make sure we queue up "final"
// operations from all ongoing, conflicting animations.
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR) << "No Animation: Queue up final conflicting animations";
#endif
ShadowViewMutationList finalMutationsForConflictingAnimations{};
for (auto const &keyFrame : conflictingAnimations) {
queueFinalMutationsForCompletedKeyFrame(
keyFrame,
finalMutationsForConflictingAnimations,
true,
"Conflict with non-animated mutation");
}
// Make sure that all operations execute in the proper order.
// REMOVE operations with highest indices must operate first.
std::stable_sort(
finalMutationsForConflictingAnimations.begin(),
finalMutationsForConflictingAnimations.end(),
&shouldFirstComeBeforeSecondMutation);
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR)
<< "No Animation: Adjust delayed mutations based on all finalMutationsForConflictingAnimations";
#endif
for (auto const &mutation : finalMutationsForConflictingAnimations) {
if (mutation.type == ShadowViewMutation::Type::Remove ||
mutation.type == ShadowViewMutation::Type::Insert) {
adjustDelayedMutationIndicesForMutation(surfaceId, mutation);
}
}
// The ShadowTree layer doesn't realize that certain operations have
// been delayed, so we must adjust all Remove and Insert operations
// based on what else has been deferred, whether we are executing this
// immediately or later.
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR)
<< "No Animation: Adjust mutations based on remaining delayed mutations / adjust delayed, based on each";
#endif
for (auto &mutation : mutations) {
if (mutation.type == ShadowViewMutation::Type::Remove ||
mutation.type == ShadowViewMutation::Type::Insert) {
adjustImmediateMutationIndicesForDelayedMutations(
surfaceId, mutation);
adjustDelayedMutationIndicesForMutation(surfaceId, mutation);
}
}
// Append mutations to this list and swap - so that the final
// conflicting mutations happen before any other mutations
finalMutationsForConflictingAnimations.insert(
finalMutationsForConflictingAnimations.end(),
mutations.begin(),
mutations.end());
mutations = finalMutationsForConflictingAnimations;
}
} // if (mutations)
// We never commit a different root or modify anything -
// we just send additional mutations to the mounting layer until the
// animations are finished and the mounting layer (view) represents exactly
// what is in the most recent shadow tree
// Add animation mutations to the end of our existing mutations list in this
// function.
ShadowViewMutationList mutationsForAnimation{};
animationMutationsForFrame(surfaceId, mutationsForAnimation, now);
// If any delayed removes were executed, update remaining delayed keyframes
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR)
<< "Adjust all delayed mutations based on final mutations generated by animation driver";
#endif
for (auto const &mutation : mutationsForAnimation) {
if (mutation.type == ShadowViewMutation::Type::Remove) {
adjustDelayedMutationIndicesForMutation(surfaceId, mutation);
}
}
mutations.insert(
mutations.end(),
mutationsForAnimation.begin(),
mutationsForAnimation.end());
// DEBUG ONLY: list existing inflight animations
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR) << "FINISHING DISPLAYING ONGOING inflightAnimations_!";
int i = 0;
int j = 0;
for (auto const &inflightAnimation : inflightAnimations_) {
i++;
j = 0;
if (inflightAnimation.completed) {
continue;
}
for (auto &keyframe : inflightAnimation.keyFrames) {
j++;
if (keyframe.invalidated) {
continue;
}
for (auto const &finalMutation : keyframe.finalMutationsForKeyFrame) {
if (!finalMutation.mutatedViewIsVirtual()) {
std::string msg = "Animation " + std::to_string(i) + " keyframe " +
std::to_string(j) + ": Final Animation";
PrintMutationInstruction(msg, finalMutation);
}
}
}
}
LOG(ERROR) << "FINISHING DONE DISPLAYING ONGOING inflightAnimations_!";
#endif
// Signal to delegate if all animations are complete, or if we were not
// animating anything and now some animation exists.
if (inflightAnimationsExistInitially && inflightAnimations_.empty()) {
std::lock_guard<std::mutex> lock(layoutAnimationStatusDelegateMutex_);
if (layoutAnimationStatusDelegate_ != nullptr) {
layoutAnimationStatusDelegate_->onAllAnimationsComplete();
}
} else if (
!inflightAnimationsExistInitially && !inflightAnimations_.empty()) {
std::lock_guard<std::mutex> lock(layoutAnimationStatusDelegateMutex_);
if (layoutAnimationStatusDelegate_ != nullptr) {
layoutAnimationStatusDelegate_->onAnimationStarted();
}
}
simulateImagePropsMemoryAccess(mutations);
return MountingTransaction{
surfaceId, transactionNumber, std::move(mutations), telemetry};
}
void LayoutAnimationKeyFrameManager::uiManagerDidConfigureNextLayoutAnimation(
LayoutAnimation layoutAnimation) const {
currentAnimation_ = butter::optional<LayoutAnimation>{layoutAnimation};
}
void LayoutAnimationKeyFrameManager::setLayoutAnimationStatusDelegate(
LayoutAnimationStatusDelegate *delegate) const {
std::lock_guard<std::mutex> lock(layoutAnimationStatusDelegateMutex_);
layoutAnimationStatusDelegate_ = delegate;
}
void LayoutAnimationKeyFrameManager::setClockNow(
std::function<uint64_t()> now) {
now_ = now;
}
void LayoutAnimationKeyFrameManager::enableSkipInvalidatedKeyFrames() {
skipInvalidatedKeyFrames_ = true;
}
void LayoutAnimationKeyFrameManager::enableCrashOnMissingComponentDescriptor() {
crashOnMissingComponentDescriptor_ = true;
}
void LayoutAnimationKeyFrameManager::enableSimulateImagePropsMemoryAccess() {
simulateImagePropsMemoryAccess_ = true;
}
#pragma mark - Protected
bool LayoutAnimationKeyFrameManager::hasComponentDescriptorForShadowView(
ShadowView const &shadowView) const {
auto hasComponentDescriptor =
componentDescriptorRegistry_->hasComponentDescriptorAt(
shadowView.componentHandle);
if (crashOnMissingComponentDescriptor_ && !hasComponentDescriptor) {
LOG(FATAL) << "Component descriptor with handle: "
<< shadowView.componentHandle
<< " doesn't exist. The component name: "
<< shadowView.componentName;
}
return hasComponentDescriptor;
}
ComponentDescriptor const &
LayoutAnimationKeyFrameManager::getComponentDescriptorForShadowView(
ShadowView const &shadowView) const {
return componentDescriptorRegistry_->at(shadowView.componentHandle);
}
ShadowView LayoutAnimationKeyFrameManager::createInterpolatedShadowView(
Float progress,
ShadowView const &startingView,
ShadowView const &finalView) const {
react_native_assert(startingView.tag > 0);
react_native_assert(finalView.tag > 0);
if (!hasComponentDescriptorForShadowView(startingView)) {
LOG(ERROR) << "No ComponentDescriptor for ShadowView being animated: ["
<< startingView.tag << "]";
react_native_assert(false);
return finalView;
}
ComponentDescriptor const &componentDescriptor =
getComponentDescriptorForShadowView(startingView);
// Base the mutated view on the finalView, so that the following stay
// consistent:
// - state
// - eventEmitter
// For now, we do not allow interpolation of state. And we probably never
// will, so make sure we always keep the mounting layer consistent with the
// "final" state.
auto mutatedShadowView = ShadowView(finalView);
react_native_assert(mutatedShadowView.tag > 0);
react_native_assert(startingView.props != nullptr);
react_native_assert(finalView.props != nullptr);
if (startingView.props == nullptr || finalView.props == nullptr) {
return finalView;
}
// Animate opacity or scale/transform
PropsParserContext propsParserContext{
finalView.surfaceId, *contextContainer_};
mutatedShadowView.props = componentDescriptor.interpolateProps(
propsParserContext, progress, startingView.props, finalView.props);
react_native_assert(mutatedShadowView.props != nullptr);
if (mutatedShadowView.props == nullptr) {
return finalView;
}
// Interpolate LayoutMetrics
LayoutMetrics const &finalLayoutMetrics = finalView.layoutMetrics;
LayoutMetrics const &baselineLayoutMetrics = startingView.layoutMetrics;
LayoutMetrics interpolatedLayoutMetrics = finalLayoutMetrics;
interpolatedLayoutMetrics.frame.origin.x = interpolateFloats(
progress,
baselineLayoutMetrics.frame.origin.x,
finalLayoutMetrics.frame.origin.x);
interpolatedLayoutMetrics.frame.origin.y = interpolateFloats(
progress,
baselineLayoutMetrics.frame.origin.y,
finalLayoutMetrics.frame.origin.y);
interpolatedLayoutMetrics.frame.size.width = interpolateFloats(
progress,
baselineLayoutMetrics.frame.size.width,
finalLayoutMetrics.frame.size.width);
interpolatedLayoutMetrics.frame.size.height = interpolateFloats(
progress,
baselineLayoutMetrics.frame.size.height,
finalLayoutMetrics.frame.size.height);
mutatedShadowView.layoutMetrics = interpolatedLayoutMetrics;
return mutatedShadowView;
}
void LayoutAnimationKeyFrameManager::callCallback(
LayoutAnimationCallbackWrapper const &callback) const {
runtimeExecutor_(
[callback](jsi::Runtime &runtime) { callback.call(runtime); });
}
void LayoutAnimationKeyFrameManager::queueFinalMutationsForCompletedKeyFrame(
AnimationKeyFrame const &keyframe,
ShadowViewMutation::List &mutationsList,
bool interrupted,
const std::string &logPrefix) const {
if (skipInvalidatedKeyFrames_ && keyframe.invalidated) {
return;
}
if (keyframe.finalMutationsForKeyFrame.size() > 0) {
// TODO: modularize this segment, it is repeated 2x in KeyFrameManager
// as well.
ShadowView prev = keyframe.viewPrev;
for (auto const &finalMutation : keyframe.finalMutationsForKeyFrame) {
PrintMutationInstruction(
logPrefix + ": Queuing up Final Mutation:", finalMutation);
// Copy so that if something else mutates the inflight animations,
// it won't change this mutation after this point.
switch (finalMutation.type) {
// For CREATE/INSERT this will contain CREATE, INSERT in that order.
// For REMOVE/DELETE, same.
case ShadowViewMutation::Type::Create:
mutationsList.push_back(ShadowViewMutation::CreateMutation(
finalMutation.newChildShadowView));
break;
case ShadowViewMutation::Type::Delete:
mutationsList.push_back(ShadowViewMutation::DeleteMutation(prev));
break;
case ShadowViewMutation::Type::Insert:
mutationsList.push_back(ShadowViewMutation::InsertMutation(
finalMutation.parentShadowView,
finalMutation.newChildShadowView,
finalMutation.index));
break;
case ShadowViewMutation::Type::Remove:
mutationsList.push_back(ShadowViewMutation::RemoveMutation(
finalMutation.parentShadowView, prev, finalMutation.index));
break;
case ShadowViewMutation::Type::Update:
mutationsList.push_back(ShadowViewMutation::UpdateMutation(
prev, finalMutation.newChildShadowView));
break;
}
if (finalMutation.newChildShadowView.tag > 0) {
prev = finalMutation.newChildShadowView;
}
}
} else {
// If there's no final mutation associated, create a mutation that
// corresponds to the animation being 100% complete. This is
// important for, for example, INSERT mutations being animated from
// opacity 0 to 1. If the animation is interrupted we must force the
// View to be at opacity 1. For Android - since it passes along only
// deltas, not an entire bag of props - generate an "animation"
// frame corresponding to a final update for this view. Only then,
// generate an update that will cause the ShadowTree to be
// consistent with the Mounting layer by passing viewEnd,
// unmodified, to the mounting layer. This helps with, for example,
// opacity animations.
// This is necessary for INSERT (create) and UPDATE (update) mutations, but
// not REMOVE/DELETE mutations ("delete" animations).
if (interrupted) {
auto mutatedShadowView =
createInterpolatedShadowView(1, keyframe.viewStart, keyframe.viewEnd);
auto generatedPenultimateMutation = ShadowViewMutation::UpdateMutation(
keyframe.viewPrev, mutatedShadowView);
react_native_assert(
generatedPenultimateMutation.oldChildShadowView.tag > 0);
react_native_assert(
generatedPenultimateMutation.newChildShadowView.tag > 0);
PrintMutationInstruction(
"Queueing up penultimate mutation instruction - synthetic",
generatedPenultimateMutation);
mutationsList.push_back(generatedPenultimateMutation);
auto generatedMutation = ShadowViewMutation::UpdateMutation(
mutatedShadowView, keyframe.viewEnd);
react_native_assert(generatedMutation.oldChildShadowView.tag > 0);
react_native_assert(generatedMutation.newChildShadowView.tag > 0);
PrintMutationInstruction(
"Queueing up final mutation instruction - synthetic",
generatedMutation);
mutationsList.push_back(generatedMutation);
} else {
auto mutation = ShadowViewMutation::UpdateMutation(
keyframe.viewPrev, keyframe.viewEnd);
PrintMutationInstruction(
logPrefix +
"Animation Complete: Queuing up Final Synthetic Mutation:",
mutation);
react_native_assert(mutation.oldChildShadowView.tag > 0);
react_native_assert(mutation.newChildShadowView.tag > 0);
mutationsList.push_back(std::move(mutation));
}
}
}
#pragma mark - Private
void LayoutAnimationKeyFrameManager::
adjustImmediateMutationIndicesForDelayedMutations(
SurfaceId surfaceId,
ShadowViewMutation &mutation,
bool skipLastAnimation,
bool lastAnimationOnly) const {
bool isRemoveMutation = mutation.type == ShadowViewMutation::Type::Remove;
react_native_assert(
isRemoveMutation || mutation.type == ShadowViewMutation::Type::Insert);
// TODO: turn all of this into a lambda and share code?
if (mutation.mutatedViewIsVirtual()) {
PrintMutationInstruction(
"[IndexAdjustment] Not calling adjustImmediateMutationIndicesForDelayedMutations, is virtual, for:",
mutation);
return;
}
PrintMutationInstruction(
"[IndexAdjustment] Calling adjustImmediateMutationIndicesForDelayedMutations for:",
mutation);
// First, collect all final mutations that could impact this immediate
// mutation.
std::vector<ShadowViewMutation *> candidateMutations{};
for (auto inflightAnimationIt =
inflightAnimations_.rbegin() + (skipLastAnimation ? 1 : 0);
inflightAnimationIt != inflightAnimations_.rend();
inflightAnimationIt++) {
auto &inflightAnimation = *inflightAnimationIt;
if (inflightAnimation.surfaceId != surfaceId) {
continue;
}
if (inflightAnimation.completed) {
continue;
}
for (auto &animatedKeyFrame : inflightAnimation.keyFrames) {
if (animatedKeyFrame.invalidated) {
continue;
}
// Detect if they're in the same view hierarchy, but not equivalent
// We've already detected direct conflicts and removed them.
if (animatedKeyFrame.parentView.tag != mutation.parentShadowView.tag) {
continue;
}
for (auto &delayedMutation : animatedKeyFrame.finalMutationsForKeyFrame) {
if (delayedMutation.type != ShadowViewMutation::Type::Remove) {
continue;
}
if (delayedMutation.mutatedViewIsVirtual()) {
continue;
}
if (delayedMutation.oldChildShadowView.tag ==
(isRemoveMutation ? mutation.oldChildShadowView.tag
: mutation.newChildShadowView.tag)) {
continue;
}
PrintMutationInstructionRelative(
"[IndexAdjustment] adjustImmediateMutationIndicesForDelayedMutations CANDIDATE for:",
mutation,
delayedMutation);
candidateMutations.push_back(&delayedMutation);
}
}
if (lastAnimationOnly) {
break;
}
}
// While the mutation keeps being affected, keep checking. We use the vector
// so we only perform one adjustment per delayed mutation. See comments at
// bottom of adjustDelayedMutationIndicesForMutation for further explanation.
bool changed = true;
int adjustedDelta = 0;
while (changed) {
changed = false;
candidateMutations.erase(
std::remove_if(
candidateMutations.begin(),
candidateMutations.end(),
[&changed, &mutation, &adjustedDelta, &isRemoveMutation](
ShadowViewMutation *candidateMutation) {
bool indexConflicts =
(candidateMutation->index < mutation.index ||
(isRemoveMutation &&
candidateMutation->index == mutation.index));
if (indexConflicts) {
mutation.index++;
adjustedDelta++;
changed = true;
PrintMutationInstructionRelative(
"[IndexAdjustment] adjustImmediateMutationIndicesForDelayedMutations: Adjusting mutation UPWARD",
mutation,
*candidateMutation);
return true;
}
return false;
}),
candidateMutations.end());
}
}
void LayoutAnimationKeyFrameManager::adjustDelayedMutationIndicesForMutation(
SurfaceId surfaceId,
ShadowViewMutation const &mutation,
bool skipLastAnimation) const {
bool isRemoveMutation = mutation.type == ShadowViewMutation::Type::Remove;
bool isInsertMutation = mutation.type == ShadowViewMutation::Type::Insert;
auto tag = isRemoveMutation ? mutation.oldChildShadowView.tag
: mutation.newChildShadowView.tag;
react_native_assert(isRemoveMutation || isInsertMutation);
if (mutation.mutatedViewIsVirtual()) {
PrintMutationInstruction(
"[IndexAdjustment] Not calling adjustDelayedMutationIndicesForMutation, is virtual, for:",
mutation);
return;
}
// First, collect all final mutations that could impact this immediate
// mutation.
std::vector<ShadowViewMutation *> candidateMutations{};
for (auto inflightAnimationIt =
inflightAnimations_.rbegin() + (skipLastAnimation ? 1 : 0);
inflightAnimationIt != inflightAnimations_.rend();
inflightAnimationIt++) {
auto &inflightAnimation = *inflightAnimationIt;
if (inflightAnimation.surfaceId != surfaceId) {
continue;
}
if (inflightAnimation.completed) {
continue;
}
for (auto &animatedKeyFrame : inflightAnimation.keyFrames) {
if (animatedKeyFrame.invalidated) {
continue;
}
// Detect if they're in the same view hierarchy, but not equivalent
// (We've already detected direct conflicts and handled them above)
if (animatedKeyFrame.parentView.tag != mutation.parentShadowView.tag) {
continue;
}
for (auto &finalAnimationMutation :
animatedKeyFrame.finalMutationsForKeyFrame) {
if (finalAnimationMutation.oldChildShadowView.tag == tag) {
continue;
}
if (finalAnimationMutation.type != ShadowViewMutation::Type::Remove) {
continue;
}
if (finalAnimationMutation.mutatedViewIsVirtual()) {
continue;
}
PrintMutationInstructionRelative(
"[IndexAdjustment] adjustDelayedMutationIndicesForMutation: CANDIDATE:",
mutation,
finalAnimationMutation);
candidateMutations.push_back(&finalAnimationMutation);
}
}
}
// Because the finalAnimations are not sorted in any way, it is possible to
// have some sequence like:
// * DELAYED REMOVE 10 from {TAG}
// * DELAYED REMOVE 9 from {TAG}
// * ...
// * DELAYED REMOVE 5 from {TAG}
// with mutation: INSERT 6/REMOVE 6. This would cause the first few mutations
// to *not* be adjusted, even though they would be impacted by mutation or
// vice-versa after later adjustments are applied. Therefore, we just keep
// recursing while there are any changes. This isn't great, but is good enough
// for now until we change these data-structures.
bool changed = true;
while (changed) {
changed = false;
candidateMutations.erase(
std::remove_if(
candidateMutations.begin(),
candidateMutations.end(),
[&mutation, &isRemoveMutation, &isInsertMutation, &changed](
ShadowViewMutation *candidateMutation) {
if (isRemoveMutation &&
mutation.index <= candidateMutation->index) {
candidateMutation->index--;
changed = true;
PrintMutationInstructionRelative(
"[IndexAdjustment] adjustDelayedMutationIndicesForMutation: Adjusting mutation DOWNWARD",
mutation,
*candidateMutation);
return true;
} else if (
isInsertMutation &&
mutation.index <= candidateMutation->index) {
candidateMutation->index++;
changed = true;
PrintMutationInstructionRelative(
"[IndexAdjustment] adjustDelayedMutationIndicesForMutation: Adjusting mutation UPWARD",
mutation,
*candidateMutation);
return true;
}
return false;
}),
candidateMutations.end());
}
}
void LayoutAnimationKeyFrameManager::getAndEraseConflictingAnimations(
SurfaceId surfaceId,
ShadowViewMutationList const &mutations,
std::vector<AnimationKeyFrame> &conflictingAnimations) const {
ShadowViewMutationList localConflictingMutations{};
for (auto const &mutation : mutations) {
bool mutationIsCreateOrDelete =
mutation.type == ShadowViewMutation::Type::Create ||
mutation.type == ShadowViewMutation::Type::Delete;
auto const &baselineShadowView =
(mutation.type == ShadowViewMutation::Type::Insert ||
mutation.type == ShadowViewMutation::Type::Create)
? mutation.newChildShadowView
: mutation.oldChildShadowView;
auto baselineTag = baselineShadowView.tag;
for (auto &inflightAnimation : inflightAnimations_) {
if (inflightAnimation.surfaceId != surfaceId) {
continue;
}
if (inflightAnimation.completed) {
continue;
}
for (auto it = inflightAnimation.keyFrames.begin();
it != inflightAnimation.keyFrames.end();) {
auto &animatedKeyFrame = *it;
if (animatedKeyFrame.invalidated) {
continue;
}
// A conflict is when either: the animated node itself is mutated
// directly; or, the parent of the node is created or deleted. In cases
// of reparenting - say, the parent is deleted but the node was moved to
// a different parent first - the reparenting (remove/insert) conflict
// will be detected before we process the parent DELETE.
// Parent deletion is important because deleting a parent recursively
// deletes all children. If we previously deferred deletion of a child,
// we need to force deletion/removal to happen immediately.
bool conflicting = animatedKeyFrame.tag == baselineTag ||
(mutationIsCreateOrDelete &&
animatedKeyFrame.parentView.tag == baselineTag &&
animatedKeyFrame.parentView.tag != 0);
// Conflicting animation detected: if we're mutating a tag under
// animation, or deleting the parent of a tag under animation, or
// reparenting.
if (conflicting) {
animatedKeyFrame.invalidated = true;
// We construct a list of all conflicting animations, whether or not
// they have a "final mutation" to execute. This is important with,
// for example, "insert" mutations where the final update needs to set
// opacity to "1", even if there's no final ShadowNode update.
// TODO: don't animate virtual views in the first place?
bool isVirtual = false;
for (const auto &finalMutationForKeyFrame :
animatedKeyFrame.finalMutationsForKeyFrame) {
isVirtual =
isVirtual || finalMutationForKeyFrame.mutatedViewIsVirtual();
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
PrintMutationInstructionRelative(
"Found mutation that conflicts with existing in-flight animation:",
mutation,
finalMutationForKeyFrame);
#endif
}
conflictingAnimations.push_back(animatedKeyFrame);
for (const auto &finalMutationForKeyFrame :
animatedKeyFrame.finalMutationsForKeyFrame) {
if (!isVirtual ||
finalMutationForKeyFrame.type ==
ShadowViewMutation::Type::Delete) {
localConflictingMutations.push_back(finalMutationForKeyFrame);
}
}
// Delete from existing animation
it = inflightAnimation.keyFrames.erase(it);
} else {
it++;
}
}
}
}
// Recurse, in case conflicting mutations conflict with other existing
// animations
if (!localConflictingMutations.empty()) {
getAndEraseConflictingAnimations(
surfaceId, localConflictingMutations, conflictingAnimations);
}
}
void LayoutAnimationKeyFrameManager::deleteAnimationsForStoppedSurfaces()
const {
bool inflightAnimationsExistInitially = !inflightAnimations_.empty();
// Execute stopSurface on any ongoing animations
if (inflightAnimationsExistInitially) {
butter::set<SurfaceId> surfaceIdsToStop{};
{
std::lock_guard<std::mutex> lock(surfaceIdsToStopMutex_);
surfaceIdsToStop = surfaceIdsToStop_;
surfaceIdsToStop_.clear();
}
for (auto it = inflightAnimations_.begin();
it != inflightAnimations_.end();) {
const auto &animation = *it;
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
LOG(ERROR)
<< "LayoutAnimations: stopping animation due to stopSurface on "
<< surfaceId;
#endif
if (surfaceIdsToStop.find(animation.surfaceId) !=
surfaceIdsToStop.end()) {
it = inflightAnimations_.erase(it);
} else {
it++;
}
}
}
}
void LayoutAnimationKeyFrameManager::simulateImagePropsMemoryAccess(
ShadowViewMutationList const &mutations) const {
if (!simulateImagePropsMemoryAccess_) {
return;
}
for (auto const &mutation : mutations) {
if (mutation.type != ShadowViewMutation::Type::Insert) {
continue;
}
if (strcmp(mutation.newChildShadowView.componentName, "Image") == 0) {
auto const &imageProps = *std::static_pointer_cast<ImageProps const>(
mutation.newChildShadowView.props);
int temp = 0;
switch (imageProps.resizeMode) {
case ImageResizeMode::Cover:
temp = 1;
break;
case ImageResizeMode::Contain:
temp = 2;
break;
case ImageResizeMode::Stretch:
temp = 3;
break;
case ImageResizeMode::Center:
temp = 4;
break;
case ImageResizeMode::Repeat:
temp = 5;
break;
}
(void)temp;
}
}
}
} // namespace react
} // namespace facebook
| C++ | 5 | shreejitverma/react-native | ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp | [
"CC-BY-4.0",
"MIT"
] |
<div class="unit one-fifth hide-on-mobiles">
<aside>
{% for section in site.data.docs_nav -%}
<h4>{{ section.title }}</h4>
<ul>
{%- for item in section.docs -%}
{%- assign p = site.docs | where: "url", item.link | first %}
<li {%- if page.url == p.url %} class="current" {%- endif -%}><a href="{{ p.url | relative_url }}">
{{- p.menu_name | default: p.title -}}
</a></li>
{%- endfor %}
</ul>
{% endfor -%}
</aside>
</div>
| HTML | 4 | ljcooke/jekyll | docs/_includes/docs_contents.html | [
"MIT"
] |
#!/bin/bash
set -eux
PYTORCH_DIR="$(cd $(dirname $0)/..; pwd -P)"
PYTORCH_ANDROID_DIR=$PYTORCH_DIR/android
echo "PYTORCH_DIR:$PYTORCH_DIR"
source "$PYTORCH_ANDROID_DIR/common.sh"
check_android_sdk
check_gradle
parse_abis_list "$@"
build_android
# To set proxy for gradle add following lines to ./gradle/gradle.properties:
# systemProp.http.proxyHost=...
# systemProp.http.proxyPort=8080
# systemProp.https.proxyHost=...
# systemProp.https.proxyPort=8080
if [ "$CUSTOM_ABIS_LIST" = true ]; then
NDK_DEBUG=1 $GRADLE_PATH -PnativeLibsDoNotStrip=true -PABI_FILTERS=$ABIS_LIST -p $PYTORCH_ANDROID_DIR clean test_app:assembleDebug
else
NDK_DEBUG=1 $GRADLE_PATH -PnativeLibsDoNotStrip=true -p $PYTORCH_ANDROID_DIR clean test_app:assembleDebug
fi
find $PYTORCH_ANDROID_DIR -type f -name *apk
find $PYTORCH_ANDROID_DIR -type f -name *apk | xargs echo "To install apk run: $ANDROID_HOME/platform-tools/adb install -r "
| Shell | 3 | Hacky-DH/pytorch | android/build_test_app.sh | [
"Intel"
] |
# Edge project file (edit at your own risk)
# Copyright (c) 2004-2017 Elements Interactive B.V.
# -----------------------------------------
# General project properties
projectname = "animate3d"
caption = "Animate 3D"
target type = "bin"
appuid = "0x10205da3"
version = "1.00.0"
capabilities = "None"
selplatform = "UIQ (2.1)"
noresemu = "1"
# Project source, header and resource tree
sourcefile = "..\code\animate3d.cpp"
resourcepath = "Icons"
resourcefile = "..\res\icons\ico48_64.bmp"
resourcefile = "..\res\icons\ico48.bmp"
resourcefile = "..\res\icons\ico32.bmp"
resourcefile = "..\res\icons\ico24.bmp"
resourcefile = "..\res\icons\ico20.bmp"
resourcefile = "..\res\icons\ico16.bmp"
endpath = 1
resourcepath = "Install"
resourcefile = "..\res\background.jpg"
resourcefile = "..\res\turtle.png"
resourcefile = "..\res\turtle.ms3d"
resourcefile = "..\res\block.png"
resourcefile = "..\..\..\..\rasteroid3.1\bin\uiq\armi\urel\libGLES_CM_NoE.dll"
resourcefile = "..\..\..\..\rasteroid3.1\bin\uiq\armi\urel\libEGL.dll"
endpath = 0
# Project environment
incpath = "."
incpath = "..\..\..\..\rasteroid3.1\include"
pluginlib = "opengl\pluginrasteroid.lib"
dynamiclib = "..\..\..\..\rasteroid3.1\lib\uiq\armi\urel\libEGL.lib"
dynamiclib = "..\..\..\..\rasteroid3.1\lib\uiq\armi\urel\libGLES_CM_NoE.lib"
macrodef = "EGL_RASTEROID"
| Ecere Projects | 2 | elementsinteractive/edgelib | samples/Animate3D/workspace_eide_opengl/animate3d_symbian_uiq2-1.epj | [
"BSD-3-Clause"
] |
-- Tags: no-parallel
CREATE FUNCTION 02096_test_function AS x -> x + 1;
DESCRIBE (SELECT 02096_test_function(1) AS a);
DROP FUNCTION 02096_test_function;
| SQL | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/02096_sql_user_defined_function_alias.sql | [
"Apache-2.0"
] |
<!--
<aside id="zenback" class="zenback feedback">
<mt:unless name="preview_template">
<__trans phrase="Please paste Zenback script code here.">
</mt:unless>
</aside>
--> | MTML | 0 | movabletype/mt-theme-rainier | themes/rainier/templates/zenback.mtml | [
"MIT"
] |
--TEST--
Test Blowfish crypt() with invalid rounds
--FILE--
<?php
$salts = array('32' => '$2a$32$CCCCCCCCCCCCCCCCCCCCCC$',
'33' => '$2a$33$CCCCCCCCCCCCCCCCCCCCCC$',
'34' => '$2a$34$CCCCCCCCCCCCCCCCCCCCCC$',
'35' => '$2a$35$CCCCCCCCCCCCCCCCCCCCCC$',
'36' => '$2a$36$CCCCCCCCCCCCCCCCCCCCCC$',
'37' => '$2a$37$CCCCCCCCCCCCCCCCCCCCCC$',
'38' => '$2a$38$CCCCCCCCCCCCCCCCCCCCCC$',);
foreach($salts as $i=>$salt) {
$crypt = crypt('U*U', $salt);
if ($crypt === '*0' || $crypt === '*1') {
echo "$i. OK\n";
} else {
echo "$i. Not OK\n";
}
}
?>
--EXPECT--
32. OK
33. OK
34. OK
35. OK
36. OK
37. OK
38. OK
| PHP | 4 | thiagooak/php-src | ext/standard/tests/strings/crypt_blowfish_variation1.phpt | [
"PHP-3.01"
] |
$(OBJDIR)/check.cmi: $(OBJDIR)/cil.cmi
| D | 1 | heechul/crest-z3 | cil/obj/.depend/check.di | [
"BSD-3-Clause"
] |
'reach 0.1';
export const main = Reach.App(
{}, [], () => { return 0; }
);
const x = 3;
// TODO: more specific error message
export {x, x};
| RenderScript | 2 | chikeabuah/reach-lang | hs/t/n/export_rebind.rsh | [
"Apache-2.0"
] |
CREATE TABLE `tb_txslclddib` (
`col_fflqfgfdyt` varchar(26) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
`col_yvgymfxalr` year(4) DEFAULT '2019',
`col_vkgmvcluzx` bigint(20) unsigned zerofill DEFAULT NULL,
`col_mnviktcwsx` blob
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
| SQL | 3 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/mysql_63.sql | [
"Apache-2.0"
] |
#!/usr/bin/env python
__all__ = ['alive_download']
from ..common import *
def alive_download(url, output_dir = '.', merge = True, info_only = False, **kwargs):
html = get_html(url)
title = r1(r'<meta property="og:title" content="([^"]+)"', html)
url = r1(r'file: "(http://alive[^"]+)"', html)
type, ext, size = url_info(url)
print_info(site_info, title, type, size)
if not info_only:
download_urls([url], title, ext, size, output_dir, merge = merge)
site_info = "Alive.in.th"
download = alive_download
download_playlist = playlist_not_supported('alive')
| Python | 4 | adger-me/you-get | src/you_get/extractors/alive.py | [
"MIT"
] |
--TEST--
Test curl_multi_init()
--CREDITS--
Mark van der Velden
#testfest Utrecht 2009
--EXTENSIONS--
curl
--FILE--
<?php
// start testing
echo "*** Testing curl_multi_init(void); ***\n";
//create the multiple cURL handle
$mh = curl_multi_init();
var_dump($mh);
curl_multi_close($mh);
var_dump($mh);
?>
--EXPECT--
*** Testing curl_multi_init(void); ***
object(CurlMultiHandle)#1 (0) {
}
object(CurlMultiHandle)#1 (0) {
}
| PHP | 4 | NathanFreeman/php-src | ext/curl/tests/curl_multi_init_basic.phpt | [
"PHP-3.01"
] |
cd /D "%~dp0"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
SET IsPipeline=1
call msbuild ../installer/PowerToysSetup.sln /target:PowerToysSetupCustomActions /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1
| Batchfile | 2 | tameemzabalawi/PowerToys | .pipelines/build-installer-PTCustomActions.cmd | [
"MIT"
] |
package org.openapitools.model
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.util.HashMap
import java.util.Map
import io.micronaut.test.extensions.spock.annotation.MicronautTest
import spock.lang.Specification
import jakarta.inject.Inject
/**
* Model tests for AdditionalPropertiesBoolean
*/
@MicronautTest
public class AdditionalPropertiesBooleanSpec extends Specification {
private final AdditionalPropertiesBoolean model = new AdditionalPropertiesBoolean()
/**
* Model tests for AdditionalPropertiesBoolean
*/
void "AdditionalPropertiesBoolean test"() {
// TODO: test AdditionalPropertiesBoolean
}
/**
* Test the property 'name'
*/
void "AdditionalPropertiesBoolean property name test"() {
// TODO: test name
}
}
| Groovy | 4 | JigarJoshi/openapi-generator | samples/client/petstore/java-micronaut-client/src/test/groovy/org/openapitools/model/AdditionalPropertiesBooleanSpec.groovy | [
"Apache-2.0"
] |
\\ Copyright (c) 2019 Bruno Deferrari.
\\ BSD 3-Clause License: http://opensource.org/licenses/BSD-3-Clause
(define equality-check-control-loop
_ 0 -> ok
C N -> (equality-check-control-loop C (- N 1)))
(define equal-values
_ _ R 0 -> R
ValA ValB _ N -> (equal-values ValA ValB (= ValA ValB) (- N 1)))
(define equal-symbol-literal
_ R 0 -> R
Sym _ N -> (equal-symbol-literal Sym (= Sym symbol) (- N 1)))
(define equal-integer-literal
_ R 0 -> R
Num _ N -> (equal-integer-literal Num (= Num 8) (- N 1)))
(define equal-float-literal
_ R 0 -> R
Num _ N -> (equal-float-literal Num (= Num 8.0) (- N 1)))
(define equal-string-literal
_ R 0 -> R
Str _ N -> (equal-string-literal Str (= Str "string") (- N 1)))
(add-benchmark equality-check
"equality check control loop"
(equality-check-control-loop 0)
8)
(add-benchmark equality-check
"symbol equality (true)"
(equal-values symbol symbol false)
8)
(add-benchmark equality-check
"symbol equality (false)"
(equal-values symbol "not a symbol" false)
8)
(add-benchmark equality-check
"literal symbol equality (true)"
(equal-symbol-literal symbol true)
8)
(add-benchmark equality-check
"literal symbol equality (false)"
(equal-symbol-literal "not a symbol" false)
8)
(add-benchmark equality-check
"number equality (true)"
(equal-values 1 1 true)
8)
(add-benchmark equality-check
"number equality (false)"
(equal-values 1 "not a number" false)
8)
(add-benchmark equality-check
"literal integer equality (true)"
(equal-integer-literal 8 true)
8)
(add-benchmark equality-check
"literal integer equality (false)"
(equal-integer-literal "not a number" false)
8)
(add-benchmark equality-check
"literal float equality (true)"
(equal-float-literal 8.0 true)
8)
(add-benchmark equality-check
"literal float equality (false)"
(equal-float-literal "not a number" false)
8)
(add-benchmark equality-check
"string equality (true)"
(equal-values "string" "string" true)
8)
(add-benchmark equality-check
"string equality (false)"
(equal-values "string" [not-a-string] false)
8)
(add-benchmark equality-check
"literal string equality (true)"
(equal-string-literal "string" true)
8)
(add-benchmark equality-check
"literal string equality (false)"
(equal-string-literal [not-a-string] false)
8)
(add-benchmark equality-check
"list equality (true)"
(equal-values [a list of symbols] [a list of symbols] true)
8)
(add-benchmark equality-check
"list equality (false)"
(equal-values [a list of symbols] "not a list" false)
8)
(add-benchmark equality-check
"vector equality (true)"
(equal-values (@v a vector of symbols <>) (@v a vector of symbols <>) true)
8)
(add-benchmark equality-check
"vector equality (false)"
(equal-values (@v a vector of symbols <>) "not a vector" false)
8)
| Shen | 4 | vishalbelsare/shen-sources | benchmarks/equality-check.shen | [
"BSD-3-Clause"
] |
/**
* Two macroses to convert ANSI text to UTF-8 and conversely.
* This file is FREE FOR USE.
*
* Written by Shurmialiou Vadzim at 04/2010
* inshae@gmail.com
*/
!ifndef ___ANSITOUTF8_NSH___
!define ___ANSITOUTF8_NSH___
!include "LogicLib.nsh"
/**
* Convert ANSI text to UTF-8 text in the installer or uninstaller.
*
* Usage:
* StrCpy $0 "Belarussian text: Прывiтанне, Свет!"
* ${AnsiToUtf8} $0 $1
* DetailPrint "'$1' == 'Belarussian text: Прывiтанне, Свет!'" ;UTF-8 text
*/
!define AnsiToUtf8 '!insertmacro AnsiToUtf8Macro'
!macro AnsiToUtf8Macro SOURCE_STRING OUTPUT_STRING
Push "${SOURCE_STRING}"
Push 0 ;ANSI codepage
Push 65001 ;UTF-8 codepage
!insertmacro ConvertOverUnicode
Pop "${OUTPUT_STRING}"
!macroend
/**
* Convert UTF-8 text to ANSI text in the installer or uninstaller.
*
* Usage:
* StrCpy $0 "Belarussian text: Прывiтанне, Свет!"
* ${Utf8ToAnsi} $0 $1
* DetailPrint "'$1' == 'Belarussian text: Прывiтанне, Свет!'" ;UTF-8 text
*/
!define Utf8ToAnsi '!insertmacro Utf8ToAnsiMacro'
!macro Utf8ToAnsiMacro SOURCE_STRING OUTPUT_STRING
Push "${SOURCE_STRING}"
Push 65001 ;UTF-8 codepage
Push 0 ;ANSI codepage
!insertmacro ConvertOverUnicode
Pop "${OUTPUT_STRING}"
!macroend
!macro ConvertOverUnicode
Exch $0 ;Result codepage
Exch
Exch $1 ;Source codepage
Exch
Exch 2
Exch $2 ;Source text
Push $3 ;Result text
Push $4
Push $5 ;unicode text
Push $6
Push $7
Push $8
StrCpy $3 ""
;From ANSI to Unicode and then from unicode to UTF-8
${If} $2 != ""
;long bufSize = ::MultiByteToWideChar(CP_ACP, 0, cp1251str, -1, 0, 0);
System::Call /NOUNLOAD "kernel32::MultiByteToWideChar(i r1, i 0, t r2, i -1, i 0, i 0) i .r4"
${If} $4 > 0
IntOp $4 $4 * 2 ;2 bytes by one unicode-symbol
System::Alloc /NOUNLOAD $4
Pop $5
; ::MultiByteToWideChar(CP_ACP, 0, cp1251str, -1, unicodeStr, bufSize)
System::Call /NOUNLOAD "kernel32::MultiByteToWideChar(i r1, i 0, t r2, i -1, i r5, i r4) i .r6"
${If} $6 > 0
;bufSize = ::WideCharToMultiByte(CP_UTF8, 0, unicodeStr, -1, 0, 0, 0, 0);
System::Call /NOUNLOAD "kernel32::WideCharToMultiByte(i r0, i 0, i r5, i -1, i 0, i 0, i 0, i 0) i .r6"
; ::WideCharToMultiByte(CP_UTF8, 0, unicodeStr, -1, utf8Str, bufSize, 0, 0)
System::Call /NOUNLOAD "kernel32::WideCharToMultiByte(i r0, i 0, i r5, i -1, t .r7, i r6, i 0, i 0) i .r8"
${If} $8 > 0
;Save result to $3
StrCpy $3 $7
${EndIf}
${EndIf}
;Free buffer from unicode string
System::Free $5
${EndIf}
${EndIf}
Pop $8
Pop $7
Pop $6
Pop $5
Pop $4
Exch
Pop $2
Exch
Pop $1
Exch
Pop $0
Exch $3
!macroend
!endif ;___ANSITOUTF8_NSH___
| NSIS | 4 | rajeev02101987/arangodb | Installation/Windows/Plugins/Utf8Converter.nsh | [
"Apache-2.0"
] |
=== Scripts ===
See [[MQL4/Scripts/OTMql4/|https://github.com/OpenTrading/OTMql4Zmq/raw/master/MQL4/Scripts/OTMql4]]
* [[OTMql4ZmqTest]]
This file is automatically generated from the source code: do not edit.
----
Parent: [[Home]]
| Creole | 0 | lionelyoung/OTMql4Zmq | wiki/CodeScripts.creole | [
"MIT"
] |
#include "script_component.hpp"
/*
Name: TFAR_core_fnc_getTakeChildren
Author: Dorbedo
Used to provide an array of ace actions to be used as children actions in the interact menu.
Arguments:
0: the unit who loses the radio <OBJECT>
1: the radio <ARRAY/STRING>
Return Value:
children ACE actions. <ARRAY>
Example:
_children = [_target, _player] call TFAR_core_fnc_getTakeChildren;
Public: No
*/
params ["_target", "_radio"];
[
[
format["TFAR_takeRadio_%1",_radio],
localize LSTRING(TAKE),
"\a3\ui_f\data\igui\cfg\actions\take_ca.paa",
{call TFAR_core_fnc_takeRadio},
{call TFAR_core_fnc_canTakeRadio},
{},
_radio
] call ACE_Interact_Menu_fnc_createAction,
[],
_target
]
| SQF | 4 | MrDj200/task-force-arma-3-radio | addons/core/functions/ACEInteraction/fnc_getTakeChildren.sqf | [
"RSA-MD"
] |