code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
--- layout: page title: Yates Family Reunion date: 2016-05-24 author: Christine Lester tags: weekly links, java status: published summary: Pellentesque quis dui posuere, faucibus. banner: images/banner/meeting-01.jpg booking: startDate: 12/03/2016 endDate: 12/05/2016 ctyhocn: FRKMAHX groupCode: YFR published: true --- Morbi quam ante, pulvinar blandit justo at, rutrum accumsan nibh. Cras consectetur lectus a ligula cursus, vitae vestibulum lacus facilisis. Nunc eu tellus velit. Donec ornare pretium arcu fermentum facilisis. Vivamus at fringilla ante. Mauris tortor mauris, imperdiet ut consequat ut, blandit ut est. Donec pretium in dolor vel vehicula. Morbi mattis malesuada bibendum. Fusce ac ex vel sem venenatis faucibus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean eget congue neque. Etiam sollicitudin justo et dui luctus tincidunt. Donec eu augue consectetur, molestie felis et, pretium est. Donec tempus scelerisque molestie. In vel mollis nunc. Curabitur ultricies sapien in aliquet vestibulum. 1 Vestibulum tincidunt lacus ornare mollis facilisis. Ut ante nibh, rhoncus sed porta ut, euismod id nibh. Praesent vel diam aliquam, commodo enim porta, rhoncus magna. Integer ultricies in leo vel tristique. Donec vulputate fermentum tellus, eu posuere ex tincidunt in. Integer vel mauris tempor lectus vehicula dapibus. Etiam scelerisque elit risus. Fusce venenatis magna eu semper congue. Vivamus ut nisl sem. Mauris gravida libero lectus, in convallis felis dictum eget. Curabitur ultrices est augue, hendrerit pharetra dolor pretium sit amet. Sed eu mi ex. Praesent vel vulputate tortor, ut bibendum tortor. In vitae nulla felis. Nunc consequat quam maximus lorem finibus volutpat. Nam in dolor congue, faucibus ligula eget, maximus urna. Ut mauris ligula, vehicula sodales leo non, posuere pretium augue. Quisque lorem dui, malesuada ut lacus eget, vestibulum finibus dolor. Sed quis justo luctus, porttitor dui a, ultricies nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse sed massa vel nibh porta vestibulum. Suspendisse eu bibendum neque. Nunc at libero eget sem euismod cursus vel ac sem.
KlishGroup/prose-pogs
pogs/F/FRKMAHX/YFR/index.md
Markdown
mit
2,232
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.8.0 / metacoq - 1.0~beta2+8.13</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> metacoq <small> 1.0~beta2+8.13 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-11-06 23:39:54 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-06 23:39:54 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 1 Virtual package relying on perl coq 8.8.0 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.08.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.08.1 Official release 4.08.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;matthieu.sozeau@inria.fr&quot; homepage: &quot;https://metacoq.github.io/metacoq&quot; dev-repo: &quot;git+https://github.com/MetaCoq/metacoq.git#coq-8.11&quot; bug-reports: &quot;https://github.com/MetaCoq/metacoq/issues&quot; authors: [&quot;Abhishek Anand &lt;aa755@cs.cornell.edu&gt;&quot; &quot;Simon Boulier &lt;simon.boulier@inria.fr&gt;&quot; &quot;Cyril Cohen &lt;cyril.cohen@inria.fr&gt;&quot; &quot;Yannick Forster &lt;forster@ps.uni-saarland.de&gt;&quot; &quot;Fabian Kunze &lt;fkunze@fakusb.de&gt;&quot; &quot;Gregory Malecha &lt;gmalecha@gmail.com&gt;&quot; &quot;Matthieu Sozeau &lt;matthieu.sozeau@inria.fr&gt;&quot; &quot;Nicolas Tabareau &lt;nicolas.tabareau@inria.fr&gt;&quot; &quot;Théo Winterhalter &lt;theo.winterhalter@inria.fr&gt;&quot; ] license: &quot;MIT&quot; depends: [ &quot;coq-metacoq-template&quot; {= version} &quot;coq-metacoq-pcuic&quot; {= version} &quot;coq-metacoq-safechecker&quot; {= version} &quot;coq-metacoq-erasure&quot; {= version} &quot;coq-metacoq-translations&quot; {= version} ] synopsis: &quot;A meta-programming framework for Coq&quot; description: &quot;&quot;&quot; MetaCoq is a meta-programming framework for Coq. The meta-package includes the template-coq library, unverified checker for Coq, PCUIC development including a verified translation from Coq to PCUIC, safe checker and erasure for PCUIC and example translations. See individual packages for more detailed descriptions. &quot;&quot;&quot; url { src: &quot;https://github.com/MetaCoq/metacoq/archive/v1.0-beta2-8.13.tar.gz&quot; checksum: &quot;sha256=15e1cfde70e6c4dbf33bff1a77266ac5c0c3e280586ef059e0cdec07bee814f2&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-metacoq.1.0~beta2+8.13 coq.8.8.0</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.8.0). The following dependencies couldn&#39;t be met: - coq-metacoq -&gt; coq-metacoq-erasure &gt;= 1.0~beta2+8.13 -&gt; coq &gt;= 8.13 Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-metacoq.1.0~beta2+8.13</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.8.0/metacoq/1.0~beta2+8.13.html
HTML
mit
7,558
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith-stern-brocot: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.11.1 / qarith-stern-brocot - 8.6.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> qarith-stern-brocot <small> 8.6.0 <span class="label label-info">Not compatible</span> </small> </h1> <p><em><script>document.write(moment("2021-04-06 21:49:33 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-04-06 21:49:33 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils coq 8.11.1 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.11.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.11.1 Official release 4.11.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-community/qarith-stern-brocot&quot; license: &quot;LGPL 2.1&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/QArithSternBrocot&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.6&quot; &amp; &lt; &quot;8.7~&quot;} ] tags: [ &quot;keyword: rational numbers&quot; &quot;keyword: arithmetic&quot; &quot;keyword: field tactic&quot; &quot;keyword: binary lists&quot; &quot;keyword: Stern-Brocot&quot; &quot;category: Mathematics/Arithmetic and Number Theory/Rational numbers&quot; &quot;category: Miscellaneous/Extracted Programs/Arithmetic&quot; &quot;date: 2003&quot; ] authors: [ &quot;Milad Niqui&quot; &quot;Yves Bertot&quot; ] bug-reports: &quot;https://github.com/coq-community/qarith-stern-brocot/issues&quot; dev-repo: &quot;git+https://github.com/coq-community/qarith-stern-brocot.git&quot; synopsis: &quot;Binary Rational Numbers&quot; description: &quot;Developement of rational numbers as finite binary lists and defining field operations on them in two different ways: strict and lazy.&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-community/qarith-stern-brocot/archive/v8.6.0.tar.gz&quot; checksum: &quot;md5=6ce67d480418521bfe93704fabaaccd6&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-qarith-stern-brocot.8.6.0 coq.8.11.1</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.11.1). The following dependencies couldn&#39;t be met: - coq-qarith-stern-brocot -&gt; coq &lt; 8.7~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-qarith-stern-brocot.8.6.0</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> <small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small> </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.11.1-2.0.7/released/8.11.1/qarith-stern-brocot/8.6.0.html
HTML
mit
7,030
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unicoq: 30 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.13.1 / unicoq - 1.5+8.13</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> unicoq <small> 1.5+8.13 <span class="label label-success">30 s 🏆</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-02-18 03:17:35 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-18 03:17:35 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq 8.13.1 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.12.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.12.1 Official release 4.12.1 ocaml-config 2 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;matthieu.sozeau@inria.fr&quot; authors: [ &quot;Matthieu Sozeau &lt;matthieu.sozeau@inria.fr&gt;&quot; &quot;Beta Ziliani &lt;beta@mpi-sws.org&gt;&quot; ] dev-repo: &quot;git+https://github.com/unicoq/unicoq.git&quot; homepage: &quot;https://github.com/unicoq/unicoq&quot; bug-reports: &quot;https://github.com/unicoq/unicoq/issues&quot; license: &quot;MIT&quot; build: [ [&quot;coq_makefile&quot; &quot;-f&quot; &quot;_CoqProject&quot; &quot;-o&quot; &quot;Makefile&quot;] [make &quot;-j%{jobs}%&quot;] ] install: [ [make &quot;install&quot;] ] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.13&quot; &amp; &lt; &quot;8.14~&quot;} ] synopsis: &quot;An enhanced unification algorithm for Coq&quot; tags: [ &quot;logpath:Unicoq&quot; &quot;date:2020-08-12&quot; ] url { src: &quot;https://github.com/unicoq/unicoq/archive/v1.5-8.13.tar.gz&quot; checksum: &quot;sha256=9c9e67e787c6fdbae289845a33408c84fe5826c1ff52a824f2b2b9f55ce9d255&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-unicoq.1.5+8.13 coq.8.13.1</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-unicoq.1.5+8.13 coq.8.13.1</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>12 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-unicoq.1.5+8.13 coq.8.13.1</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>30 s</dd> </dl> <h2>Installation size</h2> <p>Total: 355 K</p> <ul> <li>318 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/unicoq.cmxs</code></li> <li>17 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/unicoq.cmx</code></li> <li>10 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/unicoq.cmi</code></li> <li>7 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/unicoq.cmxa</code></li> <li>2 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/Unicoq.vo</code></li> <li>1 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/Unicoq.v</code></li> <li>1 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/Unicoq/Unicoq.glob</code></li> </ul> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq-unicoq.1.5+8.13</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.12.1-2.0.8/released/8.13.1/unicoq/1.5+8.13.html
HTML
mit
7,486
<?php /** * ApiResponse.php - Congress API Response Wrapper * * API Response represents a response from the Sunlight Foundation Congress API as an iterable object. The count of * results is available as ApiResponse::count(). * * @author Samantha Quinones <samantha@tembies.com> * @package Sunlight\Congress * @copyright 2013 Samantha Quiñones * @license MIT (For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.) */ namespace Squinones\Sunlight\Congress\Api; use Guzzle\Http\Message\RequestInterface; /** * Iterable result set. * * @author Samantha Quinones <samantha@tembies.com> * @package Sunlight\Congress\Api * */ class ApiResponse implements \Iterator { /** * A Guzzle request, usually created by an ApiWrapper * * @var RequestInterface */ protected $request; /** * The complete response array as decoded from the JSON response * * @var array */ protected $response; /** * Total count of results * * @var int */ private $count; /** * The current position in the result set. If null, the result set is empty or the pointer has moved past the last * result. * * @var int|null */ private $current; /** * The most recent "page" of data that was returned. * * @var int */ private $page; /** * The total number of pages that exist for the query. * * @var int */ private $pages; /** * The number of items that constitute a "page" of data * * @var int */ private $perPage; /** * @param \Guzzle\Http\Message\RequestInterface $request */ public function setRequest($request) { $this->request = $request; } /** * @return \Guzzle\Http\Message\RequestInterface */ public function getRequest() { return $this->request; } /** * @param array $response */ public function setResponse($response) { $this->response = $response; } /** * @return array */ public function getResponse() { return $this->response; } /** * Takes a Guzzle RequestInterface and executes it, initializing the Response object based on the response. * * @param RequestInterface $request */ public function __construct(RequestInterface $request) { // Store the request $this->setRequest($request); // Execute the query $this->setResponse($this->request->send()->json()); // Store the results $this->results = $this->response["results"]; unset($this->response["results"]); // Record the information needed by the iterator $this->count = $this->response["count"]; $this->current = (count($this->results) > 0) ? 0 : null; $this->page = isset($this->response["page"]) ? $this->response["page"]["page"] : 0; $this->pages = isset($this->response["page"]["count"]) ? $this->response["page"]["count"] : 0; $this->perPage = isset($this->response["page"]["per_page"]) ? $this->response["page"]["per_page"] : 0; } /** * Returns the total number of results returned * * @return int */ public function count() { return $this->count; } /** * Return the current element. Returns null if the current element is invalid. * * @link http://php.net/manual/en/iterator.current.php * @return mixed Can return any type. */ public function current() { if (!is_null($this->current) && isset($this->results[$this->current])) { return $this->results[$this->current]; } else { return null; } } /** * Move forward to next element * * @link http://php.net/manual/en/iterator.next.php * @return void Any returned value is ignored. */ public function next() { // If the current element is the last element, return null if ($this->current === ($this->count() - 1)) { $this->current = null; return; } // If the next element is greater than the result count, and this is the last page, return null if (($this->current + 1) > count($this->results) && (($this->page + 1) > $this->pages)) { $this->current = null; return; } // Advance to the next page $this->request->getQuery()->set("page", ++$this->page); // Retrieve the next page $response = $this->request->send()->json(); // Append the results to the results array $this->results = array_merge($this->results, $response["results"]); // Advance to the next element $this->current++; return; } /** * Return the key of the current element * * @link http://php.net/manual/en/iterator.key.php * * @return mixed scalar on success, or null on failure. */ public function key() { return $this->current; } /** * Checks if current position is valid * * @link http://php.net/manual/en/iterator.valid.php * * @return boolean The return value will be casted to boolean and then evaluated. * Returns true on success or false on failure. */ public function valid() { if (is_null($this->current)) { return false; } return true; } /** * Rewind the Iterator to the first element * * @link http://php.net/manual/en/iterator.rewind.php * * @return void Any returned value is ignored. */ public function rewind() { $this->current = 0; } }
squinones/php-sunlight
src/Squinones/Sunlight/Congress/Api/ApiResponse.php
PHP
mit
5,884
 namespace Agenda.Domain.Core.Helpers { public class SortThenHelper { public string FieldName { get; set; } public string FieldTypeThenBy { get; set; } public SortThenHelper(string fieldName, TypeThen typeThenBy) { FieldTypeThenBy = typeThenBy.ToString(); FieldName = fieldName; } } }
LeoFelipe/Agenda
src/Agenda.Domain.Core/Helpers/SortThenHelper.cs
C#
mit
365
--- layout: page title: Ice Omega Systems Show date: 2016-05-24 author: Teresa Lyons tags: weekly links, java status: published summary: Morbi condimentum eros semper, dignissim quam vel, commodo odio. banner: images/banner/leisure-05.jpg booking: startDate: 11/24/2016 endDate: 11/27/2016 ctyhocn: PHXSRHX groupCode: IOSS published: true --- Proin at velit nisi. Morbi id tortor non dui faucibus elementum vitae in sem. Vestibulum ut dictum sem. Maecenas erat ipsum, pellentesque in ante mollis, pharetra porttitor neque. Curabitur elementum nibh pulvinar, maximus erat id, vehicula sem. Aliquam vel vehicula ante. Integer ullamcorper sed sem pellentesque rhoncus. Fusce turpis erat, lacinia vitae tempus id, interdum semper enim. Phasellus a vestibulum urna, sit amet euismod diam. Proin convallis leo ac ultrices semper. Integer auctor hendrerit dolor in maximus. Maecenas rutrum tristique augue, eu convallis arcu varius sed. Aliquam sapien magna, suscipit quis pretium ut, placerat ut velit. Ut ut sem ac purus egestas rhoncus et sed purus. Nam et sapien bibendum, tristique urna in, tempus sapien. Aenean pretium congue lacus, nec congue nisi efficitur vel. Pellentesque dui sem, varius sit amet placerat non, blandit eget erat. Aliquam erat volutpat. Fusce varius nisl quis ex auctor semper. Ut et leo nisi. In efficitur pellentesque arcu, vel malesuada risus tristique vel. Proin consectetur urna viverra ex dictum, vel egestas dolor dapibus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque ipsum turpis, porttitor ac nibh vitae, lacinia luctus mi. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse id blandit tortor, ac pretium nunc. Etiam vel velit sed nisl posuere egestas vel vel sem. Curabitur tempor nec odio sit amet semper. * Sed vestibulum ante ut rhoncus scelerisque. In lacus nunc, tincidunt in odio dictum, sollicitudin rutrum dolor. Pellentesque mi lorem, vulputate at ornare eget, interdum vel felis. Aliquam erat volutpat. Phasellus quis molestie libero. Pellentesque accumsan ultrices malesuada. Quisque ullamcorper venenatis odio, iaculis elementum sapien ornare id. Fusce scelerisque ullamcorper aliquam. Vivamus vitae sagittis nulla, vitae aliquam urna. Phasellus mi justo, cursus non lacus sed, maximus viverra nulla. Ut vel orci maximus, faucibus sem quis, pharetra lacus. Fusce imperdiet, turpis vel semper sollicitudin, ipsum enim lacinia felis, et feugiat diam augue quis est. Nullam non sapien magna. Ut et nisi sit amet magna accumsan semper. Nullam volutpat condimentum nisl. Praesent dolor nulla, convallis ac purus non, gravida semper ligula. Duis id urna enim. Duis malesuada vel est in convallis. Suspendisse in eros ac est ultricies faucibus in a nisi. Nunc congue elementum erat, et dapibus enim elementum non. Aenean interdum odio hendrerit sapien vehicula, vel ultrices elit mattis. Vivamus eu pretium mauris, ut fermentum leo. Sed ultricies imperdiet ante in sollicitudin. Morbi interdum urna non velit lobortis, dictum consequat urna interdum. In dignissim efficitur neque in efficitur. Nunc sagittis iaculis leo id vulputate. Maecenas a sapien consectetur, faucibus purus vitae, vehicula orci. Donec eu dictum diam. Integer eu purus a erat consequat consectetur id nec dui. Suspendisse sollicitudin leo vitae libero consectetur, sit amet bibendum purus cursus. Nunc pellentesque dui ac neque feugiat, et tincidunt ex efficitur. Aliquam a turpis a erat suscipit commodo.
KlishGroup/prose-pogs
pogs/P/PHXSRHX/IOSS/index.md
Markdown
mit
3,504
package com.slugterra.keys; import org.lwjgl.input.Keyboard; import net.minecraft.client.settings.KeyBinding; import net.minecraftforge.fml.client.registry.ClientRegistry; public class KeyBindings { public static KeyBinding sluginvup; public static KeyBinding sluginvdown; public static KeyBinding opensluginv; public static void initialiseBindings() { opensluginv = new KeyBinding("key.opensluginv", Keyboard.KEY_M, "key.categories.slugterra"); sluginvup = new KeyBinding("key.sluginvup", Keyboard.KEY_UP, "key.categories.slugterra"); sluginvdown = new KeyBinding("key.sluginvdown", Keyboard.KEY_DOWN, "key.categories.slugterra"); ClientRegistry.registerKeyBinding(sluginvup); ClientRegistry.registerKeyBinding(sluginvdown); ClientRegistry.registerKeyBinding(opensluginv); } }
mpbagot/Slugterra-Mod
main/java/com/slugterra/keys/KeyBindings.java
Java
mit
871
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HackHousingOutOfTheBox { public class LocationInfo { public string Latitude { get; set; } public string Longitude { get; set; } public string City { get; set; } public string State { get; set; } } }
HackHousing-OutOfTheBox/hack-housing-out-of-the-box
HackHousingOutOfTheBox/LocationInfo.cs
C#
mit
373
/// <reference path="../typings/tsd.d.ts"/> import React = require('react'); import TR = require('typed-react'); import $ = require('jquery'); import _ = require('lodash'); import MapLookUp = require('maps/mapLookUp'); import Map = require('maps/map'); import Places = require('maps/places'); import List = require('list/list') import TL = require('list/toggle-list'); import TT = require('maps/tooltips'); function initialize() { Map.example(document.getElementById('content'), () => { setTimeout(()=> { // Define the LatLng coordinates for the polygon's path. var triangleCoords = [ new google.maps.LatLng(47.558105, -122.284539), // Rookies sports bar new google.maps.LatLng(47.561175, -122.284089), // Rainier community center new google.maps.LatLng(47.579174, -122.299633), // QFC Rainier Ave new google.maps.LatLng(47.562967, -122.308345), // VA Puget Sound new google.maps.LatLng(47.558105, -122.284539) // Rookies sports bar ]; var coordNames = [ 'Rookie\'s Sports Bar', 'Rainier Community Center', 'QFC Rainier Avenue', 'VA Puget Sound' ]; // Put down markers for the demo locations function makeDemoMarker(latLng:google.maps.LatLng, name): Map.MarkerData { return { position: latLng, id: name, toolTip: name, draggable: false, raiseOnDrag: false, icon: ' ', labelContent: '<object style="width:20px; height:20px;" type="image/svg+xml"' + 'data="images/zillow-logo-mask.svg">, class="tooltip" title="' + name + '"></object>', labelAnchor: new google.maps.Point(10, 10), labelClass: 'marker' } } var demoMarkers:Map.MarkerData[] = _.map(coordNames, function (name, index) { return makeDemoMarker(triangleCoords[index], name); }); $(document).trigger('markerData', [demoMarkers]); $(document).trigger('map:NewPolygon', [ [{ paths: triangleCoords, strokeColor: '#0064CD', strokeOpacity: 0.7, strokeWeight: 1, fillColor: '#0064CD', fillOpacity: 0.35 }] ]); }, 5000) }); } //google.maps.event.addDomListener(window, 'load', initialize); $(document).ready(() => { initialize(); }); //tips.init();
SpaceLabForever/zillow
fe/index.ts
TypeScript
mit
2,383
class AddColumnToContest < ActiveRecord::Migration[5.0] def change add_column :contests, :start_at, :datetime add_column :contests, :end_at, :datetime add_index :contests, :start_at add_index :contests, :end_at end end
OUDON/Bacon
db/migrate/20170109085700_add_column_to_contest.rb
Ruby
mit
244
@echo off cd bin if "%1"=="debug" ( :: run debug Main-Debug.exe _input/ _output/ ) else ( :: run release Main.exe _input/ _output/ ) pause
larsiusprime/tdrpg-tools
DQDialogue/Run.bat
Batchfile
mit
146
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.HashSet; import java.util.Random; import java.util.StringTokenizer; import java.util.TreeSet; public class VivoParceBT { static class Scanner{ BufferedReader rd; StringTokenizer tk; public Scanner(){ rd = new BufferedReader(new InputStreamReader(System.in)); } String next() throws IOException{ while(tk == null || !tk.hasMoreTokens()){ String cad = rd.readLine(); if (cad == null) return null; tk = new StringTokenizer(cad); } return tk.nextToken(); } int nextInt() throws NumberFormatException, IOException{ return Integer.valueOf(next()); } long nextLong() throws NumberFormatException, IOException{ return Long.valueOf(next()); } } static class Node { int value; HashSet<Integer> v; HashSet<Integer> pos; int [] par; public Node(){ value = -1; v = new HashSet<Integer>(); pos = new HashSet<Integer>(); par = new int [4]; for (int i = 0; i < 4; ++i) { pos.add(i); par[i] = 0; } } } static boolean solve(int node) { if (ar[node].pos.size() == 0) return false; for (int col : ar[node].pos) { ar[node].value = col; for (int ch : ar[node].v) { ar[ch].pos.remove(col); ar[ch].par[col]++; } boolean ok = true; for (int ch : ar[node].v) { if (-1 != ar[ch].value) continue; if (!solve(ch)) ok = false; } if (ok) return true; ar[node].value = -1; for (int ch : ar[node].v) { ar[ch].par[col]--; if (0 == ar[ch].par[col]) ar[ch].pos.add(col); } } return false; } static int N; static Node[] ar; public static void main(String args[]) throws NumberFormatException, IOException{ Scanner sc = new Scanner(); String cad = sc.next(); while(true){ N = Integer.valueOf(cad); ar = new Node[N]; for(int i = 0; i < N; i++) ar[i] = new Node(); cad = sc.next(); while(cad != null){ String[] array = cad.split("-"); if (array.length < 2) break; int a = Integer.valueOf(array[0]) - 1; int b = Integer.valueOf(array[1]) - 1; ar[a].v.add(b); ar[b].v.add(a); cad = sc.next(); if (cad == null) break; } solve(0); for (int i = 0; i < N; i++) System.out.printf("%d %d\n", i + 1, ar[i].value + 1); if (cad == null) break; } } }
0x7DD/Maratones
SWERC2013/VivoParceBT.java
Java
mit
2,432
.warning { color: #9F6000; background-color: #FEEFB3; padding: 18px; } .warning:before { content:'\26A0'; margin-right: 9px; } .rfc-page pre { font-family: inherit; } .hljs-comment, .hljs-quote { color: #998; font-style: italic; } .hljs-keyword, .hljs-selector-tag, .hljs-subst { color: #333; font-weight: bold; } .hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr { color: #008080; } .hljs-string, .hljs-doctag { color: #d14; } .hljs-title, .hljs-section, .hljs-selector-id { color: #900; font-weight: bold; } .hljs-subst { font-weight: normal; } .hljs-type, .hljs-class .hljs-title { color: #458; font-weight: bold; } .hljs-tag, .hljs-name, .hljs-attribute { color: #000080; font-weight: normal; } .hljs-regexp, .hljs-link { color: #009926; } .hljs-symbol, .hljs-bullet { color: #990073; } .hljs-built_in, .hljs-builtin-name { color: #0086b3; } .hljs-meta { color: #999; font-weight: bold; } .hljs-deletion { background: #fdd; } .hljs-addition { background: #dfd; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } h1, h2, h3, h4 { font-weight: 400 } .header { text-align: center; padding: 4em 0; } .header h1 { margin-bottom: .3em; } .markdown img { max-width: 25rem; } .headroom-wrapper h2 { margin: 0; padding: 0; text-transform: uppercase; color: white; } .headroom-wrapper { height: inherit !important; } .figure { text-align: center; } #footer { display: flex; flex-direction: column; padding: 1em 0; align-items: center; } #footer a { font-size: 80%; padding-bottom: .8em; }
philipnilsson/Badness10k
css/markdown-styles.css
CSS
mit
1,699
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <errno.h> #include <stdarg.h> #include <time.h> #include <sys/stat.h> #include "../util/util.h" #include "../util/dynarray.h" #include "../util/alloc.h" #include "../util/platform.h" #include "../util/limits.h" #include "../util/macros.h" #include "main.h" #include "macro.h" #include "preproc.h" #include "include.h" #include "directive.h" #include "deps.h" #include "feat.h" #define FNAME_BUILTIN "<builtin>" #define FNAME_CMDLINE "<command-line>" static const struct { const char *nam, *val; int is_fn; } initial_defs[] = { /* standard */ { "__unix__", "1", 0 }, { "__STDC__", "1", 0 }, #if !UCC_HAS_ATOMICS { "__STDC_NO_ATOMICS__" , "1", 0 }, /* _Atomic */ #endif #if !UCC_HAS_THREADS { "__STDC_NO_THREADS__" , "1", 0 }, /* _Thread_local */ #endif #if !UCC_HAS_COMPLEX { "__STDC_NO_COMPLEX__", "1", 0 }, /* _Complex */ #endif #if !UCC_HAS_VLA { "__STDC_NO_VLA__", "1", 0 }, #endif #define TYPE(ty, c) { "__" #ty "_TYPE__", #c, 0 } TYPE(SIZE, unsigned long), TYPE(PTRDIFF, unsigned long), TYPE(WINT, unsigned), { "__ORDER_LITTLE_ENDIAN__", "1234", 0 }, { "__ORDER_BIG_ENDIAN__", "4321", 0 }, { "__ORDER_PDP_ENDIAN__", "3412", 0 }, /* non-standard */ { "__BLOCKS__", "1", 0 }, /* custom */ { "__UCC__", "1", 0 }, /* magic */ #define SPECIAL(x) { x, NULL, 0 } SPECIAL("__FILE__"), SPECIAL("__LINE__"), SPECIAL("__COUNTER__"), SPECIAL("__DATE__"), SPECIAL("__TIME__"), SPECIAL("__TIMESTAMP__"), #undef SPECIAL #define SPECIAL(x) { x, NULL, 1 } SPECIAL("__has_feature"), SPECIAL("__has_extension"), SPECIAL("__has_attribute"), SPECIAL("__has_builtin"), #undef SPECIAL { NULL, NULL, 0 } }; struct loc loc_tok; char *current_fname; char *current_line_str; int show_current_line = 1; int no_output = 0; char cpp_time[16], cpp_date[16], cpp_timestamp[64]; char **cd_stack = NULL; int option_line_info = 1; int option_trigraphs = 0, option_digraphs = 0; static int option_trace = 0; enum c_std cpp_std = STD_C99; enum wmode wmode = WWHITESPACE | WTRAILING | WEMPTY_ARG | WPASTE | WFINALESCAPE | WMULTICHAR | WQUOTE | WHASHWARNING | WBACKSLASH_SPACE_NEWLINE; enum comment_strip strip_comments = STRIP_ALL; static const struct { const char *warn, *desc; enum wmode or_mask; } warns[] = { #define X(arg, desc, flag) { arg, desc, flag }, #include "warnings.def" #undef X }; #define ITER_WARNS(j) for(j = 0; j < countof(warns); j++) void trace(const char *fmt, ...) { va_list l; if(!option_trace) return; va_start(l, fmt); vfprintf(stderr, fmt, l); va_end(l); } void debug_push_line(char *s) { debug_pop_line(); /* currently only a single level */ current_line_str = ustrdup(s); } void debug_pop_line(void) { free(current_line_str), current_line_str = NULL; } void dirname_push(char *d) { /*fprintf(stderr, "dirname_push(%s = %p)\n", d, d);*/ dynarray_add(&cd_stack, d); } char *dirname_pop() { return dynarray_pop(char *, &cd_stack); } static void calctime(const char *fname) { time_t t; struct tm *now; t = time(NULL); now = localtime(&t); if(!now) die("localtime():"); #define FTIME(s, fmt) \ if(!strftime(s, sizeof s, fmt, now)) \ die("strftime():"); FTIME(cpp_time, "\"%H:%M:%S\""); FTIME(cpp_date, "\"%b %d %G\""); if(fname){ struct stat st; if(stat(fname, &st) == 0){ now = localtime(&st.st_mtime); }else{ /* don't touch now - can't open fname, * should get an error later */ } }else{ /* stdin - don't touch 'now' */ } if(!strftime(cpp_timestamp, sizeof cpp_timestamp, "\"%a %b %d %H:%M:%S %Y\"", now)) die("strftime():"); } static void macro_add_limits(void) { #define QUOTE_(x) #x #define QUOTE(x) QUOTE_(x) #define MACRO_ADD_LIM(m) macro_add("__" #m "__", QUOTE(__ ## m ## __), 0) MACRO_ADD_LIM(SCHAR_MAX); MACRO_ADD_LIM(SHRT_MAX); MACRO_ADD_LIM(INT_MAX); MACRO_ADD_LIM(LONG_MAX); MACRO_ADD_LIM(LONG_LONG_MAX); #undef MACRO_ADD_LIM #undef QUOTE #undef QUOTE_ } int main(int argc, char **argv) { char *infname, *outfname; int ret = 0; enum { NONE, MACROS, MACROS_WHERE, STATS, DEPS } dump = NONE; int i; int platform_win32 = 0; int freestanding = 0; infname = outfname = NULL; current_line = 1; current_fname = FNAME_BUILTIN; macro_add_limits(); for(i = 0; initial_defs[i].nam; i++){ if(initial_defs[i].is_fn) macro_add_func(initial_defs[i].nam, initial_defs[i].val, NULL, 0, 1); else macro_add(initial_defs[i].nam, initial_defs[i].val, 0); } switch(platform_type()){ case PLATFORM_x86_64: macro_add("__LP64__", "1", 0); macro_add("__x86_64__", "1", 0); /* TODO: __i386__ for 32 bit */ break; case PLATFORM_mipsel_32: macro_add("__MIPS__", "1", 0); } if(platform_bigendian()) macro_add("__BYTE_ORDER__", "__ORDER_BIG_ENDIAN__", 0); else macro_add("__BYTE_ORDER__", "__ORDER_LITTLE_ENDIAN__", 0); switch(platform_sys()){ #define MAP(t, s) case t: macro_add(s, "1", 0); break MAP(PLATFORM_LINUX, "__linux__"); MAP(PLATFORM_FREEBSD, "__FreeBSD__"); #undef MAP case PLATFORM_DARWIN: macro_add("__DARWIN__", "1", 0); macro_add("__MACH__", "1", 0); /* TODO: proper detection for these */ macro_add("__APPLE__", "1", 0); break; case PLATFORM_CYGWIN: macro_add("__CYGWIN__", "1", 0); platform_win32 = 1; break; } macro_add("__WCHAR_TYPE__", platform_win32 ? "short" : "int", 0); macro_add_sprintf("__BIGGEST_ALIGNMENT__", "%u", platform_align_max()); current_fname = FNAME_CMDLINE; for(i = 1; i < argc && *argv[i] == '-'; i++){ if(!strcmp(argv[i]+1, "-")) break; switch(argv[i][1]){ case 'I': if(argv[i][2]) include_add_dir(argv[i]+2); else goto usage; break; case 'o': if(outfname) goto usage; if(argv[i][2]) outfname = argv[i] + 2; else if(++i < argc) outfname = argv[i]; else goto usage; break; case 'P': option_line_info = 0; break; case 'C': if(argv[i][2] == '\0') strip_comments = STRIP_EXCEPT_DIRECTIVE; else if(!strcmp(argv[i] + 2, "C")) strip_comments = STRIP_NONE; break; case 'M': if(!strcmp(argv[i] + 2, "M")){ dump = DEPS; no_output = 1; }else{ goto usage; } break; case 'D': { char *arg = argv[i] + 2; char *eq; char *directive; if(!*arg){ /* allow "-D" "arg" */ arg = argv[++i]; if(!arg) goto usage; } /* -D'yo yo' means #define yo yo 1, that is, * we literally generate the #define line */ eq = strchr(arg, '='); if(eq) *eq = '\0'; directive = ustrprintf( "define %s %s", arg, eq ? eq + 1 : "1"); parse_internal_directive(directive); free(directive); break; } case 'U': if(!argv[i][2]) goto usage; macro_remove(argv[i] + 2); break; case 'd': if(argv[i][2] && argv[i][3]) goto defaul; switch(argv[i][2]){ case 'M': case 'S': case 'W': /* list #defines */ dump = ( argv[i][2] == 'M' ? MACROS : argv[i][2] == 'S' ? STATS : MACROS_WHERE); no_output = 1; break; case '\0': option_trace = 1; break; default: goto usage; } break; case '\0': /* we've been passed "-" as a filename */ break; case 'f': if(!strcmp(argv[i]+2, "freestanding")){ freestanding = 1; }else if(!strncmp(argv[i]+2, "message-length=", 15)){ const char *p = argv[i] + 17; warning_length = atoi(p); }else{ goto usage; } break; case 'W': { int off; unsigned j; char *p = argv[i] + 2; off = !strncmp(p, "no-", 3); if(off) p += 3; ITER_WARNS(j){ if(!strcmp(p, warns[j].warn)){ if(off) wmode &= ~warns[j].or_mask; else wmode |= warns[j].or_mask; break; } } /* if not found, we ignore - it was intended for cc1 */ break; } case 'O': { switch(argv[i][2]){ case '0': break; case 's': macro_add("__OPTIMIZE_SIZE__", "1", 0); /* fallthru */ default: macro_add("__OPTIMIZE__", "1", 0); } break; } case 'w': if(!argv[i][2]){ wmode = 0; break; } /* fall */ default: defaul: if(std_from_str(argv[i], &cpp_std, NULL) == 0){ /* we have an std */ }else if(!strcmp(argv[i], "-trigraphs")){ option_trigraphs = 1; }else if(!strcmp(argv[i], "-digraphs")){ option_digraphs = 1; }else{ fprintf(stderr, "unrecognised option \"%s\"\n", argv[i]); goto usage; } } } current_fname = FNAME_BUILTIN; macro_add("__STDC_HOSTED__", freestanding ? "0" : "1", 0); switch(cpp_std){ case STD_C89: case STD_C90: /* no */ break; case STD_C99: macro_add("__STDC_VERSION__", "199901L", 0); break; case STD_C11: macro_add("__STDC_VERSION__", "201112L", 0); } if(i < argc){ infname = argv[i++]; if(i < argc){ if(outfname) goto usage; outfname = argv[i++]; if(i < argc) goto usage; } } calctime(infname); #define CHECK_FILE(var, mode, target) \ if(var && strcmp(var, "-")){ \ if(!freopen(var, mode, target)){ \ fprintf(stderr, "open: %s: ", var); \ perror(NULL); \ return 1; \ } \ } CHECK_FILE(outfname, "w", stdout) CHECK_FILE(infname, "r", stdin) if(infname){ dirname_push(udirname(infname)); }else{ infname = "<stdin>"; dirname_push(ustrdup(".")); } current_fname = infname; preprocess(); if(wmode & WUNUSED) macros_warn_unused(); switch(dump){ case NONE: break; case MACROS: case MACROS_WHERE: macros_dump(dump == MACROS_WHERE); break; case STATS: macros_stats(); break; case DEPS: deps_dump(infname); break; } free(dirname_pop()); errno = 0; fclose(stdout); if(errno) die("close():"); return ret; usage: fprintf(stderr, "Usage: %s [options] files...\n", *argv); fputs(" Options:\n" " -Idir: Add search directory\n" " -Dxyz[=abc]: Define xyz (to equal abc)\n" " -Uxyz: Undefine xyz\n" " -o output: output file\n" " -P: don't add #line directives\n" " -dM: debug output\n" " -dS: print macro usage stats\n" " -MM: generate Makefile dependencies\n" " -C: don't discard comments, except in macros\n" " -CC: don't discard comments, even in macros\n" " -trigraphs: enable trigraphs\n" " -digraphs: enable digraphs\n" , stderr); { unsigned i; ITER_WARNS(i) fprintf(stderr, " -W%s: %s\n", warns[i].warn, warns[i].desc); } return 1; }
8l/ucc-c-compiler
src/cpp2/main.c
C
mit
10,609
package com.realizationtime.btdogg.dhtmanager import java.nio.file.Files import akka.actor.{Actor, ActorLogging, ActorRef} import com.realizationtime.btdogg.BtDoggConfiguration.HashSourcesConfig import com.realizationtime.btdogg.BtDoggConfiguration.HashSourcesConfig.prefixStep import com.realizationtime.btdogg.BtDoggConfiguration.ScrapingConfig.torrentsTmpDir import com.realizationtime.btdogg.commons.TKey import com.realizationtime.btdogg.dhtmanager.DhtLifecycleController.{NodeStopped, StopNode} import com.realizationtime.btdogg.dhtmanager.DhtsManager.{Boot, BootingPhase, NodeReady, Shutdown, ShutdownCompleted} class DhtsManager extends Actor with ActorLogging { import context._ private var dhts = Set[NodeReady]() Files.createDirectories(torrentsTmpDir) override def preStart(): Unit = BtDoggDHTLogger.attach() override def receive: Receive = { case Boot => val port = HashSourcesConfig.firstPort val nodesToProduce = HashSourcesConfig.nodesCount val idPrefix = 0 become(booting(port, nodesToProduce, idPrefix, sender()), discardOld = true) self ! NextNode } private def booting(port: Int, nodesLeft: Int, idPrefix: Int, caller: ActorRef): Receive = { def scheduleNextNode = { become(booting(port + 1, nodesLeft - 1, (idPrefix + prefixStep) % 256, caller), discardOld = true) system.scheduler.scheduleOnce(HashSourcesConfig.nodesCreationInterval, self, NextNode) } var bootingNodes = Set[ActorRef]() { case m: BootingPhase => m match { case NextNode if nodesLeft <= 0 => // all creations scheduled, waiting for NodeReady objects case NextNode => val controller = actorOf(DhtLifecycleController.create(port, idPrefix), "DhtLifecycleController" + port) bootingNodes += controller log.info(s"starting node $port with prefix: $idPrefix. Nodes left: ${nodesLeft - 1}") scheduleNextNode case m: NodeReady => dhts += m log.info(s"started node ${m.key.hash} on port ${m.port}") bootingNodes -= m.lifecycleController caller ! m if (bootingNodes.isEmpty && nodesLeft < 1) { log.info("All DHTs started") become(running, discardOld = true) } case Shutdown => become(shuttingDown(dhts.map(_.lifecycleController) ++ bootingNodes, List(sender()))) } } } private val running: Receive = { case Shutdown => become(shuttingDown(dhts.map(_.lifecycleController), List(sender()))) } def shuttingDown(nodesToShut: Set[ActorRef], shutdownCallers: List[ActorRef]): Receive = { log.info("Shutting down DHTs") nodesToShut.foreach(_ ! StopNode) def waitingForNodesDown(nodesStillAlive: Set[ActorRef], shutdownCallers: List[ActorRef]): Receive = { if (nodesStillAlive.isEmpty) { shutdownCallers.foreach(_ ! ShutdownCompleted) become(stopped) } val behaviour: Receive = { case NodeStopped => become(waitingForNodesDown(nodesStillAlive - sender(), shutdownCallers)) dhts = dhts.filterNot(_.lifecycleController == sender()) case ignoreNodeAlreadyToldToStop: NodeReady => case Shutdown => become(waitingForNodesDown(nodesStillAlive, sender() :: shutdownCallers)) } behaviour } waitingForNodesDown(nodesToShut, shutdownCallers) } private val stopped: Receive = { case Shutdown => sender() ! ShutdownCompleted } private case object NextNode extends BootingPhase } object DhtsManager { case object Boot sealed trait BootingPhase final case class NodeReady(key: TKey, port: Int, lifecycleController: ActorRef, hashesSource: ActorRef, scraping: ActorRef) extends BootingPhase sealed trait RunningPhase case object Shutdown extends BootingPhase with RunningPhase case object ShutdownCompleted }
bwrega/btdogg
src/main/scala/com/realizationtime/btdogg/dhtmanager/DhtsManager.scala
Scala
mit
3,918
const compose = require('koa-compose') const helmet = require('koa-helmet') const cors = require('kcors') const compress = require('koa-compress') const bodyParser = require('koa-bodyparser') const handleErrors = require('./errors') const middlewares = () => compose([ handleErrors(), // handle thrown or uncaught exceptions anywhere down the line helmet(), // reset HTTP headers (e.g. remove x-powered-by) cors(), // allow cross-origin compress({}), // HTTP compression bodyParser() // parse request body into ctx.request.body ]) module.exports = middlewares
maticrivo/seemly
server/middlewares/index.js
JavaScript
mit
572
/** * */ package com.jarp.tutorials.bigranchprohects.ch12; import java.util.Calendar; import java.util.Date; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.graphics.YuvImage; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.text.format.DateFormat; import android.view.View; import android.widget.TimePicker; import com.jarp.tutorials.bigranchprohects.R; /** * @author JARP * */ public class TimePickerFragment extends DialogFragment implements TimePickerDialog.OnTimeSetListener { private Date mDate; public static final String EXTRA_TIME="com.jarp.tutorials.bigranchprojects.ch12.time"; public static TimePickerFragment newInstace(Date date) { TimePickerFragment mTimePickerFragment = new TimePickerFragment(); Bundle args = new Bundle(); args.putSerializable(EXTRA_TIME, date); mTimePickerFragment.setArguments(args); return mTimePickerFragment; } private void sendResult(int resultCode) { if(getTargetFragment()==null) return ; Intent i = new Intent(); i.putExtra(EXTRA_TIME, mDate); getTargetFragment().onActivityResult(getTargetRequestCode(), resultCode, i); } @Override public Dialog onCreateDialog(Bundle savedInstanceState) { //return super.onCreateDialog(savedInstanceState); mDate = ((Date)getArguments().getSerializable(EXTRA_TIME)); Calendar c = Calendar.getInstance(); c.setTime(mDate); int hour =c.get(Calendar.HOUR_OF_DAY); int minute = c.get(Calendar.MINUTE) ; int second = c.get(Calendar.SECOND); View v = getActivity().getLayoutInflater().inflate(R.layout.ch12_time_view,null); TimePicker mTimePicker = (TimePicker)v.findViewById(R.id.dialog_date_timePicker); mTimePicker.setCurrentHour(hour); mTimePicker.setCurrentMinute(minute); return new TimePickerDialog(getActivity(), this, hour, minute, DateFormat.is24HourFormat(getActivity())); /*return new AlertDialog.Builder(getActivity()) .setTitle(R.string.time_picker_title) //.setPositiveButton(android.R.string.ok, null) .setPositiveButton(android.R.string.ok, new OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { sendResult(Activity.RESULT_OK); } }) .setView(v) .create();*/ } @Override public void onTimeSet(TimePicker arg0, int hourOfDay, int minute) { Calendar tempCalendar = Calendar.getInstance(); tempCalendar.setTime(mDate); Calendar mCalendar = Calendar.getInstance(); mCalendar.set(Calendar.YEAR, tempCalendar.get(Calendar.YEAR)); mCalendar.set(Calendar.MONTH, tempCalendar.get(Calendar.MONTH)); mCalendar.set(Calendar.DAY_OF_MONTH, tempCalendar.get(Calendar.DAY_OF_MONTH)); mCalendar.set(Calendar.HOUR_OF_DAY,hourOfDay); mCalendar.set(Calendar.MINUTE, minute); mCalendar.set(Calendar.SECOND, tempCalendar.get(Calendar.SECOND)); mDate = mCalendar.getTime(); sendResult(Activity.RESULT_OK); //getArguments().putSerializable(EXTRA_TIME, mDate); } }
imjarp/big-ranch-examples
src/com/jarp/tutorials/bigranchprohects/ch12/TimePickerFragment.java
Java
mit
3,314
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.12"/> <title>OpenCV: Member List</title> <link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" /> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../search/searchdata.js"></script> <script type="text/javascript" src="../../search/search.js"></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"], jax: ["input/TeX","output/HTML-CSS"], }); //<![CDATA[ MathJax.Hub.Config( { TeX: { Macros: { matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9], fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4], forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6], vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3], vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9], hdotsfor: ["\\dots", 1], mathbbm: ["\\mathbb{#1}", 1], bordermatrix: ["\\matrix{#1}", 1] } } } ); //]]> </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> <link href="../../stylesheet.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <!--#include virtual="/google-search.html"--> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">OpenCV &#160;<span id="projectnumber">3.2.0</span> </div> <div id="projectbrief">Open Source Computer Vision</div> </td> </tr> </tbody> </table> </div> <script type="text/javascript"> //<![CDATA[ function getLabelName(innerHTML) { var str = innerHTML.toLowerCase(); // Replace all '+' with 'p' str = str.split('+').join('p'); // Replace all ' ' with '_' str = str.split(' ').join('_'); // Replace all '#' with 'sharp' str = str.split('#').join('sharp'); // Replace other special characters with 'ascii' + code for (var i = 0; i < str.length; i++) { var charCode = str.charCodeAt(i); if (!(charCode == 95 || (charCode > 96 && charCode < 123) || (charCode > 47 && charCode < 58))) str = str.substr(0, i) + 'ascii' + charCode + str.substr(i + 1); } return str; } function addToggle() { var $getDiv = $('div.newInnerHTML').last(); var buttonName = $getDiv.html(); var label = getLabelName(buttonName.trim()); $getDiv.attr("title", label); $getDiv.hide(); $getDiv = $getDiv.next(); $getDiv.attr("class", "toggleable_div label_" + label); $getDiv.hide(); } //]]> </script> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); </script> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> $(function() { initMenu('../../',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">IplImage Member List</div> </div> </div><!--header--> <div class="contents"> <p>This is the complete list of members for <a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a>, including all inherited members.</p> <table class="directory"> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ab419b067d970ac518d0760425d387c8b">_IplImage</a>()</td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a876b581a635742508f1005f9411d4509">_IplImage</a>(const cv::Mat &amp;m)</td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a1343425faaf3f7a5678edc509d111a34">align</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a5765133d501edf185957c9aacbdb2df1">alphaChannel</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a091d3a95db5a69ad8ada4493a9805041">BorderConst</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a551197cb31f4fde4aa55072a857e03f3">BorderMode</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ab4c469d97b96f696d19fc0065cf69368">channelSeq</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a7b936c1cdfdae5477eb19d27c0d864f8">colorModel</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ad1964a49f086f12c6d1a9827ed3368f2">dataOrder</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ad992e697d6f036505151c9010c4af2ba">depth</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a79c472a00afe772d990301e0a250114e">height</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a415cd3927b70e11298255d7a139c1b8c">ID</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ab6315f84a34002b616a187f87999f167">imageData</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a3690b9b5994ae30033b737910eebb2f4">imageDataOrigin</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ae1451feab0502d21448e7c30a24772c5">imageId</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a40bc3ec7949bb04333488ef87168f670">imageSize</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#ac7c7b04d55821f6178ce16f724ed21c2">maskROI</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a9af9e642f025f54b0c8098abb910a648">nChannels</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a004c6e47e73b4196d019e935620448e9">nSize</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a24676d5e84d4de89ac65115c95219fac">origin</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a2312a609138ec977777d5262352d9f89">roi</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#adf18cdfcb5411a06ef7e3fa9cf8d06d3">tileInfo</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a829bb0a7a268b77996e492710c21b870">width</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html#a940eed22dfb3b349b7de4e8c82626d08">widthStep</a></td><td class="entry"><a class="el" href="../../d6/d5b/structIplImage.html">IplImage</a></td><td class="entry"></td></tr> </table></div><!-- contents --> <!-- HTML footer for doxygen 1.8.6--> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Dec 23 2016 13:00:26 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.12 </small></address> <script type="text/javascript"> //<![CDATA[ function addButton(label, buttonName) { var b = document.createElement("BUTTON"); b.innerHTML = buttonName; b.setAttribute('class', 'toggleable_button label_' + label); b.onclick = function() { $('.toggleable_button').css({ border: '2px outset', 'border-radius': '4px' }); $('.toggleable_button.label_' + label).css({ border: '2px inset', 'border-radius': '4px' }); $('.toggleable_div').css('display', 'none'); $('.toggleable_div.label_' + label).css('display', 'block'); }; b.style.border = '2px outset'; b.style.borderRadius = '4px'; b.style.margin = '2px'; return b; } function buttonsToAdd($elements, $heading, $type) { if ($elements.length === 0) { $elements = $("" + $type + ":contains(" + $heading.html() + ")").parent().prev("div.newInnerHTML"); } var arr = jQuery.makeArray($elements); var seen = {}; arr.forEach(function(e) { var txt = e.innerHTML; if (!seen[txt]) { $button = addButton(e.title, txt); if (Object.keys(seen).length == 0) { var linebreak1 = document.createElement("br"); var linebreak2 = document.createElement("br"); ($heading).append(linebreak1); ($heading).append(linebreak2); } ($heading).append($button); seen[txt] = true; } }); return; } $("h2").each(function() { $heading = $(this); $smallerHeadings = $(this).nextUntil("h2").filter("h3").add($(this).nextUntil("h2").find("h3")); if ($smallerHeadings.length) { $smallerHeadings.each(function() { var $elements = $(this).nextUntil("h3").filter("div.newInnerHTML"); buttonsToAdd($elements, $(this), "h3"); }); } else { var $elements = $(this).nextUntil("h2").filter("div.newInnerHTML"); buttonsToAdd($elements, $heading, "h2"); } }); $(".toggleable_button").first().click(); var $clickDefault = $('.toggleable_button.label_python').first(); if ($clickDefault.length) { $clickDefault.click(); } $clickDefault = $('.toggleable_button.label_cpp').first(); if ($clickDefault.length) { $clickDefault.click(); } //]]> </script> </body> </html>
lucasbrsa/OpenCV-3.2
docs/3.2/d2/dce/structIplImage-members.html
HTML
mit
13,770
class CreateLocations < ActiveRecord::Migration def change create_table :locations do |t| t.string :street t.string :number t.references :postcode, index: true t.references :city, index: true t.timestamps end end end
albertobajo/rails_locations
db/migrate/20131114165155_create_locations.rb
Ruby
mit
260
# frozen_string_literal: true module Eve class UpdateAlliancesJob < ApplicationJob queue_as :default retry_on EveOnline::Exceptions::Timeout, EveOnline::Exceptions::ServiceUnavailable, EveOnline::Exceptions::BadGateway, EveOnline::Exceptions::InternalServerError, OpenSSL::SSL::SSLError, Faraday::TimeoutError, Faraday::ConnectionFailed def perform Eve::AlliancesImporter.new.import end end end
biow0lf/evemonk
app/jobs/eve/update_alliances_job.rb
Ruby
mit
460
#ifndef CSVREADER_H #define CSVREADER_H #include <iostream> #include <fstream> #include BOSS_OPENCV_V_opencv2__core__core_hpp //original-code:<opencv2/core/core.hpp> #include "Utils.h" using namespace std; using namespace cv; class CsvReader { public: /** * The default constructor of the CSV reader Class. * The default separator is ' ' (empty space) * * @param path - The path of the file to read * @param separator - The separator character between words per line * @return */ CsvReader(const string &path, const char &separator = ' '); /** * Read a plane text file with .ply format * * @param list_vertex - The container of the vertices list of the mesh * @param list_triangle - The container of the triangles list of the mesh * @return */ void readPLY(vector<Point3f> &list_vertex, vector<vector<int> > &list_triangles); private: /** The current stream file for the reader */ ifstream _file; /** The separator character between words for each line */ char _separator; }; #endif
koobonil/Boss2D
Boss2D/addon/opencv-3.1.0_for_boss/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.h
C
mit
1,031
a.button { display: inline-block; padding: 3px 5px 3px 5px; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; color: #3C3C3D; text-shadow: 1px 1px 0 #FFFFFF; background: #ECECEC url('../images/css3buttons_backgrounds.png') 0 0 no-repeat; white-space: nowrap; overflow: visible; cursor: pointer; text-decoration: none; border: 1px solid #CACACA; -webkit-border-radius: 2px; -moz-border-radius: 2px; -webkit-background-clip: padding-box; border-radius: 2px; outline: none; position: relative; zoom: 1; *display: inline; } a.button.primary { font-weight: bold } a.button:hover { color: #FFFFFF; border-color: #388AD4; text-decoration: none; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); background-position: 0 -40px; background-color: #2D7DC5; } a.button:active, a.button.active { background-position: 0 -81px; border-color: #347BBA; background-color: #0F5EA2; color: #FFFFFF; text-shadow: none; } a.button:active { top: 1px } a.button.negative:hover { color: #FFFFFF; background-position: 0 -121px; background-color: #D84743; border-color: #911D1B; } a.button.negative:active, a.button.negative.active { background-position: 0 -161px; background-color: #A5211E; border-color: #911D1B; } a.button.pill { -webkit-border-radius: 19px; -moz-border-radius: 19px; border-radius: 19px; padding: 2px 10px 2px 10px; } a.button.left { -webkit-border-bottom-right-radius: 0px; -webkit-border-top-right-radius: 0px; -moz-border-radius-bottomright: 0px; -moz-border-radius-topright: 0px; border-bottom-right-radius: 0px; border-top-right-radius: 0px; margin-right: 0px; } a.button.middle { margin-right: 0px; margin-left: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; border-right: none; border-left: none; } a.button.right { -webkit-border-bottom-left-radius: 0px; -webkit-border-top-left-radius: 0px; -moz-border-radius-bottomleft: 0px; -moz-border-radius-topleft: 0px; border-top-left-radius: 0px; border-bottom-left-radius: 0px; margin-left: 0px; } a.button.left:active, a.button.middle:active, a.button.right:active { top: 0px } a.button.big { font-size: 16px; padding-left: 17px; padding-right: 17px; } a.button span.icon { display: inline-block; width: 14px; height: 12px; margin: auto 7px auto auto; position: relative; top: 2px; background-image: url('../images/css3buttons_icons.png'); background-repeat: no-repeat; } a.big.button span.icon { top: 0px } a.button span.icon.book { background-position: 0 0 } a.button:hover span.icon.book { background-position: 0 -15px } a.button span.icon.calendar { background-position: 0 -30px } a.button:hover span.icon.calendar { background-position: 0 -45px } a.button span.icon.chat { background-position: 0 -60px } a.button:hover span.icon.chat { background-position: 0 -75px } a.button span.icon.check { background-position: 0 -90px } a.button:hover span.icon.check { background-position: 0 -103px } a.button span.icon.clock { background-position: 0 -116px } a.button:hover span.icon.clock { background-position: 0 -131px } a.button span.icon.cog { background-position: 0 -146px } a.button:hover span.icon.cog { background-position: 0 -161px } a.button span.icon.comment { background-position: 0 -176px } a.button:hover span.icon.comment { background-position: 0 -190px } a.button span.icon.cross { background-position: 0 -204px } a.button:hover span.icon.cross { background-position: 0 -219px } a.button span.icon.downarrow { background-position: 0 -234px } a.button:hover span.icon.downarrow { background-position: 0 -249px } a.button span.icon.fork { background-position: 0 -264px } a.button:hover span.icon.fork { background-position: 0 -279px } a.button span.icon.heart { background-position: 0 -294px } a.button:hover span.icon.heart { background-position: 0 -308px } a.button span.icon.home { background-position: 0 -322px } a.button:hover span.icon.home { background-position: 0 -337px } a.button span.icon.key { background-position: 0 -352px } a.button:hover span.icon.key { background-position: 0 -367px } a.button span.icon.leftarrow { background-position: 0 -382px } a.button:hover span.icon.leftarrow { background-position: 0 -397px } a.button span.icon.lock { background-position: 0 -412px } a.button:hover span.icon.lock { background-position: 0 -427px } a.button span.icon.loop { background-position: 0 -442px } a.button:hover span.icon.loop { background-position: 0 -457px } a.button span.icon.magnifier { background-position: 0 -472px } a.button:hover span.icon.magnifier { background-position: 0 -487px } a.button span.icon.mail { background-position: 0 -502px } a.button:hover span.icon.mail { background-position: 0 -514px } a.button span.icon.move { background-position: 0 -526px } a.button:hover span.icon.move { background-position: 0 -541px } a.button span.icon.pen { background-position: 0 -556px } a.button:hover span.icon.pen { background-position: 0 -571px } a.button span.icon.pin { background-position: 0 -586px } a.button:hover span.icon.pin { background-position: 0 -601px } a.button span.icon.plus { background-position: 0 -616px } a.button:hover span.icon.plus { background-position: 0 -631px } a.button span.icon.reload { background-position: 0 -646px } a.button:hover span.icon.reload { background-position: 0 -660px } a.button span.icon.rightarrow { background-position: 0 -674px } a.button:hover span.icon.rightarrow { background-position: 0 -689px } a.button span.icon.rss { background-position: 0 -704px } a.button:hover span.icon.rss { background-position: 0 -719px } a.button span.icon.tag { background-position: 0 -734px } a.button:hover span.icon.tag { background-position: 0 -749px } a.button span.icon.trash { background-position: 0 -764px } a.button:hover span.icon.trash { background-position: 0 -779px } a.button span.icon.unlock { background-position: 0 -794px } a.button:hover span.icon.unlock { background-position: 0 -809px } a.button span.icon.uparrow { background-position: 0 -824px } a.button:hover span.icon.uparrow { background-position: 0 -839px } a.button span.icon.user { background-position: 0 -854px } a.button:hover span.icon.user { background-position: 0 -869px }
maxogden/couchpubtato
couchapp/_attachments/style/css3buttons.css
CSS
mit
6,127
# hain-plugin-notes A simple notes plugin for [Hain](https://github.com/appetizermonster/hain) # Install Open Hain and type ``` /hpm install hain-plugin-notes ``` # Usage ``` /note something ```
jervant/hain-plugin-notes
README.md
Markdown
mit
199
.no-wrap { white-space: nowrap; } * { box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } *:before, *:after { box-sizing: border-box; } html, body { height: 100%; width: 100%; } html { -webkit-font-smoothing: antialiased; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto', sans-serif; background-color: #ffffff; } hr { border: none; border-bottom: solid 1px #e0e0e0; } .mui-text-full-black { color: #000000; } .mui-text-dark-black { color: rgba(0, 0, 0, 0.87); } .mui-text-light-black { color: rgba(0, 0, 0, 0.54); } .mui-text-min-black { color: rgba(0, 0, 0, 0.26); } .mui-text-full-white { color: #ffffff; } .mui-text-dark-white { color: rgba(255, 255, 255, 0.87); } .mui-text-light-white { color: rgba(255, 255, 255, 0.54); } .mui-font-weight-light { font-weight: 300; } .mui-font-weight-normal { font-weight: 400; } .mui-font-weight-medium { font-weight: 500; } /* Type Styles */ .mui-font-style-display-4 { font-size: 112px; line-height: 128px; letter-spacing: -7px; padding-top: 17px; margin-bottom: 15px; font-weight: 300; color: rgba(0, 0, 0, 0.54); } .mui-font-style-display-3 { font-size: 56px; line-height: 64px; letter-spacing: -2px; padding-top: 8px; margin-bottom: 28px; font-weight: 400; color: rgba(0, 0, 0, 0.54); } .mui-font-style-display-2 { font-size: 45px; line-height: 48px; margin-bottom: 11px; letter-spacing: -1px; font-weight: 400; color: rgba(0, 0, 0, 0.54); } .mui-font-style-display-1 { font-size: 34px; line-height: 40px; padding-top: 8px; margin-bottom: 12px; letter-spacing: -1px; font-weight: 400; color: rgba(0, 0, 0, 0.54); } .mui-font-style-headline { font-size: 24px; line-height: 32px; padding-top: 16px; margin-bottom: 12px; letter-spacing: 0; font-weight: 400; color: rgba(0, 0, 0, 0.87); } .mui-font-style-title { font-size: 20px; line-height: 28px; padding-top: 19px; margin-bottom: 13px; letter-spacing: 0; font-weight: 500; color: rgba(0, 0, 0, 0.87); } .mui-font-style-subhead-2 { font-size: 15px; line-height: 28px; padding-top: 2px; margin-bottom: 10px; letter-spacing: 0; font-weight: 400; color: rgba(0, 0, 0, 0.87); } .mui-font-style-subhead-1 { font-size: 15px; line-height: 28px; padding-top: 2px; margin-bottom: 10px; letter-spacing: 0; font-weight: 400; line-height: 24px; padding-top: 3px; margin-bottom: 13px; color: rgba(0, 0, 0, 0.87); } .mui-font-style-body-2 { font-size: 13px; line-height: 24px; padding-top: 4px; margin-bottom: 12px; letter-spacing: 0; font-weight: 500; color: rgba(0, 0, 0, 0.87); } .mui-font-style-body-1 { font-size: 13px; line-height: 20px; padding-top: 6px; margin-bottom: 14px; letter-spacing: 0; font-weight: 400; color: rgba(0, 0, 0, 0.87); } .mui-font-style-caption { font-size: 12px; line-height: 20px; padding-top: 6px; margin-bottom: 14px; letter-spacing: 0; font-weight: 400; color: rgba(0, 0, 0, 0.54); } .mui-font-style-menu { font-size: 13px; line-height: 20px; padding-top: 6px; margin-bottom: 14px; letter-spacing: 0; font-weight: 500; color: rgba(0, 0, 0, 0.87); } .mui-font-style-button { font-size: 14px; line-height: 20px; padding-top: 5px; margin-bottom: 15px; letter-spacing: 0; text-transform: uppercase; font-weight: 500; color: rgba(0, 0, 0, 0.87); } /* General HTML Typography */ body { font-size: 13px; line-height: 20px; } .mui-predefined-layout-1 .mui-app-content-canvas { padding-top: 64px; } .mui-predefined-layout-1 .mui-app-bar { position: fixed; height: 64px; } .mui-key-width-1 { width: 64px; } .mui-key-width-2 { width: 128px; } .mui-key-width-3 { width: 192px; } .mui-key-width-4 { width: 256px; } .mui-key-width-5 { width: 320px; } .mui-key-width-6 { width: 384px; } .mui-key-width-7 { width: 448px; } .mui-key-width-8 { width: 512px; } .mui-key-width-9 { width: 576px; } .mui-key-width-10 { width: 640px; } .mui-key-height-1 { height: 64px; } .mui-key-height-2 { height: 128px; } .mui-key-height-3 { height: 192px; } .mui-key-height-4 { height: 256px; } .mui-key-height-5 { height: 320px; } .mui-key-height-6 { height: 384px; } .mui-key-height-7 { height: 448px; } .mui-key-height-8 { height: 512px; } .mui-key-height-9 { height: 576px; } .mui-key-height-10 { height: 640px; } .mui-app-bar { width: 100%; background-color: #00bcd4; z-index: 5; } .mui-app-bar .mui-paper-container { padding-left: 24px; padding-right: 24px; } .mui-app-bar .mui-icon-button { margin-top: 8px; } .mui-app-bar .mui-icon-button * { fill: rgba(255, 255, 255, 0.87); color: rgba(255, 255, 255, 0.87); } .mui-app-bar .mui-app-bar-title { font-size: 24px; line-height: 32px; padding-top: 16px; margin-bottom: 12px; letter-spacing: 0; font-weight: 400; color: rgba(0, 0, 0, 0.87); color: rgba(255, 255, 255, 0.87); padding-top: 0; line-height: 64px; float: left; } .mui-app-bar .mui-app-bar-navigation-icon-button { float: left; margin-right: 8px; margin-left: -16px; } .mui-card { background-color: #ffffff; padding: 24px; } .mui-card .mui-card-toolbar { margin-top: -24px; margin-left: -24px; margin-right: -24px; margin-bottom: 24px; line-height: 56px; height: 56px; padding-left: 24px; padding-right: 24px; font-size: 13px; line-height: 20px; padding-top: 6px; margin-bottom: 14px; letter-spacing: 0; font-weight: 500; color: rgba(0, 0, 0, 0.87); } .mui-checkbox .mui-checkbox-icon { height: 24px; width: 24px; margin-right: 16px; } .mui-checkbox .mui-checkbox-icon .mui-checkbox-check { position: absolute; opacity: 0; transform: scale(0); transform-origin: 50% 50%; transition: opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms; } .mui-checkbox .mui-checkbox-icon .mui-checkbox-check * { fill: #00bcd4; } .mui-checkbox .mui-checkbox-icon .mui-checkbox-box { position: absolute; } .mui-checkbox .mui-checkbox-icon .mui-checkbox-box * { fill: rgba(0, 0, 0, 0.87); transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 200ms; } .mui-checkbox.mui-is-switched .mui-checkbox-icon .mui-checkbox-check { transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1) 0s; opacity: 1; transform: scale(1); transform-origin: 50% 50%; transition: opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-checkbox.mui-is-switched .mui-checkbox-icon .mui-checkbox-box { transition: all 100s cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-checkbox.mui-is-switched .mui-checkbox-icon .mui-checkbox-box * { fill: #00bcd4; } .mui-checkbox.mui-is-disabled .mui-checkbox-icon .mui-checkbox-check *, .mui-checkbox.mui-is-disabled .mui-checkbox-icon .mui-checkbox-box * { fill: rgba(0, 0, 0, 0.3); } .mui-checkbox.mui-is-required .mui-checkbox-icon .mui-checkbox-box * { fill: #00bcd4; } .mui-date-picker-calendar { font-size: 12px; } .mui-date-picker-calendar .mui-date-picker-calendar-week-title { font-weight: 500; color: rgba(0, 0, 0, 0.5); line-height: 12px; padding: 0 14px; } .mui-date-picker-calendar .mui-date-picker-calendar-week-title:before, .mui-date-picker-calendar .mui-date-picker-calendar-week-title:after { content: " "; display: table; } .mui-date-picker-calendar .mui-date-picker-calendar-week-title:after { clear: both; } .mui-date-picker-calendar .mui-date-picker-calendar-week-title-day { list-style: none; float: left; width: 32px; text-align: center; margin: 0 2px; } .mui-date-picker-calendar .mui-date-picker-calendar-container { transition: height 150ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-date-picker-calendar.mui-is-4week .mui-date-picker-calendar-container { height: 228px; } .mui-date-picker-calendar.mui-is-5week .mui-date-picker-calendar-container { height: 268px; } .mui-date-picker-calendar.mui-is-6week .mui-date-picker-calendar-container { height: 308px; } .mui-is-landscape .mui-date-picker-calendar:before, .mui-is-landscape .mui-date-picker-calendar:after { content: " "; display: table; } .mui-is-landscape .mui-date-picker-calendar:after { clear: both; } .mui-is-landscape .mui-date-picker-calendar-date-display { width: 280px; height: 100%; float: left; } .mui-is-landscape .mui-date-picker-calendar-container { width: 280px; float: right; } .mui-date-picker-calendar-month { line-height: 32px; text-align: center; padding: 8px 14px 0 14px; background-color: #ffffff; } .mui-date-picker-calendar-month .mui-date-picker-calendar-month-week:before, .mui-date-picker-calendar-month .mui-date-picker-calendar-month-week:after { content: " "; display: table; } .mui-date-picker-calendar-month .mui-date-picker-calendar-month-week:after { clear: both; } .mui-date-picker-calendar-toolbar { height: 48px; position: relative; } .mui-date-picker-calendar-toolbar .mui-date-picker-calendar-toolbar-title { line-height: 48px; font-size: 14px; text-align: center; font-weight: 500; } .mui-date-picker-calendar-toolbar .mui-date-picker-calendar-toolbar-button-left { position: absolute; left: 0; top: 0; } .mui-date-picker-calendar-toolbar .mui-date-picker-calendar-toolbar-button-right { position: absolute; right: 0; top: 0; } .mui-date-picker-date-display { text-align: center; position: relative; } .mui-date-picker-date-display .mui-date-picker-date-display-dow { font-size: 13px; height: 32px; line-height: 32px; background-color: #0097a7; color: #ffffff; border-radius: 2px 2px 0 0; } .mui-date-picker-date-display .mui-date-picker-date-display-date { padding: 16px 0; background-color: #00bcd4; color: #ffffff; } .mui-date-picker-date-display .mui-date-picker-date-display-month, .mui-date-picker-date-display .mui-date-picker-date-display-year { font-size: 22px; line-height: 24px; height: 24px; text-transform: uppercase; } .mui-date-picker-date-display .mui-date-picker-date-display-day { margin: 6px 0; line-height: 58px; height: 58px; font-size: 58px; } .mui-date-picker-date-display .mui-date-picker-date-display-year { color: rgba(255, 255, 255, 0.7); } .mui-is-landscape .mui-date-picker-date-display * { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-is-landscape .mui-date-picker-date-display-dow { border-radius: 2px 0 0 0; } .mui-is-landscape .mui-date-picker-date-display-date { padding: 24px 0; } .mui-is-landscape .mui-date-picker-date-display-day { font-size: 76px; line-height: 76px; height: 76px; } .mui-is-landscape .mui-date-picker-date-display-month, .mui-is-landscape .mui-date-picker-date-display-year { font-size: 26px; line-height: 26px; height: 26px; } .mui-is-landscape .mui-is-5week .mui-date-picker-date-display-date { padding: 30px 0; } .mui-is-landscape .mui-is-5week .mui-date-picker-date-display-day { margin: 24px 0; } .mui-is-landscape .mui-is-6week .mui-date-picker-date-display-date { padding: 50px 0; } .mui-is-landscape .mui-is-6week .mui-date-picker-date-display-day { margin: 24px 0; } .mui-date-picker-dialog { font-size: 14px; color: rgba(0, 0, 0, 0.87); } .mui-date-picker-dialog .mui-date-picker-dialog-window.mui-dialog-window-contents { width: 280px; } .mui-is-landscape .mui-date-picker-dialog-window.mui-dialog-window-contents { width: 560px; } .mui-date-picker-day-button { position: relative; float: left; width: 36px; padding: 4px 2px; } .mui-date-picker-day-button .mui-date-picker-day-button-select { position: absolute; background-color: #0097a7; height: 32px; width: 32px; opacity: 0; border-radius: 50%; transform: scale(0); transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-date-picker-day-button .mui-date-picker-day-button-label { position: relative; } .mui-date-picker-day-button.mui-is-selected .mui-date-picker-day-button-label { color: #ffffff; } .mui-date-picker-day-button.mui-is-selected .mui-date-picker-day-button-select { opacity: 1; transform: scale(1); } .mui-date-picker-day-button.mui-is-current-date { color: #00bcd4; } .mui-dialog-window { position: fixed; z-index: 10; top: 0px; left: -100%; width: 100%; height: 100%; transition: left 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms; } .mui-dialog-window .mui-dialog-window-contents { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; position: relative; width: 75%; max-width: 768px; margin: 0 auto; z-index: 10; background: #ffffff; opacity: 0; } .mui-dialog-window .mui-dialog-window-actions { padding: 8px; margin-bottom: 8px; width: 100%; text-align: right; } .mui-dialog-window .mui-dialog-window-actions .mui-dialog-window-action { margin-right: 8px; } .mui-dialog-window.mui-is-shown { left: 0px; transition: left 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-dialog-window.mui-is-shown .mui-dialog-window-contents { opacity: 1; top: 0px; transform: translate3d(0, 64px, 0); } .mui-dialog .mui-dialog-title { padding: 24px 24px 0 24px; margin-bottom: 0; } .mui-dialog .mui-dialog-content { padding: 24px; } .mui-drop-down-icon { display: inline-block; width: 48px !important; position: relative; height: 56px; font-size: 15px; cursor: pointer; } .mui-drop-down-icon.mui-open .mui-icon-highlight { background-color: rgba(0, 0, 0, 0.1); } .mui-drop-down-icon.mui-open .mui-menu-control .mui-menu-control-bg, .mui-drop-down-icon.mui-open .mui-menu-control:hover .mui-menu-control-bg { opacity: 0; } .mui-drop-down-icon.mui-open .mui-menu-control .mui-menu-label, .mui-drop-down-icon.mui-open .mui-menu-control:hover .mui-menu-label { top: 28px; opacity: 0; } .mui-drop-down-icon.mui-open .mui-menu { opacity: 1; } .mui-drop-down-icon .mui-menu { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; right: -14px !important; top: 9px !important; } .mui-drop-down-icon .mui-menu .mui-menu-item { padding-right: 56px; height: 32px; line-height: 32px; } .mui-drop-down-menu { position: relative; display: inline-block; height: 56px; font-size: 15px; } .mui-drop-down-menu * { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-drop-down-menu.mui-open { background-color: #E0E0E0; } .mui-drop-down-menu.mui-open .mui-menu-control .mui-menu-control-bg, .mui-drop-down-menu.mui-open .mui-menu-control:hover .mui-menu-control-bg { opacity: 0; } .mui-drop-down-menu.mui-open .mui-menu { opacity: 1; } .mui-drop-down-menu .mui-menu-control { cursor: pointer; height: 100%; } .mui-drop-down-menu .mui-menu-control:before, .mui-drop-down-menu .mui-menu-control:after { content: " "; display: table; } .mui-drop-down-menu .mui-menu-control:after { clear: both; } .mui-drop-down-menu .mui-menu-control .mui-menu-control-bg { background-color: #ffffff; height: 100%; width: 100%; opacity: 0; } .mui-drop-down-menu .mui-menu-control:hover .mui-menu-control-bg { opacity: 1; } .mui-drop-down-menu .mui-menu-control .mui-menu-label { line-height: 56px; position: absolute; padding-left: 24px; top: 0; opacity: 1; } .mui-drop-down-menu .mui-menu-control .mui-menu-drop-down-icon { position: absolute; top: 16px; right: 16px; } .mui-drop-down-menu .mui-menu-control .mui-menu-drop-down-icon * { fill: rgba(0, 0, 0, 0.26); } .mui-drop-down-menu .mui-menu-control .mui-menu-control-underline { border-top: solid 1px #e0e0e0; margin: 0 24px; } .mui-drop-down-menu .mui-menu .mui-menu-item { padding-right: 48px; height: 32px; line-height: 32px; white-space: nowrap; } .mui-enhanced-button { border: 0; background: none; } .mui-enhanced-button:focus { outline: none; } .mui-enhanced-button.mui-is-link-button { display: inline-block; cursor: pointer; text-decoration: none; } .mui-enhanced-button.mui-is-link-button:hover { text-decoration: none; } .mui-enhanced-button.mui-is-link-button.mui-is-disabled { cursor: default; } .mui-enhanced-switch { position: relative; cursor: pointer; overflow: visible; display: table; height: auto; width: 100%; } .mui-enhanced-switch .mui-enhanced-switch-input { position: absolute; cursor: pointer; pointer-events: all; opacity: 0; width: 100%; height: 100%; z-index: 2; left: 0; } .mui-enhanced-switch .mui-enhanced-switch-wrap { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; float: left; position: relative; display: table-column; } .mui-enhanced-switch .mui-enhanced-switch-wrap .mui-touch-ripple, .mui-enhanced-switch .mui-enhanced-switch-wrap .mui-focus-ripple-inner { width: 200%; height: 200%; top: -12px; left: -12px; } .mui-enhanced-switch .mui-switch-label { float: left; position: relative; display: table-column; width: calc(100% - 60px); line-height: 24px; } .mui-enhanced-switch.mui-is-switched .mui-focus-ripple-inner, .mui-enhanced-switch.mui-is-switched .mui-ripple-circle-inner { background-color: rgba(0, 188, 212, 0.2); } .mui-enhanced-textarea .mui-enhanced-textarea-shadow, .mui-enhanced-textarea .mui-enhanced-textarea-input { width: 100%; resize: none; } .mui-enhanced-textarea .mui-enhanced-textarea-input { overflow: hidden; } .mui-enhanced-textarea .mui-enhanced-textarea-shadow { transform: scale(0); position: absolute; } .mui-flat-button { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; font-size: 14px; line-height: 20px; padding-top: 5px; margin-bottom: 15px; letter-spacing: 0; text-transform: uppercase; font-weight: 500; border-radius: 2px; user-select: none; position: relative; overflow: hidden; background-color: #ffffff; color: rgba(0, 0, 0, 0.87); line-height: 36px; min-width: 88px; padding: 0 16px; margin: 0; transform: translate3d(0, 0, 0); } .mui-flat-button .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(0, 0, 0, 0.1); } .mui-flat-button .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(0, 0, 0, 0.07); } .mui-flat-button .mui-flat-button-label { position: relative; } .mui-flat-button:hover, .mui-flat-button.mui-is-keyboard-focused { background-color: #e6e6e6; } .mui-flat-button.mui-is-disabled { color: rgba(0, 0, 0, 0.3); } .mui-flat-button.mui-is-disabled:hover { background-color: inherit; } .mui-flat-button.mui-is-primary { color: #ff4081; } .mui-flat-button.mui-is-primary:hover, .mui-flat-button.mui-is-primary.mui-is-keyboard-focused { background-color: #ffe3ed; } .mui-flat-button.mui-is-primary .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(255, 64, 129, 0.2); } .mui-flat-button.mui-is-primary .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(255, 64, 129, 0.2); } .mui-flat-button.mui-is-secondary { color: #00bcd4; } .mui-flat-button.mui-is-secondary:hover, .mui-flat-button.mui-is-secondary.mui-is-keyboard-focused { background-color: #defbff; } .mui-flat-button.mui-is-secondary .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(0, 188, 212, 0.2); } .mui-flat-button.mui-is-secondary .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(0, 188, 212, 0.2); } .mui-floating-action-button { display: inline-block; } .mui-floating-action-button, .mui-floating-action-button * { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-floating-action-button .mui-floating-action-button-container { position: relative; height: 56px; width: 56px; padding: 0; overflow: hidden; background-color: #ff4081; border-radius: 50%; transform: translate3d(0, 0, 0); } .mui-floating-action-button .mui-floating-action-button-container.mui-is-disabled { background-color: #e6e6e6; } .mui-floating-action-button .mui-floating-action-button-container.mui-is-disabled .mui-floating-action-button-icon { color: rgba(0, 0, 0, 0.3); } .mui-floating-action-button .mui-floating-action-button-container.mui-is-disabled:hover { background-color: #e6e6e6; } .mui-floating-action-button .mui-floating-action-button-container:hover, .mui-floating-action-button .mui-floating-action-button-container.mui-is-keyboard-focused { background-color: #f30053; } .mui-floating-action-button .mui-floating-action-button-icon { line-height: 56px; color: #ffffff; fill: #ffffff; } .mui-floating-action-button .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(255, 255, 255, 0.5); } .mui-floating-action-button .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(255, 255, 255, 0.5); } .mui-floating-action-button.mui-is-mini .mui-floating-action-button-container { height: 40px; width: 40px; } .mui-floating-action-button.mui-is-mini .mui-floating-action-button-icon { line-height: 40px; } .mui-floating-action-button.mui-is-secondary .mui-floating-action-button-container { background-color: #00bcd4; } .mui-floating-action-button.mui-is-secondary .mui-floating-action-button-container:hover, .mui-floating-action-button.mui-is-secondary .mui-floating-action-button-container.mui-is-keyboard-focused { background-color: #00aac0; } .mui-floating-action-button.mui-is-secondary .mui-floating-action-button-icon { color: #ffffff; } .mui-floating-action-button.mui-is-secondary .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(255, 255, 255, 0.35); } .mui-floating-action-button.mui-is-secondary .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(255, 255, 255, 0.35); } .mui-font-icon { position: relative; font-size: 24px; display: inline-block; user-select: none; } .mui-icon-button { position: relative; padding: 12px; } .mui-icon-button * { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-icon-button .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); border: solid 6px rgba(0, 0, 0, 0); background-clip: padding-box; animation: icon-button-focus-ripple-pulsate 1.5s ease 0s infinite; } @keyframes icon-button-focus-ripple-pulsate { 0%, 100% { transform: scale(0.75); } 50% { transform: scale(1); } } .mui-icon-button .mui-icon-button-tooltip { margin-top: 52px; } .mui-icon-button.mui-is-disabled * { color: rgba(191, 191, 191, 0.87); fill: rgba(191, 191, 191, 0.87); } .mui-dark-theme .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(255, 255, 255, 0.3); } .mui-dark-theme .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(255, 255, 255, 0.3); box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3); } .mui-ink-bar { bottom: 0; display: block; background-color: yellow; height: 2px; margin-top: -2px; position: relative; transition: left 1s cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-input { position: relative; margin-top: 24px; margin-bottom: 48px; } .mui-input input, .mui-input textarea { background-color: transparent; font-size: 16px; border: 0; outline: none; border-bottom: 1px solid lightgray; padding: 0; box-sizing: border-box; padding-bottom: 14px; } .mui-input input[type='text'], .mui-input textarea[type='text'], .mui-input input[type='password'], .mui-input textarea[type='password'], .mui-input input[type='email'], .mui-input textarea[type='email'] { display: block; width: 320px; } .mui-input input:focus, .mui-input textarea:focus, .mui-input input.mui-is-not-empty, .mui-input textarea.mui-is-not-empty, .mui-input input:disabled[value]:not([value=""]), .mui-input textarea:disabled[value]:not([value=""]) { outline: none; box-shadow: none; } .mui-input input:focus ~ .mui-input-placeholder, .mui-input textarea:focus ~ .mui-input-placeholder, .mui-input input.mui-is-not-empty ~ .mui-input-placeholder, .mui-input textarea.mui-is-not-empty ~ .mui-input-placeholder, .mui-input input:disabled[value]:not([value=""]) ~ .mui-input-placeholder, .mui-input textarea:disabled[value]:not([value=""]) ~ .mui-input-placeholder { color: blue; font-size: 13px !important; font-weight: 300; top: -32px; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-input input:focus ~ .mui-input-highlight, .mui-input textarea:focus ~ .mui-input-highlight, .mui-input input.mui-is-not-empty ~ .mui-input-highlight, .mui-input textarea.mui-is-not-empty ~ .mui-input-highlight, .mui-input input:disabled[value]:not([value=""]) ~ .mui-input-highlight, .mui-input textarea:disabled[value]:not([value=""]) ~ .mui-input-highlight { width: 0; background-color: blue; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-input input:focus ~ .mui-input-bar::before, .mui-input textarea:focus ~ .mui-input-bar::before, .mui-input input.mui-is-not-empty ~ .mui-input-bar::before, .mui-input textarea.mui-is-not-empty ~ .mui-input-bar::before, .mui-input input:disabled[value]:not([value=""]) ~ .mui-input-bar::before, .mui-input textarea:disabled[value]:not([value=""]) ~ .mui-input-bar::before, .mui-input input:focus ~ .mui-input-bar::after, .mui-input textarea:focus ~ .mui-input-bar::after, .mui-input input.mui-is-not-empty ~ .mui-input-bar::after, .mui-input textarea.mui-is-not-empty ~ .mui-input-bar::after, .mui-input input:disabled[value]:not([value=""]) ~ .mui-input-bar::after, .mui-input textarea:disabled[value]:not([value=""]) ~ .mui-input-bar::after { background-color: blue; width: 50%; } .mui-input input:focus ~ .mui-input-description, .mui-input textarea:focus ~ .mui-input-description, .mui-input input.mui-is-not-empty ~ .mui-input-description, .mui-input textarea.mui-is-not-empty ~ .mui-input-description, .mui-input input:disabled[value]:not([value=""]) ~ .mui-input-description, .mui-input textarea:disabled[value]:not([value=""]) ~ .mui-input-description { display: block; } .mui-input input:not(:focus).mui-is-not-empty + .mui-input-placeholder, .mui-input textarea:not(:focus).mui-is-not-empty + .mui-input-placeholder, .mui-input input:disabled[value]:not([value=""]) + .mui-input-placeholder, .mui-input textarea:disabled[value]:not([value=""]) + .mui-input-placeholder { color: gray; } .mui-input input:not(:focus).mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input textarea:not(:focus).mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input input:disabled[value]:not([value=""]) + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input textarea:disabled[value]:not([value=""]) + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input input:not(:focus).mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after, .mui-input textarea:not(:focus).mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after, .mui-input input:disabled[value]:not([value=""]) + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after, .mui-input textarea:disabled[value]:not([value=""]) + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after { width: 0; } .mui-input input:not(:focus).mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description, .mui-input textarea:not(:focus).mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description, .mui-input input:disabled[value]:not([value=""]) + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description, .mui-input textarea:disabled[value]:not([value=""]) + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description { display: none; } .mui-input input + .mui-input-placeholder, .mui-input textarea + .mui-input-placeholder { font-size: 16px; color: gray; position: absolute; top: -4px; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-input .mui-input-highlight { content: ''; position: absolute; background-color: transparent; opacity: 0.25; height: 19px; top: -3px; width: 160px; z-index: -1; } .mui-input .mui-input-bar { position: relative; display: block; width: 320px; } .mui-input .mui-input-bar::before, .mui-input .mui-input-bar::after { content: ''; height: 2px; top: -2px; width: 0; position: absolute; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-input .mui-input-bar::before { left: 50%; } .mui-input .mui-input-bar::after { right: 50%; } .mui-input .mui-input-description { display: none; color: blue; position: absolute; } .mui-input .mui-input-error { display: none; color: red; position: absolute; } .mui-input.mui-error input:focus + .mui-input-placeholder, .mui-input.mui-error textarea:focus + .mui-input-placeholder, .mui-input.mui-error input.mui-is-not-empty + .mui-input-placeholder, .mui-input.mui-error textarea.mui-is-not-empty + .mui-input-placeholder { color: red; } .mui-input.mui-error input:focus + .mui-input-placeholder + .mui-input-highlight, .mui-input.mui-error textarea:focus + .mui-input-placeholder + .mui-input-highlight, .mui-input.mui-error input.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight, .mui-input.mui-error textarea.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight { width: 0; background-color: red; } .mui-input.mui-error input:focus + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input.mui-error textarea:focus + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input.mui-error input.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input.mui-error textarea.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::before, .mui-input.mui-error input:focus + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after, .mui-input.mui-error textarea:focus + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after, .mui-input.mui-error input.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after, .mui-input.mui-error textarea.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar::after { background-color: red; } .mui-input.mui-error input:focus + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description, .mui-input.mui-error textarea:focus + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description, .mui-input.mui-error input.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description, .mui-input.mui-error textarea.mui-is-not-empty + .mui-input-placeholder + .mui-input-highlight + .mui-input-bar + .mui-input-description { display: none; } .mui-input.mui-error .mui-input-error { display: block; } .mui-input.mui-floating { margin-top: 24px; } .mui-input.mui-floating input:focus + .mui-input-placeholder, .mui-input.mui-floating textarea:focus + .mui-input-placeholder { display: block; color: gray; font-size: 16px !important; font-weight: 400; top: -4px; } .mui-input.mui-floating input:focus.mui-is-not-empty + .mui-input-placeholder, .mui-input.mui-floating textarea:focus.mui-is-not-empty + .mui-input-placeholder { display: none; } .mui-input.mui-floating input.mui-is-not-empty + .mui-input-placeholder, .mui-input.mui-floating textarea.mui-is-not-empty + .mui-input-placeholder { display: none; } .mui-input.mui-disabled { opacity: 0.4; } .mui-input::-webkit-input-placeholder { position: absolute !important; top: -20px !important; } .mui-left-nav .mui-left-nav-menu { height: 100%; position: fixed; width: 256px; background-color: #ffffff; z-index: 10; left: 0px; top: 0px; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-left-nav .mui-left-nav-menu .mui-menu .mui-menu-item { height: 48px; line-height: 48px; } .mui-left-nav .mui-left-nav-menu .mui-menu a.mui-menu-item { display: block; text-decoration: none; color: rgba(0, 0, 0, 0.87); } .mui-left-nav.mui-closed .mui-left-nav-menu { transform: translate3d(-266px, 0, 0); } .mui-menu { background-color: #ffffff; } .mui-menu * { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-menu.mui-menu-hideable { opacity: 0; position: absolute; top: 0; z-index: 1; } .mui-menu.mui-menu-hideable .mui-paper-container { overflow: hidden; padding: 0; } .mui-menu.mui-menu-hideable.mui-visible > .mui-paper-container { padding-top: 8px; padding-bottom: 8px; } .mui-menu .mui-paper-container { padding-top: 8px; padding-bottom: 8px; } .mui-menu .mui-subheader { padding-left: 24px; padding-right: 24px; } .mui-menu .mui-nested-menu-item { position: relative; } .mui-menu .mui-nested-menu-item.mui-open > .mui-menu { opacity: 1; } .mui-menu-item { cursor: pointer; line-height: 48px; padding-left: 24px; padding-right: 24px; background-color: rgba(0, 0, 0, 0); } .mui-menu-item * { user-select: none; } .mui-menu-item:hover { background-color: rgba(0, 0, 0, 0.035); } .mui-menu-item .mui-menu-item-number { float: right; width: 24px; text-align: center; } .mui-menu-item .mui-menu-item-attribute { float: right; } .mui-menu-item .mui-menu-item-icon-right { line-height: 48px; float: right; } .mui-menu-item .mui-menu-item-icon { float: left; line-height: 48px; margin-right: 24px; } .mui-menu-item .mui-menu-item-data { display: block; padding-left: 48px; line-height: 32px; height: 32px; vertical-align: top; top: -12px; position: relative; font-weight: 300; } .mui-menu-item .muidocs-icon-custom-arrow-drop-right { margin-right: -8px; color: rgba(0, 0, 0, 0.26); } .mui-menu-item .mui-toggle { margin-top: 12px; float: right; width: 42px; } .mui-menu-item.mui-is-selected { color: #ff4081; } .mui-overlay { position: fixed; height: 100%; width: 100%; z-index: 9; top: 0px; left: -100%; background-color: rgba(0, 0, 0, 0); transition: left 0ms cubic-bezier(0.23, 1, 0.32, 1) 400ms, background-color 400ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-overlay.mui-is-shown { left: 0px; background-color: rgba(0, 0, 0, 0.54); transition: left 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, background-color 400ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-paper.mui-rounded { border-radius: 2px; } .mui-paper.mui-rounded > .mui-paper-container { border-radius: 2px; } .mui-paper.mui-circle { border-radius: 50%; } .mui-paper.mui-circle > .mui-paper-container { border-radius: 50%; } .mui-paper > .mui-paper-container { height: 100%; width: 100%; } .mui-paper.mui-z-depth-1 { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24); } .mui-paper.mui-z-depth-1 > .mui-z-depth-bottom { box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); } .mui-paper.mui-z-depth-2 { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23); } .mui-paper.mui-z-depth-2 > .mui-z-depth-bottom { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16); } .mui-paper.mui-z-depth-3 { box-shadow: 0 6px 10px rgba(0, 0, 0, 0.23); } .mui-paper.mui-z-depth-3 > .mui-z-depth-bottom { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.19); } .mui-paper.mui-z-depth-4 { box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22); } .mui-paper.mui-z-depth-4 > .mui-z-depth-bottom { box-shadow: 0 14px 45px rgba(0, 0, 0, 0.25); } .mui-paper.mui-z-depth-5 { box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22); } .mui-paper.mui-z-depth-5 > .mui-z-depth-bottom { box-shadow: 0 19px 60px rgba(0, 0, 0, 0.3); } .mui-radio-button .mui-radio-button-icon { height: 24px; width: 24px; margin-right: 16px; } .mui-radio-button .mui-radio-button-icon .mui-radio-button-fill { position: absolute; opacity: 0; transform: scale(0); transform-origin: 50% 50%; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-radio-button .mui-radio-button-icon .mui-radio-button-fill * { fill: #00bcd4; } .mui-radio-button .mui-radio-button-icon .mui-radio-button-target { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; position: absolute; opacity: 1; transform: scale(1); } .mui-radio-button .mui-radio-button-icon .mui-radio-button-target * { fill: rgba(0, 0, 0, 0.87); transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 200ms; } .mui-radio-button.mui-is-switched .mui-radio-button-icon .mui-radio-button-fill { opacity: 1; transform: scale(1); } .mui-radio-button.mui-is-switched .mui-radio-button-icon .mui-radio-button-target { opacity: 0; transform: scale(0); } .mui-radio-button.mui-is-switched .mui-radio-button-icon .mui-radio-button-target * { fill: #00bcd4; transition: all 100s cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-radio-button.mui-is-disabled .mui-radio-button-icon .mui-radio-button-fill *, .mui-radio-button.mui-is-disabled .mui-radio-button-icon .mui-radio-button-target * { fill: rgba(0, 0, 0, 0.3); } .mui-radio-button.mui-is-required .mui-radio-button-icon .mui-radio-button-target * { fill: #00bcd4; } .mui-raised-button { display: inline-block; min-width: 88px; height: 36px; } .mui-raised-button, .mui-raised-button * { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-raised-button .mui-raised-button-container { position: relative; width: 100%; padding: 0; overflow: hidden; border-radius: 2px; background-color: #ffffff; transform: translate3d(0, 0, 0); } .mui-raised-button .mui-raised-button-container.mui-is-keyboard-focused { background-color: #e6e6e6; } .mui-raised-button .mui-raised-button-container.mui-is-disabled { background-color: #e6e6e6; } .mui-raised-button .mui-raised-button-container.mui-is-disabled .mui-raised-button-label { color: rgba(0, 0, 0, 0.3); } .mui-raised-button .mui-raised-button-container.mui-is-disabled:hover { background-color: #e6e6e6; } .mui-raised-button .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(0, 0, 0, 0.1); } .mui-raised-button .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(0, 0, 0, 0.07); } .mui-raised-button .mui-raised-button-label { position: relative; font-size: 14px; line-height: 20px; padding-top: 5px; margin-bottom: 15px; letter-spacing: 0; text-transform: uppercase; font-weight: 500; margin: 0; padding: 0 16px; user-select: none; line-height: 36px; color: rgba(0, 0, 0, 0.87); } .mui-raised-button:hover .mui-raised-button-container { background-color: #e6e6e6; } .mui-raised-button.mui-is-primary .mui-raised-button-container { background-color: #ff4081; } .mui-raised-button.mui-is-primary .mui-raised-button-container.mui-is-keyboard-focused { background-color: #f30053; } .mui-raised-button.mui-is-primary .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(255, 255, 255, 0.5); } .mui-raised-button.mui-is-primary .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(255, 255, 255, 0.5); } .mui-raised-button.mui-is-primary .mui-raised-button-label { color: #ffffff; } .mui-raised-button.mui-is-primary:hover .mui-raised-button-container { background-color: #f30053; } .mui-raised-button.mui-is-secondary .mui-raised-button-container { background-color: #00bcd4; } .mui-raised-button.mui-is-secondary .mui-raised-button-container.mui-is-keyboard-focused { background-color: #00aac0; } .mui-raised-button.mui-is-secondary .mui-touch-ripple .mui-ripple-circle-inner { background-color: rgba(255, 255, 255, 0.35); } .mui-raised-button.mui-is-secondary .mui-focus-ripple .mui-focus-ripple-inner { background-color: rgba(255, 255, 255, 0.35); } .mui-raised-button.mui-is-secondary .mui-raised-button-label { color: #ffffff; } .mui-raised-button.mui-is-secondary:hover .mui-raised-button-container { background-color: #00aac0; } .mui-focus-ripple { position: absolute; height: 100%; width: 100%; top: 0; left: 0; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; transform: scale(0); opacity: 0; } .mui-focus-ripple .mui-focus-ripple-inner { position: absolute; height: 100%; width: 100%; border-radius: 50%; background-color: rgba(0, 0, 0, 0.1); animation: focus-ripple-pulsate 1.5s ease 0s infinite; } @keyframes focus-ripple-pulsate { 0%, 100% { transform: scale(0.75); } 50% { transform: scale(0.85); } } .mui-focus-ripple.mui-is-shown { transform: scale(1); opacity: 1; } .mui-ripple-circle { position: absolute; top: 0; left: 0; height: 100%; width: 100%; opacity: 0.7; transition: opacity 2s cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-ripple-circle .mui-ripple-circle-inner { height: 100%; width: 100%; border-radius: 50%; transform: scale(0); background-color: rgba(0, 0, 0, 0.2); transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-ripple-circle.mui-is-started { opacity: 1; } .mui-ripple-circle.mui-is-started .mui-ripple-circle-inner { transform: scale(1); } .mui-ripple-circle.mui-is-ending { opacity: 0; } .mui-touch-ripple { height: 100%; width: 100%; position: absolute; top: 0; left: 0; } .react-draggable, .react-draggable-dragging { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; } .react-draggable { position: relative; } .mui-slider { -webkit-touch-callout: none; cursor: default; height: 24px; position: relative; } .mui-slider .mui-slider-track { position: absolute; top: 11px; left: 0; width: 100%; height: 2px; } .mui-slider .mui-slider-selection { position: absolute; top: 0; height: 100%; } .mui-slider .mui-slider-selection .mui-slider-selection-fill { height: 100%; transition: margin 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-slider .mui-slider-selection-low { left: 0; } .mui-slider .mui-slider-selection-low .mui-slider-selection-fill { background-color: rgba(0, 0, 0, 0.26); margin-right: 6px; } .mui-slider .mui-slider-selection-middle .mui-slider-selection-fill { background-color: #b2ebf2; } .mui-slider .mui-slider-selection-high { right: 0; } .mui-slider .mui-slider-selection-high .mui-slider-selection-fill { background-color: rgba(0, 0, 0, 0.26); margin-left: 6px; } .mui-slider .mui-slider-handle { cursor: pointer; position: absolute; top: 0; left: 0%; z-index: 1; margin: 1px 0 0 0; background-clip: padding-box; border-radius: 50%; transform: translate(-50%, -50%); transition: border 450ms cubic-bezier(0.23, 1, 0.32, 1), width 450ms cubic-bezier(0.23, 1, 0.32, 1), height 450ms cubic-bezier(0.23, 1, 0.32, 1); width: 12px; height: 12px; } .mui-slider .mui-slider-handle:focus { outline: none; } .mui-slider:not(.mui-disabled) .mui-slider-handle { border: 0px solid transparent; background-color: #b2ebf2; } .mui-slider:not(.mui-disabled) .mui-slider-handle:active { width: 24px; height: 24px; } .mui-slider:not(.mui-disabled):hover .mui-slider-selection-high .mui-slider-selection-fill, .mui-slider:not(.mui-disabled):focus .mui-slider-selection-high .mui-slider-selection-fill { background: #9e9e9e; } .mui-slider:not(.mui-disabled):hover:not(.mui-slider-zero) .mui-slider-handle:not(:active), .mui-slider:not(.mui-disabled):focus:not(.mui-slider-zero) .mui-slider-handle:not(:active) { border: 12px solid rgba(178, 235, 242, 0.2); width: 36px; height: 36px; } .mui-slider:not(.mui-disabled).mui-slider-zero .mui-slider-handle { border: 2px solid rgba(0, 0, 0, 0.26); background-color: transparent; box-shadow: none; } .mui-slider:not(.mui-disabled).mui-slider-zero .mui-slider-handle:active { border-color: #9e9e9e; width: 24px !important; height: 24px !important; transition: background-color 450ms cubic-bezier(0.23, 1, 0.32, 1), width 450ms cubic-bezier(0.23, 1, 0.32, 1), height 450ms cubic-bezier(0.23, 1, 0.32, 1); } .mui-slider:not(.mui-disabled).mui-slider-zero .mui-slider-handle:active ~ .mui-slider-selection-high .mui-slider-selection-fill { margin-left: 12px !important; transition: margin 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-slider:not(.mui-disabled).mui-slider-zero:hover .mui-slider-handle, .mui-slider:not(.mui-disabled).mui-slider-zero:focus .mui-slider-handle { border: 2px solid #bdbdbd; width: 14px; height: 14px; } .mui-slider.mui-disabled { cursor: not-allowed; } .mui-slider.mui-disabled .mui-slider-selection-fill { background-color: rgba(0, 0, 0, 0.26); } .mui-slider.mui-disabled .mui-slider-handle { cursor: not-allowed; background-color: rgba(0, 0, 0, 0.26); width: 8px; height: 8px; } .mui-slider.mui-disabled.mui-slider-zero .mui-slider-selection-low .mui-slider-selection-fill { margin-right: 5px; } .mui-slider.mui-disabled.mui-slider-zero .mui-slider-selection-high .mui-slider-selection-fill { margin-left: 5px; } .mui-slider.mui-disabled.mui-slider-zero .mui-slider-handle { border: 2px solid rgba(0, 0, 0, 0.26); background-color: transparent; } .mui-snackbar { color: white; background-color: #323232; border-radius: 2px; padding: 0 24px; height: 48px; line-height: 48px; min-width: 288px; max-width: 568px; position: fixed; z-index: 10; bottom: 24px; margin-left: 24px; left: -10000px; opacity: 0; transform: translate3d(0, 20px, 0); transition: left 0ms cubic-bezier(0.23, 1, 0.32, 1) 400ms, opacity 400ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 400ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-snackbar .mui-snackbar-action { color: #ff4081; float: right; margin-top: 6px; margin-right: -16px; margin-left: 24px; background-color: transparent; } .mui-snackbar.mui-is-open { left: 0; opacity: 1; transform: translate3d(0, 0, 0); transition: left 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, opacity 400ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 400ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-subheader { font-size: 13px; line-height: 24px; padding-top: 4px; margin-bottom: 12px; letter-spacing: 0; font-weight: 500; color: rgba(0, 0, 0, 0.87); margin: 0; height: 56px; line-height: 48px; color: #00bcd4; border-top: solid 1px #e0e0e0; padding-top: 8px; margin-top: 8px; } .mui-subheader:first-child { height: 48px; border-top: none; padding-top: 0; margin-top: 0; } .mui-svg-icon { position: relative; height: 24px; width: 24px; display: inline-block; user-select: none; } .mui-svg-icon * { fill: rgba(0, 0, 0, 0.87); } .mui-table { padding: 0 24px; } .mui-table .mui-table-header .mui-table-header-column { display: inline-block; height: 48px; line-height: 48px; width: 200px; } .mui-table .mui-table-header .mui-table-header-pagify { display: inline-block; height: 48px; line-height: 48px; float: right; } .mui-table .mui-table-rows .mui-table-rows-item { height: 48px; line-height: 48px; display: block; width: 100%; } .mui-table .mui-table-rows .mui-table-rows-actions { height: 48px; line-height: 48px; display: inline-block; float: right; } .mui-tabs-container { position: relative; } .mui-tabs-container .mui-tab-item-container { margin: 0; padding: 0; width: 100%; height: 48px; background-color: #00bcd4; white-space: nowrap; display: block; } .mui-tabs-container .mui-tab-item-container .mui-tab-item { display: inline-block; height: 100%; cursor: pointer; text-align: center; line-height: 48px; color: #fff; opacity: .6; font-size: 14sp; font-weight: 500; font: 'Roboto', sans-serif; } .mui-tabs-container .mui-tab-item-container .mui-tab-item.mui-tab-is-active { color: #fff; opacity: 1; font: 'Roboto', sans-serif; } .mui-tabs-container .mui-tab-item-container .mui-tab-item .mui-tab-template { display: block; width: 100%; position: relative; text-align: initial; } .mui-text-field { font-size: 16px; line-height: 24px; width: 256px; height: 48px; display: inline-block; position: relative; transition: height 200ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-text-field .mui-text-field-hint, .mui-text-field .mui-text-field-floating-label { position: absolute; line-height: 48px; color: rgba(0, 0, 0, 0.3); opacity: 1; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-text-field .mui-text-field-error { position: absolute; bottom: -10px; font-size: 12px; line-height: 12px; color: #f44336; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-text-field .mui-text-field-input, .mui-text-field .mui-text-field-textarea { position: relative; width: 100%; height: 100%; border: none; outline: none; background-color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0.87); } .mui-text-field .mui-text-field-textarea { margin-top: 12px; } .mui-text-field .mui-text-field-underline, .mui-text-field .mui-text-field-focus-underline { position: absolute; width: 100%; bottom: 8px; margin: 0; } .mui-text-field .mui-text-field-focus-underline { border-color: #00bcd4; border-bottom-width: 2px; transform: scaleX(0); transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-text-field.mui-has-error .mui-text-field-focus-underline { border-color: #f44336; transform: scaleX(1); } .mui-text-field.mui-has-value .mui-text-field-hint { opacity: 0; } .mui-text-field.mui-is-disabled .mui-text-field-input { color: rgba(0, 0, 0, 0.3); } .mui-text-field.mui-is-disabled .mui-text-field-underline { border: none; height: 40px; overflow: hidden; } .mui-text-field.mui-is-disabled .mui-text-field-underline:after { content: '..............................................................................................................................................................................................................................................................................................................................................................'; position: absolute; top: 23px; color: rgba(0, 0, 0, 0.3); } .mui-text-field.mui-is-focused .mui-text-field-focus-underline { transform: scaleX(1); } .mui-text-field.mui-has-floating-labels { height: 72px; } .mui-text-field.mui-has-floating-labels .mui-text-field-floating-label { top: 24px; transform: scale(1) translate3d(0, 0, 0); transform-origin: left top; } .mui-text-field.mui-has-floating-labels .mui-text-field-hint { top: 24px; opacity: 0; } .mui-text-field.mui-has-floating-labels .mui-text-field-input { padding-top: 24px; } .mui-text-field.mui-has-floating-labels.mui-has-value .mui-text-field-floating-label, .mui-text-field.mui-has-floating-labels.mui-is-focused .mui-text-field-floating-label { transform: scale(0.75) translate3d(0, -18px, 0); } .mui-text-field.mui-has-floating-labels.mui-has-value .mui-text-field-floating-label { color: rgba(0, 0, 0, 0.5); } .mui-text-field.mui-has-floating-labels.mui-is-disabled .mui-text-field-hint { color: rgba(0, 0, 0, 0.3); } .mui-text-field.mui-has-floating-labels.mui-is-focused .mui-text-field-hint { opacity: 1; } .mui-text-field.mui-has-floating-labels.mui-is-focused .mui-text-field-floating-label { transform: scale(0.75) translate3d(0, -18px, 0); color: #00bcd4; } .mui-text-field.mui-has-floating-labels.mui-is-focused.mui-has-error .mui-text-field-floating-label { color: #f44336; } .mui-text-field.mui-has-floating-labels.mui-is-focused.mui-has-value .mui-text-field-hint { opacity: 0; } .mui-toggle .mui-toggle-icon { padding: 4px 0px 6px 2px; margin-right: 8px; } .mui-toggle .mui-toggle-icon .mui-toggle-track { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; width: 36px; height: 14px; border-radius: 30px; background-color: rgba(0, 0, 0, 0.26); } .mui-toggle .mui-toggle-icon .mui-toggle-thumb { transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; position: absolute; top: 1px; left: 2px; width: 20px; height: 20px; line-height: 24px; border-radius: 50%; background-color: #fafafa; } .mui-toggle .mui-toggle-icon .mui-toggle-thumb .mui-paper-container { border-radius: 50%; } .mui-toggle .mui-toggle-icon .mui-toggle-thumb .mui-touch-ripple, .mui-toggle .mui-toggle-icon .mui-toggle-thumb .mui-focus-ripple-inner { width: 200%; height: 200%; top: -10px; left: -10px; } .mui-toggle.mui-is-switched .mui-toggle-icon .mui-toggle-track { background-color: rgba(0, 188, 212, 0.5); } .mui-toggle.mui-is-switched .mui-toggle-icon .mui-toggle-thumb { left: 18px; background-color: #00bcd4; } .mui-toggle.mui-is-disabled .mui-toggle-icon { cursor: default; } .mui-toggle.mui-is-disabled .mui-toggle-icon .mui-toggle-track { background-color: rgba(0, 0, 0, 0.12); } .mui-toggle.mui-is-disabled .mui-toggle-icon .mui-toggle-thumb { background-color: #bdbdbd; } .mui-toggle.mui-is-required .mui-toggle-icon .mui-toggle-track { background-color: rgba(0, 188, 212, 0.5); } .mui-toggle.mui-is-required .mui-toggle-icon .mui-toggle-thumb { background-color: #00bcd4; } .mui-toolbar { background-color: #e1e1e1; height: 56px; width: 100%; padding: 0 24px; } .mui-toolbar .mui-toolbar-group { position: relative; } .mui-toolbar .mui-toolbar-group .mui-toolbar-title { padding-right: 16px; line-height: 56px; } .mui-toolbar .mui-toolbar-group .mui-toolbar-separator { background-color: rgba(0, 0, 0, 0.175); display: inline-block; height: 32px; margin-left: 24px; position: relative; top: 12px; width: 1px; } .mui-toolbar .mui-toolbar-group .mui-raised-button, .mui-toolbar .mui-toolbar-group .mui-flat-button { margin: 0 24px; margin-top: 10px; position: relative; } .mui-toolbar .mui-toolbar-group .mui-drop-down-menu { color: rgba(0, 0, 0, 0.54); display: inline-block; margin-right: 24px; } .mui-toolbar .mui-toolbar-group .mui-drop-down-menu .mui-menu-control-bg { background-color: #ffffff; border-radius: 0; } .mui-toolbar .mui-toolbar-group .mui-drop-down-menu .mui-menu-control .mui-menu-control-underline { display: none; } .mui-toolbar .mui-toolbar-group .mui-drop-down-menu .mui-font-icon:hover { color: rgba(0, 0, 0, 0.4); } .mui-toolbar .mui-toolbar-group .mui-font-icon { color: rgba(0, 0, 0, 0.4); cursor: pointer; line-height: 56px; padding-left: 24px; } .mui-toolbar .mui-toolbar-group .mui-font-icon:hover { color: rgba(0, 0, 0, 0.87); z-index: 1; } .mui-toolbar .mui-toolbar-group.mui-left { float: left; } .mui-toolbar .mui-toolbar-group.mui-left .mui-drop-down-menu, .mui-toolbar .mui-toolbar-group.mui-left .mui-font-icon, .mui-toolbar .mui-toolbar-group.mui-left .mui-toolbar-separator, .mui-toolbar .mui-toolbar-group.mui-left .mui-drop-down-icon { float: left; } .mui-toolbar .mui-toolbar-group.mui-left:first-child { margin-left: -24px; } .mui-toolbar .mui-toolbar-group.mui-left:first-child .mui-toolbar-title { margin-left: 24px; } .mui-toolbar .mui-toolbar-group.mui-right { float: right; } .mui-toolbar .mui-toolbar-group.mui-right * { vertical-align: top; } .mui-toolbar .mui-toolbar-group.mui-right:last-child { margin-right: -24px; } .mui-tooltip { position: absolute; font-family: 'Roboto'; font-size: 10px; line-height: 22px; padding: 0 8px; color: #ffffff; overflow: hidden; top: -10000px; border-radius: 2px; user-select: none; opacity: 0; transition: top 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms, transform 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-tooltip .mui-tooltip-label { position: relative; white-space: nowrap; } .mui-tooltip .mui-tooltip-ripple { position: absolute; left: 50%; top: 0px; transform: translate(-50%, -50%); border-radius: 50%; background-color: transparent; transition: width 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms, height 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms, background-color 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-tooltip.mui-is-shown { top: -16px; opacity: 1; transform: translate3d(0px, 16px, 0px); transition: top 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-tooltip.mui-is-shown .mui-tooltip-ripple { background-color: #757575; transition: width 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, height 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, background-color 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-tooltip.mui-is-touch { font-size: 14px; line-height: 44px; padding: 0 16px; } .mui-tooltip.mui-is-touch.mui-is-shown .mui-tooltip-ripple { height: 105px; width: 105px; } .mui-transition-slide-in { position: relative; overflow: hidden; height: 100%; } .mui-transition-slide-in .mui-transition-slide-in-child { position: absolute; height: 100%; width: 100%; top: 0px; left: 0px; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .mui-transition-slide-in .mui-transition-slide-in-enter { opacity: 0; } .mui-transition-slide-in .mui-transition-slide-in-enter-active { opacity: 1; } .mui-transition-slide-in .mui-transition-slide-in-leave { opacity: 1; } .mui-transition-slide-in .mui-transition-slide-in-leave-active { opacity: 0; } .mui-transition-slide-in.mui-is-left .mui-transition-slide-in-enter { transform: translate3d(100%, 0, 0); } .mui-transition-slide-in.mui-is-left .mui-transition-slide-in-enter-active { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-left .mui-transition-slide-in-leave { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-left .mui-transition-slide-in-leave-active { transform: translate3d(-100%, 0, 0); } .mui-transition-slide-in.mui-is-right .mui-transition-slide-in-enter { transform: translate3d(-100%, 0, 0); } .mui-transition-slide-in.mui-is-right .mui-transition-slide-in-enter-active { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-right .mui-transition-slide-in-leave { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-right .mui-transition-slide-in-leave-active { transform: translate3d(100%, 0, 0); } .mui-transition-slide-in.mui-is-up .mui-transition-slide-in-enter { transform: translate3d(0, 100%, 0); } .mui-transition-slide-in.mui-is-up .mui-transition-slide-in-enter-active { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-up .mui-transition-slide-in-leave { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-up .mui-transition-slide-in-leave-active { transform: translate3d(0, -100%, 0); } .mui-transition-slide-in.mui-is-down .mui-transition-slide-in-enter { transform: translate3d(0, -100%, 0); } .mui-transition-slide-in.mui-is-down .mui-transition-slide-in-enter-active { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-down .mui-transition-slide-in-leave { transform: translate3d(0, 0, 0); } .mui-transition-slide-in.mui-is-down .mui-transition-slide-in-leave-active { transform: translate3d(0, 100%, 0); }
br0r/material-ui
src/less/material-styles.css
CSS
mit
58,861
The MIT License Copyright (c) Anirvan Chakraborty, http://github.com/anirvanc 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.
anirvanc/dotfiles
LICENSE.md
Markdown
mit
1,102
/* require-2.1.5.d.ts may be freely distributed under the MIT license. Copyright (c) 2013 Josh Baldwin https://github.com/jbaldwin/require.d.ts 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. */ interface RequireError extends Error { /** * Error Type **/ requireType: string; /** * Required modules. **/ requireModules: string[]; /** * Original error, might be null. **/ originalError: Error; } interface RequireShim { /** * List of dependencies. **/ deps?: string[]; /** * Name the module will be exported as. **/ exports?: string; /** * Initialize function with all dependcies passed in, * if the function returns a value then that value is used * as the module export value instead of the object * found via the 'exports' string. * @param dependencies * @return **/ init?: (...dependencies: any[]) => any; } interface RequireConfig { // The root path to use for all module lookups. baseUrl?: string; // Path mappings for module names not found directly under // baseUrl. paths?: { [key: string]: string; }; // Dictionary of Shim's. // does not cover case of key->string[] shim?: { [key: string]: RequireShim; }; /** * For the given module prefix, instead of loading the * module with the given ID, substitude a different * module ID. * * @example * requirejs.config({ * map: { * 'some/newmodule': { * 'foo': 'foo1.2' * }, * 'some/oldmodule': { * 'foo': 'foo1.0' * } * } * }); **/ map?: { [id: string]: { [id: string]: string; }; }; /** * AMD configurations, use module.config() to access in * define() functions **/ config?: { [id: string]: {}; }; /** * Configures loading modules from CommonJS packages. **/ packages?: {}; /** * The number of seconds to wait before giving up on loading * a script. The default is 7 seconds. **/ waitSeconds?: number; /** * A name to give to a loading context. This allows require.js * to load multiple versions of modules in a page, as long as * each top-level require call specifies a unique context string. **/ context?: string; /** * An array of dependencies to load. **/ deps?: string[]; /** * A function to pass to require that should be require after * deps have been loaded. * @param modules **/ callback?: (...modules: any[]) => void; /** * If set to true, an error will be thrown if a script loads * that does not call define() or have shim exports string * value that can be checked. **/ enforceDefine?: boolean; /** * If set to true, document.createElementNS() will be used * to create script elements. **/ xhtml?: boolean; /** * Extra query string arguments appended to URLs that RequireJS * uses to fetch resources. Most useful to cachce bust when * the browser or server is not configured correcty. * * @example * urlArgs: "bust= + (new Date()).getTime() **/ urlArgs?: string; /** * Specify the value for the type="" attribute used for script * tags inserted into the document by RequireJS. Default is * "text/javascript". To use Firefox's JavasScript 1.8 * features, use "text/javascript;version=1.8". **/ scriptType?: string; } // todo: not sure what to do with this guy interface RequireModule { /** * **/ config(): {}; } interface RequireMap { prefix: string; name: string; parentMap: RequireMap; url: string; originalName: string; fullName: string; } interface Require { /** * Configure require.js **/ config(config: RequireConfig): Require; /** * Start the main app logic. * Callback is optional. * Can alternatively use deps and callback. * @param modules Required modules to load. **/ (modules: string[]): void; /** * @see Require() * @param ready Called when required modules are ready. **/ (modules: string[], ready: (...modules: any[]) => void ): void; /** * Generate URLs from require module * @param module Module to URL * @return URL string **/ toUrl(module: string): string; /** * On Error override * @param err **/ onError(err: RequireError): void; /** * Undefine a module * @param module Module to undefine. **/ undef(module: string): void; /** * Semi-private function, overload in special instance of undef() **/ onResourceLoad(context: Object, map: RequireMap, depArray: RequireMap[]): void; } interface RequireDefine { /** * Define Simple Name/Value Pairs * @param config Dictionary of Named/Value pairs for the config. **/ (config: { [key: string]: any; }): void; /** * Define function. * @param func: The function module. **/ (func: () => any): void; /** * Define function with dependencies. * @param deps List of dependencies module IDs. * @param ready Callback function when the dependencies are loaded. * callback param deps module dependencies * callback return module definition **/ (deps: string[], ready: (...deps: any[]) => any): void; /** * Define module with simplified CommonJS wrapper. * @param ready * callback require requirejs instance * callback exports exports object * callback module module * callback return module definition **/ (ready: (require: Require, exports: { [key: string]: any; }, module: RequireModule) => any): void; /** * Define a module with a name and dependencies. * @param name The name of the module. * @param deps List of dependencies module IDs. * @param ready Callback function when the dependencies are loaded. * callback deps module dependencies * callback return module definition **/ (name: string, deps: string[], ready: (...deps: any[]) => any): void; } // Ambient declarations for 'require' and 'define' declare var require: Require; declare var define: RequireDefine;
gamesbrainiac/DefinitelyTyped
requirejs/require.d.ts
TypeScript
mit
6,926
## Folding Deformable Objects using Predictive Simulation and Trajectory Optimization (IROS 2015) This project was implemented using both Linux (Ubuntu) and Windows machines. The Ubuntu is for robot control using ROS, and the Windows machine is for folding plan generation. It is possible to move the part on the Windows machine to Ubuntu with some efforts. A video demo of the project is [here](http://www.cs.columbia.edu/~yli/IROS2015/index.html). ## Baxter Robot - To start, a [MoveIt](http://moveit.ros.org/install/) package and the [ROS](http://www.ros.org/) platform are required. In our project, we used the Hydro version, and we have not tested on other versions of the ROS. - A ROS launch file can be found in `/src/folding_control/launch`. - A communication module for passing data between the Linux and the Windows machines is included in `src/folding_control/src/xmlrpclib-1.0.1`. The IP addresses of your Linux and Windows machines are needed for the communication. The Linux server side is automatically launched after the `fold.py` is launched. - Some commom parameters such as the calibration matrix of the Prime Sense is stored in `/src/folding_control/src/parameters`. - All the source code can be found in `/src/folding_control`. ## Folding Planner - The [Eigen](http://eigen.tuxfamily.org/index.php?title=Main_Page) library and [GL](http://freeglut.sourceforge.net/) library are required. - If you are using Ubuntu, you can jump into `/folding_planner_cmake` and compile the things inside for key points detection. - The program requires additional three libraries to compile, which are `aerialeye.lib`, `blackbill.lib`, and `bluetail.lib`. Here we only provide binaries (compiled using Visual Studio 2010) for research purposes, which can be found in `src/folding_planner/external/libs`. All the header files are in `src/folding_planner/external/hdrs`. If they are not compatible with your system, please contact the authors. - We provide a `.vcproj` project file, which can be added to any Visual Studio project (2010 or later). Then some properties such as lib path can be modified to your local path. - To launch the server on a Windows machine, terminal or [cygwin](https://www.cygwin.com/) (recommended) can be used. The communication module `src/folding_control/src/xmlrpclib-1.0.1` needs to be copied over to the Windows machine. Sample usage can be found in `src/folding_control/src/communication_module.py`. - Sample trajectories from the off-line simulation are in `src/folding_planner/traj`. The garments include a sweater, a pair of pants, and a mid-size towel. - We also provide three test images for your quick test of the key point localization in `/images`. A sample result is shown below. The images from the left to right: initial contour template, detected key points, and key points mapping back to the original image. ![sample](https://github.com/Yinxiaoli/IROS2015/blob/master/keypoints_sweater.png) - All the source code can be found in `/src/folding_planner`. ## Citation Please kindly cite our paper if our code helps your research. * Folding Deformable Objects using Predictive Simulation and Trajectory Optimization, Yinxiao Li, Yonghao Yue, Danfei Xu, Eitan Grinspun, and Peter Allen, Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Hamburg, Sept. 2015 bibtex: @inproceedings{Li_IROS2015, title = {Folding Deformable Objects using Predictive Simulation and Trajectory Optimization}, author = {Yinxiao Li and Yonghao Yue and Danfei Xu and Eitan Grinspun and Peter K. Allen}, booktitle = {Proceedings of the 27th IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)}, year = 2015 }
Yinxiaoli/iros2015_folding
README.md
Markdown
mit
3,806
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>continuations: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / extra-dev</a></li> <li class="active"><a href="">8.10.dev / continuations - 8.6.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> continuations <small> 8.6.0 <span class="label label-info">Not compatible</span> </small> </h1> <p><em><script>document.write(moment("2020-03-17 10:27:16 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-03-17 10:27:16 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-m4 1 Virtual package relying on m4 coq 8.10.dev Formal proof management system num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.09.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.09.0 Official release 4.09.0 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.8.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/continuations&quot; license: &quot;Unknown&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Continuations&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.6&quot; &amp; &lt; &quot;8.7~&quot;} ] tags: [ &quot;keyword: exceptions&quot; &quot;keyword: monads&quot; &quot;keyword: continuations&quot; &quot;keyword: cps&quot; &quot;category: Computer Science/Semantics and Compilation/Semantics&quot; &quot;category: Miscellaneous/Extracted Programs/Combinatorics&quot; ] authors: [ &quot;Jean-François Monin&quot; ] bug-reports: &quot;https://github.com/coq-contribs/continuations/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/continuations.git&quot; synopsis: &quot;A toolkit to reason with programs raising exceptions&quot; description: &quot;&quot;&quot; We show a way of developing correct functionnal programs raising exceptions. This is made possible using a Continuation Passing Style translation, see the contribution &quot;exceptions&quot; from P. Casteran at Bordeaux. Things are made easier and more modular using some general definitions.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/continuations/archive/v8.6.0.tar.gz&quot; checksum: &quot;md5=048bd17ff2fd3e854c3c3384866430ad&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-continuations.8.6.0 coq.8.10.dev</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.10.dev). The following dependencies couldn&#39;t be met: - coq-continuations -&gt; coq &lt; 8.7~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-continuations.8.6.0</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> <small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small> </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/extra-dev/8.10.dev/continuations/8.6.0.html
HTML
mit
7,240
<footer class="footer"> <div class="container"> <div> <p>client-crud &copy; 2016 &middot; all righs reserved <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" target="_blank"></a></p> </div> </div> </footer>
dhelbegor/client-crud
apps/core/templates/includes/footer.html
HTML
mit
267
package org.concord.energy3d.model; import java.awt.geom.Path2D; import java.nio.FloatBuffer; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.swing.undo.UndoManager; import org.concord.energy3d.scene.Scene; import org.concord.energy3d.scene.SceneManager; import org.concord.energy3d.shapes.AngleAnnotation; import org.concord.energy3d.shapes.Heliodon; import org.concord.energy3d.shapes.SizeAnnotation; import org.concord.energy3d.simulation.SolarRadiation; import org.concord.energy3d.undo.MakeGableCommand; import org.concord.energy3d.util.MeshLib; import org.concord.energy3d.util.PolygonWithHoles; import org.concord.energy3d.util.Util; import org.poly2tri.Poly2Tri; import org.poly2tri.geometry.polygon.Polygon; import org.poly2tri.geometry.polygon.PolygonPoint; import org.poly2tri.triangulation.TriangulationPoint; import org.poly2tri.triangulation.point.TPoint; import org.poly2tri.triangulation.tools.ardor3d.ArdorMeshMapper; import com.ardor3d.bounding.BoundingBox; import com.ardor3d.bounding.BoundingVolume.Type; import com.ardor3d.intersection.PickResults; import com.ardor3d.intersection.PickingUtil; import com.ardor3d.intersection.PrimitivePickResults; import com.ardor3d.math.ColorRGBA; import com.ardor3d.math.MathUtils; import com.ardor3d.math.Matrix3; import com.ardor3d.math.Ray3; import com.ardor3d.math.Vector2; import com.ardor3d.math.Vector3; import com.ardor3d.math.type.ReadOnlyVector2; import com.ardor3d.math.type.ReadOnlyVector3; import com.ardor3d.scenegraph.Line; import com.ardor3d.scenegraph.Mesh; import com.ardor3d.scenegraph.Node; import com.ardor3d.scenegraph.Spatial; import com.ardor3d.scenegraph.hint.CullHint; import com.ardor3d.ui.text.BMText; import com.ardor3d.ui.text.BMText.Align; import com.ardor3d.util.geom.BufferUtils; public abstract class Roof extends HousePart implements Thermal { private static final long serialVersionUID = 1L; public static final int TEXTURE_01 = 1; public static final int TEXTURE_02 = 2; public static final int TEXTURE_03 = 3; public static final int TEXTURE_04 = 4; public static final int TEXTURE_05 = 5; public static final int TEXTURE_06 = 6; public static final int TEXTURE_07 = 7; public static final double OVERHANG_MIN = 0.01; public static final int SOLID = 0; public static final int TRANSPARENT = 1; private transient Node roofPartsRoot; transient List<ReadOnlyVector3> wallUpperPoints; private transient Map<Mesh, List<ReadOnlyVector3>> dashPointsCache; private transient Map<Spatial, Boolean> roofPartPrintVerticalMap; private transient Map<Node, ReadOnlyVector3> orgCenters; private transient Map<Mesh, Double> areaByPartWithoutOverhang; private transient Map<Mesh, Double> areaByPartWithOverhang; private transient List<ReadOnlyVector3> wallNormals; private transient List<Wall> walls; private transient List<ReadOnlyVector3> wallUpperPointsWithoutOverhang; private transient HousePart previousContainer; Map<Integer, List<Wall>> gableEditPointToWallMap = null; private double overhangLength = 2.0; private double volumetricHeatCapacity = 0.5; // unit: kWh/m^3/C (1 kWh = 3.6 MJ) private double uValue = 0.15; // default is R38 (IECC for Massachusetts: https://energycode.pnl.gov/EnergyCodeReqs/index.jsp?state=Massachusetts) private int type = SOLID; private transient Path2D.Double underlyingWallPath; private transient List<Vector2> underlyingWallVerticesOnFoundation; private final static byte REAL_MESH_INDEX = 6; class EditState { final boolean fitTestRequired; final ArrayList<Vector3> orgPoints; final double orgHeight; EditState() { if (editPointIndex == -1) { orgPoints = null; } else { orgPoints = new ArrayList<>(points.size()); for (final Vector3 v : points) { orgPoints.add(v.clone()); } } fitTestRequired = editPointIndex != -1 && windowsFit(); orgHeight = height; } } public Roof(final int numOfEditPoints) { super(1, numOfEditPoints, 5.0); } @Override protected void init() { super.init(); if (Util.isZero(uValue)) { uValue = 0.15; } if (Util.isZero(overhangLength)) { overhangLength = 2; } if (Util.isZero(volumetricHeatCapacity)) { volumetricHeatCapacity = 0.5; } orgCenters = new HashMap<>(); wallNormals = new ArrayList<>(); walls = new ArrayList<>(); roofPartPrintVerticalMap = new HashMap<>(); dashPointsCache = new HashMap<>(); roofPartsRoot = new Node("Roof Meshes Root"); root.attachChild(roofPartsRoot); mesh = new Mesh("Roof"); mesh.setModelBound(null); getEditPointShape(0).setDefaultColor(ColorRGBA.CYAN); // cleanup if (gableEditPointToWallMap != null) { for (final List<Wall> wallList : gableEditPointToWallMap.values()) { wallList.removeIf(wall -> Scene.getInstance().getParts().indexOf(wall) == -1); } } } /** * Do not call: For UNDO only */ public Map<Integer, List<Wall>> getGableEditPointToWallMap() { return gableEditPointToWallMap; } /** * Do not call: For UNDO only */ public void setGableEditPointToWallMap(final Map<Integer, List<Wall>> m) { gableEditPointToWallMap = new HashMap<>(); for (final Map.Entry<Integer, List<Wall>> entry : m.entrySet()) { gableEditPointToWallMap.put(entry.getKey(), new ArrayList<>(entry.getValue())); } } @Override public double getGridSize() { return SceneManager.getInstance().isFineGrid() ? 0.5 : 2.5; } @Override protected void drawMesh() { // undo the effect of wall stretch on all walls if roof is moved to new walls if (previousContainer != container) { previousContainer = container; for (final Wall wall : walls) { wall.setRoof(null); wall.draw(); } } dashPointsCache.clear(); if (wallUpperPoints == null) { wallUpperPoints = new ArrayList<>(); } else { wallUpperPoints.clear(); } if (container != null) { initWallUpperPoints((Wall) container, walls, wallUpperPoints, wallNormals); } if (!isDrawable()) { roofPartsRoot.getSceneHints().setCullHint(CullHint.Always); setEditPointsVisible(false); return; } roofPartsRoot.getSceneHints().setCullHint(CullHint.Inherit); wallUpperPointsWithoutOverhang = new ArrayList<>(wallUpperPoints); drawRoof(); switch (type) { case TRANSPARENT: for (final Spatial child : roofPartsRoot.getChildren()) { ((Node) child).getChild(0).getSceneHints().setCullHint(CullHint.Always); ((Node) child).getChild(REAL_MESH_INDEX).getSceneHints().setCullHint(CullHint.Always); } break; default: for (final Spatial child : roofPartsRoot.getChildren()) { ((Node) child).getChild(0).getSceneHints().setCullHint(CullHint.Inherit); ((Node) child).getChild(REAL_MESH_INDEX).getSceneHints().setCullHint(CullHint.Inherit); } } roofPartsRoot.updateWorldBound(true); drawOutline(); if (Scene.getInstance().areDashedLinesOnRoofShown()) { drawDashLines(); } else { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Mesh dashLinesMesh = (Mesh) ((Node) roofPart).getChild(5); dashLinesMesh.setVisible(false); } } } } private void drawRoof() { applyOverhang(wallUpperPoints, wallNormals); processRoofEditPoints(wallUpperPoints); computeGableEditPoints(); ensureEditPointsInside(); final PolygonWithHoles polygon = makePolygon(wallUpperPoints); applySteinerPoint(polygon); MeshLib.fillMeshWithPolygon(mesh, polygon, null, true, null, null, null); MeshLib.groupByPlanar(mesh, roofPartsRoot); hideGableRoofParts(); int roofPartIndex = 0; for (final Spatial child : roofPartsRoot.getChildren()) { ((Node) child).getChild(0).setUserData(new UserData(this, roofPartIndex, false)); ((Node) child).getChild(REAL_MESH_INDEX).setUserData(new UserData(this, roofPartIndex, false)); roofPartIndex++; } final List<Window> windows = new ArrayList<>(); for (final HousePart part : children) { if (part instanceof Window && part.isDrawable()) { windows.add((Window) part); } } MeshLib.applyHoles(roofPartsRoot, windows, textureType); setAnnotationsVisible(Scene.getInstance().areAnnotationsVisible()); } private void drawWalls() { if (container != null) { ((Wall) container).visitNeighbors((currentWall, prevSnap, nextSnap) -> currentWall.draw()); } } private boolean windowsFit() { for (final Wall wall : walls) { if (!wall.windowsFit()) { return false; } } return true; } private void drawDashLines() { if (container == null) { return; } if (lockEdit) { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Node roofPartNode = (Node) roofPart; final Mesh dashLinesMesh = (Mesh) roofPartNode.getChild(5); dashLinesMesh.setVisible(false); } } } else { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Node roofPartNode = (Node) roofPart; final Mesh roofPartMesh = (Mesh) roofPartNode.getChild(0); final Mesh dashLinesMesh = (Mesh) roofPartNode.getChild(5); final List<ReadOnlyVector3> result = computeDashPoints(roofPartMesh); if (result.isEmpty()) { dashLinesMesh.setVisible(false); } else { dashLinesMesh.setVisible(true); FloatBuffer vertexBuffer = dashLinesMesh.getMeshData().getVertexBuffer(); if (vertexBuffer == null || vertexBuffer.capacity() < result.size() * 3) { vertexBuffer = BufferUtils.createVector3Buffer(result.size()); dashLinesMesh.getMeshData().setVertexBuffer(vertexBuffer); } vertexBuffer.limit(result.size() * 3); vertexBuffer.rewind(); for (final ReadOnlyVector3 p : result) { vertexBuffer.put(p.getXf()).put(p.getYf()).put(p.getZf()); } dashLinesMesh.getMeshData().updateVertexCount(); dashLinesMesh.updateModelBound(); } } } } updateDashLinesColor(); } private List<ReadOnlyVector3> computeDashPoints(final Mesh roofPartMesh) { if (dashPointsCache.get(roofPartMesh) == null) { final ArrayList<ReadOnlyVector3> resultBeforeBreak = new ArrayList<>(); final ArrayList<ReadOnlyVector3> resultAfterBreak = new ArrayList<>(); final boolean[] foundBreak = {false}; ((Wall) container).visitNeighbors((currentWall, prevSnap, nextSnap) -> { final int indexP1, indexP2; if (nextSnap != null) { indexP2 = nextSnap.getSnapPointIndexOf(currentWall); indexP1 = indexP2 == 2 ? 0 : 2; } else if (prevSnap != null) { indexP1 = prevSnap.getSnapPointIndexOf(currentWall); indexP2 = indexP1 == 2 ? 0 : 2; } else { indexP1 = 0; indexP2 = 2; } final ArrayList<ReadOnlyVector3> array = foundBreak[0] ? resultAfterBreak : resultBeforeBreak; final int orgSize = array.size(); stretchToRoof(array, roofPartMesh, currentWall.getAbsPoint(indexP1), currentWall.getAbsPoint(indexP2), currentWall.points.get(1).getZ()); if (!foundBreak[0] && array.size() == orgSize) { foundBreak[0] = true; } }); if (foundBreak[0]) { resultAfterBreak.addAll(resultBeforeBreak); dashPointsCache.put(roofPartMesh, resultAfterBreak); } else { dashPointsCache.put(roofPartMesh, resultBeforeBreak); } } return dashPointsCache.get(roofPartMesh); } public void updateDashLinesColor() { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Node roofPartNode = (Node) roofPart; final Mesh dashLinesMesh = (Mesh) roofPartNode.getChild(5); dashLinesMesh.setDefaultColor(ColorRGBA.RED); } } } private void stretchToRoof(final ArrayList<ReadOnlyVector3> result, final Mesh roof, final ReadOnlyVector3 p1, final ReadOnlyVector3 p2, final double z) { final Vector3 dir = p2.subtract(p1, null).multiplyLocal(1, 1, 0); final double length = dir.length(); dir.normalizeLocal(); Vector3 direction = null; ReadOnlyVector3 previousStretchPoint = null; boolean firstInsert = false; final boolean isSingleMesh = isSingleFlatMesh(); final double minDistance = STRETCH_ROOF_STEP * 3; final Vector3 p = new Vector3(); for (double d = STRETCH_ROOF_STEP; d < length; d += STRETCH_ROOF_STEP) { dir.multiply(d, p).addLocal(p1); final ReadOnlyVector3 currentStretchPoint; if (isSingleMesh) { p.setZ(z); currentStretchPoint = p.clone(); } else { currentStretchPoint = findRoofIntersection(roof, p); } if (currentStretchPoint != null && !firstInsert) { result.add(currentStretchPoint); firstInsert = true; } else if (currentStretchPoint == null) { if (previousStretchPoint != null) { result.add(previousStretchPoint); } direction = null; firstInsert = false; } else { final Vector3 currentDirection = currentStretchPoint.subtract(previousStretchPoint, null).normalizeLocal(); if (direction == null) { direction = currentDirection; } else if (direction.dot(currentDirection) < 1.0 - MathUtils.ZERO_TOLERANCE) { result.add(currentStretchPoint); result.add(currentStretchPoint); direction = null; } } previousStretchPoint = currentStretchPoint; } if (previousStretchPoint != null) { if (previousStretchPoint.distance(result.get(result.size() - 1)) > minDistance) { result.add(previousStretchPoint); } else { result.remove(result.size() - 1); } } } private ReadOnlyVector3 findRoofIntersection(final Mesh roofPart, final ReadOnlyVector3 p) { final PickResults pickResults = new PrimitivePickResults(); PickingUtil.findPick(roofPart, new Ray3(p, Vector3.UNIT_Z), pickResults, false); if (pickResults.getNumber() > 0) { return pickResults.getPickData(0).getIntersectionRecord().getIntersectionPoint(0); } else { return null; } } protected void fillMeshWithPolygon(final Mesh mesh, final Polygon polygon) { try { Poly2Tri.triangulate(polygon); } catch (final RuntimeException e) { e.printStackTrace(); System.out.println("Triangulate exception received with the following polygon:"); for (final TriangulationPoint p : polygon.getPoints()) { System.out.println("new PolygonPoint(" + p.getX() + ", " + p.getY() + ", " + p.getZ() + ")"); } throw e; } ArdorMeshMapper.updateTriangleMesh(mesh, polygon); ArdorMeshMapper.updateVertexNormals(mesh, polygon.getTriangles()); ArdorMeshMapper.updateFaceNormals(mesh, polygon.getTriangles()); ArdorMeshMapper.updateTextureCoordinates(mesh, polygon.getTriangles(), 200, new TPoint(0, 0, 0), new TPoint(10, 0, 0), new TPoint(0, 10, 0)); mesh.getMeshData().updateVertexCount(); mesh.updateModelBound(); } private void initWallUpperPoints(final Wall startWall, final List<Wall> walls, final List<ReadOnlyVector3> wallUpperPoints, final List<ReadOnlyVector3> wallNormals) { walls.clear(); wallUpperPoints.clear(); wallNormals.clear(); startWall.visitNeighbors((currentWall, prevSnap, nextSnap) -> { if (currentWall.isFirstPointInserted()) { walls.add(currentWall); currentWall.setRoof(Roof.this); final int pointIndex2 = nextSnap != null ? nextSnap.getSnapPointIndexOf(currentWall) + 1 : 1; final int pointIndex1 = pointIndex2 == 1 ? 3 : 1; final Vector3 p1 = currentWall.getAbsPoint(pointIndex1); final Vector3 p2 = currentWall.getAbsPoint(pointIndex2); final ReadOnlyVector3 normal = currentWall.getNormal(); addPointToPolygon(p1, normal, wallUpperPoints, wallNormals); addPointToPolygon(p2, normal, wallUpperPoints, wallNormals); } }); } private void addPointToPolygon(final Vector3 p, final ReadOnlyVector3 normal, final List<ReadOnlyVector3> wallUpperPoints, final List<ReadOnlyVector3> wallNormals) { int index = -1; /* check to see if there is another point with same x,y coords */ for (int i = 0; i < wallUpperPoints.size(); i++) { final ReadOnlyVector3 p_i = wallUpperPoints.get(i); if (Util.isEqual(p.getX(), p_i.getX()) && Util.isEqual(p.getY(), p_i.getY())) { index = i; break; } } if (index == -1) { wallUpperPoints.add(p); wallNormals.add(normal.clone()); } else { // calculate wall normal in such a way to help in drawing overhang of roofs final ReadOnlyVector3 currentNormal = wallNormals.get(index); final double d = 1.0 / MathUtils.cos(currentNormal.normalize(null).smallestAngleBetween(normal) / 2.0); // assuming thickness is 1 final Vector3 newNormal = currentNormal.add(normal, null).normalizeLocal().multiplyLocal(d); wallNormals.set(index, newNormal); } } private PolygonWithHoles makePolygon(final List<ReadOnlyVector3> wallUpperPoints) { final List<PolygonPoint> polygonPoints = new ArrayList<>(wallUpperPoints.size()); for (final ReadOnlyVector3 p : wallUpperPoints) { polygonPoints.add(new PolygonPoint(p.getX(), p.getY(), p.getZ())); } return new PolygonWithHoles(polygonPoints); } protected abstract Polygon applySteinerPoint(final Polygon polygon); @Override public void computeOrientedBoundingBox() { orgCenters.clear(); for (final Spatial roofPartNode : roofPartsRoot.getChildren()) { if (roofPartNode.getSceneHints().getCullHint() != CullHint.Always) { final Mesh roofPartMesh = (Mesh) ((Node) roofPartNode).getChild(0); computeOrientedBoundingBox(roofPartMesh); orgCenters.put((Node) roofPartNode, new Vector3(roofPartMesh.getWorldBound().getCenter())); } } } @Override public void flatten(final double flattenTime) { for (final Spatial roofPart : getRoofPartsRoot().getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { flattenQuadTriangle((Node) roofPart, flattenTime); } } root.updateGeometricState(0); } private void flattenQuadTriangle(final Node roofPartNode, final double flattenTime) { final ReadOnlyVector3 normal = (ReadOnlyVector3) roofPartNode.getUserData(); final double angleZ = Util.angleBetween(new Vector3(normal.getX(), normal.getY(), 0).normalizeLocal(), Vector3.NEG_UNIT_Y, Vector3.UNIT_Z); final Matrix3 m1 = new Matrix3().fromAngles(0, 0, flattenTime * angleZ); final ReadOnlyVector3 normal2 = m1.applyPost(normal, null); final double angleX = Util.angleBetween(normal2, Vector3.NEG_UNIT_Y, Vector3.UNIT_X); final Matrix3 m2 = new Matrix3().fromAngles(flattenTime * angleX, 0, 0); final Matrix3 matrix = m2.multiplyLocal(m1); final Boolean isVertical = roofPartPrintVerticalMap.get(roofPartNode); if (isVertical != null && isVertical) { new Matrix3().fromAngles(0, -Math.PI / 2.0 * flattenTime, 0).multiply(matrix, matrix); } roofPartNode.setRotation(matrix); ReadOnlyVector3 orgCenter = orgCenters.get(roofPartNode); if (orgCenter == null) { orgCenter = Vector3.ZERO; } final Vector3 targetPrintCenter = ((UserData) roofPartNode.getChild(0).getUserData()).getPrintCenter(); if (!targetPrintCenter.equals(Vector3.ZERO)) { roofPartNode.setTranslation(targetPrintCenter.subtract(orgCenter, null).multiplyLocal(flattenTime)); } } @Override protected void clearAnnotations() { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { for (final Spatial sizeAnnot : ((Node) ((Node) roofPart).getChild(1)).getChildren()) { sizeAnnot.getSceneHints().setCullHint(CullHint.Always); } for (final Spatial sizeAnnot : ((Node) ((Node) roofPart).getChild(2)).getChildren()) { sizeAnnot.getSceneHints().setCullHint(CullHint.Always); } } } } @Override public void drawAnnotations() { if (container == null) { return; } for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { int annotCounter = 0, angleAnnotCounter = 0; final Node roofPartNode = (Node) roofPart; final FloatBuffer buf = ((Mesh) roofPartNode.getChild(0)).getMeshData().getVertexBuffer(); final ArrayList<ReadOnlyVector3> convexHull = MeshLib.computeOutline(buf); final ReadOnlyVector3 normal = (ReadOnlyVector3) roofPart.getUserData(); final int n = convexHull.size(); for (int i = 0; i < n; i++) { final ReadOnlyVector3 p1 = convexHull.get(i); final ReadOnlyVector3 p2 = convexHull.get((i + 1) % n); final ReadOnlyVector3 p3 = convexHull.get((i + 2) % n); // Size annotation final ReadOnlyVector3 center = p1.add(p2, null).addLocal(p3).multiplyLocal(1.0 / 3.0); final SizeAnnotation sizeAnnot = fetchSizeAnnot(annotCounter++, (Node) roofPartNode.getChild(1)); final boolean drawAnnotationsInside = Scene.isDrawAnnotationsInside(); sizeAnnot.setRange(p2, p3, center, normal, false, Align.Center, true, true, drawAnnotationsInside); sizeAnnot.setLineWidth(original == null ? 1f : 2f); if (drawAnnotationsInside) { sizeAnnot.setColor(ColorRGBA.WHITE); } else { sizeAnnot.setColor(ColorRGBA.BLACK); } // Angle annotations final AngleAnnotation angleAnnot = fetchAngleAnnot(angleAnnotCounter++, (Node) roofPartNode.getChild(2)); angleAnnot.setLineWidth(original == null ? 1f : 2f); angleAnnot.setRange(p2, p1, p3, normal); } } } } private void drawOutline() { if (container == null) { return; } for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Node roofPartNode = (Node) roofPart; final Mesh outlineMesh = (Mesh) roofPartNode.getChild(4); final Mesh mesh = (Mesh) roofPartNode.getChild(0); final ArrayList<ReadOnlyVector3> outlinePoints = MeshLib.computeOutline(mesh.getMeshData().getVertexBuffer()); int totalVertices = outlinePoints.size(); for (final HousePart part : children) { if (part instanceof Window) { totalVertices += 8; } } final FloatBuffer buf; if (outlineMesh.getMeshData().getVertexBuffer().capacity() >= totalVertices * 2 * 3) { buf = outlineMesh.getMeshData().getVertexBuffer(); buf.limit(buf.capacity()); buf.rewind(); } else { buf = BufferUtils.createVector3Buffer(totalVertices * 2); outlineMesh.getMeshData().setVertexBuffer(buf); } // draw roof outline for (int i = 0; i < outlinePoints.size(); i++) { final ReadOnlyVector3 p1 = outlinePoints.get(i); final ReadOnlyVector3 p2 = outlinePoints.get((i + 1) % outlinePoints.size()); buf.put(p1.getXf()).put(p1.getYf()).put(p1.getZf()); buf.put(p2.getXf()).put(p2.getYf()).put(p2.getZf()); } // draw skylights outline final int[] windowIndices = new int[]{0, 2, 3, 1}; for (final HousePart part : children) { if (part instanceof Window && part.isDrawable() && ((Window) part).getRoofIndex() == ((UserData) mesh.getUserData()).getEditPointIndex()) { for (int i = 0; i < part.getPoints().size(); i++) { final ReadOnlyVector3 p1 = part.getAbsPoint(windowIndices[i]); final ReadOnlyVector3 p2 = part.getAbsPoint(windowIndices[(i + 1) % part.getPoints().size()]); buf.put(p1.getXf()).put(p1.getYf()).put(p1.getZf()); buf.put(p2.getXf()).put(p2.getYf()).put(p2.getZf()); } } } buf.limit(buf.position()); outlineMesh.getMeshData().updateVertexCount(); outlineMesh.updateModelBound(); } } } @Override public int drawLabels(int printSequence) { for (final Spatial roofPartNode : roofPartsRoot.getChildren()) { if (roofPartNode.getSceneHints().getCullHint() != CullHint.Always) { final String text = "(" + (printSequence++ + 1) + ")"; final BMText label = (BMText) ((Node) roofPartNode).getChild(3); label.getSceneHints().setCullHint(CullHint.Inherit); label.setText(text); } } return printSequence; } @Override public void hideLabels() { for (final Spatial roofPartNode : roofPartsRoot.getChildren()) { if (roofPartNode.getSceneHints().getCullHint() != CullHint.Always) { ((Node) roofPartNode).getChild(3).getSceneHints().setCullHint(CullHint.Always); } } } @Override public void updateTextureAndColor() { if (roofPartsRoot != null) { for (final Spatial roofPartNode : roofPartsRoot.getChildren()) { if (roofPartNode.getSceneHints().getCullHint() != CullHint.Always) { updateTextureAndColor((Mesh) ((Node) roofPartNode).getChild(REAL_MESH_INDEX), getColor() == null ? Scene.getInstance().getDefaultRoofColor() : getColor()); } } } } public Node getRoofPartsRoot() { return roofPartsRoot; } @Override protected String getTextureFileName() { switch (textureType) { case TEXTURE_EDGE: return "roof_edge.png"; case TEXTURE_01: return "roof_01.png"; case TEXTURE_02: return "roof_02.png"; case TEXTURE_03: return "roof_03.png"; case TEXTURE_04: return "roof_04.png"; case TEXTURE_05: return "roof_05.png"; case TEXTURE_06: return "roof_06.png"; case TEXTURE_07: return "roof_07.png"; } return null; } protected abstract void processRoofEditPoints(final List<? extends ReadOnlyVector3> wallUpperPoints); private void applyOverhang(final List<ReadOnlyVector3> wallUpperPoints, final List<ReadOnlyVector3> wallNormals) { for (int i = 0; i < wallUpperPoints.size(); i++) { final Vector3 overhang = wallNormals.get(i).multiply(overhangLength, null); wallUpperPoints.set(i, overhang.addLocal(wallUpperPoints.get(i))); } } public void setGable(final int roofPartIndex, final boolean isGable, final UndoManager undoManager) { final ArrayList<ReadOnlyVector3> roofPartMeshUpperPoints = new ArrayList<>(); final Wall wall = findGableWall(roofPartIndex, roofPartMeshUpperPoints); if (wall != null) { if (undoManager != null) { undoManager.addEdit(new MakeGableCommand(this, wall, roofPartMeshUpperPoints)); } setGable(wall, isGable, true, roofPartMeshUpperPoints); } } private Wall findGableWall(final int roofPartIndex, final ArrayList<ReadOnlyVector3> roofPartMeshUpperPoints) { final ReadOnlyVector3[] roofMeshBase = findBasePoints((Mesh) ((Node) getRoofPartsRoot().getChild(roofPartIndex)).getChild(0), roofPartMeshUpperPoints); if (roofMeshBase == null) return null; return findGableWall(roofMeshBase[0], roofMeshBase[1]); } public void setGable(final Wall wall, final boolean isGable, final boolean redraw, final ArrayList<ReadOnlyVector3> roofPartMeshUpperPoints) { System.out.println("setGable(" + wall + ", " + isGable + ")"); if (gableEditPointToWallMap == null) { gableEditPointToWallMap = new HashMap<>(); } if (isGable) { for (final ReadOnlyVector3 roofPartMeshUpperPoint : roofPartMeshUpperPoints) { double smallestDistanceToEditPoint = Double.MAX_VALUE; int nearestEditPointIndex = -1; // select the nearest point so that one edit point per upper mesh point is selected for (int i = 0; i < points.size(); i++) { final Vector3 editPoint = getAbsPoint(i); final double distanceToEditPoint = roofPartMeshUpperPoint.distance(editPoint); if (distanceToEditPoint < smallestDistanceToEditPoint) { smallestDistanceToEditPoint = distanceToEditPoint; nearestEditPointIndex = i; } } gableEditPointToWallMap.putIfAbsent(nearestEditPointIndex, new ArrayList<>(2)); gableEditPointToWallMap.get(nearestEditPointIndex).add(wall); } } else { final List<Integer> toBeRemoved = new ArrayList<>(); for (final Entry<Integer, List<Wall>> entry : gableEditPointToWallMap.entrySet()) { final List<Wall> value = entry.getValue(); if (value.contains(wall)) { value.remove(wall); if (value.isEmpty()) { toBeRemoved.add(entry.getKey()); } } } for (final int removedEditPoint : toBeRemoved) { gableEditPointToWallMap.remove(removedEditPoint); } } if (redraw) { draw(); drawWalls(); } } public void removeAllGables() { for (final List<Wall> walls : gableEditPointToWallMap.values()) { for (final Wall wall : walls) { setGable(wall, false, false, null); } } draw(); drawWalls(); } private void computeGableEditPoints() { if (gableEditPointToWallMap == null) { return; } for (final int editPointIndex : gableEditPointToWallMap.keySet()) { // if (editPointIndex >= points.size()) { // gableEditPointToWallMap.clear(); // break; // } final Vector3 editPoint = getAbsPoint(editPointIndex); final List<Wall> gableWalls = gableEditPointToWallMap.get(editPointIndex); final List<ReadOnlyVector3> wallPoints = new ArrayList<>(gableWalls.size() * 2); final List<ReadOnlyVector3> wallNormals = new ArrayList<>(gableWalls.size() * 2); for (final Wall wall : gableWalls) { addPointToPolygon(wall.getAbsPoint(0), wall.getNormal(), wallPoints, wallNormals); addPointToPolygon(wall.getAbsPoint(2), wall.getNormal(), wallPoints, wallNormals); } applyOverhang(wallPoints, wallNormals); if (gableWalls.size() == 1) { final ReadOnlyVector2 p2D = Util.snapToPolygon(editPoint, wallPoints, wallNormals); editPoint.setX(p2D.getX()); editPoint.setY(p2D.getY()); } else if (gableWalls.size() > 1) { final Vector3 p0 = gableWalls.get(0).getAbsPoint(0); final Wall secondWall = gableWalls.get(1); final ReadOnlyVector3 cornerPoint; final int cornerIndex; if (Util.isEqual(p0, secondWall.getAbsPoint(0)) || Util.isEqual(p0, secondWall.getAbsPoint(2))) { cornerIndex = 0; } else { cornerIndex = 1; } cornerPoint = wallPoints.get(cornerIndex).subtract(wallNormals.get(cornerIndex).multiply(0.01, null), null); editPoint.setX(cornerPoint.getX()); editPoint.setY(cornerPoint.getY()); } points.get(editPointIndex).set(toRelative(editPoint)); } } private void ensureEditPointsInside() { for (int i = 1; i < points.size(); i++) { final Vector3 editPoint = getAbsPoint(i); final Vector2 p = new Vector2(editPoint.getX(), editPoint.getY()); if (!insideWallsPolygon(editPoint)) { double closestDistance = Double.MAX_VALUE; int closestIndex = 0; for (int j = 0; j < wallUpperPoints.size(); j++) { final Vector2 l1 = new Vector2(wallUpperPoints.get(j).getX(), wallUpperPoints.get(j).getY()); final Vector2 l2 = new Vector2(wallUpperPoints.get((j + 1) % wallUpperPoints.size()).getX(), wallUpperPoints.get((j + 1) % wallUpperPoints.size()).getY()); final double distance = p.distance(l1) + p.distance(l2); if (distance < closestDistance) { closestDistance = distance; closestIndex = j; } } final List<ReadOnlyVector3> wallPoints = new ArrayList<>(2); wallPoints.add(wallUpperPoints.get(closestIndex)); wallPoints.add(wallUpperPoints.get((closestIndex + 1) % wallUpperPoints.size())); final ReadOnlyVector2 p2D = Util.snapToPolygon(editPoint, wallPoints, null); editPoint.setX(p2D.getX()); editPoint.setY(p2D.getY()); if (closestIndex < walls.size()) { editPoint.subtractLocal(walls.get(closestIndex).getNormal().multiply(0.01, null)); } points.get(i).set(toRelative(editPoint)); } } } private ReadOnlyVector3[] findBasePoints(final Mesh mesh, final ArrayList<ReadOnlyVector3> storeUpperPoints) { final FloatBuffer buf = mesh.getMeshData().getVertexBuffer(); buf.rewind(); final ReadOnlyVector3[] base = {new Vector3(buf.get(), buf.get(), buf.get()), new Vector3(buf.get(), buf.get(), buf.get())}; if (storeUpperPoints != null) { storeUpperPoints.add(base[0]); storeUpperPoints.add(base[1]); } double highestZ = Math.max(base[0].getZ(), base[1].getZ()); while (buf.hasRemaining()) { ReadOnlyVector3 meshPoint = new Vector3(buf.get(), buf.get(), buf.get()); if (meshPoint.equals(base[0]) || meshPoint.equals(base[1])) { continue; } if (meshPoint.getZ() > highestZ) { highestZ = meshPoint.getZ(); } if (storeUpperPoints != null && !storeUpperPoints.contains(meshPoint)) { storeUpperPoints.add(meshPoint); } if (meshPoint.getZ() < base[0].getZ()) { final ReadOnlyVector3 tmp = base[0]; base[0] = meshPoint; meshPoint = tmp; } if (meshPoint.getZ() < base[1].getZ()) { base[1] = meshPoint; } } if (highestZ == base[0].getZ() || highestZ == base[1].getZ()) { return null; } if (storeUpperPoints != null) { storeUpperPoints.remove(base[0]); storeUpperPoints.remove(base[1]); } return base; } private void hideGableRoofParts() { if (gableEditPointToWallMap == null) { return; } // Two Options: hide using estimating direction with wall. Or, hide using roof part number (it be wrong)) for (final List<Wall> walls : gableEditPointToWallMap.values()) { for (final HousePart wall : walls) { final Vector3[] base_i = {wall.getAbsPoint(0), wall.getAbsPoint(2)}; for (final Spatial roofPart : getRoofPartsRoot().getChildren()) { final ReadOnlyVector3[] base = findBasePoints((Mesh) ((Node) roofPart).getChild(0), null); if (base != null && isSameBasePoints(base_i[0], base_i[1], base[0], base[1])) { roofPart.getSceneHints().setCullHint(CullHint.Always); roofPart.getSceneHints().setAllPickingHints(false); break; } } } } } private boolean isSameBasePoints(final ReadOnlyVector3 a1, final ReadOnlyVector3 a2, final ReadOnlyVector3 b1, final ReadOnlyVector3 b2) { final double maxOverhangDistance = MathUtils.sqrt(2 * overhangLength * overhangLength) * 2; final Vector2 p1a = new Vector2(a1.getX(), a1.getY()); final Vector2 p1b = new Vector2(a2.getX(), a2.getY()); final Vector2 p2a = new Vector2(b1.getX(), b1.getY()); final Vector2 p2b = new Vector2(b2.getX(), b2.getY()); return (p1a.distance(p2a) <= maxOverhangDistance && p1b.distance(p2b) <= maxOverhangDistance) || (p1a.distance(p2b) <= maxOverhangDistance && p1b.distance(p2a) <= maxOverhangDistance); } Wall findGableWall(final ReadOnlyVector3 targetBase1, final ReadOnlyVector3 targetBase2) { for (final Wall wall : walls) { if (isSameBasePoints(targetBase1, targetBase2, wall.getAbsPoint(0), wall.getAbsPoint(2))) { return wall; } } return null; } @Override public void delete() { super.delete(); for (final Wall wall : walls) { // if the wall doesn't already have another roof on top of it (it's possible when the user replaces an old roof with a new roof) if (wall.getRoof() == this) { wall.setRoof(null); } wall.draw(); } } @Override public void setOriginal(final HousePart original) { final Roof originalRoof = (Roof) original; this.original = original; root.detachChild(pointsRoot); root.detachChild(roofPartsRoot); roofPartsRoot = originalRoof.roofPartsRoot.makeCopy(true); root.attachChild(roofPartsRoot); for (int i = 0; i < roofPartsRoot.getNumberOfChildren(); i++) { final UserData orgUserData = (UserData) ((Node) originalRoof.roofPartsRoot.getChild(i)).getChild(0).getUserData(); final Mesh mesh = (Mesh) ((Node) roofPartsRoot.getChild(i)).getChild(0); mesh.setUserData(new UserData(this, orgUserData.getEditPointIndex(), false)); roofPartsRoot.getChild(i).setUserData(originalRoof.roofPartsRoot.getChild(i).getUserData()); final Line outlineMesh = (Line) ((Node) roofPartsRoot.getChild(i)).getChild(4); outlineMesh.setLineWidth(printOutlineThickness); } drawAnnotations(); root.updateWorldBound(true); } @Override protected Vector3 getCenter() { final Vector3 min = new Vector3(wallUpperPoints.get(0)); final Vector3 max = new Vector3(wallUpperPoints.get(0)); for (final ReadOnlyVector3 p : wallUpperPoints) { min.setX(Math.min(min.getX(), p.getX())); min.setY(Math.min(min.getY(), p.getY())); max.setX(Math.max(max.getX(), p.getX())); max.setY(Math.max(max.getY(), p.getY())); } return min.addLocal(max).multiplyLocal(new Vector3(0.5, 0.5, 0)).addLocal(0, 0, container.getPoints().get(1).getZ()); } @Override public void setAnnotationsVisible(final boolean visible) { super.setAnnotationsVisible(visible); final CullHint cull = visible ? CullHint.Inherit : CullHint.Always; if (roofPartsRoot != null) { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { ((Node) roofPart).getChild(1).getSceneHints().setCullHint(cull); ((Node) roofPart).getChild(2).getSceneHints().setCullHint(cull); } } } } @Override public void drawGrids(final double gridSize) { final BoundingBox bounds = (BoundingBox) root.getWorldBound().asType(Type.AABB); final ReadOnlyVector3 width = Vector3.UNIT_X.multiply(bounds.getXExtent() * 2, null); final ReadOnlyVector3 height = Vector3.UNIT_Y.multiply(bounds.getYExtent() * 2, null); final ArrayList<ReadOnlyVector3> points = new ArrayList<>(); final ReadOnlyVector3 center = getCenter(); final ReadOnlyVector3 pMiddle = new Vector3(center.getX(), center.getY(), getAbsPoint(0).getZ()); final int cols = (int) (width.length() / gridSize); for (int col = 0; col < cols / 2 + 1; col++) { for (int neg = -1; neg <= 1; neg += 2) { final ReadOnlyVector3 lineP1 = width.normalize(null).multiplyLocal(neg * col * gridSize).addLocal(pMiddle).subtractLocal(height.multiply(0.5, null)); points.add(lineP1); final ReadOnlyVector3 lineP2 = lineP1.add(height, null); points.add(lineP2); if (col == 0) { break; } } } final int rows = (int) (height.length() / gridSize); for (int row = 0; row < rows / 2 + 1; row++) { for (int neg = -1; neg <= 1; neg += 2) { final ReadOnlyVector3 lineP1 = height.normalize(null).multiplyLocal(neg * row * gridSize).addLocal(pMiddle).subtractLocal(width.multiply(0.5, null)); points.add(lineP1); final ReadOnlyVector3 lineP2 = lineP1.add(width, null); points.add(lineP2); if (row == 0) { break; } } } if (points.size() < 2) { return; } final FloatBuffer buf = BufferUtils.createVector3Buffer(points.size()); for (final ReadOnlyVector3 p : points) { buf.put(p.getXf()).put(p.getYf()).put(pMiddle.getZf()); } gridsMesh.getMeshData().setVertexBuffer(buf); } public void setPrintVertical(final Spatial roofPartNode, final boolean isVertical) { roofPartPrintVerticalMap.put(roofPartNode, isVertical); flattenQuadTriangle((Node) roofPartNode, 1.0); roofPartNode.updateGeometricState(0); final Mesh roofPartMesh = (Mesh) ((Node) roofPartNode).getChild(0); final ReadOnlyVector3 center = computeOrientedBoundingBox(roofPartMesh); orgCenters.put((Node) roofPartNode, center); } void snapToWallsPolygon(final Vector3 p) { if (!insideWallsPolygon(p)) { final ReadOnlyVector2 p2D = Util.snapToPolygon(p, wallUpperPoints, wallNormals); p.set(p2D.getX(), p2D.getY(), p.getZ()); } } boolean insideWallsPolygon(final Vector3 p) { return Util.insidePolygon(p, wallUpperPoints); } void computeHeight(final List<? extends ReadOnlyVector3> wallUpperPoints) { double maxZ = 0; for (final ReadOnlyVector3 p : wallUpperPoints) { maxZ = Math.max(maxZ, p.getZ()); } // to make height relative to container wall so that applyHeight() runs the same way height = 15.0 + maxZ - container.getPoints().get(1).getZ(); // height = height + maxZ - container.getPoints().get(1).getZ(); // avoid this because it will result in increasing height when hovering // mouse from one wall contain to another before fully inserting the roof } public void applyHeight() { for (final Vector3 p : points) { p.setZ(container.getPoints().get(1).getZ() + height); } } void postEdit(final EditState editState) { draw(); drawWalls(); if (editState.fitTestRequired && !windowsFit()) { for (int i = 0; i < points.size(); i++) { points.get(i).set(editState.orgPoints.get(i)); } height = editState.orgHeight; draw(); drawWalls(); } drawChildren(); drawOutline(); // because drawing children will extend their edit points to roof if (container != null) { setEditPointsVisible(true); } } @Override protected void computeArea() { this.area = 0; if (container == null) { return; } if (areaByPartWithOverhang == null) { areaByPartWithOverhang = new HashMap<>(); } else { areaByPartWithOverhang.clear(); } if (areaByPartWithoutOverhang == null) { areaByPartWithoutOverhang = new HashMap<>(); } else { areaByPartWithoutOverhang.clear(); } for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Node roofPartNode = (Node) roofPart; final Mesh roofPartMesh = (Mesh) roofPartNode.getChild(REAL_MESH_INDEX); areaByPartWithOverhang.put(roofPartMesh, Util.computeArea(roofPartMesh)); final FloatBuffer vertexBuffer = roofPartMesh.getMeshData().getVertexBuffer(); final Vector3 p = new Vector3(); if (overhangLength <= OVERHANG_MIN) { final double a = Util.computeArea(roofPartMesh); areaByPartWithoutOverhang.put(roofPartMesh, a); area += a; } else { final List<ReadOnlyVector3> result = computeDashPoints(roofPartMesh); if (result.isEmpty()) { vertexBuffer.rewind(); p.set(vertexBuffer.get(), vertexBuffer.get(), vertexBuffer.get()); final double a; if (Util.insidePolygon(p, wallUpperPointsWithoutOverhang)) { a = Util.computeArea(roofPartMesh); } else { a = 0; } areaByPartWithoutOverhang.put(roofPartMesh, a); area += a; } else { // if (roofPartsRoot.getNumberOfChildren() > 1) { double highPointZ = Double.NEGATIVE_INFINITY; vertexBuffer.rewind(); while (vertexBuffer.hasRemaining()) { p.set(vertexBuffer.get(), vertexBuffer.get(), vertexBuffer.get()); if (p.getZ() > highPointZ) { highPointZ = p.getZ(); } } final List<ReadOnlyVector3> highPoints = new ArrayList<>(); vertexBuffer.rewind(); while (vertexBuffer.hasRemaining()) { p.set(vertexBuffer.get(), vertexBuffer.get(), vertexBuffer.get()); if (p.getZ() >= highPointZ - MathUtils.ZERO_TOLERANCE && Util.insidePolygon(p, wallUpperPointsWithoutOverhang)) { highPoints.add(new Vector3(p)); } } if (highPoints.size() == 1) { result.add(highPoints.get(0)); } else { final ReadOnlyVector3 lastPoint = result.get(result.size() - 1); while (!highPoints.isEmpty()) { double shortestDistance = Double.MAX_VALUE; ReadOnlyVector3 nearestPoint = null; for (final ReadOnlyVector3 hp : highPoints) { final double distance = hp.distance(lastPoint); if (distance < shortestDistance) { shortestDistance = distance; nearestPoint = hp; } } result.add(nearestPoint); highPoints.remove(nearestPoint); } } result.add(result.get(0)); final double sceneScale = Scene.getInstance().getScale(); final double a = Util.area3D_Polygon(result, (ReadOnlyVector3) roofPart.getUserData()) * sceneScale * sceneScale; areaByPartWithoutOverhang.put(roofPartMesh, a); this.area += a; } } } } } // return the roof area WITH overhang (skylight windows excluded) @Override public double getArea() { if (areaByPartWithOverhang == null) { return 0; } double a = 0; for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Node roofPartNode = (Node) roofPart; final Mesh roofPartMesh = (Mesh) roofPartNode.getChild(REAL_MESH_INDEX); final Double d = areaByPartWithOverhang.get(roofPartMesh); if (d != null) { a += d; } } } return a; } // return the roof area WITHOUT overhang (skylight windows excluded) public double getAreaWithoutOverhang(final Mesh mesh) { if (areaByPartWithoutOverhang == null) { return 0; } final Double d = areaByPartWithoutOverhang.get(mesh); if (d == null) { return 0; } return d; } // if wallUpperPoints is null then it has not been drawn yet so we assume wallUpperPoints size is okay otherwise all roofs would be invalid at init time @Override public boolean isDrawable() { return container != null && (wallUpperPoints == null || wallUpperPoints.size() >= 3); } @Override protected HousePart getContainerRelative() { return getTopContainer(); } @Override public Spatial getCollisionSpatial() { return roofPartsRoot; } boolean insideWalls(final double x, final double y, final boolean init) { if (walls.isEmpty()) { return false; } if (init) { if (underlyingWallVerticesOnFoundation == null) { underlyingWallVerticesOnFoundation = new ArrayList<>(); } else { underlyingWallVerticesOnFoundation.clear(); } walls.get(0).visitNeighbors(new WallVisitor() { @Override public void visit(final Wall currentWall, final Snap prev, final Snap next) { int pointIndex = 0; if (next != null) { pointIndex = next.getSnapPointIndexOf(currentWall); } pointIndex++; addUnderlyingWallVertex(currentWall.getAbsPoint(pointIndex == 1 ? 3 : 1)); addUnderlyingWallVertex(currentWall.getAbsPoint(pointIndex)); } private void addUnderlyingWallVertex(final ReadOnlyVector3 v3) { final Vector2 v2 = new Vector2(v3.getX(), v3.getY()); boolean b = false; for (final Vector2 x : underlyingWallVerticesOnFoundation) { if (Util.isEqual(x, v2)) { b = true; break; } } if (!b) { underlyingWallVerticesOnFoundation.add(v2); } } }); if (underlyingWallPath == null) { underlyingWallPath = new Path2D.Double(); } else { underlyingWallPath.reset(); } final Vector2 v0 = underlyingWallVerticesOnFoundation.get(0); underlyingWallPath.moveTo(v0.getX(), v0.getY()); for (int i = 1; i < underlyingWallVerticesOnFoundation.size(); i++) { final Vector2 v = underlyingWallVerticesOnFoundation.get(i); underlyingWallPath.lineTo(v.getX(), v.getY()); } underlyingWallPath.lineTo(v0.getX(), v0.getY()); underlyingWallPath.closePath(); } return underlyingWallPath != null && underlyingWallPath.contains(x, y); } private double calculateHeatVector(final Mesh mesh) { double heat = 0; final double[] heatLossArray = SolarRadiation.getInstance().getHeatLoss(mesh); if (heatLossArray != null) { if (SceneManager.getInstance().isHeatFluxDaily()) { for (final double x : heatLossArray) { heat += x; } heat /= getAreaWithoutOverhang(mesh) * heatLossArray.length; heatFlux.setDefaultColor(ColorRGBA.YELLOW); } else { final int hourOfDay = Heliodon.getInstance().getCalendar().get(Calendar.HOUR_OF_DAY); heat = heatLossArray[hourOfDay * 4] + heatLossArray[hourOfDay * 4 + 1] + heatLossArray[hourOfDay * 4 + 2] + heatLossArray[hourOfDay * 4 + 3]; heat /= 4 * getAreaWithoutOverhang(mesh); heatFlux.setDefaultColor(ColorRGBA.WHITE); } } return heat; } @Override public void drawHeatFlux() { final Foundation foundation = getTopContainer(); final int cols = (int) Math.max(2, foundation.getAbsPoint(0).distance(foundation.getAbsPoint(2)) / Scene.getInstance().getHeatVectorGridSize()); final int rows = (int) Math.max(2, foundation.getAbsPoint(0).distance(foundation.getAbsPoint(1)) / Scene.getInstance().getHeatVectorGridSize()); FloatBuffer arrowsVertices = BufferUtils.createVector3Buffer(rows * cols * 6); heatFlux.getMeshData().setVertexBuffer(arrowsVertices); final ReadOnlyVector3 o = foundation.getAbsPoint(0); final ReadOnlyVector3 u = foundation.getAbsPoint(2).subtract(o, null); final ReadOnlyVector3 v = foundation.getAbsPoint(1).subtract(o, null); final Vector3 a = new Vector3(); double g, h; boolean init = true; for (int j = 0; j < cols; j++) { h = j + 0.5; for (int i = 0; i < rows; i++) { g = i + 0.5; a.setX(o.getX() + g * v.getX() / rows + h * u.getX() / cols); a.setY(o.getY() + g * v.getY() / rows + h * u.getY() / cols); a.setZ(o.getZ()); if (insideWalls(a.getX(), a.getY(), init)) { ReadOnlyVector3 b = null; Node node = null; Mesh mesh = null; for (final Spatial child : roofPartsRoot.getChildren()) { if (child.getSceneHints().getCullHint() != CullHint.Always) { node = (Node) child; mesh = (Mesh) node.getChild(REAL_MESH_INDEX); b = findRoofIntersection(mesh, a); if (b != null) { break; } } } if (b != null) { final ReadOnlyVector3 normal = (ReadOnlyVector3) node.getUserData(); final double heat = calculateHeatVector(mesh); drawArrow(b, normal, arrowsVertices, heat); } } if (init) { init = false; } } heatFlux.getMeshData().updateVertexCount(); heatFlux.updateModelBound(); } updateHeatFluxVisibility(); } @Override public String toString() { String s = this.getClass().getSimpleName() + "(" + id + ")"; s += (" editPoint=" + editPointIndex); return s; } public void remove(final Wall wall) { if (gableEditPointToWallMap != null) { for (final List<Wall> wallList : gableEditPointToWallMap.values()) { wallList.remove(wall); } } } @Override public boolean isCopyable() { return false; } public double getOverhangLength() { return overhangLength; } public void setOverhangLength(final double overhangLength) { this.overhangLength = overhangLength; } @Override public void setUValue(final double uValue) { this.uValue = uValue; } @Override public double getUValue() { return uValue; } @Override public void setVolumetricHeatCapacity(final double volumetricHeatCapacity) { this.volumetricHeatCapacity = volumetricHeatCapacity; } @Override public double getVolumetricHeatCapacity() { return volumetricHeatCapacity; } public List<Window> getWindows() { final List<Window> windows = new ArrayList<>(); for (final HousePart x : children) { if (x instanceof Window) { windows.add((Window) x); } } return windows; } @Override protected boolean fits(final HousePart window) { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Mesh mesh = (Mesh) ((Node) roofPart).getChild(0); final ArrayList<ReadOnlyVector3> outlinePoints = MeshLib.computeOutline(mesh.getMeshData().getVertexBuffer()); boolean allInside = true; boolean allOutside = true; for (int i = 0; i < window.getPoints().size(); i++) { final Vector3 p = window.getAbsPoint(i); roofPart.getWorldTransform().applyInverse(p); if (Util.insidePolygon(p, outlinePoints)) { allOutside = false; } else { allInside = false; } } if (!allInside && !allOutside) { return false; } } } return true; } boolean isSingleFlatMesh() { return getRoofPartsRoot().getNumberOfChildren() == 1 && Util.isEqual((ReadOnlyVector3) getRoofPartsRoot().getChild(0).getUserData(), Vector3.UNIT_Z, 0.01); } @Override public void addPrintMeshes(final List<Mesh> list) { for (final Spatial roofPart : roofPartsRoot.getChildren()) { if (roofPart.getSceneHints().getCullHint() != CullHint.Always) { final Mesh mesh = (Mesh) ((Node) roofPart).getChild(REAL_MESH_INDEX); addPrintMesh(list, mesh); } } } public void setType(final int type) { this.type = type; } public int getType() { return type; } }
concord-consortium/energy3d
src/main/java/org/concord/energy3d/model/Roof.java
Java
mit
63,252
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of LoginModel * * @author Iqbal Abdurrahman */ class mLoginAdmin extends CI_Model{ //put your code here function __construct(){ parent::__construct(); } function authenticate_user($username,$password){ $que = $this->db->query("select 1 from admin where username= '".$username."' and password='".$password."'"); return $que->num_rows(); } }
iqbvl/minatbakat
application/models/mLoginAdmin.php
PHP
mit
601
#pragma once #include "engine/lumix.h" namespace Lumix { struct LUMIX_ENGINE_API PathInfo { explicit PathInfo(const char* path); char m_extension[10]; char m_basename[MAX_PATH_LENGTH]; char m_dir[MAX_PATH_LENGTH]; }; struct PathInternal { char m_path[MAX_PATH_LENGTH]; u32 m_id; volatile i32 m_ref_count; }; struct LUMIX_ENGINE_API Path { public: static void normalize(const char* path, Span<char> out); static void getDir(Span<char> dir, const char* src); static void getBasename(Span<char> basename, const char* src); static void getExtension(Span<char> extension, Span<const char> src); static bool hasExtension(const char* filename, const char* ext); static bool replaceExtension(char* path, const char* ext); public: Path(); Path(const Path& rhs); explicit Path(const char* path); void operator=(const Path& rhs); void operator=(const char* rhs); bool operator==(const Path& rhs) const; bool operator!=(const Path& rhs) const; i32 length() const; u32 getHash() const { return m_hash; } const char* c_str() const { return m_path; } bool isValid() const { return m_path[0] != '\0'; } private: char m_path[MAX_PATH_LENGTH]; u32 m_hash; }; } // namespace Lumix
JakubLukas/LumixEngine
src/engine/path.h
C
mit
1,201
'use strict'; const commonTags = require('common-tags'); const prepareFilenameToContentMap = require('../lib/prepare_filename_to_content_map'); describe('prepareFilenameToContentMap()', () => { it('should return a map with file name to file contents', () => { const filepaths = ['./path1/slide1.md', './path2/slide2.md']; const fileToContents = { './path1/slide1.md': 'Slide 1 contents', './path2/slide2.md': 'Slide 2 contents' }; function read(path) { return fileToContents[path]; } const result = prepareFilenameToContentMap(filepaths, read); expect(result.get('slide1')).not.toBeUndefined(); expect(result.get('slide2')).not.toBeUndefined(); }); it('should keep the given path in case slideResolutionFullPath is given as option', () => { const filepaths = ['./path1/slide1.md', './path2/slide2.md']; const fileToContents = { './path1/slide1.md': 'Slide 1 contents', './path2/slide2.md': 'Slide 2 contents' }; const options = { slideResolutionFullPath: true }; function read(path) { return fileToContents[path]; } const result = prepareFilenameToContentMap(filepaths, read, options); expect(result.get('./path1/slide1')).not.toBeUndefined(); expect(result.get('./path2/slide2')).not.toBeUndefined(); }); it('should return an object with a data and an attribute property as contents', () => { const filepaths = ['./path1/slide1.md', './path2/slide2.md']; const fileToContents = { './path1/slide1.md': 'Slide 1 contents', './path2/slide2.md': 'Slide 2 contents' }; function read(path) { return fileToContents[path]; } const result = prepareFilenameToContentMap(filepaths, read); // We have no sections, front matter or options.layoutAttributes -> data only has a section with content expect(result.get('slide1').data).toEqual({filename: 'slide1', sections: {content: 'Slide 1 contents'}}); // We have no front matter -> empty attributes expect(result.get('slide1').attributes).toEqual({}); expect(result.get('slide2').data).toEqual({filename: 'slide2', sections: {content: 'Slide 2 contents'}}); expect(result.get('slide2').attributes).toEqual({}); }); it('should contain front matter attributes in the data and attributes properties', () => { const filepaths = ['./path1/slide1.md', './path2/slide2.md']; const slide1Contents = commonTags.stripIndents`--- title: Slide 1 --- Contents of slide 1`; const slide2Contents = commonTags.stripIndents`--- title: Slide 2 --- Contents of slide 2`; const fileToContents = { './path1/slide1.md': slide1Contents, './path2/slide2.md': slide2Contents }; function read(path) { return fileToContents[path]; } const result = prepareFilenameToContentMap(filepaths, read); expect(result.get('slide1').data.title).toEqual('Slide 1'); expect(result.get('slide1').attributes).toEqual({title: 'Slide 1'}); expect(result.get('slide2').data.title).toEqual('Slide 2'); expect(result.get('slide2').attributes).toEqual({title: 'Slide 2'}); }); it('should override attributes in options.layoutAttributes which have the same name as attributes in the front matter (only in the data property)', () => { const filepaths = ['./path1/slide1.md', './path2/slide2.md']; const slide1Contents = commonTags.stripIndents`--- slideTitle: Slide 1 --- Contents of slide 1`; const slide2Contents = commonTags.stripIndents`--- title: Slide 2 --- Contents of slide 2`; const fileToContents = { './path1/slide1.md': slide1Contents, './path2/slide2.md': slide2Contents }; const options = { layoutAttributes: { title: 'Title for all slides' } }; function read(path) { return fileToContents[path]; } const result = prepareFilenameToContentMap(filepaths, read, options); expect(result.get('slide1').data.title).toEqual('Title for all slides'); expect(result.get('slide1').data.slideTitle).toEqual('Slide 1'); expect(result.get('slide1').attributes).toEqual({slideTitle: 'Slide 1'}); expect(result.get('slide2').data.title).toEqual('Slide 2'); expect(result.get('slide2').attributes).toEqual({title: 'Slide 2'}); }); it('should have a sections property in the data with all slide sections', () => { const filepaths = ['./path1/slide1.md']; const slide1Contents = commonTags.stripIndents`--- title: Slide 1 --- ---section1--- Contents of slide 1 section 1 ---section2--- Contents of slide 1 section 2 `; const fileToContents = { './path1/slide1.md': slide1Contents }; function read(path) { return fileToContents[path]; } const result = prepareFilenameToContentMap(filepaths, read); expect(result.get('slide1').data.sections.section1).toBe('\nContents of slide 1 section 1\n\n'); expect(result.get('slide1').data.sections.section2).toBe('\nContents of slide 1 section 2'); }); });
nponiros/presentation_builder
spec/prepare_filename_to_content_map.spec.js
JavaScript
mit
5,200
import CharacterNav from './CharacterNav' export default CharacterNav
warcraftlfg/warcrafthub-client
src/routes/Character/components/CharacterNav/index.js
JavaScript
mit
71
using B2Net.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; namespace B2Net.Http.RequestGenerators { public class LargeFileRequestGenerators { private static class Endpoints { public const string Start = "b2_start_large_file"; public const string GetPartUrl = "b2_get_upload_part_url"; public const string Upload = "b2_upload_part"; public const string Finish = "b2_finish_large_file"; public const string ListParts = "b2_list_parts"; public const string Cancel = "b2_cancel_large_file"; public const string IncompleteFiles = "b2_list_unfinished_large_files"; public const string CopyPart = "b2_copy_part"; } public static HttpRequestMessage Start(B2Options options, string bucketId, string fileName, string contentType, Dictionary<string, string> fileInfo = null) { var uri = new Uri(options.ApiUrl + "/b2api/" + Constants.Version + "/" + Endpoints.Start); var content = "{\"bucketId\":\"" + bucketId + "\",\"fileName\":\"" + fileName + "\",\"contentType\":\"" + (string.IsNullOrEmpty(contentType) ? "b2/x-auto" : contentType) + "\"}"; var request = new HttpRequestMessage() { Method = HttpMethod.Post, RequestUri = uri, Content = new StringContent(content), }; request.Headers.TryAddWithoutValidation("Authorization", options.AuthorizationToken); // File Info headers if (fileInfo != null && fileInfo.Count > 0) { foreach (var info in fileInfo.Take(10)) { request.Headers.Add($"X-Bz-Info-{info.Key}", info.Value); } } request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/json"); request.Content.Headers.ContentLength = content.Length; return request; } /// <summary> /// Upload a file to B2. This method will calculate the SHA1 checksum before sending any data. /// </summary> /// <param name="options"></param> /// <param name="uploadUrl"></param> /// <param name="fileData"></param> /// <param name="fileName"></param> /// <param name="fileInfo"></param> /// <returns></returns> public static HttpRequestMessage Upload(B2Options options, byte[] fileData, int partNumber, B2UploadPartUrl uploadPartUrl) { if (partNumber < 1 || partNumber > 10000) { throw new Exception("Part number must be between 1 and 10,000"); } var uri = new Uri(uploadPartUrl.UploadUrl); var request = new HttpRequestMessage() { Method = HttpMethod.Post, RequestUri = uri, Content = new ByteArrayContent(fileData) }; // Get the file checksum string hash = Utilities.GetSHA1Hash(fileData); // Add headers request.Headers.TryAddWithoutValidation("Authorization", uploadPartUrl.AuthorizationToken); request.Headers.Add("X-Bz-Part-Number", partNumber.ToString()); request.Headers.Add("X-Bz-Content-Sha1", hash); request.Content.Headers.ContentLength = fileData.Length; return request; } public static HttpRequestMessage GetUploadPartUrl(B2Options options, string fileId) { return BaseRequestGenerator.PostRequest(Endpoints.GetPartUrl, JsonConvert.SerializeObject(new { fileId }), options); } public static HttpRequestMessage Finish(B2Options options, string fileId, string[] partSHA1Array) { var content = JsonConvert.SerializeObject(new { fileId, partSha1Array = partSHA1Array }); var request = BaseRequestGenerator.PostRequestJson(Endpoints.Finish, content, options); return request; } public static HttpRequestMessage ListParts(B2Options options, string fileId, int startPartNumber, int maxPartCount) { if (startPartNumber < 1 || startPartNumber > 10000) { throw new Exception("Start part number must be between 1 and 10,000"); } var content = JsonConvert.SerializeObject(new { fileId, startPartNumber, maxPartCount }); var request = BaseRequestGenerator.PostRequestJson(Endpoints.ListParts, content, options); return request; } public static HttpRequestMessage Cancel(B2Options options, string fileId) { var content = JsonConvert.SerializeObject(new { fileId }); var request = BaseRequestGenerator.PostRequestJson(Endpoints.Cancel, content, options); return request; } public static HttpRequestMessage IncompleteFiles(B2Options options, string bucketId, string startFileId = "", string maxFileCount = "") { var body = "{\"bucketId\":\"" + bucketId + "\""; if (!string.IsNullOrEmpty(startFileId)) { body += ", \"startFileId\":" + JsonConvert.ToString(startFileId); } if (!string.IsNullOrEmpty(maxFileCount)) { body += ", \"maxFileCount\":" + JsonConvert.ToString(maxFileCount); } body += "}"; var request = BaseRequestGenerator.PostRequestJson(Endpoints.IncompleteFiles, body, options); return request; } public static HttpRequestMessage CopyPart(B2Options options, string sourceFileId, string destinationLargeFileId, int destinationPartNumber, string range = "") { var uri = new Uri(options.ApiUrl + "/b2api/" + Constants.Version + "/" + Endpoints.CopyPart); var payload = new Dictionary<string,string>() { { "sourceFileId", sourceFileId }, { "largeFileId", destinationLargeFileId }, { "partNumber", destinationPartNumber.ToString() }, }; if (!string.IsNullOrWhiteSpace(range)) { payload.Add("range", range); } var content = JsonConvert.SerializeObject(payload); var request = new HttpRequestMessage() { Method = HttpMethod.Post, RequestUri = uri, Content = new StringContent(content), }; request.Headers.TryAddWithoutValidation("Authorization", options.AuthorizationToken); request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/json"); request.Content.Headers.ContentLength = content.Length; return request; } } }
coryrwest/B2.NET
src/Http/RequestGenerators/LargeFileRequestGenerators.cs
C#
mit
5,801
# We borrow heavily from the kernel build setup, though we are simpler since # we don't have Kconfig tweaking settings on us. # The implicit make rules have it looking for RCS files, among other things. # We instead explicitly write all the rules we care about. # It's even quicker (saves ~200ms) to pass -r on the command line. MAKEFLAGS=-r # The source directory tree. srcdir := .. abs_srcdir := $(abspath $(srcdir)) # The name of the builddir. builddir_name ?= . # The V=1 flag on command line makes us verbosely print command lines. ifdef V quiet= else quiet=quiet_ endif # Specify BUILDTYPE=Release on the command line for a release build. BUILDTYPE ?= Release # Directory all our build output goes into. # Note that this must be two directories beneath src/ for unit tests to pass, # as they reach into the src/ directory for data with relative paths. builddir ?= $(builddir_name)/$(BUILDTYPE) abs_builddir := $(abspath $(builddir)) depsdir := $(builddir)/.deps # Object output directory. obj := $(builddir)/obj abs_obj := $(abspath $(obj)) # We build up a list of every single one of the targets so we can slurp in the # generated dependency rule Makefiles in one pass. all_deps := CC.target ?= $(CC) CFLAGS.target ?= $(CPPFLAGS) $(CFLAGS) CXX.target ?= $(CXX) CXXFLAGS.target ?= $(CPPFLAGS) $(CXXFLAGS) LINK.target ?= $(LINK) LDFLAGS.target ?= $(LDFLAGS) AR.target ?= $(AR) # C++ apps need to be linked with g++. LINK ?= $(CXX.target) # TODO(evan): move all cross-compilation logic to gyp-time so we don't need # to replicate this environment fallback in make as well. CC.host ?= gcc CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host) CXX.host ?= g++ CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host) LINK.host ?= $(CXX.host) LDFLAGS.host ?= AR.host ?= ar # Define a dir function that can handle spaces. # http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions # "leading spaces cannot appear in the text of the first argument as written. # These characters can be put into the argument value by variable substitution." empty := space := $(empty) $(empty) # http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces replace_spaces = $(subst $(space),?,$1) unreplace_spaces = $(subst ?,$(space),$1) dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1))) # Flags to make gcc output dependency info. Note that you need to be # careful here to use the flags that ccache and distcc can understand. # We write to a dep file on the side first and then rename at the end # so we can't end up with a broken dep file. depfile = $(depsdir)/$(call replace_spaces,$@).d DEPFLAGS = -MMD -MF $(depfile).raw # We have to fixup the deps output in a few ways. # (1) the file output should mention the proper .o file. # ccache or distcc lose the path to the target, so we convert a rule of # the form: # foobar.o: DEP1 DEP2 # into # path/to/foobar.o: DEP1 DEP2 # (2) we want missing files not to cause us to fail to build. # We want to rewrite # foobar.o: DEP1 DEP2 \ # DEP3 # to # DEP1: # DEP2: # DEP3: # so if the files are missing, they're just considered phony rules. # We have to do some pretty insane escaping to get those backslashes # and dollar signs past make, the shell, and sed at the same time. # Doesn't work with spaces, but that's fine: .d files have spaces in # their names replaced with other characters. define fixup_dep # The depfile may not exist if the input file didn't have any #includes. touch $(depfile).raw # Fixup path as in (1). sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile) # Add extra rules as in (2). # We remove slashes and replace spaces with new lines; # remove blank lines; # delete the first line and append a colon to the remaining lines. sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\ grep -v '^$$' |\ sed -e 1d -e 's|$$|:|' \ >> $(depfile) rm $(depfile).raw endef # Command definitions: # - cmd_foo is the actual command to run; # - quiet_cmd_foo is the brief-output summary of the command. quiet_cmd_cc = CC($(TOOLSET)) $@ cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_cxx = CXX($(TOOLSET)) $@ cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_objc = CXX($(TOOLSET)) $@ cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $< quiet_cmd_objcxx = CXX($(TOOLSET)) $@ cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $< # Commands for precompiled header files. quiet_cmd_pch_c = CXX($(TOOLSET)) $@ cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_pch_cc = CXX($(TOOLSET)) $@ cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_pch_m = CXX($(TOOLSET)) $@ cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $< quiet_cmd_pch_mm = CXX($(TOOLSET)) $@ cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $< # gyp-mac-tool is written next to the root Makefile by gyp. # Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd # already. quiet_cmd_mac_tool = MACTOOL $(4) $< cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@" quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@ cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4) quiet_cmd_infoplist = INFOPLIST $@ cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@" quiet_cmd_touch = TOUCH $@ cmd_touch = touch $@ quiet_cmd_copy = COPY $@ # send stderr to /dev/null to ignore messages when linking directories. cmd_copy = rm -rf "$@" && cp -af "$<" "$@" quiet_cmd_alink = LIBTOOL-STATIC $@ cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^) quiet_cmd_link = LINK($(TOOLSET)) $@ cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS) quiet_cmd_solink = SOLINK($(TOOLSET)) $@ cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS) quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@ cmd_solink_module = $(LINK.$(TOOLSET)) -bundle $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS) # Define an escape_quotes function to escape single quotes. # This allows us to handle quotes properly as long as we always use # use single quotes and escape_quotes. escape_quotes = $(subst ','\'',$(1)) # This comment is here just to include a ' to unconfuse syntax highlighting. # Define an escape_vars function to escape '$' variable syntax. # This allows us to read/write command lines with shell variables (e.g. # $LD_LIBRARY_PATH), without triggering make substitution. escape_vars = $(subst $$,$$$$,$(1)) # Helper that expands to a shell command to echo a string exactly as it is in # make. This uses printf instead of echo because printf's behaviour with respect # to escape sequences is more portable than echo's across different shells # (e.g., dash, bash). exact_echo = printf '%s\n' '$(call escape_quotes,$(1))' # Helper to compare the command we're about to run against the command # we logged the last time we ran the command. Produces an empty # string (false) when the commands match. # Tricky point: Make has no string-equality test function. # The kernel uses the following, but it seems like it would have false # positives, where one string reordered its arguments. # arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \ # $(filter-out $(cmd_$@), $(cmd_$(1)))) # We instead substitute each for the empty string into the other, and # say they're equal if both substitutions produce the empty string. # .d files contain ? instead of spaces, take that into account. command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\ $(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1)))) # Helper that is non-empty when a prerequisite changes. # Normally make does this implicitly, but we force rules to always run # so we can check their command lines. # $? -- new prerequisites # $| -- order-only dependencies prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?)) # Helper that executes all postbuilds until one fails. define do_postbuilds @E=0;\ for p in $(POSTBUILDS); do\ eval $$p;\ E=$$?;\ if [ $$E -ne 0 ]; then\ break;\ fi;\ done;\ if [ $$E -ne 0 ]; then\ rm -rf "$@";\ exit $$E;\ fi endef # do_cmd: run a command via the above cmd_foo names, if necessary. # Should always run for a given target to handle command-line changes. # Second argument, if non-zero, makes it do asm/C/C++ dependency munging. # Third argument, if non-zero, makes it do POSTBUILDS processing. # Note: We intentionally do NOT call dirx for depfile, since it contains ? for # spaces already and dirx strips the ? characters. define do_cmd $(if $(or $(command_changed),$(prereq_changed)), @$(call exact_echo, $($(quiet)cmd_$(1))) @mkdir -p "$(call dirx,$@)" "$(dir $(depfile))" $(if $(findstring flock,$(word 2,$(cmd_$1))), @$(cmd_$(1)) @echo " $(quiet_cmd_$(1)): Finished", @$(cmd_$(1)) ) @$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile) @$(if $(2),$(fixup_dep)) $(if $(and $(3), $(POSTBUILDS)), $(call do_postbuilds) ) ) endef # Declare the "all" target first so it is the default, # even though we don't have the deps yet. .PHONY: all all: # make looks for ways to re-generate included makefiles, but in our case, we # don't have a direct way. Explicitly telling make that it has nothing to do # for them makes it go faster. %.d: ; # Use FORCE_DO_CMD to force a target to run. Should be coupled with # do_cmd. .PHONY: FORCE_DO_CMD FORCE_DO_CMD: TOOLSET := target # Suffix rules, putting all outputs into $(obj). $(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD @$(call do_cmd,objc,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD @$(call do_cmd,objcxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD @$(call do_cmd,cc,1) # Try building from generated source, too. $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD @$(call do_cmd,objc,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD @$(call do_cmd,objcxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD @$(call do_cmd,objc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD @$(call do_cmd,objcxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD @$(call do_cmd,cc,1) ifeq ($(strip $(foreach prefix,$(NO_LOAD),\ $(findstring $(join ^,$(prefix)),\ $(join ^,validation.target.mk)))),) include validation.target.mk endif quiet_cmd_regen_makefile = ACTION Regenerating $@ cmd_regen_makefile = cd $(srcdir); /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/gerardtolan/Documents/Data/Meanjs/Etece2.0/node_modules/utf-8-validate/build/config.gypi -I/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/gerardtolan/.node-gyp/5.7.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/gerardtolan/.node-gyp/5.7.0" "-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=node.lib" "-Dmodule_root_dir=/Users/gerardtolan/Documents/Data/Meanjs/Etece2.0/node_modules/utf-8-validate" binding.gyp Makefile: $(srcdir)/../../../../../../.node-gyp/5.7.0/include/node/common.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../../../../usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(call do_cmd,regen_makefile) # "all" is a concatenation of the "all" targets from all the included # sub-makefiles. This is just here to clarify. all: # Add in dependency-tracking rules. $(all_deps) is the list of every single # target in our tree. Only consider the ones with .d (dependency) info: d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d)) ifneq ($(d_files),) include $(d_files) endif
gtolan/mrkttrdr
node_modules/utf-8-validate/build/Makefile
Makefile
mit
13,482
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Common; using Common.Log; using Core; using Core.Bitcoin; using Core.Helpers; using Core.OpenAssets; using Core.QBitNinja; using Core.Repositories.Offchain; using Core.Settings; using LkeServices.Transactions; using Lykke.JobTriggers.Triggers.Attributes; using Lykke.JobTriggers.Triggers.Bindings; using NBitcoin; namespace BitcoinJob.Functions { public class SpendBroadcastedCommitmentFunction { private readonly TimeSpan MessageProcessDelay = TimeSpan.FromMinutes(10); private readonly IOffchainService _offchainService; private readonly IQBitNinjaApiCaller _qBitNinjaApiCaller; private readonly ICommitmentRepository _commitmentRepository; private readonly RpcConnectionParams _connectionParams; private readonly ILog _log; public SpendBroadcastedCommitmentFunction(IOffchainService offchainService, IQBitNinjaApiCaller qBitNinjaApiCaller, ICommitmentRepository commitmentRepository, RpcConnectionParams connectionParams, ILog log) { _offchainService = offchainService; _qBitNinjaApiCaller = qBitNinjaApiCaller; _commitmentRepository = commitmentRepository; _connectionParams = connectionParams; _log = log; } [QueueTrigger(Constants.SpendCommitmentOutputQueue)] public async Task Process(SpendCommitmentMonitorindMessage message, QueueTriggeringContext context) { if (DateTime.UtcNow - message.LastTryTime.GetValueOrDefault() < MessageProcessDelay) { MoveToEnd(context, message); return; } message.LastTryTime = DateTime.UtcNow; var tr = await _qBitNinjaApiCaller.GetTransaction(message.TransactionHash); if (tr?.Block == null || tr.Block.Confirmations < OffchainService.OneDayDelay) { MoveToEnd(context, message); return; } var commitment = await _commitmentRepository.GetCommitment(message.CommitmentId); var lockedAddr = OpenAssetsHelper.ParseAddress(commitment.LockedAddress); var coin = tr.ReceivedCoins .FirstOrDefault(o => o.TxOut.ScriptPubKey.GetDestinationAddress(_connectionParams.Network) == lockedAddr); if (coin == null) throw new Exception("Not found coin for spending for " + message.ToJson()); if (coin is Coin) coin = ((Coin)coin).ToScriptCoin(commitment.LockedScript.ToScript()); else { var colored = coin as ColoredCoin; coin = colored.Bearer.ToScriptCoin(commitment.LockedScript.ToScript()).ToColoredCoin(colored.Amount); } var assetSettings = await _offchainService.GetAssetSetting(commitment.AssetId); try { var hash = await _offchainService.SpendCommitmemtByPubkey(commitment, coin, !string.IsNullOrEmpty(assetSettings.ChangeWallet) ? assetSettings.ChangeWallet : assetSettings.HotWallet); await _log.WriteInfoAsync(nameof(SpendBroadcastedCommitmentFunction), nameof(Process), message.ToJson(), "Spent commitment by transaction" + hash); } catch (Exception ex) { await _log.WriteWarningAsync(nameof(SpendBroadcastedCommitmentFunction), nameof(Process), message.ToJson(), ex); MoveToEnd(context, message); } } private static void MoveToEnd(QueueTriggeringContext context, SpendCommitmentMonitorindMessage message) { context.MoveMessageToEnd(message.ToJson()); context.SetCountQueueBasedDelay(10000, 100); } } }
LykkeCity/bitcoinservice
src/BitcoinJob/Functions/SpendBroadcastedCommitmentFunction.cs
C#
mit
3,957
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Test\Repository\Vcs; use Composer\Downloader\TransportException; use Composer\Repository\Vcs\GitHubDriver; use Composer\Util\Filesystem; use Composer\Config; class GitHubDriverTest extends \PHPUnit_Framework_TestCase { private $config; public function setUp() { $this->config = new Config(); $this->config->merge(array( 'config' => array( 'home' => sys_get_temp_dir() . '/composer-test', ), )); } public function tearDown() { $fs = new Filesystem; $fs->removeDirectory(sys_get_temp_dir() . '/composer-test'); } public function testPrivateRepository() { $repoUrl = 'http://github.com/composer/packagist'; $repoApiUrl = 'https://api.github.com/repos/composer/packagist'; $repoSshUrl = 'git@github.com:composer/packagist.git'; $identifier = 'v0.0.0'; $sha = 'SOMESHA'; $io = $this->getMock('Composer\IO\IOInterface'); $io->expects($this->any()) ->method('isInteractive') ->will($this->returnValue(true)); $remoteFilesystem = $this->getMockBuilder('Composer\Util\RemoteFilesystem') ->setConstructorArgs(array($io)) ->getMock(); $process = $this->getMock('Composer\Util\ProcessExecutor'); $process->expects($this->any()) ->method('execute') ->will($this->returnValue(1)); $remoteFilesystem->expects($this->at(0)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo($repoApiUrl), $this->equalTo(false)) ->will($this->throwException(new TransportException('HTTP/1.1 404 Not Found', 404))); $io->expects($this->once()) ->method('ask') ->with($this->equalTo('Username: ')) ->will($this->returnValue('someuser')); $io->expects($this->once()) ->method('askAndHideAnswer') ->with($this->equalTo('Password: ')) ->will($this->returnValue('somepassword')); $io->expects($this->any()) ->method('setAuthentication') ->with($this->equalTo('github.com'), $this->matchesRegularExpression('{someuser|abcdef}'), $this->matchesRegularExpression('{somepassword|x-oauth-basic}')); $remoteFilesystem->expects($this->at(1)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo('https://api.github.com/authorizations'), $this->equalTo(false)) ->will($this->returnValue('{"token": "abcdef"}')); $remoteFilesystem->expects($this->at(2)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo($repoApiUrl), $this->equalTo(false)) ->will($this->returnValue('{"master_branch": "test_master", "private": true}')); $configSource = $this->getMock('Composer\Config\ConfigSourceInterface'); $this->config->setConfigSource($configSource); $repoConfig = array( 'url' => $repoUrl, ); $gitHubDriver = new GitHubDriver($repoConfig, $io, $this->config, $process, $remoteFilesystem); $gitHubDriver->initialize(); $this->setAttribute($gitHubDriver, 'tags', array($identifier => $sha)); $this->assertEquals('test_master', $gitHubDriver->getRootIdentifier()); $dist = $gitHubDriver->getDist($identifier); $this->assertEquals('zip', $dist['type']); $this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/v0.0.0', $dist['url']); $this->assertEquals('v0.0.0', $dist['reference']); $source = $gitHubDriver->getSource($identifier); $this->assertEquals('git', $source['type']); $this->assertEquals($repoSshUrl, $source['url']); $this->assertEquals('v0.0.0', $source['reference']); $dist = $gitHubDriver->getDist($sha); $this->assertEquals('zip', $dist['type']); $this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/v0.0.0', $dist['url']); $this->assertEquals('v0.0.0', $dist['reference']); $source = $gitHubDriver->getSource($sha); $this->assertEquals('git', $source['type']); $this->assertEquals($repoSshUrl, $source['url']); $this->assertEquals('v0.0.0', $source['reference']); } public function testPublicRepository() { $repoUrl = 'http://github.com/composer/packagist'; $repoApiUrl = 'https://api.github.com/repos/composer/packagist'; $identifier = 'v0.0.0'; $sha = 'SOMESHA'; $io = $this->getMock('Composer\IO\IOInterface'); $io->expects($this->any()) ->method('isInteractive') ->will($this->returnValue(true)); $remoteFilesystem = $this->getMockBuilder('Composer\Util\RemoteFilesystem') ->setConstructorArgs(array($io)) ->getMock(); $remoteFilesystem->expects($this->at(0)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo($repoApiUrl), $this->equalTo(false)) ->will($this->returnValue('{"master_branch": "test_master"}')); $repoConfig = array( 'url' => $repoUrl, ); $repoUrl = 'https://github.com/composer/packagist.git'; $gitHubDriver = new GitHubDriver($repoConfig, $io, $this->config, null, $remoteFilesystem); $gitHubDriver->initialize(); $this->setAttribute($gitHubDriver, 'tags', array($identifier => $sha)); $this->assertEquals('test_master', $gitHubDriver->getRootIdentifier()); $dist = $gitHubDriver->getDist($identifier); $this->assertEquals('zip', $dist['type']); $this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/v0.0.0', $dist['url']); $this->assertEquals($identifier, $dist['reference']); $source = $gitHubDriver->getSource($identifier); $this->assertEquals('git', $source['type']); $this->assertEquals($repoUrl, $source['url']); $this->assertEquals($identifier, $source['reference']); $dist = $gitHubDriver->getDist($sha); $this->assertEquals('zip', $dist['type']); $this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/v0.0.0', $dist['url']); $this->assertEquals($identifier, $dist['reference']); $source = $gitHubDriver->getSource($sha); $this->assertEquals('git', $source['type']); $this->assertEquals($repoUrl, $source['url']); $this->assertEquals($identifier, $source['reference']); } public function testPublicRepository2() { $repoUrl = 'http://github.com/composer/packagist'; $repoApiUrl = 'https://api.github.com/repos/composer/packagist'; $identifier = 'feature/3.2-foo'; $sha = 'SOMESHA'; $io = $this->getMock('Composer\IO\IOInterface'); $io->expects($this->any()) ->method('isInteractive') ->will($this->returnValue(true)); $remoteFilesystem = $this->getMockBuilder('Composer\Util\RemoteFilesystem') ->setConstructorArgs(array($io)) ->getMock(); $remoteFilesystem->expects($this->at(0)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo($repoApiUrl), $this->equalTo(false)) ->will($this->returnValue('{"master_branch": "test_master"}')); $remoteFilesystem->expects($this->at(1)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo('https://raw.github.com/composer/packagist/feature/3.2-foo/composer.json'), $this->equalTo(false)) ->will($this->returnValue('{"support": {"source": "'.$repoUrl.'" }}')); $remoteFilesystem->expects($this->at(2)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo('https://api.github.com/repos/composer/packagist/commits/feature%2F3.2-foo'), $this->equalTo(false)) ->will($this->returnValue('{"commit": {"committer":{ "date": "2012-09-10"}}}')); $repoConfig = array( 'url' => $repoUrl, ); $repoUrl = 'https://github.com/composer/packagist.git'; $gitHubDriver = new GitHubDriver($repoConfig, $io, $this->config, null, $remoteFilesystem); $gitHubDriver->initialize(); $this->setAttribute($gitHubDriver, 'tags', array($identifier => $sha)); $this->assertEquals('test_master', $gitHubDriver->getRootIdentifier()); $dist = $gitHubDriver->getDist($identifier); $this->assertEquals('zip', $dist['type']); $this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/feature/3.2-foo', $dist['url']); $this->assertEquals($identifier, $dist['reference']); $source = $gitHubDriver->getSource($identifier); $this->assertEquals('git', $source['type']); $this->assertEquals($repoUrl, $source['url']); $this->assertEquals($identifier, $source['reference']); $dist = $gitHubDriver->getDist($sha); $this->assertEquals('zip', $dist['type']); $this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/feature/3.2-foo', $dist['url']); $this->assertEquals($identifier, $dist['reference']); $source = $gitHubDriver->getSource($sha); $this->assertEquals('git', $source['type']); $this->assertEquals($repoUrl, $source['url']); $this->assertEquals($identifier, $source['reference']); $gitHubDriver->getComposerInformation($identifier); } public function testPrivateRepositoryNoInteraction() { $repoUrl = 'http://github.com/composer/packagist'; $repoApiUrl = 'https://api.github.com/repos/composer/packagist'; $repoSshUrl = 'git@github.com:composer/packagist.git'; $identifier = 'v0.0.0'; $sha = 'SOMESHA'; $process = $this->getMockBuilder('Composer\Util\ProcessExecutor') ->disableOriginalConstructor() ->getMock(); $io = $this->getMock('Composer\IO\IOInterface'); $io->expects($this->any()) ->method('isInteractive') ->will($this->returnValue(false)); $remoteFilesystem = $this->getMockBuilder('Composer\Util\RemoteFilesystem') ->setConstructorArgs(array($io)) ->getMock(); $remoteFilesystem->expects($this->at(0)) ->method('getContents') ->with($this->equalTo('github.com'), $this->equalTo($repoApiUrl), $this->equalTo(false)) ->will($this->throwException(new TransportException('HTTP/1.1 404 Not Found', 404))); // clean local clone if present $fs = new Filesystem(); $fs->removeDirectory(sys_get_temp_dir() . '/composer-test'); $process->expects($this->at(0)) ->method('execute') ->with($this->equalTo('git config github.accesstoken')) ->will($this->returnValue(1)); $process->expects($this->at(1)) ->method('execute') ->with($this->stringContains($repoSshUrl)) ->will($this->returnValue(0)); $process->expects($this->at(2)) ->method('execute') ->with($this->stringContains('git tag')); $process->expects($this->at(3)) ->method('splitLines') ->will($this->returnValue(array($identifier))); $process->expects($this->at(4)) ->method('execute') ->with($this->stringContains('git branch --no-color --no-abbrev -v')); $process->expects($this->at(5)) ->method('splitLines') ->will($this->returnValue(array(' test_master edf93f1fccaebd8764383dc12016d0a1a9672d89 Fix test & behavior'))); $process->expects($this->at(6)) ->method('execute') ->with($this->stringContains('git branch --no-color')); $process->expects($this->at(7)) ->method('splitLines') ->will($this->returnValue(array('* test_master'))); $repoConfig = array( 'url' => $repoUrl, ); $gitHubDriver = new GitHubDriver($repoConfig, $io, $this->config, $process, $remoteFilesystem); $gitHubDriver->initialize(); $this->assertEquals('test_master', $gitHubDriver->getRootIdentifier()); // Dist is not available for GitDriver $dist = $gitHubDriver->getDist($identifier); $this->assertNull($dist); $source = $gitHubDriver->getSource($identifier); $this->assertEquals('git', $source['type']); $this->assertEquals($repoSshUrl, $source['url']); $this->assertEquals($identifier, $source['reference']); // Dist is not available for GitDriver $dist = $gitHubDriver->getDist($sha); $this->assertNull($dist); $source = $gitHubDriver->getSource($sha); $this->assertEquals('git', $source['type']); $this->assertEquals($repoSshUrl, $source['url']); $this->assertEquals($sha, $source['reference']); } protected function setAttribute($object, $attribute, $value) { $attr = new \ReflectionProperty($object, $attribute); $attr->setAccessible(true); $attr->setValue($object, $value); } }
1stvamp/composer
tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php
PHP
mit
13,710
import {Routes} from '@angular/router'; import {GalleryCatsListComponent} from './list/galleryCatList.component'; import {SettingsResolver} from '../../core/SettingsResolver'; import {GalleryCatFormComponent} from './form/galleryCatForm.component'; export const GalleryRoutes: Routes = [ { path: '', children: [ { path: 'cats', component: GalleryCatsListComponent }, { path: 'cats/:id/edit', resolve: {settings: SettingsResolver}, component: GalleryCatFormComponent }, { path: 'cats/add', resolve: {settings: SettingsResolver}, component: GalleryCatFormComponent } ] } ];
BioWareRu/Admin
src/app/gallery/gallery.routing.ts
TypeScript
mit
806
package org.fjorum; import org.fjorum.controller.form.UserCreateForm; import org.fjorum.model.entity.Category; import org.fjorum.model.entity.Role; import org.fjorum.model.entity.User; import org.fjorum.model.service.CategoryService; import org.fjorum.model.service.RoleService; import org.fjorum.model.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Profile; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import java.util.HashMap; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; @Component @Lazy(false) @Scope("singleton") @Profile("development") public class DbInitializer { private enum ROLE { ACCESS_MODERATION_PAGE, ACCESS_ADMINISTRATION_PAGE, ADMINISTRATE_USERS, ROLE_USER(), ROLE_MODERATOR(ACCESS_MODERATION_PAGE, ADMINISTRATE_USERS), ROLE_ADMINISTRATOR(ROLE_MODERATOR, ACCESS_ADMINISTRATION_PAGE), ROLE_OWNER(ROLE_ADMINISTRATOR), ROLE_GUEST(); public final ROLE[] includesRoles; ROLE(ROLE... includesRoles) { this.includesRoles = includesRoles; } } @Autowired public DbInitializer(RoleService roleService, UserService userService, CategoryService categoryService) { if (roleService.getAllRoles().isEmpty()) { initRoles(roleService); } if (userService.getAll().isEmpty()) { initOwner(userService, roleService); } if (categoryService.getRootCategory() == null) { initCategory(categoryService); } } private void initRoles(RoleService roleService) { Map<String, Role> roles = new HashMap<>(); for (ROLE roleEnum : ROLE.values()) { String roleName = roleEnum.name(); String roleKey = roleName.replace('_', '.').toLowerCase(); Role role = new Role(roleName, roleKey, true); role.setIncludedRoles(Stream.of(roleEnum.includesRoles) .map(e -> roles.get(e.name())) .collect(Collectors.toSet()) ); roles.put(roleName, roleService.addRole(role)); } } private void initOwner(UserService userService, RoleService roleService) { UserCreateForm form = new UserCreateForm(); form.setName("admin"); form.setEmail("admin@foo.bar"); form.setPassword("admin"); form.setPasswordRepeated("admin"); User user = userService.create(form); Role owner_role = roleService. findRole(ROLE.ROLE_OWNER.name()). orElseThrow(RuntimeException::new); user.getRoles().add(owner_role); userService.save(user); } private void initCategory(CategoryService categoryService) { Category root = new Category(CategoryService.ROOT, null); categoryService.save(root); } }
fjorum/fjorum
src/main/java/org/fjorum/DbInitializer.java
Java
mit
3,108
module.exports = { invokeCallback: function (callback, error, result) { return (this.isFunction(callback)) ? callback(error, result) : null; }, isFunction: function (f) { return f && typeof f === 'function'; } };
jarrettmeyer/recumbent
lib/recumbent/util.js
JavaScript
mit
232
package de.leanovate.dose.customer.domain; import de.leanovate.dose.customer.model.RegistrationRequest; import org.hibernate.annotations.NaturalId; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; import java.io.Serializable; import java.util.Set; @Entity public class Customer implements Serializable { @Id @GeneratedValue private Long id; @Column(nullable = false) @NaturalId private String email; @Column(nullable = false) private String password; @Column(nullable = true) private String firstName; @Column(nullable = true) private String lastName; @OneToMany(fetch = FetchType.LAZY, mappedBy = "city") private Set<Address> addresses; protected Customer() { } public Customer(final RegistrationRequest registration) { this.email = registration.email; this.password = registration.password; } public Long getId() { return id; } public Long getCustomerId() { return id; } public String getEmail() { return email; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } public boolean checkPassword(String password) { return this.password.equals(password); } }
leanovate/microzon-customer
src/main/java/de/leanovate/dose/customer/domain/Customer.java
Java
mit
1,475
#### Docker Use our [Docker container](https://hub.docker.com/r/sitespeedio/sitespeed.io/) to get an environment with Firefox, Chrome, XVFB and sitespeed.io up and running as fast as you can download them. They work [extremely well]({{site.baseurl}}/documentation/sitespeed.io/performance-dashboard/) together with Graphite/InfluxDB and Grafana. ~~~bash docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io/ ~~~ #### npm Install sitespeed.io globally: ~~~bash npm install -g sitespeed.io ~~~ And then run: ~~~bash sitespeed.io https://www.sitespeed.io/ ~~~ Follow our [connectivity guide]({{site.baseurl}}/documentation/sitespeed.io/connectivity) to emulate real users connectivity.
beenanner/sitespeed.io
docs/_includes/index/install.md
Markdown
mit
745
#ifndef RTC_H_ #define RTC_H_ #include <stdint.h> #include <stdbool.h> typedef struct { uint16_t year; /* 1..4095 */ uint8_t month; /* 1..12 */ uint8_t mday; /* 1..31 */ uint8_t wday; /* 0..6, Sunday = 0*/ uint8_t hour; /* 0..23 */ uint8_t min; /* 0..59 */ uint8_t sec; /* 0..59 */ uint8_t dst; /* 0 Winter, !=0 Summer */ } RTC_t; int rtc_init(void); bool rtc_gettime (RTC_t*); /* Get time */ bool rtc_settime (const RTC_t*); /* Set time */ #endif
inz2013/project_code
rtc.h
C
mit
471
<?php namespace LaPoiz\WindBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use LaPoiz\WindBundle\Form\SpotForm; use LaPoiz\WindBundle\Form\DataWindPrevForm; use LaPoiz\WindBundle\Entity\Spot; use LaPoiz\WindBundle\Entity\DataWindPrev; use LaPoiz\WindBundle\Entity\PrevisionDate; use LaPoiz\WindBundle\core\websiteDataManage\WindguruGetData; use LaPoiz\WindBundle\core\websiteDataManage\MeteoFranceGetData; use LaPoiz\WindBundle\core\websiteDataManage\MeteorologicGetData; use LaPoiz\WindBundle\core\WindData; use SaadTazi\GChartBundle\DataTable; use SaadTazi\GChartBundle\Chart\PieChart; class AdminDataWindPrevController extends Controller { /** * @Template() */ public function displayAction($id=null) { $message=''; $em = $this->container->get('doctrine.orm.entity_manager'); if (isset($id)) { $dataWindPrev = $em->find('LaPoizWindBundle:DataWindPrev', $id); } return $this->container->get('templating')->renderResponse( 'LaPoizWindBundle:Admin:dataWindPrev.html.twig', array( 'dataWindPrev' => $dataWindPrev, 'spot' => $dataWindPrev->getSpot() )); } /** * @Template() */ public function deleteAction(DataWindPrev $dataWindPrev) { $em = $this->container->get('doctrine.orm.entity_manager'); $website=$dataWindPrev->getWebsite(); $website->removeDataWindPrev($dataWindPrev); $spot=$dataWindPrev->getSpot(); $spot->removeDataWindPrev($dataWindPrev); $em->remove($dataWindPrev); $em->persist($spot); $em->persist($website); $em->flush(); $this->get('session')->getFlashBag()->add('notice', 'Element effacé (à traduire ds AdminDataWindPrevController)'); return $this->redirect($this->generateUrl("_admin_spot_display", array("id"=>$spot->getId()))); } }
lapoiz/WindServer
src/LaPoiz/WindBundle/Controller/AdminDataWindPrevController.php
PHP
mit
1,896
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>weak-up-to: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.9.0 / weak-up-to - 8.10.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> weak-up-to <small> 8.10.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-11-21 13:36:26 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-21 13:36:26 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 1 Virtual package relying on perl coq 8.9.0 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.08.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.08.1 Official release 4.08.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;http://perso.ens-lyon.fr/damien.pous/upto/&quot; license: &quot;GPL&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/WeakUpTo&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.10&quot; &amp; &lt; &quot;8.11~&quot;} ] tags: [ &quot;keyword: weak bisimilarity&quot; &quot;keyword: weak bisimulation&quot; &quot;keyword: up-to techniques&quot; &quot;keyword: termination&quot; &quot;keyword: commutation&quot; &quot;keyword: Newman&#39;s lemma&quot; &quot;category: Computer Science/Concurrent Systems and Protocols/Theory of concurrent systems&quot; &quot;date: 2005-02-22&quot; ] authors: [ &quot;Damien Pous &lt;damien.pous at ens-lyon.fr&gt; [http://perso.ens-lyon.fr/damien.pous/]&quot; ] bug-reports: &quot;https://github.com/coq-contribs/weak-up-to/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/weak-up-to.git&quot; synopsis: &quot;New Up-to Techniques for Weak Bisimulation&quot; description: &quot;&quot;&quot; This contribution is the formalisation of a paper that appeared in Proc. of ICALP 2005: &quot;Up-to Techniques for Weak Bisimulation&quot;. First we define a framework for defining up-to techniques for weak bisimulation in a modular way. Then we prove the correctness of some new up-to techniques, based on termination guarantees. Notably, a generalisation of Newman&#39;s Lemma to commutation results is established.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/weak-up-to/archive/v8.10.0.tar.gz&quot; checksum: &quot;md5=9e335639ad54f2dad223e4441f9ecd4c&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-weak-up-to.8.10.0 coq.8.9.0</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.9.0). The following dependencies couldn&#39;t be met: - coq-weak-up-to -&gt; coq &gt;= 8.10 Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-weak-up-to.8.10.0</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.9.0/weak-up-to/8.10.0.html
HTML
mit
7,493
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.8.1 / compcert - 3.7</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> compcert <small> 3.7 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-12-18 16:46:16 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-18 16:46:16 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 1 Virtual package relying on perl coq 8.8.1 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.04.2 The OCaml compiler (virtual package) ocaml-base-compiler 4.04.2 Official 4.04.2 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; authors: &quot;Xavier Leroy &lt;xavier.leroy@inria.fr&gt;&quot; maintainer: &quot;Jacques-Henri Jourdan &lt;jacques-Henri.jourdan@normalesup.org&gt;&quot; homepage: &quot;http://compcert.inria.fr/&quot; dev-repo: &quot;git+https://github.com/AbsInt/CompCert.git&quot; bug-reports: &quot;https://github.com/AbsInt/CompCert/issues&quot; license: &quot;INRIA Non-Commercial License Agreement&quot; build: [ [&quot;./configure&quot; &quot;ia32-linux&quot; {os = &quot;linux&quot;} &quot;ia32-macosx&quot; {os = &quot;macos&quot;} &quot;ia32-cygwin&quot; {os = &quot;cygwin&quot;} &quot;-bindir&quot; &quot;%{bin}%&quot; &quot;-libdir&quot; &quot;%{lib}%/compcert&quot; &quot;-install-coqdev&quot; &quot;-clightgen&quot; &quot;-coqdevdir&quot; &quot;%{lib}%/coq/user-contrib/compcert&quot; &quot;-ignore-coq-version&quot;] [make &quot;-j%{jobs}%&quot; {ocaml:version &gt;= &quot;4.06&quot;}] ] install: [ [make &quot;install&quot;] ] depends: [ &quot;coq&quot; {&gt;= &quot;8.7.0&quot; &amp; &lt; &quot;8.12&quot;} &quot;menhir&quot; {&gt;= &quot;20190626&quot; &amp; &lt; &quot;20200123&quot;} &quot;ocaml&quot; {&gt;= &quot;4.05.0&quot;} ] synopsis: &quot;The CompCert C compiler&quot; tags: [ &quot;category:Computer Science/Semantics and Compilation/Compilation&quot; &quot;category:Computer Science/Semantics and Compilation/Semantics&quot; &quot;keyword:C&quot; &quot;keyword:compiler&quot; &quot;logpath:compcert&quot; &quot;date:2020-03-21&quot; ] url { src: &quot;https://github.com/AbsInt/CompCert/archive/v3.7.tar.gz&quot; checksum: &quot;sha256=ceee1b2ed6c2576cb66eb7a0f2669dcf85e65c0fc68385f0781b0ca4edb87eb0&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-compcert.3.7 coq.8.8.1</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.8.1). The following dependencies couldn&#39;t be met: - coq-compcert -&gt; ocaml &gt;= 4.05.0 base of this switch (use `--unlock-base&#39; to force) No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-compcert.3.7</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.1/compcert/3.7.html
HTML
mit
7,430
#pragma once #include "Application.h" #include "FBXFile.h" #include <glm/glm.hpp> struct Buffers { unsigned int vao, vbo; }; struct OGL_FBXRenderData { unsigned int VBO; // vertex buffer object unsigned int IBO; // index buffer object unsigned int VAO; // vertex array object }; // derived application class that wraps up all globals neatly class Shadow : public Application { public: Shadow(); virtual ~Shadow(); protected: virtual bool onCreate(int a_argc, char* a_argv[]); virtual void onUpdate(float a_deltaTime); virtual void onDraw(); virtual void onDestroy(); void createShadowBuffer(); void setUpLightAndShadowMatrix(float count); void create2DQuad(); void renderShadowMap(); void displayShadowMap(); void drawScene(); void InitFBXSceneResource(FBXFile *a_pScene); void UpdateFBXSceneResource(FBXFile *a_pScene); void DestroyFBXSceneResource(FBXFile *a_pScene); glm::mat4 m_cameraMatrix; glm::mat4 m_projectionMatrix; glm::mat4 m_shadowProjectionViewMatrix; glm::vec4 m_lightDirection; unsigned int m_shadowWidth, m_shadowHeight, m_shadowFramebuffer, m_shadowTexture, m_2dprogram, m_shadowShader, m_program; Buffers m_2dQuad; FBXFile* m_fbx; };
emlowry/AIEFramework
projects/Shadow/Shadow.h
C
mit
1,190
<?php namespace App\Tests\Unit\Pipes\Category\Index; use App\Http\Requests\Category\Index as RequestIndex; use App\Models\Category; use App\Passables\Category\Index; use App\Pipes\Category\Index\Paginate; use App\Tests\Unit\Pipes\Index\Paginate as IndexPaginate; use Exception; /** * Class PaginateTest * @package App\Tests\Unit\Pipes\Category\Index */ class PaginateTest extends IndexPaginate { /** * PaginateTest constructor. * * @param null $name * @param array $data * @param string $dataName */ public function __construct($name = null, array $data = [], $dataName = '') { parent::__construct( $name, $data, $dataName ); $this->setPassable(Index::class); $this->setRequest(RequestIndex::class); $this->setPipe(Paginate::class); $this->setModel(Category::class); } /** * @group App * @group App.Pipes * @group App.Pipes.Category * @group App.Pipes.Category.Index * @group App.Pipes.Category.Index.Paginate * @group App.Pipes.Category.Index.Paginate.Success */ public function testPaginateSuccess() { $this->paginateSuccess(); } /** * @group App * @group App.Pipes * @group App.Pipes.Category * @group App.Pipes.Category.Index * @group App.Pipes.Category.Index.Paginate * @group App.Pipes.Category.Index.Paginate.Success * @group App.Pipes.Category.Index.Paginate.Success.PerPage */ public function testPaginatePerPageSuccess() { $this->paginatePerPageSuccess(); } /** * @group App * @group App.Pipes * @group App.Pipes.Category * @group App.Pipes.Category.Index * @group App.Pipes.Category.Index.Paginate * @group App.Pipes.Category.Index.Paginate.Success * @group App.Pipes.Category.Index.Paginate.Success.Page */ public function testPaginatePageSuccess() { $this->paginatePageSuccess(); } /** * @group App * @group App.Pipes * @group App.Pipes.Category * @group App.Pipes.Category.Index * @group App.Pipes.Category.Index.Paginate * @group App.Pipes.Category.Index.Paginate.Failure * @expectedExceptionCode 500 * @expectedException Exception * @expectedExceptionMessage Category paginate failed. */ public function testPaginateFailure() { $this->paginateFailure(); } }
MrSir/finance-projections
tests/Unit/Pipes/Category/Index/PaginateTest.php
PHP
mit
2,691
/*global chart $*/ var requestsAll; var colorPattern = ['#003d66', '#4d004d', '#00ccff']; $(document).ready(function() { var max; var dates = ['x']; var theDate = new Date(); for (var i = 0; i < 7; i++) { theDate = new Date(new Date().setDate(new Date().getDate()-i)); dates.push( theDate.getFullYear()+'-'+(theDate.getMonth()+1)+'-'+theDate.getDate()); } requestsAll = c3.generate({ bindto: '#requests-all', size: { height: 250 }, data: { x: 'x', columns: [ dates, ['total', 0, 0, 0, 0, 0, 0, 0, 0], ['wishlist', 0, 0, 0, 0, 0, 0, 0, 0], ['requests', 0, 0, 0, 0, 0, 0, 0, 0] ], type: 'bar', names: { total: 'Total', requests: 'Requests', wishlist: 'Wishlists' } }, axis: { x: { type: 'timeseries', tick: { format: '%b %e' } }, y: { show: true } }, color: { pattern: colorPattern }, legend: { show: true } }); }); var updateCharts = function(data) { requestsAll.load({ json: data, keys: { value: ['x', 'total', 'wishlist', 'requests'] } }); }; var loadChart = function(){ var current_url_data = window.location.pathname.split('/'); var id = current_url_data[2]; var startDate = $('#start-date').val(); var endDate = $('#end-date').val(); var url = '/teachers/' + id + '/retrieve_charts_data'; $.ajax({ type: 'get', url: url, data: {}, success: function(data) { placeCorrectCharts(data); } }); }; var placeCorrectCharts = function(data) { updateCharts(data.result); max = data.max; }
adelamtuduce/thesisapp
app/assets/javascripts/teacher_charts.js
JavaScript
mit
1,708
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.Even_or_Odd { class Program { static void Main(string[] args) { int num = int.Parse(Console.ReadLine()); if (num%2==0) { Console.WriteLine("even"); } else { Console.WriteLine("odd"); } } } }
delian1986/SoftUni-C-Sharp-repo
Fundamentals of Programming/02. Conditional Statements and Loops/02. Conditional Statements/03. Even or Odd/03. Even or Odd.cs
C#
mit
478
/* * Copyright (C) 2016-2019 Virgo Venture, Inc. * Copyright (C) 2014 Lannocc Technologies * @%@~LICENSE~@%@ */ package net.iovar.web.dev; // local imports: import net.iovar.web.*; // java imports: import java.io.*; import javax.servlet.http.*; // 3rd-party imports: /** * Simple do-nothing interface * * @author shawn@lannocc.com */ public class Null extends HttpServlet { protected void doHead (final HttpServletRequest req, final HttpServletResponse resp) throws IOException { Utils.doHead (this, req, resp); } protected void doGet (final HttpServletRequest req, final HttpServletResponse resp) throws IOException { //Utils.doGet (this, req, resp); } protected void doPut (final HttpServletRequest req, final HttpServletResponse resp) throws IOException { //Utils.doPut (this, req, resp); } }
lannocctech/iovar
src/net/iovar/web/dev/Null.java
Java
mit
880
/* Tiny Scrollbar */ .bgplayControlPrefixDiv .viewport { width: 345px; height: 120px; overflow: hidden; position: relative; } .bgplayControlPrefixDiv .overview { list-style: none; position: absolute; left: 0; top: 0; padding: 0; margin: 0; } .bgplayControlPrefixDiv .scrollbar{ background: transparent url(lib/img/bgplay/bg-scrollbar-track-y.png) no-repeat 0 0; position: relative; background-position: 0 0; float: right; width: 15px; } .bgplayControlPrefixDiv .track { background: transparent url(lib/img/bgplay/bg-scrollbar-trackend-y.png) no-repeat 0 100%; height: 100%; width:13px; position: relative; padding: 0 1px; } .bgplayControlPrefixDiv .thumb { background: transparent url(lib/img/bgplay/bg-scrollbar-thumb-y.png) no-repeat 50% 100%; height: 20px; width: 25px; cursor: pointer; overflow: hidden; position: absolute; top: 0; left: -5px; } .bgplayControlPrefixDiv .thumb .end { background: transparent url(lib/img/bgplay/bg-scrollbar-thumb-y.png) no-repeat 50% 0; overflow: hidden; height: 5px; width: 25px; } .bgplayControlPrefixDiv .disable { display: none; } .bgplayControlPrefixDiv .noSelect { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; }
compunet/BGPlay.js
modules/css/tyniscrollbar.css
CSS
mit
1,228
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("_02.BinaryToDecimal")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("_02.BinaryToDecimal")] [assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("afc1acf3-a167-4393-b94d-7c2039f3a053")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
danisio/CSharp2-Homeworks
NumeralSystems/02.BinaryToDecimal/Properties/AssemblyInfo.cs
C#
mit
1,414
#!/bin/sh CWD=`pwd` PLATFORM=`uname -s` JAVA=`which java` COMMAND="$1" RESULT=0 # set -x # browser definitions # for MACOS if [ ${PLATFORM} = 'Darwin' ]; then BROWSER="Safari" # for linux elif [ ${PLATFORM} = 'Linux' ]; then BROWSER="firefox" fi JSTESTDRIVER_DIR=${CWD}/../tools/JsTestDriver JSTESTDRIVER_JAR=${JSTESTDRIVER_DIR}/JsTestDriver-1.3.4.b.jar JSTESTDRIVER_CONF=${JSTESTDRIVER_DIR}/JsTestDriver.conf JSTESTDRIVER_PORT=`cat ${JSTESTDRIVER_CONF} | grep 'server:' | cut -d ':' -f 4` JSTESTDRIVER_BASEPATH=${CWD}/../ JSTESTDRIVER_PID_FILE=${CWD}/workspace/var/run/jstestdriver.pid start_servers() { ( cd workspace ./sbin/lighttpd -f ./etc/lighttpd.conf -m ./lib if [ -f ./var/run/testserver.pid ]; then kill `cat ./var/run/testserver.pid` rm -f ./var/run/testserver.pid fi export LD_LIBRARY_PATH=./lib export DYLD_LIBRARY_PATH=./lib ./bin/testserver & PID=$! echo ${PID} > ./var/run/testserver.pid ) } stop_servers() { ( cd workspace if [ -f ./var/run/lighttpd.pid ]; then kill `cat ./var/run/lighttpd.pid` rm -f ./var/run/lighttpd.pid fi if [ -f ./var/run/testserver.pid ]; then kill `cat ./var/run/testserver.pid` rm -f ./var/run/testserver.pid fi ) } start_jstestdriver() { ${JAVA} -jar ${JSTESTDRIVER_JAR} \ --port ${JSTESTDRIVER_PORT} \ --config ${JSTESTDRIVER_CONF} \ --basePath ${JSTESTDRIVER_BASEPATH} & echo $! > ${JSTESTDRIVER_PID_FILE} echo "test servers are started" echo "plz access http://ipaddr:${JSTESTDRIVER_PORT}/ with your target browsers and do make test" } run_jstestdriver() { ${JAVA} -jar ${JSTESTDRIVER_JAR} \ --config ${JSTESTDRIVER_CONF} \ --basePath ${JSTESTDRIVER_BASEPATH} \ --tests all --reset --raiseOnFailure true RESULT=$? } stop_jstestdriver() { if [ -f "${JSTESTDRIVER_PID_FILE}" ]; then kill `cat ${JSTESTDRIVER_PID_FILE}` rm -f ${JSTESTDRIVER_PID_FILE} fi } check_jstestdriver() { ${JAVA} -jar ${JSTESTDRIVER_JAR} \ --port ${JSTESTDRIVER_PORT} \ --config ${JSTESTDRIVER_CONF} \ --basePath ${JSTESTDRIVER_BASEPATH} \ --browser ${BROWSER} --tests all --reset --raiseOnFailure true RESULT=$? } if [ -z "${JAVA}" ]; then echo 'need java runtime to test' exit 1 fi if [ "${COMMAND}" = "start" ]; then start_servers start_jstestdriver elif [ "${COMMAND}" = "test" ]; then run_jstestdriver elif [ "${COMMAND}" = "stop" ]; then stop_jstestdriver stop_servers elif [ "${COMMAND}" = "check" ]; then start_servers check_jstestdriver stop_servers fi exit ${RESULT}
linear-rpc/linear-js
test/test.sh
Shell
mit
2,794
#!/usr/bin/env python import numpy as np from astropy.io import fits import scipy.ndimage import scipy.fftpack import scipy.optimize def getcentroid(coordinates, values): """ Image centroid from image points im that match with a 2-d array pos, which contains the locations of each point in an all-positive coordinate system. """ return np.sum(values*coordinates, axis=1) / np.sum(values) def flatfunc(centroid, p0, p1, p2): """ Intended only for use with detrend(). """ return p0*centroid[:, 0] + p1*centroid[:, 1] + p2 def detrend(flux,centroid): """ Detrend flux against centroid points. Returns normalized flux. """ for f in range(flux.shape[0]): p, cov = scipy.optimize.curve_fit(flatfunc, centroid[f], flux[f]) flux[f] /= flatfunc(centroid[f], *p) flux[f] /= np.median(flux[f]) return flux def photometer(files, coords, obj, sky=None): """ Aperture photometery on images contained in files at initial star positions near coords. Returns flux of each star with corresponding centroid locations. """ centroid = np.zeros((coords.shape[0],len(files),2)) flux = np.zeros((coords.shape[0],len(files))) centroid[:,-1] = coords if sky == None: sky = obj has_sky = sky != None pos = np.mgrid[-sky:sky+1,-sky:sky+1] dst = np.sqrt(np.sum(pos,0)) objap = dst <= obj skyap = dst <= sky objsize = np.sum(objap) for f in range(len(files)): im = fits.open(files[f])[0].data if not has_sky: skyval = np.median(im)*objsize for c in range(coords.shape[0]): #Could start new subprocess here y,x = centroid[c,f-1] if y > 0 and x > 0 and y < im.shape[0] and x < im.shape[1]: y,x = seekmax(im,y,x) y,x = getcentroid(*getstar(im,y,x)) if y > sky and x > sky and y < im.shape[0]-sky-1 and x < im.shape[1]-sky-1: if has_sky: skyval = np.median(im[y-sky:y+sky+1,x-sky:x+sky+1][skyap]) * objsize flux[c,f] = np.sum(im[y-sky:y+sky+1,x-sky:x+sky+1][objap]) - skyval centroid[c,f] = y,x return flux,centroid def find_stars(data): #If passed a list, stack and median-combine first if isinstance(data,list): warps,aligned = astt.align(data) aligned = np.asarray(aligned) im = np.median(aligned,0) else: im = data #Denoise the image with a fourier filter fourier = np.fft.fft2(im) fourier = np.fft.fftshift(fourier) print(fourier.max()) fits.writeto('fourier.fits',abs(fourier),clobber=True) exit() #Compute the second derivative at every point laplace = ndimage.laplace(smoothed) #Image should be concave down where there are stars stars = derivative < 0 #Stars should also be a local min in the laplacian row_buffer = np.zeros(laplace.shape[0]) col_buffer = row_buffer[None,:] above = np.vstack((laplace[1:],row_buffer[:])) below = np.vstack((row_buffer[:,:],laplace[:-1])) right = np.hstack((laplace[1:],row_buffer[:,:])) stars = stars & (laplace < above) & (laplace < below) & (laplace < right) #Denoise the image with a fourier filter print(np.std(im)) fourier = scipy.fftpack.rfft(im) fits.writeto('fft.fits',fourier,clobber=True) fourier[0] = 0 fourier[-1] = 0 fourier[:,0] = 0 fourier[:,-1] = 0 test = scipy.fftpack.ifft(fourier).real fits.writeto('ifft.fits',test,clobber=True) print(np.std(test)) exit() #Compute the second derivative at every point laplace = ndimage.laplace(smoothed) #Image should be concave down where there are stars stars = derivative < 0 #Stars should also be a local min in the laplacian row_buffer = np.zeros(laplace.shape[0]) col_buffer = np.zeros(laplace.shape[1][None,:]) above = np.vstack((laplace[1:],row_buffer[:])) below = np.vstack((row_buffer[:,:],laplace[:-1])) right = np.hstack((laplace[1:],row_buffer[:,:])) stars = stars & (laplace < above) & (laplace < below) & (laplace < right) & (laplace < left) #Pick a sky value sky = np.median(im) #Sigma threshold for sky level signal = im > (sky + sky_sigma*np.sqrt(sky)) #Use binary erosion and propagation to remove isolated points of signal eroded_signal = binary_erosion(signal) signal = binary_propagation(eroded_signal,mask=signal) #Stars are only where signal is significant stars = stars & signal return stars """ image = fits.open('test.fits')[0].data find_stars(image) from astropy.io import fits im = fits.open('sample_data/test_data0.fits')[0].data find_stars(im) """ """ Simple aperture photometry on image files """ def do_photometry(files, program_stars): #Find stars #Remove program stars from list #Determine optimal aperture (s) #Photometer everything #Detrend against position #Detrend against temperature, maybe other things #Find good standards and correct #Return flux and time arrays pass
Saethlin/astrotools
photometry.py
Python
mit
5,356
package com.github.sociallabel.tigase.integrate; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLIntegrityConstraintViolationException; import java.util.Map; import java.util.TreeMap; import java.util.logging.Level; import java.util.logging.Logger; import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback; import javax.security.auth.callback.UnsupportedCallbackException; import javax.security.sasl.AuthorizeCallback; import javax.security.sasl.RealmCallback; import javax.security.sasl.Sasl; import javax.security.sasl.SaslException; import javax.security.sasl.SaslServer; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import tigase.db.AuthorizationException; import tigase.db.DBInitException; import tigase.db.DataRepository; import tigase.db.RepositoryFactory; import tigase.db.TigaseDBException; import tigase.db.UserExistsException; import tigase.db.UserNotFoundException; import tigase.db.jdbc.TigaseCustomAuth; import tigase.util.Algorithms; import tigase.util.Base64; import tigase.util.TigaseStringprepException; import tigase.xmpp.BareJID; public class SocialLabelCustomAuth extends TigaseCustomAuth { /** * Private logger for class instances. */ private static final Logger log = Logger.getLogger(SocialLabelCustomAuth.class.getName()); /** * Query executing periodically to ensure active connection with the database. * * Takes no arguments. * * Example query: * * <pre> * select 1 * </pre> */ public static final String DEF_CONNVALID_KEY = "conn-valid-query"; /** * Database initialization query which is run after the server is started. * * Takes no arguments. * * Example query: * * <pre> * update tig_users set online_status = 0 * </pre> */ public static final String DEF_INITDB_KEY = "init-db-query"; /** * Query adding a new user to the database. * * Takes 2 arguments: <code>(user_id (JID), password)</code> * * Example query: * * <pre> * insert into tig_users (user_id, user_pw) values (?, ?) * </pre> */ public static final String DEF_ADDUSER_KEY = "add-user-query"; /** * Removes a user from the database. * * Takes 1 argument: <code>(user_id (JID))</code> * * Example query: * * <pre> * delete from tig_users where user_id = ? * </pre> */ public static final String DEF_DELUSER_KEY = "del-user-query"; /** * Retrieves user password from the database for given user_id (JID). * * Takes 1 argument: <code>(user_id (JID))</code> * * Example query: * * <pre> * select user_pw from tig_users where user_id = ? * </pre> */ public static final String DEF_GETPASSWORD_KEY = "get-password-query"; /** * Updates (changes) password for a given user_id (JID). * * Takes 2 arguments: <code>(password, user_id (JID))</code> * * Example query: * * <pre> * update tig_users set user_pw = ? where user_id = ? * </pre> */ public static final String DEF_UPDATEPASSWORD_KEY = "update-password-query"; /** * Performs user login. Normally used when there is a special SP used for this * purpose. This is an alternative way to a method requiring retrieving user * password. Therefore at least one of those queries must be defined: * <code>user-login-query</code> or <code>get-password-query</code>. * * If both queries are defined then <code>user-login-query</code> is used. * Normally this method should be only used with plain text password * authentication or sasl-plain. * * The Tigase server expects a result set with user_id to be returned from the * query if login is successful and empty results set if the login is * unsuccessful. * * Takes 2 arguments: <code>(user_id (JID), password)</code> * * Example query: * * <pre> * select user_id from tig_users where (user_id = ?) AND (user_pw = ?) * </pre> */ public static final String DEF_USERLOGIN_KEY = "user-login-query"; /** * This query is called when user logs out or disconnects. It can record that * event in the database. * * Takes 1 argument: <code>(user_id (JID))</code> * * Example query: * * <pre> * update tig_users, set online_status = online_status - 1 where user_id = ? * </pre> */ public static final String DEF_USERLOGOUT_KEY = "user-logout-query"; /** Field description */ public static final String DEF_USERS_COUNT_KEY = "users-count-query"; /** Field description */ public static final String DEF_USERS_DOMAIN_COUNT_KEY = "" + "users-domain-count-query"; /** * Comma separated list of NON-SASL authentication mechanisms. Possible * mechanisms are: <code>password</code> and <code>digest</code>. * <code>digest</code> mechanism can work only with * <code>get-password-query</code> active and only when password are stored in * plain text format in the database. */ public static final String DEF_NONSASL_MECHS_KEY = "non-sasl-mechs"; /** * Comma separated list of SASL authentication mechanisms. Possible mechanisms * are all mechanisms supported by Java implementation. The most common are: * <code>PLAIN</code>, <code>DIGEST-MD5</code>, <code>CRAM-MD5</code>. * * "Non-PLAIN" mechanisms will work only with the * <code>get-password-query</code> active and only when passwords are stored * in plain text format in the database. */ public static final String DEF_SASL_MECHS_KEY = "sasl-mechs"; public static final String NO_QUERY = "none"; /** Field description */ public static final String DEF_INITDB_QUERY = "{ call TigInitdb() }"; /** Field description */ public static final String DEF_ADDUSER_QUERY = "{ call TigAddUserPlainPw(?, ?) }"; /** Field description */ public static final String DEF_DELUSER_QUERY = "{ call TigRemoveUser(?) }"; /** Field description */ public static final String DEF_GETPASSWORD_QUERY = "{ call TigGetPassword(?) }"; /** Field description */ public static final String DEF_UPDATEPASSWORD_QUERY = "{ call TigUpdatePasswordPlainPwRev(?, ?) }"; /** Field description */ public static final String DEF_USERLOGIN_QUERY = "{ call TigUserLoginPlainPw(?, ?) }"; /** Field description */ public static final String DEF_USERLOGOUT_QUERY = "{ call TigUserLogout(?) }"; /** Field description */ public static final String DEF_USERS_COUNT_QUERY = "{ call TigAllUsersCount() }"; /** Field description */ public static final String DEF_USERS_DOMAIN_COUNT_QUERY = "" + "select count(*) from tig_users where user_id like ?"; /** Field description */ public static final String DEF_NONSASL_MECHS = "password"; /** Field description */ public static final String DEF_SASL_MECHS = "PLAIN"; /** Field description */ public static final String SP_STARTS_WITH = "{ call"; // ~--- fields --------------------------------------------------------------- private String web_config_url = DataUtil.WEB_SERVER_ADDRESS; private DataRepository data_repo = null; private String initdb_query = DEF_INITDB_QUERY; private String getpassword_query = DEF_GETPASSWORD_QUERY; private String deluser_query = DEF_DELUSER_QUERY; private String adduser_query = DEF_ADDUSER_QUERY; private String updatepassword_query = DEF_UPDATEPASSWORD_QUERY; private String userlogin_query = DEF_USERLOGIN_QUERY; private String userdomaincount_query = DEF_USERS_DOMAIN_COUNT_QUERY; // It is better just to not call the query if it is not defined by the user // By default it is null then and not called. private String userlogout_query = null; private String userscount_query = DEF_USERS_COUNT_QUERY; private boolean userlogin_active = false; // private String userlogout_query = DEF_USERLOGOUT_QUERY; private String[] sasl_mechs = DEF_SASL_MECHS.split(","); private String[] nonsasl_mechs = DEF_NONSASL_MECHS.split(","); // ~--- methods -------------------------------------------------------------- /** * Describe <code>addUser</code> method here. * * @param user * a <code>String</code> value * @param password * a <code>String</code> value * @exception UserExistsException * if an error occurs * @exception TigaseDBException * if an error occurs */ @Override public void addUser(BareJID user, final String password) throws UserExistsException, TigaseDBException { if (adduser_query == null) { return; } ResultSet rs = null; try { PreparedStatement add_user = data_repo.getPreparedStatement(user, adduser_query); synchronized (add_user) { add_user.setString(1, user.toString()); add_user.setString(2, password); boolean is_result = add_user.execute(); if (is_result) { rs = add_user.getResultSet(); } } } catch (SQLIntegrityConstraintViolationException e) { throw new UserExistsException( "Error while adding user to repository, user exists?", e); } catch (SQLException e) { throw new TigaseDBException("Problem accessing repository.", e); } finally { data_repo.release(null, rs); } } /** * Describe <code>digestAuth</code> method here. * * @param user * a <code>String</code> value * @param digest * a <code>String</code> value * @param id * a <code>String</code> value * @param alg * a <code>String</code> value * @return a <code>boolean</code> value * @exception UserNotFoundException * if an error occurs * @exception TigaseDBException * if an error occurs * @exception AuthorizationException * if an error occurs */ @Override @Deprecated public boolean digestAuth(BareJID user, final String digest, final String id, final String alg) throws UserNotFoundException, TigaseDBException, AuthorizationException { if (userlogin_active) { throw new AuthorizationException("Not supported."); } else { final String db_password = getPassword(user); try { final String digest_db_pass = Algorithms.hexDigest(id, db_password, alg); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "Comparing passwords, given: {0}, db: {1}", new Object[] { digest, digest_db_pass }); } return digest.equals(digest_db_pass); } catch (NoSuchAlgorithmException e) { throw new AuthorizationException("No such algorithm.", e); } // end of try-catch } } // ~--- get methods ---------------------------------------------------------- /** * Method description * * * */ @Override public String getResourceUri() { return data_repo.getResourceUri(); } /** * <code>getUsersCount</code> method is thread safe. It uses local variable * for storing <code>Statement</code>. * * @return a <code>long</code> number of user accounts in database. */ @Override public long getUsersCount() { if (userscount_query == null) { return -1; } ResultSet rs = null; try { long users = -1; PreparedStatement users_count = data_repo.getPreparedStatement(null, userscount_query); synchronized (users_count) { // Load all user count from database rs = users_count.executeQuery(); if (rs.next()) { users = rs.getLong(1); } // end of while (rs.next()) } return users; } catch (SQLException e) { return -1; // throw new // TigaseDBException("Problem loading user list from repository", e); } finally { data_repo.release(null, rs); rs = null; } } /** * Method description * * * @param domain * * */ @Override public long getUsersCount(String domain) { if (userdomaincount_query == null) { return -1; } ResultSet rs = null; try { long users = -1; PreparedStatement users_domain_count = data_repo.getPreparedStatement(null, userdomaincount_query); synchronized (users_domain_count) { // Load all user count from database users_domain_count.setString(1, "%@" + domain); rs = users_domain_count.executeQuery(); if (rs.next()) { users = rs.getLong(1); } // end of while (rs.next()) } return users; } catch (SQLException e) { return -1; // throw new // TigaseDBException("Problem loading user list from repository", e); } finally { data_repo.release(null, rs); rs = null; } } // ~--- methods -------------------------------------------------------------- /** * Describe <code>initRepository</code> method here. * * @param connection_str * a <code>String</code> value * @param params * @exception DBInitException * if an error occurs */ @Override public void initRepository(final String connection_str, Map<String, String> params) throws DBInitException { try { String url = System.getProperty("web-config-url"); if(url != null && !"".equals(url)) { web_config_url = url; } data_repo = RepositoryFactory.getDataRepository(null, connection_str, params); initdb_query = getParamWithDef(params, DEF_INITDB_KEY, DEF_INITDB_QUERY); if (initdb_query != null) { data_repo.initPreparedStatement(initdb_query, initdb_query); } adduser_query = getParamWithDef(params, DEF_ADDUSER_KEY, DEF_ADDUSER_QUERY); if ((adduser_query != null)) { data_repo.initPreparedStatement(adduser_query, adduser_query); } deluser_query = getParamWithDef(params, DEF_DELUSER_KEY, DEF_DELUSER_QUERY); if ((deluser_query != null)) { data_repo.initPreparedStatement(deluser_query, deluser_query); } getpassword_query = getParamWithDef(params, DEF_GETPASSWORD_KEY, DEF_GETPASSWORD_QUERY); if ((getpassword_query != null)) { data_repo.initPreparedStatement(getpassword_query, getpassword_query); } updatepassword_query = getParamWithDef(params, DEF_UPDATEPASSWORD_KEY, DEF_UPDATEPASSWORD_QUERY); if ((updatepassword_query != null)) { data_repo.initPreparedStatement(updatepassword_query, updatepassword_query); } userlogin_query = getParamWithDef(params, DEF_USERLOGIN_KEY, DEF_USERLOGIN_QUERY); if (userlogin_query != null) { data_repo.initPreparedStatement(userlogin_query, userlogin_query); userlogin_active = true; } userlogout_query = getParamWithDef(params, DEF_USERLOGOUT_KEY, DEF_USERLOGOUT_QUERY); if ((userlogout_query != null)) { data_repo.initPreparedStatement(userlogout_query, userlogout_query); } userscount_query = getParamWithDef(params, DEF_USERS_COUNT_KEY, DEF_USERS_COUNT_QUERY); if ((userscount_query != null)) { data_repo.initPreparedStatement(userscount_query, userscount_query); } userdomaincount_query = getParamWithDef(params, DEF_USERS_DOMAIN_COUNT_KEY, DEF_USERS_DOMAIN_COUNT_QUERY); if ((userdomaincount_query != null)) { data_repo.initPreparedStatement(userdomaincount_query, userdomaincount_query); } nonsasl_mechs = getParamWithDef(params, DEF_NONSASL_MECHS_KEY, DEF_NONSASL_MECHS).split(","); sasl_mechs = getParamWithDef(params, DEF_SASL_MECHS_KEY, DEF_SASL_MECHS).split(","); if ((params != null) && (params.get("init-db") != null)) { initDb(); } } catch (Exception e) { data_repo = null; throw new DBInitException( "Problem initializing jdbc connection: " + connection_str, e); } } /** * Method description * * * @param user * * @throws TigaseDBException * @throws UserNotFoundException */ @Override public void logout(BareJID user) throws UserNotFoundException, TigaseDBException { if (userlogout_query == null) { return; } try { PreparedStatement user_logout = data_repo.getPreparedStatement(user, userlogout_query); if (user_logout != null) { synchronized (user_logout) { user_logout.setString(1, user.toString()); user_logout.execute(); } } } catch (SQLException e) { throw new TigaseDBException("Problem accessing repository.", e); } } /** * Describe <code>otherAuth</code> method here. * * @param props * a <code>Map</code> value * @return a <code>boolean</code> value * @exception UserNotFoundException * if an error occurs * @exception TigaseDBException * if an error occurs * @exception AuthorizationException * if an error occurs */ @Override public boolean otherAuth(final Map<String, Object> props) throws UserNotFoundException, TigaseDBException, AuthorizationException { String proto = (String) props.get(PROTOCOL_KEY); if (proto.equals(PROTOCOL_VAL_SASL)) { String mech = (String) props.get(MACHANISM_KEY); if (mech.equals("PLAIN")) { try { if (saslPlainAuth(props)) { return true; } else { throw new AuthorizationException("Authentication failed."); } } catch (TigaseStringprepException ex) { throw new AuthorizationException("Stringprep failed for: " + props, ex); } } else { return saslAuth(props); } } // end of if (proto.equals(PROTOCOL_VAL_SASL)) if (proto.equals(PROTOCOL_VAL_NONSASL)) { String password = (String) props.get(PASSWORD_KEY); BareJID user_id = (BareJID) props.get(USER_ID_KEY); if (password != null) { return plainAuth(user_id, password); } String digest = (String) props.get(DIGEST_KEY); if (digest != null) { String digest_id = (String) props.get(DIGEST_ID_KEY); return digestAuth(user_id, digest, digest_id, "SHA"); } } // end of if (proto.equals(PROTOCOL_VAL_SASL)) throw new AuthorizationException("Protocol is not supported."); } /** * Describe <code>plainAuth</code> method here. * * @param user * a <code>String</code> value * @param password * a <code>String</code> value * @return a <code>boolean</code> value * * @throws AuthorizationException * @exception UserNotFoundException * if an error occurs * @exception TigaseDBException * if an error occurs */ @Override @Deprecated public boolean plainAuth(BareJID user, final String password) throws UserNotFoundException, TigaseDBException, AuthorizationException { boolean result = internalLogin(user.toString(), password); if (result) { try { getPassword(user); } catch (UserNotFoundException e) { this.addUser(user, password); } } return result; } private boolean internalLogin(String user, String password){ boolean result = false; MultiValueMap<String, String> map = new LinkedMultiValueMap<String, String>(); try { int index = user.indexOf("@"); String userId = index != -1 ? user.substring(0, user.indexOf("@")) : user; map.add("userId", userId); map.add("password", password); ResponseEntity<Map> data = DataUtil.postJson(web_config_url + "internalLogin", map, Map.class); Map body = data.getBody(); if (data.getStatusCode() == HttpStatus.OK) { result = true; } } catch (Exception e) { // TODO log exception e.printStackTrace(); } return result; } // Implementation of tigase.db.AuthRepository /** * Describe <code>queryAuth</code> method here. * * @param authProps * a <code>Map</code> value */ @Override public void queryAuth(final Map<String, Object> authProps) { String protocol = (String) authProps.get(PROTOCOL_KEY); if (protocol.equals(PROTOCOL_VAL_NONSASL)) { authProps.put(RESULT_KEY, nonsasl_mechs); } // end of if (protocol.equals(PROTOCOL_VAL_NONSASL)) if (protocol.equals(PROTOCOL_VAL_SASL)) { authProps.put(RESULT_KEY, sasl_mechs); } // end of if (protocol.equals(PROTOCOL_VAL_NONSASL)) } /** * Describe <code>removeUser</code> method here. * * @param user * a <code>String</code> value * @exception UserNotFoundException * if an error occurs * @exception TigaseDBException * if an error occurs */ @Override public void removeUser(BareJID user) throws UserNotFoundException, TigaseDBException { if (deluser_query == null) { return; } try { PreparedStatement remove_user = data_repo.getPreparedStatement(user, deluser_query); synchronized (remove_user) { remove_user.setString(1, user.toString()); remove_user.execute(); } } catch (SQLException e) { throw new TigaseDBException("Problem accessing repository.", e); } } /** * Describe <code>updatePassword</code> method here. * * @param user * a <code>String</code> value * @param password * a <code>String</code> value * @exception TigaseDBException * if an error occurs * @throws UserNotFoundException */ @Override public void updatePassword(BareJID user, final String password) throws UserNotFoundException, TigaseDBException { if (updatepassword_query == null) { return; } try { PreparedStatement update_pass = data_repo.getPreparedStatement(user, updatepassword_query); synchronized (update_pass) { update_pass.setString(1, password); update_pass.setString(2, user.toString()); update_pass.execute(); } } catch (SQLException e) { throw new TigaseDBException("Problem accessing repository.", e); } } // ~--- get methods ---------------------------------------------------------- protected String getParamWithDef(Map<String, String> params, String key, String def) { if (params == null) { return def; } String result = params.get(key); if (result != null) { log.log(Level.CONFIG, "Custom query loaded for ''{0}'': ''{1}''", new Object[] { key, result }); } else { result = def; log.log(Level.CONFIG, "Default query loaded for ''{0}'': ''{1}''", new Object[] { key, def }); } if (result != null) { result = result.trim(); if (result.isEmpty() || result.equals(NO_QUERY)) { result = null; } } return result; } private String getPassword(BareJID user) throws TigaseDBException, UserNotFoundException { if (getpassword_query == null) { return null; } ResultSet rs = null; try { PreparedStatement get_pass = data_repo.getPreparedStatement(user, getpassword_query); synchronized (get_pass) { get_pass.setString(1, user.toString()); rs = get_pass.executeQuery(); if (rs.next()) { return rs.getString(1); } else { throw new UserNotFoundException("User does not exist: " + user); } // end of if (isnext) else } } catch (SQLException e) { throw new TigaseDBException("Problem with retrieving user password.", e); } finally { data_repo.release(null, rs); } } // ~--- methods -------------------------------------------------------------- private void initDb() throws SQLException { if (initdb_query == null) { return; } PreparedStatement init_db = data_repo.getPreparedStatement(null, initdb_query); synchronized (init_db) { init_db.executeUpdate(); } } private boolean saslAuth(final Map<String, Object> props) throws AuthorizationException { try { SaslServer ss = (SaslServer) props.get("SaslServer"); if (ss == null) { Map<String, String> sasl_props = new TreeMap<String, String>(); sasl_props.put(Sasl.QOP, "auth"); ss = Sasl.createSaslServer((String) props.get(MACHANISM_KEY), "xmpp", (String) props.get(SERVER_NAME_KEY), sasl_props, new SaslCallbackHandler( props)); props.put("SaslServer", ss); } // end of if (ss == null) String data_str = (String) props.get(DATA_KEY); byte[] in_data = ((data_str != null) ? Base64.decode(data_str) : new byte[0]); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "response: {0}", new String(in_data)); } byte[] challenge = ss.evaluateResponse(in_data); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "challenge: {0}", ((challenge != null) ? new String( challenge) : "null")); } String challenge_str = (((challenge != null) && (challenge.length > 0)) ? Base64.encode(challenge) : null); props.put(RESULT_KEY, challenge_str); if (ss.isComplete()) { return true; } else { return false; } // end of if (ss.isComplete()) else } catch (SaslException e) { throw new AuthorizationException("Sasl exception.", e); } // end of try-catch } private boolean saslPlainAuth(final Map<String, Object> props) throws UserNotFoundException, TigaseDBException, AuthorizationException, TigaseStringprepException { String data_str = (String) props.get(DATA_KEY); String domain = (String) props.get(REALM_KEY); props.put(RESULT_KEY, null); byte[] in_data = ((data_str != null) ? Base64.decode(data_str) : new byte[0]); int auth_idx = 0; while ((in_data[auth_idx] != 0) && (auth_idx < in_data.length)) { ++auth_idx; } String authoriz = new String(in_data, 0, auth_idx); int user_idx = ++auth_idx; while ((in_data[user_idx] != 0) && (user_idx < in_data.length)) { ++user_idx; } String user_name = new String(in_data, auth_idx, user_idx - auth_idx); ++user_idx; BareJID jid = null; if (BareJID.parseJID(user_name)[0] == null) { jid = BareJID.bareJIDInstance(user_name, domain); } else { jid = BareJID.bareJIDInstance(user_name); } props.put(USER_ID_KEY, jid); String passwd = new String(in_data, user_idx, in_data.length - user_idx); return plainAuth(jid, passwd); } private boolean userLoginAuth(BareJID user, final String password) throws UserNotFoundException, TigaseDBException, AuthorizationException { if (userlogin_query == null) { return false; } ResultSet rs = null; String res_string = null; try { PreparedStatement user_login = data_repo.getPreparedStatement(user, userlogin_query); synchronized (user_login) { user_login.setString( 1, user.toString() ); user_login.setString( 2, password ); switch ( data_repo.getDatabaseType() ) { case sqlserver: user_login.executeUpdate(); rs = user_login.getGeneratedKeys(); break; default: rs = user_login.executeQuery(); break; } boolean auth_result_ok = false; if (rs.next()) { res_string = rs.getString(1); if (res_string != null) { BareJID result = BareJID.bareJIDInstance(res_string); auth_result_ok = user.equals(result); } if (auth_result_ok) { return true; } else { if (log.isLoggable(Level.FINE)) { log.log(Level.FINE, "Login failed, for user: ''{0}" + "''" + ", password: ''" + "{1}" + "''" + ", from DB got: " + "{2}", new Object[] { user, password, res_string }); } } } throw new UserNotFoundException("User does not exist: " + user + ", in database: " + getResourceUri()); } } catch (TigaseStringprepException ex) { throw new AuthorizationException("Stringprep failed for: " + res_string, ex); } catch (SQLException e) { throw new TigaseDBException("Problem accessing repository.", e); } finally { data_repo.release(null, rs); } // end of catch } // ~--- inner classes -------------------------------------------------------- private class SaslCallbackHandler implements CallbackHandler { private Map<String, Object> options = null; // ~--- constructors ------------------------------------------------------- private SaslCallbackHandler(final Map<String, Object> options) { this.options = options; } // ~--- methods ------------------------------------------------------------ // Implementation of javax.security.auth.callback.CallbackHandler /** * Describe <code>handle</code> method here. * * @param callbacks * a <code>Callback[]</code> value * @exception IOException * if an error occurs * @exception UnsupportedCallbackException * if an error occurs */ public void handle(final Callback[] callbacks) throws IOException, UnsupportedCallbackException { BareJID jid = null; for (int i = 0; i < callbacks.length; i++) { if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "Callback: {0}", callbacks[i].getClass().getSimpleName()); } if (callbacks[i] instanceof RealmCallback) { RealmCallback rc = (RealmCallback) callbacks[i]; String realm = (String) options.get(REALM_KEY); if (realm != null) { rc.setText(realm); } // end of if (realm == null) if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "RealmCallback: {0}", realm); } } else { if (callbacks[i] instanceof NameCallback) { NameCallback nc = (NameCallback) callbacks[i]; String user_name = nc.getName(); if (user_name == null) { user_name = nc.getDefaultName(); } // end of if (name == null) jid = BareJID.bareJIDInstanceNS(user_name, (String) options.get(REALM_KEY)); options.put(USER_ID_KEY, jid); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "NameCallback: {0}", user_name); } } else { if (callbacks[i] instanceof PasswordCallback) { PasswordCallback pc = (PasswordCallback) callbacks[i]; try { String passwd = getPassword(jid); pc.setPassword(passwd.toCharArray()); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "PasswordCallback: {0}", passwd); } } catch (Exception e) { throw new IOException("Password retrieving problem.", e); } // end of try-catch } else { if (callbacks[i] instanceof AuthorizeCallback) { AuthorizeCallback authCallback = ((AuthorizeCallback) callbacks[i]); String authenId = authCallback.getAuthenticationID(); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "AuthorizeCallback: authenId: {0}", authenId); } String authorId = authCallback.getAuthorizationID(); if (log.isLoggable(Level.FINEST)) { log.log(Level.FINEST, "AuthorizeCallback: authorId: {0}", authorId); } if (authenId.equals(authorId)) { authCallback.setAuthorized(true); } // end of if (authenId.equals(authorId)) } else { throw new UnsupportedCallbackException(callbacks[i], "Unrecognized Callback"); } } } } } } } }
JohnWhite80/tigase-integrate
src/main/java/com/github/sociallabel/tigase/integrate/SocialLabelCustomAuth.java
Java
mit
31,611
resource.AddWorkshop("546392647") -- Media Player resource.AddWorkshop("131759821") -- VJ NPC Base resource.AddWorkshop("111626188") -- Dark Messiah NPCS do local map_content = { ze_ffvii_mako_reactor_v5_3 = {"307755108"}, gm_bluehills_test3 = {"243902601"}, gm_abstraction_extended = {"734919940"}, } local map = game.GetMap():lower() if map_content[map] and not file.Exists("maps/" .. map .. ".bz2", "GAME") then for _, id in ipairs(map_content[map]) do resource.AddWorkshop(id) end end end
Datamats/ServerContent
notagain/lua/notagain/pac_server/autorun/server/workshop_resources.lua
Lua
mit
516
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Topshelf; namespace GreetingsWindowsService { public class Program { public static void Main(string[] args) { /* * Send a message in this format to this service and it will print it out * We document this here so that you can simply paste this into the RMQ web portal * to see commands flowing through the system. * {"Greeting":"hello world","Id":"0a81cbbc-5f82-4912-99ee-19f0b7ee4bc8"} */ HostFactory.Run(x => x.Service<GreetingService>(sc => { sc.ConstructUsing(() => new GreetingService()); // the start and stop methods for the service sc.WhenStarted((s, hostcontrol) => s.Start(hostcontrol)); sc.WhenStopped((s, hostcontrol) => s.Stop(hostcontrol)); // optional, when shutdown is supported sc.WhenShutdown((s, hostcontrol) => s.Shutdown(hostcontrol)); })); } } }
dstockhammer/Brighter
samples/GreetingsWindowsService/Program.cs
C#
mit
1,120
<?php class Comment_MilestoneTest extends TestCase { private $model; private $resourceId; private $id; public function setUp() { parent::setUp(); $this->model = TeamWorkPm\Factory::build('comment/milestone'); $project_id = get_first_project_id(); $this->resourceId = get_first_milestone_id($project_id); $this->id = get_first_milestone_comment_id($this->resourceId); } /** * @dataProvider provider * @test */ public function insert($data) { try { $this->model->save($data); $this->fail('An expected exception has not been raised.'); } catch (Exception $e) { $this->assertEquals('Required field resource_id', $e->getMessage()); } try { $data['files'] = dirname(__DIR__) . '/uploads/teamworkpm.jpg'; $data['resource_id'] = $this->resourceId; $id = $this->model->save($data); $this->assertGreaterThan(0, $id); } catch (\TeamWorkPm\Exception $e) { $this->fail($e->getMessage()); } } /** * @dataProvider provider * @test */ public function update($data) { try { $data['id'] = $this->id; $this->assertTrue($this->model->save($data)); } catch (\TeamWorkPm\Exception $e) { $this->fail($e->getMessage()); } } /** * @test */ public function get() { try { $comment = $this->model->get($this->id); $this->assertTrue(!empty($comment->id) && $this->id === $comment->id); } catch (\TeamWorkPm\Exception $e) { $this->fail($e->getMessage()); } } /** * @test */ public function getRecent() { try { $times = $this->model->getRecent(0); $this->fail('An expected exception has not been raised.'); } catch (Exception $e) { $this->assertEquals('Invalid param resource_id', $e->getMessage()); } try { $comments = $this->model->getRecent($this->resourceId); $this->assertGreaterThan(0, count($comments)); } catch (\TeamWorkPm\Exception $e) { $this->fail($e->getMessage()); } } public function provider() { return [ [ [ 'body' => 'Comment, Comment, Blaa', 'notify' => false, 'isprivate' => false, 'pending_file_attachments' => null ] ] ]; } }
loduis/TeamWorkPmPhpApi
tests/Comment/MilestoneTest.php
PHP
mit
2,719
package daemon import ( "fmt" "os" "strconv" "strings" "time" ) var ( netdir = "/sys/class/net" rxfile = "/sys/class/net/%s/statistics/rx_bytes" txfile = "/sys/class/net/%s/statistics/tx_bytes" ) type Net struct { Rxrate float64 Txrate float64 } func NetRate(done <-chan struct{}, delay time.Duration) (<-chan Net, <-chan error) { resultc := make(chan Net, 1) errc := make(chan error) var err error var net Net cleanup := func() { errc <- err close(errc) close(resultc) } go func() { defer cleanup() var prevrx, currx, prevtx, curtx float64 var prevtime, curtime int64 if err = checkNetFiles(); err != nil { return } for { prevrx = currx currx, _ = numbytes(rxfile) prevtx = curtx curtx, _ = numbytes(txfile) prevtime = curtime curtime = time.Now().UnixNano() net.Rxrate = getrate(prevrx, currx, prevtime, curtime) net.Txrate = getrate(prevtx, curtx, prevtime, curtime) select { case resultc <- net: case <-done: return } time.Sleep(delay) } }() return resultc, errc } func checkNetFiles() error { if _, err := numbytes(rxfile); err != nil { return err } if _, err := numbytes(txfile); err != nil { return err } return nil } func connNames() ([]string, error) { file, err := os.Open(netdir) if err != nil { return make([]string, 0), err } fi, _ := file.Readdir(-1) conns := make([]string, len(fi)) for index, i := range fi { conns[index] = i.Name() } return conns, nil } func numbytes(path string) (float64, error) { conns, err := connNames() if err != nil { return 0, err } var total int for _, conn := range conns { p := fmt.Sprintf(path, conn) val, err := readFile(p) if err != nil { return 0, err } val = strings.Trim(val, " \n") // Skip the lo interface. Its the loopback used by local processes if val == "lo" { continue } num, _ := strconv.Atoi(val) total = total + num } return float64(total), nil }
nindalf/gotop
daemon/net.go
GO
mit
1,956
/*! * js-file-browser * Copyright(c) 2011 Biotechnology Computing Facility, University of Arizona. See included LICENSE.txt file. * * With components from: Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /*! * Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /* This file is automaticly generated by create_language_js.py */ // some data used in the examples Ext.namespace('Ext.exampledata'); // TODO: complete and sort the list Ext.exampledata.languages = [ ['af', 'Afrikaans', 'ISO-8859-2'], ['bg', 'Bulgarian', 'utf-8'], ['ca', 'Catalonian', 'ascii'], ['hr', 'Croatian', 'utf-8'], ['cs', 'Czech', 'utf-8'], ['da', 'Danish', 'utf-8'], ['nl', 'Dutch', 'ascii'], ['en', 'English', 'ascii'], ['en_UK', 'English (UK)', 'ascii'], ['fa', 'Farsi (Persian)', 'utf-8'], ['fr_CA', 'France (Canadian)', 'UTF-8'], ['fr', 'France (France)', 'UTF-8'], ['de', 'German', 'utf-8'], ['el_GR', 'Greek', 'utf-8'], ['gr', 'Greek (Old Version)', 'utf-8'], ['he', 'Hebrew', 'windows-1255'], ['hu', 'Hungarian', 'utf-8'], ['id', 'Indonesian', 'ascii'], ['it', 'Italian', 'ascii'], ['ja', 'Japanese', 'utf-8'], ['ko', 'Korean', 'utf-8'], ['lv', 'Latvian', 'utf-8'], ['lt', 'Lithuanian', 'utf-8'], ['mk', 'Macedonia', 'utf-8'], ['no', 'Norwegian', 'utf-8'], ['pl', 'Polish', 'utf-8'], ['pt_BR', 'Portuguese/Brazil', 'ascii'], ['ro', 'Romanian', 'utf-8'], ['ru', 'Russian', 'UTF-8'], ['sr_RS', 'Serbian Cyrillic', 'UTF-8'], ['sr', 'Serbian Latin', 'utf-8'], ['zh_CN', 'Simplified Chinese', 'utf-8'], ['sk', 'Slovak', 'utf-8'], ['sl', 'Slovenian', 'utf-8'], ['es', 'Spanish/Latin American', 'utf-8'], ['sv_SE', 'Swedish', 'utf-8'], ['th', 'Thailand', 'utf-8'], ['zh_TW', 'Traditional Chinese', 'UTF-8'], ['tr', 'Turkish', 'utf-8'], ['ukr', 'Ukrainian', 'UTF-8'], ['vn', 'Vietnamese', 'UTF-8'] ];
limscoder/js-file-browser
src/jsfb-built/js-file-browser-0.1/examples/locale/languages.js
JavaScript
mit
1,962
--- slug: Joker-Rainbow-Hands template_id: 372 title: Joker Rainbow Hands ---
nikashitsa/meming-blog
_meme-templates/372.md
Markdown
mit
78
<?php // LesRestaurantBundle:Restaurant/News:news.html.twig return array ( 'eaa3d1a' => array ( 0 => array ( 0 => '@LesCouvertsBundle/Resources/public/js/homepage.js', ), 1 => array ( ), 2 => array ( 'output' => 'js/eaa3d1a.js', 'name' => 'eaa3d1a', 'debug' => NULL, 'combine' => NULL, 'vars' => array ( ), ), ), );
arjunc2010/Lescouverts-public
app/cache/prod/assetic/config/3/3da4c42e90caeb951f606a91cdc88b43.php
PHP
mit
412
import pytest from locuspocus import Chromosome @pytest.fixture def chr1(): return Chromosome("chr1", "A" * 500000) @pytest.fixture def chr2(): return Chromosome("chr1", "C" * 500000) def test_init(chr1): assert chr1 def test_init_from_seq(): x = Chromosome("chr1", ["a", "c", "g", "t"]) assert True def test_slice(chr1): x = chr1[1:100] assert len(x) == 100 def test_invalid_slice(chr1): with pytest.raises(ValueError): chr1[0:100] def test_get_bp(chr1): assert chr1[12] == "A" def test_get_bp_invalid_coordinate(chr1): with pytest.raises(ValueError): chr1[0] def test_repr(chr1): assert repr(chr1) == "Chromosome('AAAAAAAAAAAA...AAAAAAAAAAAAA')" def test_equals(chr1, chr2): x = chr1 y = chr2 assert x == x assert x != y def test_N_in_chromosome(): Chromosome("test", "aaacccgggtttAN") assert True def test_bad_nucleotide_in_chromosome_seq(): with pytest.raises(KeyError): Chromosome("test", "abcd") assert True
LinkageIO/LocusPocus
tests/test_Chromosome.py
Python
mit
1,038
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-04 09:48 from __future__ import unicode_literals import api.utils from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='DateMixin', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('modified', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='File', fields=[ ('datemixin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='api.DateMixin')), ('file_id', models.CharField(default=api.utils.generate_uid, max_length=20)), ('name', models.CharField(max_length=255)), ('_file', models.FileField(upload_to='files')), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='files', to=settings.AUTH_USER_MODEL)), ], bases=('api.datemixin',), ), ]
gitgik/updown
api/migrations/0001_initial.py
Python
mit
1,477
local Gamestate = require "hump.gamestate" local TextEngine = require "xl.TextEngine" local Keymap = require "xl.Keymap" local TextBox = require "xl.TextBox" local EMPTY = {} local Dialog = { fgcolor = { 100, 100, 100 }, selcolor = { 0, 0, 0 }, } local font = xl.getFont( 20 ) local TB_Size do local inset = 5 TB_Size = { x = inset, y = inset, w = GAME_SIZE.w - inset, h = (GAME_SIZE.h / 4) - inset, } end function Dialog:enter( previous, items , bkgState) assert(type(items)=="table", "'items' must be a table") self.items = items self.index = 1 self.bkgState = bkgState or Game --Gamestate.pop() Game.dialogState = self self:_processOptions( items ) end function Dialog:_processOptions( items ) -- deal with the title if items.title then local title = items.title if type(title) ~= "table" then title = { title } end self.textbox = TextBox( title, TB_Size.w, TB_Size.h, font , "center") self.textbox.x = TB_Size.x self.textbox.y = TB_Size.y else self.textbox = nil end -- now for the exit option self.exit = nil if items.exit then local ty = type( items.exit ) if ty == "number" and items[items.exit] then self.exit = items[items.exit] elseif ty == "function" then self.exit = { action = items.exit } elseif ty == "table" and items.exit.action then self.exit = items.exit end end -- deal with the dialog body local height = font:getHeight() * ( #items + 2 ) local width = 0 for k,v in ipairs(items) do local w = font:getWidth( v.text ) if w > width then width = w end end width = width + 20 self.box = { x = (GAME_SIZE.w / 2) - (width / 2), y = (GAME_SIZE.h / 2) - (height / 2), w = width, h = height, } self.boxData = TextBox.BuildBackgroundData( width, height ) end function Dialog:update( dt ) end function Dialog:draw( ) self.bkgState:draw() if self.textbox then self.textbox:draw() end love.graphics.setFont( font ) local height = font:getHeight() local midX = GAME_SIZE.w / 2 local y = GAME_SIZE.h / 2 - (height * #self.items / 2) Game:nocamera( true ) love.graphics.push() love.graphics.translate( self.box.x, self.box.y ) love.graphics.setColor(0,0,0,150) TextBox.drawBackgroundData( self.boxData ) love.graphics.pop() for k,v in ipairs(self.items) do local text = v.text local width = font:getWidth( text ) local x = midX - (width / 2) love.graphics.setColor( k == self.index and self.selcolor or self.fgcolor ) love.graphics.printf( text, x, y, width, "center" ) y = y + height end love.graphics.setColor( 255,255,255 ) Game:nocamera( false ) end function Dialog:keypressed( key, isrepeat ) if Keymap.check( "menuUp", key ) then self.index = self.index > 1 and self.index - 1 or #self.items end if Keymap.check( "menuDown", key ) then self.index = self.index < #self.items and self.index + 1 or 1 end if Keymap.check( "menuEnter", key ) then self:_tryUse( self.items[ self.index ] ) end if Keymap.check( "exit", key ) and self.exit then self:_tryUse( self.exit ) end end function Dialog:_tryUse( item ) -- if the action returns true we don't pop if item.action then if not item.action( unpack( item.args or EMPTY ) ) then Gamestate.pop() end else Log.warn( "action = nil for option \"" .. item.text .. "\"" ) Gamestate.pop() end end function Dialog:setText( text ) lume.trace(text) self.textbox:setText( text ) self.textbox:update() end function Dialog.display( items , bkgState) Gamestate.push( Dialog, items, bkgState) --coroutine.yield( true ) end return Dialog
Murfalo/game-off-2016
state/Dialog.lua
Lua
mit
3,552
package devices // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. import ( "context" "encoding/json" "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/date" "github.com/Azure/go-autorest/autorest/to" "github.com/Azure/go-autorest/tracing" "net/http" ) // The package's fully qualified name. const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2019-07-01-preview/devices" // CertificateBodyDescription the JSON-serialized X509 Certificate. type CertificateBodyDescription struct { // Certificate - base-64 representation of the X509 leaf certificate .cer file or just .pem file content. Certificate *string `json:"certificate,omitempty"` } // CertificateDescription the X509 Certificate. type CertificateDescription struct { autorest.Response `json:"-"` Properties *CertificateProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the certificate. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; The entity tag. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` } // MarshalJSON is the custom marshaler for CertificateDescription. func (cd CertificateDescription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if cd.Properties != nil { objectMap["properties"] = cd.Properties } return json.Marshal(objectMap) } // CertificateListDescription the JSON-serialized array of Certificate objects. type CertificateListDescription struct { autorest.Response `json:"-"` // Value - The array of Certificate objects. Value *[]CertificateDescription `json:"value,omitempty"` } // CertificateProperties the description of an X509 CA Certificate. type CertificateProperties struct { // Subject - READ-ONLY; The certificate's subject name. Subject *string `json:"subject,omitempty"` // Expiry - READ-ONLY; The certificate's expiration date and time. Expiry *date.TimeRFC1123 `json:"expiry,omitempty"` // Thumbprint - READ-ONLY; The certificate's thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // IsVerified - READ-ONLY; Determines whether certificate has been verified. IsVerified *bool `json:"isVerified,omitempty"` // Created - READ-ONLY; The certificate's create date and time. Created *date.TimeRFC1123 `json:"created,omitempty"` // Updated - READ-ONLY; The certificate's last update date and time. Updated *date.TimeRFC1123 `json:"updated,omitempty"` // Certificate - The certificate content Certificate *string `json:"certificate,omitempty"` } // MarshalJSON is the custom marshaler for CertificateProperties. func (cp CertificateProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if cp.Certificate != nil { objectMap["certificate"] = cp.Certificate } return json.Marshal(objectMap) } // CertificatePropertiesWithNonce the description of an X509 CA Certificate including the challenge nonce // issued for the Proof-Of-Possession flow. type CertificatePropertiesWithNonce struct { // Subject - READ-ONLY; The certificate's subject name. Subject *string `json:"subject,omitempty"` // Expiry - READ-ONLY; The certificate's expiration date and time. Expiry *date.TimeRFC1123 `json:"expiry,omitempty"` // Thumbprint - READ-ONLY; The certificate's thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // IsVerified - READ-ONLY; Determines whether certificate has been verified. IsVerified *bool `json:"isVerified,omitempty"` // Created - READ-ONLY; The certificate's create date and time. Created *date.TimeRFC1123 `json:"created,omitempty"` // Updated - READ-ONLY; The certificate's last update date and time. Updated *date.TimeRFC1123 `json:"updated,omitempty"` // VerificationCode - READ-ONLY; The certificate's verification code that will be used for proof of possession. VerificationCode *string `json:"verificationCode,omitempty"` // Certificate - READ-ONLY; The certificate content Certificate *string `json:"certificate,omitempty"` } // MarshalJSON is the custom marshaler for CertificatePropertiesWithNonce. func (cpwn CertificatePropertiesWithNonce) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // CertificateVerificationDescription the JSON-serialized leaf certificate type CertificateVerificationDescription struct { // Certificate - base-64 representation of X509 certificate .cer file or just .pem file content. Certificate *string `json:"certificate,omitempty"` } // CertificateWithNonceDescription the X509 Certificate. type CertificateWithNonceDescription struct { autorest.Response `json:"-"` Properties *CertificatePropertiesWithNonce `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the certificate. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; The entity tag. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` } // MarshalJSON is the custom marshaler for CertificateWithNonceDescription. func (cwnd CertificateWithNonceDescription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if cwnd.Properties != nil { objectMap["properties"] = cwnd.Properties } return json.Marshal(objectMap) } // CloudToDeviceProperties the IoT hub cloud-to-device messaging properties. type CloudToDeviceProperties struct { // MaxDeliveryCount - The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` // DefaultTTLAsIso8601 - The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. DefaultTTLAsIso8601 *string `json:"defaultTtlAsIso8601,omitempty"` Feedback *FeedbackProperties `json:"feedback,omitempty"` } // EndpointHealthData the health data for an endpoint type EndpointHealthData struct { // EndpointID - Id of the endpoint EndpointID *string `json:"endpointId,omitempty"` // HealthStatus - Health statuses have following meanings. The 'healthy' status shows that the endpoint is accepting messages as expected. The 'unhealthy' status shows that the endpoint is not accepting messages as expected and IoT Hub is retrying to send data to this endpoint. The status of an unhealthy endpoint will be updated to healthy when IoT Hub has established an eventually consistent state of health. The 'dead' status shows that the endpoint is not accepting messages, after IoT Hub retried sending messages for the retrial period. See IoT Hub metrics to identify errors and monitor issues with endpoints. The 'unknown' status shows that the IoT Hub has not established a connection with the endpoint. No messages have been delivered to or rejected from this endpoint. Possible values include: 'Unknown', 'Healthy', 'Unhealthy', 'Dead' HealthStatus EndpointHealthStatus `json:"healthStatus,omitempty"` } // EndpointHealthDataListResult the JSON-serialized array of EndpointHealthData objects with a next link. type EndpointHealthDataListResult struct { autorest.Response `json:"-"` // Value - JSON-serialized array of Endpoint health data Value *[]EndpointHealthData `json:"value,omitempty"` // NextLink - READ-ONLY; Link to more results NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for EndpointHealthDataListResult. func (ehdlr EndpointHealthDataListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ehdlr.Value != nil { objectMap["value"] = ehdlr.Value } return json.Marshal(objectMap) } // EndpointHealthDataListResultIterator provides access to a complete listing of EndpointHealthData values. type EndpointHealthDataListResultIterator struct { i int page EndpointHealthDataListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *EndpointHealthDataListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EndpointHealthDataListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *EndpointHealthDataListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter EndpointHealthDataListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter EndpointHealthDataListResultIterator) Response() EndpointHealthDataListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter EndpointHealthDataListResultIterator) Value() EndpointHealthData { if !iter.page.NotDone() { return EndpointHealthData{} } return iter.page.Values()[iter.i] } // Creates a new instance of the EndpointHealthDataListResultIterator type. func NewEndpointHealthDataListResultIterator(page EndpointHealthDataListResultPage) EndpointHealthDataListResultIterator { return EndpointHealthDataListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (ehdlr EndpointHealthDataListResult) IsEmpty() bool { return ehdlr.Value == nil || len(*ehdlr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (ehdlr EndpointHealthDataListResult) hasNextLink() bool { return ehdlr.NextLink != nil && len(*ehdlr.NextLink) != 0 } // endpointHealthDataListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (ehdlr EndpointHealthDataListResult) endpointHealthDataListResultPreparer(ctx context.Context) (*http.Request, error) { if !ehdlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(ehdlr.NextLink))) } // EndpointHealthDataListResultPage contains a page of EndpointHealthData values. type EndpointHealthDataListResultPage struct { fn func(context.Context, EndpointHealthDataListResult) (EndpointHealthDataListResult, error) ehdlr EndpointHealthDataListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *EndpointHealthDataListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EndpointHealthDataListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.ehdlr) if err != nil { return err } page.ehdlr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *EndpointHealthDataListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page EndpointHealthDataListResultPage) NotDone() bool { return !page.ehdlr.IsEmpty() } // Response returns the raw server response from the last page request. func (page EndpointHealthDataListResultPage) Response() EndpointHealthDataListResult { return page.ehdlr } // Values returns the slice of values for the current page or nil if there are no values. func (page EndpointHealthDataListResultPage) Values() []EndpointHealthData { if page.ehdlr.IsEmpty() { return nil } return *page.ehdlr.Value } // Creates a new instance of the EndpointHealthDataListResultPage type. func NewEndpointHealthDataListResultPage(cur EndpointHealthDataListResult, getNextPage func(context.Context, EndpointHealthDataListResult) (EndpointHealthDataListResult, error)) EndpointHealthDataListResultPage { return EndpointHealthDataListResultPage{ fn: getNextPage, ehdlr: cur, } } // EnrichmentProperties the properties of an enrichment that your IoT hub applies to messages delivered to // endpoints. type EnrichmentProperties struct { // Key - The key or name for the enrichment property. Key *string `json:"key,omitempty"` // Value - The value for the enrichment property. Value *string `json:"value,omitempty"` // EndpointNames - The list of endpoints for which the enrichment is applied to the message. EndpointNames *[]string `json:"endpointNames,omitempty"` } // ErrorDetails error details. type ErrorDetails struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // HTTPStatusCode - READ-ONLY; The HTTP status code. HTTPStatusCode *string `json:"httpStatusCode,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` // Details - READ-ONLY; The error details. Details *string `json:"details,omitempty"` } // MarshalJSON is the custom marshaler for ErrorDetails. func (ed ErrorDetails) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // EventHubConsumerGroupInfo the properties of the EventHubConsumerGroupInfo object. type EventHubConsumerGroupInfo struct { autorest.Response `json:"-"` // Properties - The tags. Properties map[string]*string `json:"properties"` // ID - READ-ONLY; The Event Hub-compatible consumer group identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The Event Hub-compatible consumer group name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; the resource type. Type *string `json:"type,omitempty"` // Etag - READ-ONLY; The etag. Etag *string `json:"etag,omitempty"` } // MarshalJSON is the custom marshaler for EventHubConsumerGroupInfo. func (ehcgi EventHubConsumerGroupInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ehcgi.Properties != nil { objectMap["properties"] = ehcgi.Properties } return json.Marshal(objectMap) } // EventHubConsumerGroupsListResult the JSON-serialized array of Event Hub-compatible consumer group names // with a next link. type EventHubConsumerGroupsListResult struct { autorest.Response `json:"-"` // Value - List of consumer groups objects Value *[]EventHubConsumerGroupInfo `json:"value,omitempty"` // NextLink - READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for EventHubConsumerGroupsListResult. func (ehcglr EventHubConsumerGroupsListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ehcglr.Value != nil { objectMap["value"] = ehcglr.Value } return json.Marshal(objectMap) } // EventHubConsumerGroupsListResultIterator provides access to a complete listing of // EventHubConsumerGroupInfo values. type EventHubConsumerGroupsListResultIterator struct { i int page EventHubConsumerGroupsListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *EventHubConsumerGroupsListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EventHubConsumerGroupsListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *EventHubConsumerGroupsListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter EventHubConsumerGroupsListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter EventHubConsumerGroupsListResultIterator) Response() EventHubConsumerGroupsListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter EventHubConsumerGroupsListResultIterator) Value() EventHubConsumerGroupInfo { if !iter.page.NotDone() { return EventHubConsumerGroupInfo{} } return iter.page.Values()[iter.i] } // Creates a new instance of the EventHubConsumerGroupsListResultIterator type. func NewEventHubConsumerGroupsListResultIterator(page EventHubConsumerGroupsListResultPage) EventHubConsumerGroupsListResultIterator { return EventHubConsumerGroupsListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (ehcglr EventHubConsumerGroupsListResult) IsEmpty() bool { return ehcglr.Value == nil || len(*ehcglr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (ehcglr EventHubConsumerGroupsListResult) hasNextLink() bool { return ehcglr.NextLink != nil && len(*ehcglr.NextLink) != 0 } // eventHubConsumerGroupsListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (ehcglr EventHubConsumerGroupsListResult) eventHubConsumerGroupsListResultPreparer(ctx context.Context) (*http.Request, error) { if !ehcglr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(ehcglr.NextLink))) } // EventHubConsumerGroupsListResultPage contains a page of EventHubConsumerGroupInfo values. type EventHubConsumerGroupsListResultPage struct { fn func(context.Context, EventHubConsumerGroupsListResult) (EventHubConsumerGroupsListResult, error) ehcglr EventHubConsumerGroupsListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *EventHubConsumerGroupsListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EventHubConsumerGroupsListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.ehcglr) if err != nil { return err } page.ehcglr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *EventHubConsumerGroupsListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page EventHubConsumerGroupsListResultPage) NotDone() bool { return !page.ehcglr.IsEmpty() } // Response returns the raw server response from the last page request. func (page EventHubConsumerGroupsListResultPage) Response() EventHubConsumerGroupsListResult { return page.ehcglr } // Values returns the slice of values for the current page or nil if there are no values. func (page EventHubConsumerGroupsListResultPage) Values() []EventHubConsumerGroupInfo { if page.ehcglr.IsEmpty() { return nil } return *page.ehcglr.Value } // Creates a new instance of the EventHubConsumerGroupsListResultPage type. func NewEventHubConsumerGroupsListResultPage(cur EventHubConsumerGroupsListResult, getNextPage func(context.Context, EventHubConsumerGroupsListResult) (EventHubConsumerGroupsListResult, error)) EventHubConsumerGroupsListResultPage { return EventHubConsumerGroupsListResultPage{ fn: getNextPage, ehcglr: cur, } } // EventHubProperties the properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. type EventHubProperties struct { // RetentionTimeInDays - The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages RetentionTimeInDays *int64 `json:"retentionTimeInDays,omitempty"` // PartitionCount - The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. PartitionCount *int32 `json:"partitionCount,omitempty"` // PartitionIds - READ-ONLY; The partition ids in the Event Hub-compatible endpoint. PartitionIds *[]string `json:"partitionIds,omitempty"` // Path - READ-ONLY; The Event Hub-compatible name. Path *string `json:"path,omitempty"` // Endpoint - READ-ONLY; The Event Hub-compatible endpoint. Endpoint *string `json:"endpoint,omitempty"` } // MarshalJSON is the custom marshaler for EventHubProperties. func (ehp EventHubProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ehp.RetentionTimeInDays != nil { objectMap["retentionTimeInDays"] = ehp.RetentionTimeInDays } if ehp.PartitionCount != nil { objectMap["partitionCount"] = ehp.PartitionCount } return json.Marshal(objectMap) } // ExportDevicesRequest use to provide parameters when requesting an export of all devices in the IoT hub. type ExportDevicesRequest struct { // ExportBlobContainerURI - The export blob container URI. ExportBlobContainerURI *string `json:"exportBlobContainerUri,omitempty"` // ExcludeKeys - The value indicating whether keys should be excluded during export. ExcludeKeys *bool `json:"excludeKeys,omitempty"` } // FailoverInput use to provide failover region when requesting manual Failover for a hub. type FailoverInput struct { // FailoverRegion - Region the hub will be failed over to FailoverRegion *string `json:"failoverRegion,omitempty"` } // FallbackRouteProperties the properties of the fallback route. IoT Hub uses these properties when it // routes messages to the fallback endpoint. type FallbackRouteProperties struct { // Name - The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. Name *string `json:"name,omitempty"` // Source - The source to which the routing rule is to be applied to. For example, DeviceMessages Source *string `json:"source,omitempty"` // Condition - The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language Condition *string `json:"condition,omitempty"` // EndpointNames - The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. EndpointNames *[]string `json:"endpointNames,omitempty"` // IsEnabled - Used to specify whether the fallback route is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` } // FeedbackProperties the properties of the feedback queue for cloud-to-device messages. type FeedbackProperties struct { // LockDurationAsIso8601 - The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"` // TTLAsIso8601 - The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"` // MaxDeliveryCount - The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` } // ImportDevicesRequest use to provide parameters when requesting an import of all devices in the hub. type ImportDevicesRequest struct { // InputBlobContainerURI - The input blob container URI. InputBlobContainerURI *string `json:"inputBlobContainerUri,omitempty"` // OutputBlobContainerURI - The output blob container URI. OutputBlobContainerURI *string `json:"outputBlobContainerUri,omitempty"` } // IotHubCapacity ioT Hub capacity information. type IotHubCapacity struct { // Minimum - READ-ONLY; The minimum number of units. Minimum *int64 `json:"minimum,omitempty"` // Maximum - READ-ONLY; The maximum number of units. Maximum *int64 `json:"maximum,omitempty"` // Default - READ-ONLY; The default number of units. Default *int64 `json:"default,omitempty"` // ScaleType - READ-ONLY; The type of the scaling enabled. Possible values include: 'IotHubScaleTypeAutomatic', 'IotHubScaleTypeManual', 'IotHubScaleTypeNone' ScaleType IotHubScaleType `json:"scaleType,omitempty"` } // MarshalJSON is the custom marshaler for IotHubCapacity. func (ihc IotHubCapacity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // IotHubDescription the description of the IoT hub. type IotHubDescription struct { autorest.Response `json:"-"` // Etag - The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. Etag *string `json:"etag,omitempty"` // Properties - IotHub properties Properties *IotHubProperties `json:"properties,omitempty"` // Sku - IotHub SKU info Sku *IotHubSkuInfo `json:"sku,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - The resource location. Location *string `json:"location,omitempty"` // Tags - The resource tags. Tags map[string]*string `json:"tags"` } // MarshalJSON is the custom marshaler for IotHubDescription. func (ihd IotHubDescription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihd.Etag != nil { objectMap["etag"] = ihd.Etag } if ihd.Properties != nil { objectMap["properties"] = ihd.Properties } if ihd.Sku != nil { objectMap["sku"] = ihd.Sku } if ihd.Location != nil { objectMap["location"] = ihd.Location } if ihd.Tags != nil { objectMap["tags"] = ihd.Tags } return json.Marshal(objectMap) } // IotHubDescriptionListResult the JSON-serialized array of IotHubDescription objects with a next link. type IotHubDescriptionListResult struct { autorest.Response `json:"-"` // Value - The array of IotHubDescription objects. Value *[]IotHubDescription `json:"value,omitempty"` // NextLink - READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for IotHubDescriptionListResult. func (ihdlr IotHubDescriptionListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihdlr.Value != nil { objectMap["value"] = ihdlr.Value } return json.Marshal(objectMap) } // IotHubDescriptionListResultIterator provides access to a complete listing of IotHubDescription values. type IotHubDescriptionListResultIterator struct { i int page IotHubDescriptionListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *IotHubDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/IotHubDescriptionListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *IotHubDescriptionListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter IotHubDescriptionListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter IotHubDescriptionListResultIterator) Response() IotHubDescriptionListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter IotHubDescriptionListResultIterator) Value() IotHubDescription { if !iter.page.NotDone() { return IotHubDescription{} } return iter.page.Values()[iter.i] } // Creates a new instance of the IotHubDescriptionListResultIterator type. func NewIotHubDescriptionListResultIterator(page IotHubDescriptionListResultPage) IotHubDescriptionListResultIterator { return IotHubDescriptionListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (ihdlr IotHubDescriptionListResult) IsEmpty() bool { return ihdlr.Value == nil || len(*ihdlr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (ihdlr IotHubDescriptionListResult) hasNextLink() bool { return ihdlr.NextLink != nil && len(*ihdlr.NextLink) != 0 } // iotHubDescriptionListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (ihdlr IotHubDescriptionListResult) iotHubDescriptionListResultPreparer(ctx context.Context) (*http.Request, error) { if !ihdlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(ihdlr.NextLink))) } // IotHubDescriptionListResultPage contains a page of IotHubDescription values. type IotHubDescriptionListResultPage struct { fn func(context.Context, IotHubDescriptionListResult) (IotHubDescriptionListResult, error) ihdlr IotHubDescriptionListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *IotHubDescriptionListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/IotHubDescriptionListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.ihdlr) if err != nil { return err } page.ihdlr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *IotHubDescriptionListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page IotHubDescriptionListResultPage) NotDone() bool { return !page.ihdlr.IsEmpty() } // Response returns the raw server response from the last page request. func (page IotHubDescriptionListResultPage) Response() IotHubDescriptionListResult { return page.ihdlr } // Values returns the slice of values for the current page or nil if there are no values. func (page IotHubDescriptionListResultPage) Values() []IotHubDescription { if page.ihdlr.IsEmpty() { return nil } return *page.ihdlr.Value } // Creates a new instance of the IotHubDescriptionListResultPage type. func NewIotHubDescriptionListResultPage(cur IotHubDescriptionListResult, getNextPage func(context.Context, IotHubDescriptionListResult) (IotHubDescriptionListResult, error)) IotHubDescriptionListResultPage { return IotHubDescriptionListResultPage{ fn: getNextPage, ihdlr: cur, } } // IotHubLocationDescription public representation of one of the locations where a resource is provisioned. type IotHubLocationDescription struct { // Location - Azure Geo Regions Location *string `json:"location,omitempty"` // Role - Specific Role assigned to this location. Possible values include: 'Primary', 'Secondary' Role IotHubReplicaRoleType `json:"role,omitempty"` } // IotHubManualFailoverFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type IotHubManualFailoverFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IotHubClient) (autorest.Response, error) } // UnmarshalJSON is the custom unmarshaller for CreateFuture. func (future *IotHubManualFailoverFuture) UnmarshalJSON(body []byte) error { var azFuture azure.Future if err := json.Unmarshal(body, &azFuture); err != nil { return err } future.FutureAPI = &azFuture future.Result = future.result return nil } // result is the default implementation for IotHubManualFailoverFuture.Result. func (future *IotHubManualFailoverFuture) result(client IotHubClient) (ar autorest.Response, err error) { var done bool done, err = future.DoneWithContext(context.Background(), client) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubManualFailoverFuture", "Result", future.Response(), "Polling failure") return } if !done { ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("devices.IotHubManualFailoverFuture") return } ar.Response = future.Response() return } // IotHubNameAvailabilityInfo the properties indicating whether a given IoT hub name is available. type IotHubNameAvailabilityInfo struct { autorest.Response `json:"-"` // NameAvailable - READ-ONLY; The value which indicates whether the provided name is available. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - READ-ONLY; The reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists' Reason IotHubNameUnavailabilityReason `json:"reason,omitempty"` // Message - The detailed reason message. Message *string `json:"message,omitempty"` } // MarshalJSON is the custom marshaler for IotHubNameAvailabilityInfo. func (ihnai IotHubNameAvailabilityInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihnai.Message != nil { objectMap["message"] = ihnai.Message } return json.Marshal(objectMap) } // IotHubProperties the properties of an IoT hub. type IotHubProperties struct { // AuthorizationPolicies - The shared access policies you can use to secure a connection to the IoT hub. AuthorizationPolicies *[]SharedAccessSignatureAuthorizationRule `json:"authorizationPolicies,omitempty"` // IPFilterRules - The IP filter rules. IPFilterRules *[]IPFilterRule `json:"ipFilterRules,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // State - READ-ONLY; The hub state. State *string `json:"state,omitempty"` // HostName - READ-ONLY; The name of the host. HostName *string `json:"hostName,omitempty"` // EventHubEndpoints - The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. EventHubEndpoints map[string]*EventHubProperties `json:"eventHubEndpoints"` Routing *RoutingProperties `json:"routing,omitempty"` // StorageEndpoints - The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. StorageEndpoints map[string]*StorageEndpointProperties `json:"storageEndpoints"` // MessagingEndpoints - The messaging endpoint properties for the file upload notification queue. MessagingEndpoints map[string]*MessagingEndpointProperties `json:"messagingEndpoints"` // EnableFileUploadNotifications - If True, file upload notifications are enabled. EnableFileUploadNotifications *bool `json:"enableFileUploadNotifications,omitempty"` CloudToDevice *CloudToDeviceProperties `json:"cloudToDevice,omitempty"` // Comments - IoT hub comments. Comments *string `json:"comments,omitempty"` // DeviceStreams - The device streams properties of iothub. DeviceStreams *IotHubPropertiesDeviceStreams `json:"deviceStreams,omitempty"` // Features - The capabilities and features enabled for the IoT hub. Possible values include: 'None', 'DeviceManagement' Features Capabilities `json:"features,omitempty"` // Locations - READ-ONLY; Primary and secondary location for iot hub Locations *[]IotHubLocationDescription `json:"locations,omitempty"` } // MarshalJSON is the custom marshaler for IotHubProperties. func (ihp IotHubProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihp.AuthorizationPolicies != nil { objectMap["authorizationPolicies"] = ihp.AuthorizationPolicies } if ihp.IPFilterRules != nil { objectMap["ipFilterRules"] = ihp.IPFilterRules } if ihp.EventHubEndpoints != nil { objectMap["eventHubEndpoints"] = ihp.EventHubEndpoints } if ihp.Routing != nil { objectMap["routing"] = ihp.Routing } if ihp.StorageEndpoints != nil { objectMap["storageEndpoints"] = ihp.StorageEndpoints } if ihp.MessagingEndpoints != nil { objectMap["messagingEndpoints"] = ihp.MessagingEndpoints } if ihp.EnableFileUploadNotifications != nil { objectMap["enableFileUploadNotifications"] = ihp.EnableFileUploadNotifications } if ihp.CloudToDevice != nil { objectMap["cloudToDevice"] = ihp.CloudToDevice } if ihp.Comments != nil { objectMap["comments"] = ihp.Comments } if ihp.DeviceStreams != nil { objectMap["deviceStreams"] = ihp.DeviceStreams } if ihp.Features != "" { objectMap["features"] = ihp.Features } return json.Marshal(objectMap) } // IotHubPropertiesDeviceStreams the device streams properties of iothub. type IotHubPropertiesDeviceStreams struct { // StreamingEndpoints - List of Device Streams Endpoints. StreamingEndpoints *[]string `json:"streamingEndpoints,omitempty"` } // IotHubQuotaMetricInfo quota metrics properties. type IotHubQuotaMetricInfo struct { // Name - READ-ONLY; The name of the quota metric. Name *string `json:"name,omitempty"` // CurrentValue - READ-ONLY; The current value for the quota metric. CurrentValue *int64 `json:"currentValue,omitempty"` // MaxValue - READ-ONLY; The maximum value of the quota metric. MaxValue *int64 `json:"maxValue,omitempty"` } // MarshalJSON is the custom marshaler for IotHubQuotaMetricInfo. func (ihqmi IotHubQuotaMetricInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // IotHubQuotaMetricInfoListResult the JSON-serialized array of IotHubQuotaMetricInfo objects with a next // link. type IotHubQuotaMetricInfoListResult struct { autorest.Response `json:"-"` // Value - The array of quota metrics objects. Value *[]IotHubQuotaMetricInfo `json:"value,omitempty"` // NextLink - READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for IotHubQuotaMetricInfoListResult. func (ihqmilr IotHubQuotaMetricInfoListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihqmilr.Value != nil { objectMap["value"] = ihqmilr.Value } return json.Marshal(objectMap) } // IotHubQuotaMetricInfoListResultIterator provides access to a complete listing of IotHubQuotaMetricInfo // values. type IotHubQuotaMetricInfoListResultIterator struct { i int page IotHubQuotaMetricInfoListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *IotHubQuotaMetricInfoListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/IotHubQuotaMetricInfoListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *IotHubQuotaMetricInfoListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter IotHubQuotaMetricInfoListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter IotHubQuotaMetricInfoListResultIterator) Response() IotHubQuotaMetricInfoListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter IotHubQuotaMetricInfoListResultIterator) Value() IotHubQuotaMetricInfo { if !iter.page.NotDone() { return IotHubQuotaMetricInfo{} } return iter.page.Values()[iter.i] } // Creates a new instance of the IotHubQuotaMetricInfoListResultIterator type. func NewIotHubQuotaMetricInfoListResultIterator(page IotHubQuotaMetricInfoListResultPage) IotHubQuotaMetricInfoListResultIterator { return IotHubQuotaMetricInfoListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (ihqmilr IotHubQuotaMetricInfoListResult) IsEmpty() bool { return ihqmilr.Value == nil || len(*ihqmilr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (ihqmilr IotHubQuotaMetricInfoListResult) hasNextLink() bool { return ihqmilr.NextLink != nil && len(*ihqmilr.NextLink) != 0 } // iotHubQuotaMetricInfoListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (ihqmilr IotHubQuotaMetricInfoListResult) iotHubQuotaMetricInfoListResultPreparer(ctx context.Context) (*http.Request, error) { if !ihqmilr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(ihqmilr.NextLink))) } // IotHubQuotaMetricInfoListResultPage contains a page of IotHubQuotaMetricInfo values. type IotHubQuotaMetricInfoListResultPage struct { fn func(context.Context, IotHubQuotaMetricInfoListResult) (IotHubQuotaMetricInfoListResult, error) ihqmilr IotHubQuotaMetricInfoListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *IotHubQuotaMetricInfoListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/IotHubQuotaMetricInfoListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.ihqmilr) if err != nil { return err } page.ihqmilr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *IotHubQuotaMetricInfoListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page IotHubQuotaMetricInfoListResultPage) NotDone() bool { return !page.ihqmilr.IsEmpty() } // Response returns the raw server response from the last page request. func (page IotHubQuotaMetricInfoListResultPage) Response() IotHubQuotaMetricInfoListResult { return page.ihqmilr } // Values returns the slice of values for the current page or nil if there are no values. func (page IotHubQuotaMetricInfoListResultPage) Values() []IotHubQuotaMetricInfo { if page.ihqmilr.IsEmpty() { return nil } return *page.ihqmilr.Value } // Creates a new instance of the IotHubQuotaMetricInfoListResultPage type. func NewIotHubQuotaMetricInfoListResultPage(cur IotHubQuotaMetricInfoListResult, getNextPage func(context.Context, IotHubQuotaMetricInfoListResult) (IotHubQuotaMetricInfoListResult, error)) IotHubQuotaMetricInfoListResultPage { return IotHubQuotaMetricInfoListResultPage{ fn: getNextPage, ihqmilr: cur, } } // IotHubResourceCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type IotHubResourceCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IotHubResourceClient) (IotHubDescription, error) } // UnmarshalJSON is the custom unmarshaller for CreateFuture. func (future *IotHubResourceCreateOrUpdateFuture) UnmarshalJSON(body []byte) error { var azFuture azure.Future if err := json.Unmarshal(body, &azFuture); err != nil { return err } future.FutureAPI = &azFuture future.Result = future.result return nil } // result is the default implementation for IotHubResourceCreateOrUpdateFuture.Result. func (future *IotHubResourceCreateOrUpdateFuture) result(client IotHubResourceClient) (ihd IotHubDescription, err error) { var done bool done, err = future.DoneWithContext(context.Background(), client) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubResourceCreateOrUpdateFuture", "Result", future.Response(), "Polling failure") return } if !done { ihd.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("devices.IotHubResourceCreateOrUpdateFuture") return } sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) if ihd.Response.Response, err = future.GetResult(sender); err == nil && ihd.Response.Response.StatusCode != http.StatusNoContent { ihd, err = client.CreateOrUpdateResponder(ihd.Response.Response) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubResourceCreateOrUpdateFuture", "Result", ihd.Response.Response, "Failure responding to request") } } return } // IotHubResourceDeleteFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type IotHubResourceDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IotHubResourceClient) (SetObject, error) } // UnmarshalJSON is the custom unmarshaller for CreateFuture. func (future *IotHubResourceDeleteFuture) UnmarshalJSON(body []byte) error { var azFuture azure.Future if err := json.Unmarshal(body, &azFuture); err != nil { return err } future.FutureAPI = &azFuture future.Result = future.result return nil } // result is the default implementation for IotHubResourceDeleteFuture.Result. func (future *IotHubResourceDeleteFuture) result(client IotHubResourceClient) (so SetObject, err error) { var done bool done, err = future.DoneWithContext(context.Background(), client) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubResourceDeleteFuture", "Result", future.Response(), "Polling failure") return } if !done { so.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("devices.IotHubResourceDeleteFuture") return } sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) if so.Response.Response, err = future.GetResult(sender); err == nil && so.Response.Response.StatusCode != http.StatusNoContent { so, err = client.DeleteResponder(so.Response.Response) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubResourceDeleteFuture", "Result", so.Response.Response, "Failure responding to request") } } return } // IotHubResourceUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type IotHubResourceUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(IotHubResourceClient) (IotHubDescription, error) } // UnmarshalJSON is the custom unmarshaller for CreateFuture. func (future *IotHubResourceUpdateFuture) UnmarshalJSON(body []byte) error { var azFuture azure.Future if err := json.Unmarshal(body, &azFuture); err != nil { return err } future.FutureAPI = &azFuture future.Result = future.result return nil } // result is the default implementation for IotHubResourceUpdateFuture.Result. func (future *IotHubResourceUpdateFuture) result(client IotHubResourceClient) (ihd IotHubDescription, err error) { var done bool done, err = future.DoneWithContext(context.Background(), client) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubResourceUpdateFuture", "Result", future.Response(), "Polling failure") return } if !done { ihd.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("devices.IotHubResourceUpdateFuture") return } sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) if ihd.Response.Response, err = future.GetResult(sender); err == nil && ihd.Response.Response.StatusCode != http.StatusNoContent { ihd, err = client.UpdateResponder(ihd.Response.Response) if err != nil { err = autorest.NewErrorWithError(err, "devices.IotHubResourceUpdateFuture", "Result", ihd.Response.Response, "Failure responding to request") } } return } // IotHubSkuDescription SKU properties. type IotHubSkuDescription struct { // ResourceType - READ-ONLY; The type of the resource. ResourceType *string `json:"resourceType,omitempty"` // Sku - The type of the resource. Sku *IotHubSkuInfo `json:"sku,omitempty"` // Capacity - IotHub capacity Capacity *IotHubCapacity `json:"capacity,omitempty"` } // MarshalJSON is the custom marshaler for IotHubSkuDescription. func (ihsd IotHubSkuDescription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihsd.Sku != nil { objectMap["sku"] = ihsd.Sku } if ihsd.Capacity != nil { objectMap["capacity"] = ihsd.Capacity } return json.Marshal(objectMap) } // IotHubSkuDescriptionListResult the JSON-serialized array of IotHubSkuDescription objects with a next // link. type IotHubSkuDescriptionListResult struct { autorest.Response `json:"-"` // Value - The array of IotHubSkuDescription. Value *[]IotHubSkuDescription `json:"value,omitempty"` // NextLink - READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for IotHubSkuDescriptionListResult. func (ihsdlr IotHubSkuDescriptionListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihsdlr.Value != nil { objectMap["value"] = ihsdlr.Value } return json.Marshal(objectMap) } // IotHubSkuDescriptionListResultIterator provides access to a complete listing of IotHubSkuDescription // values. type IotHubSkuDescriptionListResultIterator struct { i int page IotHubSkuDescriptionListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *IotHubSkuDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/IotHubSkuDescriptionListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *IotHubSkuDescriptionListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter IotHubSkuDescriptionListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter IotHubSkuDescriptionListResultIterator) Response() IotHubSkuDescriptionListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter IotHubSkuDescriptionListResultIterator) Value() IotHubSkuDescription { if !iter.page.NotDone() { return IotHubSkuDescription{} } return iter.page.Values()[iter.i] } // Creates a new instance of the IotHubSkuDescriptionListResultIterator type. func NewIotHubSkuDescriptionListResultIterator(page IotHubSkuDescriptionListResultPage) IotHubSkuDescriptionListResultIterator { return IotHubSkuDescriptionListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (ihsdlr IotHubSkuDescriptionListResult) IsEmpty() bool { return ihsdlr.Value == nil || len(*ihsdlr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (ihsdlr IotHubSkuDescriptionListResult) hasNextLink() bool { return ihsdlr.NextLink != nil && len(*ihsdlr.NextLink) != 0 } // iotHubSkuDescriptionListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (ihsdlr IotHubSkuDescriptionListResult) iotHubSkuDescriptionListResultPreparer(ctx context.Context) (*http.Request, error) { if !ihsdlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(ihsdlr.NextLink))) } // IotHubSkuDescriptionListResultPage contains a page of IotHubSkuDescription values. type IotHubSkuDescriptionListResultPage struct { fn func(context.Context, IotHubSkuDescriptionListResult) (IotHubSkuDescriptionListResult, error) ihsdlr IotHubSkuDescriptionListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *IotHubSkuDescriptionListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/IotHubSkuDescriptionListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.ihsdlr) if err != nil { return err } page.ihsdlr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *IotHubSkuDescriptionListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page IotHubSkuDescriptionListResultPage) NotDone() bool { return !page.ihsdlr.IsEmpty() } // Response returns the raw server response from the last page request. func (page IotHubSkuDescriptionListResultPage) Response() IotHubSkuDescriptionListResult { return page.ihsdlr } // Values returns the slice of values for the current page or nil if there are no values. func (page IotHubSkuDescriptionListResultPage) Values() []IotHubSkuDescription { if page.ihsdlr.IsEmpty() { return nil } return *page.ihsdlr.Value } // Creates a new instance of the IotHubSkuDescriptionListResultPage type. func NewIotHubSkuDescriptionListResultPage(cur IotHubSkuDescriptionListResult, getNextPage func(context.Context, IotHubSkuDescriptionListResult) (IotHubSkuDescriptionListResult, error)) IotHubSkuDescriptionListResultPage { return IotHubSkuDescriptionListResultPage{ fn: getNextPage, ihsdlr: cur, } } // IotHubSkuInfo information about the SKU of the IoT hub. type IotHubSkuInfo struct { // Name - The name of the SKU. Possible values include: 'F1', 'S1', 'S2', 'S3', 'B1', 'B2', 'B3' Name IotHubSku `json:"name,omitempty"` // Tier - READ-ONLY; The billing tier for the IoT hub. Possible values include: 'Free', 'Standard', 'Basic' Tier IotHubSkuTier `json:"tier,omitempty"` // Capacity - The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. Capacity *int64 `json:"capacity,omitempty"` } // MarshalJSON is the custom marshaler for IotHubSkuInfo. func (ihsi IotHubSkuInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if ihsi.Name != "" { objectMap["name"] = ihsi.Name } if ihsi.Capacity != nil { objectMap["capacity"] = ihsi.Capacity } return json.Marshal(objectMap) } // IPFilterRule the IP filter rules for the IoT hub. type IPFilterRule struct { // FilterName - The name of the IP filter rule. FilterName *string `json:"filterName,omitempty"` // Action - The desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject' Action IPFilterActionType `json:"action,omitempty"` // IPMask - A string that contains the IP address range in CIDR notation for the rule. IPMask *string `json:"ipMask,omitempty"` } // JobResponse the properties of the Job Response object. type JobResponse struct { autorest.Response `json:"-"` // JobID - READ-ONLY; The job identifier. JobID *string `json:"jobId,omitempty"` // StartTimeUtc - READ-ONLY; The start time of the job. StartTimeUtc *date.TimeRFC1123 `json:"startTimeUtc,omitempty"` // EndTimeUtc - READ-ONLY; The time the job stopped processing. EndTimeUtc *date.TimeRFC1123 `json:"endTimeUtc,omitempty"` // Type - READ-ONLY; The type of the job. Possible values include: 'JobTypeUnknown', 'JobTypeExport', 'JobTypeImport', 'JobTypeBackup', 'JobTypeReadDeviceProperties', 'JobTypeWriteDeviceProperties', 'JobTypeUpdateDeviceConfiguration', 'JobTypeRebootDevice', 'JobTypeFactoryResetDevice', 'JobTypeFirmwareUpdate' Type JobType `json:"type,omitempty"` // Status - READ-ONLY; The status of the job. Possible values include: 'JobStatusUnknown', 'JobStatusEnqueued', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusCancelled' Status JobStatus `json:"status,omitempty"` // FailureReason - READ-ONLY; If status == failed, this string containing the reason for the failure. FailureReason *string `json:"failureReason,omitempty"` // StatusMessage - READ-ONLY; The status message for the job. StatusMessage *string `json:"statusMessage,omitempty"` // ParentJobID - READ-ONLY; The job identifier of the parent job, if any. ParentJobID *string `json:"parentJobId,omitempty"` } // MarshalJSON is the custom marshaler for JobResponse. func (jr JobResponse) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // JobResponseListResult the JSON-serialized array of JobResponse objects with a next link. type JobResponseListResult struct { autorest.Response `json:"-"` // Value - The array of JobResponse objects. Value *[]JobResponse `json:"value,omitempty"` // NextLink - READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for JobResponseListResult. func (jrlr JobResponseListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if jrlr.Value != nil { objectMap["value"] = jrlr.Value } return json.Marshal(objectMap) } // JobResponseListResultIterator provides access to a complete listing of JobResponse values. type JobResponseListResultIterator struct { i int page JobResponseListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *JobResponseListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/JobResponseListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *JobResponseListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter JobResponseListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter JobResponseListResultIterator) Response() JobResponseListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter JobResponseListResultIterator) Value() JobResponse { if !iter.page.NotDone() { return JobResponse{} } return iter.page.Values()[iter.i] } // Creates a new instance of the JobResponseListResultIterator type. func NewJobResponseListResultIterator(page JobResponseListResultPage) JobResponseListResultIterator { return JobResponseListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (jrlr JobResponseListResult) IsEmpty() bool { return jrlr.Value == nil || len(*jrlr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (jrlr JobResponseListResult) hasNextLink() bool { return jrlr.NextLink != nil && len(*jrlr.NextLink) != 0 } // jobResponseListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (jrlr JobResponseListResult) jobResponseListResultPreparer(ctx context.Context) (*http.Request, error) { if !jrlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(jrlr.NextLink))) } // JobResponseListResultPage contains a page of JobResponse values. type JobResponseListResultPage struct { fn func(context.Context, JobResponseListResult) (JobResponseListResult, error) jrlr JobResponseListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *JobResponseListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/JobResponseListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.jrlr) if err != nil { return err } page.jrlr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *JobResponseListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page JobResponseListResultPage) NotDone() bool { return !page.jrlr.IsEmpty() } // Response returns the raw server response from the last page request. func (page JobResponseListResultPage) Response() JobResponseListResult { return page.jrlr } // Values returns the slice of values for the current page or nil if there are no values. func (page JobResponseListResultPage) Values() []JobResponse { if page.jrlr.IsEmpty() { return nil } return *page.jrlr.Value } // Creates a new instance of the JobResponseListResultPage type. func NewJobResponseListResultPage(cur JobResponseListResult, getNextPage func(context.Context, JobResponseListResult) (JobResponseListResult, error)) JobResponseListResultPage { return JobResponseListResultPage{ fn: getNextPage, jrlr: cur, } } // MatchedRoute routes that matched type MatchedRoute struct { // Properties - Properties of routes that matched Properties *RouteProperties `json:"properties,omitempty"` } // MessagingEndpointProperties the properties of the messaging endpoints used by this IoT hub. type MessagingEndpointProperties struct { // LockDurationAsIso8601 - The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"` // TTLAsIso8601 - The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"` // MaxDeliveryCount - The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` } // Name name of Iot Hub type type Name struct { // Value - IotHub type Value *string `json:"value,omitempty"` // LocalizedValue - Localized value of name LocalizedValue *string `json:"localizedValue,omitempty"` } // Operation ioT Hub REST API operation type Operation struct { // Name - READ-ONLY; Operation name: {provider}/{resource}/{read | write | action | delete} Name *string `json:"name,omitempty"` // Display - The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` } // MarshalJSON is the custom marshaler for Operation. func (o Operation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if o.Display != nil { objectMap["display"] = o.Display } return json.Marshal(objectMap) } // OperationDisplay the object that represents the operation. type OperationDisplay struct { // Provider - READ-ONLY; Service provider: Microsoft Devices Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; Resource Type: IotHubs Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; Name of the operation Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; Description of the operation Description *string `json:"description,omitempty"` } // MarshalJSON is the custom marshaler for OperationDisplay. func (o OperationDisplay) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // OperationInputs input values. type OperationInputs struct { // Name - The name of the IoT hub to check. Name *string `json:"name,omitempty"` } // OperationListResult result of the request to list IoT Hub operations. It contains a list of operations // and a URL link to get the next set of results. type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of IoT Hub operations supported by the Microsoft.Devices resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for OperationListResult. func (olr OperationListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // OperationListResultIterator provides access to a complete listing of Operation values. type OperationListResultIterator struct { i int page OperationListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *OperationListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter OperationListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter OperationListResultIterator) Response() OperationListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter OperationListResultIterator) Value() Operation { if !iter.page.NotDone() { return Operation{} } return iter.page.Values()[iter.i] } // Creates a new instance of the OperationListResultIterator type. func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator { return OperationListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (olr OperationListResult) IsEmpty() bool { return olr.Value == nil || len(*olr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (olr OperationListResult) hasNextLink() bool { return olr.NextLink != nil && len(*olr.NextLink) != 0 } // operationListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (olr OperationListResult) operationListResultPreparer(ctx context.Context) (*http.Request, error) { if !olr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(olr.NextLink))) } // OperationListResultPage contains a page of Operation values. type OperationListResultPage struct { fn func(context.Context, OperationListResult) (OperationListResult, error) olr OperationListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/OperationListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.olr) if err != nil { return err } page.olr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *OperationListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page OperationListResultPage) NotDone() bool { return !page.olr.IsEmpty() } // Response returns the raw server response from the last page request. func (page OperationListResultPage) Response() OperationListResult { return page.olr } // Values returns the slice of values for the current page or nil if there are no values. func (page OperationListResultPage) Values() []Operation { if page.olr.IsEmpty() { return nil } return *page.olr.Value } // Creates a new instance of the OperationListResultPage type. func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { return OperationListResultPage{ fn: getNextPage, olr: cur, } } // RegistryStatistics identity registry statistics. type RegistryStatistics struct { autorest.Response `json:"-"` // TotalDeviceCount - READ-ONLY; The total count of devices in the identity registry. TotalDeviceCount *int64 `json:"totalDeviceCount,omitempty"` // EnabledDeviceCount - READ-ONLY; The count of enabled devices in the identity registry. EnabledDeviceCount *int64 `json:"enabledDeviceCount,omitempty"` // DisabledDeviceCount - READ-ONLY; The count of disabled devices in the identity registry. DisabledDeviceCount *int64 `json:"disabledDeviceCount,omitempty"` } // MarshalJSON is the custom marshaler for RegistryStatistics. func (rs RegistryStatistics) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) return json.Marshal(objectMap) } // Resource the common properties of an Azure resource. type Resource struct { // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - The resource location. Location *string `json:"location,omitempty"` // Tags - The resource tags. Tags map[string]*string `json:"tags"` } // MarshalJSON is the custom marshaler for Resource. func (r Resource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if r.Location != nil { objectMap["location"] = r.Location } if r.Tags != nil { objectMap["tags"] = r.Tags } return json.Marshal(objectMap) } // RouteCompilationError compilation error when evaluating route type RouteCompilationError struct { // Message - Route error message Message *string `json:"message,omitempty"` // Severity - Severity of the route error. Possible values include: 'Error', 'Warning' Severity RouteErrorSeverity `json:"severity,omitempty"` // Location - Location where the route error happened Location *RouteErrorRange `json:"location,omitempty"` } // RouteErrorPosition position where the route error happened type RouteErrorPosition struct { // Line - Line where the route error happened Line *int32 `json:"line,omitempty"` // Column - Column where the route error happened Column *int32 `json:"column,omitempty"` } // RouteErrorRange range of route errors type RouteErrorRange struct { // Start - Start where the route error happened Start *RouteErrorPosition `json:"start,omitempty"` // End - End where the route error happened End *RouteErrorPosition `json:"end,omitempty"` } // RouteProperties the properties of a routing rule that your IoT hub uses to route messages to endpoints. type RouteProperties struct { // Name - The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. Name *string `json:"name,omitempty"` // Source - The source that the routing rule is to be applied to, such as DeviceMessages. Possible values include: 'RoutingSourceInvalid', 'RoutingSourceDeviceMessages', 'RoutingSourceTwinChangeEvents', 'RoutingSourceDeviceLifecycleEvents', 'RoutingSourceDeviceJobLifecycleEvents', 'RoutingSourceDigitalTwinChangeEvents' Source RoutingSource `json:"source,omitempty"` // Condition - The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language Condition *string `json:"condition,omitempty"` // EndpointNames - The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. EndpointNames *[]string `json:"endpointNames,omitempty"` // IsEnabled - Used to specify whether a route is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` } // RoutingEndpoints the properties related to the custom endpoints to which your IoT hub routes messages // based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for // paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs. type RoutingEndpoints struct { // ServiceBusQueues - The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. ServiceBusQueues *[]RoutingServiceBusQueueEndpointProperties `json:"serviceBusQueues,omitempty"` // ServiceBusTopics - The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. ServiceBusTopics *[]RoutingServiceBusTopicEndpointProperties `json:"serviceBusTopics,omitempty"` // EventHubs - The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. EventHubs *[]RoutingEventHubProperties `json:"eventHubs,omitempty"` // StorageContainers - The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. StorageContainers *[]RoutingStorageContainerProperties `json:"storageContainers,omitempty"` } // RoutingEventHubProperties the properties related to an event hub endpoint. type RoutingEventHubProperties struct { // ConnectionString - The connection string of the event hub endpoint. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the event hub endpoint. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the event hub endpoint. ResourceGroup *string `json:"resourceGroup,omitempty"` } // RoutingMessage routing message type RoutingMessage struct { // Body - Body of routing message Body *string `json:"body,omitempty"` // AppProperties - App properties AppProperties map[string]*string `json:"appProperties"` // SystemProperties - System properties SystemProperties map[string]*string `json:"systemProperties"` } // MarshalJSON is the custom marshaler for RoutingMessage. func (rm RoutingMessage) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if rm.Body != nil { objectMap["body"] = rm.Body } if rm.AppProperties != nil { objectMap["appProperties"] = rm.AppProperties } if rm.SystemProperties != nil { objectMap["systemProperties"] = rm.SystemProperties } return json.Marshal(objectMap) } // RoutingProperties the routing related properties of the IoT hub. See: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging type RoutingProperties struct { Endpoints *RoutingEndpoints `json:"endpoints,omitempty"` // Routes - The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. Routes *[]RouteProperties `json:"routes,omitempty"` // FallbackRoute - The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. FallbackRoute *FallbackRouteProperties `json:"fallbackRoute,omitempty"` // Enrichments - The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/iotmsgenrich Enrichments *[]EnrichmentProperties `json:"enrichments,omitempty"` } // RoutingServiceBusQueueEndpointProperties the properties related to service bus queue endpoint types. type RoutingServiceBusQueueEndpointProperties struct { // ConnectionString - The connection string of the service bus queue endpoint. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the service bus queue endpoint. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the service bus queue endpoint. ResourceGroup *string `json:"resourceGroup,omitempty"` } // RoutingServiceBusTopicEndpointProperties the properties related to service bus topic endpoint types. type RoutingServiceBusTopicEndpointProperties struct { // ConnectionString - The connection string of the service bus topic endpoint. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the service bus topic endpoint. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the service bus topic endpoint. ResourceGroup *string `json:"resourceGroup,omitempty"` } // RoutingStorageContainerProperties the properties related to a storage container endpoint. type RoutingStorageContainerProperties struct { // ConnectionString - The connection string of the storage account. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // ContainerName - The name of storage container in the storage account. ContainerName *string `json:"containerName,omitempty"` // FileNameFormat - File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. FileNameFormat *string `json:"fileNameFormat,omitempty"` // BatchFrequencyInSeconds - Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. BatchFrequencyInSeconds *int32 `json:"batchFrequencyInSeconds,omitempty"` // MaxChunkSizeInBytes - Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). MaxChunkSizeInBytes *int32 `json:"maxChunkSizeInBytes,omitempty"` // Encoding - Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'. Possible values include: 'Avro', 'AvroDeflate', 'JSON' Encoding Encoding `json:"encoding,omitempty"` } // RoutingTwin twin reference input parameter. This is an optional parameter type RoutingTwin struct { // Tags - Twin Tags Tags interface{} `json:"tags,omitempty"` Properties *RoutingTwinProperties `json:"properties,omitempty"` } // RoutingTwinProperties ... type RoutingTwinProperties struct { // Desired - Twin desired properties Desired interface{} `json:"desired,omitempty"` // Reported - Twin desired properties Reported interface{} `json:"reported,omitempty"` } // SetObject ... type SetObject struct { autorest.Response `json:"-"` Value interface{} `json:"value,omitempty"` } // SharedAccessSignatureAuthorizationRule the properties of an IoT hub shared access policy. type SharedAccessSignatureAuthorizationRule struct { autorest.Response `json:"-"` // KeyName - The name of the shared access policy. KeyName *string `json:"keyName,omitempty"` // PrimaryKey - The primary key. PrimaryKey *string `json:"primaryKey,omitempty"` // SecondaryKey - The secondary key. SecondaryKey *string `json:"secondaryKey,omitempty"` // Rights - The permissions assigned to the shared access policy. Possible values include: 'RegistryRead', 'RegistryWrite', 'ServiceConnect', 'DeviceConnect', 'RegistryReadRegistryWrite', 'RegistryReadServiceConnect', 'RegistryReadDeviceConnect', 'RegistryWriteServiceConnect', 'RegistryWriteDeviceConnect', 'ServiceConnectDeviceConnect', 'RegistryReadRegistryWriteServiceConnect', 'RegistryReadRegistryWriteDeviceConnect', 'RegistryReadServiceConnectDeviceConnect', 'RegistryWriteServiceConnectDeviceConnect', 'RegistryReadRegistryWriteServiceConnectDeviceConnect' Rights AccessRights `json:"rights,omitempty"` } // SharedAccessSignatureAuthorizationRuleListResult the list of shared access policies with a next link. type SharedAccessSignatureAuthorizationRuleListResult struct { autorest.Response `json:"-"` // Value - The list of shared access policies. Value *[]SharedAccessSignatureAuthorizationRule `json:"value,omitempty"` // NextLink - READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for SharedAccessSignatureAuthorizationRuleListResult. func (sasarlr SharedAccessSignatureAuthorizationRuleListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if sasarlr.Value != nil { objectMap["value"] = sasarlr.Value } return json.Marshal(objectMap) } // SharedAccessSignatureAuthorizationRuleListResultIterator provides access to a complete listing of // SharedAccessSignatureAuthorizationRule values. type SharedAccessSignatureAuthorizationRuleListResultIterator struct { i int page SharedAccessSignatureAuthorizationRuleListResultPage } // NextWithContext advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/SharedAccessSignatureAuthorizationRuleListResultIterator.NextWithContext") defer func() { sc := -1 if iter.Response().Response.Response != nil { sc = iter.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } iter.i++ if iter.i < len(iter.page.Values()) { return nil } err = iter.page.NextWithContext(ctx) if err != nil { iter.i-- return err } iter.i = 0 return nil } // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) Next() error { return iter.NextWithContext(context.Background()) } // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } // Response returns the raw server response from the last page request. func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Response() SharedAccessSignatureAuthorizationRuleListResult { return iter.page.Response() } // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Value() SharedAccessSignatureAuthorizationRule { if !iter.page.NotDone() { return SharedAccessSignatureAuthorizationRule{} } return iter.page.Values()[iter.i] } // Creates a new instance of the SharedAccessSignatureAuthorizationRuleListResultIterator type. func NewSharedAccessSignatureAuthorizationRuleListResultIterator(page SharedAccessSignatureAuthorizationRuleListResultPage) SharedAccessSignatureAuthorizationRuleListResultIterator { return SharedAccessSignatureAuthorizationRuleListResultIterator{page: page} } // IsEmpty returns true if the ListResult contains no values. func (sasarlr SharedAccessSignatureAuthorizationRuleListResult) IsEmpty() bool { return sasarlr.Value == nil || len(*sasarlr.Value) == 0 } // hasNextLink returns true if the NextLink is not empty. func (sasarlr SharedAccessSignatureAuthorizationRuleListResult) hasNextLink() bool { return sasarlr.NextLink != nil && len(*sasarlr.NextLink) != 0 } // sharedAccessSignatureAuthorizationRuleListResultPreparer prepares a request to retrieve the next set of results. // It returns nil if no more results exist. func (sasarlr SharedAccessSignatureAuthorizationRuleListResult) sharedAccessSignatureAuthorizationRuleListResultPreparer(ctx context.Context) (*http.Request, error) { if !sasarlr.hasNextLink() { return nil, nil } return autorest.Prepare((&http.Request{}).WithContext(ctx), autorest.AsJSON(), autorest.AsGet(), autorest.WithBaseURL(to.String(sasarlr.NextLink))) } // SharedAccessSignatureAuthorizationRuleListResultPage contains a page of // SharedAccessSignatureAuthorizationRule values. type SharedAccessSignatureAuthorizationRuleListResultPage struct { fn func(context.Context, SharedAccessSignatureAuthorizationRuleListResult) (SharedAccessSignatureAuthorizationRuleListResult, error) sasarlr SharedAccessSignatureAuthorizationRuleListResult } // NextWithContext advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SharedAccessSignatureAuthorizationRuleListResultPage) NextWithContext(ctx context.Context) (err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/SharedAccessSignatureAuthorizationRuleListResultPage.NextWithContext") defer func() { sc := -1 if page.Response().Response.Response != nil { sc = page.Response().Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() } for { next, err := page.fn(ctx, page.sasarlr) if err != nil { return err } page.sasarlr = next if !next.hasNextLink() || !next.IsEmpty() { break } } return nil } // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. // Deprecated: Use NextWithContext() instead. func (page *SharedAccessSignatureAuthorizationRuleListResultPage) Next() error { return page.NextWithContext(context.Background()) } // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SharedAccessSignatureAuthorizationRuleListResultPage) NotDone() bool { return !page.sasarlr.IsEmpty() } // Response returns the raw server response from the last page request. func (page SharedAccessSignatureAuthorizationRuleListResultPage) Response() SharedAccessSignatureAuthorizationRuleListResult { return page.sasarlr } // Values returns the slice of values for the current page or nil if there are no values. func (page SharedAccessSignatureAuthorizationRuleListResultPage) Values() []SharedAccessSignatureAuthorizationRule { if page.sasarlr.IsEmpty() { return nil } return *page.sasarlr.Value } // Creates a new instance of the SharedAccessSignatureAuthorizationRuleListResultPage type. func NewSharedAccessSignatureAuthorizationRuleListResultPage(cur SharedAccessSignatureAuthorizationRuleListResult, getNextPage func(context.Context, SharedAccessSignatureAuthorizationRuleListResult) (SharedAccessSignatureAuthorizationRuleListResult, error)) SharedAccessSignatureAuthorizationRuleListResultPage { return SharedAccessSignatureAuthorizationRuleListResultPage{ fn: getNextPage, sasarlr: cur, } } // StorageEndpointProperties the properties of the Azure Storage endpoint for file upload. type StorageEndpointProperties struct { // SasTTLAsIso8601 - The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. SasTTLAsIso8601 *string `json:"sasTtlAsIso8601,omitempty"` // ConnectionString - The connection string for the Azure Storage account to which files are uploaded. ConnectionString *string `json:"connectionString,omitempty"` // ContainerName - The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. ContainerName *string `json:"containerName,omitempty"` } // TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on // an IoT Hub instance. type TagsResource struct { // Tags - Resource tags Tags map[string]*string `json:"tags"` } // MarshalJSON is the custom marshaler for TagsResource. func (tr TagsResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if tr.Tags != nil { objectMap["tags"] = tr.Tags } return json.Marshal(objectMap) } // TestAllRoutesInput input for testing all routes type TestAllRoutesInput struct { // RoutingSource - Routing source. Possible values include: 'RoutingSourceInvalid', 'RoutingSourceDeviceMessages', 'RoutingSourceTwinChangeEvents', 'RoutingSourceDeviceLifecycleEvents', 'RoutingSourceDeviceJobLifecycleEvents', 'RoutingSourceDigitalTwinChangeEvents' RoutingSource RoutingSource `json:"routingSource,omitempty"` // Message - Routing message Message *RoutingMessage `json:"message,omitempty"` // Twin - Routing Twin Reference Twin *RoutingTwin `json:"twin,omitempty"` } // TestAllRoutesResult result of testing all routes type TestAllRoutesResult struct { autorest.Response `json:"-"` // Routes - JSON-serialized array of matched routes Routes *[]MatchedRoute `json:"routes,omitempty"` } // TestRouteInput input for testing route type TestRouteInput struct { // Message - Routing message Message *RoutingMessage `json:"message,omitempty"` // Route - Route properties Route *RouteProperties `json:"route,omitempty"` // Twin - Routing Twin Reference Twin *RoutingTwin `json:"twin,omitempty"` } // TestRouteResult result of testing one route type TestRouteResult struct { autorest.Response `json:"-"` // Result - Result of testing route. Possible values include: 'Undefined', 'False', 'True' Result TestResultStatus `json:"result,omitempty"` // Details - Detailed result of testing route Details *TestRouteResultDetails `json:"details,omitempty"` } // TestRouteResultDetails detailed result of testing a route type TestRouteResultDetails struct { // CompilationErrors - JSON-serialized list of route compilation errors CompilationErrors *[]RouteCompilationError `json:"compilationErrors,omitempty"` } // UserSubscriptionQuota user subscription quota response type UserSubscriptionQuota struct { // ID - IotHub type id ID *string `json:"id,omitempty"` // Type - Response type Type *string `json:"type,omitempty"` // Unit - Unit of IotHub type Unit *string `json:"unit,omitempty"` // CurrentValue - Current number of IotHub type CurrentValue *int32 `json:"currentValue,omitempty"` // Limit - Numerical limit on IotHub type Limit *int32 `json:"limit,omitempty"` // Name - IotHub type Name *Name `json:"name,omitempty"` } // UserSubscriptionQuotaListResult json-serialized array of User subscription quota response type UserSubscriptionQuotaListResult struct { autorest.Response `json:"-"` Value *[]UserSubscriptionQuota `json:"value,omitempty"` // NextLink - READ-ONLY NextLink *string `json:"nextLink,omitempty"` } // MarshalJSON is the custom marshaler for UserSubscriptionQuotaListResult. func (usqlr UserSubscriptionQuotaListResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) if usqlr.Value != nil { objectMap["value"] = usqlr.Value } return json.Marshal(objectMap) }
Azure/azure-sdk-for-go
services/preview/iothub/mgmt/2019-07-01-preview/devices/models.go
GO
mit
101,280
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ja" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BulbaCoin</source> <translation>BulbaCoinについて</translation> </message> <message> <location line="+39"/> <source>&lt;b&gt;BulbaCoin&lt;/b&gt; version</source> <translation>&lt;b&gt;BulbaCoin&lt;/b&gt; バージョン</translation> </message> <message> <location line="+57"/> <source> This is experimental software. Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.</source> <translation type="unfinished"/> </message> <message> <location filename="../aboutdialog.cpp" line="+14"/> <source>Copyright</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>The BulbaCoin developers</source> <translation type="unfinished"/> </message> </context> <context> <name>AddressBookPage</name> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>Address Book</source> <translation>アドレス帳</translation> </message> <message> <location line="+19"/> <source>Double-click to edit address or label</source> <translation>アドレスまたはラベルを編集するにはダブルクリック</translation> </message> <message> <location line="+27"/> <source>Create a new address</source> <translation>新規アドレスの作成</translation> </message> <message> <location line="+14"/> <source>Copy the currently selected address to the system clipboard</source> <translation>現在選択されているアドレスをシステムのクリップボードにコピーする</translation> </message> <message> <location line="-11"/> <source>&amp;New Address</source> <translation type="unfinished"/> </message> <message> <location filename="../addressbookpage.cpp" line="+63"/> <source>These are your BulbaCoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.</source> <translation type="unfinished"/> </message> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>&amp;Copy Address</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>Show &amp;QR Code</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>Sign a message to prove you own a BulbaCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation type="unfinished"/> </message> <message> <location line="+25"/> <source>Delete the currently selected address from the list</source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Export the data in the current tab to a file</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Export</source> <translation type="unfinished"/> </message> <message> <location line="-44"/> <source>Verify a message to ensure it was signed with a specified BulbaCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Verify Message</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>&amp;Delete</source> <translation>削除(&amp;D)</translation> </message> <message> <location filename="../addressbookpage.cpp" line="-5"/> <source>These are your BulbaCoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>Copy &amp;Label</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>&amp;Edit</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Send &amp;Coins</source> <translation type="unfinished"/> </message> <message> <location line="+260"/> <source>Export Address Book Data</source> <translation>アドレス帳データをエクスポートする</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>CSVファイル (*.csv)</translation> </message> <message> <location line="+13"/> <source>Error exporting</source> <translation>エクスポートエラー</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>%1のファイルに書き込めませんでした。</translation> </message> </context> <context> <name>AddressTableModel</name> <message> <location filename="../addresstablemodel.cpp" line="+144"/> <source>Label</source> <translation>ラベル</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>アドレス</translation> </message> <message> <location line="+36"/> <source>(no label)</source> <translation>(ラベル無し)</translation> </message> </context> <context> <name>AskPassphraseDialog</name> <message> <location filename="../forms/askpassphrasedialog.ui" line="+26"/> <source>Passphrase Dialog</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>Enter passphrase</source> <translation>パスフレーズを入力</translation> </message> <message> <location line="+14"/> <source>New passphrase</source> <translation>新しいパスフレーズ</translation> </message> <message> <location line="+14"/> <source>Repeat new passphrase</source> <translation>新しいパスフレーズをもう一度</translation> </message> <message> <location filename="../askpassphrasedialog.cpp" line="+33"/> <source>Enter the new passphrase to the wallet.&lt;br/&gt;Please use a passphrase of &lt;b&gt;10 or more random characters&lt;/b&gt;, or &lt;b&gt;eight or more words&lt;/b&gt;.</source> <translation>ウォレットの新しいパスフレーズを入力してください。&lt;br/&gt;&lt;b&gt;8個以上の単語か10個以上のランダムな文字&lt;/b&gt;を使ってください。</translation> </message> <message> <location line="+1"/> <source>Encrypt wallet</source> <translation>ウォレットを暗号化する</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to unlock the wallet.</source> <translation>この操作はウォレットをアンロックするためにパスフレーズが必要です。</translation> </message> <message> <location line="+5"/> <source>Unlock wallet</source> <translation>ウォレットをアンロックする</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to decrypt the wallet.</source> <translation>この操作はウォレットの暗号化解除のためにパスフレーズが必要です。</translation> </message> <message> <location line="+5"/> <source>Decrypt wallet</source> <translation>ウォレットの暗号化を解除する</translation> </message> <message> <location line="+3"/> <source>Change passphrase</source> <translation>パスフレーズの変更</translation> </message> <message> <location line="+1"/> <source>Enter the old and new passphrase to the wallet.</source> <translation>新旧両方のパスフレーズを入力してください。</translation> </message> <message> <location line="+46"/> <source>Confirm wallet encryption</source> <translation>ウォレットの暗号化を確認する</translation> </message> <message> <location line="+1"/> <source>Warning: If you encrypt your wallet and lose your passphrase, you will &lt;b&gt;LOSE ALL OF YOUR BULBACOINS&lt;/b&gt;!</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Are you sure you wish to encrypt your wallet?</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet.</source> <translation type="unfinished"/> </message> <message> <location line="+100"/> <location line="+24"/> <source>Warning: The Caps Lock key is on!</source> <translation type="unfinished"/> </message> <message> <location line="-130"/> <location line="+58"/> <source>Wallet encrypted</source> <translation>ウォレットは暗号化されました</translation> </message> <message> <location line="-56"/> <source>BulbaCoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your bulbacoins from being stolen by malware infecting your computer.</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <location line="+7"/> <location line="+42"/> <location line="+6"/> <source>Wallet encryption failed</source> <translation>ウォレットの暗号化に失敗しました</translation> </message> <message> <location line="-54"/> <source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source> <translation>内部エラーによりウォレットの暗号化が失敗しました。ウォレットは暗号化されませんでした。</translation> </message> <message> <location line="+7"/> <location line="+48"/> <source>The supplied passphrases do not match.</source> <translation>パスフレーズが同じではありません。</translation> </message> <message> <location line="-37"/> <source>Wallet unlock failed</source> <translation>ウォレットのアンロックに失敗しました</translation> </message> <message> <location line="+1"/> <location line="+11"/> <location line="+19"/> <source>The passphrase entered for the wallet decryption was incorrect.</source> <translation>ウォレットの暗号化解除のパスフレーズが正しくありません。</translation> </message> <message> <location line="-20"/> <source>Wallet decryption failed</source> <translation>ウォレットの暗号化解除に失敗しました</translation> </message> <message> <location line="+14"/> <source>Wallet passphrase was successfully changed.</source> <translation type="unfinished"/> </message> </context> <context> <name>BitcoinGUI</name> <message> <location filename="../bitcoingui.cpp" line="+233"/> <source>Sign &amp;message...</source> <translation type="unfinished"/> </message> <message> <location line="+280"/> <source>Synchronizing with network...</source> <translation>ネットワークに同期中……</translation> </message> <message> <location line="-349"/> <source>&amp;Overview</source> <translation>概要(&amp;O)</translation> </message> <message> <location line="+1"/> <source>Show general overview of wallet</source> <translation>ウォレットの概要を見る</translation> </message> <message> <location line="+20"/> <source>&amp;Transactions</source> <translation>取引(&amp;T)</translation> </message> <message> <location line="+1"/> <source>Browse transaction history</source> <translation>取引履歴を閲覧</translation> </message> <message> <location line="+7"/> <source>Edit the list of stored addresses and labels</source> <translation>保存されたアドレスとラベルのリストを編集</translation> </message> <message> <location line="-14"/> <source>Show the list of addresses for receiving payments</source> <translation>支払い受け取り用アドレスのリストを見る</translation> </message> <message> <location line="+31"/> <source>E&amp;xit</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Quit application</source> <translation>アプリケーションを終了</translation> </message> <message> <location line="+4"/> <source>Show information about BulbaCoin</source> <translation>BulbaCoinに関する情報を見る</translation> </message> <message> <location line="+2"/> <source>About &amp;Qt</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Show information about Qt</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>&amp;Options...</source> <translation>オプション(&amp;O)</translation> </message> <message> <location line="+6"/> <source>&amp;Encrypt Wallet...</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Backup Wallet...</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>&amp;Change Passphrase...</source> <translation type="unfinished"/> </message> <message> <location line="+285"/> <source>Importing blocks from disk...</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Reindexing blocks on disk...</source> <translation type="unfinished"/> </message> <message> <location line="-347"/> <source>Send coins to a BulbaCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+49"/> <source>Modify configuration options for BulbaCoin</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Backup wallet to another location</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Change the passphrase used for wallet encryption</source> <translation>ウォレット暗号化用パスフレーズの変更</translation> </message> <message> <location line="+6"/> <source>&amp;Debug window</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Open debugging and diagnostic console</source> <translation type="unfinished"/> </message> <message> <location line="-4"/> <source>&amp;Verify message...</source> <translation type="unfinished"/> </message> <message> <location line="-165"/> <location line="+530"/> <source>BulbaCoin</source> <translation type="unfinished"/> </message> <message> <location line="-530"/> <source>Wallet</source> <translation type="unfinished"/> </message> <message> <location line="+101"/> <source>&amp;Send</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>&amp;Receive</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>&amp;Addresses</source> <translation type="unfinished"/> </message> <message> <location line="+22"/> <source>&amp;About BulbaCoin</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>&amp;Show / Hide</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Show or hide the main Window</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Encrypt the private keys that belong to your wallet</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Sign messages with your BulbaCoin addresses to prove you own them</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Verify messages to ensure they were signed with specified BulbaCoin addresses</source> <translation type="unfinished"/> </message> <message> <location line="+28"/> <source>&amp;File</source> <translation>ファイル(&amp;F)</translation> </message> <message> <location line="+7"/> <source>&amp;Settings</source> <translation>設定(&amp;S)</translation> </message> <message> <location line="+6"/> <source>&amp;Help</source> <translation>ヘルプ(&amp;H)</translation> </message> <message> <location line="+9"/> <source>Tabs toolbar</source> <translation>タブツールバー</translation> </message> <message> <location line="+17"/> <location line="+10"/> <source>[testnet]</source> <translation>[testnet]</translation> </message> <message> <location line="+47"/> <source>BulbaCoin client</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+141"/> <source>%n active connection(s) to BulbaCoin network</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+22"/> <source>No block source available...</source> <translation type="unfinished"/> </message> <message> <location line="+12"/> <source>Processed %1 of %2 (estimated) blocks of transaction history.</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Processed %1 blocks of transaction history.</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+20"/> <source>%n hour(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n day(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n week(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+4"/> <source>%1 behind</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Last received block was generated %1 ago.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Transactions after this will not yet be visible.</source> <translation type="unfinished"/> </message> <message> <location line="+22"/> <source>Error</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location line="+70"/> <source>This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?</source> <translation type="unfinished"/> </message> <message> <location line="-140"/> <source>Up to date</source> <translation>バージョンは最新です</translation> </message> <message> <location line="+31"/> <source>Catching up...</source> <translation type="unfinished"/> </message> <message> <location line="+113"/> <source>Confirm transaction fee</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Sent transaction</source> <translation>送金取引</translation> </message> <message> <location line="+0"/> <source>Incoming transaction</source> <translation>着金取引</translation> </message> <message> <location line="+1"/> <source>Date: %1 Amount: %2 Type: %3 Address: %4 </source> <translation type="unfinished"/> </message> <message> <location line="+33"/> <location line="+23"/> <source>URI handling</source> <translation type="unfinished"/> </message> <message> <location line="-23"/> <location line="+23"/> <source>URI can not be parsed! This can be caused by an invalid BulbaCoin address or malformed URI parameters.</source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source> <translation>ウォレットは&lt;b&gt;暗号化され、アンロックされています&lt;/b&gt;</translation> </message> <message> <location line="+8"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source> <translation>ウォレットは&lt;b&gt;暗号化され、ロックされています&lt;/b&gt;</translation> </message> <message> <location filename="../bitcoin.cpp" line="+111"/> <source>A fatal error occurred. BulbaCoin can no longer continue safely and will quit.</source> <translation type="unfinished"/> </message> </context> <context> <name>ClientModel</name> <message> <location filename="../clientmodel.cpp" line="+104"/> <source>Network Alert</source> <translation type="unfinished"/> </message> </context> <context> <name>EditAddressDialog</name> <message> <location filename="../forms/editaddressdialog.ui" line="+14"/> <source>Edit Address</source> <translation>アドレスの編集</translation> </message> <message> <location line="+11"/> <source>&amp;Label</source> <translation>ラベル(&amp;L)</translation> </message> <message> <location line="+10"/> <source>The label associated with this address book entry</source> <translation>このアドレス帳の入った事と関係のレーベル</translation> </message> <message> <location line="+7"/> <source>&amp;Address</source> <translation>&amp;アドレス</translation> </message> <message> <location line="+10"/> <source>The address associated with this address book entry. This can only be modified for sending addresses.</source> <translation>アドレス帳の入った事の関係のアドレスです。これは遅れるのアドレスのためだけに編集出来ます。</translation> </message> <message> <location filename="../editaddressdialog.cpp" line="+21"/> <source>New receiving address</source> <translation>新しいの受け入れのアドレス</translation> </message> <message> <location line="+4"/> <source>New sending address</source> <translation>新しいの送るのアドレス</translation> </message> <message> <location line="+3"/> <source>Edit receiving address</source> <translation>受け入れのアドレスを編集する</translation> </message> <message> <location line="+4"/> <source>Edit sending address</source> <translation>送るのアドレスを編集する</translation> </message> <message> <location line="+76"/> <source>The entered address &quot;%1&quot; is already in the address book.</source> <translation>入ったのアドレス「%1」はもうアドレス帳にあります。</translation> </message> <message> <location line="-5"/> <source>The entered address &quot;%1&quot; is not a valid BulbaCoin address.</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>Could not unlock wallet.</source> <translation>財布をアンロックするのは出来ませんでした。</translation> </message> <message> <location line="+5"/> <source>New key generation failed.</source> <translation>新しいのキーの生成は失敗しました。</translation> </message> </context> <context> <name>GUIUtil::HelpMessageBox</name> <message> <location filename="../guiutil.cpp" line="+424"/> <location line="+12"/> <source>BulbaCoin-Qt</source> <translation type="unfinished"/> </message> <message> <location line="-12"/> <source>version</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Usage:</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>command-line options</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>UI options</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Set language, for example &quot;de_DE&quot; (default: system locale)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Start minimized</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Show splash screen on startup (default: 1)</source> <translation type="unfinished"/> </message> </context> <context> <name>OptionsDialog</name> <message> <location filename="../forms/optionsdialog.ui" line="+14"/> <source>Options</source> <translation>オプションズ</translation> </message> <message> <location line="+16"/> <source>&amp;Main</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>Pay transaction &amp;fee</source> <translation type="unfinished"/> </message> <message> <location line="+31"/> <source>Automatically start BulbaCoin after logging in to the system.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Start BulbaCoin on system login</source> <translation type="unfinished"/> </message> <message> <location line="+35"/> <source>Reset all client options to default.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Reset Options</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>&amp;Network</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Automatically open the BulbaCoin client port on the router. This only works when your router supports UPnP and it is enabled.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Map port using &amp;UPnP</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Connect to the BulbaCoin network through a SOCKS proxy (e.g. when connecting through Tor).</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Connect through SOCKS proxy:</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Proxy &amp;IP:</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>IP address of the proxy (e.g. 127.0.0.1)</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>&amp;Port:</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>Port of the proxy (e.g. 9050)</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>SOCKS &amp;Version:</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>SOCKS version of the proxy (e.g. 5)</source> <translation type="unfinished"/> </message> <message> <location line="+36"/> <source>&amp;Window</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Show only a tray icon after minimizing the window.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Minimize to the tray instead of the taskbar</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>M&amp;inimize on close</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>&amp;Display</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>User Interface &amp;language:</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>The user interface language can be set here. This setting will take effect after restarting BulbaCoin.</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>&amp;Unit to show amounts in:</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>Choose the default subdivision unit to show in the interface and when sending coins.</source> <translation type="unfinished"/> </message> <message> <location line="+9"/> <source>Whether to show BulbaCoin addresses in the transaction list or not.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Display addresses in transaction list</source> <translation type="unfinished"/> </message> <message> <location line="+71"/> <source>&amp;OK</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>&amp;Cancel</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>&amp;Apply</source> <translation type="unfinished"/> </message> <message> <location filename="../optionsdialog.cpp" line="+53"/> <source>default</source> <translation type="unfinished"/> </message> <message> <location line="+130"/> <source>Confirm options reset</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Some settings may require a client restart to take effect.</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Do you want to proceed?</source> <translation type="unfinished"/> </message> <message> <location line="+42"/> <location line="+9"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="-9"/> <location line="+9"/> <source>This setting will take effect after restarting BulbaCoin.</source> <translation type="unfinished"/> </message> <message> <location line="+29"/> <source>The supplied proxy address is invalid.</source> <translation type="unfinished"/> </message> </context> <context> <name>OverviewPage</name> <message> <location filename="../forms/overviewpage.ui" line="+14"/> <source>Form</source> <translation>フォーム</translation> </message> <message> <location line="+50"/> <location line="+166"/> <source>The displayed information may be out of date. Your wallet automatically synchronizes with the BulbaCoin network after a connection is established, but this process has not completed yet.</source> <translation type="unfinished"/> </message> <message> <location line="-124"/> <source>Balance:</source> <translation>残高:</translation> </message> <message> <location line="+29"/> <source>Unconfirmed:</source> <translation>未確認:</translation> </message> <message> <location line="-78"/> <source>Wallet</source> <translation type="unfinished"/> </message> <message> <location line="+107"/> <source>Immature:</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>Mined balance that has not yet matured</source> <translation type="unfinished"/> </message> <message> <location line="+46"/> <source>&lt;b&gt;Recent transactions&lt;/b&gt;</source> <translation>&lt;b&gt;最近の取引&lt;/b&gt;</translation> </message> <message> <location line="-101"/> <source>Your current balance</source> <translation>今の残高</translation> </message> <message> <location line="+29"/> <source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source> <translation type="unfinished"/> </message> <message> <location filename="../overviewpage.cpp" line="+116"/> <location line="+1"/> <source>out of sync</source> <translation type="unfinished"/> </message> </context> <context> <name>PaymentServer</name> <message> <location filename="../paymentserver.cpp" line="+107"/> <source>Cannot start bulbacoin: click-to-pay handler</source> <translation type="unfinished"/> </message> </context> <context> <name>QRCodeDialog</name> <message> <location filename="../forms/qrcodedialog.ui" line="+14"/> <source>QR Code Dialog</source> <translation type="unfinished"/> </message> <message> <location line="+59"/> <source>Request Payment</source> <translation type="unfinished"/> </message> <message> <location line="+56"/> <source>Amount:</source> <translation type="unfinished"/> </message> <message> <location line="-44"/> <source>Label:</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>Message:</source> <translation type="unfinished"/> </message> <message> <location line="+71"/> <source>&amp;Save As...</source> <translation type="unfinished"/> </message> <message> <location filename="../qrcodedialog.cpp" line="+62"/> <source>Error encoding URI into QR Code.</source> <translation type="unfinished"/> </message> <message> <location line="+40"/> <source>The entered amount is invalid, please check.</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Resulting URI too long, try to reduce the text for label / message.</source> <translation type="unfinished"/> </message> <message> <location line="+25"/> <source>Save QR Code</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>PNG Images (*.png)</source> <translation type="unfinished"/> </message> </context> <context> <name>RPCConsole</name> <message> <location filename="../forms/rpcconsole.ui" line="+46"/> <source>Client name</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <location line="+23"/> <location line="+26"/> <location line="+23"/> <location line="+23"/> <location line="+36"/> <location line="+53"/> <location line="+23"/> <location line="+23"/> <location filename="../rpcconsole.cpp" line="+339"/> <source>N/A</source> <translation type="unfinished"/> </message> <message> <location line="-217"/> <source>Client version</source> <translation type="unfinished"/> </message> <message> <location line="-45"/> <source>&amp;Information</source> <translation type="unfinished"/> </message> <message> <location line="+68"/> <source>Using OpenSSL version</source> <translation type="unfinished"/> </message> <message> <location line="+49"/> <source>Startup time</source> <translation type="unfinished"/> </message> <message> <location line="+29"/> <source>Network</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Number of connections</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>On testnet</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Block chain</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Current number of blocks</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Estimated total blocks</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Last block time</source> <translation type="unfinished"/> </message> <message> <location line="+52"/> <source>&amp;Open</source> <translation type="unfinished"/> </message> <message> <location line="+16"/> <source>Command-line options</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Show the BulbaCoin-Qt help message to get a list with possible BulbaCoin command-line options.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Show</source> <translation type="unfinished"/> </message> <message> <location line="+24"/> <source>&amp;Console</source> <translation type="unfinished"/> </message> <message> <location line="-260"/> <source>Build date</source> <translation type="unfinished"/> </message> <message> <location line="-104"/> <source>BulbaCoin - Debug window</source> <translation type="unfinished"/> </message> <message> <location line="+25"/> <source>BulbaCoin Core</source> <translation type="unfinished"/> </message> <message> <location line="+279"/> <source>Debug log file</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Open the BulbaCoin debug log file from the current data directory. This can take a few seconds for large log files.</source> <translation type="unfinished"/> </message> <message> <location line="+102"/> <source>Clear console</source> <translation type="unfinished"/> </message> <message> <location filename="../rpcconsole.cpp" line="-30"/> <source>Welcome to the BulbaCoin RPC console.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Use up and down arrows to navigate history, and &lt;b&gt;Ctrl-L&lt;/b&gt; to clear screen.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Type &lt;b&gt;help&lt;/b&gt; for an overview of available commands.</source> <translation type="unfinished"/> </message> </context> <context> <name>SendCoinsDialog</name> <message> <location filename="../forms/sendcoinsdialog.ui" line="+14"/> <location filename="../sendcoinsdialog.cpp" line="+124"/> <location line="+5"/> <location line="+5"/> <location line="+5"/> <location line="+6"/> <location line="+5"/> <location line="+5"/> <source>Send Coins</source> <translation>コインを送る</translation> </message> <message> <location line="+50"/> <source>Send to multiple recipients at once</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Add &amp;Recipient</source> <translation type="unfinished"/> </message> <message> <location line="+20"/> <source>Remove all transaction fields</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Clear &amp;All</source> <translation type="unfinished"/> </message> <message> <location line="+22"/> <source>Balance:</source> <translation>残高:</translation> </message> <message> <location line="+10"/> <source>123.456 BTC</source> <translation type="unfinished"/> </message> <message> <location line="+31"/> <source>Confirm the send action</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>S&amp;end</source> <translation type="unfinished"/> </message> <message> <location filename="../sendcoinsdialog.cpp" line="-59"/> <source>&lt;b&gt;%1&lt;/b&gt; to %2 (%3)</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Confirm send coins</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Are you sure you want to send %1?</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source> and </source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>The recipient address is not valid, please recheck.</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>The amount to pay must be larger than 0.</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>The amount exceeds your balance.</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>The total exceeds your balance when the %1 transaction fee is included.</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Duplicate address found, can only send to each address once per send operation.</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Error: Transaction creation failed!</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source> <translation type="unfinished"/> </message> </context> <context> <name>SendCoinsEntry</name> <message> <location filename="../forms/sendcoinsentry.ui" line="+14"/> <source>Form</source> <translation>フォーム</translation> </message> <message> <location line="+15"/> <source>A&amp;mount:</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>Pay &amp;To:</source> <translation type="unfinished"/> </message> <message> <location line="+34"/> <source>The address to send the payment to (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2)</source> <translation type="unfinished"/> </message> <message> <location line="+60"/> <location filename="../sendcoinsentry.cpp" line="+26"/> <source>Enter a label for this address to add it to your address book</source> <translation type="unfinished"/> </message> <message> <location line="-78"/> <source>&amp;Label:</source> <translation type="unfinished"/> </message> <message> <location line="+28"/> <source>Choose address from address book</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>Alt+A</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Paste address from clipboard</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>Alt+P</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Remove this recipient</source> <translation type="unfinished"/> </message> <message> <location filename="../sendcoinsentry.cpp" line="+1"/> <source>Enter a BulbaCoin address (they start with an 'P')</source> <translation type="unfinished"/> </message> </context> <context> <name>SignVerifyMessageDialog</name> <message> <location filename="../forms/signverifymessagedialog.ui" line="+14"/> <source>Signatures - Sign / Verify a Message</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>&amp;Sign Message</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</source> <translation type="unfinished"/> </message> <message> <location line="+18"/> <source>The address to sign the message with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2)</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <location line="+213"/> <source>Choose an address from the address book</source> <translation type="unfinished"/> </message> <message> <location line="-203"/> <location line="+213"/> <source>Alt+A</source> <translation type="unfinished"/> </message> <message> <location line="-203"/> <source>Paste address from clipboard</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>Alt+P</source> <translation type="unfinished"/> </message> <message> <location line="+12"/> <source>Enter the message you want to sign here</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Signature</source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Copy the current signature to the system clipboard</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>Sign the message to prove you own this BulbaCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Reset all sign message fields</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <location line="+146"/> <source>Clear &amp;All</source> <translation type="unfinished"/> </message> <message> <location line="-87"/> <source>&amp;Verify Message</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>The address the message was signed with (e.g. Ler4HNAEfwYhBmGXcFP2Po1NpRUEiK8km2)</source> <translation type="unfinished"/> </message> <message> <location line="+40"/> <source>Verify the message to ensure it was signed with the specified BulbaCoin address</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Verify &amp;Message</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Reset all verify message fields</source> <translation type="unfinished"/> </message> <message> <location filename="../signverifymessagedialog.cpp" line="+27"/> <location line="+3"/> <source>Enter a BulbaCoin address (they start with an 'P')</source> <translation type="unfinished"/> </message> <message> <location line="-2"/> <source>Click &quot;Sign Message&quot; to generate signature</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Enter BulbaCoin signature</source> <translation type="unfinished"/> </message> <message> <location line="+82"/> <location line="+81"/> <source>The entered address is invalid.</source> <translation type="unfinished"/> </message> <message> <location line="-81"/> <location line="+8"/> <location line="+73"/> <location line="+8"/> <source>Please check the address and try again.</source> <translation type="unfinished"/> </message> <message> <location line="-81"/> <location line="+81"/> <source>The entered address does not refer to a key.</source> <translation type="unfinished"/> </message> <message> <location line="-73"/> <source>Wallet unlock was cancelled.</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Private key for the entered address is not available.</source> <translation type="unfinished"/> </message> <message> <location line="+12"/> <source>Message signing failed.</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Message signed.</source> <translation type="unfinished"/> </message> <message> <location line="+59"/> <source>The signature could not be decoded.</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <location line="+13"/> <source>Please check the signature and try again.</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>The signature did not match the message digest.</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Message verification failed.</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Message verified.</source> <translation type="unfinished"/> </message> </context> <context> <name>SplashScreen</name> <message> <location filename="../splashscreen.cpp" line="+22"/> <source>The BulbaCoin developers</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>[testnet]</source> <translation>[testnet]</translation> </message> </context> <context> <name>TransactionDesc</name> <message> <location filename="../transactiondesc.cpp" line="+20"/> <source>Open until %1</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>%1/offline</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1/unconfirmed</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1 confirmations</source> <translation type="unfinished"/> </message> <message> <location line="+18"/> <source>Status</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+7"/> <source>, broadcast through %n node(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+4"/> <source>Date</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Source</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Generated</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <location line="+17"/> <source>From</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <location line="+22"/> <location line="+58"/> <source>To</source> <translation type="unfinished"/> </message> <message> <location line="-77"/> <location line="+2"/> <source>own address</source> <translation type="unfinished"/> </message> <message> <location line="-2"/> <source>label</source> <translation type="unfinished"/> </message> <message> <location line="+37"/> <location line="+12"/> <location line="+45"/> <location line="+17"/> <location line="+30"/> <source>Credit</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="-102"/> <source>matures in %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+2"/> <source>not accepted</source> <translation type="unfinished"/> </message> <message> <location line="+44"/> <location line="+8"/> <location line="+15"/> <location line="+30"/> <source>Debit</source> <translation type="unfinished"/> </message> <message> <location line="-39"/> <source>Transaction fee</source> <translation type="unfinished"/> </message> <message> <location line="+16"/> <source>Net amount</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Message</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Comment</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Transaction ID</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to &quot;not accepted&quot; and it won&apos;t be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Debug information</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Transaction</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Inputs</source> <translation type="unfinished"/> </message> <message> <location line="+23"/> <source>Amount</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>true</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>false</source> <translation type="unfinished"/> </message> <message> <location line="-209"/> <source>, has not been successfully broadcast yet</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="-35"/> <source>Open for %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+70"/> <source>unknown</source> <translation type="unfinished"/> </message> </context> <context> <name>TransactionDescDialog</name> <message> <location filename="../forms/transactiondescdialog.ui" line="+14"/> <source>Transaction details</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>This pane shows a detailed description of the transaction</source> <translation type="unfinished"/> </message> </context> <context> <name>TransactionTableModel</name> <message> <location filename="../transactiontablemodel.cpp" line="+225"/> <source>Date</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Type</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Address</source> <translation>Helbidea</translation> </message> <message> <location line="+0"/> <source>Amount</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+57"/> <source>Open for %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+3"/> <source>Open until %1</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Offline (%1 confirmations)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Unconfirmed (%1 of %2 confirmations)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Confirmed (%1 confirmations)</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+8"/> <source>Mined balance will be available when it matures in %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform></translation> </message> <message> <location line="+5"/> <source>This block was not received by any other nodes and will probably not be accepted!</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Generated but not accepted</source> <translation type="unfinished"/> </message> <message> <location line="+43"/> <source>Received with</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Received from</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Sent to</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Payment to yourself</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Mined</source> <translation type="unfinished"/> </message> <message> <location line="+38"/> <source>(n/a)</source> <translation type="unfinished"/> </message> <message> <location line="+199"/> <source>Transaction status. Hover over this field to show number of confirmations.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Date and time that the transaction was received.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Type of transaction.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Destination address of transaction.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Amount removed from or added to balance.</source> <translation type="unfinished"/> </message> </context> <context> <name>TransactionView</name> <message> <location filename="../transactionview.cpp" line="+52"/> <location line="+16"/> <source>All</source> <translation type="unfinished"/> </message> <message> <location line="-15"/> <source>Today</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>This week</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>This month</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Last month</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>This year</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Range...</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>Received with</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Sent to</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>To yourself</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Mined</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Other</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Enter address or label to search</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Min amount</source> <translation type="unfinished"/> </message> <message> <location line="+34"/> <source>Copy address</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Copy label</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Copy amount</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Copy transaction ID</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Edit label</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Show transaction details</source> <translation type="unfinished"/> </message> <message> <location line="+139"/> <source>Export Transaction Data</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>テキスト CSV (*.csv)</translation> </message> <message> <location line="+8"/> <source>Confirmed</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Date</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Type</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Label</source> <translation>レーベル</translation> </message> <message> <location line="+1"/> <source>Address</source> <translation>Helbidea</translation> </message> <message> <location line="+1"/> <source>Amount</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>ID</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Error exporting</source> <translation>エラー輸出</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>%1のファイルに書き込めませんでした。</translation> </message> <message> <location line="+100"/> <source>Range:</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>to</source> <translation type="unfinished"/> </message> </context> <context> <name>WalletModel</name> <message> <location filename="../walletmodel.cpp" line="+193"/> <source>Send Coins</source> <translation type="unfinished"/> </message> </context> <context> <name>WalletView</name> <message> <location filename="../walletview.cpp" line="+42"/> <source>&amp;Export</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Export the data in the current tab to a file</source> <translation type="unfinished"/> </message> <message> <location line="+193"/> <source>Backup Wallet</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Wallet Data (*.dat)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Backup Failed</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>There was an error trying to save the wallet data to the new location.</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Backup Successful</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>The wallet data was successfully saved to the new location.</source> <translation type="unfinished"/> </message> </context> <context> <name>bitcoin-core</name> <message> <location filename="../bitcoinstrings.cpp" line="+94"/> <source>BulbaCoin version</source> <translation>BulbaCoin Bertsio</translation> </message> <message> <location line="+102"/> <source>Usage:</source> <translation type="unfinished"/> </message> <message> <location line="-29"/> <source>Send command to -server or bulbacoind</source> <translation type="unfinished"/> </message> <message> <location line="-23"/> <source>List commands</source> <translation type="unfinished"/> </message> <message> <location line="-12"/> <source>Get help for a command</source> <translation type="unfinished"/> </message> <message> <location line="+24"/> <source>Options:</source> <translation type="unfinished"/> </message> <message> <location line="+24"/> <source>Specify configuration file (default: bulbacoin.conf)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Specify pid file (default: bulbacoind.pid)</source> <translation type="unfinished"/> </message> <message> <location line="-1"/> <source>Specify data directory</source> <translation type="unfinished"/> </message> <message> <location line="-9"/> <source>Set database cache size in megabytes (default: 25)</source> <translation type="unfinished"/> </message> <message> <location line="-28"/> <source>Listen for connections on &lt;port&gt; (default: 33994 or testnet: 13994)</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Maintain at most &lt;n&gt; connections to peers (default: 125)</source> <translation type="unfinished"/> </message> <message> <location line="-48"/> <source>Connect to a node to retrieve peer addresses, and disconnect</source> <translation type="unfinished"/> </message> <message> <location line="+82"/> <source>Specify your own public address</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Threshold for disconnecting misbehaving peers (default: 100)</source> <translation type="unfinished"/> </message> <message> <location line="-134"/> <source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source> <translation type="unfinished"/> </message> <message> <location line="-29"/> <source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Listen for JSON-RPC connections on &lt;port&gt; (default: 33993 or testnet: 13993)</source> <translation type="unfinished"/> </message> <message> <location line="+37"/> <source>Accept command line and JSON-RPC commands</source> <translation type="unfinished"/> </message> <message> <location line="+76"/> <source>Run in the background as a daemon and accept commands</source> <translation type="unfinished"/> </message> <message> <location line="+37"/> <source>Use the test network</source> <translation type="unfinished"/> </message> <message> <location line="-112"/> <source>Accept connections from outside (default: 1 if no -proxy or -connect)</source> <translation type="unfinished"/> </message> <message> <location line="-80"/> <source>%s, you must set a rpcpassword in the configuration file: %s It is recommended you use the following random password: rpcuser=bulbacoinrpc rpcpassword=%s (you do not need to remember this password) The username and password MUST NOT be the same. If the file does not exist, create it with owner-readable-only file permissions. It is also recommended to set alertnotify so you are notified of problems; for example: alertnotify=echo %%s | mail -s &quot;BulbaCoin Alert&quot; admin@foo.com </source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Cannot obtain a lock on data directory %s. BulbaCoin is probably already running.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: Please check that your computer&apos;s date and time are correct! If your clock is wrong BulbaCoin will not work properly.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup.</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Attempt to recover private keys from a corrupt wallet.dat</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Block creation options:</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Connect only to the specified node(s)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Corrupted block database detected</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Discover own IP address (default: 1 when listening and no -externalip)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Do you want to rebuild the block database now?</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Error initializing block database</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error initializing wallet database environment %s!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error loading block database</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Error opening block database</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Error: Disk space is low!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error: Wallet locked, unable to create transaction!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error: system error: </source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to listen on any port. Use -listen=0 if you want this.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to read block info</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to read block</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to sync block index</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write block index</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write block info</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write block</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write file info</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write to coin database</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write transaction index</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write undo data</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Find peers using DNS lookup (default: 1 unless -connect)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Generate coins (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>How many blocks to check at startup (default: 288, 0 = all)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>How thorough the block verification is (0-4, default: 3)</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>Not enough file descriptors available.</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Rebuild block chain index from current blk000??.dat files</source> <translation type="unfinished"/> </message> <message> <location line="+16"/> <source>Set the number of threads to service RPC calls (default: 4)</source> <translation type="unfinished"/> </message> <message> <location line="+26"/> <source>Verifying blocks...</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Verifying wallet...</source> <translation type="unfinished"/> </message> <message> <location line="-69"/> <source>Imports blocks from external blk000??.dat file</source> <translation type="unfinished"/> </message> <message> <location line="-76"/> <source>Set the number of script verification threads (up to 16, 0 = auto, &lt;0 = leave that many cores free, default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+77"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Invalid -tor address: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Invalid amount for -minrelaytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Invalid amount for -mintxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Maintain a full transaction index (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Maximum per-connection receive buffer, &lt;n&gt;*1000 bytes (default: 5000)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Maximum per-connection send buffer, &lt;n&gt;*1000 bytes (default: 1000)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Only accept block chain matching built-in checkpoints (default: 1)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Only connect to nodes in network &lt;net&gt; (IPv4, IPv6 or Tor)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Output extra debugging information. Implies all other -debug* options</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Output extra network debugging information</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Prepend debug output with timestamp</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>SSL options: (see the BulbaCoin Wiki for SSL setup instructions)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Select the version of socks proxy to use (4-5, default: 5)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Send trace/debug info to console instead of debug.log file</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Send trace/debug info to debugger</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Set maximum block size in bytes (default: 250000)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Set minimum block size in bytes (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Shrink debug.log file on client startup (default: 1 when no -debug)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Signing transaction failed</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Specify connection timeout in milliseconds (default: 5000)</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>System error: </source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Transaction amount too small</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transaction amounts must be positive</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transaction too large</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Use UPnP to map the listening port (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Use UPnP to map the listening port (default: 1 when listening)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Use proxy to reach tor hidden services (default: same as -proxy)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Username for JSON-RPC connections</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Warning: This version is obsolete, upgrade required!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>You need to rebuild the databases using -reindex to change -txindex</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>wallet.dat corrupt, salvage failed</source> <translation type="unfinished"/> </message> <message> <location line="-50"/> <source>Password for JSON-RPC connections</source> <translation type="unfinished"/> </message> <message> <location line="-67"/> <source>Allow JSON-RPC connections from specified IP address</source> <translation type="unfinished"/> </message> <message> <location line="+76"/> <source>Send commands to node running on &lt;ip&gt; (default: 127.0.0.1)</source> <translation type="unfinished"/> </message> <message> <location line="-120"/> <source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source> <translation type="unfinished"/> </message> <message> <location line="+147"/> <source>Upgrade wallet to latest format</source> <translation type="unfinished"/> </message> <message> <location line="-21"/> <source>Set key pool size to &lt;n&gt; (default: 100)</source> <translation type="unfinished"/> </message> <message> <location line="-12"/> <source>Rescan the block chain for missing wallet transactions</source> <translation type="unfinished"/> </message> <message> <location line="+35"/> <source>Use OpenSSL (https) for JSON-RPC connections</source> <translation type="unfinished"/> </message> <message> <location line="-26"/> <source>Server certificate file (default: server.cert)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Server private key (default: server.pem)</source> <translation type="unfinished"/> </message> <message> <location line="-151"/> <source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source> <translation type="unfinished"/> </message> <message> <location line="+165"/> <source>This help message</source> <translation type="unfinished"/> </message> <message> <location line="+6"/> <source>Unable to bind to %s on this computer (bind returned error %d, %s)</source> <translation type="unfinished"/> </message> <message> <location line="-91"/> <source>Connect through socks proxy</source> <translation type="unfinished"/> </message> <message> <location line="-10"/> <source>Allow DNS lookups for -addnode, -seednode and -connect</source> <translation type="unfinished"/> </message> <message> <location line="+55"/> <source>Loading addresses...</source> <translation type="unfinished"/> </message> <message> <location line="-35"/> <source>Error loading wallet.dat: Wallet corrupted</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error loading wallet.dat: Wallet requires newer version of BulbaCoin</source> <translation type="unfinished"/> </message> <message> <location line="+93"/> <source>Wallet needed to be rewritten: restart BulbaCoin to complete</source> <translation type="unfinished"/> </message> <message> <location line="-95"/> <source>Error loading wallet.dat</source> <translation type="unfinished"/> </message> <message> <location line="+28"/> <source>Invalid -proxy address: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+56"/> <source>Unknown network specified in -onlynet: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="-1"/> <source>Unknown -socks proxy version requested: %i</source> <translation type="unfinished"/> </message> <message> <location line="-96"/> <source>Cannot resolve -bind address: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Cannot resolve -externalip address: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+44"/> <source>Invalid amount for -paytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Invalid amount</source> <translation type="unfinished"/> </message> <message> <location line="-6"/> <source>Insufficient funds</source> <translation type="unfinished"/> </message> <message> <location line="+10"/> <source>Loading block index...</source> <translation type="unfinished"/> </message> <message> <location line="-57"/> <source>Add a node to connect to and attempt to keep the connection open</source> <translation type="unfinished"/> </message> <message> <location line="-25"/> <source>Unable to bind to %s on this computer. BulbaCoin is probably already running.</source> <translation type="unfinished"/> </message> <message> <location line="+64"/> <source>Fee per KB to add to transactions you send</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>Loading wallet...</source> <translation type="unfinished"/> </message> <message> <location line="-52"/> <source>Cannot downgrade wallet</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Cannot write default address</source> <translation type="unfinished"/> </message> <message> <location line="+64"/> <source>Rescanning...</source> <translation type="unfinished"/> </message> <message> <location line="-57"/> <source>Done loading</source> <translation type="unfinished"/> </message> <message> <location line="+82"/> <source>To use the %s option</source> <translation type="unfinished"/> </message> <message> <location line="-74"/> <source>Error</source> <translation type="unfinished"/> </message> <message> <location line="-31"/> <source>You must set rpcpassword=&lt;password&gt; in the configuration file: %s If the file does not exist, create it with owner-readable-only file permissions.</source> <translation type="unfinished"/> </message> </context> </TS>
bulbacoin-project/bulbacoin
src/qt/locale/bitcoin_ja.ts
TypeScript
mit
99,051
<?php namespace Lulu\Imageboard\ServiceManager; use Lulu\Imageboard\ServiceManager\ServiceManagerInterface; interface FactoryInterface { public function createServiceInstance(ServiceManagerInterface $serviceManager); }
sorceresslulu/lulu-imageboard-engine
src/backend/bundles/Lulu/Imageboard/ServiceManager/FactoryInterface.php
PHP
mit
224
<?php namespace Spomky\CoovachilliBundle\DependencyInjection; use Symfony\Component\Config\Definition\Processor; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\ContainerBuilder; class SpomkyCoovachilliExtension extends Extension { public function load(array $configs, ContainerBuilder $container) { $processor = new Processor(); $configuration = new Configuration($container->get('kernel.debug')); $config = $processor->processConfiguration($configuration, $configs); $container->setParameter('spomky_coovachilli.uam.secret', $config['uam']['secret']); $container->setParameter('spomky_coovachilli.uam.method', $config['uam']['method']); $container->setParameter('spomky_coovachilli.uam.uri.logon', $config['uam']['uri']['logon']); $container->setParameter('spomky_coovachilli.uam.uri.logoff', $config['uam']['uri']['logoff']); $container->setParameter('spomky_coovachilli.uam.uri.status', $config['uam']['uri']['status']); } public function getAlias() { return 'spomky_coovachilli'; } }
muratbeser/SpomkyCoovachilliBundle
DependencyInjection/SpomkyCoovachilliExtension.php
PHP
mit
1,153
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.stdole; import com.wilutions.com.*; /** * FONTUNDERSCORE. * */ @SuppressWarnings("all") public class FONTUNDERSCORE { static boolean __typelib__loaded = __TypeLib.load(); private Boolean value; public FONTUNDERSCORE() {} public FONTUNDERSCORE(Boolean v) { this.value = value; } public Boolean getValue() { return value; } public void setValue(Boolean v) { value = v;} }
wolfgangimig/joa
java/joa/src-gen/com/wilutions/mslib/stdole/FONTUNDERSCORE.java
Java
mit
476
[![Build Status](https://travis-ci.org/franzip/serp-page-serializer.svg?branch=master)](https://travis-ci.org/franzip/serp-page-serializer) [![Coverage Status](https://coveralls.io/repos/franzip/serp-page-serializer/badge.svg)](https://coveralls.io/r/franzip/serp-page-serializer) # SerpPageSerializer Serialize/deserialize Search Engine Result Pages to JSON, XML and YAML (JMS/Serializer wrapper). ## Installing via Composer (recommended) Install composer in your project: ``` curl -s http://getcomposer.org/installer | php ``` Create a composer.json file in your project root: ``` { "require": { "franzip/serp-page-serializer": "0.2.*@dev" } } ``` Install via composer ``` php composer.phar install ``` ## Constructor ```php $serpSerializer = new SerpPageSerializer($cacheDir = "serializer_cache"); ``` ## Data type constraints ### Serialization The ```SerpPageSerializer->serialize()``` method accepts only a ```SerializableSerpPage``` object and returns a ```SerializedSerpPage``` object. The serialized content is available through the ```SerializedSerpPage->getContent()``` method. Before using the serializer, normalize your data as follows: ```php use Franzip\SerpPageSerializer\Models\SerializableSerpPage; // assuming you have extracted the data someway $serializableSerpPage = new SerializableSerpPage($engine, $keyword, $pageUrl, $pageNumber, $age, $entries); ``` Where: 1. `$engine` - string - Represents the Search Engine vendor (i.e. Google, Bing, etc). 2. `$keyword` - string - Represents the keyword associated to the Search Engine page 3. `$pageUrl` - string - Represents the url of the Search Engine for the given keyword/pageNumber 4. `$pageNumber` - integer - Represents the page number for the given Search Engine keyword search 5. `$age` - DateTime object - Represents when the data were extracted 6. `$entries` - array - Represents the core data (see below) Every Search Engine result page entry has a tripartite structure: 1. A title, usually highlighted in blue. 2. A url. 3. A textual snippet. ![Typical SERP entry structure](./serp-structure.png?raw=true "Typical SERP entry structure") The $entries array structure must resemble the above mentioned schema, where the sequential array index stands for the entry position in the page: ```php array( array('url' => 'someurl', 'snippet' => 'somesnippet', 'title' => 'sometitle'), array('url' => 'someurl', 'snippet' => 'somesnippet', 'title' => 'sometitle'), array('url' => 'someurl', 'snippet' => 'somesnippet', 'title' => 'sometitle'), ... ); ``` ### Deserialization The ```SerpPageSerializer->deserialize()``` only accepts a ```SerializedSerpPage``` as argument, yielding back a ```SerpPageJSON``` or a ```SerpPageXML``` object. ## Usage (serialize data) ```php use Franzip\SerpPageSerializer\SerpPageSerializer; use Franzip\SerpPageSerializer\Models\SerializableSerpPage; $engine = 'google'; $keyword = 'foobar'; $pageUrl = 'https://www.google.com/search?q=foobar'; $pageNumber = 1; $age = new \DateTime(); $age->setTimeStamp(time()); $entries = array(array('url' => 'www.foobar2000.org', 'title' => 'foobar2000', 'snippet' => 'blabla'), array(...), ...); $serpSerializer = new SerpPageSerializer(); $pageToSerialize = new SerializableSerpPage($engine, $keyword, $pageUrl, $pageNumber, $age, $entries); $serializedXMLData = $serpSerializer->serialize($pageToSerialize->getContent(), 'xml'); var_dump($serializedXMLData); /* * <?xml version="1.0" encoding="UTF-8"?> * <serp_page engine="google" page_number="1" page_url="https://www.google.com/search?q=foobar" keyword="foobar" age="2015-03-19"> * <entry position="1"> * <url>www.foobar2000.org</url> * <title>foobar2000</title> * <snippet>blabla</snippet> * </entry> * <entry position="2"> * ... * </entry> * </serp_page> */ $serializedJSONData = $serpSerializer->serialize($pageToSerialize->getContent(), 'json'); var_dump($serializedJSONData); /* * { * "engine": "google", * "page_number": 1, * "page_url": "https:\/\/www.google.com\/search?q=foobar", * "keyword":"foobar", * "age":"2015-03-19", * "entries":[ * { * "position": 1, * "url": "www.foobar2000.org", * "title": "foobar2000", * "snippet": "blabla" * }, * { * "position": 2, * ... * }, * ... * ] * } */ $serializedYAMLData = $serpSerializer->serialize($pageToSerialize->getContent(), 'yml'); var_dump($serializedYAMLData); /* * engine: google * page_number: 1 * page_url: 'http://www.google.com/search?q=foobar' * keyword: foobar * age: '2015-03-19' * entries: * - * position: 1 * url: 'www.foobar2000.org' * title: foobar2000 * snippet: blabla * - * position: 2 * ... * - * */ ... ``` ## Usage (deserialize data) YAML deserialization **is not supported.** ```php use Franzip\SerpPageSerializer\SerpPageSerializer; $serpSerializer = new SerpPageSerializer(); $serpPageXML = $serpSerializer->deserialize($serializedXMLPage, 'xml'); var_dump($serializedXMLPage); // object(Franzip\SerpPageSerializer\Models\SerializedSerpPage) (1) { // ... var_dump($serpPageXML); // object(Franzip\SerpPageSerializer\Models\SerpPageXML) (6) { // ... $serpPageJSON = $serpSerializer->deserialize($serializedJSONPage, 'json'); var_dump($serializedJSONPage); // object(Franzip\SerpPageSerializer\Models\SerializedSerpPage) (1) { // ... var_dump($serpPageJSON); // object(Franzip\SerpPageSerializer\Models\SerpPageJSON) (6) { // ... ``` ## TODOs - [x] Add a default $cacheDir to constructor. - [x] A decent exceptions system. - [x] Allow typechecking on deserialization by wrapping serialized strings in a dedicated class. - [x] Fix serialization tests. - [x] Fix deserialization tests. - [x] Rewrite docs. - [ ] YAML deserialization support. - [ ] CSV serialization/deserialization support. - [ ] Fix messy tests. ## License [MIT](http://opensource.org/licenses/MIT/ "MIT") Public License.
franzip/serp-page-serializer
README.md
Markdown
mit
6,263
namespace TimeZones { partial class FormMain { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.cbSrcTimeZone = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.dtpSrcTime = new System.Windows.Forms.DateTimePicker(); this.cbDestTimeZone = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.btnSrcTimeNow = new System.Windows.Forms.Button(); this.lblResult = new System.Windows.Forms.Label(); this.btnConv = new System.Windows.Forms.Button(); this.SuspendLayout(); // // cbSrcTimeZone // this.cbSrcTimeZone.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbSrcTimeZone.FormattingEnabled = true; this.cbSrcTimeZone.Location = new System.Drawing.Point(71, 46); this.cbSrcTimeZone.Name = "cbSrcTimeZone"; this.cbSrcTimeZone.Size = new System.Drawing.Size(454, 20); this.cbSrcTimeZone.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 49); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 1; this.label1.Text = "从时区:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 73); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(53, 12); this.label2.TabIndex = 2; this.label2.Text = "到时区:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 25); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 3; this.label3.Text = "从时刻:"; // // dtpSrcTime // this.dtpSrcTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpSrcTime.Location = new System.Drawing.Point(71, 19); this.dtpSrcTime.Name = "dtpSrcTime"; this.dtpSrcTime.ShowUpDown = true; this.dtpSrcTime.Size = new System.Drawing.Size(200, 21); this.dtpSrcTime.TabIndex = 4; // // cbDestTimeZone // this.cbDestTimeZone.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbDestTimeZone.FormattingEnabled = true; this.cbDestTimeZone.Location = new System.Drawing.Point(71, 73); this.cbDestTimeZone.Name = "cbDestTimeZone"; this.cbDestTimeZone.Size = new System.Drawing.Size(454, 20); this.cbDestTimeZone.TabIndex = 5; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(14, 105); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(53, 12); this.label4.TabIndex = 6; this.label4.Text = "到时刻:"; // // btnSrcTimeNow // this.btnSrcTimeNow.Location = new System.Drawing.Point(277, 17); this.btnSrcTimeNow.Name = "btnSrcTimeNow"; this.btnSrcTimeNow.Size = new System.Drawing.Size(75, 23); this.btnSrcTimeNow.TabIndex = 8; this.btnSrcTimeNow.Text = "当前时刻"; this.btnSrcTimeNow.UseVisualStyleBackColor = true; this.btnSrcTimeNow.Click += new System.EventHandler(this.btnSrcTimeNow_Click); // // lblResult // this.lblResult.AutoSize = true; this.lblResult.Location = new System.Drawing.Point(73, 105); this.lblResult.Name = "lblResult"; this.lblResult.Size = new System.Drawing.Size(107, 12); this.lblResult.TabIndex = 9; this.lblResult.Text = "请点击“给我转”~"; // // btnConv // this.btnConv.Location = new System.Drawing.Point(277, 98); this.btnConv.Name = "btnConv"; this.btnConv.Size = new System.Drawing.Size(75, 23); this.btnConv.TabIndex = 10; this.btnConv.Text = "给我转"; this.btnConv.UseVisualStyleBackColor = true; this.btnConv.Click += new System.EventHandler(this.btnConv_Click); // // FormMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(549, 133); this.Controls.Add(this.btnConv); this.Controls.Add(this.lblResult); this.Controls.Add(this.btnSrcTimeNow); this.Controls.Add(this.label4); this.Controls.Add(this.cbDestTimeZone); this.Controls.Add(this.dtpSrcTime); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.cbSrcTimeZone); this.Name = "FormMain"; this.Text = "时区转换"; this.Load += new System.EventHandler(this.FormMain_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.ComboBox cbSrcTimeZone; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.DateTimePicker dtpSrcTime; private System.Windows.Forms.ComboBox cbDestTimeZone; private System.Windows.Forms.Label label4; private System.Windows.Forms.Button btnSrcTimeNow; private System.Windows.Forms.Label lblResult; private System.Windows.Forms.Button btnConv; } }
binsys/TimeZoneConv
TimeZones/TimeZones/FormMain.Designer.cs
C#
mit
6,102
module YouGotListed class Listings < Resource def search(params = {}) params[:page_count] ||= 20 params[:page_index] ||= 1 params[:sort_name] ||= "rent" params[:sort_dir] ||= "asc" params[:detail_level] ||= 2 SearchResponse.new(self.client.perform_request(:get, '/rentals/search.php', params), self.client, params[:page_count]) end def featured(params = {}, featured_tag = 'Featured Rentals') if params[:tags].blank? params[:tags] = featured_tag else params[:tags] += (params[:tags].ends_with?(',') ? featured_tag : ",#{featured_tag}") end search(params) end def find_by_id(listing_id) listing_id_key = listing_id.to_s.match(/7\d{7}/) ? :external_id : :listing_id params = {listing_id_key => listing_id, :detail_level => 2} response = SearchResponse.new(self.client.perform_request(:get, '/rentals/search.php', params), self.client, 20) (response.success? && response.properties.size > 0) ? response.properties.first : nil end def find_all(params = {}) params[:page_count] ||= 20 all_listings = [] response = search(params) if response.success? all_listings << response.properties total_pages = (response.ygl_response.total.to_i/params[:page_count].to_f).ceil if total_pages > 1 (2..total_pages).each do |page_num| resp = search(params.merge(:page_index => page_num)) if resp.success? all_listings << resp.properties end end end end all_listings.flatten end def find_all_by_ids(listing_ids, include_off_market = true) listing_ids = listing_ids.split(',') if listing_ids.is_a?(String) all_listings = [] search_params = {} search_params[:include_off_market] = 1 if include_off_market if listing_ids.any?{|list_id| list_id !=~ /[A-Z]{3}-[0-9]{3}-[0-9]{3}/} search_params[:include_mls] = 1 end listing_ids.in_groups_of(20, false).each do |group| group.delete_if{|x| x.nil?} search_params[:listing_ids] = group.join(',') all_listings << find_all(search_params) end all_listings.compact.flatten end class SearchResponse < YouGotListed::Response attr_accessor :limit, :client def initialize(response, client, limit = 20, raise_error = false) super(response, raise_error) self.limit = limit self.client = client end def properties @cached_properties ||= begin props = [] if self.success? && !self.ygl_response.listings.blank? if self.ygl_response.listings.listing.is_a?(Array) self.ygl_response.listings.listing.each do |listing| props << YouGotListed::Listing.new(listing, self.client) end else props << YouGotListed::Listing.new(self.ygl_response.listings.listing, self.client) end end props end end def mls_results? @has_mls_properties ||= properties.any?{|property| property.mls_listing?} end def paginator @paginator_cache ||= WillPaginate::Collection.create( (self.ygl_response.page_index ? self.ygl_response.page_index : 1), self.limit, (self.ygl_response.total ? self.ygl_response.total : properties.size)) do |pager| pager.replace properties end end end end end
tcocca/you_got_listed
lib/you_got_listed/listings.rb
Ruby
mit
3,543
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="ApiGen 2.8.0" /> <meta name="robots" content="noindex" /> <title>File vendor/symfony/symfony/src/Symfony/Bridge/Monolog/Handler/FirePHPHandler.php | seip</title> <script type="text/javascript" src="resources/combined.js?784181472"></script> <script type="text/javascript" src="elementlist.js?3927760630"></script> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> </head> <body> <div id="left"> <div id="menu"> <a href="index.html" title="Overview"><span>Overview</span></a> <div id="groups"> <h3>Namespaces</h3> <ul> <li><a href="namespace-Acme.html">Acme<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.html">DemoBundle<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Command.html">Command</a> </li> <li><a href="namespace-Acme.DemoBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Acme.DemoBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Acme.DemoBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Acme.DemoBundle.Form.html">Form</a> </li> <li><a href="namespace-Acme.DemoBundle.Proxy.html">Proxy<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.html">__CG__<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.html">Symfony<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.html">Component<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.Acl.html">Acl<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.Acl.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.Acl.Tests.Domain.html">Domain</a> </li> </ul></li></ul></li> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.Core.html">Core<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.Core.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Proxy.__CG__.Symfony.Component.Security.Core.Tests.Util.html">Util</a> </li> </ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Acme.DemoBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Tests.Controller.html">Controller</a> </li> </ul></li> <li><a href="namespace-Acme.DemoBundle.Twig.html">Twig<span></span></a> <ul> <li><a href="namespace-Acme.DemoBundle.Twig.Extension.html">Extension</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Alpha.html">Alpha</a> </li> <li><a href="namespace-Apc.html">Apc<span></span></a> <ul> <li><a href="namespace-Apc.NamespaceCollision.html">NamespaceCollision<span></span></a> <ul> <li><a href="namespace-Apc.NamespaceCollision.A.html">A<span></span></a> <ul> <li><a href="namespace-Apc.NamespaceCollision.A.B.html">B</a> </li> </ul></li></ul></li> <li><a href="namespace-Apc.Namespaced.html">Namespaced</a> </li> </ul></li> <li><a href="namespace-Assetic.html">Assetic<span></span></a> <ul> <li><a href="namespace-Assetic.Asset.html">Asset<span></span></a> <ul> <li><a href="namespace-Assetic.Asset.Iterator.html">Iterator</a> </li> </ul></li> <li><a href="namespace-Assetic.Cache.html">Cache</a> </li> <li><a href="namespace-Assetic.Exception.html">Exception</a> </li> <li><a href="namespace-Assetic.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Assetic.Extension.Twig.html">Twig</a> </li> </ul></li> <li><a href="namespace-Assetic.Factory.html">Factory<span></span></a> <ul> <li><a href="namespace-Assetic.Factory.Loader.html">Loader</a> </li> <li><a href="namespace-Assetic.Factory.Resource.html">Resource</a> </li> <li><a href="namespace-Assetic.Factory.Worker.html">Worker</a> </li> </ul></li> <li><a href="namespace-Assetic.Filter.html">Filter<span></span></a> <ul> <li><a href="namespace-Assetic.Filter.GoogleClosure.html">GoogleClosure</a> </li> <li><a href="namespace-Assetic.Filter.Sass.html">Sass</a> </li> <li><a href="namespace-Assetic.Filter.Yui.html">Yui</a> </li> </ul></li> <li><a href="namespace-Assetic.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Bazinga.html">Bazinga<span></span></a> <ul> <li><a href="namespace-Bazinga.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.html">JsTranslationBundle<span></span></a> <ul> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.Command.html">Command</a> </li> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.Dumper.html">Dumper</a> </li> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.Finder.html">Finder</a> </li> <li><a href="namespace-Bazinga.Bundle.JsTranslationBundle.Tests.html">Tests</a> </li> </ul></li></ul></li> <li><a href="namespace-Bazinga.JsTranslationBundle.html">JsTranslationBundle<span></span></a> <ul> <li><a href="namespace-Bazinga.JsTranslationBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Bazinga.JsTranslationBundle.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Bazinga.JsTranslationBundle.Tests.Finder.html">Finder</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Beta.html">Beta</a> </li> <li><a href="namespace-Blameable.html">Blameable<span></span></a> <ul> <li><a href="namespace-Blameable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Blameable.Fixture.Document.html">Document</a> </li> <li><a href="namespace-Blameable.Fixture.Entity.html">Entity</a> </li> </ul></li></ul></li> <li><a href="namespace-ClassesWithParents.html">ClassesWithParents</a> </li> <li><a href="namespace-ClassLoaderTest.html">ClassLoaderTest</a> </li> <li><a href="namespace-ClassMap.html">ClassMap</a> </li> <li><a href="namespace-Composer.html">Composer<span></span></a> <ul> <li><a href="namespace-Composer.Autoload.html">Autoload</a> </li> </ul></li> <li><a href="namespace-Container14.html">Container14</a> </li> <li><a href="namespace-Doctrine.html">Doctrine<span></span></a> <ul> <li><a href="namespace-Doctrine.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.html">DoctrineBundle<span></span></a> <ul> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Command.html">Command<span></span></a> <ul> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Command.Proxy.html">Proxy</a> </li> </ul></li> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Mapping.html">Mapping</a> </li> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Tests.DependencyInjection.html">DependencyInjection</a> </li> </ul></li> <li><a href="namespace-Doctrine.Bundle.DoctrineBundle.Twig.html">Twig</a> </li> </ul></li> <li><a href="namespace-Doctrine.Bundle.FixturesBundle.html">FixturesBundle<span></span></a> <ul> <li><a href="namespace-Doctrine.Bundle.FixturesBundle.Command.html">Command</a> </li> </ul></li></ul></li> <li><a href="namespace-Doctrine.Common.html">Common<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.Annotations.html">Annotations<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.Annotations.Annotation.html">Annotation</a> </li> </ul></li> <li><a href="namespace-Doctrine.Common.Cache.html">Cache</a> </li> <li><a href="namespace-Doctrine.Common.Collections.html">Collections<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.Collections.Expr.html">Expr</a> </li> </ul></li> <li><a href="namespace-Doctrine.Common.DataFixtures.html">DataFixtures<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.DataFixtures.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.DataFixtures.Event.Listener.html">Listener</a> </li> </ul></li> <li><a href="namespace-Doctrine.Common.DataFixtures.Exception.html">Exception</a> </li> <li><a href="namespace-Doctrine.Common.DataFixtures.Executor.html">Executor</a> </li> <li><a href="namespace-Doctrine.Common.DataFixtures.Purger.html">Purger</a> </li> </ul></li> <li><a href="namespace-Doctrine.Common.Inflector.html">Inflector</a> </li> <li><a href="namespace-Doctrine.Common.Lexer.html">Lexer</a> </li> <li><a href="namespace-Doctrine.Common.Persistence.html">Persistence<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.Persistence.Event.html">Event</a> </li> <li><a href="namespace-Doctrine.Common.Persistence.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.Persistence.Mapping.Driver.html">Driver</a> </li> </ul></li></ul></li> <li><a href="namespace-Doctrine.Common.Proxy.html">Proxy<span></span></a> <ul> <li><a href="namespace-Doctrine.Common.Proxy.Exception.html">Exception</a> </li> </ul></li> <li><a href="namespace-Doctrine.Common.Reflection.html">Reflection</a> </li> <li><a href="namespace-Doctrine.Common.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Doctrine.DBAL.html">DBAL<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Cache.html">Cache</a> </li> <li><a href="namespace-Doctrine.DBAL.Connections.html">Connections</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.html">Driver<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Driver.DrizzlePDOMySql.html">DrizzlePDOMySql</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.IBMDB2.html">IBMDB2</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.Mysqli.html">Mysqli</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.OCI8.html">OCI8</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.PDOIbm.html">PDOIbm</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.PDOMySql.html">PDOMySql</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.PDOOracle.html">PDOOracle</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.PDOPgSql.html">PDOPgSql</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.PDOSqlite.html">PDOSqlite</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.PDOSqlsrv.html">PDOSqlsrv</a> </li> <li><a href="namespace-Doctrine.DBAL.Driver.SQLSrv.html">SQLSrv</a> </li> </ul></li> <li><a href="namespace-Doctrine.DBAL.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Event.Listeners.html">Listeners</a> </li> </ul></li> <li><a href="namespace-Doctrine.DBAL.Id.html">Id</a> </li> <li><a href="namespace-Doctrine.DBAL.Logging.html">Logging</a> </li> <li><a href="namespace-Doctrine.DBAL.Platforms.html">Platforms<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Platforms.Keywords.html">Keywords</a> </li> </ul></li> <li><a href="namespace-Doctrine.DBAL.Portability.html">Portability</a> </li> <li><a href="namespace-Doctrine.DBAL.Query.html">Query<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Query.Expression.html">Expression</a> </li> </ul></li> <li><a href="namespace-Doctrine.DBAL.Schema.html">Schema<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Schema.Synchronizer.html">Synchronizer</a> </li> <li><a href="namespace-Doctrine.DBAL.Schema.Visitor.html">Visitor</a> </li> </ul></li> <li><a href="namespace-Doctrine.DBAL.Sharding.html">Sharding<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Sharding.ShardChoser.html">ShardChoser</a> </li> <li><a href="namespace-Doctrine.DBAL.Sharding.SQLAzure.html">SQLAzure<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Sharding.SQLAzure.Schema.html">Schema</a> </li> </ul></li></ul></li> <li><a href="namespace-Doctrine.DBAL.Tools.html">Tools<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Tools.Console.html">Console<span></span></a> <ul> <li><a href="namespace-Doctrine.DBAL.Tools.Console.Command.html">Command</a> </li> <li><a href="namespace-Doctrine.DBAL.Tools.Console.Helper.html">Helper</a> </li> </ul></li></ul></li> <li><a href="namespace-Doctrine.DBAL.Types.html">Types</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.html">ORM<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Decorator.html">Decorator</a> </li> <li><a href="namespace-Doctrine.ORM.Event.html">Event</a> </li> <li><a href="namespace-Doctrine.ORM.Id.html">Id</a> </li> <li><a href="namespace-Doctrine.ORM.Internal.html">Internal<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Internal.Hydration.html">Hydration</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Mapping.Builder.html">Builder</a> </li> <li><a href="namespace-Doctrine.ORM.Mapping.Driver.html">Driver</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Persisters.html">Persisters</a> </li> <li><a href="namespace-Doctrine.ORM.Proxy.html">Proxy</a> </li> <li><a href="namespace-Doctrine.ORM.Query.html">Query<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Query.AST.html">AST<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Query.AST.Functions.html">Functions</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Query.Exec.html">Exec</a> </li> <li><a href="namespace-Doctrine.ORM.Query.Expr.html">Expr</a> </li> <li><a href="namespace-Doctrine.ORM.Query.Filter.html">Filter</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Repository.html">Repository</a> </li> <li><a href="namespace-Doctrine.ORM.Tools.html">Tools<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Tools.Console.html">Console<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Tools.Console.Command.html">Command<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Tools.Console.Command.ClearCache.html">ClearCache</a> </li> <li><a href="namespace-Doctrine.ORM.Tools.Console.Command.SchemaTool.html">SchemaTool</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Tools.Console.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Tools.Event.html">Event</a> </li> <li><a href="namespace-Doctrine.ORM.Tools.Export.html">Export<span></span></a> <ul> <li><a href="namespace-Doctrine.ORM.Tools.Export.Driver.html">Driver</a> </li> </ul></li> <li><a href="namespace-Doctrine.ORM.Tools.Pagination.html">Pagination</a> </li> </ul></li></ul></li> <li><a href="namespace-Doctrine.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.html">Common<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Annotations.html">Annotations<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Bar.html">Bar</a> </li> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Fixtures.Annotation.html">Annotation</a> </li> </ul></li> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Foo.html">Foo</a> </li> <li><a href="namespace-Doctrine.Tests.Common.Annotations.FooBar.html">FooBar</a> </li> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Ticket.html">Ticket<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Ticket.Doctrine.html">Doctrine<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Ticket.Doctrine.ORM.html">ORM<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Annotations.Ticket.Doctrine.ORM.Mapping.html">Mapping</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Doctrine.Tests.Common.Cache.html">Cache</a> </li> <li><a href="namespace-Doctrine.Tests.Common.Collections.html">Collections</a> </li> <li><a href="namespace-Doctrine.Tests.Common.DataFixtures.html">DataFixtures<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.DataFixtures.Executor.html">Executor</a> </li> <li><a href="namespace-Doctrine.Tests.Common.DataFixtures.TestEntity.html">TestEntity</a> </li> <li><a href="namespace-Doctrine.Tests.Common.DataFixtures.TestFixtures.html">TestFixtures</a> </li> </ul></li> <li><a href="namespace-Doctrine.Tests.Common.Inflector.html">Inflector</a> </li> <li><a href="namespace-Doctrine.Tests.Common.Persistence.html">Persistence<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Persistence.Mapping.html">Mapping</a> </li> </ul></li> <li><a href="namespace-Doctrine.Tests.Common.Proxy.html">Proxy</a> </li> <li><a href="namespace-Doctrine.Tests.Common.Reflection.html">Reflection<span></span></a> <ul> <li><a href="namespace-Doctrine.Tests.Common.Reflection.Dummies.html">Dummies</a> </li> </ul></li> <li><a href="namespace-Doctrine.Tests.Common.Util.html">Util</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Entity.html">Entity<span></span></a> <ul> <li><a href="namespace-Entity.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.html">Bundles<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.AnnotationsBundle.html">AnnotationsBundle<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.AnnotationsBundle.Entity.html">Entity</a> </li> </ul></li> <li><a href="namespace-Fixtures.Bundles.Vendor.html">Vendor<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.Vendor.AnnotationsBundle.html">AnnotationsBundle<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.Vendor.AnnotationsBundle.Entity.html">Entity</a> </li> </ul></li></ul></li> <li><a href="namespace-Fixtures.Bundles.XmlBundle.html">XmlBundle<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.XmlBundle.Entity.html">Entity</a> </li> </ul></li> <li><a href="namespace-Fixtures.Bundles.YamlBundle.html">YamlBundle<span></span></a> <ul> <li><a href="namespace-Fixtures.Bundles.YamlBundle.Entity.html">Entity</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Foo.html">Foo<span></span></a> <ul> <li><a href="namespace-Foo.Bar.html">Bar</a> </li> </ul></li> <li><a href="namespace-FOS.html">FOS<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.html">RestBundle<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Controller.html">Controller<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Controller.Annotations.html">Annotations</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Decoder.html">Decoder</a> </li> <li><a href="namespace-FOS.RestBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-FOS.RestBundle.Examples.html">Examples</a> </li> <li><a href="namespace-FOS.RestBundle.Form.html">Form<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Form.Extension.html">Extension</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Normalizer.html">Normalizer<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Normalizer.Exception.html">Exception</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Request.html">Request</a> </li> <li><a href="namespace-FOS.RestBundle.Response.html">Response<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Response.AllowedMethodsLoader.html">AllowedMethodsLoader</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Routing.html">Routing<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Routing.Loader.html">Loader<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Routing.Loader.Reader.html">Reader</a> </li> </ul></li></ul></li> <li><a href="namespace-FOS.RestBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Tests.Controller.html">Controller<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Tests.Controller.Annotations.html">Annotations</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Tests.Decoder.html">Decoder</a> </li> <li><a href="namespace-FOS.RestBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Tests.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Tests.EventListener.html">EventListener</a> </li> <li><a href="namespace-FOS.RestBundle.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Tests.Fixtures.Controller.html">Controller</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Tests.Normalizer.html">Normalizer</a> </li> <li><a href="namespace-FOS.RestBundle.Tests.Request.html">Request</a> </li> <li><a href="namespace-FOS.RestBundle.Tests.Routing.html">Routing<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Tests.Routing.Loader.html">Loader</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Tests.Util.html">Util</a> </li> <li><a href="namespace-FOS.RestBundle.Tests.View.html">View</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.Util.html">Util<span></span></a> <ul> <li><a href="namespace-FOS.RestBundle.Util.Inflector.html">Inflector</a> </li> </ul></li> <li><a href="namespace-FOS.RestBundle.View.html">View</a> </li> </ul></li> <li><a href="namespace-FOS.UserBundle.html">UserBundle<span></span></a> <ul> <li><a href="namespace-FOS.UserBundle.Command.html">Command</a> </li> <li><a href="namespace-FOS.UserBundle.Controller.html">Controller</a> </li> <li><a href="namespace-FOS.UserBundle.CouchDocument.html">CouchDocument</a> </li> <li><a href="namespace-FOS.UserBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-FOS.UserBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-FOS.UserBundle.Doctrine.html">Doctrine</a> </li> <li><a href="namespace-FOS.UserBundle.Document.html">Document</a> </li> <li><a href="namespace-FOS.UserBundle.Entity.html">Entity</a> </li> <li><a href="namespace-FOS.UserBundle.Form.html">Form<span></span></a> <ul> <li><a href="namespace-FOS.UserBundle.Form.DataTransformer.html">DataTransformer</a> </li> <li><a href="namespace-FOS.UserBundle.Form.Handler.html">Handler</a> </li> <li><a href="namespace-FOS.UserBundle.Form.Model.html">Model</a> </li> <li><a href="namespace-FOS.UserBundle.Form.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-FOS.UserBundle.Mailer.html">Mailer</a> </li> <li><a href="namespace-FOS.UserBundle.Model.html">Model</a> </li> <li><a href="namespace-FOS.UserBundle.Propel.html">Propel</a> </li> <li><a href="namespace-FOS.UserBundle.Security.html">Security</a> </li> <li><a href="namespace-FOS.UserBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-FOS.UserBundle.Tests.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-FOS.UserBundle.Tests.Doctrine.html">Doctrine</a> </li> <li><a href="namespace-FOS.UserBundle.Tests.Model.html">Model</a> </li> <li><a href="namespace-FOS.UserBundle.Tests.Security.html">Security</a> </li> <li><a href="namespace-FOS.UserBundle.Tests.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-FOS.UserBundle.Util.html">Util</a> </li> <li><a href="namespace-FOS.UserBundle.Validator.html">Validator</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.html">Gedmo<span></span></a> <ul> <li><a href="namespace-Gedmo.Blameable.html">Blameable<span></span></a> <ul> <li><a href="namespace-Gedmo.Blameable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Blameable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Blameable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Blameable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Blameable.Traits.html">Traits</a> </li> </ul></li> <li><a href="namespace-Gedmo.Exception.html">Exception</a> </li> <li><a href="namespace-Gedmo.IpTraceable.html">IpTraceable<span></span></a> <ul> <li><a href="namespace-Gedmo.IpTraceable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.IpTraceable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.IpTraceable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.IpTraceable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.IpTraceable.Traits.html">Traits</a> </li> </ul></li> <li><a href="namespace-Gedmo.Loggable.html">Loggable<span></span></a> <ul> <li><a href="namespace-Gedmo.Loggable.Document.html">Document<span></span></a> <ul> <li><a href="namespace-Gedmo.Loggable.Document.MappedSuperclass.html">MappedSuperclass</a> </li> <li><a href="namespace-Gedmo.Loggable.Document.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Gedmo.Loggable.Entity.html">Entity<span></span></a> <ul> <li><a href="namespace-Gedmo.Loggable.Entity.MappedSuperclass.html">MappedSuperclass</a> </li> <li><a href="namespace-Gedmo.Loggable.Entity.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Gedmo.Loggable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Loggable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Loggable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Loggable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Gedmo.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Annotation.html">Annotation</a> </li> <li><a href="namespace-Gedmo.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li> <li><a href="namespace-Gedmo.Mapping.Mock.html">Mock<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Extension.Encoder.html">Encoder<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Extension.Encoder.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Extension.Encoder.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Mapping.Mock.Extension.Encoder.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Extension.Encoder.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Gedmo.Mapping.Mock.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Mapping.Mock.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Gedmo.Mapping.Xml.html">Xml</a> </li> </ul></li> <li><a href="namespace-Gedmo.ReferenceIntegrity.html">ReferenceIntegrity<span></span></a> <ul> <li><a href="namespace-Gedmo.ReferenceIntegrity.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.ReferenceIntegrity.Mapping.Driver.html">Driver</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.References.html">References<span></span></a> <ul> <li><a href="namespace-Gedmo.References.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.References.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.References.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.References.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Gedmo.Sluggable.html">Sluggable<span></span></a> <ul> <li><a href="namespace-Gedmo.Sluggable.Handler.html">Handler</a> </li> <li><a href="namespace-Gedmo.Sluggable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Sluggable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Sluggable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Sluggable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Sluggable.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Gedmo.SoftDeleteable.html">SoftDeleteable<span></span></a> <ul> <li><a href="namespace-Gedmo.SoftDeleteable.Filter.html">Filter<span></span></a> <ul> <li><a href="namespace-Gedmo.SoftDeleteable.Filter.ODM.html">ODM</a> </li> </ul></li> <li><a href="namespace-Gedmo.SoftDeleteable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.SoftDeleteable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.SoftDeleteable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.SoftDeleteable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.SoftDeleteable.Query.html">Query<span></span></a> <ul> <li><a href="namespace-Gedmo.SoftDeleteable.Query.TreeWalker.html">TreeWalker<span></span></a> <ul> <li><a href="namespace-Gedmo.SoftDeleteable.Query.TreeWalker.Exec.html">Exec</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.SoftDeleteable.Traits.html">Traits</a> </li> </ul></li> <li><a href="namespace-Gedmo.Sortable.html">Sortable<span></span></a> <ul> <li><a href="namespace-Gedmo.Sortable.Entity.html">Entity<span></span></a> <ul> <li><a href="namespace-Gedmo.Sortable.Entity.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Gedmo.Sortable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Sortable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Sortable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Sortable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Gedmo.Timestampable.html">Timestampable<span></span></a> <ul> <li><a href="namespace-Gedmo.Timestampable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Timestampable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Timestampable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Timestampable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Timestampable.Traits.html">Traits</a> </li> </ul></li> <li><a href="namespace-Gedmo.Tool.html">Tool<span></span></a> <ul> <li><a href="namespace-Gedmo.Tool.Logging.html">Logging<span></span></a> <ul> <li><a href="namespace-Gedmo.Tool.Logging.DBAL.html">DBAL</a> </li> </ul></li> <li><a href="namespace-Gedmo.Tool.Wrapper.html">Wrapper</a> </li> </ul></li> <li><a href="namespace-Gedmo.Translatable.html">Translatable<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Document.html">Document<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Document.MappedSuperclass.html">MappedSuperclass</a> </li> <li><a href="namespace-Gedmo.Translatable.Document.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Gedmo.Translatable.Entity.html">Entity<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Entity.MappedSuperclass.html">MappedSuperclass</a> </li> <li><a href="namespace-Gedmo.Translatable.Entity.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Gedmo.Translatable.Hydrator.html">Hydrator<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Hydrator.ORM.html">ORM</a> </li> </ul></li> <li><a href="namespace-Gedmo.Translatable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Translatable.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Translatable.Query.html">Query<span></span></a> <ul> <li><a href="namespace-Gedmo.Translatable.Query.TreeWalker.html">TreeWalker</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Translator.html">Translator<span></span></a> <ul> <li><a href="namespace-Gedmo.Translator.Document.html">Document</a> </li> <li><a href="namespace-Gedmo.Translator.Entity.html">Entity</a> </li> </ul></li> <li><a href="namespace-Gedmo.Tree.html">Tree<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Document.html">Document<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Document.MongoDB.html">MongoDB<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Document.MongoDB.Repository.html">Repository</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Tree.Entity.html">Entity<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Entity.MappedSuperclass.html">MappedSuperclass</a> </li> <li><a href="namespace-Gedmo.Tree.Entity.Repository.html">Repository</a> </li> </ul></li> <li><a href="namespace-Gedmo.Tree.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Mapping.Driver.html">Driver</a> </li> <li><a href="namespace-Gedmo.Tree.Mapping.Event.html">Event<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Mapping.Event.Adapter.html">Adapter</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Tree.Strategy.html">Strategy<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Strategy.ODM.html">ODM<span></span></a> <ul> <li><a href="namespace-Gedmo.Tree.Strategy.ODM.MongoDB.html">MongoDB</a> </li> </ul></li> <li><a href="namespace-Gedmo.Tree.Strategy.ORM.html">ORM</a> </li> </ul></li></ul></li> <li><a href="namespace-Gedmo.Uploadable.html">Uploadable<span></span></a> <ul> <li><a href="namespace-Gedmo.Uploadable.Event.html">Event</a> </li> <li><a href="namespace-Gedmo.Uploadable.FileInfo.html">FileInfo</a> </li> <li><a href="namespace-Gedmo.Uploadable.FilenameGenerator.html">FilenameGenerator</a> </li> <li><a href="namespace-Gedmo.Uploadable.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Gedmo.Uploadable.Mapping.Driver.html">Driver</a> </li> </ul></li> <li><a href="namespace-Gedmo.Uploadable.MimeType.html">MimeType</a> </li> <li><a href="namespace-Gedmo.Uploadable.Stub.html">Stub</a> </li> </ul></li></ul></li> <li><a href="namespace-Incenteev.html">Incenteev<span></span></a> <ul> <li><a href="namespace-Incenteev.ParameterHandler.html">ParameterHandler<span></span></a> <ul> <li><a href="namespace-Incenteev.ParameterHandler.Tests.html">Tests</a> </li> </ul></li></ul></li> <li><a href="namespace-IpTraceable.html">IpTraceable<span></span></a> <ul> <li><a href="namespace-IpTraceable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-IpTraceable.Fixture.Document.html">Document</a> </li> </ul></li></ul></li> <li><a href="namespace-JMS.html">JMS<span></span></a> <ul> <li><a href="namespace-JMS.Parser.html">Parser<span></span></a> <ul> <li><a href="namespace-JMS.Parser.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.html">Serializer<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Annotation.html">Annotation</a> </li> <li><a href="namespace-JMS.Serializer.Builder.html">Builder</a> </li> <li><a href="namespace-JMS.Serializer.Construction.html">Construction</a> </li> <li><a href="namespace-JMS.Serializer.EventDispatcher.html">EventDispatcher<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.EventDispatcher.Subscriber.html">Subscriber</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Exception.html">Exception</a> </li> <li><a href="namespace-JMS.Serializer.Exclusion.html">Exclusion</a> </li> <li><a href="namespace-JMS.Serializer.Handler.html">Handler</a> </li> <li><a href="namespace-JMS.Serializer.Metadata.html">Metadata<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Metadata.Driver.html">Driver</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Naming.html">Naming</a> </li> <li><a href="namespace-JMS.Serializer.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Tests.Exclusion.html">Exclusion</a> </li> <li><a href="namespace-JMS.Serializer.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Tests.Fixtures.Discriminator.html">Discriminator</a> </li> <li><a href="namespace-JMS.Serializer.Tests.Fixtures.Doctrine.html">Doctrine</a> </li> <li><a href="namespace-JMS.Serializer.Tests.Fixtures.DoctrinePHPCR.html">DoctrinePHPCR</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Tests.Handler.html">Handler</a> </li> <li><a href="namespace-JMS.Serializer.Tests.Metadata.html">Metadata<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Tests.Metadata.Driver.html">Driver</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Tests.Serializer.html">Serializer<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Tests.Serializer.EventDispatcher.html">EventDispatcher<span></span></a> <ul> <li><a href="namespace-JMS.Serializer.Tests.Serializer.EventDispatcher.Subscriber.html">Subscriber</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Tests.Serializer.Naming.html">Naming</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Tests.Twig.html">Twig</a> </li> </ul></li> <li><a href="namespace-JMS.Serializer.Twig.html">Twig</a> </li> <li><a href="namespace-JMS.Serializer.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-JMS.SerializerBundle.html">SerializerBundle<span></span></a> <ul> <li><a href="namespace-JMS.SerializerBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-JMS.SerializerBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-JMS.SerializerBundle.Serializer.html">Serializer</a> </li> <li><a href="namespace-JMS.SerializerBundle.Templating.html">Templating</a> </li> <li><a href="namespace-JMS.SerializerBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-JMS.SerializerBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-JMS.SerializerBundle.Tests.DependencyInjection.Fixture.html">Fixture</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-JMS.TranslationBundle.html">TranslationBundle<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Annotation.html">Annotation</a> </li> <li><a href="namespace-JMS.TranslationBundle.Command.html">Command</a> </li> <li><a href="namespace-JMS.TranslationBundle.Controller.html">Controller</a> </li> <li><a href="namespace-JMS.TranslationBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-JMS.TranslationBundle.Exception.html">Exception</a> </li> <li><a href="namespace-JMS.TranslationBundle.Logger.html">Logger</a> </li> <li><a href="namespace-JMS.TranslationBundle.Model.html">Model</a> </li> <li><a href="namespace-JMS.TranslationBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Functional.html">Functional<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Functional.TestBundle.html">TestBundle<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Functional.TestBundle.Controller.html">Controller</a> </li> </ul></li></ul></li> <li><a href="namespace-JMS.TranslationBundle.Tests.Model.html">Model</a> </li> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.html">Translation<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Comparison.html">Comparison</a> </li> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Dumper.html">Dumper</a> </li> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.html">Extractor<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.File.html">File<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.File.Fixture.html">Fixture</a> </li> </ul></li> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.Fixture.SimpleTest.html">SimpleTest<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.Fixture.SimpleTest.Controller.html">Controller</a> </li> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Extractor.Fixture.SimpleTest.Form.html">Form</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Loader.html">Loader<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Tests.Translation.Loader.Symfony.html">Symfony</a> </li> </ul></li></ul></li> <li><a href="namespace-JMS.TranslationBundle.Tests.Twig.html">Twig</a> </li> </ul></li> <li><a href="namespace-JMS.TranslationBundle.Translation.html">Translation<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Translation.Comparison.html">Comparison</a> </li> <li><a href="namespace-JMS.TranslationBundle.Translation.Dumper.html">Dumper</a> </li> <li><a href="namespace-JMS.TranslationBundle.Translation.Extractor.html">Extractor<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Translation.Extractor.File.html">File</a> </li> </ul></li> <li><a href="namespace-JMS.TranslationBundle.Translation.Loader.html">Loader<span></span></a> <ul> <li><a href="namespace-JMS.TranslationBundle.Translation.Loader.Symfony.html">Symfony</a> </li> </ul></li></ul></li> <li><a href="namespace-JMS.TranslationBundle.Twig.html">Twig</a> </li> <li><a href="namespace-JMS.TranslationBundle.Util.html">Util</a> </li> </ul></li></ul></li> <li><a href="namespace-Knp.html">Knp<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.html">MenuBundle<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Knp.Bundle.MenuBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Knp.Bundle.MenuBundle.Provider.html">Provider</a> </li> <li><a href="namespace-Knp.Bundle.MenuBundle.Renderer.html">Renderer</a> </li> <li><a href="namespace-Knp.Bundle.MenuBundle.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.Templating.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.EventListener.html">EventListener</a> </li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Provider.html">Provider</a> </li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Renderer.html">Renderer</a> </li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Stubs.html">Stubs<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Stubs.Child.html">Child<span></span></a> <ul> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Stubs.Child.Menu.html">Menu</a> </li> </ul></li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Stubs.Menu.html">Menu</a> </li> </ul></li> <li><a href="namespace-Knp.Bundle.MenuBundle.Tests.Templating.html">Templating</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Knp.Menu.html">Menu<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Factory.html">Factory</a> </li> <li><a href="namespace-Knp.Menu.Integration.html">Integration<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Integration.Silex.html">Silex</a> </li> <li><a href="namespace-Knp.Menu.Integration.Symfony.html">Symfony</a> </li> </ul></li> <li><a href="namespace-Knp.Menu.Iterator.html">Iterator</a> </li> <li><a href="namespace-Knp.Menu.Loader.html">Loader</a> </li> <li><a href="namespace-Knp.Menu.Matcher.html">Matcher<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Matcher.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Knp.Menu.Provider.html">Provider</a> </li> <li><a href="namespace-Knp.Menu.Renderer.html">Renderer</a> </li> <li><a href="namespace-Knp.Menu.Silex.html">Silex<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Silex.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Knp.Menu.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Tests.Factory.html">Factory</a> </li> <li><a href="namespace-Knp.Menu.Tests.Integration.html">Integration<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Tests.Integration.Silex.html">Silex</a> </li> </ul></li> <li><a href="namespace-Knp.Menu.Tests.Iterator.html">Iterator</a> </li> <li><a href="namespace-Knp.Menu.Tests.Loader.html">Loader</a> </li> <li><a href="namespace-Knp.Menu.Tests.Matcher.html">Matcher<span></span></a> <ul> <li><a href="namespace-Knp.Menu.Tests.Matcher.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Knp.Menu.Tests.Provider.html">Provider</a> </li> <li><a href="namespace-Knp.Menu.Tests.Renderer.html">Renderer</a> </li> <li><a href="namespace-Knp.Menu.Tests.Silex.html">Silex</a> </li> <li><a href="namespace-Knp.Menu.Tests.Twig.html">Twig</a> </li> <li><a href="namespace-Knp.Menu.Tests.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Knp.Menu.Twig.html">Twig</a> </li> <li><a href="namespace-Knp.Menu.Util.html">Util</a> </li> </ul></li></ul></li> <li><a href="namespace-Loggable.html">Loggable<span></span></a> <ul> <li><a href="namespace-Loggable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Loggable.Fixture.Document.html">Document<span></span></a> <ul> <li><a href="namespace-Loggable.Fixture.Document.Log.html">Log</a> </li> </ul></li> <li><a href="namespace-Loggable.Fixture.Entity.html">Entity<span></span></a> <ul> <li><a href="namespace-Loggable.Fixture.Entity.Log.html">Log</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Lunetics.html">Lunetics<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.html">LocaleBundle<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Cookie.html">Cookie</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Event.html">Event</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Form.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Form.Extension.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Form.Extension.Type.html">Type</a> </li> </ul></li></ul></li> <li><a href="namespace-Lunetics.LocaleBundle.LocaleGuesser.html">LocaleGuesser</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.LocaleInformation.html">LocaleInformation</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Matcher.html">Matcher</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Session.html">Session</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Switcher.html">Switcher</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Templating.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Tests.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Event.html">Event</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.EventListener.html">EventListener</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Form.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Form.Extension.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Form.Extension.Type.html">Type</a> </li> </ul></li></ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.LocaleGuesser.html">LocaleGuesser</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.LocaleInformation.html">LocaleInformation</a> </li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Templating.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Twig.html">Twig<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Twig.Extension.html">Extension</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Tests.Validator.html">Validator</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Twig.html">Twig<span></span></a> <ul> <li><a href="namespace-Lunetics.LocaleBundle.Twig.Extension.html">Extension</a> </li> </ul></li> <li><a href="namespace-Lunetics.LocaleBundle.Validator.html">Validator</a> </li> </ul></li></ul></li> <li><a href="namespace-Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Mapping.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Mapping.Fixture.Compatibility.html">Compatibility</a> </li> <li><a href="namespace-Mapping.Fixture.Document.html">Document</a> </li> <li><a href="namespace-Mapping.Fixture.Unmapped.html">Unmapped</a> </li> <li><a href="namespace-Mapping.Fixture.Xml.html">Xml</a> </li> <li><a href="namespace-Mapping.Fixture.Yaml.html">Yaml</a> </li> </ul></li></ul></li> <li><a href="namespace-Metadata.html">Metadata<span></span></a> <ul> <li><a href="namespace-Metadata.Cache.html">Cache</a> </li> <li><a href="namespace-Metadata.Driver.html">Driver</a> </li> <li><a href="namespace-Metadata.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Metadata.Tests.Cache.html">Cache</a> </li> <li><a href="namespace-Metadata.Tests.Driver.html">Driver<span></span></a> <ul> <li><a href="namespace-Metadata.Tests.Driver.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Metadata.Tests.Driver.Fixture.A.html">A</a> </li> <li><a href="namespace-Metadata.Tests.Driver.Fixture.B.html">B</a> </li> <li><a href="namespace-Metadata.Tests.Driver.Fixture.C.html">C<span></span></a> <ul> <li><a href="namespace-Metadata.Tests.Driver.Fixture.C.SubDir.html">SubDir</a> </li> </ul></li> <li><a href="namespace-Metadata.Tests.Driver.Fixture.T.html">T</a> </li> </ul></li></ul></li> <li><a href="namespace-Metadata.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Metadata.Tests.Fixtures.ComplexHierarchy.html">ComplexHierarchy</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Monolog.html">Monolog<span></span></a> <ul> <li><a href="namespace-Monolog.Formatter.html">Formatter</a> </li> <li><a href="namespace-Monolog.Handler.html">Handler<span></span></a> <ul> <li><a href="namespace-Monolog.Handler.FingersCrossed.html">FingersCrossed</a> </li> <li><a href="namespace-Monolog.Handler.SyslogUdp.html">SyslogUdp</a> </li> </ul></li> <li><a href="namespace-Monolog.Processor.html">Processor</a> </li> </ul></li> <li><a href="namespace-MyProject.html">MyProject<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.html">Proxies<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.html">__CG__<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.Doctrine.html">Doctrine<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.Doctrine.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.Doctrine.Tests.Common.html">Common<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.Doctrine.Tests.Common.Util.html">Util</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.html">OtherProject<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.Proxies.html">Proxies<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.Proxies.__CG__.html">__CG__<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.Proxies.__CG__.Doctrine.html">Doctrine<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.Proxies.__CG__.Doctrine.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.Proxies.__CG__.Doctrine.Tests.Common.html">Common<span></span></a> <ul> <li><a href="namespace-MyProject.Proxies.__CG__.OtherProject.Proxies.__CG__.Doctrine.Tests.Common.Util.html">Util</a> </li> </ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-NamespaceCollision.html">NamespaceCollision<span></span></a> <ul> <li><a href="namespace-NamespaceCollision.A.html">A<span></span></a> <ul> <li><a href="namespace-NamespaceCollision.A.B.html">B</a> </li> </ul></li> <li><a href="namespace-NamespaceCollision.C.html">C<span></span></a> <ul> <li><a href="namespace-NamespaceCollision.C.B.html">B</a> </li> </ul></li></ul></li> <li><a href="namespace-Namespaced.html">Namespaced</a> </li> <li><a href="namespace-Namespaced2.html">Namespaced2</a> </li> <li><a href="namespace-Negotiation.html">Negotiation<span></span></a> <ul> <li><a href="namespace-Negotiation.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-None.html">None</a> </li> <li><a href="namespace-Pequiven.html">Pequiven<span></span></a> <ul> <li><a href="namespace-Pequiven.SEIPBundle.html">SEIPBundle<span></span></a> <ul> <li><a href="namespace-Pequiven.SEIPBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Pequiven.SEIPBundle.DataFixtures.html">DataFixtures</a> </li> <li><a href="namespace-Pequiven.SEIPBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Pequiven.SEIPBundle.Entity.html">Entity</a> </li> <li><a href="namespace-Pequiven.SEIPBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Pequiven.SEIPBundle.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Pequiven.SEIPBundle.Form.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Pequiven.SEIPBundle.Menu.html">Menu<span></span></a> <ul> <li><a href="namespace-Pequiven.SEIPBundle.Menu.Template.html">Template<span></span></a> <ul> <li><a href="namespace-Pequiven.SEIPBundle.Menu.Template.Developer.html">Developer</a> </li> </ul></li></ul></li> <li><a href="namespace-Pequiven.SEIPBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Pequiven.SEIPBundle.Tests.Controller.html">Controller</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-PHP.html">PHP</a> </li> <li><a href="namespace-PhpCollection.html">PhpCollection<span></span></a> <ul> <li><a href="namespace-PhpCollection.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-PhpOption.html">PhpOption<span></span></a> <ul> <li><a href="namespace-PhpOption.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Proxies.html">Proxies<span></span></a> <ul> <li><a href="namespace-Proxies.__CG__.html">__CG__<span></span></a> <ul> <li><a href="namespace-Proxies.__CG__.Pequiven.html">Pequiven<span></span></a> <ul> <li><a href="namespace-Proxies.__CG__.Pequiven.SEIPBundle.html">SEIPBundle<span></span></a> <ul> <li><a href="namespace-Proxies.__CG__.Pequiven.SEIPBundle.Entity.html">Entity</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Psr.html">Psr<span></span></a> <ul> <li><a href="namespace-Psr.Log.html">Log<span></span></a> <ul> <li><a href="namespace-Psr.Log.Test.html">Test</a> </li> </ul></li></ul></li> <li><a href="namespace-ReferenceIntegrity.html">ReferenceIntegrity<span></span></a> <ul> <li><a href="namespace-ReferenceIntegrity.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-ReferenceIntegrity.Fixture.Document.html">Document<span></span></a> <ul> <li><a href="namespace-ReferenceIntegrity.Fixture.Document.ManyNullify.html">ManyNullify</a> </li> <li><a href="namespace-ReferenceIntegrity.Fixture.Document.ManyRestrict.html">ManyRestrict</a> </li> <li><a href="namespace-ReferenceIntegrity.Fixture.Document.OneNullify.html">OneNullify</a> </li> <li><a href="namespace-ReferenceIntegrity.Fixture.Document.OneRestrict.html">OneRestrict</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-References.html">References<span></span></a> <ul> <li><a href="namespace-References.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-References.Fixture.ODM.html">ODM<span></span></a> <ul> <li><a href="namespace-References.Fixture.ODM.MongoDB.html">MongoDB</a> </li> </ul></li> <li><a href="namespace-References.Fixture.ORM.html">ORM</a> </li> </ul></li></ul></li> <li><a href="namespace-Sensio.html">Sensio<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.DistributionBundle.html">DistributionBundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.DistributionBundle.Composer.html">Composer</a> </li> <li><a href="namespace-Sensio.Bundle.DistributionBundle.Configurator.html">Configurator<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.DistributionBundle.Configurator.Form.html">Form</a> </li> <li><a href="namespace-Sensio.Bundle.DistributionBundle.Configurator.Step.html">Step</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.DistributionBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Sensio.Bundle.DistributionBundle.DependencyInjection.html">DependencyInjection</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.html">FrameworkExtraBundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Configuration.html">Configuration</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Request.html">Request<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Request.ParamConverter.html">ParamConverter</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Routing.html">Routing</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Security.html">Security</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Templating.html">Templating</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Configuration.html">Configuration</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.EventListener.html">EventListener<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.EventListener.Fixture.html">Fixture</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Request.html">Request<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Request.ParamConverter.html">ParamConverter</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Routing.html">Routing</a> </li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.BarBundle.html">BarBundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.BarBundle.Controller.html">Controller</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.FooBarBundle.html">FooBarBundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.FooBarBundle.Controller.html">Controller</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.FooBundle.html">FooBundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.FrameworkExtraBundle.Tests.Templating.Fixture.FooBundle.Controller.html">Controller</a> </li> </ul></li></ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.html">GeneratorBundle<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Command.html">Command<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Command.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Generator.html">Generator</a> </li> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Manipulator.html">Manipulator</a> </li> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Tests.Command.html">Command</a> </li> <li><a href="namespace-Sensio.Bundle.GeneratorBundle.Tests.Generator.html">Generator</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Sluggable.html">Sluggable<span></span></a> <ul> <li><a href="namespace-Sluggable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Sluggable.Fixture.Doctrine.html">Doctrine</a> </li> <li><a href="namespace-Sluggable.Fixture.Document.html">Document<span></span></a> <ul> <li><a href="namespace-Sluggable.Fixture.Document.Handler.html">Handler</a> </li> </ul></li> <li><a href="namespace-Sluggable.Fixture.Handler.html">Handler<span></span></a> <ul> <li><a href="namespace-Sluggable.Fixture.Handler.People.html">People</a> </li> </ul></li> <li><a href="namespace-Sluggable.Fixture.Inheritance.html">Inheritance</a> </li> <li><a href="namespace-Sluggable.Fixture.Inheritance2.html">Inheritance2</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue104.html">Issue104</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue116.html">Issue116</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue131.html">Issue131</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue449.html">Issue449</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue633.html">Issue633</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue827.html">Issue827</a> </li> <li><a href="namespace-Sluggable.Fixture.Issue939.html">Issue939</a> </li> <li><a href="namespace-Sluggable.Fixture.MappedSuperclass.html">MappedSuperclass</a> </li> </ul></li></ul></li> <li><a href="namespace-SoftDeleteable.html">SoftDeleteable<span></span></a> <ul> <li><a href="namespace-SoftDeleteable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-SoftDeleteable.Fixture.Document.html">Document</a> </li> <li><a href="namespace-SoftDeleteable.Fixture.Entity.html">Entity</a> </li> </ul></li></ul></li> <li><a href="namespace-Sortable.html">Sortable<span></span></a> <ul> <li><a href="namespace-Sortable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Sortable.Fixture.Transport.html">Transport</a> </li> </ul></li></ul></li> <li><a href="namespace-Stof.html">Stof<span></span></a> <ul> <li><a href="namespace-Stof.DoctrineExtensionsBundle.html">DoctrineExtensionsBundle<span></span></a> <ul> <li><a href="namespace-Stof.DoctrineExtensionsBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Stof.DoctrineExtensionsBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Stof.DoctrineExtensionsBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Stof.DoctrineExtensionsBundle.Uploadable.html">Uploadable</a> </li> </ul></li></ul></li> <li class="active"><a href="namespace-Symfony.html">Symfony<span></span></a> <ul> <li class="active"><a href="namespace-Symfony.Bridge.html">Bridge<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.html">Doctrine<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.DataFixtures.html">DataFixtures</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.DependencyInjection.CompilerPass.html">CompilerPass</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.DependencyInjection.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.DependencyInjection.Security.UserProvider.html">UserProvider</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.ExpressionLanguage.html">ExpressionLanguage</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Form.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Form.DataTransformer.html">DataTransformer</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Form.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Form.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.HttpFoundation.html">HttpFoundation</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Logger.html">Logger</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Security.RememberMe.html">RememberMe</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Security.User.html">User</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.Test.html">Test</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.DataFixtures.html">DataFixtures</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.DependencyInjection.CompilerPass.html">CompilerPass</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.ExpressionLanguage.html">ExpressionLanguage</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Form.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Form.DataTransformer.html">DataTransformer</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Form.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.HttpFoundation.html">HttpFoundation</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Logger.html">Logger</a> </li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Security.User.html">User</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Tests.Validator.Constraints.html">Constraints</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bridge.Doctrine.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Doctrine.Validator.Constraints.html">Constraints</a> </li> </ul></li></ul></li> <li class="active"><a href="namespace-Symfony.Bridge.Monolog.html">Monolog<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Monolog.Formatter.html">Formatter</a> </li> <li class="active"><a href="namespace-Symfony.Bridge.Monolog.Handler.html">Handler</a> </li> <li><a href="namespace-Symfony.Bridge.Monolog.Processor.html">Processor</a> </li> <li><a href="namespace-Symfony.Bridge.Monolog.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Monolog.Tests.Handler.html">Handler</a> </li> <li><a href="namespace-Symfony.Bridge.Monolog.Tests.Processor.html">Processor</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bridge.Propel1.html">Propel1<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.DependencyInjection.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.DependencyInjection.Security.UserProvider.html">UserProvider</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bridge.Propel1.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.Form.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Form.DataTransformer.html">DataTransformer</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Form.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Form.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Propel1.Logger.html">Logger</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.Security.User.html">User</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Propel1.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.Tests.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Tests.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Propel1.Tests.Form.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Symfony.Bridge.Propel1.Tests.Form.DataTransformer.html">DataTransformer</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Bridge.ProxyManager.html">ProxyManager<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.ProxyManager.LazyProxy.html">LazyProxy<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.ProxyManager.LazyProxy.Instantiator.html">Instantiator</a> </li> <li><a href="namespace-Symfony.Bridge.ProxyManager.LazyProxy.PhpDumper.html">PhpDumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.ProxyManager.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.ProxyManager.Tests.LazyProxy.html">LazyProxy<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.ProxyManager.Tests.LazyProxy.Dumper.html">Dumper</a> </li> <li><a href="namespace-Symfony.Bridge.ProxyManager.Tests.LazyProxy.Instantiator.html">Instantiator</a> </li> <li><a href="namespace-Symfony.Bridge.ProxyManager.Tests.LazyProxy.PhpDumper.html">PhpDumper</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Bridge.Twig.html">Twig<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Twig.Extension.html">Extension</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Form.html">Form</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Node.html">Node</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.NodeVisitor.html">NodeVisitor</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Twig.Tests.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Symfony.Bridge.Twig.Tests.Extension.Fixtures.html">Fixtures</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Twig.Tests.Node.html">Node</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Tests.NodeVisitor.html">NodeVisitor</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Tests.TokenParser.html">TokenParser</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Tests.Translation.html">Translation</a> </li> </ul></li> <li><a href="namespace-Symfony.Bridge.Twig.TokenParser.html">TokenParser</a> </li> <li><a href="namespace-Symfony.Bridge.Twig.Translation.html">Translation</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.AsseticBundle.html">AsseticBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.AsseticBundle.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Config.html">Config</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.AsseticBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Factory.html">Factory<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Factory.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Factory.Resource.html">Resource</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Factory.Worker.html">Worker</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Routing.html">Routing</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Templating.html">Templating</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.Factory.html">Factory<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.Factory.Resource.html">Resource</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.Templating.html">Templating</a> </li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Tests.TestBundle.html">TestBundle</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.AsseticBundle.Twig.html">Twig</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.html">FrameworkBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Console.html">Console<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Console.Descriptor.html">Descriptor</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Console.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Fragment.html">Fragment</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.HttpCache.html">HttpCache</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Routing.html">Routing</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Templating.Asset.html">Asset</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Templating.Helper.html">Helper</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Templating.Loader.html">Loader</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Test.html">Test</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Console.html">Console<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Console.Descriptor.html">Descriptor</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Fixtures.BaseBundle.html">BaseBundle</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Fragment.html">Fragment</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Functional.html">Functional<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Functional.app.html">app</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Functional.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Functional.Bundle.TestBundle.html">TestBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Functional.Bundle.TestBundle.Controller.html">Controller</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Routing.html">Routing</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Templating.Helper.html">Helper<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Templating.Helper.Fixtures.html">Fixtures</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Templating.Loader.html">Loader</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Translation.html">Translation</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Tests.Validator.html">Validator</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Translation.html">Translation</a> </li> <li><a href="namespace-Symfony.Bundle.FrameworkBundle.Validator.html">Validator</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.MonologBundle.html">MonologBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.MonologBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.MonologBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.MonologBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.MonologBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.MonologBundle.Tests.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.html">SecurityBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.DependencyInjection.Compiler.html">Compiler</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.DependencyInjection.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.DependencyInjection.Security.Factory.html">Factory</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.DependencyInjection.Security.UserProvider.html">UserProvider</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Security.html">Security</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Templating.Helper.html">Helper</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.DependencyInjection.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.DependencyInjection.Security.Factory.html">Factory</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.html">Functional<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.app.html">app</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.CsrfFormLoginBundle.html">CsrfFormLoginBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.CsrfFormLoginBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.CsrfFormLoginBundle.Form.html">Form</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.FormLoginBundle.html">FormLoginBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.FormLoginBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.FormLoginBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Tests.Functional.Bundle.FormLoginBundle.Security.html">Security</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Twig.html">Twig<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SecurityBundle.Twig.Extension.html">Extension</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.html">SwiftmailerBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.SwiftmailerBundle.Tests.DependencyInjection.html">DependencyInjection</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Bundle.TwigBundle.html">TwigBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.TwigBundle.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Debug.html">Debug</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.TwigBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Extension.html">Extension</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Node.html">Node</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.TwigBundle.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Tests.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.TwigBundle.Tests.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Tests.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Bundle.TwigBundle.Tests.TokenParser.html">TokenParser</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.TwigBundle.TokenParser.html">TokenParser</a> </li> </ul></li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.html">WebProfilerBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Profiler.html">Profiler</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Tests.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Tests.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Bundle.WebProfilerBundle.Tests.Profiler.html">Profiler</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Component.html">Component<span></span></a> <ul> <li><a href="namespace-Symfony.Component.BrowserKit.html">BrowserKit<span></span></a> <ul> <li><a href="namespace-Symfony.Component.BrowserKit.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.ClassLoader.html">ClassLoader<span></span></a> <ul> <li><a href="namespace-Symfony.Component.ClassLoader.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Config.html">Config<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Config.Definition.html">Definition<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Config.Definition.Builder.html">Builder</a> </li> <li><a href="namespace-Symfony.Component.Config.Definition.Dumper.html">Dumper</a> </li> <li><a href="namespace-Symfony.Component.Config.Definition.Exception.html">Exception</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Config.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Config.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Config.Resource.html">Resource</a> </li> <li><a href="namespace-Symfony.Component.Config.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Config.Tests.Definition.html">Definition<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Config.Tests.Definition.Builder.html">Builder</a> </li> <li><a href="namespace-Symfony.Component.Config.Tests.Definition.Dumper.html">Dumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Config.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Config.Tests.Fixtures.Configuration.html">Configuration</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Config.Tests.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Config.Tests.Resource.html">Resource</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Config.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Console.html">Console<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Console.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Component.Console.Descriptor.html">Descriptor</a> </li> <li><a href="namespace-Symfony.Component.Console.Event.html">Event</a> </li> <li><a href="namespace-Symfony.Component.Console.Formatter.html">Formatter</a> </li> <li><a href="namespace-Symfony.Component.Console.Helper.html">Helper</a> </li> <li><a href="namespace-Symfony.Component.Console.Input.html">Input</a> </li> <li><a href="namespace-Symfony.Component.Console.Output.html">Output</a> </li> <li><a href="namespace-Symfony.Component.Console.Tester.html">Tester</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Console.Tests.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Descriptor.html">Descriptor</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Formatter.html">Formatter</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Helper.html">Helper</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Input.html">Input</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Output.html">Output</a> </li> <li><a href="namespace-Symfony.Component.Console.Tests.Tester.html">Tester</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.CssSelector.html">CssSelector<span></span></a> <ul> <li><a href="namespace-Symfony.Component.CssSelector.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.CssSelector.Node.html">Node</a> </li> <li><a href="namespace-Symfony.Component.CssSelector.Parser.html">Parser<span></span></a> <ul> <li><a href="namespace-Symfony.Component.CssSelector.Parser.Handler.html">Handler</a> </li> <li><a href="namespace-Symfony.Component.CssSelector.Parser.Shortcut.html">Shortcut</a> </li> <li><a href="namespace-Symfony.Component.CssSelector.Parser.Tokenizer.html">Tokenizer</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.CssSelector.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.CssSelector.Tests.Node.html">Node</a> </li> <li><a href="namespace-Symfony.Component.CssSelector.Tests.Parser.html">Parser<span></span></a> <ul> <li><a href="namespace-Symfony.Component.CssSelector.Tests.Parser.Handler.html">Handler</a> </li> <li><a href="namespace-Symfony.Component.CssSelector.Tests.Parser.Shortcut.html">Shortcut</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.CssSelector.Tests.XPath.html">XPath</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.CssSelector.XPath.html">XPath<span></span></a> <ul> <li><a href="namespace-Symfony.Component.CssSelector.XPath.Extension.html">Extension</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Debug.html">Debug<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Debug.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Debug.FatalErrorHandler.html">FatalErrorHandler</a> </li> <li><a href="namespace-Symfony.Component.Debug.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Debug.Tests.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Debug.Tests.FatalErrorHandler.html">FatalErrorHandler</a> </li> <li><a href="namespace-Symfony.Component.Debug.Tests.Fixtures.html">Fixtures</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Symfony.Component.DependencyInjection.Compiler.html">Compiler</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Dump.html">Dump</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Dumper.html">Dumper</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Extension.html">Extension</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.LazyProxy.html">LazyProxy<span></span></a> <ul> <li><a href="namespace-Symfony.Component.DependencyInjection.LazyProxy.Instantiator.html">Instantiator</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.LazyProxy.PhpDumper.html">PhpDumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.DependencyInjection.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.ParameterBag.html">ParameterBag</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.Compiler.html">Compiler</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.Dumper.html">Dumper</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.Extension.html">Extension</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.LazyProxy.html">LazyProxy<span></span></a> <ul> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.LazyProxy.Instantiator.html">Instantiator</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.LazyProxy.PhpDumper.html">PhpDumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.DependencyInjection.Tests.ParameterBag.html">ParameterBag</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.DomCrawler.html">DomCrawler<span></span></a> <ul> <li><a href="namespace-Symfony.Component.DomCrawler.Field.html">Field</a> </li> <li><a href="namespace-Symfony.Component.DomCrawler.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.DomCrawler.Tests.Field.html">Field</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.EventDispatcher.html">EventDispatcher<span></span></a> <ul> <li><a href="namespace-Symfony.Component.EventDispatcher.Debug.html">Debug</a> </li> <li><a href="namespace-Symfony.Component.EventDispatcher.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.ExpressionLanguage.html">ExpressionLanguage<span></span></a> <ul> <li><a href="namespace-Symfony.Component.ExpressionLanguage.Node.html">Node</a> </li> <li><a href="namespace-Symfony.Component.ExpressionLanguage.ParserCache.html">ParserCache</a> </li> <li><a href="namespace-Symfony.Component.ExpressionLanguage.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.ExpressionLanguage.Tests.Node.html">Node</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Filesystem.html">Filesystem<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Filesystem.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Filesystem.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Finder.html">Finder<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Finder.Adapter.html">Adapter</a> </li> <li><a href="namespace-Symfony.Component.Finder.Comparator.html">Comparator</a> </li> <li><a href="namespace-Symfony.Component.Finder.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Finder.Expression.html">Expression</a> </li> <li><a href="namespace-Symfony.Component.Finder.Iterator.html">Iterator</a> </li> <li><a href="namespace-Symfony.Component.Finder.Shell.html">Shell</a> </li> <li><a href="namespace-Symfony.Component.Finder.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Finder.Tests.Comparator.html">Comparator</a> </li> <li><a href="namespace-Symfony.Component.Finder.Tests.Expression.html">Expression</a> </li> <li><a href="namespace-Symfony.Component.Finder.Tests.FakeAdapter.html">FakeAdapter</a> </li> <li><a href="namespace-Symfony.Component.Finder.Tests.Iterator.html">Iterator</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Extension.Core.html">Core<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Extension.Core.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Core.DataMapper.html">DataMapper</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Core.DataTransformer.html">DataTransformer</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Core.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Core.Type.html">Type</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Core.View.html">View</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Extension.Csrf.html">Csrf<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Extension.Csrf.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Csrf.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Extension.DataCollector.html">DataCollector<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Extension.DataCollector.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.DataCollector.Proxy.html">Proxy</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.DataCollector.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Extension.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.HttpFoundation.html">HttpFoundation<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Extension.HttpFoundation.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Extension.Templating.html">Templating</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Extension.Validator.Constraints.html">Constraints</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Validator.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Validator.Type.html">Type</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Validator.Util.html">Util</a> </li> <li><a href="namespace-Symfony.Component.Form.Extension.Validator.ViolationMapper.html">ViolationMapper</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Form.Guess.html">Guess</a> </li> <li><a href="namespace-Symfony.Component.Form.Test.html">Test</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.html">Extension<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Core.html">Core<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Core.ChoiceList.html">ChoiceList</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Core.DataMapper.html">DataMapper</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Core.DataTransformer.html">DataTransformer</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Core.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Core.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Csrf.html">Csrf<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Csrf.CsrfProvider.html">CsrfProvider</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Csrf.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Csrf.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.DataCollector.html">DataCollector<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.DataCollector.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.HttpFoundation.html">HttpFoundation<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.HttpFoundation.EventListener.html">EventListener</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Validator.Constraints.html">Constraints</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Validator.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Validator.Type.html">Type</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Validator.Util.html">Util</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Extension.Validator.ViolationMapper.html">ViolationMapper</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Form.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Guess.html">Guess</a> </li> <li><a href="namespace-Symfony.Component.Form.Tests.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Form.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.HttpFoundation.html">HttpFoundation<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.File.html">File<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.File.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.File.MimeType.html">MimeType</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.HttpFoundation.Session.html">Session<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.Session.Attribute.html">Attribute</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.Session.Flash.html">Flash</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.Session.Storage.html">Storage<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.Session.Storage.Handler.html">Handler</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.Session.Storage.Proxy.html">Proxy</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.File.html">File<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.File.MimeType.html">MimeType</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.Session.html">Session<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.Session.Attribute.html">Attribute</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.Session.Flash.html">Flash</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.Session.Storage.html">Storage<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.Session.Storage.Handler.html">Handler</a> </li> <li><a href="namespace-Symfony.Component.HttpFoundation.Tests.Session.Storage.Proxy.html">Proxy</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Component.HttpKernel.html">HttpKernel<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.Bundle.html">Bundle</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.CacheClearer.html">CacheClearer</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Config.html">Config</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.DataCollector.html">DataCollector<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.DataCollector.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.HttpKernel.Debug.html">Debug</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Event.html">Event</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Fragment.html">Fragment</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.HttpCache.html">HttpCache</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Log.html">Log</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Profiler.html">Profiler</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Bundle.html">Bundle</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.CacheClearer.html">CacheClearer</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.CacheWarmer.html">CacheWarmer</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Config.html">Config</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Controller.html">Controller</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.DataCollector.html">DataCollector</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Debug.html">Debug</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.EventListener.html">EventListener</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.ExtensionAbsentBundle.html">ExtensionAbsentBundle</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.ExtensionLoadedBundle.html">ExtensionLoadedBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.ExtensionLoadedBundle.DependencyInjection.html">DependencyInjection</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.ExtensionPresentBundle.html">ExtensionPresentBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.ExtensionPresentBundle.Command.html">Command</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fixtures.ExtensionPresentBundle.DependencyInjection.html">DependencyInjection</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Fragment.html">Fragment</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.HttpCache.html">HttpCache</a> </li> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Profiler.html">Profiler<span></span></a> <ul> <li><a href="namespace-Symfony.Component.HttpKernel.Tests.Profiler.Mock.html">Mock</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Component.Icu.html">Icu<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Icu.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.html">Intl<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Collator.html">Collator</a> </li> <li><a href="namespace-Symfony.Component.Intl.DateFormatter.html">DateFormatter<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.DateFormatter.DateFormat.html">DateFormat</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Intl.Globals.html">Globals</a> </li> <li><a href="namespace-Symfony.Component.Intl.Locale.html">Locale</a> </li> <li><a href="namespace-Symfony.Component.Intl.NumberFormatter.html">NumberFormatter</a> </li> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.html">ResourceBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.Compiler.html">Compiler</a> </li> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.Reader.html">Reader</a> </li> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.Transformer.html">Transformer<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.Transformer.Rule.html">Rule</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.Util.html">Util</a> </li> <li><a href="namespace-Symfony.Component.Intl.ResourceBundle.Writer.html">Writer</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.Collator.html">Collator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.Collator.Verification.html">Verification</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.DateFormatter.html">DateFormatter<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.DateFormatter.Verification.html">Verification</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.Globals.html">Globals<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.Globals.Verification.html">Verification</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.Locale.html">Locale<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.Locale.Verification.html">Verification</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.NumberFormatter.html">NumberFormatter<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.NumberFormatter.Verification.html">Verification</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.ResourceBundle.html">ResourceBundle<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Intl.Tests.ResourceBundle.Reader.html">Reader</a> </li> <li><a href="namespace-Symfony.Component.Intl.Tests.ResourceBundle.Util.html">Util</a> </li> <li><a href="namespace-Symfony.Component.Intl.Tests.ResourceBundle.Writer.html">Writer</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Tests.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Intl.Util.html">Util</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Locale.html">Locale<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Locale.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Locale.Tests.Stub.html">Stub</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.OptionsResolver.html">OptionsResolver<span></span></a> <ul> <li><a href="namespace-Symfony.Component.OptionsResolver.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.OptionsResolver.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Process.html">Process<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Process.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Process.Tests.html">Tests</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.PropertyAccess.html">PropertyAccess<span></span></a> <ul> <li><a href="namespace-Symfony.Component.PropertyAccess.Exception.html">Exception</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Routing.html">Routing<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Annotation.html">Annotation</a> </li> <li><a href="namespace-Symfony.Component.Routing.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Routing.Generator.html">Generator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Generator.Dumper.html">Dumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Routing.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Routing.Matcher.html">Matcher<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Matcher.Dumper.html">Dumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Routing.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Tests.Annotation.html">Annotation</a> </li> <li><a href="namespace-Symfony.Component.Routing.Tests.Fixtures.html">Fixtures<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Tests.Fixtures.AnnotatedClasses.html">AnnotatedClasses</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Routing.Tests.Generator.html">Generator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Tests.Generator.Dumper.html">Dumper</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Routing.Tests.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Routing.Tests.Matcher.html">Matcher<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Routing.Tests.Matcher.Dumper.html">Dumper</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Component.Security.html">Security<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Acl.html">Acl<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Acl.Dbal.html">Dbal</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Domain.html">Domain</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Model.html">Model</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Permission.html">Permission</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Acl.Tests.Dbal.html">Dbal</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Tests.Domain.html">Domain</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Tests.Permission.html">Permission</a> </li> <li><a href="namespace-Symfony.Component.Security.Acl.Tests.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Acl.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Core.html">Core<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Authentication.html">Authentication<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Authentication.Provider.html">Provider</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Authentication.RememberMe.html">RememberMe</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Authentication.Token.html">Token</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Core.Authorization.html">Authorization<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Authorization.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Core.Encoder.html">Encoder</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Event.html">Event</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Role.html">Role</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Authentication.html">Authentication<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Authentication.Provider.html">Provider</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Authentication.RememberMe.html">RememberMe</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Authentication.Token.html">Token</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Authorization.html">Authorization<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Authorization.Voter.html">Voter</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Encoder.html">Encoder</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Role.html">Role</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.User.html">User</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Util.html">Util</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Tests.Validator.Constraints.html">Constraints</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Security.Core.User.html">User</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Util.html">Util</a> </li> <li><a href="namespace-Symfony.Component.Security.Core.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Core.Validator.Constraints.html">Constraints</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Security.Csrf.html">Csrf<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Csrf.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Security.Csrf.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Csrf.Tests.TokenGenerator.html">TokenGenerator</a> </li> <li><a href="namespace-Symfony.Component.Security.Csrf.Tests.TokenStorage.html">TokenStorage</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Csrf.TokenGenerator.html">TokenGenerator</a> </li> <li><a href="namespace-Symfony.Component.Security.Csrf.TokenStorage.html">TokenStorage</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Http.html">Http<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Http.Authentication.html">Authentication</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Authorization.html">Authorization</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.EntryPoint.html">EntryPoint</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Event.html">Event</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Firewall.html">Firewall</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Logout.html">Logout</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.RememberMe.html">RememberMe</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Session.html">Session</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Http.Tests.Authentication.html">Authentication</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Tests.EntryPoint.html">EntryPoint</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Tests.Firewall.html">Firewall</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Tests.Logout.html">Logout</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Tests.RememberMe.html">RememberMe</a> </li> <li><a href="namespace-Symfony.Component.Security.Http.Tests.Session.html">Session</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Security.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Tests.Core.html">Core<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Tests.Core.Authentication.html">Authentication<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Tests.Core.Authentication.Token.html">Token</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Tests.Core.User.html">User</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Security.Tests.Http.html">Http<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Security.Tests.Http.Firewall.html">Firewall</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Component.Serializer.html">Serializer<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Serializer.Encoder.html">Encoder</a> </li> <li><a href="namespace-Symfony.Component.Serializer.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Serializer.Normalizer.html">Normalizer</a> </li> <li><a href="namespace-Symfony.Component.Serializer.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Serializer.Tests.Encoder.html">Encoder</a> </li> <li><a href="namespace-Symfony.Component.Serializer.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Component.Serializer.Tests.Normalizer.html">Normalizer</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Stopwatch.html">Stopwatch</a> </li> <li><a href="namespace-Symfony.Component.Templating.html">Templating<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Templating.Asset.html">Asset</a> </li> <li><a href="namespace-Symfony.Component.Templating.Helper.html">Helper</a> </li> <li><a href="namespace-Symfony.Component.Templating.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Templating.Storage.html">Storage</a> </li> <li><a href="namespace-Symfony.Component.Templating.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Templating.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Component.Templating.Tests.Helper.html">Helper</a> </li> <li><a href="namespace-Symfony.Component.Templating.Tests.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Templating.Tests.Storage.html">Storage</a> </li> </ul></li></ul></li> <li><a href="namespace-Symfony.Component.Translation.html">Translation<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Translation.Catalogue.html">Catalogue</a> </li> <li><a href="namespace-Symfony.Component.Translation.Dumper.html">Dumper</a> </li> <li><a href="namespace-Symfony.Component.Translation.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Translation.Extractor.html">Extractor</a> </li> <li><a href="namespace-Symfony.Component.Translation.Loader.html">Loader</a> </li> <li><a href="namespace-Symfony.Component.Translation.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Translation.Tests.Catalogue.html">Catalogue</a> </li> <li><a href="namespace-Symfony.Component.Translation.Tests.Dumper.html">Dumper</a> </li> <li><a href="namespace-Symfony.Component.Translation.Tests.Loader.html">Loader</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Translation.Writer.html">Writer</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Validator.html">Validator<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Validator.Constraints.html">Constraints</a> </li> <li><a href="namespace-Symfony.Component.Validator.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Validator.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Validator.Mapping.Cache.html">Cache</a> </li> <li><a href="namespace-Symfony.Component.Validator.Mapping.Loader.html">Loader</a> </li> </ul></li> <li><a href="namespace-Symfony.Component.Validator.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Validator.Tests.Constraints.html">Constraints</a> </li> <li><a href="namespace-Symfony.Component.Validator.Tests.Fixtures.html">Fixtures</a> </li> <li><a href="namespace-Symfony.Component.Validator.Tests.Mapping.html">Mapping<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Validator.Tests.Mapping.Cache.html">Cache</a> </li> <li><a href="namespace-Symfony.Component.Validator.Tests.Mapping.Loader.html">Loader</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Symfony.Component.Yaml.html">Yaml<span></span></a> <ul> <li><a href="namespace-Symfony.Component.Yaml.Exception.html">Exception</a> </li> <li><a href="namespace-Symfony.Component.Yaml.Tests.html">Tests</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Tecnocreaciones.html">Tecnocreaciones<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.html">Bundle<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.html">AjaxFOSUserBundle<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.DependencyInjection.html">DependencyInjection<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.DependencyInjection.Compiler.html">Compiler</a> </li> </ul></li> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.Event.html">Event</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.EventListener.html">EventListener</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.Handler.html">Handler</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.AjaxFOSUserBundle.Tests.Controller.html">Controller</a> </li> </ul></li></ul></li> <li><a href="namespace-Tecnocreaciones.Bundle.InstallBundle.html">InstallBundle<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.InstallBundle.Command.html">Command</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.InstallBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.InstallBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.InstallBundle.Tests.Controller.html">Controller</a> </li> </ul></li></ul></li> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.html">TemplateBundle<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.Controller.html">Controller</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.Menu.html">Menu<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.Menu.Template.html">Template<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.Menu.Template.Developer.html">Developer</a> </li> </ul></li></ul></li> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Bundle.TemplateBundle.Tests.Controller.html">Controller</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-Tecnocreaciones.Vzla.html">Vzla<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.html">GovernmentBundle<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.DependencyInjection.html">DependencyInjection</a> </li> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Form.html">Form<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Form.Type.html">Type</a> </li> </ul></li> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Menu.html">Menu<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Menu.Template.html">Template<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Menu.Template.Developer.html">Developer</a> </li> </ul></li></ul></li> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Model.html">Model</a> </li> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Tests.html">Tests<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Tests.Controller.html">Controller</a> </li> </ul></li> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Twig.html">Twig<span></span></a> <ul> <li><a href="namespace-Tecnocreaciones.Vzla.GovernmentBundle.Twig.Extension.html">Extension</a> </li> </ul></li></ul></li></ul></li></ul></li> <li><a href="namespace-TestBundle.html">TestBundle<span></span></a> <ul> <li><a href="namespace-TestBundle.Fabpot.html">Fabpot<span></span></a> <ul> <li><a href="namespace-TestBundle.Fabpot.FooBundle.html">FooBundle<span></span></a> <ul> <li><a href="namespace-TestBundle.Fabpot.FooBundle.Controller.html">Controller</a> </li> </ul></li></ul></li> <li><a href="namespace-TestBundle.FooBundle.html">FooBundle<span></span></a> <ul> <li><a href="namespace-TestBundle.FooBundle.Controller.html">Controller<span></span></a> <ul> <li><a href="namespace-TestBundle.FooBundle.Controller.Sub.html">Sub</a> </li> <li><a href="namespace-TestBundle.FooBundle.Controller.Test.html">Test</a> </li> </ul></li></ul></li> <li><a href="namespace-TestBundle.Sensio.html">Sensio<span></span></a> <ul> <li><a href="namespace-TestBundle.Sensio.Cms.html">Cms<span></span></a> <ul> <li><a href="namespace-TestBundle.Sensio.Cms.FooBundle.html">FooBundle<span></span></a> <ul> <li><a href="namespace-TestBundle.Sensio.Cms.FooBundle.Controller.html">Controller</a> </li> </ul></li></ul></li> <li><a href="namespace-TestBundle.Sensio.FooBundle.html">FooBundle<span></span></a> <ul> <li><a href="namespace-TestBundle.Sensio.FooBundle.Controller.html">Controller</a> </li> </ul></li></ul></li></ul></li> <li><a href="namespace-TestFixtures.html">TestFixtures</a> </li> <li><a href="namespace-Timestampable.html">Timestampable<span></span></a> <ul> <li><a href="namespace-Timestampable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Timestampable.Fixture.Document.html">Document</a> </li> </ul></li></ul></li> <li><a href="namespace-Tool.html">Tool</a> </li> <li><a href="namespace-Translatable.html">Translatable<span></span></a> <ul> <li><a href="namespace-Translatable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Translatable.Fixture.Document.html">Document<span></span></a> <ul> <li><a href="namespace-Translatable.Fixture.Document.Personal.html">Personal</a> </li> </ul></li> <li><a href="namespace-Translatable.Fixture.Issue114.html">Issue114</a> </li> <li><a href="namespace-Translatable.Fixture.Issue138.html">Issue138</a> </li> <li><a href="namespace-Translatable.Fixture.Issue165.html">Issue165</a> </li> <li><a href="namespace-Translatable.Fixture.Issue173.html">Issue173</a> </li> <li><a href="namespace-Translatable.Fixture.Issue75.html">Issue75</a> </li> <li><a href="namespace-Translatable.Fixture.Issue922.html">Issue922</a> </li> <li><a href="namespace-Translatable.Fixture.Personal.html">Personal</a> </li> <li><a href="namespace-Translatable.Fixture.Template.html">Template</a> </li> <li><a href="namespace-Translatable.Fixture.Type.html">Type</a> </li> </ul></li></ul></li> <li><a href="namespace-Translator.html">Translator<span></span></a> <ul> <li><a href="namespace-Translator.Fixture.html">Fixture</a> </li> </ul></li> <li><a href="namespace-Tree.html">Tree<span></span></a> <ul> <li><a href="namespace-Tree.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Tree.Fixture.Closure.html">Closure</a> </li> <li><a href="namespace-Tree.Fixture.Document.html">Document</a> </li> <li><a href="namespace-Tree.Fixture.Genealogy.html">Genealogy</a> </li> <li><a href="namespace-Tree.Fixture.Mock.html">Mock</a> </li> <li><a href="namespace-Tree.Fixture.Repository.html">Repository</a> </li> <li><a href="namespace-Tree.Fixture.Transport.html">Transport</a> </li> </ul></li></ul></li> <li><a href="namespace-Uploadable.html">Uploadable<span></span></a> <ul> <li><a href="namespace-Uploadable.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Uploadable.Fixture.Entity.html">Entity</a> </li> </ul></li></ul></li> <li><a href="namespace-Wrapper.html">Wrapper<span></span></a> <ul> <li><a href="namespace-Wrapper.Fixture.html">Fixture<span></span></a> <ul> <li><a href="namespace-Wrapper.Fixture.Document.html">Document</a> </li> <li><a href="namespace-Wrapper.Fixture.Entity.html">Entity</a> </li> </ul></li></ul></li> </ul> </div> <hr /> <div id="elements"> <h3>Classes</h3> <ul> <li><a href="class-Symfony.Bridge.Monolog.Handler.ChromePhpHandler.html">ChromePhpHandler</a></li> <li><a href="class-Symfony.Bridge.Monolog.Handler.ConsoleHandler.html">ConsoleHandler</a></li> <li><a href="class-Symfony.Bridge.Monolog.Handler.DebugHandler.html" class="invalid">DebugHandler</a></li> <li class="active"><a href="class-Symfony.Bridge.Monolog.Handler.FirePHPHandler.html">FirePHPHandler</a></li> <li><a href="class-Symfony.Bridge.Monolog.Handler.SwiftMailerHandler.html">SwiftMailerHandler</a></li> </ul> </div> </div> </div> <div id="splitter"></div> <div id="right"> <div id="rightInner"> <form id="search"> <input type="hidden" name="cx" value="" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="text" name="q" class="text" /> <input type="submit" value="Search" /> </form> <div id="navigation"> <ul> <li> <a href="index.html" title="Overview"><span>Overview</span></a> </li> <li> <a href="namespace-Symfony.Bridge.Monolog.Handler.html" title="Summary of Symfony\Bridge\Monolog\Handler"><span>Namespace</span></a> </li> <li> <a href="class-Symfony.Bridge.Monolog.Handler.FirePHPHandler.html" title="Summary of Symfony\Bridge\Monolog\Handler\FirePHPHandler"><span>Class</span></a> </li> </ul> <ul> <li> <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a> </li> </ul> <ul> </ul> </div> <pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span> </span><span id="2" class="l"><a class="l" href="#2"> 2: </a> </span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-comment">/* </span></span><span id="4" class="l"><a class="l" href="#4"> 4: </a><span class="php-comment"> * This file is part of the Symfony package. </span></span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-comment"> * </span></span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-comment"> * (c) Fabien Potencier &lt;fabien@symfony.com&gt; </span></span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-comment"> * </span></span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-comment"> * For the full copyright and license information, please view the LICENSE </span></span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment"> * file that was distributed with this source code. </span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> */</span> </span><span id="11" class="l"><a class="l" href="#11">11: </a> </span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-keyword1">namespace</span> Symfony\Bridge\Monolog\Handler; </span><span id="13" class="l"><a class="l" href="#13">13: </a> </span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-keyword1">use</span> Monolog\Handler\FirePHPHandler <span class="php-keyword1">as</span> BaseFirePHPHandler; </span><span id="15" class="l"><a class="l" href="#15">15: </a><span class="php-keyword1">use</span> Symfony\Component\HttpKernel\Event\FilterResponseEvent; </span><span id="16" class="l"><a class="l" href="#16">16: </a><span class="php-keyword1">use</span> Symfony\Component\HttpFoundation\Response; </span><span id="17" class="l"><a class="l" href="#17">17: </a> </span><span id="18" class="l"><a class="l" href="#18">18: </a><span class="php-comment">/** </span></span><span id="19" class="l"><a class="l" href="#19">19: </a><span class="php-comment"> * FirePHPHandler. </span></span><span id="20" class="l"><a class="l" href="#20">20: </a><span class="php-comment"> * </span></span><span id="21" class="l"><a class="l" href="#21">21: </a><span class="php-comment"> * @author Jordi Boggiano &lt;j.boggiano@seld.be&gt; </span></span><span id="22" class="l"><a class="l" href="#22">22: </a><span class="php-comment"> */</span> </span><span id="23" class="l"><a class="l" href="#23">23: </a><span class="php-keyword1">class</span> <a id="FirePHPHandler" href="#FirePHPHandler">FirePHPHandler</a> <span class="php-keyword1">extends</span> BaseFirePHPHandler </span><span id="24" class="l"><a class="l" href="#24">24: </a>{ </span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-comment">/** </span></span><span id="26" class="l"><a class="l" href="#26">26: </a><span class="php-comment"> * @var array </span></span><span id="27" class="l"><a class="l" href="#27">27: </a><span class="php-comment"> */</span> </span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$headers" href="#$headers">$headers</a></span> = <span class="php-keyword1">array</span>(); </span><span id="29" class="l"><a class="l" href="#29">29: </a> </span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-comment">/** </span></span><span id="31" class="l"><a class="l" href="#31">31: </a><span class="php-comment"> * @var Response </span></span><span id="32" class="l"><a class="l" href="#32">32: </a><span class="php-comment"> */</span> </span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">private</span> <span class="php-var"><a id="$response" href="#$response">$response</a></span>; </span><span id="34" class="l"><a class="l" href="#34">34: </a> </span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-comment">/** </span></span><span id="36" class="l"><a class="l" href="#36">36: </a><span class="php-comment"> * Adds the headers to the response once it's created </span></span><span id="37" class="l"><a class="l" href="#37">37: </a><span class="php-comment"> */</span> </span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_onKernelResponse" href="#_onKernelResponse">onKernelResponse</a>(FilterResponseEvent <span class="php-var">$event</span>) </span><span id="39" class="l"><a class="l" href="#39">39: </a> { </span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$event</span>-&gt;isMasterRequest()) { </span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-keyword1">return</span>; </span><span id="42" class="l"><a class="l" href="#42">42: </a> } </span><span id="43" class="l"><a class="l" href="#43">43: </a> </span><span id="44" class="l"><a class="l" href="#44">44: </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">preg_match</span>(<span class="php-quote">'{\bFirePHP/\d+\.\d+\b}'</span>, <span class="php-var">$event</span>-&gt;getRequest()-&gt;headers-&gt;get(<span class="php-quote">'User-Agent'</span>)) </span><span id="45" class="l"><a class="l" href="#45">45: </a> &amp;&amp; !<span class="php-var">$event</span>-&gt;getRequest()-&gt;headers-&gt;has(<span class="php-quote">'X-FirePHP-Version'</span>)) { </span><span id="46" class="l"><a class="l" href="#46">46: </a> </span><span id="47" class="l"><a class="l" href="#47">47: </a> <span class="php-var">$this</span>-&gt;sendHeaders = <span class="php-keyword1">false</span>; </span><span id="48" class="l"><a class="l" href="#48">48: </a> <span class="php-var">$this</span>-&gt;headers = <span class="php-keyword1">array</span>(); </span><span id="49" class="l"><a class="l" href="#49">49: </a> </span><span id="50" class="l"><a class="l" href="#50">50: </a> <span class="php-keyword1">return</span>; </span><span id="51" class="l"><a class="l" href="#51">51: </a> } </span><span id="52" class="l"><a class="l" href="#52">52: </a> </span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-var">$this</span>-&gt;response = <span class="php-var">$event</span>-&gt;getResponse(); </span><span id="54" class="l"><a class="l" href="#54">54: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$this</span>-&gt;headers <span class="php-keyword1">as</span> <span class="php-var">$header</span> =&gt; <span class="php-var">$content</span>) { </span><span id="55" class="l"><a class="l" href="#55">55: </a> <span class="php-var">$this</span>-&gt;response-&gt;headers-&gt;set(<span class="php-var">$header</span>, <span class="php-var">$content</span>); </span><span id="56" class="l"><a class="l" href="#56">56: </a> } </span><span id="57" class="l"><a class="l" href="#57">57: </a> <span class="php-var">$this</span>-&gt;headers = <span class="php-keyword1">array</span>(); </span><span id="58" class="l"><a class="l" href="#58">58: </a> } </span><span id="59" class="l"><a class="l" href="#59">59: </a> </span><span id="60" class="l"><a class="l" href="#60">60: </a> <span class="php-comment">/** </span></span><span id="61" class="l"><a class="l" href="#61">61: </a><span class="php-comment"> * {@inheritdoc} </span></span><span id="62" class="l"><a class="l" href="#62">62: </a><span class="php-comment"> */</span> </span><span id="63" class="l"><a class="l" href="#63">63: </a> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> <a id="_sendHeader" href="#_sendHeader">sendHeader</a>(<span class="php-var">$header</span>, <span class="php-var">$content</span>) </span><span id="64" class="l"><a class="l" href="#64">64: </a> { </span><span id="65" class="l"><a class="l" href="#65">65: </a> <span class="php-keyword1">if</span> (!<span class="php-var">$this</span>-&gt;sendHeaders) { </span><span id="66" class="l"><a class="l" href="#66">66: </a> <span class="php-keyword1">return</span>; </span><span id="67" class="l"><a class="l" href="#67">67: </a> } </span><span id="68" class="l"><a class="l" href="#68">68: </a> </span><span id="69" class="l"><a class="l" href="#69">69: </a> <span class="php-keyword1">if</span> (<span class="php-var">$this</span>-&gt;response) { </span><span id="70" class="l"><a class="l" href="#70">70: </a> <span class="php-var">$this</span>-&gt;response-&gt;headers-&gt;set(<span class="php-var">$header</span>, <span class="php-var">$content</span>); </span><span id="71" class="l"><a class="l" href="#71">71: </a> } <span class="php-keyword1">else</span> { </span><span id="72" class="l"><a class="l" href="#72">72: </a> <span class="php-var">$this</span>-&gt;headers[<span class="php-var">$header</span>] = <span class="php-var">$content</span>; </span><span id="73" class="l"><a class="l" href="#73">73: </a> } </span><span id="74" class="l"><a class="l" href="#74">74: </a> } </span><span id="75" class="l"><a class="l" href="#75">75: </a> </span><span id="76" class="l"><a class="l" href="#76">76: </a> <span class="php-comment">/** </span></span><span id="77" class="l"><a class="l" href="#77">77: </a><span class="php-comment"> * Override default behavior since we check the user agent in onKernelResponse </span></span><span id="78" class="l"><a class="l" href="#78">78: </a><span class="php-comment"> */</span> </span><span id="79" class="l"><a class="l" href="#79">79: </a> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> <a id="_headersAccepted" href="#_headersAccepted">headersAccepted</a>() </span><span id="80" class="l"><a class="l" href="#80">80: </a> { </span><span id="81" class="l"><a class="l" href="#81">81: </a> <span class="php-keyword1">return</span> <span class="php-keyword1">true</span>; </span><span id="82" class="l"><a class="l" href="#82">82: </a> } </span><span id="83" class="l"><a class="l" href="#83">83: </a>} </span><span id="84" class="l"><a class="l" href="#84">84: </a></span></code></pre> <div id="footer"> seip API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> </div> </div> </div> </body> </html>
Tecnocreaciones/VzlaGovernmentTemplateDeveloperSeed
api/source-class-Symfony.Bridge.Monolog.Handler.FirePHPHandler.html
HTML
mit
164,618
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>debug.js - binnng</title> <script type="text/javascript" src="debug.js"></script> <meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no"> </head> <body style="background: #eee"> <script type="text/javascript"> var test = { 1: "value1", "2": "value2", count: 3, person: [ { id: 1, name: "张三" }, { id: 2, name: "李四" } ], object: { //对象结构JSON对象 id: 1, msg: "对象里的对象" } }; debug(111); debug.success(test); debug.success("This is success message:)"); debug.error("This is error message:)"); debug.log("This is primary message:)"); debug.log({a: 1, b: 2}); debug.log([1,2,3]); </script> </body> </html>
binnng/debug.js
demo.html
HTML
mit
977
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Module mt_handler_behaviour</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc"> </head> <body bgcolor="white"> <div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div> <hr> <h1>Module mt_handler_behaviour</h1> <ul class="index"><li><a href="#description">Description</a></li></ul> Handler behaviour. <p>Copyright © (C) 2017, Dmitry Amosov</p> <p><b>Authors:</b> Dmitry Amosov (<a href="mailto:gisterezis@gmail.com"><tt>gisterezis@gmail.com</tt></a>).</p> <h2><a name="description">Description</a></h2> Handler behaviour. Handler have to register supported messages in dispatcher. The callback will be called by dispatcher once one of supported messages is received.<hr> <div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div> <p><i>Generated by EDoc, Sep 15 2017, 02:20:34.</i></p> </body> </html>
jitkit/mt_veon
doc/mt_handler_behaviour.html
HTML
mit
1,579
var group__freemaster__demo = [ [ "FreeMASTER Demo Introduction", "group__freemaster__demo__introduction.html", "group__freemaster__demo__introduction" ], [ "FreeMASTER Demo User's Guide", "group__freemaster__demo__user__guide.html", "group__freemaster__demo__user__guide" ] ];
linwenjian/Quadcopter_Will
Software/SDK1_1/doc/Kinetis SDK Demo Applications User's Guide/group__freemaster__demo.js
JavaScript
mit
285
var wru = require('wru'); var collection = []; var functions = require('./..'); var setBit = functions.setBit; var resetBit = functions.resetBit; var isSetBit = functions.isSetBit; var toggleBit = functions.toggleBit; var result; collection[collection.length] = function() { var bitMask = 5; // 1 + 0 + 4 wru.assert("setBit test 1", setBit(bitMask, 2) === 7); wru.assert("setBit test 2", setBit(bitMask, 4) === 5); }; collection[collection.length] = function() { var bitMask = 5; // 1 + 0 + 4 wru.assert("resetBit test 1", resetBit(bitMask, 2) === 5); wru.assert("resetBit test 2", resetBit(bitMask, 4) === 1); }; collection[collection.length] = function() { var bitMask = 5; // 1 + 0 + 4 wru.assert("isSetBit test 1", isSetBit(bitMask, 2) === false); wru.assert("isSetBit test 2", isSetBit(bitMask, 4) === true); }; collection[collection.length] = function() { var bitMask = 5; // 1 + 0 + 4 wru.assert("toggleBit test 1", toggleBit(bitMask, 2) == 7); wru.assert("toggleBit test 2", toggleBit(bitMask, 4) == 1); }; wru.test(collection);
bcoop713/hugo-slick
node_modules/gulp-cssimport/node_modules/useful-functions.js/test/bitFunctions.js
JavaScript
mit
1,053
// Copyright 2014, Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package vtctlclienttest contains the testsuite against which each // RPC implementation of the vtctlclient interface must be tested. package vtctlclienttest // NOTE: This file is not test-only code because it is referenced by tests in // other packages and therefore it has to be regularly visible. // NOTE: This code is in its own package such that its dependencies (e.g. // zookeeper) won't be drawn into production binaries as well. import ( "io" "strings" "testing" "time" "golang.org/x/net/context" "github.com/youtube/vitess/go/vt/logutil" "github.com/youtube/vitess/go/vt/tabletmanager/tmclient" "github.com/youtube/vitess/go/vt/topo" "github.com/youtube/vitess/go/vt/topo/memorytopo" "github.com/youtube/vitess/go/vt/vtctl/vtctlclient" // import the gRPC client implementation for tablet manager _ "github.com/youtube/vitess/go/vt/tabletmanager/grpctmclient" topodatapb "github.com/youtube/vitess/go/vt/proto/topodata" ) func init() { // enforce we will use the right protocol (gRPC) (note the // client is unused, but it is initialized, so it needs to exist) *tmclient.TabletManagerProtocol = "grpc" } // CreateTopoServer returns the test topo server properly configured func CreateTopoServer(t *testing.T) topo.Server { return memorytopo.NewServer("cell1") } // TestSuite runs the test suite on the given topo server and client func TestSuite(t *testing.T, ts topo.Server, client vtctlclient.VtctlClient) { ctx := context.Background() // Create a fake tablet tablet := &topodatapb.Tablet{ Alias: &topodatapb.TabletAlias{Cell: "cell1", Uid: 1}, Hostname: "localhost", Ip: "10.11.12.13", PortMap: map[string]int32{ "vt": 3333, "mysql": 3334, }, Tags: map[string]string{"tag": "value"}, Keyspace: "test_keyspace", Type: topodatapb.TabletType_MASTER, } if err := ts.CreateTablet(ctx, tablet); err != nil { t.Errorf("CreateTablet: %v", err) } // run a command that's gonna return something on the log channel stream, err := client.ExecuteVtctlCommand(ctx, []string{"ListAllTablets", "cell1"}, 30*time.Second) if err != nil { t.Fatalf("Remote error: %v", err) } got, err := stream.Recv() if err != nil { t.Fatalf("failed to get first line: %v", err) } expected := "cell1-0000000001 test_keyspace <null> master localhost:3333 localhost:3334 [tag: \"value\"]\n" if logutil.EventString(got) != expected { t.Errorf("Got unexpected log line '%v' expected '%v'", got.String(), expected) } got, err = stream.Recv() if err != io.EOF { t.Errorf("Didn't get end of log stream: %v %v", got, err) } // run a command that's gonna fail stream, err = client.ExecuteVtctlCommand(ctx, []string{"ListAllTablets", "cell2"}, 30*time.Second) if err != nil { t.Fatalf("Remote error: %v", err) } got, err = stream.Recv() expected = "node doesn't exist" if err == nil || !strings.Contains(err.Error(), expected) { t.Fatalf("Unexpected remote error, got: '%v' was expecting to find '%v'", err, expected) } // run a command that's gonna panic stream, err = client.ExecuteVtctlCommand(ctx, []string{"Panic"}, 30*time.Second) if err != nil { t.Fatalf("Remote error: %v", err) } got, err = stream.Recv() expected1 := "this command panics on purpose" expected2 := "uncaught vtctl panic" if err == nil || !strings.Contains(err.Error(), expected1) || !strings.Contains(err.Error(), expected2) { t.Fatalf("Unexpected remote error, got: '%v' was expecting to find '%v' and '%v'", err, expected1, expected2) } // and clean up the tablet if err := ts.DeleteTablet(ctx, tablet.Alias); err != nil { t.Errorf("DeleteTablet: %v", err) } }
derekstavis/bluntly
vendor/github.com/youtube/vitess/go/vt/vtctl/vtctlclienttest/client.go
GO
mit
3,810
<?php namespace paslandau\ComparisonUtility; class EqualityComperator extends AbstractBaseComperator implements ComperatorInterface { const COMPARE_FUNCTION_EQUALITY = "=="; const COMPARE_FUNCTION_IDENTITY = "==="; const COMPARE_FUNCTION_NOT_EQUALITY = "!="; const COMPARE_FUNCTION_NOT_IDENTITY = "!=="; /** * * @var string */ public $function; /** * @param string $function . Member of self::COMPARE_FUNCTION_* * @param mixed $valueToTransformNullTo [optional]. Default: false. */ public function __construct($function, $valueToTransformNullTo = null) { parent::__construct($valueToTransformNullTo); $constants = (new \ReflectionClass(__CLASS__))->getConstants(); if (!in_array($function, $constants)) { throw new \InvalidArgumentException("'$function' unknown. Possible values: " . implode(", ", $constants)); } $this->function = $function; } /** * @param mixed|null $compareValue * @param mixed|null $expectedValue * @throws \UnexpectedValueException if $this->function is unknown. * @return boolean. true if $compareValue equals $expectedValue according to $this->function. */ public function compare($compareValue = null, $expectedValue = null) { parent::updateNullValues($compareValue, $expectedValue); switch ($this->function) { case self::COMPARE_FUNCTION_EQUALITY: { $actual = $compareValue == $expectedValue; } break; case self::COMPARE_FUNCTION_IDENTITY: { $actual = $compareValue === $expectedValue; } break; case self::COMPARE_FUNCTION_NOT_EQUALITY: { $actual = $compareValue != $expectedValue; } break; case self::COMPARE_FUNCTION_NOT_IDENTITY: { $actual = $compareValue !== $expectedValue; } break; default: { $constants = (new \ReflectionClass(__CLASS__))->getConstants(); throw new \UnexpectedValueException("'$this->function' unknown. Possible values: " . implode(", ", $constants)); } } return $actual; } } ?>
paslandau/comparison-utility
src/EqualityComperator.php
PHP
mit
2,362
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.12"/> <title>OpenCV: cv::cudev::atan_func&lt; T &gt; Struct Template Reference</title> <link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" /> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../search/searchdata.js"></script> <script type="text/javascript" src="../../search/search.js"></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"], jax: ["input/TeX","output/HTML-CSS"], }); //<![CDATA[ MathJax.Hub.Config( { TeX: { Macros: { matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9], fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4], forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6], vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3], vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9], hdotsfor: ["\\dots", 1], mathbbm: ["\\mathbb{#1}", 1], bordermatrix: ["\\matrix{#1}", 1] } } } ); //]]> </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> <link href="../../stylesheet.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <!--#include virtual="/google-search.html"--> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">OpenCV &#160;<span id="projectnumber">3.2.0</span> </div> <div id="projectbrief">Open Source Computer Vision</div> </td> </tr> </tbody> </table> </div> <script type="text/javascript"> //<![CDATA[ function getLabelName(innerHTML) { var str = innerHTML.toLowerCase(); // Replace all '+' with 'p' str = str.split('+').join('p'); // Replace all ' ' with '_' str = str.split(' ').join('_'); // Replace all '#' with 'sharp' str = str.split('#').join('sharp'); // Replace other special characters with 'ascii' + code for (var i = 0; i < str.length; i++) { var charCode = str.charCodeAt(i); if (!(charCode == 95 || (charCode > 96 && charCode < 123) || (charCode > 47 && charCode < 58))) str = str.substr(0, i) + 'ascii' + charCode + str.substr(i + 1); } return str; } function addToggle() { var $getDiv = $('div.newInnerHTML').last(); var buttonName = $getDiv.html(); var label = getLabelName(buttonName.trim()); $getDiv.attr("title", label); $getDiv.hide(); $getDiv = $getDiv.next(); $getDiv.attr("class", "toggleable_div label_" + label); $getDiv.hide(); } //]]> </script> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "../../search",false,'Search'); </script> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> $(function() { initMenu('../../',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../df/d1d/namespacecv_1_1cudev.html">cudev</a></li><li class="navelem"><a class="el" href="../../df/d91/structcv_1_1cudev_1_1atan__func.html">atan_func</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="../../d1/d88/structcv_1_1cudev_1_1atan__func-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">cv::cudev::atan_func&lt; T &gt; Struct Template Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> &raquo; <a class="el" href="../../d2/d3c/group__core__opengl.html">OpenGL interoperability</a> &raquo; <a class="el" href="../../d1/d1e/group__cuda.html">CUDA-accelerated Computer Vision</a> &raquo; <a class="el" href="../../df/dfc/group__cudev.html">Device layer</a></div></div> </div> </div><!--header--> <div class="contents"> <p><code>#include &quot;functional.hpp&quot;</code></p> <div class="dynheader"> Inheritance diagram for cv::cudev::atan_func&lt; T &gt;:</div> <div class="dyncontent"> <div class="center"> <img src="../../df/d91/structcv_1_1cudev_1_1atan__func.png" usemap="#cv::cudev::atan_5Ffunc_3C_20T_20_3E_map" alt=""/> <map id="cv::cudev::atan_5Ffunc_3C_20T_20_3E_map" name="cv::cudev::atan_func&lt; T &gt;_map"> <area href="../../df/d11/structcv_1_1cudev_1_1unary__function.html" alt="cv::cudev::unary_function&lt; T, functional_detail::FloatType&lt; T &gt;::type &gt;" shape="rect" coords="0,0,413,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aaf59131d17cd6f8e0460b27ab2c3a592"><td class="memItemLeft" align="right" valign="top">__device__ __forceinline__ <a class="el" href="../../d8/d4e/structcv_1_1cudev_1_1functional__detail_1_1FloatType.html">functional_detail::FloatType</a>&lt; T &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d91/structcv_1_1cudev_1_1atan__func.html#aaf59131d17cd6f8e0460b27ab2c3a592">operator()</a> (typename <a class="el" href="../../d7/d97/structcv_1_1cudev_1_1TypeTraits.html">TypeTraits</a>&lt; T &gt;::parameter_type a) const</td></tr> <tr class="separator:aaf59131d17cd6f8e0460b27ab2c3a592"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_structcv_1_1cudev_1_1unary__function"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structcv_1_1cudev_1_1unary__function')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../df/d11/structcv_1_1cudev_1_1unary__function.html">cv::cudev::unary_function&lt; T, functional_detail::FloatType&lt; T &gt;::type &gt;</a></td></tr> <tr class="memitem:ae9c3b1479fca7f4d678999a91a436d6e inherit pub_types_structcv_1_1cudev_1_1unary__function"><td class="memItemLeft" align="right" valign="top">typedef T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d11/structcv_1_1cudev_1_1unary__function.html#ae9c3b1479fca7f4d678999a91a436d6e">argument_type</a></td></tr> <tr class="separator:ae9c3b1479fca7f4d678999a91a436d6e inherit pub_types_structcv_1_1cudev_1_1unary__function"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ac12d58b4d4e08147fa96a3557207457e inherit pub_types_structcv_1_1cudev_1_1unary__function"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="../../d8/d4e/structcv_1_1cudev_1_1functional__detail_1_1FloatType.html">functional_detail::FloatType</a>&lt; T &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d11/structcv_1_1cudev_1_1unary__function.html#ac12d58b4d4e08147fa96a3557207457e">result_type</a></td></tr> <tr class="separator:ac12d58b4d4e08147fa96a3557207457e inherit pub_types_structcv_1_1cudev_1_1unary__function"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> <h2 class="groupheader">Member Function Documentation</h2> <a id="aaf59131d17cd6f8e0460b27ab2c3a592"></a> <h2 class="memtitle"><span class="permalink"><a href="#aaf59131d17cd6f8e0460b27ab2c3a592">&sect;&nbsp;</a></span>operator()()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template&lt;typename T &gt; </div> <table class="memname"> <tr> <td class="memname">__device__ __forceinline__ <a class="el" href="../../d8/d4e/structcv_1_1cudev_1_1functional__detail_1_1FloatType.html">functional_detail::FloatType</a>&lt;T&gt;::type <a class="el" href="../../df/d91/structcv_1_1cudev_1_1atan__func.html">cv::cudev::atan_func</a>&lt; T &gt;::operator() </td> <td>(</td> <td class="paramtype">typename <a class="el" href="../../d7/d97/structcv_1_1cudev_1_1TypeTraits.html">TypeTraits</a>&lt; T &gt;::parameter_type&#160;</td> <td class="paramname"><em>a</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>cudev/include/opencv2/cudev/functional/<a class="el" href="../../d2/db0/cudev_2include_2opencv2_2cudev_2functional_2functional_8hpp.html">functional.hpp</a></li> </ul> </div><!-- contents --> <!-- HTML footer for doxygen 1.8.6--> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Dec 23 2016 13:00:27 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.12 </small></address> <script type="text/javascript"> //<![CDATA[ function addButton(label, buttonName) { var b = document.createElement("BUTTON"); b.innerHTML = buttonName; b.setAttribute('class', 'toggleable_button label_' + label); b.onclick = function() { $('.toggleable_button').css({ border: '2px outset', 'border-radius': '4px' }); $('.toggleable_button.label_' + label).css({ border: '2px inset', 'border-radius': '4px' }); $('.toggleable_div').css('display', 'none'); $('.toggleable_div.label_' + label).css('display', 'block'); }; b.style.border = '2px outset'; b.style.borderRadius = '4px'; b.style.margin = '2px'; return b; } function buttonsToAdd($elements, $heading, $type) { if ($elements.length === 0) { $elements = $("" + $type + ":contains(" + $heading.html() + ")").parent().prev("div.newInnerHTML"); } var arr = jQuery.makeArray($elements); var seen = {}; arr.forEach(function(e) { var txt = e.innerHTML; if (!seen[txt]) { $button = addButton(e.title, txt); if (Object.keys(seen).length == 0) { var linebreak1 = document.createElement("br"); var linebreak2 = document.createElement("br"); ($heading).append(linebreak1); ($heading).append(linebreak2); } ($heading).append($button); seen[txt] = true; } }); return; } $("h2").each(function() { $heading = $(this); $smallerHeadings = $(this).nextUntil("h2").filter("h3").add($(this).nextUntil("h2").find("h3")); if ($smallerHeadings.length) { $smallerHeadings.each(function() { var $elements = $(this).nextUntil("h3").filter("div.newInnerHTML"); buttonsToAdd($elements, $(this), "h3"); }); } else { var $elements = $(this).nextUntil("h2").filter("div.newInnerHTML"); buttonsToAdd($elements, $heading, "h2"); } }); $(".toggleable_button").first().click(); var $clickDefault = $('.toggleable_button.label_python').first(); if ($clickDefault.length) { $clickDefault.click(); } $clickDefault = $('.toggleable_button.label_cpp').first(); if ($clickDefault.length) { $clickDefault.click(); } //]]> </script> </body> </html>
lucasbrsa/OpenCV-3.2
docs/3.2/df/d91/structcv_1_1cudev_1_1atan__func.html
HTML
mit
13,014
<?php $has_message = FALSE; if($this->session->flashdata("notice")):?> <div id="notice" class="message notice" data-clipboard-target="#notice"> <h2>NOTICE</h2><div><?php echo $this->session->flashdata('notice');?></div></div> <?php $has_message = TRUE;?> <?php endif;?> <?php if($this->session->flashdata("alert")):?> <div id="alert" class="message alert" data-clipboard-target="#alert"><h2>ALERT</h2><div><?php echo $this->session->flashdata('alert');?></div></div> <?php $has_message = TRUE;?> <?php endif;?>
fsmn/plantsale
src/application/views/page/messages.php
PHP
mit
515
/* Copyright (c) 2013 Aaron Stone Licensed under The MIT License (MIT): 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. */ #include <Windows.h> #include "img2ico_dll.h" #include "img2ico.h" #define WIN32_LEAN_AND_MEAN BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { bool bExit = false; switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: // A process is loading the DLL. break; case DLL_THREAD_ATTACH: // A process is creating a new thread. break; case DLL_THREAD_DETACH: // A thread exits normally. break; case DLL_PROCESS_DETACH: // A process unloads the DLL. break; } while (!bExit) { // Prepare converter } return TRUE; }
engineer0x47/img2ico
src/dllmain.cpp
C++
mit
1,683
const squads = (state = [], action) => { return state; } export default squads;
sunpietro/LeagueManager
src/reducers/squads.js
JavaScript
mit
85
<!DOCTYPE html> <html> <head> <script type="text/javascript"> // Wait for the page to load first window.onload = function() { var a = document.getElementById("home"); //Set code to run when the link is clicked // by assigning a function to "onclick" a.onclick = function() { ("section").html("home.html"); return false; } } </script> <style> .imgs { height: 110px; width: 100px; } .mylist li { display: block; float: left; margin: 0 10px 0 0; } .center { margin: auto; width: 60%; border:3px solid #8AC007; padding: 10px; } #header { background-color:#D62A42; color:white; padding:10px; } #name { color:white; text-align: left-top margin-top: -40px } #nav { line-height:30px; background-color:rgba(0,0,0,.7); height:400px; color:white; width:110px; float:left; padding:10px; } #section { width:70%; float:left; padding:5px; } #footer { background-color:black; color:white; clear:both; text-align:right; padding:10px; } </style> </head> <body> <div class="center"> <div id="header"> <table style="width:60%"> <tr> <td rowspan="2"><img src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" height="100" width="100"/></td> <td style="font-size: 25px"><div id ="name"><font size="6">Qandeel Rasheed Abbasi</font><br> <font size="4">Experienced Web Developer</font><br></div> </td> </tr> </table> </div> <div id="nav"> <a id="home" href="home.html"><font color=white>HOME</font></a><br> <a id="home" href="about.html"><font color=white>ABOUT</font></a><br> <a id="home" href="gallery.html"><font color=white>GALLERY</font></a><br> <a id="home" href="contact.html"><font color=white>CONTACT ME</font></a> </div> <div id="section"> <h2>GALLERY</h2> <ul class="mylist"> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> <li><img class="imgs" src="http://powerlearningny.com/wp-content/uploads/2014/04/blank_male.png" /></li> </ul> </div> <div id="footer"> Qandeel Rasheed Abbasi<br> NUST H-12 Islamabad Pakistan <br>Contact# 03356565432 </div> </div> </body> </html>
qandeelabbassi/Web-Engineering-Tasks
WebEngineeering_Lab_Portfolio/gallery.html
HTML
mit
3,363
--- layout: post title: Setup sftp plugin for sublime excerpt: SFTP setting protocal modified: categories: articles tags: [Mac] comments: true share: true --- I do not want to use [vi](https://en.wikipedia.org/wiki/Vi) in remote server, especially when dealing with large amounts of coding work. Instead, I want to write code in my laptop with [sublime](https://www.sublimetext.com/), and make it simultaneously sync to a remote server. [SFTP](https://wbond.net/sublime_packages/sftp), a plugin for sublime can deal with the problem above, which can map a local folder/file to remote folder/file. Here is how I setup this plugin. * Table of Contents {:toc} ## Install Package Control Package * Open Sublime console by pressing `Ctrl` +`~` * Copy the long command below and press `Enter` Sublime Text 2 {% highlight bash %} import urllib2,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation') {% endhighlight %} Sublime Text 3 {% highlight bash %} import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) {% endhighlight %} * Restart Sublime ## Install SFTP * Press `Command`/`Control` + `Shift` +`P` * Type `SFTP` and install ## Setup config file in json format * Drag a folder to sublime and this folder will show up in the sidebar * Right click on this folder and select `SFTP/FTP` -> `Map to Remote...` * A file named `sftp-config.json` will show up in this folder * Change four field with your own customization: `host`, `user`, `password` and `remote_path` , save it. {% highlight json %} { // The tab key will cycle through the settings when first created // Visit http://wbond.net/sublime_packages/sftp/settings for help // sftp, ftp or ftps "type": "sftp", "save_before_upload": true, "upload_on_save": false, "sync_down_on_open": false, "sync_skip_deletes": false, "sync_same_age": true, "confirm_downloads": false, "confirm_sync": true, "confirm_overwrite_newer": false, "host": "yourip", <- Here is where you want to change "user": "yourname", <- Here is where you want to change "password": "yourpassword", <- Here is where you want to change //"port": "22", "remote_path": "yourpath", <- Here is where you want to change "ignore_regexes": [ "\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json", "sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/", "\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini" ], //"file_permissions": "664", //"dir_permissions": "775", //"extra_list_connections": 0, "connect_timeout": 30, //"keepalive": 120, //"ftp_passive_mode": true, //"ftp_obey_passive_host": false, //"ssh_key_file": "~/.ssh/id_rsa", //"sftp_flags": ["-F", "/path/to/ssh_config"], //"preserve_modification_times": false, //"remote_time_offset_in_hours": 0, //"remote_encoding": "utf-8", //"remote_locale": "C", //"allow_config_upload": false, } {% endhighlight %} ## Enjoy coding * Right click your code in this folder and choose `SFTP/FTP` * Then you can do whatever you want to do, such as `Upload File`, `Download File` ... --- Published under <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">(CC) BY-NC-SA </a>
shanguangyu/blog
_posts/articles/2017-09-26-setup-sftp-plugin-for-sublime.md
Markdown
mit
4,278
#users users = [ {email: 'gigi@hotmail.com', name: "Giovanna", password: "1234"}, {email: 'jfizi@hotmail.com', name: "Joseph", password: "1234"}, {email: 'jojo@hotmail.com', name: "Jordan", password: "1234"}, {email: 'sheldor@hotmail.com', name: "Sheldon", password: "1234"} ] users.each {|user| User.create(user)} #decks pokemon = [ {name: 'pokemon', creator_id: 1} ] pokemon_deck = Deck.create({name: 'pokemon', creator_id: 1, category_id: 1}) #cards pokemon_cards = [{question: 'name the pokemon that looks like an electric mouse', answer: 'pikachu',deck_id: 1},{question: 'name the first pokemon',answer: 'bulbasaur',deck_id: 1}] pokemon_cards.each {|card| Card.create(card)} #categories Category.create(name: 'anime')
gechro/web_flash_cards
db/seeds.rb
Ruby
mit
749
namespace Zuehlke.AppMonitor.Server.Api.Models { public class PageQueryDto<T> { public int Skip { get; set; } = 0; public int Top { get; set; } = 50; } }
lehmamic/AppMonitor
src/Zuehlke.AppMonitor.Server/Api/Models/PageQueryDto.cs
C#
mit
186
<?php namespace Burrow\LeagueEvent; use Burrow\Serializer\DeserializeException; use League\Event\EventInterface; interface EventDeserializer { /** * @param string $message * * @return EventInterface * * @throws DeserializeException */ public function deserialize($message); }
SelrahcD/burrow-tools
src/LeagueEvent/EventDeserializer.php
PHP
mit
316
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>V8 API Reference Guide for node.js v0.9.1: Class Members</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">V8 API Reference Guide for node.js v0.9.1 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> <div id="navrow3" class="tabs2"> <ul class="tablist"> <li class="current"><a href="functions.html"><span>All</span></a></li> <li><a href="functions_func.html"><span>Functions</span></a></li> <li><a href="functions_vars.html"><span>Variables</span></a></li> <li><a href="functions_type.html"><span>Typedefs</span></a></li> <li><a href="functions_enum.html"><span>Enumerations</span></a></li> </ul> </div> <div id="navrow4" class="tabs3"> <ul class="tablist"> <li><a href="functions.html#index_a"><span>a</span></a></li> <li><a href="functions_b.html#index_b"><span>b</span></a></li> <li><a href="functions_c.html#index_c"><span>c</span></a></li> <li><a href="functions_d.html#index_d"><span>d</span></a></li> <li><a href="functions_e.html#index_e"><span>e</span></a></li> <li><a href="functions_f.html#index_f"><span>f</span></a></li> <li><a href="functions_g.html#index_g"><span>g</span></a></li> <li><a href="functions_h.html#index_h"><span>h</span></a></li> <li><a href="functions_i.html#index_i"><span>i</span></a></li> <li><a href="functions_k.html#index_k"><span>k</span></a></li> <li><a href="functions_l.html#index_l"><span>l</span></a></li> <li><a href="functions_m.html#index_m"><span>m</span></a></li> <li><a href="functions_n.html#index_n"><span>n</span></a></li> <li><a href="functions_o.html#index_o"><span>o</span></a></li> <li><a href="functions_p.html#index_p"><span>p</span></a></li> <li><a href="functions_r.html#index_r"><span>r</span></a></li> <li><a href="functions_s.html#index_s"><span>s</span></a></li> <li><a href="functions_t.html#index_t"><span>t</span></a></li> <li><a href="functions_u.html#index_u"><span>u</span></a></li> <li><a href="functions_v.html#index_v"><span>v</span></a></li> <li><a href="functions_w.html#index_w"><span>w</span></a></li> <li class="current"><a href="functions_~.html#index_~"><span>~</span></a></li> </ul> </div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="contents"> <div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div> <h3><a class="anchor" id="index_~"></a>- ~ -</h3><ul> <li>~ExternalAsciiStringResource() : <a class="el" href="classv8_1_1_string_1_1_external_ascii_string_resource.html#acd8790ae14be1b90794b363d24a147d0">v8::String::ExternalAsciiStringResource</a> </li> <li>~ExternalStringResource() : <a class="el" href="classv8_1_1_string_1_1_external_string_resource.html#a6b7ef9e33a47059092e1447b10c35416">v8::String::ExternalStringResource</a> </li> <li>~TryCatch() : <a class="el" href="classv8_1_1_try_catch.html#a2c9ad4b40d17dd31c6dd020736b30679">v8::TryCatch</a> </li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Aug 11 2015 23:48:46 for V8 API Reference Guide for node.js v0.9.1 by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
v8-dox/v8-dox.github.io
bf16d92/html/functions_~.html
HTML
mit
6,696
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="../circle.css" rel="stylesheet"> </head> <body> <div class="container"> <div class="section"> <h1 class="header center orange-text">User agent detail</h1> <div class="row center"> <h5 class="header light"> Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 </h5> </div> </div> <div class="section"> <table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I727R</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a> <!-- Modal Structure --> <div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">Array ( [user_agent_string] => Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 [family] => Samsung SGH-I727R [brand] => Samsung [model] => SGH-I727R ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Chrome 26.0</td><td>WebKit </td><td>Android 4.1</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.021</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a> <!-- Modal Structure --> <div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapFull result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.1.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/26\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.1*) applewebkit/* (khtml* like gecko) chrome/26.*safari/* [parent] => Chrome 26.0 for Android [comment] => Chrome 26.0 [browser] => Chrome [browser_type] => Browser [browser_bits] => 32 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 26.0 [majorver] => 26 [minorver] => 0 [platform] => Android [platform_version] => 4.1 [platform_description] => Android OS [platform_bits] => 32 [platform_maker] => Google Inc [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => 1 [iframes] => 1 [tables] => 1 [cookies] => 1 [backgroundsounds] => [javascript] => 1 [vbscript] => [javaapplets] => [activexcontrols] => [ismobiledevice] => 1 [istablet] => [issyndicationreader] => [crawler] => [isfake] => [isanonymized] => [ismodified] => [cssversion] => 3 [aolversion] => 0 [device_name] => general Mobile Phone [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => general Mobile Phone [device_brand_name] => unknown [renderingengine_name] => WebKit [renderingengine_version] => unknown [renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3. [renderingengine_maker] => Apple Inc ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td><td>Chrome </td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.009</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a> <!-- Modal Structure --> <div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapLite result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/.*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/*safari/* [parent] => Chrome Generic for Android [comment] => Chrome Generic [browser] => Chrome [browser_type] => unknown [browser_bits] => 0 [browser_maker] => unknown [browser_modus] => unknown [version] => 0.0 [majorver] => 0 [minorver] => 0 [platform] => Android [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => false [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => unknown [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>Chrome 26.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.054</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a> <!-- Modal Structure --> <div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapPhp result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/26\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/26.*safari/* [parent] => Chrome 26.0 for Android [comment] => Chrome 26.0 [browser] => Chrome [browser_type] => unknown [browser_bits] => 0 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 26.0 [majorver] => 26 [minorver] => 0 [platform] => Android [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Chrome 26.0.1410.58</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a> <!-- Modal Structure --> <div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => Android [browser] => Chrome [version] => 26.0.1410.58 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Chrome 26.0.1410.58</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.1.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a> <!-- Modal Structure --> <div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>JenssegersAgent result detail</h4> <p><pre><code class="php">Array ( [browserName] => Chrome [browserVersion] => 26.0.1410.58 [osName] => AndroidOS [osVersion] => 4.1.2 [deviceModel] => Samsung [isMobile] => 1 [isRobot] => [botName] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Chrome Mobile 26.0.1410.58</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I727R</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.28402</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a> <!-- Modal Structure --> <div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [mobile_screen_height] => 800 [is_mobile] => 1 [type] => mobile-browser [mobile_brand] => Samsung [mobile_model] => SGH-I727R [version] => 26.0.1410.58 [is_android] => 1 [browser_name] => Chrome Mobile [operating_system_family] => Android [operating_system_version] => 4.1.2 [is_ios] => [producer] => Google Inc. [operating_system] => Android 4.1.x Jelly Bean [mobile_screen_width] => 480 [mobile_browser] => Android Webkit ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Chrome Mobile 26.0</td><td>WebKit </td><td>Android 4.1</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I727R</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.006</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a> <!-- Modal Structure --> <div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>PiwikDeviceDetector result detail</h4> <p><pre><code class="php">Array ( [client] => Array ( [type] => browser [name] => Chrome Mobile [short_name] => CM [version] => 26.0 [engine] => WebKit ) [operatingSystem] => Array ( [name] => Android [short_name] => AND [version] => 4.1 [platform] => ) [device] => Array ( [brand] => SA [brandName] => Samsung [model] => SGH-I727R [device] => 1 [deviceName] => smartphone ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => 1 [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => 1 [isTablet] => [isTV] => [isDesktop] => [isMobile] => 1 [isTouchEnabled] => ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Chrome 26.0.1410.58</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a> <!-- Modal Structure --> <div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>SinergiBrowserDetector result detail</h4> <p><pre><code class="php">Array ( [browser] => Sinergi\BrowserDetector\Browser Object ( [userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 ) [name:Sinergi\BrowserDetector\Browser:private] => Chrome [version:Sinergi\BrowserDetector\Browser:private] => 26.0.1410.58 [isRobot:Sinergi\BrowserDetector\Browser:private] => [isChromeFrame:Sinergi\BrowserDetector\Browser:private] => [isFacebookWebView:Sinergi\BrowserDetector\Browser:private] => [isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] => ) [operatingSystem] => Sinergi\BrowserDetector\Os Object ( [name:Sinergi\BrowserDetector\Os:private] => Android [version:Sinergi\BrowserDetector\Os:private] => 4.1.2 [isMobile:Sinergi\BrowserDetector\Os:private] => 1 [userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 ) ) [device] => Sinergi\BrowserDetector\Device Object ( [name:Sinergi\BrowserDetector\Device:private] => unknown [userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 ) ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Chrome Mobile 26.0.1410</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I727R</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.003</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a> <!-- Modal Structure --> <div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">UAParser\Result\Client Object ( [ua] => UAParser\Result\UserAgent Object ( [major] => 26 [minor] => 0 [patch] => 1410 [family] => Chrome Mobile ) [os] => UAParser\Result\OperatingSystem Object ( [major] => 4 [minor] => 1 [patch] => 2 [patchMinor] => [family] => Android ) [device] => UAParser\Result\Device Object ( [brand] => Samsung [model] => SGH-I727R [family] => Samsung SGH-I727R ) [originalUserAgent] => Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Chrome 26.0.1410.58</td><td>WebKit 537.31</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.15201</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a> <!-- Modal Structure --> <div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [platform_name] => Android [platform_version] => 4.1.2 [platform_type] => Mobile [browser_name] => Chrome [browser_version] => 26.0.1410.58 [engine_name] => WebKit [engine_version] => 537.31 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.075</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a> <!-- Modal Structure --> <div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentStringCom result detail</h4> <p><pre><code class="php">stdClass Object ( [agent_type] => Browser [agent_name] => Android Webkit Browser [agent_version] => -- [os_type] => Android [os_name] => Android [os_versionName] => [os_versionNumber] => 4.1.2 [os_producer] => [os_producerURL] => [linux_distibution] => Null [agent_language] => [agent_languageTag] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Chrome 26.0.1410.58</td><td>WebKit 537.31</td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Samsung</td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.23701</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a> <!-- Modal Structure --> <div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhatIsMyBrowserCom result detail</h4> <p><pre><code class="php">stdClass Object ( [operating_system_name] => Android [simple_sub_description_string] => [simple_browser_string] => Chrome 26 on Android (Jelly Bean) [browser_version] => 26 [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => stdClass Object ( [System Build] => JZO54K ) [layout_engine_name] => WebKit [detected_addons] => Array ( ) [operating_system_flavour_code] => [hardware_architecture] => [operating_system_flavour] => [operating_system_frameworks] => Array ( ) [browser_name_code] => chrome [operating_system_version] => Jelly Bean [simple_operating_platform_string] => Samsung SGH-I727R [is_abusive] => [layout_engine_version] => 537.31 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => Samsung [operating_system] => Android (Jelly Bean) [operating_system_version_full] => 4.1.2 [operating_platform_code] => SGH-I727R [browser_name] => Chrome [operating_system_name_code] => android [user_agent] => Mozilla/5.0 (Linux; Android 4.1.2; SGH-I727R Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31 [browser_version_full] => 26.0.1410.58 [browser] => Chrome 26 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Chrome Dev 26.0.1410.58</td><td>Webkit 537.31</td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy S II</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.003</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a> <!-- Modal Structure --> <div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [name] => Chrome [version] => 26.0.1410.58 [type] => browser ) [engine] => Array ( [name] => Webkit [version] => 537.31 ) [os] => Array ( [name] => Android [version] => 4.1.2 ) [device] => Array ( [type] => mobile [subtype] => smart [manufacturer] => Samsung [model] => Galaxy S II ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Chrome 26.0.1410.58</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a> <!-- Modal Structure --> <div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Woothee result detail</h4> <p><pre><code class="php">Array ( [name] => Chrome [vendor] => Google [version] => 26.0.1410.58 [category] => smartphone [os] => Android [os_version] => 4.1.2 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Chrome 26.0.1410.58</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SGH-I727R</td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.021</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a> <!-- Modal Structure --> <div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => true [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => true [is_mobile] => true [is_robot] => false [is_smartphone] => true [is_touchscreen] => true [is_wml_preferred] => false [is_xhtmlmp_preferred] => false [is_html_preferred] => true [advertised_device_os] => Android [advertised_device_os_version] => 4.1.2 [advertised_browser] => Chrome [advertised_browser_version] => 26.0.1410.58 [complete_device_name] => Samsung SGH-I727R (Galaxy S II Skyrocket) [device_name] => Samsung Galaxy S II Skyrocket [form_factor] => Smartphone [is_phone] => true [is_app_webview] => false ) [all] => Array ( [brand_name] => Samsung [model_name] => SGH-I727R [unique] => true [ununiqueness_handler] => [is_wireless_device] => true [device_claims_web_support] => true [has_qwerty_keyboard] => true [can_skip_aligned_link_row] => true [uaprof] => http://wap.samsungmobile.com/uaprof/SGH-I727.xml [uaprof2] => [uaprof3] => [nokia_series] => 0 [nokia_edition] => 0 [device_os] => Android [mobile_browser] => Android Webkit [mobile_browser_version] => [device_os_version] => 4.1 [pointing_method] => touchscreen [release_date] => 2012_february [marketing_name] => Galaxy S II Skyrocket [model_extra_info] => [nokia_feature_pack] => 0 [can_assign_phone_number] => true [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => true [softkey_support] => false [table_support] => true [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => true [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => true [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => true [wizards_recommended] => false [image_as_link_support] => false [insert_br_element_after_widget_recommended] => false [wml_can_display_images_and_text_on_same_line] => false [wml_displays_image_in_center] => false [opwv_wml_extensions_support] => false [wml_make_phone_call_string] => wtai://wp/mc; [chtml_display_accesskey] => false [emoji] => false [chtml_can_display_images_and_text_on_same_line] => false [chtml_displays_image_in_center] => false [imode_region] => none [chtml_make_phone_call_string] => tel: [chtml_table_support] => false [xhtml_honors_bgcolor] => true [xhtml_supports_forms_in_table] => true [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => false [xhtml_select_as_radiobutton] => false [xhtml_select_as_popup] => false [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => true [xhtml_supports_css_cell_table_coloring] => true [xhtml_format_as_css_property] => false [xhtml_format_as_attribute] => false [xhtml_nowrap_mode] => false [xhtml_marquee_as_css_property] => false [xhtml_readable_background_color1] => #FFFFFF [xhtml_readable_background_color2] => #FFFFFF [xhtml_allows_disabled_form_elements] => true [xhtml_document_title_support] => true [xhtml_preferred_charset] => iso-8859-1 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => tel: [xhtmlmp_preferred_mime_type] => text/html [xhtml_table_support] => true [xhtml_send_sms_string] => sms: [xhtml_send_mms_string] => mms: [xhtml_file_upload] => supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => full [xhtml_avoid_accesskeys] => true [xhtml_can_embed_video] => none [ajax_support_javascript] => true [ajax_manipulate_css] => true [ajax_support_getelementbyid] => true [ajax_support_inner_html] => true [ajax_xhr_type] => standard [ajax_manipulate_dom] => true [ajax_support_events] => true [ajax_support_event_listener] => true [ajax_preferred_geoloc_api] => w3c_api [xhtml_support_level] => 4 [preferred_markup] => html_web_4_0 [wml_1_1] => false [wml_1_2] => false [wml_1_3] => false [html_wi_w3_xhtmlbasic] => true [html_wi_oma_xhtmlmp_1_0] => true [html_wi_imode_html_1] => false [html_wi_imode_html_2] => false [html_wi_imode_html_3] => false [html_wi_imode_html_4] => false [html_wi_imode_html_5] => false [html_wi_imode_htmlx_1] => false [html_wi_imode_htmlx_1_1] => false [html_wi_imode_compact_generic] => false [html_web_3_2] => true [html_web_4_0] => true [voicexml] => false [multipart_support] => false [total_cache_disable_support] => false [time_to_live_support] => false [resolution_width] => 480 [resolution_height] => 800 [columns] => 25 [max_image_width] => 320 [max_image_height] => 533 [rows] => 21 [physical_screen_width] => 60 [physical_screen_height] => 99 [dual_orientation] => true [density_class] => 1.5 [wbmp] => true [bmp] => false [epoc_bmp] => false [gif_animated] => false [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => true [transparent_png_index] => true [svgt_1_1] => false [svgt_1_1_plus] => false [greyscale] => false [gif] => true [colors] => 65536 [webp_lossy_support] => false [webp_lossless_support] => false [post_method_support] => true [basic_authentication_support] => true [empty_option_value_support] => true [emptyok] => false [nokia_voice_call] => false [wta_voice_call] => false [wta_phonebook] => false [wta_misc] => false [wta_pdc] => false [https_support] => true [phone_id_provided] => false [max_data_rate] => 384 [wifi] => true [sdio] => false [vpn] => false [has_cellular_radio] => true [max_deck_size] => 2000000 [max_url_length_in_requests] => 256 [max_url_length_homepage] => 0 [max_url_length_bookmark] => 0 [max_url_length_cached_page] => 0 [max_no_of_connection_settings] => 0 [max_no_of_bookmarks] => 0 [max_length_of_username] => 0 [max_length_of_password] => 0 [max_object_size] => 0 [downloadfun_support] => false [directdownload_support] => true [inline_support] => false [oma_support] => true [ringtone] => false [ringtone_3gpp] => false [ringtone_midi_monophonic] => false [ringtone_midi_polyphonic] => false [ringtone_imelody] => false [ringtone_digiplug] => false [ringtone_compactmidi] => false [ringtone_mmf] => false [ringtone_rmf] => false [ringtone_xmf] => false [ringtone_amr] => false [ringtone_awb] => false [ringtone_aac] => false [ringtone_wav] => false [ringtone_mp3] => false [ringtone_spmidi] => false [ringtone_qcelp] => false [ringtone_voices] => 1 [ringtone_df_size_limit] => 0 [ringtone_directdownload_size_limit] => 0 [ringtone_inline_size_limit] => 0 [ringtone_oma_size_limit] => 0 [wallpaper] => false [wallpaper_max_width] => 0 [wallpaper_max_height] => 0 [wallpaper_preferred_width] => 0 [wallpaper_preferred_height] => 0 [wallpaper_resize] => none [wallpaper_wbmp] => false [wallpaper_bmp] => false [wallpaper_gif] => false [wallpaper_jpg] => false [wallpaper_png] => false [wallpaper_tiff] => false [wallpaper_greyscale] => false [wallpaper_colors] => 2 [wallpaper_df_size_limit] => 0 [wallpaper_directdownload_size_limit] => 0 [wallpaper_inline_size_limit] => 0 [wallpaper_oma_size_limit] => 0 [screensaver] => false [screensaver_max_width] => 0 [screensaver_max_height] => 0 [screensaver_preferred_width] => 0 [screensaver_preferred_height] => 0 [screensaver_resize] => none [screensaver_wbmp] => false [screensaver_bmp] => false [screensaver_gif] => false [screensaver_jpg] => false [screensaver_png] => false [screensaver_greyscale] => false [screensaver_colors] => 2 [screensaver_df_size_limit] => 0 [screensaver_directdownload_size_limit] => 0 [screensaver_inline_size_limit] => 0 [screensaver_oma_size_limit] => 0 [picture] => false [picture_max_width] => 0 [picture_max_height] => 0 [picture_preferred_width] => 0 [picture_preferred_height] => 0 [picture_resize] => none [picture_wbmp] => false [picture_bmp] => false [picture_gif] => false [picture_jpg] => false [picture_png] => false [picture_greyscale] => false [picture_colors] => 2 [picture_df_size_limit] => 0 [picture_directdownload_size_limit] => 0 [picture_inline_size_limit] => 0 [picture_oma_size_limit] => 0 [video] => false [oma_v_1_0_forwardlock] => false [oma_v_1_0_combined_delivery] => false [oma_v_1_0_separate_delivery] => false [streaming_video] => true [streaming_3gpp] => true [streaming_mp4] => true [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => 10 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => 2 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => 3.0 [streaming_acodec_amr] => nb [streaming_acodec_aac] => lc [streaming_wmv] => none [streaming_preferred_protocol] => rtsp [streaming_preferred_http_protocol] => progressive_download [wap_push_support] => true [connectionless_service_indication] => false [connectionless_service_load] => false [connectionless_cache_operation] => false [connectionoriented_unconfirmed_service_indication] => false [connectionoriented_unconfirmed_service_load] => false [connectionoriented_unconfirmed_cache_operation] => false [connectionoriented_confirmed_service_indication] => false [connectionoriented_confirmed_service_load] => false [connectionoriented_confirmed_cache_operation] => false [utf8_support] => true [ascii_support] => false [iso8859_support] => false [expiration_date] => false [j2me_cldc_1_0] => false [j2me_cldc_1_1] => false [j2me_midp_1_0] => false [j2me_midp_2_0] => false [doja_1_0] => false [doja_1_5] => false [doja_2_0] => false [doja_2_1] => false [doja_2_2] => false [doja_3_0] => false [doja_3_5] => false [doja_4_0] => false [j2me_jtwi] => false [j2me_mmapi_1_0] => false [j2me_mmapi_1_1] => false [j2me_wmapi_1_0] => false [j2me_wmapi_1_1] => false [j2me_wmapi_2_0] => false [j2me_btapi] => false [j2me_3dapi] => false [j2me_locapi] => false [j2me_nokia_ui] => false [j2me_motorola_lwt] => false [j2me_siemens_color_game] => false [j2me_siemens_extension] => false [j2me_heap_size] => 0 [j2me_max_jar_size] => 0 [j2me_storage_size] => 0 [j2me_max_record_store_size] => 0 [j2me_screen_width] => 0 [j2me_screen_height] => 0 [j2me_canvas_width] => 0 [j2me_canvas_height] => 0 [j2me_bits_per_pixel] => 0 [j2me_audio_capture_enabled] => false [j2me_video_capture_enabled] => false [j2me_photo_capture_enabled] => false [j2me_capture_image_formats] => none [j2me_http] => false [j2me_https] => false [j2me_socket] => false [j2me_udp] => false [j2me_serial] => false [j2me_gif] => false [j2me_gif89a] => false [j2me_jpg] => false [j2me_png] => false [j2me_bmp] => false [j2me_bmp3] => false [j2me_wbmp] => false [j2me_midi] => false [j2me_wav] => false [j2me_amr] => false [j2me_mp3] => false [j2me_mp4] => false [j2me_imelody] => false [j2me_rmf] => false [j2me_au] => false [j2me_aac] => false [j2me_realaudio] => false [j2me_xmf] => false [j2me_wma] => false [j2me_3gpp] => false [j2me_h263] => false [j2me_svgt] => false [j2me_mpeg4] => false [j2me_realvideo] => false [j2me_real8] => false [j2me_realmedia] => false [j2me_left_softkey_code] => 0 [j2me_right_softkey_code] => 0 [j2me_middle_softkey_code] => 0 [j2me_select_key_code] => 0 [j2me_return_key_code] => 0 [j2me_clear_key_code] => 0 [j2me_datefield_no_accepts_null_date] => false [j2me_datefield_broken] => false [receiver] => true [sender] => true [mms_max_size] => 614400 [mms_max_height] => 1200 [mms_max_width] => 1600 [built_in_recorder] => false [built_in_camera] => true [mms_jpeg_baseline] => true [mms_jpeg_progressive] => false [mms_gif_static] => true [mms_gif_animated] => true [mms_png] => true [mms_bmp] => true [mms_wbmp] => false [mms_amr] => true [mms_wav] => true [mms_midi_monophonic] => true [mms_midi_polyphonic] => true [mms_midi_polyphonic_voices] => 0 [mms_spmidi] => true [mms_mmf] => false [mms_mp3] => true [mms_evrc] => false [mms_qcelp] => false [mms_ota_bitmap] => false [mms_nokia_wallpaper] => false [mms_nokia_operatorlogo] => false [mms_nokia_3dscreensaver] => false [mms_nokia_ringingtone] => false [mms_rmf] => false [mms_xmf] => false [mms_symbian_install] => false [mms_jar] => false [mms_jad] => false [mms_vcard] => true [mms_vcalendar] => true [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => true [mms_mp4] => true [mms_3gpp] => true [mms_3gpp2] => true [mms_max_frame_rate] => 0 [nokiaring] => false [picturemessage] => false [operatorlogo] => false [largeoperatorlogo] => false [callericon] => false [nokiavcard] => false [nokiavcal] => false [sckl_ringtone] => false [sckl_operatorlogo] => false [sckl_groupgraphic] => false [sckl_vcard] => false [sckl_vcalendar] => false [text_imelody] => false [ems] => false [ems_variablesizedpictures] => false [ems_imelody] => false [ems_odi] => false [ems_upi] => false [ems_version] => 0 [siemens_ota] => false [siemens_logo_width] => 101 [siemens_logo_height] => 29 [siemens_screensaver_width] => 101 [siemens_screensaver_height] => 50 [gprtf] => false [sagem_v1] => false [sagem_v2] => false [panasonic] => false [sms_enabled] => true [wav] => false [mmf] => false [smf] => false [mld] => false [midi_monophonic] => true [midi_polyphonic] => true [sp_midi] => true [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => true [au] => false [amr] => true [awb] => false [aac] => true [mp3] => true [voices] => 1 [qcelp] => false [evrc] => false [flash_lite_version] => [fl_wallpaper] => false [fl_screensaver] => false [fl_standalone] => false [fl_browser] => false [fl_sub_lcd] => false [full_flash_support] => true [css_supports_width_as_percentage] => true [css_border_image] => webkit [css_rounded_corners] => webkit [css_gradient] => none [css_spriting] => true [css_gradient_linear] => none [is_transcoder] => false [transcoder_ua_header] => user-agent [rss_support] => false [pdf_support] => true [progressive_download] => true [playback_vcodec_h263_0] => 10 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => 0 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => 3.0 [playback_real_media] => none [playback_3gpp] => true [playback_3g2] => false [playback_mp4] => true [playback_mov] => false [playback_acodec_amr] => nb [playback_acodec_aac] => none [playback_df_size_limit] => 0 [playback_directdownload_size_limit] => 0 [playback_inline_size_limit] => 0 [playback_oma_size_limit] => 0 [playback_acodec_qcelp] => false [playback_wmv] => none [hinted_progressive_download] => true [html_preferred_dtd] => html4 [viewport_supported] => true [viewport_width] => device_width_token [viewport_userscalable] => no [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => full [image_inlining] => true [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => A [is_sencha_touch_ok] => false ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Google Chrome 26.0.1410.58</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a> <!-- Modal Structure --> <div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Zsxsoft result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [link] => http://google.com/chrome/ [title] => Google Chrome 26.0.1410.58 [name] => Google Chrome [version] => 26.0.1410.58 [code] => chrome [image] => img/16/browser/chrome.png ) [os] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.1.2 [code] => android [x64] => [title] => Android 4.1.2 [type] => os [dir] => os [image] => img/16/os/android.png ) [device] => Array ( [link] => [title] => [model] => [brand] => [code] => null [dir] => device [type] => device [image] => img/16/device/null.png ) [platform] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.1.2 [code] => android [x64] => [title] => Android 4.1.2 [type] => os [dir] => os [image] => img/16/os/android.png ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr></table> </div> <div class="section"> <h1 class="header center orange-text">About this comparison</h1> <div class="row center"> <h5 class="header light"> The primary goal of this project is simple<br /> I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br /> <br /> The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br /> <br /> You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br /> <br /> The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a> </h5> </div> </div> <div class="card"> <div class="card-content"> Comparison created <i>2016-05-10 08:09:27</i> | by <a href="https://github.com/ThaDafinser">ThaDafinser</a> </div> </div> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script> <script> $(document).ready(function(){ // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered $('.modal-trigger').leanModal(); }); </script> </body> </html>
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/df/90/df90ee50-9491-43c1-a608-3383760dba79.html
HTML
mit
56,687
<?php $ISO_3166_2 = array(); $ISO_3166_2['A'] = "Alajuela"; $ISO_3166_2['C'] = "Cartago"; $ISO_3166_2['G'] = "Guanacaste"; $ISO_3166_2['H'] = "Heredia"; $ISO_3166_2['L'] = "Limón"; $ISO_3166_2['P'] = "Puntarenas"; $ISO_3166_2['SJ'] = "San José"; ?>
Yarduddles/ISO-3166
PHP/ISO-3166-2-CR.php
PHP
mit
251
package com.game.engine; /** * Common methods to implement in Action Subject */ public interface ActionSubject { void attachObserver(ActionObserver o); void detachObserver(ActionObserver o); void notifyObservers(); }
samuelnp/mvc_game_sdk
src/com/game/engine/ActionSubject.java
Java
mit
223
import { Component } from '@angular/core'; import {ModalController} from 'ionic-angular'; import {RawMaterial, RawMaterialProvider} from "../../providers/raw-material/raw-material"; import {Observable} from "rxjs/Observable"; import {NewStockPage} from "../new-stock/new-stock"; import 'rxjs/add/operator/do' /** * Generated class for the StockPage page. * * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ @Component({ selector: 'page-stock', templateUrl: 'stock.html', }) export class StockPage { rawMaterials: Observable<RawMaterial[]>; loading: boolean; constructor(private rawMaterialProvider: RawMaterialProvider, public modalCtrl: ModalController) { this.loading = true; this.rawMaterials = this.rawMaterialProvider.getRawMaterials().do( () => { this.loading = false;}, () => { this.loading = false;} ); } searchRawMaterials(event: any) { this.rawMaterials = this.rawMaterialProvider.getRawMaterials(); let searchName: string = event.target.value; if (searchName && searchName.trim() !== '') { this.rawMaterials = this.rawMaterialProvider.getRawMaterials(searchName); } } openAddNewStockModal(rawMaterial?: any) { let modal = this.modalCtrl.create(NewStockPage, { rawMaterial: rawMaterial }); modal.present(); } }
x1QG1x/FJCE
src/pages/stock/stock.ts
TypeScript
mit
1,389
--- date: 2019-09-24T18:41:05-04:00 title: Muut repo: weight: description: The complete discussion system for your site tools: - Interaction interactions: - comments/discussion license: Commercial data_model: '' language: '' related_tools: [] tags: - forums urls: website: https://muut.com/ github: '' twitter: '' other: '' resources: [] ---
budparr/thenewdynamic
content/tool/muut.md
Markdown
mit
353
import { NgModule } from '@angular/core'; import { CheckboxModule } from './checkbox/checkbox.module'; import { ModalModule } from './modal/modal.module'; import { RadioModule } from './radio/radio.module'; import { SelectModule } from './select/select.module'; import { SharedModule } from './shared/shared.module'; const yuziModules = [ CheckboxModule, ModalModule, RadioModule, SelectModule, SharedModule ]; @NgModule({ imports: yuziModules, exports: yuziModules }) export class YuziModule {}
rallyhealth/angular-yuzi
src/yuzi.module.ts
TypeScript
mit
514
PageModule.controller('PageFormController', function PageFormController($scope, $http, $q) { /** * * @type {String} */ var rootUrl = ''; /** * * @returns {void} */ $scope.generateSlug = function() { var pageHeader = $('#Page_header').val(); $http({ method: 'GET', url: rootUrl + '/generateSlug?header=' + pageHeader, }).success(function(data) { $('#Page_route').val(data); }); }; /** * * @returns {void} */ $scope.generateKeywords = function() { console.log('asdasdasd'); var pageContent = $('#Page_content').val(); $http({ method: 'POST', url: rootUrl + '/generateKeywords', data: $.param({content: pageContent}), headers: { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' } }).success(function(data) { $('#Page_meta_keywords').val(data); }); }; /** * * @returns {void} */ $scope.generateDescription = function() { console.log('asdasdasd'); var pageContent = $('#Page_description').val(); $('#Page_meta_description').val(pageContent); }; /** * * @returns {void} */ $scope.generateTitle = function() { var pageContent = $('#Page_header').val(); $('#Page_meta_title').val(pageContent); }; /** * * @param {String} url * @returns {void} */ $scope.init = function(url) { rootUrl = url; }; });
alexdevid/eel
protected/modules/page/assets/javascript/angular/Controllers/PageFormController.js
JavaScript
mit
1,629