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
listlengths
1
8
const supportsOptionalCatchBinding = require("../../../helpers/supportsOptionalCatchBinding"); module.exports = function(config) { // XXX: Disable this test if Terser is used because it does not support ES 2019 if (config.mode === "production") { return false; } return supportsOptionalCatchBinding(); };
JavaScript
4
1shenxi/webpack
test/cases/parsing/optional-catch-binding/test.filter.js
[ "MIT" ]
// Copyright (c) 2019 Bluespec, Inc. All Rights Reserved package PLIC_16_2_7; // ================================================================ // Instantiation of parameterized PLIC to specific parameter values. // // ================================================================ // Bluespec lib imports // None // ---------------- // BSV additional libs // None // ================================================================ // Project imports import SoC_Map :: *; // For N_External_Interrupt_Sources import PLIC :: *; // For PLIC_IFC, mkPLIC // ================================================================ // PLIC for this core typedef 2 PLIC_N_Targets; typedef 7 PLIC_Max_Priority; typedef PLIC_IFC #(N_External_Interrupt_Sources, PLIC_N_Targets, PLIC_Max_Priority) PLIC_IFC_16_2_7; (* synthesize *) module mkPLIC_16_2_7 (PLIC_IFC_16_2_7); let m <- mkPLIC; return m; endmodule // ================================================================ endpackage
Bluespec
4
Skydive/Piccolo
src_Core/PLIC/PLIC_16_2_7.bsv
[ "Apache-2.0" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license # triple-quote delimited strings @test """abc""" == "abc" @test """ab"c""" == "ab\"c" @test """ab""c""" == "ab\"\"c" @test """ab"\"c""" == "ab\"\"c" @test """abc\"""" == "abc\"" n = 3 @test """$n\n""" == "$n\n" @test """$(n)""" == "3" @test """$(2n)""" == "6" @test """$(n+4)""" == "7" @test """$("string")""" == "string" a = [3,1,2] @test """$(a[2])""" == "1" @test """$(a[3]+7)""" == "9" @test """$(floor(Int,4.5))""" == "4" nl = " " @test """ a b c """ == "a$(nl)b$(nl)$(nl)c$(nl)" @test """ """ == "" @test """x a """ == "x$(nl) a$(nl)" @test """ $n """ == " $n$(nl)" @test """ a b c""" == " a$(nl)b$(nl) c" # tabs + spaces @test """ a b """ == " a$(nl) b$(nl)" @test """ a """ == "a$(nl) " s = " p" @test """ $s""" == "$s" @test """ $s """ == " $s$(nl)" @test """\t""" == "\t" @test """ \t""" == "\t" @test """ foo \tbar""" == "foo$(nl)\tbar" @test """ foo \tbar """ == "foo$(nl)\tbar$(nl)" @test """ foo bar\t""" == "foo$(nl)bar\t" @test """ $("\n ") """ == "\n $(nl)" # issue #34105 let str = " yoyo" interp = """interpolate:\n$str next line""" @test interp == "interpolate:\n yoyo\nnext line" end
Julia
4
TimoLarson/julia
test/triplequote.jl
[ "Zlib" ]
required_packages: pkg.installed: - pkgs: - git - perl - fortune cowsay_source: git.latest: - name: https://github.com/jasonm23/cowsay.git - target: /root/cowsay run_installer: cmd.run: - name: ./install.sh /usr/local - cwd: /root/cowsay - onchanges: - git: cowsay_source {% set cowfiles = salt.cmd.run('cowsay -l').split('\n')[1:] %} {% set ascii_arts = cowfiles | join(' ') %} {% for ascii_art in ascii_arts.split(' ') %} run_cowsay_{{ ascii_art }}: # name must be unique cmd.run: {% if ascii_art is in ['head-in', 'sodomized', 'telebears'] %} - name: echo cowsay -f {{ ascii_art }} should not be used {% else %} - name: fortune | cowsay -f {{ ascii_art }} {% endif %} {% endfor %} echo_pillar_demo_1: cmd.run: - name: "echo {{ pillar.demo_text | default('pillar not defined') }}" echo_pillar_demo_2: cmd.run: - name: "echo {{ pillar.demo.text | default('pillar not defined') }}" # Comment {% set rand = salt['random.get_str'](20) %} {% set IP_Address = pillar['IP_Address'] %} wait: cmd.run: - name: sleep 210 # another comment create_roster_file: file.managed: - name: /tmp/salt-roster-{{ rand }} - contents: - 'switch:' - ' host: {{ IP_Address }}' - " user: test" - " passwd: {{ passwd }}"
SaltStack
3
JesseVermeulen123/bat
tests/syntax-tests/source/SLS/test.sls
[ "Apache-2.0", "MIT" ]
;; -*- lexical-binding: t; no-byte-compile: t; -*- ;;; lang/markdown/doctor.el (when (require 'markdown-mode nil t) (cond ((eq markdown-command #'+markdown-compile) (unless (cl-loop for (exe . cmd) in (list (cons "marked" '+markdown-compile-marked) (cons "pandoc" '+markdown-compile-pandoc) (cons "markdown" '+markdown-compile-markdown) (cons "multimarkdown" '+markdown-compile-multimarkdown)) if (and (memq cmd +markdown-compile-functions) (executable-find exe)) return t) (warn! "Couldn't find a markdown compiler, `markdown-preview' won't work"))) ((stringp markdown-command) (let ((cmd (car (split-string markdown-command " ")))) (unless (executable-find cmd) (warn! "Couldn't find %S. markdown-preview command won't work" cmd)))))) (when (featurep! +grip) (unless (executable-find "grip") (warn! "Couldn't find grip. grip-mode will not work")))
Emacs Lisp
4
leezu/doom-emacs
modules/lang/markdown/doctor.el
[ "MIT" ]
" Vim filetype plugin file " Language: C++ " Maintainer: Bram Moolenaar <[email protected]> " Last Change: 2020 Jul 26 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif " Behaves mostly just like C runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim " C++ uses templates with <things> " Disabled, because it gives an error for typing an unmatched ">". " set matchpairs+=<:> " let b:undo_ftplugin ..= ' | setl matchpairs<'
VimL
4
uga-rosa/neovim
runtime/ftplugin/cpp.vim
[ "Vim" ]
CREATE TABLE `tb_imdtsfqnma` ( `col_mbzhjizhhg` integer(14) unsigned, `col_lwcvaletgl` numeric(54,3), `col_vzmkkrtqea` bit(28) DEFAULT b'0', `col_rmtdktwjkf` time(3) NULL, UNIQUE KEY `uk_ejklfpuzdw` (`col_rmtdktwjkf`) ) DEFAULT CHARSET=utf8; RENAME TABLE `tb_imdtsfqnma` TO `tb_hbqbstsanm`; RENAME TABLE `tb_hbqbstsanm` TO `tb_uoquelzmdk`; ALTER TABLE `tb_uoquelzmdk` ADD COLUMN (`col_bbvxosyuai` float, `col_wcdxzaykzl` smallint unsigned NULL DEFAULT '1'); ALTER TABLE `tb_uoquelzmdk` ADD `col_njhhehxbdq` mediumtext; ALTER TABLE `tb_uoquelzmdk` ADD `col_znccfjlzyn` decimal(23,10); ALTER TABLE `tb_uoquelzmdk` ADD (`col_gpuwdouomx` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8 NOT NULL, `col_wwdicmbkug` longblob); ALTER TABLE `tb_uoquelzmdk` ADD (`col_bdbfyfsjoy` int(184) unsigned zerofill NULL, `col_eroukngokg` bigint(47) unsigned zerofill NOT NULL); ALTER TABLE `tb_uoquelzmdk` ADD COLUMN (`col_mzeetglota` float(9) NOT NULL, `col_pheamargcl` smallint(239) zerofill); ALTER TABLE `tb_uoquelzmdk` ADD `col_btyauewuzi` mediumblob AFTER `col_bbvxosyuai`; ALTER TABLE `tb_uoquelzmdk` ADD UNIQUE KEY `uk_sjpsswkher` (`col_bdbfyfsjoy`,`col_pheamargcl`); ALTER TABLE `tb_uoquelzmdk` ALTER `col_lwcvaletgl` DROP DEFAULT; ALTER TABLE `tb_uoquelzmdk` ALTER COLUMN `col_pheamargcl` DROP DEFAULT; ALTER TABLE `tb_uoquelzmdk` DROP COLUMN `col_bbvxosyuai`; ALTER TABLE `tb_uoquelzmdk` DROP `col_lwcvaletgl`; ALTER TABLE `tb_uoquelzmdk` DROP COLUMN `col_eroukngokg`, DROP COLUMN `col_mzeetglota`; ALTER TABLE `tb_uoquelzmdk` DROP COLUMN `col_znccfjlzyn`, DROP COLUMN `col_vzmkkrtqea`; ALTER TABLE `tb_uoquelzmdk` DROP COLUMN `col_rmtdktwjkf`; ALTER TABLE `tb_uoquelzmdk` DROP COLUMN `col_gpuwdouomx`; ALTER TABLE `tb_uoquelzmdk` DROP `col_pheamargcl`, DROP `col_btyauewuzi`; ALTER TABLE `tb_uoquelzmdk` DROP COLUMN `col_mbzhjizhhg`, DROP COLUMN `col_bdbfyfsjoy`;
SQL
3
yuanweikang2020/canal
parse/src/test/resources/ddl/alter/test_43.sql
[ "Apache-2.0" ]
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix owl: <http://www.w3.org/2002/07/owl#> prefix : <foo://bla/names#> select ?C where {:parent rdfs:range ?C}
SPARQL
3
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/entailment/sparqldl-11.rq
[ "BSD-3-Clause" ]
<div class="ui stackable grid"> <div class="eight wide column"> <h4 class="ui top attached large header">{{ 'sylius.ui.details'|trans }}</h4> {{ sylius_template_event('sylius.admin.catalog_promotion.show.content.left_bar', _context) }} </div> <div class="eight wide column"> {{ sylius_template_event('sylius.admin.catalog_promotion.show.content.right_bar', _context) }} </div> </div>
Twig
2
rafalswierczek/Sylius
src/Sylius/Bundle/AdminBundle/Resources/views/CatalogPromotion/Show/_content.html.twig
[ "MIT" ]
--TEST-- Test function posix_setegid() by calling it with its expected arguments --EXTENSIONS-- posix --FILE-- <?php var_dump(posix_setegid(posix_getegid())); ?> --EXPECT-- bool(true)
PHP
3
NathanFreeman/php-src
ext/posix/tests/posix_setegid_basic.phpt
[ "PHP-3.01" ]
import io.vertx.ceylon.platform { Verticle, Container } import io.vertx.ceylon.core { Vertx } import io.vertx.ceylon.core.http { HttpServerRequest } import java.util { UUID } import java.lang { System { currentTimeMillis } } import io.vertx.ceylon.core.file { AsyncFile } shared class UploadServer() extends Verticle() { shared actual void start(Vertx vertx, Container container) { vertx.createHttpServer().requestHandler(void(HttpServerRequest req) { // We first pause the request so we don't receive any data between now and when the file is opened value stream = req.stream; stream.pause(); value filename = "upload/file-``UUID.randomUUID()``.upload"; vertx.fileSystem.open(filename).onComplete(void(AsyncFile file) { value pump = stream.pump(file.writeStream); value start = currentTimeMillis(); req.stream.endHandler(void() { file.close().onComplete(void(Anything anything) { req.response.end(); value end = currentTimeMillis(); print("Uploaded ``pump.bytesPumped`` bytes to ``pump.bytesPumped`` in ``(end - start)`` ms"); }, (Throwable t) => t.printStackTrace()); }); pump.start(); stream.resume(); }, (Throwable t) => t.printStackTrace()); }).listen(8080); } }
Ceylon
5
vietj/vertx-examples
src/raw/ceylon/upload/UploadServer.ceylon
[ "Apache-2.0" ]
{MessageViewExtension, Actions} = require 'nylas-exports' PGPKeyStore = require './pgp-key-store' class DecryptPGPExtension extends MessageViewExtension @formatMessageBody: ({message}) => if not PGPKeyStore.hasEncryptedComponent(message) return message if PGPKeyStore.isDecrypted(message) message.body = PGPKeyStore.getDecrypted(message) else # trigger a decryption PGPKeyStore.decrypt(message) message module.exports = DecryptPGPExtension
CoffeeScript
4
cnheider/nylas-mail
packages/client-app/internal_packages/keybase/lib/decryption-preprocess.coffee
[ "MIT" ]
--- title: "Untitled" author: vkkoshelev date: 11/16/19 output: rmarkdown::html_vignette --- ```{r} print(3) ``` ```{r chunkname, message = TRUE} print(2) ``` ```{r, message = FALSE} print(1) ```
RMarkdown
1
DeagleGross/Rplugin
testData/parser/rmd/differentCellsWithParameters.rmd
[ "MIT", "BSD-2-Clause", "Apache-2.0" ]
--TEST-- Hash: hash() function : error conditions --FILE-- <?php echo "*** Testing hash() : error conditions ***\n"; echo "\n-- Testing hash() function with invalid hash algorithm --\n"; try { hash('foo', ''); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } ?> --EXPECT-- *** Testing hash() : error conditions *** -- Testing hash() function with invalid hash algorithm -- hash(): Argument #1 ($algo) must be a valid hashing algorithm
PHP
4
NathanFreeman/php-src
ext/hash/tests/hash_error.phpt
[ "PHP-3.01" ]
function data = loadElectoralVotes() fid = fopen('data/electoral-college-votes.csv'); csv = textscan(fid,'%s %d','delimiter',','); fclose(fid); data.state = csv{1}; data.ev = csv{2}; end
Matlab
4
SanAkhGIT/USElection
loadElectoralVotes.matlab
[ "WTFPL" ]
use M only a as c, f1 as func1; writeln(c); func1();
Chapel
0
jhh67/chapel
test/visibility/rename/useWithMFlag.chpl
[ "ECL-2.0", "Apache-2.0" ]
attribute [pre_smt] add_zero zero_add mul_one one_mul constant p : nat → nat → Prop constants a b : nat constant h : p (a + 1 * b + 0) (a + b) open tactic smt_tactic def ex : p (a + b) (a + b) := begin [smt] do { h ← to_expr ```(h), t ← infer_type h, (new_t, he) ← preprocess t, -- use smt_tactic preprocessor new_h ← mk_app `eq.mp [he, h], exact new_h } end def foo : nat → nat | 0 := 0 | (n+1) := 2*n lemma ex1 (n : nat) : n = 0 → foo (n+1) = 2*0 := begin [smt] intros, add_lemma [mul_zero, zero_mul], add_eqn_lemmas foo, ematch end lemma ex2 (n : nat) : n = 0 → foo (n+1) = 2*0 := begin [smt] intros, ematch_using [foo, mul_zero, zero_mul], end lemma ex3 (n : nat) : n = 0 → foo n = 0 := begin [smt] intros, add_eqn_lemmas foo end def boo : nat → nat | 0 := 1 | (n+1) := match foo n with | 0 := 2 | _ := 3 end lemma ex4 (n : nat) : n = 0 → boo (n+1) = 2 := begin [smt] intros, add_eqn_lemmas boo foo, ematch, end lemma ex5 (n : nat) : n = 0 → boo (n+1) = 2 := begin [smt] intros, ematch_using [boo, foo] end def r (x : nat) := x lemma ex6 (n : nat) : n = 0 → boo (n+1) = r 2 := begin [smt] intros, add_eqn_lemmas boo foo r, (smt_tactic.get_lemmas >>= smt_tactic.trace), ematch, end lemma ex7 (a b : nat) : a = 0 → b = a → b = 0 := begin [smt] intros, try { trace "hello", @smt_tactic.failed unit }, end set_option trace.smt true lemma ex8 (n : nat) : n = 0 → boo (n+1) = r 2 := begin [smt] intros, add_eqn_lemmas boo foo r, ematch, end
Lean
4
JLimperg/lean
tests/lean/run/smt_tests.lean
[ "Apache-2.0" ]
#!/usr/bin/env bash set -e if [[ "$1" == --conda-env=* ]] then conda_env=$(echo "$1" | sed 's/^--conda-env=//g' -) echo "Activating Conda environment ${conda_env}" shift 1 cmake_args="$@" source activate ${conda_env} cmake_prefix_flag="-DCMAKE_PREFIX_PATH=$CONDA_PREFIX" else cmake_args="$@" cmake_prefix_flag='' fi rm -rf build mkdir build cd build cmake .. ${cmake_args} -DGOOGLE_TEST=ON -DUSE_DMLC_GTEST=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_ALL_WARNINGS=ON -GNinja ${cmake_prefix_flag} -DHIDE_CXX_SYMBOLS=ON ninja clean time ninja -v cd ..
Shell
3
bclehmann/xgboost
tests/ci_build/build_via_cmake.sh
[ "Apache-2.0" ]
\documentclass{article} \usepackage{agda} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex} \begin{document} The let should be properly aligned in the following code: \begin{code} id : (A : Set) → A → A id A = let id' : B → B id' = λ a → a in id' where B : Set B = A \end{code} This should also work if the new block is following after the keyword, as opposed to on a new line. \begin{code} di : (A : Set) → A → A di A = let id' : B → B id' = λ a → a in id' where B : Set B = A \end{code} \end{document}
Literate Agda
4
cruhland/agda
test/LaTeXAndHTML/succeed/Issue1618.lagda
[ "MIT" ]
? my $ctx = $main::context; ? $_mt->wrapper_file("wrapper.mt", "Configure", "Access Log Directives")->(sub { <p> This document describes the configuration directives of the access_log handler. </p> ? $ctx->{directive_list}->()->(sub { <? $ctx->{directive}->( name => "access-log", levels => [ qw(global host path extension) ], see_also => render_mt(<<'EOT'), <a href="configure/base_directives.html#error-log"><code>error-log</code></a> <a href="configure/base_directives.html#error-log.emit-request-errors"><code>error-log.emit-request-errors</code></a> EOT desc => q{The directive sets the path and optionally the format of the access log.}, )->(sub { ?> <p> If the supplied argument is a scalar, it is treated as the path of the log file, or if the value starts with a <code>|</code>, it is treated as a command to which the log should be emitted. </p> <p> The latter approach (i.e. <code>|</code>) needs to be used for rotating the logs. This is because the log file is opened (or the command that emits the log is spawned) before dropping privileges so that it can be owned by root or any other user; therefore it cannot be reopened by the server process itself once it starts running. </p> <?= $ctx->{example}->('Emit access log to file', <<'EOT') access-log: /path/to/access-log-file EOT ?> <?= $ctx->{example}->('Emit access log through pipe', <<'EOT') access-log: "| rotatelogs /path/to/access-log-file.%Y%m%d 86400" EOT ?> <p> If the supplied argument is a mapping, its <code>path</code> property is considered as the path of the log file or the pipe command, and the <code>format</code> property is treated as the format of the log file. Starting from version 2.2, <code>escape</code> property can be used to specify the escape sequence that should be used to emit unsafe octets. </p> <p> Two forms of escape sequences are supported. If <code>apache</code> is specified as the value of the <code>escape</code> property, unsafe octets are emitted in the form of <code>\xNN</code>, where N is a hexadecimal number in lower case. If <code>json</code> is specified, unsafe octets are emitted in the form of <code>\u00NN</code>. <code>apache</code> is the default escape method. </p> <?= $ctx->{example}->('Emit access log to file using Common Log Format', <<'EOT') access-log: path: /path/to/access-log-file format: "%h %l %u %t \"%r\" %s %b" escape: apache EOT ?> <p> The list of format strings recognized by H2O is as follows. </p> <table> <tr><th>Format String<th>Description <tr><td><code>%%</code><td>the percent sign <tr><td><code>%A</code><td>local address (e.g. <code>4.5.6.7</code>) <tr><td><code>%b</code><td>size of the response body in bytes <tr><td><code>%H</code><td>request protocol as sent by the client (e.g. <code>HTTP/1.1</code>) <tr><td><code>%h</code><td>remote address (e.g. <code>1.2.3.4</code>) <tr><td><code>%l</code><td>remote logname (always <code>-</code>) <tr><td><code>%m</code><td>request method (e.g. <code>GET</code>, <code>POST</code>) <tr><td><code>%p</code><td>local port (<code>%{local}p</code> is a synonym that is supported since version 2.2) <tr><td><code>%{remote}p</code><td>remote port (since version 2.2) <tr><td><code>%q</code><td>query string (<code>?</code> is prepended if exists, otherwise an empty string) <tr><td><code>%r</code><td>request line (e.g. <code>GET / HTTP/1.1</code>) <tr><td><code>%s</code><td>status code sent to client (e.g. <code>200</code>) <tr><td><code>%&lt;s</code><td>status code received from upstream (or initially generated) <tr><td><code>%t</code><td>time when the request was received in format: <code>[02/Jan/2006:15:04:05 -0700]</code> <tr><td><code>%{<i>FORMAT</i>}t</code><td>time when the request was received using the specified format. <code>FORMAT</code> should be an argument to <code>strftime</code>, or one of: <table> <tr><td><code>sec</code><td>number of seconds since Epoch <tr><td><code>msec</code><td>number of milliseconds since Epoch <tr><td><code>usec</code><td>number of microseconds since Epoch <tr><td><code>msec_frac</code><td>millisecond fraction <tr><td><code>usec_frac</code><td>microsecond fraction </table> As an example, it is possible to log timestamps in millisecond resolution using <code>%{%Y/%m/%d:%H:%M:%S}t.%{msec_frac}t</code>, which results in a timestamp like <code>2006-01-02:15:04:05.000</code>. <tr><td><code>%U</code><td>requested URL path, not including the query string <tr><td><code>%u</code><td>remote user if the request was authenticated (always <code>-</code>) <tr><td><code>%V</code><td>requested server name (or the default server name if not specified by the client) <tr><td><code>%v</code><td>canonical server name <tr><td><code>%{<i>VARNAME</i>}e</code><td>request environment variable (since version 2.3; see <a href="configure/mruby.html#logging-arbitrary-variable">Logging Arbitrary Variable</a>) <tr><td><code>%{<i>HEADERNAME</i>}i</code><td>value of the given request header (e.g. <code>%{user-agent}i</code>) <tr><td><code>%{<i>HEADERNAME</i>}o</code><td>value of the given response header sent to client (e.g. <code>%{set-cookie}o</code>) <tr><td><code>%&lt;{<i>HEADERNAME</i>}o</code><td>value of the response header received from upstream (or initially generated) <tr><td><code>%{<i>NAME</i>}x</code><td>various extensions. <code>NAME</code> must be one listed in the following tables. A dash (<code>-</code>) is emitted if the directive is not applicable to the request being logged. <table> <caption>Access Timings</caption> <tr><th>Name<th>Description <tr id="connect-time"><td><code>connect-time</code><td>time spent to establish the connection (i.e. since connection gets <code>accept(2)</code>-ed until first octet of the request is received) <tr id="request-header-time"><td><code>request-header-time</code><td>time spent receiving request headers <tr id="request-body-time"><td><code>request-body-time</code><td>time spent receiving request body <tr id="request-total-time"><td><code>request-total-time</code><td>sum of <code>request-header-time</code> and <code>request-body-time</code> <tr id="process-time"><td><code>process-time</code><td>time spent after receiving request, before starting to send response <tr id="response-time"><td><code>response-time</code><td>time spent sending response <tr id="duration"><td><code>duration</code><td>sum of <code>request-total-time</code>, <code>process-time</code>, <code>response-time</code> <tr id="total-time"><td><code>total-time</code><td>same as <code>duration</code> (since v2.3) </table> <table> <caption>Proxy Timings (since v2.3)</caption> <tr><th>Name<th>Description <tr id="proxy.idle-time"><td><code>proxy.idle-time</code><td>time spent after receiving request, before starting to connect to the upstream <tr id="proxy.connect-time"><td><code>proxy.connect-time</code><td>time spent to establish the connection (including SSL handshake) <tr id="proxy.request-time"><td><code>proxy.request-time</code><td>time spent sending request (header and body) <tr id="proxy.process-time"><td><code>proxy.process-time</code><td>time spent after sending request, before starting to receive response <tr id="proxy.response-time"><td><code>proxy.response-time</code><td>time spent receiving response <tr id="proxy.total-time"><td><code>proxy.total-time</code><td>sum of <code>proxy-request-time</code>, <code>proxy-process-time</code>, <code>proxy-response-time</code> </table> <table> <caption>Proxy (since v2.3)</caption> <tr><th>Name<th>Description <tr id="proxy.request-bytes"><td><code>proxy.request-bytes</code><td>number of bytes used by the proxy handler for sending the request (above TLS layer) <tr id="proxy.request-bytes-header"><td><code>proxy.request-bytes-header</code><td>number of bytes used by the proxy handler for sending the request header (above TLS layer) <tr id="proxy.request-bytes-body"><td><code>proxy.request-bytes-body</code><td>number of bytes used by the proxy handler for sending the request body (above TLS layer) <tr id="proxy.response-bytes"><td><code>proxy.response-bytes</code><td>number of bytes used by the proxy handler for receiving the response (above TLS layer) <tr id="proxy.response-bytes-header"><td><code>proxy.response-bytes-header</code><td>number of bytes used by the proxy handler for receiving the response header (above TLS layer) <tr id="proxy.response-bytes-body"><td><code>proxy.response-bytes-body</code><td>number of bytes used by the proxy handler for receiving the response body (above TLS layer) </table> <table> <caption>Connection (since v2.0)</caption> <tr><th>Name<th>Description <tr><td><code>connection-id</code><td>64-bit internal ID assigned to every client connection <tr><td><code>ssl.protocol-version</code><td>SSL protocol version obtained from <a href="https://www.openssl.org/docs/manmaster/ssl/SSL_get_version.html"><code>SSL_get_version</code></a> <tr><td><code>ssl.session-reused</code><td><code>1</code> if the <a href="configure/base_directives.html#ssl-session-resumption">SSL session was reused</a>, or <code>0</code> if not<?= $ctx->{note}->(q{A single SSL connection may transfer more than one HTTP request.}) ?> <tr><td><code>ssl.session-id</code><td>base64-encoded value of the session id used for resuming the session (since v2.2) <tr><td><code>ssl.cipher</code><td>name of the <a href="https://tools.ietf.org/html/rfc5246#appendix-A.5">cipher suite</a> being used, obtained from <a href="https://www.openssl.org/docs/manmaster/ssl/SSL_CIPHER_get_name.html">SSL_CIPHER_get_name</a> <tr><td><code>ssl.cipher-bits</code><td>strength of the cipher suite in bits <tr><td><code>ssl.server-name</code><td>hostname provided in Server Name Indication (SNI) extension, if any </table> <table> <caption>Upstream Proxy Connection (since v2.3)</caption> <tr><th>Name<th>Description <tr><td><code>proxy.ssl.protocol-version</code><td>SSL protocol version obtained from <a href="https://www.openssl.og/docs/manmaster/ssl/SSL_get_version.html"><code>SSL_get_version</code></a> <tr><td><code>proxy.ssl.session-reused</code><td><code>1</code> if the <a href="configure/base_directives.html#ssl-session-resumption">SSL session was reused</a>, or <code>0</code> if not <tr><td><code>proxy.ssl.cipher</code><td>name of the <a href="https://tools.ietf.org/html/rfc5246#appendix-A.5">cipher suite</a> being used, obtained from <a href="https://www.openssl.org/docs/manmaster/ssl/SSL_CIPHER_get_name.html">SSL_CIPHER_get_name</a> <tr><td><code>proxy.ssl.cipher-bits</code><td>strength of the cipher suite in bits </table> <table> <caption>HTTP/2 (since v2.0)</caption> <tr><th>Name<th>Description <tr><td><code>http2.stream-id</code><td>stream ID <tr><td><code>http2.priority.received</code><td>colon-concatenated values of <i>exclusive</i>, <i>parent</i>, <i>weight</i> <tr><td><code>http2.priority.received.exclusive</code><td>exclusive bit of the most recent priority specified by the client <tr><td><code>http2.priority.received.parent</code><td>parent stream ID of the most recent priority specified by the client <tr><td><code>http2.priority.received.weight</code><td>weight of the most recent priority specified by the client </table> <table> <caption>Miscellaneous</caption> <tr><th>Name<th>Description <tr><td><code>error</code><td>request-level errors. Unless specified otherwise by using the <a href="configure/base_directives.html#error-log.emit-request-errors"><code>error-log.emit-request-errors</code></a> directive, the same messages are emitted to the <a href="configure/base_directives.html#error-log">error-log</a>. (since v2.1) </table> </table> <p> The default format is <code>%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"</code>, a.k.a. the <a href="http://httpd.apache.org/docs/2.4/mod/mod_log_config.html.en#examples" target="_blank">NCSA extended/combined log format</a>. </p> <p> Note that you may need to quote (and escape) the format string as required by YAML (see <a href="http://www.yaml.org/YAML_for_ruby.html#single-quoted_strings">Yaml Cookbook</a>). </p> ? }) ? }) ? })
Mathematica
5
Nitrillo/h2o
srcdoc/configure/access_log_directives.mt
[ "MIT" ]
exec("swigtest.start", -1); a = AddOne1(10); if a <> 11 then swigtesterror(); end [a, b, c] = AddOne3(1, 2, 3); if a <> 2 then swigtesterror(); end if b <> 3 then swigtesterror(); end if c <> 4 then swigtesterror(); end a = AddOne1r(20); if a <> 21 then swigtesterror(); end exec("swigtest.quit", -1);
Scilab
3
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/inout_runme.sci
[ "BSD-3-Clause" ]
(declare-rel Invariant (Bool Bool Bool Bool)) (declare-rel Goal ()) (declare-var l0 Bool) (declare-var l2 Bool) (declare-var l4 Bool) (declare-var l6 Bool) (declare-var l8 Bool) (declare-var l10 Bool) (declare-var l12 Bool) (declare-var l14 Bool) (declare-var l16 Bool) (rule (=> (not (or l4 l6 l8 l10)) (Invariant l4 l6 l8 l10))) (rule (=> (and (Invariant l4 l6 l8 l10) (= (and l6 l4) l12) (= (and l12 l8) l14) (= (and l10 (not l0)) l16) ) (Invariant l12 l8 l0 l14))) (rule (=> (and (Invariant l4 l6 l8 l10) (= (and l10 (not l0)) l16) l16) Goal)) (query Goal)
SMT
3
jar-ben/z3
examples/python/data/horn5.smt2
[ "MIT" ]
 #ifndef _DATATYPE_DEFINE_H_ #define _DATATYPE_DEFINE_H_ // 接口使用的公共定义和结构 // tdef.h LINUX版/Windows版兼容 // ver 1.0 // LINUX中 GCC类型长度(字节) // type x86_sizeof(type) x64_sizeof(type) // char 1 1 // short 2 2 // int 4 4 // long 4 8 // void* 4 8 // long long 8 8 // float 4 4 // double 8 8 //__GNUC__ //linux //__i386__ 是x86 //__x86_64__ 是X64 //windows VC编译器 // type x86_sizeof(type) x64_sizeof(type) // char 1 1 // short 2 2 // int 4 4 // long 4 4 // void* 4 8 // long long 8 8 // float 4 4 // double 8 8 //_WIN32 // Defined for applications for Win32 and Win64. Always defined. //_WIN64 // Defined for applications for Win64. //_WINDOWS_ 在Windows.h中定义的#ifndef _WINDOWS_ //#define _WINDOWS_ // 基本数据类型 typedef char T_I8; typedef unsigned char T_U8; typedef short int T_I16; typedef unsigned short int T_U16; typedef int T_I32; typedef unsigned int T_U32; typedef long long T_I64; typedef unsigned long long T_U64; typedef float T_F32; typedef double T_F64; #ifdef linux // linux #define UNALIGNED #define __stdcall typedef long T_HANDLE; // so接口用的句柄,可与指针类型互转 typedef long T_PARAM; // 用于回调参数,可与指针类型互转 //{{ windows习惯的定义 typedef int SOCKET; #define FALSE 0 #define TRUE 1 #define BOOL bool #define INVALID_SOCKET (-1) #define SOCKET_ERROR (-1) #define INVALID_HANDLE_FILE (-1) #define stricmp(a,b) strcasecmp(a,b) #ifndef max #define max(a,b) (((a) > (b)) ? (a) : (b)) #endif #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif //}} #else // windows #ifdef _WIN64 typedef long long T_HANDLE; typedef long long T_PARAM; // 用于回调参数,可与指针类型互转 #else typedef long T_HANDLE; typedef long T_PARAM; // 用于回调参数,可与指针类型互转 #endif //WIN64 #endif #endif // _DATATYPE_DEFINE_H_
C
4
funrunskypalace/vnpy
vnpy/api/sip/include/sip/tdef.h
[ "MIT" ]
/* TicTacToeDe.ino */ #include <Arduino.h> #include <U8g2lib.h> /*==============================================*/ /* Konstante Werte */ #define GITTER_X_OFFSET 35 #define GITTER_Y_OFFSET 2 #define ZELLE_BREITE 17 #define ZELLE_HOEHE 17 #define ZELLE_RAHMENBREITE 3 #define FELD_NICHT_BELEGT 0 #define FELD_MARKIERT_DURCH_SPIELER 1 #define FELD_MARKIERT_DURCH_COMPUTER 2 /*==============================================*/ /* Variablen */ /* U8g2 Graphics API, setup for ARDUBOY Production, Kickstarter Edition */ U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); uint8_t cursor_position; /* Aktuelle Cursorposition die vom User ausgewählt wurde */ u8g2_uint_t zelle_x, zelle_y; /* Berechnete Position einer Zelle (berechne_zell_position) */ int spielfeld[3][3]; /* Enthält die aktuelle Belegung mit x und o */ int gewinner; /* Zeigt den gewinner an (wenn es einen gibt) */ /*==============================================*/ /* vorbelegung und spiel initalisierenalisierung */ void spiel_initalisieren(void) { int x, y; gewinner = FELD_NICHT_BELEGT; for( y = 0; y < 3; y = y + 1 ) { for( x = 0; x < 3; x = x + 1 ) { spielfeld[y][x] = FELD_NICHT_BELEGT; } } } /*==============================================*/ /* Hilfsroutine */ /* berechne die Zell-Position, Ergebnis in zelle_x und zelle_y */ void berechne_zell_position(uint8_t x, uint8_t y ) { zelle_x = x; zelle_x*=ZELLE_BREITE+ZELLE_RAHMENBREITE; zelle_x+= GITTER_X_OFFSET; zelle_y = y; zelle_y *=ZELLE_HOEHE+ZELLE_RAHMENBREITE; zelle_y +=GITTER_Y_OFFSET; } /*==============================================*/ /* "game engine" */ void zeichne_gitter(void) { u8g2_uint_t x, y; x = GITTER_X_OFFSET+ZELLE_BREITE; u8g2.drawVLine(x+1, GITTER_Y_OFFSET, ZELLE_HOEHE*3+ZELLE_RAHMENBREITE*2); x += ZELLE_BREITE+ZELLE_RAHMENBREITE; u8g2.drawVLine(x+1, GITTER_Y_OFFSET, ZELLE_HOEHE*3+ZELLE_RAHMENBREITE*2); y = GITTER_Y_OFFSET+ZELLE_HOEHE; u8g2.drawHLine(GITTER_X_OFFSET, y+1, ZELLE_BREITE*3+ZELLE_RAHMENBREITE*2); y += ZELLE_HOEHE+ZELLE_RAHMENBREITE; u8g2.drawHLine(GITTER_X_OFFSET, y+1, ZELLE_BREITE*3+ZELLE_RAHMENBREITE*2); } void zeichne_spielfeld(void) { int x, y; for( y = 0; y < 3; y = y + 1 ) { for( x = 0; x < 3; x = x + 1 ) { if ( spielfeld[y][x] == FELD_NICHT_BELEGT ) { /* nichts anzeigen */ } if ( spielfeld[y][x] == FELD_MARKIERT_DURCH_SPIELER ) { berechne_zell_position(x, y); u8g2.drawLine(zelle_x, zelle_y, zelle_x+ZELLE_BREITE-1, zelle_y+ZELLE_HOEHE-1); u8g2.drawLine(zelle_x+ZELLE_BREITE-1, zelle_y, zelle_x, zelle_y+ZELLE_HOEHE-1); } if ( spielfeld[y][x] == FELD_MARKIERT_DURCH_COMPUTER ) { berechne_zell_position(x, y); u8g2.drawCircle(zelle_x+ZELLE_BREITE/2, zelle_y+ZELLE_HOEHE/2, ZELLE_HOEHE/2); } } /* for x */ } /* for y */ } void zeichne_gitter_und_spielfeld(void) { zeichne_gitter(); zeichne_spielfeld(); } void zeige_spielfeld_an(void) { u8g2.firstPage(); do { yield(); // Arduino zeichne_gitter_und_spielfeld(); } while ( u8g2.nextPage() ); } /*==============================================*/ /* Benitzerschnittstelle (User Interface) */ /* Zeichne den Cursor für die Benutzereingabe */ void zeichne_cursor(void) { u8g2_uint_t x, y; x = cursor_position % 3; y = cursor_position / 3; berechne_zell_position(x, y ); u8g2.drawFrame(zelle_x, zelle_y, ZELLE_BREITE, ZELLE_HOEHE); u8g2.drawFrame(zelle_x+1, zelle_y+1, ZELLE_BREITE-2, ZELLE_HOEHE-2); } void zug_spieler(void) { static uint8_t keycode = 0; int x; int y; int zaehler = 0; for(;;) /* check valid entry */ { for(;;) /* cursor movement loop */ { keycode = 0; u8g2.firstPage(); do { zeichne_gitter_und_spielfeld(); zeichne_cursor(); if ( keycode == 0 ) keycode = u8g2.getMenuEvent(); } while ( u8g2.nextPage() ); while ( keycode == 0 ) { yield(); // Arduino keycode = u8g2.getMenuEvent(); } if ( keycode == U8X8_MSG_GPIO_MENU_DOWN ) { cursor_position += 3; if ( cursor_position > 9 ) cursor_position -= 9; } if ( keycode == U8X8_MSG_GPIO_MENU_NEXT ) { if ( cursor_position % 3 == 2 ) cursor_position-=2; else cursor_position += 1; } if ( keycode == U8X8_MSG_GPIO_MENU_UP ) { cursor_position -= 3; if ( cursor_position > 9 ) cursor_position += 9; } if ( keycode == U8X8_MSG_GPIO_MENU_PREV ) { if ( cursor_position % 3 == 0 ) cursor_position+=2; else cursor_position -= 1; } cursor_position = cursor_position % 9; if ( keycode == U8X8_MSG_GPIO_MENU_SELECT ) break; if ( keycode == U8X8_MSG_GPIO_MENU_HOME ) break; } y = cursor_position / 3; x = cursor_position % 3; if ( spielfeld[y][x] == FELD_NICHT_BELEGT ) { spielfeld[y][x] = FELD_MARKIERT_DURCH_SPIELER ; return; } /* if ( zaehler > 3 ) { printf("Du doedl, jetzt langts aber...\n"); exit(1); } printf("Ahh, das feld ist schon belegt, nochmal...\n"); zaehler = zaehler + 1; */ } } /*==============================================*/ /* Künstliche Computer Intelligenz */ void zug_computer(void) { int x, y; /* Sehr dumme AI: Nimm den nächsten freien Platz */ for( y = 0; y < 3; y = y + 1 ) { for( x = 0; x < 3; x = x + 1 ) { if ( spielfeld[y][x] == FELD_NICHT_BELEGT ) { spielfeld[y][x] = FELD_MARKIERT_DURCH_COMPUTER; return; } } } } /*==============================================*/ /* Spiel Zuende Prüfung */ /* gibt 1 zurück, wenn in der zeile überall markierung gesetzt ist */ int zeile_gewonnen(int y, int markierung) { int x; for( x = 0; x < 3; x++ ) { if ( spielfeld[y][x] != markierung ) return 0; } return 1; } /* gibt 1 zurück, wenn in der zeile überall markierung gesetzt ist */ int spalte_gewonnen(int x, int markierung) { int y; for( y = 0; y < 3; y++ ) { if ( spielfeld[y][x] != markierung ) return 0; } return 1; } int diagonale_gewonnen(int markierung) { int i; for( i = 0; i < 3; i ++ ) { if ( spielfeld[i][i] != markierung ) return 0; } return 1; } int inverse_diagonale_gewonnen(int markierung) { int i; for( i = 0; i < 3; i ++ ) { if ( spielfeld[2-i][i] != markierung ) return 0; } return 1; } int ist_das_spiel_zuende(void) { int i, x, y; int ist_alles_voll; zeige_spielfeld_an(); for( i = 0; i < 3; i ++ ) { if ( zeile_gewonnen(i, FELD_MARKIERT_DURCH_SPIELER) ) gewinner = FELD_MARKIERT_DURCH_SPIELER; if ( zeile_gewonnen(i, FELD_MARKIERT_DURCH_COMPUTER) ) gewinner = FELD_MARKIERT_DURCH_COMPUTER; if ( spalte_gewonnen(i, FELD_MARKIERT_DURCH_SPIELER) ) gewinner = FELD_MARKIERT_DURCH_SPIELER; if ( spalte_gewonnen(i, FELD_MARKIERT_DURCH_COMPUTER) ) gewinner = FELD_MARKIERT_DURCH_COMPUTER; } if ( diagonale_gewonnen(FELD_MARKIERT_DURCH_SPIELER) ) gewinner = FELD_MARKIERT_DURCH_SPIELER; if ( diagonale_gewonnen(FELD_MARKIERT_DURCH_COMPUTER) ) gewinner = FELD_MARKIERT_DURCH_COMPUTER; if ( inverse_diagonale_gewonnen(FELD_MARKIERT_DURCH_SPIELER) ) gewinner = FELD_MARKIERT_DURCH_SPIELER; if ( inverse_diagonale_gewonnen(FELD_MARKIERT_DURCH_COMPUTER) ) gewinner = FELD_MARKIERT_DURCH_COMPUTER; if ( gewinner != FELD_NICHT_BELEGT ) return 1; ist_alles_voll = 1; for( y = 0; y < 3; y = y + 1 ) { for( x = 0; x < 3; x = x + 1 ) { if ( spielfeld[y][x] == FELD_NICHT_BELEGT ) { ist_alles_voll = 0; } } } if ( ist_alles_voll ) return 1; return 0; } /*==============================================*/ void zeige_ergebnis_an(void) { u8g2.setFont(u8g2_font_helvB12_tr); if ( gewinner == FELD_MARKIERT_DURCH_SPIELER ) u8g2.userInterfaceMessage("Spieler", "gewinnt", "", " ok "); else if ( gewinner == FELD_MARKIERT_DURCH_COMPUTER ) u8g2.userInterfaceMessage("Computer", "gewinnt", "", " ok "); else u8g2.userInterfaceMessage("", "Unentschieden", "", " ok "); } /*==============================================*/ void setup(void) // Arduino setup { // Intialisierung für Arduboy (Production) u8g2.begin(/*Select=*/ 7, /*Right/Next=*/ A1, /*Left/Prev=*/ A2, /*Up=*/ A0, /*Down=*/ A3, /*Home/Cancel=*/ 8); } void loop(void) // Arduino loop { spiel_initalisieren(); zeige_spielfeld_an(); for(;;) { zug_spieler(); zeige_spielfeld_an(); if ( ist_das_spiel_zuende() ) { break; } /* if */ delay(300); zug_computer(); zeige_spielfeld_an(); if ( ist_das_spiel_zuende() ) { break; } /* if */ } /* for */ zeige_ergebnis_an(); }
Arduino
5
Linghhh/u8g2
sys/arduino/u8g2_page_buffer/TicTacToeDe/TicTacToeDe.ino
[ "BSD-2-Clause" ]
// MIT License // Copyright (c) 2019-2021 bloc97 // All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x3 //!HOOK MAIN //!BIND MAIN //!SAVE conv2d_tf //!WIDTH MAIN.w //!HEIGHT MAIN.h //!COMPONENTS 4 #define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off))) vec4 hook() { vec4 result = mat4(-0.011550553, 0.2571523, -0.16894904, -0.09610124, -0.052744195, 0.30938542, 0.21441698, 0.2569063, 0.06468069, 0.089650966, 0.0748017, -0.018602168, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0); result += mat4(0.17143345, 0.051090688, -0.040205717, 0.23977952, -0.06845662, 0.11059154, 0.27167943, 0.039820686, -0.037420645, 0.32412684, 0.114460744, 0.19145139, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0); result += mat4(-0.18283899, 0.16125157, -0.29441658, -0.14905207, 0.19206345, -0.03641905, -0.0255512, -0.1973209, 0.096413575, -0.165314, 0.09896132, -0.023077995, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0); result += mat4(-0.03697045, 0.16279477, -0.22278853, -0.111244164, 0.12984428, -0.016251296, 0.06175422, -0.38215196, -0.020128965, -0.1455273, -0.08009769, 0.25073814, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0); result += mat4(-0.5884801, -0.6035645, 0.29799506, 0.15807843, -0.7622044, -0.15211694, 0.02642718, 0.08056384, -0.019515019, -0.08969495, 0.05972669, -0.56973815, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0); result += mat4(0.5292328, -0.12033433, 0.1487622, -0.016836211, 0.18644744, -0.1327393, 0.1285929, -0.25551647, 0.1799259, 0.041404646, -0.20043947, -0.3026472, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0); result += mat4(-0.024188336, -0.054328248, -0.12121459, 0.17569984, 0.0269405, -0.068125665, -0.12267483, -0.03206367, 0.010800722, 0.06791396, 0.21666309, 0.00086910516, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0); result += mat4(0.11299782, 0.16244878, 0.050983112, -0.20673744, 0.0814762, -0.290341, -0.13428551, 0.02317926, -0.23702003, -0.057354085, -0.16910575, 0.12039626, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0); result += mat4(0.0099286465, -0.01866624, -0.01341757, 0.040368155, 0.29543665, 0.20391521, 0.015693977, 0.024313066, -0.009628433, 0.014835176, -0.05416802, -0.049118232, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0); result += vec4(0.009906447, 0.016014593, -0.015037731, 0.019793766); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x3 //!HOOK MAIN //!BIND MAIN //!SAVE conv2d_tf1 //!WIDTH MAIN.w //!HEIGHT MAIN.h //!COMPONENTS 4 #define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off))) vec4 hook() { vec4 result = mat4(-0.2907437, -0.077323735, -0.16973291, -0.16443132, 0.22864507, 0.49630427, 0.26739725, 0.032699764, 0.06087564, -0.20624332, 0.0112693785, 0.08255652, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0); result += mat4(0.06868092, -0.40196502, 0.13545038, 0.17964815, -0.05201233, -0.068510085, -0.033420287, 0.11053642, -0.22962584, 0.1240376, -0.07122576, -0.287889, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0); result += mat4(-0.08391916, 0.044837173, 0.05309633, -0.020162301, 0.21601973, 0.107087076, 0.009593669, -0.0480218, -0.0341008, 0.065055884, -0.037138876, 0.098079376, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0); result += mat4(0.13852748, -0.41455564, 0.18791267, 0.092003055, 0.09786073, 0.13783242, -0.0740668, 0.24771707, -0.33705822, 0.14416842, 0.15743637, -0.2325511, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0); result += mat4(0.5497675, -0.29078907, 0.05763203, -0.04751569, -0.6902698, -0.19779761, -0.39250666, -0.00016204051, 0.5432319, 0.2619331, -0.46955073, -0.3574246, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0); result += mat4(-0.061908755, -0.19342895, 0.16516154, 0.034592014, -0.19078135, 0.17319767, -0.08530775, 0.30626982, 0.07117333, -0.13394159, -0.16021773, -0.25067675, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0); result += mat4(-0.08075159, -0.2351002, -0.16552883, 0.05863658, 0.016604373, 0.097477786, 0.06739595, 0.055863712, 0.1263199, 0.21669623, 0.14968488, -0.08309879, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0); result += mat4(0.29566878, -0.18975174, -0.31122676, 0.012913531, -0.14852591, 0.21946627, 0.34939107, 0.11229292, -0.065245174, 0.08148012, 0.3856815, -0.043731045, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0); result += mat4(0.03664222, 0.05616905, 0.16613087, -0.036628574, -0.0907965, 0.013615345, 0.0053964662, -0.015731616, -0.022957215, 0.10116718, -0.094957925, 0.058128193, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0); result += vec4(0.0017539978, -0.004052146, -0.0068221963, 0.0025597692); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x16 //!HOOK MAIN //!BIND conv2d_tf //!BIND conv2d_tf1 //!SAVE conv2d_1_tf //!WIDTH conv2d_tf.w //!HEIGHT conv2d_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.023552546, -0.17976846, -0.032507695, 0.34888005, -0.10224707, 0.13343506, 0.06544117, 0.012628775, -0.14143938, -0.19284354, 0.21922144, -0.24267627, 0.60245264, -0.24113165, -0.22310556, -0.02382731) * go_0(-1.0, -1.0); result += mat4(-0.034701347, 0.07372663, 0.32609418, 0.11162037, -0.014141982, 0.07118311, -0.17728676, 0.11904929, -0.044187993, 0.10390664, -0.25206113, -0.27696803, -0.047686324, -0.1442619, 0.20605747, 0.06257326) * go_0(-1.0, 0.0); result += mat4(-0.22148718, -0.01991937, 0.1064617, -0.040335968, 0.15501678, -0.23332876, 0.034576464, 0.0071954974, 0.29223567, -0.23055542, -0.2282997, -0.12242584, -0.37809116, -0.058991294, 0.39480785, 0.09886273) * go_0(-1.0, 1.0); result += mat4(-0.14810124, 0.016219528, -0.19418913, -0.007893501, -0.053713404, 0.049100377, -0.05975324, 0.18977694, -0.050193787, -0.21011077, 0.2016647, 0.14340237, 1.0558138, -0.33549616, 0.231785, -0.3162362) * go_0(0.0, -1.0); result += mat4(-0.13609457, -0.08641219, -0.44855806, 0.3498321, 0.30400246, -0.03185214, -0.1854452, -0.010487082, -0.17215589, 0.03237537, 0.28143924, -0.08109354, 0.22742943, -1.2136713, -0.13101196, 0.25476894) * go_0(0.0, 0.0); result += mat4(0.13384807, 0.02634565, -0.0014585925, -0.119772, -0.22263676, 0.24358267, -0.29998726, 0.10864307, -0.025059542, 0.19892238, -0.48717195, -0.12713853, 0.0052565294, -0.06785795, -0.12660097, -0.2680154) * go_0(0.0, 1.0); result += mat4(0.050817262, -0.000118490156, 0.008932358, 0.12216974, 0.00651495, -0.045953527, -0.06928984, -0.059567403, -0.045261804, -0.09506907, -0.15795891, 0.40871626, 0.75113076, -0.2689173, 0.014691355, 0.17588368) * go_0(1.0, -1.0); result += mat4(-0.098001294, 0.017431907, -0.129577, -0.5423294, 0.006492312, -0.3798156, -0.0912911, -0.4348394, -0.008890873, 0.056336716, 0.31541198, 0.2757727, 0.18999146, -0.4838279, -0.8643528, -0.23371552) * go_0(1.0, 0.0); result += mat4(0.12763253, 0.20787789, 0.014009273, -0.10351501, -0.10169546, 0.105827406, 0.08317957, 0.34155595, 0.09826027, 0.120087825, 0.00772547, -0.18460846, -0.057804313, -0.09804123, 0.23369344, -0.36933377) * go_0(1.0, 1.0); result += mat4(0.016852003, -0.006062252, -0.12426935, 0.03895753, 0.015224101, 0.036187973, -0.12444835, 0.17155123, -0.21852624, -0.039858755, 0.030547414, -0.31835446, -0.1285454, 0.036886804, 0.120653056, 0.115938485) * go_1(-1.0, -1.0); result += mat4(-0.0073105944, 0.0034892666, 0.16796911, 0.10596121, 0.053536925, -0.046282507, 0.04151762, 0.011876018, 0.038614176, -0.03580031, -0.119827464, -0.040998273, 0.07371248, 0.20536064, -0.11701863, 0.03227468) * go_1(-1.0, 0.0); result += mat4(0.060087442, -0.2968361, 0.13312283, -0.23400159, -0.23598443, -0.042868868, 0.18195826, 0.28549528, 0.34385213, 0.21937303, -0.29659066, -0.2519378, 0.086887576, -0.2174296, 0.105925284, -0.021433428) * go_1(-1.0, 1.0); result += mat4(0.13158737, 0.33106673, -0.17471395, -0.29580286, 0.06354943, 0.0942313, -0.0018473539, -0.036752637, -0.12811747, 0.17727722, -0.05052513, 0.02059626, 0.053381227, 0.051411, -0.040178068, 0.045549665) * go_1(0.0, -1.0); result += mat4(-0.08831061, -0.28157574, -0.1294387, -0.034455232, 0.23092915, 0.064474, -0.26692396, 0.12853913, 0.006096496, -0.17732559, -0.14009307, 0.21564251, 0.20883715, 0.10718936, -0.47879994, -0.5107674) * go_1(0.0, 0.0); result += mat4(-0.17679055, -0.03551305, 0.17372696, 0.25607085, -0.021303236, -0.116409995, 0.21391216, 0.1466252, 0.22911525, -0.11913164, 0.29034084, -0.08526714, -0.3873873, -0.21568687, 0.23877093, 0.42613512) * go_1(0.0, 1.0); result += mat4(0.048116915, -0.08262296, -0.03324074, 0.13923667, -0.0062459446, -0.03517941, -0.009773409, -0.120674424, 0.15095374, -0.0005339233, 0.015473752, 0.14777213, 0.12814662, -0.05017428, -0.010744916, -0.23875938) * go_1(1.0, -1.0); result += mat4(0.056450244, 0.11676627, -0.14198391, -0.045776248, 0.00897558, -0.058434367, 0.021832153, -0.52523935, -0.12343506, -0.11054828, 0.15865694, 0.09315367, -0.05297719, -0.10711813, 0.06007512, -0.08399776) * go_1(1.0, 0.0); result += mat4(-0.019619863, 0.20729768, 0.043339703, 0.025781998, 0.023497196, 0.028392693, -0.04190367, -0.04418058, -0.042211913, -0.15244623, 0.02924173, 0.21085598, -0.035596382, 0.2381614, -0.030051846, 0.13014893) * go_1(1.0, 1.0); result += mat4(-0.21234104, 0.041297037, -0.18101437, -0.2185761, 0.028981358, -0.081642486, -0.021145426, -0.009989747, 0.09318067, 0.16207193, -0.19826248, 0.16293178, -0.15917318, 0.06660727, 0.053039506, -0.1168678) * go_2(-1.0, -1.0); result += mat4(-0.011286741, 0.14351663, -0.50032014, -0.026436124, -0.011840812, -0.07747942, 0.15334651, -0.14048274, -0.14003748, -0.047146395, -0.00042596797, 0.2566855, -0.03316183, 0.062969685, 0.043717206, -0.055696994) * go_2(-1.0, 0.0); result += mat4(0.30375633, -0.023652522, -0.007335798, 0.11816739, -0.0505561, 0.16002876, -0.10969625, 0.11233836, -0.19340275, 0.05881697, 0.3182961, -0.022817641, 0.42393655, -0.0420881, -0.22744067, -0.11468599) * go_2(-1.0, 1.0); result += mat4(0.19680668, -0.2718221, -0.109129034, -0.031820036, -0.014158195, 0.046111293, -0.14502439, -0.13337612, 0.09411394, 0.21357663, -0.20042713, -0.15176094, -0.0045771925, -0.031944096, 0.1550206, -0.03722588) * go_2(0.0, -1.0); result += mat4(0.24317834, 0.18838319, 0.45047724, 0.18649562, -0.2095104, -0.0006020615, 0.08367084, -0.30320555, 0.07171591, -0.29137737, -0.049099058, 0.15327643, -0.24013925, 0.34259155, 0.115902506, 0.11450217) * go_2(0.0, 0.0); result += mat4(0.016413163, 0.03915114, -0.015337155, 0.09729268, 0.29813018, -0.17131683, -0.2312706, 0.10482244, -0.2066783, -0.3365877, 0.2263724, 0.43815294, 0.036072776, 0.105696954, 0.077359736, 0.008051612) * go_2(0.0, 1.0); result += mat4(0.12033027, 0.2112806, 0.017177183, -0.09654978, 0.07329572, 0.13259365, 0.011394168, 0.0069998833, -0.16171043, -0.02289922, 0.11146632, -0.33248207, -0.017027456, -0.10894563, -0.03257589, 0.021239217) * go_2(1.0, -1.0); result += mat4(-0.031499073, -0.27365288, -0.064902805, 0.124796495, -0.023522072, -0.02951537, 0.04670401, 0.27531293, 0.43533918, 0.0585005, -0.15084462, -0.40506473, -0.32984722, -0.15036964, 0.07660922, -0.0032199689) * go_2(1.0, 0.0); result += mat4(-0.115331754, -0.09803054, -0.024313536, 0.14555499, 0.23887083, -0.29849875, -0.26729763, 0.184482, 0.09255375, -0.10736947, -0.04150894, -0.0010320714, -0.051008355, -0.104129285, -0.08903581, 0.22098938) * go_2(1.0, 1.0); result += mat4(0.06769511, -0.03238206, -0.068165705, -0.14739762, -0.061350193, 0.004104931, 0.11618826, 0.010067987, 0.02997295, 0.09301918, -0.12241719, 0.24177656, 0.22807428, -0.02756493, -0.0748496, -0.047249116) * go_3(-1.0, -1.0); result += mat4(-0.18760902, 0.18009059, -0.0020327838, -0.21866414, -0.031515904, -0.05650113, -0.12750417, 0.103761345, 0.06476017, -0.3304871, -0.07148537, 0.24832407, -0.13958152, -0.09241458, 0.22140716, 0.08166865) * go_3(-1.0, 0.0); result += mat4(0.26009315, -0.010701869, 0.023371957, -0.21740876, 0.17189556, 0.15437202, -0.14821805, -0.27689627, -0.2479749, -0.47549838, 0.32036334, 0.013038371, 0.14058238, 0.30515867, -0.26070523, 0.04663332) * go_3(-1.0, 1.0); result += mat4(-0.020923758, -0.032509495, 0.12358641, 0.4433483, -0.06527426, -0.07173554, -0.11908415, -0.072907776, -0.0026322093, 0.045405984, 0.14449333, 0.18437918, 0.064828105, -0.151514, 0.091675825, 0.13046047) * go_3(0.0, -1.0); result += mat4(-0.026943995, -0.07820492, -0.103887096, -0.3451598, 0.047472734, 0.0033870118, 0.440715, -0.20901312, 0.20392485, 0.2621361, 0.12270217, -0.24512972, -0.049621828, -0.22698936, 0.2641905, 0.009628438) * go_3(0.0, 0.0); result += mat4(-0.20713174, 0.195439, 0.058581114, -0.10963195, 0.0812059, 0.011282248, -0.18487422, -0.016993608, 0.19099854, -0.3759483, -0.5897507, 0.14572738, 0.23315357, 0.10245343, 0.043103352, -0.46267846) * go_3(0.0, 1.0); result += mat4(0.022161806, -0.00090681383, 0.052800614, 0.18393794, -0.027101398, 0.0014004739, 0.05572843, 0.118573196, -0.19916826, -0.02380698, 0.116629034, -0.28870407, 0.008048728, 0.053172585, -0.021419706, 0.09050276) * go_3(1.0, -1.0); result += mat4(-0.016204836, 0.19174457, 0.2839895, 0.17540698, -0.123605736, -0.0061563863, 0.0028344695, 0.32647628, 0.057774115, 0.06937624, -0.13302265, -0.16724658, -0.12756115, 0.13584238, 0.078516625, 0.09640836) * go_3(1.0, 0.0); result += mat4(0.120685734, -0.21064857, -0.16614036, -0.26340094, -0.06945371, 0.04921331, -0.020397125, 0.074044324, 0.23755525, -0.003564956, -0.06143462, -0.1825731, -0.11152944, -0.30590633, -0.054638807, -0.27331424) * go_3(1.0, 1.0); result += vec4(0.04903664, 0.055879604, 0.072665684, -0.063299604); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x16 //!HOOK MAIN //!BIND conv2d_tf //!BIND conv2d_tf1 //!SAVE conv2d_1_tf1 //!WIDTH conv2d_tf.w //!HEIGHT conv2d_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.21144664, -0.21278776, 0.14495273, 0.40425083, 0.27247587, -0.109341, 0.033743903, 0.035514083, -0.39683792, 0.05346587, -0.164584, -0.27716008, 0.12337504, 0.06634312, 0.2134371, 0.6341114) * go_0(-1.0, -1.0); result += mat4(0.13073774, -0.103435524, 0.0346405, 0.44462252, 0.11620409, 0.10156601, 0.054093704, -0.26547235, -0.11527728, 0.13799351, -0.027917054, -0.60904527, -0.07724007, -0.08113308, -0.009969666, 0.26369193) * go_0(-1.0, 0.0); result += mat4(0.24912444, 0.0009965017, 0.04969851, 0.3003267, -0.003903703, -0.06769968, 0.10561507, -0.17234871, 0.1536697, -0.21829624, -0.017951855, -0.09118876, -0.22243726, 0.1614144, -0.024269601, 0.397888) * go_0(-1.0, 1.0); result += mat4(0.06768992, -0.041342556, 0.07763352, -0.41787583, 0.031124283, 0.011633926, -0.0978459, 0.039305598, -0.41848403, -0.26259893, 0.28613627, 0.20371561, 0.58345675, -0.07080824, 0.19021916, 0.012531278) * go_0(0.0, -1.0); result += mat4(-0.20584361, 0.20292012, 0.16911204, -0.11723318, -0.06905249, -0.12639555, 0.029861137, -0.69824475, -0.15893462, 0.03822974, 0.2365254, -0.18049008, -0.54079545, 0.05378836, 0.3731226, -0.4194168) * go_0(0.0, 0.0); result += mat4(-0.16185144, 0.08044541, -0.11534125, -0.38361254, -0.18125655, 0.100682445, -0.17568061, 0.15932092, 0.4921224, -0.21809934, -0.4219327, 0.56603193, -0.11896117, 0.09941898, 0.060406428, -0.28055435) * go_0(0.0, 1.0); result += mat4(-0.17914674, -0.039117515, -0.10780753, -0.0019961328, -0.118028656, 0.13673705, 0.09796823, 0.036670703, 0.23708504, -0.217638, 0.02271306, -0.08260663, -0.02218291, 0.25449663, -0.38577145, 0.2289155) * go_0(1.0, -1.0); result += mat4(0.20697436, -0.08170284, -0.30875778, -0.091935694, -0.4299069, -0.048003297, 0.040368207, -0.11808018, 0.19754, -0.11251598, 0.27953205, 0.3021206, 0.45326826, 0.1854244, -0.29116857, -0.2648801) * go_0(1.0, 0.0); result += mat4(-0.005043171, 0.1165916, 0.035544373, -0.11442216, -0.17139262, -0.050638396, -0.26463476, 0.11100485, -0.10001776, -0.21563227, -0.16391662, -0.054651123, 0.39844766, 0.1455794, 0.017547537, -0.39557946) * go_0(1.0, 1.0); result += mat4(0.15157916, 0.18656601, -0.00782459, -0.038346134, -0.2450021, 0.047928028, -0.1472038, 0.2255333, -0.4334985, 0.08729366, 0.0846153, -0.30595127, -0.044211008, -0.08241214, -0.043064255, 0.4190449) * go_1(-1.0, -1.0); result += mat4(0.05928101, -0.06261379, 0.038639594, 0.19335443, 0.07116561, -0.09511715, 0.2905441, 0.1801976, 0.26955184, -0.17377244, -0.1212788, 0.016638374, -0.22339019, 0.004929746, -0.09799133, -0.031665847) * go_1(-1.0, 0.0); result += mat4(-0.18101548, 0.0012552696, -0.23048487, 0.112049505, -0.12021156, 0.14923924, 0.23487978, 0.09156211, 0.3823153, 0.19112724, -0.16386096, -0.33862537, 0.6392619, -0.074322194, -0.011328445, 0.010085967) * go_1(-1.0, 1.0); result += mat4(0.14264163, -0.083046414, 0.05174603, -0.11164799, 0.5145514, 0.09971472, 0.07346141, -0.001808423, -0.26032692, -0.22621563, 0.055869855, 0.076288834, -0.010914596, 0.22231369, 0.10603505, -0.5869296) * go_1(0.0, -1.0); result += mat4(0.5548472, 0.12401844, -0.23502155, 0.0061489646, 0.67039174, 0.05105186, -0.37961176, -0.15655631, 0.2625075, 0.0843665, 0.15801008, 0.09782913, -1.1630117, 0.5171362, 0.29586038, -0.08990771) * go_1(0.0, 0.0); result += mat4(-0.5571424, -0.058150455, 0.07254807, -0.12936777, -0.12786071, 0.07129326, -0.241742, -0.08085487, -0.13637958, -0.22721592, -0.11745357, 0.112150125, -0.09672555, 0.27359635, -0.080746, -0.009863987) * go_1(0.0, 1.0); result += mat4(0.030648582, 0.065971114, 0.067242995, 0.22608843, -0.17207222, 0.054914985, 0.03116957, -0.052851222, 0.0069969087, -0.006153292, 0.21847431, 0.057503276, 0.8095128, -0.21049567, -0.006439858, 0.08432311) * go_1(1.0, -1.0); result += mat4(-0.042780217, -0.12338032, 0.05577247, -0.21822974, -0.17892684, 0.058537606, 0.080431335, -0.078834526, -0.31537804, -0.061866514, 0.023990609, -0.058277693, 0.097793244, -0.12215614, -0.13899407, 0.27879617) * go_1(1.0, 0.0); result += mat4(0.008304607, 0.034395944, 0.17608953, -0.06544607, -0.24016827, -0.0677199, 0.12737678, -0.05233579, 0.16614896, -0.14099626, -0.022224577, 0.14793196, -0.012446621, 0.028061012, -0.1716129, 0.060556497) * go_1(1.0, 1.0); result += mat4(0.5220798, 0.13444152, -0.2122427, -0.5736831, -0.20706674, 0.017248502, -0.028334714, 0.055140972, 0.33016387, -0.14287637, 0.01387342, 0.3571347, 0.28431186, 0.11765858, -0.01822439, -0.39872175) * go_2(-1.0, -1.0); result += mat4(0.08728331, 0.23902069, -0.36302498, -0.16066715, -0.11230054, -0.13030538, 0.009534622, 0.048962418, 0.012431211, -0.20593752, -0.0013636881, 0.4360859, 0.04262531, 0.23974936, -0.094283335, -0.527438) * go_2(-1.0, 0.0); result += mat4(0.030728528, -0.112231985, -0.009100498, -0.35143045, 0.16748357, 0.017510839, 0.03239966, 0.054478996, -0.17319912, -0.050375365, 0.089725465, 0.16103691, 0.10676163, -0.09278535, -0.05428266, -0.33354014) * go_2(-1.0, 1.0); result += mat4(0.21258125, 0.04599829, -0.24325258, 0.029835198, 0.20194697, -0.07060258, 0.016639128, -0.3157998, 0.33405927, 0.060434584, -0.43728244, -0.062135965, 0.028998438, 0.11571891, -0.15109324, 0.07101858) * go_2(0.0, -1.0); result += mat4(-0.40383798, -0.36821288, 0.19626383, 0.59001976, 0.32839507, 0.101678796, 0.10640573, -0.10071399, -0.02920735, -0.0077641695, -0.22367977, -0.05433425, 0.004730477, 0.23157004, -0.11481708, 0.061465364) * go_2(0.0, 0.0); result += mat4(-0.08762416, -0.035775788, 0.26598835, 0.37357306, -0.11917872, 0.036915135, -0.19645864, -0.8743145, -0.51593053, 0.100978024, 0.06177629, -0.5311378, -0.09897961, -0.007981574, -0.14613442, 0.29796147) * go_2(0.0, 1.0); result += mat4(-0.08169756, 0.10602942, 0.16290301, 0.08642245, 0.14126572, 0.0143537, 0.022076355, 0.12719934, -0.115588315, 0.018044261, 0.06112664, -0.17315914, -0.24815254, 0.07138127, 0.064938284, 0.30757383) * go_2(1.0, -1.0); result += mat4(0.08658424, 0.04834558, 0.11189677, -0.11959915, 0.043204036, 0.0028814555, -0.27114293, 0.19655752, -0.06219229, -0.06335925, 0.001583622, 0.0003887524, -0.02551103, 0.1810684, -0.13473205, 0.41511175) * go_2(1.0, 0.0); result += mat4(0.098328196, -0.15463813, -0.25395435, 0.057165585, 0.12112806, 0.047703095, 0.1736894, -0.571335, -0.08877221, 0.25854358, -0.12695095, 0.057413366, -0.098884575, -0.28365913, 0.09991636, 0.22292562) * go_2(1.0, 1.0); result += mat4(-0.6112117, -0.010231417, -0.112239756, -0.07849118, 0.02083121, -0.034805223, 0.15247148, -0.12141691, 0.3277976, -0.06351269, -0.09261654, 0.48218137, -0.26786497, 0.18436286, 0.0026548437, -0.3494242) * go_3(-1.0, -1.0); result += mat4(-0.095630266, 0.40209347, 0.037867773, -0.25989276, -0.011930034, 0.24516326, -0.0069997567, -0.3245564, -0.023615206, 0.15278822, -0.029383302, -0.7744169, 0.94101965, 0.056572374, 0.058212046, -0.061330616) * go_3(-1.0, 0.0); result += mat4(0.081363745, -0.15472494, -0.34431493, 0.07395791, -0.055564385, 0.016541688, -0.08667468, -0.1444773, -0.2256494, -0.20606478, 0.4394829, 0.52758425, -0.5187416, 0.17331822, -0.27094364, -0.2181298) * go_3(-1.0, 1.0); result += mat4(-0.287361, 0.16206776, 0.14063619, 0.13728833, -0.36886695, -0.08538228, 0.19503894, 0.11056105, 0.16406211, 0.01727046, 0.0871592, 0.07294414, 0.060550056, 0.061177608, -0.016883448, 0.30192128) * go_3(0.0, -1.0); result += mat4(-0.33929467, 0.13435748, 0.115937024, 0.067573994, 0.009863674, 0.013138309, 0.30058098, 0.10597743, -0.17499073, 0.05588405, 0.005677747, 0.40934527, 1.1545268, -0.155579, -0.13197516, 0.15191454) * go_3(0.0, 0.0); result += mat4(0.37388617, -0.08841946, -3.8818067e-05, -0.055153493, 0.10924964, 0.005106532, 0.2640823, 0.17689948, -0.078712486, 0.014336811, 0.13541687, -0.35125944, 0.25925586, -0.11574074, -0.05334974, 0.37477663) * go_3(0.0, 1.0); result += mat4(-0.09378358, -0.02469048, 0.09498973, -0.14765818, -0.06543113, 0.052611325, -0.038409166, -0.10529152, -0.19401579, -0.16219963, -0.16643663, -0.33105713, -0.47642896, 0.3563738, 0.10123918, 0.0047903634) * go_3(1.0, -1.0); result += mat4(-0.09347765, 0.13719639, 0.17906445, 0.20748247, 0.31409532, -0.033543803, -0.055865422, 0.20806772, -0.004353982, 0.15110697, -0.052026875, 0.04408309, -0.3727673, 0.08697647, 0.062118348, -0.12789507) * go_3(1.0, 0.0); result += mat4(0.17479336, -0.15061922, -0.039640546, 0.041190077, -0.060928237, 0.17590441, 0.13194624, 0.05623478, -0.16385348, 0.09232265, 0.035934143, -0.1263174, -0.35249633, 0.15528975, 0.10165315, -0.20805833) * go_3(1.0, 1.0); result += vec4(-0.016027294, -0.022314552, 0.29750827, 0.022724666); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x16 //!HOOK MAIN //!BIND conv2d_tf //!BIND conv2d_tf1 //!SAVE conv2d_1_tf2 //!WIDTH conv2d_tf.w //!HEIGHT conv2d_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(0.20217955, -0.1016539, -0.24689016, 0.026825983, -0.012303149, 0.016825393, 0.11242501, 0.1197403, -0.29600206, 0.27503014, -0.11554761, -0.051286228, -0.010749474, -0.0034162628, -0.07294611, -0.3771706) * go_0(-1.0, -1.0); result += mat4(0.14065309, -0.20494242, 0.08172008, -0.24708536, 0.14010069, -0.0034903025, -0.13427053, 0.038706955, 0.14292285, -0.22876161, -0.08053654, -0.13691449, -0.32719252, 0.3200724, 0.41660982, 0.4663079) * go_0(-1.0, 0.0); result += mat4(-0.40426278, 0.42029375, 0.2581085, -0.08178537, 6.6040986e-05, 0.051414035, -0.09223715, 0.09467653, 0.0022885685, -0.36213446, -0.22484992, 0.11228845, -0.266375, 0.47065213, 0.18022436, 0.018949319) * go_0(-1.0, 1.0); result += mat4(0.0967041, -0.4762878, -0.48147273, -0.38028395, 0.0096386345, 0.038764592, 0.31412536, 0.11140124, -0.26849043, 0.5565519, 0.43003628, -0.4071856, -0.07576129, -0.1801822, -0.47469202, 0.20814487) * go_0(0.0, -1.0); result += mat4(-0.00062698213, -0.7789418, 0.35716832, -0.02369097, 0.3586657, 0.0046842257, -0.1294594, -0.42827508, 0.1843683, -0.109799415, -0.03444211, -0.4856736, 0.20326613, -0.20637028, 0.043016884, 0.2611685) * go_0(0.0, 0.0); result += mat4(-0.4074533, 0.11487311, 0.3276686, -0.002443473, -0.18050632, 0.36538202, 0.23752166, -0.21289061, 0.08633338, -0.30124283, -0.020832658, -0.02058489, -0.18569615, 0.47561193, 0.29504526, -0.37081027) * go_0(0.0, 1.0); result += mat4(0.3032142, -0.05559384, -0.14362094, 0.4066231, -0.10048464, 0.123465545, 0.17526495, -0.05644113, 0.10546904, 0.04229368, 0.39113873, 0.31476578, -0.3210935, -0.2459354, -0.57513195, 0.42412075) * go_0(1.0, -1.0); result += mat4(-0.012243576, 0.12146884, 0.07562772, 0.6030755, 0.11079806, -0.33577108, -0.34181613, -0.1494174, -0.03203171, 0.4393293, -0.28612396, 0.42938936, -0.043798693, -0.37709042, 0.26563555, -0.11072489) * go_0(1.0, 0.0); result += mat4(0.046751764, 0.0035097478, -0.01897875, 0.02122587, -0.12605189, -0.41298488, -0.03824162, 0.51710933, -0.052696224, -0.2337075, -0.12560573, 0.33835718, -0.31342196, 0.51827186, 0.1890404, -0.03768498) * go_0(1.0, 1.0); result += mat4(0.17229721, 0.062260006, 0.21993148, 0.075963624, 0.067087546, -0.20411918, -0.06633631, -0.05168393, -0.055554014, 0.07146849, -0.11320391, -0.5016039, -0.015768923, -0.029974159, 0.003875134, -0.7003569) * go_1(-1.0, -1.0); result += mat4(-0.0693014, 0.23172057, -0.12445124, 0.10486695, 0.024282364, 0.104390465, 0.10902425, 0.044662107, -0.14725766, -0.12317419, -0.24799284, -0.5018698, -0.09759714, -0.08109111, -0.16864298, -0.21465865) * go_1(-1.0, 0.0); result += mat4(-0.05006012, -0.091789775, -0.039711423, -0.025967857, 0.004903828, 0.27684125, 0.090259, 0.25723773, 0.25361672, -0.63184565, -0.2300667, -0.10245676, -0.43677995, 0.4948819, 0.23426977, 0.27520937) * go_1(-1.0, 1.0); result += mat4(0.24944058, -0.2630142, 0.087730475, 0.14870866, -0.05221804, -0.11076067, -0.28590345, 0.30941877, 0.12329378, 0.0869489, 0.3449555, 0.26338112, 0.27513418, -0.34140083, -0.44811395, -0.32881838) * go_1(0.0, -1.0); result += mat4(-0.2300291, 0.026097683, 0.011726505, 0.33332226, -0.24714379, -0.052737463, 0.16558985, 0.43402666, -0.040318843, 0.14610682, 0.32763618, 0.1530442, 0.46671808, -0.36680204, 0.30263212, 0.4588324) * go_1(0.0, 0.0); result += mat4(0.04394229, 0.1959856, -0.23437811, -0.42994127, 0.2209785, 0.08641096, 0.059983835, 0.3301891, -0.20396693, 0.21257658, -0.17936775, -0.17046471, -0.3278646, -0.015171337, -0.39279112, 0.7612752) * go_1(0.0, 1.0); result += mat4(-0.0721009, 0.03914034, -0.03603309, 0.0032750098, 0.02849652, -0.22286695, -0.21038975, -0.5404214, -0.09446682, 0.13351013, 0.19801673, 0.3039991, 0.06969349, 0.47980356, 0.4956948, -0.22736946) * go_1(1.0, -1.0); result += mat4(0.10723219, -0.23137522, -0.12172196, 0.041468218, -0.07041226, 0.06390648, 0.14080569, -0.35228798, 0.07642974, -0.13615544, -0.039689478, 0.07113939, 0.28258353, 0.060358338, 0.17336333, -0.2321431) * go_1(1.0, 0.0); result += mat4(-0.17947374, 0.03477672, 0.14946933, -0.27187726, 0.18819115, 0.032378223, 0.0020400453, -0.48512584, -0.12591578, -0.1212832, -0.116236545, 0.045565434, -0.15292491, -0.24064177, -0.10086153, 0.23591255) * go_1(1.0, 1.0); result += mat4(-0.106525, -0.12032337, 0.17431536, 0.0052562207, -6.420632e-05, -0.01623248, -0.08095955, -0.13127506, 0.27539784, -0.31894428, 0.08169528, 0.062290672, -0.18432364, 0.21473673, -0.025179744, 0.094855726) * go_2(-1.0, -1.0); result += mat4(-0.31541437, -0.24790616, 0.013607132, 0.039480396, -0.122884266, 0.19012398, 0.09748719, -0.09533564, -0.292556, 0.18304445, -0.1432241, 0.1381094, 0.21733786, -0.18149674, -0.1615431, 0.03368751) * go_2(-1.0, 0.0); result += mat4(0.28429464, -0.40165743, -0.26162243, -0.02550708, 0.08182439, -0.142696, -0.029649947, 0.047006324, -0.041352388, 0.45716748, 0.14035358, -0.0074519147, 0.30095938, -0.4907558, -0.19573994, -0.0730125) * go_2(-1.0, 1.0); result += mat4(0.015484458, 0.18262957, 1.1304622, 0.13020717, 0.08094596, -0.041125435, -0.011831079, 0.016813423, 0.27810735, -0.64546406, -0.09420503, 0.30469316, -0.298747, 0.56795603, 0.42592815, 0.31302226) * go_2(0.0, -1.0); result += mat4(0.04343304, -0.4498391, -0.5037316, 0.19293165, -0.53385746, 0.33699542, 0.27228716, -0.19133756, -0.32839635, 0.35161376, 0.2137489, 0.38544926, -0.25985554, 0.20467313, 0.19342346, 0.20128295) * go_2(0.0, 0.0); result += mat4(0.22484256, -0.23751211, -0.30022943, 0.051273867, -0.007936754, -0.68916345, -0.71587783, -0.1656445, -0.097008295, 0.10184849, -0.051216517, -0.3001333, 0.44228783, -0.3494149, -0.3600727, 0.061474547) * go_2(0.0, 1.0); result += mat4(-0.1976335, 0.11761563, 0.25485405, -0.24935004, 0.21836887, -0.0373093, -0.06946182, 0.049853157, -0.19294016, 0.027994758, -0.7352471, -0.40208367, -0.29396078, 0.27974385, 0.23464991, -0.21713316) * go_2(1.0, -1.0); result += mat4(0.11203325, -0.07249998, 0.03275291, -0.5243432, 0.027975427, 0.65923446, 1.1487273, 0.13650933, 0.18981944, -0.41047823, 0.24949239, -0.038735647, -0.16338153, 0.19802837, 0.2097514, -0.15370321) * go_2(1.0, 0.0); result += mat4(0.05246577, -0.10527885, -0.023790307, 0.02944672, 0.21446787, 0.22428256, -0.30655965, -0.4283235, 0.073304355, 0.2829255, 0.30902624, -0.14685656, 0.24827917, -0.33014455, -0.32007882, -0.20629856) * go_2(1.0, 1.0); result += mat4(-0.08960087, 0.0050927363, -0.30011386, -0.047652043, -0.094598204, 0.11405335, 0.06829049, 0.059407845, -0.022997437, -0.106863946, 0.07900994, 0.44502714, 0.15836091, -0.066640936, 0.15023214, 0.54916424) * go_3(-1.0, -1.0); result += mat4(-0.06162481, -0.3285692, -0.022469657, -0.11277432, -0.09067458, 0.030319816, -0.14839767, -0.23583637, 0.06760135, -0.028171305, 0.014077104, 0.35498118, -0.025291484, 0.24540594, -0.017083582, 0.28348377) * go_3(-1.0, 0.0); result += mat4(0.17504841, 0.060240712, 0.17431584, 0.16914812, 0.06998317, -0.30380917, -0.09968582, -0.30383462, -0.4403573, 0.78940177, 0.020485763, 0.27871025, 0.6351977, -0.37790725, -0.22219525, -0.4110773) * go_3(-1.0, 1.0); result += mat4(-0.08675536, 0.27092165, -0.058764063, 0.20293204, 0.009523148, 0.09759644, 0.32254717, -0.48095647, -0.23190324, -0.12567216, -0.44106624, -0.30251557, -0.29637465, 0.16701616, 0.039250236, 0.20024182) * go_3(0.0, -1.0); result += mat4(-0.12002944, 0.13862704, 0.17594223, -0.044401992, 0.36661845, -0.038946245, -0.29144734, -0.033288293, -0.48884743, 0.08073716, -0.31537253, 0.1283542, -0.5425199, 0.19174723, 0.15365373, -0.14512973) * go_3(0.0, 0.0); result += mat4(0.15586664, -0.16834132, 0.05371874, 0.36174223, -0.15587626, -0.0017205992, 0.02366499, -0.13222694, 0.27792883, -0.20452052, 0.07238269, -0.6005766, 0.45729572, -0.057850257, 0.3978193, -0.42369977) * go_3(0.0, 1.0); result += mat4(0.0125904465, -0.28701517, -0.06483255, -0.36696205, 0.0041157743, 0.16688906, 0.16022897, 0.32454333, 0.24528491, -0.22117196, -0.15657167, -0.27925336, -0.21296152, -0.27980646, -0.35671264, 0.1338135) * go_3(1.0, -1.0); result += mat4(-0.09333434, 0.2844371, -0.0012270715, -0.08979275, -0.06961038, -0.011850921, -0.14248405, 0.69844127, -0.39664406, -0.024479598, 0.055128384, -0.44450662, -0.2171763, -0.027311027, -0.22850873, 0.21512528) * go_3(1.0, 0.0); result += mat4(0.05754468, -0.06023853, -0.10660665, 0.001042397, -0.0098680295, -0.020704228, 0.022198498, 0.22380444, 0.2768453, -0.0008279344, 0.026585666, -0.4575448, 0.25150645, 0.11999355, 0.12135898, -0.39513355) * go_3(1.0, 1.0); result += vec4(0.025650544, 0.03663525, -0.016599739, 0.0293095); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24 //!HOOK MAIN //!BIND conv2d_1_tf //!BIND conv2d_1_tf1 //!BIND conv2d_1_tf2 //!SAVE conv2d_2_tf //!WIDTH conv2d_1_tf.w //!HEIGHT conv2d_1_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max((conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max(-(conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max(-(conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(0.04035504, 0.24661791, 0.16603021, -0.14574075, 0.016028887, 0.23053943, -0.01308933, -0.13217592, 0.14422223, 0.046401497, 0.31343204, -0.018826274, -0.13334458, -0.13250591, -0.19680983, 0.023520457) * go_0(-1.0, -1.0); result += mat4(-0.18644534, 0.16142415, -0.10263999, -0.1785358, 0.1524165, -0.096029095, 0.044161733, 0.040999066, -0.024374438, 0.007344798, -0.011679108, -0.01964757, -0.17767182, 0.05571244, 0.027234446, 0.043839652) * go_0(-1.0, 0.0); result += mat4(0.04718799, -0.044331063, 0.13524447, -0.067815036, 0.11796701, 0.19663425, -0.10252262, -0.10110826, -0.12611324, 0.10640568, 0.19015492, -0.05703842, -0.2498106, 0.06150599, -0.16034353, 0.023444213) * go_0(-1.0, 1.0); result += mat4(-0.27109948, -0.2330959, -0.24654478, -0.13645583, -0.30987036, -0.09328997, -0.047055356, -0.008120827, 0.12002382, -0.052843675, -0.024162116, -0.07013582, -0.21204828, 0.24816163, -0.048868638, -0.020213706) * go_0(0.0, -1.0); result += mat4(-0.36924088, 0.19141299, -0.0596671, 0.05201207, 0.042457893, -0.14713997, 0.06199918, 0.3931451, 0.08613402, -0.07767505, -0.22640567, 0.139795, -0.080966346, 0.24099334, -0.1484309, -0.18542144) * go_0(0.0, 0.0); result += mat4(-0.24846043, 0.04992665, 0.01550666, -0.07386302, -0.033128314, -0.109518744, -0.0131575465, 0.093934394, -0.10481641, -0.21640164, -0.042719785, -0.119751304, -0.14406851, -0.09887475, 0.0551473, 0.1988483) * go_0(0.0, 1.0); result += mat4(0.005014479, -0.028502205, 0.056643553, 0.22005746, -0.109462686, -0.063529275, 0.068870015, -0.09086573, -0.20329769, 0.062993504, 0.012298516, -0.09511996, -0.070928045, -0.084570564, 0.030517094, 0.0666073) * go_0(1.0, -1.0); result += mat4(-0.23140994, -0.14801921, 0.10917109, 0.04020163, -0.124175526, -9.252112e-05, -0.10079859, -0.08308403, -0.15703133, 0.12351128, -0.062012766, 0.012078454, 0.017588409, -0.19278778, -0.011159341, -0.019345049) * go_0(1.0, 0.0); result += mat4(-0.13358298, -0.13400944, -0.04192524, 0.05254761, 0.090020865, 0.204023, -0.017487295, -0.103140116, -0.0635867, -0.04658558, 0.017988916, -0.095914505, 0.0028000565, 0.1542994, 0.02950823, 0.04616086) * go_0(1.0, 1.0); result += mat4(-0.05432518, -0.0111842025, -0.0062327827, -0.033791576, 0.09963238, -0.007702412, 0.107363395, -0.0002620659, -0.03530006, -0.17219695, 0.20868061, 0.097935446, -0.08475756, -0.039234992, -0.13846119, 0.062036924) * go_1(-1.0, -1.0); result += mat4(0.01616353, -0.12863919, 0.15521172, 0.097896874, 0.033820298, -0.05146636, 0.02785997, -0.09073786, -0.09372875, 0.06929703, -0.0107195005, 0.018365687, 0.0868831, 0.0070242505, -0.040582743, -0.07992907) * go_1(-1.0, 0.0); result += mat4(-0.07650785, -0.072560616, 0.01351836, 0.07111899, -0.022031955, -0.010699844, -0.061331112, -0.18606193, 0.016390545, -0.013820923, 0.024161916, 0.05317417, -0.023394106, -0.12722068, -0.2521299, -0.0032620258) * go_1(-1.0, 1.0); result += mat4(0.09762331, 0.062247284, -0.07981863, 0.048026998, 0.052663904, 0.1488446, -0.0859117, 0.081166595, 0.06321994, 0.10102734, -0.08696909, 0.018006293, 0.10951873, 0.11635254, -0.073152475, 0.021577666) * go_1(0.0, -1.0); result += mat4(0.13631535, 0.09643497, 0.06995556, -0.012752857, 0.16278613, 0.015534217, 0.108511776, 0.14669219, 0.008778259, 0.16631478, 0.060034137, -0.16236681, -0.05978258, 0.062230766, -0.33324954, -0.02387315) * go_1(0.0, 0.0); result += mat4(-0.26835418, -0.05078421, -0.038090322, -0.01212539, 0.0064360583, -0.09849181, 0.055596586, -0.049771946, -0.060680225, 0.11777931, 0.0092843445, -0.0003092349, -0.054714512, -0.036983784, 0.080890685, 0.01171634) * go_1(0.0, 1.0); result += mat4(-0.095172614, -0.00536103, 0.024565516, 0.15711878, -0.054901525, -0.11539277, -0.0537201, 0.035690263, -0.012858618, 0.0074576396, -0.09323002, 0.0212987, 0.057625733, -0.028343642, 0.09287552, 0.17583063) * go_1(1.0, -1.0); result += mat4(0.039239723, 0.08689648, -0.09737909, -0.030164383, -0.16954574, -0.19429989, -0.008026096, -0.009319319, 0.050411783, 0.003132383, -0.032023713, -0.044580568, 0.05639381, 0.26383185, -0.11680319, 0.20925997) * go_1(1.0, 0.0); result += mat4(-0.1350493, 0.066753425, -0.07848042, -0.07173146, -0.09169151, -0.02280378, 0.014779426, 0.08916784, -0.09334288, -0.081331305, -0.06598685, -0.023294056, 0.13236979, 0.32240087, -0.05203544, -0.035413966) * go_1(1.0, 1.0); result += mat4(0.026199203, 0.0204687, -0.070584424, -0.021580774, 0.118979365, 0.0988867, -0.14607596, 0.13370356, -0.0843717, 0.08955508, -0.035913162, -0.039743375, 0.03797019, -0.057666034, 0.09423923, 0.07839171) * go_2(-1.0, -1.0); result += mat4(0.2348814, 0.0213994, 0.07450211, -0.003232845, 0.09450214, 0.014603701, 0.025057215, 0.048732072, -0.20320013, 0.02525451, -0.26879773, -0.21511178, 0.08866451, -0.046766516, -0.13612792, -0.09785279) * go_2(-1.0, 0.0); result += mat4(-0.12481913, -0.12849878, -0.016158326, 0.025934998, 0.022762675, -0.011452937, -0.08533328, 0.06363569, 0.14518197, 0.23348686, 0.095732406, -0.19029738, 0.05512797, 0.02524934, 0.05958946, 0.06717244) * go_2(-1.0, 1.0); result += mat4(0.061521348, -0.16622357, -0.08235146, -0.06429693, 0.03720797, 0.20682053, -0.08594098, 0.07171474, 0.0014226728, -0.07034602, -0.09734637, 0.03378296, 0.16466366, -0.10899766, -0.003239979, -0.015122078) * go_2(0.0, -1.0); result += mat4(0.16695042, -0.1315729, 0.09122205, 0.07520023, -0.09821882, 0.035185304, -0.06842167, -0.011763841, -0.09345794, 0.15259263, -0.39355028, -0.3891075, 0.18299462, 0.06755557, -0.027738906, 0.013310929) * go_2(0.0, 0.0); result += mat4(0.033140916, -0.027768493, -0.02067478, -0.06325463, -0.09894021, -0.20934165, -0.015428146, 0.12136887, 0.046120573, -0.071947254, 0.028421128, 0.06357571, 0.13145766, 0.04536773, 0.044150203, -0.10509899) * go_2(0.0, 1.0); result += mat4(-0.10988508, 0.112615995, 0.1751226, 0.02660734, 0.08398276, 0.12926741, 0.2084611, 0.15119243, 0.028835213, -0.039361596, 0.0034648806, 0.029079277, -0.00217732, 0.06629454, -0.07294264, 0.023904502) * go_2(1.0, -1.0); result += mat4(-0.013733941, -0.19174497, 0.106097385, 0.13108249, -0.02342723, -0.314217, 0.070849575, 0.0720347, -0.12744898, -0.065455206, -0.15339097, 0.022219827, -0.016159452, 0.010578856, 0.08105944, -0.05987952) * go_2(1.0, 0.0); result += mat4(0.23217027, 0.05277337, 0.071452655, -0.10689918, -0.031163886, 0.1281398, -0.046946436, -0.027713988, -0.03565471, 0.08120484, -0.04330698, 0.07295522, 0.1321532, -0.03170989, 0.016022692, 0.121839166) * go_2(1.0, 1.0); result += mat4(0.00410671, -0.04678445, 0.18113981, 0.05987472, 0.21671912, -0.34416708, 0.2037898, 0.15413988, -0.115338616, -0.06392024, 0.13700303, -0.033065956, -0.018238343, 0.1134282, 0.1275314, -0.019762916) * go_3(-1.0, -1.0); result += mat4(-0.11894926, -0.029414194, 0.18244646, 0.217531, 0.07504621, 0.024808811, 0.23533674, -0.022842843, 0.05035676, -0.011317847, 0.7755237, 0.14858165, -8.2921815e-08, -0.04540463, 0.11160265, -0.0009788543) * go_3(-1.0, 0.0); result += mat4(-0.14826688, -0.097891875, -0.13205692, -0.059139438, -0.13794315, -0.2652887, -0.11130958, -0.05137257, -0.1176455, -0.1548706, -0.10306716, 0.21789181, -0.009209018, 0.011220653, 0.01963476, 0.012935865) * go_3(-1.0, 1.0); result += mat4(0.11714751, 0.15236345, 0.13536146, 0.044848517, 0.34835097, 0.13658829, 0.36627477, -0.27132225, -0.3091611, 0.20383716, 0.30317453, 0.08233188, -0.07287086, -0.048854213, 0.14926453, 0.033089206) * go_3(0.0, -1.0); result += mat4(0.06970943, -0.11879602, -0.04682354, 0.06618747, 0.22552045, -0.13497396, 0.08345175, -0.255251, 0.15757652, 0.069464825, 0.37833855, -0.2546535, -0.16741769, -0.0860299, -0.0130390655, 0.09818734) * go_3(0.0, 0.0); result += mat4(-0.07983536, 0.06403843, -0.07103762, -0.08339309, -0.055773012, 0.009426009, -0.12089462, -0.16594686, -0.11570191, -0.15629323, 0.054537755, 0.1888691, -0.13647257, -0.020126633, -0.17405704, -0.26438174) * go_3(0.0, 1.0); result += mat4(-0.11210597, -0.020617625, -0.13101855, -0.17561626, -0.043740314, 0.23093803, -0.016813299, 0.09149021, 0.18216842, -0.043552347, 0.023779068, -0.10780718, -0.016673947, 0.14319964, -0.028260237, -0.124928825) * go_3(1.0, -1.0); result += mat4(-0.03160608, -0.2333736, -0.13623776, -0.026613101, -0.26093182, 0.0132271405, 0.13844319, -0.02270748, 0.10522583, 0.18912983, 0.073725015, -0.27355325, -0.0055876593, 0.16790742, -0.07568777, 0.06618935) * go_3(1.0, 0.0); result += mat4(0.022589413, 0.07764155, 0.07209622, -0.056753542, 0.0568345, -0.16099633, -0.1312878, 0.02636607, -0.21696982, -0.059245802, -0.08554336, 0.14966543, -0.059751473, -0.12615988, -0.04726769, 0.05051841) * go_3(1.0, 1.0); result += mat4(0.08186889, 0.08205334, 0.023400525, -0.014372715, -0.32853618, 0.20950803, -0.13900198, 0.033662543, 0.22546336, 0.51378864, 0.25709614, 0.0690995, 0.024139842, 0.06293423, -0.016842663, -0.0019389848) * go_4(-1.0, -1.0); result += mat4(0.08322223, 0.20575687, -0.12917835, -0.051425036, -0.10029536, 0.020689568, -0.62112635, -0.15488598, -0.12642258, 0.27025947, -0.10352515, -0.094899215, -0.07861278, -0.008126564, -0.36391425, 0.012501281) * go_4(-1.0, 0.0); result += mat4(0.09727261, 0.2485468, 0.032302193, -0.056679122, -0.30999616, -0.15299593, -0.023860209, -0.016379328, 0.20444955, 0.24193929, -0.047571138, -0.13646403, 0.07320446, 0.11940953, 0.081255615, -0.024622988) * go_4(-1.0, 1.0); result += mat4(-0.012735532, -0.0026588705, 0.049573418, -0.03732182, -0.550759, -0.19040847, -0.092085555, 0.050688766, 0.05871898, 0.65302145, 0.0486849, -0.015391376, -0.088805616, -0.1919315, -0.18541074, 0.064208336) * go_4(0.0, -1.0); result += mat4(-0.25550497, 0.076505475, -0.0033188355, 0.05434708, -0.6988797, -0.44051754, -0.7110294, -0.6219069, -0.18371364, 0.03994295, 0.22495036, 0.2654511, 0.039869636, -0.0014285883, -0.3385523, 0.03384559) * go_4(0.0, 0.0); result += mat4(0.12577426, 0.18141976, 0.017276304, -0.030196752, -0.3411355, -0.051372755, -0.4402098, -0.2307844, 0.2475909, 0.042480852, -0.13148455, 0.08761176, 0.09051365, 0.04634071, -0.1398518, -0.09816492) * go_4(0.0, 1.0); result += mat4(0.082957186, 0.20064567, -0.0039741206, -0.101500906, -0.11700493, 0.029862897, -0.12905416, 0.2396674, -0.0837802, 0.53440446, -0.044294536, -0.03571166, 0.043897923, -0.052617326, -0.15071645, 0.032061413) * go_4(1.0, -1.0); result += mat4(-0.11662253, 0.11108744, 0.15453078, 0.07819891, -0.25460127, -0.8427337, -0.07924075, 0.060776, -0.07543319, 0.1565062, -0.12689075, -0.053272385, -0.19933213, -0.020827955, 0.013956402, 0.21194445) * go_4(1.0, 0.0); result += mat4(-0.0043281335, -0.024467073, 0.051124696, 0.08090264, -0.30834627, -0.67489, 0.2619303, 0.23885296, 0.20223773, 0.23991251, 0.01228539, -0.077657975, 0.025452869, -0.03739561, 0.042129666, 0.11460913) * go_4(1.0, 1.0); result += mat4(0.06228207, -0.14803374, 0.010911389, 0.09355621, 0.023043629, 0.031996407, -0.055188306, -0.014802153, -0.019913547, 0.049278714, -0.08680487, -0.109947994, 0.0075249076, 0.05728937, -0.23096122, -0.14276639) * go_5(-1.0, -1.0); result += mat4(-0.13976647, -0.06370508, -0.103730015, 0.036839988, -0.034798823, 0.10165849, -0.22992481, -0.22844586, -0.09660402, -0.00035895672, 0.043261856, -0.048690017, 0.07580462, -0.076795, 0.104297355, 0.064719155) * go_5(-1.0, 0.0); result += mat4(0.20086232, 0.21900544, 0.100586765, -0.1263965, 0.08518987, 0.07015036, 0.1540687, -0.027686164, -0.2645977, -0.21961495, -0.049981266, 0.04538352, 0.07476041, 0.015029907, -0.0283461, -0.06752002) * go_5(-1.0, 1.0); result += mat4(0.025824754, 0.009975207, -0.09909158, -0.007285313, 0.018532153, -0.17034489, -0.22879048, 0.11958223, -0.02237275, -0.039665785, 0.10340932, -0.035260696, -0.044261284, -0.08655165, -0.106472224, 0.050346926) * go_5(0.0, -1.0); result += mat4(-0.088629484, -0.03668536, -0.09841912, -0.026597997, -0.053007387, 0.10285643, -0.21886663, -0.16486467, -0.06485831, -0.16549312, 0.09329481, 0.019519072, 0.125703, 0.04451335, -0.057531886, 0.016026434) * go_5(0.0, 0.0); result += mat4(0.1822173, -0.050538287, 0.13174933, 0.12418439, 0.089775965, 0.20749187, -0.027725866, -0.19011584, -0.08552012, 0.0063636974, -0.09168926, -0.30534875, 0.06661879, -0.06904948, -0.030606193, 0.11095211) * go_5(0.0, 1.0); result += mat4(0.105299786, -0.35318968, -0.09098853, -0.0369341, 0.0002527501, -0.0522018, -0.09358501, -0.045713484, 0.0027285013, 0.048836533, 0.13147967, -0.048738208, 0.059378657, -0.10914055, 0.11926634, 0.075568035) * go_5(1.0, -1.0); result += mat4(0.2516043, -0.24786504, -0.10248864, -0.0040028943, 0.02035929, 0.21344659, -0.18807223, -0.15342413, 0.10871073, 0.084864154, 0.1361142, 0.0115587525, 0.11032122, -0.12804365, -0.11517307, 0.029220797) * go_5(1.0, 0.0); result += mat4(0.0013311467, 0.031627458, -0.07854846, -0.057380144, -0.058437843, -0.034605294, 0.088147335, 0.03749221, 0.018598026, 0.017132863, 0.0018768669, -0.04457343, 0.03682849, -0.055201598, -0.0021610786, -0.08538003) * go_5(1.0, 1.0); result += vec4(0.12639354, -0.013081255, 0.0065587023, 0.046620134); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24 //!HOOK MAIN //!BIND conv2d_1_tf //!BIND conv2d_1_tf1 //!BIND conv2d_1_tf2 //!SAVE conv2d_2_tf1 //!WIDTH conv2d_1_tf.w //!HEIGHT conv2d_1_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max((conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max(-(conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max(-(conv2d_1_tf2_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.011583964, -0.039870065, -0.15999149, 0.08675985, 0.08109101, -0.1879774, 0.19331096, -0.4534524, -0.12586977, 0.011471076, 0.19720814, -0.1143906, 0.07553728, -0.056127805, 0.1635918, -0.17931661) * go_0(-1.0, -1.0); result += mat4(0.067819625, -0.21503527, 0.09939146, -0.07270988, -0.059113953, -0.049392458, 0.28810808, -0.14547947, -0.12949272, -0.0024433902, 0.38158932, -0.07837205, -0.036141198, 0.15529773, -0.11398279, -0.13650618) * go_0(-1.0, 0.0); result += mat4(-0.033942446, -0.031523492, 0.088098265, -0.20998281, -8.739418e-06, 0.176242, -0.0481297, 0.052109815, 0.081447944, -0.14213382, 0.277246, -0.11737086, -0.13384427, -0.0008667019, 0.14954486, 0.12667161) * go_0(-1.0, 1.0); result += mat4(-0.19201736, 0.12778927, -0.038250033, -0.5468646, -0.0061836247, 0.18480751, 0.044333503, 0.26007488, -0.20757933, 0.19695, -0.29442382, -0.22411272, 0.004405764, -0.034501124, 0.057751704, -0.03413746) * go_0(0.0, -1.0); result += mat4(0.24880652, 0.1541801, -0.012062207, -0.6005811, -0.14904043, 0.05525859, -0.10741317, 0.1890063, -0.035635296, 0.3005301, -0.2797406, 0.8594579, 0.07482009, -0.10378448, 0.08236929, -0.26407042) * go_0(0.0, 0.0); result += mat4(0.0073660286, -0.26556304, -0.1433165, 0.25972745, 0.23314878, 0.027763477, -0.11621574, -0.21574795, 0.24350981, -0.006988954, -0.02177087, -0.13037811, -0.1166682, 0.17278492, 0.08241569, 0.51040107) * go_0(0.0, 1.0); result += mat4(0.13853693, -0.06968601, 0.12298946, 0.017782336, 0.012372836, 0.027876694, -0.27880472, -0.18076333, -0.0397836, 0.2420896, 0.038473837, -0.1555481, 0.04083059, -0.073141545, 0.14184499, 0.30984175) * go_0(1.0, -1.0); result += mat4(-0.3133015, -0.09274826, 0.13639203, 0.10206795, -0.08598331, 0.03450585, 0.19280651, -0.08538865, -0.008546558, -0.07174769, -0.20052853, -0.24860515, -0.1470964, -0.22390126, 0.07744998, -0.002739885) * go_0(1.0, 0.0); result += mat4(-0.006748567, 0.07274748, 0.092211284, 0.14483126, -0.11027929, 0.1201977, -0.04872484, -0.16433857, 0.044397447, -0.21384367, 0.03269424, 0.10942982, 0.04403927, 0.010967787, -0.040405788, -0.03232669) * go_0(1.0, 1.0); result += mat4(-0.008280273, 0.024787866, 0.037189875, 0.03429621, -0.14698292, 0.094748855, 0.11563344, -0.073624834, -0.029853089, 0.07087531, -0.05736988, 0.11237037, -0.04985742, 0.056539766, -0.020783758, 0.12329614) * go_1(-1.0, -1.0); result += mat4(-0.03344095, -0.0073405057, 0.05190122, 0.12998703, -0.048184916, -0.13144512, 0.031402104, 0.43577522, 0.112474926, -0.08905257, 0.10081381, -0.014079196, 0.09510892, -0.03853581, -0.20324658, 0.1589196) * go_1(-1.0, 0.0); result += mat4(0.034226835, -0.038741812, -0.020816153, -0.13061026, -0.020475632, -0.16419771, -0.0076826485, -0.04103266, -0.0056703947, 0.06705962, 0.026199229, -0.019306373, -0.0067688744, -0.07038936, -0.104216576, 0.12684165) * go_1(-1.0, 1.0); result += mat4(-0.008213376, -0.10455055, 0.04212865, 0.05025464, -0.07784179, 0.018042147, -0.023232944, 0.25375158, -0.009442334, -0.07854094, -0.040824052, 0.09969908, -0.07734574, 0.010816756, -0.098997355, 0.22808696) * go_1(0.0, -1.0); result += mat4(-0.09186444, -0.070967846, -0.18332118, -0.13047308, 0.07874793, 0.49928188, -0.19095366, -0.5786626, -0.076766655, 0.00328989, -0.027825667, -0.46311954, 0.18953162, 0.0067680115, -0.39336485, 0.21162145) * go_1(0.0, 0.0); result += mat4(0.067058854, 0.097902276, 0.11048054, 0.08798107, 0.24173008, -0.09251265, 0.040146023, 0.051595293, -0.024550369, -0.054440435, 0.002777188, 0.10740609, 0.12708955, -0.1126051, 0.08698823, -0.22985286) * go_1(0.0, 1.0); result += mat4(0.009401559, -0.00019733842, -0.0391449, 0.07650643, 0.117760375, -0.16319785, -0.042495195, -0.23318908, 0.024536118, 0.12618859, -0.011912352, 0.09087688, -0.2767169, -0.044689544, 0.18786801, -0.020456426) * go_1(1.0, -1.0); result += mat4(-0.034666687, -0.037431296, -0.12936176, -0.20454895, -0.30241257, -0.019945377, 0.01616507, 0.13762684, 0.055600353, -0.01146059, -0.013451368, 0.16529311, 0.42141652, 0.17878959, -0.322346, -0.2869838) * go_1(1.0, 0.0); result += mat4(0.00015858973, -0.026061518, 0.056444857, 0.0891557, 0.08452023, -0.118858494, 0.052117698, 0.10851732, -0.0738216, -0.021903642, 0.041175738, -0.0327392, 0.5465747, -0.22983976, -0.2643581, -0.41978332) * go_1(1.0, 1.0); result += mat4(-0.071339466, 0.20363729, -0.12277878, -0.18987495, -0.076909326, 0.040142104, 0.19751047, 0.09099594, 0.05504884, 0.010637861, -0.07010218, 0.016844785, -0.0025642936, -0.07132042, -0.0058730873, 0.114345245) * go_2(-1.0, -1.0); result += mat4(-0.12181514, 0.09113612, -0.011027632, 0.1210622, -0.11706013, 0.03866967, -0.3818603, 0.071857385, 0.10714353, 0.05537742, -0.44725725, 0.03664743, 0.13571225, -0.13654736, -0.05921695, -0.023738123) * go_2(-1.0, 0.0); result += mat4(-0.023582853, 0.09176081, -0.021919282, -0.010129313, 0.031890567, -0.07508517, -0.08540747, 0.05653626, 0.05514676, -0.0798297, 0.18732204, -0.030211389, -0.10890019, -0.0084348805, -0.027744634, 0.08252744) * go_2(-1.0, 1.0); result += mat4(0.46878332, 0.26391587, 0.1209319, 0.20555447, -0.14922385, 0.051061515, -0.098676264, -0.79184246, -0.013350073, -0.08962262, 0.13399342, 0.06365851, -0.14557728, -0.06463198, -0.08577713, 0.013490423) * go_2(0.0, -1.0); result += mat4(0.09800499, 0.20487864, 0.04297167, -0.17064336, -0.18083592, 0.07161958, -0.25937584, 0.2956417, -0.06518691, -0.041915365, 0.2427435, -0.27577895, 0.042372942, 0.012740312, 0.1629995, -0.068871476) * go_2(0.0, 0.0); result += mat4(-0.09425951, -0.0002062786, 0.23311934, -0.006410014, -0.12866448, 0.007478842, -0.033752777, 0.25421995, -0.083972536, 0.23449679, -0.010915457, 0.028103303, -0.034862384, -0.1672906, -0.018962707, -0.18321303) * go_2(0.0, 1.0); result += mat4(0.07923952, -0.008543305, 0.034679245, -0.11071784, -0.18627429, 0.003675945, 0.0069275787, -0.044213627, -0.006995472, 0.048261233, -0.06831886, 0.08082691, 0.09143829, 0.016518226, -0.05343353, -0.059744157) * go_2(1.0, -1.0); result += mat4(-0.068577155, 0.07070798, 0.012206329, 0.060340866, -0.15496197, -0.048976723, 0.1804755, 0.023005864, 0.10723597, -0.11200869, -0.09880576, 0.04989044, 0.022357088, -0.037169944, 0.07880648, 0.072531044) * go_2(1.0, 0.0); result += mat4(0.18387286, 0.03215834, -0.14121926, -0.10857612, -0.052505493, 0.04517108, -0.011841349, 0.004303513, 0.106845826, 0.15006103, 0.08652394, 0.08490524, -0.061379727, 0.08679647, -0.040883318, 0.08898481) * go_2(1.0, 1.0); result += mat4(-0.23395903, 0.14408536, 0.06144857, -0.6685949, 0.031935096, 0.12004766, 0.26079124, -0.029172074, -0.03897466, 0.15112093, -0.07277923, 0.03711819, 0.16760348, 0.0568828, -0.065560065, 0.00956802) * go_3(-1.0, -1.0); result += mat4(-0.04025016, 0.1942882, 0.3924612, -0.04801865, -0.00043523984, 0.14166853, 0.07607167, 0.08827246, -0.013007562, 0.2740378, 0.17477411, -0.12968275, -0.049680926, -0.050259456, 0.45260057, -0.577762) * go_3(-1.0, 0.0); result += mat4(0.14644562, 0.031796087, -0.09817545, 0.20418191, -0.0067933775, 0.056546275, -0.21122308, 0.0013088459, -0.01669626, -0.06921733, -0.036989935, -0.011311058, -0.13346042, 0.058525432, -0.20613761, 0.20606859) * go_3(-1.0, 1.0); result += mat4(0.030689783, -0.044584632, -0.1423556, 0.46852973, 0.1544211, 0.09648401, -0.02908366, 0.20236433, -0.209728, 0.14151458, 0.043298278, -0.09896984, -0.010364637, 0.105616786, 0.015112407, 0.1621763) * go_3(0.0, -1.0); result += mat4(0.26286677, -0.18297276, -0.008437637, 0.23164693, -0.17953826, 0.0068245744, 0.3154146, 0.013059944, 0.01976866, 0.23886378, -0.41287166, 0.5972539, -0.096666135, -0.041894518, 0.09390394, 0.21449414) * go_3(0.0, 0.0); result += mat4(-0.10464677, 0.13162361, 0.15632801, -0.08477776, 0.019359391, 0.011527983, 0.1291731, -0.23251401, 0.12450163, -0.109221414, -0.15897743, -0.14652708, -0.20315395, -0.14564586, 0.020215273, -0.32138833) * go_3(0.0, 1.0); result += mat4(0.0016461449, -0.019713728, 0.0021448475, 0.23474461, -0.023654517, 0.3125121, -0.14093982, 0.029511975, -0.06882552, -0.055134527, 0.08678149, 0.16168617, 0.056411985, -0.003294866, -0.086585745, -0.08039331) * go_3(1.0, -1.0); result += mat4(0.025475128, -0.13736734, -0.23040788, -0.14943235, 0.105925016, 0.035434112, -0.3531705, -0.08996714, 0.16017611, 0.32583725, -0.0015653507, -0.20779954, 0.052627537, 0.15831038, -0.04017022, 0.17487001) * go_3(1.0, 0.0); result += mat4(-0.02480846, -0.007830464, -0.0036758396, -0.23093869, 0.09558813, -0.114281885, 0.031678613, -0.009195237, 0.06701917, 0.22061102, -0.09497275, -0.049442247, 0.035844408, -0.0007537016, 0.022630664, -0.038742796) * go_3(1.0, 1.0); result += mat4(0.041537244, -0.07261114, -0.04763458, 0.10301855, 0.17563294, -0.0015564843, -0.37491855, 0.98893, -0.033186004, 0.02857216, 0.08441547, -0.10630457, -0.0057512764, -0.072272584, 0.04433026, -0.03993334) * go_4(-1.0, -1.0); result += mat4(0.045594532, -0.09183751, -0.07595133, -0.29140073, 0.14685835, -0.11706308, -0.1521791, -0.08122252, -0.16447383, -0.16774787, 0.031189548, -0.049414303, 0.11017621, -0.039800264, -0.026208388, 0.010578009) * go_4(-1.0, 0.0); result += mat4(-0.008146379, 0.011186087, 0.06602373, 0.12634839, -0.15983777, 0.47099414, -0.45333612, 0.8108099, 0.060124353, -0.055181783, 0.060738478, -0.19588436, -0.058250163, 0.07546748, -0.12299866, 0.14861311) * go_4(-1.0, 1.0); result += mat4(-0.061107293, 0.03472494, -0.02506493, -0.20965452, 0.06124681, -0.10108107, -0.016206535, 0.9110013, -0.1416294, 0.08154053, -0.031441186, 0.0186752, 0.0034352038, -0.07802204, 0.017881326, 0.08767849) * go_4(0.0, -1.0); result += mat4(0.111084074, 0.15226965, 0.18580344, 0.2079405, -0.13621394, -1.091612, 0.61654764, -0.4794665, 0.06974509, -0.13632853, 0.075810306, 0.23651427, -0.13307844, -0.15254645, 0.3380616, -0.23381148) * go_4(0.0, 0.0); result += mat4(-0.087361775, -0.18112153, -0.041845977, 0.06846624, -0.5374386, 0.0951175, -0.07031933, 0.6016942, 0.2098498, 0.14762096, -0.07894201, 0.018698592, 0.015885107, 0.08625943, -0.06305365, -0.09532374) * go_4(0.0, 1.0); result += mat4(-0.00532194, 0.023428405, 0.009051187, -0.026698198, 0.24106956, -0.120294146, -0.17878368, 0.5585901, -0.09603226, -0.27434218, 0.061267257, -0.067599274, 0.11577519, -0.07198036, -0.063585244, -0.054138158) * go_4(1.0, -1.0); result += mat4(-0.0037090166, 0.12307526, 0.0906306, 0.25897357, -0.056975186, -0.1644774, 0.29305506, 0.8245228, -0.1015189, 0.12243611, -0.04579446, 0.03619774, -0.13700119, -0.093857154, 0.11116371, 0.28709015) * go_4(1.0, 0.0); result += mat4(-0.06580517, -0.0050515556, -0.020180127, -0.12627304, -0.5295511, 0.20198601, 0.07984717, 0.49923962, 0.053387187, -0.14329363, 0.0334398, 0.027427796, -0.06010418, 0.06905177, -0.05953624, -0.0062744734) * go_4(1.0, 1.0); result += mat4(0.10157902, -0.04258438, -0.081592366, 0.10231988, -0.0011280937, -0.0029477119, 0.122473806, 0.058182172, -0.12809396, -0.0764063, -0.02463603, 0.090703174, 0.016098853, -0.05153951, -0.10675215, -0.02805221) * go_5(-1.0, -1.0); result += mat4(-0.006401907, 0.03299347, 0.021813435, -0.13645992, 0.023382979, 0.010197056, 0.06242549, 0.12870488, 0.019453553, -0.2611006, 0.36471257, -0.15937614, -0.15930663, 0.05387499, 0.016597098, -0.08595697) * go_5(-1.0, 0.0); result += mat4(-0.124307014, 0.12072375, -0.0152935125, 0.11888215, -0.002845999, 0.06499965, -0.06901064, -0.03703204, -0.029126361, -0.0076392456, -0.060736757, 0.129555, 0.11537912, 0.116019435, 0.010435708, -0.028468154) * go_5(-1.0, 1.0); result += mat4(-0.30459714, -0.17632067, -0.011205797, -0.221887, 0.10605666, -0.13572265, -0.46315852, 0.04301515, -0.13903672, 0.06458765, 0.06137365, -0.07876008, 0.094751015, -0.14028335, 0.116963856, -0.08032087) * go_5(0.0, -1.0); result += mat4(-0.06367799, 0.02582219, 0.014640189, 0.18990557, -0.06407629, -0.32271802, 0.1840523, -0.19602421, 0.3909874, -0.36456084, 0.18965109, 0.7528314, 0.012954545, -0.15343507, -0.22583503, 0.25706828) * go_5(0.0, 0.0); result += mat4(0.1301731, 0.058515985, 0.033280328, -0.24190922, -0.040143438, 0.058877766, 0.0054545617, 0.087361515, 0.27292597, -0.40958795, 0.026887156, -0.31366885, -0.0043431865, 0.12750955, -0.07194776, 0.065983064) * go_5(0.0, 1.0); result += mat4(0.035723373, -0.095498726, 0.0782959, 0.15071936, -0.023301449, -0.05924046, 0.06547244, -0.10660772, -0.030093014, 0.07851236, -0.011449212, 0.047922783, -0.015065303, 0.03087975, -0.00836779, 0.09950588) * go_5(1.0, -1.0); result += mat4(0.14543498, -0.117947996, -0.03933479, 0.004552818, -0.13139006, -0.122988954, -0.22851296, -0.13614058, -0.065790504, 0.18083169, 0.009247789, 0.11099354, -0.09211226, -0.16174947, -0.030774815, -0.087108776) * go_5(1.0, 0.0); result += mat4(-0.03276944, 0.066936366, -0.0058282167, 0.036148816, -0.112155296, 0.00018165805, 0.1121539, 0.19087985, 0.19124067, -0.17718928, -0.218951, -0.27710462, 0.055448502, -0.14703886, -0.02985939, -0.13152236) * go_5(1.0, 1.0); result += vec4(0.023773972, -0.01610134, -0.0063477294, 0.03926911); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32 //!HOOK MAIN //!BIND conv2d_tf //!BIND conv2d_tf1 //!BIND conv2d_2_tf //!BIND conv2d_2_tf1 //!SAVE conv2d_3_tf //!WIDTH conv2d_tf.w //!HEIGHT conv2d_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.070009954, 0.021454038, -0.11847886, -0.13528088, -0.018916288, -0.007984584, -0.24044524, 0.19681533, -0.2256282, 0.062132522, 0.09804443, 0.1609667, -0.1681184, -0.2739988, 0.9826367, -0.7047149) * go_0(-1.0, -1.0); result += mat4(0.15299161, 0.031075276, 0.3363494, 0.21731544, 0.16975908, -0.13952748, 0.2240078, -0.05287144, -0.10947391, -0.28058887, 0.1602415, -0.05242933, -0.012824572, 0.44019148, 0.183011, 0.22124447) * go_0(-1.0, 0.0); result += mat4(-0.1933171, 0.010807793, 0.09619794, -0.11506685, -0.021847002, -0.032412205, -0.0695289, -0.36532974, -0.3062084, 0.23712663, -0.103008516, -0.1459631, -0.3775901, -0.15065736, 0.50798917, -0.319278) * go_0(-1.0, 1.0); result += mat4(-0.035294224, -0.18208614, -0.07670704, 0.19304472, -0.031985164, 0.1892136, 0.25703606, -0.13320692, 0.15069315, -0.15903461, 0.09562073, 0.62043756, -0.23541127, -0.40577292, 1.0787953, -1.2457207) * go_0(0.0, -1.0); result += mat4(0.026066521, -0.123162605, -0.44671676, -0.2474968, -0.15022507, 0.14640577, -0.16684136, -0.17727603, -0.10631298, -0.00019539552, -0.14931045, 0.513359, -0.14604786, 0.2310633, 0.7307062, 0.9524847) * go_0(0.0, 0.0); result += mat4(-0.01440516, -0.029865097, -0.21874285, -0.08972308, -0.041655123, -0.31896067, -0.08689541, -0.44401455, 0.19876169, 0.28722167, 0.2994054, -0.11819685, -0.21186438, 0.09155155, -0.053684887, 0.06309117) * go_0(0.0, 1.0); result += mat4(0.38075218, -0.043483753, -0.06272146, -0.3508819, -0.028731659, 0.11677864, 0.30532238, -0.1361271, 0.027849868, 0.26058978, -0.22731794, -0.31844667, -0.14439595, -0.43144438, 0.22429988, -0.8116798) * go_0(1.0, -1.0); result += mat4(0.2698316, 0.10916783, 0.22091974, 0.25939828, -0.39838716, -0.56674814, -0.0027586184, 0.3153625, 0.02299242, -0.09457763, -0.18344624, -0.26338023, 0.808161, 0.42487702, -0.08384813, 0.2537601) * go_0(1.0, 0.0); result += mat4(0.0016191471, -0.017978113, 0.07647931, 0.09275741, 0.047083963, -0.16048019, -0.35436496, -0.11364046, 0.14129135, -0.22842133, 0.2055642, -0.2851008, -0.26163805, 0.25209108, -0.07687645, 0.17382248) * go_0(1.0, 1.0); result += mat4(-0.17505698, 0.050314635, 0.22755234, 0.08223936, 0.5061073, -0.03928098, -0.04852723, -0.2080106, -0.23748071, -0.11158337, -0.1185882, 0.25914934, -0.12613636, -0.14749174, -0.01269258, -0.029624067) * go_1(-1.0, -1.0); result += mat4(0.10377744, -0.05466698, 0.078872405, 0.13041748, 0.3035502, 0.008530016, -0.0073189647, 0.08329345, -0.6060871, -0.16662528, -0.30371985, -0.2702, 0.61287826, 0.1879884, -0.35137656, 0.059505742) * go_1(-1.0, 0.0); result += mat4(0.4154466, 0.027697539, -0.20323761, 0.053415433, -0.068815745, -0.08202049, -0.0044402266, -0.15027983, -0.20020244, 0.07059659, -0.41572148, -0.1883762, 0.4808424, 0.17841879, 0.34741637, -0.16586983) * go_1(-1.0, 1.0); result += mat4(-0.49572352, 0.18716958, -0.11335317, -0.04769748, -0.10330109, -0.19025627, 0.041789476, -0.029715253, 0.41650102, -0.21882975, 0.00034815544, -0.14541556, -0.36252424, 0.08366534, -0.3358562, 0.14622436) * go_1(0.0, -1.0); result += mat4(-0.61609584, 0.27124375, -0.19046734, -0.11064285, 0.07314146, -0.06847904, -0.10895851, -0.25303125, -0.31509212, -0.061137207, 0.77079886, 0.09762246, -0.12127141, 0.5360138, -0.10778708, -0.26520404) * go_1(0.0, 0.0); result += mat4(0.14356199, -0.33016726, -0.10193467, 0.11632038, -0.2102557, -0.09183232, -0.05608626, 0.1077268, 0.42815325, -0.12325146, 0.07102939, 0.33383858, 0.2685298, -0.30266166, -0.14468539, 0.25896597) * go_1(0.0, 1.0); result += mat4(0.24143316, -0.25761056, 0.10797443, -0.09529745, -0.2713075, -0.13745351, 0.35335636, 0.18980181, 0.1497739, 0.2171633, 0.061957028, 0.06298818, -0.5021309, 0.23157999, 0.33820194, -0.31056333) * go_1(1.0, -1.0); result += mat4(0.5320622, -0.19934873, 0.23535317, 0.31637898, -0.22363397, 0.08788032, -0.39178285, -0.008990902, -0.123608015, -0.19913444, -0.057655413, 0.14251189, -0.10986118, 0.2881711, 0.17117414, 0.192134) * go_1(1.0, 0.0); result += mat4(-0.17839171, -0.073765226, -0.008635483, -0.060226154, 0.06017481, -0.13104144, 0.12686783, 0.032242585, 0.2530974, -0.16110623, -0.063553855, 0.037782427, -0.16940302, 0.12327486, -0.26592708, -0.6268989) * go_1(1.0, 1.0); result += mat4(-0.02958415, 0.17974854, -0.05410245, 0.33944428, -0.09253551, 0.07514051, 0.13740923, -0.28058362, -0.02765559, -0.11831436, -0.043005154, -0.11904006, 0.16704343, 0.04189509, -0.10330082, 0.1880131) * go_2(-1.0, -1.0); result += mat4(-0.37475482, -0.01700356, -0.24596426, -0.4922382, -0.19088304, -0.016197044, -0.12311331, -0.036154404, 0.2840147, 0.118689395, -0.12786976, -0.2880571, -0.11529499, -0.1782456, -0.033142284, 0.13284667) * go_2(-1.0, 0.0); result += mat4(0.19109744, -0.022636034, -0.20981206, -0.13425744, 0.06719846, -0.007916905, 0.03267867, 0.2379371, 0.14225921, -0.34617522, -0.05871524, 0.16368906, -0.11616345, 0.11237658, -0.045261133, -0.11723488) * go_2(-1.0, 1.0); result += mat4(-0.08670845, 0.26602617, 0.44096178, -0.51279294, -0.056755852, -0.12593001, -0.33269683, 0.20696445, 0.1559452, 0.07681006, -0.09779268, -0.688887, 0.21316779, 0.17372929, -0.08544234, 0.07616171) * go_2(0.0, -1.0); result += mat4(0.17020908, -0.12088683, 0.1419015, 0.12911774, -0.15688238, -0.28298134, -0.11700167, 0.19899802, -0.07609943, -0.029896088, -0.0050638276, -0.38834035, -0.08416907, 0.031337228, -0.28374615, -0.14694452) * go_2(0.0, 0.0); result += mat4(0.06929038, -0.047811467, 0.117096715, 0.12538622, 0.08086667, 0.24495961, 0.3155886, 0.104587935, -0.01886312, -0.34588912, -0.27327782, -0.04555734, 0.23255315, -0.108082674, -0.13707769, -0.05873641) * go_2(0.0, 1.0); result += mat4(0.00902887, 0.14967729, 0.32326877, 0.37786308, 0.086763926, 0.07875129, 0.018687664, -0.23617996, 0.10713405, -0.32334656, 0.03548578, 0.48193508, 0.16891663, 0.06672513, 0.015739288, 0.11815199) * go_2(1.0, -1.0); result += mat4(-0.056735244, -0.12874928, -0.1966798, -0.006730039, -0.19457163, 0.5460189, -0.33285704, -0.16783655, -0.110312894, 0.26006797, 0.39838836, 0.04828549, -0.35588023, -0.046225607, 0.1470969, -0.03958509) * go_2(1.0, 0.0); result += mat4(-0.040117856, -0.12115325, -0.09573767, -0.20720899, -0.31765452, 0.17502289, 0.32475054, -0.037348557, -0.6297341, 0.31640062, 0.13060059, 0.38800913, 0.022872448, -0.24634287, 0.078089714, -0.06475687) * go_2(1.0, 1.0); result += mat4(0.091850154, 0.07503415, -0.029450072, 0.063198596, -0.48778293, 0.008516766, -0.011320089, 0.16324575, 0.25261796, -0.17494957, 0.05179325, -0.38840756, -0.0009285451, 0.23772798, -0.041317377, -0.2321146) * go_3(-1.0, -1.0); result += mat4(-0.14229155, -0.0363765, -0.2688432, -0.050601564, -0.34335235, 0.06305365, 0.13397686, 0.080726914, 0.7566556, -0.13657099, 0.5557799, 0.32687777, -0.48564702, -0.2650894, -0.12913369, -0.120667666) * go_3(-1.0, 0.0); result += mat4(-0.46836203, -0.0053843935, 0.121539764, 0.1515464, -0.08852458, 0.0457093, 0.17343567, 0.28838184, 0.1487209, -0.16409159, 0.36763063, 0.32707927, -0.6642105, -0.07492801, -0.10795077, 0.022325262) * go_3(-1.0, 1.0); result += mat4(0.57899827, -0.13887906, -0.0097093545, 0.16584128, 0.02580304, 0.029060904, -0.07870976, 0.08426836, -0.49014091, -0.059810862, 0.07537706, 0.19709098, 0.50265956, -0.1979507, 0.04224913, 0.24166693) * go_3(0.0, -1.0); result += mat4(0.5854048, -0.30505064, 0.11956023, 0.42225972, 0.23776995, -0.15392427, -0.24818493, -0.008560312, 0.14061272, -0.24819212, -0.43060255, 0.041263513, 0.1102007, -0.35617712, 0.11143811, -0.12615411) * go_3(0.0, 0.0); result += mat4(0.038254753, 0.25506422, -0.04199388, 0.049952004, 0.09660053, -0.102070555, 0.03463346, 0.41572338, -0.8515757, -0.099683315, 0.41168302, -0.28354573, -0.033608474, 0.20575888, -0.09237519, 0.1317394) * go_3(0.0, 1.0); result += mat4(-0.36307448, 0.21091977, -0.05185984, 0.23907793, 0.028207673, -0.03712817, -0.14677319, 0.012790144, -0.10698613, -0.10369875, 0.04410704, 0.24705076, 0.6489292, -0.32338777, -0.13414769, 0.06621839) * go_3(1.0, -1.0); result += mat4(-0.75373167, 0.09019827, -0.17284726, -0.12543003, 0.27073398, -0.2086718, 0.27785063, -0.13103813, 0.02331414, 0.08186754, -0.20196521, 0.051684897, -0.06606664, -0.31958562, -0.21315438, 0.125855) * go_3(1.0, 0.0); result += mat4(-0.038064726, 0.16583198, 0.32122764, 0.035743285, 0.12363822, 0.1127362, -0.14712748, -0.085392915, -0.24138255, 0.044777665, -0.05044951, -0.033647526, 0.030597545, 0.09082426, 0.2265798, 0.4736122) * go_3(1.0, 1.0); result += mat4(0.1126977, -0.20046005, -0.25496894, 0.124036126, 0.10974965, 0.11985285, 0.084138885, 0.18124366, -0.07204373, 0.0064274063, -0.04832383, 0.08851591, 0.16612647, 0.03482884, -0.18090217, 0.047765564) * go_4(-1.0, -1.0); result += mat4(-0.07905303, -0.18953685, -0.0394631, 0.3865751, -0.09878195, 0.0971415, -0.028516496, -0.028853778, 0.14474897, -0.09137614, 0.09731305, 0.40169916, 0.15572307, 0.1500765, -0.00012203158, 0.0064038946) * go_4(-1.0, 0.0); result += mat4(-0.003821752, -0.06385342, 0.0072888564, -0.083775744, -0.060851365, 0.057136264, 0.04280462, -0.021202056, -0.048534214, -0.18506972, -0.12204474, 0.5779176, -0.04827323, -0.08722066, -0.07115785, 0.05368898) * go_4(-1.0, 1.0); result += mat4(-0.2330202, -0.06303653, 0.29030174, 0.030189004, -0.33963275, 0.18114606, 0.29463735, 0.11328755, 0.07963053, 0.0031095785, -0.29962993, 0.28251857, -0.11494044, -0.0057895523, 0.14319211, -0.2488439) * go_4(0.0, -1.0); result += mat4(-0.23654912, 0.22379474, 0.3198649, 0.056066927, 0.030691607, -0.07961141, -0.03144492, -0.088082604, 0.6778628, 0.132889, -0.055798188, -0.06978169, 0.12096563, -0.32717404, 0.09106718, -0.36815766) * go_4(0.0, 0.0); result += mat4(-0.023105778, -0.06328445, -0.19508956, 0.03861484, 0.012225362, 0.19229671, 0.116407454, 0.14414418, 0.35368624, -0.024074793, 0.3326615, 0.27431, 0.09195309, -0.07196982, 0.04215389, -0.3849532) * go_4(0.0, 1.0); result += mat4(0.07858679, -0.09443359, -0.29571265, -0.1362178, 0.0996039, 0.11245977, 0.027077818, -0.08518728, 0.33179262, 0.049214616, -0.05736423, 0.36015186, 0.15525928, -0.038635023, -0.39069554, 0.34784096) * go_4(1.0, -1.0); result += mat4(0.058750402, -0.10020396, -0.07721487, -0.17439356, 0.16671538, 0.13477819, 0.16946232, -0.025819335, 0.34714434, -0.010198532, 0.11025432, -0.38616708, 0.12990142, 0.23817861, -0.019366616, 0.028044654) * go_4(1.0, 0.0); result += mat4(0.14006312, 0.10630536, -0.2260768, 0.05714687, 0.092723176, 0.09547309, -0.0389109, 0.07675646, 0.058345646, -0.042954672, 0.06104659, -0.4122757, 0.16417535, 0.0037746713, -0.18294196, 0.30190903) * go_4(1.0, 1.0); result += mat4(0.057622287, -0.035229363, -0.06553031, 0.10031876, -0.19319145, -0.048806723, -0.007425805, 0.019005304, 0.003586262, 0.016717708, 0.060107335, -0.06216915, 0.049704567, -0.05240107, 0.25620982, -0.31595117) * go_5(-1.0, -1.0); result += mat4(-0.18573885, -0.111477345, -0.09373111, -0.21040887, 0.11643646, 0.07510521, -0.32174352, -0.15092906, 0.12905258, -0.027009318, -0.002743646, -0.041563954, 0.020309664, -0.034647387, 0.31882894, -0.37069848) * go_5(-1.0, 0.0); result += mat4(0.17867199, -0.00943737, -0.010177444, -0.21181585, 0.104042746, 0.014474994, 0.018701844, 0.026212798, 0.03658747, 0.043956183, 0.043650407, 0.085389875, -0.014945577, -0.01762919, 0.182654, -0.22317432) * go_5(-1.0, 1.0); result += mat4(-0.120912515, -0.039224375, -0.037017174, -0.23653193, -0.1008845, 0.028399386, -0.044548668, -0.45636034, -0.16566889, 0.013642447, 0.0137368515, -0.03482613, 0.13369492, -0.06382037, 0.22479321, -0.23690398) * go_5(0.0, -1.0); result += mat4(-0.4373671, -0.23222357, -0.21916443, 0.3293385, 0.028744029, 0.15837203, 0.023399707, 0.10409895, -0.41181034, 0.043568164, -0.009273385, 0.21109276, 0.16801079, 0.030154167, -0.009720421, -0.18788648) * go_5(0.0, 0.0); result += mat4(-0.072376475, -0.02011798, -0.10647262, 0.020971974, -0.2182798, 0.11682645, -0.087513156, -0.13088813, -0.008121755, 0.0039800145, 0.038333565, -0.11610967, 0.027469315, -0.056020927, 0.15623987, -0.056618977) * go_5(0.0, 1.0); result += mat4(-0.13373947, -0.033171114, 0.06283731, -0.08029521, -0.24974878, -0.03945939, 0.034578755, -0.1890085, -0.027030889, 0.0749198, -0.016240204, 0.03943091, 0.030432291, -0.044505976, 0.19445403, -0.49589068) * go_5(1.0, -1.0); result += mat4(-0.1509842, -0.0070381155, 0.012917948, 0.17059498, 0.029610088, -0.10878063, -0.008113074, 0.056289833, -0.054603256, 0.09829515, 0.03806881, 0.17829162, -0.0015822726, -0.08691946, 0.20231368, -0.19972196) * go_5(1.0, 0.0); result += mat4(0.029532772, 0.07929085, -0.11437378, 0.19494608, 0.032031387, -0.028734982, -0.1297608, 0.137159, -0.022271536, 0.09515793, -0.078155525, 0.23037949, -0.04492241, 0.0027398348, 0.13030772, -0.3092417) * go_5(1.0, 1.0); result += mat4(-0.20163082, 0.10821193, -0.008131394, 0.23895654, -0.088109724, 0.027591089, -0.06744196, -0.16356489, 0.14405222, -0.03198801, -0.035864875, -0.1109604, -0.20993288, 0.006086241, 0.17663592, -0.15123697) * go_6(-1.0, -1.0); result += mat4(0.15604545, 0.0863649, -0.17487015, -0.046291944, -0.06473543, -0.046659626, -0.06383705, 0.20159698, 0.14458497, 0.043557648, -0.16473973, 0.27218005, 0.11444152, -0.17841269, 0.0213813, -0.09379467) * go_6(-1.0, 0.0); result += mat4(-0.09508709, 0.062292904, -0.025705643, -0.046973627, 0.035843458, -0.020717923, 0.0016703135, -0.120141126, -0.07056921, 0.0071509765, 0.0033964573, 0.15667385, 0.001521539, 0.02383701, 0.11906247, 0.015913757) * go_6(-1.0, 1.0); result += mat4(-0.023991859, 0.057200454, -0.27439624, 0.23484877, 0.27387905, -0.027218517, -0.043888092, -0.103732556, -0.0017815046, -0.04338658, 0.028682018, -0.029997526, 0.09857438, -0.099476606, -0.2005576, 0.21962215) * go_6(0.0, -1.0); result += mat4(0.17833887, 0.036116857, -0.17426641, -0.3021426, -0.08815194, 0.09120692, -0.09277666, 0.31938124, -0.12322653, 0.07583539, 0.40784645, -0.2529727, 0.060947243, 0.29199588, -0.09663916, -0.0887749) * go_6(0.0, 0.0); result += mat4(0.12118307, 0.072123915, 0.032619722, -0.14627928, -0.17117277, -0.20412678, 0.10590516, -0.120998636, -0.09727269, 0.10894508, 0.08592984, -0.091238625, 0.19324283, -0.21001537, -0.28439295, 0.55045736) * go_6(0.0, 1.0); result += mat4(0.012281795, 0.081385076, 0.11878277, 0.0492705, 0.044748496, 0.023902494, 0.048969056, -0.020066973, 0.008425134, -0.039190397, -0.23549677, 0.16787378, -0.08247198, -0.09669504, 0.2364321, -0.15428442) * go_6(1.0, -1.0); result += mat4(-0.06404987, 0.0792038, 0.0879481, 0.2292919, -0.037722748, -0.06653894, 0.014114178, 0.06494269, -0.08017585, -0.03293329, 0.08816353, -0.1719619, -0.033170886, -0.13535172, -0.15126792, -0.028171781) * go_6(1.0, 0.0); result += mat4(-0.0939603, -0.04363446, 0.21171579, 0.08820829, -0.15083222, 0.03214101, 0.09666204, 0.07437523, 0.21149153, 0.08965673, -0.2026921, 0.45489082, -0.12321808, 0.020059932, 0.22567947, -0.1652867) * go_6(1.0, 1.0); result += mat4(0.058340825, -0.009565485, -0.04712614, -0.011693445, 0.109775394, 0.1345538, -0.14835285, -0.03637253, -0.045945812, 0.057066254, 0.0012826056, 0.17587218, -0.05606375, 0.039724518, 0.14448565, -0.06710324) * go_7(-1.0, -1.0); result += mat4(-0.03129011, -0.09362061, -0.1680952, 0.42509457, -0.05798844, 0.07895778, -0.00010777998, -0.004981966, 0.015770718, 0.039250076, -0.016780263, -0.018409397, 0.013635053, 0.046897493, 0.10643381, -0.19698535) * go_7(-1.0, 0.0); result += mat4(-0.17554706, -0.058096908, -0.11011958, 0.028699566, -0.09768116, 0.09436239, 0.096591026, -0.0271704, 0.083061986, 0.035011213, 0.018580453, -0.13121471, -0.008538906, 0.007896264, 0.16126987, -0.23193283) * go_7(-1.0, 1.0); result += mat4(-0.15810363, -0.13618536, 0.14263584, -0.20569824, -0.026839454, 0.11919806, -0.014142015, 0.099571005, -0.22521633, 0.08088796, 0.004038379, 0.1033703, 0.044606976, 0.0591929, 0.13262387, -0.101969674) * go_7(0.0, -1.0); result += mat4(0.023098622, 0.0056320266, -0.048355665, 0.15577006, -0.62205386, -0.028400926, -0.2078418, -0.21066222, -0.15307198, -0.22209099, -0.23168832, 0.20184901, -0.015974384, -0.047552537, -0.002478177, 0.042329706) * go_7(0.0, 0.0); result += mat4(-0.13832586, 0.121770665, 0.09548324, -0.011305353, 0.08170726, 0.038764317, 0.13168605, -0.4840011, -0.016078193, 0.042103536, -0.07127359, 0.07069598, -0.077047385, 0.062384266, 0.04216962, -0.28733572) * go_7(0.0, 1.0); result += mat4(0.0047042207, -0.005170153, -0.060513787, 0.24502122, 0.15005493, 0.19491407, -0.20482984, 0.028262774, -0.27250344, -0.018161086, -0.063804634, 0.2234186, -0.0013560655, 0.0017168024, 0.031621188, -0.039464153) * go_7(1.0, -1.0); result += mat4(-0.017963814, 0.020721428, -0.11342004, 0.13301808, 0.0057044607, 0.16854525, 0.0016813589, 0.263098, -0.19456023, -0.006512073, 0.27316168, 0.113714844, -0.05583268, 0.049267832, 0.1909614, -0.028266707) * go_7(1.0, 0.0); result += mat4(-0.09178215, -0.04123267, 0.019224923, -0.021475106, -0.03738984, 0.091329075, -0.11633343, 0.00926425, 0.055472236, -0.029774308, 0.10396517, -0.1399692, -0.08381618, 0.010906619, 0.13378097, -0.15872277) * go_7(1.0, 1.0); result += vec4(0.06153431, -0.030526869, 0.17697038, -0.06977153); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32 //!HOOK MAIN //!BIND conv2d_tf //!BIND conv2d_tf1 //!BIND conv2d_2_tf //!BIND conv2d_2_tf1 //!SAVE conv2d_3_tf1 //!WIDTH conv2d_tf.w //!HEIGHT conv2d_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.39232063, -0.31443354, 0.016747609, -0.19821034, -0.11440283, -0.108339086, 0.09855654, 0.09687135, -0.15667859, -0.30788472, -0.057983518, -0.30048364, -0.5892024, -0.03315241, 0.036535796, 0.042668976) * go_0(-1.0, -1.0); result += mat4(-0.12170337, -0.31539497, -0.0080226185, -0.28167912, -0.026236918, 0.26168135, -0.086754136, 0.07140889, -0.11411177, 0.15551405, -0.04641522, 0.046217185, 0.080186784, -0.0001861396, -0.5990683, -0.24228567) * go_0(-1.0, 0.0); result += mat4(0.0850365, -0.10327682, -0.1407833, 0.15661862, -0.1448079, -0.2993967, 0.08681482, 0.00483843, 0.18711449, 0.12147834, 0.114697695, -0.015375287, -0.39649305, -0.22024211, -0.08587565, -0.002201199) * go_0(-1.0, 1.0); result += mat4(0.30565795, -0.3130614, 0.15354335, -0.21783416, -0.3877839, 0.003429585, -0.21440028, -0.024295159, 0.35766846, 0.02559725, -0.120454274, -0.10827954, -0.3355037, 0.6561727, -0.065990135, 0.30999345) * go_0(0.0, -1.0); result += mat4(0.46554184, 0.43995824, 0.25583804, 0.20159459, 0.03730261, -0.15794723, 0.16795531, 0.11421282, 0.17099904, -0.22430302, 0.072461665, -0.06345064, 0.36006132, 0.47494593, -0.18869492, -0.04085313) * go_0(0.0, 0.0); result += mat4(0.27438906, 0.00022448118, 0.099661484, 0.1397181, 0.12914467, -0.102830835, 0.045909263, -0.07967794, 0.2870382, 0.055183165, -0.031485636, 0.029727582, 0.37630266, 0.9301813, 0.28615892, 0.122112595) * go_0(0.0, 1.0); result += mat4(-0.15251397, 0.09909433, -0.17192633, 0.0061163795, 0.06472459, -0.04261906, -0.13661696, -0.077453144, -0.7501463, 0.017666366, 0.16321932, 0.043644384, -0.05170323, 0.46000114, 0.32755983, 0.28597534) * go_0(1.0, -1.0); result += mat4(-0.48834783, -0.038160775, -0.08875091, 0.04970968, 0.4627543, 0.03755849, 0.2540123, -0.21826492, -0.38032553, 0.32484698, -0.008446612, 0.23523396, 0.02375393, 0.27418464, -0.28132874, 0.15265541) * go_0(1.0, 0.0); result += mat4(0.13747992, 0.11715287, 0.13201898, 0.0015658925, -0.2934619, -0.39777488, -0.07560646, -0.10565406, -0.04838937, 0.08350108, -0.019061742, 0.16467288, -0.05936286, -0.015435401, 0.4184143, 0.10496155) * go_0(1.0, 1.0); result += mat4(-0.3240166, 0.08215981, -0.2075559, 0.19689886, 0.11150226, 0.06310339, -0.13621064, -0.15570635, 0.33679137, 0.04409631, -0.28714085, 0.031056935, 0.6626613, -0.08051886, 0.1722458, -0.22435535) * go_1(-1.0, -1.0); result += mat4(0.24195263, -0.04580777, -0.4145571, -0.1574205, -0.042835433, 0.03784082, -0.026375433, 0.35892, 0.15977724, 0.0630263, -0.088371195, 0.02971135, 0.25729623, -0.15589325, 0.14479266, -0.05088765) * go_1(-1.0, 0.0); result += mat4(0.48559383, -0.25281984, 0.36621982, -0.21811092, -0.32971957, -0.035721473, 0.019352507, -0.06045977, 0.2761817, 0.19758923, 0.089941375, 0.041624714, -0.041388534, 0.16949178, 0.031209668, -0.064278066) * go_1(-1.0, 1.0); result += mat4(-0.32959136, 0.5905178, -0.121284775, 0.004792909, 0.23675677, -0.020328185, 0.13438764, 0.24885756, -0.17519131, 0.13370351, -0.1229379, 0.048159435, 0.17464967, -0.42540422, -0.13947602, 0.22700138) * go_1(0.0, -1.0); result += mat4(-0.33010545, 0.31171462, 0.405461, -0.19268602, -0.19920933, -0.05938957, 0.0026099307, -0.24588005, -0.80367726, 0.67246026, -0.2002546, 0.06855837, -0.21781918, 0.74446076, -0.5982218, 0.2985812) * go_1(0.0, 0.0); result += mat4(0.5674039, -0.4777194, -0.13907014, 0.12356176, -0.2920615, 0.0718882, 0.17865288, 0.20312083, -0.27032906, -0.34635755, 0.16373387, 0.03063499, -0.19903831, -0.19363025, 0.10843769, -0.26495013) * go_1(0.0, 1.0); result += mat4(-0.17949842, -0.29433724, -0.23462017, 0.09636558, 0.20076938, -0.24068621, -0.056744654, 0.10993452, 0.04466387, -0.2755299, -0.13640761, -0.024520185, -0.46797183, 0.367952, 0.11696459, 0.22428559) * go_1(1.0, -1.0); result += mat4(-0.011885658, 0.0891566, -0.037328225, 0.121865466, 0.048127756, 0.19165848, 0.031010484, -0.059921212, -0.21560976, -0.1529375, 0.12882216, 0.026642917, -0.11849831, 0.1641988, -0.06821976, 0.038913097) * go_1(1.0, 0.0); result += mat4(0.014311083, 0.0046286825, 0.03766498, 0.030933104, 0.3158337, 0.014788744, -0.25061515, 0.3439588, 0.3746984, 0.011211178, 0.06807453, -0.14517218, -0.08588519, -0.44777295, -0.14026845, -0.112901196) * go_1(1.0, 1.0); result += mat4(0.30676752, 0.22429968, 0.010868903, 0.19810227, 0.07854048, 0.0401537, -0.21871732, 0.024473034, 0.0754844, 0.21695364, 0.015986437, 0.32385147, -0.049408115, -0.0382484, -0.109464966, -0.17461152) * go_2(-1.0, -1.0); result += mat4(-0.08928476, 0.16673279, 0.04767194, 0.09194907, 0.048144393, 0.10040854, 0.34817588, 0.038137782, 0.036133062, -0.037641533, 0.28543243, -0.2839514, -0.11791945, -0.19487488, -0.11268661, 0.05276339) * go_2(-1.0, 0.0); result += mat4(-0.16383977, -0.31993598, 0.05208131, -0.0903597, 0.11033569, -0.0088908225, -0.054778915, -0.08319848, -0.06639396, -0.24900046, -0.2512979, -0.0019553688, -0.048192777, 0.03562768, 0.047395132, -0.05525853) * go_2(-1.0, 1.0); result += mat4(-0.7830732, -0.4262562, -0.2673563, 0.13023588, 0.31384844, 0.1693089, 0.048528794, 0.15604164, -0.39588538, -0.08493865, 0.3310555, 0.08203675, -0.066885136, -0.0058401288, -0.17974985, -0.16163951) * go_2(0.0, -1.0); result += mat4(-0.6983336, -0.59333223, -0.20371103, -0.3932194, 0.10534863, 0.04589214, -0.12699358, -0.15107739, -0.43941692, 0.13968801, -0.1860207, 0.25864246, -0.31358764, 0.02336987, -0.114363804, -0.2314969) * go_2(0.0, 0.0); result += mat4(-0.13214386, 0.2762571, -0.07932436, -0.011312506, -0.1585973, -0.01644935, 0.0013558406, 0.073481865, -0.38878354, -0.008272082, -0.010028009, -0.12177282, -0.19708647, -0.20147185, -0.009344351, -0.039000046) * go_2(0.0, 1.0); result += mat4(0.36948234, -0.027262207, 0.073340006, -0.11237642, -0.014205325, -0.033619095, 0.090520136, 0.044478547, 0.89536375, -0.25342697, 0.06966775, -0.25697634, 0.44092584, -0.02181121, -0.23286918, -0.16207126) * go_2(1.0, -1.0); result += mat4(0.5282722, 0.2186328, -0.06594115, -0.005403383, -0.9999943, 0.1652842, -0.40371686, 0.045263674, 0.48378405, 0.5981784, -0.8636207, 0.48454443, 0.61362064, 0.40381622, -0.20037466, -0.35095415) * go_2(1.0, 0.0); result += mat4(-0.15710682, -0.082183905, 0.025527366, -0.06832543, 0.45136708, 0.28492203, 0.21369967, -0.1544125, -0.21440476, 0.2747644, -0.07809032, -0.05409878, -0.09492401, -0.0042038485, -0.08335747, -0.1286338) * go_2(1.0, 1.0); result += mat4(0.092377424, -0.29580644, 0.037406705, -0.057557207, -0.068813734, 0.025797142, 0.005817593, 0.13936609, -0.5533757, -0.0055351052, 0.3490144, -0.10275609, -0.3246664, -0.22240998, -0.06546209, 0.04502687) * go_3(-1.0, -1.0); result += mat4(-0.040512305, -0.15789752, 0.3350875, 0.3248354, 0.11479105, 0.072781734, 0.11961662, 0.009017058, -0.7485467, -0.2354417, -0.18182847, -0.39436963, -0.21553181, 0.06693962, -0.10265758, -0.101919465) * go_3(-1.0, 0.0); result += mat4(-0.29808417, 0.16832493, -0.36638075, -0.003277357, 0.30853003, -0.11783712, -0.04467285, 0.09799486, -0.29557002, -0.051879432, -0.10781173, -0.012533523, 0.13472205, 0.0886817, -0.095418304, 0.20694672) * go_3(-1.0, 1.0); result += mat4(0.54963315, -0.51755005, -0.11815116, 0.44336796, -0.26965025, 0.063990854, -0.06830417, -0.22906917, 0.15537436, -0.12382655, 0.040594, 0.13573219, -0.32865304, -0.051071506, 0.07789849, -0.17451958) * go_3(0.0, -1.0); result += mat4(0.108385645, 0.19099213, -0.13721561, -0.10001342, 0.36975056, -0.15690732, -0.011564509, -0.4645765, 0.9664348, -0.4172701, -0.12434381, -0.20082358, 0.025960991, -0.07957984, 0.06240927, 0.06882944) * go_3(0.0, 0.0); result += mat4(-0.55891496, 0.5313842, -0.0052928664, -0.31153533, 0.27312106, 0.11299291, -0.20902458, -0.22780886, 0.18460937, 0.20829925, -0.22429292, 0.11375158, -0.24776565, 0.013294957, 0.108396605, 0.18705682) * go_3(0.0, 1.0); result += mat4(0.17449534, -0.014089195, -0.005522746, -0.26652694, -0.3059182, -0.077219255, 0.13172182, 0.22815189, 0.29824528, -0.0018969525, -0.049221557, -0.02434726, 0.28403616, -0.30762187, -0.18281007, -0.069536164) * go_3(1.0, -1.0); result += mat4(0.11734828, -0.099142194, -0.1678673, 0.113515854, -0.16090973, -0.018343726, 0.09375435, -0.11457814, 0.29799998, 0.14911132, -0.030187404, -0.0033569376, 0.51210696, 0.20057757, 0.018672027, -0.00072862353) * go_3(1.0, 0.0); result += mat4(-0.4207862, 0.23023506, -0.045380734, 0.35523587, -0.31482896, 0.0016041965, 0.031437084, -0.11878056, -0.09631354, -0.44702205, 0.07262705, -0.019627657, 0.27565527, 0.30019623, -0.2416735, 0.13827145) * go_3(1.0, 1.0); result += mat4(-0.21828848, -0.05362182, 0.092769556, 0.058445822, -0.015375804, 0.032911193, -0.016062194, 0.0023879025, -0.07955863, -0.18912281, 0.100602634, 0.18384646, 0.09833795, 0.13066116, 0.08606998, 0.060196545) * go_4(-1.0, -1.0); result += mat4(-0.30196983, -0.13994773, -0.04102513, -0.021608166, 0.15173563, -0.0014104879, 0.013970848, 0.069105186, -0.046455324, -0.55526954, 0.39444688, 0.0815259, 0.10904215, 0.21681397, 0.06073383, 0.10265119) * go_4(-1.0, 0.0); result += mat4(-0.11820481, -0.05975609, -0.13999549, 0.030522387, -0.013776436, -0.14367265, 0.009655233, -0.020354088, -0.117309436, -0.21025649, -0.0852297, 0.0050804066, 0.07790261, -0.07352538, -0.016056273, 0.030884959) * go_4(-1.0, 1.0); result += mat4(-0.01982244, -0.14982677, 0.08542808, 0.114587806, -0.093505375, 0.009862345, -0.17831016, 0.15021613, 0.017223043, -0.05448468, 0.19507179, 0.005433668, -0.28699195, -0.0943735, 0.005008677, -0.084489435) * go_4(0.0, -1.0); result += mat4(0.17592743, 0.16011396, -0.4458925, 0.03776147, -0.22227006, -0.1765121, -0.023907507, -0.12340803, 0.69395095, -0.42174822, 0.2619632, -0.08317782, 0.06564856, -0.07574905, 0.19617046, -0.15101147) * go_4(0.0, 0.0); result += mat4(-0.0031664995, 0.0048539517, -0.029761892, -0.024908772, 0.038988, 0.083212, 0.022871153, 0.049879767, 0.5655658, -0.39324993, -0.41707525, -0.00069710996, -0.088931695, 0.5349101, -0.03700674, 0.19864099) * go_4(0.0, 1.0); result += mat4(-0.09978203, -0.12430744, -0.005363638, -0.078683436, 0.16000083, 0.09070007, -0.08223272, 0.10610758, -0.09339724, -0.25193405, 0.060660124, 0.022009233, 0.028552014, -0.30671445, 0.04395066, -0.022646846) * go_4(1.0, -1.0); result += mat4(-0.0025377637, -0.10979372, 0.0953052, -0.041535445, 0.028650977, -0.18192725, -0.13626699, -0.04126641, 0.41577348, 0.070594355, 0.17786773, -0.0019128436, 0.21811736, -0.3097873, -0.1697477, -0.05985297) * go_4(1.0, 0.0); result += mat4(0.0029388457, -0.08754279, -0.057417464, -0.045205314, 0.14254501, -0.14048617, -0.029115621, 0.017037913, 0.23511319, 0.58405197, -0.045535047, -0.093041405, 0.24495944, 0.048594877, 0.16573521, -0.016364215) * go_4(1.0, 1.0); result += mat4(0.0061783222, 0.03700483, 0.03310341, 0.03506661, 0.18640573, 0.060847793, -0.03938158, 0.002558664, 0.0066146054, -0.03961683, 0.11786358, -0.018774983, -0.023232952, -0.018498667, -0.02113431, -0.03875601) * go_5(-1.0, -1.0); result += mat4(-0.07762769, 0.3220323, 0.0019882289, 0.11455374, 0.12809245, 0.054234043, -0.032796185, -0.004923056, 0.03533371, 0.23241599, -0.047939382, -0.005454499, 0.018655885, -0.06090632, -0.074992895, -0.022785714) * go_5(-1.0, 0.0); result += mat4(-0.024499241, -0.0656105, 0.033745233, -0.06109949, 0.02657246, 0.099547654, 0.048236806, -0.08930123, -0.028375195, 0.21267472, 0.04065708, -0.029539475, -0.0034377375, -0.076174065, -0.08033416, 0.014191793) * go_5(-1.0, 1.0); result += mat4(0.09567274, 0.17149109, 0.057815317, -0.02354373, -0.053182393, 0.07036649, 0.11426706, 0.0073960987, -0.042224813, -0.03242704, 0.028637128, -0.018156664, 0.027350018, -0.059693146, -0.025782553, -0.059870392) * go_5(0.0, -1.0); result += mat4(-0.29396304, -0.14174098, 0.044468317, 0.048983667, -0.09083888, 0.14550914, -0.17293338, -0.019666478, -0.27275094, -0.026832746, -0.16039373, 0.05072858, 0.13158675, -0.0014240668, -0.19267258, 0.028367419) * go_5(0.0, 0.0); result += mat4(-0.14670749, -0.20505863, -0.25351146, -0.18028821, -0.09074548, 0.12591866, -0.11648123, 0.08052676, -0.1030718, 0.055071495, -0.027647234, 0.036372066, 0.042164043, -0.24193078, -0.018126357, -0.08488727) * go_5(0.0, 1.0); result += mat4(-0.002951344, -0.07835709, 0.0412822, 0.024059866, -0.17239328, -0.045480777, 0.031516057, -0.02321261, 0.16131492, -0.108720064, -0.13902234, 0.009038252, 0.019813707, -0.13780454, -0.08646045, -0.03967984) * go_5(1.0, -1.0); result += mat4(0.087156996, -0.43204084, 0.08196673, 0.09000798, 0.11798731, -0.2800244, 0.013827372, 0.006278623, -0.027538646, -0.47985002, -0.07989979, 0.0101940865, 0.11476763, -0.08189494, -0.107904315, 0.0034190493) * go_5(1.0, 0.0); result += mat4(0.10922693, -0.13929938, -0.14316928, -0.06415228, 0.10821941, -0.09326445, -0.10437615, -0.019490898, 0.02572968, -0.23569673, -0.18372843, 0.018998442, 0.019020457, -0.078145295, -0.12052183, -0.02904386) * go_5(1.0, 1.0); result += mat4(0.047391865, -0.14862657, 0.10497325, -0.0060389596, 0.04090357, 0.07597069, -0.16701244, -0.045025267, 0.05439692, -0.0046527646, 0.10107427, -0.017686805, -0.09081038, 0.0033508723, -0.07428749, 0.083581686) * go_6(-1.0, -1.0); result += mat4(0.24039297, 0.10254748, -0.08497433, 0.06220285, -0.21642606, 0.06099548, 0.05618001, 0.027991194, 0.11916666, 0.001376908, -0.04484436, -0.063753836, -0.080493644, -0.12548241, 0.22396187, -0.060979564) * go_6(-1.0, 0.0); result += mat4(0.09228674, -0.10189853, -0.019978495, 0.055631284, -0.056667626, 0.042379495, -0.11306628, 0.015792474, -0.024159636, 0.17669754, -0.0015470447, 0.030659685, 0.049270805, 0.01379507, -0.07484134, 0.03997324) * go_6(-1.0, 1.0); result += mat4(-0.08015897, -0.1573799, -0.0068566655, 0.024327071, -0.00024650464, -0.11511224, 0.10626316, -0.09424342, 0.035164617, -0.0071606585, 0.023877172, -0.0032834266, 0.03981932, 0.00094573526, 0.07893367, 0.058131382) * go_6(0.0, -1.0); result += mat4(-0.09480482, -0.13352568, 0.11975561, 0.04046284, 0.017295167, 0.14661242, 0.034784466, 0.16060774, 0.12513426, 0.11618688, -0.19043984, -0.006898629, 0.33333287, 0.02068534, -0.144777, 0.054585308) * go_6(0.0, 0.0); result += mat4(-0.040517613, 0.13882688, -0.10775904, -0.01107748, -0.22891715, 0.023514308, -0.07362997, 0.050480675, -0.15309371, 0.22601646, 0.050979435, 0.0078024655, 0.09704638, -0.113768086, 0.159759, -0.19680989) * go_6(0.0, 1.0); result += mat4(-0.038060542, 0.060299598, -0.06167331, 0.070311025, -0.056030717, -0.10937594, -0.094534926, -0.05876128, 0.04186674, 0.05846574, 0.046057925, 0.050594475, -0.15031303, 0.033675846, 0.14669393, -0.020838607) * go_6(1.0, -1.0); result += mat4(0.006198633, 0.008096492, -0.061412863, -0.038600348, 0.13099104, -0.024788823, 0.143207, 0.08146842, -0.09880114, 0.020192526, 0.093205445, -0.006562488, -0.10218187, 0.34932604, 0.017245278, 0.022239687) * go_6(1.0, 0.0); result += mat4(0.019581253, -0.071536854, -0.079313144, 0.0039378665, 0.04372604, 0.0350227, -0.13975748, 0.02514243, 0.1482172, -0.1795845, 0.016553031, -0.114758186, -0.13846005, 0.028443053, -0.0028277517, 0.073823154) * go_6(1.0, 1.0); result += mat4(0.019089226, -0.002865448, 0.114264086, -0.14795631, 0.052681867, 0.06782111, 0.005056374, 0.03333905, -0.045924906, 0.1271522, -0.022228748, 0.09460952, 0.0257857, -0.0404471, -0.100172006, -0.009518522) * go_7(-1.0, -1.0); result += mat4(-0.0919395, 0.024952088, 0.02894272, -0.02876963, -0.17500453, 0.22578874, -0.05303085, -0.0015600728, -0.0076474883, -0.0018742654, 0.044667635, -0.029744165, -0.00179505, -0.012467833, -0.12192312, 0.034183223) * go_7(-1.0, 0.0); result += mat4(-0.11467171, 0.036459688, -0.12508968, 0.062637016, 0.05442847, 0.023415027, -0.058653936, 0.27762222, 0.0033886922, -0.056405902, -0.1611357, -0.042607184, -0.029176304, -0.033276357, -0.060190573, 0.006230224) * go_7(-1.0, 1.0); result += mat4(-0.10476976, 0.20189178, 0.013450291, 0.017824117, -0.07174306, -0.16174208, -0.0790696, -0.13154395, -0.119226985, 0.03126223, 0.08976427, -0.0017329347, 0.03171847, -0.062868886, 0.04638837, -0.03491934) * go_7(0.0, -1.0); result += mat4(0.059950083, 0.10400816, -0.046370424, -0.012014035, -0.43914387, -0.18396273, -0.060568314, 0.010451131, -0.43835276, 0.026284682, 0.1604382, -0.10625134, 0.044843365, 0.10809218, 0.06464759, -0.046850365) * go_7(0.0, 0.0); result += mat4(-0.06787761, -0.042850304, -0.15407841, 0.058458067, -0.17467526, 0.096576124, 0.21345392, 0.09298287, -0.01394914, -0.13355762, -0.13184176, 0.0003088022, 0.046734177, 0.028196447, -0.13506489, 0.0067693642) * go_7(0.0, 1.0); result += mat4(0.053602345, -0.08111152, -0.017126815, -0.028242027, 0.092225246, 0.076781385, -0.089152336, 0.0012632497, -0.09276537, -0.24698547, 0.04423726, -0.06601727, 0.01814881, -0.13947123, -0.032667328, -0.019452555) * go_7(1.0, -1.0); result += mat4(-0.0888714, -0.14888728, -0.03935948, -0.020991955, -0.07616056, -0.04555924, -0.09465727, -0.13786288, -0.305734, -0.3085076, 0.03795676, -0.021256099, -0.012537832, -0.23650081, -0.07035176, -0.028411875) * go_7(1.0, 0.0); result += mat4(-0.0868341, -0.14694329, 0.08679206, -0.014810077, 0.022454316, -0.094533004, -0.17521082, -0.0076950863, -0.077531025, 0.11369054, -0.131653, -0.014213835, -0.08936547, -0.123560406, -0.031929504, 0.017496165) * go_7(1.0, 1.0); result += vec4(0.05049932, 0.08230575, 0.58376503, 0.86909854); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32 //!HOOK MAIN //!BIND conv2d_tf //!BIND conv2d_tf1 //!BIND conv2d_2_tf //!BIND conv2d_2_tf1 //!SAVE conv2d_3_tf2 //!WIDTH conv2d_tf.w //!HEIGHT conv2d_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.14979692, -0.19874124, 0.7368574, -0.75289476, -0.07442179, -0.057006773, 0.052752588, 0.07042955, 0.023808982, -0.15449218, -0.214054, 0.4198038, -0.031717926, 0.42492926, -0.365123, -0.5385816) * go_0(-1.0, -1.0); result += mat4(-0.20962773, -0.023108777, 0.058071185, 0.16705127, -0.13245003, 0.035289574, -0.2708952, -0.09654876, -0.031879663, -0.04658145, 0.34683147, 0.16727158, 0.0348443, 0.3031345, -0.3261166, -0.118750244) * go_0(-1.0, 0.0); result += mat4(-0.21795142, -0.11076161, -0.05562235, -0.019234827, -0.013561418, -0.097614266, 0.017759917, -0.016897203, -0.35361412, 0.057772327, -0.06672376, 0.022556266, 0.10166518, -0.20721449, -0.33036092, 0.031573854) * go_0(-1.0, 1.0); result += mat4(0.33822674, -0.014097686, 0.040684048, -0.18630835, -0.14371929, -0.044715706, 0.15923496, -0.001135727, 0.09309857, 0.043319203, 0.008005289, -0.06445179, 0.04558112, -0.3218687, -0.23799446, -0.05683568) * go_0(0.0, -1.0); result += mat4(0.30100045, -0.16198196, -0.40970346, -0.08049791, -0.3257815, 0.32816964, -0.1036189, -0.01658084, 0.3158466, -0.099933214, 0.17709035, 0.015306898, 0.109196454, -0.8539901, -0.39478862, 0.44471648) * go_0(0.0, 0.0); result += mat4(-0.25177294, 0.38001952, -0.10283977, 0.16721214, 0.47318378, -0.051106233, -0.1658626, 0.0006494121, 0.0790059, -0.2052262, 0.09690421, -0.24400221, 0.386201, 0.12295305, 0.008400798, 0.1569414) * go_0(0.0, 1.0); result += mat4(0.13002181, -0.062052924, -0.105005205, -0.1063579, -0.2948124, -0.084252134, -0.1092418, 0.18163803, 0.087108664, -0.24015805, 0.0813893, -0.15364105, 0.4476238, -0.19498287, 0.058062855, -0.13685432) * go_0(1.0, -1.0); result += mat4(0.080557905, 0.10061249, -0.019393712, 0.2723204, 0.37991402, -0.30517173, 0.15205608, -0.17223756, -0.1711708, 0.22243942, -0.51695263, 0.06089266, 0.2784161, -0.039997682, -0.27718592, 0.18410686) * go_0(1.0, 0.0); result += mat4(0.04679752, -0.10547882, 0.065308206, -0.05089279, -0.03807331, 0.39167935, -0.033223882, -0.029149204, -0.11922506, 0.14605616, -0.026710276, 0.043473598, -0.14226817, -0.33978114, -0.13193306, -0.064798094) * go_0(1.0, 1.0); result += mat4(0.16664545, 0.054396506, 0.5975169, -0.1282768, 0.033200808, 0.07221164, -0.26142395, -0.18964534, -0.13124959, -0.18198496, -0.6014699, 0.05141559, 0.5430321, 0.1740554, -0.34170282, 0.26922655) * go_1(-1.0, -1.0); result += mat4(-0.3690329, -0.41274253, -0.17788443, -0.38740525, -0.31772953, 0.065274484, -0.10197657, -0.009203365, 0.014726659, -0.4838253, 0.6801823, 0.048202187, -0.004891756, 0.45931026, -0.42521614, 0.54947734) * go_1(-1.0, 0.0); result += mat4(-0.022050077, 0.07676187, -0.2678602, 0.12050436, 0.2968012, 0.134127, 0.013001306, -0.022339938, 0.072250396, 0.16998878, 0.13204311, 0.1460555, -0.2108701, 0.085233, -0.33153787, -0.3943539) * go_1(-1.0, 1.0); result += mat4(0.020494493, -0.13280667, 0.120742574, 0.18085496, -0.3993116, 0.27331954, -0.16451527, -0.12265906, -0.609543, 0.5610297, -0.51908624, -0.12770663, -0.06081323, -0.03547236, -0.3134851, 0.120467834) * go_1(0.0, -1.0); result += mat4(0.694917, -0.056899358, 0.5973495, -0.36394402, 0.11194564, -0.014088698, 0.3335045, -0.30163172, 0.410675, -0.18881899, 0.6248168, 0.11293253, 0.007631114, 0.25432107, 0.13347992, 0.12681353) * go_1(0.0, 0.0); result += mat4(-0.10188845, -0.25959828, -0.3245341, 0.27263215, -0.023503877, -0.072242714, 0.13622598, 0.21790865, -0.3163553, -0.013236621, -0.13055128, -0.20804474, -0.009641516, 0.20730485, 0.040377166, 0.13722788) * go_1(0.0, 1.0); result += mat4(-0.4001694, 0.20498846, -0.04771135, -0.2705733, 0.097105324, 0.08779578, 0.018639572, 0.18933, -0.06865882, -0.24691378, -0.27062201, -0.028328577, -0.0036236667, -0.19430988, 0.022964898, 0.08762482) * go_1(1.0, -1.0); result += mat4(-0.26447344, 0.597568, -0.75024736, 0.29766613, -0.040174056, 0.0043453, -0.034185186, -0.09291407, 0.14045602, 0.19046465, -0.013113876, -0.20518276, 0.1951194, -0.317452, 0.38230306, 0.16865042) * go_1(1.0, 0.0); result += mat4(0.059703857, -0.38956463, 0.1103034, -0.0053544333, 0.067712605, -0.25418857, 0.18657285, 0.14283091, -0.3343347, 0.13270105, -0.22770841, 0.053509742, -0.21625842, -0.3108662, 0.7752985, 0.031922966) * go_1(1.0, 1.0); result += mat4(0.27932245, -0.031156274, -0.8561641, 0.6776702, 0.011417689, -0.00027964372, -0.18250081, -0.0037116525, -0.099202864, 0.06313943, -0.042443503, -0.5106033, -0.08595155, -0.052907, -0.1087237, 0.5441453) * go_2(-1.0, -1.0); result += mat4(0.16762924, -0.009944587, -0.2679235, -0.2021139, 0.21079461, -0.11809957, 0.3809502, 0.08643512, -0.058171842, 0.20088726, -0.062347364, -0.12985747, 0.16284388, -0.16306452, 0.09982884, 0.14088723) * go_2(-1.0, 0.0); result += mat4(-0.0714393, 0.082623124, 0.10457793, 0.06049393, -0.21751815, 0.15272824, -0.05817135, -0.033302475, 0.040557053, -0.23516949, -0.0038103394, 0.012663176, 0.028543636, 0.006461524, 0.04151789, 0.025360702) * go_2(-1.0, 1.0); result += mat4(-0.3958464, -0.49928874, -0.18322971, 0.1660756, 0.02241122, -0.15481286, -0.08289814, 0.1838922, -0.30311695, 0.033998005, 0.046327453, 0.046667594, -0.19373152, 0.054595128, -0.1810291, 0.026330587) * go_2(0.0, -1.0); result += mat4(-0.17988408, -0.06920031, 0.45933202, 0.13610782, 0.3321532, -0.35902196, -0.01072334, 0.130472, -0.17946465, 0.024062874, 0.028480636, -0.02477549, 0.030871931, -0.06926073, 0.21192017, -0.3275599) * go_2(0.0, 0.0); result += mat4(0.2777268, 0.039282586, 0.18316416, -0.09472171, -0.12926842, 0.21093419, 0.26748186, -0.034381114, 0.37504667, 0.101034865, -0.005076637, 0.3046354, 0.19506508, 0.07113483, 0.11567689, 0.015364835) * go_2(0.0, 1.0); result += mat4(0.0024751208, -0.09917078, 0.28514004, 0.13154282, 0.025117317, 0.107632674, -0.14624198, -0.13388367, -0.038752496, 0.06344873, -0.17392725, 0.44770598, 0.06466959, 0.18955265, -0.07118261, 0.13022475) * go_2(1.0, -1.0); result += mat4(0.061531715, 0.040746104, 0.17598623, -0.15300408, -0.16540745, -0.22774096, -0.092872284, 0.22756997, 0.49107695, -0.6291782, 0.18959439, 0.051523212, -0.022658838, -0.23492336, 0.22632147, -0.0963997) * go_2(1.0, 0.0); result += mat4(-0.049996454, 0.20427251, -0.13305162, 0.11485584, -0.049903087, -0.27760607, 0.10333013, -0.102610506, 0.5495312, -0.31861833, 0.002093027, -0.07540532, 0.020750895, 0.11532434, -0.302924, 0.038216017) * go_2(1.0, 1.0); result += mat4(-0.0742038, 0.14481308, -0.52984416, 0.1047764, 0.056594335, -0.30959937, 0.28613302, 0.34666842, -0.39666295, 0.26017725, 0.35440627, -0.34158382, -0.37820384, -0.17103404, 0.50328887, -0.22849783) * go_3(-1.0, -1.0); result += mat4(0.3429522, -0.15276, 0.2209812, 0.45239314, 0.23704866, -0.005374581, 0.16275096, 0.024596661, -0.82699585, 0.6892652, -0.5133988, -0.37860793, -0.24554388, -0.36862546, 0.53238416, -0.15033963) * go_3(-1.0, 0.0); result += mat4(-0.18241908, -0.097688325, 0.19900274, -0.049691215, -0.0707727, 0.01220912, -0.13254303, 0.06655784, -0.112321585, -0.6344655, -0.14198428, -0.25697416, 0.30084953, -0.06746383, 0.061665535, 0.48863387) * go_3(-1.0, 1.0); result += mat4(0.037913926, -0.03827507, 0.154614, -0.40610346, 0.3045199, 0.008148914, 0.16061406, -0.18722008, 0.23903824, -0.41043565, 0.13431714, 0.005762402, -0.11140545, 0.09172593, 0.36103448, -0.21254368) * go_3(0.0, -1.0); result += mat4(-0.81520826, -0.18719831, -0.7951369, 0.30222818, 0.022721667, -0.24935177, -0.28099492, 0.46440077, -0.22375317, 0.21440145, -0.82245845, -0.08865358, -0.034643255, -0.14605747, -0.20446338, 0.017269822) * go_3(0.0, 0.0); result += mat4(-0.027954992, 0.44265705, 0.14893635, -0.22994424, -0.4062441, 0.037667353, -0.20461299, -0.2084607, 0.045539107, 0.019446995, -0.26775262, 0.20553084, 0.53191364, -0.34656656, 0.101131186, -0.18529478) * go_3(0.0, 1.0); result += mat4(0.22462271, -0.6351009, -0.30356836, 0.4656144, 0.021343032, 0.12060711, -0.118174694, -0.102915525, -0.03897218, 0.38728097, 0.0065090284, -0.014050115, -0.11878573, 0.043891054, -0.2201844, -0.008109699) * go_3(1.0, -1.0); result += mat4(0.3475876, -0.5480176, 0.32965973, -0.3013803, -0.12759317, -0.2552925, 0.040291607, 0.058848295, 0.090461515, -0.0100614, 0.26301694, 0.19180556, -0.19759412, 0.22332898, -0.66193426, 0.029582586) * go_3(1.0, 0.0); result += mat4(-0.15084246, 0.2588267, -0.12036018, -0.100685254, -0.09681174, 0.10745359, -0.055402648, -0.17146726, 0.16907287, -0.2920604, 0.1719566, -0.062248997, 0.16846664, -0.04184749, -0.67145276, -0.14377783) * go_3(1.0, 1.0); result += mat4(-0.29134026, 0.14061885, 0.019386701, -0.23595293, 0.15995972, 0.11001859, 0.09999047, 0.24208768, -0.20627365, -0.5980567, -0.10900429, 0.15628706, -0.035789836, 0.11344383, 0.22269405, 0.1167161) * go_4(-1.0, -1.0); result += mat4(0.2086919, 0.32100046, -0.074735984, 0.028284928, 0.05750321, -0.066351704, -0.12921254, 0.02867359, 0.61451894, -0.64832085, 0.01923096, 0.107076205, -0.080694854, 0.017926944, 0.115145884, 0.023048883) * go_4(-1.0, 0.0); result += mat4(0.044795334, -0.14508736, 0.009281871, -0.047577426, -0.04061876, -0.10779222, -0.0934905, 0.07574239, 0.06306946, -0.18841065, -0.06520789, -0.1511161, 0.056024194, -0.23865043, 0.0027067165, -0.023214353) * go_4(-1.0, 1.0); result += mat4(-0.16991557, 0.017060002, -0.29013085, 0.19565602, -0.058718584, 0.07541131, -0.19660297, 0.030717509, 0.13866037, 0.1607997, 0.33416504, -0.10889656, -0.16938633, -0.30223483, -0.116302475, -0.067932114) * go_4(0.0, -1.0); result += mat4(0.013324888, 0.043513425, -0.13977613, 0.049115334, 0.27864334, -0.14303638, -0.08351705, -0.034961347, 0.54420704, -0.114335835, 0.70558935, -0.17958923, 0.2993206, 0.15411529, 0.1525758, 0.02863741) * go_4(0.0, 0.0); result += mat4(-0.037015285, -0.2017719, -0.011478376, -0.018624172, 0.1424438, -0.21703872, 0.04142035, 0.08435333, 0.016879117, -0.13277175, 0.5071568, -0.00452118, -0.075084746, 0.02599955, 0.03993921, -0.0077187354) * go_4(0.0, 1.0); result += mat4(-0.08865702, -0.036773548, 0.09770667, -0.059214808, 0.092925295, 0.024745809, 0.18103407, 0.010096519, 0.12563165, 0.21068119, 0.39060932, 0.052776936, -0.007520789, 0.073785275, 0.15345341, -0.040818583) * go_4(1.0, -1.0); result += mat4(-0.01307178, -0.2883416, 0.06089409, -0.025703222, -0.0153167285, -0.13499002, 0.19134292, 0.017535282, 0.4228713, 0.42407927, 0.49823955, -0.014714462, 0.07038049, -0.16592962, 0.20797624, -0.067286916) * go_4(1.0, 0.0); result += mat4(-0.10721055, 0.12606484, 0.058121577, -0.0076352274, 0.20147532, 0.023864318, 0.035990067, 0.019970879, -0.09824868, 0.21742553, 0.23160207, -0.01923935, -0.051066495, 0.07820049, 0.25739282, 0.01963692) * go_4(1.0, 1.0); result += mat4(-0.11948619, 0.2351847, -0.043393455, 0.030519446, 0.4539114, 0.1742429, -0.0774874, -0.080372855, 0.08532228, 0.2565506, -0.047552552, 0.06568883, -0.0336801, 0.014859413, -0.01480705, 0.000907035) * go_5(-1.0, -1.0); result += mat4(0.13286628, 0.18621215, -0.023270091, 0.0070656347, -0.15205616, 0.1755209, 0.058746208, -0.11478106, 0.028688533, 0.018236568, -0.029914241, -0.01234524, 0.027454674, -0.08994973, -0.023616008, 0.10552348) * go_5(-1.0, 0.0); result += mat4(-0.061776865, 0.37519607, -0.0055178492, 0.0034296983, 0.18715686, 0.5121114, 0.097835, 0.03487622, 0.0467928, 0.054646105, -0.005521889, 0.005822461, -0.043956164, 0.03566145, -0.074804395, -0.0035681466) * go_5(-1.0, 1.0); result += mat4(0.030094853, -0.19132867, -0.12022806, 0.008678997, 0.14250284, -0.39671174, -0.02558346, 0.049037408, 0.030368956, 0.032775097, -0.0700175, -0.043425113, -0.011832092, 0.1385766, 0.049986932, 0.048339713) * go_5(0.0, -1.0); result += mat4(-0.04173207, -0.32059047, -0.3176571, -0.059780464, -0.149838, -0.09253593, 0.017474804, -0.02850501, -0.002491147, -0.4902331, -0.41391358, -0.019036679, 0.12910078, 0.011391104, 0.15281096, 0.035302237) * go_5(0.0, 0.0); result += mat4(-0.051985674, -0.28821957, 0.041421372, -0.026321337, -0.11232292, -0.0076721082, -0.017660424, -0.053183485, 0.011399399, -0.21104087, -0.08247351, 0.012001115, 0.13353747, -0.018404294, -0.013070655, 0.021725055) * go_5(0.0, 1.0); result += mat4(-0.10819058, 0.01522892, -0.11809611, -0.005361581, 0.016413989, -0.17791939, -0.07641427, -0.0075271325, -0.04744145, 0.14214009, 0.06238958, 0.030852603, -0.045064628, -0.10203394, 0.022396715, -0.0067329407) * go_5(1.0, -1.0); result += mat4(-0.19808967, -0.104994975, 0.015773673, -0.022771256, 0.026054395, -0.052030962, 0.00745939, 0.04304712, -0.10831072, -0.16059683, -0.04864209, 0.037260182, 0.041406773, -0.11586577, 0.043287378, 0.027181271) * go_5(1.0, 0.0); result += mat4(-0.1844484, 0.08464415, 0.10791806, 0.013830704, 0.03208257, 0.26110005, -0.03262007, 0.091473244, 0.13977927, 0.032529682, -0.021369038, 0.053745314, 8.765892e-05, 0.010181694, -0.046350393, -0.0064968574) * go_5(1.0, 1.0); result += mat4(0.16242024, 0.0029229107, -0.03808197, 0.11881662, -0.008760509, -0.09074291, -0.15157613, -0.19312446, 0.098781265, -0.06404453, 0.17561193, -0.011888404, 0.012034257, -0.095228486, -0.17663169, -0.14239185) * go_6(-1.0, -1.0); result += mat4(0.10714533, -0.091631204, 0.10210571, -0.024006354, -0.20195729, -0.028262442, 0.0057075145, 0.08570983, -0.1349579, 0.16353582, 0.06258812, -0.055206373, 0.027616054, 0.16366649, 0.15170477, 0.100432895) * go_6(-1.0, 0.0); result += mat4(-0.005640863, 0.01953208, -0.05362749, 0.03737554, 0.10574648, 0.04949733, 0.011875781, -0.027762452, 0.11309614, -0.037482325, -0.037490267, 0.05672542, -0.03851815, -0.040241454, -0.014456474, -0.015964273) * go_6(-1.0, 1.0); result += mat4(-0.05119488, -0.05249867, 0.08751497, -0.15210281, 0.06936269, 0.060947813, 0.15130071, 0.0061567873, 0.089312874, -0.08143958, 0.006515938, -0.062999725, 0.14026858, 0.14795284, 0.28729984, 0.078133605) * go_6(0.0, -1.0); result += mat4(-0.009654871, -0.21643133, 0.06265242, 0.01572518, -0.1400239, 0.08764587, -0.013960639, 0.11240323, -0.06609911, 0.17936565, -0.099240325, 0.03606391, -0.08663271, 0.21256153, 0.076862626, -0.06660453) * go_6(0.0, 0.0); result += mat4(-0.0032671946, 0.0434528, 0.12943126, 0.032995254, -0.026195439, 0.22761142, -0.08781017, -0.027369386, -0.23265982, -0.16121218, -0.05160874, -0.01102774, 0.18765874, 0.10036096, 0.13562876, -0.115016125) * go_6(0.0, 1.0); result += mat4(-0.014280088, -0.036902506, -0.06825763, 0.081764676, 0.030115271, -0.023108382, 0.06727549, 0.00067218125, 0.017059056, -0.03265097, 0.15135893, -0.039459277, -0.04266232, 0.1111974, -0.020078076, 0.006387551) * go_6(1.0, -1.0); result += mat4(-0.04688186, -0.09174231, -0.05381622, 0.024881862, 0.036378797, 0.12511472, -0.12020627, 0.011695685, -0.033788696, -0.048612628, -0.096676245, -0.09272234, -0.0752053, 0.17060183, -0.056995165, 0.0037499536) * go_6(1.0, 0.0); result += mat4(0.06944483, -0.0036858325, -0.014824583, 0.022016088, -0.13040295, -0.17123172, 0.042282093, 0.025151532, 0.09733767, 0.02184708, 0.12792501, 0.008477331, -0.033732317, -0.09257224, -0.087834194, -0.04676004) * go_6(1.0, 1.0); result += mat4(-0.06177712, 0.09466163, 0.041752685, 0.0796498, -0.08357602, -0.21963142, -0.05910052, 0.1355151, -0.020803489, -0.026252296, -0.07097114, 0.09607317, 0.078275844, 0.04250756, -0.047696978, -0.066009335) * go_7(-1.0, -1.0); result += mat4(-0.32883903, -0.18983904, -0.011129119, -0.061288845, 0.20026195, 0.008631433, -0.06246731, -0.013857852, 0.005461851, 0.19473334, -0.018032562, -0.004270683, -0.03182703, -0.041694432, 0.046114028, -0.08224892) * go_7(-1.0, 0.0); result += mat4(-0.18344544, -0.22068006, -3.779529e-05, -0.042374518, -0.010999355, -0.1526405, -0.08975188, -0.07842255, 0.0702596, 0.0027714027, 0.03802376, -0.015517716, 0.009005106, 0.06702078, 0.048812397, -0.018014267) * go_7(-1.0, 1.0); result += mat4(-0.16322157, -0.12375638, -0.14597934, -0.10065044, -0.0034380173, 0.0688033, -0.13725469, 0.1336164, -0.028104529, -0.096491896, -0.29770237, 0.010468916, 0.003322942, -0.012829131, 0.055854827, -0.03990536) * go_7(0.0, -1.0); result += mat4(-0.13249227, 0.078412525, 0.001221111, 0.039858975, 0.15937175, -0.02095173, -0.22108203, 0.09235874, -0.22747709, 0.2172244, -0.08376862, -0.047431935, -0.093568005, 0.06131771, -0.015086977, -0.056581) * go_7(0.0, 0.0); result += mat4(-0.19138841, 0.08926175, -0.093786284, 0.057811834, -0.14395343, 0.064682476, -0.008969366, 0.0674351, 0.17032358, 0.12163412, 0.05056086, 0.058084372, -0.13832766, -0.11045532, -0.042922694, -0.030604472) * go_7(0.0, 1.0); result += mat4(0.055630907, 0.16944349, -0.13912451, 0.033242557, 0.12217042, -0.21623628, 0.08676071, 0.06943562, 0.0558185, -0.023673354, -0.17777173, 0.004594415, 0.0135196885, -0.029225778, 0.030058527, -0.009726104) * go_7(1.0, -1.0); result += mat4(0.01702246, 0.16437621, -0.018122733, 0.024081163, 0.016095428, -0.41127196, -0.017206954, 0.09858238, -0.15810199, -0.14963378, -0.3974077, -0.03380379, -0.045687225, -0.032821044, -0.094495125, -0.014884245) * go_7(1.0, 0.0); result += mat4(0.049720503, -0.09237875, -0.04686381, 0.019112429, 0.14990957, -0.2563238, 0.06650471, 0.027189046, 0.065547526, 0.061466973, 0.038220834, -4.9633014e-05, -0.037983235, -0.0315463, -0.08640253, 0.023909623) * go_7(1.0, 1.0); result += vec4(-0.0053955545, 0.20755386, 0.060728047, -0.11934225); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24 //!HOOK MAIN //!BIND conv2d_3_tf //!BIND conv2d_3_tf1 //!BIND conv2d_3_tf2 //!SAVE conv2d_4_tf //!WIDTH conv2d_3_tf.w //!HEIGHT conv2d_3_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(0.011262504, 0.031819463, -0.06957062, -0.043127634, 0.00583867, 0.09169646, -0.045924503, -0.03033917, 0.04295624, -0.0008524074, -0.10314193, 0.017878639, -0.026550706, -0.057304744, -0.093816355, 0.084548905) * go_0(-1.0, -1.0); result += mat4(0.14785792, 0.27953532, 0.013030618, 0.088695146, 0.108306505, 0.09207513, 0.111750156, -0.053279888, -0.091059364, -0.06638048, 0.027781408, -0.16337578, 0.056285474, 0.11172556, 0.030077877, -0.017893653) * go_0(-1.0, 0.0); result += mat4(0.17618006, -0.4502103, 0.07598669, -0.0009732414, 0.050383665, 0.17085455, -0.0031775923, 0.064862505, 0.11707715, 0.3526508, -0.01904134, -0.012807272, -0.116546296, -0.060822245, -0.1311729, 0.07212336) * go_0(-1.0, 1.0); result += mat4(0.087797835, -0.06613155, 0.1483391, 0.013323468, -0.11146307, -0.015671762, -0.040200327, -0.10357134, 0.019073516, -0.06472526, 0.10602498, 0.1770319, -0.08521562, 0.12664832, 0.08947633, -0.05493576) * go_0(0.0, -1.0); result += mat4(0.33827654, 0.28221247, -0.18990488, 0.026941316, 0.1488764, -0.2931259, -0.076329395, -0.015431582, -0.099263206, 0.19168049, -0.026642313, 0.13576517, 0.038345568, 0.28094527, 0.009882045, -0.11360381) * go_0(0.0, 0.0); result += mat4(0.05157035, -0.07949976, -0.11442825, -0.10846249, 0.0041128546, -0.086069524, -0.08534606, 0.030012999, -0.02440029, 0.0032833228, 0.080156125, -0.09495428, -0.014791535, -0.3719053, -0.09000905, 0.0037281278) * go_0(0.0, 1.0); result += mat4(0.06803247, 0.07046111, 0.025906414, 0.04482326, -0.029433155, -0.053168926, 0.11433928, 0.09067554, 0.08303741, -0.17981903, -0.119454004, 0.18209296, -0.03772345, 0.025304617, -0.078271955, -0.091292545) * go_0(1.0, -1.0); result += mat4(0.22007126, -0.40249357, 0.09878526, 0.043460052, -0.037937324, 0.2775198, 0.08673017, -0.075257935, 0.14146972, -0.049743168, -0.09132197, 0.072746076, 0.029836698, -0.0047054323, 0.041883502, -0.0780989) * go_0(1.0, 0.0); result += mat4(0.054638218, 0.31379706, -0.015786655, -0.026390918, -0.11370519, -0.085995756, 0.08572533, -0.066644676, -0.052945357, -0.027882649, -0.030349009, -0.00074756425, -0.0034215925, 0.16293995, 0.0043956763, -0.013435695) * go_0(1.0, 1.0); result += mat4(0.004479172, 0.15894544, 0.014565352, -0.022123177, 0.036710665, 0.027838772, -0.03341635, -0.02814826, -0.0891137, -0.051923018, -0.058425512, 0.057913873, -0.058511104, 0.04785274, 0.047574837, 0.095560044) * go_1(-1.0, -1.0); result += mat4(0.026339598, -0.21249251, 0.09641629, -0.1050302, -0.11599119, 0.16732395, -0.07735261, 0.10095655, -0.046776835, -0.1985677, -0.100405715, -0.0049418057, 0.08661461, 0.030991163, 0.058080763, -0.033386886) * go_1(-1.0, 0.0); result += mat4(0.06275464, 0.12353212, 0.011660699, -0.0048974585, 0.03182892, -0.11731411, 0.058963027, 0.00076737226, -0.014992623, -0.075640306, 0.021105729, 0.054476924, 0.010348032, 0.018136699, -0.015781997, 0.011437102) * go_1(-1.0, 1.0); result += mat4(0.13556376, -0.061953824, 0.05551936, 0.116930924, 0.06720336, 0.37149063, -0.020317249, 0.10018995, 0.03449863, 0.00254038, -0.12589492, -0.116539575, 0.02914628, -0.1132907, 0.059977263, -0.01013219) * go_1(0.0, -1.0); result += mat4(-0.17061242, -0.11773073, -0.07108274, 0.0034582969, 0.037274398, -0.38318223, 0.10591709, 0.25803554, -0.07071293, 0.17214958, 0.34243912, -0.20444241, 0.16736552, 0.14189146, -0.15058914, 0.028070828) * go_1(0.0, 0.0); result += mat4(-0.014832051, 0.38498318, 0.07763121, 0.0076594464, 0.1140444, 0.23477876, -0.06551489, 0.082364485, -0.072711125, -0.26173973, 0.10116861, 0.025223283, 0.0071469937, -0.08337561, -0.029252755, -0.040330622) * go_1(0.0, 1.0); result += mat4(0.065506235, -0.04470719, 0.09613445, 0.11135494, -0.038838383, -0.13319598, -0.030709865, -0.11286597, 0.02777684, 0.14582784, 0.10601686, 0.032446314, -0.101155646, 0.01797949, -0.060460012, -0.17628726) * go_1(1.0, -1.0); result += mat4(-0.013238295, 0.23827216, -0.052030362, 0.056838796, 0.11169307, -0.0019896782, 0.04225852, -0.05080408, 0.041208353, -0.018402472, 0.0045357095, 0.14560573, -0.07002417, -0.14796354, 0.007762815, -0.10192629) * go_1(1.0, 0.0); result += mat4(-0.041997515, -0.35881934, -0.021417812, 0.08649882, 0.09397181, -0.13445188, 0.06475497, -0.010673045, 0.12269194, 0.18738186, -0.042150542, 0.1256423, -0.008410485, 0.09158409, 0.041347865, -0.0074583124) * go_1(1.0, 1.0); result += mat4(-0.062870465, -0.059856553, 0.091585, 0.092011355, 0.020937715, 0.010538825, 0.06692169, 0.0006046978, 0.1952068, 0.031263877, -0.106957935, 0.14423949, -0.014842083, -0.043564916, -0.019768178, 0.034922168) * go_2(-1.0, -1.0); result += mat4(-0.117032535, 0.18058799, 0.007915372, 0.020678058, 0.14933655, -0.051320497, -0.023838546, 0.06867943, -0.3355837, 0.0042644492, -0.12227475, -0.04008191, 0.024019344, -0.040317632, 0.025777748, 0.24088405) * go_2(-1.0, 0.0); result += mat4(-0.00010084207, -0.1289124, 0.031990424, -0.079577096, -0.0053844554, -0.02361255, 0.07049022, 0.039858952, -0.07922686, -0.06185779, -0.03044959, 0.079977244, -0.0893825, -0.106873706, 0.0044374927, -0.028308846) * go_2(-1.0, 1.0); result += mat4(-0.08895584, -0.042846404, -0.013092824, -0.13957329, -0.10497291, 0.10893366, -0.16962886, -0.002034427, -0.037901185, 0.064590566, 0.058201604, 0.14310947, 0.08995774, -0.05294167, 0.1631053, -0.012728631) * go_2(0.0, -1.0); result += mat4(-0.07719386, 0.046034593, 0.04633185, 0.11177461, 0.012042811, 0.13169785, -0.11322429, 0.10102152, -0.23842178, 0.13413563, 0.07785035, -0.083747946, 0.10070529, -0.0900075, -0.17456235, -0.38653556) * go_2(0.0, 0.0); result += mat4(-0.12692979, -0.047207076, 0.003124948, 0.0031179655, 0.028505344, -0.16842307, 0.018322583, -0.03406163, 0.04017119, -0.1724708, 0.039637722, 0.14817074, -0.015262273, 0.4343052, -0.028746288, -0.06529248) * go_2(0.0, 1.0); result += mat4(-0.124842934, 0.13421857, -0.02313364, -0.11312006, -0.03259939, 0.06062406, -0.007419522, -0.04876289, -0.10012543, -0.25548926, -0.030651081, 0.034160238, -0.14513661, 0.036888786, 0.17565195, 0.11805049) * go_2(1.0, -1.0); result += mat4(0.19049145, -0.039175794, 0.018565621, 0.1548963, -0.051579755, 0.031628616, 0.0051352894, 0.11517133, -0.01610091, 0.051337674, -0.026527107, -0.019971197, 0.12971555, 0.07533016, -0.3041597, -0.06759981) * go_2(1.0, 0.0); result += mat4(0.12584706, -0.10033112, 0.035238206, 0.09898554, 0.050027825, 0.07308421, -0.01463469, -0.00082939945, -0.047252785, 0.08552882, 0.0019422411, -0.024661394, 0.11734384, -0.26585263, 0.07397762, 0.20346671) * go_2(1.0, 1.0); result += mat4(0.107849255, -0.11532747, 0.05027606, 0.10103512, 0.064907365, 0.010803471, 0.028275143, 0.14567783, -0.07167514, 0.08434946, 0.07393991, 0.0254499, 0.04305806, 0.04086671, 0.053802863, -0.06721381) * go_3(-1.0, -1.0); result += mat4(0.09881202, -0.06978072, 0.04603433, 0.01741673, -0.15704031, -0.1793963, -0.038271505, -0.10161381, 0.04542897, 0.07914688, 0.046205457, 0.08958046, -0.0061665005, -0.03463733, 0.029120842, 0.043564152) * go_3(-1.0, 0.0); result += mat4(-0.012550157, 0.17462914, 0.06898175, -0.07152383, -0.03304833, -0.08832667, -0.016064065, -0.23278883, -0.13197964, -0.08672381, -0.05409716, -0.065082744, 0.06888385, 0.036308136, 0.11151006, -0.06965145) * go_3(-1.0, 1.0); result += mat4(0.10415191, 0.17370042, -0.077190965, -0.008505009, 0.071427636, 0.021012051, 0.29375538, 0.20707655, 0.08539143, -0.21792713, -0.069910124, -0.13272718, 0.078085855, 0.020925732, -0.09766308, -0.014647463) * go_3(0.0, -1.0); result += mat4(-0.1540831, -0.20195347, 0.12906608, -0.18597993, 0.02752237, 0.3436961, 0.12848559, 0.23174804, 0.09912136, 0.2955073, -0.0119524235, 0.07499343, -0.056999985, -0.13919996, -0.0442433, 0.09012822) * go_3(0.0, 0.0); result += mat4(0.03846984, -0.016049843, -0.04194403, 0.016142704, -0.14151782, -0.06796431, 0.004672686, -0.20027739, -0.100223176, -0.08138453, -0.09202174, 0.12008146, -0.009262179, 0.303418, 0.040116344, 0.032100268) * go_3(0.0, 1.0); result += mat4(-0.02313964, -0.24428035, 0.038113195, -0.0045478963, -0.12524363, 0.0911982, -0.091526926, -0.10919195, -0.044670045, 0.08331864, 0.12612547, -0.103683256, -0.003986556, -0.034693778, 0.03215815, 0.06168313) * go_3(1.0, -1.0); result += mat4(-0.024951402, 0.36099398, -0.08449376, -0.07497921, 0.09019578, -0.34781474, -0.038260702, 0.04863762, 0.017253455, -0.019677663, 0.12687095, 0.00063366926, 0.011710997, -0.10072319, -0.03315336, 0.07632106) * go_3(1.0, 0.0); result += mat4(0.07059056, -0.12018756, -0.09131319, -0.013561132, 0.24165273, 0.22274019, -0.017931685, 0.010056685, 0.12344425, 0.12156007, -0.026813593, 0.004195277, 0.04681439, -0.076013386, -0.031047279, 0.028654084) * go_3(1.0, 1.0); result += mat4(-0.07966141, -0.07519266, 0.08071786, -0.07381566, 0.016123658, -0.05854732, 0.037251532, 0.025495501, 0.105325036, -0.09021125, -0.0065127593, 0.20154859, -0.24500966, 0.16068383, -0.045858987, -0.013114567) * go_4(-1.0, -1.0); result += mat4(-0.11490749, 0.2778325, -0.09342925, -0.059463568, 0.038029168, 0.010677079, 0.004088794, -0.0524926, 0.14234811, 0.26121226, 0.080162, 0.19559322, 0.19100796, 0.120853685, 0.14027278, -0.07141763) * go_4(-1.0, 0.0); result += mat4(-0.07725682, -0.028726127, -0.011004939, -0.016452273, -0.004484741, 0.11287478, -0.090253375, -0.00962195, 0.067813195, 0.00653987, 0.11110691, 0.02533638, 0.047734473, 0.630844, -0.12703009, 0.0815481) * go_4(-1.0, 1.0); result += mat4(-0.063518584, -0.068115965, 0.06567312, 0.005423953, -0.035477355, -0.36495018, 0.034740042, 0.10112081, -0.106252685, -0.27082387, 0.29244247, 0.12543291, -0.35771617, -0.106733896, 0.09776179, -0.041923277) * go_4(0.0, -1.0); result += mat4(0.1582593, -0.19066747, 0.12785429, -0.06028763, 0.07165759, 0.29100847, -0.066886865, -0.026840167, 0.0149742095, 0.046114814, -0.16078624, -0.06096696, -0.15888374, 0.29948848, 0.011921788, -0.14737292) * go_4(0.0, 0.0); result += mat4(0.023203196, -0.012949222, -0.10660274, -0.019064514, -0.01604895, -0.11042657, 0.014043448, -0.007858082, 0.034866568, 0.28908056, 0.044833034, -0.055372775, 0.05015458, 0.45589668, -0.059942003, -0.24177484) * go_4(0.0, 1.0); result += mat4(-0.010991107, 0.081413716, -0.022647902, 0.035956774, -0.01045697, -0.06317254, -0.048409183, 0.014224823, -0.041370537, -0.03167499, -0.08533798, -0.0033347958, -0.045379575, -0.1464327, 0.11794289, 0.12731233) * go_4(1.0, -1.0); result += mat4(-0.042375486, -0.26550424, -0.020939078, 0.048613142, -0.0064663864, -0.3438306, 0.01354813, 0.01667072, -0.078636885, -0.15991145, 0.07323537, 0.041297473, -0.088465534, -0.333333, -0.05659556, -0.2753555) * go_4(1.0, 0.0); result += mat4(-0.007157959, 0.16018897, 0.026304452, -0.04799124, -0.009590161, -0.05249338, -0.009172379, 0.0054461583, -0.05708218, -0.19263835, 0.11795639, -0.02212647, 0.056535985, -0.06511114, -0.013391156, -0.13783967) * go_4(1.0, 1.0); result += mat4(-0.05439675, -0.006444465, -0.009317183, -0.07307444, -0.00030038637, 0.18579505, -0.051370375, 0.059529413, -0.27623934, -0.013988184, -0.0048374305, -0.15984012, 0.039892353, -0.018393246, -0.046821754, 0.023543872) * go_5(-1.0, -1.0); result += mat4(0.13751456, -0.06096664, -0.025098158, 0.06613064, -0.08354669, -0.07604228, 0.008098726, 0.018510602, 0.14101581, 0.22782752, -0.0028741485, 0.041945882, -0.0810864, -0.020587375, -0.085017934, -0.025102144) * go_5(-1.0, 0.0); result += mat4(0.047001034, 0.15929686, -0.017429994, 0.11485433, 0.008108619, -0.039101716, -0.01298734, -0.04309558, 0.063283674, -0.006479532, 0.041943613, 0.020806335, 0.1637154, 0.08164767, -0.022789355, 0.23034051) * go_5(-1.0, 1.0); result += mat4(0.04580322, 0.035329618, -0.045944862, -0.11552284, 0.080185264, -0.054166514, 0.050542697, -0.026156206, -0.083026126, 0.07445656, 0.020240687, -0.095825456, -0.05638868, 0.061477177, -0.0053955787, -0.03098832) * go_5(0.0, -1.0); result += mat4(0.0488631, 0.0048201405, -0.17982271, -0.19360444, 0.04280375, -0.06298201, 0.18850167, -0.1875722, -0.021133788, -0.4440641, -0.08967545, -0.020436049, -0.07340717, 0.15360972, 0.30010164, 0.13870142) * go_5(0.0, 0.0); result += mat4(0.06518589, 0.05225434, 0.035718046, 0.09953873, -0.018187355, 0.2680586, -0.011366758, 0.16459163, -0.17236687, 0.271017, -0.044547327, -0.12611923, -0.17699997, -0.14207041, 0.029943895, -0.32613477) * go_5(0.0, 1.0); result += mat4(-0.043032415, -0.112493455, -0.0017059229, 0.030980088, -0.034748103, -0.034630474, -0.00086845557, -0.07122569, 0.0859297, 0.048253577, 0.1304124, -0.0067533916, 0.15792038, -0.051970366, -0.02041555, -0.022408634) * go_5(1.0, -1.0); result += mat4(-0.16435696, 0.1454917, -0.02320267, -0.07823869, 0.03715387, 0.001277761, 0.09719438, 0.015275015, -0.11739434, 0.06375923, 0.10178472, 0.0694389, 0.04614792, -0.38499647, 0.27365905, -0.20401697) * go_5(1.0, 0.0); result += mat4(-0.09289143, -0.059769634, -0.014427403, 0.07280103, 0.04857605, 0.04126391, 0.007707449, 0.016183812, -0.080374636, -0.24951005, 0.051764973, 0.01020587, -0.2992075, 0.04918275, 0.2093324, 0.14188328) * go_5(1.0, 1.0); result += vec4(-0.034787357, -0.010484513, -0.13672084, 0.021112612); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24 //!HOOK MAIN //!BIND conv2d_3_tf //!BIND conv2d_3_tf1 //!BIND conv2d_3_tf2 //!SAVE conv2d_4_tf1 //!WIDTH conv2d_3_tf.w //!HEIGHT conv2d_3_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max((conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max(-(conv2d_3_tf2_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(0.09358625, 0.04006633, 0.08724545, 0.08691784, -0.14107502, -0.0007997976, 0.17306888, 0.038711257, 0.0985122, -0.0014992851, -0.17487743, -0.10194699, 0.11023988, -0.06968423, 0.01662707, 0.21470292) * go_0(-1.0, -1.0); result += mat4(0.031636875, 0.13806665, -0.0814631, 0.07943226, 0.0119793005, 0.04941359, 0.074861325, -0.16535385, -0.11496889, 0.13269342, -0.109500505, -0.05149521, -0.046225246, 0.12686665, 0.17126462, 0.009109644) * go_0(-1.0, 0.0); result += mat4(-0.03334245, -0.123216815, -0.1330235, -0.12154138, -0.059628066, 0.10496938, -0.0038054981, 0.1457567, -0.019918114, -0.0020958772, 0.04247789, -0.0062168534, 0.0026362725, 0.021436866, -0.11040905, 0.108333305) * go_0(-1.0, 1.0); result += mat4(0.0042455117, -0.14640199, -0.06118977, 0.16638735, -0.030705301, -0.0113191, 0.03248879, -0.044538334, -0.0102377115, -0.01707356, -0.13409424, 0.07820454, 0.0050400933, -0.051095866, 0.115574144, 0.1082736) * go_0(0.0, -1.0); result += mat4(0.059850972, 0.12553261, 0.23358655, 0.011808153, 0.3940932, -0.10867016, -0.23658483, -0.08347661, 0.18414836, 0.13377388, -0.14889582, -0.0067077233, 0.04137153, 0.07864369, -0.2230585, 0.20400442) * go_0(0.0, 0.0); result += mat4(-0.14122446, -0.05491896, 0.23194087, -0.04420126, 0.003479982, -0.0025467714, 0.07257286, 0.064608194, 0.003435564, 0.028599951, 0.034278907, 0.020127177, -0.05769672, -0.053810723, 0.021130094, -0.10632285) * go_0(0.0, 1.0); result += mat4(-0.06342671, -0.02102852, -0.057624057, -0.04255905, -0.027436286, -0.004304728, -0.068475425, 0.084754616, -0.013654013, 0.040915813, 0.03803916, -0.013154927, 0.035633024, 0.03539127, 0.011308919, -0.07959703) * go_0(1.0, -1.0); result += mat4(-0.082511365, -0.062265713, 0.12336093, 0.050000474, -0.012206841, -0.11110678, 0.23245499, 0.08442603, 0.03861097, 0.04962608, 0.2711461, 0.061978027, 0.02267645, -0.024108166, 0.050957117, -0.09069499) * go_0(1.0, 0.0); result += mat4(-0.036008272, 0.077173404, 0.007906516, -0.07967038, -0.03769282, 0.0647222, -0.048025336, -0.24466506, -0.10772676, -0.045048002, 0.11905392, 0.09015004, 0.018585265, 0.0492868, -0.12064848, -0.12835266) * go_0(1.0, 1.0); result += mat4(0.03722991, 0.05483932, 0.005279874, -0.036382344, 0.07366523, 0.080671124, -0.022853829, 0.17026854, -0.025622483, 0.02234575, 0.047529936, 0.08349223, -0.0811592, -0.06856246, 0.095451735, 0.04447287) * go_1(-1.0, -1.0); result += mat4(-0.011579923, -0.07021126, -0.18775284, 0.06256736, -0.07229184, 0.007508845, 0.009623485, -0.07026442, -0.017683864, -0.05394156, 0.009937637, -0.06132005, 0.08447428, -0.035887707, 0.05672016, -0.023255082) * go_1(-1.0, 0.0); result += mat4(-0.24283841, 0.049064692, 0.19258617, -0.09556112, -0.043943178, -0.026093625, -0.0037277476, -0.08488672, -0.05969904, 0.014202227, 0.07155138, -0.006620953, 0.12378093, 0.023470948, -0.15103869, 0.04221627) * go_1(-1.0, 1.0); result += mat4(0.0008730981, -0.07160066, -0.076891124, 0.13791084, -0.13737433, -0.010282979, 0.078346394, 0.09242266, 0.076963596, 0.05978104, -0.05467655, 0.086442284, 0.044609588, -0.016739035, 0.021820836, -0.2011709) * go_1(0.0, -1.0); result += mat4(-0.20905402, -0.08102045, -0.29869592, -0.047263417, -0.17030494, 0.13713762, 0.1867857, 0.0476295, -0.09349327, 0.19339523, 0.022656808, -0.0009851357, -0.2303008, -0.06444237, -0.019168362, 0.2020858) * go_1(0.0, 0.0); result += mat4(-0.024434976, 0.10944717, 0.055678647, 0.10161796, -0.049396966, 0.0052144537, -0.16087285, -0.015105596, -0.086011946, 0.022698695, 0.15757102, -0.14491843, 0.037698947, -0.047221012, -0.030243723, 0.13107443) * go_1(0.0, 1.0); result += mat4(-0.086016916, 0.04024993, 0.04098034, 0.07725262, -0.06640869, -0.04112078, 0.021855356, -0.18622814, -0.058279853, -0.029800907, -0.15918955, 0.09680758, 0.054697946, 0.03253648, 0.08338082, -0.04502999) * go_1(1.0, -1.0); result += mat4(0.01646839, -0.054888945, -0.26849058, -0.011435841, -0.057793204, -0.07927816, 0.025392462, -0.10175547, 0.029483873, -0.14580205, 0.0024861468, 0.07208289, 0.06519596, 0.03442096, 0.026397267, 0.020078517) * go_1(1.0, 0.0); result += mat4(-0.08198775, -0.0814655, 0.05315498, 0.051077936, -0.030619444, 0.019064562, -0.13288063, -0.1472509, -0.048526105, -0.040171668, 0.12455891, -0.14622177, 0.011852844, 0.096620746, -0.18692164, -0.055299122) * go_1(1.0, 1.0); result += mat4(0.058797743, 0.024229972, 0.034255873, 0.036447, 0.00075901265, 0.074688934, -0.042593017, 0.00060293835, 0.032229654, -0.052531853, -0.07462269, 0.12802848, 0.007995166, -0.02878037, 0.06900506, 0.06908949) * go_2(-1.0, -1.0); result += mat4(-0.10522075, 0.048956644, 0.05420077, -0.016637634, 0.04412326, -0.09468539, 0.034226764, -0.018262677, -0.06783241, -0.040329143, 0.18946178, 0.13130969, 0.10075684, -0.07591921, -0.1623158, -0.025584042) * go_2(-1.0, 0.0); result += mat4(-0.034107495, -0.016770529, -0.016136456, 0.02585942, 0.12677853, 0.01417575, 0.047958545, 0.12998682, 0.016893117, 0.010598557, 0.12055522, -0.047758352, -0.05235784, 0.005084147, 0.07550005, -0.16640854) * go_2(-1.0, 1.0); result += mat4(-0.114226855, 0.06335544, -0.0881748, -0.2498259, 0.015568782, 0.012487128, 0.0046955296, 0.025751248, 0.04212843, 0.15120652, 0.15968561, 0.19253394, 0.087034084, -0.0423726, -0.051838346, -0.14310384) * go_2(0.0, -1.0); result += mat4(-0.013026084, 0.06131241, -0.1675201, -0.12888479, -0.0014964524, -0.10069896, 0.02356384, 0.01806289, 0.19572161, -0.11961045, -0.24700944, -0.1844911, -0.26364744, 0.07644966, 0.2593859, 0.08114606) * go_2(0.0, 0.0); result += mat4(0.068388715, -0.0046663, -0.020979358, 0.09952774, -0.11110095, -0.0774004, 0.012848098, -0.012930355, 0.08189461, 0.0054886085, 0.00053461257, -0.23077695, 0.050515562, -0.035863694, 0.07036627, -0.13812068) * go_2(0.0, 1.0); result += mat4(0.09648746, -0.10755913, -0.08146234, 0.00811376, 0.004864761, -0.08113828, 0.04964263, 0.11690557, -0.014368101, -0.014423742, 0.03171528, 0.08982036, 0.10246555, -0.06881209, -0.29283836, 0.039537873) * go_2(1.0, -1.0); result += mat4(-0.13718893, -0.009659399, 0.2992416, -0.0066323625, -0.071996465, 0.13524258, 0.023679543, 0.07826935, 0.075409144, 0.08589669, 0.061272033, -0.045499824, -0.03741875, 0.27842635, 0.13185109, -0.099911585) * go_2(1.0, 0.0); result += mat4(-0.024441944, -0.03522318, 0.05140529, 0.0071282475, -0.10594544, -0.05181565, 0.25732583, -0.018825782, -0.0012439055, 0.019219896, 0.09946713, -0.0722263, -0.12645322, -9.644992e-05, 0.06875323, 0.21561073) * go_2(1.0, 1.0); result += mat4(-0.022150004, 0.054419033, -0.083107114, -0.08959484, 0.08172815, -0.013834652, -0.15180096, -0.024615027, -0.07028262, -0.0007512729, 0.26976782, 0.18875809, -0.099938266, 0.05480333, 0.016040394, -0.17822164) * go_3(-1.0, -1.0); result += mat4(-0.026931163, -0.052416157, 0.07639568, -0.05452748, 0.035625458, 0.004550296, -0.16772425, -0.00061168516, 0.15335664, 0.051302932, 0.04580133, 0.13039467, 0.023763021, -0.07687596, -0.05549799, -0.017360365) * go_3(-1.0, 0.0); result += mat4(0.003008481, 0.10352107, 0.076348424, 0.040963676, -0.057719737, -0.08755317, 0.024834383, -0.23462833, -0.09101583, 0.086903796, -0.07216142, 0.090624414, 0.029025761, -0.033761367, 0.1366635, -0.10524101) * go_3(-1.0, 1.0); result += mat4(-0.028344428, 0.22866614, 0.22265156, -0.050915148, -0.07759447, -0.1586285, -0.049925447, -0.05273905, -0.010746756, 0.019270241, 0.22497585, 0.013571467, 0.019270418, 0.052651558, -0.024736265, -0.14067775) * go_3(0.0, -1.0); result += mat4(0.058332205, -0.0631195, -0.19648206, -0.039481703, -0.2998922, 0.18085144, 0.17090257, 0.27006564, -0.2703318, 0.06099154, 0.04560162, 0.118134916, -0.004565211, -0.08472733, 0.10459307, -0.16570608) * go_3(0.0, 0.0); result += mat4(0.10358238, -0.061059173, -0.13393302, 0.015948834, -0.030868502, -0.04978585, -0.012687447, -0.2505655, 0.049323123, -0.00019374766, 0.028754372, 0.033648107, 0.07063697, -0.014583936, 0.1362805, 0.08024834) * go_3(0.0, 1.0); result += mat4(-0.013942856, -0.08531508, 0.039745845, 0.10414194, 0.06313496, 0.02417523, 0.07144888, -0.13780569, 0.0024822098, -0.0005785404, -0.070522025, -0.010603217, -0.008350787, -0.08310923, -0.06434052, 0.05212829) * go_3(1.0, -1.0); result += mat4(-0.033343147, 0.11818227, -0.101355605, -0.09815853, -0.0037257646, 0.093914956, 0.045073465, -0.21146262, -0.033502303, -0.033563633, -0.19179441, -0.064311236, 0.017742243, 0.008572989, -0.017310511, 0.09787876) * go_3(1.0, 0.0); result += mat4(-0.0965179, -0.05104779, 0.21980357, 0.059457585, 0.05362383, -0.07189908, 0.21294238, 0.12593827, 0.08622481, 0.0061037396, -0.11099128, -0.075461335, -0.019220999, -0.08473234, 0.1896788, 0.1545825) * go_3(1.0, 1.0); result += mat4(-0.067072935, -0.009035596, 0.039182313, 0.017011479, 0.036997713, -0.042869426, -0.0040173815, -0.031988475, -0.0069290483, 0.05294254, -0.0012220141, 0.09110227, -0.014827876, 0.19689846, 0.0022661786, -0.07005972) * go_4(-1.0, -1.0); result += mat4(-0.057713088, 0.050435945, -8.427375e-05, -0.010549373, 0.03760227, 0.022647688, 0.02825286, 0.06377033, -0.0047159446, 0.11320346, -0.069414824, 0.059531983, -0.3299612, 0.2719073, -0.1501237, -0.2640464) * go_4(-1.0, 0.0); result += mat4(-0.11150839, 0.050114244, -0.032236893, 0.0015038166, 0.027094943, -0.02502733, -0.043179303, 0.016036531, 0.09573851, 0.08618344, -0.107915044, 0.009664713, 0.014394529, 0.06955564, 0.16166097, 0.20743166) * go_4(-1.0, 1.0); result += mat4(-0.044392925, -0.040684875, -0.23557815, -0.056034833, -0.028161626, 0.05496662, -0.053270698, -0.0734554, -0.111465365, 0.03420695, 0.109617576, 0.0010966054, -0.2844835, 0.26836982, 0.23121232, -0.10785496) * go_4(0.0, -1.0); result += mat4(0.23357789, 0.00012668641, 0.107617445, 0.095301114, -0.02025481, 0.05065449, -0.024430674, -0.06981479, -0.013470061, -0.18655962, 0.0027839232, -0.12599237, 0.33548972, 0.30407274, -0.40126064, -0.32490435) * go_4(0.0, 0.0); result += mat4(-0.122281134, -0.04318224, -0.052405555, 0.013284251, 0.13037762, -0.03950817, 0.11751856, 0.12586644, 0.04493563, 0.065146565, -0.08837088, 0.047829423, -0.06804128, 0.048373412, -0.15102965, 0.055268798) * go_4(0.0, 1.0); result += mat4(0.030756064, 0.04952702, -0.13558283, 0.0072438875, 0.009556099, -0.010242232, -0.030279964, -0.02526838, 0.038414564, 0.048353594, 0.095979914, 0.021043506, -0.03390589, 0.21514107, 0.16822831, -0.03800557) * go_4(1.0, -1.0); result += mat4(-0.077866204, -0.033634454, 0.037902627, 0.07902395, -0.028916273, -0.0226067, -0.024876777, -0.022323275, 0.023246247, 0.053687774, -0.07160366, 0.047302466, -0.16095349, 0.20279877, 0.4096563, -0.07618548) * go_4(1.0, 0.0); result += mat4(-0.07142796, 0.06627731, -0.14174895, -0.07026203, 0.07220904, -0.040048495, -0.00987828, 0.08977276, 0.13406783, 0.01384705, -0.11771938, 0.12959056, 0.014253595, -0.06292875, 0.2582175, 0.40633658) * go_4(1.0, 1.0); result += mat4(-0.16788402, 0.050656084, 0.19867243, -0.047497474, -0.041200183, -0.035055846, 0.07874877, 0.04519112, -0.06284356, 0.066545784, 0.12576821, -0.056989186, -0.017403305, 0.08785861, -0.041629825, -0.015809631) * go_5(-1.0, -1.0); result += mat4(-0.049183913, 0.0074359034, -0.08632813, 0.005517822, 0.022378573, 0.008625282, -0.08956046, -0.022195501, 0.05653246, 0.059899297, -0.18981466, -0.088493966, -0.17928217, 0.09689291, 0.119702354, 0.02164232) * go_5(-1.0, 0.0); result += mat4(0.14917888, 0.015048009, -0.005661549, 0.037006833, -0.044544507, -0.04312164, -0.00308949, -0.1262605, -0.05497811, 0.007944446, 0.08427898, 0.10117571, -0.04657141, 0.02150161, -0.06573186, 0.040465128) * go_5(-1.0, 1.0); result += mat4(-0.13925308, -0.027741015, 0.154933, -0.21173707, 0.03086154, -0.09298073, 0.012140707, -0.0837475, -0.0389594, -0.13471437, -0.06527673, -0.09669443, -0.029916963, 0.098984316, 0.07964568, 0.12955827) * go_5(0.0, -1.0); result += mat4(0.113585204, -0.1900433, 0.06495972, 0.2520296, 0.028009154, 0.11481251, -0.041522022, 0.12091007, 0.10473571, 0.050006554, 0.15297762, -0.008781097, 0.31699565, -0.017735595, -0.17169666, -0.2624132) * go_5(0.0, 0.0); result += mat4(0.0887785, 0.028235141, 0.07372089, 0.04354993, 0.017250411, 0.06372916, 0.14129215, 0.02355555, 0.027448706, 0.044665307, 0.021888286, 0.19552916, 0.15212306, 0.04121492, 0.14111567, 0.17364514) * go_5(0.0, 1.0); result += mat4(-0.053401828, 0.0036638333, -0.11299562, -0.018262852, -0.018146416, 0.036637712, -0.016478777, -0.1337408, -0.0517515, -0.04804134, 0.023531632, -0.043174334, -0.06509281, 0.04609587, 0.12353532, 0.07258964) * go_5(1.0, -1.0); result += mat4(0.13987146, -0.004954282, -0.19968997, 0.10498915, 0.032130655, -0.06047886, 0.05529797, 0.1026575, 0.05790419, -0.02940328, -0.0059209364, 0.014009479, 0.03707385, -0.22969075, 0.014512211, -0.05710503) * go_5(1.0, 0.0); result += mat4(-0.039069746, 0.062022384, -0.07215672, 0.06928623, 0.060027763, -0.0012453326, -0.10970553, -0.06261657, 0.1871706, -0.0018255943, -0.14889055, 0.023299964, -0.3351649, 0.37802795, -0.19070482, -0.060723614) * go_5(1.0, 1.0); result += vec4(0.11029581, -0.13019782, -0.084883854, -0.08666392); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32 //!HOOK MAIN //!BIND conv2d_2_tf //!BIND conv2d_2_tf1 //!BIND conv2d_4_tf //!BIND conv2d_4_tf1 //!SAVE conv2d_5_tf //!WIDTH conv2d_2_tf.w //!HEIGHT conv2d_2_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.2512713, 0.04446131, -0.13019001, -0.19825238, -0.13686082, 0.0009870777, -0.057273045, -0.18591711, -0.23278764, 0.18710285, -0.22846954, 0.053128306, -0.21377552, -0.031190397, 0.02671188, 0.27215254) * go_0(-1.0, -1.0); result += mat4(-0.02850081, -0.25581798, -0.2916671, 0.25948995, -0.061595846, 0.021996778, 0.26533875, -0.1386817, -0.50907725, -0.107387096, -0.5450341, -0.024946108, -0.17377011, 0.16451572, 0.026229601, 0.4334658) * go_0(-1.0, 0.0); result += mat4(-0.16645597, 0.04859862, -0.11956127, -0.10639128, -0.1512508, -0.16807108, -0.17695063, 0.18996993, 0.02294206, -0.10125812, -0.5181448, -0.38864586, 0.23754308, -0.08984774, -0.24180885, 0.3828395) * go_0(-1.0, 1.0); result += mat4(0.06978632, -0.07391368, 0.16064985, 0.14387815, 0.13395701, 0.0072151893, -0.012425532, 0.17299308, 0.07081038, 0.36008126, -0.15714419, 0.07240115, 0.13636859, 0.1784294, 0.011940809, -0.52540964) * go_0(0.0, -1.0); result += mat4(-0.09117334, 0.23012494, 0.28810725, -0.100390926, 0.06310453, 0.20847455, -0.10232593, -0.19567461, 0.36627305, -0.4853842, 0.08254439, 0.24376224, 0.056684412, 0.006989206, 0.022157473, -0.030653777) * go_0(0.0, 0.0); result += mat4(-0.2663092, 0.00064693484, 0.029155029, 0.09757617, 0.1529268, 0.091259964, -0.10012239, -0.22128165, 0.13576204, 0.11918086, 0.19831064, 0.502025, 0.12156709, 0.24983601, 0.3127286, 0.75281775) * go_0(0.0, 1.0); result += mat4(-0.17778896, 0.22676969, -0.015692642, -0.009996105, 0.028742755, -0.047916196, 0.25847134, 0.08189432, 0.36310482, -0.15971468, -0.67326957, -0.2647825, 0.21505079, -0.13693511, -0.25197342, -0.035831798) * go_0(1.0, -1.0); result += mat4(-0.2606467, -0.04332907, -0.0081932675, -0.1871374, 0.011161732, 0.060496867, 0.1462103, 0.06257406, 0.3499117, 0.3138593, 0.76008654, -0.015321124, 0.111340284, -0.19518661, -0.07172604, -0.09686078) * go_0(1.0, 0.0); result += mat4(0.06345513, -0.11955674, -0.10117546, 0.11214337, -0.032827023, -0.03233337, 0.0405524, -0.059570026, 0.43338406, 0.19762945, 0.7126324, 0.4188931, -0.101491705, -0.013107355, -0.12105306, -0.006423246) * go_0(1.0, 1.0); result += mat4(-0.06646153, 0.008786217, -0.12322221, 0.038551513, 0.21105461, 0.029630456, -0.046948384, -0.08749188, 0.20109598, -0.32960144, 0.12458934, 0.065261096, 0.1736474, 0.08107202, 0.21897486, -0.07582082) * go_1(-1.0, -1.0); result += mat4(-0.0956223, -0.16077499, -0.078044854, 0.010729564, -0.13726994, 0.028060393, 0.03612404, -0.34773487, -0.102635644, -0.15022214, 0.35442317, 0.1504626, 0.12941697, -0.0081511475, 0.47598404, 0.1603431) * go_1(-1.0, 0.0); result += mat4(0.056824043, 0.06583582, 0.19184831, -0.2864132, 0.028662741, 0.11763177, -0.13771693, 0.00023768989, -0.103775464, -0.17286631, 0.0583067, -0.24930799, -0.003860889, 0.03102717, 0.27666515, 0.16049923) * go_1(-1.0, 1.0); result += mat4(0.10747796, -0.11407924, 0.07512156, 0.16156466, -0.0761196, -0.4194308, 0.3467298, 0.051567934, -0.01650765, -0.3078, -0.0915916, -0.12230647, 0.28413123, 0.12150274, 0.32607988, 0.03547804) * go_1(0.0, -1.0); result += mat4(-0.15339021, -0.32022968, -0.15313472, -0.21096179, 0.21755596, 0.5007671, -0.084493205, 0.24789453, -0.008148358, -0.37689698, 0.052389532, 0.1103459, 0.116709754, 0.057310186, -0.13453801, 0.31041884) * go_1(0.0, 0.0); result += mat4(-0.27026525, 0.055883665, 0.21993993, 0.16815868, -0.16430366, 0.014845722, -0.04250501, -0.32818204, -0.06997226, -0.15058292, 0.15950048, -0.12349109, 0.027781306, 0.010121193, 0.21316971, 0.35488003) * go_1(0.0, 1.0); result += mat4(-0.26226902, 0.12889884, 0.035255022, -0.25410843, 0.15391718, 0.15659589, 0.23515344, -0.12434832, -0.25579002, -0.30341643, -0.037506066, -0.15720633, 0.1376103, 0.18252009, 0.33176532, 0.027529534) * go_1(1.0, -1.0); result += mat4(0.0037590207, 0.17911285, 0.06906637, 0.17953697, -0.09008308, -0.15015154, -0.43836382, 0.3525618, 0.05467472, -0.52823055, -0.23620026, 0.34462368, 0.39483768, 0.20073475, 0.3278273, 0.10098111) * go_1(1.0, 0.0); result += mat4(0.10590756, 0.0948448, -0.14713965, 0.36263084, -0.20373668, -0.002442622, -0.17611219, -0.12712897, 0.047380507, -0.07845144, -0.21089159, -0.16667572, 0.19997585, 0.13592377, 0.33893886, 0.18317363) * go_1(1.0, 1.0); result += mat4(0.2965214, -0.06210429, -0.14850818, 0.08950312, 0.16642696, -0.016716538, -0.072306536, 0.31038073, -0.07912652, -0.05515433, -0.04921583, 0.08185186, 0.18347357, 0.022154849, -0.0004953931, -0.03949225) * go_2(-1.0, -1.0); result += mat4(-0.29195285, 0.24432418, -0.36798882, 0.17430644, 0.36771268, -0.06538093, -0.29294577, -0.06279913, -0.21313414, 0.09859833, -0.108558804, -0.029308762, 0.13946626, -0.017130189, -0.06855778, -0.25429824) * go_2(-1.0, 0.0); result += mat4(-0.06389454, -0.064197145, -0.045878682, -0.07161815, 0.04137984, 0.16231675, 0.4002652, -0.19706374, -0.23648848, -0.12520109, -0.13031802, 0.16896103, -0.14413834, 0.08727873, 0.23887047, -0.10668098) * go_2(-1.0, 1.0); result += mat4(0.049962725, 0.015332934, -0.32353997, 0.010178239, 0.14607702, -0.021713382, 0.30675814, -0.23125732, -0.12972106, -0.015958687, -0.12036701, -0.10332523, 0.004802664, -0.04311933, -0.18757673, 0.13215788) * go_2(0.0, -1.0); result += mat4(-0.149493, -0.25933927, -0.16011974, 0.030059932, 0.17800556, -0.21459822, -0.2168605, 0.3184123, 0.10750539, 0.16187398, 0.32434842, 0.11596275, -0.13076428, 0.19637384, 0.22133437, 0.37495127) * go_2(0.0, 0.0); result += mat4(0.054967344, 0.02872234, 0.03161886, 0.062141456, -0.19746579, -0.14291914, 7.4703865e-05, 0.15052183, 0.11602195, 0.0037601371, -0.02332411, -0.089222685, 0.23475187, -0.1604402, -0.38760346, -0.020806316) * go_2(0.0, 1.0); result += mat4(-0.14585812, -0.14615667, -0.051447522, 0.15611356, 0.18497528, 0.081289835, 0.12661521, 0.005147319, -0.036558554, -0.053869057, -0.0039063287, -0.032759674, 0.09126186, 0.008506298, -0.034447696, -0.10733875) * go_2(1.0, -1.0); result += mat4(0.054028746, -0.00937832, -0.15684044, -0.035560567, 0.11809561, 0.1014585, 0.03356128, 0.02016173, 0.09049222, -0.021339757, 0.07999249, 0.18014722, 0.016788004, 0.043118123, -0.18311624, -0.17827764) * go_2(1.0, 0.0); result += mat4(-0.17769523, 0.11805558, 0.1659212, 0.041927963, 0.078464985, 0.07504244, 0.09389066, 0.050142735, 0.10748948, -0.102326766, -0.24754792, -0.122868046, -0.11781918, -0.014019157, 0.049353566, 0.058935367) * go_2(1.0, 1.0); result += mat4(0.15844208, 0.04755972, 0.2995126, -0.21663505, -0.00011620265, -0.0920107, -0.022999357, -0.1296501, -0.15867265, -0.19909091, -0.19694586, -0.056097876, 0.07395912, 0.10025299, 0.25709102, -0.023848202) * go_3(-1.0, -1.0); result += mat4(-0.11322553, -0.09600812, -0.14286031, 0.14715615, 0.1812981, -0.010719141, -0.06493227, -0.02056335, -0.036782123, -0.16428772, -0.0257993, -0.413957, 0.22038403, 0.12777176, 0.07709192, -0.062658824) * go_3(-1.0, 0.0); result += mat4(-0.028069293, 0.06065116, -0.2580596, 0.1429641, -0.031438775, 0.15333374, 0.04029889, -0.2119529, 0.02965389, 0.011932767, 0.048941217, 0.052197248, 0.0069986824, 0.114639916, 0.23558734, 0.071952805) * go_3(-1.0, 1.0); result += mat4(-0.06488308, 0.09402183, 0.2945335, -0.0075379927, 0.23234147, 0.16486216, 0.075063676, -0.13243993, -0.07322842, -0.03335224, 0.10056115, -0.03634638, -0.039835792, 0.07942052, 0.011616743, -0.032830272) * go_3(0.0, -1.0); result += mat4(-0.07104258, -0.17667016, -0.21837749, -0.055763435, -0.6686622, -0.20883176, 0.2730452, 0.23990531, -0.029782413, -0.0098454505, -0.3267454, -0.13315259, 0.26045015, 0.06319506, 0.3368705, -0.057651937) * go_3(0.0, 0.0); result += mat4(-0.1651042, -0.0065184776, -0.07931902, -0.3233216, -0.17614277, -0.014422923, 0.12026072, 0.19844185, -0.16411425, -0.10423013, -0.14174505, -0.042299822, -0.013956158, 0.043245506, 0.28541192, -0.024170961) * go_3(0.0, 1.0); result += mat4(0.11822045, 0.13256907, 0.1145154, 0.20927152, 0.05685588, -0.13790809, -0.3190584, 0.1989516, 0.009066991, 0.2330579, 0.1995987, 0.11560573, -0.030923547, 0.087892644, 0.21597871, 0.03743619) * go_3(1.0, -1.0); result += mat4(-0.4099685, -0.020438893, -0.082362354, -0.06452889, 0.37881377, 0.10635464, -0.06538328, -0.38973767, 0.51307523, 0.11719936, 0.38153416, -0.34511742, -0.048716113, -0.018229034, -0.03832133, -0.05830876) * go_3(1.0, 0.0); result += mat4(-0.106022984, -0.014159266, -0.026645603, -0.038261224, 0.20721874, -0.040447287, 0.034983322, 0.14717588, -0.010929067, -0.16487508, -0.01462808, 0.10304265, -0.10781002, 0.023938116, 0.18254079, 0.004454827) * go_3(1.0, 1.0); result += mat4(0.021212364, 0.02463952, 0.20319557, 0.006853534, 0.01923601, -0.03024551, 0.16040856, 0.030991258, -0.069986686, 0.062546656, -0.031001838, -0.041288298, -0.1010596, 0.06939378, 0.23429441, -0.09559115) * go_4(-1.0, -1.0); result += mat4(0.06261205, -0.03705453, -0.18669654, -0.0181734, 0.11758142, 0.062471334, 0.19166726, 0.20650591, -0.15047501, 0.15895432, 0.049506746, 0.21445669, -0.103519544, 0.005469086, 0.0039006013, -0.27438062) * go_4(-1.0, 0.0); result += mat4(-0.080068275, 0.087389246, 0.063547224, 0.07317146, 0.06493674, 0.08251285, 0.19219737, 0.14406256, 0.0050070896, 0.08467077, 0.30765936, 0.13362816, -0.19590043, -0.0025648642, -0.02054509, -0.123127185) * go_4(-1.0, 1.0); result += mat4(0.035833023, -0.07591796, -0.07311685, -0.015659545, -0.1071422, -0.03163112, -0.15992196, -0.012923958, -0.2571729, -0.07938968, 0.0413156, -0.13006738, -0.15211388, 0.04415037, -0.05164996, 0.10922049) * go_4(0.0, -1.0); result += mat4(-0.01729037, 0.15696312, 0.24416976, -0.14139475, -0.113730945, -0.03231372, -0.030602036, 0.13402711, -0.4753809, -0.08170512, -0.22863603, 0.014114137, 0.11541584, -0.11207372, -0.6808578, -0.18360177) * go_4(0.0, 0.0); result += mat4(0.055491205, -0.12612139, -0.106761724, 0.012882862, 0.14926314, 0.091033846, 0.20083062, -0.0016588457, 0.20377177, -0.11680146, 0.10070291, 0.050298847, -0.06142294, -0.09137155, -0.0892819, -0.33678165) * go_4(0.0, 1.0); result += mat4(0.10703002, 0.084578834, -0.12851705, 0.060689818, 0.09584378, 0.08541435, -0.19049749, -0.06647584, 0.067393035, -0.07042473, -0.44782272, 0.077020116, 0.023799181, 0.13890763, 0.30552545, -0.099860385) * go_4(1.0, -1.0); result += mat4(-0.06843849, -0.06796385, -0.14991613, -0.10321344, 0.030656688, 0.01517565, -0.04451364, -0.14096247, 0.0616397, 0.104577266, 0.17183799, -0.33740512, -0.17921185, 0.13753828, 0.033225838, 0.033278663) * go_4(1.0, 0.0); result += mat4(0.07333974, -0.035097934, -0.099412724, 0.028803498, 0.0073889066, 0.04448838, 0.10087784, -0.10349331, -0.1748929, -0.023355793, 0.12004346, 0.060392488, 0.21111041, 0.02820841, -0.01905034, -0.060936175) * go_4(1.0, 1.0); result += mat4(0.1230735, -0.036640514, 0.14228842, 0.03674977, 0.18953583, 0.12063422, 0.278849, 0.011077689, -0.004723119, -0.085871086, -0.22208698, -0.05897798, -0.08820831, -0.055343833, -0.36630332, 0.061420467) * go_5(-1.0, -1.0); result += mat4(-0.08617953, 0.029824207, 0.012999008, 0.14653832, 0.091754906, -0.18726993, 0.15466972, 0.07520414, -0.09422507, 0.06285359, -0.05190847, 0.040111717, 0.06347725, -0.12677085, -0.25064456, 0.037838973) * go_5(-1.0, 0.0); result += mat4(0.024296625, 0.050277006, -0.0038943852, 0.22721657, 0.094200276, 0.13543595, -0.07011714, -0.0761234, 0.09904409, 0.040095594, 0.038246762, -0.088900656, -0.0994826, -0.07779853, -0.23548591, -0.011814277) * go_5(-1.0, 1.0); result += mat4(-0.11484334, 0.058457036, -0.14017995, 0.004168719, 0.280425, -0.0608683, -0.041607536, 0.18203874, -0.09708175, 0.010571225, -0.09521854, 0.10316223, 0.22425781, 0.012244434, 0.22746642, -0.14701338) * go_5(0.0, -1.0); result += mat4(-0.23617493, -0.17771423, -0.08029921, -0.17315923, -0.5219916, -0.20046392, -0.61504555, 0.097057335, -0.17237096, -0.12740523, -0.19614285, -0.0962008, 0.16025336, -0.061222732, 0.17753237, 0.17213206) * go_5(0.0, 0.0); result += mat4(-0.106579974, 0.049742647, -0.05126049, 0.029903352, 0.26753578, -0.060165133, -0.056066565, 0.061395545, 0.21733779, 0.08878832, 0.0326938, -0.021217436, 0.098148674, 0.032903112, 0.20047897, 0.26074448) * go_5(0.0, 1.0); result += mat4(0.0755034, 0.07197553, 0.1150647, 0.060213815, 0.02418587, -0.0068174214, 0.09854082, -0.06657632, -0.09059176, 0.06860972, 0.02102682, -0.08348747, 0.18531941, 0.01842052, -0.10409639, 0.10308704) * go_5(1.0, -1.0); result += mat4(0.23391157, -0.04221323, 0.0070946272, 0.22225508, -0.03986882, 0.21027099, 0.3479087, 0.078737445, 0.10444782, 0.14575955, 0.28820315, 0.028596792, 0.25995937, 0.170944, 0.0895069, -0.007549278) * go_5(1.0, 0.0); result += mat4(0.1333923, 0.057424176, 0.03997452, -0.070987694, -0.040175647, -0.106138796, 0.05134428, 0.17941214, 0.040890414, 0.047647286, 0.11145406, -0.064056404, -0.050256927, 0.1002497, 0.3559856, -0.20863442) * go_5(1.0, 1.0); result += mat4(0.1188355, -0.12645717, -0.2225628, -0.08409446, 0.031680476, 0.1285114, 0.015257031, 0.07314906, -0.21217677, -0.07397989, -0.09830523, 0.095247865, -0.17913309, 0.041592747, -0.2962181, -0.14066707) * go_6(-1.0, -1.0); result += mat4(-0.07401649, 0.04513353, -0.08079379, -0.2691485, 0.062272236, 0.018691711, -0.060476813, -0.06744648, 0.100468054, 0.023117458, -0.14244545, -0.3305552, 0.010295283, 0.16395009, 0.15042467, -0.034076292) * go_6(-1.0, 0.0); result += mat4(-0.3141746, -0.26248914, -0.027696338, -0.30070263, 0.09125419, -0.0014763775, -0.14756647, -0.17390263, -0.17403154, -0.04297874, -0.1500881, -0.15539391, 0.006197388, 0.023637652, 0.032611176, 0.048603363) * go_6(-1.0, 1.0); result += mat4(-0.07516776, -0.031942673, 0.07770739, 0.031496312, -0.0021692938, 0.056884985, 0.24546169, 0.003367791, -0.05033831, 0.028794305, 0.021211961, 0.33864278, 0.0031321745, -0.105278015, 0.0111407675, 0.0701436) * go_6(0.0, -1.0); result += mat4(0.1021264, 0.0061049256, 0.19486322, 0.126134, -0.095017105, -0.08792092, 0.02274828, 0.02951376, 0.48483998, 0.07009104, 0.38171777, 0.02422749, -0.12333685, 0.11261442, 0.16367728, 0.072420195) * go_6(0.0, 0.0); result += mat4(0.021734113, 0.21130675, -0.014667037, -0.007789671, -0.06846323, -0.117793076, -0.0964307, -0.02935036, -0.18294816, 0.059842993, -0.28913066, -0.102560386, 0.15000913, 0.032450397, 0.0988687, -0.085506015) * go_6(0.0, 1.0); result += mat4(0.19509225, 0.028781189, 0.09271222, -0.1837815, -0.0120801255, 0.026893526, 0.2693688, -0.0016265993, 0.0039579174, 0.18030784, 0.4051318, -0.21415327, -0.12954094, -0.119375914, -0.30373552, -0.055964008) * go_6(1.0, -1.0); result += mat4(-0.06313117, -0.32275942, -0.05000967, 0.20948593, 0.006625605, -0.02862116, 0.092328526, -0.0042809383, -0.22583593, -0.104118, -0.14766322, 0.3377656, 0.04367254, -0.21394794, -0.03967783, 0.04314833) * go_6(1.0, 0.0); result += mat4(-0.16170035, -0.09274618, -0.068409264, -0.23469074, 0.02216607, -0.020882646, -0.030780574, -0.032728698, 0.19974543, -0.038825467, -0.20880729, -0.026957387, -0.2665676, -0.0042840806, -0.17434914, -0.20162287) * go_6(1.0, 1.0); result += mat4(0.008706336, 0.24857536, 0.07012665, 0.029141488, -0.075971976, -0.06542143, -0.26977444, 0.28518954, -0.03994618, 0.06746459, 0.15960494, -0.031614818, 0.10402686, 0.05228521, 0.2706839, -0.08412449) * go_7(-1.0, -1.0); result += mat4(0.34868455, 0.059125874, -0.24923514, -0.14030626, -0.002206843, 0.17649965, 0.022088109, 0.16989319, 0.28018022, 0.037482813, 0.033881966, -0.110211805, -0.1461133, 0.100152865, 0.21151756, 0.12784961) * go_7(-1.0, 0.0); result += mat4(-0.0319395, -0.17589076, -0.22462021, 0.10701813, -0.06862374, -0.09489239, 0.22301264, 0.14567333, -0.10425317, -0.017173383, -0.09257967, 0.07398802, -0.0145952385, 0.18448386, 0.21701702, -0.16777204) * go_7(-1.0, 1.0); result += mat4(0.061221093, -0.05704288, -0.07676006, -0.052152745, -0.29757017, -0.041490067, 0.10110148, 0.06999996, 0.13920887, 0.096642986, 0.11759076, 0.039797485, -0.11345797, 0.08531267, 0.0020498617, 0.20756677) * go_7(0.0, -1.0); result += mat4(-0.02924768, 0.43140748, 0.3576708, 0.07425467, -0.09776612, 0.17081547, 0.047453757, -0.24676917, 0.24032865, 0.16710171, 0.2931733, 0.10410114, -0.015874937, -0.098303884, -0.38009295, -0.17355318) * go_7(0.0, 0.0); result += mat4(-0.13524444, 0.007712721, -0.15341945, 0.26658493, -0.15367007, 0.04757085, 0.05987942, 0.16386369, -0.2413242, -0.0129769435, -0.06789226, -0.10357101, 0.092468075, 0.11371365, -0.19948734, -0.14243089) * go_7(0.0, 1.0); result += mat4(0.118277036, -0.06164381, -0.1686405, 0.058012348, -0.2670688, -0.0145501625, -0.07265152, -0.11451649, 0.06803662, -0.02435205, 0.03637894, 0.053843852, 0.03652821, -0.10161457, -0.0029967225, 0.069967866) * go_7(1.0, -1.0); result += mat4(0.23541775, -0.059244093, -0.096260205, -0.034619953, -0.24691534, -0.22830355, -0.033745077, -0.06558064, -0.1939561, -0.27438363, -0.3102494, 0.010047581, -0.036287133, 0.015464844, -0.07904172, 0.058030576) * go_7(1.0, 0.0); result += mat4(-0.30107716, -0.1288575, -0.022093268, 0.27418026, 0.23561528, 0.11505671, 0.3549647, -0.13953236, 0.14726228, -0.0036342216, -0.14700253, -0.028157962, -0.23330247, -0.14545065, -0.29455653, 0.28482953) * go_7(1.0, 1.0); result += vec4(0.028692381, 0.02326062, -0.11377067, 0.025062647); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32 //!HOOK MAIN //!BIND conv2d_2_tf //!BIND conv2d_2_tf1 //!BIND conv2d_4_tf //!BIND conv2d_4_tf1 //!SAVE conv2d_5_tf1 //!WIDTH conv2d_2_tf.w //!HEIGHT conv2d_2_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.022938877, 0.2579751, -0.013084437, -0.1089233, -0.14861627, -0.078500114, 0.019642482, -0.05139565, -0.051909085, -0.17062944, 0.068744116, -0.07403651, 0.3269677, 0.17037666, 4.5802863e-05, -0.15335672) * go_0(-1.0, -1.0); result += mat4(0.07954113, 0.18079437, -0.28405085, 0.007825187, 0.20935248, 0.14544328, 0.033194635, -0.21030708, 0.32258448, -0.26704326, 0.16460042, 0.065626666, -0.08469482, 0.06723138, -0.09091223, -0.06205721) * go_0(-1.0, 0.0); result += mat4(0.17380527, -0.020091513, 0.0582957, -0.024271399, 0.18975389, 0.19778416, -0.29433975, 0.15521859, 0.58399194, -0.09595809, 0.009928574, -0.18851084, -0.29115897, -0.048134226, -0.09617586, 0.047225073) * go_0(-1.0, 1.0); result += mat4(-0.09309238, -0.07675889, -0.24878357, -0.06531893, -0.064129435, -0.009008467, 0.11631878, -0.06916144, 0.2793126, -0.32513165, 0.37253168, 0.036576062, 0.36744595, -0.04729552, -0.13206004, -0.05215635) * go_0(0.0, -1.0); result += mat4(-0.023187222, 0.0009231289, 0.14988932, 0.23626575, -0.15809236, 0.17567657, -0.02422277, -0.33645374, -0.41344398, 0.17103645, 0.3518877, 0.47345215, -0.25195712, 0.084660046, -0.12522705, 0.052872717) * go_0(0.0, 0.0); result += mat4(0.055161323, 0.043026455, 0.03779778, -0.08075425, -0.115782134, -0.014549669, 0.37075353, 0.22045816, -0.49088693, 0.0835494, 0.2159082, -0.41866717, -0.06417238, -0.30653054, 0.12484446, 0.13176875) * go_0(0.0, 1.0); result += mat4(-0.045149174, 0.06681547, 0.18394029, -0.14042361, -0.07765508, 0.05034044, -0.17164557, -0.12491487, 0.4975827, -0.3203176, 0.055334024, 0.125109, 0.336075, 0.28669038, 0.30557877, 0.030119808) * go_0(1.0, -1.0); result += mat4(0.00011821607, -0.122472174, -0.08324348, -0.027970925, -0.023000905, -0.099142514, -0.035895523, -0.08137834, -0.16044949, -0.19354698, -0.15582532, -0.081981316, 0.12961699, -0.1918534, 0.08779121, 0.12144554) * go_0(1.0, 0.0); result += mat4(0.025441505, 0.03427134, -0.0064664106, 0.07586567, -0.1003307, -0.065233536, -0.16611056, -0.12936847, -0.50816315, -0.32010305, -0.20362125, -0.03147093, -0.072087474, 0.054650743, -0.16390504, 0.019627476) * go_0(1.0, 1.0); result += mat4(-0.40184093, 0.022268726, -0.34950277, 0.0594148, -0.2275374, -0.12103956, 0.0052295276, -0.00024172834, 0.10389285, -0.1376218, -0.25130105, 0.14029239, -0.2917768, -0.14039762, -0.14850211, 0.035800025) * go_1(-1.0, -1.0); result += mat4(0.062030964, 0.25622177, -0.72319925, 0.15366316, -0.183584, 0.36516508, -0.23446779, 0.08663755, -0.18829858, -0.002415918, -0.43276885, -0.07432367, -0.16350701, -0.3125193, -0.14811535, 0.0011325915) * go_1(-1.0, 0.0); result += mat4(0.12557262, 0.20273705, -0.276058, -0.02353762, -0.066855654, 0.007290285, 0.043816283, -0.08797092, 0.12488218, -0.0654431, -0.019331945, -0.07025083, -0.24953426, -0.10457234, -0.14429206, -0.06647885) * go_1(-1.0, 1.0); result += mat4(-0.09522532, 0.076986365, -0.21861225, -0.015553463, -0.08106973, 0.10615721, -0.11285844, 0.24737634, 0.16936691, -0.019318739, -0.11046508, -0.16758144, -0.23672962, -0.14047794, -0.055881936, -0.0519727) * go_1(0.0, -1.0); result += mat4(-0.09556547, 0.38048413, 0.2174768, -0.40154982, 0.040295098, -0.28001946, 0.079922006, -0.27905703, 0.036086317, -0.47458485, 0.01217378, 0.047201037, -0.14604184, 0.14169596, -0.078762196, 0.39877397) * go_1(0.0, 0.0); result += mat4(-0.043790977, 0.03552704, 0.7248381, -0.50752306, 0.28982326, -0.11697283, -0.061339833, 0.19690266, 0.044057723, 0.061007652, -0.018818501, -0.22131611, -0.32041064, 0.05665662, 0.07443633, -0.15590373) * go_1(0.0, 1.0); result += mat4(-0.036357548, 0.099011496, -0.0600166, -0.006672921, -0.1656192, -0.058472272, -0.037689343, 0.005283873, -0.30923024, 0.046291128, 0.042236008, -0.04899875, -0.3175488, -0.12077662, -0.13294365, 0.03357164) * go_1(1.0, -1.0); result += mat4(0.1086259, -0.19654356, 0.07482405, 0.028583387, 0.12874746, 0.13142939, -0.03945759, 0.070535645, -0.23495245, -0.039286736, 0.05450344, -0.026803093, -0.114840984, 0.045042433, -0.18101883, 0.08081232) * go_1(1.0, 0.0); result += mat4(0.2383998, -0.033481326, 0.12682496, 0.17717046, -0.09860243, 0.09552485, -0.056021366, 0.13705646, 0.2192259, 0.2657086, -0.014578617, -0.05311957, -0.3127505, -0.0035301214, 0.044448815, -0.037845958) * go_1(1.0, 1.0); result += mat4(-0.093362145, -0.08148622, 0.12565112, -0.019403974, -0.13835338, -0.0071526463, 0.1290535, -0.057555214, 0.09632061, -0.053040132, 0.09852903, -0.03910937, -0.032320388, 0.048392795, -0.012207167, -0.04393196) * go_2(-1.0, -1.0); result += mat4(0.057860725, -0.2024194, 0.29320854, -0.10589582, -0.10735796, 0.13684767, 0.28570637, 0.19166973, -0.09423759, 0.22893463, -0.114109, -0.025798064, 0.017444948, 0.11321059, 0.16112305, 0.04476502) * go_2(-1.0, 0.0); result += mat4(-0.09663057, 0.10491212, -0.0963407, -0.1480959, -0.04952603, -0.08474395, -0.028124198, -0.12026459, 0.088296264, 0.03230017, -0.05177514, -0.024137117, -0.011235952, -0.049136978, 0.1452754, 0.11608158) * go_2(-1.0, 1.0); result += mat4(0.07949651, 0.06453834, 0.31745693, -0.03497614, -0.20939794, -0.042127363, 0.017483925, -0.12876181, -0.0162109, -0.037397776, -0.013959519, 0.007777444, 0.1301563, 0.03655948, -0.044273265, -0.069461495) * go_2(0.0, -1.0); result += mat4(0.076347195, 0.07847409, -0.03042475, -0.08723051, 0.23076174, -0.078408934, 0.40998375, 0.021870123, 0.19212195, 0.14179486, 0.09031163, -0.15221268, 0.20335157, -0.58715457, -0.023486411, -0.015180159) * go_2(0.0, 0.0); result += mat4(-0.08601226, -0.048167598, -0.09975146, 0.008574901, 0.11590632, 0.0836411, -0.20796347, -0.29599068, -0.08497977, 0.04826079, -0.198501, 0.31000587, 0.06959842, 0.026950095, 0.19877516, -0.23890266) * go_2(0.0, 1.0); result += mat4(-0.06923031, -0.028005023, -0.13632496, 0.004848759, -0.06092114, -0.12422374, 0.117385164, -0.017468572, -0.028347377, 0.002899302, 0.046875317, -0.058066733, 0.0028499789, -0.11922645, -0.209848, -0.016156359) * go_2(1.0, -1.0); result += mat4(0.05266488, 0.08492771, 0.09440972, -0.08432919, -0.05243905, 0.1362437, -0.04429104, 0.11472059, -0.05158979, -0.23943315, 0.12290304, 0.040338255, -0.07158117, 0.06566732, -0.20102906, 0.114058346) * go_2(1.0, 0.0); result += mat4(0.056619167, -0.033348348, 0.052370623, -0.06495122, 0.027564008, 0.08083595, -0.0127976, -0.06486138, -0.050432798, 0.026196232, 0.022196831, 0.20244269, 0.039577875, -0.052140575, -0.009956325, 0.077953376) * go_2(1.0, 1.0); result += mat4(0.017136047, -0.15870284, -0.07191247, 0.18083136, 0.20753674, 0.15130065, -0.1790816, 0.26776645, -0.12231414, 0.24638735, -0.14738652, -0.028907528, 0.040832903, -0.067194805, 0.17294602, -0.0026166802) * go_3(-1.0, -1.0); result += mat4(0.10104892, -0.018738149, -0.073060036, -0.29469725, 0.092650965, -0.15875727, -0.08502473, 0.032668564, -0.13845024, 0.27037326, -0.19944431, 0.039671347, -0.04895266, -0.017618237, 0.039025962, 0.0016598356) * go_3(-1.0, 0.0); result += mat4(0.17514467, -0.07050378, 0.18666385, 0.12077226, 0.031181589, -0.21891394, 0.44564912, -0.14018096, -0.124896295, -0.0016302528, 0.03213462, 0.11361923, -0.07941629, -0.0925229, -0.084085576, 0.030316519) * go_3(-1.0, 1.0); result += mat4(-0.35773918, -0.059806474, -0.0020904322, 0.19435045, -0.10230651, -0.007758403, -0.23293154, -0.32158864, -0.11275798, 0.16192111, 0.008352999, -0.008750009, 0.09212086, -0.09098618, -0.26915243, 0.03357177) * go_3(0.0, -1.0); result += mat4(0.09943201, 0.1901531, -0.026349293, 0.17466106, -0.10673977, 0.2547749, 0.10157686, 0.1326886, 0.03555933, 0.36037236, -0.4218841, 0.07446364, -0.2235149, -0.13361512, -0.24873514, -0.23566855) * go_3(0.0, 0.0); result += mat4(-0.083322965, 0.067394584, -0.15775509, 0.76516485, -0.40491992, 0.051136486, -0.21803752, -0.12209488, 0.043623567, 0.0404948, -0.28643316, 0.039587826, 0.0026148176, -0.08919038, -0.3478394, 0.116790466) * go_3(0.0, 1.0); result += mat4(0.13910362, 0.023986172, 0.07350453, 0.010063174, 0.12445804, 0.09106235, 0.10570027, 0.025098123, 0.08997035, 0.2792279, 0.3160799, -0.3935213, 0.035729084, -0.021334067, -0.026267715, -0.044499733) * go_3(1.0, -1.0); result += mat4(0.20421049, 0.07346835, 0.18474397, 0.026174849, -0.02989818, -0.06286323, 0.2275253, -0.029805843, 0.115734585, 0.15343104, 0.66103226, 0.075917505, -0.10288058, -0.021190342, 0.04455335, -0.011274376) * go_3(1.0, 0.0); result += mat4(-0.2354359, -0.14831413, 0.037986103, 0.036590938, 0.25972295, 0.006108503, 0.030833008, -0.20212393, 0.022195943, -0.010900623, 0.37299496, -0.13169637, 0.03193699, 0.007832017, -0.017574975, 0.070344575) * go_3(1.0, 1.0); result += mat4(-0.11885056, -0.18644641, 0.17840427, -0.13825245, -0.030942062, 0.015069156, 0.021639956, 0.11524744, -0.0601021, -0.008369759, 0.15134856, -0.18300958, -0.09940503, 0.009815146, -0.017253477, 0.09037604) * go_4(-1.0, -1.0); result += mat4(-0.110104315, -0.009834152, -0.14369361, 0.06185118, -0.08255751, -0.0516039, -0.1951323, -0.00047362587, 0.017227406, -0.15231636, -0.042297862, -0.047925126, 0.34693977, 0.061454788, -0.11192555, 0.16597812) * go_4(-1.0, 0.0); result += mat4(-0.15342343, 0.10931233, -0.007310907, -0.07751543, -0.0888511, -0.08119914, -0.1414023, -0.032593522, -0.13005419, -0.09993501, 0.20015062, -0.08697108, 0.020872341, -0.076239474, -0.09099305, -0.11908446) * go_4(-1.0, 1.0); result += mat4(-0.044990964, -0.027314631, -0.07820695, 0.078159526, 0.042958725, 0.088754624, -0.049424402, 7.2685914e-05, -0.00056504336, -0.05408936, 0.24272163, -0.10305403, 0.041021567, 0.110585794, 0.10719972, 0.08432359) * go_4(0.0, -1.0); result += mat4(-0.095741525, 0.12368431, 0.14801304, 0.0380265, -0.015476223, -0.06634335, 0.079489276, 0.058822274, 0.23608524, 0.29305235, -0.009837359, 0.16402614, -0.016570859, 0.3342296, 0.09576365, -0.021151496) * go_4(0.0, 0.0); result += mat4(0.10729588, 0.045816828, 0.1262373, 0.0052509876, -0.121602945, -0.055951986, 0.04807077, -0.016409213, -0.011724864, 0.051216003, -0.119300105, 0.06001936, 0.084430665, -0.020765483, 0.16509366, -0.008958939) * go_4(0.0, 1.0); result += mat4(-0.064694576, 0.110651545, 0.15088093, -0.046932697, 0.058936216, 0.06959351, -0.0020466733, 0.04747578, 0.22621915, 0.13449503, 0.01605113, 0.16042295, -0.07204144, -0.0900099, -0.088417225, -0.082057305) * go_4(1.0, -1.0); result += mat4(0.16447057, -0.04517711, -0.1714595, -0.083775364, 0.06958718, -0.053486623, -0.031540155, 0.0049946113, 0.18206403, -0.12547323, -0.1314431, -0.2403156, 0.11255935, -0.01883286, 0.21715029, 0.043270845) * go_4(1.0, 0.0); result += mat4(0.108898625, 0.079559706, -0.0034652199, 0.15574843, 0.025981857, -0.04027031, -0.10371948, -0.083748214, -0.067730375, -0.018392408, 0.001656431, 0.115139425, -0.021774331, -0.24732396, -0.07133477, -0.06610868) * go_4(1.0, 1.0); result += mat4(-0.035133053, 0.03512937, 0.15728034, 0.15501308, -0.009090469, 0.089557186, -0.40637708, 0.2399038, 0.10503285, 0.025647165, -0.026959898, 0.052915934, 0.37169585, 0.19439524, 0.05578172, -0.14021298) * go_5(-1.0, -1.0); result += mat4(0.14407758, 0.13171129, 0.034860328, -0.034273557, 0.31252018, -0.24374081, -0.092568725, -0.24656439, 0.013929443, -0.045619074, -0.030720312, -0.08240126, -0.008946209, -0.12069562, 0.10321105, 0.050253898) * go_5(-1.0, 0.0); result += mat4(-0.16870415, -0.0053623654, -0.24239568, -0.015851695, 0.3168152, 0.10030775, -0.08809818, 0.19916728, 0.00062866835, 0.0105750095, -0.11852275, -0.038046032, -0.024067584, -0.07467565, 0.08368766, 0.10921712) * go_5(-1.0, 1.0); result += mat4(-0.17414445, -0.08300633, -0.2915034, 0.08091456, 0.29668987, 0.15542515, 0.03857886, -0.12984616, 0.07567486, 0.14261106, 0.029647684, -0.08307407, 0.0063827154, -0.21285148, -0.05295185, 0.11996014) * go_5(0.0, -1.0); result += mat4(0.21793848, -0.0986422, -0.38136294, -0.15358298, 0.23020543, -0.05977532, -0.11393491, -0.096013635, 0.24110852, 0.16509794, 0.123878606, 0.37243974, -0.11803778, -0.08029274, -0.3473595, -0.016619613) * go_5(0.0, 0.0); result += mat4(-0.23718977, 0.09085187, 0.029400716, 0.47734168, 0.31362626, 0.017727366, 0.020105481, 0.057455037, -0.051743355, 0.07249409, 0.049400017, -0.1550629, -0.071846515, -0.1437987, 0.2417953, 0.014299535) * go_5(0.0, 1.0); result += mat4(-0.08694347, 0.009841694, 0.09711932, 0.15246062, 0.098932154, -0.014437434, -0.11970662, 0.07598205, 0.038751386, 0.03185043, -0.07837853, 0.108438924, 0.04504558, 0.011566745, 0.008329154, 0.1426964) * go_5(1.0, -1.0); result += mat4(0.048465043, 0.05677615, 0.099296875, -0.18124029, -0.010807039, -0.00491463, -0.33124956, -0.14285894, 0.083550416, -0.0138887465, -0.23193465, -0.097341135, 0.028116707, -0.02220312, -0.37721866, 0.01048504) * go_5(1.0, 0.0); result += mat4(0.041770935, 0.14585412, 0.2197504, 0.08920772, 0.21015723, -0.028688433, 0.023897428, 0.067301795, -0.23041755, 0.007535018, -0.1479986, -0.056359813, -0.17258057, -0.115048505, -0.12676053, -0.08775268) * go_5(1.0, 1.0); result += mat4(0.024465568, 0.082423724, -0.080443636, 0.06963394, 0.047642346, -0.14285465, -0.020962767, -0.09884441, 0.17492405, 0.003157105, -0.004446115, 0.08194303, 0.1291698, 0.027452087, 0.15300538, -0.054447226) * go_6(-1.0, -1.0); result += mat4(0.04749992, 0.16784605, 0.1447426, -0.1622565, 0.24699093, -0.13908885, 0.24418731, -0.02740722, 0.12872131, -0.008208542, 0.20528013, 0.13789995, -0.15344016, -0.09991068, 0.14630906, -0.17380811) * go_6(-1.0, 0.0); result += mat4(0.095947415, 0.20968701, -0.007149529, 0.094800524, 0.05043026, -0.0693885, 0.12464035, 0.03035088, 0.0108456295, 0.12440731, -0.15677981, -0.004279606, -0.21148744, -0.0016452523, -0.09077341, 0.08485625) * go_6(-1.0, 1.0); result += mat4(0.14946367, -0.026544122, -0.01740767, -0.02725897, -0.031115597, -0.09615934, -0.014224658, 0.069897555, -0.06448997, 0.013844944, -0.24855709, 0.19252767, -0.07110074, -0.23129512, 0.17940485, -0.15197137) * go_6(0.0, -1.0); result += mat4(0.024190446, -0.4131039, 0.20890464, -0.14430898, 0.09224411, -0.084142424, -0.1300263, -0.12037812, -0.13061382, -0.23952286, 0.3093258, -0.4347307, -0.07327249, -0.34333092, -0.22807422, -3.587411e-08) * go_6(0.0, 0.0); result += mat4(-0.12566617, 0.09386748, -0.060595963, 0.06381177, 0.008107327, -0.063545115, 0.014224591, -0.113904804, 0.014311766, 0.074355006, 0.009707868, 0.06504525, -0.035151925, -0.059292633, -0.009372453, 0.0428329) * go_6(0.0, 1.0); result += mat4(0.13565753, 0.08438446, -0.25228864, 0.29451725, -0.1524786, -0.05199007, -0.14514388, -0.007710791, -0.23031662, -0.069889344, -0.119042754, -0.15772636, 0.049727075, 0.14252858, 0.12696588, 0.034571454) * go_6(1.0, -1.0); result += mat4(-0.318517, 0.16518372, 0.4465158, -0.12741676, -0.14931186, 0.01184804, -0.12370663, -0.05469679, -0.052085515, 0.07560356, 0.038580637, 0.101390935, -0.10760684, -0.09168702, -0.11736598, -0.027629623) * go_6(1.0, 0.0); result += mat4(0.017697498, -0.032091524, -0.19681352, -0.39446026, -0.103161484, -0.041192908, 0.12083361, 0.033441972, 0.05410027, -0.13009293, -0.029752202, -0.055233393, 0.07508266, 0.21648347, 0.016127443, 0.003726564) * go_6(1.0, 1.0); result += mat4(0.11844395, -0.20417796, 0.046860386, -0.04963335, 0.28758386, 0.12296038, 0.006130141, -0.12428727, -0.08112634, 0.08013286, -0.022072678, -0.013939199, -0.26830623, -0.0774501, -0.12584007, 0.1048961) * go_7(-1.0, -1.0); result += mat4(-0.002199185, -0.18720287, 0.09647677, -0.099159345, -0.37042502, 0.12126858, -0.055984303, -0.006307439, 0.050587848, 0.13118829, 0.014796261, 0.118981615, 0.059268136, 0.04953137, -0.26783678, -0.005206253) * go_7(-1.0, 0.0); result += mat4(0.29162773, -0.06825134, 0.35480535, -0.013254458, 0.13690558, -0.038092773, -0.1442183, 0.008582979, 0.06665567, 0.09263725, 0.06401897, 0.04955423, 0.026602494, -0.043426443, -0.06760424, -0.028097454) * go_7(-1.0, 1.0); result += mat4(0.0062063616, 0.041832373, 0.026989486, 0.07646448, -0.075214215, -0.04088086, 0.030253297, -0.0031407007, 0.10060057, -0.21035422, -0.0057072476, 0.009671492, -0.01255018, 0.1356472, -0.07203105, -0.09337885) * go_7(0.0, -1.0); result += mat4(-0.16497216, -0.46643725, 0.10457678, -0.08723099, 0.009856483, -0.09712093, -0.06077413, 0.029142302, -0.31294492, -0.2785737, -0.06385234, -0.46307138, 0.11363836, 0.050526526, 0.22832777, -0.037936512) * go_7(0.0, 0.0); result += mat4(0.2284257, -0.06757494, -0.12362806, -0.46540114, -0.027965, -0.119273104, -0.04408465, -0.08089625, 0.064668186, 0.18018429, -0.052782137, 0.2974697, 0.07583212, -0.062142026, 0.16650566, -0.20243031) * go_7(0.0, 1.0); result += mat4(0.1417323, 0.18362466, 0.015461011, -0.07306669, 0.05225903, 0.03313784, 0.046318106, 0.092073604, 0.014854908, -0.009204208, 0.08582702, -0.060514253, -0.033618286, -0.082627475, -0.047510605, -0.17358147) * go_7(1.0, -1.0); result += mat4(0.044509146, 0.18667401, -0.11588646, 0.21190381, 0.13762853, -0.080344714, 0.035992276, -0.09347646, -0.05722154, -0.020241026, 0.09365893, 0.0743754, 0.028774736, -0.09181784, 0.117522955, 0.024451857) * go_7(1.0, 0.0); result += mat4(0.33748287, 0.33612773, -0.14045207, -0.11222517, -0.11824314, 0.008339795, -0.13027953, 0.011434568, 0.20478332, 0.084446914, 0.10224658, 0.12708066, 0.3002674, 0.13365488, -0.06434799, -0.0489962) * go_7(1.0, 1.0); result += vec4(0.06834564, 0.017679863, 0.058996353, 0.07812309); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x32 //!HOOK MAIN //!BIND conv2d_2_tf //!BIND conv2d_2_tf1 //!BIND conv2d_4_tf //!BIND conv2d_4_tf1 //!SAVE conv2d_5_tf2 //!WIDTH conv2d_2_tf.w //!HEIGHT conv2d_2_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.096992515, 0.08555787, 0.05567075, 0.3684235, -0.08453214, 0.14874797, -0.03518968, -0.21077682, 0.50580394, 0.27776504, -0.14072414, -0.047293838, -0.02501663, -0.18525644, -0.049244765, -0.019314952) * go_0(-1.0, -1.0); result += mat4(0.15942743, 0.05601269, 0.43267244, -0.10105792, -0.10224665, -0.011477545, 0.18586546, 0.15386245, 0.018015172, 0.40642846, -0.43969464, -0.16773906, -0.08753851, 0.023862977, -0.20476931, -0.19330433) * go_0(-1.0, 0.0); result += mat4(-0.08384181, -0.21928434, 0.24617073, 0.072414346, 0.01447392, 0.1280031, 0.26045907, -0.34674746, -0.06659609, 0.5437911, -0.2481379, -0.4408586, -0.02065628, 0.35024786, -0.43344817, -0.23969968) * go_0(-1.0, 1.0); result += mat4(-0.26318234, -0.17276719, -0.27381238, 0.43724668, 0.1250605, 0.26279348, -0.1950965, 0.030116973, 0.22524981, -0.82836837, -0.37731346, -0.20764303, 0.082648724, 0.28439602, 0.2835361, -0.22858605) * go_0(0.0, -1.0); result += mat4(-0.11053296, -0.18050304, -0.10785215, -0.5128143, -0.10638461, -0.18107837, -0.14984047, -0.31184852, 0.1233967, -0.5248787, 0.625766, -0.3261744, -0.33758238, -0.42288753, -0.24827915, 0.46629912) * go_0(0.0, 0.0); result += mat4(0.05450445, 0.24746427, -0.12228202, 0.08459498, 0.21182795, -0.15472144, -0.20880555, -0.08567581, -0.06358891, 0.04441746, -0.24661979, -0.3056718, -0.011843654, 0.02622977, -0.30063242, 0.069148876) * go_0(0.0, 1.0); result += mat4(0.10252986, 0.24974889, -0.14753763, -0.11542639, -0.02504192, 0.167707, -0.19300954, -0.28126183, 0.16349459, -0.39749804, -0.21315983, -0.3632333, 0.25346163, 0.011594266, 0.22163333, -0.36140066) * go_0(1.0, -1.0); result += mat4(0.084694065, -0.15232442, 0.15100913, 0.258049, -0.16647953, -0.057295427, -0.2734653, 0.19444938, -0.543564, 0.1580093, -0.08364827, 0.39013955, 0.09799076, -0.28022006, 0.4436997, -0.007523592) * go_0(1.0, 0.0); result += mat4(0.16044939, -0.16409683, -0.036102563, -0.045212515, 0.013765079, 0.16512275, -0.34618682, 0.15582882, -0.26858786, 0.11227446, -0.69422704, 1.0182123, 0.56721294, -0.27683023, -0.44450805, -0.056621786) * go_0(1.0, 1.0); result += mat4(-0.005846392, -0.1002789, -0.11597346, 0.29757038, -0.3303294, -0.1128059, -0.16792095, -0.017062422, -0.20550682, -0.101541616, 0.1326292, -0.05803425, -0.1431525, 0.09539495, -0.0020564438, -0.015330874) * go_1(-1.0, -1.0); result += mat4(-0.03305593, 0.30911654, -0.013541906, -0.03935406, -0.021767953, 0.033086017, -0.032538854, 0.29394448, -0.5953677, 0.042400517, -0.083737336, 0.35759467, -0.19653685, -0.0024307214, -0.022875965, 0.23306265) * go_1(-1.0, 0.0); result += mat4(0.035584986, -0.08059428, 0.34352207, 0.1548032, 0.22265454, -0.09850938, 0.059585627, 0.13525864, -0.15460324, -0.12443778, -0.0065347757, 0.008565568, -0.09459641, -0.036760993, -0.16726579, 0.08680428) * go_1(-1.0, 1.0); result += mat4(8.5111475e-05, 0.2236033, 0.17141129, -0.23127146, 0.15972026, 0.34908256, 0.26294386, 0.13128816, -0.16243693, 0.15757012, -0.22409199, -0.12647703, -0.18430239, 0.20520009, -0.02374801, -0.16203757) * go_1(0.0, -1.0); result += mat4(0.22832601, 0.34606495, 0.11871914, -0.020249737, 0.21807198, -0.4782955, 0.27529162, -0.17565349, 0.038051367, -0.40700185, -0.2975774, -0.5380789, -0.004458205, -0.039739095, -0.19442874, -0.10650714) * go_1(0.0, 0.0); result += mat4(0.25389373, -0.21592398, 0.46637633, 0.29954398, 0.011773476, 0.34604436, 0.015194187, 0.088156946, -0.07462061, -0.1797378, 0.24949403, 0.12773448, 0.04304656, 0.025975281, -0.0071224314, 0.10722792) * go_1(0.0, 1.0); result += mat4(-0.021214327, 0.18125464, 0.09782468, 0.11554455, -0.10773687, 0.03764718, -0.07123926, 0.42674774, 0.15713947, 0.13268334, 0.2590209, 0.5615417, -0.10444575, 0.050965227, -0.1657652, -0.028306652) * go_1(1.0, -1.0); result += mat4(0.07891638, 0.10982218, 0.18858793, 0.088180885, 0.21412432, 0.17309621, 0.13349771, -0.06536336, 0.2537686, 0.028627483, 0.2291187, -0.16728498, -0.0649568, -0.21011665, 0.12501954, 0.16584753) * go_1(1.0, 0.0); result += mat4(0.37670746, -0.06669131, 0.2308896, -0.27846798, 0.03864727, -0.2396756, 0.20961864, -0.0955574, -0.17304963, 0.006572388, 0.4152245, -0.16013862, -0.048539825, -0.040141087, -0.17446917, 0.172646) * go_1(1.0, 1.0); result += mat4(0.016411193, -0.24965028, -0.3197888, -0.15805353, 0.062157832, -0.07450992, 0.14774385, 0.019989528, -0.22329696, 0.07624211, 0.119352184, -0.12926702, 0.014121515, 0.04892924, -0.10143942, 0.1218296) * go_2(-1.0, -1.0); result += mat4(-0.027942078, -0.21344666, 0.090950675, -0.017026879, -0.06316872, -0.17956391, 0.14474703, -0.12104946, 0.07770245, -0.11934515, 0.03306196, 0.08028085, 0.0807563, -0.09477622, 0.03688184, 0.031241085) * go_2(-1.0, 0.0); result += mat4(0.058301553, 0.17516647, -0.1356353, -0.15869999, -0.06487614, -0.17825274, -0.28164253, 0.12063855, 0.14051922, 0.06572677, 0.24797052, -0.26174536, -0.014646216, -0.021676809, 0.102138005, 0.07929566) * go_2(-1.0, 1.0); result += mat4(0.24743414, -0.07182416, -0.12567408, -0.57571995, -0.018107418, 0.27796823, -0.08527231, -0.18019378, 0.060446773, 0.10802219, 0.13173679, 0.1200748, 0.18567154, 0.19163565, -0.057419125, -0.24488002) * go_2(0.0, -1.0); result += mat4(-0.0064926744, -0.35516098, 0.21456684, -0.07162182, -0.11187953, 0.11901505, 0.36913052, -0.019030696, -0.24774994, -0.026328832, 0.121998094, 0.20425063, -0.04413792, 0.16391441, -0.06149749, -0.5538841) * go_2(0.0, 0.0); result += mat4(0.12691425, 0.011305395, -0.057030205, -0.029743116, -0.11666209, 0.20812204, 0.07555653, 0.011672403, 0.13864042, -0.08993008, -0.08202476, 0.12926434, 0.45806012, -0.0038320064, -0.02397306, 0.25906637) * go_2(0.0, 1.0); result += mat4(-0.05215719, -0.2567637, -0.028009133, 0.12884264, -0.03538685, -0.14153866, -0.18635908, 0.3127351, -0.06493799, 0.11058845, 0.039282236, -0.089117266, -0.20289995, 0.16836898, -0.2553091, 0.3781839) * go_2(1.0, -1.0); result += mat4(-0.038994674, 0.15095948, 0.010665794, -0.16193166, 0.029675307, 0.067519955, 0.014059612, -0.10524365, 0.22133544, -0.17850679, 0.17689049, -0.079176724, 0.140001, -0.106958285, -0.054205164, -0.063518755) * go_2(1.0, 0.0); result += mat4(-0.0147742275, -0.02825343, -0.17911723, -0.033807088, -0.032546505, 0.07845434, -0.10618929, -0.24304347, 0.08031239, -0.081033856, 0.11696929, 0.30320054, -0.30589563, 0.025857087, 0.19169633, -0.21005262) * go_2(1.0, 1.0); result += mat4(0.08359386, 0.29936704, 0.16312078, 0.21463135, 0.08171467, -0.1238904, 0.21628477, 0.20026375, -0.022520576, -0.09336571, 0.112078905, -0.11331715, 0.009337522, -0.050099798, -0.18231672, -0.020947263) * go_3(-1.0, -1.0); result += mat4(-0.030812407, 0.111476146, 0.5977092, 0.13000198, -0.010192378, 0.054949045, 0.22067606, -0.2215171, -0.016222132, 0.10579395, 0.10758011, -0.009829448, -0.055121887, -0.018792551, -0.41590548, -0.04133538) * go_3(-1.0, 0.0); result += mat4(0.080052584, 0.044864707, 0.106742695, -0.119988576, -0.21180773, 0.21859854, -0.30558732, 0.031225171, -0.1221141, -0.1679698, 0.19237423, 0.18212804, -0.019355904, 0.04471777, -0.4626242, 0.08120199) * go_3(-1.0, 1.0); result += mat4(0.04417224, 0.22517249, 0.18053815, 0.2189462, -0.3901049, 0.12456932, 0.046451665, 0.027453724, -0.21874383, -0.28369403, 0.38541645, 0.15896674, 0.07901438, -0.11870142, -0.23583438, -0.21800627) * go_3(0.0, -1.0); result += mat4(0.16514415, 0.48851582, 0.17654735, -0.32523116, 0.28139102, 0.32789868, 0.0060704425, -0.08439404, -0.19455875, 0.3426219, 0.1354883, 0.13480486, -0.047210373, 0.009763648, 0.10380663, -0.14301018) * go_3(0.0, 0.0); result += mat4(-0.01964344, -0.22196314, 0.27099127, -0.3624297, -0.19935602, -0.57573617, 0.05781204, 0.34769946, -0.1655793, -0.31260255, -0.006191821, -0.14188464, -0.048039295, 0.016876832, 0.044305492, 0.11576497) * go_3(0.0, 1.0); result += mat4(0.031500664, 0.213127, 0.040512875, -0.14993736, 0.1355947, 0.098466784, 0.2576776, -0.12359301, -0.095675476, 0.10758078, 0.15866314, 0.24855627, 0.01722974, 0.05124147, -0.2743417, 0.039515547) * go_3(1.0, -1.0); result += mat4(0.2946348, 0.100007325, -0.06735624, 0.05319054, 0.19419125, 0.019504784, 0.07159323, 0.21550444, -0.19059516, 0.1583541, 0.3195432, -0.14882845, 0.06771776, -0.032769382, -0.08348987, 0.0024430798) * go_3(1.0, 0.0); result += mat4(-0.05275983, 0.0034397016, -0.11966796, 0.12378445, 0.17581114, 0.13944638, 0.019923829, -0.031624325, -0.021019042, -0.16827096, -0.046106737, -0.06353076, 0.05943962, -0.20756234, 0.042654432, 0.13294446) * go_3(1.0, 1.0); result += mat4(-0.042804338, 0.0009211868, -0.23128751, -0.14900532, 0.020116998, -0.129845, -0.26453322, 0.12563406, -0.015730144, 0.18961458, -0.2286719, -0.26802087, -0.0013182014, -0.08829011, -0.022237033, 0.18785976) * go_4(-1.0, -1.0); result += mat4(0.068006374, 0.03713224, -0.17821713, 0.078400075, -0.03354765, 0.05032715, -0.22770362, 0.082578026, -0.164677, 0.010397865, 0.040545795, -0.07767106, -0.04931102, -0.020216117, 0.19189319, -0.07949725) * go_4(-1.0, 0.0); result += mat4(-0.02560599, -0.014282298, -0.30485487, 0.12205604, 0.13143952, -0.020973703, -0.60740465, 0.18116136, -0.028516186, -0.09175719, -0.3332597, 0.0993698, 0.011291339, -0.018563187, -0.04645049, 0.1537859) * go_4(-1.0, 1.0); result += mat4(-0.19548458, 0.008757838, -0.022760604, 0.056750417, 0.10407769, -0.103828914, -0.30039603, 0.15838397, 0.14583376, 0.14352289, 0.5236325, -0.22845235, 0.024826096, -0.15084279, -0.11028316, 0.3162365) * go_4(0.0, -1.0); result += mat4(-0.27014557, -0.14510567, 0.13275504, -0.04220442, 0.073360756, 0.09062856, 0.25474098, 0.036567308, 0.029930808, -0.07118475, -0.38858262, 0.24752647, 0.18212575, 0.05463796, 0.2687639, -0.49617207) * go_4(0.0, 0.0); result += mat4(-0.19640562, 0.101908855, 0.17502995, -0.042161964, 0.05290567, -0.025675468, -0.17403199, 0.09100326, 0.010622265, 0.044125065, -0.21804531, -0.1000515, 0.09555498, -0.042056557, 0.30270827, -0.110502906) * go_4(0.0, 1.0); result += mat4(-0.015954453, 0.18156542, -0.026816932, 0.040066455, -0.041097276, -0.036309887, -0.27080503, -0.046121623, 0.2809894, 0.15110923, -0.051393576, -0.09357936, -0.110129625, -0.0112814475, -0.67396337, -0.045809776) * go_4(1.0, -1.0); result += mat4(0.030026576, 0.31455976, 0.2093852, 0.07049524, 0.087148614, 0.04378545, -0.23404805, -0.21867152, 0.0780137, -0.3653028, 0.04958755, -0.24105056, -0.005830701, 0.14313154, 0.014666525, -0.12205944) * go_4(1.0, 0.0); result += mat4(0.041753422, -0.029019587, 0.28341058, -0.11360368, -0.04306824, -0.022564419, -0.25620422, -0.07497915, -0.027317826, 0.014858011, -0.20636855, -0.34799644, -0.09822817, 0.11054621, 0.048805986, 0.28068805) * go_4(1.0, 1.0); result += mat4(0.04645007, 0.20781171, -0.022659602, -0.16183186, 0.043681737, -0.016835278, -0.56000787, 0.25379097, -0.04654751, -0.009801681, 0.51817185, -0.28172117, -0.09141667, 0.004477492, 0.3877909, -0.25990424) * go_5(-1.0, -1.0); result += mat4(-0.05770895, -0.32386646, 0.12786265, 0.25714403, -0.15705961, 0.042209778, 0.27720693, -0.31767642, 0.07279373, -0.19555818, 0.037276905, 0.17997949, 0.0382839, -0.18058495, 0.11596946, -0.4803383) * go_5(-1.0, 0.0); result += mat4(0.14316835, -0.10939212, -0.57301897, 0.107101925, 0.027679194, 0.10561584, 0.16322306, -0.029265253, 0.015432328, 0.078424856, -0.3036955, 0.077147335, -0.07165004, 0.053753722, 0.046870816, -0.16831237) * go_5(-1.0, 1.0); result += mat4(-0.0015454052, 0.11543685, 0.011629485, 0.09174164, -0.0020554285, -0.12829418, -0.16338444, -0.3855414, 0.09214294, 0.3051444, 0.4075737, 0.21011099, 0.09273038, 0.1422971, 0.23177463, -0.5677775) * go_5(0.0, -1.0); result += mat4(-0.38397464, 0.1062587, 0.39587164, -0.13753776, -0.1408451, 0.051540542, -0.43004695, -0.37155452, 0.018951273, -0.12102222, 0.09337273, -0.1371699, -0.15890656, 0.06723986, -0.434453, 0.82531) * go_5(0.0, 0.0); result += mat4(0.17049496, -0.04301534, -0.008399479, -0.02239451, -0.09903332, 0.16583356, -0.09590486, -0.43768612, -0.02140423, -0.017859606, -0.050639637, -0.15041262, 0.115062304, -0.05731665, -0.2678928, 0.3464159) * go_5(0.0, 1.0); result += mat4(0.08870617, -0.118556865, -0.13360792, -0.09894303, -0.15581502, 0.2192686, -0.39398706, 0.11267478, 0.09166812, -0.15498365, -0.2917533, -0.16147003, 0.031740874, -0.22583205, -0.011654207, 0.30131137) * go_5(1.0, -1.0); result += mat4(0.041226245, 0.073949926, 0.020469612, -0.04560685, 0.11118197, -0.24875127, -0.28384277, -0.209574, -0.11342182, -0.028049335, -0.30193615, -0.079933584, -0.095979676, -0.10020118, -0.19420303, -0.075664096) * go_5(1.0, 0.0); result += mat4(0.14797074, -0.3470899, 0.39260823, 0.017051281, 0.06762197, -0.018575529, 0.0880026, -0.21063547, -0.1322691, 0.09712066, -0.4276631, 0.19340965, 0.12975846, 0.035868555, -0.70068085, -0.16410393) * go_5(1.0, 1.0); result += mat4(-0.18932801, 0.09462974, 0.42027336, -0.37972912, 0.14362521, 0.19216716, -0.43429968, 0.059396047, -0.0013960754, 0.0058320346, -0.25363076, 0.044528674, -0.045085996, 0.09108611, -0.08413328, -0.32486486) * go_6(-1.0, -1.0); result += mat4(-0.4067053, 0.10778585, 0.28718376, -0.051091816, 0.15242375, -0.02981224, -0.097597815, -0.048364934, 0.17647475, -0.083620705, -0.07125797, 0.044771638, 0.16834657, -0.025327723, -0.24978308, 0.09879097) * go_6(-1.0, 0.0); result += mat4(-0.14262679, -0.24012862, 0.28995973, -0.08896369, 0.010631018, 0.09540369, -0.06608168, -0.18771736, -0.014997884, 0.030013464, 0.25964305, -0.21135412, 0.063037746, -0.018949352, -0.13153805, -0.2391852) * go_6(-1.0, 1.0); result += mat4(0.057333205, 0.35793823, -0.031858347, 0.21486303, -0.04569342, 0.12527412, -0.12659034, 0.09696183, 0.08018003, -0.20497574, -0.38521993, 0.07651565, 0.07672333, -0.13392955, 0.080162585, -0.21611322) * go_6(0.0, -1.0); result += mat4(0.089075185, -0.0313562, -0.1678185, -0.59176946, -0.10085004, -0.07158931, -0.20779158, 0.07887701, 0.05102273, 0.054919396, 0.20206434, -0.60396665, -0.21453445, -0.0129903015, -0.21422856, 0.120469116) * go_6(0.0, 0.0); result += mat4(0.24352759, -0.46128348, -0.11604824, -0.12906942, -0.092262454, 0.093686655, 0.008656515, -0.09435711, 0.02955139, 0.058670785, 0.31187442, -0.012236685, -0.11576328, 0.26213887, -0.3678442, 0.39925987) * go_6(0.0, 1.0); result += mat4(0.09056785, 0.025610259, 0.04404834, 0.04880529, -0.018727796, -0.02463311, -0.33473116, 0.18240984, -0.31690162, -0.03753813, -0.49378097, 0.034098472, 0.08104111, 0.15535483, 0.54219043, -0.14415042) * go_6(1.0, -1.0); result += mat4(0.2178136, 0.26973012, -0.08373426, 0.050942183, -0.026202869, -0.19092646, -0.15695636, 0.14941269, -0.008460806, 0.17145476, -0.15403928, 0.30220225, -0.008509539, -0.07173873, -0.028730325, 0.11379968) * go_6(1.0, 0.0); result += mat4(-0.423233, 0.22220805, 0.2923962, 0.07597547, 0.04264445, 0.073609315, -0.28772584, -0.018501874, 0.009833902, 0.09063646, 0.15016796, -0.050786685, -0.044880487, -0.00094357406, 0.054167807, -0.4163448) * go_6(1.0, 1.0); result += mat4(0.064591885, -0.017542299, -0.7427811, 0.1085436, -0.099237405, 0.07204454, 0.21403041, -0.44325823, 0.063634664, 0.019480009, -0.5166522, 0.48371652, 0.042217735, -0.08151546, -0.16102481, 0.38363907) * go_7(-1.0, -1.0); result += mat4(0.23603337, 0.36189508, 0.16096863, -0.23203878, 0.3909665, -0.048548676, -0.08426398, 0.13699533, -0.16585836, 0.08123174, 0.23689987, -0.14406693, -0.12765872, 0.14779435, -0.200962, 0.27416065) * go_7(-1.0, 0.0); result += mat4(-0.29448098, 0.14758095, 0.57802075, 0.021730013, 0.13210014, 0.104395285, -0.2312142, -0.2866295, 0.016930144, -0.15231368, 0.14054593, -0.09351796, 0.1032217, 0.041166462, -0.36189362, 0.41247606) * go_7(-1.0, 1.0); result += mat4(-0.007560109, -0.0803, -0.16032574, 0.05478983, -0.1759635, -0.14446284, 0.15542305, -0.16604201, -0.04187009, -0.26687822, -0.587336, -0.24216992, -0.23209628, 0.20443848, 0.20857601, 0.39599934) * go_7(0.0, -1.0); result += mat4(-0.14840446, 0.40601328, -0.7559737, 0.2739641, -0.25899225, -0.08748905, 0.26742223, -0.1928892, -0.069469795, 0.17335804, 0.14560762, -0.29675013, 0.07705042, 0.087402344, 0.11580721, -0.56622976) * go_7(0.0, 0.0); result += mat4(-0.09510998, 0.087312974, -0.4744771, -0.2034856, -0.0228022, 0.20781693, -0.21102814, 0.3811148, -0.032918505, -0.06346079, 0.11738945, 0.25676858, -0.040940452, -0.13468303, 0.18274675, -0.29756874) * go_7(0.0, 1.0); result += mat4(0.018719247, 0.01183309, 0.5007991, -0.23340209, 0.26327956, -0.22815254, 0.108726546, -0.03552217, -0.009156057, 0.10254266, 0.16000487, 0.14117196, -0.017914208, 0.27125883, -0.21865341, 0.21615145) * go_7(1.0, -1.0); result += mat4(0.19699602, -0.31031716, -0.59890205, -0.21126802, -0.20352201, -0.06410778, -0.037906803, -0.022946103, 0.06663984, 0.12589614, 0.32420775, 0.23299861, 0.0078275055, -0.12053192, 0.103772156, -0.01047939) * go_7(1.0, 0.0); result += mat4(-0.13278633, -0.049333517, 0.112975165, -0.1881344, -0.049702376, 0.19375268, -0.86393154, 0.038770728, 0.12380659, -0.17710638, 0.3185005, -0.12963669, -0.088208504, 0.06580817, 0.026088627, -0.13940124) * go_7(1.0, 1.0); result += vec4(-0.004481173, -0.061259553, 0.11030188, 0.16914344); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24 //!HOOK MAIN //!BIND conv2d_5_tf //!BIND conv2d_5_tf1 //!BIND conv2d_5_tf2 //!SAVE conv2d_6_tf //!WIDTH conv2d_5_tf.w //!HEIGHT conv2d_5_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max((conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max(-(conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max(-(conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.06430692, 0.086825125, -0.034608375, -0.01397618, 0.040052984, 0.011185875, 0.011732263, 0.012392225, 0.059679143, 0.0020240098, 0.06681242, 0.054336477, -0.0036498306, -0.019456264, -0.071606115, 0.041119363) * go_0(-1.0, -1.0); result += mat4(0.04943378, -0.0848539, 0.0356649, -0.045104954, -0.07455269, 0.22761999, -0.097870104, -0.17315823, 0.024429278, -0.014491249, -0.041353658, 0.1098216, 0.03469068, -0.032172896, 0.033026703, 0.04296571) * go_0(-1.0, 0.0); result += mat4(0.07144953, 0.008301972, -0.06500498, 0.031518232, -0.10892988, -0.097283006, -0.13314813, -0.013742693, 0.050799493, 0.050253615, 0.040891692, -0.0021811249, 0.030596646, -0.017255697, 0.0022994988, 0.00735084) * go_0(-1.0, 1.0); result += mat4(0.023562869, -0.0011871309, -0.0423234, -0.002608592, 0.08043674, -0.082256354, -0.022457797, 0.07030839, 0.013923805, -0.013660352, 0.06952137, -0.044279564, 0.04486451, -0.02644484, 0.052811652, 0.00197306) * go_0(0.0, -1.0); result += mat4(-0.05471925, -0.10278568, 0.017831381, -0.060885206, 0.01943984, -0.11520702, 0.10465094, 0.03574296, -0.050254647, 0.0019161392, -0.25124437, 0.043597598, -0.017897893, 0.07151743, 0.11265933, -0.08989344) * go_0(0.0, 0.0); result += mat4(0.11001799, -0.011334239, 0.12736328, 0.16483796, -0.13220996, 0.0732099, 0.13678497, 0.1530554, 0.043017015, -0.10789205, 0.053205475, 0.023291817, -0.0056713475, -0.12603688, -0.13624206, -0.0714872) * go_0(0.0, 1.0); result += mat4(0.021965552, -0.009516653, 0.020002227, -0.0072277826, -0.035595354, -0.052053552, -0.023298074, 0.01770549, 0.106064536, -0.096217915, 0.119941294, 0.054289114, 0.044710737, 0.03558839, 0.0025203228, 0.02229299) * go_0(1.0, -1.0); result += mat4(-0.05996382, -0.059034027, 0.0048927953, 0.11681153, 0.0123580685, -0.15851006, 0.053752933, -0.094275564, 0.056480173, -0.01539422, -0.06352794, 0.05537091, -0.090935975, 0.114802405, -0.07706906, -0.020618843) * go_0(1.0, 0.0); result += mat4(0.046106033, 0.06567163, 0.024409082, 0.08681322, -0.15275897, 0.051852785, -0.0982452, -0.14251694, 0.09573071, -0.018330676, 0.07995178, -0.010879136, -0.097755134, -0.017416988, -0.062556945, -0.0578873) * go_0(1.0, 1.0); result += mat4(-0.00429525, -0.07700766, 0.010865506, 0.039318554, -0.06787303, -0.028628208, -0.05469512, 0.05459275, -0.030343568, 0.06288822, -0.02628777, 0.015035558, 0.003811996, 0.013887734, 0.034987926, 0.17882642) * go_1(-1.0, -1.0); result += mat4(-0.04686645, 0.05545698, -0.022312073, -0.06866622, 0.09609454, -0.09298049, 0.20229526, 0.1036513, -0.07117841, 0.047199853, -0.018191453, -0.011281787, -0.014291751, -0.118642345, 0.07959059, 0.08753804) * go_1(-1.0, 0.0); result += mat4(0.0145701915, -0.00083395635, -0.009838556, 0.03793263, -0.018338429, -0.028547939, -0.044276386, 0.022902593, -0.10429393, -0.08177185, 0.038462102, -0.061109234, 0.021328336, -0.018102761, -0.07724541, 0.03491818) * go_1(-1.0, 1.0); result += mat4(0.051537625, -0.04092781, -0.027314937, 0.06624649, 0.0059737917, -0.0045862994, 0.03624142, 0.016898366, -0.15276705, -0.013039528, -0.034717664, 0.07935391, 0.016038802, -0.20841958, 0.08346563, 0.06563678) * go_1(0.0, -1.0); result += mat4(-0.015235551, 0.15574263, -0.013553463, 0.07328153, 0.1526515, -0.28490472, 0.19684647, -0.15529588, -0.012245582, 0.06855586, -0.05603284, 0.06607822, -0.0842433, 0.17281564, 0.28474236, 0.08198234) * go_1(0.0, 0.0); result += mat4(0.038899522, -0.06798045, -0.054560043, -0.16137177, 0.021140218, 0.29889742, -0.1840661, -0.05800861, -0.015068329, -0.04634431, 0.08015181, 0.019838551, 0.10208079, -0.077259056, -0.19794165, -0.15083085) * go_1(0.0, 1.0); result += mat4(0.01064174, -0.05850555, -0.05604373, 0.04052068, -0.075376056, 0.046033148, 0.11586819, -0.019885244, 0.035843607, 0.046307143, 0.00585988, -0.080217384, -0.021261437, 0.1410561, 0.008985651, 0.028860984) * go_1(1.0, -1.0); result += mat4(-0.07319461, 0.08104932, 0.041007817, 0.030615268, -0.20470095, 0.12515168, -0.160545, -0.12937605, 0.31107107, 0.1484706, 0.038850147, -0.012020466, -0.05610734, 0.044933334, 0.042511266, -0.052596994) * go_1(1.0, 0.0); result += mat4(-0.066693224, 0.0361146, 0.067501135, -0.21699974, -0.11158058, 0.15679757, -0.028746078, -0.01819391, 0.104127966, -0.06664338, 0.06227161, 0.12396172, -0.0032715963, -0.08171951, -0.044955824, -0.08106554) * go_1(1.0, 1.0); result += mat4(0.015864346, -0.013364807, -0.06118465, -0.044409316, 0.043848667, -0.021818867, 0.073257685, 0.031070877, -0.09103615, 0.049833406, -0.057495326, -0.12800662, 0.03994082, 0.0138215795, 0.015007392, 0.10248998) * go_2(-1.0, -1.0); result += mat4(0.25089416, -0.07602123, 0.17347728, 0.02892703, -0.011619053, -0.0641153, 0.05217339, 0.07876783, 0.0055022957, 0.004055628, -0.09110391, -0.06867559, 0.024405807, -0.05255772, 0.04266218, -0.010957767) * go_2(-1.0, 0.0); result += mat4(0.24782608, 0.036559172, 0.044769745, 0.0015120476, 0.013133198, -0.044633485, -0.014515029, -0.021279601, -0.036733393, 0.04075623, -0.17661944, -0.094546385, 0.056875527, 0.004090026, 0.05490262, 0.009615546) * go_2(-1.0, 1.0); result += mat4(-0.059016522, 0.06971676, -0.018845871, -0.1960489, 0.030603651, 0.07038275, 0.030324249, -0.021405647, 0.0029889164, -0.044680223, 0.025204105, -0.070947506, 0.08812823, -0.04162818, 0.020303862, 0.033686403) * go_2(0.0, -1.0); result += mat4(0.095108695, -0.001756413, -0.0746956, 0.19454287, 0.11728253, 0.024068093, 0.22989868, 0.15326135, -0.044749334, -0.10269763, -0.11903939, -0.0791172, -0.004715979, -0.034785185, 0.06928696, -0.080341384) * go_2(0.0, 0.0); result += mat4(0.09515306, 0.0796711, 0.2531875, 0.17232622, -0.046116754, 0.10505673, 0.03974202, 0.0192849, -0.032660086, 0.090220645, -0.018340196, 0.010892869, 0.057608526, -0.0042284457, -0.033126116, -0.050798874) * go_2(0.0, 1.0); result += mat4(-0.0465734, -0.12704821, -0.04242129, -0.08912093, 0.060641844, -0.030298313, 0.07455412, 0.09691065, -0.0993119, 0.08467131, -0.08018581, -0.06551497, 0.02412251, 0.023426851, -0.013038504, 0.058629658) * go_2(1.0, -1.0); result += mat4(-0.0072143734, -0.17254709, -0.10164249, 0.009320373, 0.04572811, 0.031890705, 0.11281531, -0.053358663, -0.12266469, -0.0050442372, -0.088591315, -0.014440839, 0.025741255, -0.1090415, 0.14636643, 0.06128863) * go_2(1.0, 0.0); result += mat4(-0.021854619, 0.08777348, -0.06519233, -0.068287335, -0.015207972, -0.041368876, -0.06916352, 0.014671391, -0.15136546, 0.12566894, -0.104125395, -0.025017736, -0.043513566, 0.08409863, 0.037353594, -0.06276716) * go_2(1.0, 1.0); result += mat4(0.07235235, 0.03902354, 0.08474354, 0.015749328, -0.14268096, 0.030634299, -0.055138513, -0.03956857, 0.018563624, -0.081968024, 0.051094677, 0.034120332, 0.0053250403, 0.080352135, -0.04955247, -0.1332719) * go_3(-1.0, -1.0); result += mat4(-0.036749303, -0.028455151, -0.014937002, 0.040662266, 0.08305564, 0.11542185, 0.013110968, 0.049462736, 0.055836335, -0.07350095, 0.022430308, -0.02959864, -0.01815184, -0.019589523, 0.063062504, 0.03289119) * go_3(-1.0, 0.0); result += mat4(-0.023061413, 0.054117512, -0.005270115, -0.08946267, -0.04308614, 0.23271716, 0.23769991, 0.199799, 0.042626232, -0.003149215, -0.07325253, -0.09104977, 0.06556636, 0.123100184, -0.065416, -0.047533657) * go_3(-1.0, 1.0); result += mat4(0.012621001, 0.010509575, 0.037320737, -0.059742343, -0.049418703, -0.09797092, 0.107040025, 0.050573327, -0.07652653, -0.096295066, 0.046717234, 0.0451225, -0.102516145, 0.15624528, -0.23164383, -0.13354032) * go_3(0.0, -1.0); result += mat4(-0.028271353, 0.12728448, 0.030375311, 0.17157783, 0.122691065, -0.3680664, 0.029203705, -0.26102167, 0.025286853, 0.06262695, 0.1589348, 0.05327821, -0.065294765, -0.24605483, 0.042972647, -0.02089068) * go_3(0.0, 0.0); result += mat4(-0.026082302, -0.08781727, -0.09250588, -0.023226565, 0.051248543, 0.16456133, -0.2952685, -0.083784014, 0.076261856, 0.0406498, 0.170887, 0.045606345, 0.090185635, -0.056969963, 0.013353489, -0.02177184) * go_3(0.0, 1.0); result += mat4(0.03591036, -0.00022123115, 0.00879266, 0.0014145833, -0.031907767, 0.008818724, 0.038096637, 0.088316254, -0.111196004, -0.043627053, -0.03396249, -0.11398144, -0.013437176, -0.056140415, -0.02947146, 0.04266824) * go_3(1.0, -1.0); result += mat4(0.27118152, -0.029443147, 0.029049424, -0.021353519, -0.08102377, -0.10702356, 0.2708468, -0.028351566, 0.10159006, -0.08634602, 0.11655341, 0.01216303, -0.032198787, 0.098999046, 0.08560102, 0.13209614) * go_3(1.0, 0.0); result += mat4(-0.011867179, -0.008092173, -0.06914386, -0.0026515024, 0.15475754, -0.069809034, -0.061735924, 0.030092785, 0.015481355, 0.069196485, -0.067885965, -0.10032289, -0.022956805, -0.050457634, 0.034361836, 0.063292615) * go_3(1.0, 1.0); result += mat4(-0.028808603, 0.2522452, -0.028151542, -0.11966417, 0.0060086837, -0.022839228, 0.04591885, -0.047450468, -0.017323907, 0.0033520379, -0.013912139, 0.00087186386, -0.095179744, 0.10477611, -0.1572277, -0.18952997) * go_4(-1.0, -1.0); result += mat4(-0.024695182, 0.2125057, 0.0043758615, 0.048833247, -0.024862275, -0.07173688, 0.016327882, 0.052133285, 0.032598563, 0.0370544, -0.032444727, 0.007660602, 0.014026539, 0.15517443, -0.08797283, 0.046922438) * go_4(-1.0, 0.0); result += mat4(-0.08749249, 0.17871788, 0.089315645, 0.020792015, 0.0062840376, 0.027935686, 0.022011895, 0.0014372129, 0.03437162, 0.04160462, -0.076575324, -0.005282676, 0.01039395, 0.13785924, -0.11939048, -0.12266059) * go_4(-1.0, 1.0); result += mat4(-0.08761654, 0.12325804, 0.09464573, -0.070082165, -0.029074723, -0.039505627, -0.006745376, -0.07662022, 0.018293282, 0.16754504, -0.01436095, -0.07123675, -0.045903374, 0.045701377, -0.16947833, -0.065680735) * go_4(0.0, -1.0); result += mat4(0.07837804, 0.10318053, 0.10402837, -0.09299896, -0.044918105, -0.19713773, -0.038225368, -0.0127715515, 0.021232253, 0.19498691, 0.054563515, -0.024584824, 0.14310583, -0.25778866, -0.048625097, -0.04034214) * go_4(0.0, 0.0); result += mat4(0.03317779, 0.36327454, 0.0010753187, 0.07300084, 0.013177773, -0.10299273, -0.043644756, -0.049851302, -0.11076842, -0.0030125536, 0.13768485, 0.037023947, 0.05862015, 0.026259044, -0.11906646, 0.015630042) * go_4(0.0, 1.0); result += mat4(0.04435236, 0.2442636, 0.02941278, -0.03259748, 0.02729472, 0.1464977, -0.23190135, -0.013464374, -0.04808333, -0.07721386, -0.006521778, 0.03849496, -0.087418415, -0.14530352, -0.046621766, 0.013260049) * go_4(1.0, -1.0); result += mat4(-0.054236982, 0.16401532, -0.0410692, 0.018103333, 0.03832126, 0.24158026, -0.02707848, 0.063542314, -0.0025432308, 0.02253484, -0.13533834, 0.009265725, -0.13578576, 0.055599272, -0.029021647, 0.074372046) * go_4(1.0, 0.0); result += mat4(0.07789502, 0.12068383, 0.06586239, 0.16586556, 0.12068069, 0.0314873, 0.020462591, 0.01643263, 0.0022647027, -0.0535912, 0.02042879, 0.08939534, -0.012003675, 0.10854255, -0.019238353, 0.05661957) * go_4(1.0, 1.0); result += mat4(-0.0024771164, 0.0013602651, -0.006449609, -0.0674718, 0.011020245, -0.024715785, -0.005840159, -0.016253866, 0.0058691143, 0.00923955, -0.014752748, -0.009056492, 0.04719506, 7.439548e-05, -0.031533875, -0.028303158) * go_5(-1.0, -1.0); result += mat4(-0.022446554, 0.011014639, 0.014150175, -0.08969043, 0.05011379, 0.0014429274, 0.13622425, -0.055668622, 0.003997062, -0.018588124, 0.037211727, -0.02675576, 0.021160034, 0.06025865, 0.044886358, 0.07540469) * go_5(-1.0, 0.0); result += mat4(0.059523765, -0.106335945, 0.047557555, 0.015525542, -0.059115347, 0.009750207, 0.01922731, 0.024100488, 0.0016303931, -0.07808692, 0.08100007, 0.05687361, -0.03983667, -0.023318004, 0.044715997, 0.032614175) * go_5(-1.0, 1.0); result += mat4(0.092187695, -0.16478536, 0.11356077, 0.1448521, 0.072599865, 0.06876907, -0.024432033, 0.052597918, -0.010043035, -0.03687111, 0.00895416, 0.02780389, 0.045475237, 0.0034288564, -0.053697575, -0.0039305706) * go_5(0.0, -1.0); result += mat4(-0.086140305, 0.10712286, -0.098502316, -0.037614137, -0.0014869545, -0.119502805, 0.07774526, 0.01559113, -0.036177177, 0.05600912, 0.0672405, 0.0424494, -0.014852803, -0.09711143, 0.035177983, 0.027274514) * go_5(0.0, 0.0); result += mat4(0.010052695, -0.1528992, 0.037211087, 0.050275393, -0.052893683, -0.103499845, 0.04699975, 0.010357094, 0.02002735, -0.0724987, -0.039920773, -0.03259424, 0.05104605, -0.021494186, 0.1335748, 0.1431882) * go_5(0.0, 1.0); result += mat4(0.008692001, 0.1388636, 0.062878676, 0.043149088, 0.040500425, -0.06934554, 0.031019283, 0.086996906, -0.01329169, -0.024621997, 0.03125819, -0.03552568, 0.025497364, -0.013930993, 0.039630298, -0.009306881) * go_5(1.0, -1.0); result += mat4(0.08138952, 0.11290011, 0.09357804, 0.0773934, 0.11037395, 0.040116914, 0.05588578, 0.08340036, 0.019552698, 0.010302062, 0.030425403, -0.012494984, 0.100253575, 0.058283005, -0.0053462014, 0.0011434298) * go_5(1.0, 0.0); result += mat4(-0.0027934618, 0.012688533, 0.03582281, 0.093737796, -0.10973247, 0.07261092, 0.112351805, 0.011432246, 0.013944619, -0.06078718, 0.04819748, -0.023201318, 0.060381312, -0.08896123, 0.0354816, 0.1314617) * go_5(1.0, 1.0); result += vec4(-0.014843715, 0.037786916, -0.050943095, 0.02970283); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-4x3x3x24 //!HOOK MAIN //!BIND conv2d_5_tf //!BIND conv2d_5_tf1 //!BIND conv2d_5_tf2 //!SAVE conv2d_6_tf1 //!WIDTH conv2d_5_tf.w //!HEIGHT conv2d_5_tf.h //!COMPONENTS 4 #define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max((conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max(-(conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max(-(conv2d_5_tf2_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(0.042099904, -0.058733735, 0.02552323, 0.08024827, -0.007007328, -0.024506995, -0.014314433, 0.07856346, 0.0070828185, 0.12121103, -0.047790356, -0.1190773, 0.09607051, -0.022659522, -0.012408393, -0.01265088) * go_0(-1.0, -1.0); result += mat4(-0.036540985, 0.065095425, 0.020370001, -0.13017972, 0.16372375, -0.13150094, 0.012892328, -0.1387121, -0.0398674, -0.115208104, -0.025226658, -0.066354044, 0.07032839, 0.11715836, 0.014640627, 0.0410301) * go_0(-1.0, 0.0); result += mat4(0.030191297, -0.0066959998, 0.026137028, -0.015430499, -0.07329306, -0.138525, 0.080228955, 0.1005483, -0.0007654556, 0.08933457, -0.11922955, -0.0689602, 0.06392459, 0.04870049, -0.0018588612, 0.046055775) * go_0(-1.0, 1.0); result += mat4(0.12119697, -0.03272271, -0.011908178, 0.07443732, 0.017831923, -0.06988535, -0.027143668, -0.023895472, 0.08469687, 0.1490557, 0.015963838, -0.0049853753, 0.01178327, -0.0028791244, -0.06283662, -0.0059013553) * go_0(0.0, -1.0); result += mat4(0.028543679, 0.058001377, -0.008511679, 0.0026974818, -0.0013273149, 0.010061944, -0.07719697, -0.053456806, -0.2909378, -0.03735039, 0.02128061, 0.15994087, -0.020060549, 0.0051932936, 0.010056397, -0.044010773) * go_0(0.0, 0.0); result += mat4(0.1596504, -0.055374887, -0.019871527, 0.008125669, 0.21285413, 0.03118557, 0.05784715, -0.033272292, -0.11010903, 0.08968991, 0.01791155, -0.11081058, -0.059060283, -0.08855704, 0.06299061, -0.08653331) * go_0(0.0, 1.0); result += mat4(0.22247101, -0.04902725, 0.004427136, 0.00843986, -0.12681817, -0.04432411, 0.09346549, -0.07040382, 0.065832525, 0.1306079, -0.046262078, -0.064467475, 0.09017577, -0.05839232, 0.02169111, 0.015345169) * go_0(1.0, -1.0); result += mat4(-0.019040529, 0.03761165, -0.021923041, -0.02165343, -0.22262675, -0.007393024, 0.13378944, 0.24793835, -0.115743674, -0.050898936, -0.101693556, -0.16117941, 0.15038069, -0.071292244, 0.16757068, 0.14149354) * go_0(1.0, 0.0); result += mat4(0.15021501, 0.01646184, 0.039540898, -0.020430906, -0.09821808, -0.008859351, -0.0064752824, 0.04515899, -0.036680277, 0.03743646, 0.046192754, -0.07469316, 0.015766433, -0.053386677, -0.058385946, 0.04285354) * go_0(1.0, 1.0); result += mat4(-0.12153023, -0.0052116364, 0.013274117, 0.066916846, -0.07894143, -0.07270525, 0.0032244355, 0.080999196, -0.071276195, 0.03603874, -0.023127655, -0.22612897, 0.019750288, 0.06261086, 0.036052, 0.057479452) * go_1(-1.0, -1.0); result += mat4(0.068308026, -0.02204353, 0.037701212, -0.13152799, -0.040166344, 0.18250147, -0.00841116, 0.14707813, 0.2891035, 0.0355822, -0.037319396, -0.033286855, 0.05205944, 0.029016457, 0.02267416, 0.12552561) * go_1(-1.0, 0.0); result += mat4(-0.07627465, -0.0015795324, 0.005847234, 0.0343533, -0.12101658, -0.044895757, -0.033076547, -0.0072863665, -0.13455121, -0.03442574, 0.03806193, -0.025911227, -0.05203063, 0.006293081, 0.01888723, 0.10063248) * go_1(-1.0, 1.0); result += mat4(0.05558394, 0.03480151, 0.0068188105, 0.025131043, -0.12540701, -0.088756844, -0.03175985, -0.19954887, 0.0730124, -0.04229162, -0.0013364753, -0.03893613, 0.06019269, -0.034671903, 0.050091, -0.059322134) * go_1(0.0, -1.0); result += mat4(-0.07942089, -0.018256165, -0.096205324, 0.101769134, 0.01908004, 0.33233985, -0.035679515, -0.23594299, -0.03030973, 0.06313867, -0.044021074, -0.10605643, -0.10518184, -0.11355261, 0.12967454, -0.106763974) * go_1(0.0, 0.0); result += mat4(-0.09985036, 0.041868765, -0.09622011, -0.05465083, -0.039375015, -0.10204485, -0.004873815, 0.080527805, 0.08858304, -0.05943268, 0.08352734, -0.07512739, -0.22778553, 0.15029298, 0.08525989, -0.15358798) * go_1(0.0, 1.0); result += mat4(-0.08080637, -0.097256064, -0.040232092, -0.06549907, 0.013221195, -0.028040923, -0.0005182768, 0.06254156, 0.19496393, -0.0040481715, -0.053046, 0.05839162, 0.11274092, 0.11118614, 0.1480564, 0.033354077) * go_1(1.0, -1.0); result += mat4(0.023759563, 0.00635514, -0.045272943, -0.05173251, 0.0885555, -0.008405325, 0.19941078, 0.109418906, 0.48571047, 0.0562873, -0.122534275, 0.01860896, 0.10383342, -0.005438985, 0.2603844, 0.016442006) * go_1(1.0, 0.0); result += mat4(-0.1018859, -0.06035783, 0.04882298, 0.121493384, -0.014769945, -0.026479812, -0.23881653, 0.15810451, 0.064371295, -0.08258908, 0.032874167, 0.0013588811, -0.13452709, -0.021992348, -0.12913197, -0.007582777) * go_1(1.0, 1.0); result += mat4(0.09469535, -0.0059437137, 0.0070211883, 0.012549531, -0.04503433, 0.11778692, -0.01240231, -0.06452343, 0.0183962, -0.09719111, 0.051977355, 0.028582, 0.11405788, 0.09339377, -0.017060561, -0.016824113) * go_2(-1.0, -1.0); result += mat4(0.025192278, 0.16830146, 0.002082107, -0.12433539, 0.05449372, 0.111993775, -0.050993383, 0.106019214, -0.0012675346, -0.11002013, 0.08042263, 0.046076216, 0.03845027, 0.026669858, -0.05693071, 0.006350705) * go_2(-1.0, 0.0); result += mat4(0.11534884, 0.067232355, -0.08493867, -0.059265412, -0.045863472, 0.03164632, -0.013697583, 0.012065389, -0.15469037, -0.08252674, 0.102144025, 0.079707734, 0.0043182303, 0.07471552, -0.028747529, -0.05626163) * go_2(-1.0, 1.0); result += mat4(-0.02088867, 0.005918884, -0.00632325, 0.06864312, 0.07231704, 0.06967162, 0.046126503, -0.03890708, -0.11291535, -0.112925544, 0.01721896, -0.027296377, -0.0008218594, 0.019371105, -0.028493239, -0.11972473) * go_2(0.0, -1.0); result += mat4(0.05792697, -0.050189912, -0.013986142, -0.042153005, -0.044381443, -0.040740672, -0.036568243, -0.18094629, -0.032849103, -0.11920466, -0.01574577, 0.07106109, -0.0473771, -0.029407948, -0.016447794, 0.07348799) * go_2(0.0, 0.0); result += mat4(0.25879595, 0.027651018, -0.09736299, -0.017931122, 0.1145708, 0.051391326, 0.14323749, -0.06405431, -0.017116228, -0.04995981, 0.017524386, 0.053012, -0.024927566, 0.029871127, -0.062402803, -0.089126125) * go_2(0.0, 1.0); result += mat4(-0.3455905, -0.07298466, 0.022065436, -0.13115343, 0.0683912, 0.06609262, -0.035481025, -0.04162889, -0.0020681168, -0.0819611, 0.017471436, 0.022238733, 0.047958784, 0.037473556, -0.06708024, -0.06513322) * go_2(1.0, -1.0); result += mat4(-0.008081404, 0.04029864, -0.07384856, -0.12268659, 0.048441645, 0.08439676, 0.032600272, 0.01420026, -0.16429286, -0.061197132, 0.05322935, -0.04212053, 0.0060033225, 0.037083343, -0.024957739, -0.026598029) * go_2(1.0, 0.0); result += mat4(0.0018599767, 0.02205519, 0.10264597, 0.047300845, 0.13039044, -0.08621153, -0.014272506, 0.03800674, -0.12807004, -0.03650184, 0.17019251, 0.0050348463, 0.06673689, 0.062484764, -0.074008316, 0.0024411175) * go_2(1.0, 1.0); result += mat4(0.10010423, 0.059802253, -0.028706724, -0.0021158324, -0.1071618, -0.06596802, 0.017506624, 0.020555088, 0.006742276, -0.058907714, 0.02132174, -0.00065407227, 0.10080476, -0.06645163, 0.028596232, -0.098386355) * go_3(-1.0, -1.0); result += mat4(0.06250598, 0.028219528, -0.032285657, 0.029157873, 0.41888437, -0.07922488, -0.038655374, 0.08948803, -0.13829164, 0.13305405, 0.00031528703, -0.11085006, -0.063075796, 0.0500627, 0.065392256, 0.12271925) * go_3(-1.0, 0.0); result += mat4(0.111435704, 0.02032602, 0.038795993, 0.03990286, 0.27919176, -0.08434588, -0.025168309, 0.051932946, -0.04704256, -0.031704668, 0.029195199, 0.0029008535, 0.1921871, 0.072233014, 0.02167757, -0.009142876) * go_3(-1.0, 1.0); result += mat4(0.03787496, 0.10278594, -0.034100357, -0.038842272, -0.21315722, 0.04823617, -0.029114509, 0.051216953, 0.06688632, -0.016796501, 0.034409184, 0.030457467, 0.18392949, -0.05570241, -0.0074716844, -0.09469817) * go_3(0.0, -1.0); result += mat4(0.00060441054, -0.21777734, 0.039007552, 0.065863505, -0.20799696, -0.007875905, -0.038051736, 0.107517034, -0.030292246, 0.039137594, -0.011577313, -0.09082536, -0.024957297, 0.04839934, 0.08945703, -0.067684196) * go_3(0.0, 0.0); result += mat4(-0.0007396966, -0.028242454, -0.055650227, 0.015779331, -0.33971977, -0.0536201, 0.21978994, 0.17193733, 0.08947309, 0.05031975, -0.1301886, -0.035680372, 0.08049449, 0.20915179, -0.21580179, 0.0070197694) * go_3(0.0, 1.0); result += mat4(0.018666867, 0.080064476, 0.03374961, 0.009929877, 0.12268159, 0.08780485, -0.020013101, 0.001475278, -0.094762295, -0.00571688, 0.07592603, 0.02490935, 0.20536572, -0.103320844, -0.11305944, 0.020782808) * go_3(1.0, -1.0); result += mat4(0.10927535, -0.10669775, -0.119271345, -0.04704597, -0.33198515, 0.16730374, 0.067796834, -0.21553586, -0.15134549, 0.12522157, -0.059982754, 0.053596307, -0.07490767, 0.0430427, 0.13261874, 0.034827977) * go_3(1.0, 0.0); result += mat4(-0.118310496, -0.034256335, 0.15736672, -0.012709214, 0.108289585, 0.055601, -0.15293309, -0.047951285, 0.13641061, 0.040393222, -0.014293154, 0.013147444, 0.040933702, 0.06414584, -0.06435496, 0.07897889) * go_3(1.0, 1.0); result += mat4(0.1769398, -0.03865557, -0.007278993, -0.009594421, 0.06511066, -0.055826154, 0.039952062, 0.11912263, 0.017886136, -0.05012913, -0.026828678, -0.059241973, -0.10093276, -0.19696872, 0.084965006, 0.14702372) * go_4(-1.0, -1.0); result += mat4(0.099720076, -0.067204416, -0.03463609, 0.09670626, -0.28691396, -0.06598814, 0.0014410254, 0.14105716, -0.033738673, -0.060082074, 0.022319613, -0.10230477, -0.04376945, -0.13106492, 0.063823946, 0.14856036) * go_4(-1.0, 0.0); result += mat4(0.33853808, -0.0621997, 8.363771e-05, -0.0009150376, 0.024009543, 0.018634653, 0.0037902838, 0.10804439, 0.05129897, 0.013281732, 0.0192675, -0.021642182, 0.20649408, -0.059423707, 0.06726224, 0.0145797795) * go_4(-1.0, 1.0); result += mat4(-0.15990373, -0.106583185, 0.002367883, 0.045296166, -0.0631138, -0.0072529926, 0.029369524, 0.08331243, 0.122756526, -0.0179492, -0.120487615, 0.0081743365, -0.17502016, -0.044541918, -0.015354001, -0.011111051) * go_4(0.0, -1.0); result += mat4(-0.11184931, 0.06587063, 0.07042273, -0.04147224, -0.09151379, -0.20194946, 0.10355849, 0.19217291, 0.08952243, 0.12201255, 0.04417764, -0.04035679, -0.09468639, 0.31825796, 0.006901595, -0.04124098) * go_4(0.0, 0.0); result += mat4(0.06660271, -0.0046637137, 0.09873929, 0.08799431, -0.100498706, 0.06444192, -0.02957856, 0.038241588, 0.15948315, 0.1299982, -0.090359725, 0.004090419, -0.079359606, -0.00037474622, -0.022643564, -0.08251614) * go_4(0.0, 1.0); result += mat4(0.43229616, 0.10688282, -0.07364843, 0.053060126, 0.12662794, -0.008840078, 0.026755894, 0.041338578, -0.2254781, -0.10235022, -0.12567373, -0.0667009, -0.1809531, -0.09815889, -0.08910998, 0.037839357) * go_4(1.0, -1.0); result += mat4(-0.07567111, 0.028171131, 0.055614933, -0.013953225, 0.12692563, 0.083607204, -0.07004251, -0.036412235, -0.058107987, 0.037055403, 0.18604837, -0.017260164, -0.17541583, 0.06894981, -0.23379545, 0.031235654) * go_4(1.0, 0.0); result += mat4(0.45591107, 0.039045885, -0.12626866, -0.14674829, 0.05945796, -0.010674477, -0.035819475, -0.0047352607, -0.036941368, 0.10396601, -0.036363676, 0.0554336, 0.17748542, 0.06979016, 0.14080845, 0.042843) * go_4(1.0, 1.0); result += mat4(0.10455963, 0.075099275, 0.05469465, 0.015781848, 0.09594164, 0.05998725, -0.052120302, -0.13773419, 0.044500146, 0.031731047, -0.008471109, -0.03267637, 0.047310144, 0.031099096, -0.024222182, -0.033589233) * go_5(-1.0, -1.0); result += mat4(-0.12448876, -0.03613152, -0.0010140876, -0.025516123, -0.059143614, 0.023980793, -0.022088494, -0.23990345, -0.009263314, 0.07561086, -0.018244747, -0.030571839, 0.078326724, 0.11647481, 0.0005469513, 0.011363735) * go_5(-1.0, 0.0); result += mat4(-0.012303434, 0.10459798, 0.0075168074, -0.06578245, 0.10195852, -0.011171349, 0.031734105, 0.01707112, 0.027664077, 0.023296015, -0.018072389, -0.025510611, 0.1640572, 0.034506124, 0.00016337275, 0.03571095) * go_5(-1.0, 1.0); result += mat4(-0.008957332, 0.009508923, 0.0146317985, 0.038981803, 0.24314897, 0.0015878802, -0.078958146, 0.03145806, 0.0068939812, 0.073126584, -0.012263321, -0.036391743, 0.118567936, 0.065423995, 0.023732737, -0.0099737905) * go_5(0.0, -1.0); result += mat4(0.07652766, -0.099965736, 0.07820692, -0.016641535, -0.05796137, 0.062477842, -0.09325648, 0.044144213, -0.074167095, -0.02907356, 0.009493459, -0.09726981, -0.024008945, 0.13910118, -0.012273277, -0.18442377) * go_5(0.0, 0.0); result += mat4(-0.3458695, 0.0125532355, -0.04507072, 0.005002404, -0.054678664, -0.1073264, -0.066266164, 0.10499865, -0.026834222, -0.005892071, -0.012439621, -0.014582178, 0.20079906, 0.10445034, -0.017010294, -0.027499933) * go_5(0.0, 1.0); result += mat4(0.20540363, 0.13028874, -0.0043541454, 0.041952956, -0.06462141, 0.05869749, -0.0336049, -0.00483216, 0.0071067465, 0.02086375, 0.029295754, 0.00054160395, 0.12825298, 0.01190737, 0.024069678, 0.0007039938) * go_5(1.0, -1.0); result += mat4(0.25426188, -0.025078375, -0.18087013, -0.047353756, 0.050092597, -0.020793278, -0.20005824, -0.05249769, 0.10390969, 0.029416217, -0.022406658, 0.022277432, 0.10061195, 0.09648526, 0.08301866, -0.05414833) * go_5(1.0, 0.0); result += mat4(-0.008085474, -0.0047122077, 0.037323467, -0.05261859, -0.014043025, 0.015429949, 0.0026017784, 0.05505961, -0.026992656, -0.0034499804, -0.040065564, -0.010143243, 0.080673434, 0.01895095, -0.044532266, -0.04431238) * go_5(1.0, 1.0); result += vec4(-0.03466821, 0.00034034275, 0.0050041266, 0.015987461); return result; } //!DESC Anime4K-v4.1-Restore-GAN-(UUL)-Conv-3x3x3x32 //!HOOK MAIN //!BIND MAIN //!BIND conv2d_4_tf //!BIND conv2d_4_tf1 //!BIND conv2d_6_tf //!BIND conv2d_6_tf1 //!SAVE MAIN //!WIDTH conv2d_4_tf.w //!HEIGHT conv2d_4_tf.h #define go_0(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_1(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_2(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_3(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_4(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_5(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0)) #define go_6(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0)) #define go_7(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0)) vec4 hook() { vec4 result = mat4(-0.029194267, -0.012368673, -0.032628484, 0.0, 0.009544185, 0.003643155, -0.012932683, 0.0, -0.02599644, -0.009162184, 0.001984748, 0.0, 0.036822453, -0.01785786, 0.010368739, 0.0) * go_0(-1.0, -1.0); result += mat4(-0.025280805, 0.03720678, 0.00053982873, 0.0, 0.014486393, -0.008664618, -0.013254841, 0.0, 0.032457434, -0.0054208813, -0.03551113, 0.0, 0.005541615, 0.009700108, 0.008173082, 0.0) * go_0(-1.0, 0.0); result += mat4(-0.008494375, 0.017570386, -0.035493053, 0.0, 0.0040664477, -0.009358297, -0.00124042, 0.0, 0.013665794, -0.027995802, 0.01806665, 0.0, 2.6274169e-05, -0.017136851, 0.004273683, 0.0) * go_0(-1.0, 1.0); result += mat4(-0.001260151, 0.0298161, 0.03177647, 0.0, 0.029924905, 0.002548117, -0.008971935, 0.0, -0.028699454, -0.011327333, 0.01809372, 0.0, 0.052908268, -0.009816564, -0.04160645, 0.0) * go_0(0.0, -1.0); result += mat4(-0.0674105, 0.011343186, 0.031059649, 0.0, -0.01816893, -0.027822826, -0.0039920355, 0.0, 0.06559583, 0.08136345, 0.0024248413, 0.0, -0.007355395, 0.0021421018, -0.03261461, 0.0) * go_0(0.0, 0.0); result += mat4(0.06596344, 0.0011187588, -0.0698554, 0.0, -0.024434082, -0.009038537, 0.042669352, 0.0, -0.060429063, -0.014795595, 0.10773078, 0.0, -0.018245215, -0.025555842, 0.07259554, 0.0) * go_0(0.0, 1.0); result += mat4(-0.0035948083, -0.026325721, 0.032130077, 0.0, 0.0015195963, 0.0044271573, -0.008984954, 0.0, 0.016403245, -0.0039584707, 0.013665029, 0.0, 0.0016767944, 0.0070667397, -0.028133946, 0.0) * go_0(1.0, -1.0); result += mat4(0.01695004, -0.029402763, 0.047411986, 0.0, -0.01129213, 0.0049071675, 0.003822879, 0.0, -0.031588167, -0.031124864, -0.06241746, 0.0, -0.035150167, 0.024117738, -0.008538587, 0.0) * go_0(1.0, 0.0); result += mat4(0.058436964, -0.018053403, -0.0029208104, 0.0, -0.012583584, -8.435696e-06, -0.0021389409, 0.0, 0.025366964, 0.022662194, -0.03120317, 0.0, -0.05732525, -0.0019531269, 0.02189266, 0.0) * go_0(1.0, 1.0); result += mat4(0.021041503, -0.03575024, 0.039296895, 0.0, 0.036413766, -0.015376002, -0.003543714, 0.0, -0.006572382, -0.01746979, 0.024723995, 0.0, -0.005184721, 0.014261276, -0.021478102, 0.0) * go_1(-1.0, -1.0); result += mat4(0.007271495, 0.010891414, 0.06081773, 0.0, -0.07530834, -0.057223827, 0.056062855, 0.0, -0.03944118, 0.009164506, 0.016359169, 0.0, 0.011959882, -0.009856203, -0.050926358, 0.0) * go_1(-1.0, 0.0); result += mat4(-0.01974953, 0.010230301, -0.007793579, 0.0, -0.020196917, 0.04590978, 0.03837431, 0.0, -0.006767891, 0.0075034844, -0.003773216, 0.0, 0.013550913, -0.0003947991, 0.0031925605, 0.0) * go_1(-1.0, 1.0); result += mat4(0.028148983, -0.038432404, 0.03511873, 0.0, -0.034311228, -0.02840252, -0.027590172, 0.0, 0.06412731, -0.03889514, -0.016489375, 0.0, -0.048484165, 0.00057386677, 0.0026269031, 0.0) * go_1(0.0, -1.0); result += mat4(-0.08776933, 0.0029032787, -0.031222485, 0.0, 0.06960467, 0.09750718, 0.050598294, 0.0, 0.0835213, 0.021661203, 0.038753476, 0.0, 0.03982122, 0.03788668, 0.1515678, 0.0) * go_1(0.0, 0.0); result += mat4(0.028370056, 0.039478805, -0.020990063, 0.0, 0.00912417, 0.023335736, -0.16728604, 0.0, -0.011494958, -0.013394507, -0.053537812, 0.0, -0.005550743, -0.009001584, 0.012948562, 0.0) * go_1(0.0, 1.0); result += mat4(0.013810996, -0.025271188, -0.004379599, 0.0, 0.015034975, -0.00089060765, 0.033212643, 0.0, 0.038851626, -0.0057069063, -0.040545236, 0.0, -0.0028078358, 0.015933724, 0.01575025, 0.0) * go_1(1.0, -1.0); result += mat4(0.01737436, 0.01430337, -0.015735079, 0.0, -0.016511876, -0.06596022, 0.003990326, 0.0, 0.029907767, 0.0024715378, -0.05681515, 0.0, -0.0066727134, -0.024142109, 0.022043386, 0.0) * go_1(1.0, 0.0); result += mat4(-0.019812914, 0.0015476292, -0.016639404, 0.0, 0.017160518, -0.002040027, -0.0007517166, 0.0, 0.0071950383, -0.003341077, -0.046353333, 0.0, -0.00083734177, -0.010146456, 0.016291264, 0.0) * go_1(1.0, 1.0); result += mat4(0.005489136, -0.015574599, -0.011043608, 0.0, -0.009506977, 0.0054301876, 0.02158638, 0.0, 0.028507395, 0.018968195, 0.015134093, 0.0, -0.03841078, 0.025878599, 0.014776577, 0.0) * go_2(-1.0, -1.0); result += mat4(0.050771695, -0.020951752, 0.02507804, 0.0, -0.023102228, 0.005002361, 0.009032685, 0.0, -0.02580423, 0.01087507, 0.053516913, 0.0, -0.0029967995, -0.0077431537, -0.001353477, 0.0) * go_2(-1.0, 0.0); result += mat4(0.010528193, -0.015227771, 0.04612157, 0.0, -0.0034696343, 0.012149008, 0.00761891, 0.0, -0.028641496, 0.024396904, -0.005470966, 0.0, -0.016171847, 0.017462283, -0.0045835036, 0.0) * go_2(-1.0, 1.0); result += mat4(0.016605109, -0.015695306, -0.026842888, 0.0, -0.018456295, -0.0015909546, 0.01639685, 0.0, 0.045253225, 0.014879358, -0.0029951404, 0.0, -0.07698649, -6.646588e-05, 0.051242474, 0.0) * go_2(0.0, -1.0); result += mat4(0.021182995, -0.059780866, -0.10691225, 0.0, 0.012331703, 0.018810093, -0.00074620557, 0.0, -0.08377086, -0.09883356, 0.0033603192, 0.0, 0.027267748, -0.044589777, -0.016808862, 0.0) * go_2(0.0, 0.0); result += mat4(-0.05345038, 0.007593226, 0.08017634, 0.0, 0.0029109702, -0.0066193943, -0.053755503, 0.0, 0.06317975, 0.013643785, -0.09781004, 0.0, 0.025922418, 0.02646404, -0.07879502, 0.0) * go_2(0.0, 1.0); result += mat4(0.013840612, 0.03220654, 0.008247586, 0.0, 0.0024653377, 0.0017564539, 0.0095992945, 0.0, -0.008052894, 0.0005847401, 0.0030516423, 0.0, -0.0055664075, -0.0022113416, 0.03661902, 0.0) * go_2(1.0, -1.0); result += mat4(-0.009897283, 0.03339503, -0.04373135, 0.0, 0.007111389, -0.0064675347, -0.0057030907, 0.0, 0.024796525, 0.014585273, 0.04618779, 0.0, 0.0451687, -0.01796601, 0.019403245, 0.0) * go_2(1.0, 0.0); result += mat4(-0.050205655, 0.0067047793, 0.004935128, 0.0, 0.007296142, 0.0021017375, 0.004065404, 0.0, -0.033875827, -0.029431261, 0.028738476, 0.0, 0.0447788, 0.0089823445, -0.014340374, 0.0) * go_2(1.0, 1.0); result += mat4(-0.008800223, 0.03338696, -0.034157075, 0.0, -0.0068426207, 0.018176233, 0.004032728, 0.0, 0.024810873, 0.014211227, -0.05046429, 0.0, 0.002167862, -0.024004508, 0.029742634, 0.0) * go_3(-1.0, -1.0); result += mat4(-0.017277744, -0.027693354, -0.061636884, 0.0, 0.03730354, 0.02037306, -0.082923785, 0.0, 0.06614115, -0.021971319, -0.03728439, 0.0, -0.009604838, 0.0065510827, 0.05428039, 0.0) * go_3(-1.0, 0.0); result += mat4(0.028721841, -0.015807403, 0.0052445545, 0.0, 0.044053316, -0.03528111, -0.02186662, 0.0, 0.038215213, -0.016336309, -0.008933091, 0.0, -0.0011169153, 0.012024489, 0.02721076, 0.0) * go_3(-1.0, 1.0); result += mat4(-0.023697415, 0.03966659, -0.034681734, 0.0, 0.018552555, 0.0103879105, -0.012615872, 0.0, -0.07300987, 0.040119167, 0.005360114, 0.0, 0.027465869, -0.02125224, -0.0050676432, 0.0) * go_3(0.0, -1.0); result += mat4(0.030902436, -0.036696557, 0.0028193328, 0.0, -0.05093436, -0.07263705, -0.021804878, 0.0, -0.09184029, -0.024111573, -0.058388986, 0.0, -0.0090374835, -0.005109571, -0.097216494, 0.0) * go_3(0.0, 0.0); result += mat4(0.015647996, -0.014143281, 0.04477705, 0.0, -0.01775979, -0.034271564, 0.16637851, 0.0, 0.05501123, 0.017724924, 0.04504396, 0.0, -0.026133522, -0.013498184, -0.013634824, 0.0) * go_3(0.0, 1.0); result += mat4(-0.03309264, 0.01711954, 0.0074518835, 0.0, 0.016711101, 0.032219592, -0.019081173, 0.0, -0.017806605, 0.009609709, 0.025623152, 0.0, 0.0010809151, -0.015366981, -0.012361129, 0.0) * go_3(1.0, -1.0); result += mat4(0.0049063656, 0.010883338, 0.04879139, 0.0, -0.022820218, 0.034932375, -0.019001193, 0.0, -0.013871661, 0.000886869, 0.05011855, 0.0, 0.0074326694, 0.030681293, -0.008235174, 0.0) * go_3(1.0, 0.0); result += mat4(0.016555479, -0.01782214, 0.012905581, 0.0, -0.024117837, 0.0008709348, -0.003545648, 0.0, 0.015249755, -0.01739516, 0.031961266, 0.0, 0.008861017, 0.019980997, -0.0017820391, 0.0) * go_3(1.0, 1.0); result += mat4(0.015237567, 0.002044042, 0.013154992, 0.0, 0.014365077, 0.009685413, 0.009999783, 0.0, -0.004745017, -0.008530349, -0.0048582545, 0.0, 0.006463907, 0.011591748, 0.0013033211, 0.0) * go_4(-1.0, -1.0); result += mat4(-0.0039128656, -0.018021967, -0.01664764, 0.0, 0.032044526, 0.03212382, 0.03248477, 0.0, -0.018143034, -0.024854887, -0.013054983, 0.0, 0.014334873, 0.026316965, 0.01232964, 0.0) * go_4(-1.0, 0.0); result += mat4(0.002798491, -0.0038798824, 0.0022298654, 0.0, 0.0019937146, 2.3132301e-05, 0.0051871384, 0.0, 0.002116868, -0.0070092976, 0.0007712422, 0.0, -0.0110990815, -0.00045806088, -0.0042779488, 0.0) * go_4(-1.0, 1.0); result += mat4(-0.010706082, -0.016151588, -0.008477227, 0.0, -0.010954006, -0.0032643504, -0.0057480773, 0.0, 0.0063414387, 0.011558126, 0.006752642, 0.0, 0.024452314, 0.013355994, 0.011969219, 0.0) * go_4(0.0, -1.0); result += mat4(0.015298925, 0.030997332, 0.009838116, 0.0, -0.080680534, -0.05467505, -0.05227959, 0.0, -0.023426097, 0.013344335, 0.00071768253, 0.0, -0.015939463, -0.038700994, -0.028631734, 0.0) * go_4(0.0, 0.0); result += mat4(-0.01238892, 0.004899588, 0.0006303335, 0.0, -0.0103858225, -0.0065748966, -0.013839468, 0.0, -0.016547715, 0.0016229248, -0.004543596, 0.0, 0.012939155, -0.004688313, -0.0023379533, 0.0) * go_4(0.0, 1.0); result += mat4(-0.0057197395, -0.005643721, -0.00911208, 0.0, 0.017784229, 0.008518574, 0.014390045, 0.0, 0.01216526, -0.004762164, 0.00039809215, 0.0, 0.004477759, 0.0014034393, 0.0015725178, 0.0) * go_4(1.0, -1.0); result += mat4(0.0080029685, 0.012455343, 0.008170205, 0.0, 0.013437776, 0.0017411915, 0.002170487, 0.0, 0.020931266, 0.0062978463, 0.0077739186, 0.0, 0.012534784, 0.0017018887, -0.0056342245, 0.0) * go_4(1.0, 0.0); result += mat4(0.0009400788, -0.0069639036, 0.0030032704, 0.0, 0.0031776547, -0.0106882155, -0.0021752508, 0.0, 0.0209143, 0.0059682373, 0.004596733, 0.0, -0.022955237, -0.009941201, -0.006298617, 0.0) * go_4(1.0, 1.0); result += mat4(-0.0064679156, -0.010350582, -0.009941069, 0.0, -0.0015805382, 0.012290337, 0.008409566, 0.0, -0.117412835, -0.09645556, -0.09703461, 0.0, -0.007818433, -0.0075441995, 0.0014142053, 0.0) * go_5(-1.0, -1.0); result += mat4(-0.008875219, -0.010561973, -0.0123933125, 0.0, 0.013169622, 0.02392643, 0.016722063, 0.0, 0.055201843, 0.07873035, 0.05582767, 0.0, 0.023869634, 0.020948572, 0.019141855, 0.0) * go_5(-1.0, 0.0); result += mat4(0.004586781, 0.003811747, 0.0040364224, 0.0, 0.0025533088, 0.004466686, -0.002531796, 0.0, 0.01505836, 0.012453587, 0.012348402, 0.0, -0.024105167, -0.020986296, -0.0138099855, 0.0) * go_5(-1.0, 1.0); result += mat4(0.017402729, 0.012661966, 0.0056144516, 0.0, -0.004699965, -0.0008380072, -0.006091114, 0.0, 0.0011875675, 0.00879462, 0.011868305, 0.0, -0.018672796, -0.026099058, -0.010950582, 0.0) * go_5(0.0, -1.0); result += mat4(0.0030471918, 0.0007148243, -0.0025094969, 0.0, 0.033177674, 0.035010602, 0.039097246, 0.0, 0.039616674, 0.037767593, 0.01638443, 0.0, -0.12697552, -0.1073338, -0.09579577, 0.0) * go_5(0.0, 0.0); result += mat4(-0.00025230617, 0.0012266148, 0.004280498, 0.0, -0.014905165, -0.021798527, -0.020744175, 0.0, -0.002821233, -0.0060641593, -0.007882776, 0.0, -0.07172067, -0.06563568, -0.034545008, 0.0) * go_5(0.0, 1.0); result += mat4(0.003620735, -0.0024858215, 0.00022405668, 0.0, -0.0076808417, -0.0012458211, -0.0011529091, 0.0, -0.004562087, -0.008754068, -0.0054264124, 0.0, -0.012856577, -0.0010323325, -0.010446232, 0.0) * go_5(1.0, -1.0); result += mat4(-0.011776141, -0.0019654774, -0.0055164173, 0.0, -0.020086112, -0.016785175, -0.00850444, 0.0, 0.010972318, 0.0025132888, 0.0010225184, 0.0, 0.09268763, 0.092143916, 0.08644562, 0.0) * go_5(1.0, 0.0); result += mat4(-0.007995734, 0.0009648095, 0.00030679026, 0.0, -0.012054333, -0.010890181, -0.014105062, 0.0, 0.008349884, 0.0012249199, 0.002626051, 0.0, -0.005392993, 0.0035896245, 0.011283782, 0.0) * go_5(1.0, 1.0); result += mat4(0.040485244, 0.05691461, 0.01393322, 0.0, -0.0068288567, -0.0047428505, -0.00517558, 0.0, 0.0046434966, 0.015452392, -0.00041433485, 0.0, 0.00063609646, -0.0071669365, 0.024786541, 0.0) * go_6(-1.0, -1.0); result += mat4(0.14682117, 0.17755695, 0.12569702, 0.0, -0.027783392, -0.02624908, -0.028104672, 0.0, 0.00031824392, 0.0073304633, 0.0035713087, 0.0, -0.004828108, -0.011006178, 0.0050675124, 0.0) * go_6(-1.0, 0.0); result += mat4(0.018347368, 0.058970205, 0.005508202, 0.0, 0.00017912469, 0.0047737043, 0.005871205, 0.0, -0.007914939, -0.0030016988, -0.010390166, 0.0, -0.011853182, -0.016345054, 0.011509364, 0.0) * go_6(-1.0, 1.0); result += mat4(-0.04851968, -0.0415747, -0.07765033, 0.0, 0.0065016304, 0.0018423289, 0.0009655065, 0.0, 0.12496835, 0.124992594, 0.103400074, 0.0, 0.03406387, 0.024533505, 0.077095464, 0.0) * go_6(0.0, -1.0); result += mat4(-0.07254525, -0.08249368, -0.08311044, 0.0, 0.06959693, 0.044335928, 0.03670938, 0.0, -0.1417736, -0.16761701, -0.14663263, 0.0, 0.10133506, 0.110241316, 0.14565967, 0.0) * go_6(0.0, 0.0); result += mat4(0.019155718, 0.0071138083, -0.0034784337, 0.0, -0.00664143, -0.001776598, 0.0020648353, 0.0, 0.023666251, 0.0018572954, 0.009598296, 0.0, -0.06739044, -0.07003538, -0.023062525, 0.0) * go_6(0.0, 1.0); result += mat4(-0.01241549, -0.009126171, -0.025202572, 0.0, -0.0075291363, 0.0039865207, -0.0034039568, 0.0, 0.016126499, 0.03303203, 0.0098967515, 0.0, -0.028944502, -0.020699043, 0.029002754, 0.0) * go_6(1.0, -1.0); result += mat4(-0.021382507, -0.026118703, -0.031718995, 0.0, -0.019529367, -0.0035435583, -0.0067699575, 0.0, -0.041487366, -0.028312238, -0.034041278, 0.0, -0.06073689, -0.07734381, -0.019799007, 0.0) * go_6(1.0, 0.0); result += mat4(-0.01363575, -0.0015479103, -0.020948276, 0.0, -0.010927923, 0.0065499563, -0.0012396075, 0.0, -0.029386181, -0.014403808, -0.012845848, 0.0, -0.009659123, -0.0495663, -0.0149474265, 0.0) * go_6(1.0, 1.0); result += mat4(0.021467282, 0.010587587, 0.027719442, 0.0, -0.016798606, -0.035109796, -0.028590709, 0.0, -0.030624123, -0.04124009, -0.03222284, 0.0, -0.0026517997, 0.0045358734, -0.002765814, 0.0) * go_7(-1.0, -1.0); result += mat4(0.033694725, 0.02778838, 0.034238014, 0.0, -0.04121519, -0.06834962, -0.062327933, 0.0, 0.050779387, 0.030920736, 0.03404337, 0.0, -0.0036348598, -0.0020900413, -0.0004735747, 0.0) * go_7(-1.0, 0.0); result += mat4(-0.007622776, 0.011874823, 0.01900638, 0.0, -0.0025179803, 0.028925508, 0.01261665, 0.0, 0.013219528, 0.016697768, 0.013904126, 0.0, 0.0032451088, 0.0002832319, 0.00023742643, 0.0) * go_7(-1.0, 1.0); result += mat4(0.01943161, 0.0021087795, 0.019444287, 0.0, 0.014026365, -0.003662395, -0.025668561, 0.0, -0.024189321, -0.023441639, -0.031171577, 0.0, 0.008905503, 0.011113009, 0.01485881, 0.0) * go_7(0.0, -1.0); result += mat4(0.03617188, 0.020874048, 0.019303437, 0.0, -0.31612596, -0.34252307, -0.37307942, 0.0, -0.010667352, -0.010282407, -0.0023546303, 0.0, -0.047603715, -0.042640142, -0.035864264, 0.0) * go_7(0.0, 0.0); result += mat4(0.030194433, 0.039834637, 0.03607905, 0.0, 0.07675613, 0.09751075, 0.042691164, 0.0, 0.013306196, 0.015537212, 0.020499485, 0.0, 0.021594003, 0.005205471, 0.0023345314, 0.0) * go_7(0.0, 1.0); result += mat4(0.017912725, 0.018817604, 0.009495288, 0.0, 0.031629816, 0.030030556, 0.003441103, 0.0, -0.0031581502, 0.003583242, 0.00081657764, 0.0, 0.005727217, 0.007922274, 0.013391995, 0.0) * go_7(1.0, -1.0); result += mat4(0.035499737, 0.025537802, 0.011286941, 0.0, 0.060370766, 0.07218371, 0.02229925, 0.0, -0.007152367, 0.0015067369, 0.004906394, 0.0, -0.0069688433, -0.0027407445, -0.008629306, 0.0) * go_7(1.0, 0.0); result += mat4(0.017541587, 0.03987632, 0.027013319, 0.0, 0.055954672, 0.08695107, 0.054611363, 0.0, -0.0035868676, 0.0035243938, 0.009716404, 0.0, 0.024346305, 0.017666759, 0.017770555, 0.0) * go_7(1.0, 1.0); result += vec4(0.0013127691, 0.0012500212, 0.00080561294, 0.0); return result * 0.5 + MAIN_tex(MAIN_pos); }
GLSL
4
dvdvideo1234/Anime4K
glsl/Restore/Anime4K_Restore_GAN_UUL.glsl
[ "MIT" ]
foo is new Array with 1 2 3
Dogescript
0
erinkeith/dogescript
test/spec/operators/assignment/is/new-multi-args/source.djs
[ "MIT" ]
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/heap/marking.h" namespace v8 { namespace internal { const size_t Bitmap::kSize = Bitmap::CellsCount() * Bitmap::kBytesPerCell; template <> bool ConcurrentBitmap<AccessMode::NON_ATOMIC>::AllBitsSetInRange( uint32_t start_index, uint32_t end_index) { if (start_index >= end_index) return false; end_index--; unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); unsigned int end_cell_index = end_index >> Bitmap::kBitsPerCellLog2; MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); MarkBit::CellType matching_mask; if (start_cell_index != end_cell_index) { matching_mask = ~(start_index_mask - 1); if ((cells()[start_cell_index] & matching_mask) != matching_mask) { return false; } for (unsigned int i = start_cell_index + 1; i < end_cell_index; i++) { if (cells()[i] != ~0u) return false; } matching_mask = end_index_mask | (end_index_mask - 1); return ((cells()[end_cell_index] & matching_mask) == matching_mask); } else { matching_mask = end_index_mask | (end_index_mask - start_index_mask); return (cells()[end_cell_index] & matching_mask) == matching_mask; } } template <> bool ConcurrentBitmap<AccessMode::NON_ATOMIC>::AllBitsClearInRange( uint32_t start_index, uint32_t end_index) { if (start_index >= end_index) return true; end_index--; unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2; MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index); unsigned int end_cell_index = end_index >> Bitmap::kBitsPerCellLog2; MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); MarkBit::CellType matching_mask; if (start_cell_index != end_cell_index) { matching_mask = ~(start_index_mask - 1); if ((cells()[start_cell_index] & matching_mask)) return false; for (unsigned int i = start_cell_index + 1; i < end_cell_index; i++) { if (cells()[i]) return false; } matching_mask = end_index_mask | (end_index_mask - 1); return !(cells()[end_cell_index] & matching_mask); } else { matching_mask = end_index_mask | (end_index_mask - start_index_mask); return !(cells()[end_cell_index] & matching_mask); } } namespace { void PrintWord(uint32_t word, uint32_t himask = 0) { for (uint32_t mask = 1; mask != 0; mask <<= 1) { if ((mask & himask) != 0) PrintF("["); PrintF((mask & word) ? "1" : "0"); if ((mask & himask) != 0) PrintF("]"); } } class CellPrinter { public: CellPrinter() : seq_start(0), seq_type(0), seq_length(0) {} void Print(size_t pos, uint32_t cell) { if (cell == seq_type) { seq_length++; return; } Flush(); if (IsSeq(cell)) { seq_start = pos; seq_length = 0; seq_type = cell; return; } PrintF("%zu: ", pos); PrintWord(cell); PrintF("\n"); } void Flush() { if (seq_length > 0) { PrintF("%zu: %dx%zu\n", seq_start, seq_type == 0 ? 0 : 1, seq_length * Bitmap::kBitsPerCell); seq_length = 0; } } static bool IsSeq(uint32_t cell) { return cell == 0 || cell == 0xFFFFFFFF; } private: size_t seq_start; uint32_t seq_type; size_t seq_length; }; } // anonymous namespace template <> void ConcurrentBitmap<AccessMode::NON_ATOMIC>::Print() { CellPrinter printer; for (size_t i = 0; i < CellsCount(); i++) { printer.Print(i, cells()[i]); } printer.Flush(); PrintF("\n"); } template <> bool ConcurrentBitmap<AccessMode::NON_ATOMIC>::IsClean() { for (size_t i = 0; i < CellsCount(); i++) { if (cells()[i] != 0) { return false; } } return true; } } // namespace internal } // namespace v8
C++
4
EXHades/v8
src/heap/marking.cc
[ "BSD-3-Clause" ]
[Exposed=Window] interface TreeWalker { [SameObject] readonly attribute Node root; readonly attribute unsigned long whatToShow; readonly attribute NodeFilter? filter; attribute Node currentNode; Node? parentNode(); Node? firstChild(); Node? lastChild(); Node? previousSibling(); Node? nextSibling(); Node? previousNode(); Node? nextNode(); };
WebIDL
3
corsarstl/Learn-Vue-2
vue-testing/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker.webidl
[ "MIT" ]
#tag Module Protected Module Opts #tag ExternalMethod, Flags = &h21 Private Soft Declare Function curl_easy_option_by_id Lib cURLLib (OptionID As Integer) As Ptr #tag EndExternalMethod #tag ExternalMethod, Flags = &h21 Private Soft Declare Function curl_easy_option_by_name Lib cURLLib (Name As CString) As Ptr #tag EndExternalMethod #tag ExternalMethod, Flags = &h21 Private Soft Declare Function curl_easy_option_next Lib cURLLib (Previous As Ptr) As Ptr #tag EndExternalMethod #tag Method, Flags = &h1 Protected Function IsOptionAvailable(OptionNumber As Integer) As Boolean If Not libcURL.IsAvailable Then Return False Dim iter As New OptionIterator() Do If iter.CurrentOption = OptionNumber Then Dim opt As OptionInfo = OptionNumber Dim e As New EasyHandle Select Case opt.Type Case OptionType.Bitmask, OptionType.LargeNumber, OptionType.Number If Not e.SetOption(opt, 1) Then Return False Return opt.Value(e) = 1 Case OptionType.Blob, OptionType.List, OptionType.Opaque, OptionType.Ptr, OptionType.Subroutine If Not e.SetOption(opt, Nil) Then Return False Return opt.Value(e) = Nil Case OptionType.String If Not e.SetOption(opt, "") Then Return False Return opt.Value(e) = "" End Select End If Loop Until Not iter.MoveNext() Exception Return False End Function #tag EndMethod #tag Method, Flags = &h1 Protected Function IsOptionAvailable(OptionName As String) As Boolean Dim opt As OptionInfo = OptionName If opt.OptionNumber = 0 Then Return False Return IsOptionAvailable(opt) End Function #tag EndMethod #tag Method, Flags = &h1 Protected Function OptionTypeName(Type As libcURL.OptionType) As String Select Case Type Case OptionType.Bitmask Return "Bitmask" Case OptionType.Blob Return "Blob" Case OptionType.LargeNumber Return "Large number" Case OptionType.List Return "List" Case OptionType.Number Return "Number" Case OptionType.Opaque Return "Opaque" Case OptionType.Ptr Return "Ptr" Case OptionType.String Return "String" Case OptionType.Subroutine Return "Subroutine" Case OptionType.Boolean ' added by the binding Return "Boolean" Else Return "Unknown" End Select End Function #tag EndMethod #tag Constant, Name = ABSTRACT_UNIX_SOCKET, Type = Double, Dynamic = False, Default = \"10264", Scope = Protected #tag EndConstant #tag Constant, Name = ACCEPTTIMEOUT_MS, Type = Double, Dynamic = False, Default = \"212", Scope = Protected #tag EndConstant #tag Constant, Name = ACCEPT_ENCODING, Type = Double, Dynamic = False, Default = \"10102", Scope = Protected #tag EndConstant #tag Constant, Name = ADDRESS_SCOPE, Type = Double, Dynamic = False, Default = \"171", Scope = Protected #tag EndConstant #tag Constant, Name = ALTSVC, Type = Double, Dynamic = False, Default = \"10287", Scope = Protected #tag EndConstant #tag Constant, Name = ALTSVC_CTRL, Type = Double, Dynamic = False, Default = \"286", Scope = Protected #tag EndConstant #tag Constant, Name = APPEND, Type = Double, Dynamic = False, Default = \"50", Scope = Protected #tag EndConstant #tag Constant, Name = AUTOREFERER, Type = Double, Dynamic = False, Default = \"58", Scope = Protected #tag EndConstant #tag Constant, Name = AWS_SIGV4, Type = Double, Dynamic = False, Default = \"10305", Scope = Protected #tag EndConstant #tag Constant, Name = BUFFERSIZE, Type = Double, Dynamic = False, Default = \"98", Scope = Protected #tag EndConstant #tag Constant, Name = CAINFO, Type = Double, Dynamic = False, Default = \"10065", Scope = Protected #tag EndConstant #tag Constant, Name = CAINFO_BLOB, Type = Double, Dynamic = False, Default = \"40309", Scope = Protected #tag EndConstant #tag Constant, Name = CAPATH, Type = Double, Dynamic = False, Default = \"10097", Scope = Protected #tag EndConstant #tag Constant, Name = CERTINFO, Type = Double, Dynamic = False, Default = \"172", Scope = Protected #tag EndConstant #tag Constant, Name = CHUNK_BGN_FUNCTION, Type = Double, Dynamic = False, Default = \"20198", Scope = Protected #tag EndConstant #tag Constant, Name = CHUNK_DATA, Type = Double, Dynamic = False, Default = \"10201", Scope = Protected #tag EndConstant #tag Constant, Name = CHUNK_END_FUNCTION, Type = Double, Dynamic = False, Default = \"20199", Scope = Protected #tag EndConstant #tag Constant, Name = CLOSESOCKETDATA, Type = Double, Dynamic = False, Default = \"10209", Scope = Protected #tag EndConstant #tag Constant, Name = CLOSESOCKETFUNCTION, Type = Double, Dynamic = False, Default = \"20208", Scope = Protected #tag EndConstant #tag Constant, Name = CONNECTTIMEOUT, Type = Double, Dynamic = False, Default = \"78", Scope = Protected #tag EndConstant #tag Constant, Name = CONNECTTIMEOUT_MS, Type = Double, Dynamic = False, Default = \"156", Scope = Protected #tag EndConstant #tag Constant, Name = CONNECT_ONLY, Type = Double, Dynamic = False, Default = \"141", Scope = Protected #tag EndConstant #tag Constant, Name = CONNECT_TO, Type = Double, Dynamic = False, Default = \"10243", Scope = Protected #tag EndConstant #tag Constant, Name = CONV_FROM_NETWORK_FUNCTION, Type = Double, Dynamic = False, Default = \"20142", Scope = Protected #tag EndConstant #tag Constant, Name = CONV_FROM_UTF8_FUNCTION, Type = Double, Dynamic = False, Default = \"20144", Scope = Protected #tag EndConstant #tag Constant, Name = CONV_TO_NETWORK_FUNCTION, Type = Double, Dynamic = False, Default = \"20143", Scope = Protected #tag EndConstant #tag Constant, Name = COOKIE, Type = Double, Dynamic = False, Default = \"10022", Scope = Protected #tag EndConstant #tag Constant, Name = COOKIEFILE, Type = Double, Dynamic = False, Default = \"10031", Scope = Protected #tag EndConstant #tag Constant, Name = COOKIEJAR, Type = Double, Dynamic = False, Default = \"10082", Scope = Protected #tag EndConstant #tag Constant, Name = COOKIELIST, Type = Double, Dynamic = False, Default = \"10135", Scope = Protected #tag EndConstant #tag Constant, Name = COOKIESESSION, Type = Double, Dynamic = False, Default = \"96", Scope = Protected #tag EndConstant #tag Constant, Name = COPYPOSTFIELDS, Type = Double, Dynamic = False, Default = \"10165", Scope = Protected #tag EndConstant #tag Constant, Name = CRLF, Type = Double, Dynamic = False, Default = \"27", Scope = Protected #tag EndConstant #tag Constant, Name = CRLFILE, Type = Double, Dynamic = False, Default = \"10169", Scope = Protected #tag EndConstant #tag Constant, Name = CURLU, Type = Double, Dynamic = False, Default = \"10282", Scope = Protected #tag EndConstant #tag Constant, Name = CUSTOMREQUEST, Type = Double, Dynamic = False, Default = \"10036", Scope = Protected #tag EndConstant #tag Constant, Name = DEBUGDATA, Type = Double, Dynamic = False, Default = \"10095", Scope = Protected #tag EndConstant #tag Constant, Name = DEBUGFUNCTION, Type = Double, Dynamic = False, Default = \"20094", Scope = Protected #tag EndConstant #tag Constant, Name = DEFAULT_PROTOCOL, Type = Double, Dynamic = False, Default = \"10238", Scope = Protected #tag EndConstant #tag Constant, Name = DIRLISTONLY, Type = Double, Dynamic = False, Default = \"48", Scope = Protected #tag EndConstant #tag Constant, Name = DISALLOW_USERNAME_IN_URL, Type = Double, Dynamic = False, Default = \"278", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_CACHE_TIMEOUT, Type = Double, Dynamic = False, Default = \"92", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_INTERFACE, Type = Double, Dynamic = False, Default = \"10221", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_LOCAL_IP4, Type = Double, Dynamic = False, Default = \"10222", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_LOCAL_IP6, Type = Double, Dynamic = False, Default = \"10223", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_SERVERS, Type = Double, Dynamic = False, Default = \"10211", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_SHUFFLE_ADDRESSES, Type = Double, Dynamic = False, Default = \"275", Scope = Protected #tag EndConstant #tag Constant, Name = DNS_USE_GLOBAL_CACHE, Type = Double, Dynamic = False, Default = \"91", Scope = Protected #tag EndConstant #tag Constant, Name = DOH_URL, Type = Double, Dynamic = False, Default = \"10279", Scope = Protected #tag EndConstant #tag Constant, Name = EGDSOCKET, Type = Double, Dynamic = False, Default = \"10077", Scope = Protected #tag EndConstant #tag Constant, Name = ERRORBUFFER, Type = Double, Dynamic = False, Default = \"10010", Scope = Protected #tag EndConstant #tag Constant, Name = EXPECT_100_TIMEOUT_MS, Type = Double, Dynamic = False, Default = \"227", Scope = Protected #tag EndConstant #tag Constant, Name = FAILONERROR, Type = Double, Dynamic = False, Default = \"45", Scope = Protected #tag EndConstant #tag Constant, Name = FILETIME, Type = Double, Dynamic = False, Default = \"69", Scope = Protected #tag EndConstant #tag Constant, Name = FNMATCH_DATA, Type = Double, Dynamic = False, Default = \"10202", Scope = Protected #tag EndConstant #tag Constant, Name = FNMATCH_FUNCTION, Type = Double, Dynamic = False, Default = \"20200", Scope = Protected #tag EndConstant #tag Constant, Name = FOLLOWLOCATION, Type = Double, Dynamic = False, Default = \"52", Scope = Protected #tag EndConstant #tag Constant, Name = FORBID_REUSE, Type = Double, Dynamic = False, Default = \"75", Scope = Protected #tag EndConstant #tag Constant, Name = FRESH_CONNECT, Type = Double, Dynamic = False, Default = \"74", Scope = Protected #tag EndConstant #tag Constant, Name = FTPPORT, Type = Double, Dynamic = False, Default = \"10017", Scope = Protected #tag EndConstant #tag Constant, Name = FTPSSLAUTH, Type = Double, Dynamic = False, Default = \"129", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_ACCOUNT, Type = Double, Dynamic = False, Default = \"10134", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_ALTERNATIVE_TO_USER, Type = Double, Dynamic = False, Default = \"10147", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_CREATE_MISSING_DIRS, Type = Double, Dynamic = False, Default = \"110", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_FILEMETHOD, Type = Double, Dynamic = False, Default = \"138", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_RESPONSE_TIMEOUT, Type = Double, Dynamic = False, Default = \"112", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_SKIP_PASV_IP, Type = Double, Dynamic = False, Default = \"137", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_SSL_CCC, Type = Double, Dynamic = False, Default = \"154", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_USE_EPRT, Type = Double, Dynamic = False, Default = \"106", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_USE_EPSV, Type = Double, Dynamic = False, Default = \"85", Scope = Protected #tag EndConstant #tag Constant, Name = FTP_USE_PRET, Type = Double, Dynamic = False, Default = \"188", Scope = Protected #tag EndConstant #tag Constant, Name = GSSAPI_DELEGATION, Type = Double, Dynamic = False, Default = \"210", Scope = Protected #tag EndConstant #tag Constant, Name = HAPPY_EYEBALLS_TIMEOUT_MS, Type = Double, Dynamic = False, Default = \"271", Scope = Protected #tag EndConstant #tag Constant, Name = HAPROXYPROTOCOL, Type = Double, Dynamic = False, Default = \"274", Scope = Protected #tag EndConstant #tag Constant, Name = HEADER, Type = Double, Dynamic = False, Default = \"42", Scope = Protected #tag EndConstant #tag Constant, Name = HEADERDATA, Type = Double, Dynamic = False, Default = \"10029", Scope = Protected #tag EndConstant #tag Constant, Name = HEADERFUNCTION, Type = Double, Dynamic = False, Default = \"20079", Scope = Protected #tag EndConstant #tag Constant, Name = HEADEROPT, Type = Double, Dynamic = False, Default = \"229", Scope = Protected #tag EndConstant #tag Constant, Name = HTTP09_ALLOWED, Type = Double, Dynamic = False, Default = \"285", Scope = Protected #tag EndConstant #tag Constant, Name = HTTP200ALIASES, Type = Double, Dynamic = False, Default = \"10104", Scope = Protected #tag EndConstant #tag Constant, Name = HTTPAUTH, Type = Double, Dynamic = False, Default = \"107", Scope = Protected #tag EndConstant #tag Constant, Name = HTTPGET, Type = Double, Dynamic = False, Default = \"80", Scope = Protected #tag EndConstant #tag Constant, Name = HTTPHEADER, Type = Double, Dynamic = False, Default = \"10023", Scope = Protected #tag EndConstant #tag Constant, Name = HTTPPOST, Type = Double, Dynamic = False, Default = \"10024", Scope = Protected #tag EndConstant #tag Constant, Name = HTTPPROXYTUNNEL, Type = Double, Dynamic = False, Default = \"61", Scope = Protected #tag EndConstant #tag Constant, Name = HTTPVERSION, Type = Double, Dynamic = False, Default = \"84", Scope = Protected #tag EndConstant #tag Constant, Name = HTTP_CONTENT_DECODING, Type = Double, Dynamic = False, Default = \"158", Scope = Protected #tag EndConstant #tag Constant, Name = HTTP_TRANSFER_DECODING, Type = Double, Dynamic = False, Default = \"157", Scope = Protected #tag EndConstant #tag Constant, Name = HTTP_VERSION, Type = Double, Dynamic = False, Default = \"84", Scope = Protected #tag EndConstant #tag Constant, Name = IGNORE_CONTENT_LENGTH, Type = Double, Dynamic = False, Default = \"136", Scope = Protected #tag EndConstant #tag Constant, Name = INFILESIZE, Type = Double, Dynamic = False, Default = \"14", Scope = Protected #tag EndConstant #tag Constant, Name = INFILESIZE_LARGE, Type = Double, Dynamic = False, Default = \"30115", Scope = Protected #tag EndConstant #tag Constant, Name = INTERLEAVEDATA, Type = Double, Dynamic = False, Default = \"10195", Scope = Protected #tag EndConstant #tag Constant, Name = INTERLEAVEFUNCTION, Type = Double, Dynamic = False, Default = \"20196", Scope = Protected #tag EndConstant #tag Constant, Name = IOCTLDATA, Type = Double, Dynamic = False, Default = \"10131", Scope = Protected #tag EndConstant #tag Constant, Name = IOCTLFUNCTION, Type = Double, Dynamic = False, Default = \"20130", Scope = Protected #tag EndConstant #tag Constant, Name = IPRESOLVE, Type = Double, Dynamic = False, Default = \"113", Scope = Protected #tag EndConstant #tag Constant, Name = ISSUERCERT, Type = Double, Dynamic = False, Default = \"10170", Scope = Protected #tag EndConstant #tag Constant, Name = ISSUERCERT_BLOB, Type = Double, Dynamic = False, Default = \"40295", Scope = Protected #tag EndConstant #tag Constant, Name = KEEP_SENDING_ON_ERROR, Type = Double, Dynamic = False, Default = \"245", Scope = Protected #tag EndConstant #tag Constant, Name = KEYPASSWD, Type = Double, Dynamic = False, Default = \"10026", Scope = Protected #tag EndConstant #tag Constant, Name = KRBLEVEL, Type = Double, Dynamic = False, Default = \"10063", Scope = Protected #tag EndConstant #tag Constant, Name = LOCALPORT, Type = Double, Dynamic = False, Default = \"139", Scope = Protected #tag EndConstant #tag Constant, Name = LOCALPORTRANGE, Type = Double, Dynamic = False, Default = \"140", Scope = Protected #tag EndConstant #tag Constant, Name = LOGIN_OPTIONS, Type = Double, Dynamic = False, Default = \"10224", Scope = Protected #tag EndConstant #tag Constant, Name = LOW_SPEED_LIMIT, Type = Double, Dynamic = False, Default = \"19", Scope = Protected #tag EndConstant #tag Constant, Name = LOW_SPEED_TIME, Type = Double, Dynamic = False, Default = \"20", Scope = Protected #tag EndConstant #tag Constant, Name = MAIL_AUTH, Type = Double, Dynamic = False, Default = \"10217", Scope = Protected #tag EndConstant #tag Constant, Name = MAIL_FROM, Type = Double, Dynamic = False, Default = \"10186", Scope = Protected #tag EndConstant #tag Constant, Name = MAIL_RCPT, Type = Double, Dynamic = False, Default = \"10187", Scope = Protected #tag EndConstant #tag Constant, Name = MAIL_RCPT_ALLLOWFAILS, Type = Double, Dynamic = False, Default = \"290", Scope = Protected #tag EndConstant #tag Constant, Name = MAXAGE_CONN, Type = Double, Dynamic = False, Default = \"288", Scope = Protected #tag EndConstant #tag Constant, Name = MAXCONNECTS, Type = Double, Dynamic = False, Default = \"71", Scope = Protected #tag EndConstant #tag Constant, Name = MAXFILESIZE, Type = Double, Dynamic = False, Default = \"114", Scope = Protected #tag EndConstant #tag Constant, Name = MAXFILESIZE_LARGE, Type = Double, Dynamic = False, Default = \"30117", Scope = Protected #tag EndConstant #tag Constant, Name = MAXREDIRS, Type = Double, Dynamic = False, Default = \"68", Scope = Protected #tag EndConstant #tag Constant, Name = MAX_RECV_SPEED_LARGE, Type = Double, Dynamic = False, Default = \"30146", Scope = Protected #tag EndConstant #tag Constant, Name = MAX_SEND_SPEED_LARGE, Type = Double, Dynamic = False, Default = \"30145", Scope = Protected #tag EndConstant #tag Constant, Name = MIMEPOST, Type = Double, Dynamic = False, Default = \"10269", Scope = Protected #tag EndConstant #tag Constant, Name = NETINTERFACE, Type = Double, Dynamic = False, Default = \"10062", Scope = Protected #tag EndConstant #tag Constant, Name = NETRC, Type = Double, Dynamic = False, Default = \"51", Scope = Protected #tag EndConstant #tag Constant, Name = NETRC_FILE, Type = Double, Dynamic = False, Default = \"10118", Scope = Protected #tag EndConstant #tag Constant, Name = NEW_DIRECTORY_PERMS, Type = Double, Dynamic = False, Default = \"160", Scope = Protected #tag EndConstant #tag Constant, Name = NEW_FILE_PERMS, Type = Double, Dynamic = False, Default = \"159", Scope = Protected #tag EndConstant #tag Constant, Name = NOBODY, Type = Double, Dynamic = False, Default = \"44", Scope = Protected #tag EndConstant #tag Constant, Name = NOPROGRESS, Type = Double, Dynamic = False, Default = \"43", Scope = Protected #tag EndConstant #tag Constant, Name = NOPROXY, Type = Double, Dynamic = False, Default = \"10177", Scope = Protected #tag EndConstant #tag Constant, Name = NOSIGNAL, Type = Double, Dynamic = False, Default = \"99", Scope = Protected #tag EndConstant #tag Constant, Name = OPENSOCKETDATA, Type = Double, Dynamic = False, Default = \"10164", Scope = Protected #tag EndConstant #tag Constant, Name = OPENSOCKETFUNCTION, Type = Double, Dynamic = False, Default = \"20163", Scope = Protected #tag EndConstant #tag Constant, Name = PASSWORD, Type = Double, Dynamic = False, Default = \"10174", Scope = Protected #tag EndConstant #tag Constant, Name = PATH_AS_IS, Type = Double, Dynamic = False, Default = \"234", Scope = Protected #tag EndConstant #tag Constant, Name = PINNEDPUBLICKEY, Type = Double, Dynamic = False, Default = \"10230", Scope = Protected #tag EndConstant #tag Constant, Name = PIPELINING_SERVER_BL, Type = Double, Dynamic = False, Default = \"10012", Scope = Protected #tag EndConstant #tag Constant, Name = PIPELINING_SITE_BL, Type = Double, Dynamic = False, Default = \"10011", Scope = Protected #tag EndConstant #tag Constant, Name = PIPEWAIT, Type = Double, Dynamic = False, Default = \"237", Scope = Protected #tag EndConstant #tag Constant, Name = PORT, Type = Double, Dynamic = False, Default = \"3", Scope = Protected #tag EndConstant #tag Constant, Name = POST, Type = Double, Dynamic = False, Default = \"47", Scope = Protected #tag EndConstant #tag Constant, Name = POSTFIELDS, Type = Double, Dynamic = False, Default = \"10015", Scope = Protected #tag EndConstant #tag Constant, Name = POSTFIELDSIZE, Type = Double, Dynamic = False, Default = \"60", Scope = Protected #tag EndConstant #tag Constant, Name = POSTFIELDSIZE_LARGE, Type = Double, Dynamic = False, Default = \"30120", Scope = Protected #tag EndConstant #tag Constant, Name = POSTQUOTE, Type = Double, Dynamic = False, Default = \"10039", Scope = Protected #tag EndConstant #tag Constant, Name = POSTREDIR, Type = Double, Dynamic = False, Default = \"161", Scope = Protected #tag EndConstant #tag Constant, Name = PREQUOTE, Type = Double, Dynamic = False, Default = \"10093", Scope = Protected #tag EndConstant #tag Constant, Name = PRE_PROXY, Type = Double, Dynamic = False, Default = \"10262", Scope = Protected #tag EndConstant #tag Constant, Name = PRIVATE_, Type = Double, Dynamic = False, Default = \"10103", Scope = Protected #tag EndConstant #tag Constant, Name = PROGRESSDATA, Type = Double, Dynamic = False, Default = \"10057", Scope = Protected #tag EndConstant #tag Constant, Name = PROGRESSFUNCTION, Type = Double, Dynamic = False, Default = \"20056", Scope = Protected #tag EndConstant #tag Constant, Name = PROTOCOLS, Type = Double, Dynamic = False, Default = \"181", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY, Type = Double, Dynamic = False, Default = \"10004", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYAUTH, Type = Double, Dynamic = False, Default = \"111", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYHEADER, Type = Double, Dynamic = False, Default = \"10228", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYPASSWORD, Type = Double, Dynamic = False, Default = \"10176", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYPORT, Type = Double, Dynamic = False, Default = \"59", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYTYPE, Type = Double, Dynamic = False, Default = \"101", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYUSERNAME, Type = Double, Dynamic = False, Default = \"10175", Scope = Protected #tag EndConstant #tag Constant, Name = PROXYUSERPWD, Type = Double, Dynamic = False, Default = \"10006", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_CAINFO, Type = Double, Dynamic = False, Default = \"10246", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_CAPATH, Type = Double, Dynamic = False, Default = \"10247", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_CRLFILE, Type = Double, Dynamic = False, Default = \"10260", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_ISSUERCERT, Type = Double, Dynamic = False, Default = \"10296", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_ISSUERCERT_BLOB, Type = Double, Dynamic = False, Default = \"40297", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_KEYPASSWD, Type = Double, Dynamic = False, Default = \"10258", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_PINNEDPUBLICKEY, Type = Double, Dynamic = False, Default = \"10263", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SERVICE_NAME, Type = Double, Dynamic = False, Default = \"10235", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLCERT, Type = Double, Dynamic = False, Default = \"10254", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLCERTTYPE, Type = Double, Dynamic = False, Default = \"10255", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLCERT_BLOB, Type = Double, Dynamic = False, Default = \"40293", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLKEY, Type = Double, Dynamic = False, Default = \"10256", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLKEYTYPE, Type = Double, Dynamic = False, Default = \"10257", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLKEY_BLOB, Type = Double, Dynamic = False, Default = \"40294", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSLVERSION, Type = Double, Dynamic = False, Default = \"250", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSL_CIPHER_LIST, Type = Double, Dynamic = False, Default = \"10259", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSL_OPTIONS, Type = Double, Dynamic = False, Default = \"261", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSL_VERIFYHOST, Type = Double, Dynamic = False, Default = \"249", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_SSL_VERIFYPEER, Type = Double, Dynamic = False, Default = \"248", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_TLS13_CIPHERS, Type = Double, Dynamic = False, Default = \"10277", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_TLSAUTH_PASSWORD, Type = Double, Dynamic = False, Default = \"10252", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_TLSAUTH_TYPE, Type = Double, Dynamic = False, Default = \"10253", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_TLSAUTH_USERNAME, Type = Double, Dynamic = False, Default = \"10251", Scope = Protected #tag EndConstant #tag Constant, Name = PROXY_TRANSFER_MODE, Type = Double, Dynamic = False, Default = \"166", Scope = Protected #tag EndConstant #tag Constant, Name = PUT, Type = Double, Dynamic = False, Default = \"54", Scope = Protected #tag EndConstant #tag Constant, Name = QUOTE, Type = Double, Dynamic = False, Default = \"10028", Scope = Protected #tag EndConstant #tag Constant, Name = RANDOM_FILE, Type = Double, Dynamic = False, Default = \"10076", Scope = Protected #tag EndConstant #tag Constant, Name = RANGE, Type = Double, Dynamic = False, Default = \"10007", Scope = Protected #tag EndConstant #tag Constant, Name = READDATA, Type = Double, Dynamic = False, Default = \"10009", Scope = Protected #tag EndConstant #tag Constant, Name = READFUNCTION, Type = Double, Dynamic = False, Default = \"20012", Scope = Protected #tag EndConstant #tag Constant, Name = REDIR_PROTOCOLS, Type = Double, Dynamic = False, Default = \"182", Scope = Protected #tag EndConstant #tag Constant, Name = REFERER, Type = Double, Dynamic = False, Default = \"10016", Scope = Protected #tag EndConstant #tag Constant, Name = REQUEST_TARGET, Type = Double, Dynamic = False, Default = \"10266", Scope = Protected #tag EndConstant #tag Constant, Name = RESOLVE, Type = Double, Dynamic = False, Default = \"10203", Scope = Protected #tag EndConstant #tag Constant, Name = RESOLVER_START_DATA, Type = Double, Dynamic = False, Default = \"10273", Scope = Protected #tag EndConstant #tag Constant, Name = RESOLVER_START_FUNCTION, Type = Double, Dynamic = False, Default = \"20272", Scope = Protected #tag EndConstant #tag Constant, Name = RESUME_FROM, Type = Double, Dynamic = False, Default = \"21", Scope = Protected #tag EndConstant #tag Constant, Name = RESUME_FROM_LARGE, Type = Double, Dynamic = False, Default = \"30116", Scope = Protected #tag EndConstant #tag Constant, Name = RTSP_CLIENT_CSEQ, Type = Double, Dynamic = False, Default = \"193", Scope = Protected #tag EndConstant #tag Constant, Name = RTSP_REQUEST, Type = Double, Dynamic = False, Default = \"189", Scope = Protected #tag EndConstant #tag Constant, Name = RTSP_SERVER_CSEQ, Type = Double, Dynamic = False, Default = \"194", Scope = Protected #tag EndConstant #tag Constant, Name = RTSP_SESSION_ID, Type = Double, Dynamic = False, Default = \"10190", Scope = Protected #tag EndConstant #tag Constant, Name = RTSP_STREAM_URI, Type = Double, Dynamic = False, Default = \"10191", Scope = Protected #tag EndConstant #tag Constant, Name = RTSP_TRANSPORT, Type = Double, Dynamic = False, Default = \"10192", Scope = Protected #tag EndConstant #tag Constant, Name = SASL_AUTHZID, Type = Double, Dynamic = False, Default = \"10289", Scope = Protected #tag EndConstant #tag Constant, Name = SASL_IR, Type = Double, Dynamic = False, Default = \"218", Scope = Protected #tag EndConstant #tag Constant, Name = SEEKDATA, Type = Double, Dynamic = False, Default = \"10168", Scope = Protected #tag EndConstant #tag Constant, Name = SEEKFUNCTION, Type = Double, Dynamic = False, Default = \"20167", Scope = Protected #tag EndConstant #tag Constant, Name = SERVICE_NAME, Type = Double, Dynamic = False, Default = \"10236", Scope = Protected #tag EndConstant #tag Constant, Name = SHARE, Type = Double, Dynamic = False, Default = \"10100", Scope = Protected #tag EndConstant #tag Constant, Name = SHOPT_LOCKFUNC, Type = Double, Dynamic = False, Default = \"3", Scope = Protected #tag EndConstant #tag Constant, Name = SHOPT_UNLOCKFUNC, Type = Double, Dynamic = False, Default = \"4", Scope = Protected #tag EndConstant #tag Constant, Name = SHOPT_USERDATA, Type = Double, Dynamic = False, Default = \"5", Scope = Protected #tag EndConstant #tag Constant, Name = SOCKOPTDATA, Type = Double, Dynamic = False, Default = \"10149", Scope = Protected #tag EndConstant #tag Constant, Name = SOCKOPTFUNCTION, Type = Double, Dynamic = False, Default = \"20148", Scope = Protected #tag EndConstant #tag Constant, Name = SOCKS5_AUTH, Type = Double, Dynamic = False, Default = \"267", Scope = Protected #tag EndConstant #tag Constant, Name = SOCKS5_GSSAPI_NEC, Type = Double, Dynamic = False, Default = \"180", Scope = Protected #tag EndConstant #tag Constant, Name = SOCKS5_GSSAPI_SERVICE, Type = Double, Dynamic = False, Default = \"10179", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_AUTH_TYPES, Type = Double, Dynamic = False, Default = \"151", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_COMPRESSION, Type = Double, Dynamic = False, Default = \"268", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_HOST_PUBLIC_KEY_MD5, Type = Double, Dynamic = False, Default = \"10162", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_KEYDATA, Type = Double, Dynamic = False, Default = \"10185", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_KEYFUNCTION, Type = Double, Dynamic = False, Default = \"20184", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_KNOWNHOSTS, Type = Double, Dynamic = False, Default = \"10183", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_PRIVATE_KEYFILE, Type = Double, Dynamic = False, Default = \"10153", Scope = Protected #tag EndConstant #tag Constant, Name = SSH_PUBLIC_KEYFILE, Type = Double, Dynamic = False, Default = \"10152", Scope = Protected #tag EndConstant #tag Constant, Name = SSLCERT, Type = Double, Dynamic = False, Default = \"10025", Scope = Protected #tag EndConstant #tag Constant, Name = SSLCERTTYPE, Type = Double, Dynamic = False, Default = \"10086", Scope = Protected #tag EndConstant #tag Constant, Name = SSLCERT_BLOB, Type = Double, Dynamic = False, Default = \"40291", Scope = Protected #tag EndConstant #tag Constant, Name = SSLENGINE, Type = Double, Dynamic = False, Default = \"10089", Scope = Protected #tag EndConstant #tag Constant, Name = SSLENGINE_DEFAULT, Type = Double, Dynamic = False, Default = \"90", Scope = Protected #tag EndConstant #tag Constant, Name = SSLKEY, Type = Double, Dynamic = False, Default = \"10087", Scope = Protected #tag EndConstant #tag Constant, Name = SSLKEYTYPE, Type = Double, Dynamic = False, Default = \"10088", Scope = Protected #tag EndConstant #tag Constant, Name = SSLKEY_BLOB, Type = Double, Dynamic = False, Default = \"40292", Scope = Protected #tag EndConstant #tag Constant, Name = SSLVERSION, Type = Double, Dynamic = False, Default = \"32", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_CIPHER_LIST, Type = Double, Dynamic = False, Default = \"10083", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_CTX_DATA, Type = Double, Dynamic = False, Default = \"10109", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_CTX_FUNCTION, Type = Double, Dynamic = False, Default = \"20108", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_EC_CURVES, Type = Double, Dynamic = False, Default = \"10298", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_ENABLE_ALPN, Type = Double, Dynamic = False, Default = \"226", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_ENABLE_NPN, Type = Double, Dynamic = False, Default = \"225", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_FALSESTART, Type = Double, Dynamic = False, Default = \"233", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_OPTIONS, Type = Double, Dynamic = False, Default = \"216", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_SESSIONID_CACHE, Type = Double, Dynamic = False, Default = \"150", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_VERIFYHOST, Type = Double, Dynamic = False, Default = \"81", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_VERIFYPEER, Type = Double, Dynamic = False, Default = \"64", Scope = Protected #tag EndConstant #tag Constant, Name = SSL_VERIFYSTATUS, Type = Double, Dynamic = False, Default = \"232", Scope = Protected #tag EndConstant #tag Constant, Name = STDERR, Type = Double, Dynamic = False, Default = \"10037", Scope = Protected #tag EndConstant #tag Constant, Name = STREAM_DEPENDS, Type = Double, Dynamic = False, Default = \"10240", Scope = Protected #tag EndConstant #tag Constant, Name = STREAM_DEPENDS_E, Type = Double, Dynamic = False, Default = \"10241", Scope = Protected #tag EndConstant #tag Constant, Name = STREAM_WEIGHT, Type = Double, Dynamic = False, Default = \"239", Scope = Protected #tag EndConstant #tag Constant, Name = SUPPRESS_CONNECT_HEADERS, Type = Double, Dynamic = False, Default = \"265", Scope = Protected #tag EndConstant #tag Constant, Name = TCP_FASTOPEN, Type = Double, Dynamic = False, Default = \"244", Scope = Protected #tag EndConstant #tag Constant, Name = TCP_KEEPALIVE, Type = Double, Dynamic = False, Default = \"213", Scope = Protected #tag EndConstant #tag Constant, Name = TCP_KEEPIDLE, Type = Double, Dynamic = False, Default = \"214", Scope = Protected #tag EndConstant #tag Constant, Name = TCP_KEEPINTVL, Type = Double, Dynamic = False, Default = \"215", Scope = Protected #tag EndConstant #tag Constant, Name = TCP_NODELAY, Type = Double, Dynamic = False, Default = \"121", Scope = Protected #tag EndConstant #tag Constant, Name = TELNETOPTIONS, Type = Double, Dynamic = False, Default = \"10070", Scope = Protected #tag EndConstant #tag Constant, Name = TFTP_BLKSIZE, Type = Double, Dynamic = False, Default = \"178", Scope = Protected #tag EndConstant #tag Constant, Name = TFTP_NO_OPTIONS, Type = Double, Dynamic = False, Default = \"242", Scope = Protected #tag EndConstant #tag Constant, Name = TIMECONDITION, Type = Double, Dynamic = False, Default = \"33", Scope = Protected #tag EndConstant #tag Constant, Name = TIMEOUT, Type = Double, Dynamic = False, Default = \"13", Scope = Protected #tag EndConstant #tag Constant, Name = TIMEOUT_MS, Type = Double, Dynamic = False, Default = \"155", Scope = Protected #tag EndConstant #tag Constant, Name = TIMEVALUE, Type = Double, Dynamic = False, Default = \"34", Scope = Protected #tag EndConstant #tag Constant, Name = TIMEVALUE_LARGE, Type = Double, Dynamic = False, Default = \"30270", Scope = Protected #tag EndConstant #tag Constant, Name = TLS13_CIPHERS, Type = Double, Dynamic = False, Default = \"10276", Scope = Protected #tag EndConstant #tag Constant, Name = TLSAUTH_PASSWORD, Type = Double, Dynamic = False, Default = \"10205", Scope = Protected #tag EndConstant #tag Constant, Name = TLSAUTH_TYPE, Type = Double, Dynamic = False, Default = \"10206", Scope = Protected #tag EndConstant #tag Constant, Name = TLSAUTH_USERNAME, Type = Double, Dynamic = False, Default = \"10204", Scope = Protected #tag EndConstant #tag Constant, Name = TRAILERDATA, Type = Double, Dynamic = False, Default = \"10284", Scope = Protected #tag EndConstant #tag Constant, Name = TRAILERFUNCTION, Type = Double, Dynamic = False, Default = \"20283", Scope = Protected #tag EndConstant #tag Constant, Name = TRANSFERTEXT, Type = Double, Dynamic = False, Default = \"53", Scope = Protected #tag EndConstant #tag Constant, Name = TRANSFER_ENCODING, Type = Double, Dynamic = False, Default = \"207", Scope = Protected #tag EndConstant #tag Constant, Name = UNIX_SOCKET_PATH, Type = Double, Dynamic = False, Default = \"10231", Scope = Protected #tag EndConstant #tag Constant, Name = UNRESTRICTED_AUTH, Type = Double, Dynamic = False, Default = \"105", Scope = Protected #tag EndConstant #tag Constant, Name = UPKEEP_INTERVAL_MS, Type = Double, Dynamic = False, Default = \"281", Scope = Protected #tag EndConstant #tag Constant, Name = UPLOAD, Type = Double, Dynamic = False, Default = \"46", Scope = Protected #tag EndConstant #tag Constant, Name = UPLOAD_BUFFERSIZE, Type = Double, Dynamic = False, Default = \"280", Scope = Protected #tag EndConstant #tag Constant, Name = URL, Type = Double, Dynamic = False, Default = \"10002", Scope = Protected #tag EndConstant #tag Constant, Name = USERAGENT, Type = Double, Dynamic = False, Default = \"10018", Scope = Protected #tag EndConstant #tag Constant, Name = USERNAME, Type = Double, Dynamic = False, Default = \"10173", Scope = Protected #tag EndConstant #tag Constant, Name = USERPWD, Type = Double, Dynamic = False, Default = \"10005", Scope = Protected #tag EndConstant #tag Constant, Name = USE_SSL, Type = Double, Dynamic = False, Default = \"119", Scope = Protected #tag EndConstant #tag Constant, Name = USE_SSL_ALL, Type = Double, Dynamic = False, Default = \"3", Scope = Protected, Attributes = \"deprecated \x3D "libcURL.ConnectionType"" #tag EndConstant #tag Constant, Name = USE_SSL_CONTROL, Type = Double, Dynamic = False, Default = \"2", Scope = Protected, Attributes = \"deprecated \x3D "libcURL.ConnectionType"" #tag EndConstant #tag Constant, Name = USE_SSL_NONE, Type = Double, Dynamic = False, Default = \"0", Scope = Protected, Attributes = \"deprecated \x3D "libcURL.ConnectionType"" #tag EndConstant #tag Constant, Name = USE_SSL_TRY, Type = Double, Dynamic = False, Default = \"1", Scope = Protected, Attributes = \"deprecated \x3D "libcURL.ConnectionType"" #tag EndConstant #tag Constant, Name = VERBOSE, Type = Double, Dynamic = False, Default = \"41", Scope = Protected #tag EndConstant #tag Constant, Name = WILDCARDMATCH, Type = Double, Dynamic = False, Default = \"197", Scope = Protected #tag EndConstant #tag Constant, Name = WRITEDATA, Type = Double, Dynamic = False, Default = \"10001", Scope = Protected #tag EndConstant #tag Constant, Name = WRITEFUNCTION, Type = Double, Dynamic = False, Default = \"20011", Scope = Protected #tag EndConstant #tag Constant, Name = XFERINFODATA, Type = Double, Dynamic = False, Default = \"10057", Scope = Protected #tag EndConstant #tag Constant, Name = XFERINFOFUNCTION, Type = Double, Dynamic = False, Default = \"20219", Scope = Protected #tag EndConstant #tag Constant, Name = XOAUTH2_BEARER, Type = Double, Dynamic = False, Default = \"10220", Scope = Protected #tag EndConstant #tag Structure, Name = curl_easyoption, Flags = &h21 Name As Ptr Option As Int32 Type As OptionType Flags As UInt32 #tag EndStructure #tag ViewBehavior #tag ViewProperty Name="Index" Visible=true Group="ID" InitialValue="-2147483648" InheritedFrom="Object" #tag EndViewProperty #tag ViewProperty Name="Left" Visible=true Group="Position" InitialValue="0" InheritedFrom="Object" #tag EndViewProperty #tag ViewProperty Name="Name" Visible=true Group="ID" InheritedFrom="Object" #tag EndViewProperty #tag ViewProperty Name="Super" Visible=true Group="ID" InheritedFrom="Object" #tag EndViewProperty #tag ViewProperty Name="Top" Visible=true Group="Position" InitialValue="0" InheritedFrom="Object" #tag EndViewProperty #tag EndViewBehavior End Module #tag EndModule
REALbasic
4
charonn0/RB-libcURL
libcURL/Opts/Opts.rbbas
[ "MIT" ]
"""NumPy helper. Note: If you plan to add a library detection script like this one, consider it twice. Most library detection should go to CMake script. This one is an exception, because Python code can do a much better job due to NumPy's inherent Pythonic nature. """ from .env import check_negative_env_flag # Set USE_NUMPY to what the user wants, because even if we fail here, cmake # will check for the presence of NumPy again (`cmake/Dependencies.cmake`). USE_NUMPY = not check_negative_env_flag('USE_NUMPY') NUMPY_INCLUDE_DIR = None if USE_NUMPY: try: import numpy as np except ImportError: pass else: # To reach here, the user must has not disabled NumPy build and the # NumPy library is present in the system. NUMPY_INCLUDE_DIR = np.get_include()
Python
4
Hacky-DH/pytorch
tools/setup_helpers/numpy_.py
[ "Intel" ]
- if @group.admin_note.present? - text = @group.admin_note.note .card.border-info .card-header.bg-info.gl-text-white = s_('Admin|Admin notes') .card-body %p= text
Haml
2
glimmerhq/glimmerhq
app/views/shared/admin/_admin_note.html.haml
[ "MIT" ]
package com.uphyca.gradle.android.aspectj; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; public aspect MyAspect { pointcut callGreet() : call(String com.uphyca.gradle.android.aspectj.Greeter+.greet()); String around() : callGreet() { String result = proceed(); return result.replace("world", "aspect"); } }
AspectJ
3
uPhyca/gradle-android-aspectj-plugin
tests/androidAptIntegration/src/main/java/com/uphyca/gradle/android/aspectj/MyAspect.aj
[ "Apache-2.0" ]
#data[Dist_ID = 1001] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1002] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1003] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1004] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1005] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1006] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1007] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 101] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 102] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 103] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 104] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 105] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 106] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 107] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 108] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 109] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 110] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1101] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1102] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1103] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 1104] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1105] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1106] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1107] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1108] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1109] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 111] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1110] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1111] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1112] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1113] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1114] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1115] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 1116] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1117] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1118] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1119] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 112] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 113] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 114] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 115] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1201] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1202] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1203] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1204] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 1205] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 1206] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 1207] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1208] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1209] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1210] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1211] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1301] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1302] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1303] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1304] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1305] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1306] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1307] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1308] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1309] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1310] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1311] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1312] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1313] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1314] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1315] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1401] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1402] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1403] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1404] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1405] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1406] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1407] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1408] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1501] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1502] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1503] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1504] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1505] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1506] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1507] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1508] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1509] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1510] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1511] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1512] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1513] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1514] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1515] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1516] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1517] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1518] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1519] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1520] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1521] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1522] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1523] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1524] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1525] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1526] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1527] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1528] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1601] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1602] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1603] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1604] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1605] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1606] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1607] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1608] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1609] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1610] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1611] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1612] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1613] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1614] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1615] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1616] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1617] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 1701] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1702] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1703] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1704] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1705] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1706] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1707] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 1801] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1802] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1803] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1804] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1805] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1806] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1807] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1808] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1809] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1810] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1811] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 1812] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1813] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 1814] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1815] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1816] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 1901] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1902] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1903] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 1904] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1905] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1906] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 1907] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2001] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2002] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2003] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2004] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2005] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2006] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2007] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 201] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 202] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 203] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 204] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 205] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 206] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 207] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2101] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2102] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2103] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2104] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2105] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2106] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2107] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 2108] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2109] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2110] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2201] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2202] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2203] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2204] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2205] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2206] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2207] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2208] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2209] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2301] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2302] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2303] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2304] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2305] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2401] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2402] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2403] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2404] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2405] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2406] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2407] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 2408] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2409] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2410] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2411] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2501] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2502] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2503] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2504] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2505] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 2506] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2507] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 2508] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2509] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2510] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2511] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 2512] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2513] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 2514] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2515] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2516] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2517] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2518] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2519] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2601] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2602] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2603] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2604] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2605] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2606] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2607] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2608] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2609] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2610] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2611] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 2612] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2613] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2701] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2702] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2703] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2704] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 2705] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 2706] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2707] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2708] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2709] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2710] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2711] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 2801] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2802] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2803] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2804] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2805] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2806] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2807] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2808] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2809] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 2810] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2811] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2812] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2813] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2814] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2901] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 2902] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 2903] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 2904] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2905] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 2906] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 2907] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 3001] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3002] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3003] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3004] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 3005] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3006] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3007] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3008] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3009] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 301] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3010] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3011] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3012] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 3013] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3014] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3015] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3016] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 302] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 303] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 304] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 305] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 306] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 307] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 308] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 309] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 310] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3101] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3102] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 3103] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3104] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 3105] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3106] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3107] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3108] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3109] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 3110] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3111] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 3201] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3202] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3203] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 3204] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3205] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3206] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3207] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3208] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3209] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3210] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 3211] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3212] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3213] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3301] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3302] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3303] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 3304] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 3305] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 3306] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 3307] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 3308] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3309] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 3310] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3311] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3312] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 3313] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3314] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3315] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3316] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 3401] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3402] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 3403] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3404] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 3405] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 401] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 402] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 403] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 404] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 405] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 406] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 407] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 408] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 409] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 501] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 502] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 503] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 504] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 505] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 506] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 507] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 601] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 602] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 603] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 604] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 605] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 606] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 607] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 608] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 609] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 610] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 611] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 612] { polygon-fill: #F73; polygon-opacity: 0.6; } #data[Dist_ID = 613] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 614] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 615] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 616] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 617] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 618] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 619] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 620] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 621] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 622] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 701] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 702] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 703] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 704] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 705] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 801] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 802] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 803] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 804] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 805] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 806] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 807] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 901] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 902] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 903] { polygon-fill: #666; polygon-opacity: 0.6; } #data[Dist_ID = 904] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 905] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 906] { polygon-fill: #E30; polygon-opacity: 0.6; } #data[Dist_ID = 907] { polygon-fill: #FFF; polygon-opacity: 0.6; } #data[Dist_ID = 908] { polygon-fill: #FDC; polygon-opacity: 0.6; } #data[Dist_ID = 909] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 910] { polygon-fill: #F96; polygon-opacity: 0.6; } #data[Dist_ID = 911] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 912] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 913] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 914] { polygon-fill: #FBA; polygon-opacity: 0.6; } #data[Dist_ID = 915] { polygon-fill: #FBA; polygon-opacity: 0.6; }
CartoCSS
2
nimix/carto
test/benchmark/opened.mss
[ "Apache-2.0" ]
unit aiTypes; interface //added for Delphi interface type TCardinalArray = array [0..0] of Cardinal; PCardinalArray = ^TCardinalArray; TSingleArray = array[0..0] of Single; PSingleArray = ^TSingleArray; type aiString = packed record length: Cardinal; data: array [0..1023] of char; end; type PaiString = ^aiString; type aiReturn = ( aiReturn_SUCCESS = $0, aiReturn_FAILURE = -$1, aiReturn_OUTOFMEMORY = -$3, _AI_ENFORCE_ENUM_SIZE = $7fffffff ); const AI_SUCCESS = aiReturn_SUCCESS; const AI_FAILURE = aiReturn_FAILURE; const AI_OUTOFMEMORY = aiReturn_OUTOFMEMORY; function aiStringToDelphiString( a: aiString): AnsiString; implementation function aiStringToDelphiString( a: aiString): AnsiString; var i: integer; begin result := ''; if a.length > 0 then begin SetLength( result, a.length); for i := 1 to a.length do begin result[i] := a.data[i-1]; end; end; end; end.
Pascal
4
sercand/assimp
port/AssimpDelphi/aiTypes.pas
[ "BSD-3-Clause" ]
#MOJO_AUTO_SUSPEND_ENABLED=True Import monkeytarget Class GameDelegate Extends BBGameDelegate Method StartGame:Void() Print "StartGame" BBGame.Game().SetUpdateRate 60 End Method SuspendGame:Void() Print "SuspendGame" End Method ResumeGame:Void() Print "ResumeGame" End Method UpdateGame:Void() Print "UpdateGame" End Method RenderGame:Void() Print "RenderGame" End Method KeyEvent:Void( event:Int,data:Int ) Print "KeyEvent: event="+event+", data="+data End Method MouseEvent:Void( event:Int,data:Int,x:Float,y:Float ) Print "MouseEvent: event="+event+", data="+data+", x="+x+", y="+y End Method TouchEvent:Void( event:Int,data:Int,x:Float,y:Float ) Print "TouchEvent: event="+event+", data="+data+", x="+x+", y="+y End Method MotionEvent:Void( event:Int,data:Int,x:Float,y:Float,z:Float ) Print "MotionEvent: event="+event+", data="+data+", x="+x+", y="+y+", z="+z End Method DiscardGraphics:Void() Print "DiscardGraphics" End End Function Main() BBGame.Game().SetDelegate New GameDelegate End
Monkey
4
blitz-research/monkey
bananas/mak/bbgametest/bbgametest.monkey
[ "Zlib" ]
PROGRAM MAP END CODE MESSAGE('Hello World!','Clarion') RETURN
Clarion
2
JStearsman/hello-worlds
examples/Clarion.clw
[ "Unlicense" ]
<mt:Ignore> # ======================= # # ウィジェット-ピックアップ-ヘッドライン # # ======================= </mt:Ignore> <mt:Entries category="NOT xxx" sort_by="authored_on" sort_order="descend" field:EcEntryPickup="1" limit="3"> <mt:EntriesHeader> <div class="card widget widget-pickup-headline"> <div class="card-header clearfix"> <mt:If name="__is_sub__" eq="1"> <p class="card-title pull-left"><i class="fa fa-exclamation-circle"></i> 重要なお知らせ</p> <mt:Else> <h2 class="card-title pull-left"><i class="fa fa-exclamation-circle"></i> 重要なお知らせ</h2> </mt:If> </div> <div class="card-block"> </mt:EntriesHeader> <mt:If name="__is_sub__" eq="1"> <mt:Include module="記事ループ-ヘッドライン" tag="p" /> <mt:Else> <mt:Include module="記事ループ-ヘッドライン" /> </mt:If> <mt:EntriesFooter> <!-- /.card-block --></div> <!-- /.card widget --></div> </mt:EntriesFooter> </mt:Entries>
MTML
4
webbingstudio/mt_theme_echo_bootstrap
dist/themes/echo_bootstrap/templates/widget_pickup_headline.mtml
[ "MIT" ]
// RUN: %target-run-simple-swift(-I %S/Inputs -Xfrontend -enable-cxx-interop) // // REQUIRES: executable_test import FieldInitCallsFunction import StdlibUnittest var MembersTestSuite = TestSuite("MembersTestSuite") MembersTestSuite.test("field init calls function") { expectEqual(42, initializeField()) } runAllTests()
Swift
4
gandhi56/swift
test/Interop/Cxx/class/inline-function-codegen/field-init-calls-function-execution.swift
[ "Apache-2.0" ]
require "lapis.init"
MoonScript
0
tommy-mor/lapis
lapis.moon
[ "MIT", "Unlicense" ]
--TEST-- Bug #29150 (Roman number format for months) --INI-- date.timezone=GMT --FILE-- <?php echo gmdate("Y-m-d H:i:s", strtotime("20 VI. 2005")); ?> --EXPECT-- 2005-06-20 00:00:00
PHP
4
thiagooak/php-src
ext/date/tests/bug29150.phpt
[ "PHP-3.01" ]
# This script uses Sysmon Process Create events to keep a table of Process Creation details by computername and PID. # Version 1.0 (November 2018) # # Authors: Jeff Atkinson ([email protected]) # # Copyright (c) 2017, salesforce.com, inc. # All rights reserved. # Licensed under the BSD 3-Clause license. # For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause module Sysmon; global trackPID: table[string,int] of procCreate &redef; #global trackPID: table[string,int] of string &redef; event process_created(computerName: string,processId: string,commandLine: string;company: string,currentDirectory: string,description: string,fileVersion: string,hashes: string,image: string,integrityLevel: string,logonGuid: string,logonId: string,parentCommandline: string,parentImage: string,parentProcessGuid: string,parentProcessId: string,processGuid: string,product: string,terminalSessionId: string,user: string,utcTime: string) { #print "New Process created"; # Creating record to add to table. local r: procCreate; #print computerName, company, description, hashes, image, parentCommandline; r$computerName = computerName; r$company = company; r$currentDirectory = currentDirectory; r$description = description; r$fileVersion = fileVersion; r$hashes = hashes; r$image = image; r$integrityLevel = integrityLevel; r$logonGuid = logonGuid; r$logonId = logonId; r$parentCommandline = parentCommandline; r$parentImage = parentImage; r$parentProcessGuid = parentProcessGuid; r$parentProcessId = parentProcessId; r$processId = processId; r$product = product; r$terminalSessionId = terminalSessionId; r$user = user; r$utcTime = utcTime; if ( [computerName,to_int(parentProcessId)] !in trackPID ) { #print "Adding "+parentImage,computerName, parentProcessId+" to table"; if ( /putty/ in parentImage ) { #print "####### Process Creation ######## Adding "+parentImage,computerName, processId+" to table"; } trackPID[computerName,to_int(parentProcessId)] = r; }; } event sysmonProcessTerminated(computerName: string, image: string, processGuid: string, processId: string, utcTime: string) { #print "Removing "+computerName, processId+" from table"; #delete trackPID[computerName,to_int(processId)]; } event bro_done() { print trackPID; }
Bro
4
Mantix4/bro-sysmon
bro/fingerprint_mapping/trackNewPid.bro
[ "BSD-3-Clause" ]
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *****************************************************************************/ #pragma once #include <algorithm> #include <vector> namespace apollo { namespace perception { namespace fusion { // @brief: bound given value within input range // @return bounded value within input range // @NOTE: original method name is bound template <typename T> T Bound(const T& value, const T& max_value, const T& min_value) { return std::max(min_value, std::min(max_value, value)); } // @brief: scale input prob within input range // @return bounded & scaled prob // @NOTE: original method name is bound_scale_probability double BoundedScalePositiveProbability(double p, double max_p, double min_p); // @brief: scale input prob // @return sclaed prob // @NOTE: original method name is scale_positive_probability double ScalePositiveProbability(double p, double max_p, double th_p); // @brief: calculate the Welsh Loss // @return Welsh Loss of input dist // @NOTE: original method name is Welsh_var_loss_fun double WelshVarLossFun(double dist, double th, double scale); // @brief: fuse two probabilities, fused prob is greater than 0.5, if // the sum of input prob pair is greater than 1, otherwise, fused prob // is less than 0.5. // @return fused prob of input prob pair // @NOTE: original method name is fused_tow_probabilities double FuseTwoProbabilities(double prob1, double prob2); // @brief: fuse multiple probabilities // @return fused probability of input multiple probabilities // @NOTE: original method name is fused_multiple_probabilities double FuseMultipleProbabilities(const std::vector<double>& probs); } // namespace fusion } // namespace perception } // namespace apollo
C
5
seeclong/apollo
modules/perception/fusion/lib/data_association/hm_data_association/probabilities.h
[ "Apache-2.0" ]
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/core/common_runtime/scoped_allocator_mgr.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/common_runtime/scoped_allocator.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { class ScopedAllocatorMgrTest : public ::testing::Test { public: ScopedAllocatorMgrTest() : sam_("CPU0") {} void InitTensor() { backing_tensor_ = Tensor(cpu_allocator(), DT_FLOAT, backing_tensor_shape_); } void PopulateFields() { ScopedAllocatorMgr::PopulateFields(scope_id_, fields_shapes_, DT_FLOAT, &fields_); } Status AddScopedAllocator(int expected_use_count, int scope_id) { VLOG(2) << "Adding ScopedAllocator step_id " << step_id_ << " scope_id " << scope_id_ << " #fields " << fields_.size() << " expected_use_count " << expected_use_count; return sam_.AddScopedAllocator(backing_tensor_, step_id_, scope_id, "tensor_shape_599", fields_, expected_use_count); } Status PrepScopedAllocatorMgr(int expected_use_count) { InitTensor(); PopulateFields(); return AddScopedAllocator(expected_use_count, scope_id_); } void SaveInstances(int num_instances) { sa_instances_.clear(); sa_instances_.resize(num_instances); ScopedAllocatorContainer* sac = sam_.GetContainer(step_id_); for (int i = 0; i < num_instances; i++) { sa_instances_[i] = sac->GetInstance(scope_id_ + 1 + i); } } // For the specific case when the backing tensor is of shape // {512 + 9 + 512 + 16} and the fields_shapes are {{512}, {3,3}, {2, 256}} // This method computes the padding between the second and third slice of the // backing tensor. This example is reused across multiple tests. int AlignmentPadding() { int alignment_padding = (Allocator::kAllocatorAlignment - (521 * sizeof(float)) % Allocator::kAllocatorAlignment) % Allocator::kAllocatorAlignment; return alignment_padding; } // Debug void PrintShapes() { VLOG(2) << "tensor_shape=" << backing_tensor_shape_.DebugString(); for (int i = 0; i < fields_shapes_.size(); i++) { VLOG(2) << "fields_shapes[" << i << "]=" << fields_shapes_[i].DebugString(); } } protected: TensorShape backing_tensor_shape_; Tensor backing_tensor_; std::vector<TensorShape> fields_shapes_; std::vector<ScopedAllocator::Field> fields_; ScopedAllocatorMgr sam_; const int step_id_ = 101; const int scope_id_ = 599; std::vector<ScopedAllocatorInstance*> sa_instances_; }; TEST_F(ScopedAllocatorMgrTest, ContainerAllocation) { ScopedAllocatorContainer* sac_101 = sam_.GetContainer(101); EXPECT_TRUE(sac_101 != nullptr); ScopedAllocatorContainer* sac_201 = sam_.GetContainer(201); EXPECT_TRUE(sac_201 != nullptr); EXPECT_NE(sac_101, sac_201); ScopedAllocatorContainer* also_sac_101 = sam_.GetContainer(101); EXPECT_EQ(sac_101, also_sac_101); sam_.Cleanup(101); // 201 should be cleaned up by the destructor. } TEST_F(ScopedAllocatorMgrTest, PopulateFields) { backing_tensor_shape_ = TensorShape({512 + 9 + 512 + 16}); fields_shapes_ = std::vector<TensorShape>({{512}, {3, 3}, {2, 256}}); InitTensor(); PopulateFields(); EXPECT_EQ(0, fields_[0].offset); EXPECT_EQ(512 * sizeof(float), fields_[0].bytes_requested); EXPECT_EQ(scope_id_ + 1, fields_[0].scope_id); EXPECT_EQ(512 * sizeof(float), fields_[1].offset); EXPECT_EQ(9 * sizeof(float), fields_[1].bytes_requested); EXPECT_EQ(scope_id_ + 2, fields_[1].scope_id); EXPECT_EQ(521 * sizeof(float) + AlignmentPadding(), fields_[2].offset); EXPECT_EQ(512 * sizeof(float), fields_[2].bytes_requested); EXPECT_EQ(scope_id_ + 3, fields_[2].scope_id); } TEST_F(ScopedAllocatorMgrTest, ContainerAddAllocator) { backing_tensor_shape_ = TensorShape({1024}); fields_shapes_ = std::vector<TensorShape>({{512}, {512}}); Status s = PrepScopedAllocatorMgr(2); EXPECT_TRUE(s.ok()); // Need to call Allocate and Deallocate in order to use up the expected uses // for this allocator. Save the instances for now. SaveInstances(fields_shapes_.size()); s = AddScopedAllocator(2, scope_id_); EXPECT_FALSE(s.ok()); fields_[0].scope_id = scope_id_ + 1; s = AddScopedAllocator(2, scope_id_ + 3); EXPECT_FALSE(s.ok()); // Cleanup the instances by invoking allocate and deallocate. void* ptr0 = sa_instances_[0]->AllocateRaw(0 /* alignment */, 512 * sizeof(float)); void* ptr1 = sa_instances_[1]->AllocateRaw(0 /* alignment */, 512 * sizeof(float)); sa_instances_[0]->DeallocateRaw(ptr0); sa_instances_[1]->DeallocateRaw(ptr1); } TEST_F(ScopedAllocatorMgrTest, AllocatorSuccess) { ScopedAllocatorContainer* sac = sam_.GetContainer(step_id_); ScopedAllocator* other = sac->GetAllocator(scope_id_); EXPECT_EQ(other, nullptr); backing_tensor_shape_ = TensorShape({512 + 9 + 512 + 16}); fields_shapes_ = std::vector<TensorShape>({{512}, {3, 3}, {2, 256}}); Status s = PrepScopedAllocatorMgr(3); other = sac->GetAllocator(scope_id_); ScopedAllocatorInstance* inst0 = sac->GetInstance(scope_id_ + 1); char* ptr0 = static_cast<char*>(inst0->AllocateRaw(0, 512 * sizeof(float))); const char* base = static_cast<const char*>(DMAHelper::base(&backing_tensor_)); EXPECT_EQ(ptr0, base); ScopedAllocatorInstance* inst1 = sac->GetInstance(scope_id_ + 2); char* ptr1 = static_cast<char*>(inst1->AllocateRaw(0, 9 * sizeof(float))); EXPECT_EQ(ptr1, ptr0 + (512 * sizeof(float))); ScopedAllocatorInstance* inst2 = sac->GetInstance(scope_id_ + 3); char* ptr2 = static_cast<char*>(inst2->AllocateRaw(0, 512 * sizeof(float))); EXPECT_EQ(ptr2, ptr1 + AlignmentPadding() + (9 * sizeof(float))); // At this point the scopes should be gone from the container EXPECT_EQ(nullptr, sac->GetAllocator(scope_id_)); // The ScopedAllocatorInstances automatically delete when their memory // is returned and they are out of table. inst0->DeallocateRaw(ptr0); inst1->DeallocateRaw(ptr1); inst2->DeallocateRaw(ptr2); } // ScopedAllocator initialization should fail because backing_tensor is not // large enough to hold all the fields TEST_F(ScopedAllocatorMgrTest, AllocatorInitFail) { backing_tensor_shape_ = TensorShape({8}); InitTensor(); fields_.resize(1); fields_[0].scope_id = scope_id_ + 1; fields_[0].offset = 0; fields_[0].bytes_requested = backing_tensor_shape_.num_elements() * 2 * sizeof(float); // fields[0].offset + fields[0].bytes_requested is larger than the size of the // backing tensor, so this check should fail EXPECT_DEATH(Status s = AddScopedAllocator(1, scope_id_), ""); } // ScopedAllocator allocation should fail because we called more times than // expected, or we deallocated a non-existent pointer, or we requested more // or less than the exact size of an instance buffer. TEST_F(ScopedAllocatorMgrTest, AllocatorFail) { backing_tensor_shape_ = TensorShape({1024}); fields_shapes_ = std::vector<TensorShape>({{512}, {512}}); Status s = PrepScopedAllocatorMgr(2); EXPECT_TRUE(s.ok()); // Save instances so that we can explicitly delete later on. In normal // operation the instances will be automatically deleted after single use, but // in this test we are invoking the ScopedAllocator's Alloc/Dealloc interface, // so we need to explicitly delete the instances to avoid a memleak. SaveInstances(fields_shapes_.size()); char* ptr0 = static_cast<char*>(sa_instances_[0]->AllocateRaw(0, 512 * sizeof(float))); VLOG(2) << "Should fail because we deallocate ptr=" << static_cast<void*>(ptr0 + 8) << " which we never allocated."; EXPECT_DEATH(sa_instances_[0]->DeallocateRaw(ptr0 + 8), ""); VLOG(2) << "Should fail because we allocate smaller than the size of the " << "field."; EXPECT_EQ(nullptr, sa_instances_[1]->AllocateRaw(0, 256 * sizeof(float))); VLOG(2) << "Should fail because we allocate larger than the size of the " << "field."; EXPECT_EQ(nullptr, sa_instances_[1]->AllocateRaw(0, 1024 * sizeof(float))); void* ptr1 = sa_instances_[1]->AllocateRaw(0, 512 * sizeof(float)); VLOG(2) << "Should fail because we exceed expected_use_count."; EXPECT_EQ(nullptr, sa_instances_[0]->AllocateRaw(0, 512 * sizeof(float))); sa_instances_[0]->DeallocateRaw(ptr0); sa_instances_[1]->DeallocateRaw(ptr1); } } // namespace } // namespace tensorflow
C++
5
abhaikollara/tensorflow
tensorflow/core/common_runtime/scoped_allocator_mgr_test.cc
[ "Apache-2.0" ]
<div id="commands"></div>
HTML
0
justinforbes/cypress
packages/driver/cypress/fixtures/commands.html
[ "MIT" ]
#login-buttons-image-weibo { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKySURBVDhPY2AgEpR5sjf/nS/6//UkoX+XJltuCvVxkcOp9cyZM1w/r13TuXvmDD9MkYIwg7qrNrubnzFb6J5intPHqrnvCnIwyKIYsmrVKuaFYWEFW2Sk79zX0f6/REHhKFABC0zRsky+rXMSeZdKCTLIHqgUvLAknW8L3IAQDw/RFlbWnQ801P+DNN8D4n0qyk94GRiEjTg5Lbz4+YOCdbhjVmTxbZwex7PUW58t8O1Ukf9gA2IDAoRPWFudfayt9f+mpsb/6yrK/28qKf4/ISf7YZu83K07QMNe6On9nyWusMtVm813azH/UWctZo/vc8TABjB3CApufAzSqKjw/7apyf+nMdH/XxUX/X+RnfX/qY/3/5tqqv/vq6v936KsfB2onltaiEHGx5AteFep4EmGUEHB1Adamv9v6er8fztp0v//79////nr1/+3X778B4N///5/O3jw/0N39//nlBQ/louLd4MMAWImcPhsU1G6DfLvt717wepnz537X0FB4T8fL+//AH///2/evgWL/7l///9dE+P/b4AWTZSWXg/UzAj2/w2gs59mZYEV7d+//z8rE9N/JUXF/w62tiD//a+urIS4BAgeA712Cxg2F40M36alpXGBDTgmI/3hdUU5WEFjff3/wvx8MNvcxARsQE1VFUQ30Et37Oz+P1RV+b/J0nIjUATigmgBvtzH5mb//9++/f/mkyf/A4KC/nv7+oI1W1hb/3/1+fP//9+//39ekP//CVDzTlnZxxtnz1ZBSUDeDAyZh7W13nybOeP/7W1b/09rbf2/FhgWHy9c+P912bL/D11d/l+WEP8/SUR4Ox8DA6pmmEkpHh4ya0JCim4lJGx7kZp8821CwrN7Hh4Pr7m6nDoSET61PjDQichsA3T7//+s/16/5gXSkIAa1AAAh8dhOVd5xHAAAAAASUVORK5CYII=); }
CSS
3
joseconstela/meteor
packages/weibo-config-ui/weibo_login_button.css
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.10) (general (thickness 1.6) (drawings 134) (tracks 0) (zones 0) (modules 1) (nets 1) ) (page A4) (layers (0 F.Cu signal) (31 B.Cu signal) (32 B.Adhes user) (33 F.Adhes user) (34 B.Paste user) (35 F.Paste user) (36 B.SilkS user) (37 F.SilkS user) (38 B.Mask user) (39 F.Mask user) (40 Dwgs.User user) (41 Cmts.User user) (42 Eco1.User user) (43 Eco2.User user) (44 Edge.Cuts user) (45 Margin user) (46 B.CrtYd user) (47 F.CrtYd user) (48 B.Fab user) (49 F.Fab user) ) (setup (last_trace_width 0.25) (trace_clearance 0.2) (zone_clearance 0.508) (zone_45_only no) (trace_min 0.2) (via_size 0.8) (via_drill 0.4) (via_min_size 0.4) (via_min_drill 0.3) (uvia_size 0.3) (uvia_drill 0.1) (uvias_allowed no) (uvia_min_size 0.2) (uvia_min_drill 0.1) (edge_width 0.1) (segment_width 0.2) (pcb_text_width 0.3) (pcb_text_size 1.5 1.5) (mod_edge_width 0.12) (mod_text_size 1 1) (mod_text_width 0.1) (pad_size 1.524 1.524) (pad_drill 0.762) (pad_to_mask_clearance 0.05) (aux_axis_origin 0 0) (visible_elements FFFFFFFF) (pcbplotparams (layerselection 0x010fc_ffffffff) (usegerberextensions false) (usegerberattributes true) (usegerberadvancedattributes true) (creategerberjobfile true) (excludeedgelayer true) (linewidth 0.100000) (plotframeref false) (viasonmask false) (mode 1) (useauxorigin false) (hpglpennumber 1) (hpglpenspeed 20) (hpglpendiameter 15.000000) (psnegative false) (psa4output false) (plotreference false) (plotvalue false) (plotinvisibletext false) (padsonsilk false) (subtractmaskfromsilk false) (outputformat 1) (mirror false) (drillshape 0) (scaleselection 1) (outputdirectory "")) ) (net 0 "") (net_class Default "This is the default net class." (clearance 0.2) (trace_width 0.25) (via_dia 0.8) (via_drill 0.4) (uvia_dia 0.3) (uvia_drill 0.1) ) (net_class Power "" (clearance 0.2) (trace_width 0.3) (via_dia 0.8) (via_drill 0.4) (uvia_dia 0.3) (uvia_drill 0.1) ) (module dummy:dummy (layer F.Cu) (tedit 604AAE8F) (tstamp 6068E0E1) (at 12 12) (fp_text reference dummy (at 0 0.5) (layer F.SilkS) (effects (font (size 1 1) (thickness 0.15))) ) (fp_text value dummy (at 0 -0.5) (layer F.Fab) (effects (font (size 1 1) (thickness 0.15))) ) ) (gr_line (start 108.9 81.41) (end 109.39 81.7) (layer Edge.Cuts) (width 0.1) (tstamp 60690DE2)) (gr_arc (start 48.75 38) (end 51.099999 37.750001) (angle -201.573519) (layer Edge.Cuts) (width 0.1)) (gr_arc (start 48.75 38) (end 46.900001 39.449999) (angle -137.0467127) (layer Edge.Cuts) (width 0.1)) (gr_line (start 51.1 32.1) (end 51.1 37.75) (layer Edge.Cuts) (width 0.1)) (gr_arc (start 67.75 19) (end 69.499999 20.599999) (angle -347.1313833) (layer Edge.Cuts) (width 0.1)) (gr_arc (start 67.75 57) (end 69.099999 55.050001) (angle -249.3903071) (layer Edge.Cuts) (width 0.1)) (gr_line (start 69.1 54.6) (end 69.1 55.05) (layer Edge.Cuts) (width 0.1)) (gr_arc (start 86.75 38) (end 88.039999 40.099999) (angle -84.89944275) (layer Edge.Cuts) (width 0.1)) (gr_arc (start 86.75 38) (end 87.099999 35.560001) (angle -196.3259486) (layer Edge.Cuts) (width 0.1)) (gr_line (start 49 15.3) (end 49 20.5) (layer Edge.Cuts) (width 0.1) (tstamp 6069055F)) (gr_line (start 28.9 68.1) (end 28.9 81.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687389)) (gr_line (start 28.9 51.1) (end 28.9 64.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687389)) (gr_arc (start 101.403543 18.190204) (end 106.153543 18.190204) (angle -70.11765915) (layer Edge.Cuts) (width 0.1) (tstamp 6068D5E1)) (gr_arc (start 51.931484 152.624677) (end 103.018969 13.723337) (angle -15.43081601) (layer Edge.Cuts) (width 0.1) (tstamp 6068D5C5)) (gr_arc (start 100.190263 79.447367) (end 119.398792 89.551246) (angle -21.79371167) (layer Edge.Cuts) (width 0.1) (tstamp 6068D45D)) (gr_line (start 119.398792 89.551246) (end 112.550487 101.641178) (layer Edge.Cuts) (width 0.1) (tstamp 6068D449)) (gr_arc (start 106.708 97.938735) (end 103.2 103.9) (angle -88.11250382) (layer Edge.Cuts) (width 0.1) (tstamp 6068D3EC)) (gr_arc (start 61.59 173.76) (end 103.2 103.9) (angle -15.27393997) (layer Edge.Cuts) (width 0.1) (tstamp 6068D3B7)) (gr_arc (start 15.281782 407.025991) (end 83.326703 95.40614) (angle -12.22013042) (layer Edge.Cuts) (width 0.1) (tstamp 6068D376)) (gr_arc (start 60.008389 78.858139) (end 60.008389 5.128139) (angle -40.89999906) (layer Edge.Cuts) (width 0.1) (tstamp 6068D32E)) (gr_arc (start 17.48 30.13) (end 11.73435 23.129062) (angle -38.97981394) (layer Edge.Cuts) (width 0.1) (tstamp 6068D2EE)) (gr_arc (start 15.650037 81.065841) (end 8.650038 81.13584) (angle -90.85844454) (layer Edge.Cuts) (width 0.1) (tstamp 6068D2CC)) (gr_line (start 64.21927 5.137309) (end 60.008389 5.128139) (layer Edge.Cuts) (width 0.1) (tstamp 6068D287)) (gr_line (start 106.15 51.8) (end 106.153543 18.190204) (layer Edge.Cuts) (width 0.1) (tstamp 6068D262)) (gr_line (start 8.609602 28.301979) (end 8.650038 81.13584) (layer Edge.Cuts) (width 0.1) (tstamp 6068D1C3)) (gr_line (start 104 78.6) (end 104 51.8) (layer Edge.Cuts) (width 0.1)) (gr_line (start 104.87 79.1) (end 108.9 79.1) (layer Edge.Cuts) (width 0.1)) (gr_line (start 104 78.6) (end 104.87 79.1) (layer Edge.Cuts) (width 0.1)) (gr_line (start 31 18.5) (end 31 20.5) (layer Edge.Cuts) (width 0.1) (tstamp 60687A88)) (gr_line (start 35.1 18.5) (end 31 18.5) (layer Edge.Cuts) (width 0.1)) (gr_line (start 35.1 16.1) (end 35.1 18.5) (layer Edge.Cuts) (width 0.1)) (gr_line (start 43.8 16.1) (end 35.1 16.1) (layer Edge.Cuts) (width 0.1)) (gr_line (start 43.8 15.3) (end 43.8 16.1) (layer Edge.Cuts) (width 0.1)) (gr_line (start 49 15.3) (end 43.8 15.3) (layer Edge.Cuts) (width 0.1)) (gr_line (start 95.1 91.94) (end 107.06 98.84) (layer Edge.Cuts) (width 0.1)) (gr_line (start 102 79.98) (end 95.1 91.94) (layer Edge.Cuts) (width 0.1)) (gr_line (start 113.96 86.88) (end 102 79.98) (layer Edge.Cuts) (width 0.1)) (gr_line (start 107.06 98.84) (end 113.96 86.88) (layer Edge.Cuts) (width 0.1)) (gr_line (start 90.85 90.15) (end 77.52 86.58) (layer Edge.Cuts) (width 0.1) (tstamp 60687832)) (gr_line (start 94.42 76.82) (end 90.85 90.15) (layer Edge.Cuts) (width 0.1)) (gr_line (start 81.09 73.25) (end 94.42 76.82) (layer Edge.Cuts) (width 0.1)) (gr_line (start 77.52 86.58) (end 81.09 73.25) (layer Edge.Cuts) (width 0.1)) (gr_line (start 121.777119 81.697615) (end 109.39 81.7) (layer Edge.Cuts) (width 0.1) (tstamp 6068769A)) (gr_line (start 108.9 81.41) (end 108.9 79.1) (layer Edge.Cuts) (width 0.1)) (gr_line (start 55.35 71.35) (end 55.35 81.65) (layer Edge.Cuts) (width 0.1) (tstamp 606875B6)) (gr_line (start 65.65 71.35) (end 55.35 71.35) (layer Edge.Cuts) (width 0.1)) (gr_line (start 65.65 81.65) (end 65.65 71.35) (layer Edge.Cuts) (width 0.1)) (gr_line (start 55.35 81.65) (end 65.65 81.65) (layer Edge.Cuts) (width 0.1)) (gr_line (start 70.15 83.95) (end 70.15 79.8) (layer Edge.Cuts) (width 0.1) (tstamp 6068752E)) (gr_line (start 73.85 83.95) (end 70.15 83.95) (layer Edge.Cuts) (width 0.1)) (gr_line (start 73.85 79.8) (end 73.85 83.95) (layer Edge.Cuts) (width 0.1)) (gr_line (start 70.15 79.8) (end 73.85 79.8) (layer Edge.Cuts) (width 0.1)) (gr_line (start 70.15 78.45) (end 70.15 74.3) (layer Edge.Cuts) (width 0.1) (tstamp 6068752D)) (gr_line (start 73.85 78.45) (end 70.15 78.45) (layer Edge.Cuts) (width 0.1)) (gr_line (start 73.85 74.3) (end 73.85 78.45) (layer Edge.Cuts) (width 0.1)) (gr_line (start 70.15 74.3) (end 73.85 74.3) (layer Edge.Cuts) (width 0.1)) (gr_line (start 52.65 67.45) (end 52.65 65.55) (layer Edge.Cuts) (width 0.1) (tstamp 6068752C)) (gr_line (start 60.85 67.45) (end 52.65 67.45) (layer Edge.Cuts) (width 0.1)) (gr_line (start 60.85 65.55) (end 60.85 67.45) (layer Edge.Cuts) (width 0.1)) (gr_line (start 52.65 65.55) (end 60.85 65.55) (layer Edge.Cuts) (width 0.1)) (gr_line (start 38.65 82.2) (end 38.65 74.3) (layer Edge.Cuts) (width 0.1) (tstamp 6068752B)) (gr_line (start 42.35 82.2) (end 38.65 82.2) (layer Edge.Cuts) (width 0.1)) (gr_line (start 42.35 81.75) (end 42.35 82.2) (layer Edge.Cuts) (width 0.1)) (gr_line (start 46.7 81.75) (end 42.35 81.75) (layer Edge.Cuts) (width 0.1)) (gr_line (start 46.7 77.9) (end 46.7 81.75) (layer Edge.Cuts) (width 0.1)) (gr_line (start 47.35 77.9) (end 46.7 77.9) (layer Edge.Cuts) (width 0.1)) (gr_line (start 47.35 75.6) (end 47.35 77.9) (layer Edge.Cuts) (width 0.1)) (gr_line (start 42.35 75.6) (end 47.35 75.6) (layer Edge.Cuts) (width 0.1)) (gr_line (start 42.35 74.3) (end 42.35 75.6) (layer Edge.Cuts) (width 0.1)) (gr_line (start 38.65 74.3) (end 42.35 74.3) (layer Edge.Cuts) (width 0.1)) (gr_line (start 87.1 35.56) (end 87.1 23.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068748E)) (gr_line (start 100.9 23.1) (end 100.9 36.9) (layer Edge.Cuts) (width 0.1) (tstamp 6068748D)) (gr_line (start 87.1 53.9) (end 87.1 40.44) (layer Edge.Cuts) (width 0.1) (tstamp 6068748B)) (gr_line (start 88.04 40.1) (end 100.9 40.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687489)) (gr_line (start 100.9 40.1) (end 100.9 53.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687481)) (gr_line (start 100.9 53.9) (end 87.1 53.9) (layer Edge.Cuts) (width 0.1) (tstamp 6068747B)) (gr_line (start 87.1 23.1) (end 100.9 23.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687477)) (gr_line (start 87.1 70.9) (end 87.1 57.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687476)) (gr_line (start 100.9 57.1) (end 100.9 70.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687475)) (gr_line (start 100.9 36.9) (end 88.956369 36.901807) (layer Edge.Cuts) (width 0.1) (tstamp 60687471)) (gr_line (start 87.1 57.1) (end 100.9 57.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068746A)) (gr_line (start 100.9 70.9) (end 87.1 70.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687468)) (gr_line (start 69.1 34.4) (end 69.1 20.95) (layer Edge.Cuts) (width 0.1) (tstamp 6068748E)) (gr_line (start 82.9 20.6) (end 82.9 34.4) (layer Edge.Cuts) (width 0.1) (tstamp 6068748D)) (gr_line (start 69.1 51.4) (end 69.1 37.6) (layer Edge.Cuts) (width 0.1) (tstamp 6068748B)) (gr_line (start 69.1 37.6) (end 82.9 37.6) (layer Edge.Cuts) (width 0.1) (tstamp 60687489)) (gr_line (start 82.9 37.6) (end 82.9 51.4) (layer Edge.Cuts) (width 0.1) (tstamp 60687481)) (gr_line (start 82.9 51.4) (end 69.1 51.4) (layer Edge.Cuts) (width 0.1) (tstamp 6068747B)) (gr_line (start 69.5 20.6) (end 82.9 20.6) (layer Edge.Cuts) (width 0.1) (tstamp 60687477)) (gr_line (start 69.1 68.4) (end 69.1 58.95) (layer Edge.Cuts) (width 0.1) (tstamp 60687476)) (gr_line (start 82.9 54.6) (end 82.9 68.4) (layer Edge.Cuts) (width 0.1) (tstamp 60687475)) (gr_line (start 82.9 34.4) (end 69.1 34.4) (layer Edge.Cuts) (width 0.1) (tstamp 60687471)) (gr_line (start 69.1 54.6) (end 82.9 54.6) (layer Edge.Cuts) (width 0.1) (tstamp 6068746A)) (gr_line (start 82.9 68.4) (end 69.1 68.4) (layer Edge.Cuts) (width 0.1) (tstamp 60687468)) (gr_line (start 51.1 28.9) (end 51.1 15.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068748E)) (gr_line (start 64.9 15.1) (end 64.9 28.9) (layer Edge.Cuts) (width 0.1) (tstamp 6068748D)) (gr_line (start 51.1 45.9) (end 51.092064 38.199325) (layer Edge.Cuts) (width 0.1) (tstamp 6068748B)) (gr_line (start 51.1 32.1) (end 64.9 32.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687489)) (gr_line (start 64.9 32.1) (end 64.9 45.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687481)) (gr_line (start 64.9 45.9) (end 51.1 45.9) (layer Edge.Cuts) (width 0.1) (tstamp 6068747B)) (gr_line (start 51.1 15.1) (end 64.9 15.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687477)) (gr_line (start 51.1 62.9) (end 51.1 49.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687476)) (gr_line (start 64.9 49.1) (end 64.9 62.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687475)) (gr_line (start 64.9 28.9) (end 51.1 28.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687471)) (gr_line (start 51.1 49.1) (end 64.9 49.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068746A)) (gr_line (start 64.9 62.9) (end 51.1 62.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687468)) (gr_line (start 33.1 35.9) (end 33.1 22.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068748E)) (gr_line (start 46.9 22.1) (end 46.9 35.9) (layer Edge.Cuts) (width 0.1) (tstamp 6068748D)) (gr_line (start 33.1 52.9) (end 33.1 39.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068748B)) (gr_line (start 33.1 39.1) (end 46.65655 39.096568) (layer Edge.Cuts) (width 0.1) (tstamp 60687489)) (gr_line (start 31 20.5) (end 49 20.5) (layer Edge.Cuts) (width 0.1) (tstamp 60687483)) (gr_line (start 46.9 39.45) (end 46.9 52.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687481)) (gr_line (start 46.9 52.9) (end 33.1 52.9) (layer Edge.Cuts) (width 0.1) (tstamp 6068747B)) (gr_line (start 33.1 22.1) (end 46.9 22.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687477)) (gr_line (start 33.1 69.9) (end 33.1 56.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687476)) (gr_line (start 46.9 56.1) (end 46.9 69.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687475)) (gr_line (start 46.9 35.9) (end 33.1 35.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687471)) (gr_line (start 33.1 56.1) (end 46.9 56.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068746A)) (gr_line (start 46.9 69.9) (end 33.1 69.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687468)) (gr_line (start 15.1 81.9) (end 15.1 68.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068738A)) (gr_line (start 15.1 68.1) (end 28.9 68.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687382)) (gr_line (start 28.9 81.9) (end 15.1 81.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687380)) (gr_line (start 15.1 64.9) (end 15.1 51.1) (layer Edge.Cuts) (width 0.1) (tstamp 6068738A)) (gr_line (start 15.1 51.1) (end 28.9 51.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687382)) (gr_line (start 28.9 64.9) (end 15.1 64.9) (layer Edge.Cuts) (width 0.1) (tstamp 60687380)) (gr_line (start 15.1 47.9) (end 15.1 34.1) (layer Edge.Cuts) (width 0.1) (tstamp 60687229)) (gr_line (start 28.9 47.9) (end 15.1 47.9) (layer Edge.Cuts) (width 0.1)) (gr_line (start 28.9 34.1) (end 28.9 47.9) (layer Edge.Cuts) (width 0.1)) (gr_line (start 15.1 34.1) (end 28.9 34.1) (layer Edge.Cuts) (width 0.1)) (gr_circle (center 87.05 19.4) (end 88.15 19.4) (layer Edge.Cuts) (width 0.1)) (gr_circle (center 23.05 27.2) (end 24.15 27.2) (layer Edge.Cuts) (width 0.1)) (gr_circle (center 98.35 77.85) (end 99.45 77.85) (layer Edge.Cuts) (width 0.1)) (gr_circle (center 33.63 78.42) (end 34.73 78.42) (layer Edge.Cuts) (width 0.1)) (gr_line (start 104 51.8) (end 106.15 51.8) (layer Edge.Cuts) (width 0.1) (tstamp 5EDAB58C)) )
KiCad
3
ankitp4t3l/ferris
0.2/bling/cases/mid_profile/left_switch_plate.kicad_pcb
[ "CC0-1.0" ]
--TEST-- Encoding INI test --EXTENSIONS-- mbstring --INI-- error_reporting=E_ALL & ~E_DEPRECATED default_charset= internal_encoding=EUC-JP input_encoding= output_encoding= mbstring.internal_encoding= mbstring.http_input= mbstring.http_output= --FILE-- <?php echo "Getting INI\n"; var_dump(ini_get('default_charset')); var_dump(ini_get('internal_encoding')); var_dump(ini_get('input_encoding')); var_dump(ini_get('output_encoding')); var_dump(ini_get('mbstring.internal_encoding')); var_dump(mb_internal_encoding()); var_dump(ini_get('mbstring.http_input')); var_dump(ini_get('mbstring.http_output')); echo "Setting INI\n"; var_dump(ini_set('default_charset', 'UTF-8')); var_dump(ini_set('internal_encoding', 'UTF-8')); var_dump(ini_set('input_encoding', 'UTF-8')); var_dump(ini_set('output_encoding', 'UTF-8')); var_dump(ini_set('mbstring.internal_encoding', 'UTF-8')); var_dump(ini_set('mbstring.http_input', 'UTF-8')); var_dump(ini_set('mbstring.http_output', 'UTF-8')); echo "Getting INI\n"; var_dump(ini_get('default_charset')); var_dump(ini_get('internal_encoding')); var_dump(ini_get('input_encoding')); var_dump(ini_get('output_encoding')); var_dump(ini_get('mbstring.internal_encoding')); var_dump(mb_internal_encoding()); var_dump(ini_get('mbstring.http_input')); var_dump(ini_get('mbstring.http_output')); ?> --EXPECT-- Getting INI string(0) "" string(6) "EUC-JP" string(0) "" string(0) "" string(0) "" string(6) "EUC-JP" string(0) "" string(0) "" Setting INI string(0) "" string(6) "EUC-JP" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" Getting INI string(5) "UTF-8" string(5) "UTF-8" string(5) "UTF-8" string(5) "UTF-8" string(5) "UTF-8" string(5) "UTF-8" string(5) "UTF-8" string(5) "UTF-8"
PHP
3
NathanFreeman/php-src
ext/mbstring/tests/ini_encoding2.phpt
[ "PHP-3.01" ]
module Test_mount_fstab = let lns = Mount_Fstab.lns let simple = "/dev/vg00/lv00\t /\t ext3\t defaults 1 1\n" let simple_tree = { "1" { "spec" = "/dev/vg00/lv00" } { "file" = "/" } { "vfstype" = "ext3" } { "options" = "defaults" } { "dump" = "1" } { "passno" = "1" } } let trailing_ws = "/dev/vg00/lv00\t /\t ext3\t defaults 1 1 \t\n" let gen_no_passno(passno:string) = "LABEL=/boot\t /boot\t ext3\t defaults 1" . passno . " \t\n" let no_passno = gen_no_passno "" let no_passno_tree = { "1" { "spec" = "LABEL=/boot" } { "file" = "/boot" } { "vfstype" = "ext3" } { "options" = "defaults" } { "dump" = "1" } } let no_dump = "/dev/vg00/lv00\t /\t ext3\t defaults\n" let no_dump_tree = { "1" { "spec" = "/dev/vg00/lv00" } { "file" = "/" } { "vfstype" = "ext3" } { "options" = "defaults" } } let no_opts = "/dev/vg00/lv00\t /\t ext3\n" let no_opts_tree = { "1" { "spec" = "/dev/vg00/lv00" } { "file" = "/" } { "vfstype" = "ext3" } } let multi_opts = "devpts\t /dev/pts\t devpts gid=5,mode=620,fscontext=system_u:object_r:removable_t 0 0\n" let multi_opts_tree = { "1" { "spec" = "devpts" } { "file" = "/dev/pts" } { "vfstype" = "devpts" } { "options" = "gid=5,mode=620,fscontext=system_u:object_r:removable_t" } { "dump" = "0" } { "passno" = "0" } } test lns get simple = simple_tree test lns get trailing_ws = simple_tree test lns get no_passno = no_passno_tree test lns put no_passno after set "/1/passno" "1" = gen_no_passno " 1" test lns get no_dump = no_dump_tree test lns get no_opts = no_opts_tree test lns get multi_opts = multi_opts_tree test lns get "/dev/hdc /media/cdrom0 udf,iso9660 user,noauto\t0\t0\n" = { "1" { "spec" = "/dev/hdc" } { "file" = "/media/cdrom0" } { "vfstype" = "udf,iso9660" } { "options" = "user,noauto" } { "dump" = "0" } { "passno" = "0" } } (* Allow # in the spec *) test lns get "sshfs#[email protected]:/home /media/server fuse uid=1000,gid=100,port=1022 0 0\n" = { "1" { "spec" = "sshfs#[email protected]:/home" } { "file" = "/media/server" } { "vfstype" = "fuse" } { "options" = "uid=1000,gid=100,port=1022" } { "dump" = "0" } { "passno" = "0" } } (* Bug #191 *) test lns get "tmpfs /dev/shm tmpfs rw,rootcontext=\"system_u:object_r:tmpfs_t:s0\" 0 0\n" = { "1" { "spec" = "tmpfs" } { "file" = "/dev/shm" } { "vfstype" = "tmpfs" } { "options" = "rw,rootcontext=\"system_u:object_r:tmpfs_t:s0\"" } { "dump" = "0" } { "passno" = "0" } } (* BZ https://bugzilla.redhat.com/show_bug.cgi?id=751342 * Mounting multiple cgroups together results in path with ',' *) test lns get "spec /path/file1,file2 vfs opts 0 0\n" = { "1" { "spec" = "spec" } { "file" = "/path/file1,file2" } { "vfstype" = "vfs" } { "options" = "opts" } { "dump" = "0" } { "passno" = "0" } } (* Parse when empty option value given, only equals sign *) test lns get "//host.example.org/a_share /mnt cifs defaults,ro,password= 0 0\n" = { "1" { "spec" = "//host.example.org/a_share" } { "file" = "/mnt" } { "vfstype" = "cifs" } { "options" = "defaults,ro,password=" } { "dump" = "0" } { "passno" = "0" } } (* Allow end of line comments *) test lns get "UUID=0314be77-bb1e-47d4-b2a2-e69ae5bc954f / ext4 rw,errors=remount-ro 0 1 # device at install: /dev/sda3\n" = { "1" { "spec" = "UUID=0314be77-bb1e-47d4-b2a2-e69ae5bc954f" } { "file" = "/" } { "vfstype" = "ext4" } { "options" = "rw,errors=remount-ro" } { "dump" = "0" } { "passno" = "1" } { "#comment" = "device at install: /dev/sda3" } }
Augeas
4
puppetlabs/libral
data/lenses/tests/test_mount_fstab.aug
[ "Apache-2.0" ]
// Copyright 2012 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. #include "textflag.h" TEXT _rt0_arm_freebsd(SB),NOSPLIT,$0 B _rt0_arm(SB) TEXT _rt0_arm_freebsd_lib(SB),NOSPLIT,$0 B _rt0_arm_lib(SB)
GAS
2
Havoc-OS/androidprebuilts_go_linux-x86
src/runtime/rt0_freebsd_arm.s
[ "BSD-3-Clause" ]
--TEST-- Bug #65768: date_diff accepts only DateTime instance even though docs say about DateTimeInterface --INI-- date.timezone=Europe/London --FILE-- <?php $dt1 = new DateTime("2010-10-20"); $dti1 = new DateTimeImmutable("2010-10-25"); $dti2 = new DateTimeImmutable("2010-10-28"); $diff1 = $dt1->diff($dti1); echo $diff1->y, " ", $diff1->m, " ", $diff1->d, " ", $diff1->h, " ", $diff1->i, " ", $diff1->s, "\n"; $diff2 = $dti1->diff($dti2); echo $diff2->y, " ", $diff2->m, " ", $diff2->d, " ", $diff2->h, " ", $diff2->i, " ", $diff2->s, "\n"; $diff3 = date_diff($dt1, $dti2); echo $diff3->y, " ", $diff3->m, " ", $diff3->d, " ", $diff3->h, " ", $diff3->i, " ", $diff3->s, "\n"; class cdt1 extends DateTime implements DateTimeInterface {} class cdt2 extends DateTimeImmutable implements DateTimeInterface {} class cdt3 implements DateTimeInterface {} ?> --EXPECTF-- 0 0 5 0 0 0 0 0 3 0 0 0 0 0 8 0 0 0 Fatal error: DateTimeInterface can't be implemented by user classes in %sbug65768.php on line %d
PHP
3
guomoumou123/php5.5.10
tests/classes/bug65768.phpt
[ "PHP-3.01" ]
set testmodule [file normalize tests/modules/infotest.so] # Return value for INFO property proc field {info property} { if {[regexp "\r\n$property:(.*?)\r\n" $info _ value]} { set _ $value } } start_server {tags {"modules"}} { r module load $testmodule log-key 0 test {module reading info} { # check string, integer and float fields assert_equal [r info.gets replication role] "master" assert_equal [r info.getc replication role] "master" assert_equal [r info.geti stats expired_keys] 0 assert_equal [r info.getd stats expired_stale_perc] 0 # check signed and unsigned assert_equal [r info.geti infotest infotest_global] -2 assert_equal [r info.getu infotest infotest_uglobal] -2 # the above are always 0, try module info that is non-zero assert_equal [r info.geti infotest_italian infotest_due] 2 set tre [r info.getd infotest_italian infotest_tre] assert {$tre > 3.2 && $tre < 3.4 } # search using the wrong section catch { [r info.gets badname redis_version] } e assert_match {*not found*} $e # check that section filter works assert { [string match "*usec_per_call*" [r info.gets all cmdstat_info.gets] ] } catch { [r info.gets default cmdstat_info.gets] ] } e assert_match {*not found*} $e } test {module info all} { set info [r info all] # info all does not contain modules assert { ![string match "*Spanish*" $info] } assert { ![string match "*infotest_*" $info] } assert { [string match "*used_memory*" $info] } } test {module info everything} { set info [r info everything] # info everything contains all default sections, but not ones for crash report assert { [string match "*infotest_global*" $info] } assert { [string match "*Spanish*" $info] } assert { [string match "*Italian*" $info] } assert { [string match "*used_memory*" $info] } assert { ![string match "*Klingon*" $info] } field $info infotest_dos } {2} test {module info modules} { set info [r info modules] # info all does not contain modules assert { [string match "*Spanish*" $info] } assert { [string match "*infotest_global*" $info] } assert { ![string match "*used_memory*" $info] } } test {module info one module} { set info [r info INFOTEST] # info all does not contain modules assert { [string match "*Spanish*" $info] } assert { ![string match "*used_memory*" $info] } field $info infotest_global } {-2} test {module info one section} { set info [r info INFOTEST_SPANISH] assert { ![string match "*used_memory*" $info] } assert { ![string match "*Italian*" $info] } assert { ![string match "*infotest_global*" $info] } field $info infotest_uno } {one} test {module info dict} { set info [r info infotest_keyspace] set keyspace [field $info infotest_db0] set keys [scan [regexp -inline {keys\=([\d]*)} $keyspace] keys=%d] } {3} test {module info unsafe fields} { set info [r info infotest_unsafe] assert_match {*infotest_unsafe_field:value=1*} $info } # TODO: test crash report. }
Tcl
4
artynet/redis
tests/unit/moduleapi/infotest.tcl
[ "BSD-3-Clause" ]
% Copyright (C) 1993 Digital Equipment Corporation % All rights reserved. % See the file COPYRIGHT for a full description. % Last modified on Wed Jun 23 12:20:56 PDT 1993 by horning stringUtil(Char, Str): trait % Convenient operations on strings for pathname manipulation includes String(Char, Str), Sequence(Str, StrSeq) introduces Slash, Bkslash, Colon, Period: -> Char alpha: Char -> Bool printable: Str -> Bool NIL: -> Str % The above functions would have the obvious definitions {__, __}: Char, Char -> Str split: Str, Char -> StrSeq first, rest: Str, Char -> Str find: Str, Char -> Int asserts forall s: Str, ss: StrSeq, ch, ch1: Char {ch, ch1} == {ch} || {ch1}; split(s, ch) == if ch \in s then {first(s, ch)} || split(rest(s, ch), ch) else {s}; first(s, ch) == prefix(s, find(s, ch)); rest(s, ch) == removePrefix(s, find(s, ch)+1); find(ch1 \precat s, ch) == if ch1 = ch then 0 else find(s, ch) + 1;
LSL
3
jaykrell/cm3
m3-libs/libm3/src/os/Common/stringUtil.lsl
[ "BSD-4-Clause-UC", "BSD-4-Clause", "BSD-3-Clause" ]
Contributors ============ A total of 1 people contributed to this release. People with a "+" by their names contributed a patch for the first time. * Charles Harris Pull requests merged ==================== A total of 2 pull requests were merged for this release. * `#17679 <https://github.com/numpy/numpy/pull/17679>`__: MAINT: Add check for Windows 10 version 2004 bug. * `#17680 <https://github.com/numpy/numpy/pull/17680>`__: REV: Revert OpenBLAS to 1.19.2 version for 1.19.4
reStructuredText
0
iam-abbas/numpy
doc/changelog/1.19.4-changelog.rst
[ "BSD-3-Clause" ]
HAI 1.2 BTW addition SUM OF 1 AN "2" BTW subtraction DIFF OF 10 AN 5 BTW multiplication PRODUKT OF 2 AN 3 BTW DIVISION QOUSHUNT OF 4 AN 2 BTW INTEGER DIVISION MOD OF 3 AN 2 BTW 1 BTW MAXIMUM BIGGR OF 10 AN 5 BTW MINIMUM SMALLR OF 5 AN 7 KTHXBYE
LOLCODE
3
Himanshu21git/Lokalise-source
lolcode-fun-post/operators.lol
[ "MIT" ]
import "ecere" class Child : Window { background = Color { 200,150,0 }; size = Size { 300, 200 }; borderStyle = sizable; text = "Sizable"; Button { this, text = "Push Me", position = { 100, 20 }, size = { 80, 30 }; bool NotifyClicked(Button button, int x, int y, Modifiers mods) { Destroy(0); return true; } }; ScrollBar { this, direction = vertical, anchor = { left = 0, top = 0, bottom = 0 }, size = Size { 48 } }; EditBox { this, position = { 50, 80 }, size = { 200, 50 }, foreground = red }; } class Parent : Window { borderStyle = sizable; hasMaximize = true, hasMinimize = true, hasClose = true; text = "Hello, Ex1!", position = { 10, 10 }, size = { 1000, 600 }; BitmapResource bubbles { ":stone2.jpg", window = this, transparent = false }; void OnRedraw(Surface surface) { surface.Tile(bubbles.bitmap, 0,0,clientSize.w,clientSize.h); } Child { this, position = { 100, 100 }, size.h = 150 }; Child { this, borderStyle = contour, text = "Contour", position = { 200, 300 }, size.w = 500 }; Child { this, borderStyle = fixed, text = "Fixed", position = { 500, 60 }; }; } Parent parent { };
eC
4
N-eil/ecere-sdk
samples/guiAndGfx/childWindows/ex1.ec
[ "BSD-3-Clause" ]
(ns wisp.expander "wisp syntax and macro expander module" (:require [wisp.ast :refer [meta with-meta symbol? keyword? quote? symbol namespace name unquote? unquote-splicing?]] [wisp.sequence :refer [list? list conj partition seq empty? map vec every? concat first second third rest last butlast interleave cons count some assoc reduce filter seq?]] [wisp.runtime :refer [nil? dictionary? vector? keys vals string? number? boolean? date? re-pattern? even? = max inc dec dictionary subs]] [wisp.string :refer [split]])) (def **macros** {}) (defn- expand "Applies macro registered with given `name` to a given `form`" [expander form env] (let [metadata (or (meta form) {}) parmas (rest form) implicit (map #(cond (= :&form %) form (= :&env %) env :else %) (or (:implicit (meta expander)) [])) params (vec (concat implicit (vec (rest form)))) expansion (apply expander params)] (if expansion (with-meta expansion (conj metadata (meta expansion))) expansion))) (defn install-macro! "Registers given `macro` with a given `name`" [op expander] (set! (get **macros** (name op)) expander)) (defn- macro "Returns true if macro with a given name is registered" [op] (and (symbol? op) (get **macros** (name op)))) (defn method-syntax? [op] (let [id (and (symbol? op) (name op))] (and id (identical? \. (first id)) (not (identical? \- (second id))) (not (identical? \. id))))) (defn field-syntax? [op] (let [id (and (symbol? op) (name op))] (and id (identical? \. (first id)) (identical? \- (second id))))) (defn new-syntax? [op] (let [id (and (symbol? op) (name op))] (and id (identical? \. (last id)) (not (identical? \. id))))) (defn method-syntax "Example: '(.substring string 2 5) => '((aget string 'substring) 2 5)" [op target & params] (let [op-meta (meta op) form-start (:start op-meta) target-meta (meta target) member (with-meta (symbol (subs (name op) 1)) ;; Include metadat from the original symbol just (conj op-meta {:start {:line (:line form-start) :column (inc (:column form-start))}})) ;; Add metadata to aget symbol that will map to the first `.` ;; character of the method name. aget (with-meta 'aget (conj op-meta {:end {:line (:line form-start) :column (inc (:column form-start))}})) ;; First two forms (.substring string ...) expand to ;; ((aget string 'substring) ...) there for expansion gets ;; position metadata from start of the first `.substring` form ;; to the end of the `string` form. method (with-meta `(~aget ~target (quote ~member)) (conj op-meta {:end (:end (meta target))}))] (if (nil? target) (throw (Error "Malformed method expression, expecting (.method object ...)")) `(~method ~@params)))) (defn field-syntax "Example: '(.-field object) => '(aget object 'field)" [field target & more] (let [metadata (meta field) start (:start metadata) end (:end metadata) member (with-meta (symbol (subs (name field) 2)) (conj metadata {:start {:line (:line start) :column (+ (:column start) 2)}}))] (if (or (nil? target) (count more)) (throw (Error "Malformed member expression, expecting (.-member target)")) `(aget ~target (quote ~member))))) (defn new-syntax "Example: '(Point. x y) => '(new Point x y)" [op & params] (let [id (name op) id-meta (:meta id) rename (subs id 0 (dec (count id))) ;; constructur symbol inherits metada from the first `op` form ;; it's just it's end column info is updated to reflect subtraction ;; of `.` character. constructor (with-meta (symbol rename) (conj id-meta {:end {:line (:line (:end id-meta)) :column (dec (:column (:end id-meta)))}})) operator (with-meta 'new (conj id-meta {:start {:line (:line (:end id-meta)) :column (dec (:column (:end id-meta)))}}))] `(new ~constructor ~@params))) (defn keyword-invoke "Calling a keyword desugars to property access with that keyword name on the given argument: '(:foo bar) => '(get bar :foo)" [keyword target] `(get ~target ~keyword)) (defn- desugar [expander form] (let [desugared (apply expander (vec form)) metadata (conj {} (meta form) (meta desugared))] (with-meta desugared metadata))) (defn macroexpand-1 "If form represents a macro form, returns its expansion, else returns form." [form] (let [op (and (list? form) (first form)) expander (macro op)] (cond expander (expand expander form) ;; Calling a keyword compiles to getting value from given ;; object associted with that key: ;; '(:foo bar) => '(get bar :foo) (keyword? op) (desugar keyword-invoke form) ;; '(.-field object) => (aget object 'field) (field-syntax? op) (desugar field-syntax form) ;; '(.substring string 2 5) => '((aget string 'substring) 2 5) (method-syntax? op) (desugar method-syntax form) ;; '(Point. x y) => '(new Point x y) (new-syntax? op) (desugar new-syntax form) :else form))) (defn macroexpand "Repeatedly calls macroexpand-1 on form until it no longer represents a macro form, then returns it." [form] (loop [original form expanded (macroexpand-1 form)] (if (identical? original expanded) original (recur expanded (macroexpand-1 expanded))))) ;; Define core macros ;; TODO make this language independent (defn syntax-quote [form] (cond (symbol? form) (list 'quote form) (keyword? form) (list 'quote form) (or (number? form) (string? form) (boolean? form) (nil? form) (re-pattern? form)) form (unquote? form) (second form) (unquote-splicing? form) (reader-error "Illegal use of `~@` expression, can only be present in a list") (empty? form) form ;; (dictionary? form) (list 'apply 'dictionary (cons '.concat (sequence-expand (apply concat (seq form))))) ;; If a vector form expand all sub-forms and concatinate ;; them togather: ;; ;; [~a b ~@c] -> (.concat [a] [(quote b)] c) (vector? form) (cons '.concat (sequence-expand form)) ;; If a list form expand all the sub-forms and apply ;; concationation to a list constructor: ;; ;; (~a b ~@c) -> (apply list (.concat [a] [(quote b)] c)) (list? form) (if (empty? form) (cons 'list nil) (list 'apply 'list (cons '.concat (sequence-expand form)))) :else (reader-error "Unknown Collection type"))) (def syntax-quote-expand syntax-quote) (defn unquote-splicing-expand [form] (if (vector? form) form (list 'vec form))) (defn sequence-expand "Takes sequence of forms and expands them: ((unquote a)) -> ([a]) ((unquote-splicing a) -> (a) (a) -> ([(quote b)]) ((unquote a) b (unquote-splicing a)) -> ([a] [(quote b)] c)" [forms] (map (fn [form] (cond (unquote? form) [(second form)] (unquote-splicing? form) (unquote-splicing-expand (second form)) :else [(syntax-quote-expand form)])) forms)) (install-macro! :syntax-quote syntax-quote) ;; TODO: New reader translates not= correctly ;; but for the time being use not-equal name (defn not-equal [& body] `(not (= ~@body))) (install-macro! :not= not-equal) (defn expand-cond "Takes a set of test/expr pairs. It evaluates each test one at a time. If a test returns logical true, cond evaluates and returns the value of the corresponding expr and doesn't evaluate any of the other tests or exprs. (cond) returns nil." [& clauses] (if (not (empty? clauses)) (list 'if (first clauses) (if (empty? (rest clauses)) (throw (Error "cond requires an even number of forms")) (second clauses)) (cons 'cond (rest (rest clauses)))))) (install-macro! :cond expand-cond) (defn expand-defn "Same as (def name (fn [params* ] exprs*)) or (def name (fn ([params* ] exprs*)+)) with any doc-string or attrs added to the var metadata" [&form name & doc+meta+body] (let [doc (if (string? (first doc+meta+body)) (first doc+meta+body)) ;; If docstring is found it's not part of body. meta+body (if doc (rest doc+meta+body) doc+meta+body) ;; defn may contain attribute list after ;; docstring or a name, in which case it's ;; merged into name metadata. metadata (if (dictionary? (first meta+body)) (conj {:doc doc} (first meta+body))) ;; If metadata map is found it's not part of body. body (if metadata (rest meta+body) meta+body) ;; Combine all the metadata and add to a name. id (with-meta name (conj (or (meta name) {}) metadata)) fn (with-meta `(fn ~id ~@body) (meta &form))] `(def ~id ~fn))) (install-macro! :defn (with-meta expand-defn {:implicit [:&form]})) (defn expand-private-defn "Same as (def name (fn [params* ] exprs*)) or (def name (fn ([params* ] exprs*)+)) with any doc-string or attrs added to the var metadata" [name & body] (let [metadata (conj (or (meta name) {}) {:private true}) id (with-meta name metadata)] `(defn ~id ~@body))) (install-macro :defn- expand-private-defn)
wisp
5
bamboo/wisp
src/expander.wisp
[ "BSD-3-Clause" ]
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/ import QtQuick 2.3 import QGroundControl.Controls 1.0 QGCLabel { anchors.fill: parent text: qsTr("Not supported") horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter }
QML
2
uav-operation-system/qgroundcontrol
src/AutoPilotPlugins/APM/APMNotSupported.qml
[ "Apache-2.0" ]
// MIR for `num_to_digit` after PreCodegen fn num_to_digit(_1: char) -> u32 { debug num => _1; // in scope 0 at $DIR/issue-59352.rs:12:21: 12:24 let mut _0: u32; // return place in scope 0 at $DIR/issue-59352.rs:12:35: 12:38 let mut _2: char; // in scope 0 at $DIR/issue-59352.rs:14:8: 14:11 let mut _3: std::option::Option<u32>; // in scope 0 at $DIR/issue-59352.rs:14:26: 14:41 let mut _4: char; // in scope 0 at $DIR/issue-59352.rs:14:26: 14:29 let mut _5: u32; // in scope 0 at $DIR/issue-59352.rs:14:8: 14:23 let mut _11: isize; // in scope 0 at $DIR/issue-59352.rs:14:8: 14:23 scope 1 (inlined char::methods::<impl char>::is_digit) { // at $DIR/issue-59352.rs:14:8: 14:23 debug self => _2; // in scope 1 at $DIR/issue-59352.rs:14:8: 14:23 debug radix => _5; // in scope 1 at $DIR/issue-59352.rs:14:8: 14:23 let mut _6: &std::option::Option<u32>; // in scope 1 at $DIR/issue-59352.rs:14:8: 14:23 let _7: std::option::Option<u32>; // in scope 1 at $DIR/issue-59352.rs:14:8: 14:23 let mut _8: char; // in scope 1 at $DIR/issue-59352.rs:14:8: 14:23 scope 2 (inlined Option::<u32>::is_some) { // at $DIR/issue-59352.rs:14:8: 14:23 debug self => _6; // in scope 2 at $DIR/issue-59352.rs:14:8: 14:23 let mut _9: isize; // in scope 2 at $DIR/issue-59352.rs:14:8: 14:23 } } scope 3 (inlined #[track_caller] Option::<u32>::unwrap) { // at $DIR/issue-59352.rs:14:26: 14:50 debug self => _3; // in scope 3 at $DIR/issue-59352.rs:14:26: 14:50 let mut _10: isize; // in scope 3 at $DIR/issue-59352.rs:14:26: 14:50 scope 4 { debug val => _0; // in scope 4 at $DIR/issue-59352.rs:14:26: 14:50 } } bb0: { StorageLive(_2); // scope 0 at $DIR/issue-59352.rs:14:8: 14:11 _2 = _1; // scope 0 at $DIR/issue-59352.rs:14:8: 14:11 StorageLive(_5); // scope 0 at $DIR/issue-59352.rs:14:8: 14:23 _5 = const 8_u32; // scope 0 at $DIR/issue-59352.rs:14:8: 14:23 StorageLive(_6); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageLive(_7); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageLive(_8); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 _8 = _2; // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 _7 = char::methods::<impl char>::to_digit(move _8, const 8_u32) -> bb5; // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 // mir::Constant // + span: $DIR/issue-59352.rs:14:8: 14:23 // + literal: Const { ty: fn(char, u32) -> std::option::Option<u32> {std::char::methods::<impl char>::to_digit}, val: Value(Scalar(<ZST>)) } } bb1: { StorageDead(_11); // scope 0 at $DIR/issue-59352.rs:14:8: 14:23 StorageLive(_3); // scope 0 at $DIR/issue-59352.rs:14:26: 14:41 StorageLive(_4); // scope 0 at $DIR/issue-59352.rs:14:26: 14:29 _4 = _1; // scope 0 at $DIR/issue-59352.rs:14:26: 14:29 _3 = char::methods::<impl char>::to_digit(move _4, const 8_u32) -> bb2; // scope 0 at $DIR/issue-59352.rs:14:26: 14:41 // mir::Constant // + span: $DIR/issue-59352.rs:14:30: 14:38 // + literal: Const { ty: fn(char, u32) -> std::option::Option<u32> {std::char::methods::<impl char>::to_digit}, val: Value(Scalar(<ZST>)) } } bb2: { StorageDead(_4); // scope 0 at $DIR/issue-59352.rs:14:40: 14:41 StorageLive(_10); // scope 0 at $DIR/issue-59352.rs:14:26: 14:50 _10 = discriminant(_3); // scope 3 at $DIR/issue-59352.rs:14:26: 14:50 switchInt(move _10) -> [0_isize: bb6, 1_isize: bb8, otherwise: bb7]; // scope 3 at $DIR/issue-59352.rs:14:26: 14:50 } bb3: { StorageDead(_11); // scope 0 at $DIR/issue-59352.rs:14:8: 14:23 _0 = const 0_u32; // scope 0 at $DIR/issue-59352.rs:14:60: 14:61 goto -> bb4; // scope 0 at $DIR/issue-59352.rs:14:5: 14:63 } bb4: { return; // scope 0 at $DIR/issue-59352.rs:15:2: 15:2 } bb5: { _6 = &_7; // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageDead(_8); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageLive(_9); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 _9 = discriminant((*_6)); // scope 2 at $DIR/issue-59352.rs:14:8: 14:23 StorageLive(_11); // scope 2 at $DIR/issue-59352.rs:14:8: 14:23 _11 = move _9; // scope 2 at $DIR/issue-59352.rs:14:8: 14:23 StorageDead(_9); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageDead(_6); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageDead(_7); // scope 1 at $DIR/issue-59352.rs:14:8: 14:23 StorageDead(_5); // scope 0 at $DIR/issue-59352.rs:14:8: 14:23 StorageDead(_2); // scope 0 at $DIR/issue-59352.rs:14:22: 14:23 switchInt(move _11) -> [1_isize: bb1, otherwise: bb3]; // scope 0 at $DIR/issue-59352.rs:14:8: 14:23 } bb6: { core::panicking::panic(const "called `Option::unwrap()` on a `None` value"); // scope 3 at $DIR/issue-59352.rs:14:26: 14:50 // mir::Constant // + span: $DIR/issue-59352.rs:14:26: 14:50 // + literal: Const { ty: fn(&'static str) -> ! {core::panicking::panic}, val: Value(Scalar(<ZST>)) } // ty::Const // + ty: &str // + val: Value(Slice { data: Allocation { bytes: [99, 97, 108, 108, 101, 100, 32, 96, 79, 112, 116, 105, 111, 110, 58, 58, 117, 110, 119, 114, 97, 112, 40, 41, 96, 32, 111, 110, 32, 97, 32, 96, 78, 111, 110, 101, 96, 32, 118, 97, 108, 117, 101], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [8796093022207], len: Size { raw: 43 } }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 43 }) // mir::Constant // + span: $DIR/issue-59352.rs:14:26: 14:50 // + literal: Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [99, 97, 108, 108, 101, 100, 32, 96, 79, 112, 116, 105, 111, 110, 58, 58, 117, 110, 119, 114, 97, 112, 40, 41, 96, 32, 111, 110, 32, 97, 32, 96, 78, 111, 110, 101, 96, 32, 118, 97, 108, 117, 101], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [8796093022207], len: Size { raw: 43 } }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 43 }) } } bb7: { unreachable; // scope 3 at $DIR/issue-59352.rs:14:26: 14:50 } bb8: { _0 = move ((_3 as Some).0: u32); // scope 3 at $DIR/issue-59352.rs:14:26: 14:50 StorageDead(_10); // scope 0 at $DIR/issue-59352.rs:14:26: 14:50 StorageDead(_3); // scope 0 at $DIR/issue-59352.rs:14:49: 14:50 goto -> bb4; // scope 0 at $DIR/issue-59352.rs:14:5: 14:63 } }
Mirah
4
mbc-git/rust
src/test/mir-opt/issues/issue_59352.num_to_digit.PreCodegen.after.mir
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=yasuo.ico #AutoIt3Wrapper_Outfile=YasuoIT.exe #AutoIt3Wrapper_Outfile_x64=YasuoIT_x64.exe #AutoIt3Wrapper_Res_Description=Who picks Yasuo faster than me? #AutoIt3Wrapper_Res_Fileversion=0.0.1.0 #AutoIt3Wrapper_Res_ProductName=Yasuo.exe #AutoIt3Wrapper_Res_ProductVersion=0.0.1 #AutoIt3Wrapper_Res_CompanyName=YasuoIT Corporation #AutoIt3Wrapper_Res_LegalCopyright=YasuoIT @ 2020 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ;============================ ; Name............: YasuoIT.au3 ; Description.....: A simple script that supports auto queue and ; pick-lock your favorite champion quickly in ; normal game only (Summoner's Rift) and... ; helps you how to use LCU API in AutoIt. ; Repo............: https://github.com/nomi-san/yasuo/ ; Contributors....: + meouwu ;=============================================================== #include <WinAPIProc.au3> ; Get process path #include "./includes/_HttpRequest.au3" ; HTTP request (based on WinHTTP) #include "./includes/Json.au3" ; JSON parser (JSMN) ; Constants local $sPort, $sPass; local const $sHost = "https://127.0.0.1"; local const $sProc = "LeagueClientUx.exe"; ; 0 [GET] Get playable champions in inventory (all owneds and frees) ; 1 [GET] Check for match found ; 2 [POST] Accept the match ; 3 [GET] Get picking session info ; 4 [POST] Send selection actions func getAPI($n) static $aAPIs[] = [ _ "/lol-champions/v1/owned-champions-minimal", _ "/lol-matchmaking/v1/ready-check", _ "/lol-matchmaking/v1/ready-check/accept", _ "/lol-champ-select/v1/session", _ "/lol-champ-select/v1/session/actions" _ ]; return ($sHost & ':' & $sPort & $aAPIs[$n]) endFunc ; Check for Administrator permission if (not IsAdmin()) then MsgBox(0, "YasuoIT", "Please reopen program as an Administrator!"); Exit; endIf ; Get LCU process ID local $iPID = ProcessExists($sProc); ; Wait if it is not opended if ($iPID == 0) then $iPID = ProcessWait($sProc); Sleep(5000); Wait for loading endIf ; Get LCU path local $sDir = StringTrimRight(_WinAPI_GetProcessFileName($iPID), StringLen($sProc)); ; Read the lockfile and get port + password local $sLockfile = FileReadLine($sDir & 'lockfile'); local $sTokens = StringSplit($sLockfile, ':', 2); $sPort = $sTokens[2]; $sPass = $sTokens[3]; ; Set auth _HttpRequest_SetAuthorization("riot", $sPass); local $iChampID = -1; do ; Ask user to get champion name local $sChampName = InputBox("Please enter your champion name", _ "Note: many popular champions can be..." & @CRLF & _ " j4 -> Jarvan IV" & @CRLF & _ " yi -> Master Yi" & @CRLF & _ " ys -> Yasuo" & @CRLF & _ " yum -> Yuumi" & @CRLF & _ "Or press cancel to exit." _ ); if (@error) then exit; $iChampID = getChampID($sChampName); if ($iChampID == -2) then MsgBox(0, "YasuoIT", "Couldn't find this champion or you don't own it!"); endIf Until ($iChampID >= 0) Sleep(1000); ; Auto accept when match found and do pick-lock while (true) if (isInProgress()) then acceptMatch(); $bAccepted = true; elseIf (isInSelection()) then pickLock($iChampID); MsgBox(0, "YasuoIT", "Enjoy your favorite champion!"); ExitLoop endIf Sleep(250) wEnd ; Is in match found? (waiting for accept) func isInProgress() local $tmp = _HttpRequest(2, getAPI(1)); local $json = Json_Decode($tmp); return Json_Get($json, '["state"]') == 'InProgress'; endFunc ; Accept match found func acceptMatch() _HttpRequest(1, getAPI(2), '', '', '', '', 'POST'); endFunc ; Is in selection? func isInSelection() return (getID(true) > -1); endFunc ; Get your 'id' in match (your slot in game) ; Return -1 if not in picking. func getID($isCell = false) local $json, $tmp; $tmp = _HttpRequest(2, getAPI(3)); $json = Json_Decode($tmp); local $myCellId = Json_Get($json, '["localPlayerCellId"]'); if (IsInt($myCellId) and $isCell) then return $myCellId; if (IsInt($myCellId) and $myCellId >= 0) then for $i = 0 to 9 if (Json_Get($json, '["actions"][0][' & String($i) & ']["actorCellId"]') _ == $myCellId) then return Json_Get($json, '["actions"][0][' & String($i) & ']["id"]'); endIf next endIf return -1; endFunc ; Pick and lock champion func pickLock($iChampID) local $id = getID(); local $sPickingAPI = (getAPI(4) & '/' & String($id)); local $sLockingAPI = ($sPickingAPI & '/complete'); _HttpRequest(1, $sPickingAPI, _ '{"championId":' & String($iChampID) & '}', '', '', '', 'PATCH'); _HttpRequest(1, $sLockingAPI, '', '', '', '', 'POST'); endFunc ; Get champion ID func getChampID($sChampName) local $json, $sRet, $tmp; ; Load champion data $sRet = _HttpRequest(2, getAPI(0)); $json = Json_Decode($sRet); ; Why don't use a pre-loaded data? ; -> Cannot trigger the event: 'onUserBuysNewChamp' ; Count number of champion StringReplace($sRet, ".j", '.j'); Just '.jpg' local $iNChamps = @extended; ; Fix name $sChampName = StringStripWS($sChampName, 8); $sChampName = StringLower($sChampName); $sChampName = decodeName($sChampName); for $i = 0 to ($iNChamps-1) $tmp = Json_Get($json, '[' & String($i) & ']["alias"]'); $tmp = StringLower($tmp); if StringInStr($sChampName, $tmp) then $tmp = Json_Get($json, '[' & String($i) & ']["name"]'); $tmp = MsgBox(4, 'Confirm', 'Did you mean "' & $tmp & '"?'); if ($tmp == 7) then return -1; Re-enter return Int(Json_Get($json, '[' & String($i) & ']["id"]')); endIf next return -2; Don't own it endFunc ; Decode popular champion names (just a few names) func decodeName($sName) switch ($sName) case "aa" return "aatrox"; case "fish" return "fizz"; case "iv", "j4", "jav" return "jarvaniv"; case "kama" return "karma"; case "kenen" return "kennen"; case "ilao" return "illaoi"; case "lee" return "leesin"; case "lx" return "lux"; case "md" return "drmundo"; case "moon" return "diana"; case "moder" return "mordekaiser"; case "neko" return "neeko"; case "pig" return "sejuani"; case "popi", "popy" return "poppy"; case "sun" return "leona"; case "susan", "dog" return "nasus"; case "tam" return "tahmkench"; case "tf" return "twistedfate"; case "tw" return "twitch"; case "vaybu" return "vayne"; case "wk", "wukong" return "monkeyking"; case "xz" return "xinzhao"; case "yi" return "masteryi"; case "ys" return "yasuo"; case "yum", "cat", "meo", "meow" ; Why not Rengar or Nida? Is Yuumi cuteeest? return "yuumi"; endSwitch return $sName; endFunc
AutoIt
5
prpjzz/yasuo
yasuoit/yasuoit.au3
[ "MIT" ]
"""Constants for the Version integration.""" from __future__ import annotations from datetime import timedelta from logging import Logger, getLogger from typing import Any, Final from pyhaversion.consts import HaVersionChannel, HaVersionSource from homeassistant.const import CONF_NAME, Platform DOMAIN: Final = "version" LOGGER: Final[Logger] = getLogger(__package__) PLATFORMS: Final[list[Platform]] = [Platform.BINARY_SENSOR, Platform.SENSOR] UPDATE_COORDINATOR_UPDATE_INTERVAL: Final[timedelta] = timedelta(minutes=5) ENTRY_TYPE_SERVICE: Final = "service" HOME_ASSISTANT: Final = "Home Assistant" POSTFIX_CONTAINER_NAME: Final = "-homeassistant" CONF_BETA: Final = "beta" CONF_BOARD: Final = "board" CONF_CHANNEL: Final = "channel" CONF_IMAGE: Final = "image" CONF_VERSION_SOURCE: Final = "version_source" CONF_SOURCE: Final = "source" ATTR_CHANNEL: Final = CONF_CHANNEL ATTR_VERSION_SOURCE: Final = CONF_VERSION_SOURCE ATTR_SOURCE: Final = CONF_SOURCE SOURCE_DOCKER: Final = "docker" # Kept to not break existing configurations VERSION_SOURCE_DOCKER_HUB: Final = "Docker Hub" VERSION_SOURCE_HAIO: Final = "Home Assistant Website" VERSION_SOURCE_LOCAL: Final = "Local installation" VERSION_SOURCE_PYPI: Final = "Python Package Index (PyPI)" VERSION_SOURCE_VERSIONS: Final = "Home Assistant Versions" DEFAULT_BETA: Final = False DEFAULT_BOARD: Final = "OVA" DEFAULT_CHANNEL: Final = "stable" DEFAULT_IMAGE: Final = "default" DEFAULT_NAME_CURRENT: Final = "Current Version" DEFAULT_NAME: Final = "" DEFAULT_SOURCE: Final = "local" DEFAULT_CONFIGURATION: Final[dict[str, Any]] = { CONF_NAME: DEFAULT_NAME, CONF_CHANNEL: DEFAULT_CHANNEL, CONF_IMAGE: DEFAULT_IMAGE, CONF_BOARD: DEFAULT_BOARD, CONF_VERSION_SOURCE: VERSION_SOURCE_LOCAL, CONF_SOURCE: DEFAULT_SOURCE, } STEP_VERSION_SOURCE: Final = "version_source" STEP_USER: Final = "user" HA_VERSION_SOURCES: Final[list[str]] = [source.value for source in HaVersionSource] BOARD_MAP: Final[dict[str, str]] = { "OVA": "ova", "RaspberryPi 2": "rpi2", "RaspberryPi 3": "rpi3", "RaspberryPi 3 64bit": "rpi3-64", "RaspberryPi 4": "rpi4", "RaspberryPi 4 64bit": "rpi4-64", "ASUS Tinkerboard": "tinker", "ODROID C2": "odroid-c2", "ODROID C4": "odroid-c4", "ODROID N2": "odroid-n2", "ODROID XU4": "odroid-xu4", "Generic AArch64": "generic-aarch64", "Generic x86-64": "generic-x86-64", "Home Assistant Yellow": "yellow", "Khadas VIM3": "khadas-vim3", } VALID_BOARDS: Final[list[str]] = list(BOARD_MAP) VERSION_SOURCE_MAP: Final[dict[str, str]] = { VERSION_SOURCE_LOCAL: "local", VERSION_SOURCE_VERSIONS: "supervisor", VERSION_SOURCE_HAIO: "haio", VERSION_SOURCE_DOCKER_HUB: "container", VERSION_SOURCE_PYPI: "pypi", } VALID_SOURCES: Final[list[str]] = HA_VERSION_SOURCES + [ "hassio", # Kept to not break existing configurations "docker", # Kept to not break existing configurations ] VALID_IMAGES: Final = [ "default", "generic-x86-64", "intel-nuc", "odroid-c2", "odroid-n2", "odroid-xu", "qemuarm-64", "qemuarm", "qemux86-64", "qemux86", "raspberrypi", "raspberrypi2", "raspberrypi3-64", "raspberrypi3", "raspberrypi4-64", "raspberrypi4", "tinker", ] VALID_CONTAINER_IMAGES: Final[list[str]] = [ f"{image}{POSTFIX_CONTAINER_NAME}" if image != DEFAULT_IMAGE else image for image in VALID_IMAGES ] VALID_CHANNELS: Final[list[str]] = [ str(channel.value).title() for channel in HaVersionChannel ]
Python
4
liangleslie/core
homeassistant/components/version/const.py
[ "Apache-2.0" ]
<!DOCTYPE html> <html lang="zh" xmlns:th="http://www.thymeleaf.org"> <head th:replace="common/common::_header"> <title>确认您的授权信息</title> </head> <body> <div id="app"> <v-app> <v-content> <v-row class="fill-height align-sm-center" justify="center"> <v-col class="pa-0"> <v-card id="form-card" class="px-6 pb-7 px-sm-10 pb-sm-9 mx-auto" outlined> <v-form ref="auth" id="auth" th:action="@{/oauth/authorize}" method="post"> <v-spacer class="pt-6 pt-sm-12"></v-spacer> <v-card-title class="justify-center headline"> 确认应用的授权信息 </v-card-title> <div class="text-center" style="height:44px"> <v-btn outlined rounded th:text="'客户端:' + ${#strings.toUpperCase(clientId)}"></v-btn> </div> <v-spacer></v-spacer> <v-list shaped> <v-subheader>当前应用将会获取您的以下权限:</v-subheader> <v-list-item-group color="primary"> <v-list-item th:each="scope : ${scopes}"> <v-list-item-content> <input type="hidden" th:name="'scope.' + ${scope}" value="true"> <v-list-item-title th:text="${#strings.toUpperCase(scope)}"></v-list-item-title> </v-list-item-content> </v-list-item> </v-list-item-group> </v-list> <input type="hidden" name="_csrf" th:value="${_csrf.token}"/> <input type="hidden" name="user_oauth_approval" value="true"> <v-card-actions class="mt-6"> <v-spacer></v-spacer> <v-btn color="info" type="submit">确认授权</v-btn> </v-card-actions> </v-form> </v-card> </v-col> </v-row> </v-content> </v-app> </div> <div th:include="common/common::_footer"></div> <script> new Vue({ el: '#app', vuetify: new Vuetify(), }) </script> </body> </html>
HTML
3
zcy2095/spring-boot-demo
demo-oauth/oauth-authorization-server/src/main/resources/templates/authorization.html
[ "MIT" ]
Using PF_RING with Bro ---------------------- In order to use Bro on top of pf_ring support please follow this guide. 1. Install the "pfring" package (and optionally "pfring-drivers-zc-dkms" if you want to use ZC drivers) from http://packages.ntop.org as explained in README.apt_rpm_packages 2. Download Bro from https://www.bro.org/download/ wget https://www.bro.org/downloads/release/bro-X.X.X.tar.gz tar xvzf bro-*.tar.gz 3. Configure and install Bro ./configure --with-pcap=/usr/local/lib make make install 4. Make sure Bro is correctly linked to pf_ring-aware libpcap: ldd /usr/local/bro/bin/bro | grep pcap libpcap.so.1 => /usr/local/lib/libpcap.so.1 (0x00007fa371e33000) 5. Configure the node configuration file (node.cfg) with: lb_method=pf_ring lb_procs=<number of processes you want to run> pin_cpus=<core affinity for the processes (comma-separated list)> Example: [worker-1] type=worker host=10.10.10.1 interface=eth1 lb_method=pf_ring lb_procs=8 pin_cpus=0,1,2,3,4,5,6,7 If you installed the ZC drivers, you can configure the number of RSS queues, as explained in README.apt_rpm_packages (or running "ethtool -L eth1 combined <num>"), to the same number of processes in lb_procs, and use zc:ethX as interface name. Example: [worker-1] type=worker host=10.10.10.1 interface=zc:eth1 lb_method=pf_ring lb_procs=8 pin_cpus=0,1,2,3,4,5,6,7 Another option for distributing the load using ZC is using zero-copy software distribution with zbalance_ipc. This configuration requires RSS set to single queue. Run zbalance_ipc *before* running bro with: zbalance_ipc -i zc:eth1 -c 99 -n 8 -m 1 -g 8 Where: -c 99 is the cluster ID -n 8 is the number of queues -g 8 is core affinity for zbalance_ipc You should use as interface name zc:<cluster id> as in the example below. Example: [worker-1] type=worker host=10.10.10.1 interface=zc:99 lb_method=pf_ring lb_procs=8 pin_cpus=0,1,2,3,4,5,6,7
Bro
3
refraction-networking/tapdance
pfring-framework/doc/README.bro
[ "Apache-2.0" ]
# mes 2,EM_WSIZE,EM_PSIZE ; ; layout of a setjmp buffer: ; ; ----------------- ; | signal mask | (only for Berkeley 4.[2-]) ; ----------------- ; | | ; | GTO descriptor | ; | (SP, LB, PC) | ; | | ; ----------------- ; ; setjmp saves the signalmask, PC, SP, and LB of caller, and creates a ; GTO descriptor from this. ; The big problem here is how to get the return address, i.e. the PC of ; the caller; This problem is solved by the front-end, which must pass ; it as an extra parameter to setjmp. ; a GTO descriptor must be in the global data area gtobuf bss 3*EM_PSIZE,0,0 inp $fill_ret_area exp $setjmp pro $setjmp,0 #ifdef __BSD4_2 ; save mask of currently blocked signals. ; longjmp must restore this mask loc 0 cal $sigblock asp EM_WSIZE lfr EM_WSIZE lal 0 loi EM_PSIZE stf 3*EM_PSIZE #endif ; create GTO descriptor for longjmp lxl 0 dch ; Local Base of caller lxa 0 ; Stackpointer of caller lal EM_PSIZE loi EM_PSIZE ; Return address of caller lal 0 loi EM_PSIZE ; address of jmpbuf sti 3*EM_PSIZE ; LB, SP, and PC stored in jmpbuf loc 0 ret EM_WSIZE ; setjmp must return 0 end 0 pro $fill_ret_area,0 ; put argument in function result area lol 0 ret EM_WSIZE end 0 exp $longjmp pro $longjmp,? #ifdef __BSD4_2 ; restore signal mask lal 0 loi EM_PSIZE lof 3*EM_PSIZE cal $sigsetmask asp EM_WSIZE lfr EM_WSIZE asp EM_WSIZE #endif lal 0 loi EM_PSIZE ; address of jmpbuf lae gtobuf blm 3*EM_PSIZE ; fill GTO descriptor from jmpbuf lol EM_PSIZE ; second parameter of longjmp: the return value dup EM_WSIZE zne *3 ; of course, longjmp may not return 0! asp EM_WSIZE loc 1 3 ; put return value in function result area cal $fill_ret_area asp EM_WSIZE gto gtobuf ; there we go ... ; ASP and GTO do not damage function result area end 0
Eiffel
4
wyan/ack
lang/cem/libcc/gen/setjmp.e
[ "BSD-3-Clause" ]
package { import GZ.Gpu.ShaderBase.FragmentShader; import GZ.Gpu.ShaderBase.VertexShader; import GZ.Gpu.ShaderBase.ProgramShader; import GZ.Gpu.Base.Attribute; import GZ.Gpu.Base.Uniform; import GZ.Gpu.Base.UnFloat; import GZ.Gpu.Base.UnVec2; import GZ.Gpu.ShaderBase.Vbo; import GZ.Gpu.GpuObj.GpuBatch; import GZ.Base.Perspective; import GZ.Sys.Interface.Context; import GZ.Gpu.ShaderModel.GzModel.GzShModel; import GZ.Input.Key; import GZ.Gpu.Base.UnInt; //import GZ.Base.TestPod; //import GZ.Base.TestPod2; public overclass GzShModel_Shadertoy extends GzShModel { /* public var oVertex : VertexShader; public var oFragement : FragmentShader; public var oProgram : ProgramShader; public var oGpuBatch : GpuBatch; public var oVboBatch : Vbo; public var oUiMouse : UnVec2; */ public function GzShModel_Shadertoy():Void { Debug.fTrace("--- GzShModel_Shadertoy Created!! ---"); } override function fLoad():Bool { oVertex = new VertexShader(); oFragement = new FragmentShader(); oProgram = new ProgramShader(); <glsl(oVertex)> in vec4 atObjPos; //xflat out vec4 vColor; out vec2 ioTexture; void main(){ if (nVertexID < 2){ if(nVertexID == 0){ gl_Position.x = -1.0; gl_Position.y = -1.0; }else{ gl_Position.x = 1.0; gl_Position.y = -1.0; } }else{ if(nVertexID == 2){ gl_Position.x = 1.0; gl_Position.y = 1.0; }else{ gl_Position.x = -1.0; gl_Position.y = 1.0; } } gl_Position.z = 0.5; gl_Position.w = 1.0; } </glsl> oVertex.fLoad(); if(oVertex.fCompile() == false){ //Debug.fError("Vertex Shader: " + oVertex.fGetErrorLine() ); Debug.fError("Vertex Shader Error:" ); Debug.fTrace("-->" + oVertex.fGetLog()); Debug.fTrace("-----------------"); Debug.fTrace(oVertex.fGetString()); Debug.fTrace("-----------------"); }else{ Debug.fPass("Vertex Success"); } ///////////// Fragment Shader ////////////// <glsl(oFragement)> #define time iTime #define res iResolution float bounce; // signed box float sdBox(vec3 p,vec3 b) { vec3 d=abs(p)-b; return min(max(d.x,max(d.y,d.z)),0.)+length(max(d,0.)); } // rotation void pR(inout vec2 p,float a) { p=cos(a)*p+sin(a)*vec2(p.y,-p.x); } // 3D noise function (IQ) float noise(vec3 p) { vec3 ip=floor(p); p-=ip; vec3 s=vec3(7,2,0.1); //DENSITY vec4 h=vec4(0.,s.yz,s.y+s.z)+dot(ip,s); // vec4 h=vec4(0.,s.yz,s.y+s.z); //Nice effect // p=p*p*(3.0-2.*p); // p=p*p*(3.09-2.*p); // h=fract((h)*2000000.5); //h=mix(fract((h)*1.5),fract((h+s.x)*1.5),p.x); //Cool effect h.xy=mix(h.xz,h.yw,p.y); return mix(h.x,h.y,p.z); } float map(vec3 p) { //z-=2.0; p*=0.9; pR(p.yz,bounce*0.1+0.4*p.x); return sdBox(p+vec3(0,sin(1.6*time),0),vec3(20.0, 0.05, 1.2))-.4; } // normal calculation vec3 calcNormal(vec3 pos) { float eps=0.0001; float d=map(pos); return normalize(vec3(map(pos+vec3(eps,0,0))-d,map(pos+vec3(0,eps,0))-d,map(pos+vec3(0,0,eps))-d)); } // standard sphere tracing inside and outside float castRayx(vec3 ro,vec3 rd) { float function_sign=(map(ro)<0.)?-1.:1.; float precis=.01; float h=precis*1.; float t=0.; for(int i=0;i<13;i++) { // if(abs(h)<precis||t>12.)break; h=function_sign*map(ro+rd*t); t+=h; } return t; } // refraction float refr(vec3 pos,vec3 lig,vec3 dir,vec3 nor,float angle,out float t2, out vec3 nor2) { float h=0.; t2=2.; vec3 dir2=refract(dir,nor,angle); for(int i=0;i<1;i++) { if(abs(h)>3.) break; h=map(pos+dir2*t2); t2-=h; } nor2=calcNormal(pos+dir2*t2); return(.5*clamp(dot(-lig,nor2),0.,1.)+pow(max(dot(reflect(dir2,nor2),lig),0.),8.)); } // softshadow float softshadow(vec3 ro,vec3 rd) { float sh=1.; float t=.02; float h=.0; for(int i=0;i<1;i++) // for(int i=0;i<10;i++) { // if(t>20.)continue; h=map(ro+rd*t); sh=min(sh,4.*h/t)*0.90; //sh=min(sh,4.*h/t*0.9)*0.9; t+=h; } return sh; } // main function void mainImage(out vec4 fragColor,in vec2 fragCoord) { //bounce=abs(fract(0.05*time)-.5)*20.; // triangle function // bounce=abs((0.004*time)+ time*0.6)*2.5; // triangle function - disable reverse bounce=time * 20.0+ time*0.3; vec2 uv=gl_FragCoord.xy/res.xy; vec2 p=uv*2.-1.; // bouncy cam every 10 seconds float wobble=(fract(.1*(1.0-1.))>=0.9)?fract(10.0)*0.1*sin(300.):0.; //Disable bounce // float wobble=(fract(.1*(time-1.))>=0.9)?fract(-time)*0.1*sin(30.*time):0.; // camera vec3 dir = normalize(vec3(2.*gl_FragCoord.xy -res.xy, res.y)); vec3 org = vec3(0,2.*0.2,-3.); // standard sphere tracing: vec3 color = vec3(0.); vec3 color2 =vec3(0.); float t=castRayx(org,dir); vec3 pos=org+dir*t; vec3 nor=calcNormal(pos); // lighting: vec3 lig=normalize(vec3(.2,6.,.5)); // scene depth float depth=clamp((1.-0.09*t),0.,1.); vec3 nor2 = vec3(0.); // color2 = vec3(max(dot(lig,nor),0.) + (max(dot(reflect(dir,nor),lig),0.)));// color2 = vec3(max(dot(lig,nor),0.) + pow(max(dot(reflect(dir,nor),lig),0.),100.)); //color2 *=clamp(softshadow(pos,lig),0.,1.); // shadow //color2 *=clamp((pos,lig),0.,1.); // shadow color2 *=(2.,0.,(lig,pos)); // shadow float t2; color2.rgb +=refr(pos,lig,dir,nor,0.02, t2, nor2)*depth;//refract // color2-=clamp(.1*t2,0.,1.); // inner intensity loss color2*=depth; //color2+= (1.-depth); // subtle mist white background // scene depth included in alpha channel fragColor = vec4( vec3( 0.8 * color2 ), 0.1) ; } </glsl> oFragement.fAddMain(); oFragement.fLoad(); if(oFragement.fCompile() == false){ //Debug.fError("Fragment Shader: " + oFragement.fGetErrorLine() ); Debug.fError("Fragment Shader Error:" ); Debug.fTrace("-->" + oFragement.fGetLog()); Debug.fTrace("-----------------"); Debug.fTrace(oFragement.fGetString()); Debug.fTrace("-----------------"); }else{ Debug.fPass("Fragement Shader Success"); } oProgram.fAttachShader(oVertex); oProgram.fAttachShader(oFragement); if(oProgram.fLink()){ Debug.fPass("Link Success"); }else{ Debug.fError("Link error! " ); } oProgram.fUse(); ////////////// TODO Create Vertext ID since ES2/WebGl_1.0 not support gl_VertexID ////////////// oProgram.fSetDefaultAttribDivisor(1); oVboBatch = oProgram.fAddVbo(); oGpuBatch = new GpuBatch(this); //var _oAtObjPos : Attribute = oProgram.fAddAttribute(null, "atObjPos"); //TODO null //var _oAtVertexID : Attribute = oProgram.fAddAttribute(null, "atVertexID",0); //Must advance each vertex //TODO null //var _oAtObjPos : Attribute = new Attribute("atObjPos", null); //TODO null! var _oAtVertexID : Attribute = new Attribute("atVertexID", oVboBatch, 0);//TODO null! //oProgram.fAttachAttribute(_oAtObjPos); // oProgram.fAttachAttribute(_oAtVertexID); oUiTime = new UnFloat(oProgram, "iTime"); oUiMouse = new UnVec2(oProgram, "iMouse"); oUiResolution = new UnVec2(oProgram, "iResolution"); oUvPosition = new UnVec2(oProgram, "vPosition"); //oUiTime = new UnVec2(oProgram, "iTime"); oUnType = new UnInt(oProgram, "nType"); // var _oPersv : Perspective = new Perspective(); // oGpuBatch.fDraw(); ///var _oPod : TestPod = new TestPod(5, 5); ///var _oPod2 : TestPod2 = new TestPod2(1, 2.5, 3, 4); /// fPod(_oPod2); } override function fUpdate():Void { <cpp> static gzFloat _nTime = 0; _nTime+=0.01666; //60fps oUiTime->nVal = _nTime; </cpp> oUiTime.fSend(); //Debug.fTrace("oUiTime.nVal " + oUiTime.nVal); //Key var _nSpeed : Float = 0.1; if(Key.fIsDown(Up)){ oUvPosition.vVal.nY += _nSpeed; } if(Key.fIsDown(Down)){ oUvPosition.vVal.nY -= _nSpeed; } if(Key.fIsDown(Left)){ oUvPosition.vVal.nX -= _nSpeed; //Debug.fTrace("Left"); } if(Key.fIsDown(Right)){ oUvPosition.vVal.nX += _nSpeed; } oUvPosition.fSend(); //nDestX = oWindow.nMouseX + nDragX + ( oWindow.nMouseX - oWindow.nLastMouseX)/1.5; //nDestY = oWindow.nMouseY + nDragY + ( oWindow.nMouseY - oWindow.nLastMouseY)/1.5; // Debug.fTrace("aaaaa"); // if(oUiMouse.oVal.nX < 6){ //oUiMouse.vVal.nX = Context.nMouseX/ 5.5; // Debug.fTrace( Context.nMouseX + ": " + Context.nMouseY ); oUiMouse.vVal.nX = Context.nMouseX/Context.nFrameWidth - 0.5; oUiMouse.vVal.nY = Context.nMouseY/Context.nFrameHeight - 0.5; oUiMouse.fSend(); oUiResolution.vVal.nX = Context.nFrameWidth; oUiResolution.vVal.nY = Context.nFrameHeight; oUiResolution.fSend(); // Debug.fTrace("oUiResolution.vVal.nX" + oUiResolution.vVal.nX); // Debug.fTrace("oUiResolution.vVal.nY" + oUiResolution.vVal.nY); // Debug.fTrace("oUiMouse.vVal.nX" + oUiMouse.vVal.nX); oVboBatch.fSetDefaultDataVertexID(); oVboBatch.fSendData(); oGpuBatch.fDraw(); } } }
Redcode
4
VLiance/GZE
src/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel_Shadertoy.cw
[ "Apache-2.0" ]
\require "b:.."
LilyPond
0
HolgerPeters/lyp
spec/package_setups/testing/b/test/require.ly
[ "MIT" ]
// compile-flags: -Z mir-opt-level=3 // Due to a bug in propagating scalar pairs the assertion below used to fail. In the expected // outputs below, after ConstProp this is how _2 would look like with the bug: // // _2 = (const Scalar(0x00) : (), const 0u8); // // Which has the wrong type. fn encode(this: ((), u8, u8)) { assert!(this.2 == 0); } // EMIT_MIR issue_66971.main.ConstProp.diff fn main() { encode(((), 0, 0)); }
Rust
4
mbc-git/rust
src/test/mir-opt/const_prop/issue-66971.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<configuration> <dllmap dll="java-interop" target="__Internal" /> <dllmap wordsize="32" dll="i:cygwin1.dll" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="i:cygwin1.dll" target="/system/lib64/libc.so" /> <dllmap wordsize="32" dll="libc" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="libc" target="/system/lib64/libc.so" /> <dllmap wordsize="32" dll="intl" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="intl" target="/system/lib64/libc.so" /> <dllmap wordsize="32" dll="libintl" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="libintl" target="/system/lib64/libc.so" /> <dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so" /> <dllmap wordsize="32" dll="i:msvcrt" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="i:msvcrt" target="/system/lib64/libc.so" /> <dllmap wordsize="32" dll="i:msvcrt.dll" target="/system/lib/libc.so" /> <dllmap wordsize="64" dll="i:msvcrt.dll" target="/system/lib64/libc.so" /> <dllmap wordsize="32" dll="sqlite" target="/system/lib/libsqlite.so" /> <dllmap wordsize="64" dll="sqlite" target="/system/lib64/libsqlite.so" /> <dllmap wordsize="32" dll="sqlite3" target="/system/lib/libsqlite.so" /> <dllmap wordsize="64" dll="sqlite3" target="/system/lib64/libsqlite.so" /> <dllmap wordsize="32" dll="liblog" target="/system/lib/liblog.so" /> <dllmap wordsize="64" dll="liblog" target="/system/lib64/liblog.so" /> <dllmap dll="i:kernel32.dll"> <dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/> <dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/> <dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/> <dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/> </dllmap> <dllmap os="osx" dll="i:cygwin1.dll" target="/usr/lib/libc.dylib" /> <dllmap os="osx" dll="libc" target="/usr/lib/libc.dylib" /> <dllmap os="osx" dll="intl" target="/usr/lib/libc.dylib" /> <dllmap os="osx" dll="libintl" target="/usr/lib/libc.dylib" /> <dllmap os="osx" dll="i:msvcrt" target="/usr/lib/libc.dylib" /> <dllmap os="osx" dll="i:msvcrt.dll" target="/usr/lib/libc.dylib" /> <dllmap os="osx" dll="sqlite" target="/usr/lib/libsqlite3.dylib" /> <dllmap os="osx" dll="sqlite3" target="/usr/lib/libsqlite3.dylib" /> </configuration>
Logos
1
cherry003/xamarin-android
src/monodroid/jni/monodroid.x
[ "MIT" ]
<%@ extends gw.internal.gosu.template.SuperClass %><%= nonStatic() %>
Gosu
0
tcmoore32/sheer-madness
gosu-test/src/test/gosu/gw/internal/gosu/template/Errant_ExtendsNonStaticFunctionAccess.gst
[ "Apache-2.0" ]
"""Test Alexa auth endpoints.""" from homeassistant.components.alexa.auth import Auth from homeassistant.const import CONF_CLIENT_ID, CONF_CLIENT_SECRET from .test_common import TEST_TOKEN_URL async def run_auth_get_access_token( hass, aioclient_mock, expires_in, client_id, client_secret, accept_grant_code, refresh_token, ): """Do auth and request a new token for tests.""" aioclient_mock.post( TEST_TOKEN_URL, json={ "access_token": "the_access_token", "refresh_token": refresh_token, "expires_in": expires_in, }, ) auth = Auth(hass, client_id, client_secret) await auth.async_do_auth(accept_grant_code) await auth.async_get_access_token() async def test_auth_get_access_token_expired(hass, aioclient_mock): """Test the auth get access token function.""" client_id = "client123" client_secret = "shhhhh" accept_grant_code = "abcdefg" refresh_token = "refresher" await run_auth_get_access_token( hass, aioclient_mock, -5, client_id, client_secret, accept_grant_code, refresh_token, ) assert len(aioclient_mock.mock_calls) == 2 calls = aioclient_mock.mock_calls auth_call_json = calls[0][2] token_call_json = calls[1][2] assert auth_call_json["grant_type"] == "authorization_code" assert auth_call_json["code"] == accept_grant_code assert auth_call_json[CONF_CLIENT_ID] == client_id assert auth_call_json[CONF_CLIENT_SECRET] == client_secret assert token_call_json["grant_type"] == "refresh_token" assert token_call_json["refresh_token"] == refresh_token assert token_call_json[CONF_CLIENT_ID] == client_id assert token_call_json[CONF_CLIENT_SECRET] == client_secret async def test_auth_get_access_token_not_expired(hass, aioclient_mock): """Test the auth get access token function.""" client_id = "client123" client_secret = "shhhhh" accept_grant_code = "abcdefg" refresh_token = "refresher" await run_auth_get_access_token( hass, aioclient_mock, 555, client_id, client_secret, accept_grant_code, refresh_token, ) assert len(aioclient_mock.mock_calls) == 1 call = aioclient_mock.mock_calls auth_call_json = call[0][2] assert auth_call_json["grant_type"] == "authorization_code" assert auth_call_json["code"] == accept_grant_code assert auth_call_json[CONF_CLIENT_ID] == client_id assert auth_call_json[CONF_CLIENT_SECRET] == client_secret
Python
5
liangleslie/core
tests/components/alexa/test_auth.py
[ "Apache-2.0" ]
#!/bin/bash set -eou pipefail CONTAINER_NAME=kotlin-qemu-builder IMAGE_NAME=kotlin-qemu-builder docker ps -a | grep $CONTAINER_NAME > /dev/null \ && docker stop $CONTAINER_NAME 1> /dev/null \ && docker rm $CONTAINER_NAME 1> /dev/null docker run -it -v "$PWD"/out:/output --name=$CONTAINER_NAME $IMAGE_NAME
Shell
3
Mu-L/kotlin
kotlin-native/tools/qemu/run_container.sh
[ "ECL-2.0", "Apache-2.0" ]
#NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Change2CUI=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <ScreenCapture.au3> #cs -------------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: VIVI (https://github.com/V1V1) Script Function: Takes screenshot and saves it in the user's temp directory. #ce -------------------------------------------------------------------------------- ; Title ConsoleWrite(@CRLF & "=========== Screen capture ===========" & @CRLF & @CRLF) ; Take screenshot _ScreenCapture() #cs ---------------------------------------------------------------------------- Main functions: _ScreenCapture() #ce ---------------------------------------------------------------------------- Func _ScreenCapture() ; Output file name Local $screencapOutputFile = _GenerateOutputFile() ConsoleWrite("[i] Screenshot will be saved to: " & $screencapOutputFile & @CRLF & @CRLF) ; Take screenshot $hBmp = _ScreenCapture_Capture("") _ScreenCapture_SaveImage($screencapOutputFile, $hBmp) ConsoleWrite("[*] Done" & @CRLF & @CRLF) EndFunc ;==>_ScreenCapture #cs ---------------------------------------------------------------------------- Util functions: _GenerateOutputFile() #ce ---------------------------------------------------------------------------- Func _GenerateOutputFile() ; File format (sc-YEAR-MONTH-DAY_HOUR-MINUTE-SECOND.png) Local $timestamp = @YEAR & "-" & @MON & "-" & @MDAY & "_" & @HOUR & "-" & @MIN & "-" & @SEC Local $outputFile = @TempDir & "\sc-" & $timestamp & ".png" Return $outputFile EndFunc ;==>_GenerateOutputFile
AutoIt
5
ohio813/OffensiveAutoIt
Collection/ScreenCapture.au3
[ "BSD-2-Clause" ]
module Module (foo) where import Module2 (bar) foo :: Int foo = 0 baz :: Int baz = foo + bar
PureScript
3
andys8/purescript
tests/purs/graph/src/Module.purs
[ "BSD-3-Clause" ]
module Svc { type TimerVal @ Time cycle Port with timestamp argument port Cycle( ref cycleStart: Svc.TimerVal @< Cycle start timer value ) }
FORTRAN
3
AlperenCetin0/fprime
Svc/Cycle/Cycle.fpp
[ "Apache-2.0" ]
{ "errors": { "0": { "lineNumber": undefined, "index": undefined, "column": undefined, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 34 } } } } }
Diff
1
oonsamyi/flow
src/parser/test/esprima/tolerant-parse/migrated_0035.diff
[ "MIT" ]
#if NEW # define NEW_NAME(x) __attribute__((swift_name(#x))) #else # define NEW_NAME(x) #endif struct BeforeStruct { int value; } NEW_NAME(AfterStruct); typedef int BeforeTypedef NEW_NAME(AfterTypedef); typedef int BeforeWrappedTypedef __attribute__((swift_wrapper(struct))) NEW_NAME(AfterWrappedTypedef); #if NEW typedef struct DifferentStruct { int value; } BeforeReplacedType NEW_NAME(AfterReplacedType); #else struct BeforeReplacedType { float value; }; #endif
C
3
lwhsu/swift
test/Serialization/Recovery/Inputs/custom-modules/RenameAcrossVersions.h
[ "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. */ #import "ABI43_0_0RCTInputAccessoryComponentView.h" #import <ABI43_0_0React/ABI43_0_0RCTBackedTextInputViewProtocol.h> #import <ABI43_0_0React/ABI43_0_0RCTConversions.h> #import <ABI43_0_0React/ABI43_0_0RCTSurfaceTouchHandler.h> #import <ABI43_0_0React/ABI43_0_0RCTUtils.h> #import <ABI43_0_0React/ABI43_0_0UIView+React.h> #import <ABI43_0_0React/ABI43_0_0renderer/components/inputaccessory/InputAccessoryComponentDescriptor.h> #import <ABI43_0_0React/ABI43_0_0renderer/components/rncore/Props.h> #import "ABI43_0_0RCTInputAccessoryContentView.h" #import "ABI43_0_0RCTFabricComponentsPlugins.h" using namespace ABI43_0_0facebook::ABI43_0_0React; static UIView<ABI43_0_0RCTBackedTextInputViewProtocol> *_Nullable ABI43_0_0RCTFindTextInputWithNativeId(UIView *view, NSString *nativeId) { if ([view respondsToSelector:@selector(inputAccessoryViewID)] && [view respondsToSelector:@selector(setInputAccessoryView:)]) { UIView<ABI43_0_0RCTBackedTextInputViewProtocol> *typed = (UIView<ABI43_0_0RCTBackedTextInputViewProtocol> *)view; if (!nativeId || [typed.inputAccessoryViewID isEqualToString:nativeId]) { return typed; } } for (UIView *subview in view.subviews) { UIView<ABI43_0_0RCTBackedTextInputViewProtocol> *result = ABI43_0_0RCTFindTextInputWithNativeId(subview, nativeId); if (result) { return result; } } return nil; } @implementation ABI43_0_0RCTInputAccessoryComponentView { InputAccessoryShadowNode::ConcreteStateTeller _stateTeller; ABI43_0_0RCTInputAccessoryContentView *_contentView; ABI43_0_0RCTSurfaceTouchHandler *_touchHandler; UIView<ABI43_0_0RCTBackedTextInputViewProtocol> __weak *_textInput; } - (instancetype)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { static const auto defaultProps = std::make_shared<const InputAccessoryProps>(); _props = defaultProps; _contentView = [ABI43_0_0RCTInputAccessoryContentView new]; _touchHandler = [ABI43_0_0RCTSurfaceTouchHandler new]; [_touchHandler attachToView:_contentView]; } return self; } - (void)didMoveToWindow { [super didMoveToWindow]; if (self.window && !_textInput) { if (self.nativeId) { _textInput = ABI43_0_0RCTFindTextInputWithNativeId(self.window, self.nativeId); _textInput.inputAccessoryView = _contentView; } else { _textInput = ABI43_0_0RCTFindTextInputWithNativeId(_contentView, nil); } if (!self.nativeId) { [self becomeFirstResponder]; } } } - (BOOL)canBecomeFirstResponder { return true; } - (UIView *)inputAccessoryView { return _contentView; } #pragma mark - ABI43_0_0RCTComponentViewProtocol + (ComponentDescriptorProvider)componentDescriptorProvider { return concreteComponentDescriptorProvider<InputAccessoryComponentDescriptor>(); } - (void)mountChildComponentView:(UIView<ABI43_0_0RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index { [_contentView insertSubview:childComponentView atIndex:index]; } - (void)unmountChildComponentView:(UIView<ABI43_0_0RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index { [childComponentView removeFromSuperview]; } - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &)oldProps { auto const &oldInputAccessoryProps = *std::static_pointer_cast<InputAccessoryProps const>(_props); auto const &newInputAccessoryProps = *std::static_pointer_cast<InputAccessoryProps const>(props); if (newInputAccessoryProps.backgroundColor != oldInputAccessoryProps.backgroundColor) { _contentView.backgroundColor = ABI43_0_0RCTUIColorFromSharedColor(newInputAccessoryProps.backgroundColor); } [super updateProps:props oldProps:oldProps]; self.hidden = true; } - (void)updateState:(State::Shared const &)state oldState:(State::Shared const &)oldState { _stateTeller.setConcreteState(state); CGSize oldViewportSize = ABI43_0_0RCTCGSizeFromSize(_stateTeller.getData().value().viewportSize); CGSize viewportSize = ABI43_0_0RCTViewportSize(); viewportSize.height = std::nan(""); if (oldViewportSize.width != viewportSize.width) { auto stateData = InputAccessoryState{ABI43_0_0RCTSizeFromCGSize(viewportSize)}; _stateTeller.updateState(std::move(stateData)); } } - (void)updateLayoutMetrics:(LayoutMetrics const &)layoutMetrics oldLayoutMetrics:(LayoutMetrics const &)oldLayoutMetrics { [super updateLayoutMetrics:layoutMetrics oldLayoutMetrics:oldLayoutMetrics]; [_contentView setFrame:ABI43_0_0RCTCGRectFromRect(layoutMetrics.getContentFrame())]; } - (void)prepareForRecycle { [super prepareForRecycle]; _stateTeller.invalidate(); _textInput = nil; } @end Class<ABI43_0_0RCTComponentViewProtocol> ABI43_0_0RCTInputAccessoryCls(void) { return ABI43_0_0RCTInputAccessoryComponentView.class; }
Objective-C++
4
zakharchenkoAndrii/expo
ios/versioned-react-native/ABI43_0_0/ReactNative/React/Fabric/Mounting/ComponentViews/InputAccessory/ABI43_0_0RCTInputAccessoryComponentView.mm
[ "Apache-2.0", "MIT" ]
#!/usr/bin/env bash # Suggested usage: # https://github.com/hasura/graphql-engine/blob/master/server/CONTRIBUTING.md#running-the-python-test-suite-on-bigquery # https://cloud.google.com/iam/docs/creating-managing-service-accounts#iam-service-accounts-create-rest project_id=${1} service_account_file=${2} service_account_email=${3} # eg. "<<SERVICE_ACCOUNT_NAME>>@<<PROJECT_NAME>>.iam.gserviceaccount.com" api_key=$(cat "$service_account_file") curl "https://content-bigquery.googleapis.com/bigquery/v2/projects/$project_id/queries?alt=json&key=$api_key" \ --data-binary '{"query":"select 123"}' \ -H "Authorization: Bearer $(gcloud auth print-access-token "$service_account_email" --project="$project_id")"
Shell
4
devrsi0n/graphql-engine
scripts/verify-bigquery-creds.sh
[ "Apache-2.0", "MIT" ]
use @pony_exitcode[None](code: I32) primitive PrimitiveInit fun _init() => @pony_exitcode(1) actor Main new create(env: Env) => None
Pony
4
rtpax/ponyc
test/libponyc-run/primitive-init/main.pony
[ "BSD-2-Clause" ]
#pragma once #include <string_view> void dispatch_to_background_handler(std::wstring_view argument);
C
3
tameemzabalawi/PowerToys
src/common/notifications/BackgroundActivator/handler_functions.h
[ "MIT" ]
- capture_html :from_template do h1 I am the yielded content slim | I am in the template
Slim
1
stevenosloan/middleman
middleman-core/fixtures/capture-html-app/source/capture_html_slim.html.slim
[ "MIT" ]
//================= Room Booking System / https://github.com/neokoenig =======================---> component extends="Controller" hint="Main Events/Bookings Controller" { /** * @hint Constructor. */ public void function init() { super.init(); // Additional Permissions filters(through="checkPermissionAndRedirect", permission="accesscalendar"); filters(through="checkPermissionAndRedirect", permission="allowRoomBooking", except="index,list,day,building,location,check"); filters(through="checkPermissionAndRedirect", permission="viewRoomBooking", only="list,view"); filters(through="checkPermissionAndRedirect", permission="allowApproveBooking", only="approve,deny"); // Verification verifies(only="approve,deny,view,clone,edit,delete", params="key", paramsTypes="integer", route="home", error="Sorry, that event can't be found"); // Data filters(through="_getLocations", only="index,building,location,add,edit,clone,create,update,list,day"); filters(through="_getResources", only="index,building,location,add,edit,clone,create,update,list,view"); filters(through="_setModelType"); // Ajax usesLayout(template=false, only="check"); } /******************** Views ***********************/ /** * @hint Static display of a single event, mainly used in RSS permalinks etc */ public void function view() { event=model("location").findAll(where="events.id = #params.key#", include="events(eventresources)"); customfields=getCustomFields(objectname=request.modeltype, key=event.id); } /** * @hint By Building */ public void function building() { renderPage(action="index"); } /** * @hint By Location */ public void function location() { renderPage(action="index"); } /** * @hint Shows Agenda style view table for a given month */ public void function list() { param name="params.datefrom" default="#dateFormat(now(), 'DD MMM YYYY')#"; param name="params.dateto" default="#dateFormat(dateAdd('m', 1, now()), 'DD MMM YYYY')#"; param name="params.location" default=""; param name="params.q" default=""; events=model("location").findAll(where="#_agendaListWC()#", include="events", order="start"); } /** * @hint Alternative Day View: deprecated in 1.2 */ public void function day() { param name="params.y" default=year(now()); param name="params.m" default=month(now()); param name="params.d" default=day(now()); var slotMin=application.rbs.setting.calendarSlotMinutes; var calStart=application.rbs.setting.calendarMinTime; var calEnd=application.rbs.setting.calendarMaxTime; events=model("event").findAll(where="#_dayListWC()#", order="start", include="location"); allDay=model("event").findAll(where="#_dayListWC(allday=1)#", order="start", include="location"); day={ thedate=createDate(params.y, params.m, params.d), starttime=createDateTime(params.y, params.m, params.d, timeFormat(calStart, 'H'),timeFormat(calStart, 'M'),0), endtime=createDateTime(params.y, params.m, params.d, timeFormat(calEnd, 'H'),timeFormat(calEnd, 'M'),0) }; day.yesterday=dateAdd("d", -1, day.thedate); day.tomorrow=dateAdd("d", 1, day.thedate); // Placeholder arrays m=[]; e=[]; tempid=0; for(location in locations){ day.counter=day.starttime; do { t={ timeslot=createDateTime(year(day.thedate), month(day.thedate), day(day.thedate), TimeFormat(day.counter, "H"), TimeFormat(day.counter, "m"), 0) }; eventsQ = new Query(); eventsQ.setDBType('query'); eventsQ.setAttributes(rs=events); // needed for QoQ eventsQ.addParam(name='locationid', value=location.id, cfsqltype='cf_sql_numeric'); eventsQ.addParam(name='start', value=t.timeslot, cfsqltype='cf_sql_timestamp'); eventsQ.addParam(name='end', value=t.timeslot, cfsqltype='cf_sql_timestamp'); eventsQ.setSQL('SELECT * FROM rs WHERE locationid =:locationid AND start <= :start AND [end] > :end AND allday = 0'); locationEvents = eventsQ.execute().getResult(); if(locationEvents.recordcount){ if(tempid NEQ locationEvents.id){ // Check for multiday event if(day(locationEvents.start) != day(locationEvents.end)){ t.isMultiday=true; } else { t.isMultiday=false; } // Check for multiday event with specific end time if(t.isMultiday AND (day(day.thedate) EQ day(locationEvents.end))){ t.duration=DateDiff("n", t.timeslot, locationEvents.end); } else if(t.isMultiday AND (day(day.thedate) EQ day(locationEvents.start))) { t.duration=DateDiff("n",day.thedate, locationEvents.start); } else { t.duration=DateDiff("n", locationEvents.start, locationEvents.end); } // Set rowspan dependent on duration t.rowspan=ceiling(t.duration / timeFormat(SlotMin, 'M')); t.content="<strong>" & linkTo( class="remote-modal", route='getEvent', key=locationEvents.id, text=h(locationEvents.title)) & "</strong><br />" & h(locationEvents.name) & "<br />"; if(t.isMultiday){ t.content=t.content & "Multiday event"; } else { t.content=t.content & "#timeFormat(locationEvents.start, "HH:MM")# - #timeFormat(locationEvents.end, "HH:MM")# " & _durationString(t.duration); } t.class="booked first #location.class# #locationEvents.status#"; if(locationEvents.recordcount GT 1) { t.content=t.content & "<br /><span class='label label-danger'><i class='glyphicon glyphicon-warning-sign'></i> Overlapping Event!</span>"; } } else { // Subsequent cells t.content=""; t.class="booked #location.class#"; t.rowspan=0; } tempid=locationEvents.id; } else { // Empty Cell t.class="free"; t.content=""; t.rowspan=1; } arrayAppend(e, t); day.counter = dateAdd('n',15,day.counter); // end nested loop } while(day.counter LTE day.endtime); arrayAppend(m, e); e=[]; // end location loop } } /******************** Admin ***********************/ /** * @hint Add a new booking */ public void function add() { nEventResources=model("eventresource").new(); event=model("event").new(eventresources=nEventResources); customfields=getCustomFields(objectname="event", key=event.key()); // Listen out for event date & location passed in URL via JS if(structKeyExists(params, "d")){ qDate=createDateTime(listFirst(params.d, '-'),ListGetAt(params.d, 2, '-'),ListGetAt(params.d, 3, '-'),hour(now()),00,00); event.start=dateFormat(qDate, "DD MMM YYYY") & ' ' & timeFormat(qDate, "HH:mm"); } if(structKeyExists(params, "key") AND isNumeric(params.key)){ event.locationid=params.key; } } /** * @hint Approve a listing */ public void function approve() { event=model("event").findOne(where="id = #params.key#"); if(isObject(event)){ event.status="approved"; event.save(); notifyContact(event); } redirectTo(success="#event.title# was approved", back=true); } /** * @hint Deny a listing (can also delete) */ public void function deny() { event=model("event").findOne(where="id = #params.key#"); if(isObject(event)){ event.status="denied"; event.save(); // Notify Contact if Appropriate notifyContact(event); if(structKeyExists(params, "delete") AND params.delete){ event.delete(); redirectTo(success="#event.title# was denied & deleted", back=true); } else { redirectTo(success="#event.title# was denied", back=true); } } } /** * @hint Shortcut to duplicating a booking */ public void function clone() { event=model("event").findOne(where="id = #params.key#", include="eventresources"); customfields=getCustomFields(objectname="event", key=event.key()); renderPage(action="add"); } /** * @hint Event CRUD */ public void function edit() { event=model("event").findOne(where="id = #params.key#", include="eventresources"); customfields=getCustomFields(objectname=request.modeltype, key=params.key); } /** * @hint Event CRUD */ public void function create() { if(structkeyexists(params, "event")){ event = model("event").new(params.event); if ( event.save() ) { // Update approval status if allowed to bypass if(application.rbs.setting.approveBooking AND checkPermission("bypassApproveBooking")){ event.status="approved"; event.save(); } // Check for bulk create events if(structKeyExists(params, "repeat") AND params.repeat NEQ "none" AND structKeyExists(params, "repeatno") AND isnumeric(params.repeatno) AND params.repeatno GTE 1) { for (i = 1; i lte params.repeatno; i = i + 1){ //create placeholderevent nevent = model("event").new(params.event); //increment date as appropriate if(params.repeat EQ "week"){ nevent.start = dateAdd("d", (i * 7), nevent.start); if(isDate(nevent.end)){ nevent.end = dateAdd("d", (i * 7), nevent.end); } } if(params.repeat EQ "month"){ nevent.start = dateAdd("m", i, nevent.start); if(isDate(nevent.end)){ nevent.end = dateAdd("m", i, nevent.end); } } // Save the child event: NB, repeated events can't/don't save customfield metadata nevent.save(); } } // Send Confirmation email if appropriate if(structKeyExists(params.event, "emailContact") AND params.event.emailContact){ notifyContact(event); } redirectTo(action="index", success="Event successfully created"); } else { renderPage(action="add", error="There were problems creating that event"); } } } /** * @hint Email to send on approval/denial etc. */ public void function notifyContact(required struct event) { if( isValid("email", arguments.event.contactemail) AND !application.rbs.setting.isDemoMode){ // Get the location for reference eventlocation=model("location").findOne(where="id = #arguments.event.locationid#"); sendEmail( to="#arguments.event.contactname# <#arguments.event.contactemail#>", bcc=iif(application.rbs.setting.bccAllEmail, '"#application.rbs.setting.bccAllEmailTo#"', ''), from="#application.rbs.setting.sitetitle# <#application.rbs.setting.siteEmailAddress#>", template="/email/bookingNotify", subject="Room Booking Notification (#event.status#)", event=arguments.event ); } } /** * @hint Event CRUD */ public void function update() { if(structkeyexists(params, "event")){ event = model("event").findOne(where="id = #params.key#", include="eventresources"); event.update(params.event); if ( event.save() ) { if(structKeyExists(params, "customfields")){ customfields=updateCustomFields(objectname=request.modeltype, key=event.key(), customfields=params.customfields); } redirectTo(action="index", success="event successfully updated"); } else { renderPage(action="edit", error="There were problems updating that event"); } } } /** * @hint Event CRUD */ public void function delete() { event = model("event").findOne(where="id = #params.key#", include="eventresources"); if ( event.delete() ) { redirectTo(action="index", success="event successfully deleted"); } else { redirectTo(action="index", error="There were problems deleting that event"); } } /******************** Private *********************/ /** * @hint Conditional Where Clause for Day Listing: deprecated in 1.2 */ private string function _dayListWC(numeric allday="0") { var sd=""; var td=""; var wc=[]; // Date Filter if(structKeyExists(params, "m") AND structKeyExists(params, "y") AND structKeyExists(params, "d") AND len(params.m) GT 0 AND len(params.y) EQ 4 AND len(params.d) GT 0 AND isNumeric(params.m) AND isNumeric(params.y) AND isNumeric(params.d) ){ if(arguments.allday){ // Get all day events from other days too... sd=createDateTime(params.y, params.m, params.d, 00,00,00); td=createDateTime(params.y, params.m, params.d, 23,59,59); arrayAppend(wc, "end > '#sd#'"); arrayAppend(wc, "start < '#td#'"); } else { sd=createDateTime(params.y, params.m, params.d, 00,00,00); td=createDateTime(params.y, params.m, params.d, 23,59,59); arrayAppend(wc, "end > '#sd#'"); arrayAppend(wc, "start < '#td#'"); } } arrayAppend(wc, "allday = #arguments.allday#"); if(arrayLen(wc)){ return arrayToList(wc, " AND "); } else { return ""; } } /** * @hint Custom Q for List view */ private string function _agendaListWC() { var sd=""; var td=""; var wc=[]; // Date Filter if(structKeyExists(params, "datefrom") AND structKeyExists(params, "dateto") ){ sd=createDateTime(year(params.datefrom), month(params.datefrom), day(params.datefrom), 00,00,00); td=createDateTime(year(params.dateto), month(params.dateto), day(params.dateto), 23,59,59); arrayAppend(wc, "start > '#sd#'"); arrayAppend(wc, "start < '#td#'"); } // Status Filter if(structKeyExists(params, "status") AND len(params.status)){ arrayAppend(wc, "status = '#params.status#'"); } // Location Filter if(structKeyExists(params, "location") AND len(params.location)){ arrayAppend(wc, "FIND_IN_SET(locationid, '#params.location#')"); } // Keyword filter if(structKeyExists(params, "q") AND len(params.q)){ params.q=striptags(params.q); arrayAppend(wc, "title LIKE '%#params.q#%' OR description LIKE '%#params.q#%'"); } if(arrayLen(wc)){ return arrayToList(wc, " AND "); } else { return ""; } } /** * @hint Sets the model type to use with Custom Fields + Templates */ public void function _setModelType() { request.modeltype="event"; } /** * @hint Remote concurrency Check */ public void function check() { if(structKeyExists(params, "start") AND structKeyExists(params, "end") AND structKeyExists(params, "location") AND structKeyExists(params, "id")){ // We need to check for any events which overlap with the requested timerange // If editing, check we don't bring up the actual event // Don't register denied events if(len(params.id)){ eCheck=model("event").findAll(where="status != 'denied' AND id != #params.id# AND start <= '#params.start#' AND end >= '#params.start#' AND locationid = #params.location#"); } else { eCheck=model("event").findAll(where="status != 'denied' AND start <= '#params.start#' AND end >= '#params.start#' AND locationid = #params.location#"); } } } }
ColdFusion CFC
5
fintecheando/RoomBooking
controllers/Bookings.cfc
[ "Apache-1.1" ]
pragma solidity ^0.5.0; contract Contract { }
Solidity
0
santanaluiz/truffle
packages/truffle/test/sources/develop/contracts/contract.sol
[ "MIT" ]
(assert (= (int.to.str 1234567890) "1234567890")) (check-sat)
SMT
2
mauguignard/cbmc
regression/smt2_strings/int_to_str_const_sat/int_to_str_const_sat.smt2
[ "BSD-4-Clause" ]
!include UAC.nsh !ifndef UPDATER !include "userDataCheckGUI.nsh" !endif !ifndef BUILD_UNINSTALLER !ifndef UPDATER Function StartApp ${if} ${isUpdated} ${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" "--updated" ${else} ${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" "" ${endif} FunctionEnd !define MUI_FINISHPAGE_TEXT_LARGE !define MUI_FINISHPAGE_TEXT "${APP_FILENAME} has been installed on your computer.$\r$\nClick Finish to close Setup.$\r$\nWARNING: Miner software is recognized as malicious by Anti-Virus software, use it at your own risk.$\r$\nWhite-list '$INSTDIR' to ensure binaries don't get deleted." !define MUI_FINISHPAGE_RUN !define MUI_FINISHPAGE_RUN_FUNCTION "StartApp" !insertmacro MUI_PAGE_LICENSE "assets\license.rtf" !insertmacro PAGE_INSTALL_MODE !endif !ifdef allowToChangeInstallationDirectory !include StrContains.nsh !insertmacro MUI_PAGE_DIRECTORY # pageDirectory leave doesn't work (it seems because $INSTDIR is set after custom leave function) # so, we yse instfiles pre !define MUI_PAGE_CUSTOMFUNCTION_PRE instFilesPre # Sanitize the MUI_PAGE_DIRECTORY result to make sure it has a application name sub-folder Function instFilesPre ${If} ${FileExists} "$INSTDIR\*" ${StrContains} $0 "${APP_FILENAME}" $INSTDIR ${If} $0 == "" StrCpy $INSTDIR "$INSTDIR\${APP_FILENAME}" ${endIf} ${endIf} FunctionEnd !endif !insertmacro MUI_PAGE_INSTFILES !ifndef UPDATER !insertmacro MUI_PAGE_FINISH !endif !else !insertmacro MUI_UNPAGE_WELCOME !insertmacro PAGE_INSTALL_MODE !insertmacro MUI_UNPAGE_INSTFILES !insertmacro MUI_UNPAGE_FINISH !endif !macro initUserDataCheck !insertmacro setShowCleanUninstallInstallPage # always user mode install !insertmacro setInstallModePerUser !macroend
NSIS
3
frank-spec/NiceHashMiner
installer/nsis_template/include_common/assistedInstaller.nsh
[ "MIT" ]
# - Find MAGMA library # This module finds an installed MAGMA library, a matrix algebra library # similar to LAPACK for GPU and multicore systems # (see http://icl.cs.utk.edu/magma/). # # This module will look for MAGMA library under /usr/local/magma by # default. To use a different installed version of the library set # environment variable MAGMA_HOME before running cmake (e.g. # MAGMA_HOME=${HOME}/lib/magma instead of default /usr/local/magma) # # This module sets the following variables: # MAGMA_FOUND - set to true if the MAGMA library is found. # MAGMA_LIBRARIES - list of libraries to link against to use MAGMA # MAGMA_INCLUDE_DIR - include directory IF(NOT MAGMA_FOUND) include(FindPackageHandleStandardArgs) SET(MAGMA_LIBRARIES) SET(MAGMA_INCLUDE_DIR) FIND_LIBRARY(MAGMA_LIBRARIES magma HINTS $ENV{MAGMA_HOME} /usr/local/magma PATH_SUFFIXES lib) FIND_PATH(MAGMA_INCLUDE_DIR magma.h HINTS $ENV{MAGMA_HOME} /usr/local/magma PATH_SUFFIXES include) IF (MAGMA_LIBRARIES) SET(MAGMA_FOUND TRUE) ELSE (MAGMA_LIBRARIES) SET(MAGMA_FOUND FALSE) ENDIF (MAGMA_LIBRARIES) ENDIF(NOT MAGMA_FOUND)
CMake
4
Hacky-DH/pytorch
cmake/Modules/FindMAGMA.cmake
[ "Intel" ]
#N canvas 717 183 819 562 12; #X obj 61 367 snapshot~; #X obj 80 339 metro 200; #X obj 61 149 sig~; #X floatatom 61 123 6 0 10 0 - - - 0; #X floatatom 60 392 6 0 0 0 - - - 0; #X text 194 188 "set" message permits you to switch between arrays , f 25; #X text 202 244 creation argument initializes array name, f 24; #X obj 99 512 tabwrite~; #X obj 234 512 tabread; #X obj 357 512 tabwrite; #X obj 422 512 tabsend~; #X obj 487 512 tabreceive~; #X obj 170 512 tabplay~; #X obj 97 24 tabread~; #X text 80 59 Tabread~ looks up values out of the named array. Incoming values are truncated to the next lower integer \, and values out of bounds get the nearest (first or last) point., f 85; #X text 118 123 incoming signal is index. Indices should range from 0 to (size-1)., f 34; #X obj 27 512 tabread4~; #X obj 292 512 tabread4; #X text 602 511 updated for Pd version 0.43; #X obj 509 451 ../2.control.examples/15.array; #X obj 509 474 ../2.control.examples/16.more.arrays; #X text 130 455 Check also the "array" examples from the Pd tutorial by clicking and opening the files to the right ====>, f 52; #X text 29 483 see also:; #N canvas 0 22 450 300 (subpatch) 0; #X array tabread-ex 10 float 3; #A 0 1 4 2 8 5 6 1 4 2 8; #X coords 0 10 10 0 300 200 1 0 0; #X restore 465 147 graph; #X msg 82 193 set tabread-ex; #X obj 61 244 tabread~ tabread-ex; #X obj 200 302 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1; #N canvas 515 381 401 220 init-table 0; #X obj 35 42 loadbang; #X msg 35 74 \; tabread-ex resize 10 \; tabread-ex bounds 0 10 10 0 \; tabread-ex xlabel -0.2 0 1 2 3 4 5 6 7 8 9 \; tabread-ex ylabel -0.3 0 1 2 3 4 5 6 7 8 9 10 \; tabread-ex 0 1 4 2 8 5 6 1 4 2 8; #X connect 0 0 1 0; #X restore 668 120 pd init-table; #X msg 200 328 \; pd dsp \$1; #X obj 80 311 loadbang; #X text 219 301 DSP on/off; #X text 176 24 - non-interpolating table lookup for signals; #N canvas 978 194 593 412 Dealing_with_"\$0" 0; #X text 36 33 '\$0' - the patch ID number used to force locality in Pd - is widely used in send/receive names as well as array names. This is specially useful in abstractions so each copy has local names instead of global., f 70; #X text 462 275 <= array with local name, f 13; #X obj 221 291 f \$0; #X msg 118 210 set \$1; #X obj 118 184 symbol \$0-x; #X obj 118 161 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000; #X text 227 197 You can also load '\$0' in a float object and send it to a message that works like a send to send messages to an array. , f 40; #X text 137 158 click to set name; #X floatatom 67 179 4 0 9 0 - - - 0; #X obj 311 276 array define \$0-x 10; #X msg 221 320 \; \$1-x 0 1 0 -1 0 1 0 -1 0 1 0; #X obj 221 265 loadbang; #X obj 67 251 tabread~; #X obj 68 344 snapshot~; #X obj 87 316 metro 200; #X floatatom 67 369 6 0 0 0 - - - 0; #X obj 87 288 loadbang; #X text 36 86 You can use "\$0" in an array name and if you need to set the array name you can load it in a symbol object \, since "\$0" doesn't work in messages., f 70; #X connect 2 0 10 0; #X connect 3 0 12 0; #X connect 4 0 3 0; #X connect 5 0 4 0; #X connect 8 0 12 0; #X connect 11 0 2 0; #X connect 12 0 13 0; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 14 0; #X restore 339 398 pd Dealing_with_"\$0"; #X text 177 389 open subpatch to see how to deal with '\$0', f 21 ; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 25 0; #X connect 3 0 2 0; #X connect 24 0 25 0; #X connect 25 0 0 0; #X connect 26 0 28 0; #X connect 29 0 1 0;
Pure Data
4
myQwil/pure-data
doc/5.reference/tabread~-help.pd
[ "TCL" ]
package { import flash.display.MovieClip; public class CustomClip extends MovieClip { public function CustomClip() { trace("//(in CustomClip constr...)"); trace("//this.name"); trace(this.name); trace("//this.parent"); trace(this.parent); } } }
ActionScript
3
Sprak1/ruffle
tests/tests/swfs/avm2/movieclip_symbol_constr/CustomClip.as
[ "Apache-2.0", "Unlicense" ]
include "assert"; include "args"; [ { name: "Basic parse", args: ["-a", "123", "b"], opts: { "a": { short: "-a", long: "--abc", description: "Set abc", string: true } }, expected: { "parsed": { "a": "123" }, "rest": ["b"] } } ][] | assert(.name; _args_parse(.args; .opts); .expected)
JSONiq
4
bbhunter/fq
pkg/interp/args_test.jq
[ "MIT" ]
module Core impl f : fn() -> #a { fn mod (g : fn(#a) -> #b) { fn () { g(f()) } } } impl f : fn(#a) -> #b { // (f ^ g)(x) = f(g(x)) fn exp (g : fn(#c) -> #a) { fn (x) { f(g(x)) } } // (f % g)(x) = g(f(x)) fn mod (g : fn(#b) -> #c) { fn (x) { g(f(x)) } } // f <| x = f |> x = f(x) fn lbind (x : #a) { f(x) } fn rbind (x : #a) { f(x) } } impl f : fn(#a, #b) -> #c { // f <| x <| y = f(x, y) fn lbind (x : #a) { fn (y) { f(x, y) } } // f |> x |> y = f(y, x) fn rbind (y : #b) { fn (x) { f(x, y) } } // (f % g)(x, y) = g(f(x, y)) fn mod (g : fn(#c) -> #d) { fn (x, y) { g(f(x, y)) } } fn flip () { fn (x, y) { f(y, x) } } } impl f : fn(#a, #b, #c) -> #d { fn lbind (x : #a) { fn (y, z) { f(x, y, z) } } fn rbind (z : #c) { fn (x, y) { f(x, y, z) } } fn mod (g : fn(#d) -> #e) { fn (x, y, z) { g(f(x, y, z)) } } } impl f : fn(#a, #b, #c, #d) -> #e { fn lbind (x : #a) { fn (y, z, w) { f(x, y, z, w) } } fn rbind (w : #d) { fn (x, y, z) { f(x, y, z, w) } } } impl f? : fn(#a) -> bool { // (not f)(x) = not (f(x)) fn inv () { fn (x) { not f?(x) } } } impl (int, int) { fn range (f : fn(int) -> unit) { let (a, b) = self while a < b { f(a) a = a.succ() } } fn range_incl (f : fn(int) -> unit) { let (a, b) = self while a <= b { f(a) a = a.succ() } } }
Opal
5
iitalics/Opal
opal_libs/Core/functional.opal
[ "MIT" ]
Rebol [ Title: "Test checksum speeds" Date: 21-Jan-2021 Author: "Oldes" File: %test-checksums.r3 Version: 0.0.1 Requires: 3.4.0 Note: { My results: Testing 10x checksum of 473088 bytes. adler32 0:00:00.001521 crc24 0:00:00.011748 crc32 0:00:00.010814 tcp 0:00:00.001168 md4 0:00:00.006888 md5 0:00:00.010386 sha1 0:00:00.010025 sha224 0:00:00.026268 sha256 0:00:00.027214 sha384 0:00:00.015616 sha512 0:00:00.016317 ripemd160 0:00:00.014123 ------------------------ total: 0:00:00.152088 } ] bin: read system/options/boot num: 10 print ajoin ["^/Testing " num "x checksum of " length? bin " bytes.^/"] total: 0:0:0 foreach m system/catalog/checksums [ t: dt [loop num [checksum bin m]] printf [10] reduce [m t] total: total + t ] print "------------------------" print ["total: " total LF] if system/options/script [ask "DONE"] total
Rebol
3
0branch/r3
src/tests/test-checksums.r3
[ "Apache-2.0" ]
- dashboard: brand_lookup title: Brand Lookup layout: newspaper preferred_viewer: dashboards-next query_timezone: user_timezone embed_style: background_color: "#f6f8fa" show_title: true title_color: "#3a4245" show_filters_bar: true tile_text_color: "#3a4245" tile_separator_color: "#faf3f3" tile_border_radius: 5 show_tile_shadow: false text_tile_text_color: "#556d7a" elements: - title: Total Orders name: Total Orders model: thelook explore: order_items type: single_value fields: [order_items.order_count] filters: {} sorts: [order_items.order_count desc] limit: 500 query_timezone: America/Los_Angeles font_size: medium text_color: black listen: Brand Name: products.brand Date: order_items.created_date State: users.state row: 2 col: 8 width: 4 height: 3 - title: Total Customers name: Total Customers model: thelook explore: order_items type: single_value fields: [users.count] filters: {} sorts: [users.count desc] limit: 500 query_timezone: America/Los_Angeles font_size: medium text_color: black note_state: expanded note_display: hover note_text: I've added a note listen: Brand Name: products.brand Date: order_items.created_date State: users.state row: 2 col: 0 width: 4 height: 3 - title: Average Order Value name: Average Order Value model: thelook explore: order_items type: single_value fields: [order_items.average_sale_price] filters: {} sorts: [order_items.average_sale_price desc] limit: 500 column_limit: 50 query_timezone: America/Los_Angeles font_size: medium text_color: black note_state: collapsed note_display: below note_text: '' listen: Brand Name: products.brand Date: order_items.created_date State: users.state row: 2 col: 4 width: 4 height: 3 - title: Brand Traffic by Source, OS name: Brand Traffic by Source, OS model: thelook explore: events type: looker_donut_multiples fields: [users.traffic_source, events.os, events.count] pivots: [users.traffic_source] filters: users.traffic_source: "-NULL" sorts: [events.count desc 1, users.traffic_source] limit: 20 column_limit: 50 query_timezone: America/Los_Angeles show_value_labels: true font_size: 12 colors: ["#64518A", "#8D7FB9", "#EA8A2F", "#F2B431", "#2DA5DE", "#57BEBE", "#7F7977", "#B2A898", "#494C52"] color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 reverse: false series_colors: {} show_view_names: true stacking: '' x_axis_gridlines: false y_axis_gridlines: true show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: true show_x_axis_ticks: true x_axis_scale: auto show_null_labels: false defaults_version: 1 note_state: collapsed note_display: above note_text: '' listen: Brand Name: product_viewed.brand Date: events.event_date State: users.state row: 28 col: 14 width: 10 height: 11 - title: Top Product Categories - Cart vs Conversion name: Top Product Categories - Cart vs Conversion model: thelook explore: events type: looker_column fields: [product_viewed.category, sessions.overall_conversion, sessions.cart_to_checkout_conversion, sessions.count_cart_or_later] filters: product_viewed.category: "-NULL" sorts: [sessions.count_cart_or_later desc] limit: 8 column_limit: 50 query_timezone: America/Los_Angeles x_axis_gridlines: false y_axis_gridlines: true show_view_names: false show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: false show_x_axis_ticks: true y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false plot_size_by_field: false trellis: '' stacking: '' limit_displayed_rows: false legend_position: center point_style: circle_outline show_value_labels: false label_density: 25 x_axis_scale: auto y_axis_combined: false ordering: none show_null_labels: false show_totals_labels: false show_silhouette: false totals_color: "#808080" color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 reverse: false y_axes: [{label: Total Added to Cart, maxValue: !!null '', minValue: !!null '', orientation: left, showLabels: true, showValues: true, tickDensity: default, tickDensityCustom: 5, type: linear, unpinAxis: false, valueFormat: !!null '', series: [{id: sessions.count_cart_or_later, name: "(4) Add to Cart or later"}]}, {label: '', maxValue: !!null '', minValue: !!null '', orientation: right, showLabels: true, showValues: true, tickDensity: default, tickDensityCustom: 5, type: linear, unpinAxis: false, valueFormat: !!null '', series: [{id: sessions.overall_conversion, name: Overall Conversion}, {id: sessions.cart_to_checkout_conversion, name: Cart to Checkout Conversion}]}] y_axis_labels: [Cart to Checkout Conversion Percent, Total Added to Cart] hide_legend: false colors: ["#64518A", "#8D7FB9"] series_types: sessions.cart_to_checkout_conversion: line sessions.overall_conversion: line series_colors: {} series_labels: sessions.cart_to_checkout_conversion: Cart to Checkout Conversion sessions.overall_conversion: Overall Conversion sessions.count_cart_or_later: "# of Add to Cart Events" y_axis_orientation: [right, left] x_axis_label_rotation: -45 label_rotation: 0 show_null_points: true interpolation: linear defaults_version: 1 listen: Brand Name: product_viewed.brand Date: events.event_date State: users.state row: 28 col: 0 width: 14 height: 6 - title: Top Visitors and Transaction History name: Top Visitors and Transaction History model: thelook explore: events type: looker_grid fields: [users.name, users.email, users.state, users.traffic_source, sessions.count] filters: users.name: "-NULL" sorts: [sessions.count desc] limit: 15 column_limit: 50 query_timezone: America/Los_Angeles show_view_names: true show_row_numbers: true transpose: false truncate_text: true hide_totals: false hide_row_totals: false size_to_fit: true series_cell_visualizations: sessions.count: is_active: false table_theme: gray limit_displayed_rows: false enable_conditional_formatting: false header_text_alignment: left header_font_size: '12' rows_font_size: '12' conditional_formatting_include_totals: false conditional_formatting_include_nulls: false conditional_formatting_ignored_fields: [] truncate_column_names: false series_types: {} listen: Brand Name: product_viewed.brand Date: events.event_date State: users.state row: 42 col: 12 width: 12 height: 8 - title: Sales and Sale Price Trend name: Sales and Sale Price Trend model: thelook explore: order_items type: looker_line fields: [order_items.created_date, order_items.total_sale_price, order_items.average_sale_price] filters: {} sorts: [order_items.total_sale_price desc] limit: 500 query_timezone: America/Los_Angeles x_axis_gridlines: false y_axis_gridlines: false show_view_names: false show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: false show_x_axis_ticks: true y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false plot_size_by_field: false trellis: '' stacking: '' limit_displayed_rows: false legend_position: center point_style: none show_value_labels: false label_density: 25 x_axis_scale: auto y_axis_combined: false show_null_points: true interpolation: monotone color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 y_axis_labels: [Total Sale Amount, Average Selling Price] x_axis_label: Order Date hide_legend: true colors: ["#F2B431", "#57BEBE"] series_colors: {} y_axis_orientation: [left, right] x_axis_datetime: true hide_points: true color_palette: Custom defaults_version: 1 note_state: collapsed note_display: hover note_text: '' listen: Brand Name: products.brand Date: order_items.created_date State: users.state row: 2 col: 12 width: 12 height: 7 - title: Top Purchasers of Brand name: Top Purchasers of Brand model: thelook explore: order_items type: looker_grid fields: [users.name, users.email, order_items.count, order_items.total_sale_price, users.state] filters: {} sorts: [order_items.count desc] limit: 15 column_limit: 50 query_timezone: America/Los_Angeles show_view_names: false show_row_numbers: true truncate_column_names: false hide_totals: false hide_row_totals: false table_theme: gray limit_displayed_rows: false enable_conditional_formatting: false conditional_formatting_ignored_fields: [] conditional_formatting_include_totals: false conditional_formatting_include_nulls: false series_types: {} listen: Brand Name: products.brand Date: order_items.created_date State: users.state row: 42 col: 0 width: 12 height: 8 - title: Website Sessions by Hour of Day and User Lifetime Order Tier name: Website Sessions by Hour of Day and User Lifetime Order Tier model: thelook explore: events type: looker_column fields: [user_order_facts.lifetime_orders_tier, sessions.count, events.event_hour_of_day] pivots: [user_order_facts.lifetime_orders_tier] fill_fields: [events.event_hour_of_day] filters: {} sorts: [user_order_facts.lifetime_orders_tier 0, events.event_hour_of_day] limit: 500 column_limit: 50 query_timezone: America/Los_Angeles x_axis_gridlines: false y_axis_gridlines: true show_view_names: false show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: false show_x_axis_ticks: true y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false plot_size_by_field: false trellis: '' stacking: normal limit_displayed_rows: false legend_position: center point_style: none show_value_labels: false label_density: 25 x_axis_scale: auto y_axis_combined: true ordering: none show_null_labels: false show_totals_labels: false show_silhouette: false totals_color: "#808080" color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 reverse: false hidden_series: [Undefined] colors: ["#2DA5DE", "#57BEBE", "#EA8A2F", "#F2B431", "#64518A", "#8D7FB9", "#7F7977", "#B2A898", "#494C52"] series_colors: {} series_labels: '1': 1 Lifetime Purchase 1 - 2 - sessions.count: '1' show_null_points: true interpolation: linear defaults_version: 1 note_state: collapsed note_display: hover note_text: These are order totals by hour of day listen: Brand Name: product_viewed.brand Date: events.event_date State: users.state row: 34 col: 0 width: 14 height: 5 - title: Most Correlated Items name: Most Correlated Items model: thelook explore: affinity type: looker_grid fields: [product_a.item_name, product_b.item_name, affinity.avg_order_affinity, affinity.avg_user_affinity] filters: affinity.product_b_id: "-NULL" affinity.avg_order_affinity: NOT NULL product_b.brand: '"Levi''s"' sorts: [affinity.avg_order_affinity desc] limit: 15 query_timezone: America/Los_Angeles show_view_names: false show_row_numbers: true transpose: false truncate_text: true hide_totals: false hide_row_totals: false size_to_fit: true table_theme: white limit_displayed_rows: false enable_conditional_formatting: false header_text_alignment: left header_font_size: '12' rows_font_size: '12' conditional_formatting_include_totals: false conditional_formatting_include_nulls: false color_application: collection_id: b43731d5-dc87-4a8e-b807-635bef3948e7 palette_id: fb7bb53e-b77b-4ab6-8274-9d420d3d73f3 options: steps: 5 reverse: false series_cell_visualizations: affinity.avg_order_affinity: is_active: true palette: palette_id: 14bc3e56-1edb-5cb6-143e-bc3c0d49dc0f collection_id: b43731d5-dc87-4a8e-b807-635bef3948e7 custom_colors: - "#f20265" - "#FFD95F" - "#72D16D" affinity.avg_user_affinity: is_active: true palette: palette_id: 8182e447-1db4-af27-fe8f-0cc57a1b4132 collection_id: b43731d5-dc87-4a8e-b807-635bef3948e7 custom_colors: - "#f20265" - "#FFD95F" - "#72D16D" stacking: '' trellis: '' colors: ["#57BEBE", "#EA8A2F", "#F2B431", "#64518A", "#8D7FB9", "#7F7977", "#B2A898", "#494C52"] show_value_labels: false label_density: 25 legend_position: center x_axis_gridlines: false y_axis_gridlines: true point_style: circle_outline hidden_series: [product_a.count, product_b.count] y_axis_combined: true show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: true show_x_axis_ticks: true x_axis_scale: auto y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false plot_size_by_field: false show_null_points: true interpolation: linear ordering: none show_null_labels: false color_palette: Custom hidden_fields: [] series_types: {} defaults_version: 1 listen: Brand Name: product_a.brand row: 18 col: 0 width: 14 height: 8 - title: Purchasers of This Brand Also Bought (Brand Affinity) name: Purchasers of This Brand Also Bought (Brand Affinity) model: thelook explore: affinity type: looker_grid fields: [product_a.brand, product_b.brand, affinity.avg_order_affinity, affinity.avg_user_affinity, affinity.combined_affinity] filters: affinity.product_b_id: "-NULL" affinity.avg_order_affinity: NOT NULL sorts: [affinity.combined_affinity desc] limit: 15 column_limit: 50 query_timezone: America/Los_Angeles show_view_names: true show_row_numbers: true transpose: false truncate_text: true hide_totals: false hide_row_totals: false size_to_fit: true series_labels: product_b.brand: Brand Name series_cell_visualizations: affinity.avg_order_affinity: is_active: true palette: palette_id: 17151457-0425-49e1-f2ab-69c3b7658883 collection_id: f14810d2-98d7-42df-82d0-bc185a074e42 custom_colors: - "#f20265" - "#FFD95F" - "#72D16D" affinity.avg_user_affinity: is_active: true palette: palette_id: 2c7c9b87-e295-002c-4f6f-d50381deac58 collection_id: f14810d2-98d7-42df-82d0-bc185a074e42 custom_colors: - "#f20265" - "#FFD95F" - "#72D16D" table_theme: gray limit_displayed_rows: false enable_conditional_formatting: false header_text_alignment: left header_font_size: '12' rows_font_size: '12' conditional_formatting_include_totals: false conditional_formatting_include_nulls: false conditional_formatting_ignored_fields: [] stacking: '' show_value_labels: false label_density: 25 legend_position: center x_axis_gridlines: false y_axis_gridlines: true y_axis_combined: true show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: true show_x_axis_ticks: true x_axis_scale: auto ordering: none show_null_labels: false hidden_fields: [affinity.combined_affinity, product_a.brand] truncate_column_names: false series_types: {} listen: Brand Name: product_a.brand row: 18 col: 14 width: 10 height: 8 - title: Brand Share of Wallet over Customer Lifetime name: Brand Share of Wallet over Customer Lifetime model: thelook explore: orders_with_share_of_wallet_application type: looker_line fields: [order_items.months_since_signup, order_items_share_of_wallet.brand_share_of_wallet_within_company, order_items_share_of_wallet.total_sale_price_brand_v2] filters: order_items.months_since_signup: "<=18" sorts: [order_items.months_since_signup] limit: 500 query_timezone: America/Los_Angeles x_axis_gridlines: false y_axis_gridlines: false show_view_names: false show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: true show_x_axis_ticks: true y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false plot_size_by_field: false trellis: '' stacking: '' limit_displayed_rows: false legend_position: center point_style: none show_value_labels: false label_density: 25 x_axis_scale: auto y_axis_combined: true show_null_points: true interpolation: monotone color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 reverse: false y_axes: [{label: '', orientation: left, series: [{id: order_items_share_of_wallet.brand_share_of_wallet_within_company, name: Brand Share of Wallet Within Company, axisId: order_items_share_of_wallet.brand_share_of_wallet_within_company}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, type: linear}, {label: !!null '', orientation: right, series: [{id: order_items_share_of_wallet.total_sale_price_brand_v2, name: Total Sales - This Brand, axisId: order_items_share_of_wallet.total_sale_price_brand_v2}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, type: linear}] series_types: {} series_colors: {} defaults_version: 1 listen: Brand Name: order_items_share_of_wallet.brand Date: order_items.created_date State: users.state row: 9 col: 12 width: 12 height: 6 - title: Most Popular Categories name: Most Popular Categories model: thelook explore: order_items type: looker_column fields: [products.category, products.department, order_items.total_sale_price] pivots: [products.department] sorts: [products.department 0, order_items.total_sale_price desc 2] limit: 500 column_limit: 50 row_total: right query_timezone: user_timezone x_axis_gridlines: false y_axis_gridlines: true show_view_names: false show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default y_axis_tick_density_custom: 5 show_x_axis_label: true show_x_axis_ticks: true y_axis_scale_mode: linear x_axis_reversed: false y_axis_reversed: false plot_size_by_field: false trellis: '' stacking: normal limit_displayed_rows: false legend_position: center point_style: none show_value_labels: false label_density: 25 x_axis_scale: auto y_axis_combined: true ordering: none show_null_labels: false show_totals_labels: false show_silhouette: false totals_color: "#808080" color_application: collection_id: google palette_id: google-categorical-0 options: steps: 5 series_types: {} show_row_numbers: true truncate_column_names: false hide_totals: false hide_row_totals: false table_theme: gray enable_conditional_formatting: false conditional_formatting_ignored_fields: [] conditional_formatting_include_totals: false conditional_formatting_include_nulls: false defaults_version: 1 listen: {} row: 5 col: 0 width: 12 height: 10 - name: "<span class='fa fa-dollar'> Brand Overview </span>" type: text title_text: "<span class='fa fa-dollar'> Brand Overview </span>" subtitle_text: What are the high level revenue metrics for this brand? row: 0 col: 0 width: 24 height: 2 - name: "<span class='fa fa-heart'> Affinity Analysis </span>" type: text title_text: "<span class='fa fa-heart'> Affinity Analysis </span>" subtitle_text: What products and brands have the highest affinity? body_text: "**Recommended Action** Plan advertising campaign to recommend products\ \ to users based on affinity" row: 15 col: 0 width: 24 height: 3 - name: "<span class='fa fa-laptop'> Web Analytics </span>" type: text title_text: "<span class='fa fa-laptop'> Web Analytics </span>" subtitle_text: How are users interacting with our website? row: 26 col: 0 width: 24 height: 2 - name: "<span class='fa fa-users'> Top Customers </span>" type: text title_text: "<span class='fa fa-users'> Top Customers </span>" subtitle_text: Who are our highest valued customers? body_text: "**Recommended Action** Explore from here to see what products a user\ \ has purchased and include them in a targeted advertising campaign" row: 39 col: 0 width: 24 height: 3 filters: - name: Brand Name title: Brand Name type: field_filter default_value: Calvin Klein allow_multiple_values: true required: false model: thelook explore: order_items listens_to_filters: [] field: products.brand - name: Date title: Date type: date_filter default_value: 90 days allow_multiple_values: true required: false - name: State title: State type: field_filter default_value: '' allow_multiple_values: true required: false model: thelook explore: order_items listens_to_filters: [] field: users.state
LookML
4
Honcharov12/pylookml
lookml/tests/files/the_look/dashboards/brand_lookup.dashboard.lookml
[ "MIT" ]
#include "__emit.inc" stock test__any(&local_refvar, local_refarray[]) { const local_const = 0; new local_var = 0; static local_static_var = 0; local_label: // ok __emit const.pri global_const; __emit const.pri global_var; __emit const.pri global_func; __emit const.pri local_refvar; __emit const.pri local_refarray; __emit const.pri local_const; __emit const.pri local_var; __emit const.pri local_static_var; __emit const.pri local_label; __emit const.pri :local_label; __emit const.pri :local_label2; __emit const.pri 0; __emit const.pri -0; __emit const.pri 1; __emit const.pri -1; __emit const.pri 0x0; __emit const.pri -0x0; __emit const.pri 0x1; __emit const.pri -0x1; #if cellbits == 16 __emit const.pri 32767; __emit const.pri -32768; __emit const.pri 0x7FFF; __emit const.pri -0x7FFF; __emit const.pri 0x8000; __emit const.pri -0x8000; #elseif cellbits == 32 __emit const.pri 2147483647; __emit const.pri -2147483648; __emit const.pri 0x7FFFFFFF; __emit const.pri -0x7FFFFFFF; __emit const.pri 0x80000000; __emit const.pri -0x80000000; #else // cellbits == 64 __emit const.pri 9223372036854775807; __emit const.pri -9223372036854775808; __emit const.pri 0x7FFFFFFFFFFFFFFF; __emit const.pri -0x7FFFFFFFFFFFFFFF; __emit const.pri 0x8000000000000000; __emit const.pri -0x8000000000000000; #endif __emit const.pri (cellbits / charbits * 2); // should trigger an error __emit const.pri -global_func; __emit const.pri -local_label; __emit const.pri --0; __emit const.pri local_label2; __emit const.pri -:local_label; local_label2: } stock test__integer(&local_refvar, local_refarray[]) { const local_const = 0; new local_var = 0; static local_static_var = 0; local_label: // ok __emit jrel global_const; __emit jrel local_const; __emit jrel 0; __emit jrel 1; __emit jrel -1; __emit jrel 0x1; __emit jrel -0x1; __emit jrel (cellbits / charbits * 2); // should trigger an error __emit jrel global_var; __emit jrel global_func; __emit jrel local_refvar; __emit jrel local_refarray; __emit jrel local_var; __emit jrel local_static_var; __emit jrel local_label; } stock test__nonneg(&local_refvar, local_refarray[]) { const local_const = 0; new local_var = 0; static local_static_var = 0; local_label: // ok __emit cmps global_const; __emit cmps local_const; __emit cmps 0; __emit cmps 1; __emit cmps 0x1; __emit cmps (cellbits / charbits * 2); #if cellbits == 16 __emit cmps 0x7FFF; #elseif cellbits == 32 __emit cmps 0x7FFFFFFF; #else // cellbits == 64 __emit cmps 0x7FFFFFFFFFFFFFFF; #endif // should trigger an error __emit cmps global_var; __emit cmps global_func; __emit cmps local_refvar; __emit cmps local_refarray; __emit cmps local_var; __emit cmps local_static_var; __emit cmps local_label; __emit cmps -1; __emit cmps -0x1; #if cellbits == 16 __emit cmps 0x8000; #elseif cellbits == 32 __emit cmps 0x80000000; #else // cellbits == 64 __emit cmps 0x8000000000000000; #endif } main() { new t; static a[1]; test__any(t, a); // 4 test__integer(t, a); // 7 test__nonneg(t, a); // 10 }
PAWN
3
pawn-lang/pawn
source/compiler/tests/__emit_p1.pwn
[ "Zlib" ]
<CsoundSynthesizer> <CsOptions> -odac -+rtaudio=alsa -B 2048 -b 512 </CsOptions> <CsInstruments> 0dbfs = 1.0 sr = 44100 ksmps = 512 nchnls = 2 ; Stereo files handled ordinarily programatically. ; For testing: gSname[] init 100 gSname[0] = "sine.wav" gSname[1] = "saw.wav" gSname[2] = "pansines.wav" gSname[3] = "pansine2.wav" instr 1 ; i-time inits. iuse_stereo = 1 itest_file = 3 ; 0 = sine, 1 = saw, 2 = pansines (real stereo), 3 = pansines2 (faster fade, no silence) isource_length filelen gSname[itest_file] ; time in seconds of both audio files. iright_file_offset = 200 iphaselock = 0 ifftsize = 2048 ihopsize = 16 ; ktime setup kfilesel init 400 + itest_file ; File select. klen init isource_length kpitch = 1.0 kspeed = 1.00 ;kspeed = 1 ; phasor setup kphasorfreq = 1/klen aphs phasor 1/klen atime = (aphs * klen) * kspeed ; mincer if iuse_stereo == 0 then a1 mincer, atime, 0.75, kpitch, kfilesel, iphaselock, ifftsize, ihopsize a2 mincer, atime, 0.75, kpitch, kfilesel, iphaselock, ifftsize, ihopsize else ;a1 mincer, atime, 0.75, kpitch, kfilesel, iphaselock, ifftsize, ihopsize ;a2 mincer, atime, 0.75, kpitch, kfilesel + iright_file_offset, iphaselock, ifftsize, ihopsize f1 pvstanal, k(atime), 0.75,kpitch, kfilesel a1 pvsynth f1 f2 pvstanal, k(atime),0.75, kpitch, kfilesel + iright_file_offset a2 pvsynth f2 endif ; outputs outs a1, a2 endin </CsInstruments> <CsScore> f 400 0 0 1 "sine.wav" 0 0 1 f 401 0 0 1 "saw.wav" 0 0 1 f 402 0 0 1 "pansines.wav" 0 0 1 f 403 0 0 1 "pansine2.wav" 0 0 1 f 600 0 0 1 "sine.wav" 0 0 2 f 601 0 0 1 "saw.wav" 0 0 2 f 602 0 0 1 "pansines.wav" 0 0 2 f 603 0 0 1 "pansine2.wav" 0 0 2 i1 0 60 </CsScore> </CsoundSynthesizer>
Csound
5
DaveSeidel/QB_Nebulae_V2
Code/tests/mincer_test/mincerphase.csd
[ "MIT" ]
#tag Module Protected Module Names #tag Method, Flags = &h1 Protected Function LibZ() As String Dim data As MemoryBlock = Struct.libzVersion If data <> Nil Then Return data.CString(0) End Function #tag EndMethod #tag Method, Flags = &h1 Protected Function Platform() As String Dim data As MemoryBlock = Struct.HostString If data <> Nil Then Return data.CString(0) End Function #tag EndMethod #tag Method, Flags = &h1 Protected Function SSL() As String Dim data As MemoryBlock = Struct.SSLVersionString If data <> Nil Then Return data.CString(0) End Function #tag EndMethod End Module #tag EndModule
REALbasic
3
charonn0/RB-libcURL
libcURL/Version/Names.rbbas
[ "MIT" ]
.plain-css-not-imported-initially { color: red; }
CSS
3
waltercruz/gatsby
e2e-tests/development-runtime/src/pages/styling/plain-css-not-imported-initially.css
[ "MIT" ]
fun echo r = returnBlob (fileData r.Data) (blessMime (fileMimeType r.Data)) fun main () = return <xml><body> <form> <upload{#Data}/> <submit action={echo}/> </form> </body></xml>
UrWeb
3
apple314159/urweb
tests/echoBlob.ur
[ "BSD-3-Clause" ]
/** * Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp * www.ortussolutions.com * --- */ component { // Application properties this.name = 'My App'; this.sessionManagement = false; this.clientManagement = false; this.setClientCookies = false; this.datasource = 'world'; // COLDBOX STATIC PROPERTY, DO NOT CHANGE UNLESS THIS IS NOT THE ROOT OF YOUR COLDBOX APP COLDBOX_APP_ROOT_PATH = getDirectoryFromPath( getCurrentTemplatePath() ); // The web server mapping to this application. Used for remote purposes or static purposes COLDBOX_APP_MAPPING = ""; // COLDBOX PROPERTIES COLDBOX_CONFIG_FILE = ""; // COLDBOX APPLICATION KEY OVERRIDE COLDBOX_APP_KEY = ""; // application start public boolean function onApplicationStart() { application.cbBootstrap = new coldbox.system.Bootstrap( COLDBOX_CONFIG_FILE, COLDBOX_APP_ROOT_PATH, COLDBOX_APP_KEY, COLDBOX_APP_MAPPING ); application.cbBootstrap.loadColdbox(); return true; } public boolean function onRequestStart( string targetPage ) { // Process ColdBox Request application.cbBootstrap.onRequestStart( arguments.targetPage ); return true; } }
ColdFusion CFC
4
efectn/FrameworkBenchmarks
frameworks/CFML/coldbox/src/Application.cfc
[ "BSD-3-Clause" ]
package Array; // TODO XXX primArrayNewU could be replaced with bracket syntax // TODO XXX this file needs more comments // TODO XXX remove all reference to right and left, and change to 0th and Nth import List::*; // Map starting at the Nth element function Array#(res_T) map(function res_T f(any_T x), Array#(any_T) v); Integer ln = arrayLength(v); Array#(res_T) resv = primArrayNewU(ln); for(Integer i = (ln - 1); i >= 0; i = i - 1) resv[i] = f(v[i]); return resv; endfunction // A fold function, starting at the Nth element function res_T foldr(function res_T f(any_T x, res_T y), res_T start, Array#(any_T) v); Integer ln = arrayLength(v); res_T temp = start; for(Integer i = (ln - 1); i >= 0; i = i - 1) temp = f(v[i], temp); return temp; endfunction // A scan operation starting the Nth operation function Array#(res_T) scanr(function res_T f(any_T x, res_T y), res_T start, Array#(any_T) v); Integer ln = arrayLength(v); Array#(res_T) resv = primArrayNewU(ln + 1); resv[ln] = start; for(Integer i = (ln - 1); i >= 0; i = i - 1) resv[i] = f(v[i], resv[i + 1]); return resv; endfunction // a fold 1 function starting at Nth element function any_T foldr1(function any_T f(any_T x, any_T y), Array#(any_T) v); Integer ln = arrayLength(v); any_T temp = v[ln - 1]; for(Integer i = (ln - 2); i >= 0; i = i - 1) temp = f(v[i], temp); return temp; endfunction // a fold function starting from 0th index function res_T foldl(function res_T f(res_T x, any_T y), res_T start, Array#(any_T) v); Integer ln = arrayLength(v); res_T temp = start; for(Integer i = 0; i < ln; i = i + 1) temp = f(temp, v[i]); return temp; endfunction // a fold function starting from 0th index function any_T fold(function any_T f(any_T x, any_T y), Array#(any_T) v); Integer ln = arrayLength(v); /**/ // I suspect this is slower. if(ln == 0) return error("Vector.Fold: Zero length Vector"); else if (ln == 1) return (v[0]); else begin Integer nln = div(ln+1,2); Array#(any_T) temp = primArrayNewU(nln); for(Integer i = 0; i < div(ln,2); i = i + 1) temp[i] = f(v[2*i], v[2*i+1]); if (nln != div(ln,2)) temp[nln-1] = v[ln-1]; return fold(f, temp); end /**/ /* if(ln == 0) return error("Vector.Fold: Zero length Vector"); else if (ln == 1) return (v[0]); else begin Integer nln = div(ln+1,2); while (nln != 1) begin for(Integer i = 0; i < div(ln,2); i = i + 1) v[i] = f(v[2*i], v[2*i+1]); if (nln != div(ln,2)) v[nln-1] = v[ln-1]; ln = nln; nln = div(nln + 1,2); end return v[0]; end */ endfunction // a fold 1 functions, starting at function any_T foldl1(function any_T f(any_T x, any_T y), Array#(any_T) v); Integer ln = arrayLength(v); any_T temp = v[0]; for(Integer i = 1; i < ln; i = i + 1) temp = f(temp, v[i]); return temp; endfunction // a scan 1 from the 0th element function Array#(res_T) scanl(function res_T f(res_T x, any_T y), res_T start, Array#(any_T) v); Integer ln = arrayLength(v) + 1; Array#(res_T) resv = primArrayNewU(ln); resv[0] = start; for(Integer i = 1; i < ln; i = i + 1) resv[i] = f(resv[i - 1], v[i - 1]); return resv; endfunction // Pack function Bit#(vsz) packArray(Array#(any_T) v) provisos (Bits#(any_T, sz)); Integer inferLength = div(valueOf(vsz), valueOf(sz)); function Bit#(m) flatN(Integer n, Array#(Bit#(k)) b); if (n == inferLength) return 0; else return (flatN(n+1, b) << (valueOf(k))) | b[n][(valueOf(k) - 1):0]; endfunction // need to handle 0-bit elements and 0-element arrays if(valueOf(vsz) == 0) begin if(valueOf(sz) == 0) return(0); else if (arrayLength(v) == 0) return(0); else return error ("Zero result vector when non-zero size expected!"); end else if (inferLength > 0) begin Array#(Bit#(sz)) packedArray = primArrayNewU(inferLength); for(Integer i = inferLength - 1; i >= 0; i = i - 1) packedArray[i] = pack(v[i]); return flatN(0, packedArray); end else return error ("Result vector too short for pack!"); //cannot take length because array might be _, which includes using primArrayMap //return flatN(arrayLength(v), map(pack, v)); //return flatN(arrayLength(v), reverse(map(pack, v))); endfunction // Unpack function Array#(any_T) unpackArray(Bit#(n) bts, Integer ln) provisos (Bits#(any_T, sz)); Integer k = valueOf(sz); Array#(any_T) res = primArrayNewU(ln); for (Integer i = (ln - 1); i >= 0; i = i - 1) begin Bit#(sz) v = bts[((i*k)+k-1):(i*k)]; res[i] = unpack(v); end return(res); endfunction function Array#(any_T) takeAt(Array#(any_T) v, Integer hi, Integer lo); Integer ln = hi - lo + 1; if (ln > 0) begin Array#(any_T) resv = primArrayNewU(ln); for (Integer x = 0; x < ln; x = x + 1) resv[x] = v[x + lo]; return resv; end else return primArrayNewU(0); endfunction function Array#(any_T) genWith(Integer n, function any_T initfun(Integer k)); Array#(any_T) arr = primArrayNewU(n); for (Integer x = (n - 1); x >= 0; x = x - 1) arr[x] = initfun(x); return arr; endfunction //implicitly reverse list function List#(any_T) arrayToList(Array#(any_T) v); List#(any_T) res = Nil; Integer ln = arrayLength(v); for (Integer x = (ln - 1); x >= 0; x = x - 1) res = cons(v[x], res); return res; endfunction //implicitly reverse list function Array#(any_T) listToArray(List#(any_T) l); Integer ln = length(l); Array#(any_T) res = primArrayNewU(ln); for (Integer x = 0; x < ln; x = x + 1) begin res[x] = head(l); l = tail(l); end return res; endfunction function Array#(any_T) append(Array#(any_T) v1, Array#(any_T) v2); Integer ln1 = arrayLength(v1); Integer ln2 = arrayLength(v2); Array#(any_T) res = primArrayNewU(ln1 + ln2); for (Integer x = (ln1 - 1); x >= 0; x = x - 1) res[x + ln2] = v1[x]; for (Integer x = (ln2 - 1); x >= 0; x = x - 1) res[x] = v2[x]; return res; endfunction function Array#(any_T) concat(Array#(Array#(any_T)) v); Integer ln1 = arrayLength(v); Integer ln2 = (ln1 == 0) ? 0 : arrayLength(v[0]); Array#(any_T) resv = primArrayNewU(ln1 * ln2); for(Integer i = (ln1 - 1); i >= 0; i = i - 1) for(Integer j = (ln2 - 1); j >= 0; j = j - 1) resv[(i*ln2) + j] = v[i][j]; return resv; endfunction // [A,B,C] => [A,B,C, _] function Array#(any_T) growRight(Array#(any_T) v, Integer k); Integer ln = arrayLength(v); Array#(any_T) vnew = primArrayNewU(k); return append(v, vnew); endfunction // [A,B,C] => [_, A,B,C] function Array#(any_T) growLeft(Array#(any_T) v, Integer k); Integer ln = arrayLength(v); Array#(any_T) vnew = primArrayNewU(k); return append(vnew, v); endfunction // [A,B,C] => [A,B] function Array#(any_T) shrinkRight(Array#(any_T) v, Integer k); Integer ln = arrayLength(v); return takeAt(v, ln - 1, k); endfunction // [A,B,C] => [B, C] function Array#(any_T) shrinkLeft(Array#(any_T) v, Integer k); Integer ln = arrayLength(v); return takeAt(v, ln - k - 1, 0); endfunction // zip function function Array#(Tuple2#(fst_T, snd_T)) zip(Array#(fst_T) v1, Array#(snd_T) v2); Integer ln = arrayLength(v1); Array#(Tuple2#(fst_T, snd_T)) resv = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) resv[i] = tuple2(v1[i], v2[i]); return resv; endfunction // zip 3 function Array#(Tuple3#(fst_T, snd_T, thd_T)) zip3(Array#(fst_T) v1, Array#(snd_T) v2, Array#(thd_T) v3); Integer ln = arrayLength(v1); Array#(Tuple3#(fst_T, snd_T, thd_T)) resv = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) resv[i] = tuple3(v1[i], v2[i], v3[i]); return resv; endfunction // zip 4 function Array#(Tuple4#(fst_T, snd_T, thd_T, fth_T)) zip4(Array#(fst_T) v1, Array#(snd_T) v2, Array#(thd_T) v3, Array#(fth_T) v4); Integer ln = arrayLength(v1); Array#(Tuple4#(fst_T, snd_T, thd_T, fth_T)) resv = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) resv[i] = tuple4(v1[i], v2[i], v3[i], v4[i]); return resv; endfunction // unzip function Tuple2#(Array#(fst_T), Array#(snd_T)) unzip(Array#(Tuple2#(fst_T, snd_T)) v); Integer ln = arrayLength(v); Array#(fst_T) res1 = primArrayNewU(ln); Array#(snd_T) res2 = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) begin res1[i] = v[i].fst(); res2[i] = v[i].snd(); end return tuple2(res1, res2); endfunction // zip with function Array#(res_T) zipWith(function res_T f(fst_T f, snd_T s), Array#(fst_T) v1, Array#(snd_T) v2); Integer ln = arrayLength(v1); Array#(res_T) resv = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) resv[i] = f(v1[i], v2[i]); return resv; endfunction // zip with 3 function Array#(res_T) zipWith3(function res_T f(fst_T f, snd_T s, thd_T t), Array#(fst_T) v1, Array#(snd_T) v2, Array#(thd_T) v3); Integer ln = arrayLength(v1); Array#(res_T) resv = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) resv[i] = f(v1[i], v2[i], v3[i]); return resv; endfunction function Array#(any_T) reverse(Array#(any_T) v); Integer ln = arrayLength(v); if (ln <= 1) return v; else begin Array#(any_T) resv = primArrayNewU(ln); for(Integer i = 0; i < ln; i = i + 1) resv[ln - i - 1] = v[i]; return resv; end endfunction function Bool elem(any_T x, Array#(any_T) v) provisos (Eq#(any_T)); Integer ln = arrayLength(v); Bool res = False; for(Integer i = 0; (i < ln) && (res == False); i = i + 1) res = x == v[i]; return res; endfunction function Bool any(function Bool f(any_T x), Array#(any_T) v); Integer ln = arrayLength(v); Bool res = False; for(Integer i = 0; (i < ln) && (res == False); i = i + 1) res = f(v[i]); return res; endfunction function Bool all(function Bool f(any_T x), Array#(any_T) v); Integer ln = arrayLength(v); Bool res = True; for(Integer i = 0; (i < ln) && (res == True); i = i + 1) res = f(v[i]); return res; endfunction endpackage
Bluespec
5
pheonixo/file_info
test_files/bluespec.bsv
[ "MIT" ]
//##1. module missing things in import //##MODULE com.myorg.code2 class MYClass{ def result() => 9 } //##MODULE from com.myorg.code2 import result from com.myorg.code2 import MYClass2 def doings(){ "" } ~~~~~ //##2. module respects public private etc //##MODULE com.myorg.code2 public result = 9 //private by default def lafunc() => "hi" //public by default //##MODULE from com.myorg.code2 import result, lafunc def doings(){ "" + [result, lafunc()] } ~~~~~ //##3. tpyedef pppp //##MODULE com.myorg.codexx private typedef thingPriv = int typedef thingDef = int protected typedef thingProt = int package typedef thingPack = int public typedef thingPub = int //##MODULE from com.myorg.codexx import thingPriv //no from com.myorg.codexx import thingDef //yes public from com.myorg.codexx import thingProt//no from com.myorg.codexx import thingPack//no from com.myorg.codexx import thingPub def doings(){ a1 thingPriv = 3 a2 thingProt = 3 a3 thingPack = 3 a4 thingPub = 3 a5 thingDef = 3 //public so ok "fail" } ~~~~~ //##4. class pppp //##MODULE com.myorg.codexx private class thingPriv class thingDef protected class thingProt package class thingPack public class thingPub //##MODULE from com.myorg.codexx import thingPriv //no from com.myorg.codexx import thingDef //ok from com.myorg.codexx import thingProt //no from com.myorg.codexx import thingPack //no from com.myorg.codexx import thingPub //ok def doings(){ a1 = new thingPriv() a2 = new thingDef() a3 = new thingProt() a4 = new thingPack() a5 = new thingPub() "fail" } ~~~~~ //##5. enum pppp //##MODULE com.myorg.codexx private enum thingPriv{ONE, TWO} enum thingDef{ONE, TWO} protected enum thingProt{ONE, TWO} package enum thingPack{ONE, TWO} public enum thingPub{ONE, TWO} //##MODULE from com.myorg.codexx import thingPriv //no from com.myorg.codexx import thingDef //ok from com.myorg.codexx import thingProt //no from com.myorg.codexx import thingPack //no from com.myorg.codexx import thingPub //ok def doings(){ a1 = thingPriv.ONE a2 = thingDef.ONE a3 = thingProt.ONE a4 = thingPack.ONE a5 = thingPub.ONE "fail" } ~~~~~ //##6. annotation pppp //##MODULE com.myorg.codexx private annotation thingPriv annotation thingDef protected annotation thingProt package annotation thingPack public annotation thingPub //##MODULE from com.myorg.codexx import thingPriv //no from com.myorg.codexx import thingDef //ok from com.myorg.codexx import thingProt //no from com.myorg.codexx import thingPack //no from com.myorg.codexx import thingPub //ok @thingPriv def f1(){} @thingDef def f2(){} @thingProt def f3(){} @thingPack def f4(){} @thingPub def f5(){} def doings(){ "fail" } ~~~~~ //##7. respect for protected //expect 8 errors... since wrong package //##MODULE com.myorg.code protected def myfunc() => "hi" protected typedef thing = int protected annotation Annot{} protected avar = 99 protected alambda = def () { "almabda"} @Annot protected class MyClass(protected f int){ protected this(g String) {} protected a int = 99 protected def thing() => 77 } protected enum MYEnum{ONE, TWO, THREE } //##MODULE from com.myorg.code import MYEnum, MyClass, Annot, myfunc, thing, avar, alambda //different package @Annot //nope protected def cannotAnnot(){} def doings(){ h=avar //not accessable from outside mod a thing = 3 //not accessable from outside mod nope = myfunc()//not accessable from outside mod one = MYEnum.ONE //nope protected mc = MyClass(8) //nope protected h = mc.a //not accessable from outside mod g = mc.thing() //not accessable from outside mod lam = alambda() //not accessable from outside mod "" } ~~~~~ //##8. respect for package //##MODULE com.myorg.code package def myfunc() => "hi" package typedef thing = int package annotation Annot{} package avar = 99 package alambda = def () { "almabda"} @Annot package class MyClass(package f int){ package this(g String) {} package a int = 99 package def thing() => 77 } package enum MYEnum{ONE, TWO, THREE } //##MODULE from com.myorg.code import MYEnum, MyClass, Annot, myfunc, thing, avar, alambda //different package @Annot //nope package def cannotAnnot(){} def doings(){ h=avar //not accessable from outside mod a thing = 3 //not accessable from outside mod nope = myfunc()//not accessable from outside mod one = MYEnum.ONE //nope package mc = MyClass(8) //nope package h = mc.a //not accessable from outside mod g = mc.thing() //not accessable from outside mod lam = alambda() //not accessable from outside mod "" }
Augeas
4
michaeldesu/Concurnas
tests/com/concurnas/compiler/scopeAndType/modules.conc.aug
[ "MIT" ]
.class public Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater; .super Landroid/widget/BaseAdapter; .source "WhitePersonApater.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; } .end annotation # instance fields .field private a:Landroid/content/Context; .field private b:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List", "<", "Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;", ">;" } .end annotation .end field # direct methods .method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V .locals 0 .param p1, "context" # Landroid/content/Context; .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/Context;", "Ljava/util/List", "<", "Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;", ">;)V" } .end annotation .prologue .line 21 .local p2, "list":Ljava/util/List;, "Ljava/util/List<Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;>;" invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V .line 22 iput-object p1, p0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;->a:Landroid/content/Context; .line 23 iput-object p2, p0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;->b:Ljava/util/List; .line 24 return-void .end method # virtual methods .method public getCount()I .locals 1 .prologue .line 27 iget-object v0, p0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;->b:Ljava/util/List; invoke-interface {v0}, Ljava/util/List;->size()I move-result v0 return v0 .end method .method public getItem(I)Ljava/lang/Object; .locals 1 .param p1, "position" # I .prologue .line 33 iget-object v0, p0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;->b:Ljava/util/List; invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public getItemId(I)J .locals 2 .param p1, "position" # I .prologue .line 39 int-to-long v0, p1 return-wide v0 .end method .method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View; .locals 6 .param p1, "position" # I .param p2, "convertView" # Landroid/view/View; .param p3, "parent" # Landroid/view/ViewGroup; .prologue const/16 v5, 0x8 .line 46 if-nez p2, :cond_1 .line 47 iget-object v2, p0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;->a:Landroid/content/Context; invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; move-result-object v2 const v3, 0x7f030011 const/4 v4, 0x0 invoke-virtual {v2, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; move-result-object p2 .line 48 new-instance v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; const/4 v2, 0x0 invoke-direct {v0, p0, v2}, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;-><init>(Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;B)V .line 49 .local v0, "holder":Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; const v2, 0x7f0900ae invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v2 check-cast v2, Landroid/widget/ImageView; iput-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->a:Landroid/widget/ImageView; .line 50 const v2, 0x7f0900af invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v2 check-cast v2, Landroid/widget/TextView; iput-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->d:Landroid/widget/TextView; .line 51 const v2, 0x7f0900b0 invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v2 check-cast v2, Landroid/widget/TextView; iput-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->e:Landroid/widget/TextView; .line 52 const v2, 0x7f0900b2 invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v2 check-cast v2, Landroid/widget/ImageView; iput-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->c:Landroid/widget/ImageView; .line 53 const v2, 0x7f0900b1 invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v2 check-cast v2, Landroid/widget/ImageView; iput-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->b:Landroid/widget/ImageView; .line 54 invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V .line 58 :goto_0 iget-object v2, p0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater;->b:Ljava/util/List; invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo; .line 59 .local v1, "info":Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo; iget-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->b:Landroid/widget/ImageView; invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setVisibility(I)V .line 61 iget-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->a:Landroid/widget/ImageView; const v3, 0x7f020032 invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V .line 62 iget-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->c:Landroid/widget/ImageView; invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setVisibility(I)V .line 64 iget-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->e:Landroid/widget/TextView; invoke-virtual {v1}, Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;->getPhoneNumber()Ljava/lang/String; move-result-object v3 invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V .line 65 invoke-virtual {v1}, Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;->getName()Ljava/lang/String; move-result-object v2 if-eqz v2, :cond_0 invoke-virtual {v1}, Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;->getName()Ljava/lang/String; move-result-object v2 const-string v3, "" invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v2 if-eqz v2, :cond_2 .line 67 :cond_0 iget-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->d:Landroid/widget/TextView; const v3, 0x7f0d024a invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V .line 72 :goto_1 return-object p2 .line 56 .end local v0 # "holder":Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; .end local v1 # "info":Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo; :cond_1 invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; .restart local v0 # "holder":Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a; goto :goto_0 .line 70 .restart local v1 # "info":Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo; :cond_2 iget-object v2, v0, Lcom/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater$a;->d:Landroid/widget/TextView; invoke-virtual {v1}, Lcom/lenovo/safecenter/lenovoAntiSpam/domain/BlackInfo;->getName()Ljava/lang/String; move-result-object v3 invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V goto :goto_1 .end method
Smali
4
jarekankowski/pegasus_spyware
sample4/decompiled_raw/smali/com/lenovo/safecenter/lenovoAntiSpam/adapter/WhitePersonApater.smali
[ "MIT" ]