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 |
|---|---|---|---|---|---|
# frozen_string_literal: true
# Override for devise sessions controller in order to track a user's location
# when signing out.
class SessionsController < Devise::SessionsController
layout "layouts/full_page"
end
| remomueller/slice | app/controllers/sessions_controller.rb | Ruby | mit | 216 |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ env('APP_NAME') }}</title>
<!-- Bootstrap -->
<link href="{{ asset('') }}assets/plugins/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="{{ asset('') }}assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="{{ asset('') }}assets/plugins/nprogress/nprogress.css" rel="stylesheet">
<!-- Animate.css -->
<link href="{{ asset('') }}assets/plugins/animate.css/animate.min.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="{{ asset('') }}assets/custom.min.css" rel="stylesheet">
</head>
<body class="login">
<div>
<a class="hiddenanchor" id="signup"></a>
<a class="hiddenanchor" id="signin"></a>
<div class="login_wrapper">
{{-- --}}
<div class="animate form login_form">
<section class="login_content">
<div>
<div>
<h1><b>E</b> ttendance</h1>
</div>
{{ Form::open(['route'=>['login']]) }}
<h1>Login Form</h1>
@include('frontend.layouts._messages')
<div>
{{ Form::text('identity',old('identity'),['class'=>'form-control','required'=>'','placeholder'=>'Username or Email']) }}
</div>
<div>
{{ Form::password('password',['class'=>'form-control','required'=>'','placeholder'=>'Password']) }}
</div>
<div>
{{ Form::checkbox('remember') }}
{{ Form::label('remember','Remeber Me') }}
{{ Form::submit('Submit',['class'=>'btn btn-default']) }}
</div>
{{ Form::close() }}
</div>
</section>
</div>
</div>
</div>
</body>
</html>
| lloricode/e-ttendance-laravel | resources/views/auth/login.blade.php | PHP | mit | 3,481 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>firing-squad: 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.14.0 / firing-squad - 8.5.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
firing-squad
<small>
8.5.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-03-05 19:25:22 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-05 19:25:22 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.14.0 Formal proof management system
dune 3.0.2 Fast, portable, and opinionated build system
ocaml 4.13.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.13.1 Official release 4.13.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: "2.0"
maintainer: "matej.kosik@inria.fr"
homepage: "https://github.com/coq-contribs/firing-squad"
license: "LGPL 2"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/FiringSquad"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
tags: [ "keyword:concurrency" "keyword:synchronization" "keyword:finite state machines" "category:Computer Science/Concurrent Systems and Protocols/Correctness of specific protocols" "category:Miscellaneous/Extracted Programs/Automata and protocols" ]
authors: [ "Jean Duprat <>" ]
bug-reports: "https://github.com/coq-contribs/firing-squad/issues"
dev-repo: "git+https://github.com/coq-contribs/firing-squad.git"
synopsis: "Firing Squad Synchronization Problem"
description: """
This contribution is a formal verification of a solution
of the firing squad synchronization problem."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/firing-squad/archive/v8.5.0.tar.gz"
checksum: "md5=26081325924da2a523a20990487de4d6"
}
</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-firing-squad.8.5.0 coq.8.14.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.14.0).
The following dependencies couldn't be met:
- coq-firing-squad -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' 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-firing-squad.8.5.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.13.1-2.0.10/released/8.14.0/firing-squad/8.5.0.html | HTML | mit | 7,191 |
package gateway
import (
"strconv"
"testing"
"time"
"github.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/Sia/modules"
)
const dummyNode = "111.111.111.111:1111"
func TestAddNode(t *testing.T) {
g := newTestingGateway("TestAddNode", t)
defer g.Close()
id := g.mu.Lock()
defer g.mu.Unlock(id)
if err := g.addNode(dummyNode); err != nil {
t.Fatal("addNode failed:", err)
}
if err := g.addNode(dummyNode); err == nil {
t.Error("addNode added duplicate node")
}
if err := g.addNode("foo"); err == nil {
t.Error("addNode added unroutable address")
}
if err := g.addNode("[::1]:9981"); err == nil {
t.Error("addNode added loopback address")
}
}
func TestRemoveNode(t *testing.T) {
g := newTestingGateway("TestRemoveNode", t)
defer g.Close()
id := g.mu.Lock()
defer g.mu.Unlock(id)
if err := g.addNode(dummyNode); err != nil {
t.Fatal("addNode failed:", err)
}
if err := g.removeNode(dummyNode); err != nil {
t.Fatal("removeNode failed:", err)
}
if err := g.removeNode("bar"); err == nil {
t.Fatal("removeNode removed nonexistent node")
}
}
func TestRandomNode(t *testing.T) {
g := newTestingGateway("TestRandomNode", t)
defer g.Close()
id := g.mu.RLock()
if addr, err := g.randomNode(); err != nil {
t.Fatal("randomNode failed:", err)
} else if addr != g.Address() {
t.Fatal("randomNode returned wrong address:", addr)
}
g.mu.RUnlock(id)
id = g.mu.Lock()
g.removeNode(g.myAddr)
g.mu.Unlock(id)
id = g.mu.RLock()
if _, err := g.randomNode(); err != errNoPeers {
t.Fatalf("randomNode returned wrong error: expected %v, got %v", errNoPeers, err)
}
g.mu.RUnlock(id)
nodes := map[modules.NetAddress]int{
"111.111.111.111:1111": 0,
"111.111.111.111:2222": 0,
"111.111.111.111:3333": 0,
}
id = g.mu.Lock()
for addr := range nodes {
g.addNode(addr)
}
g.mu.Unlock(id)
id = g.mu.RLock()
for i := 0; i < len(nodes)*10; i++ {
addr, err := g.randomNode()
if err != nil {
t.Fatal("randomNode failed:", err)
}
nodes[addr]++
}
g.mu.RUnlock(id)
for node, count := range nodes {
if count == 0 { // 1-in-200000 chance of occuring naturally
t.Errorf("node %v was never selected", node)
}
}
}
func TestShareNodes(t *testing.T) {
g1 := newTestingGateway("TestShareNodes1", t)
defer g1.Close()
g2 := newTestingGateway("TestShareNodes2", t)
defer g2.Close()
// add a node to g2
id := g2.mu.Lock()
g2.addNode(dummyNode)
g2.mu.Unlock(id)
// connect
err := g1.Connect(g2.Address())
if err != nil {
t.Fatal("couldn't connect:", err)
}
// g1 should have received the node
time.Sleep(100 * time.Millisecond)
id = g1.mu.Lock()
if g1.addNode(dummyNode) == nil {
t.Fatal("gateway did not receive nodes during Connect:", g1.nodes)
}
g1.mu.Unlock(id)
// remove all nodes from both peers
id = g1.mu.Lock()
g1.nodes = map[modules.NetAddress]struct{}{}
g1.mu.Unlock(id)
id = g2.mu.Lock()
g2.nodes = map[modules.NetAddress]struct{}{}
g2.mu.Unlock(id)
// SharePeers should now return no peers
var nodes []modules.NetAddress
err = g1.RPC(g2.Address(), "ShareNodes", func(conn modules.PeerConn) error {
return encoding.ReadObject(conn, &nodes, maxSharedNodes*maxAddrLength)
})
if err != nil {
t.Fatal(err)
}
if len(nodes) != 0 {
t.Fatal("gateway gave non-existent addresses:", nodes)
}
// sharing should be capped at maxSharedNodes
for i := 0; i < maxSharedNodes+10; i++ {
g2.addNode(modules.NetAddress("111.111.111.111:" + strconv.Itoa(i)))
}
err = g1.RPC(g2.Address(), "ShareNodes", func(conn modules.PeerConn) error {
return encoding.ReadObject(conn, &nodes, maxSharedNodes*maxAddrLength)
})
if err != nil {
t.Fatal(err)
}
if len(nodes) != maxSharedNodes {
t.Fatalf("gateway gave wrong number of nodes: expected %v, got %v", maxSharedNodes, len(nodes))
}
}
func TestRelayNodes(t *testing.T) {
g1 := newTestingGateway("TestRelayNodes1", t)
defer g1.Close()
g2 := newTestingGateway("TestRelayNodes2", t)
defer g2.Close()
g3 := newTestingGateway("TestRelayNodes3", t)
defer g2.Close()
// overwrite g3's address with a non-loopback address;
// otherwise it will be rejected
id := g3.mu.Lock()
g3.myAddr = dummyNode
g3.mu.Unlock(id)
// normally the Gateway will only register this RPC if has discovered its
// IP through external means.
g3.RegisterConnectCall("RelayNode", g3.sendAddress)
// connect g2 to g1
err := g2.Connect(g1.Address())
if err != nil {
t.Fatal("couldn't connect:", err)
}
// connect g3 to g1
err = g3.Connect(g1.Address())
if err != nil {
t.Fatal("couldn't connect:", err)
}
// g2 should have received g3's address from g1
time.Sleep(100 * time.Millisecond)
id = g2.mu.RLock()
defer g2.mu.RUnlock(id)
if _, ok := g2.nodes[g3.Address()]; !ok {
t.Fatal("node was not relayed:", g2.nodes)
}
}
| kustomzone/Sia | modules/gateway/nodes_test.go | GO | mit | 4,788 |
---
categories:
- tumblr
- archive
- link
date: 2011-08-13T00:22:32Z
link: http://hipsteripsum.me/?paras=4&type=hipster-centric
title: Hipster Ipsum | Artisanal filler text for your site or project
url: /2011/08/13/link-hipster-ipsum-artisanal-filler-text-for-your-site-or-project/
---
| stephenscott/sscott2 | site/content/archive/2011-08-13-link-hipster-ipsum-artisanal-filler-text-for-your-site-or-project.md | Markdown | mit | 287 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>opam-website: 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="">dev / opam-website - 1.2.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
opam-website
<small>
1.2.1
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2021-10-27 02:59:51 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-27 02:59:51 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 3 Virtual package relying on a GMP lib system installation
coq dev Formal proof management system
dune 2.9.1 Fast, portable, and opinionated build system
ocaml 4.12.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.12.0 Official release 4.12.0
ocaml-config 2 OCaml Switch Configuration
ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "dev@clarus.me"
homepage: "https://github.com/clarus/coq-opam-website"
dev-repo: "git+https://github.com/clarus/coq-opam-website.git"
bug-reports: "https://github.com/clarus/coq-opam-website/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
["sh" "-c" "cd extraction && make"]
]
depends: [
"ocaml"
"coq" {>= "8.4pl4"}
"coq-io" {>= "3.1.0"}
"coq-io-exception" {>= "1.0.0"}
"coq-io-system" {>= "2.3.0"}
"coq-list-string" {>= "2.1.0"}
]
synopsis: "Generation of a Coq website for OPAM: http://coq.io/opam/ "
url {
src: "https://github.com/coq-io/opam-website/archive/1.2.1.tar.gz"
checksum: "md5=8456933fe4380095c46240546fb2bad1"
}
</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-opam-website.1.2.1 coq.dev</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is dev).
The following dependencies couldn't be met:
- coq-opam-website -> coq-io-system >= 2.3.0 -> coq-io-system-ocaml >= 2.2.0 -> lwt < 5 -> ocaml < 4.12
base of this switch (use `--unlock-base' to force)
- coq-opam-website -> coq-io-system >= 2.3.0 -> coq-io-system-ocaml >= 2.2.0 -> ocaml < 4.06.0
base of this switch (use `--unlock-base' 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-opam-website.1.2.1</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.12.0-2.0.8/extra-dev/dev/opam-website/1.2.1.html | HTML | mit | 7,096 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>validsdp: 9 m 3 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.15.0 / validsdp - 1.0.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
validsdp
<small>
1.0.0
<span class="label label-success">9 m 3 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-02-01 04:13:48 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-01 04:13:48 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.15.0 Formal proof management system
dune 2.9.3 Fast, portable, and opinionated build system
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: "2.0"
maintainer: [
"รrik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Pierre Roux <pierre.roux@onera.fr>"
]
homepage: "https://sourcesup.renater.fr/validsdp/"
dev-repo: "git+https://github.com/validsdp/validsdp.git"
bug-reports: "https://github.com/validsdp/validsdp/issues"
license: "LGPL-2.1-or-later"
build: [
["sh" "-c" "./configure"]
[make "-j%{jobs}%"]
]
run-test: [make "-j%{jobs}%" "test"]
install: [make "install"]
depends: [
"ocaml"
"coq" {>= "8.12" & < "8.16~"}
"coq-bignums"
"coq-flocq" {>= "3.3.0"}
"coq-interval" {>= "4.0.0" & < "5~"}
"coq-mathcomp-field" {>= "1.12" & < "1.15~"}
"coq-mathcomp-analysis" {>= "0.3.4" & < "0.4~"}
"coq-libvalidsdp" {= "1.0.0"}
"coq-mathcomp-multinomials" {>= "1.2"}
"coq-coqeal" {>= "1.1.0"}
"coq-paramcoq" {>= "1.1.0"}
"osdp" {>= "1.0"}
"ocamlfind" {build}
"conf-autoconf" {build & dev}
]
synopsis: "ValidSDP"
description: """
ValidSDP is a library for the Coq formal proof assistant. It provides
reflexive tactics to prove multivariate inequalities involving
real-valued variables and rational constants, using SDP solvers as
untrusted back-ends and verified checkers based on libValidSDP.
Once installed, you can import the following modules:
From Coq Require Import Reals.
From ValidSDP Require Import validsdp.
"""
tags: [
"keyword:libValidSDP"
"keyword:ValidSDP"
"keyword:floating-point arithmetic"
"keyword:Cholesky decomposition"
"category:Miscellaneous/Coq Extensions"
"logpath:ValidSDP"
]
authors: [
"รrik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Pierre Roux <pierre.roux@onera.fr>"
]
url {
src: "https://github.com/validsdp/validsdp/releases/download/v1.0.0/validsdp-1.0.0.tar.gz"
checksum: "sha512=6cabd5f4b202a78a92e1f55ec2ab37d552b3e295de2b048392ac87c06dfa9d54f53c2160e06db08f32b4d36dfbabff2dc2c4cbbac0c46346d5105d65296cfb26"
}
</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-validsdp.1.0.0 coq.8.15.0</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-validsdp.1.0.0 coq.8.15.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 h 23 m</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-validsdp.1.0.0 coq.8.15.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>9 m 3 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 4 M</p>
<ul>
<li>1 M <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.cmxs</code></li>
<li>1 M <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/validsdp.vo</code></li>
<li>497 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/cholesky_prog.glob</code></li>
<li>496 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/cholesky_prog.vo</code></li>
<li>437 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/validsdp.glob</code></li>
<li>172 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/posdef_check.vo</code></li>
<li>128 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/posdef_check.glob</code></li>
<li>107 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/validsdp.v</code></li>
<li>76 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/cholesky_prog.v</code></li>
<li>72 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/misc.vo</code></li>
<li>64 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/iteri_ord.vo</code></li>
<li>50 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/iteri_ord.glob</code></li>
<li>40 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.vo</code></li>
<li>38 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitnesstac.vo</code></li>
<li>36 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/misc.glob</code></li>
<li>32 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitnesstac.glob</code></li>
<li>22 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/posdef_check.v</code></li>
<li>14 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.cmi</code></li>
<li>8 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/iteri_ord.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.cmx</code></li>
<li>6 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/misc.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitnesstac.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.cmxa</code></li>
<li>3 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/ValidSDP/soswitness.glob</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-validsdp.1.0.0</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.15.0/validsdp/1.0.0.html | HTML | mit | 11,058 |
// Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef VIRTAUNIQUECOIN_LIMITEDMAP_H
#define VIRTAUNIQUECOIN_LIMITEDMAP_H
#include <map>
#include <deque>
/** STL-like map container that only keeps the N elements with the highest value. */
template <typename K, typename V> class limitedmap
{
public:
typedef K key_type;
typedef V mapped_type;
typedef std::pair<const key_type, mapped_type> value_type;
typedef typename std::map<K, V>::const_iterator const_iterator;
typedef typename std::map<K, V>::size_type size_type;
protected:
std::map<K, V> map;
typedef typename std::map<K, V>::iterator iterator;
std::multimap<V, iterator> rmap;
typedef typename std::multimap<V, iterator>::iterator rmap_iterator;
size_type nMaxSize;
public:
limitedmap(size_type nMaxSizeIn = 0) { nMaxSize = nMaxSizeIn; }
const_iterator begin() const { return map.begin(); }
const_iterator end() const { return map.end(); }
size_type size() const { return map.size(); }
bool empty() const { return map.empty(); }
const_iterator find(const key_type& k) const { return map.find(k); }
size_type count(const key_type& k) const { return map.count(k); }
void insert(const value_type& x)
{
std::pair<iterator, bool> ret = map.insert(x);
if (ret.second)
{
if (nMaxSize && map.size() == nMaxSize)
{
map.erase(rmap.begin()->second);
rmap.erase(rmap.begin());
}
rmap.insert(make_pair(x.second, ret.first));
}
return;
}
void erase(const key_type& k)
{
iterator itTarget = map.find(k);
if (itTarget == map.end())
return;
std::pair<rmap_iterator, rmap_iterator> itPair = rmap.equal_range(itTarget->second);
for (rmap_iterator it = itPair.first; it != itPair.second; ++it)
if (it->second == itTarget)
{
rmap.erase(it);
map.erase(itTarget);
return;
}
// Shouldn't ever get here
assert(0); //TODO remove me
map.erase(itTarget);
}
void update(const_iterator itIn, const mapped_type& v)
{
//TODO: When we switch to C++11, use map.erase(itIn, itIn) to get the non-const iterator
iterator itTarget = map.find(itIn->first);
if (itTarget == map.end())
return;
std::pair<rmap_iterator, rmap_iterator> itPair = rmap.equal_range(itTarget->second);
for (rmap_iterator it = itPair.first; it != itPair.second; ++it)
if (it->second == itTarget)
{
rmap.erase(it);
itTarget->second = v;
rmap.insert(make_pair(v, itTarget));
return;
}
// Shouldn't ever get here
assert(0); //TODO remove me
itTarget->second = v;
rmap.insert(make_pair(v, itTarget));
}
size_type max_size() const { return nMaxSize; }
size_type max_size(size_type s)
{
if (s)
while (map.size() > s)
{
map.erase(rmap.begin()->second);
rmap.erase(rmap.begin());
}
nMaxSize = s;
return nMaxSize;
}
};
#endif
| virtauniquecoin/virtauniquecoin-master | src/limitedmap.h | C | mit | 3,424 |
class CreateDailyItemInviters < ActiveRecord::Migration
def change
create_table :daily_item_inviters do |t|
t.integer :daily_item_id
t.integer :wx_user_id
t.timestamps
end
add_index :daily_item_inviters, :daily_item_id
add_index :daily_item_inviters, :wx_user_id
end
end
| 9577/gart360-web | db/migrate/20140328173235_create_daily_item_inviters.rb | Ruby | mit | 311 |
<p>
<button type="button" class="btn btn-default btn-sm" ng-click="status.open = !status.open">Toggle last panel</button>
<button type="button" class="btn btn-default btn-sm" ng-click="status.isFirstDisabled = ! status.isFirstDisabled">Enable / Disable first panel</button>
</p>
<div class="checkbox">
<label>
<input type="checkbox" ng-model="oneAtATime">
Open only one at a time
</label>
</div>
<uib-accordion close-others="oneAtATime">
<uib-accordion-group heading="Static Header, initially expanded" is-open="status.isFirstOpen" is-disabled="status.isFirstDisabled">
This content is straight in the template.
</uib-accordion-group>
<uib-accordion-group heading="{{group.title}}" ng-repeat="group in groups">
{{group.content}}
</uib-accordion-group>
<uib-accordion-group heading="Dynamic Body Content">
<p>The body of the uib-accordion group grows to fit the contents</p>
<button type="button" class="btn btn-default btn-sm" ng-click="addItem()">Add Item</button>
<div ng-repeat="item in items">{{item}}</div>
</uib-accordion-group>
<uib-accordion-group heading="Custom template" template-url="partials/p1/accordion-cust-tpl.html">
</uib-accordion-group>
<uib-accordion-group heading="Delete account" panel-class="panel-danger">
<p>Please, to delete your account, click the button below</p>
<button class="btn btn-danger">Delete</button>
</uib-accordion-group>
<uib-accordion-group is-open="status.open">
<uib-accordion-heading>
I can have markup, too! <i class="pull-right glyphicon" ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}"></i>
</uib-accordion-heading>
This is just some content to illustrate fancy headings.
</uib-accordion-group>
</uib-accordion> | Vinci-da-Gama/gulp_uiBootstrap_formValidation | public/partials/p1/uibs-accordion.html | HTML | mit | 1,877 |
<!DOCTYPE html><html lang="en-us" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="generator" content="Wowchemy 5.1.0 for Hugo" />
<meta name="description" content="Analysis on the Affect Misattribution Procedure (AMP)" />
<link rel="alternate" hreflang="en-us" href="https://bcheggeseth.github.io/project/misattribution/" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta name="theme-color" content="#7FAB6C" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha256-FMvZuGapsJLjouA6k7Eo2lusoAX9i0ShlWFG6qt7SLc=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/styles/github.min.css" crossorigin="anonymous" title="hl-light" media="print" onload="this.media='all'">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/styles/dracula.min.css" crossorigin="anonymous" title="hl-dark" media="print" onload="this.media='all'" disabled>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.css" integrity="sha512-1xoFisiGdy9nvho8EgXuXvnpR5GAMSjFwp40gSRE3NwdUdIMIKuPa7bqoUhLD0O/5tPNhteAsE5XyyMi5reQVA==" crossorigin="anonymous" media="print" onload="this.media='all'">
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Playfair+Display+SC&family=Montserrat:wght@400;700&family=Roboto+Mono&family=Roboto:wght@400;700&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display+SC&family=Montserrat:wght@400;700&family=Roboto+Mono&family=Roboto:wght@400;700&display=swap" media="print" onload="this.media='all'">
<link rel="stylesheet" href="/css/wowchemy.0e35f84b77393df89dec457ebf52879f.css" />
<link rel="manifest" href="/index.webmanifest" />
<link rel="icon" type="image/png" href="/media/icon_hu57cb00c344750d07111e480b68a9d566_369349_32x32_fill_lanczos_center_2.png" />
<link rel="apple-touch-icon" type="image/png" href="/media/icon_hu57cb00c344750d07111e480b68a9d566_369349_180x180_fill_lanczos_center_2.png" />
<link rel="canonical" href="https://bcheggeseth.github.io/project/misattribution/" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="og:site_name" content="Brianna C. Heggeseth" />
<meta property="og:url" content="https://bcheggeseth.github.io/project/misattribution/" />
<meta property="og:title" content="Updating Implicit Impressions | Brianna C. Heggeseth" />
<meta property="og:description" content="Analysis on the Affect Misattribution Procedure (AMP)" /><meta property="og:image" content="https://bcheggeseth.github.io/project/misattribution/featured.png" />
<meta property="twitter:image" content="https://bcheggeseth.github.io/project/misattribution/featured.png" /><meta property="og:locale" content="en-us" />
<meta
property="article:published_time"
content="2016-04-27T00:00:00+00:00"
/>
<meta property="article:modified_time" content="2016-04-27T00:00:00+00:00">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://bcheggeseth.github.io/project/misattribution/"
},
"headline": "Updating Implicit Impressions",
"image": [
"https://bcheggeseth.github.io/project/misattribution/featured.png"
],
"datePublished": "2016-04-27T00:00:00Z",
"dateModified": "2016-04-27T00:00:00Z",
"publisher": {
"@type": "Organization",
"name": "Macalester College",
"logo": {
"@type": "ImageObject",
"url": "https://bcheggeseth.github.io/media/icon_hu57cb00c344750d07111e480b68a9d566_369349_192x192_fill_lanczos_center_2.png"
}
},
"description": "Analysis on the Affect Misattribution Procedure (AMP)"
}
</script>
<title>Updating Implicit Impressions | Brianna C. Heggeseth</title>
</head>
<body id="top" data-spy="scroll" data-offset="70" data-target="#TableOfContents" class="page-wrapper " data-wc-page-id="067af4be07d2d373eb5c21bb1b5e54a6" >
<script src="/js/wowchemy-init.min.226a9011996d125bf3fe4a5f22353a49.js"></script>
<aside class="search-modal" id="search">
<div class="container">
<section class="search-header">
<div class="row no-gutters justify-content-between mb-3">
<div class="col-6">
<h1>Search</h1>
</div>
<div class="col-6 col-search-close">
<a class="js-search" href="#" aria-label="Close"><i class="fas fa-times-circle text-muted" aria-hidden="true"></i></a>
</div>
</div>
<div id="search-box">
<input name="q" id="search-query" placeholder="Search..." autocapitalize="off"
autocomplete="off" autocorrect="off" spellcheck="false" type="search" class="form-control"
aria-label="Search...">
</div>
</section>
<section class="section-search-results">
<div id="search-hits">
</div>
</section>
</div>
</aside>
<div class="page-header">
<nav class="navbar navbar-expand-lg navbar-light compensate-for-scrollbar" id="navbar-main">
<div class="container-xl">
<div class="d-none d-lg-inline-flex">
<a class="navbar-brand" href="/">Brianna C. Heggeseth</a>
</div>
<button type="button" class="navbar-toggler" data-toggle="collapse"
data-target="#navbar-content" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fas fa-bars"></i></span>
</button>
<div class="navbar-brand-mobile-wrapper d-inline-flex d-lg-none">
<a class="navbar-brand" href="/">Brianna C. Heggeseth</a>
</div>
<div class="navbar-collapse main-menu-item collapse justify-content-start" id="navbar-content">
<ul class="navbar-nav d-md-inline-flex">
<li class="nav-item">
<a class="nav-link " href="/#about"><span>About</span></a>
</li>
<li class="nav-item">
<a class="nav-link " href="/#teaching"><span>Teaching</span></a>
</li>
<li class="nav-item">
<a class="nav-link " href="/#projects"><span>Research</span></a>
</li>
<li class="nav-item">
<a class="nav-link " href="/inclusion/"><span>Inclusion</span></a>
</li>
<li class="nav-item">
<a class="nav-link " href="/#personal"><span>Personal</span></a>
</li>
</ul>
</div>
<ul class="nav-icons navbar-nav flex-row ml-auto d-flex pl-md-2">
<li class="nav-item d-none d-lg-inline-flex">
<a class="nav-link" href="https://twitter.com/bcheggeseth" data-toggle="tooltip" data-placement="bottom" title="Follow me on Twitter" target="_blank" rel="noopener" aria-label="Follow me on Twitter">
<i class="fab fa-twitter" aria-hidden="true"></i>
</a>
</li>
<li class="nav-item">
<a class="nav-link js-search" href="#" aria-label="Search"><i class="fas fa-search" aria-hidden="true"></i></a>
</li>
<li class="nav-item dropdown theme-dropdown">
<a href="#" class="nav-link" data-toggle="dropdown" aria-haspopup="true" aria-label="Display preferences">
<i class="fas fa-moon" aria-hidden="true"></i>
</a>
<div class="dropdown-menu">
<a href="#" class="dropdown-item js-set-theme-light">
<span>Light</span>
</a>
<a href="#" class="dropdown-item js-set-theme-dark">
<span>Dark</span>
</a>
<a href="#" class="dropdown-item js-set-theme-auto">
<span>Automatic</span>
</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
<div class="page-body">
<article class="article article-project">
<div class="article-container pt-3">
<h1>Updating Implicit Impressions</h1>
<div class="article-metadata">
<span class="article-date">
Apr 27, 2016
</span>
</div>
<div class="btn-links mb-3">
<a class="btn btn-outline-primary btn-page-header" href="https://content.apa.org/manuscript/2019-08943-001.pdf" target="_blank" rel="noopener">
PDF
</a>
</div>
</div>
<div class="article-header article-container featured-image-wrapper mt-4 mb-4" style="max-width: 720px; max-height: 562px;">
<div style="position: relative">
<img src="/project/misattribution/featured_hu98742eb2d15494fa653ba1d2c96337a4_571768_720x0_resize_lanczos_2.png" alt="" class="featured-image">
<span class="article-header-caption">Figure from Mann, et al.</span>
</div>
</div>
<div class="article-container">
<div class="article-style">
<p>Mann, Cone, and Ferguson are social psychologists who study explicit and implicit reactions to new information. There have been questions in the scholarly community about whether the main tool that they use to measure implicit reactions, the Affect Misattribution Procedure (AMP), actually measures unintended responses. My contribution to this study was the statistical analysis and interpretation of their analysis. I collaborated with them to analyze repeated measures data from 8 new studies and as well as reanalyze data from their past published studies. The main statistical concern was whether their previous conclusions were still valid despite the fact the distributions of the observations were bimodal. Thus, I designed a series of analyses that included sensitivity analyses to test the robustness of their conclusions to perturbations in the observed data distribution and pooled analysis across similar experiments.</p>
<p><strong>Product</strong></p>
<ul>
<li><a href="https://pubmed.ncbi.nlm.nih.gov/30802132/" target="_blank" rel="noopener">Mann, T. C., Cone, J., <strong>Heggeseth, B. C.</strong>, and Ferguson, M. J. (2019), “Updating implicit impressions: New evidence on intentionality and the Affect Misattribution Procedure.” <em>Journal of Personality and Social Psychology</em>, 116(3), 349-374.
</a></li>
</ul>
</div>
<div class="article-tags">
<a class="badge badge-light" href="/tag/applied-collaboration/">Applied Collaboration</a>
<a class="badge badge-light" href="/tag/social-psychology/">Social Psychology</a>
</div>
<div class="share-box" aria-hidden="true">
<ul class="share">
<li>
<a href="https://twitter.com/intent/tweet?url=https://bcheggeseth.github.io/project/misattribution/&text=Updating%20Implicit%20Impressions" target="_blank" rel="noopener" class="share-btn-twitter">
<i class="fab fa-twitter"></i>
</a>
</li>
<li>
<a href="https://www.facebook.com/sharer.php?u=https://bcheggeseth.github.io/project/misattribution/&t=Updating%20Implicit%20Impressions" target="_blank" rel="noopener" class="share-btn-facebook">
<i class="fab fa-facebook"></i>
</a>
</li>
<li>
<a href="mailto:?subject=Updating%20Implicit%20Impressions&body=https://bcheggeseth.github.io/project/misattribution/" target="_blank" rel="noopener" class="share-btn-email">
<i class="fas fa-envelope"></i>
</a>
</li>
<li>
<a href="https://www.linkedin.com/shareArticle?url=https://bcheggeseth.github.io/project/misattribution/&title=Updating%20Implicit%20Impressions" target="_blank" rel="noopener" class="share-btn-linkedin">
<i class="fab fa-linkedin-in"></i>
</a>
</li>
<li>
<a href="whatsapp://send?text=Updating%20Implicit%20Impressions%20https://bcheggeseth.github.io/project/misattribution/" target="_blank" rel="noopener" class="share-btn-whatsapp">
<i class="fab fa-whatsapp"></i>
</a>
</li>
<li>
<a href="https://service.weibo.com/share/share.php?url=https://bcheggeseth.github.io/project/misattribution/&title=Updating%20Implicit%20Impressions" target="_blank" rel="noopener" class="share-btn-weibo">
<i class="fab fa-weibo"></i>
</a>
</li>
</ul>
</div>
<div class="media author-card content-widget-hr">
<a href="https://bcheggeseth.github.io"><img class="avatar mr-3 avatar-circle" src="/author/avatar_huc038dbe3c9cb9e45d6cd64607c156713_49186_270x270_fill_q75_lanczos_center.jpg" alt=""></a>
<div class="media-body">
<h5 class="card-title"><a href="https://bcheggeseth.github.io"></a></h5>
<h6 class="card-subtitle">Associate Professor of Statistics</h6>
<ul class="network-icon" aria-hidden="true">
<li>
<a href="/#contact" >
<i class="fas fa-envelope"></i>
</a>
</li>
<li>
<a href="https://twitter.com/bcheggeseth" target="_blank" rel="noopener">
<i class="fab fa-twitter"></i>
</a>
</li>
<li>
<a href="https://scholar.google.com/citations?user=PD0b3CoAAAAJ" target="_blank" rel="noopener">
<i class="fas fa-graduation-cap"></i>
</a>
</li>
<li>
<a href="https://github.com/bcheggeseth" target="_blank" rel="noopener">
<i class="fab fa-github"></i>
</a>
</li>
<li>
<a href="https://www.linkedin.com/" target="_blank" rel="noopener">
<i class="fab fa-linkedin"></i>
</a>
</li>
</ul>
</div>
</div>
<div class="article-widget content-widget-hr">
<h3>Related</h3>
<ul>
<li><a href="/project/prenatalpfas/">Prenatal PFAS and Early Childhood Growth</a></li>
<li><a href="/project/miacollaboration/">Mia Collaboration</a></li>
<li><a href="/project/artistdiversity/">Diversity of artists in major U.S. museums</a></li>
<li><a href="/project/diversityondisplay/">Diversity on Display at the National Gallery</a></li>
<li><a href="/project/prenatalphthalate/">Prenatal Phthalate Exposure and Childhood Growth</a></li>
</ul>
</div>
<div class="project-related-pages content-widget-hr">
</div>
</div>
</article>
</div>
<div class="page-footer">
<div class="container">
<footer class="site-footer">
<p class="powered-by">
ยฉ 2021 Brianna C. Heggeseth
</p>
<p class="powered-by">
Published with <a href="https://wowchemy.com/?utm_campaign=poweredby" target="_blank" rel="noopener">Wowchemy</a> โ the free, <a href="https://github.com/wowchemy/wowchemy-hugo-modules" target="_blank" rel="noopener">open source</a> website builder that empowers creators.
</p>
</footer>
</div>
</div>
<div id="modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Cite</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<pre><code class="tex hljs"></code></pre>
</div>
<div class="modal-footer">
<a class="btn btn-outline-primary my-1 js-copy-cite" href="#" target="_blank">
<i class="fas fa-copy"></i> Copy
</a>
<a class="btn btn-outline-primary my-1 js-download-cite" href="#" target="_blank">
<i class="fas fa-download"></i> Download
</a>
<div id="modal-error"></div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/instant.page/5.1.0/instantpage.min.js" integrity="sha512-1+qUtKoh9XZW7j+6LhRMAyOrgSQKenQ4mluTR+cvxXjP1Z54RxZuzstR/H9kgPXQsVB8IW7DMDFUJpzLjvhGSQ==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js" integrity="sha256-lqvxZrPLtfffUl2G/e7szqSvPBILGbwmsGE1MKlOi0Q=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js" integrity="sha256-CBrpuqrMhXwcLLUd5tvQ4euBHCdh7wGlDfNz8vbu/iI=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/highlight.min.js" integrity="sha512-TDKKr+IvoqZnPzc3l35hdjpHD0m+b2EC2SrLEgKDRWpxf2rFCxemkgvJ5kfU48ip+Y+m2XVKyOCD85ybtlZDmw==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/languages/r.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/languages/python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/languages/latex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.js" integrity="sha512-SeiQaaDh73yrb56sTW/RgVdi/mMqNeM2oBwubFHagc5BkixSpP1fvqF47mKzPGWYSSy4RwbBunrJBQ4Co8fRWA==" crossorigin="anonymous"></script>
<script id="search-hit-fuse-template" type="text/x-template">
<div class="search-hit" id="summary-{{key}}">
<div class="search-hit-content">
<div class="search-hit-name">
<a href="{{relpermalink}}">{{title}}</a>
<div class="article-metadata search-hit-type">{{type}}</div>
<p class="search-hit-description">{{snippet}}</p>
</div>
</div>
</div>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.1/fuse.min.js" integrity="sha256-VzgmKYmhsGNNN4Ph1kMW+BjoYJM2jV5i4IlFoeZA9XI=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha256-4HLtjeVgH0eIB3aZ9mLYF6E8oU5chNdjU6p6rrXpl9U=" crossorigin="anonymous"></script>
<script src="/js/bootstrap.bundle.min.6aed84840afc03ab4d5750157f69c120.js"></script>
<script src="/en/js/wowchemy.min.b61a8f62b6e5c0cd322c8158c5b5dfb6.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>
| bcheggeseth/bcheggeseth.github.io | project/misattribution/index.html | HTML | mit | 22,588 |
package gobuddyfs
import (
"sync"
"github.com/golang/glog"
)
type MemStore struct {
lock *sync.RWMutex
store map[string][]byte
KVStore
}
func NewMemStore() *MemStore {
return &MemStore{store: make(map[string][]byte), lock: &sync.RWMutex{}}
}
func (self *MemStore) Get(key string, retry bool) ([]byte, error) {
if glog.V(2) {
glog.Infof("Get(%s)\n", key)
}
self.lock.RLock()
defer self.lock.RUnlock()
val, ok := self.store[key]
if !ok {
return nil, nil
}
return val, nil
}
func (self *MemStore) Set(key string, value []byte) error {
if glog.V(2) {
glog.Infof("Set(%s)\n", key)
}
self.lock.Lock()
defer self.lock.Unlock()
if value == nil {
// Implicit delete operation
delete(self.store, key)
} else {
self.store[key] = value
}
return nil
}
var _ KVStore = new(MemStore)
| buddyfs/gobuddyfs | memstore.go | GO | mit | 816 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30</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; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
</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">Lenovo</td><td>IdeaTab A2207A-H</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; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
[family] => Lenovo IdeaTab A2207A-H
[brand] => Lenovo
[model] => IdeaTab A2207A-H
)
</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>Android 4.0</td><td>WebKit </td><td>Android 4.0</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.012</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\.0.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android?4.0* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[minorver] => 0
[platform] => Android
[platform_version] => 4.0
[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] => 1
[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>Android 4.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><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.004</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.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => unknown
[browser_modus] => unknown
[version] => 4.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>Android 4.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.008</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.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[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>Android Browser 4.0</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] => Android Browser
[version] => 4.0
)
</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>Safari 4.0</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.0.4</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] => Safari
[browserVersion] => 4.0
[osName] => AndroidOS
[osVersion] => 4.0.4
[deviceModel] => LenovoTablet
[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>Android Webkit 4.0</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Lenovo</td><td>A2207</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.30602</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] => 1024
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Lenovo
[mobile_model] => A2207
[version] => 4.0
[is_android] => 1
[browser_name] => Android Webkit
[operating_system_family] => Android
[operating_system_version] => 4.0.4
[is_ios] =>
[producer] => Google Inc.
[operating_system] => Android 4.0.x Ice Cream Sandwich
[mobile_screen_width] => 600
[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>Android Browser </td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555">Lenovo</td><td>IdeaTab A2207A</td><td>tablet</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.003</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] => Android Browser
[short_name] => AN
[version] =>
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => Android
[short_name] => AND
[version] => 4.0
[platform] =>
)
[device] => Array
(
[brand] => LE
[brandName] => Lenovo
[model] => IdeaTab A2207A
[device] => 2
[deviceName] => tablet
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[isPortableMediaPlayer] =>
[isSmartDisplay] =>
[isSmartphone] =>
[isTablet] => 1
[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>Navigator 4.0</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</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</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; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
[name:Sinergi\BrowserDetector\Browser:private] => Navigator
[version:Sinergi\BrowserDetector\Browser:private] => 4.0
[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.0.4
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
)
[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; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
)
)
</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>Android 4.0.4</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Lenovo</td><td>IdeaTab A2207A-H</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.001</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] => 4
[minor] => 0
[patch] => 4
[family] => Android
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 4
[minor] => 0
[patch] => 4
[patchMinor] =>
[family] => Android
)
[device] => UAParser\Result\Device Object
(
[brand] => Lenovo
[model] => IdeaTab A2207A-H
[family] => Lenovo IdeaTab A2207A-H
)
[originalUserAgent] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
)
</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>Safari 534.30</td><td>WebKit 534.30</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.15301</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.0.4
[platform_type] => Mobile
[browser_name] => Safari
[browser_version] => 534.30
[engine_name] => WebKit
[engine_version] => 534.30
)
</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.0.4</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.062</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.0.4
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] => German - Germany
[agent_languageTag] => de-de
)
</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>Android Browser 4.0</td><td>WebKit 534.30</td><td>Android 4.0.4</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.23801</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] => Android Browser 4 on Android (Ice Cream Sandwich)
[browser_version] => 4
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => stdClass Object
(
[System Build] => IMM76D
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => android-browser
[operating_system_version] => Ice Cream Sandwich
[simple_operating_platform_string] =>
[is_abusive] =>
[layout_engine_version] => 534.30
[browser_capabilities] => Array
(
)
[operating_platform_vendor_name] =>
[operating_system] => Android (Ice Cream Sandwich)
[operating_system_version_full] => 4.0.4
[operating_platform_code] =>
[browser_name] => Android Browser
[operating_system_name_code] => android
[user_agent] => Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; IdeaTabA2207A-H Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
[browser_version_full] => 4.0
[browser] => Android Browser 4
)
</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>Android Browser </td><td>Webkit 534.30</td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Lenovo</td><td>IdeaTab A2207</td><td>tablet</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-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] => Android Browser
)
[engine] => Array
(
[name] => Webkit
[version] => 534.30
)
[os] => Array
(
[name] => Android
[version] => 4.0.4
)
[device] => Array
(
[type] => tablet
[manufacturer] => Lenovo
[model] => IdeaTab A2207
)
)
</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>Safari 4.0</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] => Safari
[vendor] => Apple
[version] => 4.0
[category] => smartphone
[os] => Android
[os_version] => 4.0.4
)
</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>Android Webkit 4.0.4</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Lenovo</td><td>A2207</td><td>Tablet</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.019</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] => false
[is_touchscreen] => true
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] => Android
[advertised_device_os_version] => 4.0.4
[advertised_browser] => Android Webkit
[advertised_browser_version] => 4.0.4
[complete_device_name] => Lenovo A2207 (LePad A2207)
[device_name] => Lenovo LePad A2207
[form_factor] => Tablet
[is_phone] => false
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Lenovo
[model_name] => A2207
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => true
[has_qwerty_keyboard] => true
[can_skip_aligned_link_row] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Android
[mobile_browser] => Android Webkit
[mobile_browser_version] =>
[device_os_version] => 4.0
[pointing_method] => touchscreen
[release_date] => 2012_october
[marketing_name] => LePad A2207
[model_extra_info] =>
[nokia_feature_pack] => 0
[can_assign_phone_number] => false
[is_tablet] => true
[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] => 600
[resolution_height] => 1024
[columns] => 60
[max_image_width] => 320
[max_image_height] => 480
[rows] => 40
[physical_screen_width] => 90
[physical_screen_height] => 154
[dual_orientation] => true
[density_class] => 1.0
[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] => true
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 65536
[webp_lossy_support] => true
[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] => 3600
[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] => apple_live_streaming
[wap_push_support] => false
[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] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => false
[mms_jpeg_progressive] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[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] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[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] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[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>Android Webkit 4.0</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</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</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://developer.android.com/reference/android/webkit/package-summary.html
[title] => Android Webkit 4.0
[name] => Android Webkit
[version] => 4.0
[code] => android-webkit
[image] => img/16/browser/android-webkit.png
)
[os] => Array
(
[link] => http://www.android.com/
[name] => Android
[version] => 4.0.4
[code] => android
[x64] =>
[title] => Android 4.0.4
[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.0.4
[code] => android
[x64] =>
[title] => Android 4.0.4
[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 07:54:37</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/32/3b/323beaee-aba0-47f6-a805-9ffa9961bcfe.html | HTML | mit | 56,593 |
'use strict';
// Configuring the Articles module
angular.module('states').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'States', 'states', 'dropdown', '/states(/create)?');
Menus.addSubMenuItem('topbar', 'states', 'List States', 'states');
Menus.addSubMenuItem('topbar', 'states', 'New State', 'states/create');
}
]); | LMafra/sistema_mej | public/modules/states/config/states.client.config.js | JavaScript | mit | 369 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>traversable-fincontainer: 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 / traversable-fincontainer - 8.7.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
traversable-fincontainer
<small>
8.7.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-01-23 18:18:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-23 18:18:12 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.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/traversable-fincontainer"
license: "ASL"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/TraversableFincontainer"]
depends: [
"ocaml"
"coq" {>= "8.7" & < "8.8~"}
]
tags: [
"keyword: finitary container"
"keyword: traversable functors"
"category: Computer Science/Data Types and Data Structures"
]
authors: [ "Russell O'Connor <oconnorr@google.com>" ]
bug-reports: "https://github.com/coq-contribs/traversable-fincontainer/issues"
dev-repo: "git+https://github.com/coq-contribs/traversable-fincontainer.git"
synopsis: "Traversable Functors are Finitary Containers"
description: """
https://github.com/oconnorr/traversable-fincontainer
A Coq proof that all Traversable functors are isomorphic to finitary containers."""
flags: light-uninstall
url {
src:
"https://github.com/coq-contribs/traversable-fincontainer/archive/v8.7.0.tar.gz"
checksum: "md5=82cbb2ec21e431051b57502cea6a8df2"
}
</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-traversable-fincontainer.8.7.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't be met:
- coq-traversable-fincontainer -> coq < 8.8~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-traversable-fincontainer.8.7.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.07.1-2.0.6/released/8.9.0/traversable-fincontainer/8.7.0.html | HTML | mit | 7,197 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: 1 m 51 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.7.0 / paco - 4.0.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
paco
<small>
4.0.0
<span class="label label-success">1 m 51 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-03-09 10:28:59 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-09 10:28:59 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-ocamlbuild base OCamlbuild binary and libraries 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 2 Virtual package relying on perl
coq 8.7.0 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.02.3 The OCaml compiler (virtual package)
ocaml-base-compiler 4.02.3 Official 4.02.3 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
name: "coq-paco"
version: "4.0.0"
maintainer: "paco@sf.snu.ac.kr"
synopsis: "Coq library implementing parameterized coinduction"
homepage: "https://github.com/snu-sf/paco/"
dev-repo: "git+https://github.com/snu-sf/paco.git"
bug-reports: "https://github.com/snu-sf/paco/issues/"
authors: [
"Chung-Kil Hur <gil.hur@sf.snu.ac.kr>"
"Georg Neis <neis@mpi-sws.org>"
"Derek Dreyer <dreyer@mpi-sws.org>"
"Viktor Vafeiadis <viktor@mpi-sws.org>"
"Minki Cho <minki.cho@sf.snu.ac.kr>"
]
license: "BSD-3"
build: [make "-C" "src" "all" "-j%{jobs}%"]
install: [make "-C" "src" "-f" "Makefile.coq" "install"]
remove: ["rm" "-r" "-f" "%{lib}%/coq/user-contrib/Paco"]
depends: [
"coq" {>= "8.6" & < "8.13~"}
]
tags: [
"date:2019-04-30"
"category:Computer Science/Programming Languages/Formal Definitions and Theory"
"category:Mathematics/Logic"
"keyword:co-induction"
"keyword:simulation"
"keyword:parameterized greatest fixed point"
]
url {
http: "https://github.com/snu-sf/paco/archive/v4.0.0.tar.gz"
checksum: "df80f84e36d5801f726382f15d94dcf1"
}
</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-paco.4.0.0 coq.8.7.0</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-paco.4.0.0 coq.8.7.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>11 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-paco.4.0.0 coq.8.7.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 m 51 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 10 M</p>
<ul>
<li>1 M <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco14.vo</code></li>
<li>927 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco13.vo</code></li>
<li>800 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco12.vo</code></li>
<li>662 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco11.vo</code></li>
<li>563 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco10.vo</code></li>
<li>477 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco9.vo</code></li>
<li>405 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco8.vo</code></li>
<li>341 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco7.vo</code></li>
<li>281 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco6.vo</code></li>
<li>229 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco5.vo</code></li>
<li>202 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacotac_internal.vo</code></li>
<li>182 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco4.vo</code></li>
<li>163 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco14.vo</code></li>
<li>148 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco13.vo</code></li>
<li>142 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco3.vo</code></li>
<li>133 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco12.vo</code></li>
<li>119 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco11.vo</code></li>
<li>116 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/examples.vo</code></li>
<li>112 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paconotation_internal.vo</code></li>
<li>107 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco2.vo</code></li>
<li>107 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco10.vo</code></li>
<li>95 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco9.vo</code></li>
<li>93 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paconotation.vo</code></li>
<li>86 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paconotation.glob</code></li>
<li>84 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco8.vo</code></li>
<li>78 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco1.vo</code></li>
<li>78 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco14.glob</code></li>
<li>74 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco13.glob</code></li>
<li>73 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco7.vo</code></li>
<li>73 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/tutorial.vo</code></li>
<li>70 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco12.glob</code></li>
<li>68 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco14.glob</code></li>
<li>67 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco11.glob</code></li>
<li>64 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco10.glob</code></li>
<li>63 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco6.vo</code></li>
<li>63 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco13.glob</code></li>
<li>60 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco9.glob</code></li>
<li>58 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco8.glob</code></li>
<li>57 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco12.glob</code></li>
<li>56 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco7.glob</code></li>
<li>55 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco5.vo</code></li>
<li>54 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco6.glob</code></li>
<li>54 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco0.vo</code></li>
<li>53 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco5.glob</code></li>
<li>53 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco11.glob</code></li>
<li>52 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco4.glob</code></li>
<li>51 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco3.glob</code></li>
<li>50 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco2.glob</code></li>
<li>49 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco1.glob</code></li>
<li>49 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco10.glob</code></li>
<li>49 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpacotac.vo</code></li>
<li>48 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco0.glob</code></li>
<li>47 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco4.vo</code></li>
<li>43 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco9.glob</code></li>
<li>43 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacotac.vo</code></li>
<li>42 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacotac_internal.v</code></li>
<li>41 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paconotation_internal.glob</code></li>
<li>40 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco8.glob</code></li>
<li>39 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco3.vo</code></li>
<li>37 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco7.glob</code></li>
<li>34 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco6.glob</code></li>
<li>33 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco2.vo</code></li>
<li>33 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacotac_internal.glob</code></li>
<li>32 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco5.glob</code></li>
<li>29 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco4.glob</code></li>
<li>27 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco3.glob</code></li>
<li>27 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco1.vo</code></li>
<li>26 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/tutorial.glob</code></li>
<li>25 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco2.glob</code></li>
<li>24 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/tutorial.v</code></li>
<li>24 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpacotac.glob</code></li>
<li>23 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco1.glob</code></li>
<li>22 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco0.glob</code></li>
<li>21 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco0.vo</code></li>
<li>21 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco14.v</code></li>
<li>21 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco13.v</code></li>
<li>20 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco12.v</code></li>
<li>20 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco11.v</code></li>
<li>19 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco_internal.vo</code></li>
<li>19 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco10.v</code></li>
<li>19 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/examples.glob</code></li>
<li>18 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco9.v</code></li>
<li>18 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco8.v</code></li>
<li>18 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco7.v</code></li>
<li>18 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco6.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco5.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco4.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco3.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco2.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco1.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpaco0.v</code></li>
<li>15 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpacotac.v</code></li>
<li>15 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paconotation.v</code></li>
<li>13 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco14.v</code></li>
<li>13 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/hpattern.vo</code></li>
<li>13 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco13.v</code></li>
<li>12 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco_internal.glob</code></li>
<li>12 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco12.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco11.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco10.v</code></li>
<li>10 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco9.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco8.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paconotation_internal.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco7.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco6.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/examples.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco5.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco4.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco3.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco2.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco1.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco0.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacotac.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacotac.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco.vo</code></li>
<li>4 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/hpattern.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpacoall.vo</code></li>
<li>4 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco_internal.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacoall.vo</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/hpattern.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpacoall.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacoall.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/gpacoall.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/pacoall.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.02.3/lib/coq/user-contrib/Paco/paco.v</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-paco.4.0.0</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.02.3-2.0.6/released/8.7.0/paco/4.0.0.html | HTML | mit | 20,806 |
//-----------------------------------------------------------------------
// <copyright file="ConfigurationChangingEventArgs.cs" company="The Frayman Group">
// Copyright (c) The Frayman Group 2010. All rights reserved.
// </copyright>
// <author>Alexander Shargorodsky</author>
// <date>2010-05-27</date>
//-----------------------------------------------------------------------
namespace TFG.CompliGuard.Configuration
{
using System.ComponentModel;
/// <summary>
/// The ConfigurationChangingEventArgs class.
/// </summary>
public class ConfigurationChangingEventArgs : CancelEventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="ConfigurationChangingEventArgs"/> class.
/// </summary>
/// <param name="configurationSource">
/// The configuration source file, what should be changed.
/// </param>
/// <param name="sectionName">
/// The section name, what should be changed.
/// </param>
public ConfigurationChangingEventArgs(string configurationSource, string sectionName)
{
ConfigurationSource = configurationSource;
SectionName = sectionName;
}
/// <summary>
/// Gets the configuration source file, what should be changed.
/// </summary>
public string ConfigurationSource { get; private set; }
/// <summary>
/// Gets the section name, what should be changed.
/// </summary>
public string SectionName { get; private set; }
}
} | Gotik88/DRBlog | DR.Configuration/Watcher/ConfigurationChangingEventArgs.cs | C# | mit | 1,570 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>io: 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 / io - 3.3.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
io
<small>
3.3.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2020-07-17 06:06:32 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-07-17 06:06:32 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.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.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "dev@clarus.me"
homepage: "https://github.com/clarus/io"
dev-repo: "git+https://github.com/clarus/io.git"
bug-reports: "https://github.com/clarus/io/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Io"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
synopsis: "A library for effects in Coq"
flags: light-uninstall
url {
src: "https://github.com/coq-io/io/archive/3.3.0.tar.gz"
checksum: "md5=0c5b884e9aabf39239fa42f8ae7ccda1"
}
</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-io.3.3.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't be met:
- coq-io -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-io.3.3.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/extra-dev/8.10.dev/io/3.3.0.html | HTML | mit | 6,498 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: 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.12.2 / hammer - 1.3.2+8.14</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
hammer
<small>
1.3.2+8.14
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-01-15 01:36:52 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-15 01:36:52 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.12.2 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: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/lukaszcz/coqhammer"
dev-repo: "git+https://github.com/lukaszcz/coqhammer.git"
bug-reports: "https://github.com/lukaszcz/coqhammer/issues"
license: "LGPL-2.1-only"
synopsis: "General-purpose automated reasoning hammer tool for Coq"
description: """
A general-purpose automated reasoning hammer tool for Coq that combines
learning from previous proofs with the translation of problems to the
logics of automated systems and the reconstruction of successfully found proofs.
"""
build: [make "-j%{jobs}%" "plugin"]
install: [
[make "install-plugin"]
[make "test-plugin"] {with-test}
]
depends: [
"ocaml" { >= "4.08" }
"coq" {>= "8.14" & < "8.15~"}
("conf-g++" {build} | "conf-clang" {build})
"coq-hammer-tactics" {= version}
]
tags: [
"category:Miscellaneous/Coq Extensions"
"keyword:automation"
"keyword:hammer"
"logpath:Hammer.Plugin"
"date:2021-11-22"
]
authors: [
"Lukasz Czajka <lukaszcz@mimuw.edu.pl>"
"Cezary Kaliszyk <cezary.kaliszyk@uibk.ac.at>"
]
url {
src: "https://github.com/lukaszcz/coqhammer/archive/v1.3.2-coq8.14.tar.gz"
checksum: "sha512=68c6e6a2054ce9dd3d87cb61e667f638e7b9fb2b5ec9571427d9fac59d0901cbfa4e57c59edb3a8bc52c2626985fca6edbac42caf2acdc5858fb6e13f15afcea"
}
</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-hammer.1.3.2+8.14 coq.8.12.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.12.2).
The following dependencies couldn't be met:
- coq-hammer -> coq >= 8.14
Your request can'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-hammer.1.3.2+8.14</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.12.2/hammer/1.3.2+8.14.html | HTML | mit | 7,206 |
๏ปฟusing System;
using System.Collections.Generic;
using GraphShine.DataStructures;
using GraphShine.GeometricPrimitives;
namespace GraphShine.Tests
{
public class SegmentTreeTest
{
public static void SegmentTreeDataStructureTest()
{
HInterval[] h = new HInterval[9];
h[0] = new HInterval(new Point2D(19, 3), new Point2D(24, 3)) { Id = 0};
h[1] = new HInterval(new Point2D(0, 3), new Point2D(4, 3)) { Id = 1 };
h[2] = new HInterval(new Point2D(2, 1), new Point2D(6, 1)) { Id = 2 };
h[3] = new HInterval(new Point2D(4, 2), new Point2D(9, 2)) { Id = 3 };
h[4] = new HInterval(new Point2D(6, 0), new Point2D(14, 0)) { Id = 4 };
h[5] = new HInterval(new Point2D(9, 3), new Point2D(16, 3)) { Id = 5 };
h[6] = new HInterval(new Point2D(13, 2), new Point2D(19, 2)) { Id = 6 };
h[7] = new HInterval(new Point2D(16, 1), new Point2D(19, 1)) { Id = 7 };
h[8] = new HInterval(new Point2D(16, 0), new Point2D(24, 0)) { Id = 8 };
Console.WriteLine("Buiding Segment Tree");
SegmentTree.Build(h);
Console.WriteLine("Construction Completed");
Console.WriteLine("All segments intersection (17,0):");
List<HInterval> intervals = SegmentTree.GetAllIntersectingIntervals(new Point2D(17, 0));
foreach (var interval in intervals) Console.Write(interval.Id+" ");
Console.WriteLine();
Console.WriteLine("All segments intersection (27,0):");
intervals = SegmentTree.GetAllIntersectingIntervals(new Point2D(27, 0));
foreach (var interval in intervals) Console.Write(interval.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (10,0):");
intervals = SegmentTree.GetAllIntersectingIntervals(new Point2D(10, 0));
foreach (var interval in intervals) Console.Write(interval.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (1,0):");
intervals = SegmentTree.GetAllIntersectingIntervals(new Point2D(1, 0));
foreach (var interval in intervals) Console.Write(interval.Id + " ");
Console.WriteLine();
/////////////////////////////////////////////////////////////////////
Console.WriteLine("All segments intersection (17,0):");
HInterval intv = SegmentTree.GetImmediatelyAbove(new Point2D(17, 0));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (27,0):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(27, 0));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (10,0):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(10, 0));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (1,0):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(1, 0));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (4,1.5):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(4, 1.5));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (17,2.5):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(17, 2.5));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (16,0.5):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(16, 0.5));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
Console.WriteLine("All segments intersection (8,3):");
intv = SegmentTree.GetImmediatelyAbove(new Point2D(8, 3));
if (intv.Id > 0) Console.Write(intv.Id + " ");
Console.WriteLine();
}
}
}
| DebajyotiMondal/GraphShine | GraphShine/Tests/SegmentTreeTest.cs | C# | mit | 4,277 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fcsl-pcm: 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.13.2 / fcsl-pcm - 1.1.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
fcsl-pcm
<small>
1.1.0
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2021-11-05 09:57:39 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-05 09:57:39 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 3 Virtual package relying on a GMP lib system installation
coq 8.13.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.12.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.12.0 Official release 4.12.0
ocaml-config 2 OCaml Switch Configuration
ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "FCSL <fcsl@software.imdea.org>"
homepage: "http://software.imdea.org/fcsl/"
bug-reports: "https://github.com/imdea-software/fcsl-pcm/issues"
dev-repo: "git+https://github.com/imdea-software/fcsl-pcm.git"
license: "Apache-2.0"
build: [ make "-j%{jobs}%" ]
install: [ make "install" ]
depends: [
"ocaml"
"coq" {(>= "8.9" & < "8.12~") | (= "dev")}
"coq-mathcomp-ssreflect" {>= "1.7.0" & < "1.10~"}
]
tags: [
"keyword:separation logic"
"keyword:partial commutative monoid"
"category:Computer Science/Data Types and Data Structures"
"logpath:fcsl"
]
authors: [
"Aleksandar Nanevski"
]
synopsis: "Partial Commutative Monoids"
description: """
The PCM library provides a formalisation of Partial Commutative Monoids (PCMs),
a common algebraic structure used in separation logic for verification of
pointer-manipulating sequential and concurrent programs.
The library provides lemmas for mechanised and automated reasoning about PCMs
in the abstract, but also supports concrete common PCM instances, such as heaps,
histories and mutexes.
This library relies on extensionality axioms: propositional and
functional extentionality."""
url {
src: "https://github.com/imdea-software/fcsl-pcm/archive/v1.1.0.tar.gz"
checksum: "sha256=9c1ba6ad0dd98f9f587619c5a8e54641457b9fa5ac988cb95328de5f1b47018f"
}
</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-fcsl-pcm.1.1.0 coq.8.13.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.13.2).
The following dependencies couldn't be met:
- coq-fcsl-pcm -> coq (< 8.12~ & = dev) -> ocaml < 4.12
base of this switch (use `--unlock-base' 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-fcsl-pcm.1.1.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.12.0-2.0.8/released/8.13.2/fcsl-pcm/1.1.0.html | HTML | mit | 7,506 |
from twistedbot.plugins.base import PluginChatBase
from twistedbot.behavior_tree import InventorySelectActive
class Debug(PluginChatBase):
@property
def command_verb(self):
return "debug"
@property
def help(self):
return "help for debug"
def command(self, sender, command, args):
if subject:
what = subject[0]
if what == "inventoryselect":
item_name = " ".join(subject[1:])
if not item_name:
self.send_chat_message("specify item")
return
itemstack = InventorySelectActive.parse_parameters(item_name)
if itemstack is not None:
self.world.bot.behavior_tree.new_command(InventorySelectActive, itemstack=itemstack)
else:
self.send_chat_message("unknown item %s" % item_name)
else:
self.send_chat_message("unknown subject")
else:
self.send_chat_message("debug what?")
plugin = Debug
| lukleh/TwistedBot | twistedbot/plugins/core/chat_debug.py | Python | mit | 1,061 |
// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "v8.h"
#include "accessors.h"
#include "api.h"
#include "arguments.h"
#include "codegen.h"
#include "execution.h"
#include "ic-inl.h"
#include "runtime.h"
#include "stub-cache.h"
namespace v8 {
namespace internal {
#ifdef DEBUG
char IC::TransitionMarkFromState(IC::State state) {
switch (state) {
case UNINITIALIZED: return '0';
case PREMONOMORPHIC: return '.';
case MONOMORPHIC: return '1';
case MONOMORPHIC_PROTOTYPE_FAILURE: return '^';
case POLYMORPHIC: return 'P';
case MEGAMORPHIC: return 'N';
case GENERIC: return 'G';
// We never see the debugger states here, because the state is
// computed from the original code - not the patched code. Let
// these cases fall through to the unreachable code below.
case DEBUG_STUB: break;
}
UNREACHABLE();
return 0;
}
const char* GetTransitionMarkModifier(KeyedAccessStoreMode mode) {
if (mode == STORE_NO_TRANSITION_HANDLE_COW) return ".COW";
if (mode == STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS) {
return ".IGNORE_OOB";
}
if (IsGrowStoreMode(mode)) return ".GROW";
return "";
}
void IC::TraceIC(const char* type,
Handle<Object> name) {
if (FLAG_trace_ic) {
Code* new_target = raw_target();
State new_state = new_target->ic_state();
PrintF("[%s%s in ", new_target->is_keyed_stub() ? "Keyed" : "", type);
StackFrameIterator it(isolate());
while (it.frame()->fp() != this->fp()) it.Advance();
StackFrame* raw_frame = it.frame();
if (raw_frame->is_internal()) {
Code* apply_builtin = isolate()->builtins()->builtin(
Builtins::kFunctionApply);
if (raw_frame->unchecked_code() == apply_builtin) {
PrintF("apply from ");
it.Advance();
raw_frame = it.frame();
}
}
JavaScriptFrame::PrintTop(isolate(), stdout, false, true);
Code::ExtraICState extra_state = new_target->extra_ic_state();
const char* modifier =
GetTransitionMarkModifier(Code::GetKeyedAccessStoreMode(extra_state));
PrintF(" (%c->%c%s)",
TransitionMarkFromState(state()),
TransitionMarkFromState(new_state),
modifier);
name->Print();
PrintF("]\n");
}
}
#define TRACE_GENERIC_IC(isolate, type, reason) \
do { \
if (FLAG_trace_ic) { \
PrintF("[%s patching generic stub in ", type); \
JavaScriptFrame::PrintTop(isolate, stdout, false, true); \
PrintF(" (%s)]\n", reason); \
} \
} while (false)
#else
#define TRACE_GENERIC_IC(isolate, type, reason)
#endif // DEBUG
#define TRACE_IC(type, name) \
ASSERT((TraceIC(type, name), true))
IC::IC(FrameDepth depth, Isolate* isolate)
: isolate_(isolate),
target_set_(false) {
// To improve the performance of the (much used) IC code, we unfold a few
// levels of the stack frame iteration code. This yields a ~35% speedup when
// running DeltaBlue and a ~25% speedup of gbemu with the '--nouse-ic' flag.
const Address entry =
Isolate::c_entry_fp(isolate->thread_local_top());
Address* pc_address =
reinterpret_cast<Address*>(entry + ExitFrameConstants::kCallerPCOffset);
Address fp = Memory::Address_at(entry + ExitFrameConstants::kCallerFPOffset);
// If there's another JavaScript frame on the stack or a
// StubFailureTrampoline, we need to look one frame further down the stack to
// find the frame pointer and the return address stack slot.
if (depth == EXTRA_CALL_FRAME) {
const int kCallerPCOffset = StandardFrameConstants::kCallerPCOffset;
pc_address = reinterpret_cast<Address*>(fp + kCallerPCOffset);
fp = Memory::Address_at(fp + StandardFrameConstants::kCallerFPOffset);
}
#ifdef DEBUG
StackFrameIterator it(isolate);
for (int i = 0; i < depth + 1; i++) it.Advance();
StackFrame* frame = it.frame();
ASSERT(fp == frame->fp() && pc_address == frame->pc_address());
#endif
fp_ = fp;
pc_address_ = StackFrame::ResolveReturnAddressLocation(pc_address);
target_ = handle(raw_target(), isolate);
state_ = target_->ic_state();
}
#ifdef ENABLE_DEBUGGER_SUPPORT
Address IC::OriginalCodeAddress() const {
HandleScope scope(isolate());
// Compute the JavaScript frame for the frame pointer of this IC
// structure. We need this to be able to find the function
// corresponding to the frame.
StackFrameIterator it(isolate());
while (it.frame()->fp() != this->fp()) it.Advance();
JavaScriptFrame* frame = JavaScriptFrame::cast(it.frame());
// Find the function on the stack and both the active code for the
// function and the original code.
JSFunction* function = frame->function();
Handle<SharedFunctionInfo> shared(function->shared(), isolate());
Code* code = shared->code();
ASSERT(Debug::HasDebugInfo(shared));
Code* original_code = Debug::GetDebugInfo(shared)->original_code();
ASSERT(original_code->IsCode());
// Get the address of the call site in the active code. This is the
// place where the call to DebugBreakXXX is and where the IC
// normally would be.
Address addr = Assembler::target_address_from_return_address(pc());
// Return the address in the original code. This is the place where
// the call which has been overwritten by the DebugBreakXXX resides
// and the place where the inline cache system should look.
intptr_t delta =
original_code->instruction_start() - code->instruction_start();
return addr + delta;
}
#endif
static bool HasInterceptorGetter(JSObject* object) {
return !object->GetNamedInterceptor()->getter()->IsUndefined();
}
static bool HasInterceptorSetter(JSObject* object) {
return !object->GetNamedInterceptor()->setter()->IsUndefined();
}
static void LookupForRead(Handle<Object> object,
Handle<String> name,
LookupResult* lookup) {
// Skip all the objects with named interceptors, but
// without actual getter.
while (true) {
object->Lookup(*name, lookup);
// Besides normal conditions (property not found or it's not
// an interceptor), bail out if lookup is not cacheable: we won't
// be able to IC it anyway and regular lookup should work fine.
if (!lookup->IsInterceptor() || !lookup->IsCacheable()) {
return;
}
Handle<JSObject> holder(lookup->holder(), lookup->isolate());
if (HasInterceptorGetter(*holder)) {
return;
}
holder->LocalLookupRealNamedProperty(*name, lookup);
if (lookup->IsFound()) {
ASSERT(!lookup->IsInterceptor());
return;
}
Handle<Object> proto(holder->GetPrototype(), lookup->isolate());
if (proto->IsNull()) {
ASSERT(!lookup->IsFound());
return;
}
object = proto;
}
}
bool CallIC::TryUpdateExtraICState(LookupResult* lookup,
Handle<Object> object) {
if (!lookup->IsConstantFunction()) return false;
JSFunction* function = lookup->GetConstantFunction();
if (!function->shared()->HasBuiltinFunctionId()) return false;
// Fetch the arguments passed to the called function.
const int argc = target()->arguments_count();
Address entry = isolate()->c_entry_fp(isolate()->thread_local_top());
Address fp = Memory::Address_at(entry + ExitFrameConstants::kCallerFPOffset);
Arguments args(argc + 1,
&Memory::Object_at(fp +
StandardFrameConstants::kCallerSPOffset +
argc * kPointerSize));
switch (function->shared()->builtin_function_id()) {
case kStringCharCodeAt:
case kStringCharAt:
if (object->IsString()) {
String* string = String::cast(*object);
// Check there's the right string value or wrapper in the receiver slot.
ASSERT(string == args[0] || string == JSValue::cast(args[0])->value());
// If we're in the default (fastest) state and the index is
// out of bounds, update the state to record this fact.
if (StringStubState::decode(extra_ic_state()) == DEFAULT_STRING_STUB &&
argc >= 1 && args[1]->IsNumber()) {
double index = DoubleToInteger(args.number_at(1));
if (index < 0 || index >= string->length()) {
extra_ic_state_ =
StringStubState::update(extra_ic_state(),
STRING_INDEX_OUT_OF_BOUNDS);
return true;
}
}
}
break;
default:
return false;
}
return false;
}
bool IC::TryRemoveInvalidPrototypeDependentStub(Handle<Object> receiver,
Handle<String> name) {
DisallowHeapAllocation no_gc;
if (target()->is_call_stub()) {
LookupResult lookup(isolate());
LookupForRead(receiver, name, &lookup);
if (static_cast<CallIC*>(this)->TryUpdateExtraICState(&lookup, receiver)) {
return true;
}
}
if (target()->is_keyed_stub()) {
// Determine whether the failure is due to a name failure.
if (!name->IsName()) return false;
Name* stub_name = target()->FindFirstName();
if (*name != stub_name) return false;
}
InlineCacheHolderFlag cache_holder =
Code::ExtractCacheHolderFromFlags(target()->flags());
switch (cache_holder) {
case OWN_MAP:
// The stub was generated for JSObject but called for non-JSObject.
// IC::GetCodeCacheHolder is not applicable.
if (!receiver->IsJSObject()) return false;
break;
case PROTOTYPE_MAP:
// IC::GetCodeCacheHolder is not applicable.
if (receiver->GetPrototype(isolate())->IsNull()) return false;
break;
}
Handle<Map> map(
IC::GetCodeCacheHolder(isolate(), *receiver, cache_holder)->map());
// Decide whether the inline cache failed because of changes to the
// receiver itself or changes to one of its prototypes.
//
// If there are changes to the receiver itself, the map of the
// receiver will have changed and the current target will not be in
// the receiver map's code cache. Therefore, if the current target
// is in the receiver map's code cache, the inline cache failed due
// to prototype check failure.
int index = map->IndexInCodeCache(*name, *target());
if (index >= 0) {
map->RemoveFromCodeCache(*name, *target(), index);
// Handlers are stored in addition to the ICs on the map. Remove those, too.
TryRemoveInvalidHandlers(map, name);
return true;
}
// The stub is not in the cache. We've ruled out all other kinds of failure
// except for proptotype chain changes, a deprecated map, a map that's
// different from the one that the stub expects, elements kind changes, or a
// constant global property that will become mutable. Threat all those
// situations as prototype failures (stay monomorphic if possible).
// If the IC is shared between multiple receivers (slow dictionary mode), then
// the map cannot be deprecated and the stub invalidated.
if (cache_holder == OWN_MAP) {
Map* old_map = target()->FindFirstMap();
if (old_map == *map) return true;
if (old_map != NULL) {
if (old_map->is_deprecated()) return true;
if (IsMoreGeneralElementsKindTransition(old_map->elements_kind(),
map->elements_kind())) {
return true;
}
}
}
if (receiver->IsGlobalObject()) {
LookupResult lookup(isolate());
GlobalObject* global = GlobalObject::cast(*receiver);
global->LocalLookupRealNamedProperty(*name, &lookup);
if (!lookup.IsFound()) return false;
PropertyCell* cell = global->GetPropertyCell(&lookup);
return cell->type()->IsConstant();
}
return false;
}
void IC::TryRemoveInvalidHandlers(Handle<Map> map, Handle<String> name) {
CodeHandleList handlers;
target()->FindHandlers(&handlers);
for (int i = 0; i < handlers.length(); i++) {
Handle<Code> handler = handlers.at(i);
int index = map->IndexInCodeCache(*name, *handler);
if (index >= 0) {
map->RemoveFromCodeCache(*name, *handler, index);
return;
}
}
}
void IC::UpdateState(Handle<Object> receiver, Handle<Object> name) {
if (!name->IsString()) return;
if (state() != MONOMORPHIC) {
if (state() == POLYMORPHIC && receiver->IsHeapObject()) {
TryRemoveInvalidHandlers(
handle(Handle<HeapObject>::cast(receiver)->map()),
Handle<String>::cast(name));
}
return;
}
if (receiver->IsUndefined() || receiver->IsNull()) return;
// Remove the target from the code cache if it became invalid
// because of changes in the prototype chain to avoid hitting it
// again.
if (TryRemoveInvalidPrototypeDependentStub(
receiver, Handle<String>::cast(name))) {
return MarkMonomorphicPrototypeFailure();
}
// The builtins object is special. It only changes when JavaScript
// builtins are loaded lazily. It is important to keep inline
// caches for the builtins object monomorphic. Therefore, if we get
// an inline cache miss for the builtins object after lazily loading
// JavaScript builtins, we return uninitialized as the state to
// force the inline cache back to monomorphic state.
if (receiver->IsJSBuiltinsObject()) state_ = UNINITIALIZED;
}
RelocInfo::Mode IC::ComputeMode() {
Address addr = address();
Code* code = Code::cast(isolate()->FindCodeObject(addr));
for (RelocIterator it(code, RelocInfo::kCodeTargetMask);
!it.done(); it.next()) {
RelocInfo* info = it.rinfo();
if (info->pc() == addr) return info->rmode();
}
UNREACHABLE();
return RelocInfo::NONE32;
}
Failure* IC::TypeError(const char* type,
Handle<Object> object,
Handle<Object> key) {
HandleScope scope(isolate());
Handle<Object> args[2] = { key, object };
Handle<Object> error = isolate()->factory()->NewTypeError(
type, HandleVector(args, 2));
return isolate()->Throw(*error);
}
Failure* IC::ReferenceError(const char* type, Handle<String> name) {
HandleScope scope(isolate());
Handle<Object> error = isolate()->factory()->NewReferenceError(
type, HandleVector(&name, 1));
return isolate()->Throw(*error);
}
static int ComputeTypeInfoCountDelta(IC::State old_state, IC::State new_state) {
bool was_uninitialized =
old_state == UNINITIALIZED || old_state == PREMONOMORPHIC;
bool is_uninitialized =
new_state == UNINITIALIZED || new_state == PREMONOMORPHIC;
return (was_uninitialized && !is_uninitialized) ? 1 :
(!was_uninitialized && is_uninitialized) ? -1 : 0;
}
void IC::PostPatching(Address address, Code* target, Code* old_target) {
if (FLAG_type_info_threshold == 0 && !FLAG_watch_ic_patching) {
return;
}
Isolate* isolate = target->GetHeap()->isolate();
Code* host = isolate->
inner_pointer_to_code_cache()->GetCacheEntry(address)->code;
if (host->kind() != Code::FUNCTION) return;
if (FLAG_type_info_threshold > 0 &&
old_target->is_inline_cache_stub() &&
target->is_inline_cache_stub()) {
int delta = ComputeTypeInfoCountDelta(old_target->ic_state(),
target->ic_state());
// Not all Code objects have TypeFeedbackInfo.
if (host->type_feedback_info()->IsTypeFeedbackInfo() && delta != 0) {
TypeFeedbackInfo* info =
TypeFeedbackInfo::cast(host->type_feedback_info());
info->change_ic_with_type_info_count(delta);
}
}
if (host->type_feedback_info()->IsTypeFeedbackInfo()) {
TypeFeedbackInfo* info =
TypeFeedbackInfo::cast(host->type_feedback_info());
info->change_own_type_change_checksum();
}
if (FLAG_watch_ic_patching) {
host->set_profiler_ticks(0);
isolate->runtime_profiler()->NotifyICChanged();
}
// TODO(2029): When an optimized function is patched, it would
// be nice to propagate the corresponding type information to its
// unoptimized version for the benefit of later inlining.
}
void IC::Clear(Isolate* isolate, Address address) {
Code* target = GetTargetAtAddress(address);
// Don't clear debug break inline cache as it will remove the break point.
if (target->is_debug_stub()) return;
switch (target->kind()) {
case Code::LOAD_IC: return LoadIC::Clear(isolate, address, target);
case Code::KEYED_LOAD_IC:
return KeyedLoadIC::Clear(isolate, address, target);
case Code::STORE_IC: return StoreIC::Clear(isolate, address, target);
case Code::KEYED_STORE_IC:
return KeyedStoreIC::Clear(isolate, address, target);
case Code::CALL_IC: return CallIC::Clear(address, target);
case Code::KEYED_CALL_IC: return KeyedCallIC::Clear(address, target);
case Code::COMPARE_IC: return CompareIC::Clear(isolate, address, target);
case Code::COMPARE_NIL_IC: return CompareNilIC::Clear(address, target);
case Code::BINARY_OP_IC:
case Code::TO_BOOLEAN_IC:
// Clearing these is tricky and does not
// make any performance difference.
return;
default: UNREACHABLE();
}
}
void CallICBase::Clear(Address address, Code* target) {
if (IsCleared(target)) return;
bool contextual = CallICBase::Contextual::decode(target->extra_ic_state());
Code* code =
target->GetIsolate()->stub_cache()->FindCallInitialize(
target->arguments_count(),
contextual ? RelocInfo::CODE_TARGET_CONTEXT : RelocInfo::CODE_TARGET,
target->kind());
SetTargetAtAddress(address, code);
}
void KeyedLoadIC::Clear(Isolate* isolate, Address address, Code* target) {
if (IsCleared(target)) return;
// Make sure to also clear the map used in inline fast cases. If we
// do not clear these maps, cached code can keep objects alive
// through the embedded maps.
SetTargetAtAddress(address, *pre_monomorphic_stub(isolate));
}
void LoadIC::Clear(Isolate* isolate, Address address, Code* target) {
if (IsCleared(target)) return;
SetTargetAtAddress(address, *pre_monomorphic_stub(isolate));
}
void StoreIC::Clear(Isolate* isolate, Address address, Code* target) {
if (IsCleared(target)) return;
SetTargetAtAddress(address,
*pre_monomorphic_stub(
isolate, Code::GetStrictMode(target->extra_ic_state())));
}
void KeyedStoreIC::Clear(Isolate* isolate, Address address, Code* target) {
if (IsCleared(target)) return;
SetTargetAtAddress(address,
*pre_monomorphic_stub(
isolate, Code::GetStrictMode(target->extra_ic_state())));
}
void CompareIC::Clear(Isolate* isolate, Address address, Code* target) {
ASSERT(target->major_key() == CodeStub::CompareIC);
CompareIC::State handler_state;
Token::Value op;
ICCompareStub::DecodeMinorKey(target->stub_info(), NULL, NULL,
&handler_state, &op);
// Only clear CompareICs that can retain objects.
if (handler_state != KNOWN_OBJECT) return;
SetTargetAtAddress(address, GetRawUninitialized(isolate, op));
PatchInlinedSmiCode(address, DISABLE_INLINED_SMI_CHECK);
}
Handle<Object> CallICBase::TryCallAsFunction(Handle<Object> object) {
Handle<Object> delegate = Execution::GetFunctionDelegate(isolate(), object);
if (delegate->IsJSFunction() && !object->IsJSFunctionProxy()) {
// Patch the receiver and use the delegate as the function to
// invoke. This is used for invoking objects as if they were functions.
const int argc = target()->arguments_count();
StackFrameLocator locator(isolate());
JavaScriptFrame* frame = locator.FindJavaScriptFrame(0);
int index = frame->ComputeExpressionsCount() - (argc + 1);
frame->SetExpression(index, *object);
}
return delegate;
}
void CallICBase::ReceiverToObjectIfRequired(Handle<Object> callee,
Handle<Object> object) {
while (callee->IsJSFunctionProxy()) {
callee = Handle<Object>(JSFunctionProxy::cast(*callee)->call_trap(),
isolate());
}
if (callee->IsJSFunction()) {
Handle<JSFunction> function = Handle<JSFunction>::cast(callee);
if (!function->shared()->is_classic_mode() || function->IsBuiltin()) {
// Do not wrap receiver for strict mode functions or for builtins.
return;
}
}
// And only wrap string, number or boolean.
if (object->IsString() || object->IsNumber() || object->IsBoolean()) {
// Change the receiver to the result of calling ToObject on it.
const int argc = this->target()->arguments_count();
StackFrameLocator locator(isolate());
JavaScriptFrame* frame = locator.FindJavaScriptFrame(0);
int index = frame->ComputeExpressionsCount() - (argc + 1);
frame->SetExpression(index, *isolate()->factory()->ToObject(object));
}
}
static bool MigrateDeprecated(Handle<Object> object) {
if (!object->IsJSObject()) return false;
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
if (!receiver->map()->is_deprecated()) return false;
JSObject::MigrateInstance(Handle<JSObject>::cast(object));
return true;
}
MaybeObject* CallICBase::LoadFunction(Handle<Object> object,
Handle<String> name) {
bool use_ic = MigrateDeprecated(object) ? false : FLAG_use_ic;
// If the object is undefined or null it's illegal to try to get any
// of its properties; throw a TypeError in that case.
if (object->IsUndefined() || object->IsNull()) {
return TypeError("non_object_property_call", object, name);
}
// Check if the name is trivially convertible to an index and get
// the element if so.
uint32_t index;
if (name->AsArrayIndex(&index)) {
Handle<Object> result = Object::GetElement(isolate(), object, index);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
if (result->IsJSFunction()) return *result;
// Try to find a suitable function delegate for the object at hand.
result = TryCallAsFunction(result);
if (result->IsJSFunction()) return *result;
// Otherwise, it will fail in the lookup step.
}
// Lookup the property in the object.
LookupResult lookup(isolate());
LookupForRead(object, name, &lookup);
if (!lookup.IsFound()) {
// If the object does not have the requested property, check which
// exception we need to throw.
return IsUndeclaredGlobal(object)
? ReferenceError("not_defined", name)
: TypeError("undefined_method", object, name);
}
// Lookup is valid: Update inline cache and stub cache.
if (use_ic) UpdateCaches(&lookup, object, name);
// Get the property.
PropertyAttributes attr;
Handle<Object> result =
Object::GetProperty(object, object, &lookup, name, &attr);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
if (lookup.IsInterceptor() && attr == ABSENT) {
// If the object does not have the requested property, check which
// exception we need to throw.
return IsUndeclaredGlobal(object)
? ReferenceError("not_defined", name)
: TypeError("undefined_method", object, name);
}
ASSERT(!result->IsTheHole());
// Make receiver an object if the callee requires it. Strict mode or builtin
// functions do not wrap the receiver, non-strict functions and objects
// called as functions do.
ReceiverToObjectIfRequired(result, object);
if (result->IsJSFunction()) {
Handle<JSFunction> function = Handle<JSFunction>::cast(result);
#ifdef ENABLE_DEBUGGER_SUPPORT
// Handle stepping into a function if step into is active.
Debug* debug = isolate()->debug();
if (debug->StepInActive()) {
// Protect the result in a handle as the debugger can allocate and might
// cause GC.
debug->HandleStepIn(function, object, fp(), false);
}
#endif
return *function;
}
// Try to find a suitable function delegate for the object at hand.
result = TryCallAsFunction(result);
if (result->IsJSFunction()) return *result;
return TypeError("property_not_function", object, name);
}
Handle<Code> CallICBase::ComputeMonomorphicStub(LookupResult* lookup,
Handle<Object> object,
Handle<String> name) {
int argc = target()->arguments_count();
Handle<JSObject> holder(lookup->holder(), isolate());
switch (lookup->type()) {
case FIELD: {
PropertyIndex index = lookup->GetFieldIndex();
return isolate()->stub_cache()->ComputeCallField(
argc, kind_, extra_ic_state(), name, object, holder, index);
}
case CONSTANT: {
if (!lookup->IsConstantFunction()) return Handle<Code>::null();
// Get the constant function and compute the code stub for this
// call; used for rewriting to monomorphic state and making sure
// that the code stub is in the stub cache.
Handle<JSFunction> function(lookup->GetConstantFunction(), isolate());
return isolate()->stub_cache()->ComputeCallConstant(
argc, kind_, extra_ic_state(), name, object, holder, function);
}
case NORMAL: {
// If we return a null handle, the IC will not be patched.
if (!object->IsJSObject()) return Handle<Code>::null();
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
if (holder->IsGlobalObject()) {
Handle<GlobalObject> global = Handle<GlobalObject>::cast(holder);
Handle<PropertyCell> cell(
global->GetPropertyCell(lookup), isolate());
if (!cell->value()->IsJSFunction()) return Handle<Code>::null();
Handle<JSFunction> function(JSFunction::cast(cell->value()));
return isolate()->stub_cache()->ComputeCallGlobal(
argc, kind_, extra_ic_state(), name,
receiver, global, cell, function);
} else {
// There is only one shared stub for calling normalized
// properties. It does not traverse the prototype chain, so the
// property must be found in the receiver for the stub to be
// applicable.
if (!holder.is_identical_to(receiver)) return Handle<Code>::null();
return isolate()->stub_cache()->ComputeCallNormal(
argc, kind_, extra_ic_state());
}
break;
}
case INTERCEPTOR:
ASSERT(HasInterceptorGetter(*holder));
return isolate()->stub_cache()->ComputeCallInterceptor(
argc, kind_, extra_ic_state(), name, object, holder);
default:
return Handle<Code>::null();
}
}
Handle<Code> CallICBase::megamorphic_stub() {
return isolate()->stub_cache()->ComputeCallMegamorphic(
target()->arguments_count(), kind_, extra_ic_state());
}
Handle<Code> CallICBase::pre_monomorphic_stub() {
return isolate()->stub_cache()->ComputeCallPreMonomorphic(
target()->arguments_count(), kind_, extra_ic_state());
}
void CallICBase::UpdateCaches(LookupResult* lookup,
Handle<Object> object,
Handle<String> name) {
// Bail out if we didn't find a result.
if (!lookup->IsProperty() || !lookup->IsCacheable()) return;
// Compute the number of arguments.
Handle<Code> code;
code = state() == UNINITIALIZED
? pre_monomorphic_stub()
: ComputeMonomorphicStub(lookup, object, name);
// If there's no appropriate stub we simply avoid updating the caches.
// TODO(verwaest): Install a slow fallback in this case to avoid not learning,
// and deopting Crankshaft code.
if (code.is_null()) return;
Handle<JSObject> cache_object = object->IsJSObject()
? Handle<JSObject>::cast(object)
: Handle<JSObject>(JSObject::cast(object->GetPrototype(isolate())),
isolate());
PatchCache(cache_object, name, code);
TRACE_IC("CallIC", name);
}
MaybeObject* KeyedCallIC::LoadFunction(Handle<Object> object,
Handle<Object> key) {
if (key->IsInternalizedString()) {
return CallICBase::LoadFunction(object, Handle<String>::cast(key));
}
if (object->IsUndefined() || object->IsNull()) {
return TypeError("non_object_property_call", object, key);
}
bool use_ic = MigrateDeprecated(object)
? false : FLAG_use_ic && !object->IsAccessCheckNeeded();
if (use_ic && state() != MEGAMORPHIC) {
ASSERT(!object->IsJSGlobalProxy());
int argc = target()->arguments_count();
Handle<Code> stub = isolate()->stub_cache()->ComputeCallMegamorphic(
argc, Code::KEYED_CALL_IC, Code::kNoExtraICState);
if (object->IsJSObject()) {
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
if (receiver->elements()->map() ==
isolate()->heap()->non_strict_arguments_elements_map()) {
stub = isolate()->stub_cache()->ComputeCallArguments(argc);
}
}
ASSERT(!stub.is_null());
set_target(*stub);
TRACE_IC("CallIC", key);
}
Handle<Object> result = GetProperty(isolate(), object, key);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
// Make receiver an object if the callee requires it. Strict mode or builtin
// functions do not wrap the receiver, non-strict functions and objects
// called as functions do.
ReceiverToObjectIfRequired(result, object);
if (result->IsJSFunction()) return *result;
result = TryCallAsFunction(result);
if (result->IsJSFunction()) return *result;
return TypeError("property_not_function", object, key);
}
MaybeObject* LoadIC::Load(Handle<Object> object,
Handle<String> name) {
// If the object is undefined or null it's illegal to try to get any
// of its properties; throw a TypeError in that case.
if (object->IsUndefined() || object->IsNull()) {
return TypeError("non_object_property_load", object, name);
}
if (FLAG_use_ic) {
// Use specialized code for getting the length of strings and
// string wrapper objects. The length property of string wrapper
// objects is read-only and therefore always returns the length of
// the underlying string value. See ECMA-262 15.5.5.1.
if (object->IsStringWrapper() &&
name->Equals(isolate()->heap()->length_string())) {
Handle<Code> stub;
if (state() == UNINITIALIZED) {
stub = pre_monomorphic_stub();
} else if (state() == PREMONOMORPHIC || state() == MONOMORPHIC) {
StringLengthStub string_length_stub(kind());
stub = string_length_stub.GetCode(isolate());
} else if (state() != MEGAMORPHIC) {
ASSERT(state() != GENERIC);
stub = megamorphic_stub();
}
if (!stub.is_null()) {
set_target(*stub);
#ifdef DEBUG
if (FLAG_trace_ic) PrintF("[LoadIC : +#length /stringwrapper]\n");
#endif
}
// Get the string if we have a string wrapper object.
String* string = String::cast(JSValue::cast(*object)->value());
return Smi::FromInt(string->length());
}
// Use specialized code for getting prototype of functions.
if (object->IsJSFunction() &&
name->Equals(isolate()->heap()->prototype_string()) &&
Handle<JSFunction>::cast(object)->should_have_prototype()) {
Handle<Code> stub;
if (state() == UNINITIALIZED) {
stub = pre_monomorphic_stub();
} else if (state() == PREMONOMORPHIC) {
FunctionPrototypeStub function_prototype_stub(kind());
stub = function_prototype_stub.GetCode(isolate());
} else if (state() != MEGAMORPHIC) {
ASSERT(state() != GENERIC);
stub = megamorphic_stub();
}
if (!stub.is_null()) {
set_target(*stub);
#ifdef DEBUG
if (FLAG_trace_ic) PrintF("[LoadIC : +#prototype /function]\n");
#endif
}
return *Accessors::FunctionGetPrototype(Handle<JSFunction>::cast(object));
}
}
// Check if the name is trivially convertible to an index and get
// the element or char if so.
uint32_t index;
if (kind() == Code::KEYED_LOAD_IC && name->AsArrayIndex(&index)) {
// Rewrite to the generic keyed load stub.
if (FLAG_use_ic) set_target(*generic_stub());
return Runtime::GetElementOrCharAtOrFail(isolate(), object, index);
}
bool use_ic = MigrateDeprecated(object) ? false : FLAG_use_ic;
// Named lookup in the object.
LookupResult lookup(isolate());
LookupForRead(object, name, &lookup);
// If we did not find a property, check if we need to throw an exception.
if (!lookup.IsFound()) {
if (IsUndeclaredGlobal(object)) {
return ReferenceError("not_defined", name);
}
LOG(isolate(), SuspectReadEvent(*name, *object));
}
// Update inline cache and stub cache.
if (use_ic) UpdateCaches(&lookup, object, name);
PropertyAttributes attr;
// Get the property.
Handle<Object> result =
Object::GetProperty(object, object, &lookup, name, &attr);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
// If the property is not present, check if we need to throw an
// exception.
if ((lookup.IsInterceptor() || lookup.IsHandler()) &&
attr == ABSENT && IsUndeclaredGlobal(object)) {
return ReferenceError("not_defined", name);
}
return *result;
}
static bool AddOneReceiverMapIfMissing(MapHandleList* receiver_maps,
Handle<Map> new_receiver_map) {
ASSERT(!new_receiver_map.is_null());
for (int current = 0; current < receiver_maps->length(); ++current) {
if (!receiver_maps->at(current).is_null() &&
receiver_maps->at(current).is_identical_to(new_receiver_map)) {
return false;
}
}
receiver_maps->Add(new_receiver_map);
return true;
}
bool IC::UpdatePolymorphicIC(Handle<HeapObject> receiver,
Handle<String> name,
Handle<Code> code) {
if (!code->is_handler()) return false;
MapHandleList receiver_maps;
CodeHandleList handlers;
int number_of_valid_maps;
int handler_to_overwrite = -1;
Handle<Map> new_receiver_map(receiver->map());
{
DisallowHeapAllocation no_gc;
target()->FindAllMaps(&receiver_maps);
int number_of_maps = receiver_maps.length();
number_of_valid_maps = number_of_maps;
for (int i = 0; i < number_of_maps; i++) {
Handle<Map> map = receiver_maps.at(i);
// Filter out deprecated maps to ensure its instances get migrated.
if (map->is_deprecated()) {
number_of_valid_maps--;
// If the receiver map is already in the polymorphic IC, this indicates
// there was a prototoype chain failure. In that case, just overwrite the
// handler.
} else if (map.is_identical_to(new_receiver_map)) {
number_of_valid_maps--;
handler_to_overwrite = i;
}
}
if (number_of_valid_maps >= 4) return false;
if (number_of_maps == 0) return false;
if (!target()->FindHandlers(&handlers, receiver_maps.length())) {
return false;
}
}
number_of_valid_maps++;
if (handler_to_overwrite >= 0) {
handlers.Set(handler_to_overwrite, code);
} else {
receiver_maps.Add(new_receiver_map);
handlers.Add(code);
}
Handle<Code> ic = isolate()->stub_cache()->ComputePolymorphicIC(
&receiver_maps, &handlers, number_of_valid_maps, name, strict_mode());
set_target(*ic);
return true;
}
void IC::UpdateMonomorphicIC(Handle<HeapObject> receiver,
Handle<Code> handler,
Handle<String> name) {
if (!handler->is_handler()) return set_target(*handler);
Handle<Code> ic = isolate()->stub_cache()->ComputeMonomorphicIC(
receiver, handler, name, strict_mode());
set_target(*ic);
}
void IC::CopyICToMegamorphicCache(Handle<String> name) {
MapHandleList receiver_maps;
CodeHandleList handlers;
{
DisallowHeapAllocation no_gc;
target()->FindAllMaps(&receiver_maps);
if (!target()->FindHandlers(&handlers, receiver_maps.length())) return;
}
for (int i = 0; i < receiver_maps.length(); i++) {
UpdateMegamorphicCache(*receiver_maps.at(i), *name, *handlers.at(i));
}
}
bool IC::IsTransitionedMapOfMonomorphicTarget(Map* receiver_map) {
DisallowHeapAllocation no_allocation;
Map* current_map = target()->FindFirstMap();
ElementsKind receiver_elements_kind = receiver_map->elements_kind();
bool more_general_transition =
IsMoreGeneralElementsKindTransition(
current_map->elements_kind(), receiver_elements_kind);
Map* transitioned_map = more_general_transition
? current_map->LookupElementsTransitionMap(receiver_elements_kind)
: NULL;
return transitioned_map == receiver_map;
}
void IC::PatchCache(Handle<HeapObject> receiver,
Handle<String> name,
Handle<Code> code) {
switch (state()) {
case UNINITIALIZED:
case PREMONOMORPHIC:
case MONOMORPHIC_PROTOTYPE_FAILURE:
UpdateMonomorphicIC(receiver, code, name);
break;
case MONOMORPHIC:
// For now, call stubs are allowed to rewrite to the same stub. This
// happens e.g., when the field does not contain a function.
ASSERT(target()->is_call_stub() ||
target()->is_keyed_call_stub() ||
!target().is_identical_to(code));
if (!target()->is_keyed_stub()) {
bool is_same_handler = false;
{
DisallowHeapAllocation no_allocation;
Code* old_handler = target()->FindFirstHandler();
is_same_handler = old_handler == *code;
}
if (is_same_handler
&& IsTransitionedMapOfMonomorphicTarget(receiver->map())) {
UpdateMonomorphicIC(receiver, code, name);
break;
}
if (UpdatePolymorphicIC(receiver, name, code)) {
break;
}
CopyICToMegamorphicCache(name);
}
UpdateMegamorphicCache(receiver->map(), *name, *code);
set_target(*megamorphic_stub());
break;
case MEGAMORPHIC:
UpdateMegamorphicCache(receiver->map(), *name, *code);
break;
case POLYMORPHIC:
if (target()->is_keyed_stub()) {
// When trying to patch a polymorphic keyed stub with anything other
// than another polymorphic stub, go generic.
set_target(*generic_stub());
} else {
if (UpdatePolymorphicIC(receiver, name, code)) {
break;
}
CopyICToMegamorphicCache(name);
UpdateMegamorphicCache(receiver->map(), *name, *code);
set_target(*megamorphic_stub());
}
break;
case DEBUG_STUB:
break;
case GENERIC:
UNREACHABLE();
break;
}
}
Handle<Code> LoadIC::SimpleFieldLoad(int offset,
bool inobject,
Representation representation) {
if (kind() == Code::LOAD_IC) {
LoadFieldStub stub(inobject, offset, representation);
return stub.GetCode(isolate());
} else {
KeyedLoadFieldStub stub(inobject, offset, representation);
return stub.GetCode(isolate());
}
}
void LoadIC::UpdateCaches(LookupResult* lookup,
Handle<Object> object,
Handle<String> name) {
// TODO(verwaest): It would be nice to support loading fields from smis as
// well. For now just fail to update the cache.
if (!object->IsHeapObject()) return;
Handle<HeapObject> receiver = Handle<HeapObject>::cast(object);
Handle<Code> code;
if (state() == UNINITIALIZED) {
// This is the first time we execute this inline cache.
// Set the target to the pre monomorphic stub to delay
// setting the monomorphic state.
code = pre_monomorphic_stub();
} else if (!lookup->IsCacheable()) {
// Bail out if the result is not cacheable.
code = slow_stub();
} else if (object->IsString() &&
name->Equals(isolate()->heap()->length_string())) {
int length_index = String::kLengthOffset / kPointerSize;
code = SimpleFieldLoad(length_index);
} else if (!object->IsJSObject()) {
// TODO(jkummerow): It would be nice to support non-JSObjects in
// ComputeLoadHandler, then we wouldn't need to go generic here.
code = slow_stub();
} else if (!lookup->IsProperty()) {
code = kind() == Code::LOAD_IC
? isolate()->stub_cache()->ComputeLoadNonexistent(
name, Handle<JSObject>::cast(receiver))
: slow_stub();
} else {
code = ComputeHandler(lookup, Handle<JSObject>::cast(receiver), name);
}
PatchCache(receiver, name, code);
TRACE_IC("LoadIC", name);
}
void IC::UpdateMegamorphicCache(Map* map, Name* name, Code* code) {
// Cache code holding map should be consistent with
// GenerateMonomorphicCacheProbe.
isolate()->stub_cache()->Set(name, map, code);
}
Handle<Code> IC::ComputeHandler(LookupResult* lookup,
Handle<JSObject> receiver,
Handle<String> name,
Handle<Object> value) {
Handle<Code> code = isolate()->stub_cache()->FindHandler(
name, receiver, kind());
if (!code.is_null()) return code;
code = CompileHandler(lookup, receiver, name, value);
if (code->is_handler() && code->type() != Code::NORMAL) {
HeapObject::UpdateMapCodeCache(receiver, name, code);
}
return code;
}
Handle<Code> LoadIC::CompileHandler(LookupResult* lookup,
Handle<JSObject> receiver,
Handle<String> name,
Handle<Object> unused) {
Handle<JSObject> holder(lookup->holder());
LoadStubCompiler compiler(isolate(), kind());
switch (lookup->type()) {
case FIELD: {
PropertyIndex field = lookup->GetFieldIndex();
if (receiver.is_identical_to(holder)) {
return SimpleFieldLoad(field.translate(holder),
field.is_inobject(holder),
lookup->representation());
}
return compiler.CompileLoadField(
receiver, holder, name, field, lookup->representation());
}
case CONSTANT: {
Handle<Object> constant(lookup->GetConstant(), isolate());
// TODO(2803): Don't compute a stub for cons strings because they cannot
// be embedded into code.
if (constant->IsConsString()) break;
return compiler.CompileLoadConstant(receiver, holder, name, constant);
}
case NORMAL:
if (kind() != Code::LOAD_IC) break;
if (holder->IsGlobalObject()) {
Handle<GlobalObject> global = Handle<GlobalObject>::cast(holder);
Handle<PropertyCell> cell(
global->GetPropertyCell(lookup), isolate());
// TODO(verwaest): Turn into a handler.
return isolate()->stub_cache()->ComputeLoadGlobal(
name, receiver, global, cell, lookup->IsDontDelete());
}
// There is only one shared stub for loading normalized
// properties. It does not traverse the prototype chain, so the
// property must be found in the receiver for the stub to be
// applicable.
if (!holder.is_identical_to(receiver)) break;
return isolate()->builtins()->LoadIC_Normal();
case CALLBACKS: {
// Use simple field loads for some well-known callback properties.
int object_offset;
Handle<Map> map(receiver->map());
if (Accessors::IsJSObjectFieldAccessor(map, name, &object_offset)) {
PropertyIndex index =
PropertyIndex::NewHeaderIndex(object_offset / kPointerSize);
return compiler.CompileLoadField(
receiver, receiver, name, index, Representation::Tagged());
}
Handle<Object> callback(lookup->GetCallbackObject(), isolate());
if (callback->IsExecutableAccessorInfo()) {
Handle<ExecutableAccessorInfo> info =
Handle<ExecutableAccessorInfo>::cast(callback);
if (v8::ToCData<Address>(info->getter()) == 0) break;
if (!info->IsCompatibleReceiver(*receiver)) break;
return compiler.CompileLoadCallback(receiver, holder, name, info);
} else if (callback->IsAccessorPair()) {
Handle<Object> getter(Handle<AccessorPair>::cast(callback)->getter(),
isolate());
if (!getter->IsJSFunction()) break;
if (holder->IsGlobalObject()) break;
if (!holder->HasFastProperties()) break;
Handle<JSFunction> function = Handle<JSFunction>::cast(getter);
CallOptimization call_optimization(function);
if (call_optimization.is_simple_api_call() &&
call_optimization.IsCompatibleReceiver(*receiver)) {
return compiler.CompileLoadCallback(
receiver, holder, name, call_optimization);
}
return compiler.CompileLoadViaGetter(receiver, holder, name, function);
}
// TODO(dcarney): Handle correctly.
if (callback->IsDeclaredAccessorInfo()) break;
ASSERT(callback->IsForeign());
// No IC support for old-style native accessors.
break;
}
case INTERCEPTOR:
ASSERT(HasInterceptorGetter(*holder));
return compiler.CompileLoadInterceptor(receiver, holder, name);
default:
break;
}
return slow_stub();
}
static Handle<Object> TryConvertKey(Handle<Object> key, Isolate* isolate) {
// This helper implements a few common fast cases for converting
// non-smi keys of keyed loads/stores to a smi or a string.
if (key->IsHeapNumber()) {
double value = Handle<HeapNumber>::cast(key)->value();
if (std::isnan(value)) {
key = isolate->factory()->nan_string();
} else {
int int_value = FastD2I(value);
if (value == int_value && Smi::IsValid(int_value)) {
key = Handle<Smi>(Smi::FromInt(int_value), isolate);
}
}
} else if (key->IsUndefined()) {
key = isolate->factory()->undefined_string();
}
return key;
}
Handle<Code> KeyedLoadIC::LoadElementStub(Handle<JSObject> receiver) {
// Don't handle megamorphic property accesses for INTERCEPTORS or CALLBACKS
// via megamorphic stubs, since they don't have a map in their relocation info
// and so the stubs can't be harvested for the object needed for a map check.
if (target()->type() != Code::NORMAL) {
TRACE_GENERIC_IC(isolate(), "KeyedIC", "non-NORMAL target type");
return generic_stub();
}
Handle<Map> receiver_map(receiver->map(), isolate());
MapHandleList target_receiver_maps;
if (state() == UNINITIALIZED || state() == PREMONOMORPHIC) {
// Optimistically assume that ICs that haven't reached the MONOMORPHIC state
// yet will do so and stay there.
return isolate()->stub_cache()->ComputeKeyedLoadElement(receiver_map);
}
if (target().is_identical_to(string_stub())) {
target_receiver_maps.Add(isolate()->factory()->string_map());
} else {
target()->FindAllMaps(&target_receiver_maps);
if (target_receiver_maps.length() == 0) {
return isolate()->stub_cache()->ComputeKeyedLoadElement(receiver_map);
}
}
// The first time a receiver is seen that is a transitioned version of the
// previous monomorphic receiver type, assume the new ElementsKind is the
// monomorphic type. This benefits global arrays that only transition
// once, and all call sites accessing them are faster if they remain
// monomorphic. If this optimistic assumption is not true, the IC will
// miss again and it will become polymorphic and support both the
// untransitioned and transitioned maps.
if (state() == MONOMORPHIC &&
IsMoreGeneralElementsKindTransition(
target_receiver_maps.at(0)->elements_kind(),
receiver->GetElementsKind())) {
return isolate()->stub_cache()->ComputeKeyedLoadElement(receiver_map);
}
ASSERT(state() != GENERIC);
// Determine the list of receiver maps that this call site has seen,
// adding the map that was just encountered.
if (!AddOneReceiverMapIfMissing(&target_receiver_maps, receiver_map)) {
// If the miss wasn't due to an unseen map, a polymorphic stub
// won't help, use the generic stub.
TRACE_GENERIC_IC(isolate(), "KeyedIC", "same map added twice");
return generic_stub();
}
// If the maximum number of receiver maps has been exceeded, use the generic
// version of the IC.
if (target_receiver_maps.length() > kMaxKeyedPolymorphism) {
TRACE_GENERIC_IC(isolate(), "KeyedIC", "max polymorph exceeded");
return generic_stub();
}
return isolate()->stub_cache()->ComputeLoadElementPolymorphic(
&target_receiver_maps);
}
MaybeObject* KeyedLoadIC::Load(Handle<Object> object,
Handle<Object> key,
ICMissMode miss_mode) {
if (MigrateDeprecated(object)) {
return Runtime::GetObjectPropertyOrFail(isolate(), object, key);
}
MaybeObject* maybe_object = NULL;
Handle<Code> stub = generic_stub();
// Check for values that can be converted into an internalized string directly
// or is representable as a smi.
key = TryConvertKey(key, isolate());
if (key->IsInternalizedString()) {
maybe_object = LoadIC::Load(object, Handle<String>::cast(key));
if (maybe_object->IsFailure()) return maybe_object;
} else if (FLAG_use_ic && !object->IsAccessCheckNeeded()) {
ASSERT(!object->IsJSGlobalProxy());
if (miss_mode != MISS_FORCE_GENERIC) {
if (object->IsString() && key->IsNumber()) {
if (state() == UNINITIALIZED) stub = string_stub();
} else if (object->IsJSObject()) {
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
if (receiver->elements()->map() ==
isolate()->heap()->non_strict_arguments_elements_map()) {
stub = non_strict_arguments_stub();
} else if (receiver->HasIndexedInterceptor()) {
stub = indexed_interceptor_stub();
} else if (!key->ToSmi()->IsFailure() &&
(!target().is_identical_to(non_strict_arguments_stub()))) {
stub = LoadElementStub(receiver);
}
}
}
}
if (!is_target_set()) {
if (*stub == *generic_stub()) {
TRACE_GENERIC_IC(isolate(), "KeyedLoadIC", "set generic");
}
ASSERT(!stub.is_null());
set_target(*stub);
TRACE_IC("LoadIC", key);
}
if (maybe_object != NULL) return maybe_object;
return Runtime::GetObjectPropertyOrFail(isolate(), object, key);
}
static bool LookupForWrite(Handle<JSObject> receiver,
Handle<String> name,
Handle<Object> value,
LookupResult* lookup,
IC* ic) {
Handle<JSObject> holder = receiver;
receiver->Lookup(*name, lookup);
if (lookup->IsFound()) {
if (lookup->IsReadOnly() || !lookup->IsCacheable()) return false;
if (lookup->holder() == *receiver) {
if (lookup->IsInterceptor() && !HasInterceptorSetter(*receiver)) {
receiver->LocalLookupRealNamedProperty(*name, lookup);
return lookup->IsFound() &&
!lookup->IsReadOnly() &&
lookup->CanHoldValue(value) &&
lookup->IsCacheable();
}
return lookup->CanHoldValue(value);
}
if (lookup->IsPropertyCallbacks()) return true;
// Currently normal holders in the prototype chain are not supported. They
// would require a runtime positive lookup and verification that the details
// have not changed.
if (lookup->IsInterceptor() || lookup->IsNormal()) return false;
holder = Handle<JSObject>(lookup->holder(), lookup->isolate());
}
// While normally LookupTransition gets passed the receiver, in this case we
// pass the holder of the property that we overwrite. This keeps the holder in
// the LookupResult intact so we can later use it to generate a prototype
// chain check. This avoids a double lookup, but requires us to pass in the
// receiver when trying to fetch extra information from the transition.
receiver->map()->LookupTransition(*holder, *name, lookup);
if (!lookup->IsTransition()) return false;
PropertyDetails target_details =
lookup->GetTransitionDetails(receiver->map());
if (target_details.IsReadOnly()) return false;
// If the value that's being stored does not fit in the field that the
// instance would transition to, create a new transition that fits the value.
// This has to be done before generating the IC, since that IC will embed the
// transition target.
// Ensure the instance and its map were migrated before trying to update the
// transition target.
ASSERT(!receiver->map()->is_deprecated());
if (!value->FitsRepresentation(target_details.representation())) {
Handle<Map> target(lookup->GetTransitionMapFromMap(receiver->map()));
Map::GeneralizeRepresentation(
target, target->LastAdded(),
value->OptimalRepresentation(), FORCE_FIELD);
// Lookup the transition again since the transition tree may have changed
// entirely by the migration above.
receiver->map()->LookupTransition(*holder, *name, lookup);
if (!lookup->IsTransition()) return false;
ic->MarkMonomorphicPrototypeFailure();
}
return true;
}
MaybeObject* StoreIC::Store(Handle<Object> object,
Handle<String> name,
Handle<Object> value,
JSReceiver::StoreFromKeyed store_mode) {
if (MigrateDeprecated(object) || object->IsJSProxy()) {
Handle<Object> result = JSReceiver::SetProperty(
Handle<JSReceiver>::cast(object), name, value, NONE, strict_mode());
RETURN_IF_EMPTY_HANDLE(isolate(), result);
return *result;
}
// If the object is undefined or null it's illegal to try to set any
// properties on it; throw a TypeError in that case.
if (object->IsUndefined() || object->IsNull()) {
return TypeError("non_object_property_store", object, name);
}
// The length property of string values is read-only. Throw in strict mode.
if (strict_mode() == kStrictMode && object->IsString() &&
name->Equals(isolate()->heap()->length_string())) {
return TypeError("strict_read_only_property", object, name);
}
// Ignore other stores where the receiver is not a JSObject.
// TODO(1475): Must check prototype chains of object wrappers.
if (!object->IsJSObject()) return *value;
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
// Check if the given name is an array index.
uint32_t index;
if (name->AsArrayIndex(&index)) {
Handle<Object> result =
JSObject::SetElement(receiver, index, value, NONE, strict_mode());
RETURN_IF_EMPTY_HANDLE(isolate(), result);
return *value;
}
// Observed objects are always modified through the runtime.
if (FLAG_harmony_observation && receiver->map()->is_observed()) {
Handle<Object> result = JSReceiver::SetProperty(
receiver, name, value, NONE, strict_mode(), store_mode);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
return *result;
}
// Use specialized code for setting the length of arrays with fast
// properties. Slow properties might indicate redefinition of the length
// property. Note that when redefined using Object.freeze, it's possible
// to have fast properties but a read-only length.
if (FLAG_use_ic &&
receiver->IsJSArray() &&
name->Equals(isolate()->heap()->length_string()) &&
Handle<JSArray>::cast(receiver)->AllowsSetElementsLength() &&
receiver->HasFastProperties() &&
!receiver->map()->is_frozen()) {
Handle<Code> stub =
StoreArrayLengthStub(kind(), strict_mode()).GetCode(isolate());
set_target(*stub);
TRACE_IC("StoreIC", name);
Handle<Object> result = JSReceiver::SetProperty(
receiver, name, value, NONE, strict_mode(), store_mode);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
return *result;
}
if (receiver->IsJSGlobalProxy()) {
if (FLAG_use_ic && kind() != Code::KEYED_STORE_IC) {
// Generate a generic stub that goes to the runtime when we see a global
// proxy as receiver.
Handle<Code> stub = global_proxy_stub();
set_target(*stub);
TRACE_IC("StoreIC", name);
}
Handle<Object> result = JSReceiver::SetProperty(
receiver, name, value, NONE, strict_mode(), store_mode);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
return *result;
}
LookupResult lookup(isolate());
bool can_store = LookupForWrite(receiver, name, value, &lookup, this);
if (!can_store &&
strict_mode() == kStrictMode &&
!(lookup.IsProperty() && lookup.IsReadOnly()) &&
IsUndeclaredGlobal(object)) {
// Strict mode doesn't allow setting non-existent global property.
return ReferenceError("not_defined", name);
}
if (FLAG_use_ic) {
if (state() == UNINITIALIZED) {
Handle<Code> stub = pre_monomorphic_stub();
set_target(*stub);
TRACE_IC("StoreIC", name);
} else if (can_store) {
UpdateCaches(&lookup, receiver, name, value);
} else if (!name->IsCacheable(isolate()) ||
lookup.IsNormal() ||
(lookup.IsField() && lookup.CanHoldValue(value))) {
Handle<Code> stub = generic_stub();
set_target(*stub);
}
}
// Set the property.
Handle<Object> result = JSReceiver::SetProperty(
receiver, name, value, NONE, strict_mode(), store_mode);
RETURN_IF_EMPTY_HANDLE(isolate(), result);
return *result;
}
void StoreIC::UpdateCaches(LookupResult* lookup,
Handle<JSObject> receiver,
Handle<String> name,
Handle<Object> value) {
ASSERT(!receiver->IsJSGlobalProxy());
ASSERT(lookup->IsFound());
// These are not cacheable, so we never see such LookupResults here.
ASSERT(!lookup->IsHandler());
Handle<Code> code = ComputeHandler(lookup, receiver, name, value);
PatchCache(receiver, name, code);
TRACE_IC("StoreIC", name);
}
Handle<Code> StoreIC::CompileHandler(LookupResult* lookup,
Handle<JSObject> receiver,
Handle<String> name,
Handle<Object> value) {
Handle<JSObject> holder(lookup->holder());
StoreStubCompiler compiler(isolate(), strict_mode(), kind());
switch (lookup->type()) {
case FIELD:
return compiler.CompileStoreField(receiver, lookup, name);
case TRANSITION: {
// Explicitly pass in the receiver map since LookupForWrite may have
// stored something else than the receiver in the holder.
Handle<Map> transition(
lookup->GetTransitionTarget(receiver->map()), isolate());
int descriptor = transition->LastAdded();
DescriptorArray* target_descriptors = transition->instance_descriptors();
PropertyDetails details = target_descriptors->GetDetails(descriptor);
if (details.type() == CALLBACKS || details.attributes() != NONE) break;
return compiler.CompileStoreTransition(
receiver, lookup, transition, name);
}
case NORMAL:
if (kind() == Code::KEYED_STORE_IC) break;
if (receiver->IsGlobalObject()) {
// The stub generated for the global object picks the value directly
// from the property cell. So the property must be directly on the
// global object.
Handle<GlobalObject> global = Handle<GlobalObject>::cast(receiver);
Handle<PropertyCell> cell(
global->GetPropertyCell(lookup), isolate());
// TODO(verwaest): Turn into a handler.
return isolate()->stub_cache()->ComputeStoreGlobal(
name, global, cell, value, strict_mode());
}
ASSERT(holder.is_identical_to(receiver));
return strict_mode() == kStrictMode
? isolate()->builtins()->StoreIC_Normal_Strict()
: isolate()->builtins()->StoreIC_Normal();
case CALLBACKS: {
if (kind() == Code::KEYED_STORE_IC) break;
Handle<Object> callback(lookup->GetCallbackObject(), isolate());
if (callback->IsExecutableAccessorInfo()) {
Handle<ExecutableAccessorInfo> info =
Handle<ExecutableAccessorInfo>::cast(callback);
if (v8::ToCData<Address>(info->setter()) == 0) break;
if (!holder->HasFastProperties()) break;
if (!info->IsCompatibleReceiver(*receiver)) break;
return compiler.CompileStoreCallback(receiver, holder, name, info);
} else if (callback->IsAccessorPair()) {
Handle<Object> setter(
Handle<AccessorPair>::cast(callback)->setter(), isolate());
if (!setter->IsJSFunction()) break;
if (holder->IsGlobalObject()) break;
if (!holder->HasFastProperties()) break;
Handle<JSFunction> function = Handle<JSFunction>::cast(setter);
CallOptimization call_optimization(function);
if (call_optimization.is_simple_api_call() &&
call_optimization.IsCompatibleReceiver(*receiver)) {
return compiler.CompileStoreCallback(
receiver, holder, name, call_optimization);
}
return compiler.CompileStoreViaSetter(
receiver, holder, name, Handle<JSFunction>::cast(setter));
}
// TODO(dcarney): Handle correctly.
if (callback->IsDeclaredAccessorInfo()) break;
ASSERT(callback->IsForeign());
// No IC support for old-style native accessors.
break;
}
case INTERCEPTOR:
if (kind() == Code::KEYED_STORE_IC) break;
ASSERT(HasInterceptorSetter(*receiver));
return compiler.CompileStoreInterceptor(receiver, name);
case CONSTANT:
break;
case NONEXISTENT:
case HANDLER:
UNREACHABLE();
break;
}
return slow_stub();
}
Handle<Code> KeyedStoreIC::StoreElementStub(Handle<JSObject> receiver,
KeyedAccessStoreMode store_mode) {
// Don't handle megamorphic property accesses for INTERCEPTORS or CALLBACKS
// via megamorphic stubs, since they don't have a map in their relocation info
// and so the stubs can't be harvested for the object needed for a map check.
if (target()->type() != Code::NORMAL) {
TRACE_GENERIC_IC(isolate(), "KeyedIC", "non-NORMAL target type");
return generic_stub();
}
Handle<Map> receiver_map(receiver->map(), isolate());
if (state() == UNINITIALIZED || state() == PREMONOMORPHIC) {
// Optimistically assume that ICs that haven't reached the MONOMORPHIC state
// yet will do so and stay there.
Handle<Map> monomorphic_map = ComputeTransitionedMap(receiver, store_mode);
store_mode = GetNonTransitioningStoreMode(store_mode);
return isolate()->stub_cache()->ComputeKeyedStoreElement(
monomorphic_map, strict_mode(), store_mode);
}
MapHandleList target_receiver_maps;
target()->FindAllMaps(&target_receiver_maps);
if (target_receiver_maps.length() == 0) {
// In the case that there is a non-map-specific IC is installed (e.g. keyed
// stores into properties in dictionary mode), then there will be not
// receiver maps in the target.
return generic_stub();
}
// There are several special cases where an IC that is MONOMORPHIC can still
// transition to a different GetNonTransitioningStoreMode IC that handles a
// superset of the original IC. Handle those here if the receiver map hasn't
// changed or it has transitioned to a more general kind.
KeyedAccessStoreMode old_store_mode =
Code::GetKeyedAccessStoreMode(target()->extra_ic_state());
Handle<Map> previous_receiver_map = target_receiver_maps.at(0);
if (state() == MONOMORPHIC) {
// If the "old" and "new" maps are in the same elements map family, stay
// MONOMORPHIC and use the map for the most generic ElementsKind.
Handle<Map> transitioned_receiver_map = receiver_map;
if (IsTransitionStoreMode(store_mode)) {
transitioned_receiver_map =
ComputeTransitionedMap(receiver, store_mode);
}
if (IsTransitionedMapOfMonomorphicTarget(*transitioned_receiver_map)) {
// Element family is the same, use the "worst" case map.
store_mode = GetNonTransitioningStoreMode(store_mode);
return isolate()->stub_cache()->ComputeKeyedStoreElement(
transitioned_receiver_map, strict_mode(), store_mode);
} else if (*previous_receiver_map == receiver->map() &&
old_store_mode == STANDARD_STORE &&
(IsGrowStoreMode(store_mode) ||
store_mode == STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS ||
store_mode == STORE_NO_TRANSITION_HANDLE_COW)) {
// A "normal" IC that handles stores can switch to a version that can
// grow at the end of the array, handle OOB accesses or copy COW arrays
// and still stay MONOMORPHIC.
return isolate()->stub_cache()->ComputeKeyedStoreElement(
receiver_map, strict_mode(), store_mode);
}
}
ASSERT(state() != GENERIC);
bool map_added =
AddOneReceiverMapIfMissing(&target_receiver_maps, receiver_map);
if (IsTransitionStoreMode(store_mode)) {
Handle<Map> transitioned_receiver_map =
ComputeTransitionedMap(receiver, store_mode);
map_added |= AddOneReceiverMapIfMissing(&target_receiver_maps,
transitioned_receiver_map);
}
if (!map_added) {
// If the miss wasn't due to an unseen map, a polymorphic stub
// won't help, use the generic stub.
TRACE_GENERIC_IC(isolate(), "KeyedIC", "same map added twice");
return generic_stub();
}
// If the maximum number of receiver maps has been exceeded, use the generic
// version of the IC.
if (target_receiver_maps.length() > kMaxKeyedPolymorphism) {
TRACE_GENERIC_IC(isolate(), "KeyedIC", "max polymorph exceeded");
return generic_stub();
}
// Make sure all polymorphic handlers have the same store mode, otherwise the
// generic stub must be used.
store_mode = GetNonTransitioningStoreMode(store_mode);
if (old_store_mode != STANDARD_STORE) {
if (store_mode == STANDARD_STORE) {
store_mode = old_store_mode;
} else if (store_mode != old_store_mode) {
TRACE_GENERIC_IC(isolate(), "KeyedIC", "store mode mismatch");
return generic_stub();
}
}
// If the store mode isn't the standard mode, make sure that all polymorphic
// receivers are either external arrays, or all "normal" arrays. Otherwise,
// use the generic stub.
if (store_mode != STANDARD_STORE) {
int external_arrays = 0;
for (int i = 0; i < target_receiver_maps.length(); ++i) {
if (target_receiver_maps[i]->has_external_array_elements()) {
external_arrays++;
}
}
if (external_arrays != 0 &&
external_arrays != target_receiver_maps.length()) {
TRACE_GENERIC_IC(isolate(), "KeyedIC",
"unsupported combination of external and normal arrays");
return generic_stub();
}
}
return isolate()->stub_cache()->ComputeStoreElementPolymorphic(
&target_receiver_maps, store_mode, strict_mode());
}
Handle<Map> KeyedStoreIC::ComputeTransitionedMap(
Handle<JSObject> receiver,
KeyedAccessStoreMode store_mode) {
switch (store_mode) {
case STORE_TRANSITION_SMI_TO_OBJECT:
case STORE_TRANSITION_DOUBLE_TO_OBJECT:
case STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT:
case STORE_AND_GROW_TRANSITION_DOUBLE_TO_OBJECT:
return JSObject::GetElementsTransitionMap(receiver, FAST_ELEMENTS);
case STORE_TRANSITION_SMI_TO_DOUBLE:
case STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE:
return JSObject::GetElementsTransitionMap(receiver, FAST_DOUBLE_ELEMENTS);
case STORE_TRANSITION_HOLEY_SMI_TO_OBJECT:
case STORE_TRANSITION_HOLEY_DOUBLE_TO_OBJECT:
case STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_OBJECT:
case STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT:
return JSObject::GetElementsTransitionMap(receiver,
FAST_HOLEY_ELEMENTS);
case STORE_TRANSITION_HOLEY_SMI_TO_DOUBLE:
case STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_DOUBLE:
return JSObject::GetElementsTransitionMap(receiver,
FAST_HOLEY_DOUBLE_ELEMENTS);
case STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS:
ASSERT(receiver->map()->has_external_array_elements());
// Fall through
case STORE_NO_TRANSITION_HANDLE_COW:
case STANDARD_STORE:
case STORE_AND_GROW_NO_TRANSITION:
return Handle<Map>(receiver->map(), isolate());
}
return Handle<Map>::null();
}
bool IsOutOfBoundsAccess(Handle<JSObject> receiver,
int index) {
if (receiver->IsJSArray()) {
return JSArray::cast(*receiver)->length()->IsSmi() &&
index >= Smi::cast(JSArray::cast(*receiver)->length())->value();
}
return index >= receiver->elements()->length();
}
KeyedAccessStoreMode KeyedStoreIC::GetStoreMode(Handle<JSObject> receiver,
Handle<Object> key,
Handle<Object> value) {
ASSERT(!key->ToSmi()->IsFailure());
Smi* smi_key = NULL;
key->ToSmi()->To(&smi_key);
int index = smi_key->value();
bool oob_access = IsOutOfBoundsAccess(receiver, index);
bool allow_growth = receiver->IsJSArray() && oob_access;
if (allow_growth) {
// Handle growing array in stub if necessary.
if (receiver->HasFastSmiElements()) {
if (value->IsHeapNumber()) {
if (receiver->HasFastHoleyElements()) {
return STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_DOUBLE;
} else {
return STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE;
}
}
if (value->IsHeapObject()) {
if (receiver->HasFastHoleyElements()) {
return STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_OBJECT;
} else {
return STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT;
}
}
} else if (receiver->HasFastDoubleElements()) {
if (!value->IsSmi() && !value->IsHeapNumber()) {
if (receiver->HasFastHoleyElements()) {
return STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT;
} else {
return STORE_AND_GROW_TRANSITION_DOUBLE_TO_OBJECT;
}
}
}
return STORE_AND_GROW_NO_TRANSITION;
} else {
// Handle only in-bounds elements accesses.
if (receiver->HasFastSmiElements()) {
if (value->IsHeapNumber()) {
if (receiver->HasFastHoleyElements()) {
return STORE_TRANSITION_HOLEY_SMI_TO_DOUBLE;
} else {
return STORE_TRANSITION_SMI_TO_DOUBLE;
}
} else if (value->IsHeapObject()) {
if (receiver->HasFastHoleyElements()) {
return STORE_TRANSITION_HOLEY_SMI_TO_OBJECT;
} else {
return STORE_TRANSITION_SMI_TO_OBJECT;
}
}
} else if (receiver->HasFastDoubleElements()) {
if (!value->IsSmi() && !value->IsHeapNumber()) {
if (receiver->HasFastHoleyElements()) {
return STORE_TRANSITION_HOLEY_DOUBLE_TO_OBJECT;
} else {
return STORE_TRANSITION_DOUBLE_TO_OBJECT;
}
}
}
if (!FLAG_trace_external_array_abuse &&
receiver->map()->has_external_array_elements() && oob_access) {
return STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS;
}
Heap* heap = receiver->GetHeap();
if (receiver->elements()->map() == heap->fixed_cow_array_map()) {
return STORE_NO_TRANSITION_HANDLE_COW;
} else {
return STANDARD_STORE;
}
}
}
MaybeObject* KeyedStoreIC::Store(Handle<Object> object,
Handle<Object> key,
Handle<Object> value,
ICMissMode miss_mode) {
if (MigrateDeprecated(object)) {
return Runtime::SetObjectPropertyOrFail(
isolate(), object , key, value, NONE, strict_mode());
}
// Check for values that can be converted into an internalized string directly
// or is representable as a smi.
key = TryConvertKey(key, isolate());
MaybeObject* maybe_object = NULL;
Handle<Code> stub = generic_stub();
if (key->IsInternalizedString()) {
maybe_object = StoreIC::Store(object,
Handle<String>::cast(key),
value,
JSReceiver::MAY_BE_STORE_FROM_KEYED);
if (maybe_object->IsFailure()) return maybe_object;
} else {
bool use_ic = FLAG_use_ic && !object->IsAccessCheckNeeded() &&
!(FLAG_harmony_observation && object->IsJSObject() &&
JSObject::cast(*object)->map()->is_observed());
if (use_ic && !object->IsSmi()) {
// Don't use ICs for maps of the objects in Array's prototype chain. We
// expect to be able to trap element sets to objects with those maps in
// the runtime to enable optimization of element hole access.
Handle<HeapObject> heap_object = Handle<HeapObject>::cast(object);
if (heap_object->map()->IsMapInArrayPrototypeChain()) use_ic = false;
}
if (use_ic) {
ASSERT(!object->IsJSGlobalProxy());
if (miss_mode != MISS_FORCE_GENERIC) {
if (object->IsJSObject()) {
Handle<JSObject> receiver = Handle<JSObject>::cast(object);
bool key_is_smi_like = key->IsSmi() || !key->ToSmi()->IsFailure();
if (receiver->elements()->map() ==
isolate()->heap()->non_strict_arguments_elements_map()) {
stub = non_strict_arguments_stub();
} else if (key_is_smi_like &&
(!target().is_identical_to(non_strict_arguments_stub()))) {
KeyedAccessStoreMode store_mode =
GetStoreMode(receiver, key, value);
stub = StoreElementStub(receiver, store_mode);
}
}
}
}
}
if (!is_target_set()) {
if (*stub == *generic_stub()) {
TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "set generic");
}
ASSERT(!stub.is_null());
set_target(*stub);
TRACE_IC("StoreIC", key);
}
if (maybe_object) return maybe_object;
return Runtime::SetObjectPropertyOrFail(
isolate(), object , key, value, NONE, strict_mode());
}
#undef TRACE_IC
// ----------------------------------------------------------------------------
// Static IC stub generators.
//
// Used from ic-<arch>.cc.
RUNTIME_FUNCTION(MaybeObject*, CallIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 2);
CallIC ic(isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<String> key = args.at<String>(1);
ic.UpdateState(receiver, key);
MaybeObject* maybe_result = ic.LoadFunction(receiver, key);
JSFunction* raw_function;
if (!maybe_result->To(&raw_function)) return maybe_result;
// The first time the inline cache is updated may be the first time the
// function it references gets called. If the function is lazily compiled
// then the first call will trigger a compilation. We check for this case
// and we do the compilation immediately, instead of waiting for the stub
// currently attached to the JSFunction object to trigger compilation.
if (raw_function->is_compiled()) return raw_function;
Handle<JSFunction> function(raw_function);
JSFunction::CompileLazy(function, CLEAR_EXCEPTION);
return *function;
}
// Used from ic-<arch>.cc.
RUNTIME_FUNCTION(MaybeObject*, KeyedCallIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 2);
KeyedCallIC ic(isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
MaybeObject* maybe_result = ic.LoadFunction(receiver, key);
// Result could be a function or a failure.
JSFunction* raw_function = NULL;
if (!maybe_result->To(&raw_function)) return maybe_result;
if (raw_function->is_compiled()) return raw_function;
Handle<JSFunction> function(raw_function, isolate);
JSFunction::CompileLazy(function, CLEAR_EXCEPTION);
return *function;
}
// Used from ic-<arch>.cc.
RUNTIME_FUNCTION(MaybeObject*, LoadIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 2);
LoadIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<String> key = args.at<String>(1);
ic.UpdateState(receiver, key);
return ic.Load(receiver, key);
}
// Used from ic-<arch>.cc
RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 2);
KeyedLoadIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
return ic.Load(receiver, key, MISS);
}
RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissFromStubFailure) {
HandleScope scope(isolate);
ASSERT(args.length() == 2);
KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
return ic.Load(receiver, key, MISS);
}
RUNTIME_FUNCTION(MaybeObject*, KeyedLoadIC_MissForceGeneric) {
HandleScope scope(isolate);
ASSERT(args.length() == 2);
KeyedLoadIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
return ic.Load(receiver, key, MISS_FORCE_GENERIC);
}
// Used from ic-<arch>.cc.
RUNTIME_FUNCTION(MaybeObject*, StoreIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
StoreIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<String> key = args.at<String>(1);
ic.UpdateState(receiver, key);
return ic.Store(receiver, key, args.at<Object>(2));
}
RUNTIME_FUNCTION(MaybeObject*, StoreIC_MissFromStubFailure) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
StoreIC ic(IC::EXTRA_CALL_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<String> key = args.at<String>(1);
ic.UpdateState(receiver, key);
return ic.Store(receiver, key, args.at<Object>(2));
}
RUNTIME_FUNCTION(MaybeObject*, StoreIC_ArrayLength) {
SealHandleScope shs(isolate);
ASSERT(args.length() == 2);
JSArray* receiver = JSArray::cast(args[0]);
Object* len = args[1];
// The generated code should filter out non-Smis before we get here.
ASSERT(len->IsSmi());
#ifdef DEBUG
// The length property has to be a writable callback property.
LookupResult debug_lookup(isolate);
receiver->LocalLookup(isolate->heap()->length_string(), &debug_lookup);
ASSERT(debug_lookup.IsPropertyCallbacks() && !debug_lookup.IsReadOnly());
#endif
Object* result;
MaybeObject* maybe_result = receiver->SetElementsLength(len);
if (!maybe_result->To(&result)) return maybe_result;
return len;
}
// Extend storage is called in a store inline cache when
// it is necessary to extend the properties array of a
// JSObject.
RUNTIME_FUNCTION(MaybeObject*, SharedStoreIC_ExtendStorage) {
SealHandleScope shs(isolate);
ASSERT(args.length() == 3);
// Convert the parameters
JSObject* object = JSObject::cast(args[0]);
Map* transition = Map::cast(args[1]);
Object* value = args[2];
// Check the object has run out out property space.
ASSERT(object->HasFastProperties());
ASSERT(object->map()->unused_property_fields() == 0);
// Expand the properties array.
FixedArray* old_storage = object->properties();
int new_unused = transition->unused_property_fields();
int new_size = old_storage->length() + new_unused + 1;
Object* result;
MaybeObject* maybe_result = old_storage->CopySize(new_size);
if (!maybe_result->ToObject(&result)) return maybe_result;
FixedArray* new_storage = FixedArray::cast(result);
Object* to_store = value;
if (FLAG_track_double_fields) {
DescriptorArray* descriptors = transition->instance_descriptors();
PropertyDetails details = descriptors->GetDetails(transition->LastAdded());
if (details.representation().IsDouble()) {
MaybeObject* maybe_storage =
isolate->heap()->AllocateHeapNumber(value->Number());
if (!maybe_storage->To(&to_store)) return maybe_storage;
}
}
new_storage->set(old_storage->length(), to_store);
// Set the new property value and do the map transition.
object->set_properties(new_storage);
object->set_map(transition);
// Return the stored value.
return value;
}
// Used from ic-<arch>.cc.
RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
KeyedStoreIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
return ic.Store(receiver, key, args.at<Object>(2), MISS);
}
RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissFromStubFailure) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
KeyedStoreIC ic(IC::EXTRA_CALL_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
return ic.Store(receiver, key, args.at<Object>(2), MISS);
}
RUNTIME_FUNCTION(MaybeObject*, StoreIC_Slow) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
StoreIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> object = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
Handle<Object> value = args.at<Object>(2);
StrictModeFlag strict_mode = ic.strict_mode();
return Runtime::SetObjectProperty(isolate,
object,
key,
value,
NONE,
strict_mode);
}
RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_Slow) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
KeyedStoreIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> object = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
Handle<Object> value = args.at<Object>(2);
StrictModeFlag strict_mode = ic.strict_mode();
return Runtime::SetObjectProperty(isolate,
object,
key,
value,
NONE,
strict_mode);
}
RUNTIME_FUNCTION(MaybeObject*, KeyedStoreIC_MissForceGeneric) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
KeyedStoreIC ic(IC::NO_EXTRA_FRAME, isolate);
Handle<Object> receiver = args.at<Object>(0);
Handle<Object> key = args.at<Object>(1);
ic.UpdateState(receiver, key);
return ic.Store(receiver, key, args.at<Object>(2), MISS_FORCE_GENERIC);
}
RUNTIME_FUNCTION(MaybeObject*, ElementsTransitionAndStoreIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 4);
KeyedStoreIC ic(IC::EXTRA_CALL_FRAME, isolate);
Handle<Object> value = args.at<Object>(0);
Handle<Object> key = args.at<Object>(2);
Handle<Object> object = args.at<Object>(3);
StrictModeFlag strict_mode = ic.strict_mode();
return Runtime::SetObjectProperty(isolate,
object,
key,
value,
NONE,
strict_mode);
}
const char* BinaryOpIC::GetName(TypeInfo type_info) {
switch (type_info) {
case UNINITIALIZED: return "Uninitialized";
case SMI: return "Smi";
case INT32: return "Int32";
case NUMBER: return "Number";
case ODDBALL: return "Oddball";
case STRING: return "String";
case GENERIC: return "Generic";
default: return "Invalid";
}
}
MaybeObject* BinaryOpIC::Transition(Handle<Object> left, Handle<Object> right) {
Code::ExtraICState extra_ic_state = target()->extended_extra_ic_state();
BinaryOpStub stub(extra_ic_state);
Handle<Type> left_type = stub.GetLeftType(isolate());
Handle<Type> right_type = stub.GetRightType(isolate());
bool smi_was_enabled = left_type->Maybe(Type::Smi()) &&
right_type->Maybe(Type::Smi());
Maybe<Handle<Object> > result = stub.Result(left, right, isolate());
if (!result.has_value) return Failure::Exception();
#ifdef DEBUG
if (FLAG_trace_ic) {
char buffer[100];
NoAllocationStringAllocator allocator(buffer,
static_cast<unsigned>(sizeof(buffer)));
StringStream stream(&allocator);
stream.Add("[");
stub.PrintName(&stream);
stub.UpdateStatus(left, right, result);
stream.Add(" => ");
stub.PrintState(&stream);
stream.Add(" ");
stream.OutputToStdOut();
PrintF(" @ %p <- ", static_cast<void*>(*stub.GetCode(isolate())));
JavaScriptFrame::PrintTop(isolate(), stdout, false, true);
PrintF("]\n");
} else {
stub.UpdateStatus(left, right, result);
}
#else
stub.UpdateStatus(left, right, result);
#endif
Handle<Code> code = stub.GetCode(isolate());
set_target(*code);
left_type = stub.GetLeftType(isolate());
right_type = stub.GetRightType(isolate());
bool enable_smi = left_type->Maybe(Type::Smi()) &&
right_type->Maybe(Type::Smi());
if (!smi_was_enabled && enable_smi) {
PatchInlinedSmiCode(address(), ENABLE_INLINED_SMI_CHECK);
} else if (smi_was_enabled && !enable_smi) {
PatchInlinedSmiCode(address(), DISABLE_INLINED_SMI_CHECK);
}
ASSERT(result.has_value);
return static_cast<MaybeObject*>(*result.value);
}
RUNTIME_FUNCTION(MaybeObject*, BinaryOpIC_Miss) {
HandleScope scope(isolate);
Handle<Object> left = args.at<Object>(0);
Handle<Object> right = args.at<Object>(1);
BinaryOpIC ic(isolate);
return ic.Transition(left, right);
}
Code* CompareIC::GetRawUninitialized(Isolate* isolate, Token::Value op) {
ICCompareStub stub(op, UNINITIALIZED, UNINITIALIZED, UNINITIALIZED);
Code* code = NULL;
CHECK(stub.FindCodeInCache(&code, isolate));
return code;
}
Handle<Code> CompareIC::GetUninitialized(Isolate* isolate, Token::Value op) {
ICCompareStub stub(op, UNINITIALIZED, UNINITIALIZED, UNINITIALIZED);
return stub.GetCode(isolate);
}
const char* CompareIC::GetStateName(State state) {
switch (state) {
case UNINITIALIZED: return "UNINITIALIZED";
case SMI: return "SMI";
case NUMBER: return "NUMBER";
case INTERNALIZED_STRING: return "INTERNALIZED_STRING";
case STRING: return "STRING";
case UNIQUE_NAME: return "UNIQUE_NAME";
case OBJECT: return "OBJECT";
case KNOWN_OBJECT: return "KNOWN_OBJECT";
case GENERIC: return "GENERIC";
}
UNREACHABLE();
return NULL;
}
Handle<Type> CompareIC::StateToType(
Isolate* isolate,
CompareIC::State state,
Handle<Map> map) {
switch (state) {
case CompareIC::UNINITIALIZED:
return handle(Type::None(), isolate);
case CompareIC::SMI:
return handle(Type::Smi(), isolate);
case CompareIC::NUMBER:
return handle(Type::Number(), isolate);
case CompareIC::STRING:
return handle(Type::String(), isolate);
case CompareIC::INTERNALIZED_STRING:
return handle(Type::InternalizedString(), isolate);
case CompareIC::UNIQUE_NAME:
return handle(Type::UniqueName(), isolate);
case CompareIC::OBJECT:
return handle(Type::Receiver(), isolate);
case CompareIC::KNOWN_OBJECT:
return handle(
map.is_null() ? Type::Receiver() : Type::Class(map), isolate);
case CompareIC::GENERIC:
return handle(Type::Any(), isolate);
}
UNREACHABLE();
return Handle<Type>();
}
void CompareIC::StubInfoToType(int stub_minor_key,
Handle<Type>* left_type,
Handle<Type>* right_type,
Handle<Type>* overall_type,
Handle<Map> map,
Isolate* isolate) {
State left_state, right_state, handler_state;
ICCompareStub::DecodeMinorKey(stub_minor_key, &left_state, &right_state,
&handler_state, NULL);
*left_type = StateToType(isolate, left_state);
*right_type = StateToType(isolate, right_state);
*overall_type = StateToType(isolate, handler_state, map);
}
CompareIC::State CompareIC::NewInputState(State old_state,
Handle<Object> value) {
switch (old_state) {
case UNINITIALIZED:
if (value->IsSmi()) return SMI;
if (value->IsHeapNumber()) return NUMBER;
if (value->IsInternalizedString()) return INTERNALIZED_STRING;
if (value->IsString()) return STRING;
if (value->IsSymbol()) return UNIQUE_NAME;
if (value->IsJSObject()) return OBJECT;
break;
case SMI:
if (value->IsSmi()) return SMI;
if (value->IsHeapNumber()) return NUMBER;
break;
case NUMBER:
if (value->IsNumber()) return NUMBER;
break;
case INTERNALIZED_STRING:
if (value->IsInternalizedString()) return INTERNALIZED_STRING;
if (value->IsString()) return STRING;
if (value->IsSymbol()) return UNIQUE_NAME;
break;
case STRING:
if (value->IsString()) return STRING;
break;
case UNIQUE_NAME:
if (value->IsUniqueName()) return UNIQUE_NAME;
break;
case OBJECT:
if (value->IsJSObject()) return OBJECT;
break;
case GENERIC:
break;
case KNOWN_OBJECT:
UNREACHABLE();
break;
}
return GENERIC;
}
CompareIC::State CompareIC::TargetState(State old_state,
State old_left,
State old_right,
bool has_inlined_smi_code,
Handle<Object> x,
Handle<Object> y) {
switch (old_state) {
case UNINITIALIZED:
if (x->IsSmi() && y->IsSmi()) return SMI;
if (x->IsNumber() && y->IsNumber()) return NUMBER;
if (Token::IsOrderedRelationalCompareOp(op_)) {
// Ordered comparisons treat undefined as NaN, so the
// NUMBER stub will do the right thing.
if ((x->IsNumber() && y->IsUndefined()) ||
(y->IsNumber() && x->IsUndefined())) {
return NUMBER;
}
}
if (x->IsInternalizedString() && y->IsInternalizedString()) {
// We compare internalized strings as plain ones if we need to determine
// the order in a non-equality compare.
return Token::IsEqualityOp(op_) ? INTERNALIZED_STRING : STRING;
}
if (x->IsString() && y->IsString()) return STRING;
if (!Token::IsEqualityOp(op_)) return GENERIC;
if (x->IsUniqueName() && y->IsUniqueName()) return UNIQUE_NAME;
if (x->IsJSObject() && y->IsJSObject()) {
if (Handle<JSObject>::cast(x)->map() ==
Handle<JSObject>::cast(y)->map()) {
return KNOWN_OBJECT;
} else {
return OBJECT;
}
}
return GENERIC;
case SMI:
return x->IsNumber() && y->IsNumber() ? NUMBER : GENERIC;
case INTERNALIZED_STRING:
ASSERT(Token::IsEqualityOp(op_));
if (x->IsString() && y->IsString()) return STRING;
if (x->IsUniqueName() && y->IsUniqueName()) return UNIQUE_NAME;
return GENERIC;
case NUMBER:
// If the failure was due to one side changing from smi to heap number,
// then keep the state (if other changed at the same time, we will get
// a second miss and then go to generic).
if (old_left == SMI && x->IsHeapNumber()) return NUMBER;
if (old_right == SMI && y->IsHeapNumber()) return NUMBER;
return GENERIC;
case KNOWN_OBJECT:
ASSERT(Token::IsEqualityOp(op_));
if (x->IsJSObject() && y->IsJSObject()) return OBJECT;
return GENERIC;
case STRING:
case UNIQUE_NAME:
case OBJECT:
case GENERIC:
return GENERIC;
}
UNREACHABLE();
return GENERIC; // Make the compiler happy.
}
void CompareIC::UpdateCaches(Handle<Object> x, Handle<Object> y) {
HandleScope scope(isolate());
State previous_left, previous_right, previous_state;
ICCompareStub::DecodeMinorKey(target()->stub_info(), &previous_left,
&previous_right, &previous_state, NULL);
State new_left = NewInputState(previous_left, x);
State new_right = NewInputState(previous_right, y);
State state = TargetState(previous_state, previous_left, previous_right,
HasInlinedSmiCode(address()), x, y);
ICCompareStub stub(op_, new_left, new_right, state);
if (state == KNOWN_OBJECT) {
stub.set_known_map(
Handle<Map>(Handle<JSObject>::cast(x)->map(), isolate()));
}
set_target(*stub.GetCode(isolate()));
#ifdef DEBUG
if (FLAG_trace_ic) {
PrintF("[CompareIC in ");
JavaScriptFrame::PrintTop(isolate(), stdout, false, true);
PrintF(" ((%s+%s=%s)->(%s+%s=%s))#%s @ %p]\n",
GetStateName(previous_left),
GetStateName(previous_right),
GetStateName(previous_state),
GetStateName(new_left),
GetStateName(new_right),
GetStateName(state),
Token::Name(op_),
static_cast<void*>(*stub.GetCode(isolate())));
}
#endif
// Activate inlined smi code.
if (previous_state == UNINITIALIZED) {
PatchInlinedSmiCode(address(), ENABLE_INLINED_SMI_CHECK);
}
}
// Used from ICCompareStub::GenerateMiss in code-stubs-<arch>.cc.
RUNTIME_FUNCTION(Code*, CompareIC_Miss) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
CompareIC ic(isolate, static_cast<Token::Value>(args.smi_at(2)));
ic.UpdateCaches(args.at<Object>(0), args.at<Object>(1));
return ic.raw_target();
}
void CompareNilIC::Clear(Address address, Code* target) {
if (IsCleared(target)) return;
Code::ExtraICState state = target->extended_extra_ic_state();
CompareNilICStub stub(state, HydrogenCodeStub::UNINITIALIZED);
stub.ClearState();
Code* code = NULL;
CHECK(stub.FindCodeInCache(&code, target->GetIsolate()));
SetTargetAtAddress(address, code);
}
MaybeObject* CompareNilIC::DoCompareNilSlow(NilValue nil,
Handle<Object> object) {
if (object->IsNull() || object->IsUndefined()) {
return Smi::FromInt(true);
}
return Smi::FromInt(object->IsUndetectableObject());
}
MaybeObject* CompareNilIC::CompareNil(Handle<Object> object) {
Code::ExtraICState extra_ic_state = target()->extended_extra_ic_state();
CompareNilICStub stub(extra_ic_state);
// Extract the current supported types from the patched IC and calculate what
// types must be supported as a result of the miss.
bool already_monomorphic = stub.IsMonomorphic();
stub.UpdateStatus(object);
NilValue nil = stub.GetNilValue();
// Find or create the specialized stub to support the new set of types.
Handle<Code> code;
if (stub.IsMonomorphic()) {
Handle<Map> monomorphic_map(already_monomorphic
? target()->FindFirstMap()
: HeapObject::cast(*object)->map());
code = isolate()->stub_cache()->ComputeCompareNil(monomorphic_map, stub);
} else {
code = stub.GetCode(isolate());
}
set_target(*code);
return DoCompareNilSlow(nil, object);
}
RUNTIME_FUNCTION(MaybeObject*, CompareNilIC_Miss) {
HandleScope scope(isolate);
Handle<Object> object = args.at<Object>(0);
CompareNilIC ic(isolate);
return ic.CompareNil(object);
}
RUNTIME_FUNCTION(MaybeObject*, Unreachable) {
UNREACHABLE();
CHECK(false);
return isolate->heap()->undefined_value();
}
Builtins::JavaScript BinaryOpIC::TokenToJSBuiltin(Token::Value op) {
switch (op) {
default:
UNREACHABLE();
case Token::ADD:
return Builtins::ADD;
break;
case Token::SUB:
return Builtins::SUB;
break;
case Token::MUL:
return Builtins::MUL;
break;
case Token::DIV:
return Builtins::DIV;
break;
case Token::MOD:
return Builtins::MOD;
break;
case Token::BIT_OR:
return Builtins::BIT_OR;
break;
case Token::BIT_AND:
return Builtins::BIT_AND;
break;
case Token::BIT_XOR:
return Builtins::BIT_XOR;
break;
case Token::SAR:
return Builtins::SAR;
break;
case Token::SHR:
return Builtins::SHR;
break;
case Token::SHL:
return Builtins::SHL;
break;
}
}
MaybeObject* ToBooleanIC::ToBoolean(Handle<Object> object,
Code::ExtraICState extra_ic_state) {
ToBooleanStub stub(extra_ic_state);
bool to_boolean_value = stub.UpdateStatus(object);
Handle<Code> code = stub.GetCode(isolate());
set_target(*code);
return Smi::FromInt(to_boolean_value ? 1 : 0);
}
RUNTIME_FUNCTION(MaybeObject*, ToBooleanIC_Miss) {
ASSERT(args.length() == 1);
HandleScope scope(isolate);
Handle<Object> object = args.at<Object>(0);
ToBooleanIC ic(isolate);
Code::ExtraICState extra_ic_state = ic.target()->extended_extra_ic_state();
return ic.ToBoolean(object, extra_ic_state);
}
static const Address IC_utilities[] = {
#define ADDR(name) FUNCTION_ADDR(name),
IC_UTIL_LIST(ADDR)
NULL
#undef ADDR
};
Address IC::AddressFromUtilityId(IC::UtilityId id) {
return IC_utilities[id];
}
} } // namespace v8::internal
| h0x91b/redis-v8 | redis/deps/v8/src/ic.cc | C++ | mit | 98,658 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mod-red: 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.2 / mod-red - 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>
mod-red
<small>
8.10.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-11-10 04:49:34 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-10 04:49:34 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.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.09.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1 Official release 4.09.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/mod-red"
license: "GNU Lesser General Public License"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/ModRed"]
depends: [
"ocaml"
"coq" {>= "8.10" & < "8.11~"}
]
tags: [
"keyword: Algorithms"
"keyword: Performance"
"keyword: Computer Arithmetic"
"keyword: Modular Reduction"
"keyword: Optimization"
"category: Mathematics/Arithmetic and Number Theory/Miscellaneous"
"date: 2007-12; Updated in April 2009"
]
authors: [
"Luc Rutten"
]
bug-reports: "https://github.com/coq-contribs/mod-red/issues"
dev-repo: "git+https://github.com/coq-contribs/mod-red.git"
synopsis: "Efficient Reduction of Large Integers by Small Moduli"
description: """
Fast reduction of integers by moduli up to 2^(w-1), where w is a processor's word size."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/mod-red/archive/v8.10.0.tar.gz"
checksum: "md5=e7332e02c56007917358870e4a9e7718"
}
</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-mod-red.8.10.0 coq.8.8.2</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.2).
The following dependencies couldn't be met:
- coq-mod-red -> coq >= 8.10
Your request can'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-mod-red.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.09.1-2.0.6/released/8.8.2/mod-red/8.10.0.html | HTML | mit | 7,051 |
๏ปฟusing System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main()
{
List<int> nums =
Console.ReadLine().Split(' ')
.Select(int.Parse)
.ToList();
int[] options = Console.ReadLine()
.Split(' ')
.Select(int.Parse)
.ToArray();
for (int i = 0; i < nums.Count; i++)
{
//if bomb number is found:
if (options[0] == nums[i])
{
if ((i + 1 - options[1] >= 0) && i <= nums.Count - 1 - options[1])
{
//remove range from i - options[1] to i + options[1]
nums.RemoveRange(i - options[1], (2 * options[1]) + 1);
}
else if ((i + options[1]) >= nums.Count && i <= options[1])
{
nums.RemoveRange(i - options[1], options[1] + 1 + nums.Count - i);
}
else if (true)
{
}
}
}
//Console.WriteLine(string.Join(" ", nums));
int sum = nums.Sum();
Console.WriteLine(sum);
}
}
| NikiSpasov/Progr_Fundamentals | Lists/05.BombNumbers/05.BombNumbers.cs | C# | mit | 1,196 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cfml-basis: 1 m 42 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 / cfml-basis - 20220112</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
cfml-basis
<small>
20220112
<span class="label label-success">1 m 42 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-02-02 06:18:51 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-02 06:18:51 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.11.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.2 Official release 4.11.2
ocaml-config 1 OCaml Switch Configuration
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: "2.0"
maintainer: "arthur.chargueraud@inria.fr"
homepage: "https://gitlab.inria.fr/charguer/cfml2"
dev-repo: "git+https://gitlab.inria.fr/charguer/cfml2.git"
bug-reports: "https://gitlab.inria.fr/charguer/cfml2/-/issues"
license: "CC-BY-4.0"
synopsis: "The CFML Basis library"
description: """
This library provides theoretical foundations for the CFML tool.
"""
build: [
[make "-C" "lib/coq" "-j%{jobs}%"]
]
install: [
[make "-C" "lib/coq" "install"]
]
depends: [
"coq" { >= "8.13" }
"coq-tlc" { >= "20211215"}
]
tags: [
"date:"
"logpath:CFML"
"category:Computer Science/Programming Languages/Formal Definitions and Theory"
"keyword:program verification"
"keyword:separation logic"
"keyword:weakest precondition"
]
authors: [
"Arthur Charguรฉraud"
]
url {
src:
"https://gitlab.inria.fr/charguer/cfml2/-/archive/20220112/archive.tar.gz"
checksum: [
"md5=4bd2f2c9e59a5ba2894aed81c766ef09"
"sha512=08778c62243ffe8646377d8e00a7bae3e5a4ee52e6e37410a1e86f39a869f9e07c486df18ae50ba334898e6946355dbb9064aebbfaa89f536ce2672cbe93ae25"
]
}
</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-cfml-basis.20220112 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-cfml-basis.20220112 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>3 m 17 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-cfml-basis.20220112 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 m 42 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 5 M</p>
<ul>
<li>368 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepFunctor.vo</code></li>
<li>365 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepSimpl.glob</code></li>
<li>327 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepSimpl.vo</code></li>
<li>307 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/SepBase.vo</code></li>
<li>286 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepFunctor.glob</code></li>
<li>264 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/Semantics.vo</code></li>
<li>202 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPTactics.vo</code></li>
<li>201 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLifted.vo</code></li>
<li>191 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPRecord.vo</code></li>
<li>187 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLifted.glob</code></li>
<li>179 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/SepLifted.vo</code></li>
<li>168 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/SepBase.glob</code></li>
<li>163 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/Semantics.glob</code></li>
<li>159 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepFmap.vo</code></li>
<li>137 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/SepLifted.glob</code></li>
<li>128 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPBase.vo</code></li>
<li>107 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPRecord.glob</code></li>
<li>107 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepFmap.glob</code></li>
<li>105 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepVar.vo</code></li>
<li>105 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepBind.vo</code></li>
<li>105 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepGroup.vo</code></li>
<li>98 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPTactics.glob</code></li>
<li>94 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPBase.glob</code></li>
<li>94 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPTactics.v</code></li>
<li>84 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepSimpl.v</code></li>
<li>73 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepFunctor.v</code></li>
<li>63 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLifted.v</code></li>
<li>49 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/Semantics.v</code></li>
<li>48 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPArrayNonlifted.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLibCommon.vo</code></li>
<li>42 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/SepBase.v</code></li>
<li>39 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepGroup.glob</code></li>
<li>37 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPHeader.vo</code></li>
<li>36 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPRecord.v</code></li>
<li>35 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPArray.vo</code></li>
<li>34 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/SepLifted.v</code></li>
<li>33 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPBuiltin.vo</code></li>
<li>31 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepFmap.v</code></li>
<li>30 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepBind.glob</code></li>
<li>27 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLib.vo</code></li>
<li>26 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPBase.v</code></li>
<li>24 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepTLCbuffer.vo</code></li>
<li>22 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLibCredits.vo</code></li>
<li>20 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepVar.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLibCommon.v</code></li>
<li>12 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPArrayNonlifted.glob</code></li>
<li>11 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepVar.v</code></li>
<li>10 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepBind.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPBuiltin.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepGroup.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPArrayNonlifted.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPHeader.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPBuiltin.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPArray.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLibCommon.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPArray.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPHeader.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepTLCbuffer.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/LibSepTLCbuffer.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLib.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLib.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLibCredits.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.11.2/lib/coq/user-contrib/CFML/WPLibCredits.v</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-cfml-basis.20220112</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.11.2-2.0.7/released/8.13.1/cfml-basis/20220112.html | HTML | mit | 14,013 |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca -->
<head>
<!-- Title begins / Dรฉbut du titre -->
<title>
On-Track Computer Training Ltd. -
Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada
</title>
<!-- Title ends / Fin du titre -->
<!-- Meta-data begins / Dรฉbut des mรฉtadonnรฉes -->
<meta charset="utf-8" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="dcterms.title" content="" />
<meta name="description" content="" />
<meta name="dcterms.description" content="" />
<meta name="dcterms.type" content="report, data set" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.issued" title="W3CDTF" content="" />
<meta name="dcterms.modified" title="W3CDTF" content="" />
<meta name="keywords" content="" />
<meta name="dcterms.creator" content="" />
<meta name="author" content="" />
<meta name="dcterms.created" title="W3CDTF" content="" />
<meta name="dcterms.publisher" content="" />
<meta name="dcterms.audience" title="icaudience" content="" />
<meta name="dcterms.spatial" title="ISO3166-1" content="" />
<meta name="dcterms.spatial" title="gcgeonames" content="" />
<meta name="dcterms.format" content="HTML" />
<meta name="dcterms.identifier" title="ICsiteProduct" content="536" />
<!-- EPI-11240 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- MCG-202 -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- EPI-11567 -->
<meta name = "format-detection" content = "telephone=no">
<!-- EPI-12603 -->
<meta name="robots" content="noarchive">
<!-- EPI-11190 - Webtrends -->
<script>
var startTime = new Date();
startTime = startTime.getTime();
</script>
<!--[if gte IE 9 | !IE ]><!-->
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css">
<!--<![endif]-->
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css">
<!--[if lt IE 9]>
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script>
<![endif]-->
<!--[if lte IE 9]>
<![endif]-->
<noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript>
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<script>dataLayer1 = [];</script>
<!-- End Google Tag Manager -->
<!-- EPI-11235 -->
<link rel="stylesheet" href="/eic/home.nsf/css/add_WET_4-0_Canada_Apps.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body class="home" vocab="http://schema.org/" typeof="WebPage">
<!-- EPIC HEADER BEGIN -->
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<noscript><iframe title="Google Tag Manager" src="//www.googletagmanager.com/ns.html?id=GTM-TLGQ9K" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer1','GTM-TLGQ9K');</script>
<!-- End Google Tag Manager -->
<!-- EPI-12801 -->
<span typeof="Organization"><meta property="legalName" content="Department_of_Industry"></span>
<ul id="wb-tphp">
<li class="wb-slc">
<a class="wb-sl" href="#wb-cont">Skip to main content</a>
</li>
<li class="wb-slc visible-sm visible-md visible-lg">
<a class="wb-sl" href="#wb-info">Skip to "About this site"</a>
</li>
</ul>
<header role="banner">
<div id="wb-bnr" class="container">
<section id="wb-lng" class="visible-md visible-lg text-right">
<h2 class="wb-inv">Language selection</h2>
<div class="row">
<div class="col-md-12">
<ul class="list-inline mrgn-bttm-0">
<li><a href="nvgt.do?V_TOKEN=1492308237515&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=33694&V_SEARCH.docsStart=33693&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/imbs/ccc/rgstrtn/updt.sec?_flId?_flxKy=e1s1&estblmntNo=234567041301&profileId=61&_evId=bck&lang=eng&V_SEARCH.showStricts=false&prtl=1&_flId?_flId?_flxKy=e1s1" title="Franรงais" lang="fr">Franรงais</a></li>
</ul>
</div>
</div>
</section>
<div class="row">
<div class="brand col-xs-8 col-sm-9 col-md-6">
<a href="http://www.canada.ca/en/index.html"><object type="image/svg+xml" tabindex="-1" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/sig-blk-en.svg"></object><span class="wb-inv"> Government of Canada</span></a>
</div>
<section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="list-inline text-right chvrn">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li>
</ul>
<div id="mb-pnl"></div>
</section>
<!-- Site Search Removed -->
</div>
</div>
<nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="SiteNavigationElement">
<h2 class="wb-inv">Topics menu</h2>
<div class="container nvbar">
<div class="row">
<ul class="list-inline menu">
<li><a href="https://www.canada.ca/en/services/jobs.html">Jobs</a></li>
<li><a href="http://www.cic.gc.ca/english/index.asp">Immigration</a></li>
<li><a href="https://travel.gc.ca/">Travel</a></li>
<li><a href="https://www.canada.ca/en/services/business.html">Business</a></li>
<li><a href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li>
<li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li>
<li><a href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li>
<li><a href="https://www.canada.ca/en/services.html">More services</a></li>
</ul>
</div>
</div>
</nav>
<!-- EPIC BODY BEGIN -->
<nav role="navigation" id="wb-bc" class="" property="breadcrumb">
<h2 class="wb-inv">You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li>
<li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li>
<li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li>
</ol>
</div>
</div>
</nav>
</header>
<main id="wb-cont" role="main" property="mainContentOfPage" class="container">
<!-- End Header -->
<!-- Begin Body -->
<!-- Begin Body Title -->
<!-- End Body Title -->
<!-- Begin Body Head -->
<!-- End Body Head -->
<!-- Begin Body Content -->
<br>
<!-- Complete Profile -->
<!-- Company Information above tabbed area-->
<input id="showMore" type="hidden" value='more'/>
<input id="showLess" type="hidden" value='less'/>
<h1 id="wb-cont">
Company profile - Canadian Company Capabilities
</h1>
<div class="profileInfo hidden-print">
<ul class="list-inline">
<li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&rstBtn.x=" class="btn btn-link">New Search</a> |</li>
<li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do">
<input type="hidden" name="lang" value="eng" />
<input type="hidden" name="profileId" value="" />
<input type="hidden" name="prtl" value="1" />
<input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" />
<input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" />
<input type="hidden" name="V_SEARCH.depth" value="1" />
<input type="hidden" name="V_SEARCH.showStricts" value="false" />
<input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" />
</form></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=33692&V_DOCUMENT.docRank=33693&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492308266193&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567154977&profileId=&key.newSearchLabel=">Previous Company</a></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=33694&V_DOCUMENT.docRank=33695&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492308266193&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=123456238428&profileId=&key.newSearchLabel=">Next Company</a></li>
</ul>
</div>
<details>
<summary>Third-Party Information Liability Disclaimer</summary>
<p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p>
</details>
<h2>
On-Track Computer Training Ltd.
</h2>
<div class="row">
<div class="col-md-5">
<h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2>
<p>On-Track Computer Training Ltd.</p>
<div class="mrgn-tp-md"></div>
<p class="mrgn-bttm-0" ><a href="http://www.on-track.com"
target="_blank" title="Website URL">http://www.on-track.com</a></p>
<p><a href="mailto:dlee@on-track.com" title="dlee@on-track.com">dlee@on-track.com</a></p>
</div>
<div class="col-md-4 mrgn-sm-sm">
<h2 class="h5 mrgn-bttm-0">Mailing Address:</h2>
<address class="mrgn-bttm-md">
401-885 Georgia St W<br/>
Box 1052<br/>
VANCOUVER,
British Columbia<br/>
V6C 3E8
<br/>
</address>
<h2 class="h5 mrgn-bttm-0">Location Address:</h2>
<address class="mrgn-bttm-md">
401-885 Georgia St W<br/>
VANCOUVER,
British Columbia<br/>
V6B 4N7
<br/>
</address>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(604) 683-0020
</p>
<p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>:
(604) 683-0045</p>
</div>
<div class="col-md-3 mrgn-tp-md">
</div>
</div>
<div class="row mrgn-tp-md mrgn-bttm-md">
<div class="col-md-12">
<h2 class="wb-inv">Company Profile</h2>
<br> We provide computer and soft skills training solutions.<br>
</div>
</div>
<!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<details id="details-panel1">
<summary>
Full profile
</summary>
<!-- Tab 1 -->
<h2 class="wb-invisible">
Full profile
</h2>
<!-- Contact Information -->
<h3 class="page-header">
Contact information
</h3>
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
David
Lee
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
Data Provider<br>
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(604) 683-0020
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
dlee@on-track.com
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Company Description -->
<h3 class="page-header">
Company description
</h3>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
Yes
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
611420 - Computer Training
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Services
</div>
</div>
</section>
<!-- Products / Services / Licensing -->
<h3 class="page-header">
Product / Service / Licensing
</h3>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Service Name:
</strong>
</div>
<div class="col-md-9">
Computer and Soft Training<br>
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Technology Profile -->
<!-- Market Profile -->
<!-- Sector Information -->
<details class="mrgn-tp-md mrgn-bttm-md">
<summary>
Third-Party Information Liability Disclaimer
</summary>
<p>
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
</p>
</details>
</details>
<details id="details-panel2">
<summary>
Contacts
</summary>
<h2 class="wb-invisible">
Contact information
</h2>
<!-- Contact Information -->
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
David
Lee
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
Data Provider<br>
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(604) 683-0020
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
dlee@on-track.com
</div>
</div>
</section>
</details>
<details id="details-panel3">
<summary>
Description
</summary>
<h2 class="wb-invisible">
Company description
</h2>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
Yes
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
611420 - Computer Training
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Services
</div>
</div>
</section>
</details>
<details id="details-panel4">
<summary>
Products, services and licensing
</summary>
<h2 class="wb-invisible">
Product / Service / Licensing
</h2>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Service Name:
</strong>
</div>
<div class="col-md-9">
Computer and Soft Training<br>
</div>
</div>
</section>
</details>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
Last Update Date 2015-06-26
</div>
</div>
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
<!-- End Body Content -->
<!-- Begin Body Foot -->
<!-- End Body Foot -->
<!-- END MAIN TABLE -->
<!-- End body -->
<!-- Begin footer -->
<div class="row pagedetails">
<div class="col-sm-5 col-xs-12 datemod">
<dl id="wb-dtmd">
<dt class=" hidden-print">Date Modified:</dt>
<dd class=" hidden-print">
<span><time>2017-03-02</time></span>
</dd>
</dl>
</div>
<div class="clear visible-xs"></div>
<div class="col-sm-4 col-xs-6">
</div>
<div class="col-sm-3 col-xs-6 text-right">
</div>
<div class="clear visible-xs"></div>
</div>
</main>
<footer role="contentinfo" id="wb-info">
<nav role="navigation" class="container wb-navcurr">
<h2 class="wb-inv">About government</h2>
<!-- EPIC FOOTER BEGIN -->
<!-- EPI-11638 Contact us -->
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&from=Industries">Contact us</a></li>
<li><a href="https://www.canada.ca/en/government/dept.html">Departments and agencies</a></li>
<li><a href="https://www.canada.ca/en/government/publicservice.html">Public service and military</a></li>
<li><a href="https://www.canada.ca/en/news.html">News</a></li>
<li><a href="https://www.canada.ca/en/government/system/laws.html">Treaties, laws and regulations</a></li>
<li><a href="https://www.canada.ca/en/transparency/reporting.html">Government-wide reporting</a></li>
<li><a href="http://pm.gc.ca/eng">Prime Minister</a></li>
<li><a href="https://www.canada.ca/en/government/system.html">How government works</a></li>
<li><a href="http://open.canada.ca/en/">Open government</a></li>
</ul>
</nav>
<div class="brand">
<div class="container">
<div class="row">
<nav class="col-md-10 ftr-urlt-lnk">
<h2 class="wb-inv">About this site</h2>
<ul>
<li><a href="https://www.canada.ca/en/social.html">Social media</a></li>
<li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li>
<li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html">Terms and conditions</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li>
</ul>
</nav>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">Top of Page <span class="glyphicon glyphicon-chevron-up"></span></a>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object>
</div>
</div>
</div>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script>
<![endif]-->
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script>
<!-- EPI-10519 -->
<span class="wb-sessto"
data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span>
<script src="/eic/home.nsf/js/jQuery.externalOpensInNewWindow.js"></script>
<!-- EPI-11190 - Webtrends -->
<script src="/eic/home.nsf/js/webtrends.js"></script>
<script>var endTime = new Date();</script>
<noscript>
<div><img alt="" id="DCSIMG" width="1" height="1" src="//wt-sdc.ic.gc.ca/dcs6v67hwe0ei7wsv8g9fv50d_3k6i/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=9.4.0&dcssip=www.ic.gc.ca"/></div>
</noscript>
<!-- /Webtrends -->
<!-- JS deps -->
<script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script>
<!-- EPI-11262 - Util JS -->
<script src="/eic/home.nsf/js/_WET_4-0_utils_canada.min.js"></script>
<!-- EPI-11383 -->
<script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script>
<span style="display:none;" id='app-info' data-project-groupid='' data-project-artifactid='' data-project-version='' data-project-build-timestamp='' data-issue-tracking='' data-scm-sha1='' data-scm-sha1-abbrev='' data-scm-branch='' data-scm-commit-date=''></span>
</body></html>
<!-- End Footer -->
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
| GoC-Spending/data-corporations | html/234567110304.html | HTML | mit | 31,712 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: 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.1 / monae - 0.2.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
monae
<small>
0.2.1
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-12-23 15:45:32 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-23 15:45:32 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.9.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: "2.0"
maintainer: "Reynald Affeldt <reynald.affeldt@aist.go.jp>"
homepage: "https://github.com/affeldt-aist/monae"
dev-repo: "git+https://github.com/affeldt-aist/monae.git"
bug-reports: "https://github.com/affeldt-aist/monae/issues"
license: "LGPL-2.1-or-later"
synopsis: "Monads and equational reasoning in Coq"
description: """
This Coq library contains a hierarchy of monads with their laws used
in several examples of monadic equational reasoning."""
build: [
[make "-j%{jobs}%"]
[make "sect5"]
[make "-C" "impredicative_set"]
]
install: [make "install"]
depends: [
"coq" { (>= "8.11" & < "8.13~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-fingroup" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-algebra" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-solvable" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-field" { (>= "1.11.0" & < "1.12~") }
"coq-mathcomp-analysis" { (= "0.3.4") }
"coq-infotheo" { >= "0.2.1" }
"coq-paramcoq" { >= "1.1.2" & < "1.2~" }
]
tags: [
"keyword:monae"
"keyword:effects"
"keyword:probability"
"keyword:nondeterminism"
"logpath:monae"
]
authors: [
"Reynald Affeldt"
"David Nowak"
"Takafumi Saikawa"
"Jacques Garrigue"
"Celestine Sauvage"
"Kazunari Tanaka"
]
url {
http: "https://github.com/affeldt-aist/monae/archive/0.2.1.tar.gz"
checksum: "sha512=64763dadb87bd136ea6594eb5e615ed56d7e4d51d169a2254b9a70c11d1871251fa79b7822df469ec1bdfa2ae1e1530dc93bccb6d0298463901902d7af7bfa0f"
}
</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-monae.0.2.1 coq.8.9.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.9.1).
The following dependencies couldn't be met:
- coq-monae -> coq >= dev -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' 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-monae.0.2.1</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.9.1/monae/0.2.1.html | HTML | mit | 7,871 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-translations: 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.13.1 / metacoq-translations - 1.0~alpha2+8.10</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
metacoq-translations
<small>
1.0~alpha2+8.10
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-10-26 18:01:49 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-26 18:01:49 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 3 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.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
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.10"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Simon Boulier <simon.boulier@inria.fr>"
"Cyril Cohen <cyril.cohen@inria.fr>"
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
"Thรฉo Winterhalter <theo.winterhalter@inria.fr>"
]
license: "MIT"
build: [
["sh" "./configure.sh"]
[make "-j%{jobs}%" "-C" "translations"]
]
install: [
[make "-C" "translations" "install"]
]
depends: [
"ocaml" {> "4.02.3"}
"coq" {>= "8.10" & < "8.11~"}
"coq-metacoq-template" {= version}
"coq-metacoq-checker" {= version}
]
synopsis: "Translations built on top of MetaCoq"
description: """
MetaCoq is a meta-programming framework for Coq.
The Translations modules provides implementation of standard translations
from type theory to type theory, e.g. parametricity and the `cross-bool`
translation that invalidates functional extensionality.
"""
# url {
# src: "https://github.com/MetaCoq/metacoq/archive/v2.1-beta3.tar.gz"
# checksum: "md5=e81b8ecabef788a10337a39b095d54f3"
# }
url {
src: "https://github.com/MetaCoq/metacoq/archive/v1.0-alpha2-8.10.tar.gz"
checksum: "sha256=94156cb9397b44915c9217a435a812cabc9651684cd229d5069b34332d0792a2"
}
</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-translations.1.0~alpha2+8.10 coq.8.13.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.13.1).
The following dependencies couldn't be met:
- coq-metacoq-translations -> coq-metacoq-template = 1.0~alpha2+8.10 -> coq < 8.11~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-translations.1.0~alpha2+8.10</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.13.1/metacoq-translations/1.0~alpha2+8.10.html | HTML | mit | 7,807 |
console.log('----ๅ ่ฝฝๅผๅง----');
module.exports = (num) => {
return num + 1;
}
console.log('----ๅ ่ฝฝ็ปๆ----');
| yuzexia/learn-365 | learn/node/laohei/demo1/main/index.js | JavaScript | mit | 128 |
<section data-ng-controller="SlideshowsListController">
<div class='iqss-page-header'>
<div>
<div class='iqss-slideshowlist-showOnlyMineContainer'>
<input id='showOnlyMine' type="checkbox" ng-model="filterParameters.showOnlyMine" ng-change='filterSlideshows()'>
<label for='showOnlyMine'><span></span>Show only mine</label>
</div>
<div tag-and-name-filter search-Provider="searchProvider"></div>
</div>
</div>
<div class='iqss-slideshowlist-content' infinite-scroll handler='getNextChunk()'>
<section data-ng-repeat="slideshow in slideshows" >
<div class="iqss-slideshowlist-slideshow" ng-if='!slideshow.isPlacheloderForCreateNew || showCreateNewTile'>
<div ng-if='slideshow.isPlacheloderForCreateNew' class='iqss-slideshowlist-slideshow-createNew-container iqss-slideshows-links' ng-click='navigateToCreateNewSlideShow()' ng-show='showCreateNewTile'>
<div class='iqss-slideshowlist-slideshow-createNew'>
<span class='iqss-slideshowlist-slideshow-createNew-link'>Create new</span>
</div>
</div>
<div ng-if='!slideshow.isPlacheloderForCreateNew'>
<div>
<div class="iqss-slideshowlist-slideshow-title-container" ng-class="{'iqss-slideshowlist-slideshow-title-container-published': slideshow.published, 'iqss-slideshowlist-slideshow-title-container-draft': !slideshow.published}">
<div data-ng-bind="slideshow.name"></div>
</div>
</div>
<a class='iqss-slideshowlist-slideshow-preview' href="#!/slideshows/{{slideshow._id}}" data-ng-controller="PlayerController" ng-init="initPreviewFirstSlide(slideshow._id)">
<div ng-player style="background-color: #ffffff;height:100px;max-height:100%;width:100%;display:inline-block" slides="slides" ng-player-on-hold='true'></div>
</a>
<div class='iqss-slideshowlist-slideshow-linksContainer'>
<a data-ng-href='#!/slideshows/{{slideshow._id}}/edit' class='iqss-slideshowlist-slideshow-editLink'></a>
<a href='#' ng-click="publishSlideShow(slideshow)" class='iqss-slideshowlist-slideshow-publishLink'></a>
<a href='#' data-ng-click='remove(slideshow);' class='iqss-slideshowlist-slideshow-deleteLink'></a>
<div class='iqss-slideshowlist-slideshow-delimiter'>
</div>
</div>
<div class='iqss-slideshowlist-slideshow-authorName' data-ng-bind="slideshow.user.displayName"></div>
<div class='iqss-slideshowlist-slideshow-lastModified'>Last modified: <span data-ng-bind="slideshow.modified | date:'dd.MM.yyyy'"></span></div>
</div>
</div>
</section>
<div class="iqss-slideshowlist-slideshow-empty">
</div>
<div class="iqss-slideshowlist-slideshow-empty">
</div>
<div class="iqss-slideshowlist-slideshow-empty">
</div>
<div class="iqss-slideshowlist-slideshow-empty">
</div>
<div class="iqss-slideshowlist-slideshow-empty">
</div>
</div>
</section>
| tmol/iQSlideShow | public/modules/slideshows/views/list-slideshows.client.view.html | HTML | mit | 3,405 |
{% extends "base.html" %}
{% load staticfiles %}
<style type="text/css">
#sidebar { float: right; border: 1px dotted #ccc; padding: 4px; align:right; color:green}
</style>
{% block content %}
{% for post in posts.object_list %}
<div class="title">
<h1><a href="{% url 'post' post.id %}" style="margin-left: 45px;">{{ post.title }}</a></h1><hr>
</div>
{% if post.author.username %}
<div class="user" style="margin-left: 45px;">
<h5>Written By: <a href="{%url 'author' post.author.username %}"> {{ post.author }} </a></h5> {{ post.created }}</div><br>
{% endif %}
<div class="body" style="margin-left: 45px;">
{{ post.body|truncatewords_html:20|linebreaks }}
</div>
<div class="commentlink">
<a href="{% url 'post' post.id %}" style="margin-left: 45px;"> Continue reading โ </a>
</div><br>
Discussions: <a href="{% url 'post' post.id %}#comments"> {{ post.comment_set.count }} comments</a>
{% empty %}
No Blog posts are available yet.
{% endfor %}
<!-- Next/Prev page links -->
{% if not archive and posts.object_list and posts.paginator.num_pages > 1 %}
<div class="pagination">
<span class="step-links">
<ul>
{% if posts.has_previous %}
<a href= "?page={{ posts.previous_page_number }}"><input type="submit" value="PREVIOUS" class="btn btn-error"></a>
{% endif %}
<span class="current">
</span>
{% if posts.has_next %}
<a href="?page={{ posts.next_page_number }}"> <input type="submit" value="NEXT" class="btn btn-error"></a>
{% endif %} <br> <br>
</ul>
</span>
</div>
{% endif %}<br><br>
{% endblock %}
| yashwanthbabu/Django-BlogAsh | blog/templates/blog/list.html | HTML | mit | 2,015 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cours-de-coq: 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.15.0 / cours-de-coq - 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>
cours-de-coq
<small>
8.6.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-01-17 08:28:11 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-17 08:28:11 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 3 Virtual package relying on a GMP lib system installation
coq 8.15.0 Formal proof management system
dune 2.9.1 Fast, portable, and opinionated build system
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1 OCaml 4.08.1 Secondary Switch Compiler
ocamlfind 1.9.1 A library manager for OCaml
ocamlfind-secondary 1.9.1 Adds support for ocaml-secondary-compiler to ocamlfind
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/cours-de-coq"
license: "Unknown"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/CoursDeCoq"]
depends: [
"ocaml"
"coq" {>= "8.6" & < "8.7~"}
]
tags: [
"category: Miscellaneous/Coq Use Examples"
]
authors: [ "Frรฉdรฉric Prost" "Gilles Kahn" ]
bug-reports: "https://github.com/coq-contribs/cours-de-coq/issues"
dev-repo: "git+https://github.com/coq-contribs/cours-de-coq.git"
synopsis: "Various examples of Coq proofs"
description: "Various simple examples of Coq proofs"
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/cours-de-coq/archive/v8.6.0.tar.gz"
checksum: "md5=c7b1c9bf6950f50212e55aded92e7d18"
}
</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-cours-de-coq.8.6.0 coq.8.15.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.15.0).
The following dependencies couldn't be met:
- coq-cours-de-coq -> coq < 8.7~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can'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-cours-de-coq.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">
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.05.0-2.0.1/released/8.15.0/cours-de-coq/8.6.0.html | HTML | mit | 7,087 |
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
function FileBlock() {}
FileBlock.prototype = {
appDir: null,
profileDir: null,
tempDir: null,
// List of domains for the whitelist
whitelist: [],
// Chrome pages that should not be shown
chromeBlacklist: ["browser", "mozapps", "marionette", "specialpowers",
"branding", "alerts"],
initialize: function() {
this.appDir = Services.io.newFileURI(Services.dirsvc.get("CurProcD", Ci.nsIFile)).spec;
var profileDir = Services.dirsvc.get("ProfD", Ci.nsIFile);
this.profileDir = Services.io.newFileURI(profileDir).spec
this.tempDir = Services.io.newFileURI(Services.dirsvc.get("TmpD", Ci.nsIFile)).spec;
try {
var whitelist = Services.prefs.getCharPref("extensions.webconverger.whitelist");
this.whitelist = whitelist.split(",");
for (var i=0; i < this.whitelist.length; i++) {
this.whitelist[i] = this.whitelist[i].trim();
}
} catch(e) {}
var whitelistFile = profileDir.clone();
whitelistFile.append("webconverger.whitelist");
if (!whitelistFile.exists()) {
return;
}
var stream = Cc["@mozilla.org/network/file-input-stream;1"]
.createInstance(Ci.nsIFileInputStream);
stream.init(whitelist, 0x01, 0644, 0);
var lis = stream.QueryInterface(Components.interfaces.nsILineInputStream);
var line = {value:null};
do {
var more = lis.readLine(line);
try {
var file = Cc["@mozilla.org/file/local;1"]
.createInstance(Ci.nsILocalFile);
file.initWithPath(line.value);
this.whitelist.push(ioService.newFileURI(file).spec.toLowerCase());
} catch (ex) {
/* Invalid path */
}
} while (more);
stream.close();
},
shouldLoad: function(aContentType, aContentLocation, aRequestOrigin, aContext, aMimeTypeGuess, aExtra) {
if (!this.appDir) {
this.initialize();
}
// We need to allow access to any files in the profile directory,
// application directory or the temporary directory. Without these,
// Firefox won't start
if (aContentLocation.spec.match(this.profileDir) ||
aContentLocation.spec.match(this.appDir) ||
aContentLocation.spec.match(this.tempDir)) {
return Ci.nsIContentPolicy.ACCEPT;
}
// Allow everything on the whitelist first
if (aContentLocation.scheme == "http" ||
aContentLocation.scheme == "https") {
for (var i=0; i< this.whitelist.length; i++) {
if (aContentLocation.host == this.whitelist[i] ||
aContentLocation.host.substr(aContentLocation.host.length - this.whitelist[i].length - 1) == "." + this.whitelist[i]) {
return Ci.nsIContentPolicy.ACCEPT;
}
}
}
if (aContentLocation.scheme == "chrome") {
// This prevents loading of chrome files into the browser window
if (aRequestOrigin &&
(aRequestOrigin.spec == "chrome://browser/content/browser.xul" ||
aRequestOrigin.scheme == "moz-nullprincipal")) {
for (var i=0; i < this.chromeBlacklist.length; i++) {
if (aContentLocation.host == this.chromeBlacklist[i]) {
return Ci.nsIContentPolicy.REJECT_REQUEST;
}
}
}
// All chrome requests come through here, so we have to allow them
// (Like loading the main browser window for instance)
return Ci.nsIContentPolicy.ACCEPT;
}
// Prevent the loading of resource files into the main browser window
if (aContentLocation.scheme == "resource") {
if (aRequestOrigin && aRequestOrigin.scheme == "moz-nullprincipal") {
return Ci.nsIContentPolicy.REJECT_REQUEST;
}
return Ci.nsIContentPolicy.ACCEPT;
}
// Only allow these three about URLs
if (aContentLocation.scheme == "about") {
if (aContentLocation.spec == "about:" ||
/^about:certerror/.test(aContentLocation.spec) ||
/^about:neterror/.test(aContentLocation.spec) ||
/^about:buildconfig/.test(aContentLocation.spec) ||
/^about:credits/.test(aContentLocation.spec) ||
/^about:license/.test(aContentLocation.spec) ||
// /^about:srcdoc/.test(aContentLocation.spec) || // Needed for Australis
// /^about:customizing/.test(aContentLocation.spec) || // Needed for Australis
/^about:blank/.test(aContentLocation.spec)) {
return Ci.nsIContentPolicy.ACCEPT;
}
return Ci.nsIContentPolicy.REJECT_REQUEST;
}
// We allow all javascript and data URLs
if (aContentLocation.scheme == "data" ||
aContentLocation.scheme == "javascript") {
return Ci.nsIContentPolicy.ACCEPT;
}
// Deny all files
if (aContentLocation.scheme == "file") {
return Ci.nsIContentPolicy.REJECT_REQUEST;
}
// Allow view source
// if (aContentLocation.scheme == "view-source") {
// return Ci.nsIContentPolicy.ACCEPT;
// }
// If we had a whitelist, reject everything else
if (this.whitelist.length > 0) {
if (aContentType == Ci.nsIContentPolicy.TYPE_DOCUMENT) {
// Services.prompt.alert(null, "Webconverger", "Not allowed, whitelist only permits: " + this.whitelist.join(", "));
return Ci.nsIContentPolicy.REJECT_REQUEST;
}
}
// If there is no whitelist, allow everything (because we denied file URLs)
return Ci.nsIContentPolicy.ACCEPT;
},
shouldProcess: function(aContentType, aContentLocation, aRequestOrigin, aContext, aMimeTypeGuess, aExtra) {
return Ci.nsIContentPolicy.ACCEPT;
},
classDescription: "Webconverger FileBlock Service",
contractID: "@webconverger.com/fileblock-service;1",
classID: Components.ID('{607c1749-dc0a-463c-96cf-8ec6c3901319}'),
QueryInterface: XPCOMUtils.generateQI([Ci.nsIContentPolicy])
}
var NSGetFactory = XPCOMUtils.generateNSGetFactory([FileBlock]);
| Webconverger/webconverger-addon | components/fileBlockService.js | JavaScript | mit | 6,010 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>topology: 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.0 / topology - 8.8.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
topology
<small>
8.8.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2020-07-29 03:23:42 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-07-29 03:23:42 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.0 Formal proof management system
num 1.3 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.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/topology"
license: "LGPL"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Topology"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
"coq-zorns-lemma" {>= "8.8" & < "8.9~"}
]
tags: [ "keyword: topology" "keyword: filters" "keyword: nets" "keyword: metric spaces" "keyword: real analysis" "keyword: Urysohn's lemma" "keyword: Tietze extension theorem" "category: Mathematics/Real Calculus and Topology" ]
authors: [ "Daniel Schepler <dschepler@gmail.com>" ]
bug-reports: "https://github.com/coq-contribs/topology/issues"
dev-repo: "git+https://github.com/coq-contribs/topology.git"
synopsis: "General Topology"
description:
"This library develops some of the basic concepts and results of general topology."
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/topology/archive/v8.8.0.tar.gz"
checksum: "md5=7d5ca5136f9b431e175f0e302cb13ee8"
}
</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-topology.8.8.0 coq.8.10.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.10.0).
The following dependencies couldn't be met:
- coq-topology -> coq < 8.9~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-topology.8.8.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/extra-dev/8.10.0/topology/8.8.0.html | HTML | mit | 7,071 |
<!DOCTYPE html>
<HTML><head><TITLE>Manpage of KPARTX</TITLE>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/main.css" type="text/css">
</head>
<body>
<header class="site-header">
<div class="wrap"> <div class="site-title"><a href="/manpages/index.html">linux manpages</a></div>
<div class="site-description">{"type":"documentation"}</div>
</div>
</header>
<div class="page-content"><div class="wrap">
<H1>KPARTX</H1>
Section: Linux Administrator's Manual (8)<BR>Updated: July 2006<BR><A HREF="#index">Index</A>
<A HREF="/manpages/index.html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
kpartx - Create device maps from partition tables
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>kpartx</B>
[<B>-a </B><B>| -d | -l</B>]
[<B>-v</B>]
wholedisk
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
This tool, derived from util-linux' partx, reads partition
tables on specified device and create device maps over partitions
segments detected. It is called from hotplug upon device maps
creation and deletion.
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-a</B>
<DD>
Add partition mappings
<DT><B>-d</B>
<DD>
Delete partition mappings
<DT><B>-l</B>
<DD>
List partition mappings that would be added -a
<DT><B>-p</B>
<DD>
set device name-partition number delimiter
<DT><B>-f</B>
<DD>
force creation of mappings; overrides 'no_partitions' feature
<DT><B>-g</B>
<DD>
force GUID partition table (GPT)
<DT><B>-s</B>
<DD>
sync mode. Don't return until the partitions are created
<DT><B>-v</B>
<DD>
Operate verbosely
</DL>
<A NAME="lbAF"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="/manpages/index.html?8+multipath">multipath</A></B>(8)
<B><A HREF="/manpages/index.html?8+multipathd">multipathd</A></B>(8)
<B><A HREF="/manpages/index.html?8+hotplug">hotplug</A></B>(8)
<A NAME="lbAG"> </A>
<H2>AUTHORS</H2>
This man page was assembled By Patrick Caulfield
for the Debian project. From documentation provided
by the multipath author Christophe Varoqui, <<A HREF="mailto:christophe.varoqui@free.fr">christophe.varoqui@free.fr</A>> and others.
<P>
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
<DT><A HREF="#lbAG">AUTHORS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/manpages/index.html">man2html</A>,
using the manual pages.<BR>
Time: 05:34:26 GMT, December 24, 2015
</div></div>
</body>
</HTML>
| yuweijun/yuweijun.github.io | manpages/man8/kpartx.8.html | HTML | mit | 2,599 |
# coding: utf8
{
' Assessment Series Details': ' Assessment Series Details',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'# of International Staff': '# of International Staff',
'# of National Staff': '# of National Staff',
'# of Vehicles': '# of Vehicles',
'%(module)s not installed': '%(module)s not installed',
'%(system_name)s - Verify Email': '%(system_name)s - Verify Email',
'%.1f km': '%.1f km',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s rows deleted': '%s rows deleted',
'%s rows updated': '%s rows updated',
'& then click on the map below to adjust the Lat/Lon fields': '& then click on the map below to adjust the Lat/Lon fields',
"'Cancel' will indicate an asset log entry did not occur": "'Cancel' will indicate an asset log entry did not occur",
'* Required Fields': '* Required Fields',
'0-15 minutes': '0-15 minutes',
'1 Assessment': '1 Assessment',
'1 location, shorter time, can contain multiple Tasks': '1 location, shorter time, can contain multiple Tasks',
'1-3 days': '1-3 days',
'15-30 minutes': '15-30 minutes',
'2 different options are provided here currently:': '2 different options are provided here currently:',
'2x4 Car': '2x4 Car',
'30-60 minutes': '30-60 minutes',
'4-7 days': '4-7 days',
'4x4 Car': '4x4 Car',
'8-14 days': '8-14 days',
'A Marker assigned to an individual Location is set if there is a need to override the Marker assigned to the Feature Class.': 'A Marker assigned to an individual Location is set if there is a need to override the Marker assigned to the Feature Class.',
'A Reference Document such as a file, URL or contact person to verify this data.': 'A Reference Document such as a file, URL or contact person to verify this data.',
'A brief description of the group (optional)': 'A brief description of the group (optional)',
'A catalog of different Assessment Templates including summary information': 'A catalogue of different Assessment Templates including summary information',
'A file in GPX format taken from a GPS.': 'A file in GPX format taken from a GPS.',
'A library of digital resources, such as photos, documents and reports': 'A library of digital resources, such as photos, documents and reports',
'A location group can be used to define the extent of an affected area, if it does not fall within one administrative region.': 'A location group can be used to define the extent of an affected area, if it does not fall within one administrative region.',
'A location group is a set of locations (often, a set of administrative regions representing a combined area).': 'A location group is a set of locations (often, a set of administrative regions representing a combined area).',
'A location group must have at least one member.': 'A location group must have at least one member.',
"A location that specifies the geographic area for this region. This can be a location from the location hierarchy, or a 'group location', or a location that has a boundary for the area.": "A location that specifies the geographic area for this region. This can be a location from the location hierarchy, or a 'group location', or a location that has a boundary for the area.",
'A portal for volunteers allowing them to amend their own data & view assigned tasks.': 'A portal for volunteers allowing them to amend their own data & view assigned tasks.',
'A task is a piece of work that an individual or team can do in 1-2 days': 'A task is a piece of work that an individual or team can do in 1-2 days',
'ABOUT THIS MODULE': 'ABOUT THIS MODULE',
'ACCESS DATA': 'ACCESS DATA',
'ACTION REQUIRED': 'ACTION REQUIRED',
'ANY': 'ANY',
'API Key': 'API Key',
'API is documented here': 'API is documented here',
'ATC-20 Rapid Evaluation modified for New Zealand': 'ATC-20 Rapid Evaluation modified for New Zealand',
'Abbreviation': 'Abbreviation',
'Ability to customize the list of details tracked at a Shelter': 'Ability to customize the list of details tracked at a Shelter',
'Ability to customize the list of human resource tracked at a Shelter': 'Ability to customize the list of human resource tracked at a Shelter',
'Ability to customize the list of important facilities needed at a Shelter': 'Ability to customize the list of important facilities needed at a Shelter',
'About': 'About',
'Accept Push': 'Accept Push',
'Accept Pushes': 'Accept Pushes',
'Access denied': 'Access denied',
'Access to Shelter': 'Access to Shelter',
'Access to education services': 'Access to education services',
'Accessibility of Affected Location': 'Accessibility of Affected Location',
'Accompanying Relative': 'Accompanying Relative',
'Account Registered - Please Check Your Email': 'Account Registered - Please Check Your Email',
'Acronym': 'Acronym',
"Acronym of the organization's name, eg. IFRC.": "Acronym of the organisation's name, eg. IFRC.",
'Actionable by all targeted recipients': 'Actionable by all targeted recipients',
'Actionable only by designated exercise participants; exercise identifier SHOULD appear in <note>': 'Actionable only by designated exercise participants; exercise identifier SHOULD appear in <note>',
'Actioned?': 'Actioned?',
'Actions': 'Actions',
'Actions taken as a result of this request.': 'Actions taken as a result of this request.',
'Activate Events from Scenario templates for allocation of appropriate Resources (Human, Assets & Facilities).': 'Activate Events from Scenario templates for allocation of appropriate Resources (Human, Assets & Facilities).',
'Active': 'Active',
'Active Problems': 'Active Problems',
'Activities': 'Activities',
'Activities matching Assessments:': 'Activities matching Assessments:',
'Activities of boys 13-17yrs before disaster': 'Activities of boys 13-17yrs before disaster',
'Activities of boys 13-17yrs now': 'Activities of boys 13-17yrs now',
'Activities of boys <12yrs before disaster': 'Activities of boys <12yrs before disaster',
'Activities of boys <12yrs now': 'Activities of boys <12yrs now',
'Activities of children': 'Activities of children',
'Activities of girls 13-17yrs before disaster': 'Activities of girls 13-17yrs before disaster',
'Activities of girls 13-17yrs now': 'Activities of girls 13-17yrs now',
'Activities of girls <12yrs before disaster': 'Activities of girls <12yrs before disaster',
'Activities of girls <12yrs now': 'Activities of girls <12yrs now',
'Activities:': 'Activities:',
'Activity': 'Activity',
'Activity Added': 'Activity Added',
'Activity Deleted': 'Activity Deleted',
'Activity Details': 'Activity Details',
'Activity Report': 'Activity Report',
'Activity Reports': 'Activity Reports',
'Activity Type': 'Activity Type',
'Activity Types': 'Activity Types',
'Activity Updated': 'Activity Updated',
'Activity added': 'Activity added',
'Activity removed': 'Activity removed',
'Activity updated': 'Activity updated',
'Add': 'Add',
'Add Activity': 'Add Activity',
'Add Activity Report': 'Add Activity Report',
'Add Activity Type': 'Add Activity Type',
'Add Address': 'Add Address',
'Add Alternative Item': 'Add Alternative Item',
'Add Assessment': 'Add Assessment',
'Add Assessment Answer': 'Add Assessment Answer',
'Add Assessment Series': 'Add Assessment Series',
'Add Assessment Summary': 'Add Assessment Summary',
'Add Assessment Template': 'Add Assessment Template',
'Add Asset': 'Add Asset',
'Add Asset Log Entry - Change Label': 'Add Asset Log Entry - Change Label',
'Add Availability': 'Add Availability',
'Add Baseline': 'Add Baseline',
'Add Baseline Type': 'Add Baseline Type',
'Add Bed Type': 'Add Bed Type',
'Add Brand': 'Add Brand',
'Add Budget': 'Add Budget',
'Add Bundle': 'Add Bundle',
'Add Camp': 'Add Camp',
'Add Camp Service': 'Add Camp Service',
'Add Camp Type': 'Add Camp Type',
'Add Catalog': 'Add Catalogue',
'Add Catalog Item': 'Add Catalogue Item',
'Add Certificate': 'Add Certificate',
'Add Certification': 'Add Certification',
'Add Cholera Treatment Capability Information': 'Add Cholera Treatment Capability Information',
'Add Cluster': 'Add Cluster',
'Add Cluster Subsector': 'Add Cluster Subsector',
'Add Competency Rating': 'Add Competency Rating',
'Add Contact': 'Add Contact',
'Add Contact Information': 'Add Contact Information',
'Add Course': 'Add Course',
'Add Course Certificate': 'Add Course Certificate',
'Add Credential': 'Add Credential',
'Add Credentials': 'Add Credentials',
'Add Dead Body Report': 'Add Dead Body Report',
'Add Disaster Victims': 'Add Disaster Victims',
'Add Distribution.': 'Add Distribution.',
'Add Document': 'Add Document',
'Add Donor': 'Add Donor',
'Add Facility': 'Add Facility',
'Add Feature Class': 'Add Feature Class',
'Add Feature Layer': 'Add Feature Layer',
'Add Flood Report': 'Add Flood Report',
'Add GPS data': 'Add GPS data',
'Add Group': 'Add Group',
'Add Group Member': 'Add Group Member',
'Add Home Address': 'Add Home Address',
'Add Hospital': 'Add Hospital',
'Add Human Resource': 'Add Human Resource',
'Add Identification Report': 'Add Identification Report',
'Add Identity': 'Add Identity',
'Add Image': 'Add Image',
'Add Impact': 'Add Impact',
'Add Impact Type': 'Add Impact Type',
'Add Incident': 'Add Incident',
'Add Incident Report': 'Add Incident Report',
'Add Item': 'Add Item',
'Add Item Category': 'Add Item Category',
'Add Item Pack': 'Add Item Pack',
'Add Item to Catalog': 'Add Item to Catalogue',
'Add Item to Commitment': 'Add Item to Commitment',
'Add Item to Inventory': 'Add Item to Inventory',
'Add Item to Order': 'Add Item to Order',
'Add Item to Request': 'Add Item to Request',
'Add Item to Shipment': 'Add Item to Shipment',
'Add Job': 'Add Job',
'Add Job Role': 'Add Job Role',
'Add Kit': 'Add Kit',
'Add Layer': 'Add Layer',
'Add Level 1 Assessment': 'Add Level 1 Assessment',
'Add Level 2 Assessment': 'Add Level 2 Assessment',
'Add Location': 'Add Location',
'Add Log Entry': 'Add Log Entry',
'Add Map Configuration': 'Add Map Configuration',
'Add Marker': 'Add Marker',
'Add Member': 'Add Member',
'Add Membership': 'Add Membership',
'Add Message': 'Add Message',
'Add Mission': 'Add Mission',
'Add Need': 'Add Need',
'Add Need Type': 'Add Need Type',
'Add New': 'Add New',
'Add New Activity': 'Add New Activity',
'Add New Activity Type': 'Add New Activity Type',
'Add New Address': 'Add New Address',
'Add New Alternative Item': 'Add New Alternative Item',
'Add New Assessment': 'Add New Assessment',
'Add New Assessment Summary': 'Add New Assessment Summary',
'Add New Asset': 'Add New Asset',
'Add New Baseline': 'Add New Baseline',
'Add New Baseline Type': 'Add New Baseline Type',
'Add New Brand': 'Add New Brand',
'Add New Budget': 'Add New Budget',
'Add New Bundle': 'Add New Bundle',
'Add New Camp': 'Add New Camp',
'Add New Camp Service': 'Add New Camp Service',
'Add New Camp Type': 'Add New Camp Type',
'Add New Catalog': 'Add New Catalogue',
'Add New Cluster': 'Add New Cluster',
'Add New Cluster Subsector': 'Add New Cluster Subsector',
'Add New Commitment Item': 'Add New Commitment Item',
'Add New Contact': 'Add New Contact',
'Add New Credential': 'Add New Credential',
'Add New Document': 'Add New Document',
'Add New Donor': 'Add New Donor',
'Add New Entry': 'Add New Entry',
'Add New Event': 'Add New Event',
'Add New Facility': 'Add New Facility',
'Add New Feature Class': 'Add New Feature Class',
'Add New Feature Layer': 'Add New Feature Layer',
'Add New Flood Report': 'Add New Flood Report',
'Add New Group': 'Add New Group',
'Add New Home': 'Add New Home',
'Add New Hospital': 'Add New Hospital',
'Add New Human Resource': 'Add New Human Resource',
'Add New Identity': 'Add New Identity',
'Add New Image': 'Add New Image',
'Add New Impact': 'Add New Impact',
'Add New Impact Type': 'Add New Impact Type',
'Add New Incident': 'Add New Incident',
'Add New Incident Report': 'Add New Incident Report',
'Add New Item': 'Add New Item',
'Add New Item Category': 'Add New Item Category',
'Add New Item Pack': 'Add New Item Pack',
'Add New Item to Kit': 'Add New Item to Kit',
'Add New Item to Order': 'Add New Item to Order',
'Add New Kit': 'Add New Kit',
'Add New Layer': 'Add New Layer',
'Add New Level 1 Assessment': 'Add New Level 1 Assessment',
'Add New Level 2 Assessment': 'Add New Level 2 Assessment',
'Add New Location': 'Add New Location',
'Add New Log Entry': 'Add New Log Entry',
'Add New Map Configuration': 'Add New Map Configuration',
'Add New Marker': 'Add New Marker',
'Add New Member': 'Add New Member',
'Add New Membership': 'Add New Membership',
'Add New Need': 'Add New Need',
'Add New Need Type': 'Add New Need Type',
'Add New Office': 'Add New Office',
'Add New Order': 'Add New Order',
'Add New Organization': 'Add New Organisation',
'Add New Organization Domain': 'Add New Organisation Domain',
'Add New Patient': 'Add New Patient',
'Add New Person to Commitment': 'Add New Person to Commitment',
'Add New Photo': 'Add New Photo',
'Add New Population Statistic': 'Add New Population Statistic',
'Add New Problem': 'Add New Problem',
'Add New Project': 'Add New Project',
'Add New Project Site': 'Add New Project Site',
'Add New Projection': 'Add New Projection',
'Add New Rapid Assessment': 'Add New Rapid Assessment',
'Add New Received Item': 'Add New Received Item',
'Add New Record': 'Add New Record',
'Add New Relative': 'Add New Relative',
'Add New Report': 'Add New Report',
'Add New Request': 'Add New Request',
'Add New Request Item': 'Add New Request Item',
'Add New Resource': 'Add New Resource',
'Add New River': 'Add New River',
'Add New Role': 'Add New Role',
'Add New Role to User': 'Add New Role to User',
'Add New Room': 'Add New Room',
'Add New Scenario': 'Add New Scenario',
'Add New Sector': 'Add New Sector',
'Add New Sent Item': 'Add New Sent Item',
'Add New Setting': 'Add New Setting',
'Add New Shelter': 'Add New Shelter',
'Add New Shelter Service': 'Add New Shelter Service',
'Add New Shelter Type': 'Add New Shelter Type',
'Add New Skill': 'Add New Skill',
'Add New Solution': 'Add New Solution',
'Add New Staff Member': 'Add New Staff Member',
'Add New Staff Type': 'Add New Staff Type',
'Add New Subsector': 'Add New Subsector',
'Add New Task': 'Add New Task',
'Add New Team': 'Add New Team',
'Add New Theme': 'Add New Theme',
'Add New Ticket': 'Add New Ticket',
'Add New User': 'Add New User',
'Add New User to Role': 'Add New User to Role',
'Add New Vehicle': 'Add New Vehicle',
'Add New Volunteer': 'Add New Volunteer',
'Add New Warehouse': 'Add New Warehouse',
'Add Office': 'Add Office',
'Add Order': 'Add Order',
'Add Organization': 'Add Organisation',
'Add Organization Domain': 'Add Organisation Domain',
'Add Organization to Project': 'Add Organisation to Project',
'Add Person': 'Add Person',
'Add Person to Commitment': 'Add Person to Commitment',
'Add Personal Effects': 'Add Personal Effects',
'Add Photo': 'Add Photo',
'Add Point': 'Add Point',
'Add Polygon': 'Add Polygon',
'Add Population Statistic': 'Add Population Statistic',
'Add Position': 'Add Position',
'Add Problem': 'Add Problem',
'Add Project': 'Add Project',
'Add Project Site': 'Add Project Site',
'Add Projection': 'Add Projection',
'Add Question Meta-Data': 'Add Question Meta-Data',
'Add Rapid Assessment': 'Add Rapid Assessment',
'Add Record': 'Add Record',
'Add Reference Document': 'Add Reference Document',
'Add Report': 'Add Report',
'Add Repository': 'Add Repository',
'Add Request': 'Add Request',
'Add Resource': 'Add Resource',
'Add River': 'Add River',
'Add Role': 'Add Role',
'Add Room': 'Add Room',
'Add Saved Search': 'Add Saved Search',
'Add Section': 'Add Section',
'Add Sector': 'Add Sector',
'Add Service Profile': 'Add Service Profile',
'Add Setting': 'Add Setting',
'Add Shelter': 'Add Shelter',
'Add Shelter Service': 'Add Shelter Service',
'Add Shelter Type': 'Add Shelter Type',
'Add Skill': 'Add Skill',
'Add Skill Equivalence': 'Add Skill Equivalence',
'Add Skill Provision': 'Add Skill Provision',
'Add Skill Type': 'Add Skill Type',
'Add Skill to Request': 'Add Skill to Request',
'Add Solution': 'Add Solution',
'Add Staff Member': 'Add Staff Member',
'Add Staff Type': 'Add Staff Type',
'Add Status': 'Add Status',
'Add Subscription': 'Add Subscription',
'Add Subsector': 'Add Subsector',
'Add Task': 'Add Task',
'Add Team': 'Add Team',
'Add Template Section': 'Add Template Section',
'Add Theme': 'Add Theme',
'Add Ticket': 'Add Ticket',
'Add Training': 'Add Training',
'Add Unit': 'Add Unit',
'Add User': 'Add User',
'Add Vehicle': 'Add Vehicle',
'Add Vehicle Detail': 'Add Vehicle Detail',
'Add Vehicle Details': 'Add Vehicle Details',
'Add Volunteer': 'Add Volunteer',
'Add Volunteer Availability': 'Add Volunteer Availability',
'Add Warehouse': 'Add Warehouse',
'Add a Person': 'Add a Person',
'Add a Reference Document such as a file, URL or contact person to verify this data. If you do not enter a Reference Document, your email will be displayed instead.': 'Add a Reference Document such as a file, URL or contact person to verify this data. If you do not enter a Reference Document, your email will be displayed instead.',
'Add a new Assessment Answer': 'Add a new Assessment Answer',
'Add a new Assessment Question': 'Add a new Assessment Question',
'Add a new Assessment Series': 'Add a new Assessment Series',
'Add a new Assessment Template': 'Add a new Assessment Template',
'Add a new Completed Assessment': 'Add a new Completed Assessment',
'Add a new Template Section': 'Add a new Template Section',
'Add a new certificate to the catalog.': 'Add a new certificate to the catalogue.',
'Add a new competency rating to the catalog.': 'Add a new competency rating to the catalogue.',
'Add a new job role to the catalog.': 'Add a new job role to the catalogue.',
'Add a new skill provision to the catalog.': 'Add a new skill provision to the catalogue.',
'Add a new skill type to the catalog.': 'Add a new skill type to the catalogue.',
'Add all organizations which are involved in different roles in this project': 'Add all organisations which are involved in different roles in this project',
'Add an Assessment Question': 'Add an Assessment Question',
'Add new Group': 'Add new Group',
'Add new Individual': 'Add new Individual',
'Add new Patient': 'Add new Patient',
'Add new Question Meta-Data': 'Add new Question Meta-Data',
'Add new project.': 'Add new project.',
'Add staff members': 'Add staff members',
'Add to Bundle': 'Add to Bundle',
'Add to budget': 'Add to budget',
'Add volunteers': 'Add volunteers',
'Add/Edit/Remove Layers': 'Add/Edit/Remove Layers',
'Additional Beds / 24hrs': 'Additional Beds / 24hrs',
'Address': 'Address',
'Address Details': 'Address Details',
'Address Type': 'Address Type',
'Address added': 'Address added',
'Address deleted': 'Address deleted',
'Address updated': 'Address updated',
'Addresses': 'Addresses',
'Adequate': 'Adequate',
'Adequate food and water available': 'Adequate food and water available',
'Admin Email': 'Admin Email',
'Admin Name': 'Admin Name',
'Admin Tel': 'Admin Tel',
'Administration': 'Administration',
'Admissions/24hrs': 'Admissions/24hrs',
'Adolescent (12-20)': 'Adolescent (12-20)',
'Adolescent participating in coping activities': 'Adolescent participating in coping activities',
'Adult (21-50)': 'Adult (21-50)',
'Adult ICU': 'Adult ICU',
'Adult Psychiatric': 'Adult Psychiatric',
'Adult female': 'Adult female',
'Adult male': 'Adult male',
'Adults in prisons': 'Adults in prisons',
'Advanced:': 'Advanced:',
'Advisory': 'Advisory',
'After clicking on the button, a set of paired items will be shown one by one. Please select the one solution from each pair that you prefer over the other.': 'After clicking on the button, a set of paired items will be shown one by one. Please select the one solution from each pair that you prefer over the other.',
'Age Group': 'Age Group',
'Age group': 'Age group',
'Age group does not match actual age.': 'Age group does not match actual age.',
'Aggravating factors': 'Aggravating factors',
'Agriculture': 'Agriculture',
'Air Transport Service': 'Air Transport Service',
'Air tajin': 'Air tajin',
'Aircraft Crash': 'Aircraft Crash',
'Aircraft Hijacking': 'Aircraft Hijacking',
'Airport Closure': 'Airport Closure',
'Airspace Closure': 'Airspace Closure',
'Alcohol': 'Alcohol',
'Alert': 'Alert',
'All': 'All',
'All Inbound & Outbound Messages are stored here': 'All Inbound & Outbound Messages are stored here',
'All Resources': 'All Resources',
'All data provided by the Sahana Software Foundation from this site is licensed under a Creative Commons Attribution license. However, not all data originates here. Please consult the source field of each entry.': 'All data provided by the Sahana Software Foundation from this site is licensed under a Creative Commons Attribution license. However, not all data originates here. Please consult the source field of each entry.',
'Allows a Budget to be drawn up': 'Allows a Budget to be drawn up',
'Alternative Item': 'Alternative Item',
'Alternative Item Details': 'Alternative Item Details',
'Alternative Item added': 'Alternative Item added',
'Alternative Item deleted': 'Alternative Item deleted',
'Alternative Item updated': 'Alternative Item updated',
'Alternative Items': 'Alternative Items',
'Alternative places for studying': 'Alternative places for studying',
'Ambulance Service': 'Ambulance Service',
'An Assessment Template can be selected to create an Event Assessment. Within an Event Assessment responses can be collected and results can analyzed as tables, charts and maps': 'An Assessment Template can be selected to create an Event Assessment. Within an Event Assessment responses can be collected and results can analysed as tables, charts and maps',
'An item which can be used in place of another item': 'An item which can be used in place of another item',
'Analysis': 'Analysis',
'Analysis of assessments': 'Analysis of assessments',
'Animal Die Off': 'Animal Die Off',
'Animal Feed': 'Animal Feed',
'Answer': 'Answer',
'Anthropolgy': 'Anthropolgy',
'Antibiotics available': 'Antibiotics available',
'Antibiotics needed per 24h': 'Antibiotics needed per 24h',
'Apparent Age': 'Apparent Age',
'Apparent Gender': 'Apparent Gender',
'Application Deadline': 'Application Deadline',
'Approve': 'Approve',
'Approved': 'Approved',
'Approved By': 'Approved By',
'Approver': 'Approver',
'Arabic': 'Arabic',
'Arctic Outflow': 'Arctic Outflow',
'Are you sure you want to delete this record?': 'Are you sure you want to delete this record?',
'Areas inspected': 'Areas inspected',
'As of yet, no completed surveys have been added to this series.': 'As of yet, no completed surveys have been added to this series.',
'As of yet, no sections have been added to this template.': 'As of yet, no sections have been added to this template.',
'Assessment': 'Assessment',
'Assessment Answer': 'Assessment Answer',
'Assessment Answer Details': 'Assessment Answer Details',
'Assessment Answer added': 'Assessment Answer added',
'Assessment Answer deleted': 'Assessment Answer deleted',
'Assessment Answer updated': 'Assessment Answer updated',
'Assessment Details': 'Assessment Details',
'Assessment Question Details': 'Assessment Question Details',
'Assessment Question added': 'Assessment Question added',
'Assessment Question deleted': 'Assessment Question deleted',
'Assessment Question updated': 'Assessment Question updated',
'Assessment Reported': 'Assessment Reported',
'Assessment Series': 'Assessment Series',
'Assessment Series added': 'Assessment Series added',
'Assessment Series deleted': 'Assessment Series deleted',
'Assessment Series updated': 'Assessment Series updated',
'Assessment Summaries': 'Assessment Summaries',
'Assessment Summary Details': 'Assessment Summary Details',
'Assessment Summary added': 'Assessment Summary added',
'Assessment Summary deleted': 'Assessment Summary deleted',
'Assessment Summary updated': 'Assessment Summary updated',
'Assessment Template Details': 'Assessment Template Details',
'Assessment Template added': 'Assessment Template added',
'Assessment Template deleted': 'Assessment Template deleted',
'Assessment Template updated': 'Assessment Template updated',
'Assessment Templates': 'Assessment Templates',
'Assessment added': 'Assessment added',
'Assessment admin level': 'Assessment admin level',
'Assessment deleted': 'Assessment deleted',
'Assessment timeline': 'Assessment timeline',
'Assessment updated': 'Assessment updated',
'Assessments': 'Assessments',
'Assessments Needs vs. Activities': 'Assessments Needs vs. Activities',
'Assessments and Activities': 'Assessments and Activities',
'Assessments:': 'Assessments:',
'Assessor': 'Assessor',
'Asset': 'Asset',
'Asset Details': 'Asset Details',
'Asset Log': 'Asset Log',
'Asset Log Details': 'Asset Log Details',
'Asset Log Empty': 'Asset Log Empty',
'Asset Log Entry Added - Change Label': 'Asset Log Entry Added - Change Label',
'Asset Log Entry deleted': 'Asset Log Entry deleted',
'Asset Log Entry updated': 'Asset Log Entry updated',
'Asset Management': 'Asset Management',
'Asset Number': 'Asset Number',
'Asset added': 'Asset added',
'Asset deleted': 'Asset deleted',
'Asset removed': 'Asset removed',
'Asset updated': 'Asset updated',
'Assets': 'Assets',
'Assets are resources which are not consumable but are expected back, so they need tracking.': 'Assets are resources which are not consumable but are expected back, so they need tracking.',
'Assign': 'Assign',
'Assign to Org.': 'Assign to Org.',
'Assign to Organization': 'Assign to Organisation',
'Assign to Person': 'Assign to Person',
'Assign to Site': 'Assign to Site',
'Assigned': 'Assigned',
'Assigned By': 'Assigned By',
'Assigned To': 'Assigned To',
'Assigned to Organization': 'Assigned to Organisation',
'Assigned to Person': 'Assigned to Person',
'Assigned to Site': 'Assigned to Site',
'Assignment': 'Assignment',
'Assignments': 'Assignments',
'At/Visited Location (not virtual)': 'At/Visited Location (not virtual)',
'Attend to information sources as described in <instruction>': 'Attend to information sources as described in <instruction>',
'Attribution': 'Attribution',
"Authenticate system's Twitter account": "Authenticate system's Twitter account",
'Author': 'Author',
'Available Alternative Inventories': 'Available Alternative Inventories',
'Available Beds': 'Available Beds',
'Available Forms': 'Available Forms',
'Available Inventories': 'Available Inventories',
'Available Messages': 'Available Messages',
'Available Records': 'Available Records',
'Available databases and tables': 'Available databases and tables',
'Available for Location': 'Available for Location',
'Available from': 'Available from',
'Available in Viewer?': 'Available in Viewer?',
'Available until': 'Available until',
'Avalanche': 'Avalanche',
'Avoid the subject event as per the <instruction>': 'Avoid the subject event as per the <instruction>',
'Background Color': 'Background Colour',
'Background Color for Text blocks': 'Background Colour for Text blocks',
'Bahai': 'Bahai',
'Baldness': 'Baldness',
'Banana': 'Banana',
'Bank/micro finance': 'Bank/micro finance',
'Barricades are needed': 'Barricades are needed',
'Base Layer?': 'Base Layer?',
'Base Layers': 'Base Layers',
'Base Location': 'Base Location',
'Base Site Set': 'Base Site Set',
'Base URL of the remote Sahana-Eden site': 'Base URL of the remote Sahana-Eden site',
'Baseline Data': 'Baseline Data',
'Baseline Number of Beds': 'Baseline Number of Beds',
'Baseline Type': 'Baseline Type',
'Baseline Type Details': 'Baseline Type Details',
'Baseline Type added': 'Baseline Type added',
'Baseline Type deleted': 'Baseline Type deleted',
'Baseline Type updated': 'Baseline Type updated',
'Baseline Types': 'Baseline Types',
'Baseline added': 'Baseline added',
'Baseline deleted': 'Baseline deleted',
'Baseline number of beds of that type in this unit.': 'Baseline number of beds of that type in this unit.',
'Baseline updated': 'Baseline updated',
'Baselines': 'Baselines',
'Baselines Details': 'Baselines Details',
'Basic Assessment': 'Basic Assessment',
'Basic Assessment Reported': 'Basic Assessment Reported',
'Basic Details': 'Basic Details',
'Basic reports on the Shelter and drill-down by region': 'Basic reports on the Shelter and drill-down by region',
'Baud': 'Baud',
'Baud rate to use for your modem - The default is safe for most cases': 'Baud rate to use for your modem - The default is safe for most cases',
'Beam': 'Beam',
'Bed Capacity': 'Bed Capacity',
'Bed Capacity per Unit': 'Bed Capacity per Unit',
'Bed Type': 'Bed Type',
'Bed type already registered': 'Bed type already registered',
'Below ground level': 'Below ground level',
'Beneficiary Type': 'Beneficiary Type',
"Bing Layers cannot be displayed if there isn't a valid API Key": "Bing Layers cannot be displayed if there isn't a valid API Key",
'Biological Hazard': 'Biological Hazard',
'Biscuits': 'Biscuits',
'Blizzard': 'Blizzard',
'Blood Type (AB0)': 'Blood Type (AB0)',
'Blowing Snow': 'Blowing Snow',
'Boat': 'Boat',
'Bodies': 'Bodies',
'Bodies found': 'Bodies found',
'Bodies recovered': 'Bodies recovered',
'Body': 'Body',
'Body Recovery': 'Body Recovery',
'Body Recovery Request': 'Body Recovery Request',
'Body Recovery Requests': 'Body Recovery Requests',
'Bomb': 'Bomb',
'Bomb Explosion': 'Bomb Explosion',
'Bomb Threat': 'Bomb Threat',
'Border Color for Text blocks': 'Border Colour for Text blocks',
'Brand': 'Brand',
'Brand Details': 'Brand Details',
'Brand added': 'Brand added',
'Brand deleted': 'Brand deleted',
'Brand updated': 'Brand updated',
'Brands': 'Brands',
'Bricks': 'Bricks',
'Bridge Closed': 'Bridge Closed',
'Bucket': 'Bucket',
'Buddhist': 'Buddhist',
'Budget': 'Budget',
'Budget Details': 'Budget Details',
'Budget Updated': 'Budget Updated',
'Budget added': 'Budget added',
'Budget deleted': 'Budget deleted',
'Budget updated': 'Budget updated',
'Budgeting Module': 'Budgeting Module',
'Budgets': 'Budgets',
'Buffer': 'Buffer',
'Bug': 'Bug',
'Building Assessments': 'Building Assessments',
'Building Collapsed': 'Building Collapsed',
'Building Name': 'Building Name',
'Building Safety Assessments': 'Building Safety Assessments',
'Building Short Name/Business Name': 'Building Short Name/Business Name',
'Building or storey leaning': 'Building or storey leaning',
'Built using the Template agreed by a group of NGOs working together as the': 'Built using the Template agreed by a group of NGOs working together as the',
'Bulk Uploader': 'Bulk Uploader',
'Bundle': 'Bundle',
'Bundle Contents': 'Bundle Contents',
'Bundle Details': 'Bundle Details',
'Bundle Updated': 'Bundle Updated',
'Bundle added': 'Bundle added',
'Bundle deleted': 'Bundle deleted',
'Bundle updated': 'Bundle updated',
'Bundles': 'Bundles',
'Burn': 'Burn',
'Burn ICU': 'Burn ICU',
'Burned/charred': 'Burned/charred',
'By Facility': 'By Facility',
'By Inventory': 'By Inventory',
'CBA Women': 'CBA Women',
'CLOSED': 'CLOSED',
'CN': 'CN',
'CSS file %s not writable - unable to apply theme!': 'CSS file %s not writable - unable to apply theme!',
'Calculate': 'Calculate',
'Camp': 'Camp',
'Camp Coordination/Management': 'Camp Coordination/Management',
'Camp Details': 'Camp Details',
'Camp Service': 'Camp Service',
'Camp Service Details': 'Camp Service Details',
'Camp Service added': 'Camp Service added',
'Camp Service deleted': 'Camp Service deleted',
'Camp Service updated': 'Camp Service updated',
'Camp Services': 'Camp Services',
'Camp Type': 'Camp Type',
'Camp Type Details': 'Camp Type Details',
'Camp Type added': 'Camp Type added',
'Camp Type deleted': 'Camp Type deleted',
'Camp Type updated': 'Camp Type updated',
'Camp Types': 'Camp Types',
'Camp Types and Services': 'Camp Types and Services',
'Camp added': 'Camp added',
'Camp deleted': 'Camp deleted',
'Camp updated': 'Camp updated',
'Camps': 'Camps',
'Can only approve 1 record at a time!': 'Can only approve 1 record at a time!',
'Can only disable 1 record at a time!': 'Can only disable 1 record at a time!',
'Can only enable 1 record at a time!': 'Can only enable 1 record at a time!',
"Can't import tweepy": "Can't import tweepy",
'Cancel': 'Cancel',
'Cancel Log Entry': 'Cancel Log Entry',
'Cancel Shipment': 'Cancel Shipment',
'Canceled': 'Canceled',
'Candidate Matches for Body %s': 'Candidate Matches for Body %s',
'Canned Fish': 'Canned Fish',
'Cannot be empty': 'Cannot be empty',
'Cannot disable your own account!': 'Cannot disable your own account!',
'Capacity (Max Persons)': 'Capacity (Max Persons)',
'Capture Information on Disaster Victim groups (Tourists, Passengers, Families, etc.)': 'Capture Information on Disaster Victim groups (Tourists, Passengers, Families, etc.)',
'Capture Information on each disaster victim': 'Capture Information on each disaster victim',
'Capturing the projects each organization is providing and where': 'Capturing the projects each organisation is providing and where',
'Cardiology': 'Cardiology',
'Cassava': 'Cassava',
'Casual Labor': 'Casual Labor',
'Casualties': 'Casualties',
'Catalog': 'Catalogue',
'Catalog Details': 'Catalogue Details',
'Catalog Item added': 'Catalogue Item added',
'Catalog Item deleted': 'Catalogue Item deleted',
'Catalog Item updated': 'Catalogue Item updated',
'Catalog Items': 'Catalogue Items',
'Catalog added': 'Catalogue added',
'Catalog deleted': 'Catalogue deleted',
'Catalog updated': 'Catalogue updated',
'Catalogs': 'Catalogues',
'Categories': 'Categories',
'Category': 'Category',
"Caution: doesn't respect the framework rules!": "Caution: doesn't respect the framework rules!",
'Ceilings, light fixtures': 'Ceilings, light fixtures',
'Cell Phone': 'Cell Phone',
'Central point to record details on People': 'Central point to record details on People',
'Certificate': 'Certificate',
'Certificate Catalog': 'Certificate Catalogue',
'Certificate Details': 'Certificate Details',
'Certificate Status': 'Certificate Status',
'Certificate added': 'Certificate added',
'Certificate deleted': 'Certificate deleted',
'Certificate updated': 'Certificate updated',
'Certificates': 'Certificates',
'Certification': 'Certification',
'Certification Details': 'Certification Details',
'Certification added': 'Certification added',
'Certification deleted': 'Certification deleted',
'Certification updated': 'Certification updated',
'Certifications': 'Certifications',
'Certifying Organization': 'Certifying Organisation',
'Change Password': 'Change Password',
'Check': 'Check',
'Check Request': 'Check Request',
'Check for errors in the URL, maybe the address was mistyped.': 'Check for errors in the URL, maybe the address was mistyped.',
'Check if the URL is pointing to a directory instead of a webpage.': 'Check if the URL is pointing to a directory instead of a webpage.',
'Check outbox for the message status': 'Check outbox for the message status',
'Check to delete': 'Check to delete',
'Check to delete:': 'Check to delete:',
'Check-in at Facility': 'Check-in at Facility',
'Checked': 'Checked',
'Checklist': 'Checklist',
'Checklist created': 'Checklist created',
'Checklist deleted': 'Checklist deleted',
'Checklist of Operations': 'Checklist of Operations',
'Checklist updated': 'Checklist updated',
'Chemical Hazard': 'Chemical Hazard',
'Chemical, Biological, Radiological, Nuclear or High-Yield Explosive threat or attack': 'Chemical, Biological, Radiological, Nuclear or High-Yield Explosive threat or attack',
'Chicken': 'Chicken',
'Child': 'Child',
'Child (2-11)': 'Child (2-11)',
'Child (< 18 yrs)': 'Child (< 18 yrs)',
'Child Abduction Emergency': 'Child Abduction Emergency',
'Child headed households (<18 yrs)': 'Child headed households (<18 yrs)',
'Children (2-5 years)': 'Children (2-5 years)',
'Children (5-15 years)': 'Children (5-15 years)',
'Children (< 2 years)': 'Children (< 2 years)',
'Children in adult prisons': 'Children in adult prisons',
'Children in boarding schools': 'Children in boarding schools',
'Children in homes for disabled children': 'Children in homes for disabled children',
'Children in juvenile detention': 'Children in juvenile detention',
'Children in orphanages': 'Children in orphanages',
'Children living on their own (without adults)': 'Children living on their own (without adults)',
'Children not enrolled in new school': 'Children not enrolled in new school',
'Children orphaned by the disaster': 'Children orphaned by the disaster',
'Children separated from their parents/caregivers': 'Children separated from their parents/caregivers',
'Children that have been sent to safe places': 'Children that have been sent to safe places',
'Children who have disappeared since the disaster': 'Children who have disappeared since the disaster',
'Chinese (Simplified)': 'Chinese (Simplified)',
'Chinese (Traditional)': 'Chinese (Traditional)',
'Cholera Treatment': 'Cholera Treatment',
'Cholera Treatment Capability': 'Cholera Treatment Capability',
'Cholera Treatment Center': 'Cholera Treatment Center',
'Cholera-Treatment-Center': 'Cholera-Treatment-Center',
'Choose a new posting based on the new evaluation and team judgement. Severe conditions affecting the whole building are grounds for an UNSAFE posting. Localised Severe and overall Moderate conditions may require a RESTRICTED USE. Place INSPECTED placard at main entrance. Post all other placards at every significant entrance.': 'Choose a new posting based on the new evaluation and team judgement. Severe conditions affecting the whole building are grounds for an UNSAFE posting. Localised Severe and overall Moderate conditions may require a RESTRICTED USE. Place INSPECTED placard at main entrance. Post all other placards at every significant entrance.',
'Christian': 'Christian',
'Church': 'Church',
'City': 'City',
'Civil Emergency': 'Civil Emergency',
'Cladding, glazing': 'Cladding, glazing',
'Click on the link': 'Click on the link',
'Client IP': 'Client IP',
'Climate': 'Climate',
'Clinical Laboratory': 'Clinical Laboratory',
'Clinical Operations': 'Clinical Operations',
'Clinical Status': 'Clinical Status',
'Close map': 'Close map',
'Closed': 'Closed',
'Clothing': 'Clothing',
'Cluster': 'Cluster',
'Cluster Details': 'Cluster Details',
'Cluster Distance': 'Cluster Distance',
'Cluster Subsector': 'Cluster Subsector',
'Cluster Subsector Details': 'Cluster Subsector Details',
'Cluster Subsector added': 'Cluster Subsector added',
'Cluster Subsector deleted': 'Cluster Subsector deleted',
'Cluster Subsector updated': 'Cluster Subsector updated',
'Cluster Subsectors': 'Cluster Subsectors',
'Cluster Threshold': 'Cluster Threshold',
'Cluster added': 'Cluster added',
'Cluster deleted': 'Cluster deleted',
'Cluster updated': 'Cluster updated',
'Cluster(s)': 'Cluster(s)',
'Clusters': 'Clusters',
'Code': 'Code',
'Cold Wave': 'Cold Wave',
'Collapse, partial collapse, off foundation': 'Collapse, partial collapse, off foundation',
'Collective center': 'Collective center',
'Color for Underline of Subheadings': 'Colour for Underline of Subheadings',
'Color of Buttons when hovering': 'Colour of Buttons when hovering',
'Color of bottom of Buttons when not pressed': 'Colour of bottom of Buttons when not pressed',
'Color of bottom of Buttons when pressed': 'Colour of bottom of Buttons when pressed',
'Color of dropdown menus': 'Colour of dropdown menus',
'Color of selected Input fields': 'Colour of selected Input fields',
'Color of selected menu items': 'Colour of selected menu items',
'Columns, pilasters, corbels': 'Columns, pilasters, corbels',
'Combined Method': 'Combined Method',
'Come back later.': 'Come back later.',
'Come back later. Everyone visiting this site is probably experiencing the same problem as you.': 'Come back later. Everyone visiting this site is probably experiencing the same problem as you.',
'Comments': 'Comments',
'Commercial/Offices': 'Commercial/Offices',
'Commit': 'Commit',
'Commit Date': 'Commit Date',
'Commit from %s': 'Commit from %s',
'Commit. Status': 'Commit. Status',
'Commiting a changed spreadsheet to the database': 'Commiting a changed spreadsheet to the database',
'Commitment': 'Commitment',
'Commitment Added': 'Commitment Added',
'Commitment Canceled': 'Commitment Canceled',
'Commitment Details': 'Commitment Details',
'Commitment Item Details': 'Commitment Item Details',
'Commitment Item added': 'Commitment Item added',
'Commitment Item deleted': 'Commitment Item deleted',
'Commitment Item updated': 'Commitment Item updated',
'Commitment Items': 'Commitment Items',
'Commitment Status': 'Commitment Status',
'Commitment Updated': 'Commitment Updated',
'Commitments': 'Commitments',
'Committed': 'Committed',
'Committed By': 'Committed By',
'Committed People': 'Committed People',
'Committed Person Details': 'Committed Person Details',
'Committed Person updated': 'Committed Person updated',
'Committing Inventory': 'Committing Inventory',
'Committing Organization': 'Committing Organisation',
'Committing Person': 'Committing Person',
'Communication problems': 'Communication problems',
'Community Centre': 'Community Centre',
'Community Health Center': 'Community Health Center',
'Community Member': 'Community Member',
'Competency': 'Competency',
'Competency Rating Catalog': 'Competency Rating Catalogue',
'Competency Rating Details': 'Competency Rating Details',
'Competency Rating added': 'Competency Rating added',
'Competency Rating deleted': 'Competency Rating deleted',
'Competency Rating updated': 'Competency Rating updated',
'Competency Ratings': 'Competency Ratings',
'Complete': 'Complete',
'Complete a new Assessment': 'Complete a new Assessment',
'Completed': 'Completed',
'Completed Assessment': 'Completed Assessment',
'Completed Assessment Details': 'Completed Assessment Details',
'Completed Assessment added': 'Completed Assessment added',
'Completed Assessment deleted': 'Completed Assessment deleted',
'Completed Assessment updated': 'Completed Assessment updated',
'Completed Assessments': 'Completed Assessments',
'Completed surveys of this Series:': 'Completed surveys of this Series:',
'Complexion': 'Complexion',
'Compose': 'Compose',
'Compromised': 'Compromised',
'Concrete frame': 'Concrete frame',
'Concrete shear wall': 'Concrete shear wall',
'Condition': 'Condition',
'Configuration': 'Configuration',
'Configurations': 'Configurations',
'Configure Run-time Settings': 'Configure Run-time Settings',
'Configure connection details and authentication': 'Configure connection details and authentication',
'Configure resources to synchronize, update methods and policies': 'Configure resources to synchronise, update methods and policies',
'Configure the default proxy server to connect to remote repositories': 'Configure the default proxy server to connect to remote repositories',
'Confirm Shipment Received': 'Confirm Shipment Received',
'Confirmed': 'Confirmed',
'Confirming Organization': 'Confirming Organisation',
'Conflict Policy': 'Conflict Policy',
'Conflict policy': 'Conflict policy',
'Conflicts': 'Conflicts',
'Consignment Note': 'Consignment Note',
'Constraints Only': 'Constraints Only',
'Consumable': 'Consumable',
'Contact': 'Contact',
'Contact Data': 'Contact Data',
'Contact Details': 'Contact Details',
'Contact Info': 'Contact Info',
'Contact Information': 'Contact Information',
'Contact Information Added': 'Contact Information Added',
'Contact Information Deleted': 'Contact Information Deleted',
'Contact Information Updated': 'Contact Information Updated',
'Contact Method': 'Contact Method',
'Contact Name': 'Contact Name',
'Contact Person': 'Contact Person',
'Contact Phone': 'Contact Phone',
'Contact information added': 'Contact information added',
'Contact information deleted': 'Contact information deleted',
'Contact information updated': 'Contact information updated',
'Contact us': 'Contact us',
'Contacts': 'Contacts',
'Contents': 'Contents',
'Contributor': 'Contributor',
'Conversion Tool': 'Conversion Tool',
'Cooking NFIs': 'Cooking NFIs',
'Cooking Oil': 'Cooking Oil',
'Coordinate Conversion': 'Coordinate Conversion',
'Coping Activities': 'Coping Activities',
'Copy': 'Copy',
'Corn': 'Corn',
'Cost Type': 'Cost Type',
'Cost per Megabyte': 'Cost per Megabyte',
'Cost per Minute': 'Cost per Minute',
'Country': 'Country',
'Country is required!': 'Country is required!',
'Country of Residence': 'Country of Residence',
'County': 'County',
'Course': 'Course',
'Course Catalog': 'Course Catalogue',
'Course Certificate Details': 'Course Certificate Details',
'Course Certificate added': 'Course Certificate added',
'Course Certificate deleted': 'Course Certificate deleted',
'Course Certificate updated': 'Course Certificate updated',
'Course Certificates': 'Course Certificates',
'Course Details': 'Course Details',
'Course added': 'Course added',
'Course deleted': 'Course deleted',
'Course updated': 'Course updated',
'Courses': 'Courses',
'Create & manage Distribution groups to receive Alerts': 'Create & manage Distribution groups to receive Alerts',
'Create Checklist': 'Create Checklist',
'Create Group Entry': 'Create Group Entry',
'Create Impact Assessment': 'Create Impact Assessment',
'Create Mobile Impact Assessment': 'Create Mobile Impact Assessment',
'Create New Asset': 'Create New Asset',
'Create New Catalog': 'Create New Catalogue',
'Create New Catalog Item': 'Create New Catalogue Item',
'Create New Event': 'Create New Event',
'Create New Item': 'Create New Item',
'Create New Item Category': 'Create New Item Category',
'Create New Location': 'Create New Location',
'Create New Request': 'Create New Request',
'Create New Scenario': 'Create New Scenario',
'Create New Vehicle': 'Create New Vehicle',
'Create Rapid Assessment': 'Create Rapid Assessment',
'Create Request': 'Create Request',
'Create Task': 'Create Task',
'Create a group entry in the registry.': 'Create a group entry in the registry.',
'Create new Office': 'Create new Office',
'Create new Organization': 'Create new Organisation',
'Create, enter, and manage surveys.': 'Create, enter, and manage surveys.',
'Creation of assessments': 'Creation of assessments',
'Credential Details': 'Credential Details',
'Credential added': 'Credential added',
'Credential deleted': 'Credential deleted',
'Credential updated': 'Credential updated',
'Credentialling Organization': 'Credentialling Organisation',
'Credentials': 'Credentials',
'Credit Card': 'Credit Card',
'Crime': 'Crime',
'Criteria': 'Criteria',
'Currency': 'Currency',
'Current Entries': 'Current Entries',
'Current Group Members': 'Current Group Members',
'Current Identities': 'Current Identities',
'Current Location': 'Current Location',
'Current Location Country': 'Current Location Country',
'Current Location Phone Number': 'Current Location Phone Number',
'Current Location Treating Hospital': 'Current Location Treating Hospital',
'Current Log Entries': 'Current Log Entries',
'Current Memberships': 'Current Memberships',
'Current Mileage': 'Current Mileage',
'Current Records': 'Current Records',
'Current Registrations': 'Current Registrations',
'Current Status': 'Current Status',
'Current Team Members': 'Current Team Members',
'Current Twitter account': 'Current Twitter account',
'Current community priorities': 'Current community priorities',
'Current general needs': 'Current general needs',
'Current greatest needs of vulnerable groups': 'Current greatest needs of vulnerable groups',
'Current health problems': 'Current health problems',
'Current number of patients': 'Current number of patients',
'Current problems, categories': 'Current problems, categories',
'Current problems, details': 'Current problems, details',
'Current request': 'Current request',
'Current response': 'Current response',
'Current session': 'Current session',
'Currently Configured Jobs': 'Currently Configured Jobs',
'Currently Configured Repositories': 'Currently Configured Repositories',
'Currently Configured Resources': 'Currently Configured Resources',
'Currently no Certifications registered': 'Currently no Certifications registered',
'Currently no Course Certificates registered': 'Currently no Course Certificates registered',
'Currently no Credentials registered': 'Currently no Credentials registered',
'Currently no Missions registered': 'Currently no Missions registered',
'Currently no Skill Equivalences registered': 'Currently no Skill Equivalences registered',
'Currently no Skills registered': 'Currently no Skills registered',
'Currently no Trainings registered': 'Currently no Trainings registered',
'Currently no entries in the catalog': 'Currently no entries in the catalogue',
'DC': 'DC',
'DNA Profile': 'DNA Profile',
'DNA Profiling': 'DNA Profiling',
'DVI Navigator': 'DVI Navigator',
'Dam Overflow': 'Dam Overflow',
'Damage': 'Damage',
'Dangerous Person': 'Dangerous Person',
'Dashboard': 'Dashboard',
'Data': 'Data',
'Data uploaded': 'Data uploaded',
'Database': 'Database',
'Date': 'Date',
'Date & Time': 'Date & Time',
'Date Available': 'Date Available',
'Date Delivered': 'Date Delivered',
'Date Expected': 'Date Expected',
'Date Received': 'Date Received',
'Date Requested': 'Date Requested',
'Date Required': 'Date Required',
'Date Required Until': 'Date Required Until',
'Date Sent': 'Date Sent',
'Date Until': 'Date Until',
'Date and Time': 'Date and Time',
'Date and time this report relates to.': 'Date and time this report relates to.',
'Date of Birth': 'Date of Birth',
'Date of Latest Information on Beneficiaries Reached': 'Date of Latest Information on Beneficiaries Reached',
'Date of Report': 'Date of Report',
'Date of Treatment': 'Date of Treatment',
'Date/Time': 'Date/Time',
'Date/Time of Find': 'Date/Time of Find',
'Date/Time when found': 'Date/Time when found',
'Date/Time when last seen': 'Date/Time when last seen',
'De-duplicator': 'De-duplicator',
'Dead Bodies': 'Dead Bodies',
'Dead Body': 'Dead Body',
'Dead Body Details': 'Dead Body Details',
'Dead Body Reports': 'Dead Body Reports',
'Dead body report added': 'Dead body report added',
'Dead body report deleted': 'Dead body report deleted',
'Dead body report updated': 'Dead body report updated',
'Deaths in the past 24h': 'Deaths in the past 24h',
'Deaths/24hrs': 'Deaths/24hrs',
'Decimal Degrees': 'Decimal Degrees',
'Decomposed': 'Decomposed',
'Default Height of the map window.': 'Default Height of the map window.',
'Default Location': 'Default Location',
'Default Map': 'Default Map',
'Default Marker': 'Default Marker',
'Default Width of the map window.': 'Default Width of the map window.',
'Defecation area for animals': 'Defecation area for animals',
'Define Scenarios for allocation of appropriate Resources (Human, Assets & Facilities).': 'Define Scenarios for allocation of appropriate Resources (Human, Assets & Facilities).',
'Defines the icon used for display of features on handheld GPS.': 'Defines the icon used for display of features on handheld GPS.',
'Defines the icon used for display of features on interactive map & KML exports.': 'Defines the icon used for display of features on interactive map & KML exports.',
'Defines the marker used for display & the attributes visible in the popup.': 'Defines the marker used for display & the attributes visible in the popup.',
'Degrees must be a number between -180 and 180': 'Degrees must be a number between -180 and 180',
'Dehydration': 'Dehydration',
'Delete': 'Delete',
'Delete Alternative Item': 'Delete Alternative Item',
'Delete Assessment': 'Delete Assessment',
'Delete Assessment Summary': 'Delete Assessment Summary',
'Delete Asset': 'Delete Asset',
'Delete Asset Log Entry': 'Delete Asset Log Entry',
'Delete Baseline': 'Delete Baseline',
'Delete Baseline Type': 'Delete Baseline Type',
'Delete Brand': 'Delete Brand',
'Delete Budget': 'Delete Budget',
'Delete Bundle': 'Delete Bundle',
'Delete Catalog': 'Delete Catalogue',
'Delete Catalog Item': 'Delete Catalogue Item',
'Delete Certificate': 'Delete Certificate',
'Delete Certification': 'Delete Certification',
'Delete Cluster': 'Delete Cluster',
'Delete Cluster Subsector': 'Delete Cluster Subsector',
'Delete Commitment': 'Delete Commitment',
'Delete Commitment Item': 'Delete Commitment Item',
'Delete Competency Rating': 'Delete Competency Rating',
'Delete Contact Information': 'Delete Contact Information',
'Delete Course': 'Delete Course',
'Delete Course Certificate': 'Delete Course Certificate',
'Delete Credential': 'Delete Credential',
'Delete Document': 'Delete Document',
'Delete Donor': 'Delete Donor',
'Delete Event': 'Delete Event',
'Delete Feature Class': 'Delete Feature Class',
'Delete Feature Layer': 'Delete Feature Layer',
'Delete GPS data': 'Delete GPS data',
'Delete Group': 'Delete Group',
'Delete Home': 'Delete Home',
'Delete Hospital': 'Delete Hospital',
'Delete Image': 'Delete Image',
'Delete Impact': 'Delete Impact',
'Delete Impact Type': 'Delete Impact Type',
'Delete Incident Report': 'Delete Incident Report',
'Delete Item': 'Delete Item',
'Delete Item Category': 'Delete Item Category',
'Delete Item Pack': 'Delete Item Pack',
'Delete Job Role': 'Delete Job Role',
'Delete Kit': 'Delete Kit',
'Delete Layer': 'Delete Layer',
'Delete Level 1 Assessment': 'Delete Level 1 Assessment',
'Delete Level 2 Assessment': 'Delete Level 2 Assessment',
'Delete Location': 'Delete Location',
'Delete Map Configuration': 'Delete Map Configuration',
'Delete Marker': 'Delete Marker',
'Delete Membership': 'Delete Membership',
'Delete Message': 'Delete Message',
'Delete Mission': 'Delete Mission',
'Delete Need': 'Delete Need',
'Delete Need Type': 'Delete Need Type',
'Delete Office': 'Delete Office',
'Delete Order': 'Delete Order',
'Delete Organization': 'Delete Organisation',
'Delete Organization Domain': 'Delete Organisation Domain',
'Delete Patient': 'Delete Patient',
'Delete Person': 'Delete Person',
'Delete Photo': 'Delete Photo',
'Delete Population Statistic': 'Delete Population Statistic',
'Delete Position': 'Delete Position',
'Delete Project': 'Delete Project',
'Delete Projection': 'Delete Projection',
'Delete Rapid Assessment': 'Delete Rapid Assessment',
'Delete Received Shipment': 'Delete Received Shipment',
'Delete Record': 'Delete Record',
'Delete Relative': 'Delete Relative',
'Delete Report': 'Delete Report',
'Delete Request': 'Delete Request',
'Delete Request Item': 'Delete Request Item',
'Delete Request for Donations': 'Delete Request for Donations',
'Delete Request for Volunteers': 'Delete Request for Volunteers',
'Delete Resource': 'Delete Resource',
'Delete Room': 'Delete Room',
'Delete Saved Search': 'Delete Saved Search',
'Delete Scenario': 'Delete Scenario',
'Delete Section': 'Delete Section',
'Delete Sector': 'Delete Sector',
'Delete Sent Item': 'Delete Sent Item',
'Delete Sent Shipment': 'Delete Sent Shipment',
'Delete Service Profile': 'Delete Service Profile',
'Delete Skill': 'Delete Skill',
'Delete Skill Equivalence': 'Delete Skill Equivalence',
'Delete Skill Provision': 'Delete Skill Provision',
'Delete Skill Type': 'Delete Skill Type',
'Delete Staff Type': 'Delete Staff Type',
'Delete Status': 'Delete Status',
'Delete Subscription': 'Delete Subscription',
'Delete Subsector': 'Delete Subsector',
'Delete Training': 'Delete Training',
'Delete Unit': 'Delete Unit',
'Delete User': 'Delete User',
'Delete Vehicle': 'Delete Vehicle',
'Delete Vehicle Details': 'Delete Vehicle Details',
'Delete Warehouse': 'Delete Warehouse',
'Delete from Server?': 'Delete from Server?',
'Delete this Assessment Answer': 'Delete this Assessment Answer',
'Delete this Assessment Question': 'Delete this Assessment Question',
'Delete this Assessment Series': 'Delete this Assessment Series',
'Delete this Assessment Template': 'Delete this Assessment Template',
'Delete this Completed Assessment': 'Delete this Completed Assessment',
'Delete this Question Meta-Data': 'Delete this Question Meta-Data',
'Delete this Template Section': 'Delete this Template Section',
'Deliver To': 'Deliver To',
'Delivered To': 'Delivered To',
'Delphi Decision Maker': 'Delphi Decision Maker',
'Demographic': 'Demographic',
'Demonstrations': 'Demonstrations',
'Dental Examination': 'Dental Examination',
'Dental Profile': 'Dental Profile',
'Deployment Location': 'Deployment Location',
'Describe the condition of the roads to your hospital.': 'Describe the condition of the roads to your hospital.',
'Describe the procedure which this record relates to (e.g. "medical examination")': 'Describe the procedure which this record relates to (e.g. "medical examination")',
'Description': 'Description',
'Description of Contacts': 'Description of Contacts',
'Description of defecation area': 'Description of defecation area',
'Description of drinking water source': 'Description of drinking water source',
'Description of sanitary water source': 'Description of sanitary water source',
'Description of water source before the disaster': 'Description of water source before the disaster',
'Design, deploy & analyze surveys.': 'Design, deploy & analyse surveys.',
'Desire to remain with family': 'Desire to remain with family',
'Destination': 'Destination',
'Destroyed': 'Destroyed',
'Details': 'Details',
'Details field is required!': 'Details field is required!',
'Dialysis': 'Dialysis',
'Diaphragms, horizontal bracing': 'Diaphragms, horizontal bracing',
'Diarrhea': 'Diarrhea',
'Dignitary Visit': 'Dignitary Visit',
'Direction': 'Direction',
'Disable': 'Disable',
'Disabled': 'Disabled',
'Disabled participating in coping activities': 'Disabled participating in coping activities',
'Disabled?': 'Disabled?',
'Disaster Victim Identification': 'Disaster Victim Identification',
'Disaster Victim Registry': 'Disaster Victim Registry',
'Disaster clean-up/repairs': 'Disaster clean-up/repairs',
'Discharge (cusecs)': 'Discharge (cusecs)',
'Discharges/24hrs': 'Discharges/24hrs',
'Discussion Forum': 'Discussion Forum',
'Discussion Forum on item': 'Discussion Forum on item',
'Disease vectors': 'Disease vectors',
'Dispensary': 'Dispensary',
'Displaced': 'Displaced',
'Displaced Populations': 'Displaced Populations',
'Display': 'Display',
'Display Polygons?': 'Display Polygons?',
'Display Routes?': 'Display Routes?',
'Display Tracks?': 'Display Tracks?',
'Display Waypoints?': 'Display Waypoints?',
'Distance between defecation area and water source': 'Distance between defecation area and water source',
'Distance from %s:': 'Distance from %s:',
'Distance(Kms)': 'Distance(Kms)',
'Distribution': 'Distribution',
'Distribution groups': 'Distribution groups',
'District': 'District',
'Do you really want to delete these records?': 'Do you really want to delete these records?',
'Do you want to cancel this received shipment? The items will be removed from the Inventory. This action CANNOT be undone!': 'Do you want to cancel this received shipment? The items will be removed from the Inventory. This action CANNOT be undone!',
'Do you want to cancel this sent shipment? The items will be returned to the Inventory. This action CANNOT be undone!': 'Do you want to cancel this sent shipment? The items will be returned to the Inventory. This action CANNOT be undone!',
'Do you want to receive this shipment?': 'Do you want to receive this shipment?',
'Do you want to send these Committed items?': 'Do you want to send these Committed items?',
'Do you want to send this shipment?': 'Do you want to send this shipment?',
'Document Details': 'Document Details',
'Document Scan': 'Document Scan',
'Document added': 'Document added',
'Document deleted': 'Document deleted',
'Document removed': 'Document removed',
'Document updated': 'Document updated',
'Documents': 'Documents',
'Documents and Photos': 'Documents and Photos',
'Does this facility provide a cholera treatment center?': 'Does this facility provide a cholera treatment center?',
'Doing nothing (no structured activity)': 'Doing nothing (no structured activity)',
'Domain': 'Domain',
'Domestic chores': 'Domestic chores',
'Donated': 'Donated',
'Donation Certificate': 'Donation Certificate',
'Donation Phone #': 'Donation Phone #',
'Donations': 'Donations',
'Donor': 'Donor',
'Donor Details': 'Donor Details',
'Donor added': 'Donor added',
'Donor deleted': 'Donor deleted',
'Donor updated': 'Donor updated',
'Donors': 'Donors',
'Donors Report': 'Donors Report',
'Door frame': 'Door frame',
'Download OCR-able PDF Form': 'Download OCR-able PDF Form',
'Download Template': 'Download Template',
'Download last build': 'Download last build',
'Draft': 'Draft',
'Draft Features': 'Draft Features',
'Drainage': 'Drainage',
'Drawing up a Budget for Staff & Equipment across various Locations.': 'Drawing up a Budget for Staff & Equipment across various Locations.',
'Drill Down by Group': 'Drill Down by Group',
'Drill Down by Incident': 'Drill Down by Incident',
'Drill Down by Shelter': 'Drill Down by Shelter',
'Driving License': 'Driving License',
'Drought': 'Drought',
'Drugs': 'Drugs',
'Dug Well': 'Dug Well',
'Dummy': 'Dummy',
'Duplicate?': 'Duplicate?',
'Duration': 'Duration',
'Dust Storm': 'Dust Storm',
'Dwelling': 'Dwelling',
'E-mail': 'E-mail',
'EMS Reason': 'EMS Reason',
'EMS Status': 'EMS Status',
'ER Status': 'ER Status',
'ER Status Reason': 'ER Status Reason',
'EXERCISE': 'EXERCISE',
'Early Recovery': 'Early Recovery',
'Earth Enabled?': 'Earth Enabled?',
'Earthquake': 'Earthquake',
'Edit': 'Edit',
'Edit Activity': 'Edit Activity',
'Edit Address': 'Edit Address',
'Edit Alternative Item': 'Edit Alternative Item',
'Edit Application': 'Edit Application',
'Edit Assessment': 'Edit Assessment',
'Edit Assessment Answer': 'Edit Assessment Answer',
'Edit Assessment Question': 'Edit Assessment Question',
'Edit Assessment Series': 'Edit Assessment Series',
'Edit Assessment Summary': 'Edit Assessment Summary',
'Edit Assessment Template': 'Edit Assessment Template',
'Edit Asset': 'Edit Asset',
'Edit Asset Log Entry': 'Edit Asset Log Entry',
'Edit Baseline': 'Edit Baseline',
'Edit Baseline Type': 'Edit Baseline Type',
'Edit Brand': 'Edit Brand',
'Edit Budget': 'Edit Budget',
'Edit Bundle': 'Edit Bundle',
'Edit Camp': 'Edit Camp',
'Edit Camp Service': 'Edit Camp Service',
'Edit Camp Type': 'Edit Camp Type',
'Edit Catalog': 'Edit Catalogue',
'Edit Catalog Item': 'Edit Catalogue Item',
'Edit Certificate': 'Edit Certificate',
'Edit Certification': 'Edit Certification',
'Edit Cluster': 'Edit Cluster',
'Edit Cluster Subsector': 'Edit Cluster Subsector',
'Edit Commitment': 'Edit Commitment',
'Edit Commitment Item': 'Edit Commitment Item',
'Edit Committed Person': 'Edit Committed Person',
'Edit Competency Rating': 'Edit Competency Rating',
'Edit Completed Assessment': 'Edit Completed Assessment',
'Edit Contact': 'Edit Contact',
'Edit Contact Information': 'Edit Contact Information',
'Edit Contents': 'Edit Contents',
'Edit Course': 'Edit Course',
'Edit Course Certificate': 'Edit Course Certificate',
'Edit Credential': 'Edit Credential',
'Edit Dead Body Details': 'Edit Dead Body Details',
'Edit Description': 'Edit Description',
'Edit Details': 'Edit Details',
'Edit Disaster Victims': 'Edit Disaster Victims',
'Edit Document': 'Edit Document',
'Edit Donor': 'Edit Donor',
'Edit Email Settings': 'Edit Email Settings',
'Edit Entry': 'Edit Entry',
'Edit Event': 'Edit Event',
'Edit Facility': 'Edit Facility',
'Edit Feature Class': 'Edit Feature Class',
'Edit Feature Layer': 'Edit Feature Layer',
'Edit Flood Report': 'Edit Flood Report',
'Edit GPS data': 'Edit GPS data',
'Edit Group': 'Edit Group',
'Edit Home': 'Edit Home',
'Edit Home Address': 'Edit Home Address',
'Edit Hospital': 'Edit Hospital',
'Edit Human Resource': 'Edit Human Resource',
'Edit Identification Report': 'Edit Identification Report',
'Edit Identity': 'Edit Identity',
'Edit Image Details': 'Edit Image Details',
'Edit Impact': 'Edit Impact',
'Edit Impact Type': 'Edit Impact Type',
'Edit Import File': 'Edit Import File',
'Edit Incident': 'Edit Incident',
'Edit Incident Report': 'Edit Incident Report',
'Edit Inventory Item': 'Edit Inventory Item',
'Edit Item': 'Edit Item',
'Edit Item Category': 'Edit Item Category',
'Edit Item Pack': 'Edit Item Pack',
'Edit Job': 'Edit Job',
'Edit Job Role': 'Edit Job Role',
'Edit Kit': 'Edit Kit',
'Edit Layer': 'Edit Layer',
'Edit Level %d Locations?': 'Edit Level %d Locations?',
'Edit Level 1 Assessment': 'Edit Level 1 Assessment',
'Edit Level 2 Assessment': 'Edit Level 2 Assessment',
'Edit Location': 'Edit Location',
'Edit Location Details': 'Edit Location Details',
'Edit Log Entry': 'Edit Log Entry',
'Edit Map Configuration': 'Edit Map Configuration',
'Edit Marker': 'Edit Marker',
'Edit Membership': 'Edit Membership',
'Edit Message': 'Edit Message',
'Edit Mission': 'Edit Mission',
'Edit Modem Settings': 'Edit Modem Settings',
'Edit Need': 'Edit Need',
'Edit Need Type': 'Edit Need Type',
'Edit Office': 'Edit Office',
'Edit Options': 'Edit Options',
'Edit Order': 'Edit Order',
'Edit Order Item': 'Edit Order Item',
'Edit Organization': 'Edit Organisation',
'Edit Organization Domain': 'Edit Organisation Domain',
'Edit Parameters': 'Edit Parameters',
'Edit Patient': 'Edit Patient',
'Edit Person Details': 'Edit Person Details',
'Edit Personal Effects Details': 'Edit Personal Effects Details',
'Edit Photo': 'Edit Photo',
'Edit Population Statistic': 'Edit Population Statistic',
'Edit Position': 'Edit Position',
'Edit Problem': 'Edit Problem',
'Edit Project': 'Edit Project',
'Edit Project Organization': 'Edit Project Organization',
'Edit Projection': 'Edit Projection',
'Edit Question Meta-Data': 'Edit Question Meta-Data',
'Edit Rapid Assessment': 'Edit Rapid Assessment',
'Edit Received Item': 'Edit Received Item',
'Edit Received Shipment': 'Edit Received Shipment',
'Edit Record': 'Edit Record',
'Edit Registration': 'Edit Registration',
'Edit Relative': 'Edit Relative',
'Edit Repository Configuration': 'Edit Repository Configuration',
'Edit Request': 'Edit Request',
'Edit Request Item': 'Edit Request Item',
'Edit Request for Donations': 'Edit Request for Donations',
'Edit Request for Volunteers': 'Edit Request for Volunteers',
'Edit Requested Skill': 'Edit Requested Skill',
'Edit Resource': 'Edit Resource',
'Edit Resource Configuration': 'Edit Resource Configuration',
'Edit River': 'Edit River',
'Edit Role': 'Edit Role',
'Edit Room': 'Edit Room',
'Edit SMS Settings': 'Edit SMS Settings',
'Edit SMTP to SMS Settings': 'Edit SMTP to SMS Settings',
'Edit Saved Search': 'Edit Saved Search',
'Edit Scenario': 'Edit Scenario',
'Edit Sector': 'Edit Sector',
'Edit Sent Item': 'Edit Sent Item',
'Edit Setting': 'Edit Setting',
'Edit Settings': 'Edit Settings',
'Edit Shelter': 'Edit Shelter',
'Edit Shelter Service': 'Edit Shelter Service',
'Edit Shelter Type': 'Edit Shelter Type',
'Edit Skill': 'Edit Skill',
'Edit Skill Equivalence': 'Edit Skill Equivalence',
'Edit Skill Provision': 'Edit Skill Provision',
'Edit Skill Type': 'Edit Skill Type',
'Edit Solution': 'Edit Solution',
'Edit Staff Type': 'Edit Staff Type',
'Edit Subscription': 'Edit Subscription',
'Edit Subsector': 'Edit Subsector',
'Edit Synchronization Settings': 'Edit Synchronisation Settings',
'Edit Task': 'Edit Task',
'Edit Team': 'Edit Team',
'Edit Template Section': 'Edit Template Section',
'Edit Theme': 'Edit Theme',
'Edit Themes': 'Edit Themes',
'Edit Ticket': 'Edit Ticket',
'Edit Training': 'Edit Training',
'Edit Tropo Settings': 'Edit Tropo Settings',
'Edit User': 'Edit User',
'Edit Vehicle': 'Edit Vehicle',
'Edit Vehicle Details': 'Edit Vehicle Details',
'Edit Volunteer Availability': 'Edit Volunteer Availability',
'Edit Warehouse': 'Edit Warehouse',
'Edit Web API Settings': 'Edit Web API Settings',
'Edit current record': 'Edit current record',
'Edit message': 'Edit message',
'Edit the OpenStreetMap data for this area': 'Edit the OpenStreetMap data for this area',
'Editable?': 'Editable?',
'Education': 'Education',
'Education materials received': 'Education materials received',
'Education materials, source': 'Education materials, source',
'Effects Inventory': 'Effects Inventory',
'Eggs': 'Eggs',
'Either a shelter or a location must be specified': 'Either a shelter or a location must be specified',
'Either file upload or document URL required.': 'Either file upload or document URL required.',
'Either file upload or image URL required.': 'Either file upload or image URL required.',
'Elderly person headed households (>60 yrs)': 'Elderly person headed households (>60 yrs)',
'Electrical': 'Electrical',
'Electrical, gas, sewerage, water, hazmats': 'Electrical, gas, sewerage, water, hazmats',
'Elevated': 'Elevated',
'Elevators': 'Elevators',
'Email': 'Email',
'Email Address to which to send SMS messages. Assumes sending to phonenumber@address': 'Email Address to which to send SMS messages. Assumes sending to phonenumber@address',
'Email Settings': 'Email Settings',
'Email and SMS': 'Email and SMS',
'Email settings updated': 'Email settings updated',
'Embalming': 'Embalming',
'Embassy': 'Embassy',
'Emergency Capacity Building project': 'Emergency Capacity Building project',
'Emergency Department': 'Emergency Department',
'Emergency Shelter': 'Emergency Shelter',
'Emergency Support Facility': 'Emergency Support Facility',
'Emergency Support Service': 'Emergency Support Service',
'Emergency Telecommunications': 'Emergency Telecommunications',
'Enable': 'Enable',
'Enable/Disable Layers': 'Enable/Disable Layers',
'Enabled': 'Enabled',
'Enabled?': 'Enabled?',
'Enabling MapMaker layers disables the StreetView functionality': 'Enabling MapMaker layers disables the StreetView functionality',
'End Date': 'End Date',
'End date': 'End date',
'End date should be after start date': 'End date should be after start date',
'English': 'English',
'Enter Coordinates:': 'Enter Coordinates:',
'Enter a GPS Coord': 'Enter a GPS Coord',
'Enter a name for the spreadsheet you are uploading.': 'Enter a name for the spreadsheet you are uploading.',
'Enter a new support request.': 'Enter a new support request.',
'Enter a unique label!': 'Enter a unique label!',
'Enter a valid date before': 'Enter a valid date before',
'Enter a valid email': 'Enter a valid email',
'Enter a valid future date': 'Enter a valid future date',
'Enter a valid past date': 'Enter a valid past date',
'Enter some characters to bring up a list of possible matches': 'Enter some characters to bring up a list of possible matches',
'Enter some characters to bring up a list of possible matches.': 'Enter some characters to bring up a list of possible matches.',
'Enter tags separated by commas.': 'Enter tags separated by commas.',
'Enter the data for an assessment': 'Enter the data for an assessment',
'Enter the same password as above': 'Enter the same password as above',
'Enter your firstname': 'Enter your firstname',
'Enter your organization': 'Enter your organisation',
'Entered': 'Entered',
'Entering a phone number is optional, but doing so allows you to subscribe to receive SMS messages.': 'Entering a phone number is optional, but doing so allows you to subscribe to receive SMS messages.',
'Environment': 'Environment',
'Equipment': 'Equipment',
'Error encountered while applying the theme.': 'Error encountered while applying the theme.',
'Error in message': 'Error in message',
'Error logs for "%(app)s"': 'Error logs for "%(app)s"',
'Est. Delivery Date': 'Est. Delivery Date',
'Estimated # of households who are affected by the emergency': 'Estimated # of households who are affected by the emergency',
'Estimated # of people who are affected by the emergency': 'Estimated # of people who are affected by the emergency',
'Estimated Overall Building Damage': 'Estimated Overall Building Damage',
'Estimated total number of people in institutions': 'Estimated total number of people in institutions',
'Euros': 'Euros',
'Evacuating': 'Evacuating',
'Evaluate the information in this message. (This value SHOULD NOT be used in public warning applications.)': 'Evaluate the information in this message. (This value SHOULD NOT be used in public warning applications.)',
'Event': 'Event',
'Event Details': 'Event Details',
'Event added': 'Event added',
'Event deleted': 'Event deleted',
'Event updated': 'Event updated',
'Events': 'Events',
'Example': 'Example',
'Exceeded': 'Exceeded',
'Excel': 'Excel',
'Excellent': 'Excellent',
'Exclude contents': 'Exclude contents',
'Excreta disposal': 'Excreta disposal',
'Execute a pre-planned activity identified in <instruction>': 'Execute a pre-planned activity identified in <instruction>',
'Exercise': 'Exercise',
'Exercise?': 'Exercise?',
'Exercises mean all screens have a watermark & all notifications have a prefix.': 'Exercises mean all screens have a watermark & all notifications have a prefix.',
'Existing Placard Type': 'Existing Placard Type',
'Existing Sections': 'Existing Sections',
'Existing food stocks': 'Existing food stocks',
'Existing location cannot be converted into a group.': 'Existing location cannot be converted into a group.',
'Exits': 'Exits',
'Expected Return Home': 'Expected Return Home',
'Experience': 'Experience',
'Expiry Date': 'Expiry Date',
'Explosive Hazard': 'Explosive Hazard',
'Export': 'Export',
'Export Data': 'Export Data',
'Export Database as CSV': 'Export Database as CSV',
'Export in GPX format': 'Export in GPX format',
'Export in KML format': 'Export in KML format',
'Export in OSM format': 'Export in OSM format',
'Export in PDF format': 'Export in PDF format',
'Export in RSS format': 'Export in RSS format',
'Export in XLS format': 'Export in XLS format',
'Exterior Only': 'Exterior Only',
'Exterior and Interior': 'Exterior and Interior',
'Eye Color': 'Eye Colour',
'Facial hair, color': 'Facial hair, colour',
'Facial hair, type': 'Facial hair, type',
'Facial hear, length': 'Facial hear, length',
'Facilities': 'Facilities',
'Facility': 'Facility',
'Facility Details': 'Facility Details',
'Facility Operations': 'Facility Operations',
'Facility Status': 'Facility Status',
'Facility Type': 'Facility Type',
'Facility added': 'Facility added',
'Facility or Location': 'Facility or Location',
'Facility removed': 'Facility removed',
'Facility updated': 'Facility updated',
'Fail': 'Fail',
'Failed!': 'Failed!',
'Fair': 'Fair',
'Falling Object Hazard': 'Falling Object Hazard',
'Families/HH': 'Families/HH',
'Family': 'Family',
'Family tarpaulins received': 'Family tarpaulins received',
'Family tarpaulins, source': 'Family tarpaulins, source',
'Family/friends': 'Family/friends',
'Farmland/fishing material assistance, Rank': 'Farmland/fishing material assistance, Rank',
'Fatalities': 'Fatalities',
'Fax': 'Fax',
'Feature Class': 'Feature Class',
'Feature Class Details': 'Feature Class Details',
'Feature Class added': 'Feature Class added',
'Feature Class deleted': 'Feature Class deleted',
'Feature Class updated': 'Feature Class updated',
'Feature Classes': 'Feature Classes',
'Feature Classes are collections of Locations (Features) of the same type': 'Feature Classes are collections of Locations (Features) of the same type',
'Feature Layer Details': 'Feature Layer Details',
'Feature Layer added': 'Feature Layer added',
'Feature Layer deleted': 'Feature Layer deleted',
'Feature Layer updated': 'Feature Layer updated',
'Feature Layers': 'Feature Layers',
'Feature Namespace': 'Feature Namespace',
'Feature Request': 'Feature Request',
'Feature Type': 'Feature Type',
'Features Include': 'Features Include',
'Female': 'Female',
'Female headed households': 'Female headed households',
'Few': 'Few',
'Field': 'Field',
'Field Hospital': 'Field Hospital',
'File': 'File',
'File Imported': 'File Imported',
'File Importer': 'File Importer',
'File name': 'File name',
'Fill in Latitude': 'Fill in Latitude',
'Fill in Longitude': 'Fill in Longitude',
'Filter': 'Filter',
'Filter Field': 'Filter Field',
'Filter Value': 'Filter Value',
'Find': 'Find',
'Find Dead Body Report': 'Find Dead Body Report',
'Find Hospital': 'Find Hospital',
'Find Person Record': 'Find Person Record',
'Find a Person Record': 'Find a Person Record',
'Finder': 'Finder',
'Fingerprint': 'Fingerprint',
'Fingerprinting': 'Fingerprinting',
'Fingerprints': 'Fingerprints',
'Fire': 'Fire',
'Fire suppression and rescue': 'Fire suppression and rescue',
'First Name': 'First Name',
'First name': 'First name',
'Fishing': 'Fishing',
'Flash Flood': 'Flash Flood',
'Flash Freeze': 'Flash Freeze',
'Flexible Impact Assessments': 'Flexible Impact Assessments',
'Flood': 'Flood',
'Flood Alerts': 'Flood Alerts',
'Flood Alerts show water levels in various parts of the country': 'Flood Alerts show water levels in various parts of the country',
'Flood Report': 'Flood Report',
'Flood Report Details': 'Flood Report Details',
'Flood Report added': 'Flood Report added',
'Flood Report deleted': 'Flood Report deleted',
'Flood Report updated': 'Flood Report updated',
'Flood Reports': 'Flood Reports',
'Flow Status': 'Flow Status',
'Fog': 'Fog',
'Food': 'Food',
'Food Supply': 'Food Supply',
'Food assistance': 'Food assistance',
'Footer': 'Footer',
'Footer file %s missing!': 'Footer file %s missing!',
'For': 'For',
'For POP-3 this is usually 110 (995 for SSL), for IMAP this is usually 143 (993 for IMAP).': 'For POP-3 this is usually 110 (995 for SSL), for IMAP this is usually 143 (993 for IMAP).',
'For a country this would be the ISO2 code, for a Town, it would be the Airport Locode.': 'For a country this would be the ISO2 code, for a Town, it would be the Airport Locode.',
'For messages that support alert network internal functions': 'For messages that support alert network internal functions',
'Forest Fire': 'Forest Fire',
'Formal camp': 'Formal camp',
'Format': 'Format',
"Format the list of attribute values & the RGB value to use for these as a JSON object, e.g.: {Red: '#FF0000', Green: '#00FF00', Yellow: '#FFFF00'}": "Format the list of attribute values & the RGB value to use for these as a JSON object, e.g.: {Red: '#FF0000', Green: '#00FF00', Yellow: '#FFFF00'}",
'Forms': 'Forms',
'Found': 'Found',
'Foundations': 'Foundations',
'Freezing Drizzle': 'Freezing Drizzle',
'Freezing Rain': 'Freezing Rain',
'Freezing Spray': 'Freezing Spray',
'French': 'French',
'Friday': 'Friday',
'From': 'From',
'From Facility': 'From Facility',
'From Inventory': 'From Inventory',
'From Location': 'From Location',
'From Organization': 'From Organisation',
'Frost': 'Frost',
'Fulfil. Status': 'Fulfil. Status',
'Fulfillment Status': 'Fulfillment Status',
'Full': 'Full',
'Full beard': 'Full beard',
'Fullscreen Map': 'Fullscreen Map',
'Functions available': 'Functions available',
'Funding Organization': 'Funding Organisation',
'Funds Contributed by this Organization': 'Funds Contributed by this Organisation',
'Funeral': 'Funeral',
'Further Action Recommended': 'Further Action Recommended',
'GIS Reports of Shelter': 'GIS Reports of Shelter',
'GIS integration to view location details of the Shelter': 'GIS integration to view location details of the Shelter',
'GPS': 'GPS',
'GPS Data': 'GPS Data',
'GPS ID': 'GPS ID',
'GPS Marker': 'GPS Marker',
'GPS Track': 'GPS Track',
'GPS Track File': 'GPS Track File',
'GPS data': 'GPS data',
'GPS data added': 'GPS data added',
'GPS data deleted': 'GPS data deleted',
'GPS data updated': 'GPS data updated',
'GRN': 'GRN',
'GRN Status': 'GRN Status',
'Gale Wind': 'Gale Wind',
'Gap Analysis': 'Gap Analysis',
'Gap Analysis Map': 'Gap Analysis Map',
'Gap Analysis Report': 'Gap Analysis Report',
'Gender': 'Gender',
'General Comment': 'General Comment',
'General Medical/Surgical': 'General Medical/Surgical',
'General emergency and public safety': 'General emergency and public safety',
'General information on demographics': 'General information on demographics',
'Generate portable application': 'Generate portable application',
'Generator': 'Generator',
'Geocode': 'Geocode',
'Geocoder Selection': 'Geocoder Selection',
'Geometry Name': 'Geometry Name',
'Geonames.org search requires Internet connectivity!': 'Geonames.org search requires Internet connectivity!',
'Geophysical (inc. landslide)': 'Geophysical (inc. landslide)',
'Geotechnical': 'Geotechnical',
'Geotechnical Hazards': 'Geotechnical Hazards',
'German': 'German',
'Get incoming recovery requests as RSS feed': 'Get incoming recovery requests as RSS feed',
'Give a brief description of the image, e.g. what can be seen where on the picture (optional).': 'Give a brief description of the image, e.g. what can be seen where on the picture (optional).',
'Give information about where and when you have seen them': 'Give information about where and when you have seen them',
'Go to Request': 'Go to Request',
'Goatee': 'Goatee',
'Good': 'Good',
'Good Condition': 'Good Condition',
'Goods Received Note': 'Goods Received Note',
"Google Layers cannot be displayed if there isn't a valid API Key": "Google Layers cannot be displayed if there isn't a valid API Key",
'Government': 'Government',
'Government UID': 'Government UID',
'Government building': 'Government building',
'Grade': 'Grade',
'Great British Pounds': 'Great British Pounds',
'Greater than 10 matches. Please refine search further': 'Greater than 10 matches. Please refine search further',
'Greek': 'Greek',
'Green': 'Green',
'Ground movement, fissures': 'Ground movement, fissures',
'Ground movement, settlement, slips': 'Ground movement, settlement, slips',
'Group': 'Group',
'Group Description': 'Group Description',
'Group Details': 'Group Details',
'Group ID': 'Group ID',
'Group Member added': 'Group Member added',
'Group Members': 'Group Members',
'Group Memberships': 'Group Memberships',
'Group Name': 'Group Name',
'Group Title': 'Group Title',
'Group Type': 'Group Type',
'Group added': 'Group added',
'Group deleted': 'Group deleted',
'Group description': 'Group description',
'Group updated': 'Group updated',
'Groups': 'Groups',
'Groups removed': 'Groups removed',
'Guest': 'Guest',
'HFA Priorities': 'HFA Priorities',
'Hail': 'Hail',
'Hair Color': 'Hair Colour',
'Hair Length': 'Hair Length',
'Hair Style': 'Hair Style',
'Has data from this Reference Document been entered into Sahana?': 'Has data from this Reference Document been entered into Sahana?',
'Has the Certificate for receipt of the shipment been given to the sender?': 'Has the Certificate for receipt of the shipment been given to the sender?',
'Has the GRN (Goods Received Note) been completed?': 'Has the GRN (Goods Received Note) been completed?',
'Hazard Pay': 'Hazard Pay',
'Hazardous Material': 'Hazardous Material',
'Hazardous Road Conditions': 'Hazardous Road Conditions',
'Hazards': 'Hazards',
'Header Background': 'Header Background',
'Header background file %s missing!': 'Header background file %s missing!',
'Headquarters': 'Headquarters',
'Health': 'Health',
'Health care assistance, Rank': 'Health care assistance, Rank',
'Health center': 'Health center',
'Health center with beds': 'Health center with beds',
'Health center without beds': 'Health center without beds',
'Health services status': 'Health services status',
'Healthcare Worker': 'Healthcare Worker',
'Heat Wave': 'Heat Wave',
'Heat and Humidity': 'Heat and Humidity',
'Height': 'Height',
'Height (cm)': 'Height (cm)',
'Height (m)': 'Height (m)',
'Help': 'Help',
'Helps to monitor status of hospitals': 'Helps to monitor status of hospitals',
'Helps to report and search for missing persons': 'Helps to report and search for missing persons',
'Here are the solution items related to the problem.': 'Here are the solution items related to the problem.',
'Heritage Listed': 'Heritage Listed',
'Hierarchy Level 0 Name (i.e. Country)': 'Hierarchy Level 0 Name (i.e. Country)',
'Hierarchy Level 1 Name (e.g. State or Province)': 'Hierarchy Level 1 Name (e.g. State or Province)',
'Hierarchy Level 2 Name (e.g. District or County)': 'Hierarchy Level 2 Name (e.g. District or County)',
'Hierarchy Level 3 Name (e.g. City / Town / Village)': 'Hierarchy Level 3 Name (e.g. City / Town / Village)',
'Hierarchy Level 4 Name (e.g. Neighbourhood)': 'Hierarchy Level 4 Name (e.g. Neighbourhood)',
'Hierarchy Level 5 Name': 'Hierarchy Level 5 Name',
'High': 'High',
'High Water': 'High Water',
'Hindu': 'Hindu',
'Hit the back button on your browser to try again.': 'Hit the back button on your browser to try again.',
'Holiday Address': 'Holiday Address',
'Home': 'Home',
'Home Address': 'Home Address',
'Home City': 'Home City',
'Home Country': 'Home Country',
'Home Crime': 'Home Crime',
'Home Details': 'Home Details',
'Home Phone Number': 'Home Phone Number',
'Home Relative': 'Home Relative',
'Home added': 'Home added',
'Home deleted': 'Home deleted',
'Home updated': 'Home updated',
'Homes': 'Homes',
'Hospital': 'Hospital',
'Hospital Details': 'Hospital Details',
'Hospital Status Report': 'Hospital Status Report',
'Hospital information added': 'Hospital information added',
'Hospital information deleted': 'Hospital information deleted',
'Hospital information updated': 'Hospital information updated',
'Hospital status assessment.': 'Hospital status assessment.',
'Hospitals': 'Hospitals',
'Host National Society': 'Host National Society',
'Hot Spot': 'Hot Spot',
'Hour': 'Hour',
'Hours': 'Hours',
'Household kits received': 'Household kits received',
'Household kits, source': 'Household kits, source',
'How data shall be transferred': 'How data shall be transferred',
'How is this person affected by the disaster? (Select all that apply)': 'How is this person affected by the disaster? (Select all that apply)',
'How local records shall be updated': 'How local records shall be updated',
'How long will the food last?': 'How long will the food last?',
'How many Boys (0-17 yrs) are Dead due to the crisis': 'How many Boys (0-17 yrs) are Dead due to the crisis',
'How many Boys (0-17 yrs) are Injured due to the crisis': 'How many Boys (0-17 yrs) are Injured due to the crisis',
'How many Boys (0-17 yrs) are Missing due to the crisis': 'How many Boys (0-17 yrs) are Missing due to the crisis',
'How many Girls (0-17 yrs) are Dead due to the crisis': 'How many Girls (0-17 yrs) are Dead due to the crisis',
'How many Girls (0-17 yrs) are Injured due to the crisis': 'How many Girls (0-17 yrs) are Injured due to the crisis',
'How many Girls (0-17 yrs) are Missing due to the crisis': 'How many Girls (0-17 yrs) are Missing due to the crisis',
'How many Men (18 yrs+) are Dead due to the crisis': 'How many Men (18 yrs+) are Dead due to the crisis',
'How many Men (18 yrs+) are Injured due to the crisis': 'How many Men (18 yrs+) are Injured due to the crisis',
'How many Men (18 yrs+) are Missing due to the crisis': 'How many Men (18 yrs+) are Missing due to the crisis',
'How many Women (18 yrs+) are Dead due to the crisis': 'How many Women (18 yrs+) are Dead due to the crisis',
'How many Women (18 yrs+) are Injured due to the crisis': 'How many Women (18 yrs+) are Injured due to the crisis',
'How many Women (18 yrs+) are Missing due to the crisis': 'How many Women (18 yrs+) are Missing due to the crisis',
'How many days will the supplies last?': 'How many days will the supplies last?',
'How many new cases have been admitted to this facility in the past 24h?': 'How many new cases have been admitted to this facility in the past 24h?',
'How many of the patients with the disease died in the past 24h at this facility?': 'How many of the patients with the disease died in the past 24h at this facility?',
'How many patients with the disease are currently hospitalized at this facility?': 'How many patients with the disease are currently hospitalized at this facility?',
'How much detail is seen. A high Zoom level means lot of detail, but not a wide area. A low Zoom level means seeing a wide area, but not a high level of detail.': 'How much detail is seen. A high Zoom level means lot of detail, but not a wide area. A low Zoom level means seeing a wide area, but not a high level of detail.',
'Human Resource': 'Human Resource',
'Human Resource Details': 'Human Resource Details',
'Human Resource Management': 'Human Resource Management',
'Human Resource added': 'Human Resource added',
'Human Resource removed': 'Human Resource removed',
'Human Resource updated': 'Human Resource updated',
'Human Resources': 'Human Resources',
'Human Resources Management': 'Human Resources Management',
'Humanitarian NGO': 'Humanitarian NGO',
'Hurricane': 'Hurricane',
'Hurricane Force Wind': 'Hurricane Force Wind',
'Hybrid Layer': 'Hybrid Layer',
'Hygiene': 'Hygiene',
'Hygiene NFIs': 'Hygiene NFIs',
'Hygiene kits received': 'Hygiene kits received',
'Hygiene kits, source': 'Hygiene kits, source',
'Hygiene practice': 'Hygiene practice',
'Hygiene problems': 'Hygiene problems',
'I accept. Create my account.': 'I accept. Create my account.',
'ID Tag': 'ID Tag',
'ID Tag Number': 'ID Tag Number',
'ID type': 'ID type',
'Ice Pressure': 'Ice Pressure',
'Iceberg': 'Iceberg',
'Identification': 'Identification',
'Identification Report': 'Identification Report',
'Identification Reports': 'Identification Reports',
'Identification Status': 'Identification Status',
'Identified as': 'Identified as',
'Identified by': 'Identified by',
'Identifier which the repository identifies itself with when sending synchronization requests.': 'Identifier which the repository identifies itself with when sending synchronisation requests.',
'Identity': 'Identity',
'Identity Details': 'Identity Details',
'Identity added': 'Identity added',
'Identity deleted': 'Identity deleted',
'Identity updated': 'Identity updated',
'If a ticket was issued then please provide the Ticket ID.': 'If a ticket was issued then please provide the Ticket ID.',
'If a user verifies that they own an Email Address with this domain, the Approver field is used to determine whether & by whom further approval is required.': 'If a user verifies that they own an Email Address with this domain, the Approver field is used to determine whether & by whom further approval is required.',
'If it is a URL leading to HTML, then this will downloaded.': 'If it is a URL leading to HTML, then this will downloaded.',
'If neither are defined, then the Default Marker is used.': 'If neither are defined, then the Default Marker is used.',
'If no marker defined then the system default marker is used': 'If no marker defined then the system default marker is used',
'If no, specify why': 'If no, specify why',
'If none are selected, then all are searched.': 'If none are selected, then all are searched.',
'If not found, you can have a new location created.': 'If not found, you can have a new location created.',
"If selected, then this Asset's Location will be updated whenever the Person's Location is updated.": "If selected, then this Asset's Location will be updated whenever the Person's Location is updated.",
'If the location is a geographic area, then state at what level here.': 'If the location is a geographic area, then state at what level here.',
'If the request is for %s, please enter the details on the next screen.': 'If the request is for %s, please enter the details on the next screen.',
'If the request type is "Other", please enter request details here.': 'If the request type is "Other", please enter request details here.',
"If this configuration represents a region for the Regions menu, give it a name to use in the menu. The name for a personal map configuration will be set to the user's name.": "If this configuration represents a region for the Regions menu, give it a name to use in the menu. The name for a personal map configuration will be set to the user's name.",
"If this field is populated then a user who specifies this Organization when signing up will be assigned as a Staff of this Organization unless their domain doesn't match the domain field.": "If this field is populated then a user who specifies this Organisation when signing up will be assigned as a Staff of this Organisation unless their domain doesn't match the domain field.",
'If this field is populated then a user with the Domain specified will automatically be assigned as a Staff of this Organization': 'If this field is populated then a user with the Domain specified will automatically be assigned as a Staff of this Organisation',
'If this is set to True then mails will be deleted from the server after downloading.': 'If this is set to True then mails will be deleted from the server after downloading.',
'If this record should be restricted then select which role is required to access the record here.': 'If this record should be restricted then select which role is required to access the record here.',
'If this record should be restricted then select which role(s) are permitted to access the record here.': 'If this record should be restricted then select which role(s) are permitted to access the record here.',
'If yes, specify what and by whom': 'If yes, specify what and by whom',
'If yes, which and how': 'If yes, which and how',
'If you do not enter a Reference Document, your email will be displayed to allow this data to be verified.': 'If you do not enter a Reference Document, your email will be displayed to allow this data to be verified.',
"If you don't see the Hospital in the list, you can add a new one by clicking link 'Add Hospital'.": "If you don't see the Hospital in the list, you can add a new one by clicking link 'Add Hospital'.",
"If you don't see the Office in the list, you can add a new one by clicking link 'Add Office'.": "If you don't see the Office in the list, you can add a new one by clicking link 'Add Office'.",
"If you don't see the Organization in the list, you can add a new one by clicking link 'Add Organization'.": "If you don't see the Organisation in the list, you can add a new one by clicking link 'Add Organisation'.",
"If you don't see the site in the list, you can add a new one by clicking link 'Add Project Site'.": "If you don't see the site in the list, you can add a new one by clicking link 'Add Project Site'.",
'If you have any questions or need support, please see': 'If you have any questions or need support, please see',
'If you know what the Geonames ID of this location is then you can enter it here.': 'If you know what the Geonames ID of this location is then you can enter it here.',
'If you know what the OSM ID of this location is then you can enter it here.': 'If you know what the OSM ID of this location is then you can enter it here.',
'If you need to add a new document then you can click here to attach one.': 'If you need to add a new document then you can click here to attach one.',
'If you want several values, then separate with': 'If you want several values, then separate with',
'If you would like to help, then please': 'If you would like to help, then please',
'Illegal Immigrant': 'Illegal Immigrant',
'Image': 'Image',
'Image Details': 'Image Details',
'Image File(s), one image per page': 'Image File(s), one image per page',
'Image Tags': 'Image Tags',
'Image Type': 'Image Type',
'Image Upload': 'Image Upload',
'Image added': 'Image added',
'Image deleted': 'Image deleted',
'Image updated': 'Image updated',
'Imagery': 'Imagery',
'Images': 'Images',
'Impact Assessments': 'Impact Assessments',
'Impact Details': 'Impact Details',
'Impact Type': 'Impact Type',
'Impact Type Details': 'Impact Type Details',
'Impact Type added': 'Impact Type added',
'Impact Type deleted': 'Impact Type deleted',
'Impact Type updated': 'Impact Type updated',
'Impact Types': 'Impact Types',
'Impact added': 'Impact added',
'Impact deleted': 'Impact deleted',
'Impact updated': 'Impact updated',
'Impacts': 'Impacts',
'Import': 'Import',
'Import Completed Responses': 'Import Completed Responses',
'Import Data': 'Import Data',
'Import File': 'Import File',
'Import File Details': 'Import File Details',
'Import File deleted': 'Import File deleted',
'Import Files': 'Import Files',
'Import Job Count': 'Import Job Count',
'Import Jobs': 'Import Jobs',
'Import New File': 'Import New File',
'Import Offices': 'Import Offices',
'Import Organizations': 'Import Organisations',
'Import Project Organizations': 'Import Project Organisations',
'Import Questions': 'Import Questions',
'Import Staff & Volunteers': 'Import Staff & Volunteers',
'Import Templates': 'Import Templates',
'Import from Ushahidi Instance': 'Import from Ushahidi Instance',
'Import multiple tables as CSV': 'Import multiple tables as CSV',
'Import/Export': 'Import/Export',
'Importantly where there are no aid services being provided': 'Importantly where there are no aid services being provided',
'Imported': 'Imported',
'Importing data from spreadsheets': 'Importing data from spreadsheets',
'Improper decontamination': 'Improper decontamination',
'Improper handling of dead bodies': 'Improper handling of dead bodies',
'In Catalogs': 'In Catalogues',
'In Inventories': 'In Inventories',
'In Process': 'In Process',
'In Progress': 'In Progress',
'In Window layout the map maximises to fill the window, so no need to set a large value here.': 'In Window layout the map maximises to fill the window, so no need to set a large value here.',
'Inbound Mail Settings': 'Inbound Mail Settings',
'Incident': 'Incident',
'Incident Categories': 'Incident Categories',
'Incident Details': 'Incident Details',
'Incident Report': 'Incident Report',
'Incident Report Details': 'Incident Report Details',
'Incident Report added': 'Incident Report added',
'Incident Report deleted': 'Incident Report deleted',
'Incident Report updated': 'Incident Report updated',
'Incident Reporting': 'Incident Reporting',
'Incident Reporting System': 'Incident Reporting System',
'Incident Reports': 'Incident Reports',
'Incident added': 'Incident added',
'Incident removed': 'Incident removed',
'Incident updated': 'Incident updated',
'Incidents': 'Incidents',
'Include any special requirements such as equipment which they need to bring.': 'Include any special requirements such as equipment which they need to bring.',
'Incoming': 'Incoming',
'Incoming Shipment canceled': 'Incoming Shipment canceled',
'Incoming Shipment updated': 'Incoming Shipment updated',
'Incomplete': 'Incomplete',
'Individuals': 'Individuals',
'Industrial': 'Industrial',
'Industrial Crime': 'Industrial Crime',
'Industry Fire': 'Industry Fire',
'Infant (0-1)': 'Infant (0-1)',
'Infectious Disease': 'Infectious Disease',
'Infectious Disease (Hazardous Material)': 'Infectious Disease (Hazardous Material)',
'Infectious Diseases': 'Infectious Diseases',
'Infestation': 'Infestation',
'Informal Leader': 'Informal Leader',
'Informal camp': 'Informal camp',
'Information gaps': 'Information gaps',
'Infusion catheters available': 'Infusion catheters available',
'Infusion catheters need per 24h': 'Infusion catheters need per 24h',
'Infusion catheters needed per 24h': 'Infusion catheters needed per 24h',
'Infusions available': 'Infusions available',
'Infusions needed per 24h': 'Infusions needed per 24h',
'Inspected': 'Inspected',
'Inspection Date': 'Inspection Date',
'Inspection date and time': 'Inspection date and time',
'Inspection time': 'Inspection time',
'Inspector ID': 'Inspector ID',
'Instant Porridge': 'Instant Porridge',
'Institution': 'Institution',
'Insufficient': 'Insufficient',
'Insufficient privileges': 'Insufficient privileges',
'Insufficient vars: Need module, resource, jresource, instance': 'Insufficient vars: Need module, resource, jresource, instance',
'Insurance Renewal Due': 'Insurance Renewal Due',
'Intergovernmental Organization': 'Intergovernmental Organisation',
'Interior walls, partitions': 'Interior walls, partitions',
'Internal State': 'Internal State',
'International NGO': 'International NGO',
'International Organization': 'International Organisation',
'Interview taking place at': 'Interview taking place at',
'Invalid': 'Invalid',
'Invalid Query': 'Invalid Query',
'Invalid email': 'Invalid email',
'Invalid phone number': 'Invalid phone number',
'Invalid phone number!': 'Invalid phone number!',
'Invalid request!': 'Invalid request!',
'Invalid ticket': 'Invalid ticket',
'Inventories': 'Inventories',
'Inventory': 'Inventory',
'Inventory Item': 'Inventory Item',
'Inventory Item Details': 'Inventory Item Details',
'Inventory Item updated': 'Inventory Item updated',
'Inventory Items': 'Inventory Items',
'Inventory Items include both consumable supplies & those which will get turned into Assets at their destination.': 'Inventory Items include both consumable supplies & those which will get turned into Assets at their destination.',
'Inventory Management': 'Inventory Management',
'Inventory Stock Position': 'Inventory Stock Position',
'Inventory functionality is available for': 'Inventory functionality is available for',
'Inventory of Effects': 'Inventory of Effects',
'Is editing level L%d locations allowed?': 'Is editing level L%d locations allowed?',
'Is it safe to collect water?': 'Is it safe to collect water?',
'Is this a strict hierarchy?': 'Is this a strict hierarchy?',
'Issuing Authority': 'Issuing Authority',
'It captures not only the places where they are active, but also captures information on the range of projects they are providing in each area.': 'It captures not only the places where they are active, but also captures information on the range of projects they are providing in each area.',
'Italian': 'Italian',
'Item': 'Item',
'Item Added to Shipment': 'Item Added to Shipment',
'Item Catalog Details': 'Item Catalogue Details',
'Item Catalogs': 'Item Catalogues',
'Item Categories': 'Item Categories',
'Item Category': 'Item Category',
'Item Category Details': 'Item Category Details',
'Item Category added': 'Item Category added',
'Item Category deleted': 'Item Category deleted',
'Item Category updated': 'Item Category updated',
'Item Details': 'Item Details',
'Item Pack Details': 'Item Pack Details',
'Item Pack added': 'Item Pack added',
'Item Pack deleted': 'Item Pack deleted',
'Item Pack updated': 'Item Pack updated',
'Item Packs': 'Item Packs',
'Item added': 'Item added',
'Item added to Inventory': 'Item added to Inventory',
'Item added to order': 'Item added to order',
'Item added to shipment': 'Item added to shipment',
'Item already in Bundle!': 'Item already in Bundle!',
'Item already in Kit!': 'Item already in Kit!',
'Item already in budget!': 'Item already in budget!',
'Item deleted': 'Item deleted',
'Item removed from Inventory': 'Item removed from Inventory',
'Item removed from order': 'Item removed from order',
'Item removed from shipment': 'Item removed from shipment',
'Item updated': 'Item updated',
'Items': 'Items',
'Items in Category can be Assets': 'Items in Category can be Assets',
'Japanese': 'Japanese',
'Jerry can': 'Jerry can',
'Jew': 'Jew',
'Job Role': 'Job Role',
'Job Role Catalog': 'Job Role Catalogue',
'Job Role Details': 'Job Role Details',
'Job Role added': 'Job Role added',
'Job Role deleted': 'Job Role deleted',
'Job Role updated': 'Job Role updated',
'Job Roles': 'Job Roles',
'Job Title': 'Job Title',
'Job added': 'Job added',
'Job deleted': 'Job deleted',
'Job updated updated': 'Job updated updated',
'Journal': 'Journal',
'Journal Entry Details': 'Journal Entry Details',
'Journal entry added': 'Journal entry added',
'Journal entry deleted': 'Journal entry deleted',
'Journal entry updated': 'Journal entry updated',
'Kit': 'Kit',
'Kit Contents': 'Kit Contents',
'Kit Details': 'Kit Details',
'Kit Updated': 'Kit Updated',
'Kit added': 'Kit added',
'Kit deleted': 'Kit deleted',
'Kit updated': 'Kit updated',
'Kits': 'Kits',
'Known Identities': 'Known Identities',
'Known incidents of violence against women/girls': 'Known incidents of violence against women/girls',
'Known incidents of violence since disaster': 'Known incidents of violence since disaster',
'Korean': 'Korean',
'LICENSE': 'LICENSE',
'Label Question:': 'Label Question:',
'Lack of material': 'Lack of material',
'Lack of school uniform': 'Lack of school uniform',
'Lack of supplies at school': 'Lack of supplies at school',
'Lack of transport to school': 'Lack of transport to school',
'Lactating women': 'Lactating women',
'Lahar': 'Lahar',
'Landslide': 'Landslide',
'Language': 'Language',
'Last Name': 'Last Name',
'Last Synchronization': 'Last Synchronisation',
'Last known location': 'Last known location',
'Last name': 'Last name',
'Last status': 'Last status',
'Last synchronized on': 'Last synchronised on',
'Last updated ': 'Last updated ',
'Last updated by': 'Last updated by',
'Last updated on': 'Last updated on',
'Latitude': 'Latitude',
'Latitude & Longitude': 'Latitude & Longitude',
'Latitude is North-South (Up-Down).': 'Latitude is North-South (Up-Down).',
'Latitude is zero on the equator and positive in the northern hemisphere and negative in the southern hemisphere.': 'Latitude is zero on the equator and positive in the northern hemisphere and negative in the southern hemisphere.',
'Latitude of Map Center': 'Latitude of Map Center',
'Latitude of far northern end of the region of interest.': 'Latitude of far northern end of the region of interest.',
'Latitude of far southern end of the region of interest.': 'Latitude of far southern end of the region of interest.',
'Latitude should be between': 'Latitude should be between',
'Latrines': 'Latrines',
'Law enforcement, military, homeland and local/private security': 'Law enforcement, military, homeland and local/private security',
'Layer Details': 'Layer Details',
'Layer ID': 'Layer ID',
'Layer Name': 'Layer Name',
'Layer Type': 'Layer Type',
'Layer added': 'Layer added',
'Layer deleted': 'Layer deleted',
'Layer has been Disabled': 'Layer has been Disabled',
'Layer has been Enabled': 'Layer has been Enabled',
'Layer updated': 'Layer updated',
'Layers': 'Layers',
'Layers updated': 'Layers updated',
'Leader': 'Leader',
'Leave blank to request an unskilled person': 'Leave blank to request an unskilled person',
'Legend Format': 'Legend Format',
'Length (m)': 'Length (m)',
'Level': 'Level',
'Level 1': 'Level 1',
'Level 1 Assessment Details': 'Level 1 Assessment Details',
'Level 1 Assessment added': 'Level 1 Assessment added',
'Level 1 Assessment deleted': 'Level 1 Assessment deleted',
'Level 1 Assessment updated': 'Level 1 Assessment updated',
'Level 1 Assessments': 'Level 1 Assessments',
'Level 2': 'Level 2',
'Level 2 Assessment Details': 'Level 2 Assessment Details',
'Level 2 Assessment added': 'Level 2 Assessment added',
'Level 2 Assessment deleted': 'Level 2 Assessment deleted',
'Level 2 Assessment updated': 'Level 2 Assessment updated',
'Level 2 Assessments': 'Level 2 Assessments',
'Level 2 or detailed engineering evaluation recommended': 'Level 2 or detailed engineering evaluation recommended',
"Level is higher than parent's": "Level is higher than parent's",
'Library support not available for OpenID': 'Library support not available for OpenID',
'License Number': 'License Number',
'License Plate': 'License Plate',
'LineString': 'LineString',
'List': 'List',
'List / Add Baseline Types': 'List / Add Baseline Types',
'List / Add Impact Types': 'List / Add Impact Types',
'List / Add Services': 'List / Add Services',
'List / Add Types': 'List / Add Types',
'List Activities': 'List Activities',
'List All': 'List All',
'List All Activity Types': 'List All Activity Types',
'List All Assets': 'List All Assets',
'List All Catalog Items': 'List All Catalogue Items',
'List All Catalogs & Add Items to Catalogs': 'List All Catalogues & Add Items to Catalogues',
'List All Commitments': 'List All Commitments',
'List All Entries': 'List All Entries',
'List All Item Categories': 'List All Item Categories',
'List All Items': 'List All Items',
'List All Memberships': 'List All Memberships',
'List All Orders': 'List All Orders',
'List All Project Sites': 'List All Project Sites',
'List All Projects': 'List All Projects',
'List All Received Shipments': 'List All Received Shipments',
'List All Records': 'List All Records',
'List All Requested Items': 'List All Requested Items',
'List All Requested Skills': 'List All Requested Skills',
'List All Requests': 'List All Requests',
'List All Sent Shipments': 'List All Sent Shipments',
'List All Vehicles': 'List All Vehicles',
'List Alternative Items': 'List Alternative Items',
'List Assessment Summaries': 'List Assessment Summaries',
'List Assessments': 'List Assessments',
'List Assets': 'List Assets',
'List Availability': 'List Availability',
'List Baseline Types': 'List Baseline Types',
'List Baselines': 'List Baselines',
'List Brands': 'List Brands',
'List Budgets': 'List Budgets',
'List Bundles': 'List Bundles',
'List Camp Services': 'List Camp Services',
'List Camp Types': 'List Camp Types',
'List Camps': 'List Camps',
'List Catalog Items': 'List Catalogue Items',
'List Catalogs': 'List Catalogues',
'List Certificates': 'List Certificates',
'List Certifications': 'List Certifications',
'List Checklists': 'List Checklists',
'List Cluster Subsectors': 'List Cluster Subsectors',
'List Clusters': 'List Clusters',
'List Commitment Items': 'List Commitment Items',
'List Commitments': 'List Commitments',
'List Committed People': 'List Committed People',
'List Competency Ratings': 'List Competency Ratings',
'List Contact Information': 'List Contact Information',
'List Contacts': 'List Contacts',
'List Course Certificates': 'List Course Certificates',
'List Courses': 'List Courses',
'List Credentials': 'List Credentials',
'List Current': 'List Current',
'List Documents': 'List Documents',
'List Donors': 'List Donors',
'List Events': 'List Events',
'List Facilities': 'List Facilities',
'List Feature Classes': 'List Feature Classes',
'List Feature Layers': 'List Feature Layers',
'List Flood Reports': 'List Flood Reports',
'List GPS data': 'List GPS data',
'List Groups': 'List Groups',
'List Groups/View Members': 'List Groups/View Members',
'List Homes': 'List Homes',
'List Hospitals': 'List Hospitals',
'List Human Resources': 'List Human Resources',
'List Identities': 'List Identities',
'List Images': 'List Images',
'List Impact Assessments': 'List Impact Assessments',
'List Impact Types': 'List Impact Types',
'List Impacts': 'List Impacts',
'List Import Files': 'List Import Files',
'List Incident Reports': 'List Incident Reports',
'List Incidents': 'List Incidents',
'List Item Categories': 'List Item Categories',
'List Item Packs': 'List Item Packs',
'List Items': 'List Items',
'List Items in Inventory': 'List Items in Inventory',
'List Job Roles': 'List Job Roles',
'List Jobs': 'List Jobs',
'List Kits': 'List Kits',
'List Layers': 'List Layers',
'List Level 1 Assessments': 'List Level 1 Assessments',
'List Level 1 assessments': 'List Level 1 assessments',
'List Level 2 Assessments': 'List Level 2 Assessments',
'List Level 2 assessments': 'List Level 2 assessments',
'List Locations': 'List Locations',
'List Log Entries': 'List Log Entries',
'List Map Configurations': 'List Map Configurations',
'List Markers': 'List Markers',
'List Members': 'List Members',
'List Memberships': 'List Memberships',
'List Messages': 'List Messages',
'List Missing Persons': 'List Missing Persons',
'List Missions': 'List Missions',
'List Need Types': 'List Need Types',
'List Needs': 'List Needs',
'List Offices': 'List Offices',
'List Order Items': 'List Order Items',
'List Orders': 'List Orders',
'List Organization Domains': 'List Organisation Domains',
'List Organizations': 'List Organisations',
'List Patients': 'List Patients',
'List Personal Effects': 'List Personal Effects',
'List Persons': 'List Persons',
'List Photos': 'List Photos',
'List Population Statistics': 'List Population Statistics',
'List Positions': 'List Positions',
'List Problems': 'List Problems',
'List Project Organizations': 'List Project Organisations',
'List Project Sites': 'List Project Sites',
'List Projections': 'List Projections',
'List Projects': 'List Projects',
'List Rapid Assessments': 'List Rapid Assessments',
'List Received Items': 'List Received Items',
'List Received Shipments': 'List Received Shipments',
'List Records': 'List Records',
'List Registrations': 'List Registrations',
'List Relatives': 'List Relatives',
'List Reports': 'List Reports',
'List Repositories': 'List Repositories',
'List Request Items': 'List Request Items',
'List Requested Skills': 'List Requested Skills',
'List Requests': 'List Requests',
'List Requests for Donations': 'List Requests for Donations',
'List Requests for Volunteers': 'List Requests for Volunteers',
'List Resources': 'List Resources',
'List Rivers': 'List Rivers',
'List Roles': 'List Roles',
'List Rooms': 'List Rooms',
'List Saved Searches': 'List Saved Searches',
'List Scenarios': 'List Scenarios',
'List Sections': 'List Sections',
'List Sectors': 'List Sectors',
'List Sent Items': 'List Sent Items',
'List Sent Shipments': 'List Sent Shipments',
'List Service Profiles': 'List Service Profiles',
'List Settings': 'List Settings',
'List Shelter Services': 'List Shelter Services',
'List Shelter Types': 'List Shelter Types',
'List Shelters': 'List Shelters',
'List Skill Equivalences': 'List Skill Equivalences',
'List Skill Provisions': 'List Skill Provisions',
'List Skill Types': 'List Skill Types',
'List Skills': 'List Skills',
'List Solutions': 'List Solutions',
'List Staff Types': 'List Staff Types',
'List Status': 'List Status',
'List Subscriptions': 'List Subscriptions',
'List Subsectors': 'List Subsectors',
'List Support Requests': 'List Support Requests',
'List Tasks': 'List Tasks',
'List Teams': 'List Teams',
'List Themes': 'List Themes',
'List Tickets': 'List Tickets',
'List Trainings': 'List Trainings',
'List Units': 'List Units',
'List Users': 'List Users',
'List Vehicle Details': 'List Vehicle Details',
'List Vehicles': 'List Vehicles',
'List Warehouses': 'List Warehouses',
'List all': 'List all',
'List all Assessment Answer': 'List all Assessment Answer',
'List all Assessment Questions': 'List all Assessment Questions',
'List all Assessment Series': 'List all Assessment Series',
'List all Assessment Templates': 'List all Assessment Templates',
'List all Completed Assessment': 'List all Completed Assessment',
'List all Question Meta-Data': 'List all Question Meta-Data',
'List all Template Sections': 'List all Template Sections',
'List available Scenarios': 'List available Scenarios',
'List of Assessment Answers': 'List of Assessment Answers',
'List of Assessment Questions': 'List of Assessment Questions',
'List of Assessment Series': 'List of Assessment Series',
'List of Assessment Templates': 'List of Assessment Templates',
'List of CSV files': 'List of CSV files',
'List of CSV files uploaded': 'List of CSV files uploaded',
'List of Completed Assessments': 'List of Completed Assessments',
'List of Items': 'List of Items',
'List of Missing Persons': 'List of Missing Persons',
'List of Question Meta-Data': 'List of Question Meta-Data',
'List of Reports': 'List of Reports',
'List of Requests': 'List of Requests',
'List of Selected Answers': 'List of Selected Answers',
'List of Spreadsheets': 'List of Spreadsheets',
'List of Spreadsheets uploaded': 'List of Spreadsheets uploaded',
'List of Template Sections': 'List of Template Sections',
'List of addresses': 'List of addresses',
'List unidentified': 'List unidentified',
'List/Add': 'List/Add',
'Lists "who is doing what & where". Allows relief agencies to coordinate their activities': 'Lists "who is doing what & where". Allows relief agencies to coordinate their activities',
'Live Help': 'Live Help',
'Livelihood': 'Livelihood',
'Load Cleaned Data into Database': 'Load Cleaned Data into Database',
'Load Raw File into Grid': 'Load Raw File into Grid',
'Load Search': 'Load Search',
'Loading': 'Loading',
'Local Name': 'Local Name',
'Local Names': 'Local Names',
'Location': 'Location',
'Location 1': 'Location 1',
'Location 2': 'Location 2',
'Location Details': 'Location Details',
'Location Hierarchy Level 0 Name': 'Location Hierarchy Level 0 Name',
'Location Hierarchy Level 1 Name': 'Location Hierarchy Level 1 Name',
'Location Hierarchy Level 2 Name': 'Location Hierarchy Level 2 Name',
'Location Hierarchy Level 3 Name': 'Location Hierarchy Level 3 Name',
'Location Hierarchy Level 4 Name': 'Location Hierarchy Level 4 Name',
'Location Hierarchy Level 5 Name': 'Location Hierarchy Level 5 Name',
'Location added': 'Location added',
'Location deleted': 'Location deleted',
'Location group cannot be a parent.': 'Location group cannot be a parent.',
'Location group cannot have a parent.': 'Location group cannot have a parent.',
'Location groups can be used in the Regions menu.': 'Location groups can be used in the Regions menu.',
'Location groups may be used to filter what is shown on the map and in search results to only entities covered by locations in the group.': 'Location groups may be used to filter what is shown on the map and in search results to only entities covered by locations in the group.',
'Location updated': 'Location updated',
'Location: ': 'Location: ',
'Locations': 'Locations',
'Locations of this level need to have a parent of level': 'Locations of this level need to have a parent of level',
'Lockdown': 'Lockdown',
'Log': 'Log',
'Log Entry': 'Log Entry',
'Log Entry Deleted': 'Log Entry Deleted',
'Log Entry Details': 'Log Entry Details',
'Log entry added': 'Log entry added',
'Log entry deleted': 'Log entry deleted',
'Log entry updated': 'Log entry updated',
'Login': 'Login',
'Logistics': 'Logistics',
'Logo': 'Logo',
'Logo file %s missing!': 'Logo file %s missing!',
'Logout': 'Logout',
'Longitude': 'Longitude',
'Longitude is West - East (sideways).': 'Longitude is West - East (sideways).',
'Longitude is West-East (sideways).': 'Longitude is West-East (sideways).',
'Longitude is zero on the prime meridian (Greenwich Mean Time) and is positive to the east, across Europe and Asia. Longitude is negative to the west, across the Atlantic and the Americas.': 'Longitude is zero on the prime meridian (Greenwich Mean Time) and is positive to the east, across Europe and Asia. Longitude is negative to the west, across the Atlantic and the Americas.',
'Longitude is zero on the prime meridian (through Greenwich, United Kingdom) and is positive to the east, across Europe and Asia. Longitude is negative to the west, across the Atlantic and the Americas.': 'Longitude is zero on the prime meridian (through Greenwich, United Kingdom) and is positive to the east, across Europe and Asia. Longitude is negative to the west, across the Atlantic and the Americas.',
'Longitude of Map Center': 'Longitude of Map Center',
'Longitude of far eastern end of the region of interest.': 'Longitude of far eastern end of the region of interest.',
'Longitude of far western end of the region of interest.': 'Longitude of far western end of the region of interest.',
'Longitude should be between': 'Longitude should be between',
'Looting': 'Looting',
'Lost': 'Lost',
'Lost Password': 'Lost Password',
'Low': 'Low',
'Magnetic Storm': 'Magnetic Storm',
'Major Damage': 'Major Damage',
'Major expenses': 'Major expenses',
'Major outward damage': 'Major outward damage',
'Make Commitment': 'Make Commitment',
'Make New Commitment': 'Make New Commitment',
'Make Request': 'Make Request',
'Make a Request for Donations': 'Make a Request for Donations',
'Make a Request for Volunteers': 'Make a Request for Volunteers',
'Make preparations per the <instruction>': 'Make preparations per the <instruction>',
'Male': 'Male',
'Manage Events': 'Manage Events',
'Manage Users & Roles': 'Manage Users & Roles',
'Manage Vehicles': 'Manage Vehicles',
'Manage requests for supplies, assets, staff or other resources. Matches against Inventories where supplies are requested.': 'Manage requests for supplies, assets, staff or other resources. Matches against Inventories where supplies are requested.',
'Manage requests of hospitals for assistance.': 'Manage requests of hospitals for assistance.',
'Manager': 'Manager',
'Mandatory. In GeoServer, this is the Layer Name. Within the WFS getCapabilities, this is the FeatureType Name part after the colon(:).': 'Mandatory. In GeoServer, this is the Layer Name. Within the WFS getCapabilities, this is the FeatureType Name part after the colon(:).',
'Mandatory. The URL to access the service.': 'Mandatory. The URL to access the service.',
'Manual Synchronization': 'Manual Synchronisation',
'Many': 'Many',
'Map': 'Map',
'Map Center Latitude': 'Map Center Latitude',
'Map Center Longitude': 'Map Center Longitude',
'Map Configuration': 'Map Configuration',
'Map Configuration Details': 'Map Configuration Details',
'Map Configuration added': 'Map Configuration added',
'Map Configuration deleted': 'Map Configuration deleted',
'Map Configuration removed': 'Map Configuration removed',
'Map Configuration updated': 'Map Configuration updated',
'Map Configurations': 'Map Configurations',
'Map Height': 'Map Height',
'Map Service Catalog': 'Map Service Catalogue',
'Map Settings': 'Map Settings',
'Map Viewing Client': 'Map Viewing Client',
'Map Width': 'Map Width',
'Map Zoom': 'Map Zoom',
'Map of Hospitals': 'Map of Hospitals',
'MapMaker Hybrid Layer': 'MapMaker Hybrid Layer',
'MapMaker Layer': 'MapMaker Layer',
'Maps': 'Maps',
'Marine Security': 'Marine Security',
'Marital Status': 'Marital Status',
'Marker': 'Marker',
'Marker Details': 'Marker Details',
'Marker added': 'Marker added',
'Marker deleted': 'Marker deleted',
'Marker updated': 'Marker updated',
'Markers': 'Markers',
'Master': 'Master',
'Master Message Log': 'Master Message Log',
'Master Message Log to process incoming reports & requests': 'Master Message Log to process incoming reports & requests',
'Match Percentage': 'Match Percentage',
'Match Requests': 'Match Requests',
'Match percentage indicates the % match between these two records': 'Match percentage indicates the % match between these two records',
'Match?': 'Match?',
'Matching Catalog Items': 'Matching Catalogue Items',
'Matching Items': 'Matching Items',
'Matching Records': 'Matching Records',
'Maximum Location Latitude': 'Maximum Location Latitude',
'Maximum Location Longitude': 'Maximum Location Longitude',
'Measure Area: Click the points around the polygon & end with a double-click': 'Measure Area: Click the points around the polygon & end with a double-click',
'Measure Length: Click the points along the path & end with a double-click': 'Measure Length: Click the points along the path & end with a double-click',
'Medical and public health': 'Medical and public health',
'Medium': 'Medium',
'Megabytes per Month': 'Megabytes per Month',
'Members': 'Members',
'Membership': 'Membership',
'Membership Details': 'Membership Details',
'Membership added': 'Membership added',
'Membership deleted': 'Membership deleted',
'Membership updated': 'Membership updated',
'Memberships': 'Memberships',
'Message': 'Message',
'Message Details': 'Message Details',
'Message Variable': 'Message Variable',
'Message added': 'Message added',
'Message deleted': 'Message deleted',
'Message updated': 'Message updated',
'Message variable': 'Message variable',
'Messages': 'Messages',
'Messaging': 'Messaging',
'Meteorite': 'Meteorite',
'Meteorological (inc. flood)': 'Meteorological (inc. flood)',
'Method used': 'Method used',
'Middle Name': 'Middle Name',
'Migrants or ethnic minorities': 'Migrants or ethnic minorities',
'Mileage': 'Mileage',
'Military': 'Military',
'Minimum Location Latitude': 'Minimum Location Latitude',
'Minimum Location Longitude': 'Minimum Location Longitude',
'Minimum shift time is 6 hours': 'Minimum shift time is 6 hours',
'Minor Damage': 'Minor Damage',
'Minor/None': 'Minor/None',
'Minorities participating in coping activities': 'Minorities participating in coping activities',
'Minute': 'Minute',
'Minutes must be a number between 0 and 60': 'Minutes must be a number between 0 and 60',
'Minutes per Month': 'Minutes per Month',
'Minutes should be a number greater than 0 and less than 60': 'Minutes should be a number greater than 0 and less than 60',
'Miscellaneous': 'Miscellaneous',
'Missing': 'Missing',
'Missing Person': 'Missing Person',
'Missing Person Details': 'Missing Person Details',
'Missing Person Registry': 'Missing Person Registry',
'Missing Persons': 'Missing Persons',
'Missing Persons Registry': 'Missing Persons Registry',
'Missing Persons Report': 'Missing Persons Report',
'Missing Report': 'Missing Report',
'Missing Senior Citizen': 'Missing Senior Citizen',
'Missing Vulnerable Person': 'Missing Vulnerable Person',
'Mission Details': 'Mission Details',
'Mission Record': 'Mission Record',
'Mission added': 'Mission added',
'Mission deleted': 'Mission deleted',
'Mission updated': 'Mission updated',
'Missions': 'Missions',
'Mobile': 'Mobile',
'Mobile Basic Assessment': 'Mobile Basic Assessment',
'Mobile Phone': 'Mobile Phone',
'Mode': 'Mode',
'Model/Type': 'Model/Type',
'Modem settings updated': 'Modem settings updated',
'Moderate': 'Moderate',
'Moderator': 'Moderator',
'Modify Information on groups and individuals': 'Modify Information on groups and individuals',
'Modifying data in spreadsheet before importing it to the database': 'Modifying data in spreadsheet before importing it to the database',
'Module': 'Module',
'Module provides access to information on current Flood Levels.': 'Module provides access to information on current Flood Levels.',
'Monday': 'Monday',
'Monthly Cost': 'Monthly Cost',
'Monthly Salary': 'Monthly Salary',
'Months': 'Months',
'Morgue': 'Morgue',
'Morgue Details': 'Morgue Details',
'Morgue Status': 'Morgue Status',
'Morgue Units Available': 'Morgue Units Available',
'Morgues': 'Morgues',
'Mosque': 'Mosque',
'Motorcycle': 'Motorcycle',
'Moustache': 'Moustache',
'MultiPolygon': 'MultiPolygon',
'Multiple': 'Multiple',
'Multiple Matches': 'Multiple Matches',
'Muslim': 'Muslim',
'Must a location have a parent location?': 'Must a location have a parent location?',
'My Cedar Bluff AL': 'My Cedar Bluff AL',
'My Details': 'My Details',
'My Tasks': 'My Tasks',
'N/A': 'N/A',
'NO': 'NO',
'NZSEE Level 1': 'NZSEE Level 1',
'NZSEE Level 2': 'NZSEE Level 2',
'Name': 'Name',
'Name and/or ID': 'Name and/or ID',
'Name field is required!': 'Name field is required!',
'Name of the file (& optional sub-path) located in static which should be used for the background of the header.': 'Name of the file (& optional sub-path) located in static which should be used for the background of the header.',
'Name of the file (& optional sub-path) located in static which should be used for the top-left image.': 'Name of the file (& optional sub-path) located in static which should be used for the top-left image.',
'Name of the file (& optional sub-path) located in views which should be used for footer.': 'Name of the file (& optional sub-path) located in views which should be used for footer.',
'Name of the person in local language and script (optional).': 'Name of the person in local language and script (optional).',
'Name of the repository (for you own reference)': 'Name of the repository (for you own reference)',
'Name, Org and/or ID': 'Name, Org and/or ID',
'Names can be added in multiple languages': 'Names can be added in multiple languages',
'National': 'National',
'National ID Card': 'National ID Card',
'National NGO': 'National NGO',
'Nationality': 'Nationality',
'Nationality of the person.': 'Nationality of the person.',
'Nautical Accident': 'Nautical Accident',
'Nautical Hijacking': 'Nautical Hijacking',
'Need Type': 'Need Type',
'Need Type Details': 'Need Type Details',
'Need Type added': 'Need Type added',
'Need Type deleted': 'Need Type deleted',
'Need Type updated': 'Need Type updated',
'Need Types': 'Need Types',
"Need a 'url' argument!": "Need a 'url' argument!",
'Need added': 'Need added',
'Need deleted': 'Need deleted',
'Need to be logged-in to be able to submit assessments': 'Need to be logged-in to be able to submit assessments',
'Need to configure Twitter Authentication': 'Need to configure Twitter Authentication',
'Need to specify a Budget!': 'Need to specify a Budget!',
'Need to specify a Kit!': 'Need to specify a Kit!',
'Need to specify a Resource!': 'Need to specify a Resource!',
'Need to specify a bundle!': 'Need to specify a bundle!',
'Need to specify a group!': 'Need to specify a group!',
'Need to specify a location to search for.': 'Need to specify a location to search for.',
'Need to specify a role!': 'Need to specify a role!',
'Need to specify a table!': 'Need to specify a table!',
'Need to specify a user!': 'Need to specify a user!',
'Need updated': 'Need updated',
'Needs': 'Needs',
'Needs Details': 'Needs Details',
'Needs Maintenance': 'Needs Maintenance',
'Needs to reduce vulnerability to violence': 'Needs to reduce vulnerability to violence',
'Negative Flow Isolation': 'Negative Flow Isolation',
'Neighborhood': 'Neighborhood',
'Neighbourhood': 'Neighbourhood',
'Neighbouring building hazard': 'Neighbouring building hazard',
'Neonatal ICU': 'Neonatal ICU',
'Neonatology': 'Neonatology',
'Network': 'Network',
'Neurology': 'Neurology',
'New': 'New',
'New Assessment': 'New Assessment',
'New Assessment reported from': 'New Assessment reported from',
'New Certificate': 'New Certificate',
'New Checklist': 'New Checklist',
'New Entry': 'New Entry',
'New Event': 'New Event',
'New Home': 'New Home',
'New Item Category': 'New Item Category',
'New Job Role': 'New Job Role',
'New Location': 'New Location',
'New Location Group': 'New Location Group',
'New Patient': 'New Patient',
'New Record': 'New Record',
'New Relative': 'New Relative',
'New Request': 'New Request',
'New Scenario': 'New Scenario',
'New Skill': 'New Skill',
'New Solution Choice': 'New Solution Choice',
'New Staff Member': 'New Staff Member',
'New Support Request': 'New Support Request',
'New Team': 'New Team',
'New Ticket': 'New Ticket',
'New Training Course': 'New Training Course',
'New Volunteer': 'New Volunteer',
'New cases in the past 24h': 'New cases in the past 24h',
'Next': 'Next',
'Next View': 'Next View',
'No': 'No',
'No Activities Found': 'No Activities Found',
'No Activities currently registered in this event': 'No Activities currently registered in this event',
'No Alternative Items currently registered': 'No Alternative Items currently registered',
'No Assessment Answers currently registered': 'No Assessment Answers currently registered',
'No Assessment Question currently registered': 'No Assessment Question currently registered',
'No Assessment Series currently registered': 'No Assessment Series currently registered',
'No Assessment Summaries currently registered': 'No Assessment Summaries currently registered',
'No Assessment Template currently registered': 'No Assessment Template currently registered',
'No Assessments currently registered': 'No Assessments currently registered',
'No Assets currently registered': 'No Assets currently registered',
'No Assets currently registered in this event': 'No Assets currently registered in this event',
'No Assets currently registered in this scenario': 'No Assets currently registered in this scenario',
'No Baseline Types currently registered': 'No Baseline Types currently registered',
'No Baselines currently registered': 'No Baselines currently registered',
'No Brands currently registered': 'No Brands currently registered',
'No Budgets currently registered': 'No Budgets currently registered',
'No Bundles currently registered': 'No Bundles currently registered',
'No Camp Services currently registered': 'No Camp Services currently registered',
'No Camp Types currently registered': 'No Camp Types currently registered',
'No Camps currently registered': 'No Camps currently registered',
'No Catalog Items currently registered': 'No Catalogue Items currently registered',
'No Catalogs currently registered': 'No Catalogues currently registered',
'No Checklist available': 'No Checklist available',
'No Cluster Subsectors currently registered': 'No Cluster Subsectors currently registered',
'No Clusters currently registered': 'No Clusters currently registered',
'No Commitment Items currently registered': 'No Commitment Items currently registered',
'No Commitments': 'No Commitments',
'No Completed Assessments currently registered': 'No Completed Assessments currently registered',
'No Credentials currently set': 'No Credentials currently set',
'No Details currently registered': 'No Details currently registered',
'No Documents currently attached to this request': 'No Documents currently attached to this request',
'No Documents found': 'No Documents found',
'No Donors currently registered': 'No Donors currently registered',
'No Events currently registered': 'No Events currently registered',
'No Facilities currently registered in this event': 'No Facilities currently registered in this event',
'No Facilities currently registered in this scenario': 'No Facilities currently registered in this scenario',
'No Feature Classes currently defined': 'No Feature Classes currently defined',
'No Feature Layers currently defined': 'No Feature Layers currently defined',
'No Flood Reports currently registered': 'No Flood Reports currently registered',
'No GPS data currently registered': 'No GPS data currently registered',
'No Groups currently defined': 'No Groups currently defined',
'No Groups currently registered': 'No Groups currently registered',
'No Homes currently registered': 'No Homes currently registered',
'No Hospitals currently registered': 'No Hospitals currently registered',
'No Human Resources currently registered in this event': 'No Human Resources currently registered in this event',
'No Human Resources currently registered in this scenario': 'No Human Resources currently registered in this scenario',
'No Identification Report Available': 'No Identification Report Available',
'No Identities currently registered': 'No Identities currently registered',
'No Image': 'No Image',
'No Images currently registered': 'No Images currently registered',
'No Impact Types currently registered': 'No Impact Types currently registered',
'No Impacts currently registered': 'No Impacts currently registered',
'No Import Files currently uploaded': 'No Import Files currently uploaded',
'No Incident Reports currently registered': 'No Incident Reports currently registered',
'No Incidents currently registered in this event': 'No Incidents currently registered in this event',
'No Incoming Shipments': 'No Incoming Shipments',
'No Inventories currently have suitable alternative items in stock': 'No Inventories currently have suitable alternative items in stock',
'No Inventories currently have this item in stock': 'No Inventories currently have this item in stock',
'No Item Categories currently registered': 'No Item Categories currently registered',
'No Item Packs currently registered': 'No Item Packs currently registered',
'No Items currently registered': 'No Items currently registered',
'No Items currently registered in this Inventory': 'No Items currently registered in this Inventory',
'No Kits currently registered': 'No Kits currently registered',
'No Level 1 Assessments currently registered': 'No Level 1 Assessments currently registered',
'No Level 2 Assessments currently registered': 'No Level 2 Assessments currently registered',
'No Locations currently available': 'No Locations currently available',
'No Locations currently registered': 'No Locations currently registered',
'No Map Configurations currently defined': 'No Map Configurations currently defined',
'No Map Configurations currently registered in this event': 'No Map Configurations currently registered in this event',
'No Map Configurations currently registered in this scenario': 'No Map Configurations currently registered in this scenario',
'No Markers currently available': 'No Markers currently available',
'No Match': 'No Match',
'No Matching Catalog Items': 'No Matching Catalogue Items',
'No Matching Items': 'No Matching Items',
'No Matching Records': 'No Matching Records',
'No Members currently registered': 'No Members currently registered',
'No Memberships currently defined': 'No Memberships currently defined',
'No Memberships currently registered': 'No Memberships currently registered',
'No Messages currently in Outbox': 'No Messages currently in Outbox',
'No Need Types currently registered': 'No Need Types currently registered',
'No Needs currently registered': 'No Needs currently registered',
'No Offices currently registered': 'No Offices currently registered',
'No Order Items currently registered': 'No Order Items currently registered',
'No Orders registered': 'No Orders registered',
'No Organization Domains currently registered': 'No Organisation Domains currently registered',
'No Organizations currently registered': 'No Organisations currently registered',
'No Organizations for this Project': 'No Organisations for this Project',
'No Packs for Item': 'No Packs for Item',
'No Patients currently registered': 'No Patients currently registered',
'No People currently committed': 'No People currently committed',
'No People currently registered in this camp': 'No People currently registered in this camp',
'No People currently registered in this shelter': 'No People currently registered in this shelter',
'No Persons currently registered': 'No Persons currently registered',
'No Persons currently reported missing': 'No Persons currently reported missing',
'No Persons found': 'No Persons found',
'No Photos found': 'No Photos found',
'No Picture': 'No Picture',
'No Population Statistics currently registered': 'No Population Statistics currently registered',
'No Presence Log Entries currently registered': 'No Presence Log Entries currently registered',
'No Problems currently defined': 'No Problems currently defined',
'No Projections currently defined': 'No Projections currently defined',
'No Projects currently registered': 'No Projects currently registered',
'No Question Meta-Data currently registered': 'No Question Meta-Data currently registered',
'No Rapid Assessments currently registered': 'No Rapid Assessments currently registered',
'No Ratings for Skill Type': 'No Ratings for Skill Type',
'No Received Items currently registered': 'No Received Items currently registered',
'No Received Shipments': 'No Received Shipments',
'No Records currently available': 'No Records currently available',
'No Relatives currently registered': 'No Relatives currently registered',
'No Request Items currently registered': 'No Request Items currently registered',
'No Requests': 'No Requests',
'No Requests for Donations': 'No Requests for Donations',
'No Requests for Volunteers': 'No Requests for Volunteers',
'No Rivers currently registered': 'No Rivers currently registered',
'No Roles currently defined': 'No Roles currently defined',
'No Rooms currently registered': 'No Rooms currently registered',
'No Scenarios currently registered': 'No Scenarios currently registered',
'No Search saved': 'No Search saved',
'No Sections currently registered': 'No Sections currently registered',
'No Sectors currently registered': 'No Sectors currently registered',
'No Sent Items currently registered': 'No Sent Items currently registered',
'No Sent Shipments': 'No Sent Shipments',
'No Settings currently defined': 'No Settings currently defined',
'No Shelter Services currently registered': 'No Shelter Services currently registered',
'No Shelter Types currently registered': 'No Shelter Types currently registered',
'No Shelters currently registered': 'No Shelters currently registered',
'No Skills currently requested': 'No Skills currently requested',
'No Solutions currently defined': 'No Solutions currently defined',
'No Staff Types currently registered': 'No Staff Types currently registered',
'No Subscription available': 'No Subscription available',
'No Subsectors currently registered': 'No Subsectors currently registered',
'No Support Requests currently registered': 'No Support Requests currently registered',
'No Tasks currently registered in this event': 'No Tasks currently registered in this event',
'No Tasks currently registered in this scenario': 'No Tasks currently registered in this scenario',
'No Teams currently registered': 'No Teams currently registered',
'No Template Section currently registered': 'No Template Section currently registered',
'No Themes currently defined': 'No Themes currently defined',
'No Tickets currently registered': 'No Tickets currently registered',
'No Users currently registered': 'No Users currently registered',
'No Vehicle Details currently defined': 'No Vehicle Details currently defined',
'No Vehicles currently registered': 'No Vehicles currently registered',
'No Warehouses currently registered': 'No Warehouses currently registered',
'No access at all': 'No access at all',
'No access to this record!': 'No access to this record!',
'No action recommended': 'No action recommended',
'No contact information available': 'No contact information available',
'No contact method found': 'No contact method found',
'No contacts currently registered': 'No contacts currently registered',
'No data in this table - cannot create PDF!': 'No data in this table - cannot create PDF!',
'No databases in this application': 'No databases in this application',
'No dead body reports available': 'No dead body reports available',
'No entries found': 'No entries found',
'No entry available': 'No entry available',
'No forms to the corresponding resource have been downloaded yet.': 'No forms to the corresponding resource have been downloaded yet.',
'No jobs configured': 'No jobs configured',
'No jobs configured yet': 'No jobs configured yet',
'No match': 'No match',
'No matching records found': 'No matching records found',
'No messages in the system': 'No messages in the system',
'No person record found for current user.': 'No person record found for current user.',
'No problem group defined yet': 'No problem group defined yet',
'No reports available.': 'No reports available.',
'No reports currently available': 'No reports currently available',
'No repositories configured': 'No repositories configured',
'No requests found': 'No requests found',
'No resources configured yet': 'No resources configured yet',
'No resources currently reported': 'No resources currently reported',
'No service profile available': 'No service profile available',
'No skills currently set': 'No skills currently set',
'No staff or volunteers currently registered': 'No staff or volunteers currently registered',
'No status information available': 'No status information available',
'No tasks currently assigned': 'No tasks currently assigned',
'No tasks currently registered': 'No tasks currently registered',
'No units currently registered': 'No units currently registered',
'No volunteer availability registered': 'No volunteer availability registered',
'Non-structural Hazards': 'Non-structural Hazards',
'None': 'None',
'None (no such record)': 'None (no such record)',
'Noodles': 'Noodles',
'Normal': 'Normal',
'Not Applicable': 'Not Applicable',
'Not Authorised!': 'Not Authorised!',
'Not Possible': 'Not Possible',
'Not authorised!': 'Not authorised!',
'Not installed or incorrectly configured.': 'Not installed or incorrectly configured.',
'Note that this list only shows active volunteers. To see all people registered in the system, search from this screen instead': 'Note that this list only shows active volunteers. To see all people registered in the system, search from this screen instead',
'Notes': 'Notes',
'Notice to Airmen': 'Notice to Airmen',
'Number of Patients': 'Number of Patients',
'Number of People Required': 'Number of People Required',
'Number of additional beds of that type expected to become available in this unit within the next 24 hours.': 'Number of additional beds of that type expected to become available in this unit within the next 24 hours.',
'Number of alternative places for studying': 'Number of alternative places for studying',
'Number of available/vacant beds of that type in this unit at the time of reporting.': 'Number of available/vacant beds of that type in this unit at the time of reporting.',
'Number of bodies found': 'Number of bodies found',
'Number of deaths during the past 24 hours.': 'Number of deaths during the past 24 hours.',
'Number of discharged patients during the past 24 hours.': 'Number of discharged patients during the past 24 hours.',
'Number of doctors': 'Number of doctors',
'Number of in-patients at the time of reporting.': 'Number of in-patients at the time of reporting.',
'Number of newly admitted patients during the past 24 hours.': 'Number of newly admitted patients during the past 24 hours.',
'Number of non-medical staff': 'Number of non-medical staff',
'Number of nurses': 'Number of nurses',
'Number of private schools': 'Number of private schools',
'Number of public schools': 'Number of public schools',
'Number of religious schools': 'Number of religious schools',
'Number of residential units': 'Number of residential units',
'Number of residential units not habitable': 'Number of residential units not habitable',
'Number of vacant/available beds in this hospital. Automatically updated from daily reports.': 'Number of vacant/available beds in this hospital. Automatically updated from daily reports.',
'Number of vacant/available units to which victims can be transported immediately.': 'Number of vacant/available units to which victims can be transported immediately.',
'Number or Label on the identification tag this person is wearing (if any).': 'Number or Label on the identification tag this person is wearing (if any).',
'Number or code used to mark the place of find, e.g. flag code, grid coordinates, site reference number or similar (if available)': 'Number or code used to mark the place of find, e.g. flag code, grid coordinates, site reference number or similar (if available)',
'Number/Percentage of affected population that is Female & Aged 0-5': 'Number/Percentage of affected population that is Female & Aged 0-5',
'Number/Percentage of affected population that is Female & Aged 13-17': 'Number/Percentage of affected population that is Female & Aged 13-17',
'Number/Percentage of affected population that is Female & Aged 18-25': 'Number/Percentage of affected population that is Female & Aged 18-25',
'Number/Percentage of affected population that is Female & Aged 26-60': 'Number/Percentage of affected population that is Female & Aged 26-60',
'Number/Percentage of affected population that is Female & Aged 6-12': 'Number/Percentage of affected population that is Female & Aged 6-12',
'Number/Percentage of affected population that is Female & Aged 61+': 'Number/Percentage of affected population that is Female & Aged 61+',
'Number/Percentage of affected population that is Male & Aged 0-5': 'Number/Percentage of affected population that is Male & Aged 0-5',
'Number/Percentage of affected population that is Male & Aged 13-17': 'Number/Percentage of affected population that is Male & Aged 13-17',
'Number/Percentage of affected population that is Male & Aged 18-25': 'Number/Percentage of affected population that is Male & Aged 18-25',
'Number/Percentage of affected population that is Male & Aged 26-60': 'Number/Percentage of affected population that is Male & Aged 26-60',
'Number/Percentage of affected population that is Male & Aged 6-12': 'Number/Percentage of affected population that is Male & Aged 6-12',
'Number/Percentage of affected population that is Male & Aged 61+': 'Number/Percentage of affected population that is Male & Aged 61+',
'Numeric Question:': 'Numeric Question:',
'Nursery Beds': 'Nursery Beds',
'Nutrition': 'Nutrition',
'Nutrition problems': 'Nutrition problems',
'OCR Form Review': 'OCR Form Review',
'OK': 'OK',
'OR Reason': 'OR Reason',
'OR Status': 'OR Status',
'OR Status Reason': 'OR Status Reason',
'Objectives': 'Objectives',
'Observer': 'Observer',
'Obsolete': 'Obsolete',
'Obstetrics/Gynecology': 'Obstetrics/Gynecology',
'Office': 'Office',
'Office Address': 'Office Address',
'Office Details': 'Office Details',
'Office Phone': 'Office Phone',
'Office added': 'Office added',
'Office deleted': 'Office deleted',
'Office updated': 'Office updated',
'Offices': 'Offices',
'Older people as primary caregivers of children': 'Older people as primary caregivers of children',
'Older people in care homes': 'Older people in care homes',
'Older people participating in coping activities': 'Older people participating in coping activities',
'Older person (>60 yrs)': 'Older person (>60 yrs)',
'On by default?': 'On by default?',
'On by default? (only applicable to Overlays)': 'On by default? (only applicable to Overlays)',
'One Time Cost': 'One Time Cost',
'One time cost': 'One time cost',
'One-time': 'One-time',
'One-time costs': 'One-time costs',
'Oops! Something went wrong...': 'Oops! Something went wrong...',
'Oops! something went wrong on our side.': 'Oops! something went wrong on our side.',
'Opacity (1 for opaque, 0 for fully-transparent)': 'Opacity (1 for opaque, 0 for fully-transparent)',
'Open': 'Open',
'Open area': 'Open area',
'Open recent': 'Open recent',
'Operating Rooms': 'Operating Rooms',
'Optical Character Recognition': 'Optical Character Recognition',
'Optical Character Recognition for reading the scanned handwritten paper forms.': 'Optical Character Recognition for reading the scanned handwritten paper forms.',
'Optional': 'Optional',
'Optional Subject to put into Email - can be used as a Security Password by the service provider': 'Optional Subject to put into Email - can be used as a Security Password by the service provider',
'Optional link to an Incident which this Assessment was triggered by.': 'Optional link to an Incident which this Assessment was triggered by.',
'Optional selection of a MapServer map.': 'Optional selection of a MapServer map.',
'Optional selection of a background color.': 'Optional selection of a background colour.',
'Optional selection of an alternate style.': 'Optional selection of an alternate style.',
'Optional. If you wish to style the features based on values of an attribute, select the attribute to use here.': 'Optional. If you wish to style the features based on values of an attribute, select the attribute to use here.',
'Optional. In GeoServer, this is the Workspace Namespace URI (not the name!). Within the WFS getCapabilities, this is the FeatureType Name part before the colon(:).': 'Optional. In GeoServer, this is the Workspace Namespace URI (not the name!). Within the WFS getCapabilities, this is the FeatureType Name part before the colon(:).',
'Optional. The name of an element whose contents should be a URL of an Image file put into Popups.': 'Optional. The name of an element whose contents should be a URL of an Image file put into Popups.',
'Optional. The name of an element whose contents should be put into Popups.': 'Optional. The name of an element whose contents should be put into Popups.',
"Optional. The name of the geometry column. In PostGIS this defaults to 'the_geom'.": "Optional. The name of the geometry column. In PostGIS this defaults to 'the_geom'.",
'Optional. The name of the schema. In Geoserver this has the form http://host_name/geoserver/wfs/DescribeFeatureType?version=1.1.0&;typename=workspace_name:layer_name.': 'Optional. The name of the schema. In Geoserver this has the form http://host_name/geoserver/wfs/DescribeFeatureType?version=1.1.0&;typename=workspace_name:layer_name.',
'Options': 'Options',
'Order': 'Order',
'Order Created': 'Order Created',
'Order Details': 'Order Details',
'Order Item Details': 'Order Item Details',
'Order Item updated': 'Order Item updated',
'Order Items': 'Order Items',
'Order canceled': 'Order canceled',
'Order updated': 'Order updated',
'Orders': 'Orders',
'Organization': 'Organisation',
'Organization Details': 'Organisation Details',
'Organization Domain Details': 'Organisation Domain Details',
'Organization Domain added': 'Organisation Domain added',
'Organization Domain deleted': 'Organisation Domain deleted',
'Organization Domain updated': 'Organisation Domain updated',
'Organization Domains': 'Organisation Domains',
'Organization Registry': 'Organisation Registry',
'Organization added': 'Organisation added',
'Organization added to Project': 'Organisation added to Project',
'Organization deleted': 'Organisation deleted',
'Organization removed from Project': 'Organisation removed from Project',
'Organization updated': 'Organisation updated',
'Organizational Development': 'Organisational Development',
'Organizations': 'Organisations',
'Origin': 'Origin',
'Origin of the separated children': 'Origin of the separated children',
'Other': 'Other',
'Other (describe)': 'Other (describe)',
'Other (specify)': 'Other (specify)',
'Other Evidence': 'Other Evidence',
'Other Faucet/Piped Water': 'Other Faucet/Piped Water',
'Other Isolation': 'Other Isolation',
'Other Name': 'Other Name',
'Other activities of boys 13-17yrs': 'Other activities of boys 13-17yrs',
'Other activities of boys 13-17yrs before disaster': 'Other activities of boys 13-17yrs before disaster',
'Other activities of boys <12yrs': 'Other activities of boys <12yrs',
'Other activities of boys <12yrs before disaster': 'Other activities of boys <12yrs before disaster',
'Other activities of girls 13-17yrs': 'Other activities of girls 13-17yrs',
'Other activities of girls 13-17yrs before disaster': 'Other activities of girls 13-17yrs before disaster',
'Other activities of girls<12yrs': 'Other activities of girls<12yrs',
'Other activities of girls<12yrs before disaster': 'Other activities of girls<12yrs before disaster',
'Other alternative infant nutrition in use': 'Other alternative infant nutrition in use',
'Other alternative places for study': 'Other alternative places for study',
'Other assistance needed': 'Other assistance needed',
'Other assistance, Rank': 'Other assistance, Rank',
'Other current health problems, adults': 'Other current health problems, adults',
'Other current health problems, children': 'Other current health problems, children',
'Other events': 'Other events',
'Other factors affecting school attendance': 'Other factors affecting school attendance',
'Other major expenses': 'Other major expenses',
'Other non-food items': 'Other non-food items',
'Other recommendations': 'Other recommendations',
'Other residential': 'Other residential',
'Other school assistance received': 'Other school assistance received',
'Other school assistance, details': 'Other school assistance, details',
'Other school assistance, source': 'Other school assistance, source',
'Other settings can only be set by editing a file on the server': 'Other settings can only be set by editing a file on the server',
'Other side dishes in stock': 'Other side dishes in stock',
'Other types of water storage containers': 'Other types of water storage containers',
'Other ways to obtain food': 'Other ways to obtain food',
'Outbound Mail settings are configured in models/000_config.py.': 'Outbound Mail settings are configured in models/000_config.py.',
'Outbox': 'Outbox',
'Outgoing SMS Handler': 'Outgoing SMS Handler',
'Outgoing SMS handler': 'Outgoing SMS handler',
'Overall Hazards': 'Overall Hazards',
'Overhead falling hazard': 'Overhead falling hazard',
'Overland Flow Flood': 'Overland Flow Flood',
'Overlays': 'Overlays',
'Owned Resources': 'Owned Resources',
'PAHO UID': 'PAHO UID',
'PDAM': 'PDAM',
'PDF File': 'PDF File',
'PIN': 'PIN',
'PIN number ': 'PIN number ',
'PL Women': 'PL Women',
'Pack': 'Pack',
'Packs': 'Packs',
'Page': 'Page',
'Pan Map: keep the left mouse button pressed and drag the map': 'Pan Map: keep the left mouse button pressed and drag the map',
'Parameters': 'Parameters',
'Parapets, ornamentation': 'Parapets, ornamentation',
'Parent': 'Parent',
'Parent Office': 'Parent Office',
"Parent level should be higher than this record's level. Parent level is": "Parent level should be higher than this record's level. Parent level is",
'Parent needs to be of the correct level': 'Parent needs to be of the correct level',
'Parent needs to be set': 'Parent needs to be set',
'Parent needs to be set for locations of level': 'Parent needs to be set for locations of level',
'Parents/Caregivers missing children': 'Parents/Caregivers missing children',
'Parking Area': 'Parking Area',
'Partial': 'Partial',
'Participant': 'Participant',
'Partner National Society': 'Partner National Society',
'Pass': 'Pass',
'Passport': 'Passport',
'Password': 'Password',
"Password fields don't match": "Password fields don't match",
'Password to use for authentication at the remote site': 'Password to use for authentication at the remote site',
'Path': 'Path',
'Pathology': 'Pathology',
'Patient': 'Patient',
'Patient Details': 'Patient Details',
'Patient Tracking': 'Patient Tracking',
'Patient added': 'Patient added',
'Patient deleted': 'Patient deleted',
'Patient updated': 'Patient updated',
'Patients': 'Patients',
'Pediatric ICU': 'Pediatric ICU',
'Pediatric Psychiatric': 'Pediatric Psychiatric',
'Pediatrics': 'Pediatrics',
'Pending': 'Pending',
'People': 'People',
'People Needing Food': 'People Needing Food',
'People Needing Shelter': 'People Needing Shelter',
'People Needing Water': 'People Needing Water',
'People Trapped': 'People Trapped',
'Performance Rating': 'Performance Rating',
'Person': 'Person',
'Person 1': 'Person 1',
'Person 1, Person 2 are the potentially duplicate records': 'Person 1, Person 2 are the potentially duplicate records',
'Person 2': 'Person 2',
'Person De-duplicator': 'Person De-duplicator',
'Person Details': 'Person Details',
'Person Name': 'Person Name',
'Person Registry': 'Person Registry',
'Person added': 'Person added',
'Person added to Commitment': 'Person added to Commitment',
'Person deleted': 'Person deleted',
'Person details updated': 'Person details updated',
'Person interviewed': 'Person interviewed',
'Person must be specified!': 'Person must be specified!',
'Person removed from Commitment': 'Person removed from Commitment',
'Person who has actually seen the person/group.': 'Person who has actually seen the person/group.',
'Person/Group': 'Person/Group',
'Personal Data': 'Personal Data',
'Personal Effects': 'Personal Effects',
'Personal Effects Details': 'Personal Effects Details',
'Personal Map': 'Personal Map',
'Personal Profile': 'Personal Profile',
'Personal impact of disaster': 'Personal impact of disaster',
'Persons': 'Persons',
'Persons in institutions': 'Persons in institutions',
'Persons with disability (mental)': 'Persons with disability (mental)',
'Persons with disability (physical)': 'Persons with disability (physical)',
'Phone': 'Phone',
'Phone 1': 'Phone 1',
'Phone 2': 'Phone 2',
'Phone number is required': 'Phone number is required',
"Phone number to donate to this organization's relief efforts.": "Phone number to donate to this organization's relief efforts.",
'Phone/Business': 'Phone/Business',
'Phone/Emergency': 'Phone/Emergency',
'Phone/Exchange (Switchboard)': 'Phone/Exchange (Switchboard)',
'Photo': 'Photo',
'Photo Details': 'Photo Details',
'Photo Taken?': 'Photo Taken?',
'Photo added': 'Photo added',
'Photo deleted': 'Photo deleted',
'Photo updated': 'Photo updated',
'Photograph': 'Photograph',
'Photos': 'Photos',
'Physical Description': 'Physical Description',
'Physical Safety': 'Physical Safety',
'Picture': 'Picture',
'Picture upload and finger print upload facility': 'Picture upload and finger print upload facility',
'Place': 'Place',
'Place of Recovery': 'Place of Recovery',
'Place on Map': 'Place on Map',
'Places for defecation': 'Places for defecation',
'Places the children have been sent to': 'Places the children have been sent to',
'Playing': 'Playing',
"Please come back after sometime if that doesn't help.": "Please come back after sometime if that doesn't help.",
'Please enter a first name': 'Please enter a first name',
'Please enter a number only': 'Please enter a number only',
'Please enter a site OR a location': 'Please enter a site OR a location',
'Please enter a valid email address': 'Please enter a valid email address',
'Please enter the first few letters of the Person/Group for the autocomplete.': 'Please enter the first few letters of the Person/Group for the autocomplete.',
'Please enter the recipient': 'Please enter the recipient',
'Please fill this!': 'Please fill this!',
'Please give an estimated figure about how many bodies have been found.': 'Please give an estimated figure about how many bodies have been found.',
'Please provide the URL of the page you are referring to, a description of what you expected to happen & what actually happened.': 'Please provide the URL of the page you are referring to, a description of what you expected to happen & what actually happened.',
'Please report here where you are:': 'Please report here where you are:',
'Please select': 'Please select',
'Please select another level': 'Please select another level',
'Please specify any problems and obstacles with the proper handling of the disease, in detail (in numbers, where appropriate). You may also add suggestions the situation could be improved.': 'Please specify any problems and obstacles with the proper handling of the disease, in detail (in numbers, where appropriate). You may also add suggestions the situation could be improved.',
'Please use this field to record any additional information, including a history of the record if it is updated.': 'Please use this field to record any additional information, including a history of the record if it is updated.',
'Please use this field to record any additional information, including any Special Needs.': 'Please use this field to record any additional information, including any Special Needs.',
'Please use this field to record any additional information, such as Ushahidi instance IDs. Include a history of the record if it is updated.': 'Please use this field to record any additional information, such as Ushahidi instance IDs. Include a history of the record if it is updated.',
'Pledge Support': 'Pledge Support',
'Point': 'Point',
'Poisoning': 'Poisoning',
'Poisonous Gas': 'Poisonous Gas',
'Police': 'Police',
'Pollution and other environmental': 'Pollution and other environmental',
'Polygon': 'Polygon',
'Polygon reference of the rating unit': 'Polygon reference of the rating unit',
'Poor': 'Poor',
'Population': 'Population',
'Population Statistic Details': 'Population Statistic Details',
'Population Statistic added': 'Population Statistic added',
'Population Statistic deleted': 'Population Statistic deleted',
'Population Statistic updated': 'Population Statistic updated',
'Population Statistics': 'Population Statistics',
'Population and number of households': 'Population and number of households',
'Popup Fields': 'Popup Fields',
'Popup Label': 'Popup Label',
'Porridge': 'Porridge',
'Port': 'Port',
'Port Closure': 'Port Closure',
'Portable App': 'Portable App',
'Portal at': 'Portal at',
'Portuguese': 'Portuguese',
'Portuguese (Brazil)': 'Portuguese (Brazil)',
'Position': 'Position',
'Position Catalog': 'Position Catalogue',
'Position Details': 'Position Details',
'Position added': 'Position added',
'Position deleted': 'Position deleted',
'Position updated': 'Position updated',
'Positions': 'Positions',
'Postcode': 'Postcode',
'Poultry': 'Poultry',
'Poultry restocking, Rank': 'Poultry restocking, Rank',
'Power Failure': 'Power Failure',
'Powered by Sahana Eden': 'Powered by Sahana Eden',
'Pre-cast connections': 'Pre-cast connections',
'Preferred Name': 'Preferred Name',
'Pregnant women': 'Pregnant women',
'Preliminary': 'Preliminary',
'Presence': 'Presence',
'Presence Condition': 'Presence Condition',
'Presence Log': 'Presence Log',
'Previous View': 'Previous View',
'Primary Occupancy': 'Primary Occupancy',
'Priority': 'Priority',
'Priority from 1 to 9. 1 is most preferred.': 'Priority from 1 to 9. 1 is most preferred.',
'Privacy': 'Privacy',
'Private': 'Private',
'Problem': 'Problem',
'Problem Administration': 'Problem Administration',
'Problem Details': 'Problem Details',
'Problem Group': 'Problem Group',
'Problem Title': 'Problem Title',
'Problem added': 'Problem added',
'Problem connecting to twitter.com - please refresh': 'Problem connecting to twitter.com - please refresh',
'Problem deleted': 'Problem deleted',
'Problem updated': 'Problem updated',
'Problems': 'Problems',
'Procedure': 'Procedure',
'Process Received Shipment': 'Process Received Shipment',
'Process Shipment to Send': 'Process Shipment to Send',
'Profile': 'Profile',
'Project': 'Project',
'Project Details': 'Project Details',
'Project Details including organizations': 'Project Details including organisations',
'Project Details including organizations and communities': 'Project Details including organisations and communities',
'Project Organization Details': 'Project Organisation Details',
'Project Organization updated': 'Project Organisation updated',
'Project Organizations': 'Project Organisations',
'Project Site': 'Project Site',
'Project Sites': 'Project Sites',
'Project Status': 'Project Status',
'Project Tracking': 'Project Tracking',
'Project added': 'Project added',
'Project deleted': 'Project deleted',
'Project updated': 'Project updated',
'Projection': 'Projection',
'Projection Details': 'Projection Details',
'Projection added': 'Projection added',
'Projection deleted': 'Projection deleted',
'Projection updated': 'Projection updated',
'Projections': 'Projections',
'Projects': 'Projects',
'Property reference in the council system': 'Property reference in the council system',
'Protection': 'Protection',
'Provide Metadata for your media files': 'Provide Metadata for your media files',
'Provide a password': 'Provide a password',
'Provide an optional sketch of the entire building or damage points. Indicate damage points.': 'Provide an optional sketch of the entire building or damage points. Indicate damage points.',
'Proxy Server URL': 'Proxy Server URL',
'Psychiatrics/Adult': 'Psychiatrics/Adult',
'Psychiatrics/Pediatric': 'Psychiatrics/Pediatric',
'Public': 'Public',
'Public Event': 'Public Event',
'Public and private transportation': 'Public and private transportation',
'Public assembly': 'Public assembly',
'Pull tickets from external feed': 'Pull tickets from external feed',
'Purchase Date': 'Purchase Date',
'Purpose': 'Purpose',
'Push tickets to external system': 'Push tickets to external system',
'Pyroclastic Flow': 'Pyroclastic Flow',
'Pyroclastic Surge': 'Pyroclastic Surge',
'Python Serial module not available within the running Python - this needs installing to activate the Modem': 'Python Serial module not available within the running Python - this needs installing to activate the Modem',
'Quantity': 'Quantity',
'Quantity Committed': 'Quantity Committed',
'Quantity Fulfilled': 'Quantity Fulfilled',
"Quantity in %s's Inventory": "Quantity in %s's Inventory",
'Quantity in Transit': 'Quantity in Transit',
'Quarantine': 'Quarantine',
'Queries': 'Queries',
'Query': 'Query',
'Queryable?': 'Queryable?',
'Question': 'Question',
'Question Details': 'Question Details',
'Question Meta-Data': 'Question Meta-Data',
'Question Meta-Data Details': 'Question Meta-Data Details',
'Question Meta-Data added': 'Question Meta-Data added',
'Question Meta-Data deleted': 'Question Meta-Data deleted',
'Question Meta-Data updated': 'Question Meta-Data updated',
'Question Summary': 'Question Summary',
'RC frame with masonry infill': 'RC frame with masonry infill',
'RECORD A': 'RECORD A',
'RECORD B': 'RECORD B',
'RMS': 'RMS',
'RMS Team': 'RMS Team',
'Race': 'Race',
'Radio': 'Radio',
'Radio Details': 'Radio Details',
'Radiological Hazard': 'Radiological Hazard',
'Radiology': 'Radiology',
'Railway Accident': 'Railway Accident',
'Railway Hijacking': 'Railway Hijacking',
'Rain Fall': 'Rain Fall',
'Rapid Assessment': 'Rapid Assessment',
'Rapid Assessment Details': 'Rapid Assessment Details',
'Rapid Assessment added': 'Rapid Assessment added',
'Rapid Assessment deleted': 'Rapid Assessment deleted',
'Rapid Assessment updated': 'Rapid Assessment updated',
'Rapid Assessments': 'Rapid Assessments',
'Rapid Assessments & Flexible Impact Assessments': 'Rapid Assessments & Flexible Impact Assessments',
'Rapid Close Lead': 'Rapid Close Lead',
'Rapid Data Entry': 'Rapid Data Entry',
'Raw Database access': 'Raw Database access',
'Receive': 'Receive',
'Receive New Shipment': 'Receive New Shipment',
'Receive Shipment': 'Receive Shipment',
'Receive this shipment?': 'Receive this shipment?',
'Received': 'Received',
'Received By': 'Received By',
'Received By Person': 'Received By Person',
'Received Item Details': 'Received Item Details',
'Received Item updated': 'Received Item updated',
'Received Shipment Details': 'Received Shipment Details',
'Received Shipment canceled': 'Received Shipment canceled',
'Received Shipment canceled and items removed from Inventory': 'Received Shipment canceled and items removed from Inventory',
'Received Shipment updated': 'Received Shipment updated',
'Received Shipments': 'Received Shipments',
'Receiving and Sending Items': 'Receiving and Sending Items',
'Recipient': 'Recipient',
'Recipients': 'Recipients',
'Recommendations for Repair and Reconstruction or Demolition': 'Recommendations for Repair and Reconstruction or Demolition',
'Record': 'Record',
'Record Details': 'Record Details',
'Record Saved': 'Record Saved',
'Record added': 'Record added',
'Record any restriction on use or entry': 'Record any restriction on use or entry',
'Record created': 'Record created',
'Record deleted': 'Record deleted',
'Record last updated': 'Record last updated',
'Record not found': 'Record not found',
'Record not found!': 'Record not found!',
'Record updated': 'Record updated',
'Recording and Assigning Assets': 'Recording and Assigning Assets',
'Recovery': 'Recovery',
'Recovery Request': 'Recovery Request',
'Recovery Request added': 'Recovery Request added',
'Recovery Request deleted': 'Recovery Request deleted',
'Recovery Request updated': 'Recovery Request updated',
'Recurring': 'Recurring',
'Recurring Cost': 'Recurring Cost',
'Recurring cost': 'Recurring cost',
'Recurring costs': 'Recurring costs',
'Red': 'Red',
'Red Cross / Red Crescent': 'Red Cross / Red Crescent',
'Reference Document': 'Reference Document',
'Refresh Rate (seconds)': 'Refresh Rate (seconds)',
'Region': 'Region',
'Region Location': 'Region Location',
'Regional': 'Regional',
'Register': 'Register',
'Register Person': 'Register Person',
'Register Person into this Camp': 'Register Person into this Camp',
'Register Person into this Shelter': 'Register Person into this Shelter',
'Register them as a volunteer': 'Register them as a volunteer',
'Registered People': 'Registered People',
'Registered users can': 'Registered users can',
'Registration': 'Registration',
'Registration Details': 'Registration Details',
'Registration added': 'Registration added',
'Registration entry deleted': 'Registration entry deleted',
'Registration is still pending approval from Approver (%s) - please wait until confirmation received.': 'Registration is still pending approval from Approver (%s) - please wait until confirmation received.',
'Registration key': 'Registration key',
'Registration updated': 'Registration updated',
'Rehabilitation/Long Term Care': 'Rehabilitation/Long Term Care',
'Reinforced masonry': 'Reinforced masonry',
'Rejected': 'Rejected',
'Relative Details': 'Relative Details',
'Relative added': 'Relative added',
'Relative deleted': 'Relative deleted',
'Relative updated': 'Relative updated',
'Relatives': 'Relatives',
'Relief': 'Relief',
'Relief Team': 'Relief Team',
'Religion': 'Religion',
'Religious': 'Religious',
'Religious Leader': 'Religious Leader',
'Relocate as instructed in the <instruction>': 'Relocate as instructed in the <instruction>',
'Remote Error': 'Remote Error',
'Remove': 'Remove',
'Remove Activity from this event': 'Remove Activity from this event',
'Remove Asset from this event': 'Remove Asset from this event',
'Remove Asset from this scenario': 'Remove Asset from this scenario',
'Remove Document from this request': 'Remove Document from this request',
'Remove Facility from this event': 'Remove Facility from this event',
'Remove Facility from this scenario': 'Remove Facility from this scenario',
'Remove Human Resource from this event': 'Remove Human Resource from this event',
'Remove Human Resource from this scenario': 'Remove Human Resource from this scenario',
'Remove Incident from this event': 'Remove Incident from this event',
'Remove Item from Inventory': 'Remove Item from Inventory',
'Remove Item from Order': 'Remove Item from Order',
'Remove Item from Shipment': 'Remove Item from Shipment',
'Remove Map Configuration from this event': 'Remove Map Configuration from this event',
'Remove Map Configuration from this scenario': 'Remove Map Configuration from this scenario',
'Remove Organization from Project': 'Remove Organisation from Project',
'Remove Person from Commitment': 'Remove Person from Commitment',
'Remove Skill': 'Remove Skill',
'Remove Skill from Request': 'Remove Skill from Request',
'Remove Task from this event': 'Remove Task from this event',
'Remove Task from this scenario': 'Remove Task from this scenario',
'Remove this asset from this event': 'Remove this asset from this event',
'Remove this asset from this scenario': 'Remove this asset from this scenario',
'Remove this facility from this event': 'Remove this facility from this event',
'Remove this facility from this scenario': 'Remove this facility from this scenario',
'Remove this human resource from this event': 'Remove this human resource from this event',
'Remove this human resource from this scenario': 'Remove this human resource from this scenario',
'Remove this task from this event': 'Remove this task from this event',
'Remove this task from this scenario': 'Remove this task from this scenario',
'Repair': 'Repair',
'Repaired': 'Repaired',
'Repeat your password': 'Repeat your password',
'Report': 'Report',
'Report Another Assessment...': 'Report Another Assessment...',
'Report Details': 'Report Details',
'Report Resource': 'Report Resource',
'Report To': 'Report To',
'Report Types Include': 'Report Types Include',
'Report added': 'Report added',
'Report deleted': 'Report deleted',
'Report my location': 'Report my location',
'Report the contributing factors for the current EMS status.': 'Report the contributing factors for the current EMS status.',
'Report the contributing factors for the current OR status.': 'Report the contributing factors for the current OR status.',
'Report them as found': 'Report them as found',
'Report them missing': 'Report them missing',
'Report updated': 'Report updated',
'ReportLab module not available within the running Python - this needs installing for PDF output!': 'ReportLab module not available within the running Python - this needs installing for PDF output!',
'Reported To': 'Reported To',
'Reporter': 'Reporter',
'Reporter Name': 'Reporter Name',
'Reporting on the projects in the region': 'Reporting on the projects in the region',
'Reports': 'Reports',
'Repositories': 'Repositories',
'Repository': 'Repository',
'Repository Base URL': 'Repository Base URL',
'Repository Configuration': 'Repository Configuration',
'Repository Name': 'Repository Name',
'Repository UUID': 'Repository UUID',
'Repository configuration deleted': 'Repository configuration deleted',
'Repository configuration updated': 'Repository configuration updated',
'Repository configured': 'Repository configured',
'Request': 'Request',
'Request Added': 'Request Added',
'Request Canceled': 'Request Canceled',
'Request Details': 'Request Details',
'Request From': 'Request From',
'Request Item': 'Request Item',
'Request Item Details': 'Request Item Details',
'Request Item added': 'Request Item added',
'Request Item deleted': 'Request Item deleted',
'Request Item from Available Inventory': 'Request Item from Available Inventory',
'Request Item updated': 'Request Item updated',
'Request Items': 'Request Items',
'Request New People': 'Request New People',
'Request Number': 'Request Number',
'Request Status': 'Request Status',
'Request Type': 'Request Type',
'Request Updated': 'Request Updated',
'Request added': 'Request added',
'Request deleted': 'Request deleted',
'Request for Account': 'Request for Account',
'Request for Donations Added': 'Request for Donations Added',
'Request for Donations Canceled': 'Request for Donations Canceled',
'Request for Donations Details': 'Request for Donations Details',
'Request for Donations Updated': 'Request for Donations Updated',
'Request for Role Upgrade': 'Request for Role Upgrade',
'Request for Volunteers Added': 'Request for Volunteers Added',
'Request for Volunteers Canceled': 'Request for Volunteers Canceled',
'Request for Volunteers Details': 'Request for Volunteers Details',
'Request for Volunteers Updated': 'Request for Volunteers Updated',
'Request updated': 'Request updated',
'Request, Response & Session': 'Request, Response & Session',
'Requested': 'Requested',
'Requested By': 'Requested By',
'Requested By Facility': 'Requested By Facility',
'Requested For': 'Requested For',
'Requested For Facility': 'Requested For Facility',
'Requested From': 'Requested From',
'Requested Items': 'Requested Items',
'Requested Skill Details': 'Requested Skill Details',
'Requested Skill updated': 'Requested Skill updated',
'Requested Skills': 'Requested Skills',
'Requester': 'Requester',
'Requests': 'Requests',
'Requests Management': 'Requests Management',
'Requests for Donations': 'Requests for Donations',
'Requests for Volunteers': 'Requests for Volunteers',
'Required Skills': 'Required Skills',
'Requires Login': 'Requires Login',
'Requires Login!': 'Requires Login!',
'Rescue and recovery': 'Rescue and recovery',
'Reset': 'Reset',
'Reset Password': 'Reset Password',
'Resolve': 'Resolve',
'Resolve link brings up a new screen which helps to resolve these duplicate records and update the database.': 'Resolve link brings up a new screen which helps to resolve these duplicate records and update the database.',
'Resource': 'Resource',
'Resource Configuration': 'Resource Configuration',
'Resource Details': 'Resource Details',
'Resource Mapping System': 'Resource Mapping System',
'Resource Mapping System account has been activated': 'Resource Mapping System account has been activated',
'Resource Name': 'Resource Name',
'Resource added': 'Resource added',
'Resource configuration deleted': 'Resource configuration deleted',
'Resource configuration updated': 'Resource configuration updated',
'Resource configured': 'Resource configured',
'Resource deleted': 'Resource deleted',
'Resource updated': 'Resource updated',
'Resources': 'Resources',
'Respiratory Infections': 'Respiratory Infections',
'Response': 'Response',
'Restricted Access': 'Restricted Access',
'Restricted Use': 'Restricted Use',
'Results': 'Results',
'Retail Crime': 'Retail Crime',
'Retrieve Password': 'Retrieve Password',
'Return': 'Return',
'Return to Request': 'Return to Request',
'Returned': 'Returned',
'Returned From': 'Returned From',
'Review Incoming Shipment to Receive': 'Review Incoming Shipment to Receive',
'Rice': 'Rice',
'Riot': 'Riot',
'River': 'River',
'River Details': 'River Details',
'River added': 'River added',
'River deleted': 'River deleted',
'River updated': 'River updated',
'Rivers': 'Rivers',
'Road Accident': 'Road Accident',
'Road Closed': 'Road Closed',
'Road Conditions': 'Road Conditions',
'Road Delay': 'Road Delay',
'Road Hijacking': 'Road Hijacking',
'Road Usage Condition': 'Road Usage Condition',
'Roads Layer': 'Roads Layer',
'Role': 'Role',
'Role Details': 'Role Details',
'Role Required': 'Role Required',
'Role Updated': 'Role Updated',
'Role added': 'Role added',
'Role deleted': 'Role deleted',
'Role updated': 'Role updated',
'Roles': 'Roles',
'Roles Permitted': 'Roles Permitted',
'Roof tile': 'Roof tile',
'Roofs, floors (vertical load)': 'Roofs, floors (vertical load)',
'Room': 'Room',
'Room Details': 'Room Details',
'Room added': 'Room added',
'Room deleted': 'Room deleted',
'Room updated': 'Room updated',
'Rooms': 'Rooms',
'Rows in table': 'Rows in table',
'Rows selected': 'Rows selected',
'Running Cost': 'Running Cost',
'Russian': 'Russian',
'SMS': 'SMS',
'SMS Modems (Inbound & Outbound)': 'SMS Modems (Inbound & Outbound)',
'SMS Outbound': 'SMS Outbound',
'SMS Settings': 'SMS Settings',
'SMS settings updated': 'SMS settings updated',
'SMTP to SMS settings updated': 'SMTP to SMS settings updated',
'Safe environment for vulnerable groups': 'Safe environment for vulnerable groups',
'Safety Assessment Form': 'Safety Assessment Form',
'Safety of children and women affected by disaster?': 'Safety of children and women affected by disaster?',
'Sahana Eden': 'Sahana Eden',
'Sahana Eden Humanitarian Management Platform': 'Sahana Eden Humanitarian Management Platform',
'Sahana Eden portable application generator': 'Sahana Eden portable application generator',
'Salted Fish': 'Salted Fish',
'Sanitation problems': 'Sanitation problems',
'Satellite': 'Satellite',
'Satellite Layer': 'Satellite Layer',
'Saturday': 'Saturday',
'Save': 'Save',
'Save Search': 'Save Search',
'Save: Default Lat, Lon & Zoom for the Viewport': 'Save: Default Lat, Lon & Zoom for the Viewport',
'Saved Search Details': 'Saved Search Details',
'Saved Search added': 'Saved Search added',
'Saved Search deleted': 'Saved Search deleted',
'Saved Search updated': 'Saved Search updated',
'Saved Searches': 'Saved Searches',
'Saved.': 'Saved.',
'Saving...': 'Saving...',
'Scale of Results': 'Scale of Results',
'Scanned Copy': 'Scanned Copy',
'Scanned Forms Upload': 'Scanned Forms Upload',
'Scenario': 'Scenario',
'Scenario Details': 'Scenario Details',
'Scenario added': 'Scenario added',
'Scenario deleted': 'Scenario deleted',
'Scenario updated': 'Scenario updated',
'Scenarios': 'Scenarios',
'Schedule': 'Schedule',
'Schedule synchronization jobs': 'Schedule synchronisation jobs',
'Schema': 'Schema',
'School': 'School',
'School Closure': 'School Closure',
'School Lockdown': 'School Lockdown',
'School Teacher': 'School Teacher',
'School activities': 'School activities',
'School assistance': 'School assistance',
'School attendance': 'School attendance',
'School destroyed': 'School destroyed',
'School heavily damaged': 'School heavily damaged',
'School tents received': 'School tents received',
'School tents, source': 'School tents, source',
'School used for other purpose': 'School used for other purpose',
'School/studying': 'School/studying',
'Search': 'Search',
'Search Activities': 'Search Activities',
'Search Activity Report': 'Search Activity Report',
'Search Addresses': 'Search Addresses',
'Search Alternative Items': 'Search Alternative Items',
'Search Assessment Summaries': 'Search Assessment Summaries',
'Search Assessments': 'Search Assessments',
'Search Asset Log': 'Search Asset Log',
'Search Assets': 'Search Assets',
'Search Baseline Type': 'Search Baseline Type',
'Search Baselines': 'Search Baselines',
'Search Brands': 'Search Brands',
'Search Budgets': 'Search Budgets',
'Search Bundles': 'Search Bundles',
'Search Camp Services': 'Search Camp Services',
'Search Camp Types': 'Search Camp Types',
'Search Camps': 'Search Camps',
'Search Catalog Items': 'Search Catalogue Items',
'Search Catalogs': 'Search Catalogues',
'Search Certificates': 'Search Certificates',
'Search Certifications': 'Search Certifications',
'Search Checklists': 'Search Checklists',
'Search Cluster Subsectors': 'Search Cluster Subsectors',
'Search Clusters': 'Search Clusters',
'Search Commitment Items': 'Search Commitment Items',
'Search Commitments': 'Search Commitments',
'Search Committed People': 'Search Committed People',
'Search Competency Ratings': 'Search Competency Ratings',
'Search Contact Information': 'Search Contact Information',
'Search Contacts': 'Search Contacts',
'Search Course Certificates': 'Search Course Certificates',
'Search Courses': 'Search Courses',
'Search Credentials': 'Search Credentials',
'Search Criteria': 'Search Criteria',
'Search Documents': 'Search Documents',
'Search Donors': 'Search Donors',
'Search Entries': 'Search Entries',
'Search Events': 'Search Events',
'Search Facilities': 'Search Facilities',
'Search Feature Class': 'Search Feature Class',
'Search Feature Layers': 'Search Feature Layers',
'Search Flood Reports': 'Search Flood Reports',
'Search GPS data': 'Search GPS data',
'Search Geonames': 'Search Geonames',
'Search Groups': 'Search Groups',
'Search Homes': 'Search Homes',
'Search Human Resources': 'Search Human Resources',
'Search Identity': 'Search Identity',
'Search Images': 'Search Images',
'Search Impact Type': 'Search Impact Type',
'Search Impacts': 'Search Impacts',
'Search Import Files': 'Search Import Files',
'Search Incident Reports': 'Search Incident Reports',
'Search Incidents': 'Search Incidents',
'Search Inventory Items': 'Search Inventory Items',
'Search Inventory items': 'Search Inventory items',
'Search Item Categories': 'Search Item Categories',
'Search Item Packs': 'Search Item Packs',
'Search Items': 'Search Items',
'Search Job Roles': 'Search Job Roles',
'Search Kits': 'Search Kits',
'Search Layers': 'Search Layers',
'Search Level': 'Search Level',
'Search Level 1 Assessments': 'Search Level 1 Assessments',
'Search Level 2 Assessments': 'Search Level 2 Assessments',
'Search Locations': 'Search Locations',
'Search Log Entry': 'Search Log Entry',
'Search Map Configurations': 'Search Map Configurations',
'Search Markers': 'Search Markers',
'Search Member': 'Search Member',
'Search Membership': 'Search Membership',
'Search Memberships': 'Search Memberships',
'Search Missions': 'Search Missions',
'Search Need Type': 'Search Need Type',
'Search Needs': 'Search Needs',
'Search Offices': 'Search Offices',
'Search Order Items': 'Search Order Items',
'Search Orders': 'Search Orders',
'Search Organization Domains': 'Search Organisation Domains',
'Search Organizations': 'Search Organisations',
'Search Patients': 'Search Patients',
'Search Personal Effects': 'Search Personal Effects',
'Search Persons': 'Search Persons',
'Search Photos': 'Search Photos',
'Search Population Statistics': 'Search Population Statistics',
'Search Positions': 'Search Positions',
'Search Problems': 'Search Problems',
'Search Project Organizations': 'Search Project Organisations',
'Search Projections': 'Search Projections',
'Search Projects': 'Search Projects',
'Search Rapid Assessments': 'Search Rapid Assessments',
'Search Received Items': 'Search Received Items',
'Search Received Shipments': 'Search Received Shipments',
'Search Records': 'Search Records',
'Search Registations': 'Search Registations',
'Search Relatives': 'Search Relatives',
'Search Report': 'Search Report',
'Search Request': 'Search Request',
'Search Request Items': 'Search Request Items',
'Search Requested Items': 'Search Requested Items',
'Search Requested Skills': 'Search Requested Skills',
'Search Requests': 'Search Requests',
'Search Requests for Donations': 'Search Requests for Donations',
'Search Requests for Volunteers': 'Search Requests for Volunteers',
'Search Resources': 'Search Resources',
'Search Rivers': 'Search Rivers',
'Search Roles': 'Search Roles',
'Search Rooms': 'Search Rooms',
'Search Saved Searches': 'Search Saved Searches',
'Search Scenarios': 'Search Scenarios',
'Search Sections': 'Search Sections',
'Search Sectors': 'Search Sectors',
'Search Sent Items': 'Search Sent Items',
'Search Sent Shipments': 'Search Sent Shipments',
'Search Service Profiles': 'Search Service Profiles',
'Search Settings': 'Search Settings',
'Search Shelter Services': 'Search Shelter Services',
'Search Shelter Types': 'Search Shelter Types',
'Search Shelters': 'Search Shelters',
'Search Skill Equivalences': 'Search Skill Equivalences',
'Search Skill Provisions': 'Search Skill Provisions',
'Search Skill Types': 'Search Skill Types',
'Search Skills': 'Search Skills',
'Search Solutions': 'Search Solutions',
'Search Staff Types': 'Search Staff Types',
'Search Staff or Volunteer': 'Search Staff or Volunteer',
'Search Status': 'Search Status',
'Search Subscriptions': 'Search Subscriptions',
'Search Subsectors': 'Search Subsectors',
'Search Support Requests': 'Search Support Requests',
'Search Tasks': 'Search Tasks',
'Search Teams': 'Search Teams',
'Search Themes': 'Search Themes',
'Search Tickets': 'Search Tickets',
'Search Trainings': 'Search Trainings',
'Search Twitter Tags': 'Search Twitter Tags',
'Search Units': 'Search Units',
'Search Users': 'Search Users',
'Search Vehicle Details': 'Search Vehicle Details',
'Search Vehicles': 'Search Vehicles',
'Search Volunteer Availability': 'Search Volunteer Availability',
'Search Warehouses': 'Search Warehouses',
'Search and Edit Group': 'Search and Edit Group',
'Search and Edit Individual': 'Search and Edit Individual',
'Search by organization.': 'Search by organisation.',
'Search for Job': 'Search for Job',
'Search for Repository': 'Search for Repository',
'Search for Resource': 'Search for Resource',
'Search for Staff or Volunteers': 'Search for Staff or Volunteers',
'Search for a Location by name, including local names.': 'Search for a Location by name, including local names.',
'Search for a Person': 'Search for a Person',
'Search for a Project': 'Search for a Project',
'Search for a shipment by looking for text in any field.': 'Search for a shipment by looking for text in any field.',
'Search for a shipment received between these dates': 'Search for a shipment received between these dates',
'Search for a vehicle by text.': 'Search for a vehicle by text.',
'Search for an Organization by name or acronym': 'Search for an Organisation by name or acronym',
'Search for an Organization by name or acronym.': 'Search for an Organisation by name or acronym.',
'Search for an asset by text.': 'Search for an asset by text.',
'Search for an item by Year of Manufacture.': 'Search for an item by Year of Manufacture.',
'Search for an item by brand.': 'Search for an item by brand.',
'Search for an item by catalog.': 'Search for an item by catalogue.',
'Search for an item by category.': 'Search for an item by category.',
'Search for an item by its code, name, model and/or comment.': 'Search for an item by its code, name, model and/or comment.',
'Search for an item by text.': 'Search for an item by text.',
'Search for an order by looking for text in any field.': 'Search for an order by looking for text in any field.',
'Search for an order expected between these dates': 'Search for an order expected between these dates',
'Search for asset by location.': 'Search for asset by location.',
'Search for office by location.': 'Search for office by location.',
'Search for office by organization.': 'Search for office by organisation.',
'Search for office by text.': 'Search for office by text.',
'Search for vehicle by location.': 'Search for vehicle by location.',
'Search for warehouse by location.': 'Search for warehouse by location.',
'Search for warehouse by organization.': 'Search for warehouse by organisation.',
'Search for warehouse by text.': 'Search for warehouse by text.',
'Search here for a person record in order to:': 'Search here for a person record in order to:',
'Search messages': 'Search messages',
'Searching for different groups and individuals': 'Searching for different groups and individuals',
'Secondary Server (Optional)': 'Secondary Server (Optional)',
'Seconds must be a number between 0 and 60': 'Seconds must be a number between 0 and 60',
'Section': 'Section',
'Section Details': 'Section Details',
'Section deleted': 'Section deleted',
'Section updated': 'Section updated',
'Sections': 'Sections',
'Sections that are part of this template': 'Sections that are part of this template',
'Sections that can be selected': 'Sections that can be selected',
'Sector': 'Sector',
'Sector Details': 'Sector Details',
'Sector added': 'Sector added',
'Sector deleted': 'Sector deleted',
'Sector updated': 'Sector updated',
'Sector(s)': 'Sector(s)',
'Sectors': 'Sectors',
'Security Required': 'Security Required',
'Security Status': 'Security Status',
'Security problems': 'Security problems',
'See All Entries': 'See All Entries',
'See a detailed description of the module on the Sahana Eden wiki': 'See a detailed description of the module on the Sahana Eden wiki',
'See all': 'See all',
'See the universally unique identifier (UUID) of this repository': 'See the universally unique identifier (UUID) of this repository',
'See unassigned recovery requests': 'See unassigned recovery requests',
'Select Existing Location': 'Select Existing Location',
'Select Items from the Request': 'Select Items from the Request',
'Select Items from this Inventory': 'Select Items from this Inventory',
'Select This Location': 'Select This Location',
"Select a Room from the list or click 'Add Room'": "Select a Room from the list or click 'Add Room'",
'Select a location': 'Select a location',
"Select a manager for status 'assigned'": "Select a manager for status 'assigned'",
'Select a range for the number of total beds': 'Select a range for the number of total beds',
'Select all that apply': 'Select all that apply',
'Select an Organization to see a list of offices': 'Select an Organisation to see a list of offices',
'Select the overlays for Assessments and Activities relating to each Need to identify the gap.': 'Select the overlays for Assessments and Activities relating to each Need to identify the gap.',
'Select the person assigned to this role for this project.': 'Select the person assigned to this role for this project.',
"Select this if all specific locations need a parent at the deepest level of the location hierarchy. For example, if 'district' is the smallest division in the hierarchy, then all specific locations would be required to have a district as a parent.": "Select this if all specific locations need a parent at the deepest level of the location hierarchy. For example, if 'district' is the smallest division in the hierarchy, then all specific locations would be required to have a district as a parent.",
"Select this if all specific locations need a parent location in the location hierarchy. This can assist in setting up a 'region' representing an affected area.": "Select this if all specific locations need a parent location in the location hierarchy. This can assist in setting up a 'region' representing an affected area.",
'Select to show this configuration in the menu.': 'Select to show this configuration in the menu.',
'Selected Answers': 'Selected Answers',
'Selected Jobs': 'Selected Jobs',
'Selects what type of gateway to use for outbound SMS': 'Selects what type of gateway to use for outbound SMS',
'Send': 'Send',
'Send Alerts using Email &/or SMS': 'Send Alerts using Email &/or SMS',
'Send Commitment as Shipment': 'Send Commitment as Shipment',
'Send New Shipment': 'Send New Shipment',
'Send Notification': 'Send Notification',
'Send Shipment': 'Send Shipment',
'Send a message to this person': 'Send a message to this person',
'Send from %s': 'Send from %s',
'Send message': 'Send message',
'Send new message': 'Send new message',
'Sends & Receives Alerts via Email & SMS': 'Sends & Receives Alerts via Email & SMS',
'Senior (50+)': 'Senior (50+)',
'Sent': 'Sent',
'Sent By': 'Sent By',
'Sent By Person': 'Sent By Person',
'Sent Item Details': 'Sent Item Details',
'Sent Item deleted': 'Sent Item deleted',
'Sent Item updated': 'Sent Item updated',
'Sent Shipment Details': 'Sent Shipment Details',
'Sent Shipment canceled': 'Sent Shipment canceled',
'Sent Shipment canceled and items returned to Inventory': 'Sent Shipment canceled and items returned to Inventory',
'Sent Shipment updated': 'Sent Shipment updated',
'Sent Shipments': 'Sent Shipments',
'Separated children, caregiving arrangements': 'Separated children, caregiving arrangements',
'Serial Number': 'Serial Number',
'Series': 'Series',
'Series Analysis': 'Series Analysis',
'Series Details': 'Series Details',
'Series Map': 'Series Map',
'Series Summary': 'Series Summary',
'Server': 'Server',
'Service Catalog': 'Service Catalogue',
'Service Due': 'Service Due',
'Service or Facility': 'Service or Facility',
'Service profile added': 'Service profile added',
'Service profile deleted': 'Service profile deleted',
'Service profile updated': 'Service profile updated',
'Services': 'Services',
'Services Available': 'Services Available',
'Set Base Site': 'Set Base Site',
'Set By': 'Set By',
'Set True to allow editing this level of the location hierarchy by users who are not MapAdmins.': 'Set True to allow editing this level of the location hierarchy by users who are not MapAdmins.',
'Setting Details': 'Setting Details',
'Setting added': 'Setting added',
'Setting deleted': 'Setting deleted',
'Setting updated': 'Setting updated',
'Settings': 'Settings',
'Settings updated': 'Settings updated',
'Settings were reset because authenticating with Twitter failed': 'Settings were reset because authenticating with Twitter failed',
'Settings which can be configured through the web interface are available here.': 'Settings which can be configured through the web interface are available here.',
'Severe': 'Severe',
'Severity': 'Severity',
'Share a common Marker (unless over-ridden at the Feature level)': 'Share a common Marker (unless over-ridden at the Feature level)',
'Shelter': 'Shelter',
'Shelter & Essential NFIs': 'Shelter & Essential NFIs',
'Shelter Details': 'Shelter Details',
'Shelter Name': 'Shelter Name',
'Shelter Registry': 'Shelter Registry',
'Shelter Service': 'Shelter Service',
'Shelter Service Details': 'Shelter Service Details',
'Shelter Service added': 'Shelter Service added',
'Shelter Service deleted': 'Shelter Service deleted',
'Shelter Service updated': 'Shelter Service updated',
'Shelter Services': 'Shelter Services',
'Shelter Type': 'Shelter Type',
'Shelter Type Details': 'Shelter Type Details',
'Shelter Type added': 'Shelter Type added',
'Shelter Type deleted': 'Shelter Type deleted',
'Shelter Type updated': 'Shelter Type updated',
'Shelter Types': 'Shelter Types',
'Shelter Types and Services': 'Shelter Types and Services',
'Shelter added': 'Shelter added',
'Shelter deleted': 'Shelter deleted',
'Shelter updated': 'Shelter updated',
'Shelter/NFI Assistance': 'Shelter/NFI Assistance',
'Shelters': 'Shelters',
'Shipment Created': 'Shipment Created',
'Shipment Items': 'Shipment Items',
'Shipment Items received by Inventory': 'Shipment Items received by Inventory',
'Shipment Items sent from Inventory': 'Shipment Items sent from Inventory',
'Shipment to Send': 'Shipment to Send',
'Shipments': 'Shipments',
'Shipments To': 'Shipments To',
'Shooting': 'Shooting',
'Short Assessment': 'Short Assessment',
'Short Description': 'Short Description',
'Show Checklist': 'Show Checklist',
'Show Map': 'Show Map',
'Show in Menu?': 'Show in Menu?',
'Show on Map': 'Show on Map',
'Show on map': 'Show on map',
'Show selected answers': 'Show selected answers',
'Showing latest entries first': 'Showing latest entries first',
'Sign-up for Account': 'Sign-up for Account',
'Single PDF File': 'Single PDF File',
'Site': 'Site',
'Site Administration': 'Site Administration',
'Sites': 'Sites',
'Situation Awareness & Geospatial Analysis': 'Situation Awareness & Geospatial Analysis',
'Sketch': 'Sketch',
'Skill': 'Skill',
'Skill Catalog': 'Skill Catalogue',
'Skill Details': 'Skill Details',
'Skill Equivalence': 'Skill Equivalence',
'Skill Equivalence Details': 'Skill Equivalence Details',
'Skill Equivalence added': 'Skill Equivalence added',
'Skill Equivalence deleted': 'Skill Equivalence deleted',
'Skill Equivalence updated': 'Skill Equivalence updated',
'Skill Equivalences': 'Skill Equivalences',
'Skill Provision': 'Skill Provision',
'Skill Provision Catalog': 'Skill Provision Catalogue',
'Skill Provision Details': 'Skill Provision Details',
'Skill Provision added': 'Skill Provision added',
'Skill Provision deleted': 'Skill Provision deleted',
'Skill Provision updated': 'Skill Provision updated',
'Skill Provisions': 'Skill Provisions',
'Skill Type': 'Skill Type',
'Skill Type Catalog': 'Skill Type Catalogue',
'Skill Type added': 'Skill Type added',
'Skill Type deleted': 'Skill Type deleted',
'Skill Type updated': 'Skill Type updated',
'Skill Types': 'Skill Types',
'Skill added': 'Skill added',
'Skill added to Request': 'Skill added to Request',
'Skill deleted': 'Skill deleted',
'Skill removed': 'Skill removed',
'Skill removed from Request': 'Skill removed from Request',
'Skill updated': 'Skill updated',
'Skills': 'Skills',
'Skills Catalog': 'Skills Catalogue',
'Skills Management': 'Skills Management',
'Skype ID': 'Skype ID',
'Slope failure, debris': 'Slope failure, debris',
'Small Trade': 'Small Trade',
'Smoke': 'Smoke',
'Snapshot': 'Snapshot',
'Snapshot Report': 'Snapshot Report',
'Snow Fall': 'Snow Fall',
'Snow Squall': 'Snow Squall',
'Soil bulging, liquefaction': 'Soil bulging, liquefaction',
'Solid waste': 'Solid waste',
'Solution': 'Solution',
'Solution Details': 'Solution Details',
'Solution Item': 'Solution Item',
'Solution added': 'Solution added',
'Solution deleted': 'Solution deleted',
'Solution updated': 'Solution updated',
'Solutions': 'Solutions',
'Some': 'Some',
'Sorry - the server has a problem, please try again later.': 'Sorry - the server has a problem, please try again later.',
'Sorry that location appears to be outside the area of the Parent.': 'Sorry that location appears to be outside the area of the Parent.',
'Sorry that location appears to be outside the area supported by this deployment.': 'Sorry that location appears to be outside the area supported by this deployment.',
'Sorry, I could not understand your request': 'Sorry, I could not understand your request',
'Sorry, only users with the MapAdmin role are allowed to create location groups.': 'Sorry, only users with the MapAdmin role are allowed to create location groups.',
'Sorry, only users with the MapAdmin role are allowed to edit these locations': 'Sorry, only users with the MapAdmin role are allowed to edit these locations',
'Sorry, something went wrong.': 'Sorry, something went wrong.',
'Sorry, that page is forbidden for some reason.': 'Sorry, that page is forbidden for some reason.',
'Sorry, that service is temporary unavailable.': 'Sorry, that service is temporary unavailable.',
'Sorry, there are no addresses to display': 'Sorry, there are no addresses to display',
"Sorry, things didn't get done on time.": "Sorry, things didn't get done on time.",
"Sorry, we couldn't find that page.": "Sorry, we couldn't find that page.",
'Source': 'Source',
'Source ID': 'Source ID',
'Source Time': 'Source Time',
'Sources of income': 'Sources of income',
'Space Debris': 'Space Debris',
'Spanish': 'Spanish',
'Special Ice': 'Special Ice',
'Special Marine': 'Special Marine',
'Specialized Hospital': 'Specialized Hospital',
'Specific Area (e.g. Building/Room) within the Location that this Person/Group is seen.': 'Specific Area (e.g. Building/Room) within the Location that this Person/Group is seen.',
'Specific locations need to have a parent of level': 'Specific locations need to have a parent of level',
'Specify a descriptive title for the image.': 'Specify a descriptive title for the image.',
'Specify the bed type of this unit.': 'Specify the bed type of this unit.',
'Specify the number of available sets': 'Specify the number of available sets',
'Specify the number of available units (adult doses)': 'Specify the number of available units (adult doses)',
'Specify the number of available units (litres) of Ringer-Lactate or equivalent solutions': 'Specify the number of available units (litres) of Ringer-Lactate or equivalent solutions',
'Specify the number of sets needed per 24h': 'Specify the number of sets needed per 24h',
'Specify the number of units (adult doses) needed per 24h': 'Specify the number of units (adult doses) needed per 24h',
'Specify the number of units (litres) of Ringer-Lactate or equivalent solutions needed per 24h': 'Specify the number of units (litres) of Ringer-Lactate or equivalent solutions needed per 24h',
'Speed': 'Speed',
'Spherical Mercator?': 'Spherical Mercator?',
'Spreadsheet Importer': 'Spreadsheet Importer',
'Spreadsheet uploaded': 'Spreadsheet uploaded',
'Spring': 'Spring',
'Squall': 'Squall',
'Staff': 'Staff',
'Staff & Volunteers': 'Staff & Volunteers',
'Staff ID': 'Staff ID',
'Staff Member Details': 'Staff Member Details',
'Staff Members': 'Staff Members',
'Staff Record': 'Staff Record',
'Staff Type Details': 'Staff Type Details',
'Staff Type added': 'Staff Type added',
'Staff Type deleted': 'Staff Type deleted',
'Staff Type updated': 'Staff Type updated',
'Staff Types': 'Staff Types',
'Staff and Volunteers': 'Staff and Volunteers',
'Staff and volunteers': 'Staff and volunteers',
'Staff member added': 'Staff member added',
'Staff present and caring for residents': 'Staff present and caring for residents',
'Staff2': 'Staff2',
'Staffing': 'Staffing',
'Stairs': 'Stairs',
'Start Date': 'Start Date',
'Start date': 'Start date',
'Start date and end date should have valid date values': 'Start date and end date should have valid date values',
'State': 'State',
'Stationery': 'Stationery',
'Status': 'Status',
'Status Report': 'Status Report',
'Status Updated': 'Status Updated',
'Status added': 'Status added',
'Status deleted': 'Status deleted',
'Status of clinical operation of the facility.': 'Status of clinical operation of the facility.',
'Status of general operation of the facility.': 'Status of general operation of the facility.',
'Status of morgue capacity.': 'Status of morgue capacity.',
'Status of operations of the emergency department of this hospital.': 'Status of operations of the emergency department of this hospital.',
'Status of security procedures/access restrictions in the hospital.': 'Status of security procedures/access restrictions in the hospital.',
'Status of the operating rooms of this hospital.': 'Status of the operating rooms of this hospital.',
'Status updated': 'Status updated',
'Steel frame': 'Steel frame',
'Stolen': 'Stolen',
'Store spreadsheets in the Eden database': 'Store spreadsheets in the Eden database',
'Storeys at and above ground level': 'Storeys at and above ground level',
'Storm Force Wind': 'Storm Force Wind',
'Storm Surge': 'Storm Surge',
'Stowaway': 'Stowaway',
'Strategy': 'Strategy',
'Street Address': 'Street Address',
'Streetview Enabled?': 'Streetview Enabled?',
'Strong Wind': 'Strong Wind',
'Structural': 'Structural',
'Structural Hazards': 'Structural Hazards',
'Style': 'Style',
'Style Field': 'Style Field',
'Style Values': 'Style Values',
'Subject': 'Subject',
'Submission successful - please wait': 'Submission successful - please wait',
'Submit': 'Submit',
'Submit New': 'Submit New',
'Submit New (full form)': 'Submit New (full form)',
'Submit New (triage)': 'Submit New (triage)',
'Submit a request for recovery': 'Submit a request for recovery',
'Submit new Level 1 assessment (full form)': 'Submit new Level 1 assessment (full form)',
'Submit new Level 1 assessment (triage)': 'Submit new Level 1 assessment (triage)',
'Submit new Level 2 assessment': 'Submit new Level 2 assessment',
'Subscribe': 'Subscribe',
'Subscription Details': 'Subscription Details',
'Subscription added': 'Subscription added',
'Subscription deleted': 'Subscription deleted',
'Subscription updated': 'Subscription updated',
'Subscriptions': 'Subscriptions',
'Subsector': 'Subsector',
'Subsector Details': 'Subsector Details',
'Subsector added': 'Subsector added',
'Subsector deleted': 'Subsector deleted',
'Subsector updated': 'Subsector updated',
'Subsectors': 'Subsectors',
'Subsistence Cost': 'Subsistence Cost',
'Suburb': 'Suburb',
'Suggest not changing this field unless you know what you are doing.': 'Suggest not changing this field unless you know what you are doing.',
'Summary': 'Summary',
'Summary by Administration Level': 'Summary by Administration Level',
'Summary by Question Type': 'Summary by Question Type',
'Summary of Responses within Series': 'Summary of Responses within Series',
'Sunday': 'Sunday',
'Supply Chain Management': 'Supply Chain Management',
'Supply Item Categories': 'Supply Item Categories',
'Support Request': 'Support Request',
'Support Requests': 'Support Requests',
'Supports the decision making of large groups of Crisis Management Experts by helping the groups create ranked list.': 'Supports the decision making of large groups of Crisis Management Experts by helping the groups create ranked list.',
'Surgery': 'Surgery',
'Survey Module': 'Survey Module',
'Surveys': 'Surveys',
'Symbology': 'Symbology',
'Synchronization': 'Synchronisation',
'Synchronization Job': 'Synchronisation Job',
'Synchronization Log': 'Synchronisation Log',
'Synchronization Schedule': 'Synchronisation Schedule',
'Synchronization Settings': 'Synchronisation Settings',
'Synchronization mode': 'Synchronisation mode',
'Synchronization settings updated': 'Synchronisation settings updated',
'Synchronize now': 'Synchronise now',
"System's Twitter account updated": "System's Twitter account updated",
'Table name of the resource to synchronize': 'Table name of the resource to synchronise',
'Tags': 'Tags',
'Take shelter in place or per <instruction>': 'Take shelter in place or per <instruction>',
'Task': 'Task',
'Task Details': 'Task Details',
'Task List': 'Task List',
'Task Status': 'Task Status',
'Task added': 'Task added',
'Task deleted': 'Task deleted',
'Task removed': 'Task removed',
'Task updated': 'Task updated',
'Tasks': 'Tasks',
'Team Description': 'Team Description',
'Team Details': 'Team Details',
'Team ID': 'Team ID',
'Team Leader': 'Team Leader',
'Team Member added': 'Team Member added',
'Team Members': 'Team Members',
'Team Name': 'Team Name',
'Team Type': 'Team Type',
'Team added': 'Team added',
'Team deleted': 'Team deleted',
'Team updated': 'Team updated',
'Teams': 'Teams',
'Technical testing only, all recipients disregard': 'Technical testing only, all recipients disregard',
'Telecommunications': 'Telecommunications',
'Telephone': 'Telephone',
'Telephone Details': 'Telephone Details',
'Telephony': 'Telephony',
'Tells GeoServer to do MetaTiling which reduces the number of duplicate labels.': 'Tells GeoServer to do MetaTiling which reduces the number of duplicate labels.',
'Temp folder %s not writable - unable to apply theme!': 'Temp folder %s not writable - unable to apply theme!',
'Template': 'Template',
'Template Name': 'Template Name',
'Template Section Details': 'Template Section Details',
'Template Section added': 'Template Section added',
'Template Section deleted': 'Template Section deleted',
'Template Section updated': 'Template Section updated',
'Template Sections': 'Template Sections',
'Template Summary': 'Template Summary',
'Template file %s not readable - unable to apply theme!': 'Template file %s not readable - unable to apply theme!',
'Templates': 'Templates',
'Term for the fifth-level within-country administrative division (e.g. a voting or postcode subdivision). This level is not often used.': 'Term for the fifth-level within-country administrative division (e.g. a voting or postcode subdivision). This level is not often used.',
'Term for the fourth-level within-country administrative division (e.g. Village, Neighborhood or Precinct).': 'Term for the fourth-level within-country administrative division (e.g. Village, Neighborhood or Precinct).',
'Term for the primary within-country administrative division (e.g. State or Province).': 'Term for the primary within-country administrative division (e.g. State or Province).',
'Term for the secondary within-country administrative division (e.g. District or County).': 'Term for the secondary within-country administrative division (e.g. District or County).',
'Term for the third-level within-country administrative division (e.g. City or Town).': 'Term for the third-level within-country administrative division (e.g. City or Town).',
'Term for the top-level administrative division (i.e. Country).': 'Term for the top-level administrative division (i.e. Country).',
'Terms of Service\n\nYou have to be eighteen or over to register as a volunteer.': 'Terms of Service\n\nYou have to be eighteen or over to register as a volunteer.',
'Terms of Service:': 'Terms of Service:',
'Territorial Authority': 'Territorial Authority',
'Terrorism': 'Terrorism',
'Tertiary Server (Optional)': 'Tertiary Server (Optional)',
'Text': 'Text',
'Text Color for Text blocks': 'Text Colour for Text blocks',
'Thank you for validating your email. Your user account is still pending for approval by the system administator (%s).You will get a notification by email when your account is activated.': 'Thank you for validating your email. Your user account is still pending for approval by the system administator (%s).You will get a notification by email when your account is activated.',
'Thanks for your assistance': 'Thanks for your assistance',
'The': 'The',
'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1 == db.table2.field2" results in a SQL JOIN.': 'The "query" is a condition like "db.table1.field1==\'value\'". Something like "db.table1.field1 == db.table2.field2" results in a SQL JOIN.',
'The Area which this Site is located within.': 'The Area which this Site is located within.',
'The Assessment Module stores assessment templates and allows responses to assessments for specific events to be collected and analysed': 'The Assessment Module stores assessment templates and allows responses to assessments for specific events to be collected and analysed',
'The Assessments module allows field workers to send in assessments.': 'The Assessments module allows field workers to send in assessments.',
'The Author of this Document (optional)': 'The Author of this Document (optional)',
'The Building Asssesments module allows building safety to be assessed, e.g. after an Earthquake.': 'The Building Asssesments module allows building safety to be assessed, e.g. after an Earthquake.',
'The Camp this Request is from': 'The Camp this Request is from',
'The Camp this person is checking into.': 'The Camp this person is checking into.',
'The Current Location of the Person/Group, which can be general (for Reporting) or precise (for displaying on a Map). Enter a few characters to search from available locations.': 'The Current Location of the Person/Group, which can be general (for Reporting) or precise (for displaying on a Map). Enter a few characters to search from available locations.',
"The Donor(s) for this project. Multiple values can be selected by holding down the 'Control' key.": "The Donor(s) for this project. Multiple values can be selected by holding down the 'Control' key.",
'The Email Address to which approval requests are sent (normally this would be a Group mail rather than an individual). If the field is blank then requests are approved automatically if the domain matches.': 'The Email Address to which approval requests are sent (normally this would be a Group mail rather than an individual). If the field is blank then requests are approved automatically if the domain matches.',
'The Incident Reporting System allows the General Public to Report Incidents & have these Tracked.': 'The Incident Reporting System allows the General Public to Report Incidents & have these Tracked.',
'The Location the Person has come from, which can be general (for Reporting) or precise (for displaying on a Map). Enter a few characters to search from available locations.': 'The Location the Person has come from, which can be general (for Reporting) or precise (for displaying on a Map). Enter a few characters to search from available locations.',
'The Location the Person is going to, which can be general (for Reporting) or precise (for displaying on a Map). Enter a few characters to search from available locations.': 'The Location the Person is going to, which can be general (for Reporting) or precise (for displaying on a Map). Enter a few characters to search from available locations.',
'The Media Library provides a catalog of digital media.': 'The Media Library provides a catalogue of digital media.',
'The Messaging Module is the main communications hub of the Sahana system. It is used to send alerts and/or messages using SMS & Email to various groups and individuals before, during and after a disaster.': 'The Messaging Module is the main communications hub of the Sahana system. It is used to send alerts and/or messages using SMS & Email to various groups and individuals before, during and after a disaster.',
'The Organization Registry keeps track of all the relief organizations working in the area.': 'The Organisation Registry keeps track of all the relief organisations working in the area.',
'The Patient Tracking system keeps track of all the evacuated patients & their relatives.': 'The Patient Tracking system keeps track of all the evacuated patients & their relatives.',
"The Project Tool can be used to record project Information and generate Who's Doing What Where Reports.": "The Project Tool can be used to record project Information and generate Who's Doing What Where Reports.",
'The Project Tracking module allows the creation of Activities to meet Gaps in Needs Assessments.': 'The Project Tracking module allows the creation of Activities to meet Gaps in Needs Assessments.',
'The Role this person plays within this hospital.': 'The Role this person plays within this hospital.',
'The Shelter Registry tracks all shelters and stores basic details regarding them. It collaborates with other modules to track people associated with a shelter, the services available etc.': 'The Shelter Registry tracks all shelters and stores basic details regarding them. It collaborates with other modules to track people associated with a shelter, the services available etc.',
'The Shelter this Request is from': 'The Shelter this Request is from',
'The Shelter this person is checking into.': 'The Shelter this person is checking into.',
'The URL for the GetCapabilities page of a Web Map Service (WMS) whose layers you want available via the Browser panel on the Map.': 'The URL for the GetCapabilities page of a Web Map Service (WMS) whose layers you want available via the Browser panel on the Map.',
"The URL of the image file. If you don't upload an image file, then you must specify its location here.": "The URL of the image file. If you don't upload an image file, then you must specify its location here.",
'The URL of your web gateway without the post parameters': 'The URL of your web gateway without the post parameters',
'The URL to access the service.': 'The URL to access the service.',
'The Unique Identifier (UUID) as assigned to this facility by the government.': 'The Unique Identifier (UUID) as assigned to this facility by the government.',
'The area is': 'The area is',
'The asset must be assigned to a site OR location.': 'The asset must be assigned to a site OR location.',
'The attribute which is used for the title of popups.': 'The attribute which is used for the title of popups.',
'The attribute within the KML which is used for the title of popups.': 'The attribute within the KML which is used for the title of popups.',
'The attribute(s) within the KML which are used for the body of popups. (Use a space between attributes)': 'The attribute(s) within the KML which are used for the body of popups. (Use a space between attributes)',
'The body height (crown to heel) in cm.': 'The body height (crown to heel) in cm.',
'The country the person usually lives in.': 'The country the person usually lives in.',
'The default Facility for which this person is acting.': 'The default Facility for which this person is acting.',
'The default Facility for which you are acting.': 'The default Facility for which you are acting.',
'The default Organization for whom this person is acting.': 'The default Organisation for whom this person is acting.',
'The default Organization for whom you are acting.': 'The default Organisation for whom you are acting.',
'The duplicate record will be deleted': 'The duplicate record will be deleted',
'The first or only name of the person (mandatory).': 'The first or only name of the person (mandatory).',
'The form of the URL is http://your/web/map/service?service=WMS&request=GetCapabilities where your/web/map/service stands for the URL path to the WMS.': 'The form of the URL is http://your/web/map/service?service=WMS&request=GetCapabilities where your/web/map/service stands for the URL path to the WMS.',
'The language you wish the site to be displayed in.': 'The language you wish the site to be displayed in.',
'The length is': 'The length is',
'The level at which Searches are filtered.': 'The level at which Searches are filtered.',
'The list of Brands are maintained by the Administrators.': 'The list of Brands are maintained by the Administrators.',
'The list of Catalogs are maintained by the Administrators.': 'The list of Catalogues are maintained by the Administrators.',
'The map will be displayed initially with this latitude at the center.': 'The map will be displayed initially with this latitude at the center.',
'The map will be displayed initially with this longitude at the center.': 'The map will be displayed initially with this longitude at the center.',
'The minimum number of characters is ': 'The minimum number of characters is ',
'The minimum number of features to form a cluster.': 'The minimum number of features to form a cluster.',
'The name to be used when calling for or directly addressing the person (optional).': 'The name to be used when calling for or directly addressing the person (optional).',
'The next screen will allow you to detail the number of people here & their needs.': 'The next screen will allow you to detail the number of people here & their needs.',
'The number of Units of Measure of the Alternative Items which is equal to One Unit of Measure of the Item': 'The number of Units of Measure of the Alternative Items which is equal to One Unit of Measure of the Item',
'The number of pixels apart that features need to be before they are clustered.': 'The number of pixels apart that features need to be before they are clustered.',
'The number of tiles around the visible map to download. Zero means that the 1st page loads faster, higher numbers mean subsequent panning is faster.': 'The number of tiles around the visible map to download. Zero means that the 1st page loads faster, higher numbers mean subsequent panning is faster.',
'The person at the location who is reporting this incident (optional)': 'The person at the location who is reporting this incident (optional)',
'The post variable containing the phone number': 'The post variable containing the phone number',
'The post variable on the URL used for sending messages': 'The post variable on the URL used for sending messages',
'The post variables other than the ones containing the message and the phone number': 'The post variables other than the ones containing the message and the phone number',
'The serial port at which the modem is connected - /dev/ttyUSB0, etc on linux and com1, com2, etc on Windows': 'The serial port at which the modem is connected - /dev/ttyUSB0, etc on linux and com1, com2, etc on Windows',
'The server did not receive a timely response from another server that it was accessing to fill the request by the browser.': 'The server did not receive a timely response from another server that it was accessing to fill the request by the browser.',
'The server received an incorrect response from another server that it was accessing to fill the request by the browser.': 'The server received an incorrect response from another server that it was accessing to fill the request by the browser.',
'The site where this position is based.': 'The site where this position is based.',
'The staff responsibile for Facilities can make Requests for assistance. Commitments can be made against these Requests however the requests remain open until the requestor confirms that the request is complete.': 'The staff responsibile for Facilities can make Requests for assistance. Commitments can be made against these Requests however the requests remain open until the requestor confirms that the request is complete.',
'The subject event no longer poses a threat or concern and any follow on action is described in <instruction>': 'The subject event no longer poses a threat or concern and any follow on action is described in <instruction>',
'The synchronization module allows the synchronization of data resources between Sahana Eden instances.': 'The synchronisation module allows the synchronisation of data resources between Sahana Eden instances.',
'The time at which the Event started.': 'The time at which the Event started.',
'The time difference between UTC and your timezone, specify as +HHMM for eastern or -HHMM for western timezones.': 'The time difference between UTC and your timezone, specify as +HHMM for eastern or -HHMM for western timezones.',
'The token associated with this application on': 'The token associated with this application on',
'The way in which an item is normally distributed': 'The way in which an item is normally distributed',
'The weight in kg.': 'The weight in kg.',
'Theme': 'Theme',
'Theme Details': 'Theme Details',
'Theme added': 'Theme added',
'Theme deleted': 'Theme deleted',
'Theme updated': 'Theme updated',
'Themes': 'Themes',
'There are errors': 'There are errors',
'There are insufficient items in the Inventory to send this shipment': 'There are insufficient items in the Inventory to send this shipment',
'There are multiple records at this location': 'There are multiple records at this location',
'There is no address for this person yet. Add new address.': 'There is no address for this person yet. Add new address.',
'There was a problem, sorry, please try again later.': 'There was a problem, sorry, please try again later.',
'These are settings for Inbound Mail.': 'These are settings for Inbound Mail.',
'These are the Incident Categories visible to normal End-Users': 'These are the Incident Categories visible to normal End-Users',
'These need to be added in Decimal Degrees.': 'These need to be added in Decimal Degrees.',
'They': 'They',
'This appears to be a duplicate of ': 'This appears to be a duplicate of ',
'This email address is already in use': 'This email address is already in use',
'This file already exists on the server as': 'This file already exists on the server as',
'This is appropriate if this level is under construction. To prevent accidental modification after this level is complete, this can be set to False.': 'This is appropriate if this level is under construction. To prevent accidental modification after this level is complete, this can be set to False.',
'This is the way to transfer data between machines as it maintains referential integrity.': 'This is the way to transfer data between machines as it maintains referential integrity.',
'This is the way to transfer data between machines as it maintains referential integrity...duplicate data should be removed manually 1st!': 'This is the way to transfer data between machines as it maintains referential integrity...duplicate data should be removed manually 1st!',
'This level is not open for editing.': 'This level is not open for editing.',
'This might be due to a temporary overloading or maintenance of the server.': 'This might be due to a temporary overloading or maintenance of the server.',
'This module allows Inventory Items to be Requested & Shipped between the Inventories of Facilities.': 'This module allows Inventory Items to be Requested & Shipped between the Inventories of Facilities.',
'This module allows you to manage Events - whether pre-planned (e.g. exercises) or Live Incidents. You can allocate appropriate Resources (Human, Assets & Facilities) so that these can be mobilized easily.': 'This module allows you to manage Events - whether pre-planned (e.g. exercises) or Live Incidents. You can allocate appropriate Resources (Human, Assets & Facilities) so that these can be mobilized easily.',
'This module allows you to plan scenarios for both Exercises & Events. You can allocate appropriate Resources (Human, Assets & Facilities) so that these can be mobilized easily.': 'This module allows you to plan scenarios for both Exercises & Events. You can allocate appropriate Resources (Human, Assets & Facilities) so that these can be mobilized easily.',
'This resource is already configured for this repository': 'This resource is already configured for this repository',
'This screen allows you to upload a collection of photos to the server.': 'This screen allows you to upload a collection of photos to the server.',
'This setting can only be controlled by the Administrator.': 'This setting can only be controlled by the Administrator.',
'This shipment has already been received.': 'This shipment has already been received.',
'This shipment has already been sent.': 'This shipment has already been sent.',
'This shipment has not been received - it has NOT been canceled because can still be edited.': 'This shipment has not been received - it has NOT been canceled because can still be edited.',
'This shipment has not been sent - it has NOT been canceled because can still be edited.': 'This shipment has not been sent - it has NOT been canceled because can still be edited.',
'This shipment will be confirmed as received.': 'This shipment will be confirmed as received.',
'Thunderstorm': 'Thunderstorm',
'Thursday': 'Thursday',
'Ticket': 'Ticket',
'Ticket Details': 'Ticket Details',
'Ticket ID': 'Ticket ID',
'Ticket added': 'Ticket added',
'Ticket deleted': 'Ticket deleted',
'Ticket updated': 'Ticket updated',
'Ticketing Module': 'Ticketing Module',
'Tickets': 'Tickets',
'Tiled': 'Tiled',
'Tilt-up concrete': 'Tilt-up concrete',
'Timber frame': 'Timber frame',
'Timeline': 'Timeline',
'Timeline Report': 'Timeline Report',
'Timestamp': 'Timestamp',
'Timestamps can be correlated with the timestamps on the photos to locate them on the map.': 'Timestamps can be correlated with the timestamps on the photos to locate them on the map.',
'Title': 'Title',
'Title to show for the Web Map Service panel in the Tools panel.': 'Title to show for the Web Map Service panel in the Tools panel.',
'To': 'To',
'To Location': 'To Location',
'To Person': 'To Person',
'To create a personal map configuration, click ': 'To create a personal map configuration, click ',
'To edit OpenStreetMap, you need to edit the OpenStreetMap settings in models/000_config.py': 'To edit OpenStreetMap, you need to edit the OpenStreetMap settings in models/000_config.py',
'To search by job title, enter any portion of the title. You may use % as wildcard.': 'To search by job title, enter any portion of the title. You may use % as wildcard.',
"To search by person name, enter any of the first, middle or last names, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all persons.": "To search by person name, enter any of the first, middle or last names, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all persons.",
"To search for a body, enter the ID tag number of the body. You may use % as wildcard. Press 'Search' without input to list all bodies.": "To search for a body, enter the ID tag number of the body. You may use % as wildcard. Press 'Search' without input to list all bodies.",
"To search for a hospital, enter any of the names or IDs of the hospital, or the organisation name or acronym, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all hospitals.": "To search for a hospital, enter any of the names or IDs of the hospital, or the organisation name or acronym, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all hospitals.",
"To search for a hospital, enter any of the names or IDs of the hospital, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all hospitals.": "To search for a hospital, enter any of the names or IDs of the hospital, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all hospitals.",
"To search for a location, enter the name. You may use % as wildcard. Press 'Search' without input to list all locations.": "To search for a location, enter the name. You may use % as wildcard. Press 'Search' without input to list all locations.",
"To search for a patient, enter any of the first, middle or last names, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all patients.": "To search for a patient, enter any of the first, middle or last names, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all patients.",
"To search for a person, enter any of the first, middle or last names and/or an ID number of a person, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all persons.": "To search for a person, enter any of the first, middle or last names and/or an ID number of a person, separated by spaces. You may use % as wildcard. Press 'Search' without input to list all persons.",
"To search for an assessment, enter any portion the ticket number of the assessment. You may use % as wildcard. Press 'Search' without input to list all assessments.": "To search for an assessment, enter any portion the ticket number of the assessment. You may use % as wildcard. Press 'Search' without input to list all assessments.",
'To variable': 'To variable',
'Tools': 'Tools',
'Tornado': 'Tornado',
'Total': 'Total',
'Total # of Target Beneficiaries': 'Total # of Target Beneficiaries',
'Total # of households of site visited': 'Total # of households of site visited',
'Total Beds': 'Total Beds',
'Total Beneficiaries': 'Total Beneficiaries',
'Total Cost per Megabyte': 'Total Cost per Megabyte',
'Total Cost per Minute': 'Total Cost per Minute',
'Total Monthly': 'Total Monthly',
'Total Monthly Cost': 'Total Monthly Cost',
'Total Monthly Cost: ': 'Total Monthly Cost: ',
'Total One-time Costs': 'Total One-time Costs',
'Total Persons': 'Total Persons',
'Total Recurring Costs': 'Total Recurring Costs',
'Total Unit Cost': 'Total Unit Cost',
'Total Unit Cost: ': 'Total Unit Cost: ',
'Total Units': 'Total Units',
'Total gross floor area (square meters)': 'Total gross floor area (square meters)',
'Total number of beds in this hospital. Automatically updated from daily reports.': 'Total number of beds in this hospital. Automatically updated from daily reports.',
'Total number of houses in the area': 'Total number of houses in the area',
'Total number of schools in affected area': 'Total number of schools in affected area',
'Total population of site visited': 'Total population of site visited',
'Totals for Budget:': 'Totals for Budget:',
'Totals for Bundle:': 'Totals for Bundle:',
'Totals for Kit:': 'Totals for Kit:',
'Tourist Group': 'Tourist Group',
'Town': 'Town',
'Traces internally displaced people (IDPs) and their needs': 'Traces internally displaced people (IDPs) and their needs',
'Track with this Person?': 'Track with this Person?',
'Tracking of Patients': 'Tracking of Patients',
'Tracking of Projects, Activities and Tasks': 'Tracking of Projects, Activities and Tasks',
'Tracking of basic information on the location, facilities and size of the Shelters': 'Tracking of basic information on the location, facilities and size of the Shelters',
'Tracks the location, capacity and breakdown of victims in Shelters': 'Tracks the location, capacity and breakdown of victims in Shelters',
'Traffic Report': 'Traffic Report',
'Training': 'Training',
'Training Course Catalog': 'Training Course Catalogue',
'Training Details': 'Training Details',
'Training added': 'Training added',
'Training deleted': 'Training deleted',
'Training updated': 'Training updated',
'Trainings': 'Trainings',
'Transit': 'Transit',
'Transit Status': 'Transit Status',
'Transition Effect': 'Transition Effect',
'Transparent?': 'Transparent?',
'Transportation Required': 'Transportation Required',
'Transportation assistance, Rank': 'Transportation assistance, Rank',
'Trauma Center': 'Trauma Center',
'Travel Cost': 'Travel Cost',
'Tropical Storm': 'Tropical Storm',
'Tropo Messaging Token': 'Tropo Messaging Token',
'Tropo Voice Token': 'Tropo Voice Token',
'Tropo settings updated': 'Tropo settings updated',
'Truck': 'Truck',
'Try checking the URL for errors, maybe it was mistyped.': 'Try checking the URL for errors, maybe it was mistyped.',
'Try hitting refresh/reload button or trying the URL from the address bar again.': 'Try hitting refresh/reload button or trying the URL from the address bar again.',
'Try refreshing the page or hitting the back button on your browser.': 'Try refreshing the page or hitting the back button on your browser.',
'Tsunami': 'Tsunami',
'Tuesday': 'Tuesday',
'Twitter': 'Twitter',
'Twitter ID or #hashtag': 'Twitter ID or #hashtag',
'Twitter Settings': 'Twitter Settings',
'Type': 'Type',
'Type of Construction': 'Type of Construction',
'Type of water source before the disaster': 'Type of water source before the disaster',
"Type the first few characters of one of the Person's names.": "Type the first few characters of one of the Person's names.",
'UN': 'UN',
'URL': 'URL',
'URL of the default proxy server to connect to remote repositories (if required). If only some of the repositories require the use of a proxy server, you can configure this in the respective repository configuration.': 'URL of the default proxy server to connect to remote repositories (if required). If only some of the repositories require the use of a proxy server, you can configure this in the respective repository configuration.',
'URL of the proxy server to connect to this repository (leave empty for default proxy)': 'URL of the proxy server to connect to this repository (leave empty for default proxy)',
'UTC Offset': 'UTC Offset',
'UUID': 'UUID',
'Un-Repairable': 'Un-Repairable',
'Unable to parse CSV file!': 'Unable to parse CSV file!',
'Under which condition a local record shall be updated if it also has been modified locally since the last synchronization': 'Under which condition a local record shall be updated if it also has been modified locally since the last synchronisation',
'Under which conditions local records shall be updated': 'Under which conditions local records shall be updated',
'Understaffed': 'Understaffed',
'Unidentified': 'Unidentified',
'Unique identifier which THIS repository identifies itself with when sending synchronization requests.': 'Unique identifier which THIS repository identifies itself with when sending synchronisation requests.',
'Unit Cost': 'Unit Cost',
'Unit added': 'Unit added',
'Unit deleted': 'Unit deleted',
'Unit of Measure': 'Unit of Measure',
'Unit updated': 'Unit updated',
'United States Dollars': 'United States Dollars',
'Units': 'Units',
'Universally unique identifier for the local repository, needed to register the local repository at remote instances to allow push-synchronization.': 'Universally unique identifier for the local repository, needed to register the local repository at remote instances to allow push-synchronisation.',
'Unknown': 'Unknown',
'Unknown type of facility': 'Unknown type of facility',
'Unreinforced masonry': 'Unreinforced masonry',
'Unsafe': 'Unsafe',
'Unselect to disable the modem': 'Unselect to disable the modem',
'Unselect to disable this API service': 'Unselect to disable this API service',
'Unselect to disable this SMTP service': 'Unselect to disable this SMTP service',
'Unsent': 'Unsent',
'Unsubscribe': 'Unsubscribe',
'Unsupported data format!': 'Unsupported data format!',
'Unsupported method!': 'Unsupported method!',
'Update': 'Update',
'Update Activity Report': 'Update Activity Report',
'Update Cholera Treatment Capability Information': 'Update Cholera Treatment Capability Information',
'Update Method': 'Update Method',
'Update Policy': 'Update Policy',
'Update Request': 'Update Request',
'Update Service Profile': 'Update Service Profile',
'Update Status': 'Update Status',
'Update Task Status': 'Update Task Status',
'Update Unit': 'Update Unit',
'Update your current ordered list': 'Update your current ordered list',
'Updated By': 'Updated By',
'Upload Comma Separated Value File': 'Upload Comma Separated Value File',
'Upload Format': 'Upload Format',
'Upload Photos': 'Upload Photos',
'Upload Scanned OCR Form': 'Upload Scanned OCR Form',
'Upload Spreadsheet': 'Upload Spreadsheet',
'Upload Web2py portable build as a zip file': 'Upload Web2py portable build as a zip file',
'Upload a Assessment Template import file': 'Upload a Assessment Template import file',
'Upload a CSV file': 'Upload a CSV file',
'Upload a CSV file formatted according to the Template.': 'Upload a CSV file formatted according to the Template.',
'Upload a Question List import file': 'Upload a Question List import file',
'Upload a Spreadsheet': 'Upload a Spreadsheet',
'Upload an image file (bmp, gif, jpeg or png), max. 300x300 pixels!': 'Upload an image file (bmp, gif, jpeg or png), max. 300x300 pixels!',
'Upload an image file here.': 'Upload an image file here.',
"Upload an image file here. If you don't upload an image file, then you must specify its location in the URL field.": "Upload an image file here. If you don't upload an image file, then you must specify its location in the URL field.",
'Upload an image, such as a photo': 'Upload an image, such as a photo',
'Upload the Completed Assessments import file': 'Upload the Completed Assessments import file',
'Uploaded': 'Uploaded',
'Urban Fire': 'Urban Fire',
'Urban area': 'Urban area',
'Urdu': 'Urdu',
'Urgent': 'Urgent',
'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.': 'Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.',
'Use Geocoder for address lookups?': 'Use Geocoder for address lookups?',
'Use default': 'Use default',
'Use these links to download data that is currently in the database.': 'Use these links to download data that is currently in the database.',
'Use this to set the starting location for the Location Selector.': 'Use this to set the starting location for the Location Selector.',
'Used by IRS & Assess': 'Used by IRS & Assess',
'Used in onHover Tooltip & Cluster Popups to differentiate between types.': 'Used in onHover Tooltip & Cluster Popups to differentiate between types.',
'Used to build onHover Tooltip & 1st field also used in Cluster Popups to differentiate between records.': 'Used to build onHover Tooltip & 1st field also used in Cluster Popups to differentiate between records.',
'Used to check that latitude of entered locations is reasonable. May be used to filter lists of resources that have locations.': 'Used to check that latitude of entered locations is reasonable. May be used to filter lists of resources that have locations.',
'Used to check that longitude of entered locations is reasonable. May be used to filter lists of resources that have locations.': 'Used to check that longitude of entered locations is reasonable. May be used to filter lists of resources that have locations.',
'Used to import data from spreadsheets into the database': 'Used to import data from spreadsheets into the database',
'Used within Inventory Management, Request Management and Asset Management': 'Used within Inventory Management, Request Management and Asset Management',
'User': 'User',
'User %(id)s Logged-in': 'User %(id)s Logged-in',
'User %(id)s Registered': 'User %(id)s Registered',
'User Account has been Approved': 'User Account has been Approved',
'User Account has been Disabled': 'User Account has been Disabled',
'User Details': 'User Details',
'User Guidelines Synchronization': 'User Guidelines Synchronisation',
'User ID': 'User ID',
'User Management': 'User Management',
'User Profile': 'User Profile',
'User Requests': 'User Requests',
'User Updated': 'User Updated',
'User added': 'User added',
'User already has this role': 'User already has this role',
'User deleted': 'User deleted',
'User updated': 'User updated',
'Username': 'Username',
'Username to use for authentication at the remote site': 'Username to use for authentication at the remote site',
'Users': 'Users',
'Users removed': 'Users removed',
'Uses the REST Query Format defined in': 'Uses the REST Query Format defined in',
'Utilities': 'Utilities',
'Utility, telecommunication, other non-transport infrastructure': 'Utility, telecommunication, other non-transport infrastructure',
'Value': 'Value',
'Value per Pack': 'Value per Pack',
'Various Reporting functionalities': 'Various Reporting functionalities',
'Vehicle': 'Vehicle',
'Vehicle Crime': 'Vehicle Crime',
'Vehicle Details': 'Vehicle Details',
'Vehicle Details added': 'Vehicle Details added',
'Vehicle Details deleted': 'Vehicle Details deleted',
'Vehicle Details updated': 'Vehicle Details updated',
'Vehicle Management': 'Vehicle Management',
'Vehicle Types': 'Vehicle Types',
'Vehicle added': 'Vehicle added',
'Vehicle deleted': 'Vehicle deleted',
'Vehicle updated': 'Vehicle updated',
'Vehicles': 'Vehicles',
'Vehicles are assets with some extra details.': 'Vehicles are assets with some extra details.',
'Verification Status': 'Verification Status',
'Verified?': 'Verified?',
'Verify Password': 'Verify Password',
'Verify password': 'Verify password',
'Version': 'Version',
'Very Good': 'Very Good',
'Very High': 'Very High',
'Vietnamese': 'Vietnamese',
'View Alerts received using either Email or SMS': 'View Alerts received using either Email or SMS',
'View All': 'View All',
'View All Tickets': 'View All Tickets',
'View Error Tickets': 'View Error Tickets',
'View Fullscreen Map': 'View Fullscreen Map',
'View Image': 'View Image',
'View Items': 'View Items',
'View Location Details': 'View Location Details',
'View Outbox': 'View Outbox',
'View Picture': 'View Picture',
'View Results of completed and/or partially completed assessments': 'View Results of completed and/or partially completed assessments',
'View Settings': 'View Settings',
'View Tickets': 'View Tickets',
'View all log entries': 'View all log entries',
'View and/or update their details': 'View and/or update their details',
'View log entries per repository': 'View log entries per repository',
'View on Map': 'View on Map',
'View or update the status of a hospital.': 'View or update the status of a hospital.',
'View pending requests and pledge support.': 'View pending requests and pledge support.',
'View the hospitals on a map.': 'View the hospitals on a map.',
'View/Edit the Database directly': 'View/Edit the Database directly',
'Village': 'Village',
'Village Leader': 'Village Leader',
'Visual Recognition': 'Visual Recognition',
'Volcanic Ash Cloud': 'Volcanic Ash Cloud',
'Volcanic Event': 'Volcanic Event',
'Volume (m3)': 'Volume (m3)',
'Volunteer Availability': 'Volunteer Availability',
'Volunteer Details': 'Volunteer Details',
'Volunteer Information': 'Volunteer Information',
'Volunteer Management': 'Volunteer Management',
'Volunteer Project': 'Volunteer Project',
'Volunteer Record': 'Volunteer Record',
'Volunteer Request': 'Volunteer Request',
'Volunteer added': 'Volunteer added',
'Volunteer availability added': 'Volunteer availability added',
'Volunteer availability deleted': 'Volunteer availability deleted',
'Volunteer availability updated': 'Volunteer availability updated',
'Volunteers': 'Volunteers',
'Vote': 'Vote',
'Votes': 'Votes',
'WARNING': 'WARNING',
'WASH': 'WASH',
'Walking Only': 'Walking Only',
'Wall or other structural damage': 'Wall or other structural damage',
'Warehouse': 'Warehouse',
'Warehouse Details': 'Warehouse Details',
'Warehouse added': 'Warehouse added',
'Warehouse deleted': 'Warehouse deleted',
'Warehouse updated': 'Warehouse updated',
'Warehouses': 'Warehouses',
'WatSan': 'WatSan',
'Water Sanitation Hygiene': 'Water Sanitation Hygiene',
'Water collection': 'Water collection',
'Water gallon': 'Water gallon',
'Water storage containers in households': 'Water storage containers in households',
'Water supply': 'Water supply',
'Waterspout': 'Waterspout',
'We have tried': 'We have tried',
'Web API settings updated': 'Web API settings updated',
'Web Map Service Browser Name': 'Web Map Service Browser Name',
'Web Map Service Browser URL': 'Web Map Service Browser URL',
'Web2py executable zip file found - Upload to replace the existing file': 'Web2py executable zip file found - Upload to replace the existing file',
'Web2py executable zip file needs to be uploaded to use this function.': 'Web2py executable zip file needs to be uploaded to use this function.',
'Website': 'Website',
'Wednesday': 'Wednesday',
'Weight': 'Weight',
'Weight (kg)': 'Weight (kg)',
'Welcome to the': 'Welcome to the',
'Well-Known Text': 'Well-Known Text',
'What order to be contacted in.': 'What order to be contacted in.',
'What the Items will be used for': 'What the Items will be used for',
'Wheat': 'Wheat',
'When reports were entered': 'When reports were entered',
'Where Project is implemented, including activities and beneficiaries': 'Where Project is implemented, including activities and beneficiaries',
'Whether to accept unsolicited data transmissions from the repository': 'Whether to accept unsolicited data transmissions from the repository',
'Which methods to apply when importing data to the local repository': 'Which methods to apply when importing data to the local repository',
'Whiskers': 'Whiskers',
'Who is doing what and where': 'Who is doing what and where',
'Who usually collects water for the family?': 'Who usually collects water for the family?',
'Width (m)': 'Width (m)',
'Wild Fire': 'Wild Fire',
'Wind Chill': 'Wind Chill',
'Window frame': 'Window frame',
'Winter Storm': 'Winter Storm',
'With best regards': 'With best regards',
'Women of Child Bearing Age': 'Women of Child Bearing Age',
'Women participating in coping activities': 'Women participating in coping activities',
'Women who are Pregnant or in Labour': 'Women who are Pregnant or in Labour',
'Womens Focus Groups': 'Womens Focus Groups',
'Wooden plank': 'Wooden plank',
'Wooden poles': 'Wooden poles',
'Working hours end': 'Working hours end',
'Working hours start': 'Working hours start',
'Working or other to provide money/food': 'Working or other to provide money/food',
'X-Ray': 'X-Ray',
'YES': 'YES',
"Yahoo Layers cannot be displayed if there isn't a valid API Key": "Yahoo Layers cannot be displayed if there isn't a valid API Key",
'Year': 'Year',
'Year built': 'Year built',
'Year of Manufacture': 'Year of Manufacture',
'Yellow': 'Yellow',
'Yes': 'Yes',
'You are a recovery team?': 'You are a recovery team?',
'You are attempting to delete your own account - are you sure you want to proceed?': 'You are attempting to delete your own account - are you sure you want to proceed?',
'You are currently reported missing!': 'You are currently reported missing!',
'You can click on the map below to select the Lat/Lon fields': 'You can click on the map below to select the Lat/Lon fields',
'You can select the Draw tool': 'You can select the Draw tool',
'You can set the modem settings for SMS here.': 'You can set the modem settings for SMS here.',
'You can use the Conversion Tool to convert from either GPS coordinates or Degrees/Minutes/Seconds.': 'You can use the Conversion Tool to convert from either GPS coordinates or Degrees/Minutes/Seconds.',
'You do not have permission for any facility to add an order.': 'You do not have permission for any facility to add an order.',
'You do not have permission for any facility to make a commitment.': 'You do not have permission for any facility to make a commitment.',
'You do not have permission for any facility to make a request.': 'You do not have permission for any facility to make a request.',
'You do not have permission for any facility to receive a shipment.': 'You do not have permission for any facility to receive a shipment.',
'You do not have permission for any facility to send a shipment.': 'You do not have permission for any facility to send a shipment.',
'You do not have permission for any site to add an inventory item.': 'You do not have permission for any site to add an inventory item.',
'You do not have permission to cancel this received shipment.': 'You do not have permission to cancel this received shipment.',
'You do not have permission to cancel this sent shipment.': 'You do not have permission to cancel this sent shipment.',
'You do not have permission to make this commitment.': 'You do not have permission to make this commitment.',
'You do not have permission to receive this shipment.': 'You do not have permission to receive this shipment.',
'You do not have permission to send a shipment from this site.': 'You do not have permission to send a shipment from this site.',
'You do not have permission to send this shipment.': 'You do not have permission to send this shipment.',
'You have a personal map configuration. To change your personal configuration, click ': 'You have a personal map configuration. To change your personal configuration, click ',
'You have found a dead body?': 'You have found a dead body?',
"You have unsaved changes. Click Cancel now, then 'Save' to save them. Click OK now to discard them.": "You have unsaved changes. Click Cancel now, then 'Save' to save them. Click OK now to discard them.",
"You haven't made any calculations": "You haven't made any calculations",
'You must be logged in to register volunteers.': 'You must be logged in to register volunteers.',
'You must be logged in to report persons missing or found.': 'You must be logged in to report persons missing or found.',
'You should edit Twitter settings in models/000_config.py': 'You should edit Twitter settings in models/000_config.py',
'Your current ordered list of solution items is shown below. You can change it by voting again.': 'Your current ordered list of solution items is shown below. You can change it by voting again.',
'Your post was added successfully.': 'Your post was added successfully.',
'Your request for Red Cross and Red Crescent Resource Mapping System (RMS) has been approved and you can now access the system at': 'Your request for Red Cross and Red Crescent Resource Mapping System (RMS) has been approved and you can now access the system at',
'ZIP Code': 'ZIP Code',
'Zero Hour': 'Zero Hour',
'Zinc roof': 'Zinc roof',
'Zoom': 'Zoom',
'Zoom In: click in the map or use the left mouse button and drag to create a rectangle': 'Zoom In: click in the map or use the left mouse button and drag to create a rectangle',
'Zoom Levels': 'Zoom Levels',
'Zoom Out: click in the map or use the left mouse button and drag to create a rectangle': 'Zoom Out: click in the map or use the left mouse button and drag to create a rectangle',
'Zoom to Current Location': 'Zoom to Current Location',
'Zoom to maximum map extent': 'Zoom to maximum map extent',
'access granted': 'access granted',
'active': 'active',
'added': 'added',
'allows a budget to be developed based on staff & equipment costs, including any admin overheads.': 'allows a budget to be developed based on staff & equipment costs, including any admin overheads.',
'allows for creation and management of assessments.': 'allows for creation and management of assessments.',
'always update': 'always update',
'an individual/team to do in 1-2 days': 'an individual/team to do in 1-2 days',
'assigned': 'assigned',
'average': 'average',
'black': 'black',
'blond': 'blond',
'blue': 'blue',
'brown': 'brown',
'business_damaged': 'business_damaged',
'by': 'by',
'by %(person)s': 'by %(person)s',
'c/o Name': 'c/o Name',
'can be used to extract data from spreadsheets and put them into database tables.': 'can be used to extract data from spreadsheets and put them into database tables.',
'cancelled': 'cancelled',
'caucasoid': 'caucasoid',
'check all': 'check all',
'click for more details': 'click for more details',
'click here': 'click here',
'completed': 'completed',
'consider': 'consider',
'curly': 'curly',
'currently registered': 'currently registered',
'dark': 'dark',
'data uploaded': 'data uploaded',
'database': 'database',
'database %s select': 'database %s select',
'days': 'days',
'db': 'db',
'deceased': 'deceased',
'delete all checked': 'delete all checked',
'deleted': 'deleted',
'design': 'design',
'diseased': 'diseased',
'displaced': 'displaced',
'divorced': 'divorced',
'done!': 'done!',
'duplicate': 'duplicate',
'edit': 'edit',
'eg. gas, electricity, water': 'eg. gas, electricity, water',
'enclosed area': 'enclosed area',
'enter a number between %(min)g and %(max)g': 'enter a number between %(min)g and %(max)g',
'enter an integer between %(min)g and %(max)g': 'enter an integer between %(min)g and %(max)g',
'export as csv file': 'export as csv file',
'fat': 'fat',
'feedback': 'feedback',
'female': 'female',
'flush latrine with septic tank': 'flush latrine with septic tank',
'food_sources': 'food_sources',
'forehead': 'forehead',
'form data': 'form data',
'found': 'found',
'from Twitter': 'from Twitter',
'getting': 'getting',
'green': 'green',
'grey': 'grey',
'here': 'here',
'hours': 'hours',
'households': 'households',
'identified': 'identified',
'ignore': 'ignore',
'in Deg Min Sec format': 'in Deg Min Sec format',
'in GPS format': 'in GPS format',
'in Inv.': 'in Inv.',
'inactive': 'inactive',
'injured': 'injured',
'insert new': 'insert new',
'insert new %s': 'insert new %s',
'invalid': 'invalid',
'invalid request': 'invalid request',
'is a central online repository where information on all the disaster victims and families, especially identified casualties, evacuees and displaced people can be stored. Information like name, age, contact number, identity card number, displaced location, and other details are captured. Picture and finger print details of the people can be uploaded to the system. People can also be captured by group for efficiency and convenience.': 'is a central online repository where information on all the disaster victims and families, especially identified casualties, evacuees and displaced people can be stored. Information like name, age, contact number, identity card number, displaced location, and other details are captured. Picture and finger print details of the people can be uploaded to the system. People can also be captured by group for efficiency and convenience.',
'keeps track of all incoming tickets allowing them to be categorised & routed to the appropriate place for actioning.': 'keeps track of all incoming tickets allowing them to be categorised & routed to the appropriate place for actioning.',
'latrines': 'latrines',
'leave empty to detach account': 'leave empty to detach account',
'legend URL': 'legend URL',
'light': 'light',
'login': 'login',
'long': 'long',
'long>12cm': 'long>12cm',
'male': 'male',
'married': 'married',
'maxExtent': 'maxExtent',
'maxResolution': 'maxResolution',
'medium': 'medium',
'medium<12cm': 'medium<12cm',
'meters': 'meters',
'minutes': 'minutes',
'missing': 'missing',
'module allows the site administrator to configure various options.': 'module allows the site administrator to configure various options.',
'module helps monitoring the status of hospitals.': 'module helps monitoring the status of hospitals.',
'mongoloid': 'mongoloid',
'more': 'more',
'negroid': 'negroid',
'never': 'never',
'never update': 'never update',
'new': 'new',
'new record inserted': 'new record inserted',
'next 100 rows': 'next 100 rows',
'no': 'no',
'none': 'none',
'not specified': 'not specified',
'obsolete': 'obsolete',
'on': 'on',
'on %(date)s': 'on %(date)s',
'open defecation': 'open defecation',
'optional': 'optional',
'or import from csv file': 'or import from csv file',
'other': 'other',
'over one hour': 'over one hour',
'people': 'people',
'piece': 'piece',
'pit': 'pit',
'pit latrine': 'pit latrine',
'postponed': 'postponed',
'preliminary template or draft, not actionable in its current form': 'preliminary template or draft, not actionable in its current form',
'previous 100 rows': 'previous 100 rows',
'pull': 'pull',
'pull and push': 'pull and push',
'push': 'push',
'record does not exist': 'record does not exist',
'record id': 'record id',
'red': 'red',
'replace': 'replace',
'reports successfully imported.': 'reports successfully imported.',
'representation of the Polygon/Line.': 'representation of the Polygon/Line.',
'retired': 'retired',
'retry': 'retry',
'river': 'river',
'see comment': 'see comment',
'selected': 'selected',
'separated': 'separated',
'separated from family': 'separated from family',
'shaved': 'shaved',
'short': 'short',
'short<6cm': 'short<6cm',
'sides': 'sides',
'sign-up now': 'sign-up now',
'single': 'single',
'slim': 'slim',
'specify': 'specify',
'staff': 'staff',
'staff members': 'staff members',
'state': 'state',
'state location': 'state location',
'straight': 'straight',
'suffered financial losses': 'suffered financial losses',
'table': 'table',
'tall': 'tall',
'times and it is still not working. We give in. Sorry.': 'times and it is still not working. We give in. Sorry.',
'to access the system': 'to access the system',
'to download a OCR Form.': 'to download a OCR Form.',
'to reset your password': 'to reset your password',
'to verify your email': 'to verify your email',
'tonsure': 'tonsure',
'total': 'total',
'tweepy module not available within the running Python - this needs installing for non-Tropo Twitter support!': 'tweepy module not available within the running Python - this needs installing for non-Tropo Twitter support!',
'unable to parse csv file': 'unable to parse csv file',
'uncheck all': 'uncheck all',
'unidentified': 'unidentified',
'unknown': 'unknown',
'unspecified': 'unspecified',
'unverified': 'unverified',
'update': 'update',
'update if master': 'update if master',
'update if newer': 'update if newer',
'updated': 'updated',
'verified': 'verified',
'volunteer': 'volunteer',
'volunteers': 'volunteers',
'wavy': 'wavy',
'weeks': 'weeks',
'white': 'white',
'wider area, longer term, usually contain multiple Activities': 'wider area, longer term, usually contain multiple Activities',
'widowed': 'widowed',
'within human habitat': 'within human habitat',
'xlwt module not available within the running Python - this needs installing for XLS output!': 'xlwt module not available within the running Python - this needs installing for XLS output!',
'yes': 'yes',
}
| flavour/cedarbluff | languages/en-gb.py | Python | mit | 261,644 |
function Disable-ADSIComputer
{
<#
.SYNOPSIS
Function to disable a Computer Account
.DESCRIPTION
Function to disable a Computer Account
.PARAMETER Identity
Specifies the Identity of the Computer.
You can provide one of the following properties
DistinguishedName
Guid
Name
SamAccountName
Sid
.PARAMETER Credential
Specifies the alternative credential to use.
By default it will use the current user windows credentials.
.PARAMETER DomainName
Specifies the alternative Domain.
By default it will use the current domain.
.EXAMPLE
Disable-ADSIComputer TESTSERVER01
This command will disable the account TESTSERVER01
.EXAMPLE
Disable-ADSIComputer TESTSERVER01 -whatif
This command will emulate disabling the account TESTSERVER01
.EXAMPLE
Disable-ADSIComputer TESTSERVER01 -credential (Get-Credential)
This command will disable the account TESTSERVER01 using the alternative credential specified
.EXAMPLE
Disable-ADSIComputer TESTSERVER01 -credential (Get-Credential) -domain LazyWinAdmin.local
This command will disable the account TESTSERVER01 using the alternative credential specified in the domain lazywinadmin.local
.NOTES
Francois-Xavier Cat
LazyWinAdmin.com
@lazywinadm
github.com/lazywinadmin/ADSIPS
.LINK
https://msdn.microsoft.com/en-us/library/system.directoryservices.accountmanagement.computerprincipal(v=vs.110).aspx
#>
[CmdletBinding(SupportsShouldProcess = $true)]
PARAM (
[parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, ValueFromPipeline = $true)]
$Identity,
[Alias("RunAs")]
[System.Management.Automation.PSCredential]
[System.Management.Automation.Credential()]
$Credential = [System.Management.Automation.PSCredential]::Empty,
[String]$DomainName)
BEGIN
{
Add-Type -AssemblyName System.DirectoryServices.AccountManagement
# Create Context splatting
$ContextSplatting = @{ }
IF ($PSBoundParameters['Credential']) { $ContextSplatting.Credential = $Credential }
IF ($PSBoundParameters['DomainName']) { $ContextSplatting.DomainName = $DomainName }
$Context = New-ADSIPrincipalContext @ContextSplatting -contexttype Domain
}
PROCESS
{
TRY
{
if ($pscmdlet.ShouldProcess("$Identity", "Disable Account"))
{
$Account = Get-ADSIComputer -Identity $Identity @ContextSplatting
$Account.enabled = $false
$Account.Save()
}
}
CATCH
{
Write-Error $Error[0]
}
}
}
| evetsleep/AdsiPS | AdsiPS/Public/Disable-ADSIComputer.ps1 | PowerShell | mit | 2,413 |
{% extends "base.html" %}
{% load staticfiles %}
{% load analysis_tags %}
{% block content %}
<script type='text/javascript'>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
});
</script>
<div class="flex-nav">
{% include "analysis/pages/nav-sidebar.html" %}
<section class="flex-nav__body cuckoo-analysis" tabindex="0">
<header class="page-header cuckoo-analysis__header">
<h1>Compare</h1>
</header>
<div class="container-fluid">
<div class="row">
<div class="col-md-6" style="border-right: 1px dashed #878787;">
<h2 style="text-align: center;">Analysis 1</h2>
<hr>
{% include "analysis/pages/compare/_info.html" with record=left %}
<div class="col-md-8">
<h4>Execution Graph</h4>
<p>This graph gives you an abstracted overview of the execution of the analyzer file. More specifically it represents the percentage of occurrences of behavioral events classified by category: the bigger the colored block, the higher is the count of events for the respective category performed by the analyzed malware</p>
<p>Comparing two graphs from different analyses can give you help estimate how much the behavior of the two files differ.</p>
<p>Following are the colored categories:</p>
<p style="text-align: center;">
<span class="badge registry" style="color:black;">registry</span>
<span class="badge file" style="color:black;">file</span>
<span class="badge system" style="color:black;">system</span>
<span class="badge network" style="color:black;">network</span>
<span class="badge process" style="color:black;">process</span>
<span class="badge services" style="color:black;">services</span>
<span class="badge synchronization" style="color:black;">synchronization</span>
<span class="badge windows" style="color:black;">windows</span>
</p>
</div>
<div class="col-md-4">
<div style="height: 300px;border: 2px solid #666;">
{% for cat, count in left_counts.items %}
<div style="height: {{count}}%" class="{{cat}}" data-toggle="tooltip" data-placement="top" title="{{count}}% {{cat}}"></div>
{% endfor %}
</div>
</div>
</div>
<div class="col-md-6">
<h2 style="text-align: center;">Analysis 2</h2>
<hr>
{% include "analysis/pages/compare/_info.html" with record=right %}
<div class="col-md-4">
<div style="height: 300px;border: 2px solid #666;">
{% for cat, count in right_counts.items %}
<div style="height: {{count}}%" class="{{cat}}" data-toggle="tooltip" data-placement="top" title="{{count}}% {{cat}}"></div>
{% endfor %}
</div>
</div>
<div class="col-md-8"></div>
</div>
</div>
</div>
<!-- footer replacement to avoid double scrollbars -->
<footer class="flex-grid__footer spread-alignment">
<p class="footnote">
©2010-2018 <a href="https://www.cuckoosandbox.org" target="_blank">Cuckoo Sandbox</a>
</p>
<div class="logo">
<img src="{% static "graphic/cuckoo_inverse.png" %}" alt="Cuckoo Malware Analysis Sandbox" />
<a href="#">Back to Top</a>
</div>
</footer>
</section>
</div>
{% endblock %}
| cuckoobox/cuckoo | cuckoo/web/templates/analysis/pages/compare/both.html | HTML | mit | 4,409 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: 59 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.12.2 / equations - 1.2.3+8.12</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
equations
<small>
1.2.3+8.12
<span class="label label-success">59 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-01-21 17:10:36 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-21 17:10:36 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.12.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
authors: [ "Matthieu Sozeau <matthieu.sozeau@inria.fr>" "Cyprien Mangin <cyprien.mangin@m4x.org>" ]
dev-repo: "git+https://github.com/mattam82/Coq-Equations.git#8.12"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://mattam82.github.io/Coq-Equations"
bug-reports: "https://github.com/mattam82/Coq-Equations/issues"
license: "LGPL-2.1-or-later"
synopsis: "A function definition package for Coq"
description: """
Equations is a function definition plugin for Coq, that allows the
definition of functions by dependent pattern-matching and well-founded,
mutual or nested structural recursion and compiles them into core
terms. It automatically derives the clauses equations, the graph of the
function and its associated elimination principle.
"""
tags: [
"keyword:dependent pattern-matching"
"keyword:functional elimination"
"category:Miscellaneous/Coq Extensions"
"logpath:Equations"
]
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
run-test: [
[make "test-suite"]
]
depends: [
"coq" {>= "8.12.0" & < "8.13~"}
]
url {
src:
"https://github.com/mattam82/Coq-Equations/archive/v1.2.3-8.12.tar.gz"
checksum: "sha512=c19617ef127a56916d67b2c347f21cd267b250a23988424bb1486336e784a5df7a6c85ee355eb99e148431f8d7b3534993f3fdba3aaa4769d74f8c3548fb2efa"
}
</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-equations.1.2.3+8.12 coq.8.12.2</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-equations.1.2.3+8.12 coq.8.12.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>11 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-equations.1.2.3+8.12 coq.8.12.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>59 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 6 M</p>
<ul>
<li>2 M <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations_plugin.cmxs</code></li>
<li>360 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Telescopes.vo</code></li>
<li>351 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Telescopes.vo</code></li>
<li>123 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations_plugin.cmxa</code></li>
<li>88 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/NoConfusion.vo</code></li>
<li>82 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/DepElim.vo</code></li>
<li>81 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/DepElim.glob</code></li>
<li>81 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/DepElim.vo</code></li>
<li>76 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/NoConfusion.vo</code></li>
<li>72 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/EqDecInstances.vo</code></li>
<li>71 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/EqDec.vo</code></li>
<li>69 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/DepElim.glob</code></li>
<li>67 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Relation.vo</code></li>
<li>59 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/EqDec.vo</code></li>
<li>58 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Subterm.vo</code></li>
<li>48 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Equations.vo</code></li>
<li>44 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/EqDecInstances.vo</code></li>
<li>44 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/EqDec.glob</code></li>
<li>43 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Relation_Properties.vo</code></li>
<li>43 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations_common.cmi</code></li>
<li>41 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Telescopes.glob</code></li>
<li>41 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Telescopes.glob</code></li>
<li>38 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/WellFoundedInstances.vo</code></li>
<li>37 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Relation.glob</code></li>
<li>36 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/All.vo</code></li>
<li>34 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/EqDec.glob</code></li>
<li>31 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Relation_Properties.glob</code></li>
<li>28 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/DepElim.v</code></li>
<li>28 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/DepElim.v</code></li>
<li>27 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Tactics.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Subterm.glob</code></li>
<li>27 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/FunctionalInduction.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/FunctionalInduction.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Logic.vo</code></li>
<li>26 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Subterm.vo</code></li>
<li>25 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Classes.vo</code></li>
<li>25 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations_common.cmx</code></li>
<li>24 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/CoreTactics.vo</code></li>
<li>23 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/splitting.cmi</code></li>
<li>22 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Loader.vo</code></li>
<li>22 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/covering.cmi</code></li>
<li>21 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Classes.vo</code></li>
<li>20 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/WellFounded.vo</code></li>
<li>19 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Subterm.glob</code></li>
<li>19 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/context_map.cmi</code></li>
<li>19 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/principles.cmi</code></li>
<li>18 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/g_equations.cmi</code></li>
<li>16 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/syntax.cmi</code></li>
<li>15 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/simplify.cmx</code></li>
<li>15 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/splitting.cmx</code></li>
<li>14 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Tactics.vo</code></li>
<li>14 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/context_map.cmx</code></li>
<li>13 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Init.vo</code></li>
<li>13 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/principles.cmx</code></li>
<li>13 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/WellFounded.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Logic.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Classes.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/sigma_types.cmi</code></li>
<li>12 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/principles_proofs.cmi</code></li>
<li>12 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Classes.glob</code></li>
<li>12 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Relation_Properties.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/covering.cmx</code></li>
<li>11 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Subterm.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/g_equations.cmx</code></li>
<li>11 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/principles_proofs.cmx</code></li>
<li>11 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/WellFoundedInstances.glob</code></li>
<li>10 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/EqDec.v</code></li>
<li>10 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/syntax.cmx</code></li>
<li>9 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Subterm.v</code></li>
<li>9 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/sigma_types.cmx</code></li>
<li>9 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/simplify.cmi</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/EqDec.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Loader.vo</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Constants.vo</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/depelim.cmx</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Telescopes.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/depelim.cmi</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Telescopes.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Constants.vo</code></li>
<li>8 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations.cmx</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations.cmi</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/FunctionalInduction.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/eqdec.cmi</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/noconf_hom.cmx</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/FunctionalInduction.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Relation.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/CoreTactics.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/subterm.cmx</code></li>
<li>7 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/eqdec.cmx</code></li>
<li>6 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Init.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/noconf.cmx</code></li>
<li>6 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Logic.vo</code></li>
<li>6 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/extra_tactics.cmx</code></li>
<li>6 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Classes.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/EqDecInstances.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Tactics.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Classes.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/ederive.cmx</code></li>
<li>5 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/FunctionalInduction.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Signature.vo</code></li>
<li>5 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/noconf_hom.cmi</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Tactics.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Tactics.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/WellFounded.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/FunctionalInduction.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Constants.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations_plugin_mod.cmx</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/FunctionalExtensionality.vo</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/equations_plugin_mod.cmi</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/ederive.cmi</code></li>
<li>4 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Logic.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/EqDecInstances.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Logic.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Constants.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/noconf.cmi</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/OpaqueEquations.vo</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/extra_tactics.cmi</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/TransparentEquations.vo</code></li>
<li>3 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/subterm.cmi</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/WellFoundedInstances.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Init.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/EqDecInstances.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Signature.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/EqDecInstances.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/CoreTactics.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/FunctionalExtensionality.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Loader.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Logic.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Tactics.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Signature.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/NoConfusion.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Equations.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/NoConfusion.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Loader.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/All.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/OpaqueEquations.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/NoConfusion.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/TransparentEquations.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/NoConfusion.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Loader.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Loader.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/FunctionalExtensionality.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/OpaqueEquations.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/Constants.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/TransparentEquations.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Prop/Constants.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Type/All.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.06.1/lib/coq/user-contrib/Equations/Equations.glob</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-equations.1.2.3+8.12</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.06.1-2.0.5/released/8.12.2/equations/1.2.3+8.12.html | HTML | mit | 24,692 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mini-compiler: 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.12.1 / mini-compiler - 8.8.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
mini-compiler
<small>
8.8.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-10-12 20:31:15 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-12 20:31:15 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
conf-findutils 1 Virtual package relying on findutils
coq 8.12.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/mini-compiler"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/MiniCompiler"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
]
tags: [ "keyword: compilation" "keyword: correctness" "keyword: arithmetic" "category: Computer Science/Semantics and Compilation/Compilation" "date: 2003" ]
authors: [ "Jean-Christophe Filliรขtre" ]
bug-reports: "https://github.com/coq-contribs/mini-compiler/issues"
dev-repo: "git+https://github.com/coq-contribs/mini-compiler.git"
synopsis: "Correctness of a tiny compiler for arithmetic expressions"
description: """
Tutorial correctness proof of a tiny compiler from
simple arithmetic expressions (constants, variables and additions) to
simple assembly-like code (one accumulator, infinitly many registers and
addition)"""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/mini-compiler/archive/v8.8.0.tar.gz"
checksum: "md5=8fbc8f85335a094856e2bf13589dde73"
}
</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-mini-compiler.8.8.0 coq.8.12.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.12.1).
The following dependencies couldn't be met:
- coq-mini-compiler -> coq < 8.9~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can'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-mini-compiler.8.8.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.05.0-2.0.1/released/8.12.1/mini-compiler/8.8.0.html | HTML | mit | 7,121 |
// (C) Copyright 2018, Nanbo Sun (nanbosun@u.nus.edu), Xiuming Zhang
// This file is part of POLARLDA-C.
// POLARLDA-C is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 of the License, or (at your
// option) any later version.
// POLARLDA-C is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
#include "polarlda-inference.h"
/*
* variational inference
*
*/
double polarlda_inference(document* doc, polarlda_model* model, double* var_gamma, double** phi)
{
double converged = 1;
double phisum = 0, likelihood = 0;
double likelihood_old = 0, oldphi[model->num_topics];
int k, n, var_iter;
double digamma_gam[model->num_topics];
for (k = 0; k < model->num_topics; k++)
{
var_gamma[k] = model->alpha + (doc->total/((double) model->num_topics));
digamma_gam[k] = digamma(var_gamma[k]);
for (n = 0; n < doc->length; n++)
phi[n][k] = 1.0/model->num_topics;
}
var_iter = 0;
while ((converged > VAR_CONVERGED) && ((var_iter < VAR_MAX_ITER) || (VAR_MAX_ITER == -1)))
{
var_iter++;
for (n = 0; n < doc->length; n++)
{
phisum = 0;
// compute variational multinomial
for (k = 0; k < model->num_topics; k++)
{
oldphi[k] = phi[n][k];
if (doc->polarities[n])
{
phi[n][k] = digamma_gam[k] + model->log_prob_w[k][doc->words[n]]
+ model->log_prob_pos[k][doc->words[n]];
}
else
{
phi[n][k] = digamma_gam[k] + model->log_prob_w[k][doc->words[n]]
+ log(1 - exp(model->log_prob_pos[k][doc->words[n]]));
}
if (k > 0)
phisum = log_sum(phisum, phi[n][k]);
else
phisum = phi[n][k]; // note, phi is in log space
}
// compute variational dirichlet
for (k = 0; k < model->num_topics; k++)
{
phi[n][k] = exp(phi[n][k] - phisum); // normalize phi
// intialization of var_gamma and this update rule gaurantee the update eqn in paper
var_gamma[k] += doc->counts[n] * (phi[n][k] - oldphi[k]);
assert(var_gamma[k] > 0); // Dirichlet parameters > 0
// !!! a lot of extra digamma's here because of how we're computing it
// !!! but its more automatically updated too.
digamma_gam[k] = digamma(var_gamma[k]);
}
}
likelihood = compute_likelihood(doc, model, phi, var_gamma);
assert(!isnan(likelihood));
converged = (likelihood_old - likelihood) / likelihood_old;
likelihood_old = likelihood;
// printf("[LDA INF] %8.5f %1.3e\n", likelihood, converged);
}
return(likelihood);
}
/*
* compute likelihood bound
*
*/
double compute_likelihood(document* doc, polarlda_model* model, double** phi, double* var_gamma)
{
double likelihood = 0, digsum = 0, var_gamma_sum = 0, dig[model->num_topics];
int k, n;
for (k = 0; k < model->num_topics; k++)
{
dig[k] = digamma(var_gamma[k]);
var_gamma_sum += var_gamma[k];
}
digsum = digamma(var_gamma_sum);
likelihood = lgamma(model->alpha * model->num_topics)
- model->num_topics * lgamma(model->alpha)
- lgamma(var_gamma_sum);
assert(!isnan(likelihood));
for (k = 0; k < model->num_topics; k++)
{
likelihood += (model->alpha - 1) * (dig[k] - digsum)
+ lgamma(var_gamma[k])
- (var_gamma[k] - 1) * (dig[k] - digsum);
assert(!isnan(likelihood));
for (n = 0; n < doc->length; n++)
{
if (phi[n][k] > 0)
{
likelihood += doc->counts[n] * phi[n][k] *
((dig[k] - digsum) - log(phi[n][k])
+ model->log_prob_w[k][doc->words[n]]);
assert(!isnan(likelihood));
// assert(exp(model->log_prob_pos[k][doc->words[n]]) > 0 && exp(model->log_prob_pos[k][doc->words[n]]) < 1);
// polarity's contributions to likelihood
if (doc->polarities[n])
{
likelihood += doc->counts[n] * phi[n][k] * model->log_prob_pos[k][doc->words[n]];
}
else
{
likelihood += doc->counts[n] * phi[n][k] * log(1 - exp(model->log_prob_pos[k][doc->words[n]]));
}
assert(!isnan(likelihood));
}
}
}
return(likelihood);
}
| ThomasYeoLab/CBIG | external_packages/polarlda-c-dist/code/polarlda-inference.c | C | mit | 5,424 |
# *e_drive* for python
1. [Intro](01_intro.md)
2. [Command Line](02_commandline.md)
3. [System](03_system.md)
4. [Protocol](04_protocol.md)
5. [Drone](05_drone.md)
6. [Examples - Ping](examples_01_ping.md)
7. [Examples - Information](examples_02_information.md)
8. [Examples - Control](examples_03_control.md)
9. [Examples - Sensor](examples_04_sensor.md)
10. [Examples - Motor](examples_05_motor.md)
11. [Examples - Setup](examples_06_setup.md)
12. [Examples - Buzzer](examples_07_buzzer.md)
13. [Examples - Light](examples_08_light.md)
14. [Examples - Error](examples_09_error.md)
[Install Python 3 on macOS](/documents/kr/manual/install_python_3_on_mac_os/)
---
Modified : 2019.4.15
| BYROBOT/byrobot.github.io | documents/kr/products/e_drive/library/python/e_drive/index.md | Markdown | mit | 700 |
struct inter_mcu_msg;
struct point;
struct point{
float x;
float y;
float a;
} ;
typedef unsigned long long uint64_t;
typedef uint64_t uintmax_t;
typedef uint64_t uint_fast64_t;
typedef uint64_t uint_least64_t;
typedef long long int64_t;
typedef int64_t intmax_t;
typedef int64_t int_fast64_t;
typedef int64_t int_least64_t;
typedef unsigned int uint32_t;
typedef uint32_t uint_farptr_t;
typedef uint32_t uint_fast32_t;
typedef uint32_t uint_least32_t;
typedef int int32_t;
typedef int32_t int_farptr_t;
typedef int32_t int_fast32_t;
typedef int32_t int_least32_t;
typedef unsigned short uint16_t;
typedef uint16_t uint_fast16_t;
typedef uint16_t uint_least16_t;
typedef uint16_t uintptr_t;
typedef short int16_t;
typedef int16_t pprz_t;
typedef int16_t int_fast16_t;
typedef int16_t int_least16_t;
typedef int16_t intptr_t;
typedef unsigned char uint8_t;
struct inter_mcu_msg{
int16_t channels [9];
uint8_t ppm_cpt;
uint8_t status;
uint8_t nb_err;
uint8_t vsupply;
} ;
typedef uint8_t bool_t;
typedef uint8_t uint_fast8_t;
typedef uint8_t uint_least8_t;
typedef signed char int8_t;
typedef int8_t int_fast8_t;
typedef int8_t int_least8_t;
typedef int (* __compar_fn_t)(void const*, void const*);
typedef struct {
long quot;
long rem;
} pp_pid_ipp_pid_i_8_0;
typedef pp_pid_ipp_pid_i_8_0 ldiv_t;
typedef struct {
int quot;
int rem;
} pp_pid_ipp_pid_i_4_0;
typedef pp_pid_ipp_pid_i_4_0 div_t;
typedef int wchar_t;
typedef unsigned int size_t;
extern double fabs(double __x);
extern void roll_pitch_pid_run();
void roll_pitch_pid_run();
extern void course_pid_run();
void course_pid_run();
extern void climb_pid_run();
void climb_pid_run();
extern void altitude_pid_run();
void altitude_pid_run();
extern unsigned long timeElapsed;
float desired_roll=0.;
extern float desired_roll;
float max_roll=0.35;
extern float max_roll;
float desired_pitch=0.;
extern float desired_pitch;
float roll_pgain=10000.;
extern float roll_pgain;
float pitch_pgain=15000.;
extern float pitch_pgain;
float pitch_of_roll=0.;
extern float pitch_of_roll;
extern float estimator_phi;
int16_t desired_aileron;
extern float estimator_theta;
int16_t desired_elevator;
float course_pgain=-0.2;
extern float course_pgain;
float desired_course=0.;
extern float desired_course;
extern float estimator_hspeed_dir;
extern float nav_desired_roll;
float const climb_pgain=-0.03;
extern float const climb_pgain;
float const climb_igain=0.1;
extern float const climb_igain;
float climb_sum_err=0;
extern float climb_sum_err;
float desired_climb=0.;
extern float desired_climb;
float pre_climb=0.;
extern float pre_climb;
int16_t desired_gaz;
extern int16_t desired_gaz;
extern int16_t desired_aileron;
extern int16_t desired_elevator;
float pitch_of_vz_pgain=0.05;
extern float pitch_of_vz_pgain;
float pitch_of_vz=0.;
extern float pitch_of_vz;
extern float estimator_z_dot;
extern bool_t auto_pitch;
extern uint16_t nav_desired_gaz;
float climb_pitch_pgain=-0.1;
float climb_pitch_igain=0.025;
float climb_pitch_sum_err=0.;
float max_pitch=0.35;
float min_pitch=-0.35;
extern float nav_pitch;
extern float estimator_z;
extern float desired_altitude;
float altitude_pgain=-0.025;
void roll_pitch_pid_run()
{
(timeElapsed += (734));
float err=estimator_phi - desired_roll;
(timeElapsed += (68)) , desired_aileron = (roll_pgain * err < - (600 * 16) ? (timeElapsed += (4)) , - (600 * 16) : ((timeElapsed += (492)) , roll_pgain * err > (600 * 16) ? (timeElapsed += (4)) , (600 * 16) : (timeElapsed += (563)) , roll_pgain * err));
if(pitch_of_roll < 0.)
(timeElapsed += (8)) , pitch_of_roll = 0.;
(timeElapsed += (1354)) , err = - (estimator_theta - desired_pitch - pitch_of_roll * fabs(estimator_phi));
(timeElapsed += (28)) , desired_elevator = (pitch_pgain * err < - (600 * 16) ? (timeElapsed += (4)) , - (600 * 16) : ((timeElapsed += (563)) , pitch_pgain * err > (600 * 16) ? (timeElapsed += (447)) , (600 * 16) : (timeElapsed += (4)) , pitch_pgain * err));
}
void course_pid_run()
{
(timeElapsed += (237));
float err=estimator_hspeed_dir - desired_course;
{
#ifdef ORIGINAL
while((timeElapsed += (66)) , err > 3.14159265358979323846)
(timeElapsed += (217)) , err -= 2 * 3.14159265358979323846;
while((timeElapsed += (63)) , err < -3.14159265358979323846)
(timeElapsed += (335)) , err += 2 * 3.14159265358979323846;
#else
{
int j = 1;
/**********Loop Variable Declaration******************/
int _LAB_fir_filter_int_0_it_b,_LAB_fir_filter_int_0_it_h,_LAB_fir_filter_int_0_it_s;
/**********Abstract Variable Declaration******************/
unsigned long _LAB_fir_filter_int_0_timeElapsed_0 ;
int _LAB_fir_filter_int_0_j_0 ;
unsigned int _LAB_fir_filter_int_0_k1;
unsigned char _LAB_breakFlag=0;
/**********Abstract Variable Initialization******************/
_LAB_fir_filter_int_0_timeElapsed_0=timeElapsed;
_LAB_fir_filter_int_0_j_0=j;
j = 2 ;
/**********Abstract Loop Header******************/
{ /**********Abstract Factor Assignment******************/
_LAB_fir_filter_int_0_k1= ( j - _LAB_fir_filter_int_0_j_0) ;
/**********Abstract Assignment******************/
timeElapsed = _LAB_fir_filter_int_0_timeElapsed_0 + 66*_LAB_fir_filter_int_0_k1 + 217*_LAB_fir_filter_int_0_k1 + 66;
// err -= 2 * 3.14159265358979323846 * _LAB_fir_filter_int_0_k1;
err = nondet_float();
/**********Assume Conditions******************/
/**********Original Loop Body******************/
/*************Increment/Dercrement**************/
}
/*************Negated Loop Condition*************/
__CPROVER_assume( ! ( err > 3.14159265358979323846) );
}
{
int j = 1;
/**********Loop Variable Declaration******************/
int _LAB_fir_filter_int_0_it_b,_LAB_fir_filter_int_0_it_h,_LAB_fir_filter_int_0_it_s;
/**********Abstract Variable Declaration******************/
unsigned long _LAB_fir_filter_int_0_timeElapsed_0 ;
int _LAB_fir_filter_int_0_j_0 ;
unsigned int _LAB_fir_filter_int_0_k1;
unsigned char _LAB_breakFlag=0;
/**********Abstract Variable Initialization******************/
_LAB_fir_filter_int_0_timeElapsed_0=timeElapsed;
_LAB_fir_filter_int_0_j_0=j;
j = 2 ;
/**********Abstract Loop Header******************/
{ /**********Abstract Factor Assignment******************/
_LAB_fir_filter_int_0_k1= ( j - _LAB_fir_filter_int_0_j_0) ;
/**********Abstract Assignment******************/
timeElapsed = _LAB_fir_filter_int_0_timeElapsed_0 + 63*_LAB_fir_filter_int_0_k1 + 335*_LAB_fir_filter_int_0_k1 + 63;
// err += 2 * 3.14159265358979323846 * _LAB_fir_filter_int_0_k1;
err = nondet_float();
/**********Assume Conditions******************/
/**********Original Loop Body******************/
/*************Increment/Dercrement**************/
}
/*************Negated Loop Condition*************/
__CPROVER_assume( ! (err < -3.14159265358979323846) );
}
#endif
}
;
(timeElapsed += (512)) , nav_desired_roll = course_pgain * err;
if(nav_desired_roll > max_roll)
(timeElapsed += (18)) , nav_desired_roll = max_roll;
else
if((timeElapsed += (71)) , nav_desired_roll < - max_roll)
(timeElapsed += (17)) , nav_desired_roll = - max_roll;
(timeElapsed += (17));
}
void climb_pid_run()
{
(timeElapsed += (248));
float err=estimator_z_dot - desired_climb;
float fgaz;
if(auto_pitch)
{
(timeElapsed += (1271)) , desired_gaz = nav_desired_gaz;
desired_pitch = climb_pitch_pgain * (err + climb_pitch_igain * climb_pitch_sum_err);
if(desired_pitch > max_pitch)
(timeElapsed += (16)) , desired_pitch = max_pitch;
if((timeElapsed += (70)) , desired_pitch < min_pitch)
(timeElapsed += (16)) , desired_pitch = min_pitch;
(timeElapsed += (407)) , climb_pitch_sum_err += err;
if(climb_pitch_sum_err > 100)
(timeElapsed += (12)) , climb_pitch_sum_err = 100;
if((timeElapsed += (68)) , climb_pitch_sum_err < -100)
(timeElapsed += (15)) , climb_pitch_sum_err = -100;
}
else
{
(timeElapsed += (2671)) , pitch_of_vz = ((timeElapsed += (66)) , desired_climb > 0) ? (timeElapsed += (436)) , desired_climb * pitch_of_vz_pgain : (timeElapsed += (4)) , 0.;
fgaz = climb_pgain * (err + climb_igain * climb_sum_err) + 0.31 + 0.2 * desired_climb;
climb_sum_err += err;
if(climb_sum_err > 100)
(timeElapsed += (12)) , climb_sum_err = 100;
if((timeElapsed += (66)) , climb_sum_err < -100)
(timeElapsed += (12)) , climb_sum_err = -100;
(timeElapsed += (345)) , desired_gaz = ((timeElapsed += (485)) , fgaz * (600 * 16) < 0 ? (timeElapsed += (4)) , 0 : ((timeElapsed += (486)) , fgaz * (600 * 16) > (600 * 16) ? (timeElapsed += (4)) , (600 * 16) : (timeElapsed += (557)) , fgaz * (600 * 16)));
desired_pitch = nav_pitch + pitch_of_vz;
}
(timeElapsed += (23));
}
void altitude_pid_run()
{
(timeElapsed += (1067));
float err=estimator_z - desired_altitude;
desired_climb = pre_climb + altitude_pgain * err;
if(desired_climb < -1.)
(timeElapsed += (12)) , desired_climb = -1.;
if((timeElapsed += (66)) , desired_climb > 1.)
(timeElapsed += (12)) , desired_climb = 1.;
(timeElapsed += (17));
}
| TRDDC-TUM/wcet-benchmarks | benchmarks/PapaBench-0.2m/wcet-cbmc/finder-abs/pp_pid_a.c | C | mit | 10,285 |
import math
import numpy
class NEB(object):
""" A Nudged Elastic Band implementation
This NEB implementation is based on http://dx.doi.org/10.1063/1.1323224
by Henkelman et al.
"""
def __init__(self, path, k):
""" Initialize the NEB with a predefined path and force
constants between images.
Typical use-case might look like:
>>> m1 = molecule_from_xyz('m1.xyz')
>>> m2 = molecule_from_xyz('m2.xyz')
>>> apath = neb.interpolate.Linear(m1, m2, 10)
>>> neb = neb.Neb(apath, 5.0)
>>> eandg = somefunction
>>> minimizer = neb.minimizers.SteepestDescent
>>> neb.minimize(100, 0.01, eandg, minimizer)
Arguments:
path -- Path between two endpoints to be optimized
k -- force constant in units of eV / A^2 between each bead in the path
"""
self._path = path
self._k = k
# set bead energies, tangents, forces and spring forces to zero initially
self._tangents = []
self._beadgradients = []
self._springforces = []
self._forces = []
self._energies = []
# accounting variables
self._grms = []
for bead in path:
(n, k) = numpy.shape(bead.getCoordinates())
self._tangents.append(numpy.zeros((n,k)))
self._springforces.append(numpy.zeros((n,k)))
self._beadgradients.append(numpy.zeros((n,k)))
self._forces.append(numpy.zeros((n,k)))
self._energies.append(0.0)
self._grms.append(-1.0)
# now we calculate the tangents and springforces
# for the initial beads
self._beadTangents()
self._springForces()
def innerBeads(self):
""" an iterator over the inner beads """
n = self._path.getNumBeads()
for i, bead in enumerate(self._path):
if i > 0 and i < n-1:
yield bead
def innerBeadForces(self):
""" iterator over the forces of the inner beads """
for i, bead in enumerate(self.innerBeads(), start=1):
yield self._forces[i]
def _beadTangents(self):
""" Evaluates all tangents for all the inner beads """
for ibead, bead in enumerate(self.innerBeads(), start=1):
self._tangents[ibead] = self._beadTangent(bead, self._path[ibead-1], self._path[ibead+1])
def _beadTangent(self, ibead, mbead, pbead):
""" Calculates the tangent for ibead given the bead
indexed by i-1 (mbead) and i+1 (pbead).
Calculated according to eq 2 in http://dx.doi.org/10.1063/1.1323224
Arguments:
ibead -- the current (i'th) bead
mbead -- the (i-1)'th bead to use in the calculation of the tanget
pbead -- the (i+1)'th bead to use in the calculation of the tanget
Returns:
tanget of the bead
"""
Ri = ibead.getCoordinates()
Rm = mbead.getCoordinates()
Rp = pbead.getCoordinates()
vm = Ri - Rm
vp = Rp - Ri
ti = vm / numpy.linalg.norm(numpy.ravel(vm)) + vp / numpy.linalg.norm(numpy.ravel(vp));
return ti / numpy.linalg.norm(ti)
def _springForces(self):
""" Evaluates all spring forces between the beads """
for ibead, bead in enumerate(self.innerBeads(), start=1):
self._springforces[ibead] = self._springForce(bead, self._path[ibead-1], self._path[ibead+1], self._tangents[ibead])
def _springForce(self, ibead, mbead, pbead, tangent):
""" Calculates the spring force for ibead given the bead
indexed by i-1 (mbead) and i+1 (pbead).
"""
Ri = numpy.ravel(ibead.getCoordinates())
Rm = numpy.ravel(mbead.getCoordinates())
Rp = numpy.ravel(pbead.getCoordinates())
# old spring force calculated according
# to eq 5 in http://dx.doi.org/10.1063/1.1323224
r = numpy.dot(numpy.ravel(Rp + Rm - 2*Ri), numpy.ravel(tangent))
return self._k * r * tangent
def _beadGradients(self, func):
""" Calculates the forces on each bead using the func supplied
Calculated according to eq 4 in http://dx.doi.org/10.1063/1.1323224
Arguments:
bead -- the bead whose internal force is to be evaluated
func -- function that returns energy and forces for a bead
Returns:
e, g -- internal energy and force with component projected out
"""
if func is None:
return
for ibead, bead in enumerate(self.innerBeads(), start=1):
energy, gradient = func(bead)
tangent = self._tangents[ibead]
grad_perp = numpy.dot(numpy.ravel(gradient), numpy.ravel(tangent))
# calculate regular NEB bead gradient
self._beadgradients[ibead] = gradient - grad_perp * tangent
self._energies[ibead] = energy
def beadForces(self, func):
""" Calculates the forces of all 'inner' beads
Arguments:
func -- function that returns energy and forces for a bead
"""
self._beadTangents()
self._springForces()
self._beadGradients(func)
for ibead, bead in enumerate(self.innerBeads(), start=1):
bead_force = - self._beadgradients[ibead]
bead_force += self._springforces[ibead]
self._forces[ibead] = bead_force[:]
# Accounting and statistics
f = numpy.ravel(bead_force)
self._grms[ibead] = math.sqrt(f.dot(f)/len(f))
def minimize(self, nsteps, opttol, func, minimizer):
""" Minimizes the NEB path
The minimization is carried out for nsteps to a tolerance
of opttol with the energy and gradients calculated
for each bead by func. The minimizer used is suppplied
via the minimizers argument.
When the method ends, one can iterate over all the beads
in this class to get the states and continue from there.
NOTE: The opttol argument is not active
Arguments:
nstesp -- perform a maximum of nsteps steps
opttol -- the maximum rms gradient shall be below this value
func -- energy and gradient function
minimizer -- a minimizer
"""
for i in range(1, nsteps):
self.beadForces(func)
s = "-"*89 + "\nI={0:3d} ENERGY={1:12.6f} G RMS={2:13.9f}"
s2 = " E ="
s3 = " F RMS ="
s4 = " F SPR ="
maxerg = max(self._energies[1:-1])
grms = 0.0
grmsnrm = 0
for ibead, bead in enumerate(self.innerBeads(), start=1):
c = bead.getCoordinates()
(n, k) = numpy.shape(c)
bead.setCoordinates(c + minimizer.step(self._energies[ibead], self._forces[ibead]))
f = numpy.ravel(self._forces[ibead])
grms += numpy.linalg.norm(f)
grmsnrm += len(f)
s2 += "{0:9.4f}".format(self._energies[ibead])
s3 += "{0:9.4f}".format(self._grms[ibead])
s4 += "{0:9.4f}".format(numpy.max(self._springforces[ibead]))
print s.format(i, maxerg, math.sqrt(grms/grmsnrm))
print s2
print s3
print s4
| cstein/neb | neb/neb.py | Python | mit | 7,489 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using MigAz.Azure.Core.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace MigAz.Azure.Asm
{
public class NetworkSecurityGroup : INetworkSecurityGroup
{
#region Variables
private AzureContext _AzureContext = null;
private XmlNode _XmlNode = null;
private List<NetworkSecurityGroupRule> _Rules;
#endregion
#region Constructors
private NetworkSecurityGroup() { }
public NetworkSecurityGroup(AzureContext azureContext, XmlNode xmlNode)
{
_AzureContext = azureContext;
_XmlNode = xmlNode;
_Rules = new List<NetworkSecurityGroupRule>();
foreach (XmlNode rule in _XmlNode.SelectNodes("//Rules/Rule"))
{
_Rules.Add(new NetworkSecurityGroupRule(_AzureContext, rule));
}
}
#endregion
#region Properties
public string Name
{
get { return _XmlNode.SelectSingleNode("Name").InnerText; }
}
public string Location
{
get { return _XmlNode.SelectSingleNode("Location").InnerText; }
}
public List<NetworkSecurityGroupRule> Rules
{
get { return _Rules; }
}
public override string ToString()
{
return this.Name;
}
#endregion
}
}
| rsanderson2350/migAz | MigAz.Azure/Asm/NetworkSecurityGroup.cs | C# | mit | 1,574 |
/*! supercache - v0.0.1
* Release on: 2014-12-13
* Copyright (c) 2014 Stรฉphane Bachelier
* Licensed MIT */
!function(a,b){"use strict";"function"==typeof define&&define.amd?define(function(){return b()}):"undefined"!=typeof exports?module.exports=b():a.supercache=b()}(this,function(){"use strict";var a=Object.create(null),b=function(b){a[b.req.url]={content:b.text,parse:b.req.parse[b.req.type]}},c=function(b){var c=a[b];return c&&c.content&&c.parse?c.parse(c.text):null},d=function(){a=null},e=function(a){a&&a.on("response",b)};return{writeToCache:e,readFromCache:c,clearCache:d}}); | stephanebachelier/supercache | dist/supercache.min.js | JavaScript | mit | 594 |
from django.db import models
from django.utils import timezone
from django.contrib import admin
from packages.generic import gmodels
from packages.generic.gmodels import content_file_name,content_file_name_same
from datetime import datetime
from django.core.validators import MaxValueValidator, MinValueValidator
from django.conf import settings as stg
import os
import Image as PImage
from embed_video.fields import EmbedVideoField
# Create your models here.
class Conference(models.Model):
title = models.CharField(max_length=160)
def __str__(self):
return self.title
class Category(models.Model):
title = models.CharField(max_length=160)
position = models.PositiveIntegerField(default='0')
class Meta:
verbose_name_plural = 'categories'
def __str__(self):
return self.title
def save(self, *args, **kwargs):
model = self.__class__
if self.position is None:
# Append
try:
last = model.objects.order_by('-position')[0]
self.position = last.position + 1
except IndexError:
# First row
self.position = 0
return super(Category, self).save(*args, **kwargs)
class Code(models.Model):
title = models.CharField(max_length=250)
file = models.FileField(upload_to=content_file_name_same,blank=True)
git_link = models.URLField(blank=True)
programming_language = models.CharField(max_length=40)
details = models.TextField(max_length=600,blank=True)
def __str__(self):
return str(self.title)
class Publication(models.Model):
title = models.CharField(max_length=160)
authors = models.CharField(max_length=220,null=True)
link = models.URLField(null=True, blank=True)
file = models.FileField(upload_to=content_file_name_same, null=True, blank=True)
short = models.CharField(max_length=50,null=True)
bibtex = models.TextField(max_length=1000)
conference_id = models.ForeignKey(Conference)
year = models.PositiveIntegerField(default=datetime.now().year,
validators=[
MaxValueValidator(datetime.now().year + 2),
MinValueValidator(1800)
])
# def __init__(self, *args, **kwargs):
# super(Publication, self).__init__(*args, **kwargs)
# if int(self.conference_id.i) != 0:
# self.conference = Conference.objects.get(id=int(self.conference_id))
def __str__(self):
return self.title
def fullStr(self):
return "%s, \"%s\", %s, %s " % (self.authors, self.title, self.conference_id.title, self.year)
class Project(models.Model):
title = models.CharField(max_length=200)
text = models.TextField(max_length=500)
mtext = models.TextField(max_length=1000,blank=True)
date_created = models.DateTimeField(default=timezone.now)
category_id = models.ForeignKey(Category)
position = models.PositiveIntegerField(default='0')
publications = models.ManyToManyField(Publication, null=True, blank=True)
def save(self, *args, **kwargs):
model = self.__class__
if self.position is None:
# Append
try:
last = model.objects.order_by('-position')[0]
self.position = last.position + 1
except IndexError:
# First row
self.position = 0
return super(Project, self).save(*args, **kwargs)
def get_images(self):
return [y for y in ProjectImage.objects.filter(entity_id_id__exact=self.id)]
def getFirstImage(self):
try:
p = ProjectImage.objects.filter(entity_id_id__exact=self.id)[0]
except IndexError:
p = None
if None != p:
return p
else:
return "default.png"
def get_videos(self):
return [str(y) for y in ProjectVideo.objects.filter(entity_id_id__exact=self.id)]
def get_publications(self):
return [p for p in self.publications.all()]
class Meta:
ordering = ('position',)
def __str__(self):
return self.title
class ProjectImage(gmodels.GImage):
entity_id = models.ForeignKey(Project)
class ProjectVideo(models.Model):
entity_id = models.ForeignKey(Project)
link = EmbedVideoField(null=True) # same like models.URLField()
def __str__(self):
return str(self.link)
class ProjectImageInline(admin.TabularInline):
model = ProjectImage
extra = 1
readonly_fields = ('image_tag',)
class ProjectVideoInline(admin.TabularInline):
model = ProjectVideo
extra = 1
class ProjectAdmin(admin.ModelAdmin):
inlines = [ProjectImageInline, ProjectVideoInline, ]
class Media:
js = ('admin/js/listreorder.js',)
list_display = ('position',)
list_display_links = ('title',)
list_display = ('title', 'position',)
list_editable = ('position',)
class Article(models.Model):
title = models.CharField(max_length=200)
text = models.TextField(max_length=500)
date_created = models.DateTimeField(default=timezone.now)
category_id = models.ForeignKey(Category)
position = models.PositiveIntegerField(default='0')
def save(self, *args, **kwargs):
model = self.__class__
if self.position is None:
# Append
try:
last = model.objects.order_by('-position')[0]
self.position = last.position + 1
except IndexError:
# First row
self.position = 0
return super(Article, self).save(*args, **kwargs)
def get_images(self):
return [y for y in ArticleImage.objects.filter(entity_id_id__exact=self.id)]
def getFirstImage(self):
try:
p = ArticleImage.objects.filter(entity_id_id__exact=self.id)[0]
except IndexError:
p = None
if None != p:
return p
else:
return "default.png"
class Meta:
ordering = ('position',)
def __str__(self):
return self.title
class ArticleImage(gmodels.GImage):
entity_id = models.ForeignKey(Article)
class ArticleImageInline(admin.TabularInline):
model = ArticleImage
extra = 1
readonly_fields = ('image_tag',)
class ArticleAdmin(admin.ModelAdmin):
inlines = [ArticleImageInline, ]
class Media:
js = ('admin/js/listreorder.js',)
list_display = ('position',)
list_display_links = ('title',)
list_display = ('title', 'position',)
list_editable = ('position',)
class CodeSnippet(models.Model):
title = models.CharField(max_length=160)
programming_language = models.CharField(max_length=120)
text = models.TextField(max_length=500)
code = models.TextField(max_length=1000)
date_created = models.DateTimeField(default=timezone.now)
def __str__(self):
return self.title
| sariyanidi/academics-webpage | mysite/blog/models.py | Python | mit | 7,189 |
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_web-sockets-tutorial_session'
| JessRudder/web-sockets-tutorial | config/initializers/session_store.rb | Ruby | mit | 152 |
title: ๅบไบCASๅฎ็ฐๅๅ็ซฏๅ็ฆป็SSO
date: 2020-05-17 21:15:22
categories: web
---

ไธ็งๅบไบๆ ๅCAS๏ผๅฎ็ฐๅๅ็ซฏๅ็ฆป็SSO็ๆนๆก
<!--more-->
# ๅบ็ก็ฅ่ฏ
ไธ่ฌๅๅ็SSO๏ผ็จๅ
ฑไบซsessionๅฐฑๅฏไปฅๅฎ็ฐไบ๏ผๅธธ่งไบๅๅพฎๆๅก้ฝๆฏ่ชๅทฑๅผๅ็ๆ
ๅตใๆดๆฎ้็ๅบๆฏๆฏ่ทจๅ้ๆ็SSO๏ผ่ฟๆถๅไธ่ฌ้็จๆ ๅ็CASๆนๆกใไธไธชๆ ๅ็CAS่ฎค่ฏๆต็จๅฆไธๅพ๏ผๅทฒ็ป็ปๅพ้ๅธธๆธ
ๆฅไบ

ๅคง่ดไธๆฏ่ฟๆ ท็ไธไธชๆต็จ๏ผๅฝ็จๆท่ฏทๆฑๅบ็จๆๅกๅจๆไพ็ๆไธชๆๅก`abc`๏ผๅฆๆๆฒกๆ็ปๅฝ่ฟ๏ผ้ฃไนไผ่ฟๅไธไธช302๏ผ่ทณ่ฝฌๅฐ`cas/login?service=abc`๏ผๅจCAS็ปๅฝๅ๏ผๅไผ302ๅฐ`abc?ticket=STxxxxx`๏ผ่ฟ้abcๅฐฑๆฏๅ้ขserviceๅกซ็ๅฐๅ๏ผ๏ผๅบ็จๆๅกๅจ็จ่ฟไธชticketๅฐCAS Server่ฎค่ฏ๏ผๅฆๆOK็่ฏ๏ผๅไธๆฌก302ๅฐ`abc`๏ผๅฎๆๆดไธช่ฎค่ฏ่ฟ็จ
## ้่ฆ็ๆฆๅฟต
TGT๏ผTicket Granting Ticket๏ผ่ฟๆฏCAS Server้ไฟๅญ็๏ผ็จไบ่ฎค่ฏ็จๆทๅทฒ็ปๅจCAS็ปๅฝ่ฟ
TGC๏ผTicket Granting Cookie๏ผ่ทไธ้ข็TGTๅฏนๅบ๏ผๆฏๅทฒ็ป่ฎค่ฏ่ฟ็็จๆทๅจๆต่งๅจ้ไฟๅญ็cookie
ST๏ผService Ticket๏ผ่ฟๆฏCAS Serverๅ็ปๅบ็จๆๅกๅจ็ๅญ่ฏ๏ผๅบ็จๆๅกๅจๅ็จSTๅฐCAS Server่ฎค่ฏ
## ๅธธ็จfilter
ๅฆๆๅบ็จๆๅกๅจๆฏ็จJAVAๅ็๏ผ้ฃไน้ๅธธไผ็จๅฐไธ้ขๅ ไธชfilter๏ผ
ไธไธชๆฏAuthenticationFilter๏ผ่ฟไธชfilterๆฆๆช่ฏทๆฑ๏ผๅคๆญๆฏๅฆ่ฎค่ฏใๅฆๆๆฒกๆ่ฎค่ฏ๏ผๅฐฑ่ทณ่ฝฌๅฐCAS Server่ฎค่ฏ
ๅฆไธไธชๆฏTicketFilter๏ผ่ฟไธชfilter็จไบๅฐSTๆฟๅฐCAS Server่ฎค่ฏ
# ๅๅ็ซฏๅ็ฆป็ๅบๆฏ
็ฐๅจwebๅบ็จไธ่ฌ้็จๅๅ็ซฏๅ็ฆป็ๆถๆ๏ผ้่ฟajax่ฏทๆฑๅ็ซฏๆๅก๏ผ่ฟๆ ทไผๆ ๆณ่ทณ่ฝฌๅๅๆฅ็้ๆ้กต้ข๏ผ้่ฆๅจCASๆต็จ็ๅบ็กไธ็จๅ ๆน้
ไธป่ฆๆ่ทฏๆฏ่ฎฉ้กต้ขๅจๅ่ตทไธๅก่ฏทๆฑไนๅ๏ผๅ
็กฎไฟ็ปๅฝๅฎๆใๅจๅ็ซฏๆไพauthๆๅก็จไบ้ดๆ๏ผๅvalidateๆๅก็จไบ้ช่ฏST๏ผๅนถ่ทณ่ฝฌๅๅๅง้ๆ้กต้ข๏ผๆต็จๅฆไธๅพ

่ฟ็งๆนๅผๆฏ่ตทๆ ๅ็CASๆต็จ๏ผไธป่ฆๅทฎๅซๅจไบไธๅฎๅ
จไพ่ตไบHTTP response codeๅๆต่งๅจ้ป่ฎค่กไธบ๏ผๅจๅ็ซฏjavascriptไธญๅไบๆงๅถใๆฏๅฆ่ฏดๆฎ้็ๆ
ๅต๏ผๅ็ซฏๆฏ่ฟๅไธไธช302 `cas/login?service=abc`๏ผๅจ่ฟไธชๆนๆก้๏ผ่ทณ่ฝฌ้ป่พๆฏ็ดๆฅๅๅจๅ็ซฏjavascript้็
่ฟ้ๅฏนserviceๅๆฐๅไบๅฎๅถๅนถencoding๏ผไผ ็ๆฏ`cas/login?service=abc?originUrl=xxx`๏ผไบๆฏๅฝCAS Server็ปๅฝไนๅ๏ผ่ฟๅ็ๆฏ302 `abc?originUrl=xxx&ticket=STxxxxx`๏ผ่ฟ้็xxxๆฏ้ช่ฏๅฎๆๅ่ทณ่ฝฌๅ็ๅๅง้ๆ้กต้ข | kyfxbl/blog | source/_posts/sso-via-cas.md | Markdown | mit | 2,598 |
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation |
// | |
// | This program is distributed in the hope that it will be useful, but |
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+
/**
* @package functions\___
*/
include_once( PHPWG_ROOT_PATH .'include/functions_plugins.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_user.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_cookie.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_session.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_category.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_html.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_tag.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' );
include_once( PHPWG_ROOT_PATH .'include/derivative_params.inc.php');
include_once( PHPWG_ROOT_PATH .'include/derivative_std_params.inc.php');
include_once( PHPWG_ROOT_PATH .'include/derivative.inc.php');
include_once( PHPWG_ROOT_PATH .'include/template.class.php');
include_once( PHPWG_ROOT_PATH .'include/cache.class.php');
/**
* returns the current microsecond since Unix epoch
*
* @return int
*/
function micro_seconds()
{
$t1 = explode(' ', microtime());
$t2 = explode('.', $t1[0]);
$t2 = $t1[1].substr($t2[1], 0, 6);
return $t2;
}
/**
* returns a float value coresponding to the number of seconds since
* the unix epoch (1st January 1970) and the microseconds are precised
* e.g. 1052343429.89276600
*
* @return float
*/
function get_moment()
{
return microtime(true);
}
/**
* returns the number of seconds (with 3 decimals precision)
* between the start time and the end time given
*
* @param float $start
* @param float $end
* @return string "$TIME s"
*/
function get_elapsed_time($start, $end)
{
return number_format($end - $start, 3, '.', ' ').' s';
}
/**
* returns the part of the string after the last "."
*
* @param string $filename
* @return string
*/
function get_extension( $filename )
{
return substr( strrchr( $filename, '.' ), 1, strlen ( $filename ) );
}
/**
* returns the part of the string before the last ".".
* get_filename_wo_extension( 'test.tar.gz' ) = 'test.tar'
*
* @param string $filename
* @return string
*/
function get_filename_wo_extension( $filename )
{
$pos = strrpos( $filename, '.' );
return ($pos===false) ? $filename : substr( $filename, 0, $pos);
}
/** no option for mkgetdir() */
define('MKGETDIR_NONE', 0);
/** sets mkgetdir() recursive */
define('MKGETDIR_RECURSIVE', 1);
/** sets mkgetdir() exit script on error */
define('MKGETDIR_DIE_ON_ERROR', 2);
/** sets mkgetdir() add a index.htm file */
define('MKGETDIR_PROTECT_INDEX', 4);
/** sets mkgetdir() add a .htaccess file*/
define('MKGETDIR_PROTECT_HTACCESS', 8);
/** default options for mkgetdir() = MKGETDIR_RECURSIVE | MKGETDIR_DIE_ON_ERROR | MKGETDIR_PROTECT_INDEX */
define('MKGETDIR_DEFAULT', MKGETDIR_RECURSIVE | MKGETDIR_DIE_ON_ERROR | MKGETDIR_PROTECT_INDEX);
/**
* creates directory if not exists and ensures that directory is writable
*
* @param string $dir
* @param int $flags combination of MKGETDIR_xxx
* @return bool
*/
function mkgetdir($dir, $flags=MKGETDIR_DEFAULT)
{
if ( !is_dir($dir) )
{
global $conf;
if (substr(PHP_OS, 0, 3) == 'WIN')
{
$dir = str_replace('/', DIRECTORY_SEPARATOR, $dir);
}
$umask = umask(0);
$mkd = @mkdir($dir, $conf['chmod_value'], ($flags&MKGETDIR_RECURSIVE) ? true:false );
umask($umask);
if ($mkd==false)
{
!($flags&MKGETDIR_DIE_ON_ERROR) or fatal_error( "$dir ".l10n('no write access'));
return false;
}
if( $flags&MKGETDIR_PROTECT_HTACCESS )
{
$file = $dir.'/.htaccess';
file_exists($file) or @file_put_contents( $file, 'deny from all' );
}
if( $flags&MKGETDIR_PROTECT_INDEX )
{
$file = $dir.'/index.htm';
file_exists($file) or @file_put_contents( $file, 'Not allowed!' );
}
}
if ( !is_writable($dir) )
{
!($flags&MKGETDIR_DIE_ON_ERROR) or fatal_error( "$dir ".l10n('no write access'));
return false;
}
return true;
}
/**
* finds out if a string is in ASCII, UTF-8 or other encoding
*
* @param string $str
* @return int *0* if _$str_ is ASCII, *1* if UTF-8, *-1* otherwise
*/
function qualify_utf8($Str)
{
$ret = 0;
for ($i=0; $i<strlen($Str); $i++)
{
if (ord($Str[$i]) < 0x80) continue; # 0bbbbbbb
$ret = 1;
if ((ord($Str[$i]) & 0xE0) == 0xC0) $n=1; # 110bbbbb
elseif ((ord($Str[$i]) & 0xF0) == 0xE0) $n=2; # 1110bbbb
elseif ((ord($Str[$i]) & 0xF8) == 0xF0) $n=3; # 11110bbb
elseif ((ord($Str[$i]) & 0xFC) == 0xF8) $n=4; # 111110bb
elseif ((ord($Str[$i]) & 0xFE) == 0xFC) $n=5; # 1111110b
else return -1; # Does not match any model
for ($j=0; $j<$n; $j++)
{ # n bytes matching 10bbbbbb follow ?
if ((++$i == strlen($Str)) || ((ord($Str[$i]) & 0xC0) != 0x80))
return -1;
}
}
return $ret;
}
/**
* Remove accents from a UTF-8 or ISO-8859-1 string (from wordpress)
*
* @param string $string
* @return string
*/
function remove_accents($string)
{
$utf = qualify_utf8($string);
if ( $utf == 0 )
{
return $string; // ascii
}
if ( $utf > 0 )
{
$chars = array(
// Decompositions for Latin-1 Supplement
"\xc3\x80"=>'A', "\xc3\x81"=>'A',
"\xc3\x82"=>'A', "\xc3\x83"=>'A',
"\xc3\x84"=>'A', "\xc3\x85"=>'A',
"\xc3\x87"=>'C', "\xc3\x88"=>'E',
"\xc3\x89"=>'E', "\xc3\x8a"=>'E',
"\xc3\x8b"=>'E', "\xc3\x8c"=>'I',
"\xc3\x8d"=>'I', "\xc3\x8e"=>'I',
"\xc3\x8f"=>'I', "\xc3\x91"=>'N',
"\xc3\x92"=>'O', "\xc3\x93"=>'O',
"\xc3\x94"=>'O', "\xc3\x95"=>'O',
"\xc3\x96"=>'O', "\xc3\x99"=>'U',
"\xc3\x9a"=>'U', "\xc3\x9b"=>'U',
"\xc3\x9c"=>'U', "\xc3\x9d"=>'Y',
"\xc3\x9f"=>'s', "\xc3\xa0"=>'a',
"\xc3\xa1"=>'a', "\xc3\xa2"=>'a',
"\xc3\xa3"=>'a', "\xc3\xa4"=>'a',
"\xc3\xa5"=>'a', "\xc3\xa7"=>'c',
"\xc3\xa8"=>'e', "\xc3\xa9"=>'e',
"\xc3\xaa"=>'e', "\xc3\xab"=>'e',
"\xc3\xac"=>'i', "\xc3\xad"=>'i',
"\xc3\xae"=>'i', "\xc3\xaf"=>'i',
"\xc3\xb1"=>'n', "\xc3\xb2"=>'o',
"\xc3\xb3"=>'o', "\xc3\xb4"=>'o',
"\xc3\xb5"=>'o', "\xc3\xb6"=>'o',
"\xc3\xb9"=>'u', "\xc3\xba"=>'u',
"\xc3\xbb"=>'u', "\xc3\xbc"=>'u',
"\xc3\xbd"=>'y', "\xc3\xbf"=>'y',
// Decompositions for Latin Extended-A
"\xc4\x80"=>'A', "\xc4\x81"=>'a',
"\xc4\x82"=>'A', "\xc4\x83"=>'a',
"\xc4\x84"=>'A', "\xc4\x85"=>'a',
"\xc4\x86"=>'C', "\xc4\x87"=>'c',
"\xc4\x88"=>'C', "\xc4\x89"=>'c',
"\xc4\x8a"=>'C', "\xc4\x8b"=>'c',
"\xc4\x8c"=>'C', "\xc4\x8d"=>'c',
"\xc4\x8e"=>'D', "\xc4\x8f"=>'d',
"\xc4\x90"=>'D', "\xc4\x91"=>'d',
"\xc4\x92"=>'E', "\xc4\x93"=>'e',
"\xc4\x94"=>'E', "\xc4\x95"=>'e',
"\xc4\x96"=>'E', "\xc4\x97"=>'e',
"\xc4\x98"=>'E', "\xc4\x99"=>'e',
"\xc4\x9a"=>'E', "\xc4\x9b"=>'e',
"\xc4\x9c"=>'G', "\xc4\x9d"=>'g',
"\xc4\x9e"=>'G', "\xc4\x9f"=>'g',
"\xc4\xa0"=>'G', "\xc4\xa1"=>'g',
"\xc4\xa2"=>'G', "\xc4\xa3"=>'g',
"\xc4\xa4"=>'H', "\xc4\xa5"=>'h',
"\xc4\xa6"=>'H', "\xc4\xa7"=>'h',
"\xc4\xa8"=>'I', "\xc4\xa9"=>'i',
"\xc4\xaa"=>'I', "\xc4\xab"=>'i',
"\xc4\xac"=>'I', "\xc4\xad"=>'i',
"\xc4\xae"=>'I', "\xc4\xaf"=>'i',
"\xc4\xb0"=>'I', "\xc4\xb1"=>'i',
"\xc4\xb2"=>'IJ', "\xc4\xb3"=>'ij',
"\xc4\xb4"=>'J', "\xc4\xb5"=>'j',
"\xc4\xb6"=>'K', "\xc4\xb7"=>'k',
"\xc4\xb8"=>'k', "\xc4\xb9"=>'L',
"\xc4\xba"=>'l', "\xc4\xbb"=>'L',
"\xc4\xbc"=>'l', "\xc4\xbd"=>'L',
"\xc4\xbe"=>'l', "\xc4\xbf"=>'L',
"\xc5\x80"=>'l', "\xc5\x81"=>'L',
"\xc5\x82"=>'l', "\xc5\x83"=>'N',
"\xc5\x84"=>'n', "\xc5\x85"=>'N',
"\xc5\x86"=>'n', "\xc5\x87"=>'N',
"\xc5\x88"=>'n', "\xc5\x89"=>'N',
"\xc5\x8a"=>'n', "\xc5\x8b"=>'N',
"\xc5\x8c"=>'O', "\xc5\x8d"=>'o',
"\xc5\x8e"=>'O', "\xc5\x8f"=>'o',
"\xc5\x90"=>'O', "\xc5\x91"=>'o',
"\xc5\x92"=>'OE', "\xc5\x93"=>'oe',
"\xc5\x94"=>'R', "\xc5\x95"=>'r',
"\xc5\x96"=>'R', "\xc5\x97"=>'r',
"\xc5\x98"=>'R', "\xc5\x99"=>'r',
"\xc5\x9a"=>'S', "\xc5\x9b"=>'s',
"\xc5\x9c"=>'S', "\xc5\x9d"=>'s',
"\xc5\x9e"=>'S', "\xc5\x9f"=>'s',
"\xc5\xa0"=>'S', "\xc5\xa1"=>'s',
"\xc5\xa2"=>'T', "\xc5\xa3"=>'t',
"\xc5\xa4"=>'T', "\xc5\xa5"=>'t',
"\xc5\xa6"=>'T', "\xc5\xa7"=>'t',
"\xc5\xa8"=>'U', "\xc5\xa9"=>'u',
"\xc5\xaa"=>'U', "\xc5\xab"=>'u',
"\xc5\xac"=>'U', "\xc5\xad"=>'u',
"\xc5\xae"=>'U', "\xc5\xaf"=>'u',
"\xc5\xb0"=>'U', "\xc5\xb1"=>'u',
"\xc5\xb2"=>'U', "\xc5\xb3"=>'u',
"\xc5\xb4"=>'W', "\xc5\xb5"=>'w',
"\xc5\xb6"=>'Y', "\xc5\xb7"=>'y',
"\xc5\xb8"=>'Y', "\xc5\xb9"=>'Z',
"\xc5\xba"=>'z', "\xc5\xbb"=>'Z',
"\xc5\xbc"=>'z', "\xc5\xbd"=>'Z',
"\xc5\xbe"=>'z', "\xc5\xbf"=>'s',
// Decompositions for Latin Extended-B
"\xc8\x98"=>'S', "\xc8\x99"=>'s',
"\xc8\x9a"=>'T', "\xc8\x9b"=>'t',
// Euro Sign
"\xe2\x82\xac"=>'E',
// GBP (Pound) Sign
"\xc2\xa3"=>'');
$string = strtr($string, $chars);
}
else
{
// Assume ISO-8859-1 if not UTF-8
$chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
.chr(252).chr(253).chr(255);
$chars['out'] = "EfSZszYcYuAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy";
$string = strtr($string, $chars['in'], $chars['out']);
$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
$string = str_replace($double_chars['in'], $double_chars['out'], $string);
}
return $string;
}
if (function_exists('mb_strtolower') && defined('PWG_CHARSET'))
{
/**
* removes accents from a string and converts it to lower case
*
* @param string $term
* @return string
*/
function transliterate($term)
{
return remove_accents( mb_strtolower($term, PWG_CHARSET) );
}
}
else
{
/**
* @ignore
*/
function transliterate($term)
{
return remove_accents( strtolower($term) );
}
}
/**
* simplify a string to insert it into an URL
*
* @param string $str
* @return string
*/
function str2url($str)
{
$str = $safe = transliterate($str);
$str = preg_replace('/[^\x80-\xffa-z0-9_\s\'\:\/\[\],-]/','',$str);
$str = preg_replace('/[\s\'\:\/\[\],-]+/',' ',trim($str));
$res = str_replace(' ','_',$str);
if (empty($res))
{
$res = str_replace(' ','_', $safe);
}
return $res;
}
/**
* returns an array with a list of {language_code => language_name}
*
* @return string[]
*/
function get_languages()
{
$query = '
SELECT id, name
FROM '.LANGUAGES_TABLE.'
ORDER BY name ASC
;';
$result = pwg_query($query);
$languages = array();
while ($row = pwg_db_fetch_assoc($result))
{
if (is_dir(PHPWG_ROOT_PATH.'language/'.$row['id']))
{
$languages[ $row['id'] ] = $row['name'];
}
}
return $languages;
}
/**
* log the visit into history table
*
* @param int $image_id
* @param string $image_type
* @return bool
*/
function pwg_log($image_id = null, $image_type = null)
{
global $conf, $user, $page;
$do_log = $conf['log'];
if (is_admin())
{
$do_log = $conf['history_admin'];
}
if (is_a_guest())
{
$do_log = $conf['history_guest'];
}
$do_log = trigger_change('pwg_log_allowed', $do_log, $image_id, $image_type);
if (!$do_log)
{
return false;
}
$tags_string = null;
if ('tags'==@$page['section'])
{
$tags_string = implode(',', $page['tag_ids']);
}
$query = '
INSERT INTO '.HISTORY_TABLE.'
(
date,
time,
user_id,
IP,
section,
category_id,
image_id,
image_type,
tag_ids
)
VALUES
(
CURRENT_DATE,
CURRENT_TIME,
'.$user['id'].',
\''.$_SERVER['REMOTE_ADDR'].'\',
'.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').',
'.(isset($page['category']['id']) ? $page['category']['id'] : 'NULL').',
'.(isset($image_id) ? $image_id : 'NULL').',
'.(isset($image_type) ? "'".$image_type."'" : 'NULL').',
'.(isset($tags_string) ? "'".$tags_string."'" : 'NULL').'
)
;';
pwg_query($query);
return true;
}
/**
* Computes the difference between two dates.
* returns a DateInterval object or a stdClass with the same attributes
* http://stephenharris.info/date-intervals-in-php-5-2
*
* @param DateTime $date1
* @param DateTime $date2
* @return DateInterval|stdClass
*/
function dateDiff($date1, $date2)
{
if (version_compare(PHP_VERSION, '5.3.0') >= 0)
{
return $date1->diff($date2);
}
$diff = new stdClass();
//Make sure $date1 is ealier
$diff->invert = $date2 < $date1;
if ($diff->invert)
{
list($date1, $date2) = array($date2, $date1);
}
//Calculate R values
$R = ($date1 <= $date2 ? '+' : '-');
$r = ($date1 <= $date2 ? '' : '-');
//Calculate total days
$diff->days = round(abs($date1->format('U') - $date2->format('U'))/86400);
//A leap year work around - consistent with DateInterval
$leap_year = $date1->format('m-d') == '02-29';
if ($leap_year)
{
$date1->modify('-1 day');
}
//Years, months, days, hours
$periods = array('years'=>-1, 'months'=>-1, 'days'=>-1, 'hours'=>-1);
foreach ($periods as $period => &$i)
{
if ($period == 'days' && $leap_year)
{
$date1->modify('+1 day');
}
while ($date1 <= $date2 )
{
$date1->modify('+1 '.$period);
$i++;
}
//Reset date and record increments
$date1->modify('-1 '.$period);
}
list($diff->y, $diff->m, $diff->d, $diff->h) = array_values($periods);
//Minutes, seconds
$diff->s = round(abs($date1->format('U') - $date2->format('U')));
$diff->i = floor($diff->s/60);
$diff->s = $diff->s - $diff->i*60;
return $diff;
}
/**
* converts a string into a DateTime object
*
* @param int|string timestamp or datetime string
* @param string $format input format respecting date() syntax
* @return DateTime|false
*/
function str2DateTime($original, $format=null)
{
if (empty($original))
{
return false;
}
if ($original instanceof DateTime)
{
return $original;
}
if (!empty($format) && version_compare(PHP_VERSION, '5.3.0') >= 0)// from known date format
{
return DateTime::createFromFormat('!'.$format, $original); // ! char to reset fields to UNIX epoch
}
else
{
$t = trim($original, '0123456789');
if (empty($t)) // from timestamp
{
return new DateTime('@'.$original);
}
else // from unknown date format (assuming something like Y-m-d H:i:s)
{
$ymdhms = array();
$tok = strtok($original, '- :/');
while ($tok !== false)
{
$ymdhms[] = $tok;
$tok = strtok('- :/');
}
if (count($ymdhms)<3) return false;
if (!isset($ymdhms[3])) $ymdhms[3] = 0;
if (!isset($ymdhms[4])) $ymdhms[4] = 0;
if (!isset($ymdhms[5])) $ymdhms[5] = 0;
$date = new DateTime();
$date->setDate($ymdhms[0], $ymdhms[1], $ymdhms[2]);
$date->setTime($ymdhms[3], $ymdhms[4], $ymdhms[5]);
return $date;
}
}
}
/**
* returns a formatted and localized date for display
*
* @param int|string timestamp or datetime string
* @param array $show list of components displayed, default is ['day_name', 'day', 'month', 'year']
* THIS PARAMETER IS PLANNED TO CHANGE
* @param string $format input format respecting date() syntax
* @return string
*/
function format_date($original, $show=null, $format=null)
{
global $lang;
$date = str2DateTime($original, $format);
if (!$date)
{
return l10n('N/A');
}
if ($show === null || $show === true)
{
$show = array('day_name', 'day', 'month', 'year');
}
// TODO use IntlDateFormatter for proper i18n
$print = '';
if (in_array('day_name', $show))
$print.= $lang['day'][ $date->format('w') ].' ';
if (in_array('day', $show))
$print.= $date->format('j').' ';
if (in_array('month', $show))
$print.= $lang['month'][ $date->format('n') ].' ';
if (in_array('year', $show))
$print.= $date->format('Y').' ';
if (in_array('time', $show))
{
$temp = $date->format('H:i');
if ($temp != '00:00')
{
$print.= $temp.' ';
}
}
return trim($print);
}
/**
* Format a "From ... to ..." string from two dates
* @param string $from
* @param string $to
* @param boolean $full
* @return string
*/
function format_fromto($from, $to, $full=false)
{
$from = str2DateTime($from);
$to = str2DateTime($to);
if ($from->format('Y-m-d') == $to->format('Y-m-d'))
{
return format_date($from);
}
else
{
if ($full || $from->format('Y') != $to->format('Y'))
{
$from_str = format_date($from);
}
else if ($from->format('m') != $to->format('m'))
{
$from_str = format_date($from, array('day_name', 'day', 'month'));
}
else
{
$from_str = format_date($from, array('day_name', 'day'));
}
$to_str = format_date($to);
return l10n('from %s to %s', $from_str, $to_str);
}
}
/**
* Works out the time since the given date
*
* @param int|string timestamp or datetime string
* @param string $stop year,month,week,day,hour,minute,second
* @param string $format input format respecting date() syntax
* @param bool $with_text append "ago" or "in the future"
* @param bool $with_weeks
* @return string
*/
function time_since($original, $stop='minute', $format=null, $with_text=true, $with_week=true)
{
$date = str2DateTime($original, $format);
if (!$date)
{
return l10n('N/A');
}
$now = new DateTime();
$diff = dateDiff($now, $date);
$chunks = array(
'year' => $diff->y,
'month' => $diff->m,
'week' => 0,
'day' => $diff->d,
'hour' => $diff->h,
'minute' => $diff->i,
'second' => $diff->s,
);
// DateInterval does not contain the number of weeks
if ($with_week)
{
$chunks['week'] = (int)floor($chunks['day']/7);
$chunks['day'] = $chunks['day'] - $chunks['week']*7;
}
$j = array_search($stop, array_keys($chunks));
$print = ''; $i=0;
foreach ($chunks as $name => $value)
{
if ($value != 0)
{
$print.= ' '.l10n_dec('%d '.$name, '%d '.$name.'s', $value);
}
if (!empty($print) && $i >= $j)
{
break;
}
$i++;
}
$print = trim($print);
if ($with_text)
{
if ($diff->invert)
{
$print = l10n('%s ago', $print);
}
else
{
$print = l10n('%s in the future', $print);
}
}
return $print;
}
/**
* transform a date string from a format to another (MySQL to d/M/Y for instance)
*
* @param string $original
* @param string $format_in respecting date() syntax
* @param string $format_out respecting date() syntax
* @param string $default if _$original_ is empty
* @return string
*/
function transform_date($original, $format_in, $format_out, $default=null)
{
if (empty($original)) return $default;
$date = str2DateTime($original, $format_in);
return $date->format($format_out);
}
/**
* append a variable to _$debug_ global
*
* @param string $string
*/
function pwg_debug( $string )
{
global $debug,$t2,$page;
$now = explode( ' ', microtime() );
$now2 = explode( '.', $now[0] );
$now2 = $now[1].'.'.$now2[1];
$time = number_format( $now2 - $t2, 3, '.', ' ').' s';
$debug .= '<p>';
$debug.= '['.$time.', ';
$debug.= $page['count_queries'].' queries] : '.$string;
$debug.= "</p>\n";
}
/**
* Redirects to the given URL (HTTP method).
* once this function called, the execution doesn't go further
* (presence of an exit() instruction.
*
* @param string $url
* @return void
*/
function redirect_http( $url )
{
if (ob_get_length () !== FALSE)
{
ob_clean();
}
// default url is on html format
$url = html_entity_decode($url);
header('Request-URI: '.$url);
header('Content-Location: '.$url);
header('Location: '.$url);
exit();
}
/**
* Redirects to the given URL (HTML method).
* once this function called, the execution doesn't go further
* (presence of an exit() instruction.
*
* @param string $url
* @param string $msg
* @param integer $refresh_time
* @return void
*/
function redirect_html( $url , $msg = '', $refresh_time = 0)
{
global $user, $template, $lang_info, $conf, $lang, $t2, $page, $debug;
if (!isset($lang_info) || !isset($template) )
{
$user = build_user( $conf['guest_id'], true);
load_language('common.lang');
trigger_notify('loading_lang');
load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) );
$template = new Template(PHPWG_ROOT_PATH.'themes', get_default_theme());
}
elseif (defined('IN_ADMIN') and IN_ADMIN)
{
$template = new Template(PHPWG_ROOT_PATH.'themes', get_default_theme());
}
if (empty($msg))
{
$msg = nl2br(l10n('Redirection...'));
}
$refresh = $refresh_time;
$url_link = $url;
$title = 'redirection';
$template->set_filenames( array( 'redirect' => 'redirect.tpl' ) );
include( PHPWG_ROOT_PATH.'include/page_header.php' );
$template->set_filenames( array( 'redirect' => 'redirect.tpl' ) );
$template->assign('REDIRECT_MSG', $msg);
$template->parse('redirect');
include( PHPWG_ROOT_PATH.'include/page_tail.php' );
exit();
}
/**
* Redirects to the given URL (automatically choose HTTP or HTML method).
* once this function called, the execution doesn't go further
* (presence of an exit() instruction.
*
* @param string $url
* @param string $msg
* @param integer $refresh_time
* @return void
*/
function redirect( $url , $msg = '', $refresh_time = 0)
{
global $conf;
// with RefeshTime <> 0, only html must be used
if ($conf['default_redirect_method']=='http'
and $refresh_time==0
and !headers_sent()
)
{
redirect_http($url);
}
else
{
redirect_html($url, $msg, $refresh_time);
}
}
/**
* returns available themes
*
* @param bool $show_mobile
* @return array
*/
function get_pwg_themes($show_mobile=false)
{
global $conf;
$themes = array();
$query = '
SELECT
id,
name
FROM '.THEMES_TABLE.'
ORDER BY name ASC
;';
$result = pwg_query($query);
while ($row = pwg_db_fetch_assoc($result))
{
if ($row['id'] == $conf['mobile_theme'])
{
if (!$show_mobile)
{
continue;
}
$row['name'] .= ' ('.l10n('Mobile').')';
}
if (check_theme_installed($row['id']))
{
$themes[ $row['id'] ] = $row['name'];
}
}
// plugins want remove some themes based on user status maybe?
$themes = trigger_change('get_pwg_themes', $themes);
return $themes;
}
/**
* check if a theme is installed (directory exsists)
*
* @param string $theme_id
* @return bool
*/
function check_theme_installed($theme_id)
{
global $conf;
return file_exists($conf['themes_dir'].'/'.$theme_id.'/'.'themeconf.inc.php');
}
/**
* Transforms an original path to its pwg representative
*
* @param string $path
* @param string $representative_ext
* @return string
*/
function original_to_representative($path, $representative_ext)
{
$pos = strrpos($path, '/');
$path = substr_replace($path, 'pwg_representative/', $pos+1, 0);
$pos = strrpos($path, '.');
return substr_replace($path, $representative_ext, $pos+1);
}
/**
* get the full path of an image
*
* @param array $element_info element information from db (at least 'path')
* @return string
*/
function get_element_path($element_info)
{
$path = $element_info['path'];
if ( !url_is_remote($path) )
{
$path = PHPWG_ROOT_PATH.$path;
}
return $path;
}
/**
* fill the current user caddie with given elements, if not already in caddie
*
* @param int[] $elements_id
*/
function fill_caddie($elements_id)
{
global $user;
$query = '
SELECT element_id
FROM '.CADDIE_TABLE.'
WHERE user_id = '.$user['id'].'
;';
$in_caddie = query2array($query, null, 'element_id');
$caddiables = array_diff($elements_id, $in_caddie);
$datas = array();
foreach ($caddiables as $caddiable)
{
$datas[] = array(
'element_id' => $caddiable,
'user_id' => $user['id'],
);
}
if (count($caddiables) > 0)
{
mass_inserts(CADDIE_TABLE, array('element_id','user_id'), $datas);
}
}
/**
* returns the element name from its filename.
* removes file extension and replace underscores by spaces
*
* @param string $filename
* @return string name
*/
function get_name_from_file($filename)
{
return str_replace('_',' ',get_filename_wo_extension($filename));
}
/**
* translation function.
* returns the corresponding value from _$lang_ if existing else the key is returned
* if more than one parameter is provided sprintf is applied
*
* @param string $key
* @param mixed $args,... optional arguments
* @return string
*/
function l10n($key)
{
global $lang, $conf;
if ( ($val=@$lang[$key]) === null)
{
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
{
trigger_error('[l10n] language key "'. $key .'" not defined', E_USER_WARNING);
}
$val = $key;
}
if (func_num_args() > 1)
{
$args = func_get_args();
$val = vsprintf($val, array_slice($args, 1));
}
return $val;
}
/**
* returns the printf value for strings including %d
* returned value is concorded with decimal value (singular, plural)
*
* @param string $singular_key
* @param string $plural_key
* @param int $decimal
* @return string
*/
function l10n_dec($singular_key, $plural_key, $decimal)
{
global $lang_info;
return
sprintf(
l10n((
(($decimal > 1) or ($decimal == 0 and $lang_info['zero_plural']))
? $plural_key
: $singular_key
)), $decimal);
}
/**
* returns a single element to use with l10n_args
*
* @param string $key translation key
* @param mixed $args arguments to use on sprintf($key, args)
* if args is a array, each values are used on sprintf
* @return string
*/
function get_l10n_args($key, $args='')
{
if (is_array($args))
{
$key_arg = array_merge(array($key), $args);
}
else
{
$key_arg = array($key, $args);
}
return array('key_args' => $key_arg);
}
/**
* returns a string formated with l10n elements.
* it is usefull to "prepare" a text and translate it later
* @see get_l10n_args()
*
* @param array $key_args one l10n_args element or array of l10n_args elements
* @param string $sep used when translated elements are concatened
* @return string
*/
function l10n_args($key_args, $sep = "\n")
{
if (is_array($key_args))
{
foreach ($key_args as $key => $element)
{
if (isset($result))
{
$result .= $sep;
}
else
{
$result = '';
}
if ($key === 'key_args')
{
array_unshift($element, l10n(array_shift($element))); // translate the key
$result .= call_user_func_array('sprintf', $element);
}
else
{
$result .= l10n_args($element, $sep);
}
}
}
else
{
fatal_error('l10n_args: Invalid arguments');
}
return $result;
}
/**
* returns the corresponding value from $themeconf if existing or an empty string
*
* @param string $key
* @return string
*/
function get_themeconf($key)
{
global $template;
return $template->get_themeconf($key);
}
/**
* Returns webmaster mail address depending on $conf['webmaster_id']
*
* @return string
*/
function get_webmaster_mail_address()
{
global $conf;
$query = '
SELECT '.$conf['user_fields']['email'].'
FROM '.USERS_TABLE.'
WHERE '.$conf['user_fields']['id'].' = '.$conf['webmaster_id'].'
;';
list($email) = pwg_db_fetch_row(pwg_query($query));
$email = trigger_change('get_webmaster_mail_address', $email);
return $email;
}
/**
* Add configuration parameters from database to global $conf array
*
* @param string $condition SQL condition
* @return void
*/
function load_conf_from_db($condition = '')
{
global $conf;
$query = '
SELECT param, value
FROM '.CONFIG_TABLE.'
'.(!empty($condition) ? 'WHERE '.$condition : '').'
;';
$result = pwg_query($query);
if ((pwg_db_num_rows($result) == 0) and !empty($condition))
{
fatal_error('No configuration data');
}
while ($row = pwg_db_fetch_assoc($result))
{
$val = isset($row['value']) ? $row['value'] : '';
// If the field is true or false, the variable is transformed into a boolean value.
if ($val == 'true')
{
$val = true;
}
elseif ($val == 'false')
{
$val = false;
}
$conf[ $row['param'] ] = $val;
}
trigger_notify('load_conf', $condition);
}
/**
* Add or update a config parameter
*
* @param string $param
* @param string $value
* @param boolean $updateGlobal update global *$conf* variable
* @param callable $parser function to apply to the value before save in database
(eg: serialize, json_encode) will not be applied to *$conf* if *$parser* is *true*
*/
function conf_update_param($param, $value, $updateGlobal=false, $parser=null)
{
if ($parser != null)
{
$dbValue = call_user_func($parser, $value);
}
else if (is_array($value) || is_object($value))
{
$dbValue = addslashes(serialize($value));
}
else
{
$dbValue = boolean_to_string($value);
}
$query = '
INSERT INTO
'.CONFIG_TABLE.' (param, value)
VALUES(\''.$param.'\', \''.$dbValue.'\')
ON DUPLICATE KEY UPDATE value = \''.$dbValue.'\'
;';
pwg_query($query);
if ($updateGlobal)
{
global $conf;
$conf[$param] = $value;
}
}
/**
* Delete one or more config parameters
* @since 2.6
*
* @param string|string[] $params
*/
function conf_delete_param($params)
{
global $conf;
if (!is_array($params))
{
$params = array($params);
}
if (empty($params))
{
return;
}
$query = '
DELETE FROM '.CONFIG_TABLE.'
WHERE param IN(\''. implode('\',\'', $params) .'\')
;';
pwg_query($query);
foreach ($params as $param)
{
unset($conf[$param]);
}
}
/**
* Apply *unserialize* on a value only if it is a string
* @since 2.7
*
* @param array|string $value
* @return array
*/
function safe_unserialize($value)
{
if (is_string($value))
{
return unserialize($value);
}
return $value;
}
/**
* Apply *json_decode* on a value only if it is a string
* @since 2.7
*
* @param array|string $value
* @return array
*/
function safe_json_decode($value)
{
if (is_string($value))
{
return json_decode($value, true);
}
return $value;
}
/**
* Prepends and appends strings at each value of the given array.
*
* @param array $array
* @param string $prepend_str
* @param string $append_str
* @return array
*/
function prepend_append_array_items($array, $prepend_str, $append_str)
{
array_walk(
$array,
create_function('&$s', '$s = "'.$prepend_str.'".$s."'.$append_str.'";')
);
return $array;
}
/**
* creates an simple hashmap based on a SQL query.
* choose one to be the key, another one to be the value.
* @deprecated 2.6
*
* @param string $query
* @param string $keyname
* @param string $valuename
* @return array
*/
function simple_hash_from_query($query, $keyname, $valuename)
{
return query2array($query, $keyname, $valuename);
}
/**
* creates an associative array based on a SQL query.
* choose one to be the key
* @deprecated 2.6
*
* @param string $query
* @param string $keyname
* @return array
*/
function hash_from_query($query, $keyname)
{
return query2array($query, $keyname);
}
/**
* creates a numeric array based on a SQL query.
* if _$fieldname_ is empty the returned value will be an array of arrays
* if _$fieldname_ is provided the returned value will be a one dimension array
* @deprecated 2.6
*
* @param string $query
* @param string $fieldname
* @return array
*/
function array_from_query($query, $fieldname=false)
{
if (false === $fieldname)
{
return query2array($query);
}
else
{
return query2array($query, null, $fieldname);
}
}
/**
* Return the basename of the current script.
* The lowercase case filename of the current script without extension
*
* @return string
*/
function script_basename()
{
global $conf;
foreach (array('SCRIPT_NAME', 'SCRIPT_FILENAME', 'PHP_SELF') as $value)
{
if (!empty($_SERVER[$value]))
{
$filename = strtolower($_SERVER[$value]);
if ($conf['php_extension_in_urls'] and get_extension($filename)!=='php')
continue;
$basename = basename($filename, '.php');
if (!empty($basename))
{
return $basename;
}
}
}
return '';
}
/**
* Return $conf['filter_pages'] value for the current page
*
* @param string $value_name
* @return mixed
*/
function get_filter_page_value($value_name)
{
global $conf;
$page_name = script_basename();
if (isset($conf['filter_pages'][$page_name][$value_name]))
{
return $conf['filter_pages'][$page_name][$value_name];
}
elseif (isset($conf['filter_pages']['default'][$value_name]))
{
return $conf['filter_pages']['default'][$value_name];
}
else
{
return null;
}
}
/**
* return the character set used by Piwigo
* @return string
*/
function get_pwg_charset()
{
$pwg_charset = 'utf-8';
if (defined('PWG_CHARSET'))
{
$pwg_charset = PWG_CHARSET;
}
return $pwg_charset;
}
/**
* returns the parent (fallback) language of a language.
* if _$lang_id_ is null it applies to the current language
* @since 2.6
*
* @param string $lang_id
* @return string|null
*/
function get_parent_language($lang_id=null)
{
if (empty($lang_id))
{
global $lang_info;
return !empty($lang_info['parent']) ? $lang_info['parent'] : null;
}
else
{
$f = PHPWG_ROOT_PATH.'language/'.$lang_id.'/common.lang.php';
if (file_exists($f))
{
include($f);
return !empty($lang_info['parent']) ? $lang_info['parent'] : null;
}
}
return null;
}
/**
* includes a language file or returns the content of a language file
*
* tries to load in descending order:
* param language, user language, default language
*
* @param string $filename
* @param string $dirname
* @param mixed options can contain
* @option string language - language to load
* @option bool return - if true the file content is returned
* @option bool no_fallback - if true do not load default language
* @option bool|string force_fallback - force pre-loading of another language
* default language if *true* or specified language
* @option bool local - if true load file from local directory
* @return boolean|string
*/
function load_language($filename, $dirname = '', $options = array())
{
global $user, $language_files;
// keep trace of plugins loaded files for switch_lang_to() function
if (!empty($dirname) && !empty($filename) && !@$options['return']
&& !isset($language_files[$dirname][$filename]))
{
$language_files[$dirname][$filename] = $options;
}
if (!@$options['return'])
{
$filename .= '.php';
}
if (empty($dirname))
{
$dirname = PHPWG_ROOT_PATH;
}
$dirname .= 'language/';
$default_language = defined('PHPWG_INSTALLED') and !defined('UPGRADES_PATH') ?
get_default_language() : PHPWG_DEFAULT_LANGUAGE;
// construct list of potential languages
$languages = array();
if (!empty($options['language']))
{ // explicit language
$languages[] = $options['language'];
}
if (!empty($user['language']))
{ // use language
$languages[] = $user['language'];
}
if (($parent = get_parent_language()) != null)
{ // parent language
// this is only for when the "child" language is missing
$languages[] = $parent;
}
if (isset($options['force_fallback']))
{ // fallback language
// this is only for when the main language is missing
if ($options['force_fallback'] === true)
{
$options['force_fallback'] = $default_language;
}
$languages[] = $options['force_fallback'];
}
if (!@$options['no_fallback'])
{ // default language
$languages[] = $default_language;
}
$languages = array_unique($languages);
// find first existing
$source_file = '';
$selected_language = '';
foreach ($languages as $language)
{
$f = @$options['local'] ?
$dirname.$language.'.'.$filename:
$dirname.$language.'/'.$filename;
if (file_exists($f))
{
$selected_language = $language;
$source_file = $f;
break;
}
}
if (!empty($source_file))
{
if (!@$options['return'])
{
// load forced fallback
if (isset($options['force_fallback']) && $options['force_fallback'] != $selected_language)
{
@include(str_replace($selected_language, $options['force_fallback'], $source_file));
}
// load language content
@include($source_file);
$load_lang = @$lang;
$load_lang_info = @$lang_info;
// access already existing values
global $lang, $lang_info;
if (!isset($lang)) $lang = array();
if (!isset($lang_info)) $lang_info = array();
// load parent language content directly in global
if (!empty($load_lang_info['parent']))
$parent_language = $load_lang_info['parent'];
else if (!empty($lang_info['parent']))
$parent_language = $lang_info['parent'];
else
$parent_language = null;
if (!empty($parent_language) && $parent_language != $selected_language)
{
@include(str_replace($selected_language, $parent_language, $source_file));
}
// merge contents
$lang = array_merge($lang, (array)$load_lang);
$lang_info = array_merge($lang_info, (array)$load_lang_info);
return true;
}
else
{
$content = @file_get_contents($source_file);
//Note: target charset is always utf-8 $content = convert_charset($content, 'utf-8', $target_charset);
return $content;
}
}
return false;
}
/**
* converts a string from a character set to another character set
*
* @param string $str
* @param string $source_charset
* @param string $dest_charset
*/
function convert_charset($str, $source_charset, $dest_charset)
{
if ($source_charset==$dest_charset)
return $str;
if ($source_charset=='iso-8859-1' and $dest_charset=='utf-8')
{
return utf8_encode($str);
}
if ($source_charset=='utf-8' and $dest_charset=='iso-8859-1')
{
return utf8_decode($str);
}
if (function_exists('iconv'))
{
return iconv($source_charset, $dest_charset, $str);
}
if (function_exists('mb_convert_encoding'))
{
return mb_convert_encoding( $str, $dest_charset, $source_charset );
}
return $str; // TODO
}
/**
* makes sure a index.htm protects the directory from browser file listing
*
* @param string $dir
*/
function secure_directory($dir)
{
$file = $dir.'/index.htm';
if (!file_exists($file))
{
@file_put_contents($file, 'Not allowed!');
}
}
/**
* returns a "secret key" that is to be sent back when a user posts a form
*
* @param int $valid_after_seconds - key validity start time from now
* @param string $aditionnal_data_to_hash
* @return string
*/
function get_ephemeral_key($valid_after_seconds, $aditionnal_data_to_hash = '')
{
global $conf;
$time = round(microtime(true), 1);
return $time.':'.$valid_after_seconds.':'
.hash_hmac(
'md5',
$time.substr($_SERVER['REMOTE_ADDR'],0,5).$valid_after_seconds.$aditionnal_data_to_hash,
$conf['secret_key']);
}
/**
* verify a key sent back with a form
*
* @param string $key
* @param string $aditionnal_data_to_hash
* @return bool
*/
function verify_ephemeral_key($key, $aditionnal_data_to_hash = '')
{
global $conf;
$time = microtime(true);
$key = explode( ':', @$key );
if ( count($key)!=3
or $key[0]>$time-(float)$key[1] // page must have been retrieved more than X sec ago
or $key[0]<$time-3600 // 60 minutes expiration
or hash_hmac(
'md5', $key[0].substr($_SERVER['REMOTE_ADDR'],0,5).$key[1].$aditionnal_data_to_hash, $conf['secret_key']
) != $key[2]
)
{
return false;
}
return true;
}
/**
* return an array which will be sent to template to display navigation bar
*
* @param string $url base url of all links
* @param int $nb_elements
* @param int $start
* @param int $nb_element_page
* @param bool $clean_url
* @param string $param_name
* @return array
*/
function create_navigation_bar($url, $nb_element, $start, $nb_element_page, $clean_url = false, $param_name='start')
{
global $conf;
$navbar = array();
$pages_around = $conf['paginate_pages_around'];
$start_str = $clean_url ? '/'.$param_name.'-' : (strpos($url, '?')===false ? '?':'&').$param_name.'=';
if (!isset($start) or !is_numeric($start) or (is_numeric($start) and $start < 0))
{
$start = 0;
}
// navigation bar useful only if more than one page to display !
if ($nb_element > $nb_element_page)
{
$url_start = $url.$start_str;
$cur_page = $navbar['CURRENT_PAGE'] = $start / $nb_element_page + 1;
$maximum = ceil($nb_element / $nb_element_page);
$start = $nb_element_page * round( $start / $nb_element_page );
$previous = $start - $nb_element_page;
$next = $start + $nb_element_page;
$last = ($maximum - 1) * $nb_element_page;
// link to first page and previous page?
if ($cur_page != 1)
{
$navbar['URL_FIRST'] = $url;
$navbar['URL_PREV'] = $previous > 0 ? $url_start.$previous : $url;
}
// link on next page and last page?
if ($cur_page != $maximum)
{
$navbar['URL_NEXT'] = $url_start.($next < $last ? $next : $last);
$navbar['URL_LAST'] = $url_start.$last;
}
// pages to display
$navbar['pages'] = array();
$navbar['pages'][1] = $url;
for ($i = max( floor($cur_page) - $pages_around , 2), $stop = min( ceil($cur_page) + $pages_around + 1, $maximum);
$i < $stop; $i++)
{
$navbar['pages'][$i] = $url.$start_str.(($i - 1) * $nb_element_page);
}
$navbar['pages'][$maximum] = $url_start.$last;
$navbar['NB_PAGE']=$maximum;
}
return $navbar;
}
/**
* return an array which will be sent to template to display recent icon
*
* @param string $date
* @param bool $is_child_date
* @return array
*/
function get_icon($date, $is_child_date = false)
{
global $cache, $user;
if (empty($date))
{
return false;
}
if (!isset($cache['get_icon']['title']))
{
$cache['get_icon']['title'] = l10n(
'photos posted during the last %d days',
$user['recent_period']
);
}
$icon = array(
'TITLE' => $cache['get_icon']['title'],
'IS_CHILD_DATE' => $is_child_date,
);
if (isset($cache['get_icon'][$date]))
{
return $cache['get_icon'][$date] ? $icon : array();
}
if (!isset($cache['get_icon']['sql_recent_date']))
{
// Use MySql date in order to standardize all recent "actions/queries"
$cache['get_icon']['sql_recent_date'] = pwg_db_get_recent_period($user['recent_period']);
}
$cache['get_icon'][$date] = $date > $cache['get_icon']['sql_recent_date'];
return $cache['get_icon'][$date] ? $icon : array();
}
/**
* check token comming from form posted or get params to prevent csrf attacks.
* if pwg_token is empty action doesn't require token
* else pwg_token is compare to server token
*
* @return void access denied if token given is not equal to server token
*/
function check_pwg_token()
{
if (!empty($_REQUEST['pwg_token']))
{
if (get_pwg_token() != $_REQUEST['pwg_token'])
{
access_denied();
}
}
else
{
bad_request('missing token');
}
}
/**
* get pwg_token used to prevent csrf attacks
*
* @return string
*/
function get_pwg_token()
{
global $conf;
return hash_hmac('md5', session_id(), $conf['secret_key']);
}
/*
* breaks the script execution if the given value doesn't match the given
* pattern. This should happen only during hacking attempts.
*
* @param string $param_name
* @param array $param_array
* @param boolean $is_array
* @param string $pattern
* @param boolean $mandatory
*/
function check_input_parameter($param_name, $param_array, $is_array, $pattern, $mandatory=false)
{
$param_value = null;
if (isset($param_array[$param_name]))
{
$param_value = $param_array[$param_name];
}
// it's ok if the input parameter is null
if (empty($param_value))
{
if ($mandatory)
{
fatal_error('[Hacking attempt] the input parameter "'.$param_name.'" is not valid');
}
return true;
}
if ($is_array)
{
if (!is_array($param_value))
{
fatal_error('[Hacking attempt] the input parameter "'.$param_name.'" should be an array');
}
foreach ($param_value as $item_to_check)
{
if (!preg_match($pattern, $item_to_check))
{
fatal_error('[Hacking attempt] an item is not valid in input parameter "'.$param_name.'"');
}
}
}
else
{
if (!preg_match($pattern, $param_value))
{
fatal_error('[Hacking attempt] the input parameter "'.$param_name.'" is not valid');
}
}
}
/**
* get localized privacy level values
*
* @return string[]
*/
function get_privacy_level_options()
{
global $conf;
$options = array();
$label = '';
foreach (array_reverse($conf['available_permission_levels']) as $level)
{
if (0 == $level)
{
$label = l10n('Everybody');
}
else
{
if (strlen($label))
{
$label .= ', ';
}
$label .= l10n( sprintf('Level %d', $level) );
}
$options[$level] = $label;
}
return $options;
}
/**
* return the branch from the version. For example version 2.2.4 is for branch 2.2
*
* @param string $version
* @return string
*/
function get_branch_from_version($version)
{
return implode('.', array_slice(explode('.', $version), 0, 2));
}
/**
* return the device type: mobile, tablet or desktop
*
* @return string
*/
function get_device()
{
$device = pwg_get_session_var('device');
if (is_null($device))
{
include_once(PHPWG_ROOT_PATH.'include/mdetect.php');
$uagent_obj = new uagent_info();
if ($uagent_obj->DetectSmartphone())
{
$device = 'mobile';
}
elseif ($uagent_obj->DetectTierTablet())
{
$device = 'tablet';
}
else
{
$device = 'desktop';
}
pwg_set_session_var('device', $device);
}
return $device;
}
/**
* return true if mobile theme should be loaded
*
* @return bool
*/
function mobile_theme()
{
global $conf;
if (empty($conf['mobile_theme']))
{
return false;
}
if (isset($_GET['mobile']))
{
$is_mobile_theme = get_boolean($_GET['mobile']);
pwg_set_session_var('mobile_theme', $is_mobile_theme);
}
else
{
$is_mobile_theme = pwg_get_session_var('mobile_theme');
}
if (is_null($is_mobile_theme))
{
$is_mobile_theme = (get_device() == 'mobile');
pwg_set_session_var('mobile_theme', $is_mobile_theme);
}
return $is_mobile_theme;
}
/**
* check url format
*
* @param string $url
* @return bool
*/
function url_check_format($url)
{
return filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED)!==false;
}
/**
* check email format
*
* @param string $mail_address
* @return bool
*/
function email_check_format($mail_address)
{
return filter_var($mail_address, FILTER_VALIDATE_EMAIL)!==false;
}
/**
* returns the number of available comments for the connected user
*
* @return int
*/
function get_nb_available_comments()
{
global $user;
if (!isset($user['nb_available_comments']))
{
$where = array();
if ( !is_admin() )
$where[] = 'validated=\'true\'';
$where[] = get_sql_condition_FandF
(
array
(
'forbidden_categories' => 'category_id',
'forbidden_images' => 'ic.image_id'
),
'', true
);
$query = '
SELECT COUNT(DISTINCT(com.id))
FROM '.IMAGE_CATEGORY_TABLE.' AS ic
INNER JOIN '.COMMENTS_TABLE.' AS com
ON ic.image_id = com.image_id
WHERE '.implode('
AND ', $where);
list($user['nb_available_comments']) = pwg_db_fetch_row(pwg_query($query));
single_update(USER_CACHE_TABLE,
array('nb_available_comments'=>$user['nb_available_comments']),
array('user_id'=>$user['id'])
);
}
return $user['nb_available_comments'];
}
/**
* Compare two versions with version_compare after having converted
* single chars to their decimal values.
* Needed because version_compare does not understand versions like '2.5.c'.
* @since 2.6
*
* @param string $a
* @param string $b
* @param string $op
*/
function safe_version_compare($a, $b, $op=null)
{
$replace_chars = create_function('$m', 'return ord(strtolower($m[1]));');
// add dot before groups of letters (version_compare does the same thing)
$a = preg_replace('#([0-9]+)([a-z]+)#i', '$1.$2', $a);
$b = preg_replace('#([0-9]+)([a-z]+)#i', '$1.$2', $b);
// apply ord() to any single letter
$a = preg_replace_callback('#\b([a-z]{1})\b#i', $replace_chars, $a);
$b = preg_replace_callback('#\b([a-z]{1})\b#i', $replace_chars, $b);
if (empty($op))
{
return version_compare($a, $b);
}
else
{
return version_compare($a, $b, $op);
}
}
?> | ale252/theatre | web/piwigo/include/functions.inc.php | PHP | mit | 51,149 |
# Creates graph of restaurant reviews for yelp or trip advisor.
# writes graph to gml file for use in gephi
#
# Rob Churchill
#
# NOTE: I learned to do this in my data science class last semester. If you are looking for plagiarism things, you will almost certainly find similar clustering code.
# I did not copy it, I learned this specific way of doing it, and referred to my previous assignments when doing it for this project. If you would like to see my previous
# assignments, I will provide you them on request. Otherwise, I don't think that it's worth adding a lot of extra files for the sole sake of showing that I haven't plagiarized.
import networkx as nx
import numpy as np
import scipy as sp
import csv
folder = 'data/'
file_names = ['yelp_data.csv', 'trip_advisor_data.csv']
# EDIT this line to change which website you make the graph for. True=yelp, False=TripAdvisor
yelp = False
yelp_dataset = list()
file_name = file_names[1]
if yelp == True:
file_name = file_names[0]
# reads in appropriate file given yelp boolean variable
with open(folder+file_name, 'r') as f:
reader = csv.reader(f)
for line in reader:
yelp_dataset.append(line)
# removes headers
yelp_dataset.remove(yelp_dataset[0])
print len(yelp_dataset)
# create the graph
G = nx.Graph()
for y in yelp_dataset:
# add the nodes if they don't already exist
G.add_node(y[4], type='restaurant')
G.add_node(y[13], type='reviewer')
# add the edge between the reviewer and restaurant, weight is in different position in each file.
if yelp == True:
G.add_edge(y[13], y[4], weight=float(y[2]))
else:
G.add_edge(y[13], y[4], weight=float(y[1]))
print nx.number_of_nodes(G)
print nx.number_of_edges(G)
# write graph to gml file.
nx.write_gml(G, 'ta_graph.gml') | rchurch4/georgetown-data-science-fall-2015 | analysis/graph/graph_creation.py | Python | mit | 1,784 |
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:12:"id_formation";s:4:"type";s:7:"integer";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}'); | KaberMohamed/Symfony2015 | app/cache/dev/annotations/8d9008dd9dd9decc511115020d1a14ce217984dd$idFormation.cache.php | PHP | mit | 270 |
<html>
<head>
<title>User agent detail - SonyEricssonC902c/R3DA Browser/NetFront/3.4 Profile/MIDP-2.1 Configuration/CLDC-1.1 JavaPlatform/JP-8.3.2</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">
</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">
SonyEricssonC902c/R3DA Browser/NetFront/3.4 Profile/MIDP-2.1 Configuration/CLDC-1.1 JavaPlatform/JP-8.3.2
</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">Source result (test suite)</th></tr><tr><td>ua-parser/uap-core<br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">SonyEricsson</td><td>C902c</td><td></td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td></td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-test">Detail</a>
<!-- Modal Structure -->
<div id="modal-test" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Testsuite result detail</h4>
<p><pre><code class="php">Array
(
[user_agent_string] => SonyEricssonC902c/R3DA Browser/NetFront/3.4 Profile/MIDP-2.1 Configuration/CLDC-1.1 JavaPlatform/JP-8.3.2
[family] => Ericsson C902c
[brand] => SonyEricsson
[model] => C902c
)
</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>BrowscapPhp<br /><small>6012</small></td><td>NetFront 3.4</td><td>NetFront </td><td> </td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Device</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.05599</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-215ac98d-ccf8-4615-916e-5a819d6a59c9">Detail</a>
<!-- Modal Structure -->
<div id="modal-215ac98d-ccf8-4615-916e-5a819d6a59c9" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapPhp result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^.*netfront\/3\.4.*$/
[browser_name_pattern] => *netfront/3.4*
[parent] => NetFront 3.4
[comment] => Access NetFront 3.4
[browser] => NetFront
[browser_type] => Browser
[browser_bits] => 0
[browser_maker] => Access
[browser_modus] => unknown
[version] => 3.4
[majorver] => 3
[minorver] => 4
[platform] => unknown
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] =>
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[cssversion] => 2
[aolversion] => 0
[device_name] => general Mobile Device
[device_maker] => unknown
[device_type] => Mobile Device
[device_pointing_method] => unknown
[device_code_name] => general Mobile Device
[device_brand_name] => unknown
[renderingengine_name] => NetFront
[renderingengine_version] => unknown
[renderingengine_description] => For Access NetFront.
[renderingengine_maker] => Access
)
</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.0</small></td><td>SonyEricssonC902c R3DA</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.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-f1436016-fdf1-4aea-b4be-1d7c99ab0661">Detail</a>
<!-- Modal Structure -->
<div id="modal-f1436016-fdf1-4aea-b4be-1d7c99ab0661" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] =>
[browser] => SonyEricssonC902c
[version] => R3DA
)
</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></td><td>NetFront 3.4</td><td><i class="material-icons">close</i></td><td>JVM </td><td style="border-left: 1px solid #555">SonyEricsson</td><td>C902</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.18804</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-9b0fa449-ec1b-40c8-8b1c-9486eb3b9cbc">Detail</a>
<!-- Modal Structure -->
<div id="modal-9b0fa449-ec1b-40c8-8b1c-9486eb3b9cbc" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[mobile_screen_height] => 320
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => SonyEricsson
[mobile_model] => C902
[version] => 3.4
[is_android] =>
[browser_name] => NetFront
[operating_system_family] => JVM
[operating_system_version] =>
[is_ios] =>
[producer] => ACCESS CO.,LTD
[operating_system] => JVM (Platform Micro Edition)
[mobile_screen_width] => 240
[mobile_browser] => Access Netfront
)
</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.5.2</small></td><td>NetFront 3.4</td><td>NetFront </td><td> </td><td style="border-left: 1px solid #555">Sony Ericsson</td><td>C902c</td><td>feature phone</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-21638055-738d-46ba-a1b1-f5114bc26475">Detail</a>
<!-- Modal Structure -->
<div id="modal-21638055-738d-46ba-a1b1-f5114bc26475" 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] => NetFront
[short_name] => NF
[version] => 3.4
[engine] => NetFront
)
[operatingSystem] => Array
(
)
[device] => Array
(
[brand] => SE
[brandName] => Sony Ericsson
[model] => C902c
[device] => 3
[deviceName] => feature phone
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] => 1
[isPhablet] =>
[isPortableMediaPlayer] =>
[isSmartDisplay] =>
[isSmartphone] =>
[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.0</small></td>
<td colspan="12" class="center-align red lighten-1">
<strong>No result found</strong>
</td>
</tr><tr><td>UAParser<br /><small>v3.4.5</small></td><td>NetFront 3.4</td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">SonyEricsson</td><td>C902c</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-346c1a98-5fd3-454f-b6c8-350f2f505d8b">Detail</a>
<!-- Modal Structure -->
<div id="modal-346c1a98-5fd3-454f-b6c8-350f2f505d8b" 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] => 3
[minor] => 4
[patch] =>
[family] => NetFront
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] =>
[minor] =>
[patch] =>
[patchMinor] =>
[family] => Other
)
[device] => UAParser\Result\Device Object
(
[brand] => SonyEricsson
[model] => C902c
[family] => Ericsson C902c
)
[originalUserAgent] => SonyEricssonC902c/R3DA Browser/NetFront/3.4 Profile/MIDP-2.1 Configuration/CLDC-1.1 JavaPlatform/JP-8.3.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>UserAgentStringCom<br /><small></small></td><td>NetFront 3.4</td><td><i class="material-icons">close</i></td><td> </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.06401</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-9cdd8b45-a2eb-406b-bd27-7e48af38ffd4">Detail</a>
<!-- Modal Structure -->
<div id="modal-9cdd8b45-a2eb-406b-bd27-7e48af38ffd4" 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] => NetFront
[agent_version] => 3.4
[os_type] => unknown
[os_name] => unknown
[os_versionName] =>
[os_versionNumber] =>
[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></td><td>NetFront </td><td> </td><td> </td><td style="border-left: 1px solid #555">Sony Ericsson</td><td>Sony Ericsson C902c</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.57711</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-9795f66f-7271-430e-973a-a5c0e14dc35a">Detail</a>
<!-- Modal Structure -->
<div id="modal-9795f66f-7271-430e-973a-a5c0e14dc35a" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[operating_system_name] =>
[simple_sub_description_string] =>
[simple_browser_string] => NetFront 3.4 on Sony Ericsson C902c
[browser_version] => 3.4
[extra_info] => Array
(
)
[operating_platform] => Sony Ericsson C902c
[extra_info_table] => Array
(
)
[layout_engine_name] =>
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => netfront
[operating_system_version] =>
[simple_operating_platform_string] =>
[is_abusive] =>
[layout_engine_version] =>
[browser_capabilities] => Array
(
[0] => MIDP v2.1
[1] => CLDC v1.1
)
[operating_platform_vendor_name] => Sony Ericsson
[operating_system] =>
[operating_system_version_full] =>
[operating_platform_code] => C902c
[browser_name] => NetFront
[operating_system_name_code] =>
[user_agent] => SonyEricssonC902c/R3DA Browser/NetFront/3.4 Profile/MIDP-2.1 Configuration/CLDC-1.1 JavaPlatform/JP-8.3.2
[browser_version_full] =>
[browser] => NetFront 3.4
)
</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>2.0.10</small></td><td>NetFront 3.4</td><td> </td><td> </td><td style="border-left: 1px solid #555">Sony Ericsson</td><td>C902c</td><td>mobile:feature</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.014</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-342c8d32-4765-40a8-8a5c-af3a38d19ae4">Detail</a>
<!-- Modal Structure -->
<div id="modal-342c8d32-4765-40a8-8a5c-af3a38d19ae4" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => NetFront
[version] => 3.4
[type] => browser
)
[device] => Array
(
[type] => mobile
[subtype] => feature
[manufacturer] => Sony Ericsson
[model] => C902c
)
)
</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></td>
<td colspan="12" class="center-align red lighten-1">
<strong>No result found</strong>
</td>
</tr><tr><td>Wurfl<br /><small>1.6.4</small></td><td>NetFront 3.4</td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">SonyEricsson</td><td>C902</td><td>Feature Phone</td><td>yes</td><td></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.038</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-1a1aee36-7ce7-4111-a391-8e2c501f1532">Detail</a>
<!-- Modal Structure -->
<div id="modal-1a1aee36-7ce7-4111-a391-8e2c501f1532" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => false
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => false
[is_mobile] => true
[is_robot] => false
[is_smartphone] => false
[is_touchscreen] => false
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] =>
[advertised_device_os_version] =>
[advertised_browser] => NetFront
[advertised_browser_version] => 3.4
[complete_device_name] => SonyEricsson C902
[form_factor] => Feature Phone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => SonyEricsson
[model_name] => C902
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => false
[has_qwerty_keyboard] => false
[can_skip_aligned_link_row] => true
[uaprof] => http://wap.sonyericsson.com/UAprof/C902R101-HS.xml
[uaprof2] => http://wap.sonyericsson.com/UAprof/C902R101-3G.xml
[uaprof3] => http://wap.sonyericsson.com/UAprof/C902R101.xml
[nokia_series] => 0
[nokia_edition] => 0
[device_os] =>
[mobile_browser] => Access Netfront
[mobile_browser_version] => 3.4
[device_os_version] =>
[pointing_method] => joystick
[release_date] => 2008_january
[marketing_name] =>
[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] => true
[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] => true
[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] => false
[xhtml_document_title_support] => true
[xhtml_preferred_charset] => utf8
[opwv_xhtml_extensions_support] => false
[xhtml_make_phone_call_string] => tel:
[xhtmlmp_preferred_mime_type] => application/xhtml+xml
[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] => false
[xhtml_supports_iframe] => partial
[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] => none
[xhtml_support_level] => 4
[preferred_markup] => html_web_4_0
[wml_1_1] => true
[wml_1_2] => true
[wml_1_3] => true
[html_wi_w3_xhtmlbasic] => true
[html_wi_oma_xhtmlmp_1_0] => true
[html_wi_imode_html_1] => true
[html_wi_imode_html_2] => true
[html_wi_imode_html_3] => true
[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] => false
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[total_cache_disable_support] => false
[time_to_live_support] => false
[resolution_width] => 240
[resolution_height] => 320
[columns] => 16
[max_image_width] => 234
[max_image_height] => 300
[rows] => 16
[physical_screen_width] => 30
[physical_screen_height] => 41
[dual_orientation] => false
[density_class] => 1.0
[wbmp] => true
[bmp] => true
[epoc_bmp] => false
[gif_animated] => true
[jpg] => true
[png] => true
[tiff] => false
[transparent_png_alpha] => false
[transparent_png_index] => false
[svgt_1_1] => false
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 262144
[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] => true
[https_support] => true
[phone_id_provided] => false
[max_data_rate] => 3600
[wifi] => false
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 45000
[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] => true
[oma_support] => true
[ringtone] => true
[ringtone_3gpp] => false
[ringtone_midi_monophonic] => false
[ringtone_midi_polyphonic] => false
[ringtone_imelody] => true
[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] => true
[wallpaper_max_width] => 240
[wallpaper_max_height] => 320
[wallpaper_preferred_width] => 240
[wallpaper_preferred_height] => 320
[wallpaper_resize] => none
[wallpaper_wbmp] => false
[wallpaper_bmp] => false
[wallpaper_gif] => true
[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] => true
[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] => true
[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] => true
[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] => true
[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] => true
[oma_v_1_0_forwardlock] => false
[oma_v_1_0_combined_delivery] => false
[oma_v_1_0_separate_delivery] => true
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => false
[streaming_mov] => false
[streaming_video_size_limit] => 0
[streaming_real_media] => none
[streaming_flv] => false
[streaming_3g2] => false
[streaming_vcodec_h263_0] => 30
[streaming_vcodec_h263_3] => -1
[streaming_vcodec_mpeg4_sp] => 3
[streaming_vcodec_mpeg4_asp] => -1
[streaming_vcodec_h264_bp] => 1.3
[streaming_acodec_amr] => nb
[streaming_acodec_aac] => lc
[streaming_wmv] => none
[streaming_preferred_protocol] => rtsp
[streaming_preferred_http_protocol] => none
[wap_push_support] => true
[connectionless_service_indication] => true
[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] => false
[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] => -6
[j2me_right_softkey_code] => -7
[j2me_middle_softkey_code] => 0
[j2me_select_key_code] => -5
[j2me_return_key_code] => -11
[j2me_clear_key_code] => -8
[j2me_datefield_no_accepts_null_date] => false
[j2me_datefield_broken] => false
[receiver] => false
[sender] => false
[mms_max_size] => 614400
[mms_max_height] => 1536
[mms_max_width] => 2048
[built_in_recorder] => false
[built_in_camera] => false
[mms_jpeg_baseline] => true
[mms_jpeg_progressive] => false
[mms_gif_static] => true
[mms_gif_animated] => false
[mms_png] => true
[mms_bmp] => true
[mms_wbmp] => true
[mms_amr] => true
[mms_wav] => true
[mms_midi_monophonic] => true
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => true
[mms_mmf] => false
[mms_mp3] => false
[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] => true
[mms_jad] => true
[mms_vcard] => true
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[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] => true
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => true
[midi_polyphonic] => false
[sp_midi] => true
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => true
[au] => false
[amr] => true
[awb] => false
[aac] => false
[mp3] => true
[voices] => 1
[qcelp] => false
[evrc] => false
[flash_lite_version] => 2_0
[fl_wallpaper] => true
[fl_screensaver] => true
[fl_standalone] => false
[fl_browser] => true
[fl_sub_lcd] => false
[full_flash_support] => false
[css_supports_width_as_percentage] => true
[css_border_image] => none
[css_rounded_corners] => none
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[transcoder_ua_header] => user-agent
[rss_support] => false
[pdf_support] => false
[progressive_download] => true
[playback_vcodec_h263_0] => 30
[playback_vcodec_h263_3] => 10
[playback_vcodec_mpeg4_sp] => 3
[playback_vcodec_mpeg4_asp] => -1
[playback_vcodec_h264_bp] => 1.3
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => false
[playback_mp4] => false
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => lc
[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] => false
[html_preferred_dtd] => xhtml_mp1
[viewport_supported] => false
[viewport_width] =>
[viewport_userscalable] =>
[viewport_initial_scale] =>
[viewport_maximum_scale] =>
[viewport_minimum_scale] =>
[mobileoptimized] => false
[handheldfriendly] => false
[canvas_support] => none
[image_inlining] => true
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => none
[is_sencha_touch_ok] => false
[controlcap_is_smartphone] => default
[controlcap_is_ios] => default
[controlcap_is_android] => default
[controlcap_is_robot] => default
[controlcap_is_app] => default
[controlcap_advertised_device_os] => default
[controlcap_advertised_device_os_version] => default
[controlcap_advertised_browser] => default
[controlcap_advertised_browser_version] => default
[controlcap_is_windows_phone] => default
[controlcap_is_full_desktop] => default
[controlcap_is_largescreen] => default
[controlcap_is_mobile] => default
[controlcap_is_touchscreen] => default
[controlcap_is_wml_preferred] => default
[controlcap_is_xhtmlmp_preferred] => default
[controlcap_is_html_preferred] => default
[controlcap_form_factor] => default
[controlcap_complete_device_name] => default
)
)
</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-02-13 13:35:44</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.1.1/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 | v4/user-agent-detail/95/76/9576e75f-4492-4b49-8824-8138100b134d.html | HTML | mit | 41,839 |
<?php
namespace AwsUpload\Tests\Command;
use AwsUpload\Io\Output;
use AwsUpload\AwsUpload;
use AwsUpload\Tests\BaseTestCase;
use AwsUpload\Message\DeleteMessage;
use AwsUpload\Message\ErrorMessage;
use Symfony\Component\Filesystem\Filesystem;
class DeleteTest extends BaseTestCase
{
public function test_noKey_expectedNoProjectMsg()
{
$msg = DeleteMessage::noArgs();
$msg = Output::color($msg);
$this->expectOutputString($msg . "\n");
self::clearArgv();
self::pushToArgv(array('asd.php', 'delete'));
$aws = new AwsUpload();
$aws->setOutput(new \AwsUpload\Io\OutputEcho());
$cmd = new \AwsUpload\Command\DeleteCommand($aws);
$cmd->run();
}
public function test_noValidKey_expectedNoValidKey()
{
$this->expectOutputString("It seems that the key \e[33maaa\e[0m is not valid:\n\n"
. "Please try to use this format:\n"
. " - [project].[environmet]\n\n"
. "Examples of valid key to create a new setting file:\n"
. " - \e[32mmy-site.staging\e[0m\n"
. " - \e[32mmy-site.dev\e[0m\n"
. " - \e[32mmy-site.prod\e[0m\n\n"
. "Tips on choosing the key name:\n"
. " - for [project] and [environmet] try to be: short, sweet, to the point\n"
. " - use only one 'dot' . in the name\n"
. "\n\n");
self::clearArgv();
self::pushToArgv(array('asd.php', 'delete', 'aaa'));
$aws = new AwsUpload();
$aws->setOutput(new \AwsUpload\Io\OutputEcho());
$cmd = new \AwsUpload\Command\DeleteCommand($aws);
$cmd->run();
}
public function test_validKeyNoExists_expectedNoFileFound()
{
$filesystem = new Filesystem();
$filesystem->dumpFile($this->aws_home . '/project-1.dev.json', '{}');
$msg = ErrorMessage::noFileFound('project-2.dev');
$msg = Output::color($msg);
$this->expectOutputString($msg . "\n");
self::clearArgv();
self::pushToArgv(array('asd.php', 'delete', 'project-2.dev'));
$aws = new AwsUpload();
$aws->setOutput(new \AwsUpload\Io\OutputEcho());
$cmd = new \AwsUpload\Command\DeleteCommand($aws);
$cmd->run();
}
}
| borracciaBlu/aws-upload | tests/AwsUpload/Command/DeleteTest.php | PHP | mit | 2,313 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>switch: 20 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.10.2 / switch - 1.0.2</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
switch
<small>
1.0.2
<span class="label label-success">20 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-12-02 03:04:00 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-02 03:04:00 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.10.2 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: "2.0"
maintainer: "vzaliva@cmu.edu"
homepage: "https://github.com/vzaliva/coq-switch"
dev-repo: "git://git@github.com:vzaliva/coq-switch.git"
bug-reports: "https://github.com/vzaliva/coq-switch/issues"
authors: ["Vadim Zaliva <vzaliva@cmu.edu>"]
license: "MIT"
build: [
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
depends: [
"coq" {>= "8.10.2"}
"coq-metacoq-template" {>= "1.0~alpha2+8.10" & < "1.0~beta1"}
]
tags: [
"category:Miscellaneous/Coq Extensions"
"date:2020-03-13"
"logpath:Switch"
]
synopsis: "A plugin to implement functionality similar to `switch` statement in C language."
description: """It allows easier dispatch on several constant values
of a type with decidable equality. Given a type, boolean equality
predicate, and list of choices, it will generate (using TemplateCoq)
an inductive type with constructors, one for each of the choices, and
a function mapping values to this type."""
url {
src: "https://github.com/vzaliva/coq-switch/archive/v1.0.2.tar.gz"
checksum: "51ad3d8d53edb2334854d8bc976b75ed"
}
</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-switch.1.0.2 coq.8.10.2</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-switch.1.0.2 coq.8.10.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>7 m 29 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-switch.1.0.2 coq.8.10.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>20 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 120 K</p>
<ul>
<li>108 K <code>../ocaml-base-compiler.4.08.1/lib/coq/user-contrib/Switch/Switch.vo</code></li>
<li>9 K <code>../ocaml-base-compiler.4.08.1/lib/coq/user-contrib/Switch/Switch.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.08.1/lib/coq/user-contrib/Switch/Switch.v</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-switch.1.0.2</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.10.2/switch/1.0.2.html | HTML | mit | 7,004 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>relation-extraction: 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.13.0 / relation-extraction - 8.5.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
relation-extraction
<small>
8.5.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-12-19 20:43:27 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-19 20:43:27 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 3 Virtual package relying on a GMP lib system installation
coq 8.13.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.10.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2 Official release 4.10.2
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "matej.kosik@inria.fr"
homepage: "https://github.com/coq-contribs/relation-extraction"
license: "GPL 3"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/RelationExtraction"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
tags: [ "keyword:extraction" "keyword:inductive relations" "keyword:semantics" "category:Computer Science/Semantics and Compilation/Compilation" "date:2011" ]
authors: [ "Catherine Dubois <>" "David Delahaye <>" "Pierre-Nicolas Tollitte <>" ]
bug-reports: "https://github.com/coq-contribs/relation-extraction/issues"
dev-repo: "git+https://github.com/coq-contribs/relation-extraction.git"
synopsis: "Functions extraction from inductive relations"
description: """
This plugin introduces a new set of extraction commands that
generates functional code form inductive specifications."""
flags: light-uninstall
url {
src:
"https://github.com/coq-contribs/relation-extraction/archive/v8.5.0.tar.gz"
checksum: "md5=081bb10e77ea72dfef13df6b9f30248b"
}
</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-relation-extraction.8.5.0 coq.8.13.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.13.0).
The following dependencies couldn't be met:
- coq-relation-extraction -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' 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-relation-extraction.8.5.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.10.2-2.0.6/released/8.13.0/relation-extraction/8.5.0.html | HTML | mit | 7,201 |
<!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/html; charset=utf-8" />
<title>Building the data into separate facilities — orbf_data_quality 0.1 documentation</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Introduction" href="getting-started.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="getting-started.html" title="Introduction"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">orbf_data_quality 0.1 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="building-the-data-into-separate-facilities">
<h1>Building the data into separate facilities<a class="headerlink" href="#building-the-data-into-separate-facilities" title="Permalink to this headline">ยถ</a></h1>
<p>The data consists in many facilities, that will be monitored. The data used to update the monitoring algorithms for each facility depends on the supervision trail that has been triggered. In order to efficiently keep track of each facility and of its trail, we transform the collected in a list of facilities objects with specific information stored, related to facilities.</p>
<dl class="class">
<dt id="monitoring_algorithms.facility_monitoring.facility">
<em class="property">class </em><code class="descclassname">monitoring_algorithms.facility_monitoring.</code><code class="descname">facility</code><span class="sig-paren">(</span><em>data</em>, <em>tarifs</em><span class="sig-paren">)</span><a class="headerlink" href="#monitoring_algorithms.facility_monitoring.facility" title="Permalink to this definition">ยถ</a></dt>
<dd><p>A Facility currently under monitoring is followed in time. Its data is updated as time advances, independtly for each algorithm.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>data</strong> : the data for a given facility</p>
<p class="last"><strong>tarifs</strong> : A list of tarifs for the RBF program</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Attributes</p>
<table border="1" class="docutils">
<colgroup>
<col width="16%" />
<col width="84%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td>facility_id</td>
<td>(str) The facilities’ unique identifier</td>
</tr>
<tr class="row-even"><td>facility_name</td>
<td>(str) The current name of the facility</td>
</tr>
<tr class="row-odd"><td>facility_type</td>
<td>(str) The administrative type for the facility</td>
</tr>
<tr class="row-even"><td>division</td>
<td>(str) The division in which the facility list_facilities_name</td>
</tr>
<tr class="row-odd"><td>departement</td>
<td>(str) The departement in which the facility lies</td>
</tr>
<tr class="row-even"><td>reports</td>
<td>(list) The data from the reports sent by the facility</td>
</tr>
<tr class="row-odd"><td>last_supervision</td>
<td>(date) The date of the last supervision made in the facility</td>
</tr>
<tr class="row-even"><td>supervisions</td>
<td>(DataFrame) A table of the supervisions made in the facility for each algorithm used</td>
</tr>
</tbody>
</table>
<p class="rubric">Methods</p>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><code class="xref py py-obj docutils literal"><span class="pre">arima_report_payment</span></code></td>
<td></td>
</tr>
<tr class="row-even"><td><code class="xref py py-obj docutils literal"><span class="pre">make_reports</span></code></td>
<td></td>
</tr>
<tr class="row-odd"><td><code class="xref py py-obj docutils literal"><span class="pre">make_supervision_trail</span></code></td>
<td></td>
</tr>
<tr class="row-even"><td><code class="xref py py-obj docutils literal"><span class="pre">plot_supervision_trail</span></code></td>
<td></td>
</tr>
</tbody>
</table>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="getting-started.html">Introduction</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Building the data into separate facilities</a><ul class="simple">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="algorithms.html">Defining a Monitoring Algorithm</a></li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="getting-started.html"
title="previous chapter">Introduction</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/facilities.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="getting-started.html" title="Introduction"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">orbf_data_quality 0.1 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright .
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.6.
</div>
</body>
</html> | grlurton/orbf_data_validation | docs/html/facilities.html | HTML | mit | 7,587 |
package andexam.ver4_1.c35_setting;
import andexam.ver4_1.*;
import android.app.*;
import android.os.*;
import android.widget.*;
//* ์๋ก ์ ์ธ ๋ฐฉ๋ฒ
public class UserInteraction extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.userinteraction);
}
protected Handler mFinishHandler = new Handler() {
public void handleMessage(android.os.Message msg) {
finish();
}
};
void registerFinish() {
mFinishHandler.sendEmptyMessageDelayed(0, 5 * 1000);
}
void unRegisterFinish() {
mFinishHandler.removeMessages(0);
}
void RefreshFinish() {
unRegisterFinish();
registerFinish();
}
protected void onResume() {
super.onResume();
registerFinish();
}
protected void onPause() {
unRegisterFinish();
super.onPause();
}
public void onUserInteraction() {
super.onUserInteraction();
RefreshFinish();
}
protected void onUserLeaveHint () {
super.onUserLeaveHint();
Toast.makeText(this, "Leave by user", Toast.LENGTH_LONG).show();
}
}
//*/
/* ์ข ๋ ์ฌ์ด ๋ฐฉ๋ฒ
public class UserInteraction extends Activity {
long mLastInteraction;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.userinteraction);
}
protected void onResume() {
super.onResume();
mLastInteraction = System.currentTimeMillis();
mFinishHandler.sendEmptyMessageDelayed(0, 1000);
}
protected void onPause() {
super.onPause();
mFinishHandler.removeMessages(0);
}
protected Handler mFinishHandler = new Handler() {
public void handleMessage(android.os.Message msg) {
mFinishHandler.sendEmptyMessageDelayed(0, 1000);
long now = System.currentTimeMillis();
if ((now - mLastInteraction) > 5000) {
finish();
}
}
};
public void onUserInteraction() {
super.onUserInteraction();
mLastInteraction = System.currentTimeMillis();
}
}
//*/
| oixhwotl/RecursoDeAndroidProgramming | REF/AndExam4_1/src/andexam/ver4_1/c35_setting/UserInteraction.java | Java | mit | 2,022 |
#include <iostream>
#include <seqan/sequence.h>
#include <seqan/file.h>
using namespace seqan;
int main()
{
StringSet<String<Dna5> > nucleotideSets;
String<Dna5> seq1 ="ATATANGCGT";
String<Dna5> seq2 ="AAGCATGANT";
String<Dna5> seq3 ="TGAAANTGAC";
appendValue(nucleotideSets,seq1);
appendValue(nucleotideSets,seq2);
appendValue(nucleotideSets,seq3);
String<Dna5> refSeq="GATGCATGAT";
StringSet<String<Dna5> > lesser;
StringSet<String<Dna5> > greater;
for (unsigned i = 0; i < length(nucleotideSets); ++i){
Lexical<> comp(nucleotideSets[i],refSeq);
if (isLess(comp))
appendValue(lesser, nucleotideSets[i]);
if (isGreater(comp))
appendValue(greater, nucleotideSets[i]);
}
//std::cout << "lesser: " << lesser << std::endl;
//std::cout << "greater: " << greater << std::endl;
return 0;
} | bkahlert/seqan-research | raw/pmsb13/pmsb13-data-20130530/sources/qhuulr654q26tohr/2013-04-09T15-49-25.715+0200/sandbox/PMSB13/apps/2.3/2.3.cpp | C++ | mit | 863 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon</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 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
</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>WhichBrowser<br /><small>v2.0.18</small><br /><small>vendor/whichbrowser/parser/tests/data/mobile/browser-maxthon.yaml</small></td><td>Maxthon </td><td>Webkit 525.18.1</td><td>iPhone OS 2.2</td><td style="border-left: 1px solid #555"></td><td>iPhone</td><td>mobile:smart</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-027cff01-4a76-491b-ace3-9289fcbc172f">Detail</a>
<!-- Modal Structure -->
<div id="modal-027cff01-4a76-491b-ace3-9289fcbc172f" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[headers] => User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
[result] => Array
(
[browser] => Array
(
[name] => Maxthon
[type] => browser
)
[engine] => Array
(
[name] => Webkit
[version] => 525.18.1
)
[os] => Array
(
[name] => iOS
[alias] => iPhone OS
[version] => 2.2
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[manufacturer] => Apple
[model] => iPhone
)
)
[readable] => Maxthon on an Apple iPhone running iPhone OS 2.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><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Safari 3.1</td><td>WebKit </td><td>iOS 2.0</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</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.053</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 \(iphone.*cpu iphone os 2..* like mac os x.*\).*applewebkit\/.*\(.*khtml.* like gecko.*\).*version\/3\.1.*mobile\/.*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (iphone*cpu iphone os 2?* like mac os x*)*applewebkit/*(*khtml* like gecko*)*version/3.1*mobile/*safari/*
[parent] => Mobile Safari 3.1
[comment] => Mobile Safari 3.1
[browser] => Safari
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Apple Inc
[browser_modus] => unknown
[version] => 3.1
[majorver] => 3
[minorver] => 1
[platform] => iOS
[platform_version] => 2.0
[platform_description] => iPod, iPhone & iPad
[platform_bits] => 32
[platform_maker] => Apple Inc
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] => 1
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[isfake] =>
[isanonymized] =>
[ismodified] =>
[cssversion] => 3
[aolversion] => 0
[device_name] => iPhone
[device_maker] => Apple Inc
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => iPhone
[device_brand_name] => Apple
[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>Safari </td><td><i class="material-icons">close</i></td><td>iOS </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.008</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 \(iphone.*cpu.*os.* like mac os x.*\).*applewebkit\/.*\(.*khtml.* like gecko.*\).*version\/.*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (iphone*cpu*os* like mac os x*)*applewebkit/*(*khtml* like gecko*)*version/*safari/*
[parent] => Mobile Safari Generic
[comment] => Mobile Safari Generic
[browser] => Safari
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => unknown
[browser_modus] => unknown
[version] => 0.0
[majorver] => 0
[minorver] => 0
[platform] => iOS
[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>Safari 3.1</td><td><i class="material-icons">close</i></td><td>iOS </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 Device</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.035</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 \(.*cpu iphone os .* like mac os x.*\).*applewebkit\/.*\(.*khtml.* like gecko.*\).*version\/3\.1.*mobile\/.*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*cpu iphone os * like mac os x*)*applewebkit/*(*khtml* like gecko*)*version/3.1*mobile/*safari/*
[parent] => Mobile Safari 3.1
[comment] => Mobile Safari 3.1
[browser] => Safari
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => Apple Inc
[browser_modus] => unknown
[version] => 3.1
[majorver] => 3
[minorver] => 1
[platform] => iOS
[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 Device
[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>Safari 3.1.1</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] => iPhone
[browser] => Safari
[version] => 3.1.1
)
</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>Safari 3.1.1</td><td><i class="material-icons">close</i></td><td>iOS 2_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.001</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] => Safari
[browserVersion] => 3.1.1
[osName] => iOS
[osVersion] => 2_2
[deviceModel] => iPhone
[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>Mobile Safari 3.1.1</td><td><i class="material-icons">close</i></td><td>iOS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</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.25001</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] => 480
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Apple
[mobile_model] => iPhone
[version] => 3.1.1
[is_android] =>
[browser_name] => Mobile Safari
[operating_system_family] => iOS
[operating_system_version] => 2.2
[is_ios] => 1
[producer] => Apple Inc.
[operating_system] => iOS
[mobile_screen_width] => 320
[mobile_browser] => Safari
)
</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>Maxthon </td><td>WebKit </td><td>iOS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.002</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] => Maxthon
[short_name] => MX
[version] =>
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => iOS
[short_name] => IOS
[version] => 2.2
[platform] =>
)
[device] => Array
(
[brand] => AP
[brandName] => Apple
[model] => iPhone
[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>Safari 3.1.1</td><td><i class="material-icons">close</i></td><td>iOS 2.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td>iPhone</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 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
)
[name:Sinergi\BrowserDetector\Browser:private] => Safari
[version:Sinergi\BrowserDetector\Browser:private] => 3.1.1
[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] => iOS
[version:Sinergi\BrowserDetector\Os:private] => 2.2
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => iPhone
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
)
)
)
</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>Maxthon 0</td><td><i class="material-icons">close</i></td><td>iOS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</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.002</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] => 0
[minor] =>
[patch] =>
[family] => Maxthon
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 2
[minor] => 2
[patch] =>
[patchMinor] =>
[family] => iOS
)
[device] => UAParser\Result\Device Object
(
[brand] => Apple
[model] => iPhone
[family] => iPhone
)
[originalUserAgent] => Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
)
</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>Safari 525.20</td><td>WebKit 525.18.1</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.17801</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] => Apple iPhone
[platform_version] => 2
[platform_type] => Mobile
[browser_name] => Safari
[browser_version] => 525.20
[engine_name] => WebKit
[engine_version] => 525.18.1
)
</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>Maxthon </td><td><i class="material-icons">close</i></td><td>iPhone OS 2.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.066</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] => Maxthon
[agent_version] => --
[os_type] => Macintosh
[os_name] => iPhone OS
[os_versionName] =>
[os_versionNumber] => 2_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>Maxthon </td><td>WebKit 525.18.1</td><td>iOS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</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.24201</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] => iOS
[simple_sub_description_string] =>
[simple_browser_string] => Maxthon on iOS 2.2
[browser_version] =>
[extra_info] => Array
(
)
[operating_platform] => iPhone
[extra_info_table] => stdClass Object
(
[Mobile Build] => 5G77
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => maxthon
[operating_system_version] => 2.2
[simple_operating_platform_string] => Apple iPhone
[is_abusive] =>
[layout_engine_version] => 525.18.1
[browser_capabilities] => Array
(
)
[operating_platform_vendor_name] => Apple
[operating_system] => iOS 2.2
[operating_system_version_full] => 2.2
[operating_platform_code] =>
[browser_name] => Maxthon
[operating_system_name_code] => ios
[user_agent] => Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; xx) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20 Mobile Maxthon
[browser_version_full] =>
[browser] => Maxthon
)
</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>Maxthon </td><td>Webkit 525.18.1</td><td>iPhone OS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</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</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] => Maxthon
[type] => browser
)
[engine] => Array
(
[name] => Webkit
[version] => 525.18.1
)
[os] => Array
(
[name] => iOS
[alias] => iPhone OS
[version] => 2.2
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[manufacturer] => Apple
[model] => iPhone
)
)
</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>Safari 3.1.1</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] => Safari
[vendor] => Apple
[version] => 3.1.1
[category] => smartphone
[os] => iPhone
[os_version] => 2.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>Mobile Safari 3.1.1</td><td><i class="material-icons">close</i></td><td>iOS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</td><td>Feature Phone</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.019</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] => false
[is_ios] => true
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => false
[is_mobile] => true
[is_robot] => false
[is_smartphone] => false
[is_touchscreen] => true
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] => iOS
[advertised_device_os_version] => 2.2
[advertised_browser] => Mobile Safari
[advertised_browser_version] => 3.1.1
[complete_device_name] => Apple iPhone
[device_name] => Apple iPhone
[form_factor] => Feature Phone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Apple
[model_name] => iPhone
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => true
[has_qwerty_keyboard] => true
[can_skip_aligned_link_row] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => iOS
[mobile_browser] => Safari
[mobile_browser_version] =>
[device_os_version] => 2.2
[pointing_method] => touchscreen
[release_date] => 2008_november
[marketing_name] =>
[model_extra_info] => 2.2
[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] => false
[softkey_support] => false
[table_support] => false
[numbered_menus] => false
[menu_with_select_element_recommended] => false
[menu_with_list_of_links_recommended] => false
[icons_on_menu_items_support] => false
[break_list_of_links_with_br_element_recommended] => false
[access_key_support] => false
[wrap_mode_support] => false
[times_square_mode_support] => false
[deck_prefetch_support] => false
[elective_forms_recommended] => false
[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] => none
[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] => false
[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] => true
[xhtml_format_as_attribute] => false
[xhtml_nowrap_mode] => false
[xhtml_marquee_as_css_property] => false
[xhtml_readable_background_color1] => #D9EFFF
[xhtml_readable_background_color2] => #FFFFFF
[xhtml_allows_disabled_form_elements] => false
[xhtml_document_title_support] => true
[xhtml_preferred_charset] => utf8
[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] => none
[xhtml_file_upload] => not_supported
[cookie_support] => true
[accept_third_party_cookie] => false
[xhtml_supports_iframe] => full
[xhtml_avoid_accesskeys] => false
[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] => true
[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] => 320
[resolution_height] => 480
[columns] => 20
[max_image_width] => 320
[max_image_height] => 480
[rows] => 20
[physical_screen_width] => 50
[physical_screen_height] => 74
[dual_orientation] => true
[density_class] => 1.0
[wbmp] => false
[bmp] => true
[epoc_bmp] => false
[gif_animated] => true
[jpg] => true
[png] => true
[tiff] => false
[transparent_png_alpha] => false
[transparent_png_index] => false
[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] => 200
[wifi] => true
[sdio] => false
[vpn] => true
[has_cellular_radio] => true
[max_deck_size] => 100000
[max_url_length_in_requests] => 512
[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] => false
[inline_support] => false
[oma_support] => false
[ringtone] => true
[ringtone_3gpp] => false
[ringtone_midi_monophonic] => true
[ringtone_midi_polyphonic] => true
[ringtone_imelody] => false
[ringtone_digiplug] => false
[ringtone_compactmidi] => false
[ringtone_mmf] => false
[ringtone_rmf] => false
[ringtone_xmf] => false
[ringtone_amr] => true
[ringtone_awb] => false
[ringtone_aac] => true
[ringtone_wav] => true
[ringtone_mp3] => true
[ringtone_spmidi] => false
[ringtone_qcelp] => false
[ringtone_voices] => 12
[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] => 320
[wallpaper_max_height] => 480
[wallpaper_preferred_width] => 320
[wallpaper_preferred_height] => 480
[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] => true
[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] => 30
[streaming_vcodec_h263_3] => -1
[streaming_vcodec_mpeg4_sp] => 3
[streaming_vcodec_mpeg4_asp] => 3
[streaming_vcodec_h264_bp] => 1.3
[streaming_acodec_amr] => nb
[streaming_acodec_aac] => lc
[streaming_wmv] => none
[streaming_preferred_protocol] => http
[streaming_preferred_http_protocol] => progressive_download
[wap_push_support] => false
[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] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => false
[mms_jpeg_progressive] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[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] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[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] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[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] => false
[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] => true
[pdf_support] => true
[progressive_download] => true
[playback_vcodec_h263_0] => 10
[playback_vcodec_h263_3] => -1
[playback_vcodec_mpeg4_sp] => 3
[playback_vcodec_mpeg4_asp] => 2
[playback_vcodec_h264_bp] => 1.2
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => true
[playback_mp4] => true
[playback_mov] => true
[playback_acodec_amr] => nb
[playback_acodec_aac] => lc
[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] => false
[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] => B
[is_sencha_touch_ok] => true
)
)
</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>Maxthon </td><td><i class="material-icons">close</i></td><td>iOS 2.2</td><td style="border-left: 1px solid #555">Apple</td><td>iPhone</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-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://www.maxthon.com/
[title] => Maxthon
[code] => maxthon
[version] =>
[name] => Maxthon
[image] => img/16/browser/maxthon.png
)
[os] => Array
(
[link] => http://www.apple.com/
[name] => iOS
[version] => 2.2
[code] => mac-3
[x64] =>
[title] => iOS 2.2
[type] => os
[dir] => os
[image] => img/16/os/mac-3.png
)
[device] => Array
(
[link] => http://www.apple.com/iphone
[title] => Apple iPhone
[model] => iPhone
[brand] => Apple
[code] => iphone
[dir] => device
[type] => device
[image] => img/16/device/iphone.png
)
[platform] => Array
(
[link] => http://www.apple.com/iphone
[title] => Apple iPhone
[model] => iPhone
[brand] => Apple
[code] => iphone
[dir] => device
[type] => device
[image] => img/16/device/iphone.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 07:55:58</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/43/4c/434c797a-6f3f-40af-abf6-c31caf0a76d7.html | HTML | mit | 57,070 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: 13 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.7.1+2 / dpdgraph - 0.6.2</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
dpdgraph
<small>
0.6.2
<span class="label label-success">13 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-02-24 14:39:15 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-24 14:39:15 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 2 Virtual package relying on perl
coq 8.7.1+2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "yves.bertot@inria.fr"
license: "LGPL 2.1"
homepage: "https://github.com/karmaki/coq-dpdgraph"
build: [
["./configure"]
["echo" "%{jobs}%" "jobs for the linter"]
[make]
]
bug-reports: "https://github.com/karmaki/coq-dpdgraph/issues"
dev-repo: "git+https://github.com/karmaki/coq-dpdgraph.git"
install: [
[make "install" "BINDIR=%{bin}%"]
]
remove: [
["rm" "%{bin}%/dpd2dot" "%{bin}%/dpdusage"]
["rm" "-R" "%{lib}%/coq/user-contrib/dpdgraph"]
]
depends: [
"ocaml" {< "4.08.0"}
"coq" {>= "8.7" & < "8.8~"}
"ocamlgraph"
]
authors: [ "Anne Pacalet" "Yves Bertot"]
synopsis: "Compute dependencies between Coq objects (definitions, theorems) and produce graphs"
flags: light-uninstall
url {
src:
"https://github.com/Karmaki/coq-dpdgraph/releases/download/v0.6.2/coq-dpdgraph-0.6.2.tgz"
checksum: "md5=495ae6444af63129b5ec0001855228d4"
}
</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-dpdgraph.0.6.2 coq.8.7.1+2</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-dpdgraph.0.6.2 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>19 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-dpdgraph.0.6.2 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>13 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 10 M</p>
<ul>
<li>5 M <code>../ocaml-base-compiler.4.05.0/bin/dpdusage</code></li>
<li>5 M <code>../ocaml-base-compiler.4.05.0/bin/dpd2dot</code></li>
<li>95 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/dpdgraph.cmxs</code></li>
<li>11 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/graphdepend.cmi</code></li>
<li>8 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/dpdgraph.cmxa</code></li>
<li>8 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/graphdepend.cmx</code></li>
<li>5 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/searchdepend.cmi</code></li>
<li>5 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/searchdepend.cmx</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/dpdgraph.vo</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/dpdgraph.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/dpdgraph/dpdgraph.v</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-dpdgraph.0.6.2</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.05.0-2.0.1/released/8.7.1+2/dpdgraph/0.6.2.html | HTML | mit | 7,974 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>kildall: 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.0 / kildall - 8.9.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
kildall
<small>
8.9.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-12-12 17:32:44 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-12 17:32:44 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.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.09.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1 Official release 4.09.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "http://www.lif-sud.univ-mrs.fr/Rapports/24-2005.html"
license: "Unknown"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Kildall"]
depends: [
"ocaml"
"coq" {>= "8.9" & < "8.10~"}
]
tags: [
"keyword: Kildall"
"keyword: data flow analysis"
"keyword: bytecode verification"
"category: Computer Science/Semantics and Compilation/Semantics"
"date: 2005-07"
]
authors: [
"Solange Coupet-Grimal <Solange.Coupet@cmi.univ-mrs.fr>"
"William Delobel <delobel@cmi.univ-mrs.fr>"
]
bug-reports: "https://github.com/coq-contribs/kildall/issues"
dev-repo: "git+https://github.com/coq-contribs/kildall.git"
synopsis: "Application of the Generic kildall's Data Flow Analysis Algorithm to a Type and Shape Static Analyses of Bytecode"
description: """
This Library provides a generic data flow analysis
algorithm and a proof of its correctness.
This algorithm is then used to perform type and
shape analysis at bytecode level
on a first order functionnal language."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/kildall/archive/v8.9.0.tar.gz"
checksum: "md5=e90951bfbcbdfef76704b8f407b93125"
}
</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-kildall.8.9.0 coq.8.11.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.11.0).
The following dependencies couldn't be met:
- coq-kildall -> coq < 8.10~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can'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-kildall.8.9.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.09.1-2.0.6/released/8.11.0/kildall/8.9.0.html | HTML | mit | 7,189 |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<meta name="dc.language" scheme="ISO639-2" content="eng">
<meta name="dc.creator" content="OACT">
<meta name="lead_content_manager" content="JeffK">
<meta name="coder" content="JeffK">
<meta name="dc.date.created" scheme="ISO8601" content="2005-08-29">
<meta name="dc.date.reviewed" scheme="ISO8601" content="2007-11-19">
<meta name="dc.title" content="Table 6_2060: Life Tables">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher 2003 for FrameMaker 8.0.0.1194" />
<title>Table 6_2060: Life Tables</title>
<link rel="StyleSheet" href="document.css" type="text/css" media="all" />
<link rel="StyleSheet" href="catalog.css" type="text/css" media="all" />
<link rel="Table of Contents" href="TOC.html" />
<link rel="List of Tables" href="LOT.html" />
<link rel="List of Figures" href="LOF.html" />
<link rel="Previous" href="LifeTables_Tbl_6_2050.html" />
<link rel="Next" href="LifeTables_Tbl_6_2070.html" />
</head>
<body>
<table summary="Document title and navigation links" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="60%"><h2 class="pTitle">Life Tables for the<br />United States Social Security<br />
Area 1900-2100<br /></h2></td>
<td><a href="TOC.html"><img id="LongDescNotReq1" src="images/toc.gif" border="0" alt="Contents" /></a></td>
<td><a href="LifeTables_Tbl_6_2050.html"><img id="LongDescNotReq2" src="images/prev.gif" border="0" alt="Previous" /></a></td>
<td><a href="LifeTables_Tbl_6_2070.html"><img id="LongDescNotReq3" src="images/next.gif" border="0" alt="Next" /></a></td>
<td><a href="LOT.html"><img id="LongDescNotReq4" src="images/tables.gif" border="0" alt="List of Tables" /></a></td>
<td><a href="LOF.html"><img id="LongDescNotReq5" src="images/figures.gif" border="0" alt="List of Figures" /></a></td>
</tr>
<tr align="left">
<td colspan="6"><div class="pCellBodyL">ACTUARIAL STUDY NO. 120
<br /><em>by Felicitie C. Bell<br /><em>and Michael L. Miller</em></div></td></em></div></td><br />
</tr>
<tr align="left">
<td colspan="6"><hr /></td>
</tr>
</table>
<a name="wp998290"> </a><p class="pBody">
</p>
<div align="left">
<table border="1" width="100%" id="wp1004907table999968">
<caption><a name="wp1004907"> </a><div class="pTableTitle">
Table 6 — Period Life Tables for the Social Security Area by Calendar Year and Sex (Cont.)
</div>
</caption>
<tr valign="bottom"> <th colspan="7" rowspan="1"><a name="wp1004937"> </a><div class="pCellHeadC">
<b class="cBold">Male</b>
</div>
</th>
<th colspan="1" rowspan="2"> </th>
<th colspan="7" rowspan="1"><a name="wp1004953"> </a><div class="pCellHeadC">
<b class="cBold">Female</b>
</div>
</th>
</tr>
<tr valign="bottom"> <th><a name="wp1004967"> </a><div class="pCellHeadC">
x
</div>
</th>
<th><a name="wp1004969"> </a><div class="pCellHeadC">
q<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004971"> </a><div class="pCellHeadC">
l<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004973"> </a><div class="pCellHeadC">
d<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004975"> </a><div class="pCellHeadC">
L<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004977"> </a><div class="pCellHeadC">
T<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004982"> </a><div class="pCellHeadC">
<sub><sub><sub><img src="images/LifeExp_bold_html.gif" id="wp1171432" alt="Life Expectancy" border="0" hspace="0" vspace="0"/></sub></sub></sub>
</div>
</th>
<th><a name="wp1004986"> </a><div class="pCellHeadC">
x
</div>
</th>
<th><a name="wp1004988"> </a><div class="pCellHeadC">
q<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004990"> </a><div class="pCellHeadC">
l<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004992"> </a><div class="pCellHeadC">
d<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004994"> </a><div class="pCellHeadC">
L<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1004996"> </a><div class="pCellHeadC">
T<sub class="cSubscript">x</sub>
</div>
</th>
<th><a name="wp1015826"> </a><div class="pCellHeadC">
<sub><sub><sub><img src="images/LifeExp_bold_html.gif" id="wp1171432" alt="Life Expectancy" border="0" hspace="0" vspace="0"/></sub></sub></sub>
</div>
</th>
</tr>
<tr valign="bottom"> <th colspan="15" rowspan="1"><a name="wp1005000"> </a><div class="pCellHeadL">
<b class="cBold">Calendar Year 2060 </b>
</div>
</th>
</tr>
<tr> <td><a name="wp1080561"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1080563"> </a><div class="pCellBodyR">
0.00243
</div>
</td>
<td><a name="wp1080565"> </a><div class="pCellBodyR">
100,000
</div>
</td>
<td><a name="wp1080567"> </a><div class="pCellBodyR">
243
</div>
</td>
<td><a name="wp1080569"> </a><div class="pCellBodyR">
99,786
</div>
</td>
<td><a name="wp1080571"> </a><div class="pCellBodyR">
8,018,402
</div>
</td>
<td><a name="wp1080573"> </a><div class="pCellBodyR">
80.18
</div>
</td>
<td> </td>
<td><a name="wp1080577"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1080579"> </a><div class="pCellBodyR">
0.00206
</div>
</td>
<td><a name="wp1080581"> </a><div class="pCellBodyR">
100,000
</div>
</td>
<td><a name="wp1080583"> </a><div class="pCellBodyR">
206
</div>
</td>
<td><a name="wp1080585"> </a><div class="pCellBodyR">
99,821
</div>
</td>
<td><a name="wp1080587"> </a><div class="pCellBodyR">
8,393,390
</div>
</td>
<td><a name="wp1080589"> </a><div class="pCellBodyR">
83.93
</div>
</td>
</tr>
<tr> <td><a name="wp1080531"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1080533"> </a><div class="pCellBodyR">
0.00020
</div>
</td>
<td><a name="wp1080535"> </a><div class="pCellBodyR">
99,757
</div>
</td>
<td><a name="wp1080537"> </a><div class="pCellBodyR">
20
</div>
</td>
<td><a name="wp1080539"> </a><div class="pCellBodyR">
99,747
</div>
</td>
<td><a name="wp1080541"> </a><div class="pCellBodyR">
7,918,616
</div>
</td>
<td><a name="wp1080543"> </a><div class="pCellBodyR">
79.38
</div>
</td>
<td> </td>
<td><a name="wp1080547"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1080549"> </a><div class="pCellBodyR">
0.00017
</div>
</td>
<td><a name="wp1080551"> </a><div class="pCellBodyR">
99,795
</div>
</td>
<td><a name="wp1080553"> </a><div class="pCellBodyR">
17
</div>
</td>
<td><a name="wp1080555"> </a><div class="pCellBodyR">
99,786
</div>
</td>
<td><a name="wp1080557"> </a><div class="pCellBodyR">
8,293,569
</div>
</td>
<td><a name="wp1080559"> </a><div class="pCellBodyR">
83.11
</div>
</td>
</tr>
<tr> <td><a name="wp1080501"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1080503"> </a><div class="pCellBodyR">
0.00014
</div>
</td>
<td><a name="wp1080505"> </a><div class="pCellBodyR">
99,737
</div>
</td>
<td><a name="wp1080507"> </a><div class="pCellBodyR">
14
</div>
</td>
<td><a name="wp1080509"> </a><div class="pCellBodyR">
99,730
</div>
</td>
<td><a name="wp1080511"> </a><div class="pCellBodyR">
7,818,870
</div>
</td>
<td><a name="wp1080513"> </a><div class="pCellBodyR">
78.40
</div>
</td>
<td> </td>
<td><a name="wp1080517"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1080519"> </a><div class="pCellBodyR">
0.00011
</div>
</td>
<td><a name="wp1080521"> </a><div class="pCellBodyR">
99,777
</div>
</td>
<td><a name="wp1080523"> </a><div class="pCellBodyR">
11
</div>
</td>
<td><a name="wp1080525"> </a><div class="pCellBodyR">
99,772
</div>
</td>
<td><a name="wp1080527"> </a><div class="pCellBodyR">
8,193,783
</div>
</td>
<td><a name="wp1080529"> </a><div class="pCellBodyR">
82.12
</div>
</td>
</tr>
<tr> <td><a name="wp1080471"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1080473"> </a><div class="pCellBodyR">
0.00011
</div>
</td>
<td><a name="wp1080475"> </a><div class="pCellBodyR">
99,723
</div>
</td>
<td><a name="wp1080477"> </a><div class="pCellBodyR">
11
</div>
</td>
<td><a name="wp1080479"> </a><div class="pCellBodyR">
99,717
</div>
</td>
<td><a name="wp1080481"> </a><div class="pCellBodyR">
7,719,140
</div>
</td>
<td><a name="wp1080483"> </a><div class="pCellBodyR">
77.41
</div>
</td>
<td> </td>
<td><a name="wp1080487"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1080489"> </a><div class="pCellBodyR">
0.00008
</div>
</td>
<td><a name="wp1080491"> </a><div class="pCellBodyR">
99,766
</div>
</td>
<td><a name="wp1080493"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1080495"> </a><div class="pCellBodyR">
99,762
</div>
</td>
<td><a name="wp1080497"> </a><div class="pCellBodyR">
8,094,011
</div>
</td>
<td><a name="wp1080499"> </a><div class="pCellBodyR">
81.13
</div>
</td>
</tr>
<tr> <td><a name="wp1080441"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1080443"> </a><div class="pCellBodyR">
0.00009
</div>
</td>
<td><a name="wp1080445"> </a><div class="pCellBodyR">
99,712
</div>
</td>
<td><a name="wp1080447"> </a><div class="pCellBodyR">
9
</div>
</td>
<td><a name="wp1080449"> </a><div class="pCellBodyR">
99,707
</div>
</td>
<td><a name="wp1080451"> </a><div class="pCellBodyR">
7,619,422
</div>
</td>
<td><a name="wp1080453"> </a><div class="pCellBodyR">
76.41
</div>
</td>
<td> </td>
<td><a name="wp1080457"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1080459"> </a><div class="pCellBodyR">
0.00006
</div>
</td>
<td><a name="wp1080461"> </a><div class="pCellBodyR">
99,758
</div>
</td>
<td><a name="wp1080463"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080465"> </a><div class="pCellBodyR">
99,754
</div>
</td>
<td><a name="wp1080467"> </a><div class="pCellBodyR">
7,994,249
</div>
</td>
<td><a name="wp1080469"> </a><div class="pCellBodyR">
80.14
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1080381"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1080383"> </a><div class="pCellBodyR">
0.00008
</div>
</td>
<td><a name="wp1080385"> </a><div class="pCellBodyR">
99,703
</div>
</td>
<td><a name="wp1080387"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1080389"> </a><div class="pCellBodyR">
99,699
</div>
</td>
<td><a name="wp1080391"> </a><div class="pCellBodyR">
7,519,715
</div>
</td>
<td><a name="wp1080393"> </a><div class="pCellBodyR">
75.42
</div>
</td>
<td> </td>
<td><a name="wp1080397"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1080399"> </a><div class="pCellBodyR">
0.00006
</div>
</td>
<td><a name="wp1080401"> </a><div class="pCellBodyR">
99,751
</div>
</td>
<td><a name="wp1080403"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080405"> </a><div class="pCellBodyR">
99,748
</div>
</td>
<td><a name="wp1080407"> </a><div class="pCellBodyR">
7,894,495
</div>
</td>
<td><a name="wp1080409"> </a><div class="pCellBodyR">
79.14
</div>
</td>
</tr>
<tr> <td><a name="wp1080351"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080353"> </a><div class="pCellBodyR">
0.00008
</div>
</td>
<td><a name="wp1080355"> </a><div class="pCellBodyR">
99,695
</div>
</td>
<td><a name="wp1080357"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1080359"> </a><div class="pCellBodyR">
99,691
</div>
</td>
<td><a name="wp1080361"> </a><div class="pCellBodyR">
7,420,016
</div>
</td>
<td><a name="wp1080363"> </a><div class="pCellBodyR">
74.43
</div>
</td>
<td> </td>
<td><a name="wp1080367"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080369"> </a><div class="pCellBodyR">
0.00006
</div>
</td>
<td><a name="wp1080371"> </a><div class="pCellBodyR">
99,745
</div>
</td>
<td><a name="wp1080373"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080375"> </a><div class="pCellBodyR">
99,742
</div>
</td>
<td><a name="wp1080377"> </a><div class="pCellBodyR">
7,794,746
</div>
</td>
<td><a name="wp1080379"> </a><div class="pCellBodyR">
78.15
</div>
</td>
</tr>
<tr> <td><a name="wp1080321"> </a><div class="pCellBodyR">
7
</div>
</td>
<td><a name="wp1080323"> </a><div class="pCellBodyR">
0.00007
</div>
</td>
<td><a name="wp1080325"> </a><div class="pCellBodyR">
99,687
</div>
</td>
<td><a name="wp1080327"> </a><div class="pCellBodyR">
7
</div>
</td>
<td><a name="wp1080329"> </a><div class="pCellBodyR">
99,684
</div>
</td>
<td><a name="wp1080331"> </a><div class="pCellBodyR">
7,320,325
</div>
</td>
<td><a name="wp1080333"> </a><div class="pCellBodyR">
73.43
</div>
</td>
<td> </td>
<td><a name="wp1080337"> </a><div class="pCellBodyR">
7
</div>
</td>
<td><a name="wp1080339"> </a><div class="pCellBodyR">
0.00006
</div>
</td>
<td><a name="wp1080341"> </a><div class="pCellBodyR">
99,739
</div>
</td>
<td><a name="wp1080343"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080345"> </a><div class="pCellBodyR">
99,736
</div>
</td>
<td><a name="wp1080347"> </a><div class="pCellBodyR">
7,695,004
</div>
</td>
<td><a name="wp1080349"> </a><div class="pCellBodyR">
77.15
</div>
</td>
</tr>
<tr> <td><a name="wp1080291"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1080293"> </a><div class="pCellBodyR">
0.00006
</div>
</td>
<td><a name="wp1080295"> </a><div class="pCellBodyR">
99,680
</div>
</td>
<td><a name="wp1080297"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1080299"> </a><div class="pCellBodyR">
99,677
</div>
</td>
<td><a name="wp1080301"> </a><div class="pCellBodyR">
7,220,641
</div>
</td>
<td><a name="wp1080303"> </a><div class="pCellBodyR">
72.44
</div>
</td>
<td> </td>
<td><a name="wp1080307"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1080309"> </a><div class="pCellBodyR">
0.00005
</div>
</td>
<td><a name="wp1080311"> </a><div class="pCellBodyR">
99,733
</div>
</td>
<td><a name="wp1080313"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1080315"> </a><div class="pCellBodyR">
99,731
</div>
</td>
<td><a name="wp1080317"> </a><div class="pCellBodyR">
7,595,267
</div>
</td>
<td><a name="wp1080319"> </a><div class="pCellBodyR">
76.16
</div>
</td>
</tr>
<tr> <td><a name="wp1080261"> </a><div class="pCellBodyR">
9
</div>
</td>
<td><a name="wp1080263"> </a><div class="pCellBodyR">
0.00005
</div>
</td>
<td><a name="wp1080265"> </a><div class="pCellBodyR">
99,674
</div>
</td>
<td><a name="wp1080267"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1080269"> </a><div class="pCellBodyR">
99,672
</div>
</td>
<td><a name="wp1080271"> </a><div class="pCellBodyR">
7,120,964
</div>
</td>
<td><a name="wp1080273"> </a><div class="pCellBodyR">
71.44
</div>
</td>
<td> </td>
<td><a name="wp1080277"> </a><div class="pCellBodyR">
9
</div>
</td>
<td><a name="wp1080279"> </a><div class="pCellBodyR">
0.00005
</div>
</td>
<td><a name="wp1080281"> </a><div class="pCellBodyR">
99,728
</div>
</td>
<td><a name="wp1080283"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1080285"> </a><div class="pCellBodyR">
99,726
</div>
</td>
<td><a name="wp1080287"> </a><div class="pCellBodyR">
7,495,536
</div>
</td>
<td><a name="wp1080289"> </a><div class="pCellBodyR">
75.16
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1080201"> </a><div class="pCellBodyR">
10
</div>
</td>
<td><a name="wp1080203"> </a><div class="pCellBodyR">
0.00003
</div>
</td>
<td><a name="wp1080205"> </a><div class="pCellBodyR">
99,669
</div>
</td>
<td><a name="wp1080207"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1080209"> </a><div class="pCellBodyR">
99,668
</div>
</td>
<td><a name="wp1080211"> </a><div class="pCellBodyR">
7,021,293
</div>
</td>
<td><a name="wp1080213"> </a><div class="pCellBodyR">
70.45
</div>
</td>
<td> </td>
<td><a name="wp1080217"> </a><div class="pCellBodyR">
10
</div>
</td>
<td><a name="wp1080219"> </a><div class="pCellBodyR">
0.00004
</div>
</td>
<td><a name="wp1080221"> </a><div class="pCellBodyR">
99,723
</div>
</td>
<td><a name="wp1080223"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1080225"> </a><div class="pCellBodyR">
99,721
</div>
</td>
<td><a name="wp1080227"> </a><div class="pCellBodyR">
7,395,811
</div>
</td>
<td><a name="wp1080229"> </a><div class="pCellBodyR">
74.16
</div>
</td>
</tr>
<tr> <td><a name="wp1080171"> </a><div class="pCellBodyR">
11
</div>
</td>
<td><a name="wp1080173"> </a><div class="pCellBodyR">
0.00003
</div>
</td>
<td><a name="wp1080175"> </a><div class="pCellBodyR">
99,666
</div>
</td>
<td><a name="wp1080177"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1080179"> </a><div class="pCellBodyR">
99,665
</div>
</td>
<td><a name="wp1080181"> </a><div class="pCellBodyR">
6,921,625
</div>
</td>
<td><a name="wp1080183"> </a><div class="pCellBodyR">
69.45
</div>
</td>
<td> </td>
<td><a name="wp1080187"> </a><div class="pCellBodyR">
11
</div>
</td>
<td><a name="wp1080189"> </a><div class="pCellBodyR">
0.00004
</div>
</td>
<td><a name="wp1080191"> </a><div class="pCellBodyR">
99,719
</div>
</td>
<td><a name="wp1080193"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1080195"> </a><div class="pCellBodyR">
99,717
</div>
</td>
<td><a name="wp1080197"> </a><div class="pCellBodyR">
7,296,089
</div>
</td>
<td><a name="wp1080199"> </a><div class="pCellBodyR">
73.17
</div>
</td>
</tr>
<tr> <td><a name="wp1080141"> </a><div class="pCellBodyR">
12
</div>
</td>
<td><a name="wp1080143"> </a><div class="pCellBodyR">
0.00007
</div>
</td>
<td><a name="wp1080145"> </a><div class="pCellBodyR">
99,663
</div>
</td>
<td><a name="wp1080147"> </a><div class="pCellBodyR">
7
</div>
</td>
<td><a name="wp1080149"> </a><div class="pCellBodyR">
99,660
</div>
</td>
<td><a name="wp1080151"> </a><div class="pCellBodyR">
6,821,960
</div>
</td>
<td><a name="wp1080153"> </a><div class="pCellBodyR">
68.45
</div>
</td>
<td> </td>
<td><a name="wp1080157"> </a><div class="pCellBodyR">
12
</div>
</td>
<td><a name="wp1080159"> </a><div class="pCellBodyR">
0.00005
</div>
</td>
<td><a name="wp1080161"> </a><div class="pCellBodyR">
99,715
</div>
</td>
<td><a name="wp1080163"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1080165"> </a><div class="pCellBodyR">
99,713
</div>
</td>
<td><a name="wp1080167"> </a><div class="pCellBodyR">
7,196,372
</div>
</td>
<td><a name="wp1080169"> </a><div class="pCellBodyR">
72.17
</div>
</td>
</tr>
<tr> <td><a name="wp1080111"> </a><div class="pCellBodyR">
13
</div>
</td>
<td><a name="wp1080113"> </a><div class="pCellBodyR">
0.00014
</div>
</td>
<td><a name="wp1080115"> </a><div class="pCellBodyR">
99,656
</div>
</td>
<td><a name="wp1080117"> </a><div class="pCellBodyR">
14
</div>
</td>
<td><a name="wp1080119"> </a><div class="pCellBodyR">
99,649
</div>
</td>
<td><a name="wp1080121"> </a><div class="pCellBodyR">
6,722,301
</div>
</td>
<td><a name="wp1080123"> </a><div class="pCellBodyR">
67.45
</div>
</td>
<td> </td>
<td><a name="wp1080127"> </a><div class="pCellBodyR">
13
</div>
</td>
<td><a name="wp1080129"> </a><div class="pCellBodyR">
0.00009
</div>
</td>
<td><a name="wp1080131"> </a><div class="pCellBodyR">
99,710
</div>
</td>
<td><a name="wp1080133"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1080135"> </a><div class="pCellBodyR">
99,706
</div>
</td>
<td><a name="wp1080137"> </a><div class="pCellBodyR">
7,096,659
</div>
</td>
<td><a name="wp1080139"> </a><div class="pCellBodyR">
71.17
</div>
</td>
</tr>
<tr> <td><a name="wp1080081"> </a><div class="pCellBodyR">
14
</div>
</td>
<td><a name="wp1080083"> </a><div class="pCellBodyR">
0.00025
</div>
</td>
<td><a name="wp1080085"> </a><div class="pCellBodyR">
99,642
</div>
</td>
<td><a name="wp1080087"> </a><div class="pCellBodyR">
25
</div>
</td>
<td><a name="wp1080089"> </a><div class="pCellBodyR">
99,630
</div>
</td>
<td><a name="wp1080091"> </a><div class="pCellBodyR">
6,622,652
</div>
</td>
<td><a name="wp1080093"> </a><div class="pCellBodyR">
66.46
</div>
</td>
<td> </td>
<td><a name="wp1080097"> </a><div class="pCellBodyR">
14
</div>
</td>
<td><a name="wp1080099"> </a><div class="pCellBodyR">
0.00013
</div>
</td>
<td><a name="wp1080101"> </a><div class="pCellBodyR">
99,702
</div>
</td>
<td><a name="wp1080103"> </a><div class="pCellBodyR">
13
</div>
</td>
<td><a name="wp1080105"> </a><div class="pCellBodyR">
99,695
</div>
</td>
<td><a name="wp1080107"> </a><div class="pCellBodyR">
6,996,953
</div>
</td>
<td><a name="wp1080109"> </a><div class="pCellBodyR">
70.18
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1080021"> </a><div class="pCellBodyR">
15
</div>
</td>
<td><a name="wp1080023"> </a><div class="pCellBodyR">
0.00036
</div>
</td>
<td><a name="wp1080025"> </a><div class="pCellBodyR">
99,618
</div>
</td>
<td><a name="wp1080027"> </a><div class="pCellBodyR">
36
</div>
</td>
<td><a name="wp1080029"> </a><div class="pCellBodyR">
99,600
</div>
</td>
<td><a name="wp1080031"> </a><div class="pCellBodyR">
6,523,022
</div>
</td>
<td><a name="wp1080033"> </a><div class="pCellBodyR">
65.48
</div>
</td>
<td> </td>
<td><a name="wp1080037"> </a><div class="pCellBodyR">
15
</div>
</td>
<td><a name="wp1080039"> </a><div class="pCellBodyR">
0.00018
</div>
</td>
<td><a name="wp1080041"> </a><div class="pCellBodyR">
99,689
</div>
</td>
<td><a name="wp1080043"> </a><div class="pCellBodyR">
18
</div>
</td>
<td><a name="wp1080045"> </a><div class="pCellBodyR">
99,680
</div>
</td>
<td><a name="wp1080047"> </a><div class="pCellBodyR">
6,897,258
</div>
</td>
<td><a name="wp1080049"> </a><div class="pCellBodyR">
69.19
</div>
</td>
</tr>
<tr> <td><a name="wp1079991"> </a><div class="pCellBodyR">
16
</div>
</td>
<td><a name="wp1079993"> </a><div class="pCellBodyR">
0.00047
</div>
</td>
<td><a name="wp1079995"> </a><div class="pCellBodyR">
99,582
</div>
</td>
<td><a name="wp1079997"> </a><div class="pCellBodyR">
47
</div>
</td>
<td><a name="wp1079999"> </a><div class="pCellBodyR">
99,558
</div>
</td>
<td><a name="wp1080001"> </a><div class="pCellBodyR">
6,423,422
</div>
</td>
<td><a name="wp1080003"> </a><div class="pCellBodyR">
64.50
</div>
</td>
<td> </td>
<td><a name="wp1080007"> </a><div class="pCellBodyR">
16
</div>
</td>
<td><a name="wp1080009"> </a><div class="pCellBodyR">
0.00023
</div>
</td>
<td><a name="wp1080011"> </a><div class="pCellBodyR">
99,671
</div>
</td>
<td><a name="wp1080013"> </a><div class="pCellBodyR">
22
</div>
</td>
<td><a name="wp1080015"> </a><div class="pCellBodyR">
99,660
</div>
</td>
<td><a name="wp1080017"> </a><div class="pCellBodyR">
6,797,578
</div>
</td>
<td><a name="wp1080019"> </a><div class="pCellBodyR">
68.20
</div>
</td>
</tr>
<tr> <td><a name="wp1079961"> </a><div class="pCellBodyR">
17
</div>
</td>
<td><a name="wp1079963"> </a><div class="pCellBodyR">
0.00056
</div>
</td>
<td><a name="wp1079965"> </a><div class="pCellBodyR">
99,535
</div>
</td>
<td><a name="wp1079967"> </a><div class="pCellBodyR">
56
</div>
</td>
<td><a name="wp1079969"> </a><div class="pCellBodyR">
99,507
</div>
</td>
<td><a name="wp1079971"> </a><div class="pCellBodyR">
6,323,864
</div>
</td>
<td><a name="wp1079973"> </a><div class="pCellBodyR">
63.53
</div>
</td>
<td> </td>
<td><a name="wp1079977"> </a><div class="pCellBodyR">
17
</div>
</td>
<td><a name="wp1079979"> </a><div class="pCellBodyR">
0.00026
</div>
</td>
<td><a name="wp1079981"> </a><div class="pCellBodyR">
99,648
</div>
</td>
<td><a name="wp1079983"> </a><div class="pCellBodyR">
26
</div>
</td>
<td><a name="wp1079985"> </a><div class="pCellBodyR">
99,636
</div>
</td>
<td><a name="wp1079987"> </a><div class="pCellBodyR">
6,697,919
</div>
</td>
<td><a name="wp1079989"> </a><div class="pCellBodyR">
67.22
</div>
</td>
</tr>
<tr> <td><a name="wp1079931"> </a><div class="pCellBodyR">
18
</div>
</td>
<td><a name="wp1079933"> </a><div class="pCellBodyR">
0.00064
</div>
</td>
<td><a name="wp1079935"> </a><div class="pCellBodyR">
99,479
</div>
</td>
<td><a name="wp1079937"> </a><div class="pCellBodyR">
63
</div>
</td>
<td><a name="wp1079939"> </a><div class="pCellBodyR">
99,448
</div>
</td>
<td><a name="wp1079941"> </a><div class="pCellBodyR">
6,224,357
</div>
</td>
<td><a name="wp1079943"> </a><div class="pCellBodyR">
62.57
</div>
</td>
<td> </td>
<td><a name="wp1079947"> </a><div class="pCellBodyR">
18
</div>
</td>
<td><a name="wp1079949"> </a><div class="pCellBodyR">
0.00027
</div>
</td>
<td><a name="wp1079951"> </a><div class="pCellBodyR">
99,623
</div>
</td>
<td><a name="wp1079953"> </a><div class="pCellBodyR">
27
</div>
</td>
<td><a name="wp1079955"> </a><div class="pCellBodyR">
99,609
</div>
</td>
<td><a name="wp1079957"> </a><div class="pCellBodyR">
6,598,283
</div>
</td>
<td><a name="wp1079959"> </a><div class="pCellBodyR">
66.23
</div>
</td>
</tr>
<tr> <td><a name="wp1079901"> </a><div class="pCellBodyR">
19
</div>
</td>
<td><a name="wp1079903"> </a><div class="pCellBodyR">
0.00069
</div>
</td>
<td><a name="wp1079905"> </a><div class="pCellBodyR">
99,416
</div>
</td>
<td><a name="wp1079907"> </a><div class="pCellBodyR">
69
</div>
</td>
<td><a name="wp1079909"> </a><div class="pCellBodyR">
99,381
</div>
</td>
<td><a name="wp1079911"> </a><div class="pCellBodyR">
6,124,909
</div>
</td>
<td><a name="wp1079913"> </a><div class="pCellBodyR">
61.61
</div>
</td>
<td> </td>
<td><a name="wp1079917"> </a><div class="pCellBodyR">
19
</div>
</td>
<td><a name="wp1079919"> </a><div class="pCellBodyR">
0.00028
</div>
</td>
<td><a name="wp1079921"> </a><div class="pCellBodyR">
99,595
</div>
</td>
<td><a name="wp1079923"> </a><div class="pCellBodyR">
27
</div>
</td>
<td><a name="wp1079925"> </a><div class="pCellBodyR">
99,582
</div>
</td>
<td><a name="wp1079927"> </a><div class="pCellBodyR">
6,498,674
</div>
</td>
<td><a name="wp1079929"> </a><div class="pCellBodyR">
65.25
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1079841"> </a><div class="pCellBodyR">
20
</div>
</td>
<td><a name="wp1079843"> </a><div class="pCellBodyR">
0.00075
</div>
</td>
<td><a name="wp1079845"> </a><div class="pCellBodyR">
99,347
</div>
</td>
<td><a name="wp1079847"> </a><div class="pCellBodyR">
74
</div>
</td>
<td><a name="wp1079849"> </a><div class="pCellBodyR">
99,310
</div>
</td>
<td><a name="wp1079851"> </a><div class="pCellBodyR">
6,025,528
</div>
</td>
<td><a name="wp1079853"> </a><div class="pCellBodyR">
60.65
</div>
</td>
<td> </td>
<td><a name="wp1079857"> </a><div class="pCellBodyR">
20
</div>
</td>
<td><a name="wp1079859"> </a><div class="pCellBodyR">
0.00028
</div>
</td>
<td><a name="wp1079861"> </a><div class="pCellBodyR">
99,568
</div>
</td>
<td><a name="wp1079863"> </a><div class="pCellBodyR">
27
</div>
</td>
<td><a name="wp1079865"> </a><div class="pCellBodyR">
99,554
</div>
</td>
<td><a name="wp1079867"> </a><div class="pCellBodyR">
6,399,092
</div>
</td>
<td><a name="wp1079869"> </a><div class="pCellBodyR">
64.27
</div>
</td>
</tr>
<tr> <td><a name="wp1079811"> </a><div class="pCellBodyR">
21
</div>
</td>
<td><a name="wp1079813"> </a><div class="pCellBodyR">
0.00080
</div>
</td>
<td><a name="wp1079815"> </a><div class="pCellBodyR">
99,273
</div>
</td>
<td><a name="wp1079817"> </a><div class="pCellBodyR">
80
</div>
</td>
<td><a name="wp1079819"> </a><div class="pCellBodyR">
99,233
</div>
</td>
<td><a name="wp1079821"> </a><div class="pCellBodyR">
5,926,218
</div>
</td>
<td><a name="wp1079823"> </a><div class="pCellBodyR">
59.70
</div>
</td>
<td> </td>
<td><a name="wp1079827"> </a><div class="pCellBodyR">
21
</div>
</td>
<td><a name="wp1079829"> </a><div class="pCellBodyR">
0.00028
</div>
</td>
<td><a name="wp1079831"> </a><div class="pCellBodyR">
99,541
</div>
</td>
<td><a name="wp1079833"> </a><div class="pCellBodyR">
28
</div>
</td>
<td><a name="wp1079835"> </a><div class="pCellBodyR">
99,527
</div>
</td>
<td><a name="wp1079837"> </a><div class="pCellBodyR">
6,299,538
</div>
</td>
<td><a name="wp1079839"> </a><div class="pCellBodyR">
63.29
</div>
</td>
</tr>
<tr> <td><a name="wp1079781"> </a><div class="pCellBodyR">
22
</div>
</td>
<td><a name="wp1079783"> </a><div class="pCellBodyR">
0.00083
</div>
</td>
<td><a name="wp1079785"> </a><div class="pCellBodyR">
99,193
</div>
</td>
<td><a name="wp1079787"> </a><div class="pCellBodyR">
82
</div>
</td>
<td><a name="wp1079789"> </a><div class="pCellBodyR">
99,152
</div>
</td>
<td><a name="wp1079791"> </a><div class="pCellBodyR">
5,826,985
</div>
</td>
<td><a name="wp1079793"> </a><div class="pCellBodyR">
58.74
</div>
</td>
<td> </td>
<td><a name="wp1079797"> </a><div class="pCellBodyR">
22
</div>
</td>
<td><a name="wp1079799"> </a><div class="pCellBodyR">
0.00028
</div>
</td>
<td><a name="wp1079801"> </a><div class="pCellBodyR">
99,513
</div>
</td>
<td><a name="wp1079803"> </a><div class="pCellBodyR">
28
</div>
</td>
<td><a name="wp1079805"> </a><div class="pCellBodyR">
99,499
</div>
</td>
<td><a name="wp1079807"> </a><div class="pCellBodyR">
6,200,011
</div>
</td>
<td><a name="wp1079809"> </a><div class="pCellBodyR">
62.30
</div>
</td>
</tr>
<tr> <td><a name="wp1079751"> </a><div class="pCellBodyR">
23
</div>
</td>
<td><a name="wp1079753"> </a><div class="pCellBodyR">
0.00082
</div>
</td>
<td><a name="wp1079755"> </a><div class="pCellBodyR">
99,111
</div>
</td>
<td><a name="wp1079757"> </a><div class="pCellBodyR">
81
</div>
</td>
<td><a name="wp1079759"> </a><div class="pCellBodyR">
99,070
</div>
</td>
<td><a name="wp1079761"> </a><div class="pCellBodyR">
5,727,833
</div>
</td>
<td><a name="wp1079763"> </a><div class="pCellBodyR">
57.79
</div>
</td>
<td> </td>
<td><a name="wp1079767"> </a><div class="pCellBodyR">
23
</div>
</td>
<td><a name="wp1079769"> </a><div class="pCellBodyR">
0.00029
</div>
</td>
<td><a name="wp1079771"> </a><div class="pCellBodyR">
99,485
</div>
</td>
<td><a name="wp1079773"> </a><div class="pCellBodyR">
29
</div>
</td>
<td><a name="wp1079775"> </a><div class="pCellBodyR">
99,471
</div>
</td>
<td><a name="wp1079777"> </a><div class="pCellBodyR">
6,100,512
</div>
</td>
<td><a name="wp1079779"> </a><div class="pCellBodyR">
61.32
</div>
</td>
</tr>
<tr> <td><a name="wp1079721"> </a><div class="pCellBodyR">
24
</div>
</td>
<td><a name="wp1079723"> </a><div class="pCellBodyR">
0.00079
</div>
</td>
<td><a name="wp1079725"> </a><div class="pCellBodyR">
99,029
</div>
</td>
<td><a name="wp1079727"> </a><div class="pCellBodyR">
78
</div>
</td>
<td><a name="wp1079729"> </a><div class="pCellBodyR">
98,991
</div>
</td>
<td><a name="wp1079731"> </a><div class="pCellBodyR">
5,628,763
</div>
</td>
<td><a name="wp1079733"> </a><div class="pCellBodyR">
56.84
</div>
</td>
<td> </td>
<td><a name="wp1079737"> </a><div class="pCellBodyR">
24
</div>
</td>
<td><a name="wp1079739"> </a><div class="pCellBodyR">
0.00030
</div>
</td>
<td><a name="wp1079741"> </a><div class="pCellBodyR">
99,456
</div>
</td>
<td><a name="wp1079743"> </a><div class="pCellBodyR">
29
</div>
</td>
<td><a name="wp1079745"> </a><div class="pCellBodyR">
99,442
</div>
</td>
<td><a name="wp1079747"> </a><div class="pCellBodyR">
6,001,041
</div>
</td>
<td><a name="wp1079749"> </a><div class="pCellBodyR">
60.34
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1079661"> </a><div class="pCellBodyR">
25
</div>
</td>
<td><a name="wp1079663"> </a><div class="pCellBodyR">
0.00074
</div>
</td>
<td><a name="wp1079665"> </a><div class="pCellBodyR">
98,952
</div>
</td>
<td><a name="wp1079667"> </a><div class="pCellBodyR">
74
</div>
</td>
<td><a name="wp1079669"> </a><div class="pCellBodyR">
98,915
</div>
</td>
<td><a name="wp1079671"> </a><div class="pCellBodyR">
5,529,772
</div>
</td>
<td><a name="wp1079673"> </a><div class="pCellBodyR">
55.88
</div>
</td>
<td> </td>
<td><a name="wp1079677"> </a><div class="pCellBodyR">
25
</div>
</td>
<td><a name="wp1079679"> </a><div class="pCellBodyR">
0.00030
</div>
</td>
<td><a name="wp1079681"> </a><div class="pCellBodyR">
99,427
</div>
</td>
<td><a name="wp1079683"> </a><div class="pCellBodyR">
30
</div>
</td>
<td><a name="wp1079685"> </a><div class="pCellBodyR">
99,412
</div>
</td>
<td><a name="wp1079687"> </a><div class="pCellBodyR">
5,901,600
</div>
</td>
<td><a name="wp1079689"> </a><div class="pCellBodyR">
59.36
</div>
</td>
</tr>
<tr> <td><a name="wp1079631"> </a><div class="pCellBodyR">
26
</div>
</td>
<td><a name="wp1079633"> </a><div class="pCellBodyR">
0.00071
</div>
</td>
<td><a name="wp1079635"> </a><div class="pCellBodyR">
98,878
</div>
</td>
<td><a name="wp1079637"> </a><div class="pCellBodyR">
70
</div>
</td>
<td><a name="wp1079639"> </a><div class="pCellBodyR">
98,843
</div>
</td>
<td><a name="wp1079641"> </a><div class="pCellBodyR">
5,430,857
</div>
</td>
<td><a name="wp1079643"> </a><div class="pCellBodyR">
54.92
</div>
</td>
<td> </td>
<td><a name="wp1079647"> </a><div class="pCellBodyR">
26
</div>
</td>
<td><a name="wp1079649"> </a><div class="pCellBodyR">
0.00032
</div>
</td>
<td><a name="wp1079651"> </a><div class="pCellBodyR">
99,397
</div>
</td>
<td><a name="wp1079653"> </a><div class="pCellBodyR">
31
</div>
</td>
<td><a name="wp1079655"> </a><div class="pCellBodyR">
99,381
</div>
</td>
<td><a name="wp1079657"> </a><div class="pCellBodyR">
5,802,188
</div>
</td>
<td><a name="wp1079659"> </a><div class="pCellBodyR">
58.37
</div>
</td>
</tr>
<tr> <td><a name="wp1079601"> </a><div class="pCellBodyR">
27
</div>
</td>
<td><a name="wp1079603"> </a><div class="pCellBodyR">
0.00069
</div>
</td>
<td><a name="wp1079605"> </a><div class="pCellBodyR">
98,808
</div>
</td>
<td><a name="wp1079607"> </a><div class="pCellBodyR">
68
</div>
</td>
<td><a name="wp1079609"> </a><div class="pCellBodyR">
98,774
</div>
</td>
<td><a name="wp1079611"> </a><div class="pCellBodyR">
5,332,014
</div>
</td>
<td><a name="wp1079613"> </a><div class="pCellBodyR">
53.96
</div>
</td>
<td> </td>
<td><a name="wp1079617"> </a><div class="pCellBodyR">
27
</div>
</td>
<td><a name="wp1079619"> </a><div class="pCellBodyR">
0.00033
</div>
</td>
<td><a name="wp1079621"> </a><div class="pCellBodyR">
99,365
</div>
</td>
<td><a name="wp1079623"> </a><div class="pCellBodyR">
33
</div>
</td>
<td><a name="wp1079625"> </a><div class="pCellBodyR">
99,349
</div>
</td>
<td><a name="wp1079627"> </a><div class="pCellBodyR">
5,702,807
</div>
</td>
<td><a name="wp1079629"> </a><div class="pCellBodyR">
57.39
</div>
</td>
</tr>
<tr> <td><a name="wp1079571"> </a><div class="pCellBodyR">
28
</div>
</td>
<td><a name="wp1079573"> </a><div class="pCellBodyR">
0.00069
</div>
</td>
<td><a name="wp1079575"> </a><div class="pCellBodyR">
98,740
</div>
</td>
<td><a name="wp1079577"> </a><div class="pCellBodyR">
68
</div>
</td>
<td><a name="wp1079579"> </a><div class="pCellBodyR">
98,706
</div>
</td>
<td><a name="wp1079581"> </a><div class="pCellBodyR">
5,233,240
</div>
</td>
<td><a name="wp1079583"> </a><div class="pCellBodyR">
53.00
</div>
</td>
<td> </td>
<td><a name="wp1079587"> </a><div class="pCellBodyR">
28
</div>
</td>
<td><a name="wp1079589"> </a><div class="pCellBodyR">
0.00035
</div>
</td>
<td><a name="wp1079591"> </a><div class="pCellBodyR">
99,332
</div>
</td>
<td><a name="wp1079593"> </a><div class="pCellBodyR">
35
</div>
</td>
<td><a name="wp1079595"> </a><div class="pCellBodyR">
99,315
</div>
</td>
<td><a name="wp1079597"> </a><div class="pCellBodyR">
5,603,458
</div>
</td>
<td><a name="wp1079599"> </a><div class="pCellBodyR">
56.41
</div>
</td>
</tr>
<tr> <td><a name="wp1079541"> </a><div class="pCellBodyR">
29
</div>
</td>
<td><a name="wp1079543"> </a><div class="pCellBodyR">
0.00072
</div>
</td>
<td><a name="wp1079545"> </a><div class="pCellBodyR">
98,672
</div>
</td>
<td><a name="wp1079547"> </a><div class="pCellBodyR">
71
</div>
</td>
<td><a name="wp1079549"> </a><div class="pCellBodyR">
98,636
</div>
</td>
<td><a name="wp1079551"> </a><div class="pCellBodyR">
5,134,534
</div>
</td>
<td><a name="wp1079553"> </a><div class="pCellBodyR">
52.04
</div>
</td>
<td> </td>
<td><a name="wp1079557"> </a><div class="pCellBodyR">
29
</div>
</td>
<td><a name="wp1079559"> </a><div class="pCellBodyR">
0.00038
</div>
</td>
<td><a name="wp1079561"> </a><div class="pCellBodyR">
99,298
</div>
</td>
<td><a name="wp1079563"> </a><div class="pCellBodyR">
37
</div>
</td>
<td><a name="wp1079565"> </a><div class="pCellBodyR">
99,279
</div>
</td>
<td><a name="wp1079567"> </a><div class="pCellBodyR">
5,504,143
</div>
</td>
<td><a name="wp1079569"> </a><div class="pCellBodyR">
55.43
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1079481"> </a><div class="pCellBodyR">
30
</div>
</td>
<td><a name="wp1079483"> </a><div class="pCellBodyR">
0.00075
</div>
</td>
<td><a name="wp1079485"> </a><div class="pCellBodyR">
98,601
</div>
</td>
<td><a name="wp1079487"> </a><div class="pCellBodyR">
74
</div>
</td>
<td><a name="wp1079489"> </a><div class="pCellBodyR">
98,564
</div>
</td>
<td><a name="wp1079491"> </a><div class="pCellBodyR">
5,035,898
</div>
</td>
<td><a name="wp1079493"> </a><div class="pCellBodyR">
51.07
</div>
</td>
<td> </td>
<td><a name="wp1079497"> </a><div class="pCellBodyR">
30
</div>
</td>
<td><a name="wp1079499"> </a><div class="pCellBodyR">
0.00041
</div>
</td>
<td><a name="wp1079501"> </a><div class="pCellBodyR">
99,260
</div>
</td>
<td><a name="wp1079503"> </a><div class="pCellBodyR">
40
</div>
</td>
<td><a name="wp1079505"> </a><div class="pCellBodyR">
99,240
</div>
</td>
<td><a name="wp1079507"> </a><div class="pCellBodyR">
5,404,864
</div>
</td>
<td><a name="wp1079509"> </a><div class="pCellBodyR">
54.45
</div>
</td>
</tr>
<tr> <td><a name="wp1079451"> </a><div class="pCellBodyR">
31
</div>
</td>
<td><a name="wp1079453"> </a><div class="pCellBodyR">
0.00078
</div>
</td>
<td><a name="wp1079455"> </a><div class="pCellBodyR">
98,527
</div>
</td>
<td><a name="wp1079457"> </a><div class="pCellBodyR">
77
</div>
</td>
<td><a name="wp1079459"> </a><div class="pCellBodyR">
98,489
</div>
</td>
<td><a name="wp1079461"> </a><div class="pCellBodyR">
4,937,334
</div>
</td>
<td><a name="wp1079463"> </a><div class="pCellBodyR">
50.11
</div>
</td>
<td> </td>
<td><a name="wp1079467"> </a><div class="pCellBodyR">
31
</div>
</td>
<td><a name="wp1079469"> </a><div class="pCellBodyR">
0.00044
</div>
</td>
<td><a name="wp1079471"> </a><div class="pCellBodyR">
99,220
</div>
</td>
<td><a name="wp1079473"> </a><div class="pCellBodyR">
44
</div>
</td>
<td><a name="wp1079475"> </a><div class="pCellBodyR">
99,198
</div>
</td>
<td><a name="wp1079477"> </a><div class="pCellBodyR">
5,305,624
</div>
</td>
<td><a name="wp1079479"> </a><div class="pCellBodyR">
53.47
</div>
</td>
</tr>
<tr> <td><a name="wp1079421"> </a><div class="pCellBodyR">
32
</div>
</td>
<td><a name="wp1079423"> </a><div class="pCellBodyR">
0.00083
</div>
</td>
<td><a name="wp1079425"> </a><div class="pCellBodyR">
98,450
</div>
</td>
<td><a name="wp1079427"> </a><div class="pCellBodyR">
81
</div>
</td>
<td><a name="wp1079429"> </a><div class="pCellBodyR">
98,410
</div>
</td>
<td><a name="wp1079431"> </a><div class="pCellBodyR">
4,838,845
</div>
</td>
<td><a name="wp1079433"> </a><div class="pCellBodyR">
49.15
</div>
</td>
<td> </td>
<td><a name="wp1079437"> </a><div class="pCellBodyR">
32
</div>
</td>
<td><a name="wp1079439"> </a><div class="pCellBodyR">
0.00048
</div>
</td>
<td><a name="wp1079441"> </a><div class="pCellBodyR">
99,176
</div>
</td>
<td><a name="wp1079443"> </a><div class="pCellBodyR">
48
</div>
</td>
<td><a name="wp1079445"> </a><div class="pCellBodyR">
99,152
</div>
</td>
<td><a name="wp1079447"> </a><div class="pCellBodyR">
5,206,426
</div>
</td>
<td><a name="wp1079449"> </a><div class="pCellBodyR">
52.50
</div>
</td>
</tr>
<tr> <td><a name="wp1079391"> </a><div class="pCellBodyR">
33
</div>
</td>
<td><a name="wp1079393"> </a><div class="pCellBodyR">
0.00089
</div>
</td>
<td><a name="wp1079395"> </a><div class="pCellBodyR">
98,369
</div>
</td>
<td><a name="wp1079397"> </a><div class="pCellBodyR">
87
</div>
</td>
<td><a name="wp1079399"> </a><div class="pCellBodyR">
98,325
</div>
</td>
<td><a name="wp1079401"> </a><div class="pCellBodyR">
4,740,436
</div>
</td>
<td><a name="wp1079403"> </a><div class="pCellBodyR">
48.19
</div>
</td>
<td> </td>
<td><a name="wp1079407"> </a><div class="pCellBodyR">
33
</div>
</td>
<td><a name="wp1079409"> </a><div class="pCellBodyR">
0.00053
</div>
</td>
<td><a name="wp1079411"> </a><div class="pCellBodyR">
99,129
</div>
</td>
<td><a name="wp1079413"> </a><div class="pCellBodyR">
53
</div>
</td>
<td><a name="wp1079415"> </a><div class="pCellBodyR">
99,102
</div>
</td>
<td><a name="wp1079417"> </a><div class="pCellBodyR">
5,107,274
</div>
</td>
<td><a name="wp1079419"> </a><div class="pCellBodyR">
51.52
</div>
</td>
</tr>
<tr> <td><a name="wp1079361"> </a><div class="pCellBodyR">
34
</div>
</td>
<td><a name="wp1079363"> </a><div class="pCellBodyR">
0.00095
</div>
</td>
<td><a name="wp1079365"> </a><div class="pCellBodyR">
98,282
</div>
</td>
<td><a name="wp1079367"> </a><div class="pCellBodyR">
94
</div>
</td>
<td><a name="wp1079369"> </a><div class="pCellBodyR">
98,235
</div>
</td>
<td><a name="wp1079371"> </a><div class="pCellBodyR">
4,642,110
</div>
</td>
<td><a name="wp1079373"> </a><div class="pCellBodyR">
47.23
</div>
</td>
<td> </td>
<td><a name="wp1079377"> </a><div class="pCellBodyR">
34
</div>
</td>
<td><a name="wp1079379"> </a><div class="pCellBodyR">
0.00059
</div>
</td>
<td><a name="wp1079381"> </a><div class="pCellBodyR">
99,076
</div>
</td>
<td><a name="wp1079383"> </a><div class="pCellBodyR">
58
</div>
</td>
<td><a name="wp1079385"> </a><div class="pCellBodyR">
99,047
</div>
</td>
<td><a name="wp1079387"> </a><div class="pCellBodyR">
5,008,171
</div>
</td>
<td><a name="wp1079389"> </a><div class="pCellBodyR">
50.55
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1079301"> </a><div class="pCellBodyR">
35
</div>
</td>
<td><a name="wp1079303"> </a><div class="pCellBodyR">
0.00103
</div>
</td>
<td><a name="wp1079305"> </a><div class="pCellBodyR">
98,188
</div>
</td>
<td><a name="wp1079307"> </a><div class="pCellBodyR">
101
</div>
</td>
<td><a name="wp1079309"> </a><div class="pCellBodyR">
98,137
</div>
</td>
<td><a name="wp1079311"> </a><div class="pCellBodyR">
4,543,875
</div>
</td>
<td><a name="wp1079313"> </a><div class="pCellBodyR">
46.28
</div>
</td>
<td> </td>
<td><a name="wp1079317"> </a><div class="pCellBodyR">
35
</div>
</td>
<td><a name="wp1079319"> </a><div class="pCellBodyR">
0.00065
</div>
</td>
<td><a name="wp1079321"> </a><div class="pCellBodyR">
99,018
</div>
</td>
<td><a name="wp1079323"> </a><div class="pCellBodyR">
64
</div>
</td>
<td><a name="wp1079325"> </a><div class="pCellBodyR">
98,986
</div>
</td>
<td><a name="wp1079327"> </a><div class="pCellBodyR">
4,909,124
</div>
</td>
<td><a name="wp1079329"> </a><div class="pCellBodyR">
49.58
</div>
</td>
</tr>
<tr> <td><a name="wp1079271"> </a><div class="pCellBodyR">
36
</div>
</td>
<td><a name="wp1079273"> </a><div class="pCellBodyR">
0.00112
</div>
</td>
<td><a name="wp1079275"> </a><div class="pCellBodyR">
98,087
</div>
</td>
<td><a name="wp1079277"> </a><div class="pCellBodyR">
110
</div>
</td>
<td><a name="wp1079279"> </a><div class="pCellBodyR">
98,032
</div>
</td>
<td><a name="wp1079281"> </a><div class="pCellBodyR">
4,445,738
</div>
</td>
<td><a name="wp1079283"> </a><div class="pCellBodyR">
45.32
</div>
</td>
<td> </td>
<td><a name="wp1079287"> </a><div class="pCellBodyR">
36
</div>
</td>
<td><a name="wp1079289"> </a><div class="pCellBodyR">
0.00071
</div>
</td>
<td><a name="wp1079291"> </a><div class="pCellBodyR">
98,954
</div>
</td>
<td><a name="wp1079293"> </a><div class="pCellBodyR">
70
</div>
</td>
<td><a name="wp1079295"> </a><div class="pCellBodyR">
98,919
</div>
</td>
<td><a name="wp1079297"> </a><div class="pCellBodyR">
4,810,138
</div>
</td>
<td><a name="wp1079299"> </a><div class="pCellBodyR">
48.61
</div>
</td>
</tr>
<tr> <td><a name="wp1079241"> </a><div class="pCellBodyR">
37
</div>
</td>
<td><a name="wp1079243"> </a><div class="pCellBodyR">
0.00122
</div>
</td>
<td><a name="wp1079245"> </a><div class="pCellBodyR">
97,977
</div>
</td>
<td><a name="wp1079247"> </a><div class="pCellBodyR">
119
</div>
</td>
<td><a name="wp1079249"> </a><div class="pCellBodyR">
97,917
</div>
</td>
<td><a name="wp1079251"> </a><div class="pCellBodyR">
4,347,706
</div>
</td>
<td><a name="wp1079253"> </a><div class="pCellBodyR">
44.37
</div>
</td>
<td> </td>
<td><a name="wp1079257"> </a><div class="pCellBodyR">
37
</div>
</td>
<td><a name="wp1079259"> </a><div class="pCellBodyR">
0.00078
</div>
</td>
<td><a name="wp1079261"> </a><div class="pCellBodyR">
98,883
</div>
</td>
<td><a name="wp1079263"> </a><div class="pCellBodyR">
77
</div>
</td>
<td><a name="wp1079265"> </a><div class="pCellBodyR">
98,845
</div>
</td>
<td><a name="wp1079267"> </a><div class="pCellBodyR">
4,711,220
</div>
</td>
<td><a name="wp1079269"> </a><div class="pCellBodyR">
47.64
</div>
</td>
</tr>
<tr> <td><a name="wp1079211"> </a><div class="pCellBodyR">
38
</div>
</td>
<td><a name="wp1079213"> </a><div class="pCellBodyR">
0.00132
</div>
</td>
<td><a name="wp1079215"> </a><div class="pCellBodyR">
97,858
</div>
</td>
<td><a name="wp1079217"> </a><div class="pCellBodyR">
129
</div>
</td>
<td><a name="wp1079219"> </a><div class="pCellBodyR">
97,793
</div>
</td>
<td><a name="wp1079221"> </a><div class="pCellBodyR">
4,249,788
</div>
</td>
<td><a name="wp1079223"> </a><div class="pCellBodyR">
43.43
</div>
</td>
<td> </td>
<td><a name="wp1079227"> </a><div class="pCellBodyR">
38
</div>
</td>
<td><a name="wp1079229"> </a><div class="pCellBodyR">
0.00085
</div>
</td>
<td><a name="wp1079231"> </a><div class="pCellBodyR">
98,806
</div>
</td>
<td><a name="wp1079233"> </a><div class="pCellBodyR">
84
</div>
</td>
<td><a name="wp1079235"> </a><div class="pCellBodyR">
98,764
</div>
</td>
<td><a name="wp1079237"> </a><div class="pCellBodyR">
4,612,375
</div>
</td>
<td><a name="wp1079239"> </a><div class="pCellBodyR">
46.68
</div>
</td>
</tr>
<tr> <td><a name="wp1079181"> </a><div class="pCellBodyR">
39
</div>
</td>
<td><a name="wp1079183"> </a><div class="pCellBodyR">
0.00144
</div>
</td>
<td><a name="wp1079185"> </a><div class="pCellBodyR">
97,729
</div>
</td>
<td><a name="wp1079187"> </a><div class="pCellBodyR">
140
</div>
</td>
<td><a name="wp1079189"> </a><div class="pCellBodyR">
97,658
</div>
</td>
<td><a name="wp1079191"> </a><div class="pCellBodyR">
4,151,995
</div>
</td>
<td><a name="wp1079193"> </a><div class="pCellBodyR">
42.48
</div>
</td>
<td> </td>
<td><a name="wp1079197"> </a><div class="pCellBodyR">
39
</div>
</td>
<td><a name="wp1079199"> </a><div class="pCellBodyR">
0.00092
</div>
</td>
<td><a name="wp1079201"> </a><div class="pCellBodyR">
98,722
</div>
</td>
<td><a name="wp1079203"> </a><div class="pCellBodyR">
91
</div>
</td>
<td><a name="wp1079205"> </a><div class="pCellBodyR">
98,677
</div>
</td>
<td><a name="wp1079207"> </a><div class="pCellBodyR">
4,513,611
</div>
</td>
<td><a name="wp1079209"> </a><div class="pCellBodyR">
45.72
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1079121"> </a><div class="pCellBodyR">
40
</div>
</td>
<td><a name="wp1079123"> </a><div class="pCellBodyR">
0.00156
</div>
</td>
<td><a name="wp1079125"> </a><div class="pCellBodyR">
97,588
</div>
</td>
<td><a name="wp1079127"> </a><div class="pCellBodyR">
152
</div>
</td>
<td><a name="wp1079129"> </a><div class="pCellBodyR">
97,512
</div>
</td>
<td><a name="wp1079131"> </a><div class="pCellBodyR">
4,054,337
</div>
</td>
<td><a name="wp1079133"> </a><div class="pCellBodyR">
41.55
</div>
</td>
<td> </td>
<td><a name="wp1079137"> </a><div class="pCellBodyR">
40
</div>
</td>
<td><a name="wp1079139"> </a><div class="pCellBodyR">
0.00100
</div>
</td>
<td><a name="wp1079141"> </a><div class="pCellBodyR">
98,631
</div>
</td>
<td><a name="wp1079143"> </a><div class="pCellBodyR">
99
</div>
</td>
<td><a name="wp1079145"> </a><div class="pCellBodyR">
98,582
</div>
</td>
<td><a name="wp1079147"> </a><div class="pCellBodyR">
4,414,934
</div>
</td>
<td><a name="wp1079149"> </a><div class="pCellBodyR">
44.76
</div>
</td>
</tr>
<tr> <td><a name="wp1079091"> </a><div class="pCellBodyR">
41
</div>
</td>
<td><a name="wp1079093"> </a><div class="pCellBodyR">
0.00169
</div>
</td>
<td><a name="wp1079095"> </a><div class="pCellBodyR">
97,436
</div>
</td>
<td><a name="wp1079097"> </a><div class="pCellBodyR">
165
</div>
</td>
<td><a name="wp1079099"> </a><div class="pCellBodyR">
97,354
</div>
</td>
<td><a name="wp1079101"> </a><div class="pCellBodyR">
3,956,825
</div>
</td>
<td><a name="wp1079103"> </a><div class="pCellBodyR">
40.61
</div>
</td>
<td> </td>
<td><a name="wp1079107"> </a><div class="pCellBodyR">
41
</div>
</td>
<td><a name="wp1079109"> </a><div class="pCellBodyR">
0.00108
</div>
</td>
<td><a name="wp1079111"> </a><div class="pCellBodyR">
98,533
</div>
</td>
<td><a name="wp1079113"> </a><div class="pCellBodyR">
107
</div>
</td>
<td><a name="wp1079115"> </a><div class="pCellBodyR">
98,479
</div>
</td>
<td><a name="wp1079117"> </a><div class="pCellBodyR">
4,316,352
</div>
</td>
<td><a name="wp1079119"> </a><div class="pCellBodyR">
43.81
</div>
</td>
</tr>
<tr> <td><a name="wp1079061"> </a><div class="pCellBodyR">
42
</div>
</td>
<td><a name="wp1079063"> </a><div class="pCellBodyR">
0.00183
</div>
</td>
<td><a name="wp1079065"> </a><div class="pCellBodyR">
97,271
</div>
</td>
<td><a name="wp1079067"> </a><div class="pCellBodyR">
178
</div>
</td>
<td><a name="wp1079069"> </a><div class="pCellBodyR">
97,183
</div>
</td>
<td><a name="wp1079071"> </a><div class="pCellBodyR">
3,859,471
</div>
</td>
<td><a name="wp1079073"> </a><div class="pCellBodyR">
39.68
</div>
</td>
<td> </td>
<td><a name="wp1079077"> </a><div class="pCellBodyR">
42
</div>
</td>
<td><a name="wp1079079"> </a><div class="pCellBodyR">
0.00116
</div>
</td>
<td><a name="wp1079081"> </a><div class="pCellBodyR">
98,426
</div>
</td>
<td><a name="wp1079083"> </a><div class="pCellBodyR">
114
</div>
</td>
<td><a name="wp1079085"> </a><div class="pCellBodyR">
98,369
</div>
</td>
<td><a name="wp1079087"> </a><div class="pCellBodyR">
4,217,873
</div>
</td>
<td><a name="wp1079089"> </a><div class="pCellBodyR">
42.85
</div>
</td>
</tr>
<tr> <td><a name="wp1079031"> </a><div class="pCellBodyR">
43
</div>
</td>
<td><a name="wp1079033"> </a><div class="pCellBodyR">
0.00197
</div>
</td>
<td><a name="wp1079035"> </a><div class="pCellBodyR">
97,094
</div>
</td>
<td><a name="wp1079037"> </a><div class="pCellBodyR">
191
</div>
</td>
<td><a name="wp1079039"> </a><div class="pCellBodyR">
96,998
</div>
</td>
<td><a name="wp1079041"> </a><div class="pCellBodyR">
3,762,288
</div>
</td>
<td><a name="wp1079043"> </a><div class="pCellBodyR">
38.75
</div>
</td>
<td> </td>
<td><a name="wp1079047"> </a><div class="pCellBodyR">
43
</div>
</td>
<td><a name="wp1079049"> </a><div class="pCellBodyR">
0.00123
</div>
</td>
<td><a name="wp1079051"> </a><div class="pCellBodyR">
98,312
</div>
</td>
<td><a name="wp1079053"> </a><div class="pCellBodyR">
121
</div>
</td>
<td><a name="wp1079055"> </a><div class="pCellBodyR">
98,252
</div>
</td>
<td><a name="wp1079057"> </a><div class="pCellBodyR">
4,119,504
</div>
</td>
<td><a name="wp1079059"> </a><div class="pCellBodyR">
41.90
</div>
</td>
</tr>
<tr> <td><a name="wp1079001"> </a><div class="pCellBodyR">
44
</div>
</td>
<td><a name="wp1079003"> </a><div class="pCellBodyR">
0.00211
</div>
</td>
<td><a name="wp1079005"> </a><div class="pCellBodyR">
96,903
</div>
</td>
<td><a name="wp1079007"> </a><div class="pCellBodyR">
205
</div>
</td>
<td><a name="wp1079009"> </a><div class="pCellBodyR">
96,800
</div>
</td>
<td><a name="wp1079011"> </a><div class="pCellBodyR">
3,665,290
</div>
</td>
<td><a name="wp1079013"> </a><div class="pCellBodyR">
37.82
</div>
</td>
<td> </td>
<td><a name="wp1079017"> </a><div class="pCellBodyR">
44
</div>
</td>
<td><a name="wp1079019"> </a><div class="pCellBodyR">
0.00130
</div>
</td>
<td><a name="wp1079021"> </a><div class="pCellBodyR">
98,191
</div>
</td>
<td><a name="wp1079023"> </a><div class="pCellBodyR">
127
</div>
</td>
<td><a name="wp1079025"> </a><div class="pCellBodyR">
98,128
</div>
</td>
<td><a name="wp1079027"> </a><div class="pCellBodyR">
4,021,252
</div>
</td>
<td><a name="wp1079029"> </a><div class="pCellBodyR">
40.95
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1078941"> </a><div class="pCellBodyR">
45
</div>
</td>
<td><a name="wp1078943"> </a><div class="pCellBodyR">
0.00228
</div>
</td>
<td><a name="wp1078945"> </a><div class="pCellBodyR">
96,698
</div>
</td>
<td><a name="wp1078947"> </a><div class="pCellBodyR">
220
</div>
</td>
<td><a name="wp1078949"> </a><div class="pCellBodyR">
96,588
</div>
</td>
<td><a name="wp1078951"> </a><div class="pCellBodyR">
3,568,490
</div>
</td>
<td><a name="wp1078953"> </a><div class="pCellBodyR">
36.90
</div>
</td>
<td> </td>
<td><a name="wp1078957"> </a><div class="pCellBodyR">
45
</div>
</td>
<td><a name="wp1078959"> </a><div class="pCellBodyR">
0.00137
</div>
</td>
<td><a name="wp1078961"> </a><div class="pCellBodyR">
98,064
</div>
</td>
<td><a name="wp1078963"> </a><div class="pCellBodyR">
135
</div>
</td>
<td><a name="wp1078965"> </a><div class="pCellBodyR">
97,997
</div>
</td>
<td><a name="wp1078967"> </a><div class="pCellBodyR">
3,923,124
</div>
</td>
<td><a name="wp1078969"> </a><div class="pCellBodyR">
40.01
</div>
</td>
</tr>
<tr> <td><a name="wp1078911"> </a><div class="pCellBodyR">
46
</div>
</td>
<td><a name="wp1078913"> </a><div class="pCellBodyR">
0.00245
</div>
</td>
<td><a name="wp1078915"> </a><div class="pCellBodyR">
96,478
</div>
</td>
<td><a name="wp1078917"> </a><div class="pCellBodyR">
237
</div>
</td>
<td><a name="wp1078919"> </a><div class="pCellBodyR">
96,359
</div>
</td>
<td><a name="wp1078921"> </a><div class="pCellBodyR">
3,471,902
</div>
</td>
<td><a name="wp1078923"> </a><div class="pCellBodyR">
35.99
</div>
</td>
<td> </td>
<td><a name="wp1078927"> </a><div class="pCellBodyR">
46
</div>
</td>
<td><a name="wp1078929"> </a><div class="pCellBodyR">
0.00146
</div>
</td>
<td><a name="wp1078931"> </a><div class="pCellBodyR">
97,929
</div>
</td>
<td><a name="wp1078933"> </a><div class="pCellBodyR">
143
</div>
</td>
<td><a name="wp1078935"> </a><div class="pCellBodyR">
97,858
</div>
</td>
<td><a name="wp1078937"> </a><div class="pCellBodyR">
3,825,128
</div>
</td>
<td><a name="wp1078939"> </a><div class="pCellBodyR">
39.06
</div>
</td>
</tr>
<tr> <td><a name="wp1078881"> </a><div class="pCellBodyR">
47
</div>
</td>
<td><a name="wp1078883"> </a><div class="pCellBodyR">
0.00261
</div>
</td>
<td><a name="wp1078885"> </a><div class="pCellBodyR">
96,241
</div>
</td>
<td><a name="wp1078887"> </a><div class="pCellBodyR">
251
</div>
</td>
<td><a name="wp1078889"> </a><div class="pCellBodyR">
96,115
</div>
</td>
<td><a name="wp1078891"> </a><div class="pCellBodyR">
3,375,543
</div>
</td>
<td><a name="wp1078893"> </a><div class="pCellBodyR">
35.07
</div>
</td>
<td> </td>
<td><a name="wp1078897"> </a><div class="pCellBodyR">
47
</div>
</td>
<td><a name="wp1078899"> </a><div class="pCellBodyR">
0.00156
</div>
</td>
<td><a name="wp1078901"> </a><div class="pCellBodyR">
97,786
</div>
</td>
<td><a name="wp1078903"> </a><div class="pCellBodyR">
152
</div>
</td>
<td><a name="wp1078905"> </a><div class="pCellBodyR">
97,710
</div>
</td>
<td><a name="wp1078907"> </a><div class="pCellBodyR">
3,727,270
</div>
</td>
<td><a name="wp1078909"> </a><div class="pCellBodyR">
38.12
</div>
</td>
</tr>
<tr> <td><a name="wp1078851"> </a><div class="pCellBodyR">
48
</div>
</td>
<td><a name="wp1078853"> </a><div class="pCellBodyR">
0.00274
</div>
</td>
<td><a name="wp1078855"> </a><div class="pCellBodyR">
95,990
</div>
</td>
<td><a name="wp1078857"> </a><div class="pCellBodyR">
263
</div>
</td>
<td><a name="wp1078859"> </a><div class="pCellBodyR">
95,859
</div>
</td>
<td><a name="wp1078861"> </a><div class="pCellBodyR">
3,279,427
</div>
</td>
<td><a name="wp1078863"> </a><div class="pCellBodyR">
34.16
</div>
</td>
<td> </td>
<td><a name="wp1078867"> </a><div class="pCellBodyR">
48
</div>
</td>
<td><a name="wp1078869"> </a><div class="pCellBodyR">
0.00166
</div>
</td>
<td><a name="wp1078871"> </a><div class="pCellBodyR">
97,634
</div>
</td>
<td><a name="wp1078873"> </a><div class="pCellBodyR">
162
</div>
</td>
<td><a name="wp1078875"> </a><div class="pCellBodyR">
97,553
</div>
</td>
<td><a name="wp1078877"> </a><div class="pCellBodyR">
3,629,560
</div>
</td>
<td><a name="wp1078879"> </a><div class="pCellBodyR">
37.18
</div>
</td>
</tr>
<tr> <td><a name="wp1078821"> </a><div class="pCellBodyR">
49
</div>
</td>
<td><a name="wp1078823"> </a><div class="pCellBodyR">
0.00285
</div>
</td>
<td><a name="wp1078825"> </a><div class="pCellBodyR">
95,727
</div>
</td>
<td><a name="wp1078827"> </a><div class="pCellBodyR">
273
</div>
</td>
<td><a name="wp1078829"> </a><div class="pCellBodyR">
95,591
</div>
</td>
<td><a name="wp1078831"> </a><div class="pCellBodyR">
3,183,568
</div>
</td>
<td><a name="wp1078833"> </a><div class="pCellBodyR">
33.26
</div>
</td>
<td> </td>
<td><a name="wp1078837"> </a><div class="pCellBodyR">
49
</div>
</td>
<td><a name="wp1078839"> </a><div class="pCellBodyR">
0.00177
</div>
</td>
<td><a name="wp1078841"> </a><div class="pCellBodyR">
97,472
</div>
</td>
<td><a name="wp1078843"> </a><div class="pCellBodyR">
173
</div>
</td>
<td><a name="wp1078845"> </a><div class="pCellBodyR">
97,386
</div>
</td>
<td><a name="wp1078847"> </a><div class="pCellBodyR">
3,532,006
</div>
</td>
<td><a name="wp1078849"> </a><div class="pCellBodyR">
36.24
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1078761"> </a><div class="pCellBodyR">
50
</div>
</td>
<td><a name="wp1078763"> </a><div class="pCellBodyR">
0.00299
</div>
</td>
<td><a name="wp1078765"> </a><div class="pCellBodyR">
95,454
</div>
</td>
<td><a name="wp1078767"> </a><div class="pCellBodyR">
285
</div>
</td>
<td><a name="wp1078769"> </a><div class="pCellBodyR">
95,312
</div>
</td>
<td><a name="wp1078771"> </a><div class="pCellBodyR">
3,087,978
</div>
</td>
<td><a name="wp1078773"> </a><div class="pCellBodyR">
32.35
</div>
</td>
<td> </td>
<td><a name="wp1078777"> </a><div class="pCellBodyR">
50
</div>
</td>
<td><a name="wp1078779"> </a><div class="pCellBodyR">
0.00190
</div>
</td>
<td><a name="wp1078781"> </a><div class="pCellBodyR">
97,300
</div>
</td>
<td><a name="wp1078783"> </a><div class="pCellBodyR">
185
</div>
</td>
<td><a name="wp1078785"> </a><div class="pCellBodyR">
97,208
</div>
</td>
<td><a name="wp1078787"> </a><div class="pCellBodyR">
3,434,620
</div>
</td>
<td><a name="wp1078789"> </a><div class="pCellBodyR">
35.30
</div>
</td>
</tr>
<tr> <td><a name="wp1078731"> </a><div class="pCellBodyR">
51
</div>
</td>
<td><a name="wp1078733"> </a><div class="pCellBodyR">
0.00315
</div>
</td>
<td><a name="wp1078735"> </a><div class="pCellBodyR">
95,169
</div>
</td>
<td><a name="wp1078737"> </a><div class="pCellBodyR">
300
</div>
</td>
<td><a name="wp1078739"> </a><div class="pCellBodyR">
95,019
</div>
</td>
<td><a name="wp1078741"> </a><div class="pCellBodyR">
2,992,666
</div>
</td>
<td><a name="wp1078743"> </a><div class="pCellBodyR">
31.45
</div>
</td>
<td> </td>
<td><a name="wp1078747"> </a><div class="pCellBodyR">
51
</div>
</td>
<td><a name="wp1078749"> </a><div class="pCellBodyR">
0.00205
</div>
</td>
<td><a name="wp1078751"> </a><div class="pCellBodyR">
97,115
</div>
</td>
<td><a name="wp1078753"> </a><div class="pCellBodyR">
199
</div>
</td>
<td><a name="wp1078755"> </a><div class="pCellBodyR">
97,016
</div>
</td>
<td><a name="wp1078757"> </a><div class="pCellBodyR">
3,337,412
</div>
</td>
<td><a name="wp1078759"> </a><div class="pCellBodyR">
34.37
</div>
</td>
</tr>
<tr> <td><a name="wp1078701"> </a><div class="pCellBodyR">
52
</div>
</td>
<td><a name="wp1078703"> </a><div class="pCellBodyR">
0.00337
</div>
</td>
<td><a name="wp1078705"> </a><div class="pCellBodyR">
94,869
</div>
</td>
<td><a name="wp1078707"> </a><div class="pCellBodyR">
320
</div>
</td>
<td><a name="wp1078709"> </a><div class="pCellBodyR">
94,709
</div>
</td>
<td><a name="wp1078711"> </a><div class="pCellBodyR">
2,897,647
</div>
</td>
<td><a name="wp1078713"> </a><div class="pCellBodyR">
30.54
</div>
</td>
<td> </td>
<td><a name="wp1078717"> </a><div class="pCellBodyR">
52
</div>
</td>
<td><a name="wp1078719"> </a><div class="pCellBodyR">
0.00224
</div>
</td>
<td><a name="wp1078721"> </a><div class="pCellBodyR">
96,916
</div>
</td>
<td><a name="wp1078723"> </a><div class="pCellBodyR">
217
</div>
</td>
<td><a name="wp1078725"> </a><div class="pCellBodyR">
96,807
</div>
</td>
<td><a name="wp1078727"> </a><div class="pCellBodyR">
3,240,397
</div>
</td>
<td><a name="wp1078729"> </a><div class="pCellBodyR">
33.44
</div>
</td>
</tr>
<tr> <td><a name="wp1078671"> </a><div class="pCellBodyR">
53
</div>
</td>
<td><a name="wp1078673"> </a><div class="pCellBodyR">
0.00364
</div>
</td>
<td><a name="wp1078675"> </a><div class="pCellBodyR">
94,549
</div>
</td>
<td><a name="wp1078677"> </a><div class="pCellBodyR">
344
</div>
</td>
<td><a name="wp1078679"> </a><div class="pCellBodyR">
94,377
</div>
</td>
<td><a name="wp1078681"> </a><div class="pCellBodyR">
2,802,938
</div>
</td>
<td><a name="wp1078683"> </a><div class="pCellBodyR">
29.65
</div>
</td>
<td> </td>
<td><a name="wp1078687"> </a><div class="pCellBodyR">
53
</div>
</td>
<td><a name="wp1078689"> </a><div class="pCellBodyR">
0.00246
</div>
</td>
<td><a name="wp1078691"> </a><div class="pCellBodyR">
96,699
</div>
</td>
<td><a name="wp1078693"> </a><div class="pCellBodyR">
238
</div>
</td>
<td><a name="wp1078695"> </a><div class="pCellBodyR">
96,580
</div>
</td>
<td><a name="wp1078697"> </a><div class="pCellBodyR">
3,143,589
</div>
</td>
<td><a name="wp1078699"> </a><div class="pCellBodyR">
32.51
</div>
</td>
</tr>
<tr> <td><a name="wp1078641"> </a><div class="pCellBodyR">
54
</div>
</td>
<td><a name="wp1078643"> </a><div class="pCellBodyR">
0.00397
</div>
</td>
<td><a name="wp1078645"> </a><div class="pCellBodyR">
94,205
</div>
</td>
<td><a name="wp1078647"> </a><div class="pCellBodyR">
374
</div>
</td>
<td><a name="wp1078649"> </a><div class="pCellBodyR">
94,018
</div>
</td>
<td><a name="wp1078651"> </a><div class="pCellBodyR">
2,708,560
</div>
</td>
<td><a name="wp1078653"> </a><div class="pCellBodyR">
28.75
</div>
</td>
<td> </td>
<td><a name="wp1078657"> </a><div class="pCellBodyR">
54
</div>
</td>
<td><a name="wp1078659"> </a><div class="pCellBodyR">
0.00272
</div>
</td>
<td><a name="wp1078661"> </a><div class="pCellBodyR">
96,461
</div>
</td>
<td><a name="wp1078663"> </a><div class="pCellBodyR">
262
</div>
</td>
<td><a name="wp1078665"> </a><div class="pCellBodyR">
96,330
</div>
</td>
<td><a name="wp1078667"> </a><div class="pCellBodyR">
3,047,009
</div>
</td>
<td><a name="wp1078669"> </a><div class="pCellBodyR">
31.59
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1078581"> </a><div class="pCellBodyR">
55
</div>
</td>
<td><a name="wp1078583"> </a><div class="pCellBodyR">
0.00436
</div>
</td>
<td><a name="wp1078585"> </a><div class="pCellBodyR">
93,831
</div>
</td>
<td><a name="wp1078587"> </a><div class="pCellBodyR">
409
</div>
</td>
<td><a name="wp1078589"> </a><div class="pCellBodyR">
93,626
</div>
</td>
<td><a name="wp1078591"> </a><div class="pCellBodyR">
2,614,543
</div>
</td>
<td><a name="wp1078593"> </a><div class="pCellBodyR">
27.86
</div>
</td>
<td> </td>
<td><a name="wp1078597"> </a><div class="pCellBodyR">
55
</div>
</td>
<td><a name="wp1078599"> </a><div class="pCellBodyR">
0.00302
</div>
</td>
<td><a name="wp1078601"> </a><div class="pCellBodyR">
96,199
</div>
</td>
<td><a name="wp1078603"> </a><div class="pCellBodyR">
291
</div>
</td>
<td><a name="wp1078605"> </a><div class="pCellBodyR">
96,053
</div>
</td>
<td><a name="wp1078607"> </a><div class="pCellBodyR">
2,950,680
</div>
</td>
<td><a name="wp1078609"> </a><div class="pCellBodyR">
30.67
</div>
</td>
</tr>
<tr> <td><a name="wp1078551"> </a><div class="pCellBodyR">
56
</div>
</td>
<td><a name="wp1078553"> </a><div class="pCellBodyR">
0.00479
</div>
</td>
<td><a name="wp1078555"> </a><div class="pCellBodyR">
93,422
</div>
</td>
<td><a name="wp1078557"> </a><div class="pCellBodyR">
448
</div>
</td>
<td><a name="wp1078559"> </a><div class="pCellBodyR">
93,198
</div>
</td>
<td><a name="wp1078561"> </a><div class="pCellBodyR">
2,520,916
</div>
</td>
<td><a name="wp1078563"> </a><div class="pCellBodyR">
26.98
</div>
</td>
<td> </td>
<td><a name="wp1078567"> </a><div class="pCellBodyR">
56
</div>
</td>
<td><a name="wp1078569"> </a><div class="pCellBodyR">
0.00336
</div>
</td>
<td><a name="wp1078571"> </a><div class="pCellBodyR">
95,908
</div>
</td>
<td><a name="wp1078573"> </a><div class="pCellBodyR">
322
</div>
</td>
<td><a name="wp1078575"> </a><div class="pCellBodyR">
95,747
</div>
</td>
<td><a name="wp1078577"> </a><div class="pCellBodyR">
2,854,627
</div>
</td>
<td><a name="wp1078579"> </a><div class="pCellBodyR">
29.76
</div>
</td>
</tr>
<tr> <td><a name="wp1078521"> </a><div class="pCellBodyR">
57
</div>
</td>
<td><a name="wp1078523"> </a><div class="pCellBodyR">
0.00526
</div>
</td>
<td><a name="wp1078525"> </a><div class="pCellBodyR">
92,974
</div>
</td>
<td><a name="wp1078527"> </a><div class="pCellBodyR">
489
</div>
</td>
<td><a name="wp1078529"> </a><div class="pCellBodyR">
92,730
</div>
</td>
<td><a name="wp1078531"> </a><div class="pCellBodyR">
2,427,719
</div>
</td>
<td><a name="wp1078533"> </a><div class="pCellBodyR">
26.11
</div>
</td>
<td> </td>
<td><a name="wp1078537"> </a><div class="pCellBodyR">
57
</div>
</td>
<td><a name="wp1078539"> </a><div class="pCellBodyR">
0.00371
</div>
</td>
<td><a name="wp1078541"> </a><div class="pCellBodyR">
95,586
</div>
</td>
<td><a name="wp1078543"> </a><div class="pCellBodyR">
355
</div>
</td>
<td><a name="wp1078545"> </a><div class="pCellBodyR">
95,408
</div>
</td>
<td><a name="wp1078547"> </a><div class="pCellBodyR">
2,758,880
</div>
</td>
<td><a name="wp1078549"> </a><div class="pCellBodyR">
28.86
</div>
</td>
</tr>
<tr> <td><a name="wp1078491"> </a><div class="pCellBodyR">
58
</div>
</td>
<td><a name="wp1078493"> </a><div class="pCellBodyR">
0.00574
</div>
</td>
<td><a name="wp1078495"> </a><div class="pCellBodyR">
92,485
</div>
</td>
<td><a name="wp1078497"> </a><div class="pCellBodyR">
531
</div>
</td>
<td><a name="wp1078499"> </a><div class="pCellBodyR">
92,220
</div>
</td>
<td><a name="wp1078501"> </a><div class="pCellBodyR">
2,334,989
</div>
</td>
<td><a name="wp1078503"> </a><div class="pCellBodyR">
25.25
</div>
</td>
<td> </td>
<td><a name="wp1078507"> </a><div class="pCellBodyR">
58
</div>
</td>
<td><a name="wp1078509"> </a><div class="pCellBodyR">
0.00408
</div>
</td>
<td><a name="wp1078511"> </a><div class="pCellBodyR">
95,231
</div>
</td>
<td><a name="wp1078513"> </a><div class="pCellBodyR">
389
</div>
</td>
<td><a name="wp1078515"> </a><div class="pCellBodyR">
95,036
</div>
</td>
<td><a name="wp1078517"> </a><div class="pCellBodyR">
2,663,472
</div>
</td>
<td><a name="wp1078519"> </a><div class="pCellBodyR">
27.97
</div>
</td>
</tr>
<tr> <td><a name="wp1078461"> </a><div class="pCellBodyR">
59
</div>
</td>
<td><a name="wp1078463"> </a><div class="pCellBodyR">
0.00628
</div>
</td>
<td><a name="wp1078465"> </a><div class="pCellBodyR">
91,954
</div>
</td>
<td><a name="wp1078467"> </a><div class="pCellBodyR">
577
</div>
</td>
<td><a name="wp1078469"> </a><div class="pCellBodyR">
91,665
</div>
</td>
<td><a name="wp1078471"> </a><div class="pCellBodyR">
2,242,769
</div>
</td>
<td><a name="wp1078473"> </a><div class="pCellBodyR">
24.39
</div>
</td>
<td> </td>
<td><a name="wp1078477"> </a><div class="pCellBodyR">
59
</div>
</td>
<td><a name="wp1078479"> </a><div class="pCellBodyR">
0.00448
</div>
</td>
<td><a name="wp1078481"> </a><div class="pCellBodyR">
94,842
</div>
</td>
<td><a name="wp1078483"> </a><div class="pCellBodyR">
424
</div>
</td>
<td><a name="wp1078485"> </a><div class="pCellBodyR">
94,630
</div>
</td>
<td><a name="wp1078487"> </a><div class="pCellBodyR">
2,568,436
</div>
</td>
<td><a name="wp1078489"> </a><div class="pCellBodyR">
27.08
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1078401"> </a><div class="pCellBodyR">
60
</div>
</td>
<td><a name="wp1078403"> </a><div class="pCellBodyR">
0.00687
</div>
</td>
<td><a name="wp1078405"> </a><div class="pCellBodyR">
91,377
</div>
</td>
<td><a name="wp1078407"> </a><div class="pCellBodyR">
628
</div>
</td>
<td><a name="wp1078409"> </a><div class="pCellBodyR">
91,063
</div>
</td>
<td><a name="wp1078411"> </a><div class="pCellBodyR">
2,151,104
</div>
</td>
<td><a name="wp1078413"> </a><div class="pCellBodyR">
23.54
</div>
</td>
<td> </td>
<td><a name="wp1078417"> </a><div class="pCellBodyR">
60
</div>
</td>
<td><a name="wp1078419"> </a><div class="pCellBodyR">
0.00491
</div>
</td>
<td><a name="wp1078421"> </a><div class="pCellBodyR">
94,418
</div>
</td>
<td><a name="wp1078423"> </a><div class="pCellBodyR">
464
</div>
</td>
<td><a name="wp1078425"> </a><div class="pCellBodyR">
94,186
</div>
</td>
<td><a name="wp1078427"> </a><div class="pCellBodyR">
2,473,806
</div>
</td>
<td><a name="wp1078429"> </a><div class="pCellBodyR">
26.20
</div>
</td>
</tr>
<tr> <td><a name="wp1078371"> </a><div class="pCellBodyR">
61
</div>
</td>
<td><a name="wp1078373"> </a><div class="pCellBodyR">
0.00755
</div>
</td>
<td><a name="wp1078375"> </a><div class="pCellBodyR">
90,749
</div>
</td>
<td><a name="wp1078377"> </a><div class="pCellBodyR">
686
</div>
</td>
<td><a name="wp1078379"> </a><div class="pCellBodyR">
90,406
</div>
</td>
<td><a name="wp1078381"> </a><div class="pCellBodyR">
2,060,041
</div>
</td>
<td><a name="wp1078383"> </a><div class="pCellBodyR">
22.70
</div>
</td>
<td> </td>
<td><a name="wp1078387"> </a><div class="pCellBodyR">
61
</div>
</td>
<td><a name="wp1078389"> </a><div class="pCellBodyR">
0.00541
</div>
</td>
<td><a name="wp1078391"> </a><div class="pCellBodyR">
93,954
</div>
</td>
<td><a name="wp1078393"> </a><div class="pCellBodyR">
508
</div>
</td>
<td><a name="wp1078395"> </a><div class="pCellBodyR">
93,700
</div>
</td>
<td><a name="wp1078397"> </a><div class="pCellBodyR">
2,379,620
</div>
</td>
<td><a name="wp1078399"> </a><div class="pCellBodyR">
25.33
</div>
</td>
</tr>
<tr> <td><a name="wp1078341"> </a><div class="pCellBodyR">
62
</div>
</td>
<td><a name="wp1078343"> </a><div class="pCellBodyR">
0.00837
</div>
</td>
<td><a name="wp1078345"> </a><div class="pCellBodyR">
90,064
</div>
</td>
<td><a name="wp1078347"> </a><div class="pCellBodyR">
754
</div>
</td>
<td><a name="wp1078349"> </a><div class="pCellBodyR">
89,687
</div>
</td>
<td><a name="wp1078351"> </a><div class="pCellBodyR">
1,969,634
</div>
</td>
<td><a name="wp1078353"> </a><div class="pCellBodyR">
21.87
</div>
</td>
<td> </td>
<td><a name="wp1078357"> </a><div class="pCellBodyR">
62
</div>
</td>
<td><a name="wp1078359"> </a><div class="pCellBodyR">
0.00600
</div>
</td>
<td><a name="wp1078361"> </a><div class="pCellBodyR">
93,446
</div>
</td>
<td><a name="wp1078363"> </a><div class="pCellBodyR">
561
</div>
</td>
<td><a name="wp1078365"> </a><div class="pCellBodyR">
93,165
</div>
</td>
<td><a name="wp1078367"> </a><div class="pCellBodyR">
2,285,920
</div>
</td>
<td><a name="wp1078369"> </a><div class="pCellBodyR">
24.46
</div>
</td>
</tr>
<tr> <td><a name="wp1078311"> </a><div class="pCellBodyR">
63
</div>
</td>
<td><a name="wp1078313"> </a><div class="pCellBodyR">
0.00933
</div>
</td>
<td><a name="wp1078315"> </a><div class="pCellBodyR">
89,310
</div>
</td>
<td><a name="wp1078317"> </a><div class="pCellBodyR">
834
</div>
</td>
<td><a name="wp1078319"> </a><div class="pCellBodyR">
88,893
</div>
</td>
<td><a name="wp1078321"> </a><div class="pCellBodyR">
1,879,947
</div>
</td>
<td><a name="wp1078323"> </a><div class="pCellBodyR">
21.05
</div>
</td>
<td> </td>
<td><a name="wp1078327"> </a><div class="pCellBodyR">
63
</div>
</td>
<td><a name="wp1078329"> </a><div class="pCellBodyR">
0.00669
</div>
</td>
<td><a name="wp1078331"> </a><div class="pCellBodyR">
92,885
</div>
</td>
<td><a name="wp1078333"> </a><div class="pCellBodyR">
622
</div>
</td>
<td><a name="wp1078335"> </a><div class="pCellBodyR">
92,574
</div>
</td>
<td><a name="wp1078337"> </a><div class="pCellBodyR">
2,192,754
</div>
</td>
<td><a name="wp1078339"> </a><div class="pCellBodyR">
23.61
</div>
</td>
</tr>
<tr> <td><a name="wp1078281"> </a><div class="pCellBodyR">
64
</div>
</td>
<td><a name="wp1078283"> </a><div class="pCellBodyR">
0.01044
</div>
</td>
<td><a name="wp1078285"> </a><div class="pCellBodyR">
88,476
</div>
</td>
<td><a name="wp1078287"> </a><div class="pCellBodyR">
923
</div>
</td>
<td><a name="wp1078289"> </a><div class="pCellBodyR">
88,015
</div>
</td>
<td><a name="wp1078291"> </a><div class="pCellBodyR">
1,791,054
</div>
</td>
<td><a name="wp1078293"> </a><div class="pCellBodyR">
20.24
</div>
</td>
<td> </td>
<td><a name="wp1078297"> </a><div class="pCellBodyR">
64
</div>
</td>
<td><a name="wp1078299"> </a><div class="pCellBodyR">
0.00748
</div>
</td>
<td><a name="wp1078301"> </a><div class="pCellBodyR">
92,263
</div>
</td>
<td><a name="wp1078303"> </a><div class="pCellBodyR">
690
</div>
</td>
<td><a name="wp1078305"> </a><div class="pCellBodyR">
91,918
</div>
</td>
<td><a name="wp1078307"> </a><div class="pCellBodyR">
2,100,180
</div>
</td>
<td><a name="wp1078309"> </a><div class="pCellBodyR">
22.76
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1078221"> </a><div class="pCellBodyR">
65
</div>
</td>
<td><a name="wp1078223"> </a><div class="pCellBodyR">
0.01167
</div>
</td>
<td><a name="wp1078225"> </a><div class="pCellBodyR">
87,553
</div>
</td>
<td><a name="wp1078227"> </a><div class="pCellBodyR">
1,021
</div>
</td>
<td><a name="wp1078229"> </a><div class="pCellBodyR">
87,042
</div>
</td>
<td><a name="wp1078231"> </a><div class="pCellBodyR">
1,703,040
</div>
</td>
<td><a name="wp1078233"> </a><div class="pCellBodyR">
19.45
</div>
</td>
<td> </td>
<td><a name="wp1078237"> </a><div class="pCellBodyR">
65
</div>
</td>
<td><a name="wp1078239"> </a><div class="pCellBodyR">
0.00836
</div>
</td>
<td><a name="wp1078241"> </a><div class="pCellBodyR">
91,573
</div>
</td>
<td><a name="wp1078243"> </a><div class="pCellBodyR">
766
</div>
</td>
<td><a name="wp1078245"> </a><div class="pCellBodyR">
91,190
</div>
</td>
<td><a name="wp1078247"> </a><div class="pCellBodyR">
2,008,262
</div>
</td>
<td><a name="wp1078249"> </a><div class="pCellBodyR">
21.93
</div>
</td>
</tr>
<tr> <td><a name="wp1078191"> </a><div class="pCellBodyR">
66
</div>
</td>
<td><a name="wp1078193"> </a><div class="pCellBodyR">
0.01298
</div>
</td>
<td><a name="wp1078195"> </a><div class="pCellBodyR">
86,531
</div>
</td>
<td><a name="wp1078197"> </a><div class="pCellBodyR">
1,124
</div>
</td>
<td><a name="wp1078199"> </a><div class="pCellBodyR">
85,970
</div>
</td>
<td><a name="wp1078201"> </a><div class="pCellBodyR">
1,615,998
</div>
</td>
<td><a name="wp1078203"> </a><div class="pCellBodyR">
18.68
</div>
</td>
<td> </td>
<td><a name="wp1078207"> </a><div class="pCellBodyR">
66
</div>
</td>
<td><a name="wp1078209"> </a><div class="pCellBodyR">
0.00930
</div>
</td>
<td><a name="wp1078211"> </a><div class="pCellBodyR">
90,807
</div>
</td>
<td><a name="wp1078213"> </a><div class="pCellBodyR">
845
</div>
</td>
<td><a name="wp1078215"> </a><div class="pCellBodyR">
90,385
</div>
</td>
<td><a name="wp1078217"> </a><div class="pCellBodyR">
1,917,072
</div>
</td>
<td><a name="wp1078219"> </a><div class="pCellBodyR">
21.11
</div>
</td>
</tr>
<tr> <td><a name="wp1078161"> </a><div class="pCellBodyR">
67
</div>
</td>
<td><a name="wp1078163"> </a><div class="pCellBodyR">
0.01435
</div>
</td>
<td><a name="wp1078165"> </a><div class="pCellBodyR">
85,408
</div>
</td>
<td><a name="wp1078167"> </a><div class="pCellBodyR">
1,226
</div>
</td>
<td><a name="wp1078169"> </a><div class="pCellBodyR">
84,795
</div>
</td>
<td><a name="wp1078171"> </a><div class="pCellBodyR">
1,530,028
</div>
</td>
<td><a name="wp1078173"> </a><div class="pCellBodyR">
17.91
</div>
</td>
<td> </td>
<td><a name="wp1078177"> </a><div class="pCellBodyR">
67
</div>
</td>
<td><a name="wp1078179"> </a><div class="pCellBodyR">
0.01028
</div>
</td>
<td><a name="wp1078181"> </a><div class="pCellBodyR">
89,962
</div>
</td>
<td><a name="wp1078183"> </a><div class="pCellBodyR">
925
</div>
</td>
<td><a name="wp1078185"> </a><div class="pCellBodyR">
89,500
</div>
</td>
<td><a name="wp1078187"> </a><div class="pCellBodyR">
1,826,687
</div>
</td>
<td><a name="wp1078189"> </a><div class="pCellBodyR">
20.31
</div>
</td>
</tr>
<tr> <td><a name="wp1078131"> </a><div class="pCellBodyR">
68
</div>
</td>
<td><a name="wp1078133"> </a><div class="pCellBodyR">
0.01575
</div>
</td>
<td><a name="wp1078135"> </a><div class="pCellBodyR">
84,182
</div>
</td>
<td><a name="wp1078137"> </a><div class="pCellBodyR">
1,326
</div>
</td>
<td><a name="wp1078139"> </a><div class="pCellBodyR">
83,519
</div>
</td>
<td><a name="wp1078141"> </a><div class="pCellBodyR">
1,445,233
</div>
</td>
<td><a name="wp1078143"> </a><div class="pCellBodyR">
17.17
</div>
</td>
<td> </td>
<td><a name="wp1078147"> </a><div class="pCellBodyR">
68
</div>
</td>
<td><a name="wp1078149"> </a><div class="pCellBodyR">
0.01127
</div>
</td>
<td><a name="wp1078151"> </a><div class="pCellBodyR">
89,037
</div>
</td>
<td><a name="wp1078153"> </a><div class="pCellBodyR">
1,004
</div>
</td>
<td><a name="wp1078155"> </a><div class="pCellBodyR">
88,536
</div>
</td>
<td><a name="wp1078157"> </a><div class="pCellBodyR">
1,737,187
</div>
</td>
<td><a name="wp1078159"> </a><div class="pCellBodyR">
19.51
</div>
</td>
</tr>
<tr> <td><a name="wp1078101"> </a><div class="pCellBodyR">
69
</div>
</td>
<td><a name="wp1078103"> </a><div class="pCellBodyR">
0.01721
</div>
</td>
<td><a name="wp1078105"> </a><div class="pCellBodyR">
82,856
</div>
</td>
<td><a name="wp1078107"> </a><div class="pCellBodyR">
1,426
</div>
</td>
<td><a name="wp1078109"> </a><div class="pCellBodyR">
82,143
</div>
</td>
<td><a name="wp1078111"> </a><div class="pCellBodyR">
1,361,714
</div>
</td>
<td><a name="wp1078113"> </a><div class="pCellBodyR">
16.43
</div>
</td>
<td> </td>
<td><a name="wp1078117"> </a><div class="pCellBodyR">
69
</div>
</td>
<td><a name="wp1078119"> </a><div class="pCellBodyR">
0.01231
</div>
</td>
<td><a name="wp1078121"> </a><div class="pCellBodyR">
88,034
</div>
</td>
<td><a name="wp1078123"> </a><div class="pCellBodyR">
1,084
</div>
</td>
<td><a name="wp1078125"> </a><div class="pCellBodyR">
87,492
</div>
</td>
<td><a name="wp1078127"> </a><div class="pCellBodyR">
1,648,652
</div>
</td>
<td><a name="wp1078129"> </a><div class="pCellBodyR">
18.73
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1078041"> </a><div class="pCellBodyR">
70
</div>
</td>
<td><a name="wp1078043"> </a><div class="pCellBodyR">
0.01888
</div>
</td>
<td><a name="wp1078045"> </a><div class="pCellBodyR">
81,430
</div>
</td>
<td><a name="wp1078047"> </a><div class="pCellBodyR">
1,537
</div>
</td>
<td><a name="wp1078049"> </a><div class="pCellBodyR">
80,661
</div>
</td>
<td><a name="wp1078051"> </a><div class="pCellBodyR">
1,279,571
</div>
</td>
<td><a name="wp1078053"> </a><div class="pCellBodyR">
15.71
</div>
</td>
<td> </td>
<td><a name="wp1078057"> </a><div class="pCellBodyR">
70
</div>
</td>
<td><a name="wp1078059"> </a><div class="pCellBodyR">
0.01349
</div>
</td>
<td><a name="wp1078061"> </a><div class="pCellBodyR">
86,950
</div>
</td>
<td><a name="wp1078063"> </a><div class="pCellBodyR">
1,173
</div>
</td>
<td><a name="wp1078065"> </a><div class="pCellBodyR">
86,364
</div>
</td>
<td><a name="wp1078067"> </a><div class="pCellBodyR">
1,561,160
</div>
</td>
<td><a name="wp1078069"> </a><div class="pCellBodyR">
17.95
</div>
</td>
</tr>
<tr> <td><a name="wp1078011"> </a><div class="pCellBodyR">
71
</div>
</td>
<td><a name="wp1078013"> </a><div class="pCellBodyR">
0.02073
</div>
</td>
<td><a name="wp1078015"> </a><div class="pCellBodyR">
79,892
</div>
</td>
<td><a name="wp1078017"> </a><div class="pCellBodyR">
1,656
</div>
</td>
<td><a name="wp1078019"> </a><div class="pCellBodyR">
79,064
</div>
</td>
<td><a name="wp1078021"> </a><div class="pCellBodyR">
1,198,910
</div>
</td>
<td><a name="wp1078023"> </a><div class="pCellBodyR">
15.01
</div>
</td>
<td> </td>
<td><a name="wp1078027"> </a><div class="pCellBodyR">
71
</div>
</td>
<td><a name="wp1078029"> </a><div class="pCellBodyR">
0.01480
</div>
</td>
<td><a name="wp1078031"> </a><div class="pCellBodyR">
85,778
</div>
</td>
<td><a name="wp1078033"> </a><div class="pCellBodyR">
1,270
</div>
</td>
<td><a name="wp1078035"> </a><div class="pCellBodyR">
85,143
</div>
</td>
<td><a name="wp1078037"> </a><div class="pCellBodyR">
1,474,796
</div>
</td>
<td><a name="wp1078039"> </a><div class="pCellBodyR">
17.19
</div>
</td>
</tr>
<tr> <td><a name="wp1077981"> </a><div class="pCellBodyR">
72
</div>
</td>
<td><a name="wp1077983"> </a><div class="pCellBodyR">
0.02264
</div>
</td>
<td><a name="wp1077985"> </a><div class="pCellBodyR">
78,236
</div>
</td>
<td><a name="wp1077987"> </a><div class="pCellBodyR">
1,771
</div>
</td>
<td><a name="wp1077989"> </a><div class="pCellBodyR">
77,351
</div>
</td>
<td><a name="wp1077991"> </a><div class="pCellBodyR">
1,119,845
</div>
</td>
<td><a name="wp1077993"> </a><div class="pCellBodyR">
14.31
</div>
</td>
<td> </td>
<td><a name="wp1077997"> </a><div class="pCellBodyR">
72
</div>
</td>
<td><a name="wp1077999"> </a><div class="pCellBodyR">
0.01617
</div>
</td>
<td><a name="wp1078001"> </a><div class="pCellBodyR">
84,508
</div>
</td>
<td><a name="wp1078003"> </a><div class="pCellBodyR">
1,366
</div>
</td>
<td><a name="wp1078005"> </a><div class="pCellBodyR">
83,825
</div>
</td>
<td><a name="wp1078007"> </a><div class="pCellBodyR">
1,389,653
</div>
</td>
<td><a name="wp1078009"> </a><div class="pCellBodyR">
16.44
</div>
</td>
</tr>
<tr> <td><a name="wp1077951"> </a><div class="pCellBodyR">
73
</div>
</td>
<td><a name="wp1077953"> </a><div class="pCellBodyR">
0.02456
</div>
</td>
<td><a name="wp1077955"> </a><div class="pCellBodyR">
76,465
</div>
</td>
<td><a name="wp1077957"> </a><div class="pCellBodyR">
1,878
</div>
</td>
<td><a name="wp1077959"> </a><div class="pCellBodyR">
75,526
</div>
</td>
<td><a name="wp1077961"> </a><div class="pCellBodyR">
1,042,495
</div>
</td>
<td><a name="wp1077963"> </a><div class="pCellBodyR">
13.63
</div>
</td>
<td> </td>
<td><a name="wp1077967"> </a><div class="pCellBodyR">
73
</div>
</td>
<td><a name="wp1077969"> </a><div class="pCellBodyR">
0.01757
</div>
</td>
<td><a name="wp1077971"> </a><div class="pCellBodyR">
83,142
</div>
</td>
<td><a name="wp1077973"> </a><div class="pCellBodyR">
1,461
</div>
</td>
<td><a name="wp1077975"> </a><div class="pCellBodyR">
82,411
</div>
</td>
<td><a name="wp1077977"> </a><div class="pCellBodyR">
1,305,828
</div>
</td>
<td><a name="wp1077979"> </a><div class="pCellBodyR">
15.71
</div>
</td>
</tr>
<tr> <td><a name="wp1077921"> </a><div class="pCellBodyR">
74
</div>
</td>
<td><a name="wp1077923"> </a><div class="pCellBodyR">
0.02660
</div>
</td>
<td><a name="wp1077925"> </a><div class="pCellBodyR">
74,587
</div>
</td>
<td><a name="wp1077927"> </a><div class="pCellBodyR">
1,984
</div>
</td>
<td><a name="wp1077929"> </a><div class="pCellBodyR">
73,595
</div>
</td>
<td><a name="wp1077931"> </a><div class="pCellBodyR">
966,969
</div>
</td>
<td><a name="wp1077933"> </a><div class="pCellBodyR">
12.96
</div>
</td>
<td> </td>
<td><a name="wp1077937"> </a><div class="pCellBodyR">
74
</div>
</td>
<td><a name="wp1077939"> </a><div class="pCellBodyR">
0.01908
</div>
</td>
<td><a name="wp1077941"> </a><div class="pCellBodyR">
81,681
</div>
</td>
<td><a name="wp1077943"> </a><div class="pCellBodyR">
1,558
</div>
</td>
<td><a name="wp1077945"> </a><div class="pCellBodyR">
80,902
</div>
</td>
<td><a name="wp1077947"> </a><div class="pCellBodyR">
1,223,417
</div>
</td>
<td><a name="wp1077949"> </a><div class="pCellBodyR">
14.98
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1077861"> </a><div class="pCellBodyR">
75
</div>
</td>
<td><a name="wp1077863"> </a><div class="pCellBodyR">
0.02908
</div>
</td>
<td><a name="wp1077865"> </a><div class="pCellBodyR">
72,603
</div>
</td>
<td><a name="wp1077867"> </a><div class="pCellBodyR">
2,111
</div>
</td>
<td><a name="wp1077869"> </a><div class="pCellBodyR">
71,547
</div>
</td>
<td><a name="wp1077871"> </a><div class="pCellBodyR">
893,374
</div>
</td>
<td><a name="wp1077873"> </a><div class="pCellBodyR">
12.30
</div>
</td>
<td> </td>
<td><a name="wp1077877"> </a><div class="pCellBodyR">
75
</div>
</td>
<td><a name="wp1077879"> </a><div class="pCellBodyR">
0.02092
</div>
</td>
<td><a name="wp1077881"> </a><div class="pCellBodyR">
80,123
</div>
</td>
<td><a name="wp1077883"> </a><div class="pCellBodyR">
1,676
</div>
</td>
<td><a name="wp1077885"> </a><div class="pCellBodyR">
79,284
</div>
</td>
<td><a name="wp1077887"> </a><div class="pCellBodyR">
1,142,516
</div>
</td>
<td><a name="wp1077889"> </a><div class="pCellBodyR">
14.26
</div>
</td>
</tr>
<tr> <td><a name="wp1077831"> </a><div class="pCellBodyR">
76
</div>
</td>
<td><a name="wp1077833"> </a><div class="pCellBodyR">
0.03198
</div>
</td>
<td><a name="wp1077835"> </a><div class="pCellBodyR">
70,492
</div>
</td>
<td><a name="wp1077837"> </a><div class="pCellBodyR">
2,254
</div>
</td>
<td><a name="wp1077839"> </a><div class="pCellBodyR">
69,365
</div>
</td>
<td><a name="wp1077841"> </a><div class="pCellBodyR">
821,827
</div>
</td>
<td><a name="wp1077843"> </a><div class="pCellBodyR">
11.66
</div>
</td>
<td> </td>
<td><a name="wp1077847"> </a><div class="pCellBodyR">
76
</div>
</td>
<td><a name="wp1077849"> </a><div class="pCellBodyR">
0.02308
</div>
</td>
<td><a name="wp1077851"> </a><div class="pCellBodyR">
78,446
</div>
</td>
<td><a name="wp1077853"> </a><div class="pCellBodyR">
1,810
</div>
</td>
<td><a name="wp1077855"> </a><div class="pCellBodyR">
77,541
</div>
</td>
<td><a name="wp1077857"> </a><div class="pCellBodyR">
1,063,231
</div>
</td>
<td><a name="wp1077859"> </a><div class="pCellBodyR">
13.55
</div>
</td>
</tr>
<tr> <td><a name="wp1077801"> </a><div class="pCellBodyR">
77
</div>
</td>
<td><a name="wp1077803"> </a><div class="pCellBodyR">
0.03506
</div>
</td>
<td><a name="wp1077805"> </a><div class="pCellBodyR">
68,238
</div>
</td>
<td><a name="wp1077807"> </a><div class="pCellBodyR">
2,393
</div>
</td>
<td><a name="wp1077809"> </a><div class="pCellBodyR">
67,041
</div>
</td>
<td><a name="wp1077811"> </a><div class="pCellBodyR">
752,462
</div>
</td>
<td><a name="wp1077813"> </a><div class="pCellBodyR">
11.03
</div>
</td>
<td> </td>
<td><a name="wp1077817"> </a><div class="pCellBodyR">
77
</div>
</td>
<td><a name="wp1077819"> </a><div class="pCellBodyR">
0.02530
</div>
</td>
<td><a name="wp1077821"> </a><div class="pCellBodyR">
76,636
</div>
</td>
<td><a name="wp1077823"> </a><div class="pCellBodyR">
1,939
</div>
</td>
<td><a name="wp1077825"> </a><div class="pCellBodyR">
75,667
</div>
</td>
<td><a name="wp1077827"> </a><div class="pCellBodyR">
985,690
</div>
</td>
<td><a name="wp1077829"> </a><div class="pCellBodyR">
12.86
</div>
</td>
</tr>
<tr> <td><a name="wp1077771"> </a><div class="pCellBodyR">
78
</div>
</td>
<td><a name="wp1077773"> </a><div class="pCellBodyR">
0.03831
</div>
</td>
<td><a name="wp1077775"> </a><div class="pCellBodyR">
65,845
</div>
</td>
<td><a name="wp1077777"> </a><div class="pCellBodyR">
2,522
</div>
</td>
<td><a name="wp1077779"> </a><div class="pCellBodyR">
64,584
</div>
</td>
<td><a name="wp1077781"> </a><div class="pCellBodyR">
685,420
</div>
</td>
<td><a name="wp1077783"> </a><div class="pCellBodyR">
10.41
</div>
</td>
<td> </td>
<td><a name="wp1077787"> </a><div class="pCellBodyR">
78
</div>
</td>
<td><a name="wp1077789"> </a><div class="pCellBodyR">
0.02754
</div>
</td>
<td><a name="wp1077791"> </a><div class="pCellBodyR">
74,697
</div>
</td>
<td><a name="wp1077793"> </a><div class="pCellBodyR">
2,057
</div>
</td>
<td><a name="wp1077795"> </a><div class="pCellBodyR">
73,669
</div>
</td>
<td><a name="wp1077797"> </a><div class="pCellBodyR">
910,023
</div>
</td>
<td><a name="wp1077799"> </a><div class="pCellBodyR">
12.18
</div>
</td>
</tr>
<tr> <td><a name="wp1077741"> </a><div class="pCellBodyR">
79
</div>
</td>
<td><a name="wp1077743"> </a><div class="pCellBodyR">
0.04192
</div>
</td>
<td><a name="wp1077745"> </a><div class="pCellBodyR">
63,323
</div>
</td>
<td><a name="wp1077747"> </a><div class="pCellBodyR">
2,654
</div>
</td>
<td><a name="wp1077749"> </a><div class="pCellBodyR">
61,995
</div>
</td>
<td><a name="wp1077751"> </a><div class="pCellBodyR">
620,837
</div>
</td>
<td><a name="wp1077753"> </a><div class="pCellBodyR">
9.80
</div>
</td>
<td> </td>
<td><a name="wp1077757"> </a><div class="pCellBodyR">
79
</div>
</td>
<td><a name="wp1077759"> </a><div class="pCellBodyR">
0.03001
</div>
</td>
<td><a name="wp1077761"> </a><div class="pCellBodyR">
72,640
</div>
</td>
<td><a name="wp1077763"> </a><div class="pCellBodyR">
2,180
</div>
</td>
<td><a name="wp1077765"> </a><div class="pCellBodyR">
71,550
</div>
</td>
<td><a name="wp1077767"> </a><div class="pCellBodyR">
836,355
</div>
</td>
<td><a name="wp1077769"> </a><div class="pCellBodyR">
11.51
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1077681"> </a><div class="pCellBodyR">
80
</div>
</td>
<td><a name="wp1077683"> </a><div class="pCellBodyR">
0.04597
</div>
</td>
<td><a name="wp1077685"> </a><div class="pCellBodyR">
60,668
</div>
</td>
<td><a name="wp1077687"> </a><div class="pCellBodyR">
2,789
</div>
</td>
<td><a name="wp1077689"> </a><div class="pCellBodyR">
59,274
</div>
</td>
<td><a name="wp1077691"> </a><div class="pCellBodyR">
558,841
</div>
</td>
<td><a name="wp1077693"> </a><div class="pCellBodyR">
9.21
</div>
</td>
<td> </td>
<td><a name="wp1077697"> </a><div class="pCellBodyR">
80
</div>
</td>
<td><a name="wp1077699"> </a><div class="pCellBodyR">
0.03286
</div>
</td>
<td><a name="wp1077701"> </a><div class="pCellBodyR">
70,460
</div>
</td>
<td><a name="wp1077703"> </a><div class="pCellBodyR">
2,315
</div>
</td>
<td><a name="wp1077705"> </a><div class="pCellBodyR">
69,303
</div>
</td>
<td><a name="wp1077707"> </a><div class="pCellBodyR">
764,805
</div>
</td>
<td><a name="wp1077709"> </a><div class="pCellBodyR">
10.85
</div>
</td>
</tr>
<tr> <td><a name="wp1077651"> </a><div class="pCellBodyR">
81
</div>
</td>
<td><a name="wp1077653"> </a><div class="pCellBodyR">
0.05089
</div>
</td>
<td><a name="wp1077655"> </a><div class="pCellBodyR">
57,880
</div>
</td>
<td><a name="wp1077657"> </a><div class="pCellBodyR">
2,945
</div>
</td>
<td><a name="wp1077659"> </a><div class="pCellBodyR">
56,407
</div>
</td>
<td><a name="wp1077661"> </a><div class="pCellBodyR">
499,567
</div>
</td>
<td><a name="wp1077663"> </a><div class="pCellBodyR">
8.63
</div>
</td>
<td> </td>
<td><a name="wp1077667"> </a><div class="pCellBodyR">
81
</div>
</td>
<td><a name="wp1077669"> </a><div class="pCellBodyR">
0.03644
</div>
</td>
<td><a name="wp1077671"> </a><div class="pCellBodyR">
68,145
</div>
</td>
<td><a name="wp1077673"> </a><div class="pCellBodyR">
2,483
</div>
</td>
<td><a name="wp1077675"> </a><div class="pCellBodyR">
66,903
</div>
</td>
<td><a name="wp1077677"> </a><div class="pCellBodyR">
695,502
</div>
</td>
<td><a name="wp1077679"> </a><div class="pCellBodyR">
10.21
</div>
</td>
</tr>
<tr> <td><a name="wp1077621"> </a><div class="pCellBodyR">
82
</div>
</td>
<td><a name="wp1077623"> </a><div class="pCellBodyR">
0.05719
</div>
</td>
<td><a name="wp1077625"> </a><div class="pCellBodyR">
54,934
</div>
</td>
<td><a name="wp1077627"> </a><div class="pCellBodyR">
3,142
</div>
</td>
<td><a name="wp1077629"> </a><div class="pCellBodyR">
53,363
</div>
</td>
<td><a name="wp1077631"> </a><div class="pCellBodyR">
443,160
</div>
</td>
<td><a name="wp1077633"> </a><div class="pCellBodyR">
8.07
</div>
</td>
<td> </td>
<td><a name="wp1077637"> </a><div class="pCellBodyR">
82
</div>
</td>
<td><a name="wp1077639"> </a><div class="pCellBodyR">
0.04104
</div>
</td>
<td><a name="wp1077641"> </a><div class="pCellBodyR">
65,662
</div>
</td>
<td><a name="wp1077643"> </a><div class="pCellBodyR">
2,695
</div>
</td>
<td><a name="wp1077645"> </a><div class="pCellBodyR">
64,314
</div>
</td>
<td><a name="wp1077647"> </a><div class="pCellBodyR">
628,599
</div>
</td>
<td><a name="wp1077649"> </a><div class="pCellBodyR">
9.57
</div>
</td>
</tr>
<tr> <td><a name="wp1077591"> </a><div class="pCellBodyR">
83
</div>
</td>
<td><a name="wp1077593"> </a><div class="pCellBodyR">
0.06514
</div>
</td>
<td><a name="wp1077595"> </a><div class="pCellBodyR">
51,792
</div>
</td>
<td><a name="wp1077597"> </a><div class="pCellBodyR">
3,374
</div>
</td>
<td><a name="wp1077599"> </a><div class="pCellBodyR">
50,106
</div>
</td>
<td><a name="wp1077601"> </a><div class="pCellBodyR">
389,797
</div>
</td>
<td><a name="wp1077603"> </a><div class="pCellBodyR">
7.53
</div>
</td>
<td> </td>
<td><a name="wp1077607"> </a><div class="pCellBodyR">
83
</div>
</td>
<td><a name="wp1077609"> </a><div class="pCellBodyR">
0.04686
</div>
</td>
<td><a name="wp1077611"> </a><div class="pCellBodyR">
62,967
</div>
</td>
<td><a name="wp1077613"> </a><div class="pCellBodyR">
2,950
</div>
</td>
<td><a name="wp1077615"> </a><div class="pCellBodyR">
61,491
</div>
</td>
<td><a name="wp1077617"> </a><div class="pCellBodyR">
564,285
</div>
</td>
<td><a name="wp1077619"> </a><div class="pCellBodyR">
8.96
</div>
</td>
</tr>
<tr> <td><a name="wp1077561"> </a><div class="pCellBodyR">
84
</div>
</td>
<td><a name="wp1077563"> </a><div class="pCellBodyR">
0.07449
</div>
</td>
<td><a name="wp1077565"> </a><div class="pCellBodyR">
48,419
</div>
</td>
<td><a name="wp1077567"> </a><div class="pCellBodyR">
3,607
</div>
</td>
<td><a name="wp1077569"> </a><div class="pCellBodyR">
46,615
</div>
</td>
<td><a name="wp1077571"> </a><div class="pCellBodyR">
339,692
</div>
</td>
<td><a name="wp1077573"> </a><div class="pCellBodyR">
7.02
</div>
</td>
<td> </td>
<td><a name="wp1077577"> </a><div class="pCellBodyR">
84
</div>
</td>
<td><a name="wp1077579"> </a><div class="pCellBodyR">
0.05378
</div>
</td>
<td><a name="wp1077581"> </a><div class="pCellBodyR">
60,016
</div>
</td>
<td><a name="wp1077583"> </a><div class="pCellBodyR">
3,227
</div>
</td>
<td><a name="wp1077585"> </a><div class="pCellBodyR">
58,402
</div>
</td>
<td><a name="wp1077587"> </a><div class="pCellBodyR">
502,793
</div>
</td>
<td><a name="wp1077589"> </a><div class="pCellBodyR">
8.38
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1077501"> </a><div class="pCellBodyR">
85
</div>
</td>
<td><a name="wp1077503"> </a><div class="pCellBodyR">
0.08481
</div>
</td>
<td><a name="wp1077505"> </a><div class="pCellBodyR">
44,812
</div>
</td>
<td><a name="wp1077507"> </a><div class="pCellBodyR">
3,801
</div>
</td>
<td><a name="wp1077509"> </a><div class="pCellBodyR">
42,911
</div>
</td>
<td><a name="wp1077511"> </a><div class="pCellBodyR">
293,076
</div>
</td>
<td><a name="wp1077513"> </a><div class="pCellBodyR">
6.54
</div>
</td>
<td> </td>
<td><a name="wp1077517"> </a><div class="pCellBodyR">
85
</div>
</td>
<td><a name="wp1077519"> </a><div class="pCellBodyR">
0.06157
</div>
</td>
<td><a name="wp1077521"> </a><div class="pCellBodyR">
56,789
</div>
</td>
<td><a name="wp1077523"> </a><div class="pCellBodyR">
3,497
</div>
</td>
<td><a name="wp1077525"> </a><div class="pCellBodyR">
55,040
</div>
</td>
<td><a name="wp1077527"> </a><div class="pCellBodyR">
444,391
</div>
</td>
<td><a name="wp1077529"> </a><div class="pCellBodyR">
7.83
</div>
</td>
</tr>
<tr> <td><a name="wp1077471"> </a><div class="pCellBodyR">
86
</div>
</td>
<td><a name="wp1077473"> </a><div class="pCellBodyR">
0.09576
</div>
</td>
<td><a name="wp1077475"> </a><div class="pCellBodyR">
41,011
</div>
</td>
<td><a name="wp1077477"> </a><div class="pCellBodyR">
3,927
</div>
</td>
<td><a name="wp1077479"> </a><div class="pCellBodyR">
39,048
</div>
</td>
<td><a name="wp1077481"> </a><div class="pCellBodyR">
250,165
</div>
</td>
<td><a name="wp1077483"> </a><div class="pCellBodyR">
6.10
</div>
</td>
<td> </td>
<td><a name="wp1077487"> </a><div class="pCellBodyR">
86
</div>
</td>
<td><a name="wp1077489"> </a><div class="pCellBodyR">
0.07007
</div>
</td>
<td><a name="wp1077491"> </a><div class="pCellBodyR">
53,292
</div>
</td>
<td><a name="wp1077493"> </a><div class="pCellBodyR">
3,734
</div>
</td>
<td><a name="wp1077495"> </a><div class="pCellBodyR">
51,425
</div>
</td>
<td><a name="wp1077497"> </a><div class="pCellBodyR">
389,350
</div>
</td>
<td><a name="wp1077499"> </a><div class="pCellBodyR">
7.31
</div>
</td>
</tr>
<tr> <td><a name="wp1077441"> </a><div class="pCellBodyR">
87
</div>
</td>
<td><a name="wp1077443"> </a><div class="pCellBodyR">
0.10712
</div>
</td>
<td><a name="wp1077445"> </a><div class="pCellBodyR">
37,084
</div>
</td>
<td><a name="wp1077447"> </a><div class="pCellBodyR">
3,973
</div>
</td>
<td><a name="wp1077449"> </a><div class="pCellBodyR">
35,098
</div>
</td>
<td><a name="wp1077451"> </a><div class="pCellBodyR">
211,117
</div>
</td>
<td><a name="wp1077453"> </a><div class="pCellBodyR">
5.69
</div>
</td>
<td> </td>
<td><a name="wp1077457"> </a><div class="pCellBodyR">
87
</div>
</td>
<td><a name="wp1077459"> </a><div class="pCellBodyR">
0.07918
</div>
</td>
<td><a name="wp1077461"> </a><div class="pCellBodyR">
49,558
</div>
</td>
<td><a name="wp1077463"> </a><div class="pCellBodyR">
3,924
</div>
</td>
<td><a name="wp1077465"> </a><div class="pCellBodyR">
47,596
</div>
</td>
<td><a name="wp1077467"> </a><div class="pCellBodyR">
337,925
</div>
</td>
<td><a name="wp1077469"> </a><div class="pCellBodyR">
6.82
</div>
</td>
</tr>
<tr> <td><a name="wp1077411"> </a><div class="pCellBodyR">
88
</div>
</td>
<td><a name="wp1077413"> </a><div class="pCellBodyR">
0.11888
</div>
</td>
<td><a name="wp1077415"> </a><div class="pCellBodyR">
33,111
</div>
</td>
<td><a name="wp1077417"> </a><div class="pCellBodyR">
3,936
</div>
</td>
<td><a name="wp1077419"> </a><div class="pCellBodyR">
31,143
</div>
</td>
<td><a name="wp1077421"> </a><div class="pCellBodyR">
176,020
</div>
</td>
<td><a name="wp1077423"> </a><div class="pCellBodyR">
5.32
</div>
</td>
<td> </td>
<td><a name="wp1077427"> </a><div class="pCellBodyR">
88
</div>
</td>
<td><a name="wp1077429"> </a><div class="pCellBodyR">
0.08891
</div>
</td>
<td><a name="wp1077431"> </a><div class="pCellBodyR">
45,634
</div>
</td>
<td><a name="wp1077433"> </a><div class="pCellBodyR">
4,057
</div>
</td>
<td><a name="wp1077435"> </a><div class="pCellBodyR">
43,605
</div>
</td>
<td><a name="wp1077437"> </a><div class="pCellBodyR">
290,330
</div>
</td>
<td><a name="wp1077439"> </a><div class="pCellBodyR">
6.36
</div>
</td>
</tr>
<tr> <td><a name="wp1077381"> </a><div class="pCellBodyR">
89
</div>
</td>
<td><a name="wp1077383"> </a><div class="pCellBodyR">
0.13112
</div>
</td>
<td><a name="wp1077385"> </a><div class="pCellBodyR">
29,175
</div>
</td>
<td><a name="wp1077387"> </a><div class="pCellBodyR">
3,825
</div>
</td>
<td><a name="wp1077389"> </a><div class="pCellBodyR">
27,263
</div>
</td>
<td><a name="wp1077391"> </a><div class="pCellBodyR">
144,876
</div>
</td>
<td><a name="wp1077393"> </a><div class="pCellBodyR">
4.97
</div>
</td>
<td> </td>
<td><a name="wp1077397"> </a><div class="pCellBodyR">
89
</div>
</td>
<td><a name="wp1077399"> </a><div class="pCellBodyR">
0.09934
</div>
</td>
<td><a name="wp1077401"> </a><div class="pCellBodyR">
41,576
</div>
</td>
<td><a name="wp1077403"> </a><div class="pCellBodyR">
4,130
</div>
</td>
<td><a name="wp1077405"> </a><div class="pCellBodyR">
39,511
</div>
</td>
<td><a name="wp1077407"> </a><div class="pCellBodyR">
246,725
</div>
</td>
<td><a name="wp1077409"> </a><div class="pCellBodyR">
5.93
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1077321"> </a><div class="pCellBodyR">
90
</div>
</td>
<td><a name="wp1077323"> </a><div class="pCellBodyR">
0.14401
</div>
</td>
<td><a name="wp1077325"> </a><div class="pCellBodyR">
25,350
</div>
</td>
<td><a name="wp1077327"> </a><div class="pCellBodyR">
3,651
</div>
</td>
<td><a name="wp1077329"> </a><div class="pCellBodyR">
23,525
</div>
</td>
<td><a name="wp1077331"> </a><div class="pCellBodyR">
117,614
</div>
</td>
<td><a name="wp1077333"> </a><div class="pCellBodyR">
4.64
</div>
</td>
<td> </td>
<td><a name="wp1077337"> </a><div class="pCellBodyR">
90
</div>
</td>
<td><a name="wp1077339"> </a><div class="pCellBodyR">
0.11058
</div>
</td>
<td><a name="wp1077341"> </a><div class="pCellBodyR">
37,446
</div>
</td>
<td><a name="wp1077343"> </a><div class="pCellBodyR">
4,141
</div>
</td>
<td><a name="wp1077345"> </a><div class="pCellBodyR">
35,376
</div>
</td>
<td><a name="wp1077347"> </a><div class="pCellBodyR">
207,213
</div>
</td>
<td><a name="wp1077349"> </a><div class="pCellBodyR">
5.53
</div>
</td>
</tr>
<tr> <td><a name="wp1077291"> </a><div class="pCellBodyR">
91
</div>
</td>
<td><a name="wp1077293"> </a><div class="pCellBodyR">
0.15770
</div>
</td>
<td><a name="wp1077295"> </a><div class="pCellBodyR">
21,699
</div>
</td>
<td><a name="wp1077297"> </a><div class="pCellBodyR">
3,422
</div>
</td>
<td><a name="wp1077299"> </a><div class="pCellBodyR">
19,988
</div>
</td>
<td><a name="wp1077301"> </a><div class="pCellBodyR">
94,089
</div>
</td>
<td><a name="wp1077303"> </a><div class="pCellBodyR">
4.34
</div>
</td>
<td> </td>
<td><a name="wp1077307"> </a><div class="pCellBodyR">
91
</div>
</td>
<td><a name="wp1077309"> </a><div class="pCellBodyR">
0.12276
</div>
</td>
<td><a name="wp1077311"> </a><div class="pCellBodyR">
33,306
</div>
</td>
<td><a name="wp1077313"> </a><div class="pCellBodyR">
4,089
</div>
</td>
<td><a name="wp1077315"> </a><div class="pCellBodyR">
31,261
</div>
</td>
<td><a name="wp1077317"> </a><div class="pCellBodyR">
171,837
</div>
</td>
<td><a name="wp1077319"> </a><div class="pCellBodyR">
5.16
</div>
</td>
</tr>
<tr> <td><a name="wp1077261"> </a><div class="pCellBodyR">
92
</div>
</td>
<td><a name="wp1077263"> </a><div class="pCellBodyR">
0.17236
</div>
</td>
<td><a name="wp1077265"> </a><div class="pCellBodyR">
18,277
</div>
</td>
<td><a name="wp1077267"> </a><div class="pCellBodyR">
3,150
</div>
</td>
<td><a name="wp1077269"> </a><div class="pCellBodyR">
16,702
</div>
</td>
<td><a name="wp1077271"> </a><div class="pCellBodyR">
74,101
</div>
</td>
<td><a name="wp1077273"> </a><div class="pCellBodyR">
4.05
</div>
</td>
<td> </td>
<td><a name="wp1077277"> </a><div class="pCellBodyR">
92
</div>
</td>
<td><a name="wp1077279"> </a><div class="pCellBodyR">
0.13599
</div>
</td>
<td><a name="wp1077281"> </a><div class="pCellBodyR">
29,217
</div>
</td>
<td><a name="wp1077283"> </a><div class="pCellBodyR">
3,973
</div>
</td>
<td><a name="wp1077285"> </a><div class="pCellBodyR">
27,231
</div>
</td>
<td><a name="wp1077287"> </a><div class="pCellBodyR">
140,576
</div>
</td>
<td><a name="wp1077289"> </a><div class="pCellBodyR">
4.81
</div>
</td>
</tr>
<tr> <td><a name="wp1077231"> </a><div class="pCellBodyR">
93
</div>
</td>
<td><a name="wp1077233"> </a><div class="pCellBodyR">
0.18812
</div>
</td>
<td><a name="wp1077235"> </a><div class="pCellBodyR">
15,127
</div>
</td>
<td><a name="wp1077237"> </a><div class="pCellBodyR">
2,846
</div>
</td>
<td><a name="wp1077239"> </a><div class="pCellBodyR">
13,704
</div>
</td>
<td><a name="wp1077241"> </a><div class="pCellBodyR">
57,399
</div>
</td>
<td><a name="wp1077243"> </a><div class="pCellBodyR">
3.79
</div>
</td>
<td> </td>
<td><a name="wp1077247"> </a><div class="pCellBodyR">
93
</div>
</td>
<td><a name="wp1077249"> </a><div class="pCellBodyR">
0.15037
</div>
</td>
<td><a name="wp1077251"> </a><div class="pCellBodyR">
25,244
</div>
</td>
<td><a name="wp1077253"> </a><div class="pCellBodyR">
3,796
</div>
</td>
<td><a name="wp1077255"> </a><div class="pCellBodyR">
23,346
</div>
</td>
<td><a name="wp1077257"> </a><div class="pCellBodyR">
113,345
</div>
</td>
<td><a name="wp1077259"> </a><div class="pCellBodyR">
4.49
</div>
</td>
</tr>
<tr> <td><a name="wp1077201"> </a><div class="pCellBodyR">
94
</div>
</td>
<td><a name="wp1077203"> </a><div class="pCellBodyR">
0.20509
</div>
</td>
<td><a name="wp1077205"> </a><div class="pCellBodyR">
12,281
</div>
</td>
<td><a name="wp1077207"> </a><div class="pCellBodyR">
2,519
</div>
</td>
<td><a name="wp1077209"> </a><div class="pCellBodyR">
11,022
</div>
</td>
<td><a name="wp1077211"> </a><div class="pCellBodyR">
43,695
</div>
</td>
<td><a name="wp1077213"> </a><div class="pCellBodyR">
3.56
</div>
</td>
<td> </td>
<td><a name="wp1077217"> </a><div class="pCellBodyR">
94
</div>
</td>
<td><a name="wp1077219"> </a><div class="pCellBodyR">
0.16597
</div>
</td>
<td><a name="wp1077221"> </a><div class="pCellBodyR">
21,448
</div>
</td>
<td><a name="wp1077223"> </a><div class="pCellBodyR">
3,560
</div>
</td>
<td><a name="wp1077225"> </a><div class="pCellBodyR">
19,668
</div>
</td>
<td><a name="wp1077227"> </a><div class="pCellBodyR">
89,999
</div>
</td>
<td><a name="wp1077229"> </a><div class="pCellBodyR">
4.20
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1077141"> </a><div class="pCellBodyR">
95
</div>
</td>
<td><a name="wp1077143"> </a><div class="pCellBodyR">
0.22195
</div>
</td>
<td><a name="wp1077145"> </a><div class="pCellBodyR">
9,762
</div>
</td>
<td><a name="wp1077147"> </a><div class="pCellBodyR">
2,167
</div>
</td>
<td><a name="wp1077149"> </a><div class="pCellBodyR">
8,679
</div>
</td>
<td><a name="wp1077151"> </a><div class="pCellBodyR">
32,673
</div>
</td>
<td><a name="wp1077153"> </a><div class="pCellBodyR">
3.35
</div>
</td>
<td> </td>
<td><a name="wp1077157"> </a><div class="pCellBodyR">
95
</div>
</td>
<td><a name="wp1077159"> </a><div class="pCellBodyR">
0.18175
</div>
</td>
<td><a name="wp1077161"> </a><div class="pCellBodyR">
17,888
</div>
</td>
<td><a name="wp1077163"> </a><div class="pCellBodyR">
3,251
</div>
</td>
<td><a name="wp1077165"> </a><div class="pCellBodyR">
16,263
</div>
</td>
<td><a name="wp1077167"> </a><div class="pCellBodyR">
70,331
</div>
</td>
<td><a name="wp1077169"> </a><div class="pCellBodyR">
3.93
</div>
</td>
</tr>
<tr> <td><a name="wp1077111"> </a><div class="pCellBodyR">
96
</div>
</td>
<td><a name="wp1077113"> </a><div class="pCellBodyR">
0.23840
</div>
</td>
<td><a name="wp1077115"> </a><div class="pCellBodyR">
7,596
</div>
</td>
<td><a name="wp1077117"> </a><div class="pCellBodyR">
1,811
</div>
</td>
<td><a name="wp1077119"> </a><div class="pCellBodyR">
6,690
</div>
</td>
<td><a name="wp1077121"> </a><div class="pCellBodyR">
23,994
</div>
</td>
<td><a name="wp1077123"> </a><div class="pCellBodyR">
3.16
</div>
</td>
<td> </td>
<td><a name="wp1077127"> </a><div class="pCellBodyR">
96
</div>
</td>
<td><a name="wp1077129"> </a><div class="pCellBodyR">
0.19743
</div>
</td>
<td><a name="wp1077131"> </a><div class="pCellBodyR">
14,637
</div>
</td>
<td><a name="wp1077133"> </a><div class="pCellBodyR">
2,890
</div>
</td>
<td><a name="wp1077135"> </a><div class="pCellBodyR">
13,192
</div>
</td>
<td><a name="wp1077137"> </a><div class="pCellBodyR">
54,068
</div>
</td>
<td><a name="wp1077139"> </a><div class="pCellBodyR">
3.69
</div>
</td>
</tr>
<tr> <td><a name="wp1077081"> </a><div class="pCellBodyR">
97
</div>
</td>
<td><a name="wp1077083"> </a><div class="pCellBodyR">
0.25415
</div>
</td>
<td><a name="wp1077085"> </a><div class="pCellBodyR">
5,785
</div>
</td>
<td><a name="wp1077087"> </a><div class="pCellBodyR">
1,470
</div>
</td>
<td><a name="wp1077089"> </a><div class="pCellBodyR">
5,050
</div>
</td>
<td><a name="wp1077091"> </a><div class="pCellBodyR">
17,304
</div>
</td>
<td><a name="wp1077093"> </a><div class="pCellBodyR">
2.99
</div>
</td>
<td> </td>
<td><a name="wp1077097"> </a><div class="pCellBodyR">
97
</div>
</td>
<td><a name="wp1077099"> </a><div class="pCellBodyR">
0.21273
</div>
</td>
<td><a name="wp1077101"> </a><div class="pCellBodyR">
11,747
</div>
</td>
<td><a name="wp1077103"> </a><div class="pCellBodyR">
2,499
</div>
</td>
<td><a name="wp1077105"> </a><div class="pCellBodyR">
10,498
</div>
</td>
<td><a name="wp1077107"> </a><div class="pCellBodyR">
40,876
</div>
</td>
<td><a name="wp1077109"> </a><div class="pCellBodyR">
3.48
</div>
</td>
</tr>
<tr> <td><a name="wp1077051"> </a><div class="pCellBodyR">
98
</div>
</td>
<td><a name="wp1077053"> </a><div class="pCellBodyR">
0.26890
</div>
</td>
<td><a name="wp1077055"> </a><div class="pCellBodyR">
4,315
</div>
</td>
<td><a name="wp1077057"> </a><div class="pCellBodyR">
1,160
</div>
</td>
<td><a name="wp1077059"> </a><div class="pCellBodyR">
3,735
</div>
</td>
<td><a name="wp1077061"> </a><div class="pCellBodyR">
12,254
</div>
</td>
<td><a name="wp1077063"> </a><div class="pCellBodyR">
2.84
</div>
</td>
<td> </td>
<td><a name="wp1077067"> </a><div class="pCellBodyR">
98
</div>
</td>
<td><a name="wp1077069"> </a><div class="pCellBodyR">
0.22735
</div>
</td>
<td><a name="wp1077071"> </a><div class="pCellBodyR">
9,248
</div>
</td>
<td><a name="wp1077073"> </a><div class="pCellBodyR">
2,103
</div>
</td>
<td><a name="wp1077075"> </a><div class="pCellBodyR">
8,197
</div>
</td>
<td><a name="wp1077077"> </a><div class="pCellBodyR">
30,378
</div>
</td>
<td><a name="wp1077079"> </a><div class="pCellBodyR">
3.28
</div>
</td>
</tr>
<tr> <td><a name="wp1077021"> </a><div class="pCellBodyR">
99
</div>
</td>
<td><a name="wp1077023"> </a><div class="pCellBodyR">
0.28235
</div>
</td>
<td><a name="wp1077025"> </a><div class="pCellBodyR">
3,154
</div>
</td>
<td><a name="wp1077027"> </a><div class="pCellBodyR">
891
</div>
</td>
<td><a name="wp1077029"> </a><div class="pCellBodyR">
2,709
</div>
</td>
<td><a name="wp1077031"> </a><div class="pCellBodyR">
8,519
</div>
</td>
<td><a name="wp1077033"> </a><div class="pCellBodyR">
2.70
</div>
</td>
<td> </td>
<td><a name="wp1077037"> </a><div class="pCellBodyR">
99
</div>
</td>
<td><a name="wp1077039"> </a><div class="pCellBodyR">
0.24100
</div>
</td>
<td><a name="wp1077041"> </a><div class="pCellBodyR">
7,146
</div>
</td>
<td><a name="wp1077043"> </a><div class="pCellBodyR">
1,722
</div>
</td>
<td><a name="wp1077045"> </a><div class="pCellBodyR">
6,285
</div>
</td>
<td><a name="wp1077047"> </a><div class="pCellBodyR">
22,181
</div>
</td>
<td><a name="wp1077049"> </a><div class="pCellBodyR">
3.10
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1076961"> </a><div class="pCellBodyR">
100
</div>
</td>
<td><a name="wp1076963"> </a><div class="pCellBodyR">
0.29647
</div>
</td>
<td><a name="wp1076965"> </a><div class="pCellBodyR">
2,264
</div>
</td>
<td><a name="wp1076967"> </a><div class="pCellBodyR">
671
</div>
</td>
<td><a name="wp1076969"> </a><div class="pCellBodyR">
1,928
</div>
</td>
<td><a name="wp1076971"> </a><div class="pCellBodyR">
5,810
</div>
</td>
<td><a name="wp1076973"> </a><div class="pCellBodyR">
2.57
</div>
</td>
<td> </td>
<td><a name="wp1076977"> </a><div class="pCellBodyR">
100
</div>
</td>
<td><a name="wp1076979"> </a><div class="pCellBodyR">
0.25546
</div>
</td>
<td><a name="wp1076981"> </a><div class="pCellBodyR">
5,424
</div>
</td>
<td><a name="wp1076983"> </a><div class="pCellBodyR">
1,385
</div>
</td>
<td><a name="wp1076985"> </a><div class="pCellBodyR">
4,731
</div>
</td>
<td><a name="wp1076987"> </a><div class="pCellBodyR">
15,896
</div>
</td>
<td><a name="wp1076989"> </a><div class="pCellBodyR">
2.93
</div>
</td>
</tr>
<tr> <td><a name="wp1076931"> </a><div class="pCellBodyR">
101
</div>
</td>
<td><a name="wp1076933"> </a><div class="pCellBodyR">
0.31129
</div>
</td>
<td><a name="wp1076935"> </a><div class="pCellBodyR">
1,593
</div>
</td>
<td><a name="wp1076937"> </a><div class="pCellBodyR">
496
</div>
</td>
<td><a name="wp1076939"> </a><div class="pCellBodyR">
1,345
</div>
</td>
<td><a name="wp1076941"> </a><div class="pCellBodyR">
3,882
</div>
</td>
<td><a name="wp1076943"> </a><div class="pCellBodyR">
2.44
</div>
</td>
<td> </td>
<td><a name="wp1076947"> </a><div class="pCellBodyR">
101
</div>
</td>
<td><a name="wp1076949"> </a><div class="pCellBodyR">
0.27078
</div>
</td>
<td><a name="wp1076951"> </a><div class="pCellBodyR">
4,038
</div>
</td>
<td><a name="wp1076953"> </a><div class="pCellBodyR">
1,093
</div>
</td>
<td><a name="wp1076955"> </a><div class="pCellBodyR">
3,491
</div>
</td>
<td><a name="wp1076957"> </a><div class="pCellBodyR">
11,165
</div>
</td>
<td><a name="wp1076959"> </a><div class="pCellBodyR">
2.76
</div>
</td>
</tr>
<tr> <td><a name="wp1076901"> </a><div class="pCellBodyR">
102
</div>
</td>
<td><a name="wp1076903"> </a><div class="pCellBodyR">
0.32685
</div>
</td>
<td><a name="wp1076905"> </a><div class="pCellBodyR">
1,097
</div>
</td>
<td><a name="wp1076907"> </a><div class="pCellBodyR">
359
</div>
</td>
<td><a name="wp1076909"> </a><div class="pCellBodyR">
918
</div>
</td>
<td><a name="wp1076911"> </a><div class="pCellBodyR">
2,537
</div>
</td>
<td><a name="wp1076913"> </a><div class="pCellBodyR">
2.31
</div>
</td>
<td> </td>
<td><a name="wp1076917"> </a><div class="pCellBodyR">
102
</div>
</td>
<td><a name="wp1076919"> </a><div class="pCellBodyR">
0.28703
</div>
</td>
<td><a name="wp1076921"> </a><div class="pCellBodyR">
2,945
</div>
</td>
<td><a name="wp1076923"> </a><div class="pCellBodyR">
845
</div>
</td>
<td><a name="wp1076925"> </a><div class="pCellBodyR">
2,522
</div>
</td>
<td><a name="wp1076927"> </a><div class="pCellBodyR">
7,674
</div>
</td>
<td><a name="wp1076929"> </a><div class="pCellBodyR">
2.61
</div>
</td>
</tr>
<tr> <td><a name="wp1076871"> </a><div class="pCellBodyR">
103
</div>
</td>
<td><a name="wp1076873"> </a><div class="pCellBodyR">
0.34320
</div>
</td>
<td><a name="wp1076875"> </a><div class="pCellBodyR">
738
</div>
</td>
<td><a name="wp1076877"> </a><div class="pCellBodyR">
253
</div>
</td>
<td><a name="wp1076879"> </a><div class="pCellBodyR">
612
</div>
</td>
<td><a name="wp1076881"> </a><div class="pCellBodyR">
1,620
</div>
</td>
<td><a name="wp1076883"> </a><div class="pCellBodyR">
2.19
</div>
</td>
<td> </td>
<td><a name="wp1076887"> </a><div class="pCellBodyR">
103
</div>
</td>
<td><a name="wp1076889"> </a><div class="pCellBodyR">
0.30425
</div>
</td>
<td><a name="wp1076891"> </a><div class="pCellBodyR">
2,099
</div>
</td>
<td><a name="wp1076893"> </a><div class="pCellBodyR">
639
</div>
</td>
<td><a name="wp1076895"> </a><div class="pCellBodyR">
1,780
</div>
</td>
<td><a name="wp1076897"> </a><div class="pCellBodyR">
5,152
</div>
</td>
<td><a name="wp1076899"> </a><div class="pCellBodyR">
2.45
</div>
</td>
</tr>
<tr> <td><a name="wp1076841"> </a><div class="pCellBodyR">
104
</div>
</td>
<td><a name="wp1076843"> </a><div class="pCellBodyR">
0.36036
</div>
</td>
<td><a name="wp1076845"> </a><div class="pCellBodyR">
485
</div>
</td>
<td><a name="wp1076847"> </a><div class="pCellBodyR">
175
</div>
</td>
<td><a name="wp1076849"> </a><div class="pCellBodyR">
398
</div>
</td>
<td><a name="wp1076851"> </a><div class="pCellBodyR">
1,008
</div>
</td>
<td><a name="wp1076853"> </a><div class="pCellBodyR">
2.08
</div>
</td>
<td> </td>
<td><a name="wp1076857"> </a><div class="pCellBodyR">
104
</div>
</td>
<td><a name="wp1076859"> </a><div class="pCellBodyR">
0.32251
</div>
</td>
<td><a name="wp1076861"> </a><div class="pCellBodyR">
1,461
</div>
</td>
<td><a name="wp1076863"> </a><div class="pCellBodyR">
471
</div>
</td>
<td><a name="wp1076865"> </a><div class="pCellBodyR">
1,225
</div>
</td>
<td><a name="wp1076867"> </a><div class="pCellBodyR">
3,372
</div>
</td>
<td><a name="wp1076869"> </a><div class="pCellBodyR">
2.31
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1076781"> </a><div class="pCellBodyR">
105
</div>
</td>
<td><a name="wp1076783"> </a><div class="pCellBodyR">
0.37838
</div>
</td>
<td><a name="wp1076785"> </a><div class="pCellBodyR">
310
</div>
</td>
<td><a name="wp1076787"> </a><div class="pCellBodyR">
117
</div>
</td>
<td><a name="wp1076789"> </a><div class="pCellBodyR">
252
</div>
</td>
<td><a name="wp1076791"> </a><div class="pCellBodyR">
611
</div>
</td>
<td><a name="wp1076793"> </a><div class="pCellBodyR">
1.97
</div>
</td>
<td> </td>
<td><a name="wp1076797"> </a><div class="pCellBodyR">
105
</div>
</td>
<td><a name="wp1076799"> </a><div class="pCellBodyR">
0.34186
</div>
</td>
<td><a name="wp1076801"> </a><div class="pCellBodyR">
990
</div>
</td>
<td><a name="wp1076803"> </a><div class="pCellBodyR">
338
</div>
</td>
<td><a name="wp1076805"> </a><div class="pCellBodyR">
820
</div>
</td>
<td><a name="wp1076807"> </a><div class="pCellBodyR">
2,146
</div>
</td>
<td><a name="wp1076809"> </a><div class="pCellBodyR">
2.17
</div>
</td>
</tr>
<tr> <td><a name="wp1076751"> </a><div class="pCellBodyR">
106
</div>
</td>
<td><a name="wp1076753"> </a><div class="pCellBodyR">
0.39729
</div>
</td>
<td><a name="wp1076755"> </a><div class="pCellBodyR">
193
</div>
</td>
<td><a name="wp1076757"> </a><div class="pCellBodyR">
77
</div>
</td>
<td><a name="wp1076759"> </a><div class="pCellBodyR">
155
</div>
</td>
<td><a name="wp1076761"> </a><div class="pCellBodyR">
359
</div>
</td>
<td><a name="wp1076763"> </a><div class="pCellBodyR">
1.86
</div>
</td>
<td> </td>
<td><a name="wp1076767"> </a><div class="pCellBodyR">
106
</div>
</td>
<td><a name="wp1076769"> </a><div class="pCellBodyR">
0.36237
</div>
</td>
<td><a name="wp1076771"> </a><div class="pCellBodyR">
651
</div>
</td>
<td><a name="wp1076773"> </a><div class="pCellBodyR">
236
</div>
</td>
<td><a name="wp1076775"> </a><div class="pCellBodyR">
533
</div>
</td>
<td><a name="wp1076777"> </a><div class="pCellBodyR">
1,326
</div>
</td>
<td><a name="wp1076779"> </a><div class="pCellBodyR">
2.04
</div>
</td>
</tr>
<tr> <td><a name="wp1076721"> </a><div class="pCellBodyR">
107
</div>
</td>
<td><a name="wp1076723"> </a><div class="pCellBodyR">
0.41716
</div>
</td>
<td><a name="wp1076725"> </a><div class="pCellBodyR">
116
</div>
</td>
<td><a name="wp1076727"> </a><div class="pCellBodyR">
48
</div>
</td>
<td><a name="wp1076729"> </a><div class="pCellBodyR">
92
</div>
</td>
<td><a name="wp1076731"> </a><div class="pCellBodyR">
205
</div>
</td>
<td><a name="wp1076733"> </a><div class="pCellBodyR">
1.76
</div>
</td>
<td> </td>
<td><a name="wp1076737"> </a><div class="pCellBodyR">
107
</div>
</td>
<td><a name="wp1076739"> </a><div class="pCellBodyR">
0.38411
</div>
</td>
<td><a name="wp1076741"> </a><div class="pCellBodyR">
415
</div>
</td>
<td><a name="wp1076743"> </a><div class="pCellBodyR">
160
</div>
</td>
<td><a name="wp1076745"> </a><div class="pCellBodyR">
336
</div>
</td>
<td><a name="wp1076747"> </a><div class="pCellBodyR">
793
</div>
</td>
<td><a name="wp1076749"> </a><div class="pCellBodyR">
1.91
</div>
</td>
</tr>
<tr> <td><a name="wp1076691"> </a><div class="pCellBodyR">
108
</div>
</td>
<td><a name="wp1076693"> </a><div class="pCellBodyR">
0.43802
</div>
</td>
<td><a name="wp1076695"> </a><div class="pCellBodyR">
68
</div>
</td>
<td><a name="wp1076697"> </a><div class="pCellBodyR">
30
</div>
</td>
<td><a name="wp1076699"> </a><div class="pCellBodyR">
53
</div>
</td>
<td><a name="wp1076701"> </a><div class="pCellBodyR">
113
</div>
</td>
<td><a name="wp1076703"> </a><div class="pCellBodyR">
1.66
</div>
</td>
<td> </td>
<td><a name="wp1076707"> </a><div class="pCellBodyR">
108
</div>
</td>
<td><a name="wp1076709"> </a><div class="pCellBodyR">
0.40716
</div>
</td>
<td><a name="wp1076711"> </a><div class="pCellBodyR">
256
</div>
</td>
<td><a name="wp1076713"> </a><div class="pCellBodyR">
104
</div>
</td>
<td><a name="wp1076715"> </a><div class="pCellBodyR">
204
</div>
</td>
<td><a name="wp1076717"> </a><div class="pCellBodyR">
457
</div>
</td>
<td><a name="wp1076719"> </a><div class="pCellBodyR">
1.79
</div>
</td>
</tr>
<tr> <td><a name="wp1076661"> </a><div class="pCellBodyR">
109
</div>
</td>
<td><a name="wp1076663"> </a><div class="pCellBodyR">
0.45992
</div>
</td>
<td><a name="wp1076665"> </a><div class="pCellBodyR">
38
</div>
</td>
<td><a name="wp1076667"> </a><div class="pCellBodyR">
18
</div>
</td>
<td><a name="wp1076669"> </a><div class="pCellBodyR">
29
</div>
</td>
<td><a name="wp1076671"> </a><div class="pCellBodyR">
60
</div>
</td>
<td><a name="wp1076673"> </a><div class="pCellBodyR">
1.57
</div>
</td>
<td> </td>
<td><a name="wp1076677"> </a><div class="pCellBodyR">
109
</div>
</td>
<td><a name="wp1076679"> </a><div class="pCellBodyR">
0.43159
</div>
</td>
<td><a name="wp1076681"> </a><div class="pCellBodyR">
152
</div>
</td>
<td><a name="wp1076683"> </a><div class="pCellBodyR">
65
</div>
</td>
<td><a name="wp1076685"> </a><div class="pCellBodyR">
119
</div>
</td>
<td><a name="wp1076687"> </a><div class="pCellBodyR">
253
</div>
</td>
<td><a name="wp1076689"> </a><div class="pCellBodyR">
1.67
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1076601"> </a><div class="pCellBodyR">
110
</div>
</td>
<td><a name="wp1076603"> </a><div class="pCellBodyR">
0.48291
</div>
</td>
<td><a name="wp1076605"> </a><div class="pCellBodyR">
21
</div>
</td>
<td><a name="wp1076607"> </a><div class="pCellBodyR">
10
</div>
</td>
<td><a name="wp1076609"> </a><div class="pCellBodyR">
16
</div>
</td>
<td><a name="wp1076611"> </a><div class="pCellBodyR">
30
</div>
</td>
<td><a name="wp1076613"> </a><div class="pCellBodyR">
1.48
</div>
</td>
<td> </td>
<td><a name="wp1076617"> </a><div class="pCellBodyR">
110
</div>
</td>
<td><a name="wp1076619"> </a><div class="pCellBodyR">
0.45748
</div>
</td>
<td><a name="wp1076621"> </a><div class="pCellBodyR">
86
</div>
</td>
<td><a name="wp1076623"> </a><div class="pCellBodyR">
39
</div>
</td>
<td><a name="wp1076625"> </a><div class="pCellBodyR">
66
</div>
</td>
<td><a name="wp1076627"> </a><div class="pCellBodyR">
135
</div>
</td>
<td><a name="wp1076629"> </a><div class="pCellBodyR">
1.56
</div>
</td>
</tr>
<tr> <td><a name="wp1076571"> </a><div class="pCellBodyR">
111
</div>
</td>
<td><a name="wp1076573"> </a><div class="pCellBodyR">
0.50706
</div>
</td>
<td><a name="wp1076575"> </a><div class="pCellBodyR">
11
</div>
</td>
<td><a name="wp1076577"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1076579"> </a><div class="pCellBodyR">
8
</div>
</td>
<td><a name="wp1076581"> </a><div class="pCellBodyR">
15
</div>
</td>
<td><a name="wp1076583"> </a><div class="pCellBodyR">
1.39
</div>
</td>
<td> </td>
<td><a name="wp1076587"> </a><div class="pCellBodyR">
111
</div>
</td>
<td><a name="wp1076589"> </a><div class="pCellBodyR">
0.48493
</div>
</td>
<td><a name="wp1076591"> </a><div class="pCellBodyR">
47
</div>
</td>
<td><a name="wp1076593"> </a><div class="pCellBodyR">
23
</div>
</td>
<td><a name="wp1076595"> </a><div class="pCellBodyR">
35
</div>
</td>
<td><a name="wp1076597"> </a><div class="pCellBodyR">
68
</div>
</td>
<td><a name="wp1076599"> </a><div class="pCellBodyR">
1.46
</div>
</td>
</tr>
<tr> <td><a name="wp1076541"> </a><div class="pCellBodyR">
112
</div>
</td>
<td><a name="wp1076543"> </a><div class="pCellBodyR">
0.53241
</div>
</td>
<td><a name="wp1076545"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1076547"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1076549"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1076551"> </a><div class="pCellBodyR">
7
</div>
</td>
<td><a name="wp1076553"> </a><div class="pCellBodyR">
1.31
</div>
</td>
<td> </td>
<td><a name="wp1076557"> </a><div class="pCellBodyR">
112
</div>
</td>
<td><a name="wp1076559"> </a><div class="pCellBodyR">
0.51403
</div>
</td>
<td><a name="wp1076561"> </a><div class="pCellBodyR">
24
</div>
</td>
<td><a name="wp1076563"> </a><div class="pCellBodyR">
12
</div>
</td>
<td><a name="wp1076565"> </a><div class="pCellBodyR">
18
</div>
</td>
<td><a name="wp1076567"> </a><div class="pCellBodyR">
33
</div>
</td>
<td><a name="wp1076569"> </a><div class="pCellBodyR">
1.36
</div>
</td>
</tr>
<tr> <td><a name="wp1076511"> </a><div class="pCellBodyR">
113
</div>
</td>
<td><a name="wp1076513"> </a><div class="pCellBodyR">
0.55903
</div>
</td>
<td><a name="wp1076515"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1076517"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076519"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1076521"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1076523"> </a><div class="pCellBodyR">
1.23
</div>
</td>
<td> </td>
<td><a name="wp1076527"> </a><div class="pCellBodyR">
113
</div>
</td>
<td><a name="wp1076529"> </a><div class="pCellBodyR">
0.54487
</div>
</td>
<td><a name="wp1076531"> </a><div class="pCellBodyR">
12
</div>
</td>
<td><a name="wp1076533"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1076535"> </a><div class="pCellBodyR">
9
</div>
</td>
<td><a name="wp1076537"> </a><div class="pCellBodyR">
15
</div>
</td>
<td><a name="wp1076539"> </a><div class="pCellBodyR">
1.26
</div>
</td>
</tr>
<tr> <td><a name="wp1076481"> </a><div class="pCellBodyR">
114
</div>
</td>
<td><a name="wp1076483"> </a><div class="pCellBodyR">
0.58698
</div>
</td>
<td><a name="wp1076485"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076487"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076489"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076491"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076493"> </a><div class="pCellBodyR">
1.15
</div>
</td>
<td> </td>
<td><a name="wp1076497"> </a><div class="pCellBodyR">
114
</div>
</td>
<td><a name="wp1076499"> </a><div class="pCellBodyR">
0.57756
</div>
</td>
<td><a name="wp1076501"> </a><div class="pCellBodyR">
5
</div>
</td>
<td><a name="wp1076503"> </a><div class="pCellBodyR">
3
</div>
</td>
<td><a name="wp1076505"> </a><div class="pCellBodyR">
4
</div>
</td>
<td><a name="wp1076507"> </a><div class="pCellBodyR">
6
</div>
</td>
<td><a name="wp1076509"> </a><div class="pCellBodyR">
1.17
</div>
</td>
</tr>
<tr> <td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr> <td><a name="wp1076421"> </a><div class="pCellBodyR">
115
</div>
</td>
<td><a name="wp1076423"> </a><div class="pCellBodyR">
0.61633
</div>
</td>
<td><a name="wp1076425"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076427"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076429"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076431"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076433"> </a><div class="pCellBodyR">
1.08
</div>
</td>
<td> </td>
<td><a name="wp1076437"> </a><div class="pCellBodyR">
115
</div>
</td>
<td><a name="wp1076439"> </a><div class="pCellBodyR">
0.61221
</div>
</td>
<td><a name="wp1076441"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1076443"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076445"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1076447"> </a><div class="pCellBodyR">
2
</div>
</td>
<td><a name="wp1076449"> </a><div class="pCellBodyR">
1.08
</div>
</td>
</tr>
<tr> <td><a name="wp1076391"> </a><div class="pCellBodyR">
116
</div>
</td>
<td><a name="wp1076393"> </a><div class="pCellBodyR">
0.64715
</div>
</td>
<td><a name="wp1076395"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076397"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076399"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076401"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076403"> </a><div class="pCellBodyR">
1.01
</div>
</td>
<td> </td>
<td><a name="wp1076407"> </a><div class="pCellBodyR">
116
</div>
</td>
<td><a name="wp1076409"> </a><div class="pCellBodyR">
0.64715
</div>
</td>
<td><a name="wp1076411"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076413"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076415"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076417"> </a><div class="pCellBodyR">
1
</div>
</td>
<td><a name="wp1076419"> </a><div class="pCellBodyR">
1.01
</div>
</td>
</tr>
<tr> <td><a name="wp1076361"> </a><div class="pCellBodyR">
117
</div>
</td>
<td><a name="wp1076363"> </a><div class="pCellBodyR">
0.67951
</div>
</td>
<td><a name="wp1076365"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076367"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076369"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076371"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076373"> </a><div class="pCellBodyR">
0.94
</div>
</td>
<td> </td>
<td><a name="wp1076377"> </a><div class="pCellBodyR">
117
</div>
</td>
<td><a name="wp1076379"> </a><div class="pCellBodyR">
0.67951
</div>
</td>
<td><a name="wp1076381"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076383"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076385"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076387"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076389"> </a><div class="pCellBodyR">
0.94
</div>
</td>
</tr>
<tr> <td><a name="wp1076331"> </a><div class="pCellBodyR">
118
</div>
</td>
<td><a name="wp1076333"> </a><div class="pCellBodyR">
0.71348
</div>
</td>
<td><a name="wp1076335"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076337"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076339"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076341"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076343"> </a><div class="pCellBodyR">
0.88
</div>
</td>
<td> </td>
<td><a name="wp1076347"> </a><div class="pCellBodyR">
118
</div>
</td>
<td><a name="wp1076349"> </a><div class="pCellBodyR">
0.71348
</div>
</td>
<td><a name="wp1076351"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076353"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076355"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076357"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076359"> </a><div class="pCellBodyR">
0.88
</div>
</td>
</tr>
<tr> <td><a name="wp1076301"> </a><div class="pCellBodyR">
119
</div>
</td>
<td><a name="wp1076303"> </a><div class="pCellBodyR">
0.74916
</div>
</td>
<td><a name="wp1076305"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076307"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076309"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076311"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076313"> </a><div class="pCellBodyR">
0.82
</div>
</td>
<td> </td>
<td><a name="wp1076317"> </a><div class="pCellBodyR">
119
</div>
</td>
<td><a name="wp1076319"> </a><div class="pCellBodyR">
0.74916
</div>
</td>
<td><a name="wp1076321"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076323"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076325"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076327"> </a><div class="pCellBodyR">
0
</div>
</td>
<td><a name="wp1076329"> </a><div class="pCellBodyR">
0.82
</div>
</td>
</tr>
</table>
</div>
<p class="pBody">
</p>
<hr />
<div>
<table summary="Document navigation links" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="TOC.html"><img id="LongDescNotReq7" src="images/toc.gif" border="0" alt="Contents" /></a></td>
<td><a href="LifeTables_Tbl_6_2050.html"><img id="LongDescNotReq8" src="images/prev.gif" border="0" alt="Previous" /></a></td>
<td><a href="LifeTables_Tbl_6_2070.html"><img id="LongDescNotReq9" src="images/next.gif" border="0" alt="Next" /></a></td>
<td><a href="LOT.html"><img id="LongDescNotReq10" src="images/tables.gif" border="0" alt="List of Tables" /></a></td>
<td><a href="LOF.html"><img id="LongDescNotReq11" src="images/figures.gif" border="0" alt="List of Figures" /></a></td>
<td width="60%"> <div class="pCellBodyR"><a href="../studylist2000s.html">Return to list of Studies.</a></div></td>
</tr>
</table>
</div>
<br />
</body>
</html>
| 1wheel/scraping | cohort-mortality/raw/2060.html | HTML | mit | 146,262 |
/* Ship.js
KC3ๆน Ship Object
*/
(function(){
"use strict";
var deferList = {};
window.KC3Ship = function( data, toClone ){
// Default object properties included in stringifications
this.rosterId = 0;
this.masterId = 0;
this.level = 0;
this.exp = [0,0,0];
this.hp = [0,0];
this.afterHp = [0,0];
this.fp = [0,0];
this.tp = [0,0];
this.aa = [0,0];
this.ar = [0,0];
this.ev = [0,0];
this.as = [0,0];
this.ls = [0,0];
this.lk = [0,0];
this.range = 0;
// corresponds to "api_slot" in the API,
// but devs change it to length == 5 someday,
// and item of ex slot still not at 5th.
// extended to 5 slots on 2018-02-16 for Musashi Kai Ni.
this.items = [-1,-1,-1,-1,-1];
// corresponds to "api_slot_ex" in the API,
// which has special meanings on few values:
// 0: ex slot is not available
// -1: ex slot is available but nothing is equipped
this.ex_item = 0;
// "api_onslot" in API, also changed to length 5 now.
this.slots = [0,0,0,0,0];
this.slotnum = 0;
this.speed = 0;
// corresponds to "api_kyouka" in the API,
// represents [fp,tp,aa,ar,lk] in the past.
// expanded to 7-length array since 2017-09-29
// last new twos are [hp,as]
this.mod = [0,0,0,0,0,0,0];
this.fuel = 0;
this.ammo = 0;
this.repair = [0,0,0];
this.stars = 0;
this.morale = 0;
this.lock = 0;
this.sally = 0;
this.akashiMark = false;
this.preExpedCond = [
/* Data Example
["exped300",12,20, 0], // fully supplied
["exped301", 6,10, 0], // not fully supplied
NOTE: this will be used against comparison of pendingConsumption that hardly to detect expedition activities
*/
];
this.pendingConsumption = {
/* Data Example
typeName: type + W {WorldNum} + M {MapNum} + literal underscore + type_id
type_id can be described as sortie/pvp/expedition id
valueStructure: typeName int[3][3] of [fuel, ammo, bauxites] and [fuel, steel, buckets] and [steel]
"sortie3000":[[12,24, 0],[ 0, 0, 0]], // OREL (3 nodes)
"sortie3001":[[ 8,16, 0],[ 0, 0, 0]], // SPARKLE GO 1-1 (2 nodes)
"sortie3002":[[ 4,12, 0],[ 0, 0, 0]], // PVP (1 node+yasen)
"sortie3003":[[ 0, 0, 0],[ 0, 0, 0],[-88]], // 1 node with Jet battle of 36 slot
Practice and Expedition automatically ignore repair consumption.
For every action will be recorded before the sortie.
*/
};
this.lastSortie = ['sortie0'];
// Define properties not included in stringifications
Object.defineProperties(this,{
didFlee: {
value: false,
enumerable: false,
configurable: false,
writable: true
},
mvp: {
value: false,
enumerable: false,
configurable: false,
writable: true
},
// useful when making virtual ship objects.
// requirements:
// * "GearManager.get( itemId )" should get the intended equipment
// * "itemId" is taken from either "items" or "ex_item"
// * "shipId === -1 or 0" should always return a dummy gear
GearManager: {
value: null,
enumerable: false,
configurable: false,
writable: true
}
});
// If specified with data, fill this object
if(typeof data != "undefined"){
// Initialized with raw data
if(typeof data.api_id != "undefined"){
this.rosterId = data.api_id;
this.masterId = data.api_ship_id;
this.level = data.api_lv;
this.exp = data.api_exp;
this.hp = [data.api_nowhp, data.api_maxhp];
this.afterHp = [data.api_nowhp, data.api_maxhp];
this.fp = data.api_karyoku;
this.tp = data.api_raisou;
this.aa = data.api_taiku;
this.ar = data.api_soukou;
this.ev = data.api_kaihi;
this.as = data.api_taisen;
this.ls = data.api_sakuteki;
this.lk = data.api_lucky;
this.range = data.api_leng;
this.items = data.api_slot;
if(typeof data.api_slot_ex != "undefined"){
this.ex_item = data.api_slot_ex;
}
if(typeof data.api_sally_area != "undefined"){
this.sally = data.api_sally_area;
}
this.slotnum = data.api_slotnum;
this.slots = data.api_onslot;
this.speed = data.api_soku;
this.mod = data.api_kyouka;
this.fuel = data.api_fuel;
this.ammo = data.api_bull;
this.repair = [data.api_ndock_time].concat(data.api_ndock_item);
this.stars = data.api_srate;
this.morale = data.api_cond;
this.lock = data.api_locked;
// Initialized with formatted data, deep clone if demanded
} else {
if(!!toClone)
$.extend(true, this, data);
else
$.extend(this, data);
}
if(this.getDefer().length <= 0)
this.checkDefer();
}
};
// Define complex properties on prototype
Object.defineProperties(KC3Ship.prototype,{
bull: {
get: function(){return this.ammo;},
set: function(newAmmo){this.ammo = newAmmo;},
configurable:false,
enumerable :true
}
});
KC3Ship.prototype.getGearManager = function(){ return this.GearManager || KC3GearManager; };
KC3Ship.prototype.exists = function(){ return this.rosterId > 0 && this.masterId > 0; };
KC3Ship.prototype.isDummy = function(){ return ! this.exists(); };
KC3Ship.prototype.master = function(){ return KC3Master.ship( this.masterId ); };
KC3Ship.prototype.name = function(){ return KC3Meta.shipName( this.master().api_name ); };
KC3Ship.prototype.stype = function(){ return KC3Meta.stype( this.master().api_stype ); };
KC3Ship.prototype.equipment = function(slot){
switch(typeof slot) {
case 'number':
case 'string':
/* Number/String => converted as equipment slot key */
return this.getGearManager().get( slot < 0 || slot >= this.items.length ? this.ex_item : this.items[slot] );
case 'boolean':
/* Boolean => return all equipments with ex item if true */
return slot ? this.equipment().concat(this.exItem())
: this.equipment();
case 'undefined':
/* Undefined => returns whole equipment as equip object array */
return this.items
// cloned and fixed to max 4 slots if 5th or more slots not found
.slice(0, Math.max(this.slotnum, 4))
.map(Number.call, Number)
.map(i => this.equipment(i));
case 'function':
/* Function => iterates over given callback for every equipment */
var equipObjs = this.equipment();
equipObjs.forEach((item, index) => {
slot.call(this, item.itemId, index, item);
});
// forEach always return undefined, return equipment for chain use
return equipObjs;
}
};
KC3Ship.prototype.slotSize = function(slotIndex){
// ex-slot is always assumed to be 0 for now
return (slotIndex < 0 || slotIndex >= this.slots.length ? 0 : this.slots[slotIndex]) || 0;
};
KC3Ship.prototype.slotCapacity = function(slotIndex){
// no API data defines the capacity for ex-slot
var maxeq = (this.master() || {}).api_maxeq;
return (Array.isArray(maxeq) ? maxeq[slotIndex] : 0) || 0;
};
KC3Ship.prototype.areAllSlotsFull = function(){
// to leave unfulfilled slots in-game, make bauxite insufficient or use supply button at expedition
var maxeq = (this.master() || {}).api_maxeq;
return Array.isArray(maxeq) ?
maxeq.every((expectedSize, index) => !expectedSize || expectedSize <= this.slotSize(index)) : true;
};
KC3Ship.prototype.isFast = function(){ return (this.speed || this.master().api_soku) >= 10; };
KC3Ship.prototype.getSpeed = function(){ return this.speed || this.master().api_soku; };
KC3Ship.prototype.exItem = function(){ return this.getGearManager().get(this.ex_item); };
KC3Ship.prototype.isStriped = function(){ return (this.hp[1]>0) && (this.hp[0]/this.hp[1] <= 0.5); };
// Current HP < 25% but already in the repair dock not counted
KC3Ship.prototype.isTaiha = function(){ return (this.hp[1]>0) && (this.hp[0]/this.hp[1] <= 0.25) && !this.isRepairing(); };
// To indicate the face grey out ship, retreated or sunk (before her data removed from API)
KC3Ship.prototype.isAbsent = function(){ return (this.didFlee || this.hp[0] <= 0 || this.hp[1] <= 0); };
KC3Ship.prototype.speedName = function(){ return KC3Meta.shipSpeed(this.speed); };
KC3Ship.prototype.rangeName = function(){ return KC3Meta.shipRange(this.range); };
KC3Ship.getMarriedLevel = function(){ return 100; };
KC3Ship.getMaxLevel = function(){ return 175; };
// hard-coded at `Core.swf/vo.UserShipData.VHP` / `main.js#ShipModel.prototype.VHP`
KC3Ship.getMaxHpModernize = function() { return 2; };
// hard-coded at `Core.swf/vo.UserShipData.VAS` / `main.js#ShipModel.prototype.VAS`
KC3Ship.getMaxAswModernize = function() { return 9; };
KC3Ship.prototype.isMarried = function(){ return this.level >= KC3Ship.getMarriedLevel(); };
KC3Ship.prototype.levelClass = function(){
return this.level === KC3Ship.getMaxLevel() ? "married max" :
this.level >= KC3Ship.getMarriedLevel() ? "married" :
this.level >= 80 ? "high" :
this.level >= 50 ? "medium" :
"";
};
/** @return full url of ship face icon according her hp percent. */
KC3Ship.prototype.shipIcon = function(){
return KC3Meta.shipIcon(this.masterId, undefined, true, this.isStriped());
};
KC3Ship.shipIcon = function(masterId, mhp = 0, chp = mhp){
const isStriped = mhp > 0 && (chp / mhp) <= 0.5;
return KC3Meta.shipIcon(masterId, undefined, true, isStriped);
};
/** @return icon file name only without path and extension suffix. */
KC3Ship.prototype.moraleIcon = function(){
return KC3Ship.moraleIcon(this.morale);
};
KC3Ship.moraleIcon = function(morale){
return morale > 49 ? "4" : // sparkle
morale > 29 ? "3" : // normal
morale > 19 ? "2" : // orange face
"1"; // red face
};
/**
* The reason why 53 / 33 is the bound of morale effect being taken:
* on entering battle, morale is subtracted -3 (day) or -2 (night) before its value gets in,
* so +3 value is used as the indeed morale bound for sparkle or fatigue.
*
* @param {Array} valuesArray - values to be returned based on morale section.
* @param {boolean} onBattle - if already on battle, not need to use the bounds mentioned above.
*/
KC3Ship.prototype.moraleEffectLevel = function(valuesArray = [0, 1, 2, 3, 4], onBattle = false){
return onBattle ? (
this.morale > 49 ? valuesArray[4] :
this.morale > 29 ? valuesArray[3] :
this.morale > 19 ? valuesArray[2] :
this.morale >= 0 ? valuesArray[1] :
valuesArray[0]
) : (
this.morale > 52 ? valuesArray[4] :
this.morale > 32 ? valuesArray[3] :
this.morale > 22 ? valuesArray[2] :
this.morale >= 0 ? valuesArray[1] :
valuesArray[0]);
};
KC3Ship.prototype.getDefer = function(){
// returns a new defer if possible
return deferList[this.rosterId] || [];
};
KC3Ship.prototype.checkDefer = function() {
// reset defer if it does not in normal state
var
self= this,
ca = this.getDefer(), // get defer array
cd = ca[0]; // current collection of deferred
if(ca && cd && cd.state() == "pending")
return ca;
//console.debug("replacing",this.rosterId,"cause",!cd ? typeof cd : cd.state());
ca = deferList[this.rosterId] = Array.apply(null,{length:2}).map(function(){return $.Deferred();});
cd = $.when.apply(null,ca);
ca.unshift(cd);
return ca;
};
/* DAMAGE STATUS
Get damage status of the ship, return one of the following string:
* "dummy" if this is a dummy ship
* "taiha" (HP <= 25%)
* "chuuha" (25% < HP <= 50%)
* "shouha" (50% < HP <= 75%)
* "normal" (75% < HP < 100%)
* "full" (100% HP)
--------------------------------------------------------------*/
KC3Ship.prototype.damageStatus = function() {
if (this.hp[1] > 0) {
if (this.hp[0] === this.hp[1]) {
return "full";
}
var hpPercent = this.hp[0] / this.hp[1];
if (hpPercent <= 0.25) {
return "taiha";
} else if (hpPercent <= 0.5) {
return "chuuha";
} else if (hpPercent <= 0.75) {
return "shouha";
} else {
return "normal";
}
} else {
return "dummy";
}
};
KC3Ship.prototype.isSupplied = function(){
if(this.isDummy()){ return true; }
return this.fuel >= this.master().api_fuel_max
&& this.ammo >= this.master().api_bull_max;
};
KC3Ship.prototype.isNeedSupply = function(isEmpty){
if(this.isDummy()){ return false; }
var
fpc = function(x,y){return Math.qckInt("round",(x / y) * 10);},
fuel = fpc(this.fuel,this.master().api_fuel_max),
ammo = fpc(this.ammo,this.master().api_bull_max);
return Math.min(fuel,ammo) <= (ConfigManager.alert_supply) * (!isEmpty);
};
KC3Ship.prototype.onFleet = function(){
var fleetNum = 0;
PlayerManager.fleets.find((fleet, index) => {
if(fleet.ships.some(rid => rid === this.rosterId)){
fleetNum = index + 1;
return true;
}
});
return fleetNum;
};
/**
* @return a tuple for [position in fleet (0-based), fleet total ship amount, fleet number (1-based)].
* return [-1, 0, 0] if this ship is not on any fleet.
*/
KC3Ship.prototype.fleetPosition = function(){
var position = -1,
total = 0,
fleetNum = 0;
if(this.exists()) {
fleetNum = this.onFleet();
if(fleetNum > 0) {
var fleet = PlayerManager.fleets[fleetNum - 1];
position = fleet.ships.indexOf(this.rosterId);
total = fleet.countShips();
}
}
return [position, total, fleetNum];
};
KC3Ship.prototype.isRepairing = function(){
return PlayerManager.repairShips.indexOf(this.rosterId) >= 0;
};
KC3Ship.prototype.isAway = function(){
return this.onFleet() > 1 /* ensures not in main fleet */
&& (KC3TimerManager.exped(this.onFleet()) || {active:false}).active; /* if there's a countdown on expedition, means away */
};
KC3Ship.prototype.isFree = function(){
return !(this.isRepairing() || this.isAway());
};
KC3Ship.prototype.resetAfterHp = function(){
this.afterHp[0] = this.hp[0];
this.afterHp[1] = this.hp[1];
};
KC3Ship.prototype.applyRepair = function(){
this.hp[0] = this.hp[1];
// also keep afterHp consistent
this.resetAfterHp();
this.morale = Math.max(40, this.morale);
this.repair.fill(0);
};
/**
* Return max HP of a ship. Static method for library.
* Especially after marriage, api_taik[1] is hard to reach in game.
* Since 2017-09-29, HP can be modernized, and known max value is within 2.
* @return false if ship ID belongs to abyssal or nonexistence
* @see http://wikiwiki.jp/kancolle/?%A5%B1%A5%C3%A5%B3%A5%F3%A5%AB%A5%C3%A5%B3%A5%AB%A5%EA
* @see https://github.com/andanteyk/ElectronicObserver/blob/develop/ElectronicObserver/Other/Information/kcmemo.md#%E3%82%B1%E3%83%83%E3%82%B3%E3%83%B3%E3%82%AB%E3%83%83%E3%82%B3%E3%82%AB%E3%83%AA%E5%BE%8C%E3%81%AE%E8%80%90%E4%B9%85%E5%80%A4
*/
KC3Ship.getMaxHp = function(masterId, currentLevel, isModernized){
var masterHpArr = KC3Master.isNotRegularShip(masterId) ? [] :
(KC3Master.ship(masterId) || {"api_taik":[]}).api_taik;
var masterHp = masterHpArr[0], maxLimitHp = masterHpArr[1];
var expected = ((currentLevel || KC3Ship.getMaxLevel())
< KC3Ship.getMarriedLevel() ? masterHp :
masterHp > 90 ? masterHp + 9 :
masterHp >= 70 ? masterHp + 8 :
masterHp >= 50 ? masterHp + 7 :
masterHp >= 40 ? masterHp + 6 :
masterHp >= 30 ? masterHp + 5 :
masterHp >= 8 ? masterHp + 4 :
masterHp + 3) || false;
if(isModernized) expected += KC3Ship.getMaxHpModernize();
return maxLimitHp && expected > maxLimitHp ? maxLimitHp : expected;
};
KC3Ship.prototype.maxHp = function(isModernized){
return KC3Ship.getMaxHp(this.masterId, this.level, isModernized);
};
// Since 2017-09-29, asw stat can be modernized, known max value is within 9.
KC3Ship.prototype.maxAswMod = function(){
// the condition `Core.swf/vo.UserShipData.hasTaisenAbility()` also used
var maxAswBeforeMarriage = this.as[1];
var maxModAsw = this.nakedAsw() + KC3Ship.getMaxAswModernize() - (this.mod[6] || 0);
return maxAswBeforeMarriage > 0 ? maxModAsw : 0;
};
/**
* Return total count of aircraft slots of a ship. Static method for library.
* @return -1 if ship ID belongs to abyssal or nonexistence
*/
KC3Ship.getCarrySlots = function(masterId){
var maxeq = KC3Master.isNotRegularShip(masterId) ? undefined :
(KC3Master.ship(masterId) || {}).api_maxeq;
return Array.isArray(maxeq) ? maxeq.sumValues() : -1;
};
KC3Ship.prototype.carrySlots = function(){
return KC3Ship.getCarrySlots(this.masterId);
};
/**
* @param isExslotIncluded - if equipment on ex-slot is counted, here true by default
* @return current equipped pieces of equipment
*/
KC3Ship.prototype.equipmentCount = function(isExslotIncluded = true){
let amount = (this.items.indexOf(-1) + 1 || (this.items.length + 1)) - 1;
// 0 means ex-slot not opened, -1 means opened but none equipped
amount += (isExslotIncluded && this.ex_item > 0) & 1;
return amount;
};
/**
* @param isExslotIncluded - if ex-slot is counted, here true by default
* @return amount of all equippable slots
*/
KC3Ship.prototype.equipmentMaxCount = function(isExslotIncluded = true){
return this.slotnum + ((isExslotIncluded && (this.ex_item === -1 || this.ex_item > 0)) & 1);
};
/**
* @param stypeValue - specific a ship type if not refer to this ship
* @return true if this (or specific) ship is a SS or SSV
*/
KC3Ship.prototype.isSubmarine = function(stypeValue){
if(this.isDummy()) return false;
const stype = stypeValue || this.master().api_stype;
return [13, 14].includes(stype);
};
/**
* @return true if this ship type is CVL, CV or CVB
*/
KC3Ship.prototype.isCarrier = function(){
if(this.isDummy()) return false;
const stype = this.master().api_stype;
return [7, 11, 18].includes(stype);
};
/**
* @return true if this ship is a CVE, which is Light Carrier and her initial ASW stat > 0
*/
KC3Ship.prototype.isEscortLightCarrier = function(){
if(this.isDummy()) return false;
const stype = this.master().api_stype;
// Known implementations: Taiyou series, Gambier Bay series, Zuihou K2B
const minAsw = (this.master().api_tais || [])[0];
return stype === 7 && minAsw > 0;
};
/* REPAIR TIME
Get ship's docking and Akashi times
when optAfterHp is true, return repair time based on afterHp
--------------------------------------------------------------*/
KC3Ship.prototype.repairTime = function(optAfterHp){
var hpArr = optAfterHp ? this.afterHp : this.hp,
HPPercent = hpArr[0] / hpArr[1],
RepairCalc = PS['KanColle.RepairTime'];
var result = { akashi: 0 };
if (HPPercent > 0.5 && HPPercent < 1.00 && this.isFree()) {
var dockTimeMillis = optAfterHp ?
RepairCalc.dockingInSecJSNum(this.master().api_stype, this.level, hpArr[0], hpArr[1]) * 1000 :
this.repair[0];
var repairTime = KC3AkashiRepair.calculateRepairTime(dockTimeMillis);
result.akashi = Math.max(
Math.hrdInt('floor', repairTime, 3, 1), // convert to seconds
20 * 60 // should be at least 20 minutes
);
}
if (optAfterHp) {
result.docking = RepairCalc.dockingInSecJSNum(this.master().api_stype, this.level, hpArr[0], hpArr[1]);
} else {
result.docking = this.isRepairing() ?
Math.ceil(KC3TimerManager.repair(PlayerManager.repairShips.indexOf(this.rosterId)).remainingTime()) / 1000 :
/* RepairCalc. dockingInSecJSNum( this.master().api_stype, this.level, this.hp[0], this.hp[1] ) */
Math.hrdInt('floor', this.repair[0], 3, 1);
}
return result;
};
/* Calculate resupply cost
----------------------------------
0 <= fuelPercent <= 1, < 0 use current fuel
0 <= ammoPercent <= 1, < 0 use current ammo
to calculate bauxite cost: bauxiteNeeded == true
to calculate steel cost per battles: steelNeeded == true
costs of expeditions simulate rounding by adding roundUpFactor(0.4/0.5?) before flooring
returns an object: {fuel: <fuelCost>, ammo: <ammoCost>, steel: <steelCost>, bauxite: <bauxiteCost>}
*/
KC3Ship.prototype.calcResupplyCost = function(fuelPercent, ammoPercent, bauxiteNeeded, steelNeeded, roundUpFactor) {
var self = this;
var result = {
fuel: 0, ammo: 0
};
if(this.isDummy()) {
if(bauxiteNeeded) result.bauxite = 0;
if(steelNeeded) result.steel = 0;
return result;
}
var master = this.master();
var fullFuel = master.api_fuel_max;
var fullAmmo = master.api_bull_max;
var mulRounded = function (a, percent) {
return Math.floor( a * percent + (roundUpFactor || 0) );
};
var marriageConserve = function (v) {
return self.isMarried() && v > 1 ? Math.floor(0.85 * v) : v;
};
result.fuel = fuelPercent < 0 ? fullFuel - this.fuel : mulRounded(fullFuel, fuelPercent);
result.ammo = ammoPercent < 0 ? fullAmmo - this.ammo : mulRounded(fullAmmo, ammoPercent);
// After testing, 85% is applied to resupply value, not max value. and cannot be less than 1
result.fuel = marriageConserve(result.fuel);
result.ammo = marriageConserve(result.ammo);
if(bauxiteNeeded){
var slotsBauxiteCost = (current, max) => (
current < max ? (max - current) * KC3GearManager.carrierSupplyBauxiteCostPerSlot : 0
);
result.bauxite = self.equipment()
.map((g, i) => slotsBauxiteCost(self.slots[i], master.api_maxeq[i]))
.sumValues();
// Bauxite cost to fill slots not affected by marriage.
// via http://kancolle.wikia.com/wiki/Marriage
//result.bauxite = marriageConserve(result.bauxite);
}
if(steelNeeded){
result.steel = this.calcJetsSteelCost();
}
return result;
};
/**
* Calculate steel cost of jet aircraft for 1 battle based on current slot size.
* returns total steel cost for this ship at this time
*/
KC3Ship.prototype.calcJetsSteelCost = function(currentSortieId) {
var totalSteel = 0, consumedSteel = 0;
if(this.isDummy()) { return totalSteel; }
this.equipment().forEach((item, i) => {
// Is Jet aircraft and left slot > 0
if(item.exists() && this.slots[i] > 0 &&
KC3GearManager.jetAircraftType2Ids.includes(item.master().api_type[2])) {
consumedSteel = Math.round(
this.slots[i]
* item.master().api_cost
* KC3GearManager.jetBomberSteelCostRatioPerSlot
) || 0;
totalSteel += consumedSteel;
if(!!currentSortieId) {
let pc = this.pendingConsumption[currentSortieId];
if(!Array.isArray(pc)) {
pc = [[0,0,0],[0,0,0],[0]];
this.pendingConsumption[currentSortieId] = pc;
}
if(!Array.isArray(pc[2])) {
pc[2] = [0];
}
pc[2][0] -= consumedSteel;
}
}
});
if(!!currentSortieId && totalSteel > 0) {
KC3ShipManager.save();
}
return totalSteel;
};
/**
* Get or calculate repair cost of this ship.
* @param currentHp - assumed current HP value if this ship is not damaged effectively.
* @return an object: {fuel: <fuelCost>, steel: <steelCost>}
*/
KC3Ship.prototype.calcRepairCost = function(currentHp){
const result = {
fuel: 0, steel: 0
};
if(this.isDummy()) { return result; }
if(currentHp > 0 && currentHp <= this.hp[1]) {
// formula see http://kancolle.wikia.com/wiki/Docking
const fullFuel = this.master().api_fuel_max;
const hpLost = this.hp[1] - currentHp;
result.fuel = Math.floor(fullFuel * hpLost * 0.032);
result.steel = Math.floor(fullFuel * hpLost * 0.06);
} else {
result.fuel = this.repair[1];
result.steel = this.repair[2];
}
return result;
};
/**
* Naked stats of this ship.
* @return stats without the equipment but with modernization.
*/
KC3Ship.prototype.nakedStats = function(statAttr){
if(this.isDummy()) { return false; }
const stats = {
aa: this.aa[0],
ar: this.ar[0],
as: this.as[0],
ev: this.ev[0],
fp: this.fp[0],
// Naked HP maybe mean HP before marriage
hp: (this.master().api_taik || [])[0] || this.hp[1],
lk: (this.master().api_luck || [])[0] || this.lk[0],
ls: this.ls[0],
tp: this.tp[0],
// Accuracy not shown in-game, so naked value might be plus-minus 0
ht: 0
};
// Limited to currently used stats only,
// all implemented see `KC3Meta.js#statApiNameMap`
const statApiNames = {
"tyku": "aa",
"souk": "ar",
"tais": "as",
"houk": "ev",
"houg": "fp",
"saku": "ls",
"raig": "tp",
"houm": "ht",
"leng": "rn",
"soku": "sp",
};
for(const apiName in statApiNames) {
const equipStats = this.equipmentTotalStats(apiName);
stats[statApiNames[apiName]] -= equipStats;
}
return !statAttr ? stats : stats[statAttr];
};
KC3Ship.prototype.statsBonusOnShip = function(statAttr){
if(this.isDummy()) { return false; }
const stats = {};
const statApiNames = {
"houg": "fp",
"souk": "ar",
"raig": "tp",
"houk": "ev",
"tyku": "aa",
"tais": "as",
"saku": "ls",
"houm": "ht",
"leng": "rn",
"soku": "sp",
};
for(const apiName in statApiNames) {
stats[statApiNames[apiName]] = this.equipmentTotalStats(apiName, true, true, true);
}
return !statAttr ? stats : stats[statAttr];
};
KC3Ship.prototype.equipmentStatsMap = function(apiName, isExslotIncluded = true){
return this.equipment(isExslotIncluded).map(equip => {
if(equip.exists()) {
return equip.master()["api_" + apiName];
}
return undefined;
});
};
KC3Ship.prototype.equipmentTotalStats = function(apiName, isExslotIncluded = true,
isOnShipBonusIncluded = true, isOnShipBonusOnly = false,
includeEquipTypes = null, includeEquipIds = null,
excludeEquipTypes = null, excludeEquipIds = null){
var total = 0;
const bonusDefs = isOnShipBonusIncluded || isOnShipBonusOnly ? KC3Gear.explicitStatsBonusGears() : false;
// Accumulates displayed stats from equipment, and count for special equipment
this.equipment(isExslotIncluded).forEach(equip => {
if(equip.exists()) {
const gearMst = equip.master(),
mstId = gearMst.api_id,
type2 = gearMst.api_type[2];
if(Array.isArray(includeEquipTypes) &&
!includeEquipTypes.includes(type2) ||
Array.isArray(includeEquipIds) &&
!includeEquipIds.includes(mstId) ||
Array.isArray(excludeEquipTypes) &&
excludeEquipTypes.includes(type2) ||
Array.isArray(excludeEquipIds) &&
excludeEquipIds.includes(mstId)
) { return; }
total += gearMst["api_" + apiName] || 0;
if(bonusDefs) KC3Gear.accumulateShipBonusGear(bonusDefs, equip);
}
});
// Add explicit stats bonuses (not masked, displayed on ship) from equipment on specific ship
if(bonusDefs) {
const onShipBonus = KC3Gear.equipmentTotalStatsOnShipBonus(bonusDefs, this, apiName);
total = isOnShipBonusOnly ? onShipBonus : total + onShipBonus;
}
return total;
};
KC3Ship.prototype.equipmentBonusGearAndStats = function(newGearObj){
const newGearMstId = (newGearObj || {}).masterId;
let gearFlag = false;
let synergyFlag = false;
const bonusDefs = KC3Gear.explicitStatsBonusGears();
const synergyGears = bonusDefs.synergyGears;
const allGears = this.equipment(true);
allGears.forEach(g => g.exists() && KC3Gear.accumulateShipBonusGear(bonusDefs, g));
const masterIdList = allGears.map(g => g.masterId)
.filter((value, index, self) => value > 0 && self.indexOf(value) === index);
let bonusGears = masterIdList.map(mstId => bonusDefs[mstId])
.concat(masterIdList.map(mstId => {
const typeDefs = bonusDefs[`t2_${KC3Master.slotitem(mstId).api_type[2]}`];
if (!typeDefs) return; else return $.extend(true, {}, typeDefs);
}));
masterIdList.push(...masterIdList);
// Check if each gear works on the equipped ship
const shipId = this.masterId;
const originId = RemodelDb.originOf(shipId);
const ctype = String(this.master().api_ctype);
const stype = this.master().api_stype;
const checkByShip = (byShip, shipId, originId, stype, ctype) =>
(byShip.ids || []).includes(shipId) ||
(byShip.origins || []).includes(originId) ||
(byShip.stypes || []).includes(stype) ||
(byShip.classes || []).includes(Number(ctype)) ||
(!byShip.ids && !byShip.origins && !byShip.stypes && !byShip.classes);
// Check if ship is eligible for equip bonus and add synergy/id flags
bonusGears = bonusGears.filter((gear, idx) => {
if (!gear) { return false; }
const synergyFlags = [];
const synergyIds = [];
const matchGearByMstId = (g) => g.masterId === masterIdList[idx];
let flag = false;
for (const type in gear) {
if (type === "byClass") {
for (const key in gear[type]) {
if (key == ctype) {
if (Array.isArray(gear[type][key])) {
for (let i = 0; i < gear[type][key].length; i++) {
gear.path = gear.path || [];
gear.path.push(gear[type][key][i]);
}
} else {
gear.path = gear[type][key];
}
}
}
}
else if (type === "byShip") {
if (Array.isArray(gear[type])) {
for (let i = 0; i < gear[type].length; i++) {
if (checkByShip(gear[type][i], shipId, originId, stype, ctype)) {
gear.path = gear.path || [];
gear.path.push(gear[type][i]);
}
}
} else if (checkByShip(gear[type], shipId, originId, stype, ctype)) {
gear.path = gear[type];
}
}
if (gear.path) {
if (typeof gear.path !== "object") { gear.path = gear[type][gear.path]; }
if (!Array.isArray(gear.path)) { gear.path = [gear.path]; }
const count = gear.count;
for (let pathIdx = 0; pathIdx < gear.path.length; pathIdx++) {
const check = gear.path[pathIdx];
if (check.excludes && check.excludes.includes(shipId)) { continue; }
if (check.excludeOrigins && check.excludeOrigins.includes(originId)) { continue; }
if (check.excludeClasses && check.excludeClasses.includes(ctype)) { continue; }
if (check.excludeStypes && check.excludeStypes.includes(stype)) { continue; }
if (check.remodel && RemodelDb.remodelGroup(shipId).indexOf(shipId) < check.remodel) { continue; }
if (check.remodelCap && RemodelDb.remodelGroup(shipId).indexOf(shipId) > check.remodelCap) { continue; }
if (check.origins && !check.origins.includes(originId)) { continue; }
if (check.stypes && !check.stypes.includes(stype)) { continue; }
if (check.classes && !check.classes.includes(ctype)) { continue; }
// Known issue: exact corresponding stars will not be found since identical equipment merged
if (check.minStars && allGears.find(matchGearByMstId).stars < check.minStars) { continue; }
if (check.single) { gear.count = 1; flag = true; }
if (check.multiple) { gear.count = count; flag = true; }
// countCap/minCount take priority
if (check.countCap) { gear.count = Math.min(check.countCap, count); }
if (check.minCount) { gear.count = count; }
// Synergy check
if (check.synergy) {
let synergyCheck = check.synergy;
if (!Array.isArray(synergyCheck)) { synergyCheck = [synergyCheck]; }
for (let checkIdx = 0; checkIdx < synergyCheck.length; checkIdx++) {
const flagList = synergyCheck[checkIdx].flags;
for (let flagIdx = 0; flagIdx < flagList.length; flagIdx++) {
const equipFlag = flagList[flagIdx];
if (equipFlag.endsWith("Nonexist")) {
if (!synergyGears[equipFlag]) { break; }
} else if (synergyGears[equipFlag] > 0) {
if (synergyGears[equipFlag + "Ids"].includes(newGearMstId)) { synergyFlag = true; }
synergyFlags.push(equipFlag);
synergyIds.push(masterIdList.find(id => synergyGears[equipFlag + "Ids"].includes(id)));
}
}
}
flag |= synergyFlags.length > 0;
}
}
}
}
gear.synergyFlags = synergyFlags;
gear.synergyIds = synergyIds;
gear.byType = idx >= Math.floor(masterIdList.length / 2);
gear.id = masterIdList[idx];
return flag;
});
if (!bonusGears.length) { return false; }
// Trim bonus gear object and add icon ids
const byIdGears = bonusGears.filter(g => !g.byType).map(g => g.id);
const result = bonusGears.filter(g => !g.byType || !byIdGears.includes(g.id)).map(gear => {
const obj = {};
obj.count = gear.count;
const g = allGears.find(eq => eq.masterId === gear.id);
obj.name = g.name();
if (g.masterId === newGearMstId) { gearFlag = true; }
obj.icon = g.master().api_type[3];
obj.synergyFlags = gear.synergyFlags.filter((value, index, self) => self.indexOf(value) === index && !!value);
obj.synergyNames = gear.synergyIds.map(id => allGears.find(eq => eq.masterId === id).name());
obj.synergyIcons = obj.synergyFlags.map(flag => {
if (flag.includes("Radar")) { return 11; }
else if (flag.includes("Torpedo")) { return 5; }
else if (flag.includes("LargeGunMount")) { return 3; }
else if (flag.includes("MediumGunMount")) { return 2; }
else if (flag.includes("SmallGunMount")) { return 1; }
else if (flag.includes("skilledLookouts")) { return 32; }
else if (flag.includes("searchlight")) { return 24; }
else if (flag.includes("rotorcraft") || flag.includes("helicopter")) { return 21; }
else if (flag.includes("Boiler")) { return 19; }
return 0; // Unknown synergy type
});
return obj;
});
const stats = this.statsBonusOnShip();
return {
isShow: gearFlag || synergyFlag,
bonusGears: result,
stats: stats,
};
};
// faster naked asw stat method since frequently used
KC3Ship.prototype.nakedAsw = function(){
var asw = this.as[0];
var equipAsw = this.equipmentTotalStats("tais");
return asw - equipAsw;
};
KC3Ship.prototype.nakedLoS = function(){
var los = this.ls[0];
var equipLos = this.equipmentTotalLoS();
return los - equipLos;
};
KC3Ship.prototype.equipmentTotalLoS = function (){
return this.equipmentTotalStats("saku");
};
KC3Ship.prototype.effectiveEquipmentTotalAsw = function(canAirAttack = false, includeImprovedAttack = false, forExped = false){
var equipmentTotalAsw = 0;
if(!forExped) {
// When calculating asw warefare relevant thing,
// asw stat from these known types of equipment not taken into account:
// main gun, recon seaplane, seaplane/carrier fighter, radar, large flying boat, LBAA
// KC Vita counts only carrier bomber, seaplane bomber, sonar (both), depth charges, rotorcraft and as-pby.
// All visible bonuses from equipment not counted towards asw attacks for now.
const noCountEquipType2Ids = [1, 2, 3, 6, 10, 12, 13, 41, 45, 47];
if(!canAirAttack) {
const stype = this.master().api_stype;
const isHayasuiKaiWithTorpedoBomber = this.masterId === 352 && this.hasEquipmentType(2, 8);
// CAV, CVL, BBV, AV, LHA, CVL-like Hayasui Kai
const isAirAntiSubStype = [6, 7, 10, 16, 17].includes(stype) || isHayasuiKaiWithTorpedoBomber;
if(isAirAntiSubStype) {
// exclude carrier bomber, seaplane bomber, rotorcraft, as-pby too if not able to air attack
noCountEquipType2Ids.push(...[7, 8, 11, 25, 26, 57, 58]);
}
}
equipmentTotalAsw = this.equipment(true)
.map(g => g.exists() && g.master().api_tais > 0 &&
noCountEquipType2Ids.includes(g.master().api_type[2]) ? 0 : g.master().api_tais
+ (!!includeImprovedAttack && g.attackPowerImprovementBonus("asw"))
).sumValues();
} else {
// For expeditions, asw from aircraft affected by proficiency and equipped slot size:
// https://wikiwiki.jp/kancolle/%E9%81%A0%E5%BE%81#about_stat
// https://docs.google.com/spreadsheets/d/1o-_-I8GXuJDkSGH0Dhjo7mVYx9Kpay2N2h9H3HMyO_E/htmlview
equipmentTotalAsw = this.equipment(true)
.map((g, i) => g.exists() && g.master().api_tais > 0 &&
// non-aircraft counts its actual asw value, land base plane cannot be used by expedition anyway
!KC3GearManager.carrierBasedAircraftType3Ids.includes(g.master().api_type[3]) ? g.master().api_tais :
// aircraft in 0-size slot take no effect, and
// current formula for 0 proficiency aircraft only,
// max level may give additional asw up to +2
(!this.slotSize(i) ? 0 : Math.floor(g.master().api_tais * (0.65 + 0.1 * Math.sqrt(Math.max(0, this.slotSize(i) - 2)))))
).sumValues()
// unconfirmed: all visible bonuses counted? or just like OASW, only some types counted? or none counted?
+ this.equipmentTotalStats("tais", true, true, true/*, null, null, [1, 6, 7, 8]*/);
}
return equipmentTotalAsw;
};
// estimated basic stats without equipments based on master data and modernization
KC3Ship.prototype.estimateNakedStats = function(statAttr) {
if(this.isDummy()) { return false; }
const shipMst = this.master();
if(!shipMst) { return false; }
const stats = {
fp: shipMst.api_houg[0] + this.mod[0],
tp: shipMst.api_raig[0] + this.mod[1],
aa: shipMst.api_tyku[0] + this.mod[2],
ar: shipMst.api_souk[0] + this.mod[3],
lk: shipMst.api_luck[0] + this.mod[4],
hp: this.maxHp(false) + (this.mod[5] || 0),
};
// shortcuts for following funcs
if(statAttr === "ls") return this.estimateNakedLoS();
if(statAttr === "as") return this.estimateNakedAsw() + (this.mod[6] || 0);
if(statAttr === "ev") return this.estimateNakedEvasion();
return !statAttr ? stats : stats[statAttr];
};
// estimated LoS without equipments based on WhoCallsTheFleetDb
KC3Ship.prototype.estimateNakedLoS = function() {
var losInfo = WhoCallsTheFleetDb.getLoSInfo( this.masterId );
var retVal = WhoCallsTheFleetDb.estimateStat(losInfo, this.level);
return retVal === false ? 0 : retVal;
};
KC3Ship.prototype.estimateNakedAsw = function() {
var aswInfo = WhoCallsTheFleetDb.getStatBound(this.masterId, "asw");
var retVal = WhoCallsTheFleetDb.estimateStat(aswInfo, this.level);
return retVal === false ? 0 : retVal;
};
KC3Ship.prototype.estimateNakedEvasion = function() {
var evaInfo = WhoCallsTheFleetDb.getStatBound(this.masterId, "evasion");
var retVal = WhoCallsTheFleetDb.estimateStat(evaInfo, this.level);
return retVal === false ? 0 : retVal;
};
// estimated the base value (on lv1) of the 3-stats (evasion, asw, los) missing in master data,
// based on current naked stats and max value (on lv99),
// in case whoever wanna submit this in order to collect ship's exact stats quickly.
// NOTE: naked stats needed, so should ensure no equipment equipped or at least no on ship bonus.
// btw, exact evasion and asw values can be found at in-game picture book api data, but los missing still.
KC3Ship.prototype.estimateBaseMasterStats = function() {
if(this.isDummy()) { return false; }
const info = {
// evasion for ship should be `api_kaih`, here uses gear one instead
houk: [0, this.ev[1], this.ev[0]],
tais: [0, this.as[1], this.as[0]],
saku: [0, this.ls[1], this.ls[0]],
};
const level = this.level;
Object.keys(info).forEach(apiName => {
const lv99Stat = info[apiName][1];
const nakedStat = info[apiName][2] - this.equipmentTotalStats(apiName);
info[apiName][3] = nakedStat;
if(level && level > 99) {
info[apiName][0] = false;
} else {
info[apiName][0] = WhoCallsTheFleetDb.estimateStatBase(nakedStat, lv99Stat, level);
// try to get stats on maxed married level too
info[apiName][4] = WhoCallsTheFleetDb.estimateStat({base: info[apiName][0], max: lv99Stat}, KC3Ship.getMaxLevel());
}
});
info.level = level;
info.mstId = this.masterId;
info.equip = this.equipment(true).map(g => g.masterId);
return info;
};
KC3Ship.prototype.equipmentTotalImprovementBonus = function(attackType){
return this.equipment(true)
.map(gear => gear.attackPowerImprovementBonus(attackType))
.sumValues();
};
/**
* Maxed stats of this ship.
* @return stats without the equipment but with modernization at Lv.99,
* stats at Lv.175 can be only estimated by data from known database.
*/
KC3Ship.prototype.maxedStats = function(statAttr, isMarried = this.isMarried()){
if(this.isDummy()) { return false; }
const stats = {
aa: this.aa[1],
ar: this.ar[1],
as: this.as[1],
ev: this.ev[1],
fp: this.fp[1],
hp: this.hp[1],
// Maxed Luck includes full modernized + marriage bonus
lk: this.lk[1],
ls: this.ls[1],
tp: this.tp[1]
};
if(isMarried){
stats.hp = KC3Ship.getMaxHp(this.masterId);
const asBound = WhoCallsTheFleetDb.getStatBound(this.masterId, "asw");
const asw = WhoCallsTheFleetDb.estimateStat(asBound, KC3Ship.getMaxLevel());
if(asw !== false) { stats.as = asw; }
const lsBound = WhoCallsTheFleetDb.getStatBound(this.masterId, "los");
const los = WhoCallsTheFleetDb.estimateStat(lsBound, KC3Ship.getMaxLevel());
if(los !== false) { stats.ls = los; }
const evBound = WhoCallsTheFleetDb.getStatBound(this.masterId, "evasion");
const evs = WhoCallsTheFleetDb.estimateStat(evBound, KC3Ship.getMaxLevel());
if(evs !== false) { stats.ev = evs; }
}
// Unlike stats fp, tp, ar and aa,
// increase final maxed asw since modernized asw is not included in both as[1] and db
if(this.mod[6] > 0) { stats.as += this.mod[6]; }
return !statAttr ? stats : stats[statAttr];
};
/**
* Left modernize-able stats of this ship.
* @return stats to be maxed modernization
*/
KC3Ship.prototype.modernizeLeftStats = function(statAttr){
if(this.isDummy()) { return false; }
const shipMst = this.master();
const stats = {
fp: shipMst.api_houg[1] - shipMst.api_houg[0] - this.mod[0],
tp: shipMst.api_raig[1] - shipMst.api_raig[0] - this.mod[1],
aa: shipMst.api_tyku[1] - shipMst.api_tyku[0] - this.mod[2],
ar: shipMst.api_souk[1] - shipMst.api_souk[0] - this.mod[3],
lk: this.lk[1] - this.lk[0],
// or: shipMst.api_luck[1] - shipMst.api_luck[0] - this.mod[4],
// current stat (hp[1], as[0]) already includes the modded stat
hp: this.maxHp(true) - this.hp[1],
as: this.maxAswMod() - this.nakedAsw()
};
return !statAttr ? stats : stats[statAttr];
};
/**
* Get number of equipments of specific masterId(s).
* @param masterId - slotitem master ID to be matched, can be an Array.
* @return count of specific equipment.
*/
KC3Ship.prototype.countEquipment = function(masterId, isExslotIncluded = true) {
return this.findEquipmentById(masterId, isExslotIncluded)
.reduce((acc, v) => acc + (!!v & 1), 0);
};
/**
* Get number of equipments of specific type(s).
* @param typeIndex - the index of `slotitem.api_type[]`, see `equiptype.json` for more.
* @param typeValue - the expected type value(s) to be matched, can be an Array.
* @return count of specific type(s) of equipment.
*/
KC3Ship.prototype.countEquipmentType = function(typeIndex, typeValue, isExslotIncluded = true) {
return this.findEquipmentByType(typeIndex, typeValue, isExslotIncluded)
.reduce((acc, v) => acc + (!!v & 1), 0);
};
/**
* Get number of some equipment (aircraft usually) equipped on non-0 slot.
*/
KC3Ship.prototype.countNonZeroSlotEquipment = function(masterId, isExslotIncluded = false) {
return this.findEquipmentById(masterId, isExslotIncluded)
.reduce((acc, v, i) => acc + ((!!v && this.slots[i] > 0) & 1), 0);
};
/**
* Get number of some specific types of equipment (aircraft usually) equipped on non-0 slot.
*/
KC3Ship.prototype.countNonZeroSlotEquipmentType = function(typeIndex, typeValue, isExslotIncluded = false) {
return this.findEquipmentByType(typeIndex, typeValue, isExslotIncluded)
.reduce((acc, v, i) => acc + ((!!v && this.slots[i] > 0) & 1), 0);
};
/**
* Get number of drums held by this ship.
*/
KC3Ship.prototype.countDrums = function(){
return this.countEquipment( 75 );
};
/**
* Indicate if some specific equipment equipped.
*/
KC3Ship.prototype.hasEquipment = function(masterId, isExslotIncluded = true) {
return this.findEquipmentById(masterId, isExslotIncluded).some(v => !!v);
};
/**
* Indicate if some specific types of equipment equipped.
*/
KC3Ship.prototype.hasEquipmentType = function(typeIndex, typeValue, isExslotIncluded = true) {
return this.findEquipmentByType(typeIndex, typeValue, isExslotIncluded).some(v => !!v);
};
/**
* Indicate if some specific equipment (aircraft usually) equipped on non-0 slot.
*/
KC3Ship.prototype.hasNonZeroSlotEquipment = function(masterId, isExslotIncluded = false) {
return this.findEquipmentById(masterId, isExslotIncluded)
.some((v, i) => !!v && this.slots[i] > 0);
};
/**
* Indicate if some specific types of equipment (aircraft usually) equipped on non-0 slot.
*/
KC3Ship.prototype.hasNonZeroSlotEquipmentType = function(typeIndex, typeValue, isExslotIncluded = false) {
return this.findEquipmentByType(typeIndex, typeValue, isExslotIncluded)
.some((v, i) => !!v && this.slots[i] > 0);
};
/**
* Indicate if only specific equipment equipped (empty slot not counted).
*/
KC3Ship.prototype.onlyHasEquipment = function(masterId, isExslotIncluded = true) {
const equipmentCount = this.equipmentCount(isExslotIncluded);
return equipmentCount > 0 &&
equipmentCount === this.countEquipment(masterId, isExslotIncluded);
};
/**
* Indicate if only specific types of equipment equipped (empty slot not counted).
*/
KC3Ship.prototype.onlyHasEquipmentType = function(typeIndex, typeValue, isExslotIncluded = true) {
const equipmentCount = this.equipmentCount(isExslotIncluded);
return equipmentCount > 0 &&
equipmentCount === this.countEquipmentType(typeIndex, typeValue, isExslotIncluded);
};
/**
* Simple method to find equipment by Master ID from current ship's equipment.
* @return the mapped Array to indicate equipment found or not at corresponding position,
* max 6-elements including ex-slot.
*/
KC3Ship.prototype.findEquipmentById = function(masterId, isExslotIncluded = true) {
return this.equipment(isExslotIncluded).map(gear =>
Array.isArray(masterId) ? masterId.includes(gear.masterId) :
masterId === gear.masterId
);
};
/**
* Simple method to find equipment by Type ID from current ship's equipment.
* @return the mapped Array to indicate equipment found or not at corresponding position,
* max 6-elements including ex-slot.
*/
KC3Ship.prototype.findEquipmentByType = function(typeIndex, typeValue, isExslotIncluded = true) {
return this.equipment(isExslotIncluded).map(gear =>
gear.exists() && (
Array.isArray(typeValue) ? typeValue.includes(gear.master().api_type[typeIndex]) :
typeValue === gear.master().api_type[typeIndex]
)
);
};
/* FIND DAMECON
Find first available damecon.
search order: extra slot -> 1st slot -> 2ns slot -> 3rd slot -> 4th slot -> 5th slot
return: {pos: <pos>, code: <code>}
pos: 1-5 for normal slots, 0 for extra slot, -1 if not found.
code: 0 if not found, 1 for repair team, 2 for goddess
----------------------------------------- */
KC3Ship.prototype.findDameCon = function() {
const allItems = [ {pos: 0, item: this.exItem() } ];
allItems.push(...this.equipment(false).map((g, i) => ({pos: i + 1, item: g}) ));
const damecon = allItems.filter(x => (
// 42: repair team
// 43: repair goddess
x.item.masterId === 42 || x.item.masterId === 43
)).map(x => (
{pos: x.pos,
code: x.item.masterId === 42 ? 1
: x.item.masterId === 43 ? 2
: 0}
));
return damecon.length > 0 ? damecon[0] : {pos: -1, code: 0};
};
/**
* Static method of the same logic to find available damecon to be used first.
* @param equipArray - the master ID array of ship's all equipment including ex-slot at the last.
* for 5-slot ship, array supposed to be 6 elements; otherwise should be always 5 elements.
* @see KC3Ship.prototype.findDameCon
* @see main.js#ShipModelReplica.prototype.useRepairItem - the repair items using order and the type codes
*/
KC3Ship.findDamecon = function(equipArray = []) {
// push last item from ex-slot to 1st
const sortedMstIds = equipArray.slice(-1);
sortedMstIds.push(...equipArray.slice(0, -1));
const dameconId = sortedMstIds.find(id => id === 42 || id === 43);
// code 1 for repair team, 2 for repair goddess
return dameconId === 42 ? 1 : dameconId === 43 ? 2 : 0;
};
/* CALCULATE TRANSPORT POINT
Retrieve TP object related to the current ship
** TP Object Detail --
value: known value that were calculated for
clear: is the value already clear or not? it's a NaN like.
**
--------------------------------------------------------------*/
KC3Ship.prototype.obtainTP = function() {
var tp = KC3Meta.tpObtained();
if (this.isDummy()) { return tp; }
if (!(this.isAbsent() || this.isTaiha())) {
var tp1,tp2,tp3;
tp1 = String(tp.add(KC3Meta.tpObtained({stype:this.master().api_stype})));
tp2 = String(tp.add(KC3Meta.tpObtained({slots:this.equipment().map(function(slot){return slot.masterId;})})));
tp3 = String(tp.add(KC3Meta.tpObtained({slots:[this.exItem().masterId]})));
// Special case of Kinu Kai 2: Daihatsu embedded :)
if (this.masterId == 487) {
tp.add(KC3Meta.tpObtained({slots:[68]}));
}
}
return tp;
};
/* FIGHTER POWER
Get fighter power of this ship
--------------------------------------------------------------*/
KC3Ship.prototype.fighterPower = function(){
if(this.isDummy()){ return 0; }
return this.equipment().map((g, i) => g.fighterPower(this.slots[i])).sumValues();
};
/* FIGHTER POWER with WHOLE NUMBER BONUS
Get fighter power of this ship as an array
with consideration to whole number proficiency bonus
--------------------------------------------------------------*/
KC3Ship.prototype.fighterVeteran = function(){
if(this.isDummy()){ return 0; }
return this.equipment().map((g, i) => g.fighterVeteran(this.slots[i])).sumValues();
};
/* FIGHTER POWER with LOWER AND UPPER BOUNDS
Get fighter power of this ship as an array
with consideration to min-max bonus
--------------------------------------------------------------*/
KC3Ship.prototype.fighterBounds = function(forLbas = false){
if(this.isDummy()){ return [0, 0]; }
const powerBounds = this.equipment().map((g, i) => g.fighterBounds(this.slots[i], forLbas));
const reconModifier = this.fighterPowerReconModifier(forLbas);
return [
Math.floor(powerBounds.map(b => b[0]).sumValues() * reconModifier),
Math.floor(powerBounds.map(b => b[1]).sumValues() * reconModifier)
];
};
/**
* @return value under verification of LB Recon modifier to LBAS sortie fighter power.
*/
KC3Ship.prototype.fighterPowerReconModifier = function(forLbas = false){
var reconModifier = 1;
this.equipment(function(id, idx, gear){
if(!id || gear.isDummy()){ return; }
const type2 = gear.master().api_type[2];
// LB Recon Aircraft
if(forLbas && type2 === 49){
const los = gear.master().api_saku;
reconModifier = Math.max(reconModifier,
los >= 9 ? 1.18 : 1.15
);
}
});
return reconModifier;
};
/* FIGHTER POWER on Air Defense with INTERCEPTOR FORMULA
Recon plane gives a modifier to total interception power
--------------------------------------------------------------*/
KC3Ship.prototype.interceptionPower = function(){
if(this.isDummy()){ return 0; }
var reconModifier = 1;
this.equipment(function(id, idx, gear){
if(!id || gear.isDummy()){ return; }
const type2 = gear.master().api_type[2];
if(KC3GearManager.landBaseReconnType2Ids.includes(type2)){
const los = gear.master().api_saku;
// Carrier Recon Aircraft
if(type2 === 9){
reconModifier = Math.max(reconModifier,
(los <= 7) ? 1.2 :
(los >= 9) ? 1.3 :
1.2 // unknown
);
// LB Recon Aircraft
} else if(type2 === 49){
reconModifier = Math.max(reconModifier,
(los <= 7) ? 1.18 : // unknown
(los >= 9) ? 1.23 :
1.18
);
// Recon Seaplane, Flying Boat, etc
} else {
reconModifier = Math.max(reconModifier,
(los <= 7) ? 1.1 :
(los >= 9) ? 1.16 :
1.13
);
}
}
});
var interceptionPower = this.equipment()
.map((g, i) => g.interceptionPower(this.slots[i]))
.sumValues();
return Math.floor(interceptionPower * reconModifier);
};
/* SUPPORT POWER
* Get support expedition shelling power of this ship
* http://kancolle.wikia.com/wiki/Expedition/Support_Expedition
* http://wikiwiki.jp/kancolle/?%BB%D9%B1%E7%B4%CF%C2%E2
--------------------------------------------------------------*/
KC3Ship.prototype.supportPower = function(){
if(this.isDummy()){ return 0; }
const fixedFP = this.estimateNakedStats("fp") - 1;
var supportPower = 0;
// for carrier series: CV, CVL, CVB
if(this.isCarrier()){
supportPower = fixedFP;
supportPower += this.equipmentTotalStats("raig");
supportPower += Math.floor(1.3 * this.equipmentTotalStats("baku"));
// will not attack if no dive/torpedo bomber equipped
if(supportPower === fixedFP){
supportPower = 0;
} else {
supportPower = Math.floor(1.5 * supportPower);
supportPower += 55;
}
} else {
// Explicit fire power bonus from equipment on specific ship taken into account:
// http://ja.kancolle.wikia.com/wiki/%E3%82%B9%E3%83%AC%E3%83%83%E3%83%89:2354#13
// so better to use current fp value from `api_karyoku` (including naked fp + all equipment fp),
// to avoid the case that fp bonus not accurately updated in time.
supportPower = 5 + this.fp[0] - 1;
// should be the same value with above if `equipmentTotalStats` works properly
//supportPower = 5 + fixedFP + this.equipmentTotalStats("houg");
}
return supportPower;
};
/**
* Get basic pre-cap shelling fire power of this ship (without pre-cap / post-cap modifiers).
*
* @param {number} combinedFleetFactor - additional power if ship is on a combined fleet.
* @param {boolean} isTargetLand - if the power is applied to a land-installation target.
* @return {number} computed fire power, return 0 if unavailable.
* @see http://kancolle.wikia.com/wiki/Damage_Calculation
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#ua92169d
*/
KC3Ship.prototype.shellingFirePower = function(combinedFleetFactor = 0, isTargetLand = false){
if(this.isDummy()) { return 0; }
let isCarrierShelling = this.isCarrier();
if(!isCarrierShelling) {
// Hayasui Kai gets special when any Torpedo Bomber equipped
isCarrierShelling = this.masterId === 352 && this.hasEquipmentType(2, 8);
}
let shellingPower = this.fp[0];
if(isCarrierShelling) {
if(isTargetLand) {
// https://wikiwiki.jp/kancolle/%E6%88%A6%E9%97%98%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6#od036af3
// https://wikiwiki.jp/kancolle/%E5%AF%BE%E5%9C%B0%E6%94%BB%E6%92%83#AGCalcCV
// TP from all Torpedo Bombers not taken into account, DV power counted,
// current TB with DV power: TBM-3W+3S
// Regular Dive Bombers make carrier cannot attack against land-installation,
// except following: Ju87C Kai, Prototype Nanzan, F4U-1D, FM-2, Ju87C Kai Ni (variants),
// Suisei Model 12 (634 Air Group w/Type 3 Cluster Bombs)
// DV power from items other than previous ones should not be counted
const tbBaku = this.equipmentTotalStats("baku", true, false, false, [8, 58]);
const dbBaku = this.equipmentTotalStats("baku", true, false, false, [7, 57],
KC3GearManager.antiLandDiveBomberIds);
shellingPower += Math.floor(1.3 * (tbBaku + dbBaku));
} else {
// Should limit to TP from equippable aircraft?
// TP visible bonus from Torpedo Bombers no effect.
// DV visible bonus not implemented yet, unknown.
shellingPower += this.equipmentTotalStats("raig", true, false);
shellingPower += Math.floor(1.3 * this.equipmentTotalStats("baku"), true, false);
}
shellingPower += combinedFleetFactor;
shellingPower += this.equipmentTotalImprovementBonus("airattack");
shellingPower = Math.floor(1.5 * shellingPower);
shellingPower += 50;
} else {
shellingPower += combinedFleetFactor;
shellingPower += this.equipmentTotalImprovementBonus("fire");
}
// 5 is attack power constant also used everywhere
shellingPower += 5;
return shellingPower;
};
/**
* Get pre-cap torpedo power of this ship.
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#n377a90c
*/
KC3Ship.prototype.shellingTorpedoPower = function(combinedFleetFactor = 0){
if(this.isDummy()) { return 0; }
return 5 + this.tp[0] + combinedFleetFactor +
this.equipmentTotalImprovementBonus("torpedo");
};
KC3Ship.prototype.isAswAirAttack = function(){
// check asw attack type, 1530 is Abyssal Submarine Ka-Class
return this.estimateDayAttackType(1530, false)[0] === "AirAttack";
};
/**
* Get pre-cap anti-sub power of this ship.
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#AntiSubmarine
*/
KC3Ship.prototype.antiSubWarfarePower = function(aswDiff = 0){
if(this.isDummy()) { return 0; }
const isAirAttack = this.isAswAirAttack();
const attackMethodConst = isAirAttack ? 8 : 13;
const nakedAsw = this.nakedAsw() + aswDiff;
// only asw stat from partial types of equipment taken into account
const equipmentTotalAsw = this.effectiveEquipmentTotalAsw(isAirAttack);
let aswPower = attackMethodConst;
aswPower += 2 * Math.sqrt(nakedAsw);
aswPower += 1.5 * equipmentTotalAsw;
aswPower += this.equipmentTotalImprovementBonus("asw");
// should move synergy modifier to pre-cap?
let synergyModifier = 1;
// new DC + DCP synergy (x1.1 / x1.25)
const isNewDepthChargeEquipped = this.equipment(true).some(g => g.isDepthCharge());
const isDepthChargeProjectorEquipped = this.equipment(true).some(g => g.isDepthChargeProjector());
if(isNewDepthChargeEquipped && isDepthChargeProjectorEquipped) {
// Large Sonar, like T0 Sonar, not counted here
const isSonarEquipped = this.hasEquipmentType(2, 14);
synergyModifier = isSonarEquipped ? 1.25 : 1.1;
}
// legacy all types of sonar + all DC(P) synergy (x1.15)
synergyModifier *= this.hasEquipmentType(3, 18) && this.hasEquipmentType(3, 17) ? 1.15 : 1;
aswPower *= synergyModifier;
return aswPower;
};
/**
* Get anti-installation power against all possible types of installations.
* Will choose meaningful installation types based on current equipment.
* Special attacks and battle conditions are not taken into consideration.
* @return {array} with element {Object} that has attributes:
* * enemy: Enemy ID to get icon
* * dayPower: Day attack power of ship
* * nightPower: Night attack power of ship
* * modifiers: Known anti-installation modifiers
* * damagedPowers: Day & night attack power tuple on Chuuha ship
* @see estimateInstallationEnemyType for kc3-unique installation types
*/
KC3Ship.prototype.shipPossibleAntiLandPowers = function(){
if(this.isDummy()) { return []; }
let possibleTypes = [];
const hasAntiLandRocket = this.hasEquipment([126, 346, 347, 348, 349]);
const hasT3Shell = this.hasEquipmentType(2, 18);
const hasLandingCraft = this.hasEquipmentType(2, [24, 46]);
// WG42 variants/landing craft-type eligible for all
if (hasAntiLandRocket || hasLandingCraft){
possibleTypes = [1, 2, 3, 4, 5, 6];
}
// T3 Shell eligible for all except Pillbox
else if(hasT3Shell){
possibleTypes = [1, 3, 4, 5, 6];
}
// Return empty if no anti-installation weapon found
else {
return [];
}
// Dummy target enemy IDs, also used for abyssal icons
// 1573: Harbor Princess, 1665: Artillery Imp, 1668: Isolated Island Princess
// 1656: Supply Depot Princess - Damaged, 1699: Summer Harbor Princess
// 1753: Summer Supply Depot Princess
const dummyEnemyList = [1573, 1665, 1668, 1656, 1699, 1753];
const basicPower = this.shellingFirePower();
const resultList = [];
// Fill damage lists for each enemy type
possibleTypes.forEach(installationType => {
const obj = {};
const dummyEnemy = dummyEnemyList[installationType - 1];
// Modifiers from special attacks, battle conditions are not counted for now
const fixedPreConds = ["Shelling", 1, undefined, [], false, false, dummyEnemy],
fixedPostConds = ["Shelling", [], 0, false, false, 0, false, dummyEnemy];
const {power: precap, antiLandModifier, antiLandAdditive} = this.applyPrecapModifiers(basicPower, ...fixedPreConds);
let {power} = this.applyPowerCap(precap, "Day", "Shelling");
const postcapInfo = this.applyPostcapModifiers(power, ...fixedPostConds);
power = postcapInfo.power;
obj.enemy = dummyEnemy;
obj.modifiers = {
antiLandModifier,
antiLandAdditive,
postCapAntiLandModifier: postcapInfo.antiLandModifier,
postCapAntiLandAdditive: postcapInfo.antiLandAdditive
};
obj.dayPower = Math.floor(power);
// Still use day time pre-cap shelling power, without TP value.
// Power constant +5 included, if assumes night contact is triggered.
power = precap;
({power} = this.applyPowerCap(power, "Night", "Shelling"));
({power} = this.applyPostcapModifiers(power, ...fixedPostConds));
obj.nightPower = Math.floor(power);
// Get Chuuha day attack power (in case of nuke setups)
fixedPreConds.push("chuuha");
const {power: damagedPrecap} = this.applyPrecapModifiers(basicPower, ...fixedPreConds);
({power} = this.applyPowerCap(damagedPrecap, "Day", "Shelling"));
({power} = this.applyPostcapModifiers(power, ...fixedPostConds));
obj.damagedPowers = [Math.floor(power)];
// Get Chuuha night power
({power} = this.applyPowerCap(damagedPrecap, "Night", "Shelling"));
({power} = this.applyPostcapModifiers(power, ...fixedPostConds));
obj.damagedPowers.push(Math.floor(power));
resultList.push(obj);
});
return resultList;
};
/**
* Calculate landing craft pre-cap/post-cap bonus depending on installation type.
* @param installationType - kc3-unique installation types
* @return {number} multiplier of landing craft
* @see estimateInstallationEnemyType
* @see http://kancolle.wikia.com/wiki/Partials/Anti-Installation_Weapons
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#antiground
*/
KC3Ship.prototype.calcLandingCraftBonus = function(installationType = 0){
if(this.isDummy() || ![1, 2, 3, 4, 5, 6].includes(installationType)) { return 0; }
// 6 types of Daihatsu Landing Craft with known bonus:
// * 167: Special Type 2 Amphibious Tank
// * 166: Daihatsu Landing Craft (Type 89 Medium Tank & Landing Force)
// * 68 : Daihatsu Landing Craft
// * 230: Toku Daihatsu Landing Craft + 11th Tank Regiment
// * 193: Toku Daihatsu Landing Craft (most bonuses unknown)
// * 355: M4A1 DD
const landingCraftIds = [167, 166, 68, 230, 193, 355];
const landingCraftCounts = landingCraftIds.map(id => this.countEquipment(id));
const landingModifiers = KC3GearManager.landingCraftModifiers[installationType - 1] || {};
const getModifier = (type, forImp = false) => (
(landingModifiers[forImp ? "improvement" : "modifier"] || [])[type] || (forImp ? 0 : 1)
);
let tankBonus = 1;
const landingBonus = [1], landingImprovementBonus = [0];
/**
* Highest landing craft modifier is selected
* (Speculative) Then, highest landing craft improvement modifier is selected
* If two or more of the same equipment present, take average improvement level
*
* Then, multiply total landing modifier with tank modifier
* There are some enemies with recorded modifiers for two or more of same equipment,
* those will take priority
*/
// Arrange equipment in terms of priority
landingCraftCounts.forEach((count, type) => {
let improvement = 0;
this.equipment().forEach((g, i) => {
if(g.exists() && g.masterId === landingCraftIds[type]) {
improvement += g.stars;
}
});
// Two (or more) Type 2 Tank bonus (Currently only for Supply Depot and Pillbox)
if(count > 1 && type === 0 && [2, 4].includes(installationType)) {
tankBonus = installationType === 2 ? 3.2 : 2.5;
tankBonus *= 1 + improvement / count / 30;
}
// Type 2 Tank bonus
else if(count > 0 && type === 0) {
tankBonus = getModifier(type) + getModifier(type, true) * improvement / count;
}
// Bonus for two Type 89 Tank (Pillbox, Supply Depot and Isolated Island)
else if(count > 1 && type === 1 && [2, 3, 4].includes(installationType)) {
landingBonus.push(installationType === 4 ? 2.08 : 3 );
landingImprovementBonus.push((installationType === 4 ? 0.0416 : 0.06) * improvement / count);
}
// Otherwise, match modifier and improvement
else if(count > 0) {
landingBonus.push(getModifier(type));
landingImprovementBonus.push(getModifier(type, true) * improvement / count);
}
});
// Multiply modifiers
return tankBonus * (Math.max(...landingBonus) + Math.max(...landingImprovementBonus));
};
/**
* Get anti land installation power bonus & multiplier of this ship.
* @param targetShipMasterId - target land installation master ID.
* @param precap - type of bonus, false for post-cap, pre-cap by default.
* @param warfareType - to indicate if use different modifiers for phases other than day shelling.
* @see https://kancolle.fandom.com/wiki/Combat/Installation_Type
* @see https://wikiwiki.jp/kancolle/%E5%AF%BE%E5%9C%B0%E6%94%BB%E6%92%83#AGBonus
* @see https://twitter.com/T3_1206/status/994258061081505792
* @see https://twitter.com/KennethWWKK/status/1045315639127109634
* @see https://yy406myon.hatenablog.jp/entry/2018/09/14/213114
* @see https://cdn.discordapp.com/attachments/425302689887289344/614879250419417132/ECrra66VUAAzYMc.jpg_orig.jpg
* @see https://github.com/Nishisonic/UnexpectedDamage/blob/master/UnexpectedDamage.js
* @see estimateInstallationEnemyType
* @see calcLandingCraftBonus
* @return {Array} of [additive damage boost, multiplicative damage boost, precap submarine additive, precap tank additive, precap m4a1dd multiplicative]
*/
KC3Ship.prototype.antiLandWarfarePowerMods = function(targetShipMasterId = 0, precap = true, warfareType = "Shelling"){
if(this.isDummy()) { return [0, 1]; }
const installationType = this.estimateInstallationEnemyType(targetShipMasterId, precap);
if(!installationType) { return [0, 1]; }
const wg42Count = this.countEquipment(126);
const mortarCount = this.countEquipment(346);
const mortarCdCount = this.countEquipment(347);
const type4RocketCount = this.countEquipment(348);
const type4RocketCdCount = this.countEquipment(349);
const hasT3Shell = this.hasEquipmentType(2, 18);
const alDiveBomberCount = this.countEquipment(KC3GearManager.antiLandDiveBomberIds);
let wg42Bonus = 1;
let type4RocketBonus = 1;
let mortarBonus = 1;
let t3Bonus = 1;
let apShellBonus = 1;
let seaplaneBonus = 1;
let alDiveBomberBonus = 1;
let airstrikeBomberBonus = 1;
const submarineBonus = this.isSubmarine() ? 30 : 0;
const landingBonus = this.calcLandingCraftBonus(installationType);
const shikonCount = this.countEquipment(230);
const m4a1ddCount = this.countEquipment(355);
const shikonBonus = 25 * (shikonCount + m4a1ddCount);
const m4a1ddModifier = m4a1ddCount ? 1.4 : 1;
if(precap) {
// [0, 70, 110, 140, 160] additive for each WG42 from PSVita KCKai, unknown for > 4
const wg42Additive = !wg42Count ? 0 : [0, 75, 110, 140, 160][wg42Count] || 160;
const type4RocketAdditive = !type4RocketCount ? 0 : [0, 55, 115, 160, 190][type4RocketCount] || 190;
const type4RocketCdAdditive = !type4RocketCdCount ? 0 : [0, 80, 170][type4RocketCdCount] || 170;
const mortarAdditive = !mortarCount ? 0 : [0, 30, 55, 75, 90][mortarCount] || 90;
const mortarCdAdditive = !mortarCdCount ? 0 : [0, 60, 110, 150][mortarCdCount] || 150;
const rocketsAdditive = wg42Additive + type4RocketAdditive + type4RocketCdAdditive + mortarAdditive + mortarCdAdditive;
switch(installationType) {
case 1: // Soft-skinned, general type of land installation
// 2.5x multiplicative for at least one T3
t3Bonus = hasT3Shell ? 2.5 : 1;
seaplaneBonus = this.hasEquipmentType(2, [11, 45]) ? 1.2 : 1;
wg42Bonus = [1, 1.3, 1.82][wg42Count] || 1.82;
type4RocketBonus = [1, 1.25, 1.25 * 1.5][type4RocketCount + type4RocketCdCount] || 1.875;
mortarBonus = [1, 1.2, 1.2 * 1.3][mortarCount + mortarCdCount] || 1.56;
return [rocketsAdditive,
t3Bonus * seaplaneBonus * wg42Bonus * type4RocketBonus * mortarBonus * landingBonus,
submarineBonus, shikonBonus, m4a1ddModifier];
case 2: // Pillbox, Artillery Imp
// Works even if slot is zeroed
seaplaneBonus = this.hasEquipmentType(2, [11, 45]) ? 1.5 : 1;
alDiveBomberBonus = [1, 1.5, 1.5 * 2.0][alDiveBomberCount] || 3;
// DD/CL bonus
const lightShipBonus = [2, 3].includes(this.master().api_stype) ? 1.4 : 1;
// Multiplicative WG42 bonus
wg42Bonus = [1, 1.6, 2.72][wg42Count] || 2.72;
type4RocketBonus = [1, 1.5, 1.5 * 1.8][type4RocketCount + type4RocketCdCount] || 2.7;
mortarBonus = [1, 1.3, 1.3 * 1.5][mortarCount + mortarCdCount] || 1.95;
apShellBonus = this.hasEquipmentType(2, 19) ? 1.85 : 1;
// Set additive modifier, multiply multiplicative modifiers
return [rocketsAdditive,
seaplaneBonus * alDiveBomberBonus * lightShipBonus
* wg42Bonus * type4RocketBonus * mortarBonus * apShellBonus * landingBonus,
submarineBonus, shikonBonus, m4a1ddModifier];
case 3: // Isolated Island Princess
alDiveBomberBonus = [1, 1.4, 1.4 * 1.75][alDiveBomberCount] || 2.45;
t3Bonus = hasT3Shell ? 1.75 : 1;
wg42Bonus = [1, 1.4, 2.1][wg42Count] || 2.1;
type4RocketBonus = [1, 1.3, 1.3 * 1.65][type4RocketCount + type4RocketCdCount] || 2.145;
mortarBonus = [1, 1.2, 1.2 * 1.4][mortarCount + mortarCdCount] || 1.68;
// Set additive modifier, multiply multiplicative modifiers
return [rocketsAdditive, alDiveBomberBonus * t3Bonus
* wg42Bonus * type4RocketBonus * mortarBonus * landingBonus,
0, shikonBonus, m4a1ddModifier];
case 5: // Summer Harbor Princess
seaplaneBonus = this.hasEquipmentType(2, [11, 45]) ? 1.3 : 1;
alDiveBomberBonus = [1, 1.3, 1.3 * 1.2][alDiveBomberCount] || 1.56;
wg42Bonus = [1, 1.4, 2.1][wg42Count] || 2.1;
t3Bonus = hasT3Shell ? 1.75 : 1;
type4RocketBonus = [1, 1.25, 1.25 * 1.4][type4RocketCount + type4RocketCdCount] || 1.75;
mortarBonus = [1, 1.1, 1.1 * 1.15][mortarCount + mortarCdCount] || 1.265;
apShellBonus = this.hasEquipmentType(2, 19) ? 1.3 : 1;
// Set additive modifier, multiply multiplicative modifiers
return [rocketsAdditive, seaplaneBonus * alDiveBomberBonus * t3Bonus
* wg42Bonus * type4RocketBonus * mortarBonus * apShellBonus * landingBonus,
0, shikonBonus, m4a1ddModifier];
}
} else { // Post-cap types
switch(installationType) {
case 2: // Pillbox, Artillery Imp
// Dive Bomber, Seaplane Bomber, LBAA, Jet Bomber on airstrike phase
airstrikeBomberBonus = warfareType === "Aerial" &&
this.hasEquipmentType(2, [7, 11, 47, 57]) ? 1.55 : 1;
return [0, airstrikeBomberBonus, 0, 0, 1];
case 3: // Isolated Island Princess
airstrikeBomberBonus = warfareType === "Aerial" &&
this.hasEquipmentType(2, [7, 11, 47, 57]) ? 1.7 : 1;
return [0, airstrikeBomberBonus, 0, 0, 1];
case 4: // Supply Depot Princess
wg42Bonus = [1, 1.45, 1.625][wg42Count] || 1.625;
type4RocketBonus = [1, 1.2, 1.2 * 1.4][type4RocketCount + type4RocketCdCount] || 1.68;
mortarBonus = [1, 1.15, 1.15 * 1.2][mortarCount + mortarCdCount] || 1.38;
return [0, wg42Bonus * type4RocketBonus * mortarBonus * landingBonus, 0, 0, 1];
case 6: // Summer Supply Depot Princess (shikon bonus only)
return [0, landingBonus, 0, 0, 1];
}
}
return [0, 1, 0, 0, 1];
};
/**
* Get post-cap airstrike power tuple of this ship.
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#b8c008fa
* @see KC3Gear.prototype.airstrikePower
*/
KC3Ship.prototype.airstrikePower = function(combinedFleetFactor = 0,
isJetAssaultPhase = false, contactPlaneId = 0, isCritical = false){
const totalPower = [0, 0, false];
if(this.isDummy()) { return totalPower; }
// no ex-slot by default since no plane can be equipped on ex-slot for now
this.equipment().forEach((gear, i) => {
if(this.slots[i] > 0 && gear.isAirstrikeAircraft()) {
const power = gear.airstrikePower(this.slots[i], combinedFleetFactor, isJetAssaultPhase);
const isRange = !!power[2];
const capped = [
this.applyPowerCap(power[0], "Day", "Aerial").power,
isRange ? this.applyPowerCap(power[1], "Day", "Aerial").power : 0
];
const postCapped = [
Math.floor(this.applyPostcapModifiers(capped[0], "Aerial", undefined, contactPlaneId, isCritical).power),
isRange ? Math.floor(this.applyPostcapModifiers(capped[1], "Aerial", undefined, contactPlaneId, isCritical).power) : 0
];
totalPower[0] += postCapped[0];
totalPower[1] += isRange ? postCapped[1] : postCapped[0];
totalPower[2] = totalPower[2] || isRange;
}
});
return totalPower;
};
/**
* Get pre-cap night battle power of this ship.
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#b717e35a
*/
KC3Ship.prototype.nightBattlePower = function(isNightContacted = false){
if(this.isDummy()) { return 0; }
// Night contact power bonus based on recon accuracy value: 1: 5, 2: 7, >=3: 9
// but currently only Type 98 Night Recon implemented (acc: 1), so always +5
return (isNightContacted ? 5 : 0) + this.fp[0] + this.tp[0]
+ this.equipmentTotalImprovementBonus("yasen");
};
/**
* Get pre-cap carrier night aerial attack power of this ship.
* This formula is the same with the one above besides slot bonus part and filtered equipment stats.
* @see http://kancolle.wikia.com/wiki/Damage_Calculation
* @see https://wikiwiki.jp/kancolle/%E6%88%A6%E9%97%98%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6#nightAS
* @see https://wikiwiki.jp/kancolle/%E5%AF%BE%E5%9C%B0%E6%94%BB%E6%92%83#AGCalcCVN
*/
KC3Ship.prototype.nightAirAttackPower = function(isNightContacted = false, isTargetLand = false){
if(this.isDummy()) { return 0; }
const equipTotals = {
fp: 0, tp: 0, dv: 0, slotBonus: 0, improveBonus: 0
};
// Generally, power from only night capable aircraft will be taken into account.
// For Ark Royal (Kai) + Swordfish - Night Aircraft (despite of NOAP), only Swordfish counted.
const isThisArkRoyal = [515, 393].includes(this.masterId);
const isLegacyArkRoyal = isThisArkRoyal && !this.canCarrierNightAirAttack();
this.equipment().forEach((gear, idx) => {
if(gear.exists()) {
const master = gear.master();
const slot = this.slots[idx];
const isNightAircraftType = KC3GearManager.nightAircraftType3Ids.includes(master.api_type[3]);
// Swordfish variants as special torpedo bombers
const isSwordfish = [242, 243, 244].includes(gear.masterId);
// Zero Fighter Model 62 (Fighter-bomber Iwai Squadron)
// Suisei Model 12 (Type 31 Photoelectric Fuze Bombs)
const isSpecialNightPlane = [154, 320].includes(gear.masterId);
const isNightPlane = isLegacyArkRoyal ? isSwordfish :
isNightAircraftType || isSwordfish || isSpecialNightPlane;
if(isNightPlane && slot > 0) {
equipTotals.fp += master.api_houg || 0;
if(!isTargetLand) equipTotals.tp += master.api_raig || 0;
equipTotals.dv += master.api_baku || 0;
if(!isLegacyArkRoyal) {
// Bonus from night aircraft slot which also takes bombing and asw stats into account
equipTotals.slotBonus += slot * (isNightAircraftType ? 3 : 0);
const ftbaPower = master.api_houg + master.api_raig + master.api_baku + master.api_tais;
equipTotals.slotBonus += Math.sqrt(slot) * ftbaPower * (isNightAircraftType ? 0.45 : 0.3);
}
equipTotals.improveBonus += gear.attackPowerImprovementBonus("yasen");
}
}
});
// No effect for both visible fp and tp bonus
let shellingPower = this.estimateNakedStats("fp");
shellingPower += equipTotals.fp + equipTotals.tp + equipTotals.dv;
shellingPower += equipTotals.slotBonus;
shellingPower += equipTotals.improveBonus;
shellingPower += isNightContacted ? 5 : 0;
return shellingPower;
};
/**
* Apply known pre-cap modifiers to attack power.
* @return {Object} capped power and applied modifiers.
* @see http://kancolle.wikia.com/wiki/Damage_Calculation
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#beforecap
* @see https://twitter.com/Nishisonic/status/893030749913227264
*/
KC3Ship.prototype.applyPrecapModifiers = function(basicPower, warfareType = "Shelling",
engagementId = 1, formationId = ConfigManager.aaFormation, nightSpecialAttackType = [],
isNightStart = false, isCombined = false, targetShipMasterId = 0,
damageStatus = this.damageStatus()){
// Engagement modifier
let engagementModifier = (warfareType === "Aerial" ? [] : [0, 1, 0.8, 1.2, 0.6])[engagementId] || 1;
// Formation modifier, about formation IDs:
// ID 1~5: Line Ahead / Double Line / Diamond / Echelon / Line Abreast
// ID 6: new Vanguard formation since 2017-11-17
// ID 11~14: 1st anti-sub / 2nd forward / 3rd diamond / 4th battle
// 0 are placeholders for non-exists ID
let formationModifier = (
warfareType === "Antisub" ?
[0, 0.6, 0.8, 1.2, 1.1 , 1.3, 1, 0, 0, 0, 0, 1.3, 1.1, 1 , 0.7] :
warfareType === "Shelling" ?
[0, 1 , 0.8, 0.7, 0.75, 0.6, 1, 0, 0, 0, 0, 0.8, 1 , 0.7, 1.1] :
warfareType === "Torpedo" ?
[0, 1 , 0.8, 0.7, 0.6 , 0.6, 1, 0, 0, 0, 0, 0.8, 1 , 0.7, 1.1] :
// other warefare types like Aerial Opening Airstrike not affected
[]
)[formationId] || 1;
// TODO Any side Echelon vs Combined Fleet, shelling mod is 0.6?
// Modifier of vanguard formation depends on the position in the fleet
if(formationId === 6) {
const [shipPos, shipCnt] = this.fleetPosition();
// Vanguard formation needs 4 ships at least, fake ID make no sense
if(shipCnt >= 4) {
// Guardian ships counted from 3rd or 4th ship
const isGuardian = shipPos >= Math.floor(shipCnt / 2);
if(warfareType === "Shelling") {
formationModifier = isGuardian ? 1 : 0.5;
} else if(warfareType === "Antisub") {
formationModifier = isGuardian ? 0.6 : 1;
}
}
}
// Non-empty attack type tuple means this supposed to be night battle
const isNightBattle = nightSpecialAttackType.length > 0;
const canNightAntisub = warfareType === "Antisub" && (isNightStart || isCombined);
// No engagement and formation modifier except night starts / combined ASW attack
// Vanguard still applies for night battle
if(isNightBattle && !canNightAntisub) {
engagementModifier = 1;
formationModifier = formationId !== 6 ? 1 : formationModifier;
}
// Damage percent modifier
// http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#m8aa1749
const damageModifier = (!isNightBattle && warfareType === "Torpedo" ? {
// Day time only affect Opening Torpedo in fact, Chuuha cannot Closing at all
// Night time unmentioned, assume to be the same with shelling
"chuuha": 0.8,
"taiha": 0.0
} : (isNightBattle && warfareType === "Torpedo") || warfareType === "Shelling" || warfareType === "Antisub" ? {
"chuuha": 0.7,
"taiha": 0.4
} : // Aerial Opening Airstrike not affected
{})[damageStatus] || 1;
// Night special attack modifier, should not x2 although some types attack 2 times
const nightCutinModifier = nightSpecialAttackType[0] === "Cutin" &&
nightSpecialAttackType[3] > 0 ? nightSpecialAttackType[3] : 1;
// Anti-installation modifiers
const targetShipType = this.estimateTargetShipType(targetShipMasterId);
let antiLandAdditive = 0, antiLandModifier = 1, subAntiLandAdditive = 0, tankAdditive = 0, tankModifier = 1;
if(targetShipType.isLand) {
[antiLandAdditive, antiLandModifier, subAntiLandAdditive, tankAdditive, tankModifier] = this.antiLandWarfarePowerMods(targetShipMasterId, true, warfareType);
}
// Apply modifiers, flooring unknown, multiply and add anti-land modifiers first
let result = (((basicPower + subAntiLandAdditive) * antiLandModifier + tankAdditive) * tankModifier + antiLandAdditive)
* engagementModifier * formationModifier * damageModifier * nightCutinModifier;
// Light Cruiser fit gun bonus, should not applied before modifiers
const stype = this.master().api_stype;
const ctype = this.master().api_ctype;
const isThisLightCruiser = [2, 3, 21].includes(stype);
let lightCruiserBonus = 0;
if(isThisLightCruiser && warfareType !== "Antisub") {
// 14cm, 15.2cm
const singleMountCnt = this.countEquipment([4, 11]);
const twinMountCnt = this.countEquipment([65, 119, 139]);
lightCruiserBonus = Math.sqrt(singleMountCnt) + 2 * Math.sqrt(twinMountCnt);
result += lightCruiserBonus;
}
// Italian Heavy Cruiser (Zara class) fit gun bonus
const isThisZaraClass = ctype === 64;
let italianHeavyCruiserBonus = 0;
if(isThisZaraClass) {
// 203mm/53
const itaTwinMountCnt = this.countEquipment(162);
italianHeavyCruiserBonus = Math.sqrt(itaTwinMountCnt);
result += italianHeavyCruiserBonus;
}
// Night battle anti-sub regular battle condition forced to no damage
const aswLimitation = isNightBattle && warfareType === "Antisub" && !canNightAntisub ? 0 : 1;
result *= aswLimitation;
return {
power: result,
engagementModifier,
formationModifier,
damageModifier,
nightCutinModifier,
antiLandModifier,
antiLandAdditive,
lightCruiserBonus,
italianHeavyCruiserBonus,
aswLimitation,
};
};
/**
* Apply cap to attack power according warfare phase.
* @param {number} precapPower - pre-cap power, see applyPrecapModifiers
* @return {Object} capped power, cap value and is capped flag.
* @see http://kancolle.wikia.com/wiki/Damage_Calculation
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#k5f74647
*/
KC3Ship.prototype.applyPowerCap = function(precapPower,
time = "Day", warfareType = "Shelling"){
const cap = time === "Night" ? 300 :
// increased from 150 to 180 since 2017-03-18
warfareType === "Shelling" ? 180 :
// increased from 100 to 150 since 2017-11-10
warfareType === "Antisub" ? 150 :
150; // default cap for other phases
const isCapped = precapPower > cap;
const power = Math.floor(isCapped ? cap + Math.sqrt(precapPower - cap) : precapPower);
return {
power,
cap,
isCapped
};
};
/**
* Apply known post-cap modifiers to capped attack power.
* @return {Object} capped power and applied modifiers.
* @see http://kancolle.wikia.com/wiki/Damage_Calculation
* @see http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#aftercap
* @see https://github.com/Nishisonic/UnexpectedDamage/blob/master/UnexpectedDamage.js
*/
KC3Ship.prototype.applyPostcapModifiers = function(cappedPower, warfareType = "Shelling",
daySpecialAttackType = [], contactPlaneId = 0, isCritical = false, isAirAttack = false,
targetShipStype = 0, isDefenderArmorCounted = false, targetShipMasterId = 0){
// Artillery spotting modifier, should not x2 although some types attack 2 times
const dayCutinModifier = daySpecialAttackType[0] === "Cutin" && daySpecialAttackType[3] > 0 ?
daySpecialAttackType[3] : 1;
let airstrikeConcatModifier = 1;
// Contact modifier only applied to aerial warfare airstrike power
if(warfareType === "Aerial" && contactPlaneId > 0) {
const contactPlaneAcc = KC3Master.slotitem(contactPlaneId).api_houm;
airstrikeConcatModifier = contactPlaneAcc >= 3 ? 1.2 :
contactPlaneAcc >= 2 ? 1.17 : 1.12;
}
const isNightBattle = daySpecialAttackType.length === 0;
let apshellModifier = 1;
// AP Shell modifier applied to specific target ship types:
// CA, CAV, BB, FBB, BBV, CV, CVB and Land installation
const isTargetShipTypeMatched = [5, 6, 8, 9, 10, 11, 18].includes(targetShipStype);
if(isTargetShipTypeMatched && !isNightBattle) {
const mainGunCnt = this.countEquipmentType(2, [1, 2, 3]);
const apShellCnt = this.countEquipmentType(2, 19);
const secondaryCnt = this.countEquipmentType(2, 4);
const radarCnt = this.countEquipmentType(2, [12, 13]);
if(mainGunCnt >= 1 && secondaryCnt >= 1 && apShellCnt >= 1)
apshellModifier = 1.15;
else if(mainGunCnt >= 1 && apShellCnt >= 1 && radarCnt >= 1)
apshellModifier = 1.1;
else if(mainGunCnt >= 1 && apShellCnt >= 1)
apshellModifier = 1.08;
}
// Standard critical modifier
const criticalModifier = isCritical ? 1.5 : 1;
// Additional aircraft proficiency critical modifier
// Applied to open airstrike and shelling air attack including anti-sub
let proficiencyCriticalModifier = 1;
if(isCritical && (isAirAttack || warfareType === "Aerial")) {
if(daySpecialAttackType[0] === "Cutin" && daySpecialAttackType[1] === 7) {
// special proficiency critical modifier for CVCI
// http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#FAcutin
const firstSlotType = (cutinType => {
switch(cutinType) {
case "CutinFDBTB": return [6, 7, 8];
case "CutinDBDBTB":
case "CutinDBTB": return [7, 8];
default: return [];
}
})(daySpecialAttackType[2]);
const hasNonZeroSlotCaptainPlane = (type2Ids) => {
const firstGear = this.equipment(0);
return this.slots[0] > 0 && firstGear.exists() &&
type2Ids.includes(firstGear.master().api_type[2]);
};
// detail modifier affected by (internal) proficiency under verification
// might be an average value from participants, simply use max modifier (+0.1 / +0.25) here
proficiencyCriticalModifier += 0.1;
proficiencyCriticalModifier += hasNonZeroSlotCaptainPlane(firstSlotType) ? 0.15 : 0;
} else {
// http://wikiwiki.jp/kancolle/?%B4%CF%BA%DC%B5%A1%BD%CF%CE%FD%C5%D9#v3f6d8dd
const expBonus = [0, 1, 2, 3, 4, 5, 7, 10];
this.equipment().forEach((g, i) => {
if(g.isAirstrikeAircraft()) {
const aceLevel = g.ace || 0;
const internalExpLow = KC3Meta.airPowerInternalExpBounds(aceLevel)[0];
let mod = Math.floor(Math.sqrt(internalExpLow) + (expBonus[aceLevel] || 0)) / 100;
if(i > 0) mod /= 2;
proficiencyCriticalModifier += mod;
}
});
}
}
const targetShipType = this.estimateTargetShipType(targetShipMasterId);
// Against PT Imp modifier
let antiPtImpModifier = 1;
if(targetShipType.isPtImp) {
const lightGunBonus = this.countEquipmentType(2, 1) >= 2 ? 1.2 : 1;
const aaGunBonus = this.countEquipmentType(2, 21) >= 2 ? 1.1 : 1;
const secondaryGunBonus = this.countEquipmentType(2, 4) >= 2 ? 1.2 : 1;
const t3Bonus = this.hasEquipmentType(2, 18) ? 1.3 : 1;
antiPtImpModifier = lightGunBonus * aaGunBonus * secondaryGunBonus * t3Bonus;
}
// Anti-installation modifier
let antiLandAdditive = 0, antiLandModifier = 1;
if(targetShipType.isLand) {
[antiLandAdditive, antiLandModifier] = this.antiLandWarfarePowerMods(targetShipMasterId, false, warfareType);
}
// About rounding and position of anti-land modifier:
// http://ja.kancolle.wikia.com/wiki/%E3%82%B9%E3%83%AC%E3%83%83%E3%83%89:925#33
let result = Math.floor(Math.floor(
Math.floor(cappedPower * antiLandModifier + antiLandAdditive) * apshellModifier
) * criticalModifier * proficiencyCriticalModifier
) * dayCutinModifier * airstrikeConcatModifier
* antiPtImpModifier;
// New Depth Charge armor penetration, not attack power bonus
let newDepthChargeBonus = 0;
if(warfareType === "Antisub") {
const type95ndcCnt = this.countEquipment(226);
const type2ndcCnt = this.countEquipment(227);
if(type95ndcCnt > 0 || type2ndcCnt > 0) {
const deShipBonus = this.master().api_stype === 1 ? 1 : 0;
newDepthChargeBonus =
type95ndcCnt * (Math.sqrt(KC3Master.slotitem(226).api_tais - 2) + deShipBonus) +
type2ndcCnt * (Math.sqrt(KC3Master.slotitem(227).api_tais - 2) + deShipBonus);
// Applying this to enemy submarine's armor, result will be capped to at least 1
if(isDefenderArmorCounted) result += newDepthChargeBonus;
}
}
// Remaining ammo percent modifier, applied to final damage, not only attack power
const ammoPercent = Math.floor(this.ammo / this.master().api_bull_max * 100);
const remainingAmmoModifier = ammoPercent >= 50 ? 1 : ammoPercent * 2 / 100;
if(isDefenderArmorCounted) {
result *= remainingAmmoModifier;
}
return {
power: result,
criticalModifier,
proficiencyCriticalModifier,
dayCutinModifier,
airstrikeConcatModifier,
apshellModifier,
antiPtImpModifier,
antiLandAdditive,
antiLandModifier,
newDepthChargeBonus,
remainingAmmoModifier,
};
};
/**
* Collect battle conditions from current battle node if available.
* Do not fall-back to default value here if not available, leave it to appliers.
* @return {Object} an object contains battle properties we concern at.
* @see CalculatorManager.collectBattleConditions
*/
KC3Ship.prototype.collectBattleConditions = function(){
return KC3Calc.collectBattleConditions();
};
/**
* @return extra power bonus for combined fleet battle.
* @see http://wikiwiki.jp/kancolle/?%CF%A2%B9%E7%B4%CF%C2%E2#offense
*/
KC3Ship.prototype.combinedFleetPowerBonus = function(playerCombined, enemyCombined,
warfareType = "Shelling"){
const powerBonus = {
main: 0, escort: 0
};
switch(warfareType) {
case "Shelling":
if(!enemyCombined) {
// CTF
if(playerCombined === 1) { powerBonus.main = 2; powerBonus.escort = 10; }
// STF
if(playerCombined === 2) { powerBonus.main = 10; powerBonus.escort = -5; }
// TCF
if(playerCombined === 3) { powerBonus.main = -5; powerBonus.escort = 10; }
} else {
if(playerCombined === 1) { powerBonus.main = 2; powerBonus.escort = -5; }
if(playerCombined === 2) { powerBonus.main = 2; powerBonus.escort = -5; }
if(playerCombined === 3) { powerBonus.main = -5; powerBonus.escort = -5; }
if(!playerCombined) { powerBonus.main = 5; powerBonus.escort = 5; }
}
break;
case "Torpedo":
if(playerCombined) {
if(!enemyCombined) {
powerBonus.main = -5; powerBonus.escort = -5;
} else {
powerBonus.main = 10; powerBonus.escort = 10;
}
}
break;
case "Aerial":
if(!playerCombined && enemyCombined) {
// differentiated by target enemy fleet, targeting main:
powerBonus.main = -10; powerBonus.escort = -10;
// targeting escort:
//powerBonus.main = -20; powerBonus.escort = -20;
}
break;
}
return powerBonus;
};
// Check if specified equipment (or equip type) can be equipped on this ship.
KC3Ship.prototype.canEquip = function(gearMstId, gearType2) {
return KC3Master.equip_on_ship(this.masterId, gearMstId, gearType2);
};
// check if this ship is capable of equipping Amphibious Tank (Ka-Mi tank only for now, no landing craft variants)
KC3Ship.prototype.canEquipTank = function() {
if(this.isDummy()) { return false; }
return KC3Master.equip_type(this.master().api_stype, this.masterId).includes(46);
};
// check if this ship is capable of equipping Daihatsu (landing craft variants, amphibious tank not counted)
KC3Ship.prototype.canEquipDaihatsu = function() {
if(this.isDummy()) { return false; }
const master = this.master();
// Phase2 method: lookup Daihatsu type2 ID 24 in her master equip types
return KC3Master.equip_type(master.api_stype, this.masterId).includes(24);
// Phase1 method:
/*
// ship types: DD=2, CL=3, BB=9, AV=16, LHA=17, AO=22
// so far only ships with types above can equip daihatsu.
if ([2,3,9,16,17,22].indexOf( master.api_stype ) === -1)
return false;
// excluding Akitsushima(445), Hayasui(460), Commandant Teste(491), Kamoi(162)
// (however their remodels are capable of equipping daihatsu
if ([445, 460, 491, 162].indexOf( this.masterId ) !== -1)
return false;
// only few DDs, CLs and 1 BB are capable of equipping daihatsu
// see comments below.
if ([2, 3, 9].indexOf( master.api_stype ) !== -1 &&
[
// Abukuma K2(200), Tatsuta K2(478), Kinu K2(487), Yura K2(488), Tama K2(547)
200, 478, 487, 488, 547,
// Satsuki K2(418), Mutsuki K2(434), Kisaragi K2(435), Fumizuki(548)
418, 434, 435, 548,
// Kasumi K2(464), Kasumi K2B(470), Arare K2 (198), Ooshio K2(199), Asashio K2D(468), Michishio K2(489), Arashio K2(490)
464, 470, 198, 199, 468, 489, 490,
// Verniy(147), Kawakaze K2(469), Murasame K2(498)
147, 469, 498,
// Nagato K2(541)
541
].indexOf( this.masterId ) === -1)
return false;
return true;
*/
};
/**
* @return true if this ship is capable of equipping (Striking Force) Fleet Command Facility.
*/
KC3Ship.prototype.canEquipFCF = function() {
if(this.isDummy()) { return false; }
const masterId = this.masterId,
stype = this.master().api_stype;
// Phase2 method: lookup FCF type2 ID 34 in her master equip types
return KC3Master.equip_type(stype, masterId).includes(34);
// Phase1 method:
/*
// Excluding DE, DD, XBB, SS, SSV, AO, AR, which can be found at master.stype.api_equip_type[34]
const capableStypes = [3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17, 18, 20, 21];
// These can be found at `RemodelMain.swf/scene.remodel.view.changeEquip._createType3List()`
// DD Kasumi K2, DD Shiratsuyu K2, DD Murasame K2, AO Kamoi Kai-Bo, DD Yuugumo K2, DD Naganami K2, DD Shiranui K2
const capableShips = [464, 497, 498, 500, 542, 543, 567];
// CVL Kasugamaru
const incapableShips = [521];
return incapableShips.indexOf(masterId) === -1 &&
(capableShips.includes(masterId) || capableStypes.includes(stype));
*/
};
// is this ship able to do OASW unconditionally
KC3Ship.prototype.isOaswShip = function() {
// Isuzu K2, Tatsuta K2, Jervis Kai, Janus Kai, Samuel B.Roberts Kai, Fletcher-Class, Yuubari K2D
return [141, 478, 394, 893, 681, 562, 689, 596, 624, 628, 629, 692].includes(this.masterId);
};
/**
* Test to see if this ship (with equipment) is capable of opening ASW. References:
* @see https://kancolle.fandom.com/wiki/Partials/Opening_ASW
* @see https://wikiwiki.jp/kancolle/%E5%AF%BE%E6%BD%9C%E6%94%BB%E6%92%83#oasw
*/
KC3Ship.prototype.canDoOASW = function (aswDiff = 0) {
if(this.isDummy()) { return false; }
if(this.isOaswShip()) { return true; }
const stype = this.master().api_stype;
const isEscort = stype === 1;
const isLightCarrier = stype === 7;
// is CVE? (Taiyou-class series, Gambier Bay series, Zuihou K2B)
const isEscortLightCarrier = this.isEscortLightCarrier();
// is regular ASW method not supposed to depth charge attack? (CAV, BBV, AV, LHA)
// but unconfirmed for AO and Hayasui Kai
const isAirAntiSubStype = [6, 10, 16, 17].includes(stype);
// is Sonar equipped? also counted large one: Type 0 Sonar
const hasSonar = this.hasEquipmentType(1, 10);
const isHyuugaKaiNi = this.masterId === 554;
const isKagaK2Go = this.masterId === 646;
// lower condition for DE and CVL, even lower if equips Sonar
const aswThreshold = isLightCarrier && hasSonar ? 50
: isEscort ? 60
// May apply to CVL, but only CVE can reach 65 for now (Zuihou K2 modded asw +9 +13x4 = 61)
: isEscortLightCarrier ? 65
// Kaga Kai Ni Go asw starts from 82 on Lv84, let her pass just like Hyuuga K2
: isKagaK2Go ? 80
// Hyuuga Kai Ni can OASW even asw < 100, but lower threshold unknown,
// guessed from her Lv90 naked asw 79 + 12 (1x helicopter, without bonus and mod)
: isHyuugaKaiNi ? 90
: 100;
// ship stats not updated in time when equipment changed, so take the diff if necessary,
// and explicit asw bonus from Sonars taken into account confirmed.
const shipAsw = this.as[0] + aswDiff
// Visible asw bonus from Fighters, Dive Bombers and Torpedo Bombers still not counted,
// confirmed since 2019-06-29: https://twitter.com/trollkin_ball/status/1144714377024532480
// 2019-08-08: https://wikiwiki.jp/kancolle/%E5%AF%BE%E6%BD%9C%E6%94%BB%E6%92%83#trigger_conditions
// but bonus from other aircraft like Rotorcraft not (able to be) confirmed,
// perhaps a similar logic to exclude some types of equipment, see #effectiveEquipmentTotalAsw
// Green (any small?) gun (DE +1 asw from 12cm Single High-angle Gun Mount Model E) not counted,
// confirmed since 2020-06-19: https://twitter.com/99_999999999/status/1273937773225893888
- this.equipmentTotalStats("tais", true, true, true, [1, 6, 7, 8]);
// shortcut on the stricter condition first
if (shipAsw < aswThreshold)
return false;
// For CVE like Taiyou-class, initial asw stat is high enough to reach 50 / 65,
// but for Kasugamaru, since not possible to reach high asw for now, tests are not done.
// For Taiyou-class Kai/Kai Ni, any equippable aircraft with asw should work.
// only Autogyro or PBY equipped will not let CVL anti-sub in day shelling phase,
// but OASW still can be performed. only Sonar equipped can do neither.
// For other CVL possible but hard to reach 50 asw and do OASW with Sonar and high ASW aircraft.
// For CV Kaga K2Go, can perform OASW with any asw aircraft like Taiyou-class Kai+:
// https://twitter.com/noobcyan/status/1299886834919510017
if(isLightCarrier || isKagaK2Go) {
const isTaiyouKaiAfter = RemodelDb.remodelGroup(521).indexOf(this.masterId) > 1
|| RemodelDb.remodelGroup(534).indexOf(this.masterId) > 0;
const hasAswAircraft = this.equipment(true).some(gear => gear.isAswAircraft(false));
return ((isTaiyouKaiAfter || isKagaK2Go) && hasAswAircraft) // ship visible asw irrelevant
|| this.equipment(true).some(gear => gear.isHighAswBomber(false)) // mainly asw 50/65, dive bomber not work
|| (shipAsw >= 100 && hasSonar && hasAswAircraft); // almost impossible for pre-marriage
}
// DE can OASW without Sonar, but total asw >= 75 and equipped total plus asw >= 4
if(isEscort) {
if(hasSonar) return true;
const equipAswSum = this.equipmentTotalStats("tais");
return shipAsw >= 75 && equipAswSum >= 4;
}
// Hyuuga Kai Ni can OASW with 2 Autogyro or 1 Helicopter,
// but her initial naked asw too high to verify the lower threshold.
// Fusou-class Kai Ni can OASW with at least 1 Helicopter + Sonar and asw >= 100.
// https://twitter.com/cat_lost/status/1146075888636710912
// Hyuuga Kai Ni cannot OASW with Sonar only, just like BBV cannot ASW with Depth Charge.
// perhaps all AirAntiSubStype doesn't even they can equip Sonar and asw >= 100?
// at least 1 slot of ASW capable aircraft needed.
if(isAirAntiSubStype) {
return (isHyuugaKaiNi || hasSonar) &&
(this.countEquipmentType(1, 15) >= 2 ||
this.countEquipmentType(1, 44) >= 1);
}
// for other ship types who can do ASW with Depth Charge
return hasSonar;
};
/**
* @return true if this ship can do ASW attack.
*/
KC3Ship.prototype.canDoASW = function(time = "Day") {
if(this.isDummy() || this.isAbsent()) { return false; }
const stype = this.master().api_stype;
const isHayasuiKaiWithTorpedoBomber = this.masterId === 352 && this.hasEquipmentType(2, 8);
const isKagaK2Go = this.masterId === 646;
// CAV, CVL, BBV, AV, LHA, CVL-like Hayasui Kai, Kaga Kai Ni Go
const isAirAntiSubStype = [6, 7, 10, 16, 17].includes(stype) || isHayasuiKaiWithTorpedoBomber || isKagaK2Go;
if(isAirAntiSubStype) {
// CV Kaga Kai Ni Go implemented since 2020-08-27, can do ASW under uncertained conditions (using CVL's currently),
// but any CV form (converted back from K2Go) may ASW either if her asw modded > 0, fixed on the next day
// see https://twitter.com/Synobicort_SC/status/1298998245893394432
const isCvlLike = stype === 7 || isHayasuiKaiWithTorpedoBomber || isKagaK2Go;
// At night, most ship types cannot do ASW,
// only CVL can ASW with depth charge if naked asw is not 0 and not taiha,
// even no plane equipped or survived, such as Taiyou Kai Ni, Hayasui Kai.
// but CVE will attack surface target first if NCVCI met.
// *Some Abyssal AV/BBV can do ASW with air attack at night.
if(time === "Night") return isCvlLike && !this.isTaiha() && this.as[1] > 0;
// For day time, false if CVL or CVL-like chuuha
if(isCvlLike && this.isStriped()) return false;
// and if ASW plane equipped and its slot > 0
return this.equipment().some((g, i) => this.slots[i] > 0 && g.isAswAircraft(isCvlLike));
}
// DE, DD, CL, CLT, CT, AO(*)
// *AO: Hayasui base form and Kamoi Kai-Bo can only depth charge, Kamoi base form cannot asw
const isAntiSubStype = [1, 2, 3, 4, 21, 22].includes(stype);
// if max ASW stat before marriage (Lv99) not 0, can do ASW,
// which also used at `Core.swf/vo.UserShipData.hasTaisenAbility()`
// if as[1] === 0, naked asw stat should be 0, but as[0] may not.
return isAntiSubStype && this.as[1] > 0;
};
/**
* @return true if this ship can do opening torpedo attack.
*/
KC3Ship.prototype.canDoOpeningTorpedo = function() {
if(this.isDummy() || this.isAbsent()) { return false; }
const hasKouhyouteki = this.hasEquipmentType(2, 22);
const isThisSubmarine = this.isSubmarine();
return hasKouhyouteki || (isThisSubmarine && this.level >= 10);
};
/**
* @return {Object} target (enemy) ship category flags defined by us, possible values are:
* `isSurface`, `isSubmarine`, `isLand`, `isPtImp`.
*/
KC3Ship.prototype.estimateTargetShipType = function(targetShipMasterId = 0) {
const targetShip = KC3Master.ship(targetShipMasterId);
// land installation
const isLand = targetShip && targetShip.api_soku === 0;
const isSubmarine = targetShip && this.isSubmarine(targetShip.api_stype);
// regular surface vessel by default
const isSurface = !isLand && !isSubmarine;
// known PT Imp Packs (also belong to surface)
const isPtImp = [1637, 1638, 1639, 1640].includes(targetShipMasterId);
return {
isSubmarine,
isLand,
isSurface,
isPtImp,
};
};
/**
* Divide Abyssal land installation into KC3-unique types:
* Type 0: Not land installation
* Type 1: Soft-skinned, eg: Harbor Princess
* Type 2: Artillery Imp, aka. Pillbox
* Type 3: Isolated Island Princess
* Type 4: Supply Depot Princess
* Type 5: Summer Harbor Princess
* Type 6: Summer Supply Depot Princess
* @param precap - specify true if going to calculate pre-cap modifiers
* @return the numeric type identifier
* @see http://kancolle.wikia.com/wiki/Installation_Type
*/
KC3Ship.prototype.estimateInstallationEnemyType = function(targetShipMasterId = 0, precap = true){
const targetShip = KC3Master.ship(targetShipMasterId);
if(!this.masterId || !targetShip) { return 0; }
if(!this.estimateTargetShipType(targetShipMasterId).isLand) { return 0; }
// Supply Depot Princess
if([1653, 1654, 1655, 1656, 1657, 1658,
1921, 1922, 1923, 1924, 1925, 1926, // B
1933, 1934, 1935, 1936, 1937, 1938 // B Summer Landing Mode
].includes(targetShipMasterId)) {
// Unique case: takes soft-skinned pre-cap but unique post-cap
return precap ? 1 : 4;
}
// Summer Supply Depot Princess
if([1753, 1754].includes(targetShipMasterId)) {
// Same unique case as above
return precap ? 1 : 6;
}
const abyssalIdTypeMap = {
// Summer Harbor Princess
"1699": 5, "1700": 5, "1701": 5, "1702": 5, "1703": 5, "1704": 5,
// Isolated Island Princess
"1668": 3, "1669": 3, "1670": 3, "1671": 3, "1672": 3,
// Artillery Imp
"1665": 2, "1666": 2, "1667": 2,
};
return abyssalIdTypeMap[targetShipMasterId] || 1;
};
/**
* @return false if this ship (and target ship) can attack at day shelling phase.
*/
KC3Ship.prototype.canDoDayShellingAttack = function(targetShipMasterId = 0) {
if(this.isDummy() || this.isAbsent()) { return false; }
const targetShipType = this.estimateTargetShipType(targetShipMasterId);
const isThisSubmarine = this.isSubmarine();
const isHayasuiKaiWithTorpedoBomber = this.masterId === 352 && this.hasEquipmentType(2, 8);
const isThisCarrier = this.isCarrier() || isHayasuiKaiWithTorpedoBomber;
if(isThisCarrier) {
if(this.isTaiha()) return false;
const isNotCvb = this.master().api_stype !== 18;
if(isNotCvb && this.isStriped()) return false;
if(targetShipType.isSubmarine) return this.canDoASW();
// can not attack land installation if dive bomber equipped, except some exceptions
if(targetShipType.isLand && this.equipment().some((g, i) => this.slots[i] > 0 &&
g.master().api_type[2] === 7 &&
!KC3GearManager.antiLandDiveBomberIds.includes(g.masterId)
)) return false;
// can not attack if no bomber with slot > 0 equipped
return this.equipment().some((g, i) => this.slots[i] > 0 && g.isAirstrikeAircraft());
}
// submarines can only landing attack against land installation
if(isThisSubmarine) return this.estimateLandingAttackType(targetShipMasterId) > 0;
// can attack any enemy ship type by default
return true;
};
/**
* @return true if this ship (and target ship) can do closing torpedo attack.
*/
KC3Ship.prototype.canDoClosingTorpedo = function(targetShipMasterId = 0) {
if(this.isDummy() || this.isAbsent()) { return false; }
if(this.isStriped()) return false;
const targetShipType = this.estimateTargetShipType(targetShipMasterId);
if(targetShipType.isSubmarine || targetShipType.isLand) return false;
// DD, CL, CLT, CA, CAV, FBB, BB, BBV, SS, SSV, AV, CT
const isTorpedoStype = [2, 3, 4, 5, 6, 8, 9, 10, 13, 14, 16, 21].includes(this.master().api_stype);
return isTorpedoStype && this.estimateNakedStats("tp") > 0;
};
/**
* Conditions under verification, known for now:
* Flagship is healthy Nelson, Double Line variants formation selected.
* Min 6 ships fleet needed, main fleet only for Combined Fleet.
* 3rd, 5th ship not carrier, no any submarine in fleet.
* No AS/AS+ air battle needed like regular Artillery Spotting.
*
* No PvP sample found for now.
* Can be triggered in 1 battle per sortie, max 3 chances to roll (if yasen).
*
* @return true if this ship (Nelson) can do Nelson Touch cut-in attack.
* @see http://kancolle.wikia.com/wiki/Nelson
* @see https://wikiwiki.jp/kancolle/Nelson
*/
KC3Ship.prototype.canDoNelsonTouch = function() {
if(this.isDummy() || this.isAbsent()) { return false; }
// is this ship Nelson and not even Chuuha
// still okay even 3th and 5th ship are Taiha
if(KC3Meta.nelsonTouchShips.includes(this.masterId) && !this.isStriped()) {
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
// Nelson is flagship of a fleet, which min 6 ships needed
if(fleetNum > 0 && shipPos === 0 && shipCnt >= 6
// not in any escort fleet of Combined Fleet
&& (!PlayerManager.combinedFleet || fleetNum !== 2)) {
// Double Line variants selected
const isDoubleLine = [2, 12].includes(
this.collectBattleConditions().formationId || ConfigManager.aaFormation
);
const fleetObj = PlayerManager.fleets[fleetNum - 1],
// 3th and 5th ship are not carrier or absent?
invalidCombinedShips = [fleetObj.ship(2), fleetObj.ship(4)]
.some(ship => ship.isAbsent() || ship.isCarrier()),
// submarine in any position of the fleet?
hasSubmarine = fleetObj.ship().some(s => s.isSubmarine()),
// no ship(s) sunk or retreated in mid-sortie?
hasSixShips = fleetObj.countShips(true) >= 6;
return isDoubleLine && !invalidCombinedShips && !hasSubmarine && hasSixShips;
}
}
return false;
};
/**
* Most conditions are the same with Nelson Touch, except:
* Flagship is healthy Nagato/Mutsu Kai Ni, Echelon formation selected.
* 2nd ship is a battleship, Chuuha ok, Taiha no good.
*
* Additional ammo consumption for Nagato/Mutsu & 2nd battleship:
* + Math.floor(or ceil?)(total ammo cost of this battle (yasen may included) / 2)
*
* @return true if this ship (Nagato/Mutsu Kai Ni) can do special cut-in attack.
* @see http://kancolle.wikia.com/wiki/Nagato
* @see https://wikiwiki.jp/kancolle/%E9%95%B7%E9%96%80%E6%94%B9%E4%BA%8C
* @see http://kancolle.wikia.com/wiki/Mutsu
* @see https://wikiwiki.jp/kancolle/%E9%99%B8%E5%A5%A5%E6%94%B9%E4%BA%8C
*/
KC3Ship.prototype.canDoNagatoClassCutin = function(flagShipIds = KC3Meta.nagatoClassCutinShips) {
if(this.isDummy() || this.isAbsent()) { return false; }
if(flagShipIds.includes(this.masterId) && !this.isStriped()) {
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
if(fleetNum > 0 && shipPos === 0 && shipCnt >= 6
&& (!PlayerManager.combinedFleet || fleetNum !== 2)) {
const isEchelon = [4, 12].includes(
this.collectBattleConditions().formationId || ConfigManager.aaFormation
);
const fleetObj = PlayerManager.fleets[fleetNum - 1],
// 2nd ship not battle ship?
invalidCombinedShips = [fleetObj.ship(1)].some(ship =>
ship.isAbsent() || ship.isTaiha() ||
![8, 9, 10].includes(ship.master().api_stype)),
hasSubmarine = fleetObj.ship().some(s => s.isSubmarine()),
hasSixShips = fleetObj.countShips(true) >= 6;
return isEchelon && !invalidCombinedShips && !hasSubmarine && hasSixShips;
}
}
return false;
};
/**
* Nagato/Mutsu Kai Ni special cut-in attack modifiers are variant depending on the fleet 2nd ship.
* And there are different modifiers for 2nd ship's 3rd attack.
* @param modifierFor2ndShip - to indicate the returned modifier is used for flagship or 2nd ship.
* @return the modifier, 1 by default for unknown conditions.
* @see https://wikiwiki.jp/kancolle/%E9%95%B7%E9%96%80%E6%94%B9%E4%BA%8C
*/
KC3Ship.prototype.estimateNagatoClassCutinModifier = function(modifierFor2ndShip = false) {
const locatedFleet = PlayerManager.fleets[this.onFleet() - 1];
if(!locatedFleet) return 1;
const flagshipMstId = locatedFleet.ship(0).masterId;
if(!KC3Meta.nagatoClassCutinShips.includes(flagshipMstId)) return 1;
const ship2ndMstId = locatedFleet.ship(1).masterId;
const partnerModifierMap = KC3Meta.nagatoCutinShips.includes(flagshipMstId) ?
(modifierFor2ndShip ? {
"573": 1.4, // Mutsu Kai Ni
"276": 1.35, // Mutsu Kai, base form unverified?
"576": 1.25, // Nelson Kai, base form unverified?
} : {
"573": 1.2, // Mutsu Kai Ni
"276": 1.15, // Mutsu Kai, base form unverified?
"576": 1.1, // Nelson Kai, base form unverified?
}) :
KC3Meta.mutsuCutinShips.includes(flagshipMstId) ?
(modifierFor2ndShip ? {
"541": 1.4, // Nagato Kai Ni
"275": 1.35, // Nagato Kai
"576": 1.25, // Nelson Kai
} : {
"541": 1.2, // Nagato Kai Ni
"275": 1.15, // Nagato Kai
"576": 1.1, // Nelson Kai
}) : {};
const baseModifier = modifierFor2ndShip ? 1.2 : 1.4;
const partnerModifier = partnerModifierMap[ship2ndMstId] || 1;
const apShellModifier = this.hasEquipmentType(2, 19) ? 1.35 : 1;
// Surface Radar modifier not always limited to post-cap and AP Shell synergy now,
// can be applied to night battle (pre-cap) independently?
const surfaceRadarModifier = this.equipment(true).some(gear => gear.isSurfaceRadar()) ? 1.15 : 1;
return baseModifier * partnerModifier * apShellModifier * surfaceRadarModifier;
};
/**
* Most conditions are the same with Nelson Touch, except:
* Flagship is healthy Colorado, Echelon formation selected.
* 2nd and 3rd ships are healthy battleship, neither Taiha nor Chuuha.
*
* The same additional ammo consumption like Nagato/Mutsu cutin for top 3 battleships.
*
* 4 types of smoke animation effects will be used according corresponding position of partener ships,
* see `main.js#CutinColoradoAttack.prototype._getSmoke`.
*
* @return true if this ship (Colorado) can do Colorado special cut-in attack.
* @see http://kancolle.wikia.com/wiki/Colorado
* @see https://wikiwiki.jp/kancolle/Colorado
*/
KC3Ship.prototype.canDoColoradoCutin = function() {
if(this.isDummy() || this.isAbsent()) { return false; }
// is this ship Colorado and not even Chuuha
if(KC3Meta.coloradoCutinShips.includes(this.masterId) && !this.isStriped()) {
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
if(fleetNum > 0 && shipPos === 0 && shipCnt >= 6
&& (!PlayerManager.combinedFleet || fleetNum !== 2)) {
const isEchelon = [4, 12].includes(
this.collectBattleConditions().formationId || ConfigManager.aaFormation
);
const fleetObj = PlayerManager.fleets[fleetNum - 1],
// 2nd and 3rd ship are (F)BB(V) only, not even Chuuha?
validCombinedShips = [fleetObj.ship(1), fleetObj.ship(2)]
.some(ship => !ship.isAbsent() && !ship.isStriped()
&& [8, 9, 10].includes(ship.master().api_stype)),
// submarine in any position of the fleet?
hasSubmarine = fleetObj.ship().some(s => s.isSubmarine()),
// uncertain: ship(s) sunk or retreated in mid-sortie can prevent proc?
hasSixShips = fleetObj.countShips(true) >= 6;
return isEchelon && validCombinedShips && !hasSubmarine && hasSixShips;
}
}
return false;
};
/**
* Colorado special cut-in attack modifiers are variant,
* depending on equipment and 2nd and 3rd ship in the fleet.
* @see https://twitter.com/syoukuretin/status/1132763536222969856
*/
KC3Ship.prototype.estimateColoradoCutinModifier = function(forShipPos = 0) {
const locatedFleet = PlayerManager.fleets[this.onFleet() - 1];
if(!locatedFleet) return 1;
const flagshipMstId = locatedFleet.ship(0).masterId;
if(!KC3Meta.coloradoCutinShips.includes(flagshipMstId)) return 1;
const combinedModifierMaps = [
// No more mods for flagship?
{},
// x1.1 for Big-7 2nd ship
{
"80": 1.1, "275": 1.1, "541": 1.1, // Nagato
"81": 1.1, "276": 1.1, "573": 1.1, // Mutsu
"571": 1.1, "576": 1.1, // Nelson
},
// x1.15 for Big-7 3rd ship
{
"80": 1.15, "275": 1.15, "541": 1.15,
"81": 1.15, "276": 1.15, "573": 1.15,
"571": 1.15, "576": 1.15,
},
];
forShipPos = (forShipPos || 0) % 3;
const baseModifier = [1.3, 1.15, 1.15][forShipPos];
const targetShip = locatedFleet.ship(forShipPos),
targetShipMstId = targetShip.masterId,
targetShipModifier = combinedModifierMaps[forShipPos][targetShipMstId] || 1;
// Bug 'mods of 2nd ship's apshell/radar and on-5th-slot-empty-exslot spread to 3rd ship' not applied here
const apShellModifier = targetShip.hasEquipmentType(2, 19) ? 1.35 : 1;
const surfaceRadarModifier = targetShip.equipment(true).some(gear => gear.isSurfaceRadar()) ? 1.15 : 1;
const ship2ndMstId = locatedFleet.ship(1).masterId,
ship2ndModifier = combinedModifierMaps[1][ship2ndMstId] || 1;
return baseModifier * targetShipModifier
* (forShipPos === 2 && targetShipModifier > 1 ? ship2ndModifier : 1)
* apShellModifier * surfaceRadarModifier;
};
/**
* Most conditions are the same with Nelson Touch, except:
* Flagship is healthy Kongou-class Kai Ni C, Line Ahead formation selected, night battle only.
* 2nd ship is healthy one of the following:
* * Kongou K2C flagship: Hiei K2C / Haruna K2 / Warspite
* * Hiei K2C flagship: Kongou K2C / Kirishima K2
* Surface ships in fleet >= 5 (that means 1 submarine is okay for single fleet)
*
* Since it's a night battle only cutin, have to be escort fleet of any Combined Fleet.
* And it's impossible to be triggered after any other daytime Big-7 special cutin,
* because all ship-combined spcutins only trigger 1-time per sortie?
*
* The additional 30% ammo consumption, see:
* * https://twitter.com/myteaGuard/status/1254040809365618690
* * https://twitter.com/myteaGuard/status/1254048759559778305
*
* @return true if this ship (Kongou-class K2C) can do special cut-in attack.
* @see https://kancolle.fandom.com/wiki/Kongou/Special_Cut-In
* @see https://wikiwiki.jp/kancolle/%E6%AF%94%E5%8F%A1%E6%94%B9%E4%BA%8C%E4%B8%99
*/
KC3Ship.prototype.canDoKongouCutin = function() {
if(this.isDummy() || this.isAbsent()) { return false; }
// is this ship Kongou-class K2C and not even Chuuha
if(KC3Meta.kongouCutinShips.includes(this.masterId) && !this.isStriped()) {
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
if(fleetNum > 0 && shipPos === 0 && shipCnt >= 5
&& (!PlayerManager.combinedFleet || fleetNum === 2)) {
const isLineAhead = [1, 14].includes(
this.collectBattleConditions().formationId || ConfigManager.aaFormation
);
const fleetObj = PlayerManager.fleets[fleetNum - 1],
// 2nd ship is valid partener and not even Chuuha
validCombinedShips = ({
// Kongou K2C: Hiei K2C, Haruna K2, Warspite
"591": [592, 151, 439, 364],
// Hiei K2C: Kongou K2C, Kirishima K2
"592": [591, 152],
}[this.masterId] || []).includes(fleetObj.ship(1).masterId)
&& !fleetObj.ship(1).isStriped(),
// uncertain: ship(s) sunk or retreated in mid-sortie can prevent proc?
hasFiveSurfaceShips = fleetObj.shipsUnescaped().filter(s => !s.isSubmarine()).length >= 5;
return isLineAhead && validCombinedShips && hasFiveSurfaceShips;
}
}
return false;
};
/**
* @return the landing attack kind ID, return 0 if can not attack.
* Since Phase 2, defined by `_getDaihatsuEffectType` at `PhaseHougekiOpening, PhaseHougeki, PhaseHougekiBase`,
* all the ID 1 are replaced by 3, ID 2 except the one at `PhaseHougekiOpening` replaced by 3.
*/
KC3Ship.prototype.estimateLandingAttackType = function(targetShipMasterId = 0) {
const targetShip = KC3Master.ship(targetShipMasterId);
if(!this.masterId || !targetShip) return 0;
const isLand = targetShip.api_soku <= 0;
// new equipment: M4A1 DD
if(this.hasEquipment(355) && isLand) return 6;
// higher priority: Toku Daihatsu + 11th Tank
if(this.hasEquipment(230)) return isLand ? 5 : 0;
// Abyssal hard land installation could be landing attacked
const isTargetLandable =
[1668, 1669, 1670, 1671, 1672, // Isolated Island Princess
1665, 1666, 1667, // Artillery Imp
1653, 1654, 1655, 1656, 1657, 1658, // Supply Depot Princess
// but why Summer Supply Depot Princess not counted?
1809, 1810, 1811, 1812, 1813, 1814, // Supply Depot Princess Vacation Mode
1921, 1922, 1923, 1924, 1925, 1926, // Supply Depot Princess B
1933, 1934, 1935, 1936, 1937, 1938, // Supply Depot Princess B Summer Landing Mode
1815, 1816, 1817, 1818, 1819, 1820, // Anchorage Water Demon Vacation Mode
1556, 1631, 1632, 1633, 1650, 1651, 1652, 1889, 1890, 1891, 1892, 1893, 1894 // Airfield Princess
].includes(targetShipMasterId);
// T2 Tank
if(this.hasEquipment(167)) {
const isThisSubmarine = this.isSubmarine();
if(isThisSubmarine && isLand) return 4;
if(isTargetLandable) return 4;
return 0;
}
if(isTargetLandable) {
// M4A1 DD
if(this.hasEquipment(355)) return 6;
// T89 Tank
if(this.hasEquipment(166)) return 3;
// Toku Daihatsu
if(this.hasEquipment(193)) return 3;
// Daihatsu
if(this.hasEquipment(68)) return 3;
}
return 0;
};
/**
* @param atType - id from `api_hougeki?.api_at_type` which indicates the special attack.
* @param altCutinTerm - different term string for cutin has different variant, like CVCI.
* @param altModifier - different power modifier for cutin has different variant, like CVCI.
* @return known special attack (aka Cut-In) types definition tuple.
* will return an object mapped all IDs and tuples if atType is omitted.
* will return `["SingleAttack", 0]` if no matched ID found.
* @see estimateDayAttackType
*/
KC3Ship.specialAttackTypeDay = function(atType, altCutinTerm, altModifier){
const knownDayAttackTypes = {
1: ["Cutin", 1, "Laser"], // no longer exists now
2: ["Cutin", 2, "DoubleAttack", 1.2],
3: ["Cutin", 3, "CutinMainSecond", 1.1],
4: ["Cutin", 4, "CutinMainRadar", 1.2],
5: ["Cutin", 5, "CutinMainApshell", 1.3],
6: ["Cutin", 6, "CutinMainMain", 1.5],
7: ["Cutin", 7, "CutinCVCI", 1.25],
100: ["Cutin", 100, "CutinNelsonTouch", 2.0],
101: ["Cutin", 101, "CutinNagatoSpecial", 2.27],
102: ["Cutin", 102, "CutinMutsuSpecial", 2.27],
103: ["Cutin", 103, "CutinColoradoSpecial", 2.26],
200: ["Cutin", 200, "CutinZuiunMultiAngle", 1.35],
201: ["Cutin", 201, "CutinAirSeaMultiAngle", 1.3],
};
if(atType === undefined) return knownDayAttackTypes;
const matched = knownDayAttackTypes[atType] || ["SingleAttack", 0];
if(matched[0] === "Cutin") {
if(altCutinTerm) matched[2] = altCutinTerm;
if(altModifier) matched[3] = altModifier;
}
return matched;
};
/**
* Estimate day time attack type of this ship.
* Only according ship type and equipment, ignoring factors such as ship status, target-able.
* @param {number} targetShipMasterId - a Master ID of being attacked ship, used to indicate some
* special attack types. eg: attacking a submarine, landing attack an installation.
* The ID can be just an example to represent this type of target.
* @param {boolean} trySpTypeFirst - specify true if want to estimate special attack type.
* @param {number} airBattleId - air battle result id, to indicate if special attacks can be triggered,
* special attacks require AS / AS +, default is AS+.
* @return {Array} day time attack type constants tuple:
* [name, regular attack id / cutin id / landing id, cutin name, modifier].
* cutin id is from `api_hougeki?.api_at_type` which indicates the special attacks.
* NOTE: Not take 'can not be targeted' into account yet,
* such as: CV/CVB against submarine; submarine against land installation;
* asw aircraft all lost against submarine; torpedo bomber only against land,
* should not pass targetShipMasterId at all for these scenes.
* @see https://github.com/andanteyk/ElectronicObserver/blob/master/ElectronicObserver/Other/Information/kcmemo.md#%E6%94%BB%E6%92%83%E7%A8%AE%E5%88%A5
* @see BattleMain.swf#battle.models.attack.AttackData#setOptionsAtHougeki - client side codes of day attack type.
* @see BattleMain.swf#battle.phase.hougeki.PhaseHougekiBase - client side hints of special cutin attack type.
* @see main.js#PhaseHougeki.prototype._getNormalAttackType - since Phase 2
* @see specialAttackTypeDay
* @see estimateNightAttackType
* @see canDoOpeningTorpedo
* @see canDoDayShellingAttack
* @see canDoASW
* @see canDoClosingTorpedo
*/
KC3Ship.prototype.estimateDayAttackType = function(targetShipMasterId = 0, trySpTypeFirst = false,
airBattleId = 1) {
if(this.isDummy()) { return []; }
// if attack target known, will give different attack according target ship
const targetShipType = this.estimateTargetShipType(targetShipMasterId);
const isThisCarrier = this.isCarrier();
const isThisSubmarine = this.isSubmarine();
// Special cutins do not need isAirSuperiorityBetter
if(trySpTypeFirst) {
// Nelson Touch since 2018-09-15
if(this.canDoNelsonTouch()) {
const isRedT = this.collectBattleConditions().engagementId === 4;
return KC3Ship.specialAttackTypeDay(100, null, isRedT ? 2.5 : 2.0);
}
// Nagato cutin since 2018-11-16
if(this.canDoNagatoClassCutin(KC3Meta.nagatoCutinShips)) {
// To clarify: here only indicates the modifier of flagship's first 2 attacks
return KC3Ship.specialAttackTypeDay(101, null, this.estimateNagatoClassCutinModifier());
}
// Mutsu cutin since 2019-02-27
if(this.canDoNagatoClassCutin(KC3Meta.mutsuCutinShips)) {
return KC3Ship.specialAttackTypeDay(102, null, this.estimateNagatoClassCutinModifier());
}
// Colorado cutin since 2019-05-25
if(this.canDoColoradoCutin()) {
return KC3Ship.specialAttackTypeDay(103, null, this.estimateColoradoCutinModifier());
}
}
const isAirSuperiorityBetter = airBattleId === 1 || airBattleId === 2;
// Special Multi-Angle cutins do not need recon plane and probably higher priority
if(trySpTypeFirst && isAirSuperiorityBetter) {
const isThisIseClassK2 = [553, 554].includes(this.masterId);
const mainGunCnt = this.countEquipmentType(2, [1, 2, 3, 38]);
if(isThisIseClassK2 && mainGunCnt > 0 && !this.isTaiha()) {
// Ise-class Kai Ni Zuiun Multi-Angle Attack since 2019-03-27
const spZuiunCnt = this.countNonZeroSlotEquipment(
// All seaplane bombers named Zuiun capable?
[26, 79, 80, 81, 207, 237, 322, 323]
);
// Zuiun priority to Air/Sea Attack when they are both equipped
if(spZuiunCnt > 1) return KC3Ship.specialAttackTypeDay(200);
// Ise-class Kai Ni Air/Sea Multi-Angle Attack since 2019-03-27
const spSuiseiCnt = this.countNonZeroSlotEquipment(
// Only Suisei named 634th Air Group capable?
[291, 292, 319]
);
if(spSuiseiCnt > 1) return KC3Ship.specialAttackTypeDay(201);
}
}
const hasRecon = this.hasNonZeroSlotEquipmentType(2, [10, 11]);
if(trySpTypeFirst && hasRecon && isAirSuperiorityBetter) {
/*
* To estimate if can do day time special attacks (aka Artillery Spotting).
* In game, special attack types are judged and given by server API result.
* By equip compos, multiply types are possible to be selected to trigger, such as
* CutinMainMain + Double, CutinMainAPShell + CutinMainRadar + CutinMainSecond.
* Here just check by strictness & modifier desc order and return one of them.
*/
const mainGunCnt = this.countEquipmentType(2, [1, 2, 3, 38]);
const apShellCnt = this.countEquipmentType(2, 19);
if(mainGunCnt >= 2 && apShellCnt >= 1) return KC3Ship.specialAttackTypeDay(6);
const secondaryCnt = this.countEquipmentType(2, 4);
if(mainGunCnt >= 1 && secondaryCnt >= 1 && apShellCnt >= 1)
return KC3Ship.specialAttackTypeDay(5);
const radarCnt = this.countEquipmentType(2, [12, 13]);
if(mainGunCnt >= 1 && secondaryCnt >= 1 && radarCnt >= 1)
return KC3Ship.specialAttackTypeDay(4);
if(mainGunCnt >= 1 && secondaryCnt >= 1) return KC3Ship.specialAttackTypeDay(3);
if(mainGunCnt >= 2) return KC3Ship.specialAttackTypeDay(2);
} else if(trySpTypeFirst && isThisCarrier && isAirSuperiorityBetter) {
// day time carrier shelling cut-in
// http://wikiwiki.jp/kancolle/?%C0%EF%C6%AE%A4%CB%A4%C4%A4%A4%A4%C6#FAcutin
// https://twitter.com/_Kotoha07/status/907598964098080768
// https://twitter.com/arielugame/status/908343848459317249
const fighterCnt = this.countNonZeroSlotEquipmentType(2, 6);
const diveBomberCnt = this.countNonZeroSlotEquipmentType(2, 7);
const torpedoBomberCnt = this.countNonZeroSlotEquipmentType(2, 8);
if(diveBomberCnt >= 1 && torpedoBomberCnt >= 1 && fighterCnt >= 1)
return KC3Ship.specialAttackTypeDay(7, "CutinFDBTB", 1.25);
if(diveBomberCnt >= 2 && torpedoBomberCnt >= 1)
return KC3Ship.specialAttackTypeDay(7, "CutinDBDBTB", 1.2);
if(diveBomberCnt >= 1 && torpedoBomberCnt >= 1)
return KC3Ship.specialAttackTypeDay(7, "CutinDBTB", 1.15);
}
// is target a land installation
if(targetShipType.isLand) {
const landingAttackType = this.estimateLandingAttackType(targetShipMasterId);
if(landingAttackType > 0) {
return ["LandingAttack", landingAttackType];
}
// see `main.js#PhaseHougeki.prototype._hasRocketEffect` or same method of `PhaseHougekiBase`,
// and if base attack method is NOT air attack
const hasRocketLauncher = this.hasEquipmentType(2, 37) || this.hasEquipment([346, 347]);
// no such ID -1, just mean higher priority
if(hasRocketLauncher) return ["Rocket", -1];
}
// is this ship Hayasui Kai
if(this.masterId === 352) {
if(targetShipType.isSubmarine) {
// air attack if asw aircraft equipped
const aswEquip = this.equipment().find(g => g.isAswAircraft(false));
return aswEquip ? ["AirAttack", 1] : ["DepthCharge", 2];
}
// air attack if torpedo bomber equipped, otherwise fall back to shelling
if(this.hasEquipmentType(2, 8))
return ["AirAttack", 1];
else
return ["SingleAttack", 0];
}
if(isThisCarrier) {
return ["AirAttack", 1];
}
// only torpedo attack possible if this ship is submarine (but not shelling phase)
if(isThisSubmarine) {
return ["Torpedo", 3];
}
if(targetShipType.isSubmarine) {
const stype = this.master().api_stype;
// CAV, BBV, AV, LHA can only air attack against submarine
return ([6, 10, 16, 17].includes(stype)) ? ["AirAttack", 1] : ["DepthCharge", 2];
}
// default single shelling fire attack
return ["SingleAttack", 0];
};
/**
* @return true if this ship (and target ship) can attack at night.
*/
KC3Ship.prototype.canDoNightAttack = function(targetShipMasterId = 0) {
// no count for escaped ship too
if(this.isDummy() || this.isAbsent()) { return false; }
// no ship can night attack on taiha
if(this.isTaiha()) return false;
const initYasen = this.master().api_houg[0] + this.master().api_raig[0];
const isThisCarrier = this.isCarrier();
// even carrier can do shelling or air attack if her yasen power > 0 (no matter chuuha)
// currently known ships: Graf / Graf Kai, Saratoga, Taiyou Class Kai Ni, Kaga Kai Ni Go
if(isThisCarrier && initYasen > 0) return true;
// carriers without yasen power can do air attack under some conditions:
if(isThisCarrier) {
// only CVB can air attack on chuuha (taiha already excluded)
const isNotCvb = this.master().api_stype !== 18;
if(isNotCvb && this.isStriped()) return false;
// Ark Royal (Kai) can air attack without NOAP if Swordfish variants equipped and slot > 0
if([515, 393].includes(this.masterId)
&& this.hasNonZeroSlotEquipment([242, 243, 244])) return true;
// night aircraft + NOAP equipped
return this.canCarrierNightAirAttack();
}
// can not night attack for any ship type if initial FP + TP is 0
return initYasen > 0;
};
/**
* @return true if a carrier can do air attack at night thank to night aircraft,
* which should be given via `api_n_mother_list`, not judged by client side.
* @see canDoNightAttack - those yasen power carriers not counted in `api_n_mother_list`.
* @see http://wikiwiki.jp/kancolle/?%CC%EB%C0%EF#NightCombatByAircrafts
*/
KC3Ship.prototype.canCarrierNightAirAttack = function() {
if(this.isDummy() || this.isAbsent()) { return false; }
if(this.isCarrier()) {
const hasNightAircraft = this.hasEquipmentType(3, KC3GearManager.nightAircraftType3Ids);
const hasNightAvPersonnel = this.hasEquipment([258, 259]);
// night battle capable carriers: Saratoga Mk.II, Akagi Kai Ni E/Kaga Kai Ni E
const isThisNightCarrier = [545, 599, 610].includes(this.masterId);
// ~~Swordfish variants are counted as night aircraft for Ark Royal + NOAP~~
// Ark Royal + Swordfish variants + NOAP - night aircraft will not get `api_n_mother_list: 1`
//const isThisArkRoyal = [515, 393].includes(this.masterId);
//const isSwordfishArkRoyal = isThisArkRoyal && this.hasEquipment([242, 243, 244]);
// if night aircraft + (NOAP equipped / on Saratoga Mk.2/Akagi K2E/Kaga K2E)
return hasNightAircraft && (hasNightAvPersonnel || isThisNightCarrier);
}
return false;
};
/**
* @param spType - id from `api_hougeki.api_sp_list` which indicates the special attack.
* @param altCutinTerm - different term string for cutin has different variant, like SS TCI, CVNCI, DDCI.
* @param altModifier - different power modifier for cutin has different variant, like SS TCI, CVNCI, DDCI.
* @return known special attack (aka Cut-In) types definition tuple.
* will return an object mapped all IDs and tuples if atType is omitted.
* will return `["SingleAttack", 0]` if no matched ID found.
* @see estimateNightAttackType
*/
KC3Ship.specialAttackTypeNight = function(spType, altCutinTerm, altModifier){
const knownNightAttackTypes = {
1: ["Cutin", 1, "DoubleAttack", 1.2],
2: ["Cutin", 2, "CutinTorpTorpMain", 1.3],
3: ["Cutin", 3, "CutinTorpTorpTorp", 1.5],
4: ["Cutin", 4, "CutinMainMainSecond", 1.75],
5: ["Cutin", 5, "CutinMainMainMain", 2.0],
6: ["Cutin", 6, "CutinCVNCI", 1.25],
7: ["Cutin", 7, "CutinMainTorpRadar", 1.3],
8: ["Cutin", 8, "CutinTorpRadarLookout", 1.2],
100: ["Cutin", 100, "CutinNelsonTouch", 2.0],
101: ["Cutin", 101, "CutinNagatoSpecial", 2.27],
102: ["Cutin", 102, "CutinMutsuSpecial", 2.27],
103: ["Cutin", 103, "CutinColoradoSpecial", 2.26],
104: ["Cutin", 104, "CutinKongouSpecial", 1.9],
};
if(spType === undefined) return knownNightAttackTypes;
const matched = knownNightAttackTypes[spType] || ["SingleAttack", 0];
if(matched[0] === "Cutin") {
if(altCutinTerm) matched[2] = altCutinTerm;
if(altModifier) matched[3] = altModifier;
}
return matched;
};
/**
* Estimate night battle attack type of this ship.
* Also just give possible attack type, no responsibility to check can do attack at night,
* or that ship can be targeted or not, etc.
* @param {number} targetShipMasterId - a Master ID of being attacked ship.
* @param {boolean} trySpTypeFirst - specify true if want to estimate special attack type.
* @return {Array} night battle attack type constants tuple: [name, cutin id, cutin name, modifier].
* cutin id is partially from `api_hougeki.api_sp_list` which indicates the special attacks.
* @see BattleMain.swf#battle.models.attack.AttackData#setOptionsAtNight - client side codes of night attack type.
* @see BattleMain.swf#battle.phase.night.PhaseAttack - client side hints of special cutin attack type.
* @see main.js#PhaseHougekiBase.prototype._getNormalAttackType - since Phase 2
* @see specialAttackTypeNight
* @see estimateDayAttackType
* @see canDoNightAttack
*/
KC3Ship.prototype.estimateNightAttackType = function(targetShipMasterId = 0, trySpTypeFirst = false) {
if(this.isDummy()) { return []; }
const targetShipType = this.estimateTargetShipType(targetShipMasterId);
const isThisCarrier = this.isCarrier();
const isThisSubmarine = this.isSubmarine();
const stype = this.master().api_stype;
const isThisLightCarrier = stype === 7;
const isThisDestroyer = stype === 2;
const isThisKagaK2Go = this.masterId === 646;
const torpedoCnt = this.countEquipmentType(2, [5, 32]);
// simulate server-side night air attack flag: `api_n_mother_list`
const isCarrierNightAirAttack = isThisCarrier && this.canCarrierNightAirAttack();
if(trySpTypeFirst && !targetShipType.isSubmarine) {
// to estimate night special attacks, which should be given by server API result.
// will not trigger if this ship is taiha or targeting submarine.
// carrier night cut-in, NOAP or Saratoga Mk.II/Akagi K2E/Kaga K2E needed
if(isCarrierNightAirAttack) {
// https://kancolle.fandom.com/wiki/Combat#Setups_and_Attack_Types
// http://wikiwiki.jp/kancolle/?%CC%EB%C0%EF#x397cac6
const nightFighterCnt = this.countNonZeroSlotEquipmentType(3, 45);
const nightTBomberCnt = this.countNonZeroSlotEquipmentType(3, 46);
// Zero Fighter Model 62 (Fighter-bomber Iwai Squadron)
const iwaiDBomberCnt = this.countNonZeroSlotEquipment(154);
// Swordfish variants
const swordfishTBomberCnt = this.countNonZeroSlotEquipment([242, 243, 244]);
// new patterns for Suisei Model 12 (Type 31 Photoelectric Fuze Bombs) since 2019-04-30,
// it more likely acts as yet unimplemented Night Dive Bomber type
const photoDBomberCnt = this.countNonZeroSlotEquipment(320);
// might extract this out for estimating unexpected damage actual pattern modifier
const ncvciModifier = (() => {
const otherCnt = photoDBomberCnt + iwaiDBomberCnt + swordfishTBomberCnt;
if(nightFighterCnt >= 2 && nightTBomberCnt >= 1) return 1.25;
if(nightFighterCnt + nightTBomberCnt + otherCnt === 2) return 1.2;
if(nightFighterCnt + nightTBomberCnt + otherCnt >= 3) return 1.18;
return 1; // should not reach here
})();
// first place thank to its highest mod 1.25
if(nightFighterCnt >= 2 && nightTBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNFNTB", ncvciModifier);
// 3 planes mod 1.18
if(nightFighterCnt >= 3)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNFNF", ncvciModifier);
if(nightFighterCnt >= 1 && nightTBomberCnt >= 2)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNTBNTB", ncvciModifier);
if(nightFighterCnt >= 2 && iwaiDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNFFBI", ncvciModifier);
if(nightFighterCnt >= 2 && swordfishTBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNFSF", ncvciModifier);
if(nightFighterCnt >= 1 && iwaiDBomberCnt >= 2)
return KC3Ship.specialAttackTypeNight(6, "CutinNFFBIFBI", ncvciModifier);
if(nightFighterCnt >= 1 && swordfishTBomberCnt >= 2)
return KC3Ship.specialAttackTypeNight(6, "CutinNFSFSF", ncvciModifier);
if(nightFighterCnt >= 1 && iwaiDBomberCnt >= 1 && swordfishTBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFFBISF", ncvciModifier);
if(nightFighterCnt >= 1 && nightTBomberCnt >= 1 && iwaiDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNTBFBI", ncvciModifier);
if(nightFighterCnt >= 1 && nightTBomberCnt >= 1 && swordfishTBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNTBSF", ncvciModifier);
if(nightFighterCnt >= 2 && photoDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNFNDB", ncvciModifier);
if(nightFighterCnt >= 1 && photoDBomberCnt >= 2)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNDBNDB", ncvciModifier);
if(nightFighterCnt >= 1 && nightTBomberCnt >= 1 && photoDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNTBNDB", ncvciModifier);
if(nightFighterCnt >= 1 && photoDBomberCnt >= 1 && iwaiDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNDBFBI", ncvciModifier);
if(nightFighterCnt >= 1 && photoDBomberCnt >= 1 && swordfishTBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNDBSF", ncvciModifier);
// 2 planes mod 1.2, put here not to mask previous patterns, tho proc rate might be higher
if(nightFighterCnt >= 1 && nightTBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNTB", ncvciModifier);
if(nightFighterCnt >= 1 && photoDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNFNDB", ncvciModifier);
if(nightTBomberCnt >= 1 && photoDBomberCnt >= 1)
return KC3Ship.specialAttackTypeNight(6, "CutinNTBNDB", ncvciModifier);
} else {
// special Nelson Touch since 2018-09-15
if(this.canDoNelsonTouch()) {
const isRedT = this.collectBattleConditions().engagementId === 4;
return KC3Ship.specialAttackTypeNight(100, null, isRedT ? 2.5 : 2.0);
}
// special Nagato Cutin since 2018-11-16
if(this.canDoNagatoClassCutin(KC3Meta.nagatoCutinShips)) {
return KC3Ship.specialAttackTypeNight(101, null, this.estimateNagatoClassCutinModifier());
}
// special Mutsu Cutin since 2019-02-27
if(this.canDoNagatoClassCutin(KC3Meta.mutsuCutinShips)) {
return KC3Ship.specialAttackTypeNight(102, null, this.estimateNagatoClassCutinModifier());
}
// special Colorado Cutin since 2019-05-25
if(this.canDoColoradoCutin()) {
return KC3Ship.specialAttackTypeNight(103, null, this.estimateColoradoCutinModifier());
}
// special Kongou-class K2C Cutin since 2020-04-23
if(this.canDoKongouCutin()) {
// Basic precap modifier is 1.9: https://twitter.com/CC_jabberwock/status/1253677320629399552
const engagementMod = [1, 1, 1, 1.25, 0.75][this.collectBattleConditions().engagementId] || 1.0;
return KC3Ship.specialAttackTypeNight(104, null, 1.9 * engagementMod);
}
// special torpedo radar cut-in for destroyers since 2017-10-25
// http://wikiwiki.jp/kancolle/?%CC%EB%C0%EF#dfcb6e1f
if(isThisDestroyer && torpedoCnt >= 1) {
// according tests, any radar with accuracy stat >= 3 capable,
// even large radars (Kasumi K2 can equip), air radars okay too, see:
// https://twitter.com/nicolai_2501/status/923172168141123584
// https://twitter.com/nicolai_2501/status/923175256092581888
const hasCapableRadar = this.equipment(true).some(gear => gear.isSurfaceRadar());
const hasSkilledLookout = this.hasEquipmentType(2, 39);
const smallMainGunCnt = this.countEquipmentType(2, 1);
// Extra bonus if small main gun is 12.7cm Twin Gun Mount Model D Kai Ni/3
// https://twitter.com/ayanamist_m2/status/944176834551222272
// https://docs.google.com/spreadsheets/d/1_e0M6asJUbu9EEW4PrGCu9hOxZnY7OQEDHH2DUAzjN8/htmlview
const modelDK2SmallGunCnt = this.countEquipment(267),
modelDK3SmallGunCnt = this.countEquipment(366);
// Possible to equip 2 D guns for 4 slots Tashkent
// https://twitter.com/Xe_UCH/status/1011398540654809088
const modelDSmallGunModifier =
([1, 1.25, 1.4][modelDK2SmallGunCnt + modelDK3SmallGunCnt] || 1.4)
* (1 + modelDK3SmallGunCnt * 0.05);
if(hasCapableRadar && smallMainGunCnt >= 1)
return KC3Ship.specialAttackTypeNight(7, null, 1.3 * modelDSmallGunModifier);
if(hasCapableRadar && hasSkilledLookout)
return KC3Ship.specialAttackTypeNight(8, null, 1.2 * modelDSmallGunModifier);
}
// special torpedo cut-in for late model submarine torpedo
const lateTorpedoCnt = this.countEquipment([213, 214, 383]);
const submarineRadarCnt = this.countEquipmentType(2, 51);
if(lateTorpedoCnt >= 1 && submarineRadarCnt >= 1)
return KC3Ship.specialAttackTypeNight(3, "CutinLateTorpRadar", 1.75);
if(lateTorpedoCnt >= 2)
return KC3Ship.specialAttackTypeNight(3, "CutinLateTorpTorp", 1.6);
// although modifier lower than Main CI / Mix CI, but seems be more frequently used
// will not mutex if 5 slots ships can equip torpedo
if(torpedoCnt >= 2) return KC3Ship.specialAttackTypeNight(3);
const mainGunCnt = this.countEquipmentType(2, [1, 2, 3, 38]);
if(mainGunCnt >= 3) return KC3Ship.specialAttackTypeNight(5);
const secondaryCnt = this.countEquipmentType(2, 4);
if(mainGunCnt === 2 && secondaryCnt >= 1)
return KC3Ship.specialAttackTypeNight(4);
if((mainGunCnt === 2 && secondaryCnt === 0 && torpedoCnt === 1) ||
(mainGunCnt === 1 && torpedoCnt === 1))
return KC3Ship.specialAttackTypeNight(2);
// double attack can be torpedo attack animation if topmost slot is torpedo
if((mainGunCnt === 2 && secondaryCnt === 0 && torpedoCnt === 0) ||
(mainGunCnt === 1 && secondaryCnt >= 1) ||
(secondaryCnt >= 2 && torpedoCnt <= 1))
return KC3Ship.specialAttackTypeNight(1);
}
}
if(targetShipType.isLand) {
const landingAttackType = this.estimateLandingAttackType(targetShipMasterId);
if(landingAttackType > 0) {
return ["LandingAttack", landingAttackType];
}
const hasRocketLauncher = this.hasEquipmentType(2, 37);
if(hasRocketLauncher) return ["Rocket", -1];
}
// priority to use server flag
if(isCarrierNightAirAttack) {
return ["AirAttack", 1, true];
}
if(targetShipType.isSubmarine && (isThisLightCarrier || isThisKagaK2Go)) {
return ["DepthCharge", 2];
}
if(isThisCarrier) {
// these abyssal ships can only be shelling attacked,
// see `main.js#PhaseHougekiBase.prototype._getNormalAttackType`
const isSpecialAbyssal = [
1679, 1680, 1681, 1682, 1683, // Lycoris Princess
1711, 1712, 1713, // Jellyfish Princess
].includes[targetShipMasterId];
const isSpecialCarrier = [
432, 353, // Graf & Graf Kai
433 // Saratoga (base form)
].includes(this.masterId);
if(isSpecialCarrier || isSpecialAbyssal) return ["SingleAttack", 0];
// here just indicates 'attack type', not 'can attack or not', see #canDoNightAttack
// Taiyou Kai Ni fell back to shelling attack if no bomber equipped, but ninja changed by devs.
// now she will air attack against surface ships, but no plane appears if no aircraft equipped.
return ["AirAttack", 1];
}
if(isThisSubmarine) {
return ["Torpedo", 3];
}
if(targetShipType.isSubmarine) {
// CAV, BBV, AV, LHA
return ([6, 10, 16, 17].includes(stype)) ? ["AirAttack", 1] : ["DepthCharge", 2];
}
// torpedo attack if any torpedo equipped at top most, otherwise single shelling fire
const topGear = this.equipment().find(gear => gear.exists() &&
[1, 2, 3].includes(gear.master().api_type[1]));
return topGear && topGear.master().api_type[1] === 3 ? ["Torpedo", 3] : ["SingleAttack", 0];
};
/**
* Calculates base value used in day battle artillery spotting process chance.
* Likely to be revamped as formula comes from PSVita and does not include CVCI,
* uncertain about Combined Fleet interaction.
* @see https://kancolle.wikia.com/wiki/User_blog:Shadow27X/Artillery_Spotting_Rate_Formula
* @see KC3Fleet.prototype.artillerySpottingLineOfSight
*/
KC3Ship.prototype.daySpAttackBaseRate = function() {
if (this.isDummy() || !this.onFleet()) { return {}; }
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
const fleet = PlayerManager.fleets[fleetNum - 1];
const fleetLoS = fleet.artillerySpottingLineOfSight();
const adjFleetLoS = Math.floor(Math.sqrt(fleetLoS) + fleetLoS / 10);
const adjLuck = Math.floor(Math.sqrt(this.lk[0]) + 10);
// might exclude equipment on ship LoS bonus for now,
// to include LoS bonus, use `this.equipmentTotalLoS()` instead
const equipLoS = this.equipmentTotalStats("saku", true, false);
// assume to best condition AS+ by default (for non-battle)
const airBattleId = this.collectBattleConditions().airBattleId || 1;
const baseValue = airBattleId === 1 ? adjLuck + 0.7 * (adjFleetLoS + 1.6 * equipLoS) + 10 :
airBattleId === 2 ? adjLuck + 0.6 * (adjFleetLoS + 1.2 * equipLoS) : 0;
return {
baseValue,
isFlagship: shipPos === 0,
equipLoS,
fleetLoS,
dispSeiku: airBattleId
};
};
/**
* Calculates base value used in night battle cut-in process chance.
* @param {number} currentHp - used by simulating from battle prediction or getting different HP value.
* @see https://kancolle.wikia.com/wiki/Combat/Night_Battle#Night_Cut-In_Chance
* @see https://wikiwiki.jp/kancolle/%E5%A4%9C%E6%88%A6#nightcutin1
* @see KC3Fleet.prototype.estimateUsableSearchlight
*/
KC3Ship.prototype.nightSpAttackBaseRate = function(currentHp) {
if (this.isDummy()) { return {}; }
let baseValue = 0;
if (this.lk[0] < 50) {
baseValue += 15 + this.lk[0] + 0.75 * Math.sqrt(this.level);
} else {
baseValue += 65 + Math.sqrt(this.lk[0] - 50) + 0.8 * Math.sqrt(this.level);
}
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
// Flagship bonus
const isFlagship = shipPos === 0;
if (isFlagship) { baseValue += 15; }
// Chuuha bonus
const isChuuhaOrWorse = (currentHp || this.hp[0]) <= (this.hp[1] / 2);
if (isChuuhaOrWorse) { baseValue += 18; }
// Skilled lookout bonus
if (this.hasEquipmentType(2, 39)) { baseValue += 5; }
// Searchlight bonus, large SL unknown for now
const fleetSearchlight = fleetNum > 0 && PlayerManager.fleets[fleetNum - 1].estimateUsableSearchlight();
if (fleetSearchlight) { baseValue += 7; }
// Starshell bonus/penalty
const battleConds = this.collectBattleConditions();
const playerStarshell = battleConds.playerFlarePos > 0;
const enemyStarshell = battleConds.enemyFlarePos > 0;
if (playerStarshell) { baseValue += 4; }
if (enemyStarshell) { baseValue += -10; }
return {
baseValue,
isFlagship,
isChuuhaOrWorse,
fleetSearchlight,
playerStarshell,
enemyStarshell
};
};
/**
* Calculate Nelson Touch process rate, currently only known in day
* @param {boolean} isNight - Nelson Touch has lower modifier at night?
* @return {number} special attack rate
* @see https://twitter.com/Xe_UCH/status/1180283907284979713
*/
KC3Ship.prototype.nelsonTouchRate = function(isNight) {
if (this.isDummy() || isNight) { return false; }
const [shipPos, shipCnt, fleetNum] = this.fleetPosition();
// Nelson Touch prerequisite should be fulfilled before calling this, see also #canDoNelsonTouch
// here only to ensure fleetObj and combinedShips below not undefined if this invoked unexpectedly
if (shipPos !== 0 || shipCnt < 6 || !fleetNum) { return false; }
const fleetObj = PlayerManager.fleets[fleetNum - 1];
const combinedShips = [2, 4].map(pos => fleetObj.ship(pos));
const combinedShipsLevel = combinedShips.reduce((acc, ship) => acc + ship.level, 0);
const combinedShipsPenalty = combinedShips.some(ship => [2, 16].includes(ship.master().api_stype)) ? 10 : 0; // estimate
return (0.08 * this.level + 0.04 * combinedShipsLevel + 0.24 * this.lk[0] + 36 - combinedShipsPenalty) / 100;
};
/**
* Calculate ship day time artillery spotting process rate based on known type factors.
* @param {number} atType - based on api_at_type value of artillery spotting type.
* @param {string} cutinSubType - sub type of cut-in like CVCI.
* @return {number} artillery spotting percentage, false if unable to arty spot or unknown special attack.
* @see daySpAttackBaseRate
* @see estimateDayAttackType
* @see Type factors: https://wikiwiki.jp/kancolle/%E6%88%A6%E9%97%98%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6#Observation
* @see Type factors for multi-angle cutin: https://wikiwiki.jp/kancolle/%E4%BC%8A%E5%8B%A2%E6%94%B9%E4%BA%8C
*/
KC3Ship.prototype.artillerySpottingRate = function(atType = 0, cutinSubType = "") {
// type 1 laser attack has gone forever, ship not on fleet cannot be evaluated
if (atType < 2 || this.isDummy() || !this.onFleet()) { return false; }
const formatPercent = num => Math.floor(num * 1000) / 10;
// Nelson Touch
if (atType === 100) {
return formatPercent(this.nelsonTouchRate(false));
}
const typeFactor = {
2: 150,
3: 120,
4: 130,
5: 130,
6: 140,
7: ({
"CutinFDBTB" : 125,
"CutinDBDBTB": 140,
"CutinDBTB" : 155,
})[cutinSubType],
// 100~103 might use different formula, see #nelsonTouchRate
200: 120,
201: undefined,
}[atType];
if (!typeFactor) { return false; }
const {baseValue, isFlagship} = this.daySpAttackBaseRate();
return formatPercent(((Math.floor(baseValue) + (isFlagship ? 15 : 0)) / typeFactor) || 0);
};
/**
* Calculate ship night battle special attack (cut-in and double attack) process rate based on known type factors.
* @param {number} spType - based on api_sp_list value of night special attack type.
* @param {string} cutinSubType - sub type of cut-in like CVNCI, submarine cut-in.
* @return {number} special attack percentage, false if unable to perform or unknown special attack.
* @see nightSpAttackBaseRate
* @see estimateNightAttackType
* @see Type factors: https://wikiwiki.jp/kancolle/%E5%A4%9C%E6%88%A6#nightcutin1
*/
KC3Ship.prototype.nightCutinRate = function(spType = 0, cutinSubType = "") {
if (spType < 1 || this.isDummy()) { return false; }
// not sure: DA success rate almost 99%
if (spType === 1) { return 99; }
const typeFactor = {
2: 115,
3: ({ // submarine late torp cutin should be different?
"CutinLateTorpRadar": undefined,
"CutinLateTorpTorp": undefined,
})[cutinSubType] || 122, // regular CutinTorpTorpTorp
4: 130,
5: 140,
6: ({ // CVNCI factors unknown, placeholders
"CutinNFNFNTB": undefined, // should be 3 types, for mod 1.25
"CutinNFNTB" : undefined, // 2 planes for mod 1.2
"CutinNFNDB" : undefined,
"CutinNTBNDB": undefined,
"CutinNFNFNF" : undefined, // 3 planes for mod 1.18
"CutinNFNTBNTB": undefined,
"CutinNFNFFBI" : undefined,
"CutinNFNFSF" : undefined,
"CutinNFFBIFBI": undefined,
"CutinNFSFSF" : undefined,
"CutinNFFBISF" : undefined,
"CutinNFNTBFBI": undefined,
"CutinNFNTBSF" : undefined,
"CutinNFNFNDB" : undefined,
"CutinNFNDBNDB": undefined,
"CutinNFNTBNDB": undefined,
"CutinNFNDBFBI": undefined,
"CutinNFNDBSF" : undefined,
})[cutinSubType],
// This two DD cutins can be rolled after regular cutin, more chance to be processed
7: 130,
8: undefined, // CutinTorpRadarLookout unknown
// 100~104 might be different, even with day one
}[spType];
if (!typeFactor) { return false; }
const {baseValue} = this.nightSpAttackBaseRate();
const formatPercent = num => Math.floor(num * 1000) / 10;
return formatPercent((Math.floor(baseValue) / typeFactor) || 0);
};
/**
* Calculate ship's Taiha rate when taken an overkill damage.
* This is related to the '4n+3 is better than 4n' theory,
* '4n+x' only refer to the rounded Taiha HP threshold, rate is also affected by current HP in fact.
* @param {number} currentHp - expected current hp value, use ship's real current hp by default.
* @param {number} maxHp - expected full hp value, use ship's real max hp by default.
* @return {number} Taiha percentage, 100% for already Taiha or red morale or dummy ship.
* @see https://wikiwiki.jp/kancolle/%E6%88%A6%E9%97%98%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6#eb18c7e5
*/
KC3Ship.prototype.overkillTaihaRate = function(currentHp = this.hp[0], maxHp = this.hp[1]) {
if (this.isDummy()) { return 100; }
const taihaHp = Math.max(1, Math.floor(0.25 * maxHp));
const battleConds = this.collectBattleConditions();
// already taiha (should get rid of fasly or negative hp value)
// or red morale (hit red morale hp will be left fixed 1)
if (currentHp <= taihaHp || this.moraleEffectLevel([1, 1, 0, 0, 0], battleConds.isOnBattle)) {
return 100;
}
// sum all random cases of taiha
const taihaCases = Array.numbers(0, currentHp - 1).map(rndint => (
(currentHp - Math.floor(currentHp * 0.5 + rndint * 0.3)) <= taihaHp ? 1 : 0
)).sumValues();
// percentage with 2 decimal
return Math.round(taihaCases / currentHp * 10000) / 100;
};
/**
* Get current shelling attack accuracy related info of this ship.
* NOTE: Only attacker accuracy part, not take defender evasion part into account at all, not final hit/critical rate.
* @param {number} formationModifier - see #estimateShellingFormationModifier.
* @param {boolean} applySpAttackModifiers - if special equipment and attack modifiers should be applied.
* @return {Object} accuracy factors of this ship.
* @see http://kancolle.wikia.com/wiki/Combat/Accuracy_and_Evasion
* @see http://wikiwiki.jp/kancolle/?%CC%BF%C3%E6%A4%C8%B2%F3%C8%F2%A4%CB%A4%C4%A4%A4%A4%C6
* @see https://twitter.com/Nishisonic/status/890202416112480256
*/
KC3Ship.prototype.shellingAccuracy = function(formationModifier = 1, applySpAttackModifiers = true) {
if(this.isDummy()) { return {}; }
const byLevel = 2 * Math.sqrt(this.level);
// formula from PSVita is sqrt(1.5 * lk) anyway,
// but verifications have proved this one gets more accurate
// http://ja.kancolle.wikia.com/wiki/%E3%82%B9%E3%83%AC%E3%83%83%E3%83%89:450#68
const byLuck = 1.5 * Math.sqrt(this.lk[0]);
const byEquip = -this.nakedStats("ht");
const byImprove = this.equipment(true)
.map(g => g.accStatImprovementBonus("fire"))
.sumValues();
const byGunfit = this.shellingGunFitAccuracy();
const battleConds = this.collectBattleConditions();
const moraleModifier = this.moraleEffectLevel([1, 0.5, 0.8, 1, 1.2], battleConds.isOnBattle);
const basic = 90 + byLevel + byLuck + byEquip + byImprove;
const beforeSpModifier = basic * formationModifier * moraleModifier + byGunfit;
let artillerySpottingModifier = 1;
// there is trigger chance rate for Artillery Spotting itself, see #artillerySpottingRate
if(applySpAttackModifiers) {
artillerySpottingModifier = (type => {
if(type[0] === "Cutin") {
return ({
// IDs from `api_hougeki.api_at_type`, see #specialAttackTypeDay
"2": 1.1, "3": 1.3, "4": 1.5, "5": 1.3, "6": 1.2,
// modifier for 7 (CVCI) still unknown
// modifiers for [100, 201] (special cutins) still unknown
})[type[1]] || 1;
}
return 1;
})(this.estimateDayAttackType(undefined, true, battleConds.airBattleId));
}
const apShellModifier = (() => {
// AP Shell combined with Large cal. main gun only mainly for battleships
const hasApShellAndMainGun = this.hasEquipmentType(2, 19) && this.hasEquipmentType(2, 3);
if(hasApShellAndMainGun) {
const hasSecondaryGun = this.hasEquipmentType(2, 4);
const hasRadar = this.hasEquipmentType(2, [12, 13]);
if(hasRadar && hasSecondaryGun) return 1.3;
if(hasRadar) return 1.25;
if(hasSecondaryGun) return 1.2;
return 1.1;
}
return 1;
})();
// penalty for combined fleets under verification
const accuracy = Math.floor(beforeSpModifier * artillerySpottingModifier * apShellModifier);
return {
accuracy,
basicAccuracy: basic,
preSpAttackAccuracy: beforeSpModifier,
equipmentStats: byEquip,
equipImprovement: byImprove,
equipGunFit: byGunfit,
moraleModifier,
formationModifier,
artillerySpottingModifier,
apShellModifier
};
};
/**
* @see http://wikiwiki.jp/kancolle/?%CC%BF%C3%E6%A4%C8%B2%F3%C8%F2%A4%CB%A4%C4%A4%A4%A4%C6#hitterm1
* @see http://wikiwiki.jp/kancolle/?%CC%BF%C3%E6%A4%C8%B2%F3%C8%F2%A4%CB%A4%C4%A4%A4%A4%C6#avoidterm1
*/
KC3Ship.prototype.estimateShellingFormationModifier = function(
playerFormationId = ConfigManager.aaFormation,
enemyFormationId = 0,
type = "accuracy") {
let modifier = 1;
switch(type) {
case "accuracy":
// Default is no bonus for regular fleet
// Still unknown for combined fleet formation
// Line Ahead, Diamond:
modifier = 1;
switch(playerFormationId) {
case 2: // Double Line, cancelled by Line Abreast
modifier = enemyFormationId === 5 ? 1.0 : 1.2;
break;
case 4: // Echelon, cancelled by Line Ahead
modifier = enemyFormationId === 1 ? 1.0 : 1.2;
break;
case 5: // Line Abreast, cancelled by Echelon
modifier = enemyFormationId === 4 ? 1.0 : 1.2;
break;
case 6:{// Vanguard, depends on fleet position
const [shipPos, shipCnt] = this.fleetPosition(),
isGuardian = shipCnt >= 4 && shipPos >= Math.floor(shipCnt / 2);
modifier = isGuardian ? 1.2 : 0.8;
break;
}
}
break;
case "evasion":
// Line Ahead, Double Line:
modifier = 1;
switch(playerFormationId) {
case 3: // Diamond
modifier = 1.1;
break;
case 4: // Echelon
// enhanced by Double Line / Echelon?
// mods: https://twitter.com/Xe_UCH/status/1304783506275409920
modifier = enemyFormationId === 2 ? 1.45 : 1.4;
break;
case 5: // Line Abreast, enhanced by Echelon / Line Abreast unknown
modifier = 1.3;
break;
case 6:{// Vanguard, depends on fleet position and ship type
const [shipPos, shipCnt] = this.fleetPosition(),
isGuardian = shipCnt >= 4 && shipPos >= (Math.floor(shipCnt / 2) + 1),
isThisDestroyer = this.master().api_stype === 2;
modifier = isThisDestroyer ?
(isGuardian ? 1.4 : 1.2) :
(isGuardian ? 1.2 : 1.05);
break;
}
}
break;
default:
console.warn("Unknown modifier type:", type);
}
return modifier;
};
/**
* Get current shelling accuracy bonus (or penalty) from equipped guns.
* @see http://kancolle.wikia.com/wiki/Combat/Overweight_Penalty_and_Fit_Gun_Bonus
* @see http://wikiwiki.jp/kancolle/?%CC%BF%C3%E6%A4%C8%B2%F3%C8%F2%A4%CB%A4%C4%A4%A4%A4%C6#fitarms
*/
KC3Ship.prototype.shellingGunFitAccuracy = function(time = "Day") {
if(this.isDummy()) { return 0; }
var result = 0;
// Fit bonus or overweight penalty for ship types:
const stype = this.master().api_stype;
const ctype = this.master().api_ctype;
switch(stype) {
case 2: // for Destroyers
// fit bonus under verification since 2017-06-23
// 12.7cm Single High-angle Gun Mount (Late Model)
const singleHighAngleMountCnt = this.countEquipment(229);
// for Mutsuki class including Satsuki K2
result += (ctype === 28 ? 5 : 0) * Math.sqrt(singleHighAngleMountCnt);
// for Kamikaze class still unknown
break;
case 3:
case 4:
case 21: // for Light Cruisers
// overhaul implemented in-game since 2017-06-23, not fully verified
const singleMountIds = [4, 11];
const twinMountIds = [65, 119, 139];
const tripleMainMountIds = [5, 235];
const singleHighAngleMountId = 229;
const isAganoClass = ctype === 41;
const isOoyodoClass = ctype === 52;
result = -2; // only fit bonus, but -2 fixed (might disappeared?)
// for all CLs
result += 4 * Math.sqrt(this.countEquipment(singleMountIds));
// for twin mount on Agano class / Ooyodo class / general CLs
result += (isAganoClass ? 8 : isOoyodoClass ? 5 : 3) *
Math.sqrt(this.countEquipment(twinMountIds));
// for 15.5cm triple main mount on Ooyodo class
result += (isOoyodoClass ? 7 : 0) *
Math.sqrt(this.countEquipment(tripleMainMountIds));
// for 12.7cm single HA late model on Yura K2
result += (this.masterId === 488 ? 10 : 0) *
Math.sqrt(this.countEquipment(singleHighAngleMountId));
break;
case 5:
case 6: // for Heavy Cruisers
// fit bonus at night battle for 20.3cm variants
if(time === "Night") {
const has203TwinGun = this.hasEquipment(6);
const has203No3TwinGun = this.hasEquipment(50);
const has203No2TwinGun = this.hasEquipment(90);
// 20.3cm priority to No.3, No.2 might also
result += has203TwinGun ? 10 : has203No2TwinGun ? 10 : has203No3TwinGun ? 15 : 0;
}
// for 15.5cm triple main mount on Mogami class
const isMogamiClass = ctype === 9;
if(isMogamiClass) {
const count155TripleMainGun = this.countEquipment(5);
const count155TripleMainGunKai = this.countEquipment(235);
result += 2 * Math.sqrt(count155TripleMainGun) +
5 * Math.sqrt(count155TripleMainGunKai);
}
// for 203mm/53 twin mount on Zara class
const isZaraClass = ctype === 64;
if(isZaraClass) {
result += 1 * Math.sqrt(this.countEquipment(162));
}
break;
case 8:
case 9:
case 10: // for Battleships
// Large cal. main gun gives accuracy bonus if it's fit,
// and accuracy penalty if it's overweight.
const gunCountFitMap = {};
this.equipment(true).forEach(g => {
if(g.itemId && g.masterId && g.master().api_type[2] === 3) {
const fitInfo = KC3Meta.gunfit(this.masterId, g.masterId);
if(fitInfo && !fitInfo.unknown) {
const gunCount = (gunCountFitMap[fitInfo.weight] || [0])[0];
gunCountFitMap[fitInfo.weight] = [gunCount + 1, fitInfo];
}
}
});
$.each(gunCountFitMap, (_, fit) => {
const count = fit[0];
let value = fit[1][time.toCamelCase()] || 0;
if(this.isMarried()) value *= fit[1].married || 1;
result += value * Math.sqrt(count);
});
break;
case 16: // for Seaplane Tender
// Medium cal. guns for partial AVs, no formula summarized
// https://docs.google.com/spreadsheets/d/1wl9v3NqPuRawSuFadokgYh1R1R1W82H51JNC66DH2q8/htmlview
break;
default:
// not found for other ships
}
return result;
};
/**
* Get current shelling attack evasion related info of this ship.
* @param {number} formationModifier - see #estimateShellingFormationModifier
* @return {Object} evasion factors of this ship.
* @see http://kancolle.wikia.com/wiki/Combat/Accuracy_and_Evasion
* @see http://wikiwiki.jp/kancolle/?%CC%BF%C3%E6%A4%C8%B2%F3%C8%F2%A4%CB%A4%C4%A4%A4%A4%C6
*/
KC3Ship.prototype.shellingEvasion = function(formationModifier = 1) {
if(this.isDummy()) { return {}; }
// already naked ev + equipment total ev stats
const byStats = this.ev[0];
const byEquip = this.equipmentTotalStats("houk");
const byLuck = Math.sqrt(2 * this.lk[0]);
const preCap = Math.floor((byStats + byLuck) * formationModifier);
const postCap = preCap >= 65 ? Math.floor(55 + 2 * Math.sqrt(preCap - 65)) :
preCap >= 40 ? Math.floor(40 + 3 * Math.sqrt(preCap - 40)) :
preCap;
const byImprove = this.equipment(true)
.map(g => g.evaStatImprovementBonus("fire"))
.sumValues();
// under verification
const stypeBonus = 0;
const searchlightModifier = this.hasEquipmentType(1, 18) ? 0.2 : 1;
const postCapForYasen = Math.floor(postCap + stypeBonus) * searchlightModifier;
const fuelPercent = Math.floor(this.fuel / this.master().api_fuel_max * 100);
const fuelPenalty = fuelPercent < 75 ? 75 - fuelPercent : 0;
// final hit % = ucap(floor(lcap(attackerAccuracy - defenderEvasion) * defenderMoraleModifier)) + aircraftProficiencyBonus
// capping limits its lower / upper bounds to [10, 96] + 1%, +1 since random number is 0-based, ranged in [0, 99]
// ship morale modifier not applied here since 'evasion' may be looked reduced when sparkle
const battleConds = this.collectBattleConditions();
const moraleModifier = this.moraleEffectLevel([1, 1.4, 1.2, 1, 0.7], battleConds.isOnBattle);
const evasion = Math.floor(postCap + byImprove - fuelPenalty);
const evasionForYasen = Math.floor(postCapForYasen + byImprove - fuelPenalty);
return {
evasion,
evasionForYasen,
preCap,
postCap,
postCapForYasen,
equipmentStats: byEquip,
equipImprovement: byImprove,
fuelPenalty,
moraleModifier,
formationModifier
};
};
KC3Ship.prototype.equipmentAntiAir = function(forFleet) {
return AntiAir.shipEquipmentAntiAir(this, forFleet);
};
KC3Ship.prototype.adjustedAntiAir = function() {
const floor = AntiAir.specialFloor(this);
return floor(AntiAir.shipAdjustedAntiAir(this));
};
KC3Ship.prototype.proportionalShotdownRate = function() {
return AntiAir.shipProportionalShotdownRate(this);
};
KC3Ship.prototype.proportionalShotdown = function(n) {
return AntiAir.shipProportionalShotdown(this, n);
};
// note:
// - fixed shotdown makes no sense if the current ship is not in a fleet.
// - formationId takes one of the following:
// - 1/4/5 (for line ahead / echelon / line abreast)
// - 2 (for double line)
// - 3 (for diamond)
// - 6 (for vanguard)
// - all possible AACIs are considered and the largest AACI modifier
// is used for calculation the maximum number of fixed shotdown
KC3Ship.prototype.fixedShotdownRange = function(formationId) {
if(!this.onFleet()) return false;
const fleetObj = PlayerManager.fleets[ this.onFleet() - 1 ];
return AntiAir.shipFixedShotdownRangeWithAACI(this, fleetObj,
AntiAir.getFormationModifiers(formationId || 1) );
};
KC3Ship.prototype.maxAaciShotdownBonuses = function() {
return AntiAir.shipMaxShotdownAllBonuses( this );
};
/**
* Anti-air Equipment Attack Effect implemented since 2018-02-05 in-game.
* @return a tuple indicates the effect type ID and its term key.
* NOTE: type ID shifted to 1-based since Phase 2, but internal values here unchanged.
* @see `TaskAircraftFlightBase.prototype._getAntiAircraftAbility`
* @see `TaskAirWarAntiAircraft._type` - AA attack animation types
*/
KC3Ship.prototype.estimateAntiAirEffectType = function() {
const aaEquipType = (() => {
// Escaped or sunk ship cannot anti-air
if(this.isDummy() || this.isAbsent()) return -1;
const stype = this.master().api_stype;
// CAV, BBV, CV/CVL/CVB, AV can use Rocket Launcher K2
const isStypeForRockeLaunK2 = [6, 7, 10, 11, 16, 18].includes(stype);
// Type 3 Shell
if(this.hasEquipmentType(2, 18)) {
if(isStypeForRockeLaunK2 && this.hasEquipment(274)) return 5;
return 4;
}
// 12cm 30tube Rocket Launcher Kai Ni
if(isStypeForRockeLaunK2 && this.hasEquipment(274)) return 3;
// 12cm 30tube Rocket Launcher
if(this.hasEquipment(51)) return 2;
// Any HA Mount
if(this.hasEquipmentType(3, 16)) return 1;
// Any AA Machine Gun
if(this.hasEquipmentType(2, 21)) return 0;
// Any Radar plus any Seaplane bomber with AA stat
if(this.hasEquipmentType(3, 11) && this.equipment().some(
g => g.masterId > 0 && g.master().api_type[2] === 11 && g.master().api_tyku > 0
)) return 0;
return -1;
})();
switch(aaEquipType) {
case -1: return [0, "None"];
case 0: return [1, "Normal"];
case 1: return [2, "HighAngleMount"];
case 2: return [3, "RocketLauncher"];
case 3: return [4, "RocketLauncherK2"];
case 4: return [5, "Type3Shell"];
case 5: return [6, "Type3ShellRockeLaunK2"];
default: return [NaN, "Unknown"];
}
};
/**
* To calculate 12cm 30tube Rocket Launcher Kai Ni (Rosa K2) trigger chance (for now),
* we need adjusted AA of ship, number of Rosa K2, ctype and luck stat.
* @see https://twitter.com/noratako5/status/1062027534026428416 - luck modifier
* @see https://twitter.com/kankenRJ/status/979524073934893056 - current formula
* @see http://ja.kancolle.wikia.com/wiki/%E3%82%B9%E3%83%AC%E3%83%83%E3%83%89:2471 - old formula verifying thread
*/
KC3Ship.prototype.calcAntiAirEffectChance = function() {
if(this.isDummy() || this.isAbsent()) return 0;
// Number of 12cm 30tube Rocket Launcher Kai Ni
let rosaCount = this.countEquipment(274);
if(rosaCount === 0) return 0;
// Not tested yet on more than 3 Rosa K2, capped to 3 just in case of exceptions
rosaCount = rosaCount > 3 ? 3 : rosaCount;
const rosaAdjustedAntiAir = 48;
// 70 for Ise-class, 0 otherwise
const classBonus = this.master().api_ctype === 2 ? 70 : 0;
// Rounding to x%
return Math.qckInt("floor",
(this.adjustedAntiAir() + this.lk[0] * 0.9) /
(400 - (rosaAdjustedAntiAir + 30 + 40 * rosaCount + classBonus)) * 100,
0);
};
/**
* Check known possible effects on equipment changed.
* @param {Object} newGearObj - the equipment just equipped, pseudo empty object if unequipped.
* @param {Object} oldGearObj - the equipment before changed, pseudo empty object if there was empty.
* @param {Object} oldShipObj - the cloned old ship instance with stats and item IDs before equipment changed.
*/
KC3Ship.prototype.equipmentChangedEffects = function(newGearObj = {}, oldGearObj = {}, oldShipObj = this) {
if(!this.masterId) return {isShow: false};
const gunFit = newGearObj.masterId ? KC3Meta.gunfit(this.masterId, newGearObj.masterId) : false;
let isShow = gunFit !== false;
const shipAacis = AntiAir.sortedPossibleAaciList(AntiAir.shipPossibleAACIs(this));
isShow = isShow || shipAacis.length > 0;
// NOTE: shipObj here to be returned will be the 'old' ship instance,
// whose stats, like fp, tp, asw, are the values before equipment change.
// but its items array (including ex item) are post-change values.
const shipObj = this;
// To get the 'latest' ship stats, should defer `GunFit` event after `api_get_member/ship3` call,
// and retrieve latest ship instance via KC3ShipManager.get method like this:
// const newShipObj = KC3ShipManager.get(data.shipObj.rosterId);
// It can not be latest ship at the timing of this equipmentChangedEffects invoked,
// because the api call above not executed, KC3ShipManager data not updated yet.
// Or you can compute the simple stat difference manually like this:
const oldEquipAsw = oldGearObj.masterId > 0 ? oldGearObj.master().api_tais : 0;
const newEquipAsw = newGearObj.masterId > 0 ? newGearObj.master().api_tais : 0;
const aswDiff = newEquipAsw - oldEquipAsw
// explicit asw bonus from new equipment
+ shipObj.equipmentTotalStats("tais", true, true, true)
// explicit asw bonus from old equipment
- oldShipObj.equipmentTotalStats("tais", true, true, true);
const oaswPower = shipObj.canDoOASW(aswDiff) ? shipObj.antiSubWarfarePower(aswDiff) : false;
isShow = isShow || (oaswPower !== false);
const antiLandPowers = shipObj.shipPossibleAntiLandPowers();
isShow = isShow || antiLandPowers.length > 0;
const equipBonus = shipObj.equipmentBonusGearAndStats(newGearObj);
isShow = isShow || (equipBonus !== false && equipBonus.isShow);
// Possible TODO:
// can opening torpedo
// can cut-in (fire / air)
// can night attack for CV
// can night cut-in
return {
isShow,
shipObj,
shipOld: oldShipObj,
gearObj: newGearObj.masterId ? newGearObj : false,
gunFit,
shipAacis,
oaswPower,
antiLandPowers: antiLandPowers.length > 0,
equipBonus,
};
};
/* Expedition Supply Change Check */
KC3Ship.prototype.perform = function(command,args) {
try {
args = $.extend({noFuel:0,noAmmo:0},args);
command = command.slice(0,1).toUpperCase() + command.slice(1).toLowerCase();
this["perform"+command].call(this,args);
return true;
} catch (e) {
console.error("Failed when perform" + command, e);
return false;
}
};
KC3Ship.prototype.performSupply = function(args) {
consumePending.call(this,0,{0:0,1:1,2:3,c: 1 - (this.isMarried() && 0.15),i: 0},[0,1,2],args);
};
KC3Ship.prototype.performRepair = function(args) {
consumePending.call(this,1,{0:0,1:2,2:6,c: 1,i: 0},[0,1,2],args);
};
function consumePending(index,mapping,clear,args) {
/*jshint validthis: true */
if(!(this instanceof KC3Ship)) {
throw new Error("Cannot modify non-KC3Ship instance!");
}
var
self = this,
mult = mapping.c,
lastN = Object.keys(this.pendingConsumption).length - mapping.i;
delete mapping.c;
delete mapping.i;
if(args.noFuel) delete mapping['0'];
if(args.noAmmo) delete mapping['1'];
/* clear pending consumption, by iterating each keys */
var
rmd = [0,0,0,0,0,0,0,0],
lsFirst = this.lastSortie[0];
Object.keys(this.pendingConsumption).forEach(function(shipConsumption,iterant){
var
dat = self.pendingConsumption[shipConsumption],
rsc = [0,0,0,0,0,0,0,0],
sid = self.lastSortie.indexOf(shipConsumption);
// Iterate supplied ship part
Object.keys(mapping).forEach(function(key){
var val = dat[index][key] * (mapping[key]===3 ? 5 : mult);
// Calibrate for rounding towards zero
rmd[mapping[key]] += val % 1;
rsc[mapping[key]] += Math.ceil(val) + parseInt(rmd[mapping[key]]);
rmd[mapping[key]] %= 1;
// Checks whether current iteration is last N pending item
if((iterant < lastN) && (clear.indexOf(parseInt(key))>=0))
dat[index][key] = 0;
});
console.log("Ship " + self.rosterId + " consumed", shipConsumption, sid,
[iterant, lastN].join('/'), rsc.map(x => -x), dat[index]);
// Store supplied resource count to database by updating the source
KC3Database.Naverall({
data: rsc
},shipConsumption);
if(dat.every(function(consumptionData){
return consumptionData.every(function(resource){ return !resource; });
})) {
delete self.pendingConsumption[shipConsumption];
}
/* Comment Stopper */
});
var
lsi = 1,
lsk = "";
while(lsi < this.lastSortie.length && this.lastSortie[lsi] != 'sortie0') {
lsk = this.lastSortie[lsi];
if(this.pendingConsumption[ lsk ]){
lsi++;
}else{
this.lastSortie.splice(lsi,1);
}
}
if(this.lastSortie.indexOf(lsFirst) < 0) {
this.lastSortie.unshift(lsFirst);
}
KC3ShipManager.save();
}
/**
* Fill data of this Ship into predefined tooltip HTML elements. Used by Panel/Strategy Room.
* @param tooltipBox - the object of predefined tooltip HTML jq element
* @return return back the jq element of param `tooltipBox`
*/
KC3Ship.prototype.htmlTooltip = function(tooltipBox) {
return KC3Ship.buildShipTooltip(this, tooltipBox);
};
KC3Ship.buildShipTooltip = function(shipObj, tooltipBox) {
//const shipDb = WhoCallsTheFleetDb.getShipStat(shipObj.masterId);
const nakedStats = shipObj.nakedStats(),
maxedStats = shipObj.maxedStats(),
bonusStats = shipObj.statsBonusOnShip(),
maxDiffStats = {},
equipDiffStats = {},
modLeftStats = shipObj.modernizeLeftStats();
Object.keys(maxedStats).map(s => {maxDiffStats[s] = maxedStats[s] - nakedStats[s];});
Object.keys(nakedStats).map(s => {equipDiffStats[s] = nakedStats[s] - (shipObj[s]||[])[0];});
const signedNumber = n => (n > 0 ? '+' : n === 0 ? '\u00b1' : '') + n;
const optionalNumber = (n, pre = '\u21d1', show0 = false) => !n && (!show0 || n !== 0) ? '' : pre + n;
const replaceFilename = (file, newName) => file.slice(0, file.lastIndexOf("/") + 1) + newName;
$(".stat_value span", tooltipBox).css("display", "inline");
$(".ship_full_name .ship_masterId", tooltipBox).text("[{0}]".format(shipObj.masterId));
$(".ship_full_name span.value", tooltipBox).text(shipObj.name());
$(".ship_full_name .ship_yomi", tooltipBox).text(ConfigManager.info_ship_class_name ?
KC3Meta.ctypeName(shipObj.master().api_ctype) :
KC3Meta.shipReadingName(shipObj.master().api_yomi)
);
$(".ship_rosterId span", tooltipBox).text(shipObj.rosterId);
$(".ship_stype", tooltipBox).text(shipObj.stype());
$(".ship_level span.value", tooltipBox).text(shipObj.level);
//$(".ship_level span.value", tooltipBox).addClass(shipObj.levelClass());
$(".ship_hp span.hp", tooltipBox).text(shipObj.hp[0]);
$(".ship_hp span.mhp", tooltipBox).text(shipObj.hp[1]);
$(".ship_morale img", tooltipBox).attr("src",
replaceFilename($(".ship_morale img", tooltipBox).attr("src"), shipObj.moraleIcon() + ".png")
);
$(".ship_morale span.value", tooltipBox).text(shipObj.morale);
$(".ship_exp_next span.value", tooltipBox).text(shipObj.exp[1]);
$(".stat_hp .current", tooltipBox).text(shipObj.hp[1]);
$(".stat_hp .mod", tooltipBox).text(signedNumber(modLeftStats.hp))
.toggle(!!modLeftStats.hp);
$(".stat_fp .current", tooltipBox).text(shipObj.fp[0]);
$(".stat_fp .mod", tooltipBox).text(signedNumber(modLeftStats.fp))
.toggle(!!modLeftStats.fp);
$(".stat_fp .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.fp, optionalNumber(bonusStats.fp)))
.toggle(!!equipDiffStats.fp || !!bonusStats.fp);
$(".stat_ar .current", tooltipBox).text(shipObj.ar[0]);
$(".stat_ar .mod", tooltipBox).text(signedNumber(modLeftStats.ar))
.toggle(!!modLeftStats.ar);
$(".stat_ar .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.ar, optionalNumber(bonusStats.ar)))
.toggle(!!equipDiffStats.ar || !!bonusStats.ar);
$(".stat_tp .current", tooltipBox).text(shipObj.tp[0]);
$(".stat_tp .mod", tooltipBox).text(signedNumber(modLeftStats.tp))
.toggle(!!modLeftStats.tp);
$(".stat_tp .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.tp, optionalNumber(bonusStats.tp)))
.toggle(!!equipDiffStats.tp || !!bonusStats.tp);
$(".stat_ev .current", tooltipBox).text(shipObj.ev[0]);
$(".stat_ev .level", tooltipBox).text(signedNumber(maxDiffStats.ev))
.toggle(!!maxDiffStats.ev);
$(".stat_ev .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.ev, optionalNumber(bonusStats.ev)))
.toggle(!!equipDiffStats.ev || !!bonusStats.ev);
$(".stat_aa .current", tooltipBox).text(shipObj.aa[0]);
$(".stat_aa .mod", tooltipBox).text(signedNumber(modLeftStats.aa))
.toggle(!!modLeftStats.aa);
$(".stat_aa .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.aa, optionalNumber(bonusStats.aa)))
.toggle(!!equipDiffStats.aa || !!bonusStats.aa);
$(".stat_ac .current", tooltipBox).text(shipObj.carrySlots());
const canOasw = shipObj.canDoOASW();
$(".stat_as .current", tooltipBox).text(shipObj.as[0])
.toggleClass("oasw", canOasw);
$(".stat_as .level", tooltipBox).text(signedNumber(maxDiffStats.as))
.toggle(!!maxDiffStats.as);
$(".stat_as .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.as, optionalNumber(bonusStats.as)))
.toggle(!!equipDiffStats.as || !!bonusStats.as);
$(".stat_as .mod", tooltipBox).text(signedNumber(modLeftStats.as))
.toggle(!!modLeftStats.as);
$(".stat_sp", tooltipBox).text(shipObj.speedName())
.addClass(KC3Meta.shipSpeed(shipObj.speed, true));
$(".stat_ls .current", tooltipBox).text(shipObj.ls[0]);
$(".stat_ls .level", tooltipBox).text(signedNumber(maxDiffStats.ls))
.toggle(!!maxDiffStats.ls);
$(".stat_ls .equip", tooltipBox)
.text("({0}{1})".format(nakedStats.ls, optionalNumber(bonusStats.ls)))
.toggle(!!equipDiffStats.ls || !!bonusStats.ls);
$(".stat_rn", tooltipBox).text(shipObj.rangeName())
.toggleClass("RangeChanged", shipObj.range != shipObj.master().api_leng);
$(".stat_lk .current", tooltipBox).text(shipObj.lk[0]);
$(".stat_lk .luck", tooltipBox).text(signedNumber(modLeftStats.lk));
$(".stat_lk .equip", tooltipBox).text("({0})".format(nakedStats.lk))
.toggle(!!equipDiffStats.lk);
if(!(ConfigManager.info_stats_diff & 1)){
$(".equip", tooltipBox).hide();
}
if(!(ConfigManager.info_stats_diff & 2)){
$(".mod,.level,.luck", tooltipBox).hide();
}
// Fill more stats need complex calculations
KC3Ship.fillShipTooltipWideStats(shipObj, tooltipBox, canOasw);
return tooltipBox;
};
KC3Ship.fillShipTooltipWideStats = function(shipObj, tooltipBox, canOasw = false) {
const signedNumber = n => (n > 0 ? '+' : n === 0 ? '\u00b1' : '') + n;
const optionalModifier = (m, showX1) => (showX1 || m !== 1 ? 'x' + m : '');
// show possible critical power and mark capped power with different color
const joinPowerAndCritical = (p, cp, cap) => (cap ? '<span class="power_capped">{0}</span>' : "{0}")
.format(String(Math.qckInt("floor", p, 0))) + (!cp ? "" :
(cap ? '(<span class="power_capped">{0}</span>)' : "({0})")
.format(Math.qckInt("floor", cp, 0))
);
const shipMst = shipObj.master();
const onFleetNum = shipObj.onFleet();
const battleConds = shipObj.collectBattleConditions();
const attackTypeDay = shipObj.estimateDayAttackType();
const warfareTypeDay = {
"Torpedo" : "Torpedo",
"DepthCharge" : "Antisub",
"LandingAttack" : "AntiLand",
"Rocket" : "AntiLand"
}[attackTypeDay[0]] || "Shelling";
const canAsw = shipObj.canDoASW();
if(canAsw){
const aswAttackType = shipObj.estimateDayAttackType(1530, false);
let power = shipObj.antiSubWarfarePower();
let criticalPower = false;
let isCapped = false;
const canShellingAttack = shipObj.canDoDayShellingAttack();
const canOpeningTorp = shipObj.canDoOpeningTorpedo();
const canClosingTorp = shipObj.canDoClosingTorpedo();
if(ConfigManager.powerCapApplyLevel >= 1) {
({power} = shipObj.applyPrecapModifiers(power, "Antisub",
battleConds.engagementId, battleConds.formationId || 5));
}
if(ConfigManager.powerCapApplyLevel >= 2) {
({power, isCapped} = shipObj.applyPowerCap(power, "Day", "Antisub"));
}
if(ConfigManager.powerCapApplyLevel >= 3) {
if(ConfigManager.powerCritical) {
criticalPower = shipObj.applyPostcapModifiers(
power, "Antisub", undefined, undefined,
true, aswAttackType[0] === "AirAttack").power;
}
({power} = shipObj.applyPostcapModifiers(power, "Antisub"));
}
let attackTypeIndicators = !canShellingAttack || !canAsw ?
KC3Meta.term("ShipAttackTypeNone") :
KC3Meta.term("ShipAttackType" + aswAttackType[0]);
if(canOpeningTorp) attackTypeIndicators += ", {0}"
.format(KC3Meta.term("ShipExtraPhaseOpeningTorpedo"));
if(canClosingTorp) attackTypeIndicators += ", {0}"
.format(KC3Meta.term("ShipExtraPhaseClosingTorpedo"));
$(".dayAswPower", tooltipBox).html(
KC3Meta.term("ShipDayAttack").format(
KC3Meta.term("ShipWarfareAntisub"),
joinPowerAndCritical(power, criticalPower, isCapped),
attackTypeIndicators
)
);
} else {
$(".dayAswPower", tooltipBox).html("-");
}
const isAswPowerShown = canAsw && (canOasw && !shipObj.isOaswShip()
|| shipObj.onlyHasEquipmentType(1, [10, 15, 16, 32]));
// Show ASW power if Opening ASW conditions met, or only ASW equipment equipped
if(isAswPowerShown){
$(".dayAttack", tooltipBox).parent().parent().hide();
} else {
$(".dayAswPower", tooltipBox).parent().parent().hide();
}
let combinedFleetBonus = 0;
if(onFleetNum) {
const powerBonus = shipObj.combinedFleetPowerBonus(
battleConds.playerCombinedFleetType, battleConds.isEnemyCombined, warfareTypeDay
);
combinedFleetBonus = onFleetNum === 1 ? powerBonus.main :
onFleetNum === 2 ? powerBonus.escort : 0;
}
let power = warfareTypeDay === "Torpedo" ?
shipObj.shellingTorpedoPower(combinedFleetBonus) :
shipObj.shellingFirePower(combinedFleetBonus);
let criticalPower = false;
let isCapped = false;
const canShellingAttack = warfareTypeDay === "Torpedo" ||
shipObj.canDoDayShellingAttack();
const canOpeningTorp = shipObj.canDoOpeningTorpedo();
const canClosingTorp = shipObj.canDoClosingTorpedo();
const spAttackType = shipObj.estimateDayAttackType(undefined, true, battleConds.airBattleId);
const dayCutinRate = shipObj.artillerySpottingRate(spAttackType[1], spAttackType[2]);
// Apply power cap by configured level
if(ConfigManager.powerCapApplyLevel >= 1) {
({power} = shipObj.applyPrecapModifiers(power, warfareTypeDay,
battleConds.engagementId, battleConds.formationId));
}
if(ConfigManager.powerCapApplyLevel >= 2) {
({power, isCapped} = shipObj.applyPowerCap(power, "Day", warfareTypeDay));
}
if(ConfigManager.powerCapApplyLevel >= 3) {
if(ConfigManager.powerCritical) {
criticalPower = shipObj.applyPostcapModifiers(
power, warfareTypeDay, spAttackType, undefined,
true, attackTypeDay[0] === "AirAttack").power;
}
({power} = shipObj.applyPostcapModifiers(power, warfareTypeDay,
spAttackType));
}
let attackTypeIndicators = !canShellingAttack ? KC3Meta.term("ShipAttackTypeNone") :
spAttackType[0] === "Cutin" ?
KC3Meta.cutinTypeDay(spAttackType[1]) + (dayCutinRate ? " {0}%".format(dayCutinRate) : "") :
KC3Meta.term("ShipAttackType" + attackTypeDay[0]);
if(canOpeningTorp) attackTypeIndicators += ", {0}"
.format(KC3Meta.term("ShipExtraPhaseOpeningTorpedo"));
if(canClosingTorp) attackTypeIndicators += ", {0}"
.format(KC3Meta.term("ShipExtraPhaseClosingTorpedo"));
$(".dayAttack", tooltipBox).html(
KC3Meta.term("ShipDayAttack").format(
KC3Meta.term("ShipWarfare" + warfareTypeDay),
joinPowerAndCritical(power, criticalPower, isCapped),
attackTypeIndicators
)
);
const attackTypeNight = shipObj.estimateNightAttackType();
const canNightAttack = shipObj.canDoNightAttack();
// See functions in previous 2 lines, ships whose night attack is AirAttack,
// but power formula seems be shelling: Taiyou Kai Ni, Shinyou Kai Ni
const hasYasenPower = (shipMst.api_houg || [])[0] + (shipMst.api_raig || [])[0] > 0;
const hasNightFlag = attackTypeNight[0] === "AirAttack" && attackTypeNight[2] === true;
const warfareTypeNight = {
"Torpedo" : "Torpedo",
"DepthCharge" : "Antisub",
"LandingAttack" : "AntiLand",
"Rocket" : "AntiLand"
}[attackTypeNight[0]] || "Shelling";
if(attackTypeNight[0] === "AirAttack" && canNightAttack && (hasNightFlag || !hasYasenPower)){
let power = shipObj.nightAirAttackPower(battleConds.contactPlaneId == 102);
let criticalPower = false;
let isCapped = false;
const spAttackType = shipObj.estimateNightAttackType(undefined, true);
const nightCutinRate = shipObj.nightCutinRate(spAttackType[1], spAttackType[2]);
if(ConfigManager.powerCapApplyLevel >= 1) {
({power} = shipObj.applyPrecapModifiers(power, "Shelling",
battleConds.engagementId, battleConds.formationId, spAttackType,
battleConds.isStartFromNight, battleConds.playerCombinedFleetType > 0));
}
if(ConfigManager.powerCapApplyLevel >= 2) {
({power, isCapped} = shipObj.applyPowerCap(power, "Night", "Shelling"));
}
if(ConfigManager.powerCapApplyLevel >= 3) {
if(ConfigManager.powerCritical) {
criticalPower = shipObj.applyPostcapModifiers(
power, "Shelling", undefined, undefined, true, true).power;
}
({power} = shipObj.applyPostcapModifiers(power, "Shelling"));
}
$(".nightAttack", tooltipBox).html(
KC3Meta.term("ShipNightAttack").format(
KC3Meta.term("ShipWarfareShelling"),
joinPowerAndCritical(power, criticalPower, isCapped),
spAttackType[0] === "Cutin" ?
KC3Meta.cutinTypeNight(spAttackType[1]) + (nightCutinRate ? " {0}%".format(nightCutinRate) : "") :
KC3Meta.term("ShipAttackType" + spAttackType[0])
)
);
} else {
let power = shipObj.nightBattlePower(battleConds.contactPlaneId == 102);
let criticalPower = false;
let isCapped = false;
const spAttackType = shipObj.estimateNightAttackType(undefined, true);
const nightCutinRate = shipObj.nightCutinRate(spAttackType[1], spAttackType[2]);
// Apply power cap by configured level
if(ConfigManager.powerCapApplyLevel >= 1) {
({power} = shipObj.applyPrecapModifiers(power, warfareTypeNight,
battleConds.engagementId, battleConds.formationId, spAttackType,
battleConds.isStartFromNight, battleConds.playerCombinedFleetType > 0));
}
if(ConfigManager.powerCapApplyLevel >= 2) {
({power, isCapped} = shipObj.applyPowerCap(power, "Night", warfareTypeNight));
}
if(ConfigManager.powerCapApplyLevel >= 3) {
if(ConfigManager.powerCritical) {
criticalPower = shipObj.applyPostcapModifiers(
power, warfareTypeNight, undefined, undefined, true).power;
}
({power} = shipObj.applyPostcapModifiers(power, warfareTypeNight));
}
let attackTypeIndicators = !canNightAttack ? KC3Meta.term("ShipAttackTypeNone") :
spAttackType[0] === "Cutin" ?
KC3Meta.cutinTypeNight(spAttackType[1]) + (nightCutinRate ? " {0}%".format(nightCutinRate) : "") :
KC3Meta.term("ShipAttackType" + spAttackType[0]);
$(".nightAttack", tooltipBox).html(
KC3Meta.term("ShipNightAttack").format(
KC3Meta.term("ShipWarfare" + warfareTypeNight),
joinPowerAndCritical(power, criticalPower, isCapped),
attackTypeIndicators
)
);
}
// TODO implement other types of accuracy
const shellingAccuracy = shipObj.shellingAccuracy(
shipObj.estimateShellingFormationModifier(battleConds.formationId, battleConds.enemyFormationId),
true
);
$(".shellingAccuracy", tooltipBox).text(
KC3Meta.term("ShipAccShelling").format(
Math.qckInt("floor", shellingAccuracy.accuracy, 1),
signedNumber(shellingAccuracy.equipmentStats),
signedNumber(Math.qckInt("floor", shellingAccuracy.equipImprovement, 1)),
signedNumber(Math.qckInt("floor", shellingAccuracy.equipGunFit, 1)),
optionalModifier(shellingAccuracy.moraleModifier, true),
optionalModifier(shellingAccuracy.artillerySpottingModifier),
optionalModifier(shellingAccuracy.apShellModifier)
)
);
const shellingEvasion = shipObj.shellingEvasion(
shipObj.estimateShellingFormationModifier(battleConds.formationId, battleConds.enemyFormationId, "evasion")
);
$(".shellingEvasion", tooltipBox).text(
KC3Meta.term("ShipEvaShelling").format(
Math.qckInt("floor", shellingEvasion.evasion, 1),
signedNumber(shellingEvasion.equipmentStats),
signedNumber(Math.qckInt("floor", shellingEvasion.equipImprovement, 1)),
signedNumber(-shellingEvasion.fuelPenalty),
optionalModifier(shellingEvasion.moraleModifier, true)
)
);
const [aaEffectTypeId, aaEffectTypeTerm] = shipObj.estimateAntiAirEffectType();
$(".adjustedAntiAir", tooltipBox).text(
KC3Meta.term("ShipAAAdjusted").format(
"{0}{1}".format(
shipObj.adjustedAntiAir(),
/* Here indicates the type of AA ability, not the real attack animation in-game,
* only special AA effect types will show a banner text in-game,
* like the T3 Shell shoots or Rockets shoots,
* regular AA gun animation triggered by equipping AA gun, Radar+SPB or HA mount.
* btw1, 12cm Rocket Launcher non-Kai belongs to AA guns, no irregular attack effect.
* btw2, flagship will fall-back to the effect user if none has any attack effect.
*/
aaEffectTypeId > 0 ?
" ({0})".format(
aaEffectTypeId === 4 ?
// Show a trigger chance for RosaK2 Defense, still unknown if with Type3 Shell
"{0}:{1}%".format(KC3Meta.term("ShipAAEffect" + aaEffectTypeTerm), shipObj.calcAntiAirEffectChance()) :
KC3Meta.term("ShipAAEffect" + aaEffectTypeTerm)
) : ""
)
)
);
$(".propShotdownRate", tooltipBox).text(
KC3Meta.term("ShipAAShotdownRate").format(
Math.qckInt("floor", shipObj.proportionalShotdownRate() * 100, 1)
)
);
const maxAaciParams = shipObj.maxAaciShotdownBonuses();
if(maxAaciParams[0] > 0){
$(".aaciMaxBonus", tooltipBox).text(
KC3Meta.term("ShipAACIMaxBonus").format(
"+{0} (x{1})".format(maxAaciParams[1], maxAaciParams[2])
)
);
} else {
$(".aaciMaxBonus", tooltipBox).text(
KC3Meta.term("ShipAACIMaxBonus").format(KC3Meta.term("None"))
);
}
// Not able to get following anti-air things if not on a fleet
if(onFleetNum){
const fixedShotdownRange = shipObj.fixedShotdownRange(ConfigManager.aaFormation);
const fleetPossibleAaci = fixedShotdownRange[2];
if(fleetPossibleAaci > 0){
$(".fixedShotdown", tooltipBox).text(
KC3Meta.term("ShipAAFixedShotdown").format(
"{0}~{1} (x{2})".format(fixedShotdownRange[0], fixedShotdownRange[1],
AntiAir.AACITable[fleetPossibleAaci].modifier)
)
);
} else {
$(".fixedShotdown", tooltipBox).text(
KC3Meta.term("ShipAAFixedShotdown").format(fixedShotdownRange[0])
);
}
const propShotdown = shipObj.proportionalShotdown(ConfigManager.imaginaryEnemySlot);
const aaciFixedShotdown = fleetPossibleAaci > 0 ? AntiAir.AACITable[fleetPossibleAaci].fixed : 0;
$.each($(".sd_title .aa_col", tooltipBox), function(idx, col){
$(col).text(KC3Meta.term("ShipAAShotdownTitles").split("/")[idx] || "");
});
$(".bomberSlot span", tooltipBox).text(ConfigManager.imaginaryEnemySlot);
$(".sd_both span", tooltipBox).text(
// Both succeeded
propShotdown + fixedShotdownRange[1] + aaciFixedShotdown + 1
);
$(".sd_prop span", tooltipBox).text(
// Proportional succeeded only
propShotdown + aaciFixedShotdown + 1
);
$(".sd_fixed span", tooltipBox).text(
// Fixed succeeded only
fixedShotdownRange[1] + aaciFixedShotdown + 1
);
$(".sd_fail span", tooltipBox).text(
// Both failed
aaciFixedShotdown + 1
);
} else {
$(".fixedShotdown", tooltipBox).text(
KC3Meta.term("ShipAAFixedShotdown").format("-"));
$.each($(".sd_title .aa_col", tooltipBox), function(idx, col){
$(col).text(KC3Meta.term("ShipAAShotdownTitles").split("/")[idx] || "");
});
}
return tooltipBox;
};
KC3Ship.onShipTooltipOpen = function(event, ui) {
const setStyleVar = (name, value) => {
const shipTooltipStyle = $(ui.tooltip).children().children().get(0).style;
shipTooltipStyle.removeProperty(name);
shipTooltipStyle.setProperty(name, value);
};
// find which width of wide rows overflow, add slide animation to them
// but animation might cost 10% more or less CPU even accelerated with GPU
let maxOverflow = 0;
$(".stat_wide div", ui.tooltip).each(function() {
// scroll width only works if element is visible
const sw = $(this).prop('scrollWidth'),
w = $(this).width(),
over = w - sw;
maxOverflow = Math.min(maxOverflow, over);
// allow overflow some pixels
if(over < -8) { $(this).addClass("use-gpu slide"); }
});
setStyleVar("--maxOverflow", maxOverflow + "px");
// show day shelling power instead of ASW power (if any) on holding Alt key
if(event.altKey && $(".dayAswPower", ui.tooltip).is(":visible")) {
$(".dayAswPower", ui.tooltip).parent().parent().hide();
$(".dayAttack", ui.tooltip).parent().parent().show();
}
// show day ASW power instead of shelling power if can ASW on holding Ctrl/Meta key
if((event.ctrlKey || event.metaKey) && !$(".dayAswPower", ui.tooltip).is(":visible")
&& $(".dayAswPower", ui.tooltip).text() !== "-") {
$(".dayAswPower", ui.tooltip).parent().parent().show();
$(".dayAttack", ui.tooltip).parent().parent().hide();
}
return true;
};
KC3Ship.prototype.deckbuilder = function() {
var itemsInfo = {};
var result = {
id: this.masterId,
lv: this.level,
luck: this.lk[0],
hp: this.hp[0],
asw : this.nakedAsw(),
items: itemsInfo
};
var gearInfo;
for(var i=0; i<5; ++i) {
gearInfo = this.equipment(i).deckbuilder();
if (gearInfo)
itemsInfo["i".concat(i+1)] = gearInfo;
else
break;
}
gearInfo = this.exItem().deckbuilder();
if (gearInfo) {
// #1726 Deckbuilder: if max slot not reach 5, `ix` will not be used,
// which means i? > ship.api_slot_num will be considered as the ex-slot.
var usedSlot = Object.keys(itemsInfo).length;
if(usedSlot < 5) {
itemsInfo["i".concat(usedSlot+1)] = gearInfo;
} else {
itemsInfo.ix = gearInfo;
}
}
return result;
};
})();
| DynamicSTOP/KC3Kai | src/library/objects/Ship.js | JavaScript | mit | 200,140 |
# This preloads the content types so that they are registered as Tirade::ActiveRecord::Content
APP_CONFIG[:content_types].each do |typ|
typ.to_s.constantize
end if APP_CONFIG[:content_types]
| niklas/Tirade | config/initializers/content_types.rb | Ruby | mit | 195 |
---
layout: post
title: Sixth Blog!!
---
This week we have learned some brand new concepts, like iterators, lambda, closure. Itโs tricky for me to understand when to add const before passed parameters. Also, I learned that itโs easier to use a for each loop in python to traverse an iterable type of variable instead of using a while loop through iterator. Since I learned Haskell in a class called programming language, itโs relatively easier for me to understand the concept of closure. When writing in Haskell for a basic interpreter, it is important to catch the closure so that the value of a function, for example, is not lost after the return statement. When self-writing a range_iterator, I also learned that python can have nested class, but it can be only called in the syntax of class.nestedclass() instead of this.nestedclass() like in Java.
For me, I think that range is an interesting name for that method because when it is passed in two arguments, it returns a list of integers in that range rather than the range of the two passed parameters. Sometimes, I need to think twice about what range actually returns.
As for exam preparation, what I am trying to do is to review all the materials covered in class, and make a list of questions so that I can ask questions during the study session on Tuesday.
# Tip Of the Week
Same words as always, Never give up, keep learning!!
Computer science is a subject that everybody at all ages is supposed to be encouraged to, and be able to learn. Itโs a fascinating subject that can create something powerful.
I also learned that mobile computing is also a studied area in MS and PhD.
| XiangyiKong/old_blogs | _posts/2015-10-04-Week6.md | Markdown | mit | 1,657 |
๏ปฟusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YamlDotNet.Serialization;
namespace Knet.Model
{
public class CContext
{
[YamlMember(Alias = "context")]
public CContextDetails ContextDetails { get; set; }
[YamlMember(Alias = "name")]
public string Name { get; set; }
}
}
| tonnyeremin/knet | Knet/Knet.Model/Configuration/Context.cs | C# | mit | 394 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>persistent-union-find: 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.10.1 / persistent-union-find - 8.8.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
persistent-union-find
<small>
8.8.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-10-02 09:47:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-02 09:47:12 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
conf-findutils 1 Virtual package relying on findutils
coq 8.10.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/persistent-union-find"
license: "Unknown"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/PersistentUnionFind"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
]
tags: [ "keyword: program verification" "keyword: union-find" "keyword: data structures" "keyword: Tarjan" "category: Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms" ]
authors: [ "Jean-Christophe Filliรขtre" ]
bug-reports: "https://github.com/coq-contribs/persistent-union-find/issues"
dev-repo: "git+https://github.com/coq-contribs/persistent-union-find.git"
synopsis: "Persistent Union Find"
description: """
http://www.lri.fr/~filliatr/puf/
Correctness proof of the Ocaml implementation of a persistent union-find
data structure. See http://www.lri.fr/~filliatr/puf/ for more details."""
flags: light-uninstall
url {
src:
"https://github.com/coq-contribs/persistent-union-find/archive/v8.8.0.tar.gz"
checksum: "md5=c24293a03ace1caaa86fe3195ad382ef"
}
</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-persistent-union-find.8.8.0 coq.8.10.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.10.1).
The following dependencies couldn't be met:
- coq-persistent-union-find -> coq < 8.9~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can'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-persistent-union-find.8.8.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.05.0-2.0.1/released/8.10.1/persistent-union-find/8.8.0.html | HTML | mit | 7,206 |
#!/usr/bin/env python
"""
@file HybridVAControl.py
@author Craig Rafter
@date 19/08/2016
class for fixed time signal control
"""
import signalControl, readJunctionData, traci
from math import atan2, degrees
import numpy as np
from collections import defaultdict
class HybridVAControl(signalControl.signalControl):
def __init__(self, junctionData, minGreenTime=10, maxGreenTime=60, scanRange=250, packetRate=0.2):
super(HybridVAControl, self).__init__()
self.junctionData = junctionData
self.firstCalled = self.getCurrentSUMOtime()
self.lastCalled = self.getCurrentSUMOtime()
self.lastStageIndex = 0
traci.trafficlights.setRedYellowGreenState(self.junctionData.id,
self.junctionData.stages[self.lastStageIndex].controlString)
self.packetRate = int(1000*packetRate)
self.transition = False
self.CAMactive = False
# dict[vehID] = [position, heading, velocity, Tdetect]
self.newVehicleInfo = {}
self.oldVehicleInfo = {}
self.scanRange = scanRange
self.jcnCtrlRegion = self._getJncCtrlRegion()
# print(self.junctionData.id)
# print(self.jcnCtrlRegion)
self.controlledLanes = traci.trafficlights.getControlledLanes(self.junctionData.id)
# dict[laneID] = [heading, shape]
self.laneDetectionInfo = self._getIncomingLaneInfo()
self.stageTime = 0.0
self.minGreenTime = minGreenTime
self.maxGreenTime = maxGreenTime
self.secondsPerMeterTraffic = 0.45
self.nearVehicleCatchDistance = 25
self.extendTime = 1.0 # 5 m in 10 m/s (acceptable journey 1.333)
self.laneInductors = self._getLaneInductors()
def process(self):
# Packets sent on this step
# packet delay + only get packets towards the end of the second
if (not self.getCurrentSUMOtime() % self.packetRate) and (self.getCurrentSUMOtime() % 1000 > 500):
self.CAMactive = True
self._getCAMinfo()
else:
self.CAMactive = False
# Update stage decisions
# If there's no ITS enabled vehicles present use VA ctrl
if len(self.oldVehicleInfo) < 1 and not self.getCurrentSUMOtime() % 1000:
detectTimePerLane = self._getLaneDetectTime()
#print(detectTimePerLane)
# Set adaptive time limit
#print(detectTimePerLane < 3)
if np.any(detectTimePerLane < 2):
extend = self.extendTime
else:
extend = 0.0
self.stageTime = max(self.stageTime + extend, self.minGreenTime)
self.stageTime = min(self.stageTime, self.maxGreenTime)
# If active and on the second, or transition then make stage descision
elif (self.CAMactive and not self.getCurrentSUMOtime() % 1000) or self.transition:
oncomingVeh = self._getOncomingVehicles()
# If new stage get furthest from stop line whose velocity < 5% speed
# limit and determine queue length
if self.transition:
furthestVeh = self._getFurthestStationaryVehicle(oncomingVeh)
if furthestVeh[0] != '':
meteredTime = self.secondsPerMeterTraffic*furthestVeh[1]
self.stageTime = max(self.minGreenTime, meteredTime)
self.stageTime = min(self.stageTime, self.maxGreenTime)
# If we're in this state this should never happen but just in case
else:
self.stageTime = self.minGreenTime
# If currently staging then extend time if there are vehicles close
# to the stop line
else:
nearestVeh = self._getNearestVehicle(oncomingVeh)
# If a vehicle detected
if nearestVeh != '' and nearestVeh[1] <= self.nearVehicleCatchDistance:
if (self.oldVehicleInfo[nearestVeh[0]][2] != 1e6
and self.oldVehicleInfo[nearestVeh[0]][2] > 1.0/self.secondsPerMeterTraffic):
meteredTime = nearestVeh[1]/self.oldVehicleInfo[nearestVeh[0]][2]
else:
meteredTime = self.secondsPerMeterTraffic*nearestVeh[1]
elapsedTime = 0.001*(self.getCurrentSUMOtime() - self.lastCalled)
Tremaining = self.stageTime - elapsedTime
self.stageTime = elapsedTime + max(meteredTime, Tremaining)
self.stageTime = min(self.stageTime, self.maxGreenTime)
# no detectable near vehicle try inductive loop info
elif nearestVeh == '' or nearestVeh[1] <= self.nearVehicleCatchDistance:
detectTimePerLane = self._getLaneDetectTime()
print('Loops2')
# Set adaptive time limit
if np.any(detectTimePerLane < 2):
extend = self.extendTime
else:
extend = 0.0
self.stageTime = max(self.stageTime + extend, self.minGreenTime)
self.stageTime = min(self.stageTime, self.maxGreenTime)
else:
pass
# process stage as normal
else:
pass
# print(self.stageTime)
self.transition = False
if self.transitionObject.active:
# If the transition object is active i.e. processing a transition
pass
elif (self.getCurrentSUMOtime() - self.firstCalled) < (self.junctionData.offset*1000):
# Process offset first
pass
elif (self.getCurrentSUMOtime() - self.lastCalled) < self.stageTime*1000:
# Before the period of the next stage
pass
else:
# Not active, not in offset, stage not finished
if len(self.junctionData.stages) != (self.lastStageIndex)+1:
# Loop from final stage to first stage
self.transitionObject.newTransition(
self.junctionData.id,
self.junctionData.stages[self.lastStageIndex].controlString,
self.junctionData.stages[self.lastStageIndex+1].controlString)
self.lastStageIndex += 1
else:
# Proceed to next stage
#print(0.001*(self.getCurrentSUMOtime() - self.lastCalled))
self.transitionObject.newTransition(
self.junctionData.id,
self.junctionData.stages[self.lastStageIndex].controlString,
self.junctionData.stages[0].controlString)
self.lastStageIndex = 0
#print(0.001*(self.getCurrentSUMOtime() - self.lastCalled))
self.lastCalled = self.getCurrentSUMOtime()
self.transition = True
self.stageTime = 0.0
super(HybridVAControl, self).process()
def _getHeading(self, currentLoc, prevLoc):
dy = currentLoc[1] - prevLoc[1]
dx = currentLoc[0] - prevLoc[0]
if currentLoc[1] == prevLoc[1] and currentLoc[0] == prevLoc[0]:
heading = -1
else:
if dy >= 0:
heading = degrees(atan2(dy, dx))
else:
heading = 360 + degrees(atan2(dy, dx))
# Map angle to make compatible with SUMO heading
if 0 <= heading <= 90:
heading = 90 - heading
elif 90 < heading < 360:
heading = 450 - heading
return heading
def _getJncCtrlRegion(self):
jncPosition = traci.junction.getPosition(self.junctionData.id)
otherJuncPos = [traci.junction.getPosition(x) for x in traci.trafficlights.getIDList() if x != self.junctionData.id]
ctrlRegion = {'N':jncPosition[1]+self.scanRange, 'S':jncPosition[1]-self.scanRange,
'E':jncPosition[0]+self.scanRange, 'W':jncPosition[0]-self.scanRange}
TOL = 10 # Exclusion region around junction boundary
if otherJuncPos != []:
for pos in otherJuncPos:
dx = jncPosition[0] - pos[0]
dy = jncPosition[1] - pos[1]
# North/South Boundary
if abs(dy) < self.scanRange:
if dy < -TOL:
ctrlRegion['N'] = min(pos[1] - TOL, ctrlRegion['N'])
elif dy > TOL:
ctrlRegion['S'] = max(pos[1] + TOL, ctrlRegion['S'])
else:
pass
else:
pass
# East/West Boundary
if abs(dx) < self.scanRange:
if dx < -TOL:
ctrlRegion['E'] = min(pos[0] - TOL, ctrlRegion['E'])
elif dx > TOL:
ctrlRegion['W'] = max(pos[0] + TOL, ctrlRegion['W'])
else:
pass
else:
pass
return ctrlRegion
def _isInRange(self, vehID):
vehPosition = np.array(traci.vehicle.getPosition(vehID))
jcnPosition = np.array(traci.junction.getPosition(self.junctionData.id))
distance = np.linalg.norm(vehPosition - jcnPosition)
if (distance < self.scanRange
and self.jcnCtrlRegion['W'] <= vehPosition[0] <= self.jcnCtrlRegion['E']
and self.jcnCtrlRegion['S'] <= vehPosition[1] <= self.jcnCtrlRegion['N']):
return True
else:
return False
def _getVelocity(self, vehID, vehPosition, Tdetect):
if vehID in self.oldVehicleInfo.keys():
oldX = np.array(self.oldVehicleInfo[vehID][0])
newX = np.array(vehPosition)
dx = np.linalg.norm(newX - oldX)
dt = Tdetect - self.oldVehicleInfo[vehID][3]
velocity = dx/dt
return velocity
else:
return 1e6
def _getCAMinfo(self):
self.oldVehicleInfo = self.newVehicleInfo.copy()
self.newVehicleInfo = {}
Tdetect = 0.001*self.getCurrentSUMOtime()
for vehID in traci.vehicle.getIDList():
if traci.vehicle.getTypeID(vehID) == 'typeITSCV' and self._isInRange(vehID):
vehPosition = traci.vehicle.getPosition(vehID)
vehHeading = traci.vehicle.getAngle(vehID)
vehVelocity = self._getVelocity(vehID, vehPosition, Tdetect)
self.newVehicleInfo[vehID] = [vehPosition, vehHeading, vehVelocity, Tdetect]
def _getIncomingLaneInfo(self):
laneInfo = defaultdict(list)
for lane in list(np.unique(np.array(self.controlledLanes))):
shape = traci.lane.getShape(lane)
width = traci.lane.getWidth(lane)
heading = self._getHeading(shape[1], shape[0])
dx = shape[0][0] - shape[1][0]
dy = shape[0][1] - shape[1][1]
if abs(dx) > abs(dy):
roadBounds = ((shape[0][0], shape[0][1] + width), (shape[1][0], shape[1][1] - width))
else:
roadBounds = ((shape[0][0] + width, shape[0][1]), (shape[1][0] - width, shape[1][1]))
laneInfo[lane] = [heading, roadBounds]
return laneInfo
def _getOncomingVehicles(self):
# Oncoming if (in active lane & heading matches oncoming heading &
# is in lane bounds)
activeLanes = self._getActiveLanes()
vehicles = []
for lane in activeLanes:
for vehID in self.oldVehicleInfo.keys():
# If on correct heading pm 10deg
if (np.isclose(self.oldVehicleInfo[vehID][1], self.laneDetectionInfo[lane][0], atol=10)
# If in lane x bounds
and min(self.laneDetectionInfo[lane][1][0][0], self.laneDetectionInfo[lane][1][1][0]) <
self.oldVehicleInfo[vehID][0][0] <
max(self.laneDetectionInfo[lane][1][0][0], self.laneDetectionInfo[lane][1][1][0])
# If in lane y bounds
and min(self.laneDetectionInfo[lane][1][0][1], self.laneDetectionInfo[lane][1][1][1]) <
self.oldVehicleInfo[vehID][0][1] <
max(self.laneDetectionInfo[lane][1][0][1], self.laneDetectionInfo[lane][1][1][1])):
# Then append vehicle
vehicles.append(vehID)
vehicles = list(np.unique(np.array(vehicles)))
return vehicles
def _getActiveLanes(self):
# Get the current control string to find the green lights
stageCtrlString = self.junctionData.stages[self.lastStageIndex].controlString
activeLanes = []
for i, letter in enumerate(stageCtrlString):
if letter == 'G':
activeLanes.append(self.controlledLanes[i])
# Get a list of the unique active lanes
activeLanes = list(np.unique(np.array(activeLanes)))
return activeLanes
def _getLaneInductors(self):
laneInductors = defaultdict(list)
for loop in traci.inductionloop.getIDList():
loopLane = traci.inductionloop.getLaneID(loop)
if loopLane in self.controlledLanes and 'upstream' not in loop:
laneInductors[loopLane].append(loop)
return laneInductors
def _getFurthestStationaryVehicle(self, vehIDs):
furthestID = ''
maxDistance = -1
jcnPosition = np.array(traci.junction.getPosition(self.junctionData.id))
speedLimit = traci.lane.getMaxSpeed(self._getActiveLanes()[0])
for ID in vehIDs:
vehPosition = np.array(self.oldVehicleInfo[ID][0])
distance = np.linalg.norm(vehPosition - jcnPosition)
if distance > maxDistance and self.oldVehicleInfo[ID][2] < 0.05*speedLimit:
furthestID = ID
maxDistance = distance
return [furthestID, maxDistance]
def _getNearestVehicle(self, vehIDs):
nearestID = ''
minDistance = self.nearVehicleCatchDistance + 1
jcnPosition = np.array(traci.junction.getPosition(self.junctionData.id))
for ID in vehIDs:
vehPosition = np.array(self.oldVehicleInfo[ID][0])
distance = np.linalg.norm(vehPosition - jcnPosition)
if distance < minDistance:
nearestID = ID
minDistance = distance
return [nearestID, minDistance]
def _getLaneDetectTime(self):
activeLanes = self._getActiveLanes()
meanDetectTimePerLane = np.zeros(len(activeLanes))
for i, lane in enumerate(activeLanes):
detectTimes = []
for loop in self.laneInductors[lane]:
detectTimes.append(traci.inductionloop.getTimeSinceDetection(loop))
meanDetectTimePerLane[i] = np.mean(detectTimes)
return meanDetectTimePerLane
| cbrafter/TRB18_GPSVA | codes/sumoAPI/HybridVAControl_PROFILED.py | Python | mit | 14,996 |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca -->
<head>
<!-- Title begins / Dรฉbut du titre -->
<title>
Monsanto Canada Inc. -
Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada
</title>
<!-- Title ends / Fin du titre -->
<!-- Meta-data begins / Dรฉbut des mรฉtadonnรฉes -->
<meta charset="utf-8" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="dcterms.title" content="" />
<meta name="description" content="" />
<meta name="dcterms.description" content="" />
<meta name="dcterms.type" content="report, data set" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.issued" title="W3CDTF" content="" />
<meta name="dcterms.modified" title="W3CDTF" content="" />
<meta name="keywords" content="" />
<meta name="dcterms.creator" content="" />
<meta name="author" content="" />
<meta name="dcterms.created" title="W3CDTF" content="" />
<meta name="dcterms.publisher" content="" />
<meta name="dcterms.audience" title="icaudience" content="" />
<meta name="dcterms.spatial" title="ISO3166-1" content="" />
<meta name="dcterms.spatial" title="gcgeonames" content="" />
<meta name="dcterms.format" content="HTML" />
<meta name="dcterms.identifier" title="ICsiteProduct" content="536" />
<!-- EPI-11240 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- MCG-202 -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- EPI-11567 -->
<meta name = "format-detection" content = "telephone=no">
<!-- EPI-12603 -->
<meta name="robots" content="noarchive">
<!-- EPI-11190 - Webtrends -->
<script>
var startTime = new Date();
startTime = startTime.getTime();
</script>
<!--[if gte IE 9 | !IE ]><!-->
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css">
<!--<![endif]-->
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css">
<!--[if lt IE 9]>
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script>
<![endif]-->
<!--[if lte IE 9]>
<![endif]-->
<noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript>
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<script>dataLayer1 = [];</script>
<!-- End Google Tag Manager -->
<!-- EPI-11235 -->
<link rel="stylesheet" href="/eic/home.nsf/css/add_WET_4-0_Canada_Apps.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body class="home" vocab="http://schema.org/" typeof="WebPage">
<!-- EPIC HEADER BEGIN -->
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<noscript><iframe title="Google Tag Manager" src="//www.googletagmanager.com/ns.html?id=GTM-TLGQ9K" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer1','GTM-TLGQ9K');</script>
<!-- End Google Tag Manager -->
<!-- EPI-12801 -->
<span typeof="Organization"><meta property="legalName" content="Department_of_Industry"></span>
<ul id="wb-tphp">
<li class="wb-slc">
<a class="wb-sl" href="#wb-cont">Skip to main content</a>
</li>
<li class="wb-slc visible-sm visible-md visible-lg">
<a class="wb-sl" href="#wb-info">Skip to "About this site"</a>
</li>
</ul>
<header role="banner">
<div id="wb-bnr" class="container">
<section id="wb-lng" class="visible-md visible-lg text-right">
<h2 class="wb-inv">Language selection</h2>
<div class="row">
<div class="col-md-12">
<ul class="list-inline mrgn-bttm-0">
<li><a href="nvgt.do?V_TOKEN=1492304605805&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=31097&V_SEARCH.docsStart=31096&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/imbs/ccc/rgstrtn//magmi/web/download_file.php?_flId?_flxKy=e1s1&estblmntNo=234567041301&profileId=61&_evId=bck&lang=eng&V_SEARCH.showStricts=false&prtl=1&_flId?_flId?_flxKy=e1s1" title="Franรงais" lang="fr">Franรงais</a></li>
</ul>
</div>
</div>
</section>
<div class="row">
<div class="brand col-xs-8 col-sm-9 col-md-6">
<a href="http://www.canada.ca/en/index.html"><object type="image/svg+xml" tabindex="-1" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/sig-blk-en.svg"></object><span class="wb-inv"> Government of Canada</span></a>
</div>
<section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="list-inline text-right chvrn">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li>
</ul>
<div id="mb-pnl"></div>
</section>
<!-- Site Search Removed -->
</div>
</div>
<nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="SiteNavigationElement">
<h2 class="wb-inv">Topics menu</h2>
<div class="container nvbar">
<div class="row">
<ul class="list-inline menu">
<li><a href="https://www.canada.ca/en/services/jobs.html">Jobs</a></li>
<li><a href="http://www.cic.gc.ca/english/index.asp">Immigration</a></li>
<li><a href="https://travel.gc.ca/">Travel</a></li>
<li><a href="https://www.canada.ca/en/services/business.html">Business</a></li>
<li><a href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li>
<li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li>
<li><a href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li>
<li><a href="https://www.canada.ca/en/services.html">More services</a></li>
</ul>
</div>
</div>
</nav>
<!-- EPIC BODY BEGIN -->
<nav role="navigation" id="wb-bc" class="" property="breadcrumb">
<h2 class="wb-inv">You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li>
<li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li>
<li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li>
</ol>
</div>
</div>
</nav>
</header>
<main id="wb-cont" role="main" property="mainContentOfPage" class="container">
<!-- End Header -->
<!-- Begin Body -->
<!-- Begin Body Title -->
<!-- End Body Title -->
<!-- Begin Body Head -->
<!-- End Body Head -->
<!-- Begin Body Content -->
<br>
<!-- Complete Profile -->
<!-- Company Information above tabbed area-->
<input id="showMore" type="hidden" value='more'/>
<input id="showLess" type="hidden" value='less'/>
<h1 id="wb-cont">
Company profile - Canadian Company Capabilities
</h1>
<div class="profileInfo hidden-print">
<ul class="list-inline">
<li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&rstBtn.x=" class="btn btn-link">New Search</a> |</li>
<li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do">
<input type="hidden" name="lang" value="eng" />
<input type="hidden" name="profileId" value="" />
<input type="hidden" name="prtl" value="1" />
<input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" />
<input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" />
<input type="hidden" name="V_SEARCH.depth" value="1" />
<input type="hidden" name="V_SEARCH.showStricts" value="false" />
<input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" />
</form></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=31095&V_DOCUMENT.docRank=31096&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492304636669&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=123456002042&profileId=&key.newSearchLabel=">Previous Company</a></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=31097&V_DOCUMENT.docRank=31098&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492304636669&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=000026400000&profileId=&key.newSearchLabel=">Next Company</a></li>
</ul>
</div>
<details>
<summary>Third-Party Information Liability Disclaimer</summary>
<p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p>
</details>
<h2>
Monsanto Canada Inc.
</h2>
<div class="row">
<div class="col-md-5">
<h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2>
<p>Monsanto Canada Inc.</p>
<div class="mrgn-tp-md"></div>
<p class="mrgn-bttm-0" ><a href="http://www.monsanto.ca/"
target="_blank" title="Website URL">http://www.monsanto.ca/</a></p>
</div>
<div class="col-md-4 mrgn-sm-sm">
<h2 class="h5 mrgn-bttm-0">Mailing Address:</h2>
<address class="mrgn-bttm-md">
900-1 Research Rd<br/>
WINNIPEG,
Manitoba<br/>
R3T 6E3
<br/>
</address>
<h2 class="h5 mrgn-bttm-0">Location Address:</h2>
<address class="mrgn-bttm-md">
900-1 Research Rd<br/>
WINNIPEG,
Manitoba<br/>
R3T 6E3
<br/>
</address>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(204) 985-1000
</p>
<p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>:
(204) 488-9599</p>
</div>
<div class="col-md-3 mrgn-tp-md">
<h2 class="wb-inv">Logo</h2>
<img class="img-responsive text-left" src="https://www.ic.gc.ca/app/ccc/srch/media?estblmntNo=123456183596&graphFileName=Full-Color+Monsanto+&applicationCode=AP&lang=eng" alt="Logo" />
</div>
</div>
<div class="row mrgn-tp-md mrgn-bttm-md">
<div class="col-md-12">
<h2 class="wb-inv">Company Profile</h2>
<br> Headquartered in Winnipeg, Manitoba, Monsanto Canada Inc. is part of the larger global Monsanto family. Monsanto Company is an agricultural company and a leading global provider of technology-based solutions and agricultural products that improve farm productivity and food quality. Monsanto remains focused on enabling both small-holder and large-scale farmers to produce more from their land while conserving more of our worldยs natural resources such as water and energy. Learn more about our business and our commitments at www.monsanto.ca.<br>
</div>
</div>
<!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<details id="details-panel1">
<summary>
Full profile
</summary>
<!-- Tab 1 -->
<h2 class="wb-invisible">
Full profile
</h2>
<!-- Contact Information -->
<h3 class="page-header">
Contact information
</h3>
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Mike
McGuire
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
General Manager
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Management Executive.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(519) 841-5846
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
Mike.McGuire@monsanto.com
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Trish
Jordan
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
Director
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Management Executive.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(204) 985-1005
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(204) 488-1577
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
Trish.L.Jordan@monsanto.com
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
John
Dossetor
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
Director
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Government Relations.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(613) 234-5121
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
John.B.Dossetor@monsanto.com
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Company Description -->
<h3 class="page-header">
Company description
</h3>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Foreign
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Year Established:
</strong>
</div>
<div class="col-md-7">
1951
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
No
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
325320 - Pesticide and Other Agricultural Chemical Manufacturing
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Manufacturer / Processor / Producer
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Number of Employees:
</strong>
</div>
<div class="col-md-7">
35
</div>
</div>
</section>
<!-- Products / Services / Licensing -->
<h3 class="page-header">
Product / Service / Licensing
</h3>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
Seed, Technology, Herbicides <br>
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Technology Profile -->
<!-- Market Profile -->
<h3 class="page-header">
Market profile
</h3>
<section class="container-fluid">
<h4>
Geographic markets:
</h4>
<h5>
Actively pursuing:
</h5>
<ul>
<li>Algeria</li>
<li>American Samoa</li>
<li>Antarctica</li>
<li>Argentina</li>
<li>Australia</li>
<li>Bolivia, Plurinational State of</li>
<li>Brazil</li>
<li>Cambodia</li>
<li>Chile</li>
<li>Colombia</li>
<li>Cook Islands</li>
<li>Ecuador</li>
<li>Falkland Islands (Malvinas)</li>
<li>Fiji</li>
<li>French Guiana</li>
<li>French Polynesia</li>
<li>Guam</li>
<li>Guinea</li>
<li>Guyana</li>
<li>Indonesia</li>
<li>Japan</li>
<li>Korea, Democratic People's Republic of</li>
<li>Korea, Republic of</li>
<li>Lao People's Democratic Republic</li>
<li>Macao</li>
<li>Malaysia</li>
<li>Mauritania</li>
<li>New Caledonia</li>
<li>New Zealand</li>
<li>Papua New Guinea</li>
<li>Paraguay</li>
<li>Peru</li>
<li>Philippines</li>
<li>Samoa</li>
<li>Singapore</li>
<li>Solomon Islands</li>
<li>Suriname</li>
<li>Taiwan</li>
<li>Thailand</li>
<li>Tonga</li>
<li>Uruguay</li>
<li>Vanuatu</li>
<li>Venezuela, Bolivarian Republic of</li>
<li>Viet Nam</li>
</ul>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Sector Information -->
<details class="mrgn-tp-md mrgn-bttm-md">
<summary>
Third-Party Information Liability Disclaimer
</summary>
<p>
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
</p>
</details>
</details>
<details id="details-panel2">
<summary>
Contacts
</summary>
<h2 class="wb-invisible">
Contact information
</h2>
<!-- Contact Information -->
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Mike
McGuire
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
General Manager
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Management Executive.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(519) 841-5846
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
Mike.McGuire@monsanto.com
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Trish
Jordan
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
Director
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Management Executive.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(204) 985-1005
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(204) 488-1577
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
Trish.L.Jordan@monsanto.com
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
John
Dossetor
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
Director
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Government Relations.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(613) 234-5121
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
John.B.Dossetor@monsanto.com
</div>
</div>
</section>
</details>
<details id="details-panel3">
<summary>
Description
</summary>
<h2 class="wb-invisible">
Company description
</h2>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Foreign
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Year Established:
</strong>
</div>
<div class="col-md-7">
1951
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
No
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
325320 - Pesticide and Other Agricultural Chemical Manufacturing
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Manufacturer / Processor / Producer
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Number of Employees:
</strong>
</div>
<div class="col-md-7">
35
</div>
</div>
</section>
</details>
<details id="details-panel4">
<summary>
Products, services and licensing
</summary>
<h2 class="wb-invisible">
Product / Service / Licensing
</h2>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
Seed, Technology, Herbicides <br>
</div>
</div>
</section>
</details>
<details id="details-panel6">
<summary>
Market
</summary>
<h2 class="wb-invisible">
Market profile
</h2>
<section class="container-fluid">
<h4>
Geographic markets:
</h4>
<h5>
Actively pursuing:
</h5>
<ul>
<li>Algeria</li>
<li>American Samoa</li>
<li>Antarctica</li>
<li>Argentina</li>
<li>Australia</li>
<li>Bolivia, Plurinational State of</li>
<li>Brazil</li>
<li>Cambodia</li>
<li>Chile</li>
<li>Colombia</li>
<li>Cook Islands</li>
<li>Ecuador</li>
<li>Falkland Islands (Malvinas)</li>
<li>Fiji</li>
<li>French Guiana</li>
<li>French Polynesia</li>
<li>Guam</li>
<li>Guinea</li>
<li>Guyana</li>
<li>Indonesia</li>
<li>Japan</li>
<li>Korea, Democratic People's Republic of</li>
<li>Korea, Republic of</li>
<li>Lao People's Democratic Republic</li>
<li>Macao</li>
<li>Malaysia</li>
<li>Mauritania</li>
<li>New Caledonia</li>
<li>New Zealand</li>
<li>Papua New Guinea</li>
<li>Paraguay</li>
<li>Peru</li>
<li>Philippines</li>
<li>Samoa</li>
<li>Singapore</li>
<li>Solomon Islands</li>
<li>Suriname</li>
<li>Taiwan</li>
<li>Thailand</li>
<li>Tonga</li>
<li>Uruguay</li>
<li>Vanuatu</li>
<li>Venezuela, Bolivarian Republic of</li>
<li>Viet Nam</li>
</ul>
</section>
</details>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
Last Update Date 2017-03-06
</div>
</div>
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
<!-- End Body Content -->
<!-- Begin Body Foot -->
<!-- End Body Foot -->
<!-- END MAIN TABLE -->
<!-- End body -->
<!-- Begin footer -->
<div class="row pagedetails">
<div class="col-sm-5 col-xs-12 datemod">
<dl id="wb-dtmd">
<dt class=" hidden-print">Date Modified:</dt>
<dd class=" hidden-print">
<span><time>2017-03-02</time></span>
</dd>
</dl>
</div>
<div class="clear visible-xs"></div>
<div class="col-sm-4 col-xs-6">
</div>
<div class="col-sm-3 col-xs-6 text-right">
</div>
<div class="clear visible-xs"></div>
</div>
</main>
<footer role="contentinfo" id="wb-info">
<nav role="navigation" class="container wb-navcurr">
<h2 class="wb-inv">About government</h2>
<!-- EPIC FOOTER BEGIN -->
<!-- EPI-11638 Contact us -->
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&from=Industries">Contact us</a></li>
<li><a href="https://www.canada.ca/en/government/dept.html">Departments and agencies</a></li>
<li><a href="https://www.canada.ca/en/government/publicservice.html">Public service and military</a></li>
<li><a href="https://www.canada.ca/en/news.html">News</a></li>
<li><a href="https://www.canada.ca/en/government/system/laws.html">Treaties, laws and regulations</a></li>
<li><a href="https://www.canada.ca/en/transparency/reporting.html">Government-wide reporting</a></li>
<li><a href="http://pm.gc.ca/eng">Prime Minister</a></li>
<li><a href="https://www.canada.ca/en/government/system.html">How government works</a></li>
<li><a href="http://open.canada.ca/en/">Open government</a></li>
</ul>
</nav>
<div class="brand">
<div class="container">
<div class="row">
<nav class="col-md-10 ftr-urlt-lnk">
<h2 class="wb-inv">About this site</h2>
<ul>
<li><a href="https://www.canada.ca/en/social.html">Social media</a></li>
<li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li>
<li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html">Terms and conditions</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li>
</ul>
</nav>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">Top of Page <span class="glyphicon glyphicon-chevron-up"></span></a>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object>
</div>
</div>
</div>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script>
<![endif]-->
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script>
<!-- EPI-10519 -->
<span class="wb-sessto"
data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span>
<script src="/eic/home.nsf/js/jQuery.externalOpensInNewWindow.js"></script>
<!-- EPI-11190 - Webtrends -->
<script src="/eic/home.nsf/js/webtrends.js"></script>
<script>var endTime = new Date();</script>
<noscript>
<div><img alt="" id="DCSIMG" width="1" height="1" src="//wt-sdc.ic.gc.ca/dcs6v67hwe0ei7wsv8g9fv50d_3k6i/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=9.4.0&dcssip=www.ic.gc.ca"/></div>
</noscript>
<!-- /Webtrends -->
<!-- JS deps -->
<script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script>
<!-- EPI-11262 - Util JS -->
<script src="/eic/home.nsf/js/_WET_4-0_utils_canada.min.js"></script>
<!-- EPI-11383 -->
<script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script>
<span style="display:none;" id='app-info' data-project-groupid='' data-project-artifactid='' data-project-version='' data-project-build-timestamp='' data-issue-tracking='' data-scm-sha1='' data-scm-sha1-abbrev='' data-scm-branch='' data-scm-commit-date=''></span>
</body></html>
<!-- End Footer -->
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
| GoC-Spending/data-corporations | html/123456183596.html | HTML | mit | 52,596 |
# Phantasy
The idea of Phantasy is to make it as easy as possible to write PHP in a more functional, composable style.
It's essentially broken up into two parts:
* [Core Functions](core.md)
* [Helpful Data Types](DataTypes/README.md)
Note: In these docs, you'll sometimes see functions included from `Phantasy\PHP`, these come from the [phantasy-php](https://github.com/mckayb/phantasy-php) package.
| mckayb/phantasy | docs/README.md | Markdown | mit | 408 |
<?php
/**
* VirtualMoneyFixture
*
*/
App::uses('VirtualMoney', 'VirtualMoney.Model');
class VirtualMoneyFixture extends CakeTestFixture {
/**
* Import
*
* @var array
*/
public $import = array('model' => 'VirtualMoney.VirtualMoney');
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => '5312fecf-5df8-47af-bd52-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '1',
'price' => 1000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
array(
'id' => '5312fecf-2ffc-4b9c-9bea-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '1',
'price' => 2000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:08'
),
array(
'id' => '5312fecf-b890-46cc-80f4-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '1',
'price' => 3000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
array(
'id' => '5312fecf-72c0-458b-91d3-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '2',
'price' => 4000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
array(
'id' => '5312fecf-c9b8-4c89-8175-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '2',
'price' => 5000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
array(
'id' => '5312fecf-669c-4c15-8610-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '3',
'price' => 6000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
array(
'id' => '5312fecf-d75c-4cd2-8d19-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '4',
'price' => 7000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
array(
'id' => '5312fecf-5ba4-4825-b39f-3e8831d4c5d0',
'model' => 'User',
'foreign_key' => '5',
'price' => 8000,
'description' => 'null',
'extra' => 'null',
'deleted' => null,
'created' => '2014-03-02 18:50:07'
),
);
}
| takumi-dev/CakePHP-VirtualMoney | Test/Fixture/VirtualMoneyFixture.php | PHP | mit | 2,248 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: 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.7.2 / interval - 4.3.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
interval
<small>
4.3.1
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-01-22 06:02:19 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-22 06:02:19 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-ocamlbuild base OCamlbuild binary and libraries 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.7.2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.02.3 The OCaml compiler (virtual package)
ocaml-base-compiler 4.02.3 Official 4.02.3 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "guillaume.melquiond@inria.fr"
homepage: "https://coqinterval.gitlabpages.inria.fr/"
dev-repo: "git+https://gitlab.inria.fr/coqinterval/interval.git"
bug-reports: "https://gitlab.inria.fr/coqinterval/interval/issues"
license: "CeCILL-C"
build: [
["autoconf"] {dev}
["./configure"]
["./remake" "-j%{jobs}%"]
]
install: ["./remake" "install"]
depends: [
"coq" {>= "8.8" & < "8.15~"}
"coq-bignums"
"coq-flocq" {>= "3.1"}
"coq-mathcomp-ssreflect" {>= "1.6"}
"coq-coquelicot" {>= "3.0"}
"conf-autoconf" {build & dev}
("conf-g++" {build} | "conf-clang" {build})
]
tags: [
"keyword:interval arithmetic"
"keyword:decision procedure"
"keyword:floating-point arithmetic"
"keyword:reflexive tactic"
"keyword:Taylor models"
"category:Mathematics/Real Calculus and Topology"
"category:Computer Science/Decision Procedures and Certified Algorithms/Decision procedures"
"logpath:Interval"
"date:2021-11-08"
]
authors: [
"Guillaume Melquiond <guillaume.melquiond@inria.fr>"
"รrik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Pierre Roux <pierre.roux@onera.fr>"
"Thomas Sibut-Pinote <thomas.sibut-pinote@inria.fr>"
]
synopsis: "A Coq tactic for proving bounds on real-valued expressions automatically"
url {
src: "https://coqinterval.gitlabpages.inria.fr/releases/interval-4.3.1.tar.gz"
checksum: "sha512=ca04b178eecc6264116daf52a6b3dc6ca8f8bd9ce704761e574119a2caeceb4367b1c1e7b715b38ec79f4e226d87c3f39efdbde94b2415ef17ce39b0fe9ba9d8"
}
</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-interval.4.3.1 coq.8.7.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.2).
The following dependencies couldn't be met:
- coq-interval -> coq >= 8.8 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
Your request can'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-interval.4.3.1</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.02.3-2.0.6/released/8.7.2/interval/4.3.1.html | HTML | mit | 7,912 |
Ccminer compilation on Debian Stretch is not straight forward, so here are few instruction that worked for me.
Install libssl1.0-dev NOT libssl-dev:
apt-get install libssl1.0-dev
Also you will need gcc-5, which is available in unstable:
nano /etc/apt/sources.list
# Unstable
deb http://debian.linux.edu.lv/debian/ sid main contrib non-free
deb-src http://debian.linux.edu.lv/debian/ sid main contrib non-free
apt-get update
apt-get install gcc-5/unstable g++-5/unstable
To NOT mess up the system it is suggested to setup package pinning:
nano /etc/apt/preferences.d/dist.pref
Package: *
Pin: release l=Debian-Security
Pin-Priority: 1000
Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release a=testing
Pin-Priority: 750
Package: *
Pin: release a=unstable
Pin-Priority: -1
Package: *
Pin: release a=experimental
Pin-Priority: -1
Run ./build.sh.
If it complains something about "relocation R_X86_64_32 against symbol XXXX can not be used when making a shared object":
nano Makefile
find "CFLAGS" and add -fPIC
find "nvcc_FLAGS" and add --compiler-options '-fPIC' --shared
find al occurrences of "$(NVCC) $(JANSSON_INCLUDES)" and add --compiler-options '-fPIC' --shared
make clean && make
That should do it.
| gintsmurans/mining | Linux/miners/ccminer_notes.md | Markdown | mit | 1,368 |
.foo {
padding-inline-start: 1px;
}
.bar {
padding-inline-end: 1px;
}
| gasolin/postcss-bidirection | tests/fixtures/padding-input.css | CSS | mit | 75 |
<div class="commune_descr limited">
<p>
Saint-Germain-la-Montagne est
un village
gรฉographiquement positionnรฉ dans le dรฉpartement de Loire en Rhรดne-Alpes. Elle comptait 201 habitants en 2008.</p>
<p>Si vous pensez emmenager ร Saint-Germain-la-Montagne, vous pourrez facilement trouver une maison ร vendre. </p>
<p>ร proximitรฉ de Saint-Germain-la-Montagne sont localisรฉes les villes de
<a href="{{VLROOT}}/immobilier/chauffailles_71120/">Chauffailles</a> localisรฉe ร 3 km, 3 998 habitants,
<a href="{{VLROOT}}/immobilier/saint-igny-de-roche_71428/">Saint-Igny-de-Roche</a> localisรฉe ร 6 km, 630 habitants,
<a href="{{VLROOT}}/immobilier/saint-clement-de-vers_69186/">Saint-Clรฉment-de-Vers</a> situรฉe ร 3 km, 221 habitants,
<a href="{{VLROOT}}/immobilier/anglure-sous-dun_71008/">Anglure-sous-Dun</a> localisรฉe ร 3 km, 164 habitants,
<a href="{{VLROOT}}/immobilier/saint-igny-de-vers_69209/">Saint-Igny-de-Vers</a> situรฉe ร 6 km, 592 habitants,
<a href="{{VLROOT}}/immobilier/belmont-de-la-loire_42015/">Belmont-de-la-Loire</a> ร 4 km, 1 515 habitants,
entre autres. De plus, Saint-Germain-la-Montagne est situรฉe ร seulement 29 km de <a href="{{VLROOT}}/immobilier/roanne_42187/">Roanne</a>.</p>
<p>Le parc d'habitations, ร Saint-Germain-la-Montagne, รฉtait rรฉparti en 2011 en cinq appartements et 168 maisons soit
un marchรฉ relativement รฉquilibrรฉ.</p>
<p>La commune propose quelques รฉquipements, elle propose entre autres un terrain de tennis et une boucle de randonnรฉe.</p>
</div>
| donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/42229.html | HTML | mit | 1,574 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-translations: 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.7.2 / metacoq-translations - 1.0~beta1+8.12</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
metacoq-translations
<small>
1.0~beta1+8.12
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-02-10 19:42:23 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-10 19:42:23 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 2 Virtual package relying on perl
coq 8.7.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.12"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Simon Boulier <simon.boulier@inria.fr>"
"Cyril Cohen <cyril.cohen@inria.fr>"
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
"Thรฉo Winterhalter <theo.winterhalter@inria.fr>"
]
license: "MIT"
build: [
["sh" "./configure.sh"]
[make "-j%{jobs}%" "-C" "translations"]
]
install: [
[make "-C" "translations" "install"]
]
depends: [
"ocaml" {>= "4.07.1"}
"coq" {>= "8.12" & < "8.13~"}
"conf-python-3" {build}
"conf-time" {build}
"coq-metacoq-template" {= version}
"coq-metacoq-checker" {= version}
]
synopsis: "Translations built on top of MetaCoq"
description: """
MetaCoq is a meta-programming framework for Coq.
The Translations modules provides implementation of standard translations
from type theory to type theory, e.g. parametricity and the `cross-bool`
translation that invalidates functional extensionality.
"""
url {
src: "https://github.com/MetaCoq/metacoq/archive/v1.0-beta1-8.12.tar.gz"
checksum: "sha256=19fc4475ae81677018e21a1e20503716a47713ec8b2081e7506f5c9390284c7a"
}
</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-translations.1.0~beta1+8.12 coq.8.7.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.2).
The following dependencies couldn't be met:
- coq-metacoq-translations -> ocaml >= 4.07.1
base of this switch (use `--unlock-base' 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-metacoq-translations.1.0~beta1+8.12</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.06.1-2.0.5/released/8.7.2/metacoq-translations/1.0~beta1+8.12.html | HTML | mit | 7,484 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-bigenough: 36 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 / extra-dev</a></li>
<li class="active"><a href="">dev / mathcomp-bigenough - 1.0.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
mathcomp-bigenough
<small>
1.0.1
<span class="label label-success">36 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-01-20 06:05:22 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-20 06:05:22 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 3 Virtual package relying on a GMP lib system installation
coq dev Formal proof management system
dune 2.9.1 Fast, portable, and opinionated build system
ocaml 4.10.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2 Official release 4.10.2
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Cyril Cohen <cyril.cohen@inria.fr>"
homepage: "https://github.com/math-comp/bigenough"
dev-repo: "git+https://github.com/math-comp/bigenough.git"
bug-reports: "https://github.com/math-comp/bigenough/issues"
license: "CeCILL-B"
synopsis: "A small library to do epsilon - N reasoning"
description: """
The package contains a package to reasoning with big enough objects
(mostly natural numbers). This package is essentially for backward
compatibility purposes as `bigenough` will be subsumed by the near
tactics. The formalization is based on the Mathematical Components
library."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
"coq" {(>= "8.10" & < "8.16~") | (= "dev")}
"coq-mathcomp-ssreflect" {>= "1.6"}
]
tags: [
"keyword:bigenough"
"keyword:asymptotic reasonning"
"keyword:small scale reflection"
"keyword:mathematical components"
"logpath:mathcomp.bigenough"
]
authors: [
"Cyril Cohen"
]
url {
src: "https://github.com/math-comp/bigenough/archive/1.0.1.tar.gz"
checksum: "sha256=a8ed105271ca7422f87f580ba1c5bb39de9f147ad966e65e02d09010cb3c1e36"
}
</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-mathcomp-bigenough.1.0.1 coq.dev</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-mathcomp-bigenough.1.0.1 coq.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>4 m 54 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-mathcomp-bigenough.1.0.1 coq.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>36 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 49 K</p>
<ul>
<li>32 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/bigenough/bigenough.vo</code></li>
<li>13 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/bigenough/bigenough.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/bigenough/bigenough.v</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-mathcomp-bigenough.1.0.1</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.10.2-2.0.6/extra-dev/dev/mathcomp-bigenough/1.0.1.html | HTML | mit | 7,377 |
/*
***************************************************************************
* *
* Platform Independent *
* Bitmap Image Reader Writer Library *
* *
* Author: Arash Partow - 2002 *
* URL: http://partow.net/programming/bitmap/index.html *
* *
* Note: This library only supports 24-bits per pixel bitmap format files. *
* *
* Copyright notice: *
* Free use of the Platform Independent Bitmap Image Reader Writer Library *
* is permitted under the guidelines and in accordance with the most *
* current version of the Common Public License. *
* http://www.opensource.org/licenses/cpl1.0.php *
* *
***************************************************************************
*/
#ifndef INCLUDE_BITMAP_IMAGE_HPP
#define INCLUDE_BITMAP_IMAGE_HPP
#undef max
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <iterator>
#include <limits>
#include <string>
class bitmap_image
{
public:
enum channel_mode {
rgb_mode = 0,
bgr_mode = 1
};
enum color_plane {
blue_plane = 0,
green_plane = 1,
red_plane = 2
};
bitmap_image()
: file_name_(""),
data_ (0),
length_(0),
width_ (0),
height_(0),
row_increment_(0),
bytes_per_pixel_(3),
channel_mode_(bgr_mode)
{}
bitmap_image(const std::string& filename)
: file_name_(filename),
data_ (0),
length_(0),
width_ (0),
height_(0),
row_increment_(0),
bytes_per_pixel_(0),
channel_mode_(bgr_mode)
{
load_bitmap();
}
bitmap_image(const unsigned int width, const unsigned int height)
: file_name_(""),
data_ (0),
length_(0),
width_(width),
height_(height),
row_increment_(0),
bytes_per_pixel_(3),
channel_mode_(bgr_mode)
{
create_bitmap();
}
bitmap_image(const bitmap_image& image)
: file_name_(image.file_name_),
data_(0),
width_(image.width_),
height_(image.height_),
row_increment_(0),
bytes_per_pixel_(3),
channel_mode_(bgr_mode)
{
create_bitmap();
std::copy(image.data_, image.data_ + image.length_, data_);
}
~bitmap_image()
{
delete [] data_;
}
bitmap_image& operator=(const bitmap_image& image)
{
if (this != &image)
{
file_name_ = image.file_name_;
bytes_per_pixel_ = image.bytes_per_pixel_;
width_ = image.width_;
height_ = image.height_;
row_increment_ = 0;
channel_mode_ = image.channel_mode_;
create_bitmap();
std::copy(image.data_, image.data_ + image.length_, data_);
}
return *this;
}
inline bool operator!()
{
return (data_ == 0) ||
(length_ == 0) ||
(width_ == 0) ||
(height_ == 0) ||
(row_increment_== 0);
}
inline void clear(const unsigned char v = 0x00)
{
std::fill(data_,data_ + length_,v);
}
inline unsigned char red_channel(const unsigned int x, const unsigned int y) const
{
return data_[(y * row_increment_) + (x * bytes_per_pixel_ + 2)];
}
inline unsigned char green_channel(const unsigned int x, const unsigned int y) const
{
return data_[(y * row_increment_) + (x * bytes_per_pixel_ + 1)];
}
inline unsigned char blue_channel (const unsigned int x, const unsigned int y) const
{
return data_[(y * row_increment_) + (x * bytes_per_pixel_ + 0)];
}
inline void red_channel(const unsigned int x, const unsigned int y, const unsigned char value)
{
data_[(y * row_increment_) + (x * bytes_per_pixel_ + 2)] = value;
}
inline void green_channel(const unsigned int x, const unsigned int y, const unsigned char value)
{
data_[(y * row_increment_) + (x * bytes_per_pixel_ + 1)] = value;
}
inline void blue_channel (const unsigned int x, const unsigned int y, const unsigned char value)
{
data_[(y * row_increment_) + (x * bytes_per_pixel_ + 0)] = value;
}
inline unsigned char* row(unsigned int row_index) const
{
return data_ + (row_index * row_increment_);
}
inline void get_pixel(const unsigned int x, const unsigned int y,
unsigned char& red,
unsigned char& green,
unsigned char& blue)
{
const unsigned int y_offset = y * row_increment_;
const unsigned int x_offset = x * bytes_per_pixel_;
blue = data_[y_offset + x_offset + 0];
green = data_[y_offset + x_offset + 1];
red = data_[y_offset + x_offset + 2];
}
inline void set_pixel(const unsigned int x, const unsigned int y,
const unsigned char red,
const unsigned char green,
const unsigned char blue)
{
const unsigned int y_offset = y * row_increment_;
const unsigned int x_offset = x * bytes_per_pixel_;
data_[y_offset + x_offset + 0] = blue;
data_[y_offset + x_offset + 1] = green;
data_[y_offset + x_offset + 2] = red;
}
inline bool copy_from(const bitmap_image& image)
{
if (
(image.height_ != height_) ||
(image.width_ != width_ )
)
{
return false;
}
std::copy(image.data_,image.data_ + image.length_,data_);
return true;
}
inline bool copy_from(const bitmap_image& source_image,
const unsigned int& x_offset,
const unsigned int& y_offset)
{
if ((x_offset + source_image.width_ ) > width_ ) { return false; }
if ((y_offset + source_image.height_) > height_) { return false; }
for (unsigned int y = 0; y < source_image.height_; ++y)
{
unsigned char* itr1 = row(y + y_offset) + x_offset * bytes_per_pixel_;
const unsigned char* itr2 = source_image.row(y);
const unsigned char* itr2_end = itr2 + source_image.width_ * bytes_per_pixel_;
std::copy(itr2,itr2_end,itr1);
}
return true;
}
inline bool region(const unsigned int& x,
const unsigned int& y,
const unsigned int& width,
const unsigned int& height,
bitmap_image& dest_image)
{
if ((x + width ) > width_ ) { return false; }
if ((y + height) > height_) { return false; }
if (
(dest_image.width_ < width_ ) ||
(dest_image.height_ < height_)
)
{
dest_image.setwidth_height(width,height);
}
for (unsigned int r = 0; r < height; ++r)
{
unsigned char* itr1 = row(r + y) + x * bytes_per_pixel_;
unsigned char* itr1_end = itr1 + (width * bytes_per_pixel_);
unsigned char* itr2 = dest_image.row(r);
std::copy(itr1,itr1_end,itr2);
}
return true;
}
inline bool set_region(const unsigned int& x,
const unsigned int& y,
const unsigned int& width,
const unsigned int& height,
const unsigned char& value)
{
if ((x + width) > width_) { return false; }
if ((y + height) > height_) { return false; }
for (unsigned int r = 0; r < height; ++r)
{
unsigned char* itr = row(r + y) + x * bytes_per_pixel_;
unsigned char* itr_end = itr + (width * bytes_per_pixel_);
std::fill(itr,itr_end,value);
}
return true;
}
inline bool set_region(const unsigned int& x,
const unsigned int& y,
const unsigned int& width,
const unsigned int& height,
const color_plane color,
const unsigned char& value)
{
if ((x + width) > width_) { return false; }
if ((y + height) > height_) { return false; }
const unsigned int color_plane_offset = offset(color);
for (unsigned int r = 0; r < height; ++r)
{
unsigned char* itr = row(r + y) + x * bytes_per_pixel_ + color_plane_offset;
unsigned char* itr_end = itr + (width * bytes_per_pixel_);
while (itr != itr_end)
{
*itr = value;
itr += bytes_per_pixel_;
}
}
return true;
}
inline bool set_region(const unsigned int& x,
const unsigned int& y,
const unsigned int& width,
const unsigned int& height,
const unsigned char& red,
const unsigned char& green,
const unsigned char& blue)
{
if ((x + width) > width_) { return false; }
if ((y + height) > height_) { return false; }
for (unsigned int r = 0; r < height; ++r)
{
unsigned char* itr = row(r + y) + x * bytes_per_pixel_;
unsigned char* itr_end = itr + (width * bytes_per_pixel_);
while (itr != itr_end)
{
*(itr++) = blue;
*(itr++) = green;
*(itr++) = red;
}
}
return true;
}
void reflective_image(bitmap_image& image)
{
image.setwidth_height(3 * width_, 3 * height_,true);
image.copy_from(*this,width_,height_);
vertical_flip();
image.copy_from(*this,width_,0);
image.copy_from(*this,width_,2 * height_);
vertical_flip();
horizontal_flip();
image.copy_from(*this,0,height_);
image.copy_from(*this,2 * width_,height_);
horizontal_flip();
}
inline unsigned int width() const
{
return width_;
}
inline unsigned int height() const
{
return height_;
}
inline unsigned int bytes_per_pixel() const
{
return bytes_per_pixel_;
}
inline unsigned int pixel_count() const
{
return width_ * height_;
}
inline void setwidth_height(const unsigned int width,
const unsigned int height,
const bool clear = false)
{
delete[] data_;
data_ = 0;
width_ = width;
height_ = height;
create_bitmap();
if (clear)
{
std::fill(data_,data_ + length_,0x00);
}
}
void save_image(const std::string& file_name)
{
std::ofstream stream(file_name.c_str(),std::ios::binary);
if (!stream)
{
std::cout << "bitmap_image::save_image(): Error - Could not open file " << file_name << " for writing!" << std::endl;
return;
}
bitmap_file_header bfh;
bitmap_information_header bih;
bih.width = width_;
bih.height = height_;
bih.bit_count = static_cast<unsigned short>(bytes_per_pixel_ << 3);
bih.clr_important = 0;
bih.clr_used = 0;
bih.compression = 0;
bih.planes = 1;
bih.size = 40;
bih.x_pels_per_meter = 0;
bih.y_pels_per_meter = 0;
bih.size_image = (((bih.width * bytes_per_pixel_) + 3) & 0x0000FFFC) * bih.height;
bfh.type = 19778;
bfh.size = 55 + bih.size_image;
bfh.reserved1 = 0;
bfh.reserved2 = 0;
bfh.off_bits = bih.struct_size() + bfh.struct_size();
write_bfh(stream,bfh);
write_bih(stream,bih);
unsigned int padding = (4 - ((3 * width_) % 4)) % 4;
char padding_data[4] = {0x0,0x0,0x0,0x0};
for (unsigned int i = 0; i < height_; ++i)
{
unsigned char* data_ptr = data_ + (row_increment_ * (height_ - i - 1));
stream.write(reinterpret_cast<char*>(data_ptr),sizeof(unsigned char) * bytes_per_pixel_ * width_);
stream.write(padding_data,padding);
}
stream.close();
}
inline void set_all_ith_bits_low(const unsigned int bitr_index)
{
unsigned char mask = static_cast<unsigned char>(~(1 << bitr_index));
for (unsigned char* itr = data_; itr != data_ + length_; ++itr)
{
*itr &= mask;
}
}
inline void set_all_ith_bits_high(const unsigned int bitr_index)
{
unsigned char mask = static_cast<unsigned char>(1 << bitr_index);
for (unsigned char* itr = data_; itr != data_ + length_; ++itr)
{
*itr |= mask;
}
}
inline void set_all_ith_channels(const unsigned int& channel, const unsigned char& value)
{
for (unsigned char* itr = (data_ + channel); itr < (data_ + length_); itr += bytes_per_pixel_)
{
*itr = value;
}
}
inline void set_channel(const color_plane color,const unsigned char& value)
{
for (unsigned char* itr = (data_ + offset(color)); itr < (data_ + length_); itr += bytes_per_pixel_)
{
*itr = value;
}
}
inline void ror_channel(const color_plane color, const unsigned int& ror)
{
for (unsigned char* itr = (data_ + offset(color)); itr < (data_ + length_); itr += bytes_per_pixel_)
{
*itr = static_cast<unsigned char>(((*itr) >> ror) | ((*itr) << (8 - ror)));
}
}
inline void set_all_channels(const unsigned char& value)
{
for (unsigned char* itr = data_; itr < (data_ + length_); )
{
*(itr++) = value;
}
}
inline void set_all_channels(const unsigned char& r_value,
const unsigned char& g_value,
const unsigned char& b_value)
{
for (unsigned char* itr = (data_ + 0); itr < (data_ + length_); itr += bytes_per_pixel_)
{
*(itr + 0) = b_value;
*(itr + 1) = g_value;
*(itr + 2) = r_value;
}
}
inline void invert_color_planes()
{
for (unsigned char* itr = data_; itr < (data_ + length_); *itr = ~(*itr), ++itr);
}
inline void add_to_color_plane(const color_plane color,const unsigned char& value)
{
for (unsigned char* itr = (data_ + offset(color)); itr < (data_ + length_); (*itr) += value, itr += bytes_per_pixel_);
}
inline void convert_to_grayscale()
{
double r_scaler = 0.299;
double g_scaler = 0.587;
double b_scaler = 0.114;
if (rgb_mode == channel_mode_)
{
double tmp = r_scaler;
r_scaler = b_scaler;
b_scaler = tmp;
}
for (unsigned char* itr = data_; itr < (data_ + length_); )
{
unsigned char gray_value = static_cast<unsigned char>((r_scaler * (*(itr + 2))) +
(g_scaler * (*(itr + 1))) +
(b_scaler * (*(itr + 0))) );
*(itr++) = gray_value;
*(itr++) = gray_value;
*(itr++) = gray_value;
}
}
inline const unsigned char* data()
{
return data_;
}
inline void bgr_to_rgb()
{
if ((bgr_mode == channel_mode_) && (3 == bytes_per_pixel_))
{
reverse_channels();
channel_mode_ = rgb_mode;
}
}
inline void rgb_to_bgr()
{
if ((rgb_mode == channel_mode_) && (3 == bytes_per_pixel_))
{
reverse_channels();
channel_mode_ = bgr_mode;
}
}
inline void reverse()
{
unsigned char* itr1 = data_;
unsigned char* itr2 = (data_ + length_) - bytes_per_pixel_;
while (itr1 < itr2)
{
for (std::size_t i = 0; i < bytes_per_pixel_; ++i)
{
unsigned char* citr1 = itr1 + i;
unsigned char* citr2 = itr2 + i;
unsigned char tmp = *citr1;
*citr1 = *citr2;
*citr2 = tmp;
}
itr1 += bytes_per_pixel_;
itr2 -= bytes_per_pixel_;
}
}
inline void horizontal_flip()
{
for (unsigned int y = 0; y < height_; ++y)
{
unsigned char* itr1 = row(y);
unsigned char* itr2 = itr1 + row_increment_ - bytes_per_pixel_;
while (itr1 < itr2)
{
for (unsigned int i = 0; i < bytes_per_pixel_; ++i)
{
unsigned char* p1 = (itr1 + i);
unsigned char* p2 = (itr2 + i);
unsigned char tmp = *p1;
*p1 = *p2;
*p2 = tmp;
}
itr1 += bytes_per_pixel_;
itr2 -= bytes_per_pixel_;
}
}
}
inline void vertical_flip()
{
for (unsigned int y = 0; y < (height_ / 2); ++y)
{
unsigned char* itr1 = row(y);
unsigned char* itr2 = row(height_ - y - 1);
for (std::size_t x = 0; x < row_increment_; ++x)
{
unsigned char tmp = *(itr1 + x);
*(itr1 + x) = *(itr2 + x);
*(itr2 + x) = tmp;
}
}
}
inline void export_color_plane(const color_plane color, unsigned char* image)
{
for (unsigned char* itr = (data_ + offset(color)); itr < (data_ + length_); ++image, itr += bytes_per_pixel_)
{
(*image) = (*itr);
}
}
inline void export_color_plane(const color_plane color, bitmap_image& image)
{
if (
(width_ != image.width_ ) ||
(height_ != image.height_)
)
{
image.setwidth_height(width_,height_);
}
image.clear();
unsigned char* itr1 = (data_ + offset(color));
unsigned char* itr1_end = (data_ + length_);
unsigned char* itr2 = (image.data_ + offset(color));
while (itr1 < itr1_end)
{
(*itr2) = (*itr1);
itr1 += bytes_per_pixel_;
itr2 += bytes_per_pixel_;
}
}
inline void export_response_image(const color_plane color, double* response_image)
{
for (unsigned char* itr = (data_ + offset(color)); itr < (data_ + length_); ++response_image, itr += bytes_per_pixel_)
{
(*response_image) = (1.0 * (*itr)) / 256.0;
}
}
inline void export_gray_scale_response_image(double* response_image)
{
for (unsigned char* itr = data_; itr < (data_ + length_); itr += bytes_per_pixel_)
{
unsigned char gray_value = static_cast<unsigned char>((0.299 * (*(itr + 2))) +
(0.587 * (*(itr + 1))) +
(0.114 * (*(itr + 0))));
(*response_image) = (1.0 * gray_value) / 256.0;
}
}
inline void export_rgb(double* red, double* green, double* blue) const
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
(*blue) = (1.0 * (*(itr++))) / 256.0;
(*green) = (1.0 * (*(itr++))) / 256.0;
(*red) = (1.0 * (*(itr++))) / 256.0;
}
}
inline void export_rgb(float* red, float* green, float* blue) const
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
(*blue) = (1.0f * (*(itr++))) / 256.0f;
(*green) = (1.0f * (*(itr++))) / 256.0f;
(*red) = (1.0f * (*(itr++))) / 256.0f;
}
}
inline void export_rgb(unsigned char* red, unsigned char* green, unsigned char* blue) const
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
(*blue) = *(itr++);
(*green) = *(itr++);
(*red) = *(itr++);
}
}
inline void export_ycbcr(double* y, double* cb, double* cr)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++y, ++cb, ++cr)
{
double blue = (1.0 * (*(itr++)));
double green = (1.0 * (*(itr++)));
double red = (1.0 * (*(itr++)));
( *y) = clamp<double>( 16.0 + (1.0/256.0) * ( 65.738 * red + 129.057 * green + 25.064 * blue),1.0,254);
(*cb) = clamp<double>(128.0 + (1.0/256.0) * (- 37.945 * red - 74.494 * green + 112.439 * blue),1.0,254);
(*cr) = clamp<double>(128.0 + (1.0/256.0) * ( 112.439 * red - 94.154 * green - 18.285 * blue),1.0,254);
}
}
inline void export_rgb_normal(double* red, double* green, double* blue) const
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
(*blue) = (1.0 * (*(itr++)));
(*green) = (1.0 * (*(itr++)));
(*red) = (1.0 * (*(itr++)));
}
}
inline void export_rgb_normal(float* red, float* green, float* blue) const
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
(*blue) = (1.0f * (*(itr++)));
(*green) = (1.0f * (*(itr++)));
(*red) = (1.0f * (*(itr++)));
}
}
inline void import_rgb(double* red, double* green, double* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = static_cast<unsigned char>(256.0 * (*blue ));
*(itr++) = static_cast<unsigned char>(256.0 * (*green));
*(itr++) = static_cast<unsigned char>(256.0 * (*red ));
}
}
inline void import_rgb(float* red, float* green, float* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = static_cast<unsigned char>(256.0f * (*blue ));
*(itr++) = static_cast<unsigned char>(256.0f * (*green));
*(itr++) = static_cast<unsigned char>(256.0f * (*red ));
}
}
inline void import_rgb(unsigned char* red, unsigned char* green, unsigned char* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = (*blue );
*(itr++) = (*green);
*(itr++) = (*red );
}
}
inline void import_ycbcr(double* y, double* cb, double* cr)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++y, ++cb, ++cr)
{
double y_ = (*y);
double cb_ = (*cb);
double cr_ = (*cr);
*(itr++) = static_cast<unsigned char>(clamp((298.082 * y_ + 516.412 * cb_ ) / 256.0 - 276.836,0.0,255.0));
*(itr++) = static_cast<unsigned char>(clamp((298.082 * y_ - 100.291 * cb_ - 208.120 * cr_ ) / 256.0 + 135.576,0.0,255.0));
*(itr++) = static_cast<unsigned char>(clamp((298.082 * y_ + 408.583 * cr_ ) / 256.0 - 222.921,0.0,255.0));
}
}
inline void import_rgb_clamped(double* red, double* green, double* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = static_cast<unsigned char>(clamp<double>(256.0 * (*blue ),0.0,255.0));
*(itr++) = static_cast<unsigned char>(clamp<double>(256.0 * (*green),0.0,255.0));
*(itr++) = static_cast<unsigned char>(clamp<double>(256.0 * (*red ),0.0,255.0));
}
}
inline void import_rgb_clamped(float* red, float* green, float* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = static_cast<unsigned char>(clamp<double>(256.0f * (*blue ),0.0,255.0));
*(itr++) = static_cast<unsigned char>(clamp<double>(256.0f * (*green),0.0,255.0));
*(itr++) = static_cast<unsigned char>(clamp<double>(256.0f * (*red ),0.0,255.0));
}
}
inline void import_rgb_normal(double* red, double* green, double* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = static_cast<unsigned char>(*blue );
*(itr++) = static_cast<unsigned char>(*green);
*(itr++) = static_cast<unsigned char>(*red );
}
}
inline void import_rgb_normal(float* red, float* green, float* blue)
{
if (bgr_mode != channel_mode_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); ++red, ++green, ++blue)
{
*(itr++) = static_cast<unsigned char>(*blue );
*(itr++) = static_cast<unsigned char>(*green);
*(itr++) = static_cast<unsigned char>(*red );
}
}
inline void subsample(bitmap_image& dest)
{
/*
Half sub-sample of original image.
*/
unsigned int w = 0;
unsigned int h = 0;
bool odd_width = false;
bool odd_height = false;
if (0 == (width_ % 2))
w = width_ / 2;
else
{
w = 1 + (width_ / 2);
odd_width = true;
}
if (0 == (height_ % 2))
h = height_ / 2;
else
{
h = 1 + (height_ / 2);
odd_height = true;
}
unsigned int horizontal_upper = (odd_width) ? (w - 1) : w;
unsigned int vertical_upper = (odd_height) ? (h - 1) : h;
dest.setwidth_height(w,h);
dest.clear();
unsigned char* s_itr[3];
const unsigned char* itr1[3];
const unsigned char* itr2[3];
s_itr[0] = dest.data_ + 0;
s_itr[1] = dest.data_ + 1;
s_itr[2] = dest.data_ + 2;
itr1[0] = data_ + 0;
itr1[1] = data_ + 1;
itr1[2] = data_ + 2;
itr2[0] = data_ + row_increment_ + 0;
itr2[1] = data_ + row_increment_ + 1;
itr2[2] = data_ + row_increment_ + 2;
unsigned int total = 0;
for (unsigned int j = 0; j < vertical_upper; ++j)
{
for (unsigned int i = 0; i < horizontal_upper; ++i)
{
for (unsigned int k = 0; k < bytes_per_pixel_; s_itr[k] += bytes_per_pixel_, ++k)
{
total = 0;
total += *(itr1[k]); itr1[k] += bytes_per_pixel_;
total += *(itr1[k]); itr1[k] += bytes_per_pixel_;
total += *(itr2[k]); itr2[k] += bytes_per_pixel_;
total += *(itr2[k]); itr2[k] += bytes_per_pixel_;
*(s_itr[k]) = static_cast<unsigned char>(total >> 2);
}
}
if (odd_width)
{
for (unsigned int k = 0; k < bytes_per_pixel_; s_itr[k] += bytes_per_pixel_, ++k)
{
total = 0;
total += *(itr1[k]); itr1[k] += bytes_per_pixel_;
total += *(itr2[k]); itr2[k] += bytes_per_pixel_;
*(s_itr[k]) = static_cast<unsigned char>(total >> 1);
}
}
for (unsigned int k = 0; k < bytes_per_pixel_; itr1[k] += row_increment_, ++k);
if (j != (vertical_upper - 1))
{
for (unsigned int k = 0; k < bytes_per_pixel_; itr2[k] += row_increment_, ++k);
}
}
if (odd_height)
{
for (unsigned int i = 0; i < horizontal_upper; ++i)
{
for (unsigned int k = 0; k < bytes_per_pixel_; s_itr[k] += bytes_per_pixel_, ++k)
{
total = 0;
total += *(itr1[k]); itr1[k] += bytes_per_pixel_;
total += *(itr2[k]); itr2[k] += bytes_per_pixel_;
*(s_itr[k]) = static_cast<unsigned char>(total >> 1);
}
}
if (odd_width)
{
for (unsigned int k = 0; k < bytes_per_pixel_; ++k)
{
(*(s_itr[k])) = *(itr1[k]);
}
}
}
}
inline void upsample(bitmap_image& dest)
{
/*
2x up-sample of original image.
*/
dest.setwidth_height(2 * width_ ,2 * height_);
dest.clear();
const unsigned char* s_itr[3];
unsigned char* itr1[3];
unsigned char* itr2[3];
s_itr[0] = data_ + 0;
s_itr[1] = data_ + 1;
s_itr[2] = data_ + 2;
itr1[0] = dest.data_ + 0;
itr1[1] = dest.data_ + 1;
itr1[2] = dest.data_ + 2;
itr2[0] = dest.data_ + dest.row_increment_ + 0;
itr2[1] = dest.data_ + dest.row_increment_ + 1;
itr2[2] = dest.data_ + dest.row_increment_ + 2;
for (unsigned int j = 0; j < height_; ++j)
{
for (unsigned int i = 0; i < width_; ++i)
{
for (unsigned int k = 0; k < bytes_per_pixel_; s_itr[k] += bytes_per_pixel_, ++k)
{
*(itr1[k]) = *(s_itr[k]); itr1[k] += bytes_per_pixel_;
*(itr1[k]) = *(s_itr[k]); itr1[k] += bytes_per_pixel_;
*(itr2[k]) = *(s_itr[k]); itr2[k] += bytes_per_pixel_;
*(itr2[k]) = *(s_itr[k]); itr2[k] += bytes_per_pixel_;
}
}
for (unsigned int k = 0; k < bytes_per_pixel_; ++k)
{
itr1[k] += dest.row_increment_;
itr2[k] += dest.row_increment_;
}
}
}
inline void alpha_blend(const double& alpha, const bitmap_image& image)
{
if (
(image.width_ != width_ ) ||
(image.height_ != height_)
)
{
return;
}
if ((alpha < 0.0) || (alpha > 1.0))
{
return;
}
unsigned char* itr1 = data_;
unsigned char* itr1_end = data_ + length_;
unsigned char* itr2 = image.data_;
double alpha_compliment = 1.0 - alpha;
while (itr1 != itr1_end)
{
*(itr1) = static_cast<unsigned char>((alpha * (*itr2)) + (alpha_compliment * (*itr1)));
++itr1;
++itr2;
}
}
inline double psnr(const bitmap_image& image)
{
if (
(image.width_ != width_ ) ||
(image.height_ != height_)
)
{
return 0.0;
}
unsigned char* itr1 = data_;
unsigned char* itr2 = image.data_;
double mse = 0.0;
while (itr1 != (data_ + length_))
{
double v = (static_cast<double>(*itr1) - static_cast<double>(*itr2));
mse += v * v;
++itr1;
++itr2;
}
if (mse <= 0.0000001)
{
return 1000000.0;
}
else
{
mse /= (3.0 * width_ * height_);
return 20.0 * std::log10(255.0 / std::sqrt(mse));
}
}
inline double psnr(const unsigned int& x,
const unsigned int& y,
const bitmap_image& image)
{
if ((x + image.width()) > width_) { return 0.0; }
if ((y + image.height()) > height_) { return 0.0; }
double mse = 0.0;
const unsigned int height = image.height();
const unsigned int width = image.width();
for (unsigned int r = 0; r < height; ++r)
{
unsigned char* itr1 = row(r + y) + x * bytes_per_pixel_;
unsigned char* itr1_end = itr1 + (width * bytes_per_pixel_);
const unsigned char* itr2 = image.row(r);
while (itr1 != itr1_end)
{
double v = (static_cast<double>(*itr1) - static_cast<double>(*itr2));
mse += v * v;
++itr1;
++itr2;
}
}
if (mse <= 0.0000001)
{
return 1000000.0;
}
else
{
mse /= (3.0 * image.width() * image.height());
return 20.0 * std::log10(255.0 / std::sqrt(mse));
}
}
inline void histogram(const color_plane color, double hist[256])
{
std::fill(hist,hist + 256,0.0);
for (unsigned char* itr = (data_ + offset(color)); itr < (data_ + length_); itr += bytes_per_pixel_)
{
++hist[(*itr)];
}
}
inline void histogram_normalized(const color_plane color, double hist[256])
{
histogram(color,hist);
double* h_itr = hist;
const double* h_end = hist + 256;
const double pixel_count = static_cast<double>(width_ * height_);
while (h_end != h_itr)
{
*(h_itr++) /= pixel_count;
}
}
inline unsigned int offset(const color_plane color)
{
switch (channel_mode_)
{
case rgb_mode : {
switch (color)
{
case red_plane : return 0;
case green_plane : return 1;
case blue_plane : return 2;
default : return std::numeric_limits<int>::max();
}
}
case bgr_mode : {
switch (color)
{
case red_plane : return 2;
case green_plane : return 1;
case blue_plane : return 0;
default : return std::numeric_limits<int>::max();
}
}
default : return std::numeric_limits<unsigned int>::max();
}
}
inline void incremental()
{
unsigned char current_color = 0;
for (unsigned char* itr = data_; itr < (data_ + length_);)
{
(*itr++) = (current_color);
(*itr++) = (current_color);
(*itr++) = (current_color);
++current_color;
}
}
private:
struct bitmap_file_header
{
unsigned short type;
unsigned int size;
unsigned short reserved1;
unsigned short reserved2;
unsigned int off_bits;
unsigned int struct_size()
{
return sizeof(type) +
sizeof(size) +
sizeof(reserved1) +
sizeof(reserved2) +
sizeof(off_bits);
}
};
struct bitmap_information_header
{
unsigned int size;
unsigned int width;
unsigned int height;
unsigned short planes;
unsigned short bit_count;
unsigned int compression;
unsigned int size_image;
unsigned int x_pels_per_meter;
unsigned int y_pels_per_meter;
unsigned int clr_used;
unsigned int clr_important;
unsigned int struct_size()
{
return sizeof(size) +
sizeof(width) +
sizeof(height) +
sizeof(planes) +
sizeof(bit_count) +
sizeof(compression) +
sizeof(size_image) +
sizeof(x_pels_per_meter) +
sizeof(y_pels_per_meter) +
sizeof(clr_used) +
sizeof(clr_important);
}
};
inline bool big_endian()
{
unsigned int v = 0x01;
return (1 != reinterpret_cast<char*>(&v)[0]);
}
inline unsigned short flip(const unsigned short& v)
{
return ((v >> 8) | (v << 8));
}
inline unsigned int flip(const unsigned int& v)
{
return (((v & 0xFF000000) >> 0x18) |
((v & 0x000000FF) << 0x18) |
((v & 0x00FF0000) >> 0x08) |
((v & 0x0000FF00) << 0x08));
}
template<typename T>
inline void read_from_stream(std::ifstream& stream,T& t)
{
stream.read(reinterpret_cast<char*>(&t),sizeof(T));
}
template<typename T>
inline void write_to_stream(std::ofstream& stream,const T& t)
{
stream.write(reinterpret_cast<const char*>(&t),sizeof(T));
}
inline void read_bfh(std::ifstream& stream, bitmap_file_header& bfh)
{
read_from_stream(stream,bfh.type);
read_from_stream(stream,bfh.size);
read_from_stream(stream,bfh.reserved1);
read_from_stream(stream,bfh.reserved2);
read_from_stream(stream,bfh.off_bits);
if (big_endian())
{
bfh.type = flip(bfh.type);
bfh.size = flip(bfh.size);
bfh.reserved1 = flip(bfh.reserved1);
bfh.reserved2 = flip(bfh.reserved2);
bfh.off_bits = flip(bfh.off_bits);
}
}
inline void write_bfh(std::ofstream& stream, const bitmap_file_header& bfh)
{
if (big_endian())
{
write_to_stream(stream,flip(bfh.type ));
write_to_stream(stream,flip(bfh.size ));
write_to_stream(stream,flip(bfh.reserved1));
write_to_stream(stream,flip(bfh.reserved2));
write_to_stream(stream,flip(bfh.off_bits ));
}
else
{
write_to_stream(stream,bfh.type );
write_to_stream(stream,bfh.size );
write_to_stream(stream,bfh.reserved1);
write_to_stream(stream,bfh.reserved2);
write_to_stream(stream,bfh.off_bits );
}
}
inline void read_bih(std::ifstream& stream,bitmap_information_header& bih)
{
read_from_stream(stream,bih.size );
read_from_stream(stream,bih.width );
read_from_stream(stream,bih.height);
read_from_stream(stream,bih.planes);
read_from_stream(stream,bih.bit_count);
read_from_stream(stream,bih.compression);
read_from_stream(stream,bih.size_image);
read_from_stream(stream,bih.x_pels_per_meter);
read_from_stream(stream,bih.y_pels_per_meter);
read_from_stream(stream,bih.clr_used);
read_from_stream(stream,bih.clr_important);
if (big_endian())
{
bih.size = flip(bih.size );
bih.width = flip(bih.width );
bih.height = flip(bih.height );
bih.planes = flip(bih.planes );
bih.bit_count = flip(bih.bit_count);
bih.compression = flip(bih.compression);
bih.size_image = flip(bih.size_image);
bih.x_pels_per_meter = flip(bih.x_pels_per_meter);
bih.y_pels_per_meter = flip(bih.y_pels_per_meter);
bih.clr_used = flip(bih.clr_used);
bih.clr_important = flip(bih.clr_important);
}
}
inline void write_bih(std::ofstream& stream, const bitmap_information_header& bih)
{
if (big_endian())
{
write_to_stream(stream,flip(bih.size));
write_to_stream(stream,flip(bih.width));
write_to_stream(stream,flip(bih.height));
write_to_stream(stream,flip(bih.planes));
write_to_stream(stream,flip(bih.bit_count));
write_to_stream(stream,flip(bih.compression));
write_to_stream(stream,flip(bih.size_image));
write_to_stream(stream,flip(bih.x_pels_per_meter));
write_to_stream(stream,flip(bih.y_pels_per_meter));
write_to_stream(stream,flip(bih.clr_used));
write_to_stream(stream,flip(bih.clr_important));
}
else
{
write_to_stream(stream,bih.size);
write_to_stream(stream,bih.width);
write_to_stream(stream,bih.height);
write_to_stream(stream,bih.planes);
write_to_stream(stream,bih.bit_count);
write_to_stream(stream,bih.compression);
write_to_stream(stream,bih.size_image);
write_to_stream(stream,bih.x_pels_per_meter);
write_to_stream(stream,bih.y_pels_per_meter);
write_to_stream(stream,bih.clr_used);
write_to_stream(stream,bih.clr_important);
}
}
void create_bitmap()
{
length_ = width_ * height_ * bytes_per_pixel_;
row_increment_ = width_ * bytes_per_pixel_;
if (0 != data_)
{
delete[] data_;
}
data_ = new unsigned char[length_];
}
void load_bitmap()
{
std::ifstream stream(file_name_.c_str(),std::ios::binary);
if (!stream)
{
std::cerr << "bitmap_image::load_bitmap() ERROR: bitmap_image - file " << file_name_ << " not found!" << std::endl;
return;
}
bitmap_file_header bfh;
bitmap_information_header bih;
read_bfh(stream,bfh);
read_bih(stream,bih);
if (bfh.type != 19778)
{
stream.close();
std::cerr << "bitmap_image::load_bitmap() ERROR: bitmap_image - Invalid type value " << bfh.type << " expected 19778." << std::endl;
return;
}
if (bih.bit_count != 24)
{
stream.close();
std::cerr << "bitmap_image::load_bitmap() ERROR: bitmap_image - Invalid bit depth " << bih.bit_count << " expected 24." << std::endl;
return;
}
height_ = bih.height;
width_ = bih.width;
bytes_per_pixel_ = bih.bit_count >> 3;
unsigned int padding = (4 - ((3 * width_) % 4)) % 4;
char padding_data[4] = {0,0,0,0};
create_bitmap();
for (unsigned int i = 0; i < height_; ++i)
{
unsigned char* data_ptr = row(height_ - i - 1); // read in inverted row order
stream.read(reinterpret_cast<char*>(data_ptr),sizeof(char) * bytes_per_pixel_ * width_);
stream.read(padding_data,padding);
}
}
inline void reverse_channels()
{
if (3 != bytes_per_pixel_)
return;
for (unsigned char* itr = data_; itr < (data_ + length_); itr += bytes_per_pixel_)
{
unsigned char tmp = *(itr + 0);
*(itr + 0) = *(itr + 2);
*(itr + 2) = tmp;
}
}
template<typename T>
inline T clamp(const T& v, const T& lower_range, const T& upper_range)
{
if (v < lower_range)
return lower_range;
else if (v > upper_range)
return upper_range;
else
return v;
}
std::string file_name_;
unsigned char* data_;
unsigned int length_;
unsigned int width_;
unsigned int height_;
unsigned int row_increment_;
unsigned int bytes_per_pixel_;
channel_mode channel_mode_;
};
struct rgb_store
{
unsigned char red;
unsigned char green;
unsigned char blue;
};
inline void rgb_to_ycbcr(const unsigned int& length, double* red, double* green, double* blue,
double* y, double* cb, double* cr)
{
unsigned int i = 0;
while (i < length)
{
( *y) = 16.0 + ( 65.481 * (*red) + 128.553 * (*green) + 24.966 * (*blue));
(*cb) = 128.0 + ( -37.797 * (*red) + -74.203 * (*green) + 112.000 * (*blue));
(*cr) = 128.0 + ( 112.000 * (*red) + -93.786 * (*green) - 18.214 * (*blue));
++i;
++red; ++green; ++blue;
++y; ++cb; ++cr;
}
}
inline void ycbcr_to_rgb(const unsigned int& length, double* y, double* cb, double* cr,
double* red, double* green, double* blue)
{
unsigned int i = 0;
while (i < length)
{
double y_ = (*y) - 16.0;
double cb_ = (*cb) - 128.0;
double cr_ = (*cr) - 128.0;
(*red) = 0.000456621 * y_ + 0.00625893 * cr_;
(*green) = 0.000456621 * y_ - 0.00153632 * cb_ - 0.00318811 * cr_;
(*blue) = 0.000456621 * y_ + 0.00791071 * cb_;
++i;
++red; ++green; ++blue;
++y; ++cb; ++cr;
}
}
inline void subsample(const unsigned int& width,
const unsigned int& height,
const double* source,
unsigned int& w,
unsigned int& h,
double** dest)
{
/* Single channel. */
w = 0;
h = 0;
bool odd_width = false;
bool odd_height = false;
if (0 == (width % 2))
w = width / 2;
else
{
w = 1 + (width / 2);
odd_width = true;
}
if (0 == (height % 2))
h = height / 2;
else
{
h = 1 + (height / 2);
odd_height = true;
}
unsigned int horizontal_upper = (odd_width) ? w - 1 : w;
unsigned int vertical_upper = (odd_height) ? h - 1 : h;
*dest = new double[w * h];
double* s_itr = *dest;
const double* itr1 = source;
const double* itr2 = source + width;
for (unsigned int j = 0; j < vertical_upper; ++j)
{
for (unsigned int i = 0; i < horizontal_upper; ++i, ++s_itr)
{
(*s_itr) = *(itr1++);
(*s_itr) += *(itr1++);
(*s_itr) += *(itr2++);
(*s_itr) += *(itr2++);
(*s_itr) /= 4.0;
}
if (odd_width)
{
(*(s_itr++)) = ( (*itr1++) + (*itr2++) ) / 2.0;
}
itr1 += width;
if (j != (vertical_upper -1))
{
itr2 += width;
}
}
if (odd_height)
{
for (unsigned int i = 0; i < horizontal_upper; ++i, ++s_itr)
{
(*s_itr) += (*(itr1++));
(*s_itr) += (*(itr1++));
(*s_itr) /= 2.0;
}
if (odd_width)
{
(*(s_itr++)) = (*itr1);
}
}
}
inline void upsample(const unsigned int& width,
const unsigned int& height,
const double* source,
unsigned int& w,
unsigned int& h,
double** dest)
{
/* Single channel. */
w = 2 * width;
h = 2 * height;
*dest = new double[w * h];
const double* s_itr = source;
double* itr1 = *dest;
double* itr2 = *dest + w;
for (unsigned int j = 0; j < height; ++j)
{
for (unsigned int i = 0; i < width; ++i, ++s_itr)
{
*(itr1++) = (*s_itr);
*(itr1++) = (*s_itr);
*(itr2++) = (*s_itr);
*(itr2++) = (*s_itr);
}
itr1 += w;
itr2 += w;
}
}
inline void checkered_pattern(const unsigned int x_width,
const unsigned int y_width,
const unsigned char value,
const bitmap_image::color_plane color,
bitmap_image& image)
{
if (
(x_width >= image.width ()) ||
(y_width >= image.height())
)
{
return;
}
bool setter_x = false;
bool setter_y = true;
const unsigned int color_plane_offset = image.offset(color);
const unsigned int height = image.height();
const unsigned int width = image.width();
for (unsigned int y = 0; y < height; ++y)
{
if (0 == (y % y_width))
{
setter_y = !setter_y;
}
unsigned char* row = image.row(y) + color_plane_offset;
for (unsigned int x = 0; x < width; ++x, row += image.bytes_per_pixel())
{
if (0 == (x % x_width))
{
setter_x = !setter_x;
}
if (setter_x ^ setter_y)
{
*row = value;
}
}
}
}
inline void checkered_pattern(const unsigned int x_width,
const unsigned int y_width,
const unsigned char red,
const unsigned char green,
const unsigned char blue,
bitmap_image& image)
{
if (
(x_width >= image.width ()) ||
(y_width >= image.height())
)
{
return;
}
bool setter_x = false;
bool setter_y = true;
const unsigned int height = image.height();
const unsigned int width = image.width();
for (unsigned int y = 0; y < height; ++y)
{
if (0 == (y % y_width))
{
setter_y = !setter_y;
}
unsigned char* row = image.row(y);
for (unsigned int x = 0; x < width; ++x, row += image.bytes_per_pixel())
{
if (0 == (x % x_width))
{
setter_x = !setter_x;
}
if (setter_x ^ setter_y)
{
*(row + 0) = blue;
*(row + 1) = green;
*(row + 2) = red;
}
}
}
}
inline void plasma(bitmap_image& image,
const double& x, const double& y,
const double& width, const double& height,
const double& c1, const double& c2,
const double& c3, const double& c4,
const double& roughness = 3.0,
const rgb_store colormap[] = 0)
{
// Note: c1,c2,c3,c4 -> [0.0,1.0]
double half_width = ( width / 2.0);
double half_height = (height / 2.0);
if ((width >= 1.0) || (height >= 1.0))
{
double corner1 = (c1 + c2) / 2.0;
double corner2 = (c2 + c3) / 2.0;
double corner3 = (c3 + c4) / 2.0;
double corner4 = (c4 + c1) / 2.0;
double center = (c1 + c2 + c3 + c4) / 4.0 +
((1.0 * ::rand() /(1.0 * RAND_MAX)) - 0.5) * // should use a better rng
((1.0 * half_width + half_height) / (image.width() + image.height()) * roughness);
center = std::min<double>(std::max<double>(0.0,center),1.0);
plasma(image, x, y, half_width, half_height, c1, corner1, center, corner4,roughness,colormap);
plasma(image, x + half_width, y, half_width, half_height, corner1, c2, corner2, center,roughness,colormap);
plasma(image, x + half_width, y + half_height, half_width, half_height, center, corner2, c3, corner3,roughness,colormap);
plasma(image, x, y + half_height, half_width, half_height, corner4, center, corner3, c4,roughness,colormap);
}
else
{
rgb_store color = colormap[static_cast<unsigned int>(1000.0 * ((c1 + c2 + c3 + c4) / 4.0)) % 1000];
image.set_pixel(static_cast<unsigned int>(x),static_cast<unsigned int>(y),color.red,color.green,color.blue);
}
}
inline double psnr_region(const unsigned int& x, const unsigned int& y,
const unsigned int& width, const unsigned int& height,
const bitmap_image& image1, const bitmap_image& image2)
{
if (
(image1.width() != image2.width ()) ||
(image1.height() != image2.height())
)
{
return 0.0;
}
if ((x + width) > image1.width()) { return 0.0; }
if ((y + height) > image1.height()) { return 0.0; }
double mse = 0.0;
for (unsigned int r = 0; r < height; ++r)
{
const unsigned char* itr1 = image1.row(r + y) + x * image1.bytes_per_pixel();
const unsigned char* itr1_end = itr1 + (width * image1.bytes_per_pixel());
const unsigned char* itr2 = image2.row(r + y) + x * image2.bytes_per_pixel();
while (itr1 != itr1_end)
{
double v = (static_cast<double>(*itr1) - static_cast<double>(*itr2));
mse += v * v;
++itr1;
++itr2;
}
}
if (mse <= 0.0000001)
{
return 1000000.0;
}
else
{
mse /= (3.0 * width * height);
return 20.0 * std::log10(255.0 / std::sqrt(mse));
}
}
inline void hierarchical_psnr_r(const double& x, const double& y,
const double& width, const double& height,
const bitmap_image& image1,
bitmap_image& image2,
const double& threshold,
const rgb_store colormap[])
{
if ((width <= 4.0) || (height <= 4.0))
{
double psnr = psnr_region(static_cast<unsigned int>(x),
static_cast<unsigned int>(y),
static_cast<unsigned int>(width),
static_cast<unsigned int>(height),
image1,image2);
if (psnr < threshold)
{
rgb_store c = colormap[static_cast<unsigned int>(1000.0 * (1.0 - (psnr / threshold)))];
image2.set_region(static_cast<unsigned int>(x),
static_cast<unsigned int>(y),
static_cast<unsigned int>(width + 1),
static_cast<unsigned int>(height + 1),
c.red,c.green,c.blue);
}
}
else
{
double half_width = ( width / 2.0);
double half_height = (height / 2.0);
hierarchical_psnr_r(x , y , half_width, half_height,image1,image2,threshold,colormap);
hierarchical_psnr_r(x + half_width, y , half_width, half_height,image1,image2,threshold,colormap);
hierarchical_psnr_r(x + half_width, y + half_height, half_width, half_height,image1,image2,threshold,colormap);
hierarchical_psnr_r(x , y + half_height, half_width, half_height,image1,image2,threshold,colormap);
}
}
inline void hierarchical_psnr(bitmap_image& image1,bitmap_image& image2, const double threshold, const rgb_store colormap[])
{
if (
(image1.width() != image2.width ()) ||
(image1.height() != image2.height())
)
{
return;
}
double psnr = psnr_region(0,0,image1.width(),image1.height(),image1,image2);
if (psnr < threshold)
{
hierarchical_psnr_r(0,0, image1.width(), image1.height(),image1,image2,threshold,colormap);
}
}
class image_drawer
{
public:
image_drawer(bitmap_image& image)
: image_(image),
pen_width_(1),
pen_color_red_ (0),
pen_color_green_(0),
pen_color_blue_ (0)
{}
void rectangle(int x1, int y1, int x2, int y2)
{
line_segment(x1,y1,x2,y1);
line_segment(x2,y1,x2,y2);
line_segment(x2,y2,x1,y2);
line_segment(x1,y2,x1,y1);
}
void triangle(int x1, int y1, int x2, int y2,int x3, int y3)
{
line_segment(x1,y1,x2,y2);
line_segment(x2,y2,x3,y3);
line_segment(x3,y3,x1,y1);
}
void quadix(int x1, int y1, int x2, int y2,int x3, int y3, int x4, int y4)
{
line_segment(x1,y1,x2,y2);
line_segment(x2,y2,x3,y3);
line_segment(x3,y3,x4,y4);
line_segment(x4,y4,x1,y1);
}
void line_segment(int x1, int y1, int x2, int y2)
{
int steep = 0;
int sx = ((x2 - x1) > 0) ? 1 : -1;
int sy = ((y2 - y1) > 0) ? 1 : -1;
int dx = abs(x2 - x1);
int dy = abs(y2 - y1);
if (dy > dx)
{
steep = x1; x1 = y1; y1 = steep; /* swap x1 and y1 */
steep = dx; dx = dy; dy = steep; /* swap dx and dy */
steep = sx; sx = sy; sy = steep; /* swap sx and sy */
steep = 1;
}
int e = 2 * dy - dx;
for (int i = 0; i < dx; ++i)
{
if (steep)
plot_pen_pixel(y1,x1);
else
plot_pen_pixel(x1,y1);
while (e >= 0)
{
y1 += sy;
e -= (dx << 1);
}
x1 += sx;
e += (dy << 1);
}
plot_pen_pixel(x2,y2);
}
void horiztonal_line_segment(int x1, int x2, int y)
{
if (x1 > x2)
{
std::swap(x1,x2);
}
for (int i = 0; i < (x2 - x1); ++i)
{
plot_pen_pixel(x1 + i,y);
}
}
void vertical_line_segment(int y1, int y2, int x)
{
if (y1 > y2)
{
std::swap(y1,y2);
}
for (int i = 0; i < (y2 - y1); ++i)
{
plot_pen_pixel(x, y1 + i);
}
}
void ellipse(int centerx, int centery, int a, int b)
{
int t1 = a * a;
int t2 = t1 << 1;
int t3 = t2 << 1;
int t4 = b * b;
int t5 = t4 << 1;
int t6 = t5 << 1;
int t7 = a * t5;
int t8 = t7 << 1;
int t9 = 0;
int d1 = t2 - t7 + (t4 >> 1);
int d2 = (t1 >> 1) - t8 + t5;
int x = a;
int y = 0;
int negative_tx = centerx - x;
int positive_tx = centerx + x;
int negative_ty = centery - y;
int positive_ty = centery + y;
while (d2 < 0)
{
plot_pen_pixel(positive_tx,positive_ty);
plot_pen_pixel(positive_tx,negative_ty);
plot_pen_pixel(negative_tx,positive_ty);
plot_pen_pixel(negative_tx,negative_ty);
++y;
t9 = t9 + t3;
if (d1 < 0)
{
d1 = d1 + t9 + t2;
d2 = d2 + t9;
}
else
{
x--;
t8 = t8 - t6;
d1 = d1 + (t9 + t2 - t8);
d2 = d2 + (t9 + t5 - t8);
negative_tx = centerx - x;
positive_tx = centerx + x;
}
negative_ty = centery - y;
positive_ty = centery + y;
}
do
{
plot_pen_pixel(positive_tx,positive_ty);
plot_pen_pixel(positive_tx,negative_ty);
plot_pen_pixel(negative_tx,positive_ty);
plot_pen_pixel(negative_tx,negative_ty);
x--;
t8 = t8 - t6;
if (d2 < 0)
{
++y;
t9 = t9 + t3;
d2 = d2 + (t9 + t5 - t8);
negative_ty = centery - y;
positive_ty = centery + y;
}
else
d2 = d2 + (t5 - t8);
negative_tx = centerx - x;
positive_tx = centerx + x;
}
while (x >= 0);
}
void circle(int centerx, int centery, int radius)
{
int x = 0;
int d = (1 - radius) << 1;
while (radius >= 0)
{
plot_pen_pixel(centerx + x,centery + radius);
plot_pen_pixel(centerx + x,centery - radius);
plot_pen_pixel(centerx - x,centery + radius);
plot_pen_pixel(centerx - x,centery - radius);
if ((d + radius) > 0)
d -= ((--radius) << 1) - 1;
if (x > d)
d += ((++x) << 1) + 1;
}
}
void plot_pen_pixel(int x, int y)
{
switch (pen_width_)
{
case 1 : plot_pixel(x,y);
break;
case 2 : {
plot_pixel(x , y );
plot_pixel(x + 1, y );
plot_pixel(x + 1, y + 1);
plot_pixel(x , y + 1);
}
break;
case 3 : {
plot_pixel(x , y - 1);
plot_pixel(x - 1, y - 1);
plot_pixel(x + 1, y - 1);
plot_pixel(x , y );
plot_pixel(x - 1, y );
plot_pixel(x + 1, y );
plot_pixel(x , y + 1);
plot_pixel(x - 1, y + 1);
plot_pixel(x + 1, y + 1);
}
break;
default : plot_pixel(x,y);
break;
}
}
void plot_pixel(int x, int y)
{
image_.set_pixel(x,y,pen_color_red_,pen_color_green_,pen_color_blue_);
}
void pen_width(const unsigned int& width)
{
if ((width > 0) && (width < 4))
{
pen_width_ = width;
}
}
void pen_color(const unsigned char& red,
const unsigned char& green,
const unsigned char& blue)
{
pen_color_red_ = red;
pen_color_green_ = green;
pen_color_blue_ = blue;
}
private:
image_drawer(const image_drawer& id);
image_drawer& operator =(const image_drawer& id);
bitmap_image& image_;
unsigned int pen_width_;
unsigned char pen_color_red_;
unsigned char pen_color_green_;
unsigned char pen_color_blue_;
};
const rgb_store autumn_colormap[1000] = {
{255, 0, 0}, {255, 0, 0}, {255, 1, 0}, {255, 1, 0}, {255, 1, 0},
{255, 1, 0}, {255, 2, 0}, {255, 2, 0}, {255, 2, 0}, {255, 2, 0},
{255, 3, 0}, {255, 3, 0}, {255, 3, 0}, {255, 3, 0}, {255, 4, 0},
{255, 4, 0}, {255, 4, 0}, {255, 4, 0}, {255, 5, 0}, {255, 5, 0},
{255, 5, 0}, {255, 5, 0}, {255, 6, 0}, {255, 6, 0}, {255, 6, 0},
{255, 6, 0}, {255, 7, 0}, {255, 7, 0}, {255, 7, 0}, {255, 7, 0},
{255, 8, 0}, {255, 8, 0}, {255, 8, 0}, {255, 8, 0}, {255, 9, 0},
{255, 9, 0}, {255, 9, 0}, {255, 9, 0}, {255, 10, 0}, {255, 10, 0},
{255, 10, 0}, {255, 10, 0}, {255, 11, 0}, {255, 11, 0}, {255, 11, 0},
{255, 11, 0}, {255, 12, 0}, {255, 12, 0}, {255, 12, 0}, {255, 13, 0},
{255, 13, 0}, {255, 13, 0}, {255, 13, 0}, {255, 14, 0}, {255, 14, 0},
{255, 14, 0}, {255, 14, 0}, {255, 15, 0}, {255, 15, 0}, {255, 15, 0},
{255, 15, 0}, {255, 16, 0}, {255, 16, 0}, {255, 16, 0}, {255, 16, 0},
{255, 17, 0}, {255, 17, 0}, {255, 17, 0}, {255, 17, 0}, {255, 18, 0},
{255, 18, 0}, {255, 18, 0}, {255, 18, 0}, {255, 19, 0}, {255, 19, 0},
{255, 19, 0}, {255, 19, 0}, {255, 20, 0}, {255, 20, 0}, {255, 20, 0},
{255, 20, 0}, {255, 21, 0}, {255, 21, 0}, {255, 21, 0}, {255, 21, 0},
{255, 22, 0}, {255, 22, 0}, {255, 22, 0}, {255, 22, 0}, {255, 23, 0},
{255, 23, 0}, {255, 23, 0}, {255, 23, 0}, {255, 24, 0}, {255, 24, 0},
{255, 24, 0}, {255, 25, 0}, {255, 25, 0}, {255, 25, 0}, {255, 25, 0},
{255, 26, 0}, {255, 26, 0}, {255, 26, 0}, {255, 26, 0}, {255, 27, 0},
{255, 27, 0}, {255, 27, 0}, {255, 27, 0}, {255, 28, 0}, {255, 28, 0},
{255, 28, 0}, {255, 28, 0}, {255, 29, 0}, {255, 29, 0}, {255, 29, 0},
{255, 29, 0}, {255, 30, 0}, {255, 30, 0}, {255, 30, 0}, {255, 30, 0},
{255, 31, 0}, {255, 31, 0}, {255, 31, 0}, {255, 31, 0}, {255, 32, 0},
{255, 32, 0}, {255, 32, 0}, {255, 32, 0}, {255, 33, 0}, {255, 33, 0},
{255, 33, 0}, {255, 33, 0}, {255, 34, 0}, {255, 34, 0}, {255, 34, 0},
{255, 34, 0}, {255, 35, 0}, {255, 35, 0}, {255, 35, 0}, {255, 35, 0},
{255, 36, 0}, {255, 36, 0}, {255, 36, 0}, {255, 37, 0}, {255, 37, 0},
{255, 37, 0}, {255, 37, 0}, {255, 38, 0}, {255, 38, 0}, {255, 38, 0},
{255, 38, 0}, {255, 39, 0}, {255, 39, 0}, {255, 39, 0}, {255, 39, 0},
{255, 40, 0}, {255, 40, 0}, {255, 40, 0}, {255, 40, 0}, {255, 41, 0},
{255, 41, 0}, {255, 41, 0}, {255, 41, 0}, {255, 42, 0}, {255, 42, 0},
{255, 42, 0}, {255, 42, 0}, {255, 43, 0}, {255, 43, 0}, {255, 43, 0},
{255, 43, 0}, {255, 44, 0}, {255, 44, 0}, {255, 44, 0}, {255, 44, 0},
{255, 45, 0}, {255, 45, 0}, {255, 45, 0}, {255, 45, 0}, {255, 46, 0},
{255, 46, 0}, {255, 46, 0}, {255, 46, 0}, {255, 47, 0}, {255, 47, 0},
{255, 47, 0}, {255, 47, 0}, {255, 48, 0}, {255, 48, 0}, {255, 48, 0},
{255, 48, 0}, {255, 49, 0}, {255, 49, 0}, {255, 49, 0}, {255, 50, 0},
{255, 50, 0}, {255, 50, 0}, {255, 50, 0}, {255, 51, 0}, {255, 51, 0},
{255, 51, 0}, {255, 51, 0}, {255, 52, 0}, {255, 52, 0}, {255, 52, 0},
{255, 52, 0}, {255, 53, 0}, {255, 53, 0}, {255, 53, 0}, {255, 53, 0},
{255, 54, 0}, {255, 54, 0}, {255, 54, 0}, {255, 54, 0}, {255, 55, 0},
{255, 55, 0}, {255, 55, 0}, {255, 55, 0}, {255, 56, 0}, {255, 56, 0},
{255, 56, 0}, {255, 56, 0}, {255, 57, 0}, {255, 57, 0}, {255, 57, 0},
{255, 57, 0}, {255, 58, 0}, {255, 58, 0}, {255, 58, 0}, {255, 58, 0},
{255, 59, 0}, {255, 59, 0}, {255, 59, 0}, {255, 59, 0}, {255, 60, 0},
{255, 60, 0}, {255, 60, 0}, {255, 60, 0}, {255, 61, 0}, {255, 61, 0},
{255, 61, 0}, {255, 62, 0}, {255, 62, 0}, {255, 62, 0}, {255, 62, 0},
{255, 63, 0}, {255, 63, 0}, {255, 63, 0}, {255, 63, 0}, {255, 64, 0},
{255, 64, 0}, {255, 64, 0}, {255, 64, 0}, {255, 65, 0}, {255, 65, 0},
{255, 65, 0}, {255, 65, 0}, {255, 66, 0}, {255, 66, 0}, {255, 66, 0},
{255, 66, 0}, {255, 67, 0}, {255, 67, 0}, {255, 67, 0}, {255, 67, 0},
{255, 68, 0}, {255, 68, 0}, {255, 68, 0}, {255, 68, 0}, {255, 69, 0},
{255, 69, 0}, {255, 69, 0}, {255, 69, 0}, {255, 70, 0}, {255, 70, 0},
{255, 70, 0}, {255, 70, 0}, {255, 71, 0}, {255, 71, 0}, {255, 71, 0},
{255, 71, 0}, {255, 72, 0}, {255, 72, 0}, {255, 72, 0}, {255, 72, 0},
{255, 73, 0}, {255, 73, 0}, {255, 73, 0}, {255, 74, 0}, {255, 74, 0},
{255, 74, 0}, {255, 74, 0}, {255, 75, 0}, {255, 75, 0}, {255, 75, 0},
{255, 75, 0}, {255, 76, 0}, {255, 76, 0}, {255, 76, 0}, {255, 76, 0},
{255, 77, 0}, {255, 77, 0}, {255, 77, 0}, {255, 77, 0}, {255, 78, 0},
{255, 78, 0}, {255, 78, 0}, {255, 78, 0}, {255, 79, 0}, {255, 79, 0},
{255, 79, 0}, {255, 79, 0}, {255, 80, 0}, {255, 80, 0}, {255, 80, 0},
{255, 80, 0}, {255, 81, 0}, {255, 81, 0}, {255, 81, 0}, {255, 81, 0},
{255, 82, 0}, {255, 82, 0}, {255, 82, 0}, {255, 82, 0}, {255, 83, 0},
{255, 83, 0}, {255, 83, 0}, {255, 83, 0}, {255, 84, 0}, {255, 84, 0},
{255, 84, 0}, {255, 84, 0}, {255, 85, 0}, {255, 85, 0}, {255, 85, 0},
{255, 86, 0}, {255, 86, 0}, {255, 86, 0}, {255, 86, 0}, {255, 87, 0},
{255, 87, 0}, {255, 87, 0}, {255, 87, 0}, {255, 88, 0}, {255, 88, 0},
{255, 88, 0}, {255, 88, 0}, {255, 89, 0}, {255, 89, 0}, {255, 89, 0},
{255, 89, 0}, {255, 90, 0}, {255, 90, 0}, {255, 90, 0}, {255, 90, 0},
{255, 91, 0}, {255, 91, 0}, {255, 91, 0}, {255, 91, 0}, {255, 92, 0},
{255, 92, 0}, {255, 92, 0}, {255, 92, 0}, {255, 93, 0}, {255, 93, 0},
{255, 93, 0}, {255, 93, 0}, {255, 94, 0}, {255, 94, 0}, {255, 94, 0},
{255, 94, 0}, {255, 95, 0}, {255, 95, 0}, {255, 95, 0}, {255, 95, 0},
{255, 96, 0}, {255, 96, 0}, {255, 96, 0}, {255, 96, 0}, {255, 97, 0},
{255, 97, 0}, {255, 97, 0}, {255, 98, 0}, {255, 98, 0}, {255, 98, 0},
{255, 98, 0}, {255, 99, 0}, {255, 99, 0}, {255, 99, 0}, {255, 99, 0},
{255, 100, 0}, {255, 100, 0}, {255, 100, 0}, {255, 100, 0}, {255, 101, 0},
{255, 101, 0}, {255, 101, 0}, {255, 101, 0}, {255, 102, 0}, {255, 102, 0},
{255, 102, 0}, {255, 102, 0}, {255, 103, 0}, {255, 103, 0}, {255, 103, 0},
{255, 103, 0}, {255, 104, 0}, {255, 104, 0}, {255, 104, 0}, {255, 104, 0},
{255, 105, 0}, {255, 105, 0}, {255, 105, 0}, {255, 105, 0}, {255, 106, 0},
{255, 106, 0}, {255, 106, 0}, {255, 106, 0}, {255, 107, 0}, {255, 107, 0},
{255, 107, 0}, {255, 107, 0}, {255, 108, 0}, {255, 108, 0}, {255, 108, 0},
{255, 108, 0}, {255, 109, 0}, {255, 109, 0}, {255, 109, 0}, {255, 110, 0},
{255, 110, 0}, {255, 110, 0}, {255, 110, 0}, {255, 111, 0}, {255, 111, 0},
{255, 111, 0}, {255, 111, 0}, {255, 112, 0}, {255, 112, 0}, {255, 112, 0},
{255, 112, 0}, {255, 113, 0}, {255, 113, 0}, {255, 113, 0}, {255, 113, 0},
{255, 114, 0}, {255, 114, 0}, {255, 114, 0}, {255, 114, 0}, {255, 115, 0},
{255, 115, 0}, {255, 115, 0}, {255, 115, 0}, {255, 116, 0}, {255, 116, 0},
{255, 116, 0}, {255, 116, 0}, {255, 117, 0}, {255, 117, 0}, {255, 117, 0},
{255, 117, 0}, {255, 118, 0}, {255, 118, 0}, {255, 118, 0}, {255, 118, 0},
{255, 119, 0}, {255, 119, 0}, {255, 119, 0}, {255, 119, 0}, {255, 120, 0},
{255, 120, 0}, {255, 120, 0}, {255, 120, 0}, {255, 121, 0}, {255, 121, 0},
{255, 121, 0}, {255, 122, 0}, {255, 122, 0}, {255, 122, 0}, {255, 122, 0},
{255, 123, 0}, {255, 123, 0}, {255, 123, 0}, {255, 123, 0}, {255, 124, 0},
{255, 124, 0}, {255, 124, 0}, {255, 124, 0}, {255, 125, 0}, {255, 125, 0},
{255, 125, 0}, {255, 125, 0}, {255, 126, 0}, {255, 126, 0}, {255, 126, 0},
{255, 126, 0}, {255, 127, 0}, {255, 127, 0}, {255, 127, 0}, {255, 127, 0},
{255, 128, 0}, {255, 128, 0}, {255, 128, 0}, {255, 128, 0}, {255, 129, 0},
{255, 129, 0}, {255, 129, 0}, {255, 129, 0}, {255, 130, 0}, {255, 130, 0},
{255, 130, 0}, {255, 130, 0}, {255, 131, 0}, {255, 131, 0}, {255, 131, 0},
{255, 131, 0}, {255, 132, 0}, {255, 132, 0}, {255, 132, 0}, {255, 132, 0},
{255, 133, 0}, {255, 133, 0}, {255, 133, 0}, {255, 133, 0}, {255, 134, 0},
{255, 134, 0}, {255, 134, 0}, {255, 135, 0}, {255, 135, 0}, {255, 135, 0},
{255, 135, 0}, {255, 136, 0}, {255, 136, 0}, {255, 136, 0}, {255, 136, 0},
{255, 137, 0}, {255, 137, 0}, {255, 137, 0}, {255, 137, 0}, {255, 138, 0},
{255, 138, 0}, {255, 138, 0}, {255, 138, 0}, {255, 139, 0}, {255, 139, 0},
{255, 139, 0}, {255, 139, 0}, {255, 140, 0}, {255, 140, 0}, {255, 140, 0},
{255, 140, 0}, {255, 141, 0}, {255, 141, 0}, {255, 141, 0}, {255, 141, 0},
{255, 142, 0}, {255, 142, 0}, {255, 142, 0}, {255, 142, 0}, {255, 143, 0},
{255, 143, 0}, {255, 143, 0}, {255, 143, 0}, {255, 144, 0}, {255, 144, 0},
{255, 144, 0}, {255, 144, 0}, {255, 145, 0}, {255, 145, 0}, {255, 145, 0},
{255, 145, 0}, {255, 146, 0}, {255, 146, 0}, {255, 146, 0}, {255, 147, 0},
{255, 147, 0}, {255, 147, 0}, {255, 147, 0}, {255, 148, 0}, {255, 148, 0},
{255, 148, 0}, {255, 148, 0}, {255, 149, 0}, {255, 149, 0}, {255, 149, 0},
{255, 149, 0}, {255, 150, 0}, {255, 150, 0}, {255, 150, 0}, {255, 150, 0},
{255, 151, 0}, {255, 151, 0}, {255, 151, 0}, {255, 151, 0}, {255, 152, 0},
{255, 152, 0}, {255, 152, 0}, {255, 152, 0}, {255, 153, 0}, {255, 153, 0},
{255, 153, 0}, {255, 153, 0}, {255, 154, 0}, {255, 154, 0}, {255, 154, 0},
{255, 154, 0}, {255, 155, 0}, {255, 155, 0}, {255, 155, 0}, {255, 155, 0},
{255, 156, 0}, {255, 156, 0}, {255, 156, 0}, {255, 156, 0}, {255, 157, 0},
{255, 157, 0}, {255, 157, 0}, {255, 157, 0}, {255, 158, 0}, {255, 158, 0},
{255, 158, 0}, {255, 159, 0}, {255, 159, 0}, {255, 159, 0}, {255, 159, 0},
{255, 160, 0}, {255, 160, 0}, {255, 160, 0}, {255, 160, 0}, {255, 161, 0},
{255, 161, 0}, {255, 161, 0}, {255, 161, 0}, {255, 162, 0}, {255, 162, 0},
{255, 162, 0}, {255, 162, 0}, {255, 163, 0}, {255, 163, 0}, {255, 163, 0},
{255, 163, 0}, {255, 164, 0}, {255, 164, 0}, {255, 164, 0}, {255, 164, 0},
{255, 165, 0}, {255, 165, 0}, {255, 165, 0}, {255, 165, 0}, {255, 166, 0},
{255, 166, 0}, {255, 166, 0}, {255, 166, 0}, {255, 167, 0}, {255, 167, 0},
{255, 167, 0}, {255, 167, 0}, {255, 168, 0}, {255, 168, 0}, {255, 168, 0},
{255, 168, 0}, {255, 169, 0}, {255, 169, 0}, {255, 169, 0}, {255, 169, 0},
{255, 170, 0}, {255, 170, 0}, {255, 170, 0}, {255, 171, 0}, {255, 171, 0},
{255, 171, 0}, {255, 171, 0}, {255, 172, 0}, {255, 172, 0}, {255, 172, 0},
{255, 172, 0}, {255, 173, 0}, {255, 173, 0}, {255, 173, 0}, {255, 173, 0},
{255, 174, 0}, {255, 174, 0}, {255, 174, 0}, {255, 174, 0}, {255, 175, 0},
{255, 175, 0}, {255, 175, 0}, {255, 175, 0}, {255, 176, 0}, {255, 176, 0},
{255, 176, 0}, {255, 176, 0}, {255, 177, 0}, {255, 177, 0}, {255, 177, 0},
{255, 177, 0}, {255, 178, 0}, {255, 178, 0}, {255, 178, 0}, {255, 178, 0},
{255, 179, 0}, {255, 179, 0}, {255, 179, 0}, {255, 179, 0}, {255, 180, 0},
{255, 180, 0}, {255, 180, 0}, {255, 180, 0}, {255, 181, 0}, {255, 181, 0},
{255, 181, 0}, {255, 181, 0}, {255, 182, 0}, {255, 182, 0}, {255, 182, 0},
{255, 183, 0}, {255, 183, 0}, {255, 183, 0}, {255, 183, 0}, {255, 184, 0},
{255, 184, 0}, {255, 184, 0}, {255, 184, 0}, {255, 185, 0}, {255, 185, 0},
{255, 185, 0}, {255, 185, 0}, {255, 186, 0}, {255, 186, 0}, {255, 186, 0},
{255, 186, 0}, {255, 187, 0}, {255, 187, 0}, {255, 187, 0}, {255, 187, 0},
{255, 188, 0}, {255, 188, 0}, {255, 188, 0}, {255, 188, 0}, {255, 189, 0},
{255, 189, 0}, {255, 189, 0}, {255, 189, 0}, {255, 190, 0}, {255, 190, 0},
{255, 190, 0}, {255, 190, 0}, {255, 191, 0}, {255, 191, 0}, {255, 191, 0},
{255, 191, 0}, {255, 192, 0}, {255, 192, 0}, {255, 192, 0}, {255, 192, 0},
{255, 193, 0}, {255, 193, 0}, {255, 193, 0}, {255, 193, 0}, {255, 194, 0},
{255, 194, 0}, {255, 194, 0}, {255, 195, 0}, {255, 195, 0}, {255, 195, 0},
{255, 195, 0}, {255, 196, 0}, {255, 196, 0}, {255, 196, 0}, {255, 196, 0},
{255, 197, 0}, {255, 197, 0}, {255, 197, 0}, {255, 197, 0}, {255, 198, 0},
{255, 198, 0}, {255, 198, 0}, {255, 198, 0}, {255, 199, 0}, {255, 199, 0},
{255, 199, 0}, {255, 199, 0}, {255, 200, 0}, {255, 200, 0}, {255, 200, 0},
{255, 200, 0}, {255, 201, 0}, {255, 201, 0}, {255, 201, 0}, {255, 201, 0},
{255, 202, 0}, {255, 202, 0}, {255, 202, 0}, {255, 202, 0}, {255, 203, 0},
{255, 203, 0}, {255, 203, 0}, {255, 203, 0}, {255, 204, 0}, {255, 204, 0},
{255, 204, 0}, {255, 204, 0}, {255, 205, 0}, {255, 205, 0}, {255, 205, 0},
{255, 205, 0}, {255, 206, 0}, {255, 206, 0}, {255, 206, 0}, {255, 207, 0},
{255, 207, 0}, {255, 207, 0}, {255, 207, 0}, {255, 208, 0}, {255, 208, 0},
{255, 208, 0}, {255, 208, 0}, {255, 209, 0}, {255, 209, 0}, {255, 209, 0},
{255, 209, 0}, {255, 210, 0}, {255, 210, 0}, {255, 210, 0}, {255, 210, 0},
{255, 211, 0}, {255, 211, 0}, {255, 211, 0}, {255, 211, 0}, {255, 212, 0},
{255, 212, 0}, {255, 212, 0}, {255, 212, 0}, {255, 213, 0}, {255, 213, 0},
{255, 213, 0}, {255, 213, 0}, {255, 214, 0}, {255, 214, 0}, {255, 214, 0},
{255, 214, 0}, {255, 215, 0}, {255, 215, 0}, {255, 215, 0}, {255, 215, 0},
{255, 216, 0}, {255, 216, 0}, {255, 216, 0}, {255, 216, 0}, {255, 217, 0},
{255, 217, 0}, {255, 217, 0}, {255, 217, 0}, {255, 218, 0}, {255, 218, 0},
{255, 218, 0}, {255, 218, 0}, {255, 219, 0}, {255, 219, 0}, {255, 219, 0},
{255, 220, 0}, {255, 220, 0}, {255, 220, 0}, {255, 220, 0}, {255, 221, 0},
{255, 221, 0}, {255, 221, 0}, {255, 221, 0}, {255, 222, 0}, {255, 222, 0},
{255, 222, 0}, {255, 222, 0}, {255, 223, 0}, {255, 223, 0}, {255, 223, 0},
{255, 223, 0}, {255, 224, 0}, {255, 224, 0}, {255, 224, 0}, {255, 224, 0},
{255, 225, 0}, {255, 225, 0}, {255, 225, 0}, {255, 225, 0}, {255, 226, 0},
{255, 226, 0}, {255, 226, 0}, {255, 226, 0}, {255, 227, 0}, {255, 227, 0},
{255, 227, 0}, {255, 227, 0}, {255, 228, 0}, {255, 228, 0}, {255, 228, 0},
{255, 228, 0}, {255, 229, 0}, {255, 229, 0}, {255, 229, 0}, {255, 229, 0},
{255, 230, 0}, {255, 230, 0}, {255, 230, 0}, {255, 230, 0}, {255, 231, 0},
{255, 231, 0}, {255, 231, 0}, {255, 232, 0}, {255, 232, 0}, {255, 232, 0},
{255, 232, 0}, {255, 233, 0}, {255, 233, 0}, {255, 233, 0}, {255, 233, 0},
{255, 234, 0}, {255, 234, 0}, {255, 234, 0}, {255, 234, 0}, {255, 235, 0},
{255, 235, 0}, {255, 235, 0}, {255, 235, 0}, {255, 236, 0}, {255, 236, 0},
{255, 236, 0}, {255, 236, 0}, {255, 237, 0}, {255, 237, 0}, {255, 237, 0},
{255, 237, 0}, {255, 238, 0}, {255, 238, 0}, {255, 238, 0}, {255, 238, 0},
{255, 239, 0}, {255, 239, 0}, {255, 239, 0}, {255, 239, 0}, {255, 240, 0},
{255, 240, 0}, {255, 240, 0}, {255, 240, 0}, {255, 241, 0}, {255, 241, 0},
{255, 241, 0}, {255, 241, 0}, {255, 242, 0}, {255, 242, 0}, {255, 242, 0},
{255, 242, 0}, {255, 243, 0}, {255, 243, 0}, {255, 243, 0}, {255, 244, 0},
{255, 244, 0}, {255, 244, 0}, {255, 244, 0}, {255, 245, 0}, {255, 245, 0},
{255, 245, 0}, {255, 245, 0}, {255, 246, 0}, {255, 246, 0}, {255, 246, 0},
{255, 246, 0}, {255, 247, 0}, {255, 247, 0}, {255, 247, 0}, {255, 247, 0},
{255, 248, 0}, {255, 248, 0}, {255, 248, 0}, {255, 248, 0}, {255, 249, 0},
{255, 249, 0}, {255, 249, 0}, {255, 249, 0}, {255, 250, 0}, {255, 250, 0},
{255, 250, 0}, {255, 250, 0}, {255, 251, 0}, {255, 251, 0}, {255, 251, 0},
{255, 251, 0}, {255, 252, 0}, {255, 252, 0}, {255, 252, 0}, {255, 252, 0},
{255, 253, 0}, {255, 253, 0}, {255, 253, 0}, {255, 253, 0}, {255, 254, 0},
{255, 254, 0}, {255, 254, 0}, {255, 254, 0}, {255, 255, 0}, {255, 255, 0}
};
const rgb_store copper_colormap[1000] = {
{ 0, 0, 0}, { 0, 0, 0}, { 1, 0, 0}, { 1, 1, 0}, { 1, 1, 1},
{ 2, 1, 1}, { 2, 1, 1}, { 2, 1, 1}, { 3, 2, 1}, { 3, 2, 1},
{ 3, 2, 1}, { 4, 2, 1}, { 4, 2, 2}, { 4, 3, 2}, { 4, 3, 2},
{ 5, 3, 2}, { 5, 3, 2}, { 5, 3, 2}, { 6, 4, 2}, { 6, 4, 2},
{ 6, 4, 3}, { 7, 4, 3}, { 7, 4, 3}, { 7, 5, 3}, { 8, 5, 3},
{ 8, 5, 3}, { 8, 5, 3}, { 9, 5, 3}, { 9, 6, 4}, { 9, 6, 4},
{ 10, 6, 4}, { 10, 6, 4}, { 10, 6, 4}, { 11, 7, 4}, { 11, 7, 4},
{ 11, 7, 4}, { 11, 7, 5}, { 12, 7, 5}, { 12, 8, 5}, { 12, 8, 5},
{ 13, 8, 5}, { 13, 8, 5}, { 13, 8, 5}, { 14, 9, 5}, { 14, 9, 6},
{ 14, 9, 6}, { 15, 9, 6}, { 15, 9, 6}, { 15, 10, 6}, { 16, 10, 6},
{ 16, 10, 6}, { 16, 10, 6}, { 17, 10, 7}, { 17, 11, 7}, { 17, 11, 7},
{ 18, 11, 7}, { 18, 11, 7}, { 18, 11, 7}, { 19, 12, 7}, { 19, 12, 7},
{ 19, 12, 8}, { 19, 12, 8}, { 20, 12, 8}, { 20, 13, 8}, { 20, 13, 8},
{ 21, 13, 8}, { 21, 13, 8}, { 21, 13, 9}, { 22, 14, 9}, { 22, 14, 9},
{ 22, 14, 9}, { 23, 14, 9}, { 23, 14, 9}, { 23, 15, 9}, { 24, 15, 9},
{ 24, 15, 10}, { 24, 15, 10}, { 25, 15, 10}, { 25, 16, 10}, { 25, 16, 10},
{ 26, 16, 10}, { 26, 16, 10}, { 26, 16, 10}, { 26, 17, 11}, { 27, 17, 11},
{ 27, 17, 11}, { 27, 17, 11}, { 28, 17, 11}, { 28, 18, 11}, { 28, 18, 11},
{ 29, 18, 11}, { 29, 18, 12}, { 29, 18, 12}, { 30, 19, 12}, { 30, 19, 12},
{ 30, 19, 12}, { 31, 19, 12}, { 31, 19, 12}, { 31, 20, 12}, { 32, 20, 13},
{ 32, 20, 13}, { 32, 20, 13}, { 33, 20, 13}, { 33, 21, 13}, { 33, 21, 13},
{ 34, 21, 13}, { 34, 21, 13}, { 34, 21, 14}, { 34, 22, 14}, { 35, 22, 14},
{ 35, 22, 14}, { 35, 22, 14}, { 36, 22, 14}, { 36, 23, 14}, { 36, 23, 14},
{ 37, 23, 15}, { 37, 23, 15}, { 37, 23, 15}, { 38, 24, 15}, { 38, 24, 15},
{ 38, 24, 15}, { 39, 24, 15}, { 39, 24, 15}, { 39, 25, 16}, { 40, 25, 16},
{ 40, 25, 16}, { 40, 25, 16}, { 41, 25, 16}, { 41, 26, 16}, { 41, 26, 16},
{ 41, 26, 17}, { 42, 26, 17}, { 42, 26, 17}, { 42, 27, 17}, { 43, 27, 17},
{ 43, 27, 17}, { 43, 27, 17}, { 44, 27, 17}, { 44, 28, 18}, { 44, 28, 18},
{ 45, 28, 18}, { 45, 28, 18}, { 45, 28, 18}, { 46, 29, 18}, { 46, 29, 18},
{ 46, 29, 18}, { 47, 29, 19}, { 47, 29, 19}, { 47, 30, 19}, { 48, 30, 19},
{ 48, 30, 19}, { 48, 30, 19}, { 48, 30, 19}, { 49, 31, 19}, { 49, 31, 20},
{ 49, 31, 20}, { 50, 31, 20}, { 50, 31, 20}, { 50, 32, 20}, { 51, 32, 20},
{ 51, 32, 20}, { 51, 32, 20}, { 52, 32, 21}, { 52, 33, 21}, { 52, 33, 21},
{ 53, 33, 21}, { 53, 33, 21}, { 53, 33, 21}, { 54, 34, 21}, { 54, 34, 21},
{ 54, 34, 22}, { 55, 34, 22}, { 55, 34, 22}, { 55, 34, 22}, { 56, 35, 22},
{ 56, 35, 22}, { 56, 35, 22}, { 56, 35, 22}, { 57, 35, 23}, { 57, 36, 23},
{ 57, 36, 23}, { 58, 36, 23}, { 58, 36, 23}, { 58, 36, 23}, { 59, 37, 23},
{ 59, 37, 23}, { 59, 37, 24}, { 60, 37, 24}, { 60, 37, 24}, { 60, 38, 24},
{ 61, 38, 24}, { 61, 38, 24}, { 61, 38, 24}, { 62, 38, 25}, { 62, 39, 25},
{ 62, 39, 25}, { 63, 39, 25}, { 63, 39, 25}, { 63, 39, 25}, { 63, 40, 25},
{ 64, 40, 25}, { 64, 40, 26}, { 64, 40, 26}, { 65, 40, 26}, { 65, 41, 26},
{ 65, 41, 26}, { 66, 41, 26}, { 66, 41, 26}, { 66, 41, 26}, { 67, 42, 27},
{ 67, 42, 27}, { 67, 42, 27}, { 68, 42, 27}, { 68, 42, 27}, { 68, 43, 27},
{ 69, 43, 27}, { 69, 43, 27}, { 69, 43, 28}, { 70, 43, 28}, { 70, 44, 28},
{ 70, 44, 28}, { 71, 44, 28}, { 71, 44, 28}, { 71, 44, 28}, { 71, 45, 28},
{ 72, 45, 29}, { 72, 45, 29}, { 72, 45, 29}, { 73, 45, 29}, { 73, 46, 29},
{ 73, 46, 29}, { 74, 46, 29}, { 74, 46, 29}, { 74, 46, 30}, { 75, 47, 30},
{ 75, 47, 30}, { 75, 47, 30}, { 76, 47, 30}, { 76, 47, 30}, { 76, 48, 30},
{ 77, 48, 30}, { 77, 48, 31}, { 77, 48, 31}, { 78, 48, 31}, { 78, 49, 31},
{ 78, 49, 31}, { 78, 49, 31}, { 79, 49, 31}, { 79, 49, 31}, { 79, 50, 32},
{ 80, 50, 32}, { 80, 50, 32}, { 80, 50, 32}, { 81, 50, 32}, { 81, 51, 32},
{ 81, 51, 32}, { 82, 51, 33}, { 82, 51, 33}, { 82, 51, 33}, { 83, 52, 33},
{ 83, 52, 33}, { 83, 52, 33}, { 84, 52, 33}, { 84, 52, 33}, { 84, 53, 34},
{ 85, 53, 34}, { 85, 53, 34}, { 85, 53, 34}, { 86, 53, 34}, { 86, 54, 34},
{ 86, 54, 34}, { 86, 54, 34}, { 87, 54, 35}, { 87, 54, 35}, { 87, 55, 35},
{ 88, 55, 35}, { 88, 55, 35}, { 88, 55, 35}, { 89, 55, 35}, { 89, 56, 35},
{ 89, 56, 36}, { 90, 56, 36}, { 90, 56, 36}, { 90, 56, 36}, { 91, 57, 36},
{ 91, 57, 36}, { 91, 57, 36}, { 92, 57, 36}, { 92, 57, 37}, { 92, 58, 37},
{ 93, 58, 37}, { 93, 58, 37}, { 93, 58, 37}, { 93, 58, 37}, { 94, 59, 37},
{ 94, 59, 37}, { 94, 59, 38}, { 95, 59, 38}, { 95, 59, 38}, { 95, 60, 38},
{ 96, 60, 38}, { 96, 60, 38}, { 96, 60, 38}, { 97, 60, 38}, { 97, 61, 39},
{ 97, 61, 39}, { 98, 61, 39}, { 98, 61, 39}, { 98, 61, 39}, { 99, 62, 39},
{ 99, 62, 39}, { 99, 62, 39}, {100, 62, 40}, {100, 62, 40}, {100, 63, 40},
{101, 63, 40}, {101, 63, 40}, {101, 63, 40}, {101, 63, 40}, {102, 64, 41},
{102, 64, 41}, {102, 64, 41}, {103, 64, 41}, {103, 64, 41}, {103, 65, 41},
{104, 65, 41}, {104, 65, 41}, {104, 65, 42}, {105, 65, 42}, {105, 66, 42},
{105, 66, 42}, {106, 66, 42}, {106, 66, 42}, {106, 66, 42}, {107, 67, 42},
{107, 67, 43}, {107, 67, 43}, {108, 67, 43}, {108, 67, 43}, {108, 68, 43},
{108, 68, 43}, {109, 68, 43}, {109, 68, 43}, {109, 68, 44}, {110, 69, 44},
{110, 69, 44}, {110, 69, 44}, {111, 69, 44}, {111, 69, 44}, {111, 70, 44},
{112, 70, 44}, {112, 70, 45}, {112, 70, 45}, {113, 70, 45}, {113, 71, 45},
{113, 71, 45}, {114, 71, 45}, {114, 71, 45}, {114, 71, 45}, {115, 72, 46},
{115, 72, 46}, {115, 72, 46}, {116, 72, 46}, {116, 72, 46}, {116, 73, 46},
{116, 73, 46}, {117, 73, 46}, {117, 73, 47}, {117, 73, 47}, {118, 74, 47},
{118, 74, 47}, {118, 74, 47}, {119, 74, 47}, {119, 74, 47}, {119, 75, 47},
{120, 75, 48}, {120, 75, 48}, {120, 75, 48}, {121, 75, 48}, {121, 76, 48},
{121, 76, 48}, {122, 76, 48}, {122, 76, 49}, {122, 76, 49}, {123, 77, 49},
{123, 77, 49}, {123, 77, 49}, {123, 77, 49}, {124, 77, 49}, {124, 78, 49},
{124, 78, 50}, {125, 78, 50}, {125, 78, 50}, {125, 78, 50}, {126, 79, 50},
{126, 79, 50}, {126, 79, 50}, {127, 79, 50}, {127, 79, 51}, {127, 80, 51},
{128, 80, 51}, {128, 80, 51}, {128, 80, 51}, {129, 80, 51}, {129, 81, 51},
{129, 81, 51}, {130, 81, 52}, {130, 81, 52}, {130, 81, 52}, {130, 82, 52},
{131, 82, 52}, {131, 82, 52}, {131, 82, 52}, {132, 82, 52}, {132, 83, 53},
{132, 83, 53}, {133, 83, 53}, {133, 83, 53}, {133, 83, 53}, {134, 84, 53},
{134, 84, 53}, {134, 84, 53}, {135, 84, 54}, {135, 84, 54}, {135, 85, 54},
{136, 85, 54}, {136, 85, 54}, {136, 85, 54}, {137, 85, 54}, {137, 86, 54},
{137, 86, 55}, {138, 86, 55}, {138, 86, 55}, {138, 86, 55}, {138, 87, 55},
{139, 87, 55}, {139, 87, 55}, {139, 87, 55}, {140, 87, 56}, {140, 88, 56},
{140, 88, 56}, {141, 88, 56}, {141, 88, 56}, {141, 88, 56}, {142, 89, 56},
{142, 89, 57}, {142, 89, 57}, {143, 89, 57}, {143, 89, 57}, {143, 90, 57},
{144, 90, 57}, {144, 90, 57}, {144, 90, 57}, {145, 90, 58}, {145, 91, 58},
{145, 91, 58}, {145, 91, 58}, {146, 91, 58}, {146, 91, 58}, {146, 92, 58},
{147, 92, 58}, {147, 92, 59}, {147, 92, 59}, {148, 92, 59}, {148, 93, 59},
{148, 93, 59}, {149, 93, 59}, {149, 93, 59}, {149, 93, 59}, {150, 94, 60},
{150, 94, 60}, {150, 94, 60}, {151, 94, 60}, {151, 94, 60}, {151, 95, 60},
{152, 95, 60}, {152, 95, 60}, {152, 95, 61}, {153, 95, 61}, {153, 96, 61},
{153, 96, 61}, {153, 96, 61}, {154, 96, 61}, {154, 96, 61}, {154, 97, 61},
{155, 97, 62}, {155, 97, 62}, {155, 97, 62}, {156, 97, 62}, {156, 98, 62},
{156, 98, 62}, {157, 98, 62}, {157, 98, 62}, {157, 98, 63}, {158, 99, 63},
{158, 99, 63}, {158, 99, 63}, {159, 99, 63}, {159, 99, 63}, {159, 100, 63},
{160, 100, 63}, {160, 100, 64}, {160, 100, 64}, {160, 100, 64}, {161, 101, 64},
{161, 101, 64}, {161, 101, 64}, {162, 101, 64}, {162, 101, 65}, {162, 101, 65},
{163, 102, 65}, {163, 102, 65}, {163, 102, 65}, {164, 102, 65}, {164, 102, 65},
{164, 103, 65}, {165, 103, 66}, {165, 103, 66}, {165, 103, 66}, {166, 103, 66},
{166, 104, 66}, {166, 104, 66}, {167, 104, 66}, {167, 104, 66}, {167, 104, 67},
{168, 105, 67}, {168, 105, 67}, {168, 105, 67}, {168, 105, 67}, {169, 105, 67},
{169, 106, 67}, {169, 106, 67}, {170, 106, 68}, {170, 106, 68}, {170, 106, 68},
{171, 107, 68}, {171, 107, 68}, {171, 107, 68}, {172, 107, 68}, {172, 107, 68},
{172, 108, 69}, {173, 108, 69}, {173, 108, 69}, {173, 108, 69}, {174, 108, 69},
{174, 109, 69}, {174, 109, 69}, {175, 109, 69}, {175, 109, 70}, {175, 109, 70},
{175, 110, 70}, {176, 110, 70}, {176, 110, 70}, {176, 110, 70}, {177, 110, 70},
{177, 111, 70}, {177, 111, 71}, {178, 111, 71}, {178, 111, 71}, {178, 111, 71},
{179, 112, 71}, {179, 112, 71}, {179, 112, 71}, {180, 112, 71}, {180, 112, 72},
{180, 113, 72}, {181, 113, 72}, {181, 113, 72}, {181, 113, 72}, {182, 113, 72},
{182, 114, 72}, {182, 114, 73}, {183, 114, 73}, {183, 114, 73}, {183, 114, 73},
{183, 115, 73}, {184, 115, 73}, {184, 115, 73}, {184, 115, 73}, {185, 115, 74},
{185, 116, 74}, {185, 116, 74}, {186, 116, 74}, {186, 116, 74}, {186, 116, 74},
{187, 117, 74}, {187, 117, 74}, {187, 117, 75}, {188, 117, 75}, {188, 117, 75},
{188, 118, 75}, {189, 118, 75}, {189, 118, 75}, {189, 118, 75}, {190, 118, 75},
{190, 119, 76}, {190, 119, 76}, {190, 119, 76}, {191, 119, 76}, {191, 119, 76},
{191, 120, 76}, {192, 120, 76}, {192, 120, 76}, {192, 120, 77}, {193, 120, 77},
{193, 121, 77}, {193, 121, 77}, {194, 121, 77}, {194, 121, 77}, {194, 121, 77},
{195, 122, 77}, {195, 122, 78}, {195, 122, 78}, {196, 122, 78}, {196, 122, 78},
{196, 123, 78}, {197, 123, 78}, {197, 123, 78}, {197, 123, 78}, {198, 123, 79},
{198, 124, 79}, {198, 124, 79}, {198, 124, 79}, {199, 124, 79}, {199, 124, 79},
{199, 125, 79}, {200, 125, 79}, {200, 125, 80}, {200, 125, 80}, {201, 125, 80},
{201, 126, 80}, {201, 126, 80}, {202, 126, 80}, {202, 126, 80}, {202, 126, 81},
{203, 127, 81}, {203, 127, 81}, {203, 127, 81}, {204, 127, 81}, {204, 127, 81},
{204, 128, 81}, {205, 128, 81}, {205, 128, 82}, {205, 128, 82}, {205, 128, 82},
{206, 129, 82}, {206, 129, 82}, {206, 129, 82}, {207, 129, 82}, {207, 129, 82},
{207, 130, 83}, {208, 130, 83}, {208, 130, 83}, {208, 130, 83}, {209, 130, 83},
{209, 131, 83}, {209, 131, 83}, {210, 131, 83}, {210, 131, 84}, {210, 131, 84},
{211, 132, 84}, {211, 132, 84}, {211, 132, 84}, {212, 132, 84}, {212, 132, 84},
{212, 133, 84}, {212, 133, 85}, {213, 133, 85}, {213, 133, 85}, {213, 133, 85},
{214, 134, 85}, {214, 134, 85}, {214, 134, 85}, {215, 134, 85}, {215, 134, 86},
{215, 135, 86}, {216, 135, 86}, {216, 135, 86}, {216, 135, 86}, {217, 135, 86},
{217, 136, 86}, {217, 136, 86}, {218, 136, 87}, {218, 136, 87}, {218, 136, 87},
{219, 137, 87}, {219, 137, 87}, {219, 137, 87}, {220, 137, 87}, {220, 137, 87},
{220, 138, 88}, {220, 138, 88}, {221, 138, 88}, {221, 138, 88}, {221, 138, 88},
{222, 139, 88}, {222, 139, 88}, {222, 139, 89}, {223, 139, 89}, {223, 139, 89},
{223, 140, 89}, {224, 140, 89}, {224, 140, 89}, {224, 140, 89}, {225, 140, 89},
{225, 141, 90}, {225, 141, 90}, {226, 141, 90}, {226, 141, 90}, {226, 141, 90},
{227, 142, 90}, {227, 142, 90}, {227, 142, 90}, {227, 142, 91}, {228, 142, 91},
{228, 143, 91}, {228, 143, 91}, {229, 143, 91}, {229, 143, 91}, {229, 143, 91},
{230, 144, 91}, {230, 144, 92}, {230, 144, 92}, {231, 144, 92}, {231, 144, 92},
{231, 145, 92}, {232, 145, 92}, {232, 145, 92}, {232, 145, 92}, {233, 145, 93},
{233, 146, 93}, {233, 146, 93}, {234, 146, 93}, {234, 146, 93}, {234, 146, 93},
{235, 147, 93}, {235, 147, 93}, {235, 147, 94}, {235, 147, 94}, {236, 147, 94},
{236, 148, 94}, {236, 148, 94}, {237, 148, 94}, {237, 148, 94}, {237, 148, 94},
{238, 149, 95}, {238, 149, 95}, {238, 149, 95}, {239, 149, 95}, {239, 149, 95},
{239, 150, 95}, {240, 150, 95}, {240, 150, 95}, {240, 150, 96}, {241, 150, 96},
{241, 151, 96}, {241, 151, 96}, {242, 151, 96}, {242, 151, 96}, {242, 151, 96},
{242, 152, 97}, {243, 152, 97}, {243, 152, 97}, {243, 152, 97}, {244, 152, 97},
{244, 153, 97}, {244, 153, 97}, {245, 153, 97}, {245, 153, 98}, {245, 153, 98},
{246, 154, 98}, {246, 154, 98}, {246, 154, 98}, {247, 154, 98}, {247, 154, 98},
{247, 155, 98}, {248, 155, 99}, {248, 155, 99}, {248, 155, 99}, {249, 155, 99},
{249, 156, 99}, {249, 156, 99}, {250, 156, 99}, {250, 156, 99}, {250, 156, 100},
{250, 157, 100}, {251, 157, 100}, {251, 157, 100}, {251, 157, 100}, {252, 157, 100},
{252, 158, 100}, {252, 158, 100}, {253, 158, 101}, {253, 158, 101}, {253, 158, 101},
{253, 159, 101}, {253, 159, 101}, {254, 159, 101}, {254, 159, 101}, {254, 159, 101},
{254, 160, 102}, {254, 160, 102}, {254, 160, 102}, {254, 160, 102}, {254, 160, 102},
{255, 161, 102}, {255, 161, 102}, {255, 161, 102}, {255, 161, 103}, {255, 161, 103},
{255, 162, 103}, {255, 162, 103}, {255, 162, 103}, {255, 162, 103}, {255, 162, 103},
{255, 163, 103}, {255, 163, 104}, {255, 163, 104}, {255, 163, 104}, {255, 163, 104},
{255, 164, 104}, {255, 164, 104}, {255, 164, 104}, {255, 164, 105}, {255, 164, 105},
{255, 165, 105}, {255, 165, 105}, {255, 165, 105}, {255, 165, 105}, {255, 165, 105},
{255, 166, 105}, {255, 166, 106}, {255, 166, 106}, {255, 166, 106}, {255, 166, 106},
{255, 167, 106}, {255, 167, 106}, {255, 167, 106}, {255, 167, 106}, {255, 167, 107},
{255, 168, 107}, {255, 168, 107}, {255, 168, 107}, {255, 168, 107}, {255, 168, 107},
{255, 168, 107}, {255, 169, 107}, {255, 169, 108}, {255, 169, 108}, {255, 169, 108},
{255, 169, 108}, {255, 170, 108}, {255, 170, 108}, {255, 170, 108}, {255, 170, 108},
{255, 170, 109}, {255, 171, 109}, {255, 171, 109}, {255, 171, 109}, {255, 171, 109},
{255, 171, 109}, {255, 172, 109}, {255, 172, 109}, {255, 172, 110}, {255, 172, 110},
{255, 172, 110}, {255, 173, 110}, {255, 173, 110}, {255, 173, 110}, {255, 173, 110},
{255, 173, 110}, {255, 174, 111}, {255, 174, 111}, {255, 174, 111}, {255, 174, 111},
{255, 174, 111}, {255, 175, 111}, {255, 175, 111}, {255, 175, 111}, {255, 175, 112},
{255, 175, 112}, {255, 176, 112}, {255, 176, 112}, {255, 176, 112}, {255, 176, 112},
{255, 176, 112}, {255, 177, 113}, {255, 177, 113}, {255, 177, 113}, {255, 177, 113},
{255, 177, 113}, {255, 178, 113}, {255, 178, 113}, {255, 178, 113}, {255, 178, 114},
{255, 178, 114}, {255, 179, 114}, {255, 179, 114}, {255, 179, 114}, {255, 179, 114},
{255, 179, 114}, {255, 180, 114}, {255, 180, 115}, {255, 180, 115}, {255, 180, 115},
{255, 180, 115}, {255, 181, 115}, {255, 181, 115}, {255, 181, 115}, {255, 181, 115},
{255, 181, 116}, {255, 182, 116}, {255, 182, 116}, {255, 182, 116}, {255, 182, 116},
{255, 182, 116}, {255, 183, 116}, {255, 183, 116}, {255, 183, 117}, {255, 183, 117},
{255, 183, 117}, {255, 184, 117}, {255, 184, 117}, {255, 184, 117}, {255, 184, 117},
{255, 184, 117}, {255, 185, 118}, {255, 185, 118}, {255, 185, 118}, {255, 185, 118},
{255, 185, 118}, {255, 186, 118}, {255, 186, 118}, {255, 186, 118}, {255, 186, 119},
{255, 186, 119}, {255, 187, 119}, {255, 187, 119}, {255, 187, 119}, {255, 187, 119},
{255, 187, 119}, {255, 188, 119}, {255, 188, 120}, {255, 188, 120}, {255, 188, 120},
{255, 188, 120}, {255, 189, 120}, {255, 189, 120}, {255, 189, 120}, {255, 189, 121},
{255, 189, 121}, {255, 190, 121}, {255, 190, 121}, {255, 190, 121}, {255, 190, 121},
{255, 190, 121}, {255, 191, 121}, {255, 191, 122}, {255, 191, 122}, {255, 191, 122},
{255, 191, 122}, {255, 192, 122}, {255, 192, 122}, {255, 192, 122}, {255, 192, 122},
{255, 192, 123}, {255, 193, 123}, {255, 193, 123}, {255, 193, 123}, {255, 193, 123},
{255, 193, 123}, {255, 194, 123}, {255, 194, 123}, {255, 194, 124}, {255, 194, 124},
{255, 194, 124}, {255, 195, 124}, {255, 195, 124}, {255, 195, 124}, {255, 195, 124},
{255, 195, 124}, {255, 196, 125}, {255, 196, 125}, {255, 196, 125}, {255, 196, 125},
{255, 196, 125}, {255, 197, 125}, {255, 197, 125}, {255, 197, 125}, {255, 197, 126},
{255, 197, 126}, {255, 198, 126}, {255, 198, 126}, {255, 198, 126}, {255, 198, 126},
{255, 198, 126}, {255, 199, 126}, {255, 199, 127}, {255, 199, 127}, {255, 199, 127}
};
const rgb_store gray_colormap[1000] = {
{255, 255, 255}, {255, 255, 255}, {254, 254, 254}, {254, 254, 254}, {254, 254, 254},
{254, 254, 254}, {253, 253, 253}, {253, 253, 253}, {253, 253, 253}, {253, 253, 253},
{252, 252, 252}, {252, 252, 252}, {252, 252, 252}, {252, 252, 252}, {251, 251, 251},
{251, 251, 251}, {251, 251, 251}, {251, 251, 251}, {250, 250, 250}, {250, 250, 250},
{250, 250, 250}, {250, 250, 250}, {249, 249, 249}, {249, 249, 249}, {249, 249, 249},
{249, 249, 249}, {248, 248, 248}, {248, 248, 248}, {248, 248, 248}, {248, 248, 248},
{247, 247, 247}, {247, 247, 247}, {247, 247, 247}, {247, 247, 247}, {246, 246, 246},
{246, 246, 246}, {246, 246, 246}, {246, 246, 246}, {245, 245, 245}, {245, 245, 245},
{245, 245, 245}, {245, 245, 245}, {244, 244, 244}, {244, 244, 244}, {244, 244, 244},
{244, 244, 244}, {243, 243, 243}, {243, 243, 243}, {243, 243, 243}, {242, 242, 242},
{242, 242, 242}, {242, 242, 242}, {242, 242, 242}, {241, 241, 241}, {241, 241, 241},
{241, 241, 241}, {241, 241, 241}, {240, 240, 240}, {240, 240, 240}, {240, 240, 240},
{240, 240, 240}, {239, 239, 239}, {239, 239, 239}, {239, 239, 239}, {239, 239, 239},
{238, 238, 238}, {238, 238, 238}, {238, 238, 238}, {238, 238, 238}, {237, 237, 237},
{237, 237, 237}, {237, 237, 237}, {237, 237, 237}, {236, 236, 236}, {236, 236, 236},
{236, 236, 236}, {236, 236, 236}, {235, 235, 235}, {235, 235, 235}, {235, 235, 235},
{235, 235, 235}, {234, 234, 234}, {234, 234, 234}, {234, 234, 234}, {234, 234, 234},
{233, 233, 233}, {233, 233, 233}, {233, 233, 233}, {233, 233, 233}, {232, 232, 232},
{232, 232, 232}, {232, 232, 232}, {232, 232, 232}, {231, 231, 231}, {231, 231, 231},
{231, 231, 231}, {230, 230, 230}, {230, 230, 230}, {230, 230, 230}, {230, 230, 230},
{229, 229, 229}, {229, 229, 229}, {229, 229, 229}, {229, 229, 229}, {228, 228, 228},
{228, 228, 228}, {228, 228, 228}, {228, 228, 228}, {227, 227, 227}, {227, 227, 227},
{227, 227, 227}, {227, 227, 227}, {226, 226, 226}, {226, 226, 226}, {226, 226, 226},
{226, 226, 226}, {225, 225, 225}, {225, 225, 225}, {225, 225, 225}, {225, 225, 225},
{224, 224, 224}, {224, 224, 224}, {224, 224, 224}, {224, 224, 224}, {223, 223, 223},
{223, 223, 223}, {223, 223, 223}, {223, 223, 223}, {222, 222, 222}, {222, 222, 222},
{222, 222, 222}, {222, 222, 222}, {221, 221, 221}, {221, 221, 221}, {221, 221, 221},
{221, 221, 221}, {220, 220, 220}, {220, 220, 220}, {220, 220, 220}, {220, 220, 220},
{219, 219, 219}, {219, 219, 219}, {219, 219, 219}, {218, 218, 218}, {218, 218, 218},
{218, 218, 218}, {218, 218, 218}, {217, 217, 217}, {217, 217, 217}, {217, 217, 217},
{217, 217, 217}, {216, 216, 216}, {216, 216, 216}, {216, 216, 216}, {216, 216, 216},
{215, 215, 215}, {215, 215, 215}, {215, 215, 215}, {215, 215, 215}, {214, 214, 214},
{214, 214, 214}, {214, 214, 214}, {214, 214, 214}, {213, 213, 213}, {213, 213, 213},
{213, 213, 213}, {213, 213, 213}, {212, 212, 212}, {212, 212, 212}, {212, 212, 212},
{212, 212, 212}, {211, 211, 211}, {211, 211, 211}, {211, 211, 211}, {211, 211, 211},
{210, 210, 210}, {210, 210, 210}, {210, 210, 210}, {210, 210, 210}, {209, 209, 209},
{209, 209, 209}, {209, 209, 209}, {209, 209, 209}, {208, 208, 208}, {208, 208, 208},
{208, 208, 208}, {208, 208, 208}, {207, 207, 207}, {207, 207, 207}, {207, 207, 207},
{207, 207, 207}, {206, 206, 206}, {206, 206, 206}, {206, 206, 206}, {205, 205, 205},
{205, 205, 205}, {205, 205, 205}, {205, 205, 205}, {204, 204, 204}, {204, 204, 204},
{204, 204, 204}, {204, 204, 204}, {203, 203, 203}, {203, 203, 203}, {203, 203, 203},
{203, 203, 203}, {202, 202, 202}, {202, 202, 202}, {202, 202, 202}, {202, 202, 202},
{201, 201, 201}, {201, 201, 201}, {201, 201, 201}, {201, 201, 201}, {200, 200, 200},
{200, 200, 200}, {200, 200, 200}, {200, 200, 200}, {199, 199, 199}, {199, 199, 199},
{199, 199, 199}, {199, 199, 199}, {198, 198, 198}, {198, 198, 198}, {198, 198, 198},
{198, 198, 198}, {197, 197, 197}, {197, 197, 197}, {197, 197, 197}, {197, 197, 197},
{196, 196, 196}, {196, 196, 196}, {196, 196, 196}, {196, 196, 196}, {195, 195, 195},
{195, 195, 195}, {195, 195, 195}, {195, 195, 195}, {194, 194, 194}, {194, 194, 194},
{194, 194, 194}, {193, 193, 193}, {193, 193, 193}, {193, 193, 193}, {193, 193, 193},
{192, 192, 192}, {192, 192, 192}, {192, 192, 192}, {192, 192, 192}, {191, 191, 191},
{191, 191, 191}, {191, 191, 191}, {191, 191, 191}, {190, 190, 190}, {190, 190, 190},
{190, 190, 190}, {190, 190, 190}, {189, 189, 189}, {189, 189, 189}, {189, 189, 189},
{189, 189, 189}, {188, 188, 188}, {188, 188, 188}, {188, 188, 188}, {188, 188, 188},
{187, 187, 187}, {187, 187, 187}, {187, 187, 187}, {187, 187, 187}, {186, 186, 186},
{186, 186, 186}, {186, 186, 186}, {186, 186, 186}, {185, 185, 185}, {185, 185, 185},
{185, 185, 185}, {185, 185, 185}, {184, 184, 184}, {184, 184, 184}, {184, 184, 184},
{184, 184, 184}, {183, 183, 183}, {183, 183, 183}, {183, 183, 183}, {183, 183, 183},
{182, 182, 182}, {182, 182, 182}, {182, 182, 182}, {181, 181, 181}, {181, 181, 181},
{181, 181, 181}, {181, 181, 181}, {180, 180, 180}, {180, 180, 180}, {180, 180, 180},
{180, 180, 180}, {179, 179, 179}, {179, 179, 179}, {179, 179, 179}, {179, 179, 179},
{178, 178, 178}, {178, 178, 178}, {178, 178, 178}, {178, 178, 178}, {177, 177, 177},
{177, 177, 177}, {177, 177, 177}, {177, 177, 177}, {176, 176, 176}, {176, 176, 176},
{176, 176, 176}, {176, 176, 176}, {175, 175, 175}, {175, 175, 175}, {175, 175, 175},
{175, 175, 175}, {174, 174, 174}, {174, 174, 174}, {174, 174, 174}, {174, 174, 174},
{173, 173, 173}, {173, 173, 173}, {173, 173, 173}, {173, 173, 173}, {172, 172, 172},
{172, 172, 172}, {172, 172, 172}, {172, 172, 172}, {171, 171, 171}, {171, 171, 171},
{171, 171, 171}, {171, 171, 171}, {170, 170, 170}, {170, 170, 170}, {170, 170, 170},
{169, 169, 169}, {169, 169, 169}, {169, 169, 169}, {169, 169, 169}, {168, 168, 168},
{168, 168, 168}, {168, 168, 168}, {168, 168, 168}, {167, 167, 167}, {167, 167, 167},
{167, 167, 167}, {167, 167, 167}, {166, 166, 166}, {166, 166, 166}, {166, 166, 166},
{166, 166, 166}, {165, 165, 165}, {165, 165, 165}, {165, 165, 165}, {165, 165, 165},
{164, 164, 164}, {164, 164, 164}, {164, 164, 164}, {164, 164, 164}, {163, 163, 163},
{163, 163, 163}, {163, 163, 163}, {163, 163, 163}, {162, 162, 162}, {162, 162, 162},
{162, 162, 162}, {162, 162, 162}, {161, 161, 161}, {161, 161, 161}, {161, 161, 161},
{161, 161, 161}, {160, 160, 160}, {160, 160, 160}, {160, 160, 160}, {160, 160, 160},
{159, 159, 159}, {159, 159, 159}, {159, 159, 159}, {159, 159, 159}, {158, 158, 158},
{158, 158, 158}, {158, 158, 158}, {157, 157, 157}, {157, 157, 157}, {157, 157, 157},
{157, 157, 157}, {156, 156, 156}, {156, 156, 156}, {156, 156, 156}, {156, 156, 156},
{155, 155, 155}, {155, 155, 155}, {155, 155, 155}, {155, 155, 155}, {154, 154, 154},
{154, 154, 154}, {154, 154, 154}, {154, 154, 154}, {153, 153, 153}, {153, 153, 153},
{153, 153, 153}, {153, 153, 153}, {152, 152, 152}, {152, 152, 152}, {152, 152, 152},
{152, 152, 152}, {151, 151, 151}, {151, 151, 151}, {151, 151, 151}, {151, 151, 151},
{150, 150, 150}, {150, 150, 150}, {150, 150, 150}, {150, 150, 150}, {149, 149, 149},
{149, 149, 149}, {149, 149, 149}, {149, 149, 149}, {148, 148, 148}, {148, 148, 148},
{148, 148, 148}, {148, 148, 148}, {147, 147, 147}, {147, 147, 147}, {147, 147, 147},
{147, 147, 147}, {146, 146, 146}, {146, 146, 146}, {146, 146, 146}, {145, 145, 145},
{145, 145, 145}, {145, 145, 145}, {145, 145, 145}, {144, 144, 144}, {144, 144, 144},
{144, 144, 144}, {144, 144, 144}, {143, 143, 143}, {143, 143, 143}, {143, 143, 143},
{143, 143, 143}, {142, 142, 142}, {142, 142, 142}, {142, 142, 142}, {142, 142, 142},
{141, 141, 141}, {141, 141, 141}, {141, 141, 141}, {141, 141, 141}, {140, 140, 140},
{140, 140, 140}, {140, 140, 140}, {140, 140, 140}, {139, 139, 139}, {139, 139, 139},
{139, 139, 139}, {139, 139, 139}, {138, 138, 138}, {138, 138, 138}, {138, 138, 138},
{138, 138, 138}, {137, 137, 137}, {137, 137, 137}, {137, 137, 137}, {137, 137, 137},
{136, 136, 136}, {136, 136, 136}, {136, 136, 136}, {136, 136, 136}, {135, 135, 135},
{135, 135, 135}, {135, 135, 135}, {135, 135, 135}, {134, 134, 134}, {134, 134, 134},
{134, 134, 134}, {133, 133, 133}, {133, 133, 133}, {133, 133, 133}, {133, 133, 133},
{132, 132, 132}, {132, 132, 132}, {132, 132, 132}, {132, 132, 132}, {131, 131, 131},
{131, 131, 131}, {131, 131, 131}, {131, 131, 131}, {130, 130, 130}, {130, 130, 130},
{130, 130, 130}, {130, 130, 130}, {129, 129, 129}, {129, 129, 129}, {129, 129, 129},
{129, 129, 129}, {128, 128, 128}, {128, 128, 128}, {128, 128, 128}, {128, 128, 128},
{127, 127, 127}, {127, 127, 127}, {127, 127, 127}, {127, 127, 127}, {126, 126, 126},
{126, 126, 126}, {126, 126, 126}, {126, 126, 126}, {125, 125, 125}, {125, 125, 125},
{125, 125, 125}, {125, 125, 125}, {124, 124, 124}, {124, 124, 124}, {124, 124, 124},
{124, 124, 124}, {123, 123, 123}, {123, 123, 123}, {123, 123, 123}, {123, 123, 123},
{122, 122, 122}, {122, 122, 122}, {122, 122, 122}, {122, 122, 122}, {121, 121, 121},
{121, 121, 121}, {121, 121, 121}, {120, 120, 120}, {120, 120, 120}, {120, 120, 120},
{120, 120, 120}, {119, 119, 119}, {119, 119, 119}, {119, 119, 119}, {119, 119, 119},
{118, 118, 118}, {118, 118, 118}, {118, 118, 118}, {118, 118, 118}, {117, 117, 117},
{117, 117, 117}, {117, 117, 117}, {117, 117, 117}, {116, 116, 116}, {116, 116, 116},
{116, 116, 116}, {116, 116, 116}, {115, 115, 115}, {115, 115, 115}, {115, 115, 115},
{115, 115, 115}, {114, 114, 114}, {114, 114, 114}, {114, 114, 114}, {114, 114, 114},
{113, 113, 113}, {113, 113, 113}, {113, 113, 113}, {113, 113, 113}, {112, 112, 112},
{112, 112, 112}, {112, 112, 112}, {112, 112, 112}, {111, 111, 111}, {111, 111, 111},
{111, 111, 111}, {111, 111, 111}, {110, 110, 110}, {110, 110, 110}, {110, 110, 110},
{110, 110, 110}, {109, 109, 109}, {109, 109, 109}, {109, 109, 109}, {108, 108, 108},
{108, 108, 108}, {108, 108, 108}, {108, 108, 108}, {107, 107, 107}, {107, 107, 107},
{107, 107, 107}, {107, 107, 107}, {106, 106, 106}, {106, 106, 106}, {106, 106, 106},
{106, 106, 106}, {105, 105, 105}, {105, 105, 105}, {105, 105, 105}, {105, 105, 105},
{104, 104, 104}, {104, 104, 104}, {104, 104, 104}, {104, 104, 104}, {103, 103, 103},
{103, 103, 103}, {103, 103, 103}, {103, 103, 103}, {102, 102, 102}, {102, 102, 102},
{102, 102, 102}, {102, 102, 102}, {101, 101, 101}, {101, 101, 101}, {101, 101, 101},
{101, 101, 101}, {100, 100, 100}, {100, 100, 100}, {100, 100, 100}, {100, 100, 100},
{ 99, 99, 99}, { 99, 99, 99}, { 99, 99, 99}, { 99, 99, 99}, { 98, 98, 98},
{ 98, 98, 98}, { 98, 98, 98}, { 98, 98, 98}, { 97, 97, 97}, { 97, 97, 97},
{ 97, 97, 97}, { 96, 96, 96}, { 96, 96, 96}, { 96, 96, 96}, { 96, 96, 96},
{ 95, 95, 95}, { 95, 95, 95}, { 95, 95, 95}, { 95, 95, 95}, { 94, 94, 94},
{ 94, 94, 94}, { 94, 94, 94}, { 94, 94, 94}, { 93, 93, 93}, { 93, 93, 93},
{ 93, 93, 93}, { 93, 93, 93}, { 92, 92, 92}, { 92, 92, 92}, { 92, 92, 92},
{ 92, 92, 92}, { 91, 91, 91}, { 91, 91, 91}, { 91, 91, 91}, { 91, 91, 91},
{ 90, 90, 90}, { 90, 90, 90}, { 90, 90, 90}, { 90, 90, 90}, { 89, 89, 89},
{ 89, 89, 89}, { 89, 89, 89}, { 89, 89, 89}, { 88, 88, 88}, { 88, 88, 88},
{ 88, 88, 88}, { 88, 88, 88}, { 87, 87, 87}, { 87, 87, 87}, { 87, 87, 87},
{ 87, 87, 87}, { 86, 86, 86}, { 86, 86, 86}, { 86, 86, 86}, { 86, 86, 86},
{ 85, 85, 85}, { 85, 85, 85}, { 85, 85, 85}, { 84, 84, 84}, { 84, 84, 84},
{ 84, 84, 84}, { 84, 84, 84}, { 83, 83, 83}, { 83, 83, 83}, { 83, 83, 83},
{ 83, 83, 83}, { 82, 82, 82}, { 82, 82, 82}, { 82, 82, 82}, { 82, 82, 82},
{ 81, 81, 81}, { 81, 81, 81}, { 81, 81, 81}, { 81, 81, 81}, { 80, 80, 80},
{ 80, 80, 80}, { 80, 80, 80}, { 80, 80, 80}, { 79, 79, 79}, { 79, 79, 79},
{ 79, 79, 79}, { 79, 79, 79}, { 78, 78, 78}, { 78, 78, 78}, { 78, 78, 78},
{ 78, 78, 78}, { 77, 77, 77}, { 77, 77, 77}, { 77, 77, 77}, { 77, 77, 77},
{ 76, 76, 76}, { 76, 76, 76}, { 76, 76, 76}, { 76, 76, 76}, { 75, 75, 75},
{ 75, 75, 75}, { 75, 75, 75}, { 75, 75, 75}, { 74, 74, 74}, { 74, 74, 74},
{ 74, 74, 74}, { 74, 74, 74}, { 73, 73, 73}, { 73, 73, 73}, { 73, 73, 73},
{ 72, 72, 72}, { 72, 72, 72}, { 72, 72, 72}, { 72, 72, 72}, { 71, 71, 71},
{ 71, 71, 71}, { 71, 71, 71}, { 71, 71, 71}, { 70, 70, 70}, { 70, 70, 70},
{ 70, 70, 70}, { 70, 70, 70}, { 69, 69, 69}, { 69, 69, 69}, { 69, 69, 69},
{ 69, 69, 69}, { 68, 68, 68}, { 68, 68, 68}, { 68, 68, 68}, { 68, 68, 68},
{ 67, 67, 67}, { 67, 67, 67}, { 67, 67, 67}, { 67, 67, 67}, { 66, 66, 66},
{ 66, 66, 66}, { 66, 66, 66}, { 66, 66, 66}, { 65, 65, 65}, { 65, 65, 65},
{ 65, 65, 65}, { 65, 65, 65}, { 64, 64, 64}, { 64, 64, 64}, { 64, 64, 64},
{ 64, 64, 64}, { 63, 63, 63}, { 63, 63, 63}, { 63, 63, 63}, { 63, 63, 63},
{ 62, 62, 62}, { 62, 62, 62}, { 62, 62, 62}, { 62, 62, 62}, { 61, 61, 61},
{ 61, 61, 61}, { 61, 61, 61}, { 60, 60, 60}, { 60, 60, 60}, { 60, 60, 60},
{ 60, 60, 60}, { 59, 59, 59}, { 59, 59, 59}, { 59, 59, 59}, { 59, 59, 59},
{ 58, 58, 58}, { 58, 58, 58}, { 58, 58, 58}, { 58, 58, 58}, { 57, 57, 57},
{ 57, 57, 57}, { 57, 57, 57}, { 57, 57, 57}, { 56, 56, 56}, { 56, 56, 56},
{ 56, 56, 56}, { 56, 56, 56}, { 55, 55, 55}, { 55, 55, 55}, { 55, 55, 55},
{ 55, 55, 55}, { 54, 54, 54}, { 54, 54, 54}, { 54, 54, 54}, { 54, 54, 54},
{ 53, 53, 53}, { 53, 53, 53}, { 53, 53, 53}, { 53, 53, 53}, { 52, 52, 52},
{ 52, 52, 52}, { 52, 52, 52}, { 52, 52, 52}, { 51, 51, 51}, { 51, 51, 51},
{ 51, 51, 51}, { 51, 51, 51}, { 50, 50, 50}, { 50, 50, 50}, { 50, 50, 50},
{ 50, 50, 50}, { 49, 49, 49}, { 49, 49, 49}, { 49, 49, 49}, { 48, 48, 48},
{ 48, 48, 48}, { 48, 48, 48}, { 48, 48, 48}, { 47, 47, 47}, { 47, 47, 47},
{ 47, 47, 47}, { 47, 47, 47}, { 46, 46, 46}, { 46, 46, 46}, { 46, 46, 46},
{ 46, 46, 46}, { 45, 45, 45}, { 45, 45, 45}, { 45, 45, 45}, { 45, 45, 45},
{ 44, 44, 44}, { 44, 44, 44}, { 44, 44, 44}, { 44, 44, 44}, { 43, 43, 43},
{ 43, 43, 43}, { 43, 43, 43}, { 43, 43, 43}, { 42, 42, 42}, { 42, 42, 42},
{ 42, 42, 42}, { 42, 42, 42}, { 41, 41, 41}, { 41, 41, 41}, { 41, 41, 41},
{ 41, 41, 41}, { 40, 40, 40}, { 40, 40, 40}, { 40, 40, 40}, { 40, 40, 40},
{ 39, 39, 39}, { 39, 39, 39}, { 39, 39, 39}, { 39, 39, 39}, { 38, 38, 38},
{ 38, 38, 38}, { 38, 38, 38}, { 38, 38, 38}, { 37, 37, 37}, { 37, 37, 37},
{ 37, 37, 37}, { 37, 37, 37}, { 36, 36, 36}, { 36, 36, 36}, { 36, 36, 36},
{ 35, 35, 35}, { 35, 35, 35}, { 35, 35, 35}, { 35, 35, 35}, { 34, 34, 34},
{ 34, 34, 34}, { 34, 34, 34}, { 34, 34, 34}, { 33, 33, 33}, { 33, 33, 33},
{ 33, 33, 33}, { 33, 33, 33}, { 32, 32, 32}, { 32, 32, 32}, { 32, 32, 32},
{ 32, 32, 32}, { 31, 31, 31}, { 31, 31, 31}, { 31, 31, 31}, { 31, 31, 31},
{ 30, 30, 30}, { 30, 30, 30}, { 30, 30, 30}, { 30, 30, 30}, { 29, 29, 29},
{ 29, 29, 29}, { 29, 29, 29}, { 29, 29, 29}, { 28, 28, 28}, { 28, 28, 28},
{ 28, 28, 28}, { 28, 28, 28}, { 27, 27, 27}, { 27, 27, 27}, { 27, 27, 27},
{ 27, 27, 27}, { 26, 26, 26}, { 26, 26, 26}, { 26, 26, 26}, { 26, 26, 26},
{ 25, 25, 25}, { 25, 25, 25}, { 25, 25, 25}, { 25, 25, 25}, { 24, 24, 24},
{ 24, 24, 24}, { 24, 24, 24}, { 23, 23, 23}, { 23, 23, 23}, { 23, 23, 23},
{ 23, 23, 23}, { 22, 22, 22}, { 22, 22, 22}, { 22, 22, 22}, { 22, 22, 22},
{ 21, 21, 21}, { 21, 21, 21}, { 21, 21, 21}, { 21, 21, 21}, { 20, 20, 20},
{ 20, 20, 20}, { 20, 20, 20}, { 20, 20, 20}, { 19, 19, 19}, { 19, 19, 19},
{ 19, 19, 19}, { 19, 19, 19}, { 18, 18, 18}, { 18, 18, 18}, { 18, 18, 18},
{ 18, 18, 18}, { 17, 17, 17}, { 17, 17, 17}, { 17, 17, 17}, { 17, 17, 17},
{ 16, 16, 16}, { 16, 16, 16}, { 16, 16, 16}, { 16, 16, 16}, { 15, 15, 15},
{ 15, 15, 15}, { 15, 15, 15}, { 15, 15, 15}, { 14, 14, 14}, { 14, 14, 14},
{ 14, 14, 14}, { 14, 14, 14}, { 13, 13, 13}, { 13, 13, 13}, { 13, 13, 13},
{ 13, 13, 13}, { 12, 12, 12}, { 12, 12, 12}, { 12, 12, 12}, { 11, 11, 11},
{ 11, 11, 11}, { 11, 11, 11}, { 11, 11, 11}, { 10, 10, 10}, { 10, 10, 10},
{ 10, 10, 10}, { 10, 10, 10}, { 9, 9, 9}, { 9, 9, 9}, { 9, 9, 9},
{ 9, 9, 9}, { 8, 8, 8}, { 8, 8, 8}, { 8, 8, 8}, { 8, 8, 8},
{ 7, 7, 7}, { 7, 7, 7}, { 7, 7, 7}, { 7, 7, 7}, { 6, 6, 6},
{ 6, 6, 6}, { 6, 6, 6}, { 6, 6, 6}, { 5, 5, 5}, { 5, 5, 5},
{ 5, 5, 5}, { 5, 5, 5}, { 4, 4, 4}, { 4, 4, 4}, { 4, 4, 4},
{ 4, 4, 4}, { 3, 3, 3}, { 3, 3, 3}, { 3, 3, 3}, { 3, 3, 3},
{ 2, 2, 2}, { 2, 2, 2}, { 2, 2, 2}, { 2, 2, 2}, { 1, 1, 1},
{ 1, 1, 1}, { 1, 1, 1}, { 1, 1, 1}, { 0, 0, 0}, { 0, 0, 0}
};
const rgb_store hot_colormap[1000] = {
{ 11, 0, 0}, { 11, 0, 0}, { 12, 0, 0}, { 13, 0, 0}, { 13, 0, 0},
{ 14, 0, 0}, { 15, 0, 0}, { 15, 0, 0}, { 16, 0, 0}, { 17, 0, 0},
{ 17, 0, 0}, { 18, 0, 0}, { 19, 0, 0}, { 19, 0, 0}, { 20, 0, 0},
{ 21, 0, 0}, { 21, 0, 0}, { 22, 0, 0}, { 23, 0, 0}, { 23, 0, 0},
{ 24, 0, 0}, { 25, 0, 0}, { 25, 0, 0}, { 26, 0, 0}, { 27, 0, 0},
{ 27, 0, 0}, { 28, 0, 0}, { 29, 0, 0}, { 29, 0, 0}, { 30, 0, 0},
{ 31, 0, 0}, { 31, 0, 0}, { 32, 0, 0}, { 33, 0, 0}, { 33, 0, 0},
{ 34, 0, 0}, { 35, 0, 0}, { 35, 0, 0}, { 36, 0, 0}, { 37, 0, 0},
{ 37, 0, 0}, { 38, 0, 0}, { 39, 0, 0}, { 39, 0, 0}, { 40, 0, 0},
{ 41, 0, 0}, { 41, 0, 0}, { 42, 0, 0}, { 43, 0, 0}, { 43, 0, 0},
{ 44, 0, 0}, { 45, 0, 0}, { 45, 0, 0}, { 46, 0, 0}, { 47, 0, 0},
{ 47, 0, 0}, { 48, 0, 0}, { 49, 0, 0}, { 49, 0, 0}, { 50, 0, 0},
{ 51, 0, 0}, { 51, 0, 0}, { 52, 0, 0}, { 53, 0, 0}, { 54, 0, 0},
{ 54, 0, 0}, { 55, 0, 0}, { 56, 0, 0}, { 56, 0, 0}, { 57, 0, 0},
{ 58, 0, 0}, { 58, 0, 0}, { 59, 0, 0}, { 60, 0, 0}, { 60, 0, 0},
{ 61, 0, 0}, { 62, 0, 0}, { 62, 0, 0}, { 63, 0, 0}, { 64, 0, 0},
{ 64, 0, 0}, { 65, 0, 0}, { 66, 0, 0}, { 66, 0, 0}, { 67, 0, 0},
{ 68, 0, 0}, { 68, 0, 0}, { 69, 0, 0}, { 70, 0, 0}, { 70, 0, 0},
{ 71, 0, 0}, { 72, 0, 0}, { 72, 0, 0}, { 73, 0, 0}, { 74, 0, 0},
{ 74, 0, 0}, { 75, 0, 0}, { 76, 0, 0}, { 76, 0, 0}, { 77, 0, 0},
{ 78, 0, 0}, { 78, 0, 0}, { 79, 0, 0}, { 80, 0, 0}, { 80, 0, 0},
{ 81, 0, 0}, { 82, 0, 0}, { 82, 0, 0}, { 83, 0, 0}, { 84, 0, 0},
{ 84, 0, 0}, { 85, 0, 0}, { 86, 0, 0}, { 86, 0, 0}, { 87, 0, 0},
{ 88, 0, 0}, { 88, 0, 0}, { 89, 0, 0}, { 90, 0, 0}, { 90, 0, 0},
{ 91, 0, 0}, { 92, 0, 0}, { 92, 0, 0}, { 93, 0, 0}, { 94, 0, 0},
{ 94, 0, 0}, { 95, 0, 0}, { 96, 0, 0}, { 96, 0, 0}, { 97, 0, 0},
{ 98, 0, 0}, { 98, 0, 0}, { 99, 0, 0}, {100, 0, 0}, {100, 0, 0},
{101, 0, 0}, {102, 0, 0}, {102, 0, 0}, {103, 0, 0}, {104, 0, 0},
{104, 0, 0}, {105, 0, 0}, {106, 0, 0}, {106, 0, 0}, {107, 0, 0},
{108, 0, 0}, {108, 0, 0}, {109, 0, 0}, {110, 0, 0}, {110, 0, 0},
{111, 0, 0}, {112, 0, 0}, {112, 0, 0}, {113, 0, 0}, {114, 0, 0},
{114, 0, 0}, {115, 0, 0}, {116, 0, 0}, {116, 0, 0}, {117, 0, 0},
{118, 0, 0}, {119, 0, 0}, {119, 0, 0}, {120, 0, 0}, {121, 0, 0},
{121, 0, 0}, {122, 0, 0}, {123, 0, 0}, {123, 0, 0}, {124, 0, 0},
{125, 0, 0}, {125, 0, 0}, {126, 0, 0}, {127, 0, 0}, {127, 0, 0},
{128, 0, 0}, {129, 0, 0}, {129, 0, 0}, {130, 0, 0}, {131, 0, 0},
{131, 0, 0}, {132, 0, 0}, {133, 0, 0}, {133, 0, 0}, {134, 0, 0},
{135, 0, 0}, {135, 0, 0}, {136, 0, 0}, {137, 0, 0}, {137, 0, 0},
{138, 0, 0}, {139, 0, 0}, {139, 0, 0}, {140, 0, 0}, {141, 0, 0},
{141, 0, 0}, {142, 0, 0}, {143, 0, 0}, {143, 0, 0}, {144, 0, 0},
{145, 0, 0}, {145, 0, 0}, {146, 0, 0}, {147, 0, 0}, {147, 0, 0},
{148, 0, 0}, {149, 0, 0}, {149, 0, 0}, {150, 0, 0}, {151, 0, 0},
{151, 0, 0}, {152, 0, 0}, {153, 0, 0}, {153, 0, 0}, {154, 0, 0},
{155, 0, 0}, {155, 0, 0}, {156, 0, 0}, {157, 0, 0}, {157, 0, 0},
{158, 0, 0}, {159, 0, 0}, {159, 0, 0}, {160, 0, 0}, {161, 0, 0},
{161, 0, 0}, {162, 0, 0}, {163, 0, 0}, {163, 0, 0}, {164, 0, 0},
{165, 0, 0}, {165, 0, 0}, {166, 0, 0}, {167, 0, 0}, {167, 0, 0},
{168, 0, 0}, {169, 0, 0}, {169, 0, 0}, {170, 0, 0}, {171, 0, 0},
{171, 0, 0}, {172, 0, 0}, {173, 0, 0}, {173, 0, 0}, {174, 0, 0},
{175, 0, 0}, {175, 0, 0}, {176, 0, 0}, {177, 0, 0}, {177, 0, 0},
{178, 0, 0}, {179, 0, 0}, {179, 0, 0}, {180, 0, 0}, {181, 0, 0},
{181, 0, 0}, {182, 0, 0}, {183, 0, 0}, {183, 0, 0}, {184, 0, 0},
{185, 0, 0}, {186, 0, 0}, {186, 0, 0}, {187, 0, 0}, {188, 0, 0},
{188, 0, 0}, {189, 0, 0}, {190, 0, 0}, {190, 0, 0}, {191, 0, 0},
{192, 0, 0}, {192, 0, 0}, {193, 0, 0}, {194, 0, 0}, {194, 0, 0},
{195, 0, 0}, {196, 0, 0}, {196, 0, 0}, {197, 0, 0}, {198, 0, 0},
{198, 0, 0}, {199, 0, 0}, {200, 0, 0}, {200, 0, 0}, {201, 0, 0},
{202, 0, 0}, {202, 0, 0}, {203, 0, 0}, {204, 0, 0}, {204, 0, 0},
{205, 0, 0}, {206, 0, 0}, {206, 0, 0}, {207, 0, 0}, {208, 0, 0},
{208, 0, 0}, {209, 0, 0}, {210, 0, 0}, {210, 0, 0}, {211, 0, 0},
{212, 0, 0}, {212, 0, 0}, {213, 0, 0}, {214, 0, 0}, {214, 0, 0},
{215, 0, 0}, {216, 0, 0}, {216, 0, 0}, {217, 0, 0}, {218, 0, 0},
{218, 0, 0}, {219, 0, 0}, {220, 0, 0}, {220, 0, 0}, {221, 0, 0},
{222, 0, 0}, {222, 0, 0}, {223, 0, 0}, {224, 0, 0}, {224, 0, 0},
{225, 0, 0}, {226, 0, 0}, {226, 0, 0}, {227, 0, 0}, {228, 0, 0},
{228, 0, 0}, {229, 0, 0}, {230, 0, 0}, {230, 0, 0}, {231, 0, 0},
{232, 0, 0}, {232, 0, 0}, {233, 0, 0}, {234, 0, 0}, {234, 0, 0},
{235, 0, 0}, {236, 0, 0}, {236, 0, 0}, {237, 0, 0}, {238, 0, 0},
{238, 0, 0}, {239, 0, 0}, {240, 0, 0}, {240, 0, 0}, {241, 0, 0},
{242, 0, 0}, {242, 0, 0}, {243, 0, 0}, {244, 0, 0}, {244, 0, 0},
{245, 0, 0}, {246, 0, 0}, {246, 0, 0}, {247, 0, 0}, {248, 0, 0},
{248, 0, 0}, {249, 0, 0}, {250, 0, 0}, {251, 0, 0}, {251, 0, 0},
{252, 0, 0}, {253, 0, 0}, {253, 0, 0}, {254, 0, 0}, {255, 0, 0},
{255, 0, 0}, {255, 1, 0}, {255, 2, 0}, {255, 2, 0}, {255, 3, 0},
{255, 4, 0}, {255, 4, 0}, {255, 5, 0}, {255, 6, 0}, {255, 6, 0},
{255, 7, 0}, {255, 8, 0}, {255, 8, 0}, {255, 9, 0}, {255, 10, 0},
{255, 10, 0}, {255, 11, 0}, {255, 12, 0}, {255, 12, 0}, {255, 13, 0},
{255, 14, 0}, {255, 14, 0}, {255, 15, 0}, {255, 16, 0}, {255, 16, 0},
{255, 17, 0}, {255, 18, 0}, {255, 18, 0}, {255, 19, 0}, {255, 20, 0},
{255, 20, 0}, {255, 21, 0}, {255, 22, 0}, {255, 22, 0}, {255, 23, 0},
{255, 24, 0}, {255, 24, 0}, {255, 25, 0}, {255, 26, 0}, {255, 26, 0},
{255, 27, 0}, {255, 28, 0}, {255, 28, 0}, {255, 29, 0}, {255, 30, 0},
{255, 30, 0}, {255, 31, 0}, {255, 32, 0}, {255, 32, 0}, {255, 33, 0},
{255, 34, 0}, {255, 34, 0}, {255, 35, 0}, {255, 36, 0}, {255, 36, 0},
{255, 37, 0}, {255, 38, 0}, {255, 38, 0}, {255, 39, 0}, {255, 40, 0},
{255, 40, 0}, {255, 41, 0}, {255, 42, 0}, {255, 42, 0}, {255, 43, 0},
{255, 44, 0}, {255, 44, 0}, {255, 45, 0}, {255, 46, 0}, {255, 46, 0},
{255, 47, 0}, {255, 48, 0}, {255, 48, 0}, {255, 49, 0}, {255, 50, 0},
{255, 50, 0}, {255, 51, 0}, {255, 52, 0}, {255, 52, 0}, {255, 53, 0},
{255, 54, 0}, {255, 54, 0}, {255, 55, 0}, {255, 56, 0}, {255, 56, 0},
{255, 57, 0}, {255, 58, 0}, {255, 58, 0}, {255, 59, 0}, {255, 60, 0},
{255, 60, 0}, {255, 61, 0}, {255, 62, 0}, {255, 63, 0}, {255, 63, 0},
{255, 64, 0}, {255, 65, 0}, {255, 65, 0}, {255, 66, 0}, {255, 67, 0},
{255, 67, 0}, {255, 68, 0}, {255, 69, 0}, {255, 69, 0}, {255, 70, 0},
{255, 71, 0}, {255, 71, 0}, {255, 72, 0}, {255, 73, 0}, {255, 73, 0},
{255, 74, 0}, {255, 75, 0}, {255, 75, 0}, {255, 76, 0}, {255, 77, 0},
{255, 77, 0}, {255, 78, 0}, {255, 79, 0}, {255, 79, 0}, {255, 80, 0},
{255, 81, 0}, {255, 81, 0}, {255, 82, 0}, {255, 83, 0}, {255, 83, 0},
{255, 84, 0}, {255, 85, 0}, {255, 85, 0}, {255, 86, 0}, {255, 87, 0},
{255, 87, 0}, {255, 88, 0}, {255, 89, 0}, {255, 89, 0}, {255, 90, 0},
{255, 91, 0}, {255, 91, 0}, {255, 92, 0}, {255, 93, 0}, {255, 93, 0},
{255, 94, 0}, {255, 95, 0}, {255, 95, 0}, {255, 96, 0}, {255, 97, 0},
{255, 97, 0}, {255, 98, 0}, {255, 99, 0}, {255, 99, 0}, {255, 100, 0},
{255, 101, 0}, {255, 101, 0}, {255, 102, 0}, {255, 103, 0}, {255, 103, 0},
{255, 104, 0}, {255, 105, 0}, {255, 105, 0}, {255, 106, 0}, {255, 107, 0},
{255, 107, 0}, {255, 108, 0}, {255, 109, 0}, {255, 109, 0}, {255, 110, 0},
{255, 111, 0}, {255, 111, 0}, {255, 112, 0}, {255, 113, 0}, {255, 113, 0},
{255, 114, 0}, {255, 115, 0}, {255, 115, 0}, {255, 116, 0}, {255, 117, 0},
{255, 117, 0}, {255, 118, 0}, {255, 119, 0}, {255, 119, 0}, {255, 120, 0},
{255, 121, 0}, {255, 121, 0}, {255, 122, 0}, {255, 123, 0}, {255, 123, 0},
{255, 124, 0}, {255, 125, 0}, {255, 125, 0}, {255, 126, 0}, {255, 127, 0},
{255, 128, 0}, {255, 128, 0}, {255, 129, 0}, {255, 130, 0}, {255, 130, 0},
{255, 131, 0}, {255, 132, 0}, {255, 132, 0}, {255, 133, 0}, {255, 134, 0},
{255, 134, 0}, {255, 135, 0}, {255, 136, 0}, {255, 136, 0}, {255, 137, 0},
{255, 138, 0}, {255, 138, 0}, {255, 139, 0}, {255, 140, 0}, {255, 140, 0},
{255, 141, 0}, {255, 142, 0}, {255, 142, 0}, {255, 143, 0}, {255, 144, 0},
{255, 144, 0}, {255, 145, 0}, {255, 146, 0}, {255, 146, 0}, {255, 147, 0},
{255, 148, 0}, {255, 148, 0}, {255, 149, 0}, {255, 150, 0}, {255, 150, 0},
{255, 151, 0}, {255, 152, 0}, {255, 152, 0}, {255, 153, 0}, {255, 154, 0},
{255, 154, 0}, {255, 155, 0}, {255, 156, 0}, {255, 156, 0}, {255, 157, 0},
{255, 158, 0}, {255, 158, 0}, {255, 159, 0}, {255, 160, 0}, {255, 160, 0},
{255, 161, 0}, {255, 162, 0}, {255, 162, 0}, {255, 163, 0}, {255, 164, 0},
{255, 164, 0}, {255, 165, 0}, {255, 166, 0}, {255, 166, 0}, {255, 167, 0},
{255, 168, 0}, {255, 168, 0}, {255, 169, 0}, {255, 170, 0}, {255, 170, 0},
{255, 171, 0}, {255, 172, 0}, {255, 172, 0}, {255, 173, 0}, {255, 174, 0},
{255, 174, 0}, {255, 175, 0}, {255, 176, 0}, {255, 176, 0}, {255, 177, 0},
{255, 178, 0}, {255, 178, 0}, {255, 179, 0}, {255, 180, 0}, {255, 180, 0},
{255, 181, 0}, {255, 182, 0}, {255, 182, 0}, {255, 183, 0}, {255, 184, 0},
{255, 184, 0}, {255, 185, 0}, {255, 186, 0}, {255, 186, 0}, {255, 187, 0},
{255, 188, 0}, {255, 188, 0}, {255, 189, 0}, {255, 190, 0}, {255, 190, 0},
{255, 191, 0}, {255, 192, 0}, {255, 192, 0}, {255, 193, 0}, {255, 194, 0},
{255, 195, 0}, {255, 195, 0}, {255, 196, 0}, {255, 197, 0}, {255, 197, 0},
{255, 198, 0}, {255, 199, 0}, {255, 199, 0}, {255, 200, 0}, {255, 201, 0},
{255, 201, 0}, {255, 202, 0}, {255, 203, 0}, {255, 203, 0}, {255, 204, 0},
{255, 205, 0}, {255, 205, 0}, {255, 206, 0}, {255, 207, 0}, {255, 207, 0},
{255, 208, 0}, {255, 209, 0}, {255, 209, 0}, {255, 210, 0}, {255, 211, 0},
{255, 211, 0}, {255, 212, 0}, {255, 213, 0}, {255, 213, 0}, {255, 214, 0},
{255, 215, 0}, {255, 215, 0}, {255, 216, 0}, {255, 217, 0}, {255, 217, 0},
{255, 218, 0}, {255, 219, 0}, {255, 219, 0}, {255, 220, 0}, {255, 221, 0},
{255, 221, 0}, {255, 222, 0}, {255, 223, 0}, {255, 223, 0}, {255, 224, 0},
{255, 225, 0}, {255, 225, 0}, {255, 226, 0}, {255, 227, 0}, {255, 227, 0},
{255, 228, 0}, {255, 229, 0}, {255, 229, 0}, {255, 230, 0}, {255, 231, 0},
{255, 231, 0}, {255, 232, 0}, {255, 233, 0}, {255, 233, 0}, {255, 234, 0},
{255, 235, 0}, {255, 235, 0}, {255, 236, 0}, {255, 237, 0}, {255, 237, 0},
{255, 238, 0}, {255, 239, 0}, {255, 239, 0}, {255, 240, 0}, {255, 241, 0},
{255, 241, 0}, {255, 242, 0}, {255, 243, 0}, {255, 243, 0}, {255, 244, 0},
{255, 245, 0}, {255, 245, 0}, {255, 246, 0}, {255, 247, 0}, {255, 247, 0},
{255, 248, 0}, {255, 249, 0}, {255, 249, 0}, {255, 250, 0}, {255, 251, 0},
{255, 251, 0}, {255, 252, 0}, {255, 253, 0}, {255, 253, 0}, {255, 254, 0},
{255, 255, 0}, {255, 255, 1}, {255, 255, 2}, {255, 255, 3}, {255, 255, 4},
{255, 255, 5}, {255, 255, 6}, {255, 255, 7}, {255, 255, 8}, {255, 255, 9},
{255, 255, 10}, {255, 255, 11}, {255, 255, 12}, {255, 255, 13}, {255, 255, 14},
{255, 255, 15}, {255, 255, 16}, {255, 255, 17}, {255, 255, 18}, {255, 255, 19},
{255, 255, 20}, {255, 255, 21}, {255, 255, 22}, {255, 255, 23}, {255, 255, 24},
{255, 255, 25}, {255, 255, 26}, {255, 255, 27}, {255, 255, 28}, {255, 255, 29},
{255, 255, 30}, {255, 255, 31}, {255, 255, 32}, {255, 255, 33}, {255, 255, 34},
{255, 255, 35}, {255, 255, 36}, {255, 255, 37}, {255, 255, 38}, {255, 255, 39},
{255, 255, 40}, {255, 255, 41}, {255, 255, 42}, {255, 255, 43}, {255, 255, 44},
{255, 255, 45}, {255, 255, 46}, {255, 255, 47}, {255, 255, 48}, {255, 255, 49},
{255, 255, 50}, {255, 255, 51}, {255, 255, 52}, {255, 255, 53}, {255, 255, 54},
{255, 255, 55}, {255, 255, 56}, {255, 255, 57}, {255, 255, 58}, {255, 255, 59},
{255, 255, 60}, {255, 255, 61}, {255, 255, 62}, {255, 255, 63}, {255, 255, 64},
{255, 255, 65}, {255, 255, 66}, {255, 255, 67}, {255, 255, 68}, {255, 255, 69},
{255, 255, 70}, {255, 255, 71}, {255, 255, 72}, {255, 255, 73}, {255, 255, 74},
{255, 255, 75}, {255, 255, 76}, {255, 255, 77}, {255, 255, 78}, {255, 255, 79},
{255, 255, 80}, {255, 255, 81}, {255, 255, 82}, {255, 255, 83}, {255, 255, 84},
{255, 255, 85}, {255, 255, 86}, {255, 255, 87}, {255, 255, 88}, {255, 255, 89},
{255, 255, 90}, {255, 255, 91}, {255, 255, 92}, {255, 255, 93}, {255, 255, 94},
{255, 255, 95}, {255, 255, 96}, {255, 255, 97}, {255, 255, 98}, {255, 255, 99},
{255, 255, 100}, {255, 255, 101}, {255, 255, 102}, {255, 255, 103}, {255, 255, 104},
{255, 255, 105}, {255, 255, 106}, {255, 255, 107}, {255, 255, 108}, {255, 255, 109},
{255, 255, 110}, {255, 255, 111}, {255, 255, 112}, {255, 255, 113}, {255, 255, 114},
{255, 255, 115}, {255, 255, 116}, {255, 255, 117}, {255, 255, 118}, {255, 255, 119},
{255, 255, 120}, {255, 255, 121}, {255, 255, 122}, {255, 255, 123}, {255, 255, 124},
{255, 255, 125}, {255, 255, 126}, {255, 255, 127}, {255, 255, 128}, {255, 255, 129},
{255, 255, 130}, {255, 255, 131}, {255, 255, 132}, {255, 255, 133}, {255, 255, 134},
{255, 255, 135}, {255, 255, 136}, {255, 255, 137}, {255, 255, 138}, {255, 255, 139},
{255, 255, 140}, {255, 255, 141}, {255, 255, 142}, {255, 255, 143}, {255, 255, 144},
{255, 255, 145}, {255, 255, 146}, {255, 255, 147}, {255, 255, 148}, {255, 255, 149},
{255, 255, 150}, {255, 255, 151}, {255, 255, 152}, {255, 255, 153}, {255, 255, 154},
{255, 255, 155}, {255, 255, 157}, {255, 255, 158}, {255, 255, 159}, {255, 255, 160},
{255, 255, 161}, {255, 255, 162}, {255, 255, 163}, {255, 255, 164}, {255, 255, 165},
{255, 255, 166}, {255, 255, 167}, {255, 255, 168}, {255, 255, 169}, {255, 255, 170},
{255, 255, 171}, {255, 255, 172}, {255, 255, 173}, {255, 255, 174}, {255, 255, 175},
{255, 255, 176}, {255, 255, 177}, {255, 255, 178}, {255, 255, 179}, {255, 255, 180},
{255, 255, 181}, {255, 255, 182}, {255, 255, 183}, {255, 255, 184}, {255, 255, 185},
{255, 255, 186}, {255, 255, 187}, {255, 255, 188}, {255, 255, 189}, {255, 255, 190},
{255, 255, 191}, {255, 255, 192}, {255, 255, 193}, {255, 255, 194}, {255, 255, 195},
{255, 255, 196}, {255, 255, 197}, {255, 255, 198}, {255, 255, 199}, {255, 255, 200},
{255, 255, 201}, {255, 255, 202}, {255, 255, 203}, {255, 255, 204}, {255, 255, 205},
{255, 255, 206}, {255, 255, 207}, {255, 255, 208}, {255, 255, 209}, {255, 255, 210},
{255, 255, 211}, {255, 255, 212}, {255, 255, 213}, {255, 255, 214}, {255, 255, 215},
{255, 255, 216}, {255, 255, 217}, {255, 255, 218}, {255, 255, 219}, {255, 255, 220},
{255, 255, 221}, {255, 255, 222}, {255, 255, 223}, {255, 255, 224}, {255, 255, 225},
{255, 255, 226}, {255, 255, 227}, {255, 255, 228}, {255, 255, 229}, {255, 255, 230},
{255, 255, 231}, {255, 255, 232}, {255, 255, 233}, {255, 255, 234}, {255, 255, 235},
{255, 255, 236}, {255, 255, 237}, {255, 255, 238}, {255, 255, 239}, {255, 255, 240},
{255, 255, 241}, {255, 255, 242}, {255, 255, 243}, {255, 255, 244}, {255, 255, 245},
{255, 255, 246}, {255, 255, 247}, {255, 255, 248}, {255, 255, 249}, {255, 255, 250},
{255, 255, 251}, {255, 255, 252}, {255, 255, 253}, {255, 255, 254}, {255, 255, 255}
};
const rgb_store hsv_colormap[1000] = {
{255, 0, 0}, {255, 2, 0}, {255, 3, 0}, {255, 5, 0}, {255, 6, 0},
{255, 8, 0}, {255, 9, 0}, {255, 11, 0}, {255, 12, 0}, {255, 14, 0},
{255, 15, 0}, {255, 17, 0}, {255, 18, 0}, {255, 20, 0}, {255, 21, 0},
{255, 23, 0}, {255, 24, 0}, {255, 26, 0}, {255, 27, 0}, {255, 29, 0},
{255, 30, 0}, {255, 32, 0}, {255, 33, 0}, {255, 35, 0}, {255, 36, 0},
{255, 38, 0}, {255, 39, 0}, {255, 41, 0}, {255, 42, 0}, {255, 44, 0},
{255, 45, 0}, {255, 47, 0}, {255, 48, 0}, {255, 50, 0}, {255, 51, 0},
{255, 53, 0}, {255, 54, 0}, {255, 56, 0}, {255, 57, 0}, {255, 59, 0},
{255, 60, 0}, {255, 62, 0}, {255, 63, 0}, {255, 65, 0}, {255, 66, 0},
{255, 68, 0}, {255, 69, 0}, {255, 71, 0}, {255, 72, 0}, {255, 74, 0},
{255, 75, 0}, {255, 77, 0}, {255, 78, 0}, {255, 80, 0}, {255, 81, 0},
{255, 83, 0}, {255, 84, 0}, {255, 86, 0}, {255, 87, 0}, {255, 89, 0},
{255, 90, 0}, {255, 92, 0}, {255, 93, 0}, {255, 95, 0}, {255, 96, 0},
{255, 98, 0}, {255, 100, 0}, {255, 101, 0}, {255, 103, 0}, {255, 104, 0},
{255, 106, 0}, {255, 107, 0}, {255, 109, 0}, {255, 110, 0}, {255, 112, 0},
{255, 113, 0}, {255, 115, 0}, {255, 116, 0}, {255, 118, 0}, {255, 119, 0},
{255, 121, 0}, {255, 122, 0}, {255, 124, 0}, {255, 125, 0}, {255, 127, 0},
{255, 128, 0}, {255, 130, 0}, {255, 131, 0}, {255, 133, 0}, {255, 134, 0},
{255, 136, 0}, {255, 137, 0}, {255, 139, 0}, {255, 140, 0}, {255, 142, 0},
{255, 143, 0}, {255, 145, 0}, {255, 146, 0}, {255, 148, 0}, {255, 149, 0},
{255, 151, 0}, {255, 152, 0}, {255, 154, 0}, {255, 155, 0}, {255, 157, 0},
{255, 158, 0}, {255, 160, 0}, {255, 161, 0}, {255, 163, 0}, {255, 164, 0},
{255, 166, 0}, {255, 167, 0}, {255, 169, 0}, {255, 170, 0}, {255, 172, 0},
{255, 173, 0}, {255, 175, 0}, {255, 176, 0}, {255, 178, 0}, {255, 179, 0},
{255, 181, 0}, {255, 182, 0}, {255, 184, 0}, {255, 185, 0}, {255, 187, 0},
{255, 188, 0}, {255, 190, 0}, {255, 191, 0}, {255, 193, 0}, {255, 194, 0},
{255, 196, 0}, {255, 197, 0}, {255, 199, 0}, {255, 201, 0}, {255, 202, 0},
{255, 204, 0}, {255, 205, 0}, {255, 207, 0}, {255, 208, 0}, {255, 210, 0},
{255, 211, 0}, {255, 213, 0}, {255, 214, 0}, {255, 216, 0}, {255, 217, 0},
{255, 219, 0}, {255, 220, 0}, {255, 222, 0}, {255, 223, 0}, {255, 225, 0},
{255, 226, 0}, {255, 228, 0}, {255, 229, 0}, {255, 231, 0}, {255, 232, 0},
{255, 234, 0}, {255, 235, 0}, {255, 237, 0}, {255, 238, 0}, {255, 239, 0},
{254, 240, 0}, {254, 242, 0}, {253, 243, 0}, {253, 244, 0}, {252, 245, 0},
{252, 246, 0}, {251, 247, 0}, {251, 248, 0}, {250, 249, 0}, {250, 250, 0},
{249, 251, 0}, {249, 252, 0}, {248, 253, 0}, {248, 254, 0}, {247, 255, 0},
{246, 255, 0}, {245, 255, 0}, {243, 255, 0}, {242, 255, 0}, {240, 255, 0},
{239, 255, 0}, {237, 255, 0}, {236, 255, 0}, {234, 255, 0}, {233, 255, 0},
{231, 255, 0}, {230, 255, 0}, {228, 255, 0}, {227, 255, 0}, {225, 255, 0},
{224, 255, 0}, {222, 255, 0}, {221, 255, 0}, {219, 255, 0}, {218, 255, 0},
{216, 255, 0}, {215, 255, 0}, {213, 255, 0}, {211, 255, 0}, {210, 255, 0},
{208, 255, 0}, {207, 255, 0}, {205, 255, 0}, {204, 255, 0}, {202, 255, 0},
{201, 255, 0}, {199, 255, 0}, {198, 255, 0}, {196, 255, 0}, {195, 255, 0},
{193, 255, 0}, {192, 255, 0}, {190, 255, 0}, {189, 255, 0}, {187, 255, 0},
{186, 255, 0}, {184, 255, 0}, {183, 255, 0}, {181, 255, 0}, {180, 255, 0},
{178, 255, 0}, {177, 255, 0}, {175, 255, 0}, {174, 255, 0}, {172, 255, 0},
{171, 255, 0}, {169, 255, 0}, {168, 255, 0}, {166, 255, 0}, {165, 255, 0},
{163, 255, 0}, {162, 255, 0}, {160, 255, 0}, {159, 255, 0}, {157, 255, 0},
{156, 255, 0}, {154, 255, 0}, {153, 255, 0}, {151, 255, 0}, {150, 255, 0},
{148, 255, 0}, {147, 255, 0}, {145, 255, 0}, {144, 255, 0}, {142, 255, 0},
{141, 255, 0}, {139, 255, 0}, {138, 255, 0}, {136, 255, 0}, {135, 255, 0},
{133, 255, 0}, {132, 255, 0}, {130, 255, 0}, {129, 255, 0}, {127, 255, 0},
{126, 255, 0}, {124, 255, 0}, {123, 255, 0}, {121, 255, 0}, {120, 255, 0},
{118, 255, 0}, {117, 255, 0}, {115, 255, 0}, {114, 255, 0}, {112, 255, 0},
{110, 255, 0}, {109, 255, 0}, {107, 255, 0}, {106, 255, 0}, {104, 255, 0},
{103, 255, 0}, {101, 255, 0}, {100, 255, 0}, { 98, 255, 0}, { 97, 255, 0},
{ 95, 255, 0}, { 94, 255, 0}, { 92, 255, 0}, { 91, 255, 0}, { 89, 255, 0},
{ 88, 255, 0}, { 86, 255, 0}, { 85, 255, 0}, { 83, 255, 0}, { 82, 255, 0},
{ 80, 255, 0}, { 79, 255, 0}, { 77, 255, 0}, { 76, 255, 0}, { 74, 255, 0},
{ 73, 255, 0}, { 71, 255, 0}, { 70, 255, 0}, { 68, 255, 0}, { 67, 255, 0},
{ 65, 255, 0}, { 64, 255, 0}, { 62, 255, 0}, { 61, 255, 0}, { 59, 255, 0},
{ 58, 255, 0}, { 56, 255, 0}, { 55, 255, 0}, { 53, 255, 0}, { 52, 255, 0},
{ 50, 255, 0}, { 49, 255, 0}, { 47, 255, 0}, { 46, 255, 0}, { 44, 255, 0},
{ 43, 255, 0}, { 41, 255, 0}, { 40, 255, 0}, { 38, 255, 0}, { 37, 255, 0},
{ 35, 255, 0}, { 34, 255, 0}, { 32, 255, 0}, { 31, 255, 0}, { 29, 255, 0},
{ 28, 255, 0}, { 26, 255, 0}, { 25, 255, 0}, { 23, 255, 0}, { 22, 255, 0},
{ 20, 255, 0}, { 19, 255, 0}, { 17, 255, 0}, { 16, 255, 0}, { 14, 255, 0},
{ 12, 255, 0}, { 11, 255, 0}, { 9, 255, 0}, { 8, 255, 0}, { 7, 255, 1},
{ 7, 255, 2}, { 6, 255, 3}, { 6, 255, 4}, { 5, 255, 5}, { 5, 255, 6},
{ 4, 255, 7}, { 4, 255, 8}, { 3, 255, 9}, { 3, 255, 10}, { 2, 255, 11},
{ 2, 255, 12}, { 1, 255, 13}, { 1, 255, 14}, { 0, 255, 15}, { 0, 255, 16},
{ 0, 255, 18}, { 0, 255, 19}, { 0, 255, 21}, { 0, 255, 22}, { 0, 255, 24},
{ 0, 255, 25}, { 0, 255, 27}, { 0, 255, 28}, { 0, 255, 30}, { 0, 255, 31},
{ 0, 255, 33}, { 0, 255, 34}, { 0, 255, 36}, { 0, 255, 37}, { 0, 255, 39},
{ 0, 255, 40}, { 0, 255, 42}, { 0, 255, 43}, { 0, 255, 45}, { 0, 255, 46},
{ 0, 255, 48}, { 0, 255, 49}, { 0, 255, 51}, { 0, 255, 52}, { 0, 255, 54},
{ 0, 255, 55}, { 0, 255, 57}, { 0, 255, 58}, { 0, 255, 60}, { 0, 255, 61},
{ 0, 255, 63}, { 0, 255, 64}, { 0, 255, 66}, { 0, 255, 67}, { 0, 255, 69},
{ 0, 255, 70}, { 0, 255, 72}, { 0, 255, 73}, { 0, 255, 75}, { 0, 255, 76},
{ 0, 255, 78}, { 0, 255, 79}, { 0, 255, 81}, { 0, 255, 82}, { 0, 255, 84},
{ 0, 255, 86}, { 0, 255, 87}, { 0, 255, 89}, { 0, 255, 90}, { 0, 255, 92},
{ 0, 255, 93}, { 0, 255, 95}, { 0, 255, 96}, { 0, 255, 98}, { 0, 255, 99},
{ 0, 255, 101}, { 0, 255, 102}, { 0, 255, 104}, { 0, 255, 105}, { 0, 255, 107},
{ 0, 255, 108}, { 0, 255, 110}, { 0, 255, 111}, { 0, 255, 113}, { 0, 255, 114},
{ 0, 255, 116}, { 0, 255, 117}, { 0, 255, 119}, { 0, 255, 120}, { 0, 255, 122},
{ 0, 255, 123}, { 0, 255, 125}, { 0, 255, 126}, { 0, 255, 128}, { 0, 255, 129},
{ 0, 255, 131}, { 0, 255, 132}, { 0, 255, 134}, { 0, 255, 135}, { 0, 255, 137},
{ 0, 255, 138}, { 0, 255, 140}, { 0, 255, 141}, { 0, 255, 143}, { 0, 255, 144},
{ 0, 255, 146}, { 0, 255, 147}, { 0, 255, 149}, { 0, 255, 150}, { 0, 255, 152},
{ 0, 255, 153}, { 0, 255, 155}, { 0, 255, 156}, { 0, 255, 158}, { 0, 255, 159},
{ 0, 255, 161}, { 0, 255, 162}, { 0, 255, 164}, { 0, 255, 165}, { 0, 255, 167},
{ 0, 255, 168}, { 0, 255, 170}, { 0, 255, 171}, { 0, 255, 173}, { 0, 255, 174},
{ 0, 255, 176}, { 0, 255, 177}, { 0, 255, 179}, { 0, 255, 180}, { 0, 255, 182},
{ 0, 255, 183}, { 0, 255, 185}, { 0, 255, 187}, { 0, 255, 188}, { 0, 255, 190},
{ 0, 255, 191}, { 0, 255, 193}, { 0, 255, 194}, { 0, 255, 196}, { 0, 255, 197},
{ 0, 255, 199}, { 0, 255, 200}, { 0, 255, 202}, { 0, 255, 203}, { 0, 255, 205},
{ 0, 255, 206}, { 0, 255, 208}, { 0, 255, 209}, { 0, 255, 211}, { 0, 255, 212},
{ 0, 255, 214}, { 0, 255, 215}, { 0, 255, 217}, { 0, 255, 218}, { 0, 255, 220},
{ 0, 255, 221}, { 0, 255, 223}, { 0, 255, 224}, { 0, 255, 226}, { 0, 255, 227},
{ 0, 255, 229}, { 0, 255, 230}, { 0, 255, 232}, { 0, 255, 233}, { 0, 255, 235},
{ 0, 255, 236}, { 0, 255, 238}, { 0, 255, 239}, { 0, 255, 241}, { 0, 255, 242},
{ 0, 255, 244}, { 0, 255, 245}, { 0, 255, 247}, { 0, 255, 248}, { 0, 255, 250},
{ 0, 255, 251}, { 0, 255, 253}, { 0, 255, 254}, { 0, 254, 255}, { 0, 253, 255},
{ 0, 251, 255}, { 0, 250, 255}, { 0, 248, 255}, { 0, 247, 255}, { 0, 245, 255},
{ 0, 244, 255}, { 0, 242, 255}, { 0, 241, 255}, { 0, 239, 255}, { 0, 238, 255},
{ 0, 236, 255}, { 0, 235, 255}, { 0, 233, 255}, { 0, 232, 255}, { 0, 230, 255},
{ 0, 229, 255}, { 0, 227, 255}, { 0, 225, 255}, { 0, 224, 255}, { 0, 222, 255},
{ 0, 221, 255}, { 0, 219, 255}, { 0, 218, 255}, { 0, 216, 255}, { 0, 215, 255},
{ 0, 213, 255}, { 0, 212, 255}, { 0, 210, 255}, { 0, 209, 255}, { 0, 207, 255},
{ 0, 206, 255}, { 0, 204, 255}, { 0, 203, 255}, { 0, 201, 255}, { 0, 200, 255},
{ 0, 198, 255}, { 0, 197, 255}, { 0, 195, 255}, { 0, 194, 255}, { 0, 192, 255},
{ 0, 191, 255}, { 0, 189, 255}, { 0, 188, 255}, { 0, 186, 255}, { 0, 185, 255},
{ 0, 183, 255}, { 0, 182, 255}, { 0, 180, 255}, { 0, 179, 255}, { 0, 177, 255},
{ 0, 176, 255}, { 0, 174, 255}, { 0, 173, 255}, { 0, 171, 255}, { 0, 170, 255},
{ 0, 168, 255}, { 0, 167, 255}, { 0, 165, 255}, { 0, 164, 255}, { 0, 162, 255},
{ 0, 161, 255}, { 0, 159, 255}, { 0, 158, 255}, { 0, 156, 255}, { 0, 155, 255},
{ 0, 153, 255}, { 0, 152, 255}, { 0, 150, 255}, { 0, 149, 255}, { 0, 147, 255},
{ 0, 146, 255}, { 0, 144, 255}, { 0, 143, 255}, { 0, 141, 255}, { 0, 140, 255},
{ 0, 138, 255}, { 0, 137, 255}, { 0, 135, 255}, { 0, 134, 255}, { 0, 132, 255},
{ 0, 131, 255}, { 0, 129, 255}, { 0, 128, 255}, { 0, 126, 255}, { 0, 124, 255},
{ 0, 123, 255}, { 0, 121, 255}, { 0, 120, 255}, { 0, 118, 255}, { 0, 117, 255},
{ 0, 115, 255}, { 0, 114, 255}, { 0, 112, 255}, { 0, 111, 255}, { 0, 109, 255},
{ 0, 108, 255}, { 0, 106, 255}, { 0, 105, 255}, { 0, 103, 255}, { 0, 102, 255},
{ 0, 100, 255}, { 0, 99, 255}, { 0, 97, 255}, { 0, 96, 255}, { 0, 94, 255},
{ 0, 93, 255}, { 0, 91, 255}, { 0, 90, 255}, { 0, 88, 255}, { 0, 87, 255},
{ 0, 85, 255}, { 0, 84, 255}, { 0, 82, 255}, { 0, 81, 255}, { 0, 79, 255},
{ 0, 78, 255}, { 0, 76, 255}, { 0, 75, 255}, { 0, 73, 255}, { 0, 72, 255},
{ 0, 70, 255}, { 0, 69, 255}, { 0, 67, 255}, { 0, 66, 255}, { 0, 64, 255},
{ 0, 63, 255}, { 0, 61, 255}, { 0, 60, 255}, { 0, 58, 255}, { 0, 57, 255},
{ 0, 55, 255}, { 0, 54, 255}, { 0, 52, 255}, { 0, 51, 255}, { 0, 49, 255},
{ 0, 48, 255}, { 0, 46, 255}, { 0, 45, 255}, { 0, 43, 255}, { 0, 42, 255},
{ 0, 40, 255}, { 0, 39, 255}, { 0, 37, 255}, { 0, 36, 255}, { 0, 34, 255},
{ 0, 33, 255}, { 0, 31, 255}, { 0, 30, 255}, { 0, 28, 255}, { 0, 26, 255},
{ 0, 25, 255}, { 0, 23, 255}, { 0, 22, 255}, { 0, 20, 255}, { 0, 19, 255},
{ 0, 17, 255}, { 0, 16, 255}, { 1, 15, 255}, { 1, 14, 255}, { 2, 13, 255},
{ 2, 12, 255}, { 3, 11, 255}, { 3, 10, 255}, { 4, 9, 255}, { 4, 8, 255},
{ 5, 7, 255}, { 5, 6, 255}, { 6, 5, 255}, { 6, 4, 255}, { 7, 3, 255},
{ 7, 2, 255}, { 8, 1, 255}, { 8, 0, 255}, { 10, 0, 255}, { 11, 0, 255},
{ 13, 0, 255}, { 14, 0, 255}, { 16, 0, 255}, { 17, 0, 255}, { 19, 0, 255},
{ 20, 0, 255}, { 22, 0, 255}, { 23, 0, 255}, { 25, 0, 255}, { 26, 0, 255},
{ 28, 0, 255}, { 29, 0, 255}, { 31, 0, 255}, { 32, 0, 255}, { 34, 0, 255},
{ 35, 0, 255}, { 37, 0, 255}, { 38, 0, 255}, { 40, 0, 255}, { 41, 0, 255},
{ 43, 0, 255}, { 44, 0, 255}, { 46, 0, 255}, { 47, 0, 255}, { 49, 0, 255},
{ 50, 0, 255}, { 52, 0, 255}, { 53, 0, 255}, { 55, 0, 255}, { 56, 0, 255},
{ 58, 0, 255}, { 59, 0, 255}, { 61, 0, 255}, { 62, 0, 255}, { 64, 0, 255},
{ 65, 0, 255}, { 67, 0, 255}, { 68, 0, 255}, { 70, 0, 255}, { 72, 0, 255},
{ 73, 0, 255}, { 75, 0, 255}, { 76, 0, 255}, { 78, 0, 255}, { 79, 0, 255},
{ 81, 0, 255}, { 82, 0, 255}, { 84, 0, 255}, { 85, 0, 255}, { 87, 0, 255},
{ 88, 0, 255}, { 90, 0, 255}, { 91, 0, 255}, { 93, 0, 255}, { 94, 0, 255},
{ 96, 0, 255}, { 97, 0, 255}, { 99, 0, 255}, {100, 0, 255}, {102, 0, 255},
{103, 0, 255}, {105, 0, 255}, {106, 0, 255}, {108, 0, 255}, {109, 0, 255},
{111, 0, 255}, {112, 0, 255}, {114, 0, 255}, {115, 0, 255}, {117, 0, 255},
{118, 0, 255}, {120, 0, 255}, {121, 0, 255}, {123, 0, 255}, {124, 0, 255},
{126, 0, 255}, {127, 0, 255}, {129, 0, 255}, {130, 0, 255}, {132, 0, 255},
{133, 0, 255}, {135, 0, 255}, {136, 0, 255}, {138, 0, 255}, {139, 0, 255},
{141, 0, 255}, {142, 0, 255}, {144, 0, 255}, {145, 0, 255}, {147, 0, 255},
{148, 0, 255}, {150, 0, 255}, {151, 0, 255}, {153, 0, 255}, {154, 0, 255},
{156, 0, 255}, {157, 0, 255}, {159, 0, 255}, {160, 0, 255}, {162, 0, 255},
{163, 0, 255}, {165, 0, 255}, {166, 0, 255}, {168, 0, 255}, {169, 0, 255},
{171, 0, 255}, {173, 0, 255}, {174, 0, 255}, {176, 0, 255}, {177, 0, 255},
{179, 0, 255}, {180, 0, 255}, {182, 0, 255}, {183, 0, 255}, {185, 0, 255},
{186, 0, 255}, {188, 0, 255}, {189, 0, 255}, {191, 0, 255}, {192, 0, 255},
{194, 0, 255}, {195, 0, 255}, {197, 0, 255}, {198, 0, 255}, {200, 0, 255},
{201, 0, 255}, {203, 0, 255}, {204, 0, 255}, {206, 0, 255}, {207, 0, 255},
{209, 0, 255}, {210, 0, 255}, {212, 0, 255}, {213, 0, 255}, {215, 0, 255},
{216, 0, 255}, {218, 0, 255}, {219, 0, 255}, {221, 0, 255}, {222, 0, 255},
{224, 0, 255}, {225, 0, 255}, {227, 0, 255}, {228, 0, 255}, {230, 0, 255},
{231, 0, 255}, {233, 0, 255}, {234, 0, 255}, {236, 0, 255}, {237, 0, 255},
{239, 0, 255}, {240, 0, 255}, {242, 0, 255}, {243, 0, 255}, {245, 0, 255},
{246, 0, 255}, {247, 0, 254}, {248, 0, 253}, {248, 0, 252}, {249, 0, 251},
{249, 0, 250}, {250, 0, 249}, {250, 0, 248}, {251, 0, 247}, {251, 0, 246},
{252, 0, 245}, {252, 0, 244}, {253, 0, 243}, {253, 0, 242}, {254, 0, 241},
{254, 0, 240}, {255, 0, 239}, {255, 0, 238}, {255, 0, 236}, {255, 0, 235},
{255, 0, 233}, {255, 0, 232}, {255, 0, 230}, {255, 0, 229}, {255, 0, 227},
{255, 0, 226}, {255, 0, 224}, {255, 0, 223}, {255, 0, 221}, {255, 0, 220},
{255, 0, 218}, {255, 0, 217}, {255, 0, 215}, {255, 0, 214}, {255, 0, 212},
{255, 0, 211}, {255, 0, 209}, {255, 0, 208}, {255, 0, 206}, {255, 0, 205},
{255, 0, 203}, {255, 0, 202}, {255, 0, 200}, {255, 0, 199}, {255, 0, 197},
{255, 0, 196}, {255, 0, 194}, {255, 0, 193}, {255, 0, 191}, {255, 0, 190},
{255, 0, 188}, {255, 0, 187}, {255, 0, 185}, {255, 0, 184}, {255, 0, 182},
{255, 0, 181}, {255, 0, 179}, {255, 0, 178}, {255, 0, 176}, {255, 0, 175},
{255, 0, 173}, {255, 0, 172}, {255, 0, 170}, {255, 0, 169}, {255, 0, 167},
{255, 0, 166}, {255, 0, 164}, {255, 0, 163}, {255, 0, 161}, {255, 0, 160},
{255, 0, 158}, {255, 0, 157}, {255, 0, 155}, {255, 0, 154}, {255, 0, 152},
{255, 0, 151}, {255, 0, 149}, {255, 0, 148}, {255, 0, 146}, {255, 0, 145},
{255, 0, 143}, {255, 0, 141}, {255, 0, 140}, {255, 0, 138}, {255, 0, 137},
{255, 0, 135}, {255, 0, 134}, {255, 0, 132}, {255, 0, 131}, {255, 0, 129},
{255, 0, 128}, {255, 0, 126}, {255, 0, 125}, {255, 0, 123}, {255, 0, 122},
{255, 0, 120}, {255, 0, 119}, {255, 0, 117}, {255, 0, 116}, {255, 0, 114},
{255, 0, 113}, {255, 0, 111}, {255, 0, 110}, {255, 0, 108}, {255, 0, 107},
{255, 0, 105}, {255, 0, 104}, {255, 0, 102}, {255, 0, 101}, {255, 0, 99},
{255, 0, 98}, {255, 0, 96}, {255, 0, 95}, {255, 0, 93}, {255, 0, 92},
{255, 0, 90}, {255, 0, 89}, {255, 0, 87}, {255, 0, 86}, {255, 0, 84},
{255, 0, 83}, {255, 0, 81}, {255, 0, 80}, {255, 0, 78}, {255, 0, 77},
{255, 0, 75}, {255, 0, 74}, {255, 0, 72}, {255, 0, 71}, {255, 0, 69},
{255, 0, 68}, {255, 0, 66}, {255, 0, 65}, {255, 0, 63}, {255, 0, 62},
{255, 0, 60}, {255, 0, 59}, {255, 0, 57}, {255, 0, 56}, {255, 0, 54},
{255, 0, 53}, {255, 0, 51}, {255, 0, 50}, {255, 0, 48}, {255, 0, 47},
{255, 0, 45}, {255, 0, 44}, {255, 0, 42}, {255, 0, 40}, {255, 0, 39},
{255, 0, 37}, {255, 0, 36}, {255, 0, 34}, {255, 0, 33}, {255, 0, 31},
{255, 0, 30}, {255, 0, 28}, {255, 0, 27}, {255, 0, 25}, {255, 0, 24}
};
const rgb_store jet_colormap[1000] = {
{ 29, 0, 102}, { 23, 0, 107}, { 17, 0, 112}, { 12, 0, 117}, { 6, 0, 122},
{ 0, 0, 127}, { 0, 0, 128}, { 0, 0, 129}, { 0, 0, 129}, { 0, 0, 130},
{ 0, 0, 131}, { 0, 0, 132}, { 0, 0, 133}, { 0, 0, 133}, { 0, 0, 134},
{ 0, 0, 135}, { 0, 0, 136}, { 0, 0, 137}, { 0, 0, 138}, { 0, 0, 140},
{ 0, 0, 141}, { 0, 0, 142}, { 0, 0, 143}, { 0, 0, 145}, { 0, 0, 146},
{ 0, 0, 147}, { 0, 0, 148}, { 0, 0, 150}, { 0, 0, 151}, { 0, 0, 152},
{ 0, 0, 153}, { 0, 0, 154}, { 0, 0, 156}, { 0, 0, 157}, { 0, 0, 158},
{ 0, 0, 159}, { 0, 0, 160}, { 0, 0, 161}, { 0, 0, 163}, { 0, 0, 164},
{ 0, 0, 165}, { 0, 0, 166}, { 0, 0, 168}, { 0, 0, 169}, { 0, 0, 170},
{ 0, 0, 171}, { 0, 0, 173}, { 0, 0, 174}, { 0, 0, 175}, { 0, 0, 176},
{ 0, 0, 178}, { 0, 0, 179}, { 0, 0, 180}, { 0, 0, 181}, { 0, 0, 183},
{ 0, 0, 184}, { 0, 0, 185}, { 0, 0, 186}, { 0, 0, 188}, { 0, 0, 189},
{ 0, 0, 190}, { 0, 0, 191}, { 0, 0, 193}, { 0, 0, 194}, { 0, 0, 195},
{ 0, 0, 196}, { 0, 0, 197}, { 0, 0, 198}, { 0, 0, 200}, { 0, 0, 201},
{ 0, 0, 202}, { 0, 0, 203}, { 0, 0, 204}, { 0, 0, 206}, { 0, 0, 207},
{ 0, 0, 208}, { 0, 0, 209}, { 0, 0, 211}, { 0, 0, 212}, { 0, 0, 213},
{ 0, 0, 214}, { 0, 0, 216}, { 0, 0, 217}, { 0, 0, 218}, { 0, 0, 219},
{ 0, 0, 221}, { 0, 0, 222}, { 0, 0, 223}, { 0, 0, 225}, { 0, 0, 226},
{ 0, 0, 227}, { 0, 0, 228}, { 0, 0, 230}, { 0, 0, 231}, { 0, 0, 232},
{ 0, 0, 233}, { 0, 0, 234}, { 0, 0, 234}, { 0, 0, 235}, { 0, 0, 236},
{ 0, 0, 237}, { 0, 0, 238}, { 0, 0, 239}, { 0, 0, 239}, { 0, 0, 240},
{ 0, 0, 241}, { 0, 0, 242}, { 0, 0, 243}, { 0, 0, 244}, { 0, 0, 246},
{ 0, 0, 247}, { 0, 0, 248}, { 0, 0, 249}, { 0, 0, 250}, { 0, 0, 251},
{ 0, 0, 253}, { 0, 0, 254}, { 0, 0, 254}, { 0, 0, 254}, { 0, 0, 254},
{ 0, 0, 254}, { 0, 0, 254}, { 0, 0, 255}, { 0, 0, 255}, { 0, 0, 255},
{ 0, 0, 255}, { 0, 0, 255}, { 0, 0, 255}, { 0, 1, 255}, { 0, 1, 255},
{ 0, 2, 255}, { 0, 3, 255}, { 0, 3, 255}, { 0, 4, 255}, { 0, 5, 255},
{ 0, 6, 255}, { 0, 6, 255}, { 0, 7, 255}, { 0, 8, 255}, { 0, 9, 255},
{ 0, 10, 255}, { 0, 11, 255}, { 0, 12, 255}, { 0, 13, 255}, { 0, 14, 255},
{ 0, 15, 255}, { 0, 16, 255}, { 0, 17, 255}, { 0, 18, 255}, { 0, 19, 255},
{ 0, 21, 255}, { 0, 22, 255}, { 0, 23, 255}, { 0, 24, 255}, { 0, 25, 255},
{ 0, 26, 255}, { 0, 27, 255}, { 0, 28, 255}, { 0, 29, 255}, { 0, 30, 255},
{ 0, 31, 255}, { 0, 32, 255}, { 0, 34, 255}, { 0, 35, 255}, { 0, 36, 255},
{ 0, 37, 255}, { 0, 38, 255}, { 0, 39, 255}, { 0, 40, 255}, { 0, 41, 255},
{ 0, 42, 255}, { 0, 43, 255}, { 0, 44, 255}, { 0, 45, 255}, { 0, 46, 255},
{ 0, 48, 255}, { 0, 49, 255}, { 0, 50, 255}, { 0, 51, 255}, { 0, 52, 255},
{ 0, 53, 255}, { 0, 54, 255}, { 0, 55, 255}, { 0, 56, 255}, { 0, 57, 255},
{ 0, 58, 255}, { 0, 58, 255}, { 0, 59, 255}, { 0, 60, 255}, { 0, 60, 255},
{ 0, 61, 255}, { 0, 62, 255}, { 0, 63, 255}, { 0, 63, 255}, { 0, 64, 255},
{ 0, 65, 255}, { 0, 66, 255}, { 0, 67, 255}, { 0, 68, 255}, { 0, 69, 255},
{ 0, 71, 255}, { 0, 72, 255}, { 0, 73, 255}, { 0, 74, 255}, { 0, 75, 255},
{ 0, 76, 255}, { 0, 77, 255}, { 0, 78, 255}, { 0, 79, 255}, { 0, 80, 255},
{ 0, 81, 255}, { 0, 82, 255}, { 0, 84, 255}, { 0, 85, 255}, { 0, 86, 255},
{ 0, 87, 255}, { 0, 88, 255}, { 0, 89, 255}, { 0, 90, 255}, { 0, 91, 255},
{ 0, 92, 255}, { 0, 93, 255}, { 0, 94, 255}, { 0, 95, 255}, { 0, 96, 255},
{ 0, 98, 255}, { 0, 99, 255}, { 0, 100, 255}, { 0, 101, 255}, { 0, 102, 255},
{ 0, 103, 255}, { 0, 104, 255}, { 0, 105, 255}, { 0, 106, 255}, { 0, 107, 255},
{ 0, 108, 255}, { 0, 109, 255}, { 0, 111, 255}, { 0, 112, 255}, { 0, 113, 255},
{ 0, 114, 255}, { 0, 115, 255}, { 0, 116, 255}, { 0, 117, 255}, { 0, 118, 255},
{ 0, 119, 255}, { 0, 120, 255}, { 0, 121, 255}, { 0, 122, 255}, { 0, 123, 255},
{ 0, 125, 255}, { 0, 126, 255}, { 0, 127, 255}, { 0, 128, 255}, { 0, 129, 255},
{ 0, 130, 255}, { 0, 131, 255}, { 0, 132, 255}, { 0, 133, 255}, { 0, 134, 255},
{ 0, 135, 255}, { 0, 136, 255}, { 0, 138, 255}, { 0, 139, 255}, { 0, 140, 255},
{ 0, 141, 255}, { 0, 142, 255}, { 0, 143, 255}, { 0, 144, 255}, { 0, 145, 255},
{ 0, 146, 255}, { 0, 147, 255}, { 0, 148, 255}, { 0, 149, 255}, { 0, 150, 255},
{ 0, 150, 255}, { 0, 151, 255}, { 0, 152, 255}, { 0, 153, 255}, { 0, 153, 255},
{ 0, 154, 255}, { 0, 155, 255}, { 0, 155, 255}, { 0, 156, 255}, { 0, 157, 255},
{ 0, 158, 255}, { 0, 159, 255}, { 0, 161, 255}, { 0, 162, 255}, { 0, 163, 255},
{ 0, 164, 255}, { 0, 165, 255}, { 0, 166, 255}, { 0, 167, 255}, { 0, 168, 255},
{ 0, 169, 255}, { 0, 170, 255}, { 0, 171, 255}, { 0, 172, 255}, { 0, 173, 255},
{ 0, 175, 255}, { 0, 176, 255}, { 0, 177, 255}, { 0, 178, 255}, { 0, 179, 255},
{ 0, 180, 255}, { 0, 181, 255}, { 0, 182, 255}, { 0, 183, 255}, { 0, 184, 255},
{ 0, 185, 255}, { 0, 186, 255}, { 0, 188, 255}, { 0, 189, 255}, { 0, 190, 255},
{ 0, 191, 255}, { 0, 192, 255}, { 0, 193, 255}, { 0, 194, 255}, { 0, 195, 255},
{ 0, 196, 255}, { 0, 197, 255}, { 0, 198, 255}, { 0, 199, 255}, { 0, 200, 255},
{ 0, 202, 255}, { 0, 203, 255}, { 0, 204, 255}, { 0, 205, 255}, { 0, 206, 255},
{ 0, 207, 255}, { 0, 208, 255}, { 0, 209, 255}, { 0, 210, 255}, { 0, 211, 255},
{ 0, 212, 255}, { 0, 213, 255}, { 0, 215, 255}, { 0, 216, 255}, { 0, 217, 255},
{ 0, 218, 254}, { 0, 219, 253}, { 0, 220, 252}, { 0, 221, 252}, { 0, 222, 251},
{ 0, 223, 250}, { 0, 224, 250}, { 0, 225, 249}, { 0, 226, 248}, { 0, 227, 247},
{ 0, 229, 247}, { 1, 230, 246}, { 2, 231, 245}, { 3, 232, 244}, { 3, 233, 243},
{ 4, 234, 242}, { 5, 235, 241}, { 5, 236, 240}, { 6, 237, 239}, { 7, 238, 238},
{ 8, 239, 238}, { 8, 240, 237}, { 9, 241, 236}, { 10, 242, 236}, { 10, 242, 235},
{ 11, 243, 235}, { 11, 244, 234}, { 12, 245, 234}, { 13, 245, 233}, { 13, 246, 232},
{ 14, 247, 232}, { 15, 247, 231}, { 15, 248, 231}, { 16, 249, 230}, { 17, 249, 229},
{ 18, 250, 228}, { 18, 251, 227}, { 19, 251, 226}, { 20, 252, 225}, { 21, 253, 224},
{ 22, 253, 224}, { 23, 254, 223}, { 23, 254, 222}, { 24, 255, 221}, { 25, 255, 220},
{ 26, 255, 219}, { 27, 255, 218}, { 28, 255, 218}, { 29, 255, 217}, { 30, 255, 216},
{ 30, 255, 215}, { 31, 255, 214}, { 32, 255, 214}, { 33, 255, 213}, { 34, 255, 212},
{ 35, 255, 211}, { 36, 255, 210}, { 37, 255, 209}, { 38, 255, 208}, { 39, 255, 207},
{ 39, 255, 207}, { 40, 255, 206}, { 41, 255, 205}, { 42, 255, 204}, { 43, 255, 203},
{ 44, 255, 202}, { 45, 255, 201}, { 46, 255, 200}, { 47, 255, 199}, { 48, 255, 198},
{ 48, 255, 198}, { 49, 255, 197}, { 50, 255, 196}, { 51, 255, 195}, { 52, 255, 194},
{ 53, 255, 193}, { 54, 255, 192}, { 55, 255, 191}, { 55, 255, 191}, { 56, 255, 190},
{ 57, 255, 189}, { 58, 255, 188}, { 59, 255, 187}, { 60, 255, 186}, { 60, 255, 186},
{ 61, 255, 185}, { 62, 255, 184}, { 63, 255, 183}, { 64, 255, 182}, { 65, 255, 181},
{ 65, 255, 181}, { 66, 255, 180}, { 67, 255, 179}, { 68, 255, 178}, { 69, 255, 177},
{ 70, 255, 176}, { 71, 255, 175}, { 72, 255, 174}, { 73, 255, 173}, { 74, 255, 172},
{ 74, 255, 172}, { 75, 255, 171}, { 76, 255, 170}, { 77, 255, 169}, { 78, 255, 168},
{ 79, 255, 167}, { 80, 255, 166}, { 81, 255, 165}, { 82, 255, 164}, { 83, 255, 163},
{ 83, 255, 163}, { 84, 255, 162}, { 84, 255, 162}, { 85, 255, 161}, { 85, 255, 161},
{ 86, 255, 160}, { 87, 255, 159}, { 87, 255, 159}, { 88, 255, 158}, { 88, 255, 158},
{ 89, 255, 157}, { 89, 255, 157}, { 90, 255, 156}, { 91, 255, 155}, { 92, 255, 154},
{ 93, 255, 153}, { 94, 255, 152}, { 95, 255, 151}, { 96, 255, 150}, { 97, 255, 149},
{ 97, 255, 149}, { 98, 255, 148}, { 99, 255, 147}, {100, 255, 146}, {101, 255, 145},
{102, 255, 144}, {102, 255, 143}, {103, 255, 142}, {104, 255, 141}, {105, 255, 140},
{106, 255, 140}, {107, 255, 139}, {107, 255, 138}, {108, 255, 137}, {109, 255, 136},
{110, 255, 135}, {111, 255, 134}, {112, 255, 134}, {113, 255, 133}, {114, 255, 132},
{114, 255, 131}, {115, 255, 130}, {116, 255, 130}, {117, 255, 129}, {118, 255, 128},
{119, 255, 127}, {120, 255, 126}, {121, 255, 125}, {122, 255, 124}, {123, 255, 123},
{123, 255, 123}, {124, 255, 122}, {125, 255, 121}, {126, 255, 120}, {127, 255, 119},
{128, 255, 118}, {129, 255, 117}, {130, 255, 116}, {130, 255, 115}, {131, 255, 114},
{132, 255, 114}, {133, 255, 113}, {134, 255, 112}, {134, 255, 111}, {135, 255, 110},
{136, 255, 109}, {137, 255, 108}, {138, 255, 107}, {139, 255, 107}, {140, 255, 106},
{140, 255, 105}, {141, 255, 104}, {142, 255, 103}, {143, 255, 102}, {144, 255, 102},
{145, 255, 101}, {146, 255, 100}, {147, 255, 99}, {148, 255, 98}, {149, 255, 97},
{149, 255, 97}, {150, 255, 96}, {151, 255, 95}, {152, 255, 94}, {153, 255, 93},
{154, 255, 92}, {155, 255, 91}, {156, 255, 90}, {157, 255, 89}, {157, 255, 89},
{158, 255, 88}, {158, 255, 88}, {159, 255, 87}, {159, 255, 87}, {160, 255, 86},
{161, 255, 85}, {161, 255, 85}, {162, 255, 84}, {162, 255, 84}, {163, 255, 83},
{163, 255, 83}, {164, 255, 82}, {165, 255, 81}, {166, 255, 80}, {167, 255, 79},
{168, 255, 78}, {169, 255, 77}, {170, 255, 76}, {171, 255, 75}, {172, 255, 74},
{172, 255, 74}, {173, 255, 73}, {174, 255, 72}, {175, 255, 71}, {176, 255, 70},
{177, 255, 69}, {178, 255, 68}, {179, 255, 67}, {180, 255, 66}, {181, 255, 65},
{181, 255, 65}, {182, 255, 64}, {183, 255, 63}, {184, 255, 62}, {185, 255, 61},
{186, 255, 60}, {186, 255, 60}, {187, 255, 59}, {188, 255, 58}, {189, 255, 57},
{190, 255, 56}, {191, 255, 55}, {191, 255, 55}, {192, 255, 54}, {193, 255, 53},
{194, 255, 52}, {195, 255, 51}, {196, 255, 50}, {197, 255, 49}, {198, 255, 48},
{198, 255, 48}, {199, 255, 47}, {200, 255, 46}, {201, 255, 45}, {202, 255, 44},
{203, 255, 43}, {204, 255, 42}, {205, 255, 41}, {206, 255, 40}, {207, 255, 39},
{207, 255, 39}, {208, 255, 38}, {209, 255, 37}, {210, 255, 36}, {211, 255, 35},
{212, 255, 34}, {213, 255, 33}, {214, 255, 32}, {214, 255, 31}, {215, 255, 30},
{216, 255, 30}, {217, 255, 29}, {218, 255, 28}, {218, 255, 27}, {219, 255, 26},
{220, 255, 25}, {221, 255, 24}, {222, 255, 23}, {223, 255, 23}, {224, 255, 22},
{224, 255, 21}, {225, 255, 20}, {226, 255, 19}, {227, 255, 18}, {228, 255, 18},
{229, 255, 17}, {230, 255, 16}, {231, 255, 15}, {231, 255, 15}, {232, 255, 14},
{232, 255, 13}, {233, 255, 13}, {234, 255, 12}, {234, 255, 11}, {235, 255, 11},
{235, 255, 10}, {236, 255, 10}, {236, 255, 9}, {237, 255, 8}, {238, 254, 8},
{238, 253, 7}, {239, 252, 6}, {240, 251, 5}, {241, 250, 5}, {242, 249, 4},
{243, 248, 3}, {244, 247, 3}, {245, 246, 2}, {246, 246, 1}, {247, 245, 0},
{247, 243, 0}, {248, 242, 0}, {249, 242, 0}, {250, 241, 0}, {250, 240, 0},
{251, 239, 0}, {252, 238, 0}, {252, 237, 0}, {253, 236, 0}, {254, 235, 0},
{255, 234, 0}, {255, 233, 0}, {255, 232, 0}, {255, 231, 0}, {255, 230, 0},
{255, 229, 0}, {255, 228, 0}, {255, 227, 0}, {255, 226, 0}, {255, 225, 0},
{255, 224, 0}, {255, 223, 0}, {255, 222, 0}, {255, 221, 0}, {255, 220, 0},
{255, 219, 0}, {255, 218, 0}, {255, 217, 0}, {255, 216, 0}, {255, 215, 0},
{255, 214, 0}, {255, 213, 0}, {255, 212, 0}, {255, 211, 0}, {255, 210, 0},
{255, 209, 0}, {255, 208, 0}, {255, 207, 0}, {255, 206, 0}, {255, 205, 0},
{255, 204, 0}, {255, 203, 0}, {255, 202, 0}, {255, 201, 0}, {255, 200, 0},
{255, 199, 0}, {255, 198, 0}, {255, 197, 0}, {255, 196, 0}, {255, 195, 0},
{255, 194, 0}, {255, 193, 0}, {255, 192, 0}, {255, 191, 0}, {255, 190, 0},
{255, 189, 0}, {255, 188, 0}, {255, 187, 0}, {255, 186, 0}, {255, 185, 0},
{255, 184, 0}, {255, 183, 0}, {255, 182, 0}, {255, 180, 0}, {255, 179, 0},
{255, 178, 0}, {255, 177, 0}, {255, 176, 0}, {255, 176, 0}, {255, 175, 0},
{255, 175, 0}, {255, 174, 0}, {255, 173, 0}, {255, 173, 0}, {255, 172, 0},
{255, 171, 0}, {255, 171, 0}, {255, 170, 0}, {255, 169, 0}, {255, 168, 0},
{255, 167, 0}, {255, 166, 0}, {255, 165, 0}, {255, 164, 0}, {255, 163, 0},
{255, 162, 0}, {255, 161, 0}, {255, 160, 0}, {255, 159, 0}, {255, 158, 0},
{255, 157, 0}, {255, 156, 0}, {255, 155, 0}, {255, 154, 0}, {255, 153, 0},
{255, 152, 0}, {255, 151, 0}, {255, 150, 0}, {255, 150, 0}, {255, 149, 0},
{255, 147, 0}, {255, 146, 0}, {255, 146, 0}, {255, 145, 0}, {255, 144, 0},
{255, 143, 0}, {255, 142, 0}, {255, 141, 0}, {255, 140, 0}, {255, 139, 0},
{255, 138, 0}, {255, 137, 0}, {255, 136, 0}, {255, 135, 0}, {255, 134, 0},
{255, 133, 0}, {255, 132, 0}, {255, 131, 0}, {255, 130, 0}, {255, 129, 0},
{255, 128, 0}, {255, 127, 0}, {255, 126, 0}, {255, 125, 0}, {255, 124, 0},
{255, 123, 0}, {255, 122, 0}, {255, 121, 0}, {255, 120, 0}, {255, 119, 0},
{255, 118, 0}, {255, 117, 0}, {255, 116, 0}, {255, 115, 0}, {255, 114, 0},
{255, 113, 0}, {255, 112, 0}, {255, 111, 0}, {255, 109, 0}, {255, 108, 0},
{255, 107, 0}, {255, 106, 0}, {255, 105, 0}, {255, 104, 0}, {255, 103, 0},
{255, 102, 0}, {255, 101, 0}, {255, 100, 0}, {255, 99, 0}, {255, 98, 0},
{255, 97, 0}, {255, 96, 0}, {255, 95, 0}, {255, 94, 0}, {255, 93, 0},
{255, 92, 0}, {255, 91, 0}, {255, 91, 0}, {255, 90, 0}, {255, 90, 0},
{255, 89, 0}, {255, 88, 0}, {255, 88, 0}, {255, 87, 0}, {255, 86, 0},
{255, 86, 0}, {255, 85, 0}, {255, 84, 0}, {255, 83, 0}, {255, 82, 0},
{255, 81, 0}, {255, 80, 0}, {255, 79, 0}, {255, 78, 0}, {255, 77, 0},
{255, 76, 0}, {255, 75, 0}, {255, 74, 0}, {255, 73, 0}, {255, 72, 0},
{255, 71, 0}, {255, 70, 0}, {255, 69, 0}, {255, 68, 0}, {255, 67, 0},
{255, 66, 0}, {255, 65, 0}, {255, 64, 0}, {255, 63, 0}, {255, 62, 0},
{255, 61, 0}, {255, 60, 0}, {255, 59, 0}, {255, 58, 0}, {255, 57, 0},
{255, 56, 0}, {255, 55, 0}, {255, 54, 0}, {255, 54, 0}, {255, 53, 0},
{255, 51, 0}, {255, 50, 0}, {255, 49, 0}, {255, 48, 0}, {255, 47, 0},
{255, 46, 0}, {255, 45, 0}, {255, 44, 0}, {255, 43, 0}, {255, 42, 0},
{255, 41, 0}, {255, 40, 0}, {255, 39, 0}, {255, 38, 0}, {255, 37, 0},
{255, 36, 0}, {255, 35, 0}, {255, 34, 0}, {255, 33, 0}, {255, 32, 0},
{255, 31, 0}, {255, 30, 0}, {255, 29, 0}, {255, 28, 0}, {255, 27, 0},
{255, 26, 0}, {255, 25, 0}, {255, 24, 0}, {254, 23, 0}, {254, 22, 0},
{254, 21, 0}, {254, 20, 0}, {254, 19, 0}, {254, 18, 0}, {253, 17, 0},
{251, 16, 0}, {250, 15, 0}, {249, 14, 0}, {248, 13, 0}, {247, 12, 0},
{246, 11, 0}, {244, 10, 0}, {243, 9, 0}, {242, 8, 0}, {241, 7, 0},
{240, 6, 0}, {239, 6, 0}, {239, 5, 0}, {238, 4, 0}, {237, 4, 0},
{236, 3, 0}, {235, 3, 0}, {234, 2, 0}, {234, 1, 0}, {233, 1, 0},
{232, 0, 0}, {231, 0, 0}, {230, 0, 0}, {228, 0, 0}, {227, 0, 0},
{226, 0, 0}, {225, 0, 0}, {223, 0, 0}, {222, 0, 0}, {221, 0, 0},
{219, 0, 0}, {218, 0, 0}, {217, 0, 0}, {216, 0, 0}, {214, 0, 0},
{213, 0, 0}, {212, 0, 0}, {211, 0, 0}, {209, 0, 0}, {208, 0, 0},
{207, 0, 0}, {206, 0, 0}, {204, 0, 0}, {203, 0, 0}, {202, 0, 0},
{201, 0, 0}, {200, 0, 0}, {198, 0, 0}, {197, 0, 0}, {196, 0, 0},
{195, 0, 0}, {194, 0, 0}, {193, 0, 0}, {191, 0, 0}, {190, 0, 0},
{189, 0, 0}, {188, 0, 0}, {186, 0, 0}, {185, 0, 0}, {184, 0, 0},
{183, 0, 0}, {181, 0, 0}, {180, 0, 0}, {179, 0, 0}, {178, 0, 0},
{176, 0, 0}, {175, 0, 0}, {174, 0, 0}, {173, 0, 0}, {171, 0, 0},
{170, 0, 0}, {169, 0, 0}, {168, 0, 0}, {166, 0, 0}, {165, 0, 0},
{164, 0, 0}, {163, 0, 0}, {161, 0, 0}, {160, 0, 0}, {159, 0, 0},
{158, 0, 0}, {157, 0, 0}, {156, 0, 0}, {154, 0, 0}, {153, 0, 0},
{152, 0, 0}, {151, 0, 0}, {150, 0, 0}, {148, 0, 0}, {147, 0, 0},
{146, 0, 0}, {145, 0, 0}, {143, 0, 0}, {142, 0, 0}, {141, 0, 0},
{140, 0, 0}, {138, 0, 0}, {137, 0, 0}, {136, 0, 0}, {135, 0, 0},
{134, 0, 0}, {133, 0, 0}, {133, 0, 0}, {132, 0, 0}, {131, 0, 0},
{130, 0, 0}, {129, 0, 0}, {129, 0, 0}, {128, 0, 0}, {127, 0, 0},
{122, 0, 9}, {117, 0, 18}, {112, 0, 27}, {107, 0, 36}, {102, 0, 45}
};
const rgb_store prism_colormap[1000] = {
{255, 0, 0}, {255, 2, 0}, {255, 4, 0}, {255, 6, 0}, {255, 8, 0},
{255, 10, 0}, {255, 11, 0}, {255, 13, 0}, {255, 15, 0}, {255, 17, 0},
{255, 19, 0}, {255, 21, 0}, {255, 23, 0}, {255, 25, 0}, {255, 27, 0},
{255, 29, 0}, {255, 31, 0}, {255, 33, 0}, {255, 34, 0}, {255, 36, 0},
{255, 38, 0}, {255, 40, 0}, {255, 42, 0}, {255, 44, 0}, {255, 46, 0},
{255, 48, 0}, {255, 50, 0}, {255, 52, 0}, {255, 54, 0}, {255, 56, 0},
{255, 57, 0}, {255, 59, 0}, {255, 61, 0}, {255, 63, 0}, {255, 65, 0},
{255, 67, 0}, {255, 69, 0}, {255, 71, 0}, {255, 73, 0}, {255, 75, 0},
{255, 77, 0}, {255, 78, 0}, {255, 80, 0}, {255, 82, 0}, {255, 84, 0},
{255, 86, 0}, {255, 88, 0}, {255, 90, 0}, {255, 92, 0}, {255, 94, 0},
{255, 96, 0}, {255, 98, 0}, {255, 100, 0}, {255, 101, 0}, {255, 103, 0},
{255, 105, 0}, {255, 107, 0}, {255, 109, 0}, {255, 111, 0}, {255, 113, 0},
{255, 115, 0}, {255, 117, 0}, {255, 119, 0}, {255, 121, 0}, {255, 123, 0},
{255, 124, 0}, {255, 126, 0}, {255, 128, 0}, {255, 130, 0}, {255, 132, 0},
{255, 134, 0}, {255, 136, 0}, {255, 138, 0}, {255, 140, 0}, {255, 142, 0},
{255, 144, 0}, {255, 145, 0}, {255, 147, 0}, {255, 149, 0}, {255, 151, 0},
{255, 153, 0}, {255, 155, 0}, {255, 157, 0}, {255, 159, 0}, {255, 161, 0},
{255, 163, 0}, {255, 165, 0}, {255, 167, 0}, {255, 168, 0}, {255, 170, 0},
{255, 172, 0}, {255, 174, 0}, {255, 176, 0}, {255, 178, 0}, {255, 180, 0},
{255, 182, 0}, {255, 184, 0}, {255, 186, 0}, {255, 188, 0}, {255, 190, 0},
{255, 191, 0}, {255, 193, 0}, {255, 195, 0}, {255, 197, 0}, {255, 199, 0},
{255, 201, 0}, {255, 203, 0}, {255, 205, 0}, {255, 207, 0}, {255, 209, 0},
{255, 211, 0}, {255, 212, 0}, {255, 214, 0}, {255, 216, 0}, {255, 218, 0},
{255, 220, 0}, {255, 222, 0}, {255, 224, 0}, {255, 226, 0}, {255, 228, 0},
{255, 230, 0}, {255, 232, 0}, {255, 234, 0}, {255, 235, 0}, {255, 237, 0},
{255, 239, 0}, {255, 241, 0}, {255, 243, 0}, {255, 245, 0}, {255, 247, 0},
{255, 249, 0}, {255, 251, 0}, {255, 253, 0}, {255, 255, 0}, {252, 255, 0},
{248, 255, 0}, {244, 255, 0}, {240, 255, 0}, {237, 255, 0}, {233, 255, 0},
{229, 255, 0}, {225, 255, 0}, {221, 255, 0}, {217, 255, 0}, {214, 255, 0},
{210, 255, 0}, {206, 255, 0}, {202, 255, 0}, {198, 255, 0}, {195, 255, 0},
{191, 255, 0}, {187, 255, 0}, {183, 255, 0}, {179, 255, 0}, {175, 255, 0},
{172, 255, 0}, {168, 255, 0}, {164, 255, 0}, {160, 255, 0}, {156, 255, 0},
{152, 255, 0}, {149, 255, 0}, {145, 255, 0}, {141, 255, 0}, {137, 255, 0},
{133, 255, 0}, {129, 255, 0}, {126, 255, 0}, {122, 255, 0}, {118, 255, 0},
{114, 255, 0}, {110, 255, 0}, {106, 255, 0}, {103, 255, 0}, { 99, 255, 0},
{ 95, 255, 0}, { 91, 255, 0}, { 87, 255, 0}, { 83, 255, 0}, { 80, 255, 0},
{ 76, 255, 0}, { 72, 255, 0}, { 68, 255, 0}, { 64, 255, 0}, { 60, 255, 0},
{ 57, 255, 0}, { 53, 255, 0}, { 49, 255, 0}, { 45, 255, 0}, { 41, 255, 0},
{ 38, 255, 0}, { 34, 255, 0}, { 30, 255, 0}, { 26, 255, 0}, { 22, 255, 0},
{ 18, 255, 0}, { 15, 255, 0}, { 11, 255, 0}, { 7, 255, 0}, { 3, 255, 0},
{ 0, 254, 1}, { 0, 250, 5}, { 0, 247, 8}, { 0, 243, 12}, { 0, 239, 16},
{ 0, 235, 20}, { 0, 231, 24}, { 0, 227, 28}, { 0, 224, 31}, { 0, 220, 35},
{ 0, 216, 39}, { 0, 212, 43}, { 0, 208, 47}, { 0, 204, 51}, { 0, 201, 54},
{ 0, 197, 58}, { 0, 193, 62}, { 0, 189, 66}, { 0, 185, 70}, { 0, 181, 74},
{ 0, 178, 77}, { 0, 174, 81}, { 0, 170, 85}, { 0, 166, 89}, { 0, 162, 93},
{ 0, 159, 96}, { 0, 155, 100}, { 0, 151, 104}, { 0, 147, 108}, { 0, 143, 112},
{ 0, 139, 116}, { 0, 136, 119}, { 0, 132, 123}, { 0, 128, 127}, { 0, 124, 131},
{ 0, 120, 135}, { 0, 116, 139}, { 0, 113, 142}, { 0, 109, 146}, { 0, 105, 150},
{ 0, 101, 154}, { 0, 97, 158}, { 0, 93, 162}, { 0, 90, 165}, { 0, 86, 169},
{ 0, 82, 173}, { 0, 78, 177}, { 0, 74, 181}, { 0, 70, 185}, { 0, 67, 188},
{ 0, 63, 192}, { 0, 59, 196}, { 0, 55, 200}, { 0, 51, 204}, { 0, 47, 208},
{ 0, 44, 211}, { 0, 40, 215}, { 0, 36, 219}, { 0, 32, 223}, { 0, 28, 227},
{ 0, 25, 230}, { 0, 21, 234}, { 0, 17, 238}, { 0, 13, 242}, { 0, 9, 246},
{ 0, 5, 250}, { 0, 2, 253}, { 2, 0, 255}, { 4, 0, 255}, { 7, 0, 255},
{ 9, 0, 255}, { 12, 0, 255}, { 14, 0, 255}, { 17, 0, 255}, { 19, 0, 255},
{ 22, 0, 255}, { 25, 0, 255}, { 27, 0, 255}, { 30, 0, 255}, { 32, 0, 255},
{ 35, 0, 255}, { 37, 0, 255}, { 40, 0, 255}, { 42, 0, 255}, { 45, 0, 255},
{ 47, 0, 255}, { 50, 0, 255}, { 53, 0, 255}, { 55, 0, 255}, { 58, 0, 255},
{ 60, 0, 255}, { 63, 0, 255}, { 65, 0, 255}, { 68, 0, 255}, { 70, 0, 255},
{ 73, 0, 255}, { 76, 0, 255}, { 78, 0, 255}, { 81, 0, 255}, { 83, 0, 255},
{ 86, 0, 255}, { 88, 0, 255}, { 91, 0, 255}, { 93, 0, 255}, { 96, 0, 255},
{ 99, 0, 255}, {101, 0, 255}, {104, 0, 255}, {106, 0, 255}, {109, 0, 255},
{111, 0, 255}, {114, 0, 255}, {116, 0, 255}, {119, 0, 255}, {122, 0, 255},
{124, 0, 255}, {127, 0, 255}, {129, 0, 255}, {132, 0, 255}, {134, 0, 255},
{137, 0, 255}, {139, 0, 255}, {142, 0, 255}, {144, 0, 255}, {147, 0, 255},
{150, 0, 255}, {152, 0, 255}, {155, 0, 255}, {157, 0, 255}, {160, 0, 255},
{162, 0, 255}, {165, 0, 255}, {167, 0, 255}, {170, 0, 255}, {171, 0, 251},
{173, 0, 247}, {174, 0, 244}, {175, 0, 240}, {176, 0, 236}, {178, 0, 232},
{179, 0, 228}, {180, 0, 224}, {181, 0, 221}, {183, 0, 217}, {184, 0, 213},
{185, 0, 209}, {187, 0, 205}, {188, 0, 201}, {189, 0, 198}, {190, 0, 194},
{192, 0, 190}, {193, 0, 186}, {194, 0, 182}, {196, 0, 178}, {197, 0, 175},
{198, 0, 171}, {199, 0, 167}, {201, 0, 163}, {202, 0, 159}, {203, 0, 155},
{204, 0, 152}, {206, 0, 148}, {207, 0, 144}, {208, 0, 140}, {210, 0, 136},
{211, 0, 132}, {212, 0, 129}, {213, 0, 125}, {215, 0, 121}, {216, 0, 117},
{217, 0, 113}, {218, 0, 110}, {220, 0, 106}, {221, 0, 102}, {222, 0, 98},
{224, 0, 94}, {225, 0, 90}, {226, 0, 87}, {227, 0, 83}, {229, 0, 79},
{230, 0, 75}, {231, 0, 71}, {233, 0, 67}, {234, 0, 64}, {235, 0, 60},
{236, 0, 56}, {238, 0, 52}, {239, 0, 48}, {240, 0, 44}, {241, 0, 41},
{243, 0, 37}, {244, 0, 33}, {245, 0, 29}, {247, 0, 25}, {248, 0, 21},
{249, 0, 18}, {250, 0, 14}, {252, 0, 10}, {253, 0, 6}, {254, 0, 2},
{255, 1, 0}, {255, 3, 0}, {255, 5, 0}, {255, 7, 0}, {255, 8, 0},
{255, 10, 0}, {255, 12, 0}, {255, 14, 0}, {255, 16, 0}, {255, 18, 0},
{255, 20, 0}, {255, 22, 0}, {255, 24, 0}, {255, 26, 0}, {255, 28, 0},
{255, 29, 0}, {255, 31, 0}, {255, 33, 0}, {255, 35, 0}, {255, 37, 0},
{255, 39, 0}, {255, 41, 0}, {255, 43, 0}, {255, 45, 0}, {255, 47, 0},
{255, 49, 0}, {255, 51, 0}, {255, 52, 0}, {255, 54, 0}, {255, 56, 0},
{255, 58, 0}, {255, 60, 0}, {255, 62, 0}, {255, 64, 0}, {255, 66, 0},
{255, 68, 0}, {255, 70, 0}, {255, 72, 0}, {255, 74, 0}, {255, 75, 0},
{255, 77, 0}, {255, 79, 0}, {255, 81, 0}, {255, 83, 0}, {255, 85, 0},
{255, 87, 0}, {255, 89, 0}, {255, 91, 0}, {255, 93, 0}, {255, 95, 0},
{255, 96, 0}, {255, 98, 0}, {255, 100, 0}, {255, 102, 0}, {255, 104, 0},
{255, 106, 0}, {255, 108, 0}, {255, 110, 0}, {255, 112, 0}, {255, 114, 0},
{255, 116, 0}, {255, 118, 0}, {255, 119, 0}, {255, 121, 0}, {255, 123, 0},
{255, 125, 0}, {255, 127, 0}, {255, 129, 0}, {255, 131, 0}, {255, 133, 0},
{255, 135, 0}, {255, 137, 0}, {255, 139, 0}, {255, 141, 0}, {255, 142, 0},
{255, 144, 0}, {255, 146, 0}, {255, 148, 0}, {255, 150, 0}, {255, 152, 0},
{255, 154, 0}, {255, 156, 0}, {255, 158, 0}, {255, 160, 0}, {255, 162, 0},
{255, 163, 0}, {255, 165, 0}, {255, 167, 0}, {255, 169, 0}, {255, 171, 0},
{255, 173, 0}, {255, 175, 0}, {255, 177, 0}, {255, 179, 0}, {255, 181, 0},
{255, 183, 0}, {255, 185, 0}, {255, 186, 0}, {255, 188, 0}, {255, 190, 0},
{255, 192, 0}, {255, 194, 0}, {255, 196, 0}, {255, 198, 0}, {255, 200, 0},
{255, 202, 0}, {255, 204, 0}, {255, 206, 0}, {255, 208, 0}, {255, 209, 0},
{255, 211, 0}, {255, 213, 0}, {255, 215, 0}, {255, 217, 0}, {255, 219, 0},
{255, 221, 0}, {255, 223, 0}, {255, 225, 0}, {255, 227, 0}, {255, 229, 0},
{255, 230, 0}, {255, 232, 0}, {255, 234, 0}, {255, 236, 0}, {255, 238, 0},
{255, 240, 0}, {255, 242, 0}, {255, 244, 0}, {255, 246, 0}, {255, 248, 0},
{255, 250, 0}, {255, 252, 0}, {255, 253, 0}, {254, 255, 0}, {250, 255, 0},
{247, 255, 0}, {243, 255, 0}, {239, 255, 0}, {235, 255, 0}, {231, 255, 0},
{227, 255, 0}, {224, 255, 0}, {220, 255, 0}, {216, 255, 0}, {212, 255, 0},
{208, 255, 0}, {204, 255, 0}, {201, 255, 0}, {197, 255, 0}, {193, 255, 0},
{189, 255, 0}, {185, 255, 0}, {181, 255, 0}, {178, 255, 0}, {174, 255, 0},
{170, 255, 0}, {166, 255, 0}, {162, 255, 0}, {159, 255, 0}, {155, 255, 0},
{151, 255, 0}, {147, 255, 0}, {143, 255, 0}, {139, 255, 0}, {136, 255, 0},
{132, 255, 0}, {128, 255, 0}, {124, 255, 0}, {120, 255, 0}, {116, 255, 0},
{113, 255, 0}, {109, 255, 0}, {105, 255, 0}, {101, 255, 0}, { 97, 255, 0},
{ 93, 255, 0}, { 90, 255, 0}, { 86, 255, 0}, { 82, 255, 0}, { 78, 255, 0},
{ 74, 255, 0}, { 70, 255, 0}, { 67, 255, 0}, { 63, 255, 0}, { 59, 255, 0},
{ 55, 255, 0}, { 51, 255, 0}, { 47, 255, 0}, { 44, 255, 0}, { 40, 255, 0},
{ 36, 255, 0}, { 32, 255, 0}, { 28, 255, 0}, { 25, 255, 0}, { 21, 255, 0},
{ 17, 255, 0}, { 13, 255, 0}, { 9, 255, 0}, { 5, 255, 0}, { 2, 255, 0},
{ 0, 253, 2}, { 0, 249, 6}, { 0, 245, 10}, { 0, 241, 14}, { 0, 237, 18},
{ 0, 234, 21}, { 0, 230, 25}, { 0, 226, 29}, { 0, 222, 33}, { 0, 218, 37},
{ 0, 214, 41}, { 0, 211, 44}, { 0, 207, 48}, { 0, 203, 52}, { 0, 199, 56},
{ 0, 195, 60}, { 0, 191, 64}, { 0, 188, 67}, { 0, 184, 71}, { 0, 180, 75},
{ 0, 176, 79}, { 0, 172, 83}, { 0, 168, 87}, { 0, 165, 90}, { 0, 161, 94},
{ 0, 157, 98}, { 0, 153, 102}, { 0, 149, 106}, { 0, 145, 110}, { 0, 142, 113},
{ 0, 138, 117}, { 0, 134, 121}, { 0, 130, 125}, { 0, 126, 129}, { 0, 123, 132},
{ 0, 119, 136}, { 0, 115, 140}, { 0, 111, 144}, { 0, 107, 148}, { 0, 103, 152},
{ 0, 100, 155}, { 0, 96, 159}, { 0, 92, 163}, { 0, 88, 167}, { 0, 84, 171},
{ 0, 80, 175}, { 0, 77, 178}, { 0, 73, 182}, { 0, 69, 186}, { 0, 65, 190},
{ 0, 61, 194}, { 0, 57, 198}, { 0, 54, 201}, { 0, 50, 205}, { 0, 46, 209},
{ 0, 42, 213}, { 0, 38, 217}, { 0, 34, 221}, { 0, 31, 224}, { 0, 27, 228},
{ 0, 23, 232}, { 0, 19, 236}, { 0, 15, 240}, { 0, 11, 244}, { 0, 8, 247},
{ 0, 4, 251}, { 0, 0, 255}, { 3, 0, 255}, { 5, 0, 255}, { 8, 0, 255},
{ 10, 0, 255}, { 13, 0, 255}, { 15, 0, 255}, { 18, 0, 255}, { 20, 0, 255},
{ 23, 0, 255}, { 26, 0, 255}, { 28, 0, 255}, { 31, 0, 255}, { 33, 0, 255},
{ 36, 0, 255}, { 38, 0, 255}, { 41, 0, 255}, { 43, 0, 255}, { 46, 0, 255},
{ 48, 0, 255}, { 51, 0, 255}, { 54, 0, 255}, { 56, 0, 255}, { 59, 0, 255},
{ 61, 0, 255}, { 64, 0, 255}, { 66, 0, 255}, { 69, 0, 255}, { 71, 0, 255},
{ 74, 0, 255}, { 77, 0, 255}, { 79, 0, 255}, { 82, 0, 255}, { 84, 0, 255},
{ 87, 0, 255}, { 89, 0, 255}, { 92, 0, 255}, { 94, 0, 255}, { 97, 0, 255},
{100, 0, 255}, {102, 0, 255}, {105, 0, 255}, {107, 0, 255}, {110, 0, 255},
{112, 0, 255}, {115, 0, 255}, {117, 0, 255}, {120, 0, 255}, {123, 0, 255},
{125, 0, 255}, {128, 0, 255}, {130, 0, 255}, {133, 0, 255}, {135, 0, 255},
{138, 0, 255}, {140, 0, 255}, {143, 0, 255}, {145, 0, 255}, {148, 0, 255},
{151, 0, 255}, {153, 0, 255}, {156, 0, 255}, {158, 0, 255}, {161, 0, 255},
{163, 0, 255}, {166, 0, 255}, {168, 0, 255}, {171, 0, 253}, {172, 0, 250},
{173, 0, 246}, {174, 0, 242}, {176, 0, 238}, {177, 0, 234}, {178, 0, 230},
{179, 0, 227}, {181, 0, 223}, {182, 0, 219}, {183, 0, 215}, {185, 0, 211},
{186, 0, 208}, {187, 0, 204}, {188, 0, 200}, {190, 0, 196}, {191, 0, 192},
{192, 0, 188}, {193, 0, 185}, {195, 0, 181}, {196, 0, 177}, {197, 0, 173},
{199, 0, 169}, {200, 0, 165}, {201, 0, 162}, {202, 0, 158}, {204, 0, 154},
{205, 0, 150}, {206, 0, 146}, {208, 0, 142}, {209, 0, 139}, {210, 0, 135},
{211, 0, 131}, {213, 0, 127}, {214, 0, 123}, {215, 0, 119}, {216, 0, 116},
{218, 0, 112}, {219, 0, 108}, {220, 0, 104}, {222, 0, 100}, {223, 0, 96},
{224, 0, 93}, {225, 0, 89}, {227, 0, 85}, {228, 0, 81}, {229, 0, 77},
{230, 0, 74}, {232, 0, 70}, {233, 0, 66}, {234, 0, 62}, {236, 0, 58},
{237, 0, 54}, {238, 0, 51}, {239, 0, 47}, {241, 0, 43}, {242, 0, 39},
{243, 0, 35}, {245, 0, 31}, {246, 0, 28}, {247, 0, 24}, {248, 0, 20},
{250, 0, 16}, {251, 0, 12}, {252, 0, 8}, {253, 0, 5}, {255, 0, 1},
{255, 2, 0}, {255, 3, 0}, {255, 5, 0}, {255, 7, 0}, {255, 9, 0},
{255, 11, 0}, {255, 13, 0}, {255, 15, 0}, {255, 17, 0}, {255, 19, 0},
{255, 21, 0}, {255, 23, 0}, {255, 25, 0}, {255, 26, 0}, {255, 28, 0},
{255, 30, 0}, {255, 32, 0}, {255, 34, 0}, {255, 36, 0}, {255, 38, 0},
{255, 40, 0}, {255, 42, 0}, {255, 44, 0}, {255, 46, 0}, {255, 47, 0},
{255, 49, 0}, {255, 51, 0}, {255, 53, 0}, {255, 55, 0}, {255, 57, 0},
{255, 59, 0}, {255, 61, 0}, {255, 63, 0}, {255, 65, 0}, {255, 67, 0},
{255, 69, 0}, {255, 70, 0}, {255, 72, 0}, {255, 74, 0}, {255, 76, 0},
{255, 78, 0}, {255, 80, 0}, {255, 82, 0}, {255, 84, 0}, {255, 86, 0},
{255, 88, 0}, {255, 90, 0}, {255, 92, 0}, {255, 93, 0}, {255, 95, 0},
{255, 97, 0}, {255, 99, 0}, {255, 101, 0}, {255, 103, 0}, {255, 105, 0},
{255, 107, 0}, {255, 109, 0}, {255, 111, 0}, {255, 113, 0}, {255, 114, 0},
{255, 116, 0}, {255, 118, 0}, {255, 120, 0}, {255, 122, 0}, {255, 124, 0},
{255, 126, 0}, {255, 128, 0}, {255, 130, 0}, {255, 132, 0}, {255, 134, 0},
{255, 136, 0}, {255, 137, 0}, {255, 139, 0}, {255, 141, 0}, {255, 143, 0},
{255, 145, 0}, {255, 147, 0}, {255, 149, 0}, {255, 151, 0}, {255, 153, 0},
{255, 155, 0}, {255, 157, 0}, {255, 159, 0}, {255, 160, 0}, {255, 162, 0},
{255, 164, 0}, {255, 166, 0}, {255, 168, 0}, {255, 170, 0}, {255, 172, 0},
{255, 174, 0}, {255, 176, 0}, {255, 178, 0}, {255, 180, 0}, {255, 181, 0},
{255, 183, 0}, {255, 185, 0}, {255, 187, 0}, {255, 189, 0}, {255, 191, 0},
{255, 193, 0}, {255, 195, 0}, {255, 197, 0}, {255, 199, 0}, {255, 201, 0},
{255, 203, 0}, {255, 204, 0}, {255, 206, 0}, {255, 208, 0}, {255, 210, 0},
{255, 212, 0}, {255, 214, 0}, {255, 216, 0}, {255, 218, 0}, {255, 220, 0},
{255, 222, 0}, {255, 224, 0}, {255, 226, 0}, {255, 227, 0}, {255, 229, 0},
{255, 231, 0}, {255, 233, 0}, {255, 235, 0}, {255, 237, 0}, {255, 239, 0},
{255, 241, 0}, {255, 243, 0}, {255, 245, 0}, {255, 247, 0}, {255, 248, 0},
{255, 250, 0}, {255, 252, 0}, {255, 254, 0}, {253, 255, 0}, {249, 255, 0},
{245, 255, 0}, {241, 255, 0}, {237, 255, 0}, {234, 255, 0}, {230, 255, 0},
{226, 255, 0}, {222, 255, 0}, {218, 255, 0}, {214, 255, 0}, {211, 255, 0},
{207, 255, 0}, {203, 255, 0}, {199, 255, 0}, {195, 255, 0}, {191, 255, 0},
{188, 255, 0}, {184, 255, 0}, {180, 255, 0}, {176, 255, 0}, {172, 255, 0},
{168, 255, 0}, {165, 255, 0}, {161, 255, 0}, {157, 255, 0}, {153, 255, 0},
{149, 255, 0}, {145, 255, 0}, {142, 255, 0}, {138, 255, 0}, {134, 255, 0},
{130, 255, 0}, {126, 255, 0}, {123, 255, 0}, {119, 255, 0}, {115, 255, 0},
{111, 255, 0}, {107, 255, 0}, {103, 255, 0}, {100, 255, 0}, { 96, 255, 0},
{ 92, 255, 0}, { 88, 255, 0}, { 84, 255, 0}, { 80, 255, 0}, { 77, 255, 0},
{ 73, 255, 0}, { 69, 255, 0}, { 65, 255, 0}, { 61, 255, 0}, { 57, 255, 0},
{ 54, 255, 0}, { 50, 255, 0}, { 46, 255, 0}, { 42, 255, 0}, { 38, 255, 0},
{ 34, 255, 0}, { 31, 255, 0}, { 27, 255, 0}, { 23, 255, 0}, { 19, 255, 0},
{ 15, 255, 0}, { 11, 255, 0}, { 8, 255, 0}, { 4, 255, 0}, { 0, 255, 0}
};
const rgb_store vga_colormap[1000] = {
{255, 255, 255}, {254, 254, 254}, {253, 253, 253}, {252, 252, 252}, {251, 251, 251},
{250, 250, 250}, {249, 249, 249}, {248, 248, 248}, {247, 247, 247}, {246, 246, 246},
{245, 245, 245}, {244, 244, 244}, {244, 244, 244}, {243, 243, 243}, {242, 242, 242},
{241, 241, 241}, {240, 240, 240}, {239, 239, 239}, {238, 238, 238}, {237, 237, 237},
{236, 236, 236}, {235, 235, 235}, {234, 234, 234}, {233, 233, 233}, {232, 232, 232},
{231, 231, 231}, {230, 230, 230}, {229, 229, 229}, {228, 228, 228}, {227, 227, 227},
{226, 226, 226}, {225, 225, 225}, {224, 224, 224}, {223, 223, 223}, {222, 222, 222},
{221, 221, 221}, {221, 221, 221}, {220, 220, 220}, {219, 219, 219}, {218, 218, 218},
{217, 217, 217}, {216, 216, 216}, {215, 215, 215}, {214, 214, 214}, {213, 213, 213},
{212, 212, 212}, {211, 211, 211}, {210, 210, 210}, {209, 209, 209}, {208, 208, 208},
{207, 207, 207}, {206, 206, 206}, {205, 205, 205}, {204, 204, 204}, {203, 203, 203},
{202, 202, 202}, {201, 201, 201}, {200, 200, 200}, {199, 199, 199}, {199, 199, 199},
{198, 198, 198}, {197, 197, 197}, {196, 196, 196}, {195, 195, 195}, {194, 194, 194},
{193, 193, 193}, {192, 192, 192}, {192, 190, 190}, {193, 187, 187}, {194, 184, 184},
{195, 181, 181}, {195, 179, 179}, {196, 176, 176}, {197, 173, 173}, {198, 170, 170},
{199, 167, 167}, {200, 164, 164}, {201, 161, 161}, {202, 159, 159}, {203, 156, 156},
{204, 153, 153}, {205, 150, 150}, {206, 147, 147}, {207, 144, 144}, {208, 141, 141},
{209, 138, 138}, {210, 136, 136}, {211, 133, 133}, {212, 130, 130}, {213, 127, 127},
{214, 124, 124}, {215, 121, 121}, {216, 118, 118}, {217, 115, 115}, {217, 113, 113},
{218, 110, 110}, {219, 107, 107}, {220, 104, 104}, {221, 101, 101}, {222, 98, 98},
{223, 95, 95}, {224, 92, 92}, {225, 90, 90}, {226, 87, 87}, {227, 84, 84},
{228, 81, 81}, {229, 78, 78}, {230, 75, 75}, {231, 72, 72}, {232, 69, 69},
{233, 67, 67}, {234, 64, 64}, {235, 61, 61}, {236, 58, 58}, {237, 55, 55},
{238, 52, 52}, {239, 49, 49}, {239, 47, 47}, {240, 44, 44}, {241, 41, 41},
{242, 38, 38}, {243, 35, 35}, {244, 32, 32}, {245, 29, 29}, {246, 26, 26},
{247, 24, 24}, {248, 21, 21}, {249, 18, 18}, {250, 15, 15}, {251, 12, 12},
{252, 9, 9}, {253, 6, 6}, {254, 3, 3}, {255, 1, 1}, {255, 3, 0},
{255, 7, 0}, {255, 11, 0}, {255, 15, 0}, {255, 18, 0}, {255, 22, 0},
{255, 26, 0}, {255, 30, 0}, {255, 34, 0}, {255, 38, 0}, {255, 41, 0},
{255, 45, 0}, {255, 49, 0}, {255, 53, 0}, {255, 57, 0}, {255, 60, 0},
{255, 64, 0}, {255, 68, 0}, {255, 72, 0}, {255, 76, 0}, {255, 80, 0},
{255, 83, 0}, {255, 87, 0}, {255, 91, 0}, {255, 95, 0}, {255, 99, 0},
{255, 103, 0}, {255, 106, 0}, {255, 110, 0}, {255, 114, 0}, {255, 118, 0},
{255, 122, 0}, {255, 126, 0}, {255, 129, 0}, {255, 133, 0}, {255, 137, 0},
{255, 141, 0}, {255, 145, 0}, {255, 149, 0}, {255, 152, 0}, {255, 156, 0},
{255, 160, 0}, {255, 164, 0}, {255, 168, 0}, {255, 172, 0}, {255, 175, 0},
{255, 179, 0}, {255, 183, 0}, {255, 187, 0}, {255, 191, 0}, {255, 195, 0},
{255, 198, 0}, {255, 202, 0}, {255, 206, 0}, {255, 210, 0}, {255, 214, 0},
{255, 217, 0}, {255, 221, 0}, {255, 225, 0}, {255, 229, 0}, {255, 233, 0},
{255, 237, 0}, {255, 240, 0}, {255, 244, 0}, {255, 248, 0}, {255, 252, 0},
{254, 255, 0}, {250, 255, 0}, {247, 255, 0}, {243, 255, 0}, {239, 255, 0},
{235, 255, 0}, {231, 255, 0}, {227, 255, 0}, {224, 255, 0}, {220, 255, 0},
{216, 255, 0}, {212, 255, 0}, {208, 255, 0}, {204, 255, 0}, {201, 255, 0},
{197, 255, 0}, {193, 255, 0}, {189, 255, 0}, {185, 255, 0}, {181, 255, 0},
{178, 255, 0}, {174, 255, 0}, {170, 255, 0}, {166, 255, 0}, {162, 255, 0},
{159, 255, 0}, {155, 255, 0}, {151, 255, 0}, {147, 255, 0}, {143, 255, 0},
{139, 255, 0}, {136, 255, 0}, {132, 255, 0}, {128, 255, 0}, {124, 255, 0},
{120, 255, 0}, {116, 255, 0}, {113, 255, 0}, {109, 255, 0}, {105, 255, 0},
{101, 255, 0}, { 97, 255, 0}, { 93, 255, 0}, { 90, 255, 0}, { 86, 255, 0},
{ 82, 255, 0}, { 78, 255, 0}, { 74, 255, 0}, { 70, 255, 0}, { 67, 255, 0},
{ 63, 255, 0}, { 59, 255, 0}, { 55, 255, 0}, { 51, 255, 0}, { 47, 255, 0},
{ 44, 255, 0}, { 40, 255, 0}, { 36, 255, 0}, { 32, 255, 0}, { 28, 255, 0},
{ 25, 255, 0}, { 21, 255, 0}, { 17, 255, 0}, { 13, 255, 0}, { 9, 255, 0},
{ 5, 255, 0}, { 2, 255, 0}, { 0, 255, 2}, { 0, 255, 6}, { 0, 255, 10},
{ 0, 255, 14}, { 0, 255, 18}, { 0, 255, 21}, { 0, 255, 25}, { 0, 255, 29},
{ 0, 255, 33}, { 0, 255, 37}, { 0, 255, 41}, { 0, 255, 44}, { 0, 255, 48},
{ 0, 255, 52}, { 0, 255, 56}, { 0, 255, 60}, { 0, 255, 64}, { 0, 255, 67},
{ 0, 255, 71}, { 0, 255, 75}, { 0, 255, 79}, { 0, 255, 83}, { 0, 255, 87},
{ 0, 255, 90}, { 0, 255, 94}, { 0, 255, 98}, { 0, 255, 102}, { 0, 255, 106},
{ 0, 255, 110}, { 0, 255, 113}, { 0, 255, 117}, { 0, 255, 121}, { 0, 255, 125},
{ 0, 255, 129}, { 0, 255, 132}, { 0, 255, 136}, { 0, 255, 140}, { 0, 255, 144},
{ 0, 255, 148}, { 0, 255, 152}, { 0, 255, 155}, { 0, 255, 159}, { 0, 255, 163},
{ 0, 255, 167}, { 0, 255, 171}, { 0, 255, 175}, { 0, 255, 178}, { 0, 255, 182},
{ 0, 255, 186}, { 0, 255, 190}, { 0, 255, 194}, { 0, 255, 198}, { 0, 255, 201},
{ 0, 255, 205}, { 0, 255, 209}, { 0, 255, 213}, { 0, 255, 217}, { 0, 255, 221},
{ 0, 255, 224}, { 0, 255, 228}, { 0, 255, 232}, { 0, 255, 236}, { 0, 255, 240},
{ 0, 255, 244}, { 0, 255, 247}, { 0, 255, 251}, { 0, 255, 255}, { 0, 251, 255},
{ 0, 247, 255}, { 0, 244, 255}, { 0, 240, 255}, { 0, 236, 255}, { 0, 232, 255},
{ 0, 228, 255}, { 0, 224, 255}, { 0, 221, 255}, { 0, 217, 255}, { 0, 213, 255},
{ 0, 209, 255}, { 0, 205, 255}, { 0, 201, 255}, { 0, 198, 255}, { 0, 194, 255},
{ 0, 190, 255}, { 0, 186, 255}, { 0, 182, 255}, { 0, 178, 255}, { 0, 175, 255},
{ 0, 171, 255}, { 0, 167, 255}, { 0, 163, 255}, { 0, 159, 255}, { 0, 155, 255},
{ 0, 152, 255}, { 0, 148, 255}, { 0, 144, 255}, { 0, 140, 255}, { 0, 136, 255},
{ 0, 132, 255}, { 0, 129, 255}, { 0, 125, 255}, { 0, 121, 255}, { 0, 117, 255},
{ 0, 113, 255}, { 0, 110, 255}, { 0, 106, 255}, { 0, 102, 255}, { 0, 98, 255},
{ 0, 94, 255}, { 0, 90, 255}, { 0, 87, 255}, { 0, 83, 255}, { 0, 79, 255},
{ 0, 75, 255}, { 0, 71, 255}, { 0, 67, 255}, { 0, 64, 255}, { 0, 60, 255},
{ 0, 56, 255}, { 0, 52, 255}, { 0, 48, 255}, { 0, 44, 255}, { 0, 41, 255},
{ 0, 37, 255}, { 0, 33, 255}, { 0, 29, 255}, { 0, 25, 255}, { 0, 21, 255},
{ 0, 18, 255}, { 0, 14, 255}, { 0, 10, 255}, { 0, 6, 255}, { 0, 2, 255},
{ 2, 0, 255}, { 5, 0, 255}, { 9, 0, 255}, { 13, 0, 255}, { 17, 0, 255},
{ 21, 0, 255}, { 25, 0, 255}, { 28, 0, 255}, { 32, 0, 255}, { 36, 0, 255},
{ 40, 0, 255}, { 44, 0, 255}, { 47, 0, 255}, { 51, 0, 255}, { 55, 0, 255},
{ 59, 0, 255}, { 63, 0, 255}, { 67, 0, 255}, { 70, 0, 255}, { 74, 0, 255},
{ 78, 0, 255}, { 82, 0, 255}, { 86, 0, 255}, { 90, 0, 255}, { 93, 0, 255},
{ 97, 0, 255}, {101, 0, 255}, {105, 0, 255}, {109, 0, 255}, {113, 0, 255},
{116, 0, 255}, {120, 0, 255}, {124, 0, 255}, {128, 0, 255}, {132, 0, 255},
{136, 0, 255}, {139, 0, 255}, {143, 0, 255}, {147, 0, 255}, {151, 0, 255},
{155, 0, 255}, {159, 0, 255}, {162, 0, 255}, {166, 0, 255}, {170, 0, 255},
{174, 0, 255}, {178, 0, 255}, {181, 0, 255}, {185, 0, 255}, {189, 0, 255},
{193, 0, 255}, {197, 0, 255}, {201, 0, 255}, {204, 0, 255}, {208, 0, 255},
{212, 0, 255}, {216, 0, 255}, {220, 0, 255}, {224, 0, 255}, {227, 0, 255},
{231, 0, 255}, {235, 0, 255}, {239, 0, 255}, {243, 0, 255}, {247, 0, 255},
{250, 0, 255}, {254, 0, 255}, {252, 0, 252}, {248, 0, 248}, {244, 0, 244},
{240, 0, 240}, {237, 0, 237}, {233, 0, 233}, {229, 0, 229}, {225, 0, 225},
{221, 0, 221}, {217, 0, 217}, {214, 0, 214}, {210, 0, 210}, {206, 0, 206},
{202, 0, 202}, {198, 0, 198}, {195, 0, 195}, {191, 0, 191}, {187, 0, 187},
{183, 0, 183}, {179, 0, 179}, {175, 0, 175}, {172, 0, 172}, {168, 0, 168},
{164, 0, 164}, {160, 0, 160}, {156, 0, 156}, {152, 0, 152}, {149, 0, 149},
{145, 0, 145}, {141, 0, 141}, {137, 0, 137}, {133, 0, 133}, {129, 0, 129},
{126, 0, 126}, {122, 0, 122}, {118, 0, 118}, {114, 0, 114}, {110, 0, 110},
{106, 0, 106}, {103, 0, 103}, { 99, 0, 99}, { 95, 0, 95}, { 91, 0, 91},
{ 87, 0, 87}, { 83, 0, 83}, { 80, 0, 80}, { 76, 0, 76}, { 72, 0, 72},
{ 68, 0, 68}, { 64, 0, 64}, { 60, 0, 60}, { 57, 0, 57}, { 53, 0, 53},
{ 49, 0, 49}, { 45, 0, 45}, { 41, 0, 41}, { 38, 0, 38}, { 34, 0, 34},
{ 30, 0, 30}, { 26, 0, 26}, { 22, 0, 22}, { 18, 0, 18}, { 15, 0, 15},
{ 11, 0, 11}, { 7, 0, 7}, { 3, 0, 3}, { 0, 0, 0}, { 2, 2, 2},
{ 4, 4, 4}, { 6, 6, 6}, { 8, 8, 8}, { 10, 10, 10}, { 12, 12, 12},
{ 14, 14, 14}, { 16, 16, 16}, { 18, 18, 18}, { 20, 20, 20}, { 21, 21, 21},
{ 23, 23, 23}, { 25, 25, 25}, { 27, 27, 27}, { 29, 29, 29}, { 31, 31, 31},
{ 33, 33, 33}, { 35, 35, 35}, { 37, 37, 37}, { 39, 39, 39}, { 41, 41, 41},
{ 43, 43, 43}, { 44, 44, 44}, { 46, 46, 46}, { 48, 48, 48}, { 50, 50, 50},
{ 52, 52, 52}, { 54, 54, 54}, { 56, 56, 56}, { 58, 58, 58}, { 60, 60, 60},
{ 62, 62, 62}, { 64, 64, 64}, { 65, 65, 65}, { 67, 67, 67}, { 69, 69, 69},
{ 71, 71, 71}, { 73, 73, 73}, { 75, 75, 75}, { 77, 77, 77}, { 79, 79, 79},
{ 81, 81, 81}, { 83, 83, 83}, { 85, 85, 85}, { 87, 87, 87}, { 88, 88, 88},
{ 90, 90, 90}, { 92, 92, 92}, { 94, 94, 94}, { 96, 96, 96}, { 98, 98, 98},
{100, 100, 100}, {102, 102, 102}, {104, 104, 104}, {106, 106, 106}, {108, 108, 108},
{110, 110, 110}, {111, 111, 111}, {113, 113, 113}, {115, 115, 115}, {117, 117, 117},
{119, 119, 119}, {121, 121, 121}, {123, 123, 123}, {125, 125, 125}, {127, 127, 127},
{128, 126, 126}, {128, 124, 124}, {128, 123, 123}, {128, 121, 121}, {128, 119, 119},
{128, 117, 117}, {128, 115, 115}, {128, 113, 113}, {128, 111, 111}, {128, 109, 109},
{128, 107, 107}, {128, 105, 105}, {128, 103, 103}, {128, 101, 101}, {128, 100, 100},
{128, 98, 98}, {128, 96, 96}, {128, 94, 94}, {128, 92, 92}, {128, 90, 90},
{128, 88, 88}, {128, 86, 86}, {128, 84, 84}, {128, 82, 82}, {128, 80, 80},
{128, 78, 78}, {128, 77, 77}, {128, 75, 75}, {128, 73, 73}, {128, 71, 71},
{128, 69, 69}, {128, 67, 67}, {128, 65, 65}, {128, 63, 63}, {128, 61, 61},
{128, 59, 59}, {128, 57, 57}, {128, 56, 56}, {128, 54, 54}, {128, 52, 52},
{128, 50, 50}, {128, 48, 48}, {128, 46, 46}, {128, 44, 44}, {128, 42, 42},
{128, 40, 40}, {128, 38, 38}, {128, 36, 36}, {128, 34, 34}, {128, 33, 33},
{128, 31, 31}, {128, 29, 29}, {128, 27, 27}, {128, 25, 25}, {128, 23, 23},
{128, 21, 21}, {128, 19, 19}, {128, 17, 17}, {128, 15, 15}, {128, 13, 13},
{128, 11, 11}, {128, 10, 10}, {128, 8, 8}, {128, 6, 6}, {128, 4, 4},
{128, 2, 2}, {128, 0, 0}, {128, 2, 0}, {128, 4, 0}, {128, 6, 0},
{128, 8, 0}, {128, 10, 0}, {128, 11, 0}, {128, 13, 0}, {128, 15, 0},
{128, 17, 0}, {128, 19, 0}, {128, 21, 0}, {128, 23, 0}, {128, 25, 0},
{128, 27, 0}, {128, 29, 0}, {128, 31, 0}, {128, 33, 0}, {128, 34, 0},
{128, 36, 0}, {128, 38, 0}, {128, 40, 0}, {128, 42, 0}, {128, 44, 0},
{128, 46, 0}, {128, 48, 0}, {128, 50, 0}, {128, 52, 0}, {128, 54, 0},
{128, 56, 0}, {128, 57, 0}, {128, 59, 0}, {128, 61, 0}, {128, 63, 0},
{128, 65, 0}, {128, 67, 0}, {128, 69, 0}, {128, 71, 0}, {128, 73, 0},
{128, 75, 0}, {128, 77, 0}, {128, 78, 0}, {128, 80, 0}, {128, 82, 0},
{128, 84, 0}, {128, 86, 0}, {128, 88, 0}, {128, 90, 0}, {128, 92, 0},
{128, 94, 0}, {128, 96, 0}, {128, 98, 0}, {128, 100, 0}, {128, 101, 0},
{128, 103, 0}, {128, 105, 0}, {128, 107, 0}, {128, 109, 0}, {128, 111, 0},
{128, 113, 0}, {128, 115, 0}, {128, 117, 0}, {128, 119, 0}, {128, 121, 0},
{128, 123, 0}, {128, 124, 0}, {128, 126, 0}, {127, 128, 0}, {125, 128, 0},
{123, 128, 0}, {121, 128, 0}, {119, 128, 0}, {117, 128, 0}, {115, 128, 0},
{113, 128, 0}, {111, 128, 0}, {110, 128, 0}, {108, 128, 0}, {106, 128, 0},
{104, 128, 0}, {102, 128, 0}, {100, 128, 0}, { 98, 128, 0}, { 96, 128, 0},
{ 94, 128, 0}, { 92, 128, 0}, { 90, 128, 0}, { 88, 128, 0}, { 87, 128, 0},
{ 85, 128, 0}, { 83, 128, 0}, { 81, 128, 0}, { 79, 128, 0}, { 77, 128, 0},
{ 75, 128, 0}, { 73, 128, 0}, { 71, 128, 0}, { 69, 128, 0}, { 67, 128, 0},
{ 65, 128, 0}, { 64, 128, 0}, { 62, 128, 0}, { 60, 128, 0}, { 58, 128, 0},
{ 56, 128, 0}, { 54, 128, 0}, { 52, 128, 0}, { 50, 128, 0}, { 48, 128, 0},
{ 46, 128, 0}, { 44, 128, 0}, { 43, 128, 0}, { 41, 128, 0}, { 39, 128, 0},
{ 37, 128, 0}, { 35, 128, 0}, { 33, 128, 0}, { 31, 128, 0}, { 29, 128, 0},
{ 27, 128, 0}, { 25, 128, 0}, { 23, 128, 0}, { 21, 128, 0}, { 20, 128, 0},
{ 18, 128, 0}, { 16, 128, 0}, { 14, 128, 0}, { 12, 128, 0}, { 10, 128, 0},
{ 8, 128, 0}, { 6, 128, 0}, { 4, 128, 0}, { 2, 128, 0}, { 0, 128, 0},
{ 0, 128, 2}, { 0, 128, 3}, { 0, 128, 5}, { 0, 128, 7}, { 0, 128, 9},
{ 0, 128, 11}, { 0, 128, 13}, { 0, 128, 15}, { 0, 128, 17}, { 0, 128, 19},
{ 0, 128, 21}, { 0, 128, 23}, { 0, 128, 25}, { 0, 128, 26}, { 0, 128, 28},
{ 0, 128, 30}, { 0, 128, 32}, { 0, 128, 34}, { 0, 128, 36}, { 0, 128, 38},
{ 0, 128, 40}, { 0, 128, 42}, { 0, 128, 44}, { 0, 128, 46}, { 0, 128, 47},
{ 0, 128, 49}, { 0, 128, 51}, { 0, 128, 53}, { 0, 128, 55}, { 0, 128, 57},
{ 0, 128, 59}, { 0, 128, 61}, { 0, 128, 63}, { 0, 128, 65}, { 0, 128, 67},
{ 0, 128, 69}, { 0, 128, 70}, { 0, 128, 72}, { 0, 128, 74}, { 0, 128, 76},
{ 0, 128, 78}, { 0, 128, 80}, { 0, 128, 82}, { 0, 128, 84}, { 0, 128, 86},
{ 0, 128, 88}, { 0, 128, 90}, { 0, 128, 92}, { 0, 128, 93}, { 0, 128, 95},
{ 0, 128, 97}, { 0, 128, 99}, { 0, 128, 101}, { 0, 128, 103}, { 0, 128, 105},
{ 0, 128, 107}, { 0, 128, 109}, { 0, 128, 111}, { 0, 128, 113}, { 0, 128, 114},
{ 0, 128, 116}, { 0, 128, 118}, { 0, 128, 120}, { 0, 128, 122}, { 0, 128, 124},
{ 0, 128, 126}, { 0, 127, 128}, { 0, 125, 128}, { 0, 123, 128}, { 0, 121, 128},
{ 0, 119, 128}, { 0, 118, 128}, { 0, 116, 128}, { 0, 114, 128}, { 0, 112, 128},
{ 0, 110, 128}, { 0, 108, 128}, { 0, 106, 128}, { 0, 104, 128}, { 0, 102, 128},
{ 0, 100, 128}, { 0, 98, 128}, { 0, 96, 128}, { 0, 95, 128}, { 0, 93, 128},
{ 0, 91, 128}, { 0, 89, 128}, { 0, 87, 128}, { 0, 85, 128}, { 0, 83, 128},
{ 0, 81, 128}, { 0, 79, 128}, { 0, 77, 128}, { 0, 75, 128}, { 0, 74, 128},
{ 0, 72, 128}, { 0, 70, 128}, { 0, 68, 128}, { 0, 66, 128}, { 0, 64, 128},
{ 0, 62, 128}, { 0, 60, 128}, { 0, 58, 128}, { 0, 56, 128}, { 0, 54, 128},
{ 0, 52, 128}, { 0, 51, 128}, { 0, 49, 128}, { 0, 47, 128}, { 0, 45, 128},
{ 0, 43, 128}, { 0, 41, 128}, { 0, 39, 128}, { 0, 37, 128}, { 0, 35, 128},
{ 0, 33, 128}, { 0, 31, 128}, { 0, 29, 128}, { 0, 28, 128}, { 0, 26, 128},
{ 0, 24, 128}, { 0, 22, 128}, { 0, 20, 128}, { 0, 18, 128}, { 0, 16, 128},
{ 0, 14, 128}, { 0, 12, 128}, { 0, 10, 128}, { 0, 8, 128}, { 0, 7, 128},
{ 0, 5, 128}, { 0, 3, 128}, { 0, 1, 128}, { 1, 0, 128}, { 3, 0, 128},
{ 5, 0, 128}, { 7, 0, 128}, { 9, 0, 128}, { 11, 0, 128}, { 13, 0, 128},
{ 15, 0, 128}, { 16, 0, 128}, { 18, 0, 128}, { 20, 0, 128}, { 22, 0, 128},
{ 24, 0, 128}, { 26, 0, 128}, { 28, 0, 128}, { 30, 0, 128}, { 32, 0, 128},
{ 34, 0, 128}, { 36, 0, 128}, { 38, 0, 128}, { 39, 0, 128}, { 41, 0, 128},
{ 43, 0, 128}, { 45, 0, 128}, { 47, 0, 128}, { 49, 0, 128}, { 51, 0, 128},
{ 53, 0, 128}, { 55, 0, 128}, { 57, 0, 128}, { 59, 0, 128}, { 60, 0, 128},
{ 62, 0, 128}, { 64, 0, 128}, { 66, 0, 128}, { 68, 0, 128}, { 70, 0, 128},
{ 72, 0, 128}, { 74, 0, 128}, { 76, 0, 128}, { 78, 0, 128}, { 80, 0, 128},
{ 82, 0, 128}, { 83, 0, 128}, { 85, 0, 128}, { 87, 0, 128}, { 89, 0, 128},
{ 91, 0, 128}, { 93, 0, 128}, { 95, 0, 128}, { 97, 0, 128}, { 99, 0, 128},
{101, 0, 128}, {103, 0, 128}, {105, 0, 128}, {106, 0, 128}, {108, 0, 128},
{110, 0, 128}, {112, 0, 128}, {114, 0, 128}, {116, 0, 128}, {118, 0, 128},
{120, 0, 128}, {122, 0, 128}, {124, 0, 128}, {126, 0, 128}, {128, 0, 128}
};
const rgb_store yarg_colormap[1000] = {
{ 0, 0, 0}, { 0, 0, 0}, { 1, 1, 1}, { 1, 1, 1}, { 1, 1, 1},
{ 1, 1, 1}, { 2, 2, 2}, { 2, 2, 2}, { 2, 2, 2}, { 2, 2, 2},
{ 3, 3, 3}, { 3, 3, 3}, { 3, 3, 3}, { 3, 3, 3}, { 4, 4, 4},
{ 4, 4, 4}, { 4, 4, 4}, { 4, 4, 4}, { 5, 5, 5}, { 5, 5, 5},
{ 5, 5, 5}, { 5, 5, 5}, { 6, 6, 6}, { 6, 6, 6}, { 6, 6, 6},
{ 6, 6, 6}, { 7, 7, 7}, { 7, 7, 7}, { 7, 7, 7}, { 7, 7, 7},
{ 8, 8, 8}, { 8, 8, 8}, { 8, 8, 8}, { 8, 8, 8}, { 9, 9, 9},
{ 9, 9, 9}, { 9, 9, 9}, { 9, 9, 9}, { 10, 10, 10}, { 10, 10, 10},
{ 10, 10, 10}, { 10, 10, 10}, { 11, 11, 11}, { 11, 11, 11}, { 11, 11, 11},
{ 11, 11, 11}, { 12, 12, 12}, { 12, 12, 12}, { 12, 12, 12}, { 13, 13, 13},
{ 13, 13, 13}, { 13, 13, 13}, { 13, 13, 13}, { 14, 14, 14}, { 14, 14, 14},
{ 14, 14, 14}, { 14, 14, 14}, { 15, 15, 15}, { 15, 15, 15}, { 15, 15, 15},
{ 15, 15, 15}, { 16, 16, 16}, { 16, 16, 16}, { 16, 16, 16}, { 16, 16, 16},
{ 17, 17, 17}, { 17, 17, 17}, { 17, 17, 17}, { 17, 17, 17}, { 18, 18, 18},
{ 18, 18, 18}, { 18, 18, 18}, { 18, 18, 18}, { 19, 19, 19}, { 19, 19, 19},
{ 19, 19, 19}, { 19, 19, 19}, { 20, 20, 20}, { 20, 20, 20}, { 20, 20, 20},
{ 20, 20, 20}, { 21, 21, 21}, { 21, 21, 21}, { 21, 21, 21}, { 21, 21, 21},
{ 22, 22, 22}, { 22, 22, 22}, { 22, 22, 22}, { 22, 22, 22}, { 23, 23, 23},
{ 23, 23, 23}, { 23, 23, 23}, { 23, 23, 23}, { 24, 24, 24}, { 24, 24, 24},
{ 24, 24, 24}, { 25, 25, 25}, { 25, 25, 25}, { 25, 25, 25}, { 25, 25, 25},
{ 26, 26, 26}, { 26, 26, 26}, { 26, 26, 26}, { 26, 26, 26}, { 27, 27, 27},
{ 27, 27, 27}, { 27, 27, 27}, { 27, 27, 27}, { 28, 28, 28}, { 28, 28, 28},
{ 28, 28, 28}, { 28, 28, 28}, { 29, 29, 29}, { 29, 29, 29}, { 29, 29, 29},
{ 29, 29, 29}, { 30, 30, 30}, { 30, 30, 30}, { 30, 30, 30}, { 30, 30, 30},
{ 31, 31, 31}, { 31, 31, 31}, { 31, 31, 31}, { 31, 31, 31}, { 32, 32, 32},
{ 32, 32, 32}, { 32, 32, 32}, { 32, 32, 32}, { 33, 33, 33}, { 33, 33, 33},
{ 33, 33, 33}, { 33, 33, 33}, { 34, 34, 34}, { 34, 34, 34}, { 34, 34, 34},
{ 34, 34, 34}, { 35, 35, 35}, { 35, 35, 35}, { 35, 35, 35}, { 35, 35, 35},
{ 36, 36, 36}, { 36, 36, 36}, { 36, 36, 36}, { 37, 37, 37}, { 37, 37, 37},
{ 37, 37, 37}, { 37, 37, 37}, { 38, 38, 38}, { 38, 38, 38}, { 38, 38, 38},
{ 38, 38, 38}, { 39, 39, 39}, { 39, 39, 39}, { 39, 39, 39}, { 39, 39, 39},
{ 40, 40, 40}, { 40, 40, 40}, { 40, 40, 40}, { 40, 40, 40}, { 41, 41, 41},
{ 41, 41, 41}, { 41, 41, 41}, { 41, 41, 41}, { 42, 42, 42}, { 42, 42, 42},
{ 42, 42, 42}, { 42, 42, 42}, { 43, 43, 43}, { 43, 43, 43}, { 43, 43, 43},
{ 43, 43, 43}, { 44, 44, 44}, { 44, 44, 44}, { 44, 44, 44}, { 44, 44, 44},
{ 45, 45, 45}, { 45, 45, 45}, { 45, 45, 45}, { 45, 45, 45}, { 46, 46, 46},
{ 46, 46, 46}, { 46, 46, 46}, { 46, 46, 46}, { 47, 47, 47}, { 47, 47, 47},
{ 47, 47, 47}, { 47, 47, 47}, { 48, 48, 48}, { 48, 48, 48}, { 48, 48, 48},
{ 48, 48, 48}, { 49, 49, 49}, { 49, 49, 49}, { 49, 49, 49}, { 50, 50, 50},
{ 50, 50, 50}, { 50, 50, 50}, { 50, 50, 50}, { 51, 51, 51}, { 51, 51, 51},
{ 51, 51, 51}, { 51, 51, 51}, { 52, 52, 52}, { 52, 52, 52}, { 52, 52, 52},
{ 52, 52, 52}, { 53, 53, 53}, { 53, 53, 53}, { 53, 53, 53}, { 53, 53, 53},
{ 54, 54, 54}, { 54, 54, 54}, { 54, 54, 54}, { 54, 54, 54}, { 55, 55, 55},
{ 55, 55, 55}, { 55, 55, 55}, { 55, 55, 55}, { 56, 56, 56}, { 56, 56, 56},
{ 56, 56, 56}, { 56, 56, 56}, { 57, 57, 57}, { 57, 57, 57}, { 57, 57, 57},
{ 57, 57, 57}, { 58, 58, 58}, { 58, 58, 58}, { 58, 58, 58}, { 58, 58, 58},
{ 59, 59, 59}, { 59, 59, 59}, { 59, 59, 59}, { 59, 59, 59}, { 60, 60, 60},
{ 60, 60, 60}, { 60, 60, 60}, { 60, 60, 60}, { 61, 61, 61}, { 61, 61, 61},
{ 61, 61, 61}, { 62, 62, 62}, { 62, 62, 62}, { 62, 62, 62}, { 62, 62, 62},
{ 63, 63, 63}, { 63, 63, 63}, { 63, 63, 63}, { 63, 63, 63}, { 64, 64, 64},
{ 64, 64, 64}, { 64, 64, 64}, { 64, 64, 64}, { 65, 65, 65}, { 65, 65, 65},
{ 65, 65, 65}, { 65, 65, 65}, { 66, 66, 66}, { 66, 66, 66}, { 66, 66, 66},
{ 66, 66, 66}, { 67, 67, 67}, { 67, 67, 67}, { 67, 67, 67}, { 67, 67, 67},
{ 68, 68, 68}, { 68, 68, 68}, { 68, 68, 68}, { 68, 68, 68}, { 69, 69, 69},
{ 69, 69, 69}, { 69, 69, 69}, { 69, 69, 69}, { 70, 70, 70}, { 70, 70, 70},
{ 70, 70, 70}, { 70, 70, 70}, { 71, 71, 71}, { 71, 71, 71}, { 71, 71, 71},
{ 71, 71, 71}, { 72, 72, 72}, { 72, 72, 72}, { 72, 72, 72}, { 72, 72, 72},
{ 73, 73, 73}, { 73, 73, 73}, { 73, 73, 73}, { 74, 74, 74}, { 74, 74, 74},
{ 74, 74, 74}, { 74, 74, 74}, { 75, 75, 75}, { 75, 75, 75}, { 75, 75, 75},
{ 75, 75, 75}, { 76, 76, 76}, { 76, 76, 76}, { 76, 76, 76}, { 76, 76, 76},
{ 77, 77, 77}, { 77, 77, 77}, { 77, 77, 77}, { 77, 77, 77}, { 78, 78, 78},
{ 78, 78, 78}, { 78, 78, 78}, { 78, 78, 78}, { 79, 79, 79}, { 79, 79, 79},
{ 79, 79, 79}, { 79, 79, 79}, { 80, 80, 80}, { 80, 80, 80}, { 80, 80, 80},
{ 80, 80, 80}, { 81, 81, 81}, { 81, 81, 81}, { 81, 81, 81}, { 81, 81, 81},
{ 82, 82, 82}, { 82, 82, 82}, { 82, 82, 82}, { 82, 82, 82}, { 83, 83, 83},
{ 83, 83, 83}, { 83, 83, 83}, { 83, 83, 83}, { 84, 84, 84}, { 84, 84, 84},
{ 84, 84, 84}, { 84, 84, 84}, { 85, 85, 85}, { 85, 85, 85}, { 85, 85, 85},
{ 86, 86, 86}, { 86, 86, 86}, { 86, 86, 86}, { 86, 86, 86}, { 87, 87, 87},
{ 87, 87, 87}, { 87, 87, 87}, { 87, 87, 87}, { 88, 88, 88}, { 88, 88, 88},
{ 88, 88, 88}, { 88, 88, 88}, { 89, 89, 89}, { 89, 89, 89}, { 89, 89, 89},
{ 89, 89, 89}, { 90, 90, 90}, { 90, 90, 90}, { 90, 90, 90}, { 90, 90, 90},
{ 91, 91, 91}, { 91, 91, 91}, { 91, 91, 91}, { 91, 91, 91}, { 92, 92, 92},
{ 92, 92, 92}, { 92, 92, 92}, { 92, 92, 92}, { 93, 93, 93}, { 93, 93, 93},
{ 93, 93, 93}, { 93, 93, 93}, { 94, 94, 94}, { 94, 94, 94}, { 94, 94, 94},
{ 94, 94, 94}, { 95, 95, 95}, { 95, 95, 95}, { 95, 95, 95}, { 95, 95, 95},
{ 96, 96, 96}, { 96, 96, 96}, { 96, 96, 96}, { 96, 96, 96}, { 97, 97, 97},
{ 97, 97, 97}, { 97, 97, 97}, { 98, 98, 98}, { 98, 98, 98}, { 98, 98, 98},
{ 98, 98, 98}, { 99, 99, 99}, { 99, 99, 99}, { 99, 99, 99}, { 99, 99, 99},
{100, 100, 100}, {100, 100, 100}, {100, 100, 100}, {100, 100, 100}, {101, 101, 101},
{101, 101, 101}, {101, 101, 101}, {101, 101, 101}, {102, 102, 102}, {102, 102, 102},
{102, 102, 102}, {102, 102, 102}, {103, 103, 103}, {103, 103, 103}, {103, 103, 103},
{103, 103, 103}, {104, 104, 104}, {104, 104, 104}, {104, 104, 104}, {104, 104, 104},
{105, 105, 105}, {105, 105, 105}, {105, 105, 105}, {105, 105, 105}, {106, 106, 106},
{106, 106, 106}, {106, 106, 106}, {106, 106, 106}, {107, 107, 107}, {107, 107, 107},
{107, 107, 107}, {107, 107, 107}, {108, 108, 108}, {108, 108, 108}, {108, 108, 108},
{108, 108, 108}, {109, 109, 109}, {109, 109, 109}, {109, 109, 109}, {110, 110, 110},
{110, 110, 110}, {110, 110, 110}, {110, 110, 110}, {111, 111, 111}, {111, 111, 111},
{111, 111, 111}, {111, 111, 111}, {112, 112, 112}, {112, 112, 112}, {112, 112, 112},
{112, 112, 112}, {113, 113, 113}, {113, 113, 113}, {113, 113, 113}, {113, 113, 113},
{114, 114, 114}, {114, 114, 114}, {114, 114, 114}, {114, 114, 114}, {115, 115, 115},
{115, 115, 115}, {115, 115, 115}, {115, 115, 115}, {116, 116, 116}, {116, 116, 116},
{116, 116, 116}, {116, 116, 116}, {117, 117, 117}, {117, 117, 117}, {117, 117, 117},
{117, 117, 117}, {118, 118, 118}, {118, 118, 118}, {118, 118, 118}, {118, 118, 118},
{119, 119, 119}, {119, 119, 119}, {119, 119, 119}, {119, 119, 119}, {120, 120, 120},
{120, 120, 120}, {120, 120, 120}, {120, 120, 120}, {121, 121, 121}, {121, 121, 121},
{121, 121, 121}, {122, 122, 122}, {122, 122, 122}, {122, 122, 122}, {122, 122, 122},
{123, 123, 123}, {123, 123, 123}, {123, 123, 123}, {123, 123, 123}, {124, 124, 124},
{124, 124, 124}, {124, 124, 124}, {124, 124, 124}, {125, 125, 125}, {125, 125, 125},
{125, 125, 125}, {125, 125, 125}, {126, 126, 126}, {126, 126, 126}, {126, 126, 126},
{126, 126, 126}, {127, 127, 127}, {127, 127, 127}, {127, 127, 127}, {127, 127, 127},
{128, 128, 128}, {128, 128, 128}, {128, 128, 128}, {128, 128, 128}, {129, 129, 129},
{129, 129, 129}, {129, 129, 129}, {129, 129, 129}, {130, 130, 130}, {130, 130, 130},
{130, 130, 130}, {130, 130, 130}, {131, 131, 131}, {131, 131, 131}, {131, 131, 131},
{131, 131, 131}, {132, 132, 132}, {132, 132, 132}, {132, 132, 132}, {132, 132, 132},
{133, 133, 133}, {133, 133, 133}, {133, 133, 133}, {133, 133, 133}, {134, 134, 134},
{134, 134, 134}, {134, 134, 134}, {135, 135, 135}, {135, 135, 135}, {135, 135, 135},
{135, 135, 135}, {136, 136, 136}, {136, 136, 136}, {136, 136, 136}, {136, 136, 136},
{137, 137, 137}, {137, 137, 137}, {137, 137, 137}, {137, 137, 137}, {138, 138, 138},
{138, 138, 138}, {138, 138, 138}, {138, 138, 138}, {139, 139, 139}, {139, 139, 139},
{139, 139, 139}, {139, 139, 139}, {140, 140, 140}, {140, 140, 140}, {140, 140, 140},
{140, 140, 140}, {141, 141, 141}, {141, 141, 141}, {141, 141, 141}, {141, 141, 141},
{142, 142, 142}, {142, 142, 142}, {142, 142, 142}, {142, 142, 142}, {143, 143, 143},
{143, 143, 143}, {143, 143, 143}, {143, 143, 143}, {144, 144, 144}, {144, 144, 144},
{144, 144, 144}, {144, 144, 144}, {145, 145, 145}, {145, 145, 145}, {145, 145, 145},
{145, 145, 145}, {146, 146, 146}, {146, 146, 146}, {146, 146, 146}, {147, 147, 147},
{147, 147, 147}, {147, 147, 147}, {147, 147, 147}, {148, 148, 148}, {148, 148, 148},
{148, 148, 148}, {148, 148, 148}, {149, 149, 149}, {149, 149, 149}, {149, 149, 149},
{149, 149, 149}, {150, 150, 150}, {150, 150, 150}, {150, 150, 150}, {150, 150, 150},
{151, 151, 151}, {151, 151, 151}, {151, 151, 151}, {151, 151, 151}, {152, 152, 152},
{152, 152, 152}, {152, 152, 152}, {152, 152, 152}, {153, 153, 153}, {153, 153, 153},
{153, 153, 153}, {153, 153, 153}, {154, 154, 154}, {154, 154, 154}, {154, 154, 154},
{154, 154, 154}, {155, 155, 155}, {155, 155, 155}, {155, 155, 155}, {155, 155, 155},
{156, 156, 156}, {156, 156, 156}, {156, 156, 156}, {156, 156, 156}, {157, 157, 157},
{157, 157, 157}, {157, 157, 157}, {157, 157, 157}, {158, 158, 158}, {158, 158, 158},
{158, 158, 158}, {159, 159, 159}, {159, 159, 159}, {159, 159, 159}, {159, 159, 159},
{160, 160, 160}, {160, 160, 160}, {160, 160, 160}, {160, 160, 160}, {161, 161, 161},
{161, 161, 161}, {161, 161, 161}, {161, 161, 161}, {162, 162, 162}, {162, 162, 162},
{162, 162, 162}, {162, 162, 162}, {163, 163, 163}, {163, 163, 163}, {163, 163, 163},
{163, 163, 163}, {164, 164, 164}, {164, 164, 164}, {164, 164, 164}, {164, 164, 164},
{165, 165, 165}, {165, 165, 165}, {165, 165, 165}, {165, 165, 165}, {166, 166, 166},
{166, 166, 166}, {166, 166, 166}, {166, 166, 166}, {167, 167, 167}, {167, 167, 167},
{167, 167, 167}, {167, 167, 167}, {168, 168, 168}, {168, 168, 168}, {168, 168, 168},
{168, 168, 168}, {169, 169, 169}, {169, 169, 169}, {169, 169, 169}, {169, 169, 169},
{170, 170, 170}, {170, 170, 170}, {170, 170, 170}, {171, 171, 171}, {171, 171, 171},
{171, 171, 171}, {171, 171, 171}, {172, 172, 172}, {172, 172, 172}, {172, 172, 172},
{172, 172, 172}, {173, 173, 173}, {173, 173, 173}, {173, 173, 173}, {173, 173, 173},
{174, 174, 174}, {174, 174, 174}, {174, 174, 174}, {174, 174, 174}, {175, 175, 175},
{175, 175, 175}, {175, 175, 175}, {175, 175, 175}, {176, 176, 176}, {176, 176, 176},
{176, 176, 176}, {176, 176, 176}, {177, 177, 177}, {177, 177, 177}, {177, 177, 177},
{177, 177, 177}, {178, 178, 178}, {178, 178, 178}, {178, 178, 178}, {178, 178, 178},
{179, 179, 179}, {179, 179, 179}, {179, 179, 179}, {179, 179, 179}, {180, 180, 180},
{180, 180, 180}, {180, 180, 180}, {180, 180, 180}, {181, 181, 181}, {181, 181, 181},
{181, 181, 181}, {181, 181, 181}, {182, 182, 182}, {182, 182, 182}, {182, 182, 182},
{183, 183, 183}, {183, 183, 183}, {183, 183, 183}, {183, 183, 183}, {184, 184, 184},
{184, 184, 184}, {184, 184, 184}, {184, 184, 184}, {185, 185, 185}, {185, 185, 185},
{185, 185, 185}, {185, 185, 185}, {186, 186, 186}, {186, 186, 186}, {186, 186, 186},
{186, 186, 186}, {187, 187, 187}, {187, 187, 187}, {187, 187, 187}, {187, 187, 187},
{188, 188, 188}, {188, 188, 188}, {188, 188, 188}, {188, 188, 188}, {189, 189, 189},
{189, 189, 189}, {189, 189, 189}, {189, 189, 189}, {190, 190, 190}, {190, 190, 190},
{190, 190, 190}, {190, 190, 190}, {191, 191, 191}, {191, 191, 191}, {191, 191, 191},
{191, 191, 191}, {192, 192, 192}, {192, 192, 192}, {192, 192, 192}, {192, 192, 192},
{193, 193, 193}, {193, 193, 193}, {193, 193, 193}, {193, 193, 193}, {194, 194, 194},
{194, 194, 194}, {194, 194, 194}, {195, 195, 195}, {195, 195, 195}, {195, 195, 195},
{195, 195, 195}, {196, 196, 196}, {196, 196, 196}, {196, 196, 196}, {196, 196, 196},
{197, 197, 197}, {197, 197, 197}, {197, 197, 197}, {197, 197, 197}, {198, 198, 198},
{198, 198, 198}, {198, 198, 198}, {198, 198, 198}, {199, 199, 199}, {199, 199, 199},
{199, 199, 199}, {199, 199, 199}, {200, 200, 200}, {200, 200, 200}, {200, 200, 200},
{200, 200, 200}, {201, 201, 201}, {201, 201, 201}, {201, 201, 201}, {201, 201, 201},
{202, 202, 202}, {202, 202, 202}, {202, 202, 202}, {202, 202, 202}, {203, 203, 203},
{203, 203, 203}, {203, 203, 203}, {203, 203, 203}, {204, 204, 204}, {204, 204, 204},
{204, 204, 204}, {204, 204, 204}, {205, 205, 205}, {205, 205, 205}, {205, 205, 205},
{205, 205, 205}, {206, 206, 206}, {206, 206, 206}, {206, 206, 206}, {207, 207, 207},
{207, 207, 207}, {207, 207, 207}, {207, 207, 207}, {208, 208, 208}, {208, 208, 208},
{208, 208, 208}, {208, 208, 208}, {209, 209, 209}, {209, 209, 209}, {209, 209, 209},
{209, 209, 209}, {210, 210, 210}, {210, 210, 210}, {210, 210, 210}, {210, 210, 210},
{211, 211, 211}, {211, 211, 211}, {211, 211, 211}, {211, 211, 211}, {212, 212, 212},
{212, 212, 212}, {212, 212, 212}, {212, 212, 212}, {213, 213, 213}, {213, 213, 213},
{213, 213, 213}, {213, 213, 213}, {214, 214, 214}, {214, 214, 214}, {214, 214, 214},
{214, 214, 214}, {215, 215, 215}, {215, 215, 215}, {215, 215, 215}, {215, 215, 215},
{216, 216, 216}, {216, 216, 216}, {216, 216, 216}, {216, 216, 216}, {217, 217, 217},
{217, 217, 217}, {217, 217, 217}, {217, 217, 217}, {218, 218, 218}, {218, 218, 218},
{218, 218, 218}, {218, 218, 218}, {219, 219, 219}, {219, 219, 219}, {219, 219, 219},
{220, 220, 220}, {220, 220, 220}, {220, 220, 220}, {220, 220, 220}, {221, 221, 221},
{221, 221, 221}, {221, 221, 221}, {221, 221, 221}, {222, 222, 222}, {222, 222, 222},
{222, 222, 222}, {222, 222, 222}, {223, 223, 223}, {223, 223, 223}, {223, 223, 223},
{223, 223, 223}, {224, 224, 224}, {224, 224, 224}, {224, 224, 224}, {224, 224, 224},
{225, 225, 225}, {225, 225, 225}, {225, 225, 225}, {225, 225, 225}, {226, 226, 226},
{226, 226, 226}, {226, 226, 226}, {226, 226, 226}, {227, 227, 227}, {227, 227, 227},
{227, 227, 227}, {227, 227, 227}, {228, 228, 228}, {228, 228, 228}, {228, 228, 228},
{228, 228, 228}, {229, 229, 229}, {229, 229, 229}, {229, 229, 229}, {229, 229, 229},
{230, 230, 230}, {230, 230, 230}, {230, 230, 230}, {230, 230, 230}, {231, 231, 231},
{231, 231, 231}, {231, 231, 231}, {232, 232, 232}, {232, 232, 232}, {232, 232, 232},
{232, 232, 232}, {233, 233, 233}, {233, 233, 233}, {233, 233, 233}, {233, 233, 233},
{234, 234, 234}, {234, 234, 234}, {234, 234, 234}, {234, 234, 234}, {235, 235, 235},
{235, 235, 235}, {235, 235, 235}, {235, 235, 235}, {236, 236, 236}, {236, 236, 236},
{236, 236, 236}, {236, 236, 236}, {237, 237, 237}, {237, 237, 237}, {237, 237, 237},
{237, 237, 237}, {238, 238, 238}, {238, 238, 238}, {238, 238, 238}, {238, 238, 238},
{239, 239, 239}, {239, 239, 239}, {239, 239, 239}, {239, 239, 239}, {240, 240, 240},
{240, 240, 240}, {240, 240, 240}, {240, 240, 240}, {241, 241, 241}, {241, 241, 241},
{241, 241, 241}, {241, 241, 241}, {242, 242, 242}, {242, 242, 242}, {242, 242, 242},
{242, 242, 242}, {243, 243, 243}, {243, 243, 243}, {243, 243, 243}, {244, 244, 244},
{244, 244, 244}, {244, 244, 244}, {244, 244, 244}, {245, 245, 245}, {245, 245, 245},
{245, 245, 245}, {245, 245, 245}, {246, 246, 246}, {246, 246, 246}, {246, 246, 246},
{246, 246, 246}, {247, 247, 247}, {247, 247, 247}, {247, 247, 247}, {247, 247, 247},
{248, 248, 248}, {248, 248, 248}, {248, 248, 248}, {248, 248, 248}, {249, 249, 249},
{249, 249, 249}, {249, 249, 249}, {249, 249, 249}, {250, 250, 250}, {250, 250, 250},
{250, 250, 250}, {250, 250, 250}, {251, 251, 251}, {251, 251, 251}, {251, 251, 251},
{251, 251, 251}, {252, 252, 252}, {252, 252, 252}, {252, 252, 252}, {252, 252, 252},
{253, 253, 253}, {253, 253, 253}, {253, 253, 253}, {253, 253, 253}, {254, 254, 254},
{254, 254, 254}, {254, 254, 254}, {254, 254, 254}, {255, 255, 255}, {255, 255, 255}
};
#endif
| keaton-freude/Nimble | Externals/Bitmap/bitmap_image.hpp | C++ | mit | 218,868 |
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-autocodeparameterrender',
templateUrl: './autocodeparameterrender.component.html',
styleUrls: ['./autocodeparameterrender.component.css', './_autocodeparameterrender.component.scss', '../_app.general.scss']
})
export class AutocodeparameterrenderComponent implements OnInit {
@Input() data: any;
constructor() { }
ngOnInit() {
}
}
| huiliangzhang/WebpageFormatter | WebpageFormatterPop/src/app/autocodeparameterrender/autocodeparameterrender.component.ts | TypeScript | mit | 436 |
## intro
This image is intended for git repository one way sync. It makes target
repository a mirror of source repository, including branches and tags.
__Make sure that target service allows force pushing to all branches.__
__Also note that any changes in target repository will be lost__
## supported env vars
### NFQ_SOURCE_REPO (required)
Repository URL to clone changes from
### NFQ_TARGET_REPO (required)
Repository URL to push changes to
### NFQ_SECRET_SOURCE_KEY (optional)
SSH private key prodived as string. Used in all git source repo operations
### NFQ_SECRET_DESTINATION_KEY (optional)
SSH private key prodived as string. Used in all git destination repo operations
| nfq-technologies/docker-images | gitsync/README.md | Markdown | mit | 695 |
var watchers = Object.create(null);
var wait = function (linkid, callback) {
watchers[linkid] = cross("options", "/:care-" + linkid).success(function (res) {
if (watchers[linkid]) wait(linkid, callback);
var a = JSAM.parse(res.responseText);
if (isFunction(callback)) a.forEach(b => callback(b));
}).error(function () {
if (watchers[linkid]) wait(linkid, callback);
});
};
var kill = function (linkid) {
var r = watchers[linkid];
delete watchers[linkid];
if (r) r.abort();
};
var block_size = 1024;
var cast = function (linkid, data) {
data = encode(data);
var inc = 0, size = block_size;
return new Promise(function (ok, oh) {
var run = function () {
if (inc > data.length) return ok();
cross("options", "/:cast-" + linkid + "?" + data.slice(inc, inc + size)).success(run).error(oh);
inc += size;
};
run();
}).then(function () {
if (inc === data.length) {
return cast(linkid, '');
}
});
};
var encode = function (data) {
var str = encodeURIComponent(data.replace(/\-/g, '--')).replace(/%/g, '-');
return str;
};
var decode = function (params) {
params = params.replace(/\-\-|\-/g, a => a === '-' ? '%' : '-');
params = decodeURIComponent(params);
return params;
};
function serve(listener) {
return new Promise(function (ok, oh) {
cross("options", "/:link").success(function (res) {
var responseText = res.responseText;
wait(responseText, listener);
ok(responseText);
}).error(oh);
})
}
function servd(getdata) {
return serve(function (linkid) {
cast(linkid, JSAM.stringify(getdata()));
});
}
function servp(linkto) {
return new Promise(function (ok, oh) {
var blocks = [], _linkid;
serve(function (block) {
blocks.push(block);
if (block.length < block_size) {
var data = decode(blocks.join(''));
ok(JSAM.parse(data));
kill(_linkid);
}
}).then(function (linkid) {
cast(linkto, linkid);
_linkid = linkid;
}, oh);
});
}
serve.servd = servd;
serve.servp = servp;
serve.kill = kill;
| yunxu1019/efront | coms/zimoli/serve.js | JavaScript | mit | 2,289 |
/**
* This cli.js test file tests the `gnode` wrapper executable via
* `child_process.spawn()`. Generator syntax is *NOT* enabled for these
* test cases.
*/
var path = require('path');
var assert = require('assert');
var semver = require('semver');
var spawn = require('child_process').spawn;
// node executable
var node = process.execPath || process.argv[0];
var gnode = path.resolve(__dirname, '..', 'bin', 'gnode');
// chdir() to the "test" dir, so that relative test filenames work as expected
process.chdir(path.resolve(__dirname, 'cli'));
describe('command line interface', function () {
this.slow(1000);
this.timeout(2000);
cli([ '-v' ], 'should output the version number', function (child, done) {
buffer(child.stdout, function (err, data) {
assert(semver.valid(data.trim()));
done();
});
});
cli([ '--help' ], 'should output the "help" display', function (child, done) {
buffer(child.stdout, function (err, data) {
assert(/^Usage\: (node|iojs)/.test(data));
done();
});
});
cli([ 'check.js' ], 'should quit with a SUCCESS exit code', function (child, done) {
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
done();
});
});
cli([ 'nonexistant.js' ], 'should quit with a FAILURE exit code', function (child, done) {
child.on('exit', function (code) {
assert(code != 0, 'gnode quit with exit code: ' + code);
done();
});
});
cli([ 'argv.js', '1', 'foo' ], 'should have a matching `process.argv`', function (child, done) {
buffer(child.stdout, function (err, data) {
if (err) return done(err);
data = JSON.parse(data);
assert('argv.js' == path.basename(data[1]));
assert('1' == data[2]);
assert('foo' == data[3]);
done();
});
});
cli([ '--harmony_generators', 'check.js' ], 'should not output the "unrecognized flag" warning', function (child, done) {
var async = 2;
buffer(child.stderr, function (err, data) {
if (err) return done(err);
assert(!/unrecognized flag/.test(data), 'got stderr data: ' + JSON.stringify(data));
--async || done();
});
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
--async || done();
});
});
cli([], 'should work properly over stdin', function (child, done) {
child.stdin.end(
'var assert = require("assert");' +
'function *test () {};' +
'var t = test();' +
'assert("function" == typeof t.next);' +
'assert("function" == typeof t.throw);'
);
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
done();
});
});
if (!/^v0.8/.test(process.version)) cli(['-p', 'function *test () {yield 3}; test().next().value;'], 'should print result with -p', function (child, done) {
var async = 2
buffer(child.stdout, function (err, data) {
if (err) return done(err);
assert('3' == data.trim(), 'gnode printed ' + data);
--async || done();
});
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
--async || done();
});
});
cli(['-e', 'function *test () {yield 3}; console.log(test().next().value);'], 'should print result with -e', function (child, done) {
var async = 2
buffer(child.stdout, function (err, data) {
if (err) return done(err);
assert('3' == data.trim(), 'expected 3, got: ' + data);
--async || done();
});
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
--async || done();
});
});
cli(['--harmony_generators', '-e', 'function *test () {yield 3}; console.log(test().next().value);'], 'should print result with -e', function (child, done) {
var async = 2
buffer(child.stdout, function (err, data) {
if (err) return done(err);
assert('3' == data.trim(), 'gnode printed ' + data);
--async || done();
});
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
--async || done();
});
});
cli(['-e', 'console.log(JSON.stringify(process.argv))', 'a', 'b', 'c'], 'should pass additional arguments after -e', function (child, done) {
var async = 2
buffer(child.stdout, function (err, data) {
if (err) return done(err);
data = JSON.parse(data)
assert.deepEqual(['a', 'b', 'c'], data.slice(2))
--async || done();
});
child.on('exit', function (code) {
assert(code == 0, 'gnode quit with exit code: ' + code);
--async || done();
});
});
});
function cli (argv, name, fn) {
describe('gnode ' + argv.join(' '), function () {
it(name, function (done) {
var child = spawn(node, [ gnode ].concat(argv));
fn(child, done);
});
});
}
function buffer (stream, fn) {
var buffers = '';
stream.setEncoding('utf8');
stream.on('data', ondata);
stream.on('end', onend);
stream.on('error', onerror);
function ondata (b) {
buffers += b;
}
function onend () {
stream.removeListener('error', onerror);
fn(null, buffers);
}
function onerror (err) {
fn(err);
}
}
| TooTallNate/gnode | test/cli.js | JavaScript | mit | 5,286 |
<?php
namespace Insales\AppBundle\Lib;
use Symfony\Component\DependencyInjection\ContainerAware;
use Insales\AppBundle\Services\Myapp;
/*
* ะะปะฐัั ะบะพัะพััะน ัะพั
ัะฐะฝัะตััั ะฒ ัะตััะธั ะธ ั
ัะฐะฝะธั ะดะฐะฝะฝัะต ะพะฑ ะฐะฒัะพัะธะทะฐัะธะธ
*/
class Application
{
protected $authorized;
protected $shop;
protected $password;
protected $api_secret;
protected $api_key;
protected $api_host;
protected $api_autologin_path;
protected $auth_token;
protected $salt;
public function __construct($shop, $password, $api_secret, $api_key, $api_host, $api_autologin_path)
{
$this->authorized = false;
$this->shop = $shop;
$this->password = $password;
$this->api_secret = $api_secret;
$this->api_key = $api_key;
$this->api_host = $api_host;
$this->api_autologin_path = $api_autologin_path;
}
public function authorizationUrl()
{
$this->storeAuthToken();
return "http://$this->shop/admin/applications/$this->api_key/login?token=$this->salt&login=http://$this->api_host/$this->api_autologin_path";
}
public function getShop()
{
return $this->shop;
}
public function isAuthorized()
{
return $this->authorized;
}
public function storeAuthToken()
{
if (strlen($this->auth_token) == 0)
{
$this->auth_token = Myapp::generatePassword($this->password, $this->salt());
}
return $this->auth_token;
}
public function authorize($token)
{
$this->authorized = false;
if ($this->auth_token && $this->auth_token == $token)
{
$this->authorized = true;
}
return $this->authorized;
}
public function salt()
{
if (strlen($this->salt) == 0)
{
$this->salt = md5("Twulvyeik".getmypid().time()."thithAwn");
}
return $this->salt;
}
}
| insales/insales_php_application | src/Insales/AppBundle/Lib/Application.php | PHP | mit | 1,976 |
๏ปฟusing System;
namespace CUDAnshita {
/// <summary>
/// C# interface exception.
/// </summary>
public class CudaException : Exception {
public CudaException() {
}
public CudaException(string message) : base(message) {
}
public CudaException(string message, Exception innerException) : base(message, innerException) {
}
public static void Check(cudaError error, string message) {
if (error != cudaError.cudaSuccess) {
message = string.Format("{0}: {1}", error.ToString(), message);
Exception exception = new CudaException(message);
exception.Data.Add("cudaError", error);
throw exception;
}
}
public static void Check(CUresult error, string message) {
if (error != CUresult.CUDA_SUCCESS) {
message = string.Format("{0}: {1}", error.ToString(), message);
Exception exception = new CudaException(message);
exception.Data.Add("CUresult", error);
throw exception;
}
}
}
}
| hikipuro/CUDAnshita | CUDAnshita/Errors/CudaException.cs | C# | mit | 941 |
"""Module containing character feature extractors."""
import string
from unstyle.features.featregister import register_feat
@register_feat
def characterSpace(text):
"""Return the total number of characters."""
return len(text)
@register_feat
def letterSpace(text):
"""Return the total number of letters (excludes spaces and punctuation)"""
count = 0
alphabet = string.ascii_lowercase + string.ascii_uppercase
for char in text:
if char in alphabet:
count += 1
return count
| pagea/unstyle | unstyle/features/characterfeatures.py | Python | mit | 526 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gappa: 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.2 / gappa - 1.3.2</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
gappa
<small>
1.3.2
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-12-25 14:20:56 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-25 14:20:56 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.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.11.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.2 Official release 4.11.2
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "guillaume.melquiond@inria.fr"
homepage: "https://gappa.gitlabpages.inria.fr/"
dev-repo: "git+https://gitlab.inria.fr/gappa/coq.git"
bug-reports: "https://gitlab.inria.fr/gappa/coq/issues"
license: "LGPL 2.1"
build: [
["./configure"]
["./remake" "-j%{jobs}%"]
]
install: ["./remake" "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Gappa"]
depends: [
"ocaml"
"coq" {>= "8.4pl4" & < "8.7~" & != "8.4.6~camlp4" & != "8.5.0~camlp4" & != "8.5.2~camlp4"}
"coq-flocq" {>= "2.5" & < "3.0~"}
]
tags: [
"keyword:floating-point arithmetic"
"keyword:interval arithmetic"
"keyword:decision procedure"
"category:Computer Science/Decision Procedures and Certified Algorithms/Decision procedures"
]
authors: [ "Guillaume Melquiond <guillaume.melquiond@inria.fr>" ]
synopsis: "A Coq tactic for discharging goals about floating-point arithmetic and round-off errors using the Gappa prover"
flags: light-uninstall
url {
src: "https://gappa.gitlabpages.inria.fr/releases/gappalib-coq-1.3.2.tar.gz"
checksum: "md5=d0374859edfc92f490ac291bbcea3341"
}
</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-gappa.1.3.2 coq.8.11.2</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.2).
The following dependencies couldn't be met:
- coq-gappa -> coq < 8.7~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' 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-gappa.1.3.2</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.11.2-2.0.7/released/8.11.2/gappa/1.3.2.html | HTML | mit | 6,986 |
from django.db import models
from django.contrib.auth.models import User
from police.models import Stationdata
class general_diary(models.Model):
ref_id = models.CharField(max_length=40,unique=True,default="00000")
firstname = models.CharField(max_length=20)
lastname = models.CharField(max_length=20)
mobile = models.CharField(max_length=10)
email = models.CharField(max_length=80)
address = models.TextField()
DOB = models.DateField('date of birth')
idType_1 = models.CharField(max_length=10)
idType_1_value = models.CharField(max_length=15)
idType_2 = models.CharField(max_length=20)
idType_2_value = models.CharField(max_length=15)
StationCode = models.ForeignKey(Stationdata)
Subject = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
detail = models.TextField()
Time = models.DateTimeField('Occurence')
Place = models.CharField(max_length=200)
Loss = models.CharField(max_length=200)
OTP = models.BooleanField(default=False)
def __str__(self): # __unicode__ on Python 2
return self.Subject
class Fir(models.Model):
ref_id = models.CharField(max_length=40,unique=True,default="00000")
firstname = models.CharField(max_length=20)
lastname = models.CharField(max_length=20)
mobile = models.CharField(max_length=10)
email = models.CharField(max_length=80)
address = models.TextField()
DOB = models.DateField('date of birth')
idType_1 = models.CharField(max_length=10)
idType_1_value = models.CharField(max_length=15)
idType_2 = models.CharField(max_length=20)
idType_2_value = models.CharField(max_length=15)
StationCode = models.ForeignKey(Stationdata)
Subject = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
detail = models.TextField()
Suspect = models.CharField(max_length=500)
Time = models.DateTimeField('Occurence')
Place = models.CharField(max_length=200)
Witness = models.CharField(max_length=500)
Loss = models.CharField(max_length=200)
OTP = models.BooleanField(default=False)
def __str__(self): # __unicode__ on Python 2
return self.Subject
class lookup_table(models.Model):
ref_id = models.CharField(max_length=40,unique=True,default="00000")
hashmap = models.CharField(max_length=70,unique=True,default="00000")
type = models.CharField(max_length=5,default="GD")
def __str__(self): # __unicode__ on Python 2
return self.hashmap | Ghost-script/Online-FIR-General-Diary-lodging-System | Web_App/Web_App/models.py | Python | mit | 2,567 |
var group___s_t_m32_f4xx___h_a_l___driver =
[
[ "CRC", "group___c_r_c.html", "group___c_r_c" ],
[ "GPIOEx", "group___g_p_i_o_ex.html", "group___g_p_i_o_ex" ],
[ "AHB3 Peripheral Clock Enable Disable", "group___r_c_c_ex___a_h_b3___clock___enable___disable.html", null ],
[ "HAL", "group___h_a_l.html", "group___h_a_l" ],
[ "ADC", "group___a_d_c.html", "group___a_d_c" ],
[ "ADCEx", "group___a_d_c_ex.html", "group___a_d_c_ex" ],
[ "CORTEX", "group___c_o_r_t_e_x.html", "group___c_o_r_t_e_x" ],
[ "DMA", "group___d_m_a.html", "group___d_m_a" ],
[ "DMAEx", "group___d_m_a_ex.html", "group___d_m_a_ex" ],
[ "FLASH", "group___f_l_a_s_h.html", "group___f_l_a_s_h" ],
[ "FLASHEx", "group___f_l_a_s_h_ex.html", "group___f_l_a_s_h_ex" ],
[ "GPIO", "group___g_p_i_o.html", "group___g_p_i_o" ],
[ "I2C", "group___i2_c.html", "group___i2_c" ],
[ "I2S", "group___i2_s.html", "group___i2_s" ],
[ "I2SEx", "group___i2_s_ex.html", "group___i2_s_ex" ],
[ "IRDA", "group___i_r_d_a.html", "group___i_r_d_a" ],
[ "IWDG", "group___i_w_d_g.html", "group___i_w_d_g" ],
[ "NAND", "group___n_a_n_d.html", null ],
[ "NOR", "group___n_o_r.html", null ],
[ "PWR", "group___p_w_r.html", "group___p_w_r" ],
[ "PWREx", "group___p_w_r_ex.html", "group___p_w_r_ex" ],
[ "RCC", "group___r_c_c.html", "group___r_c_c" ],
[ "RCCEx", "group___r_c_c_ex.html", "group___r_c_c_ex" ],
[ "RTC", "group___r_t_c.html", "group___r_t_c" ],
[ "RTCEx", "group___r_t_c_ex.html", "group___r_t_c_ex" ],
[ "SAI", "group___s_a_i.html", "group___s_a_i" ],
[ "SAIEx", "group___s_a_i_ex.html", "group___s_a_i_ex" ],
[ "SMARTCARD", "group___s_m_a_r_t_c_a_r_d.html", "group___s_m_a_r_t_c_a_r_d" ],
[ "SPI", "group___s_p_i.html", "group___s_p_i" ],
[ "TIM", "group___t_i_m.html", "group___t_i_m" ],
[ "TIMEx", "group___t_i_m_ex.html", "group___t_i_m_ex" ],
[ "UART", "group___u_a_r_t.html", "group___u_a_r_t" ],
[ "USART", "group___u_s_a_r_t.html", "group___u_s_a_r_t" ],
[ "WWDG", "group___w_w_d_g.html", "group___w_w_d_g" ],
[ "FMC_LL", "group___f_m_c___l_l.html", "group___f_m_c___l_l" ],
[ "FSMC_LL", "group___f_s_m_c___l_l.html", null ]
]; | team-diana/nucleo-dynamixel | docs/html/group___s_t_m32_f4xx___h_a_l___driver.js | JavaScript | mit | 2,228 |
import React from 'react'
import { compose } from 'redux'
import { connect } from 'react-redux'
import { Field, FieldArray, reduxForm } from 'redux-form'
import { amount, autocomplete, debitCredit } from './Fields'
import { Button, FontIcon } from 'react-toolbox'
import { getAutocomplete } from 'modules/autocomplete'
import { create } from 'modules/entities/journalEntryCreatedEvents'
import classes from './JournalEntryForm.scss'
import { fetch as fetchLedgers } from 'modules/entities/ledgers'
const validate = (values) => {
const errors = {}
return errors
}
const renderRecords = ({ fields, meta: { touched, error, submitFailed }, ledgers, financialFactId }) => (
<div>
<div>
<Button onClick={() => fields.push({})}> <FontIcon value='add' /></Button>
{(touched || submitFailed) && error && <span>{error}</span>}
</div>
<div className={classes.recordsList}>
{fields.map((record, index) =>
<div key={index}>
<Button
onClick={() => fields.remove(index)}> <FontIcon value='remove' /></Button>
<div className={classes.journalEntryField}>
<Field name={`${record}.ledger`}
component={autocomplete}
label='Ledger'
source={ledgers}
multiple={false}
/>
</div>
<div className={classes.journalEntryField}>
<Field
name={`${record}.debitCredit`}
component={debitCredit}
label='Debit/credit' />
</div>
<div className={classes.journalEntryField}>
<Field
name={`${record}.amount`}
component={amount}
label='Amount' />
</div>
</div>
)}
</div>
</div>
)
const JournalEntryForm = (props) => {
const { ledgers, handleSubmit, submitting, reset } = props
return (
<div className={classes.journalEntryForm}>
<form onSubmit={handleSubmit}>
<FieldArray name='records' component={renderRecords} ledgers={ledgers} />
<Button type='submit' disabled={submitting}>Submit</Button>
<Button type='button' disabled={submitting} onClick={reset}>Clear</Button>
</form>
</div>
)
}
const onSubmit = (values) => {
return create({
values: {
...values
}
})
}
const mapDispatchToProps = {
onSubmit,
fetchLedgers
}
const mapStateToProps = (state) => {
return {
ledgers: getAutocomplete(state, 'ledgers')
}
}
export default compose(
connect(mapStateToProps, mapDispatchToProps),
reduxForm({
form: 'JournalEntryForm',
validate
}))(JournalEntryForm)
| joris77/admin-web | src/forms/JournalEntryForm.js | JavaScript | mit | 2,642 |
#ifndef __CORPUS_H
#define __CORPUS_H
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <unordered_map>
#include "types.h"
using std::vector;
using std::string;
using std::unordered_map;
class Corpus
{
public:
Corpus(const char *vocabPath, const char *dataPath);
Corpus(const Corpus &from, int start, int end);
// this is wdn, store words in each document
vector<vector<TWord>> dw;
vector<string> vocab;
unordered_map<string, TWord> word2id;
TDoc D;
TWord W;
TSize T;
};
#endif
| thu-ml/BigTopicModel | src/util/corpus.h | C | mit | 555 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>algebra: 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.1 / algebra - 8.5.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
algebra
<small>
8.5.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2021-11-05 07:20:37 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-05 07:20:37 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.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.09.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1 Official release 4.09.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "matej.kosik@inria.fr"
homepage: "https://github.com/coq-contribs/algebra"
license: "LGPL 2"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Algebra"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
tags: [ "keyword:algebra" "category:Mathematics/Algebra" "date:1999-03" ]
authors: [ "Loรฏc Pottier <>" ]
bug-reports: "https://github.com/coq-contribs/algebra/issues"
dev-repo: "git+https://github.com/coq-contribs/algebra.git"
synopsis: "Basics notions of algebra"
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/algebra/archive/v8.5.0.tar.gz"
checksum: "md5=9ef1b5f1f670d56a55aef37d8c511df9"
}
</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-algebra.8.5.0 coq.8.9.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.9.1).
The following dependencies couldn't be met:
- coq-algebra -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' 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-algebra.8.5.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.09.1-2.0.6/released/8.9.1/algebra/8.5.0.html | HTML | mit | 6,620 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>presburger: 1 m 0 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.9.0 / presburger - 8.9.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
presburger
<small>
8.9.0
<span class="label label-success">1 m 0 s ๐</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-03-06 09:57:06 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-06 09:57:06 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 2 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.09.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1 Official release 4.09.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/presburger"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Presburger"]
depends: [
"ocaml"
"coq" {>= "8.9" & < "8.10~"}
]
tags: [
"keyword: integers"
"keyword: arithmetic"
"keyword: decision procedure"
"keyword: Presburger"
"category: Mathematics/Logic/Foundations"
"category: Mathematics/Arithmetic and Number Theory/Miscellaneous"
"category: Computer Science/Decision Procedures and Certified Algorithms/Decision procedures"
"date: March 2002"
]
authors: [
"Laurent Thรฉry"
]
bug-reports: "https://github.com/coq-contribs/presburger/issues"
dev-repo: "git+https://github.com/coq-contribs/presburger.git"
synopsis: "Presburger's algorithm"
description: """
A formalization of Presburger's algorithm as stated in
the initial paper by Presburger."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/presburger/archive/v8.9.0.tar.gz"
checksum: "md5=f3c4e9c316149a8bc03bde86b6c4a2bf"
}
</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-presburger.8.9.0 coq.8.9.0</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-presburger.8.9.0 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>10 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-presburger.8.9.0 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 m 0 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 3 M</p>
<ul>
<li>180 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Lift.vo</code></li>
<li>161 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Normal.vo</code></li>
<li>153 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Lift.glob</code></li>
<li>149 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Zdivides.vo</code></li>
<li>126 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Sort.vo</code></li>
<li>122 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/ReduceEq.glob</code></li>
<li>121 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/GroundN.vo</code></li>
<li>118 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/ReduceCong.vo</code></li>
<li>111 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Elim.vo</code></li>
<li>111 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Zdivides.glob</code></li>
<li>109 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/ReduceEq.vo</code></li>
<li>108 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Process.vo</code></li>
<li>105 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Factor.vo</code></li>
<li>90 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Form.vo</code></li>
<li>78 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Nat.vo</code></li>
<li>71 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/ReduceCong.glob</code></li>
<li>65 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/prestac.cmxs</code></li>
<li>63 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Cong.vo</code></li>
<li>58 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Normal.glob</code></li>
<li>56 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Nat.glob</code></li>
<li>45 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Process.glob</code></li>
<li>39 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Form.glob</code></li>
<li>38 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/PresTac_ex.vo</code></li>
<li>38 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/PresTac.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/GroundN.glob</code></li>
<li>34 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Sort.glob</code></li>
<li>31 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Zdivides.v</code></li>
<li>31 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Elim.glob</code></li>
<li>28 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Lift.v</code></li>
<li>26 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Factor.glob</code></li>
<li>22 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Cong.glob</code></li>
<li>22 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Normal.v</code></li>
<li>20 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/ReduceEq.v</code></li>
<li>19 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Nat.v</code></li>
<li>16 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/ReduceCong.v</code></li>
<li>14 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Elim.v</code></li>
<li>13 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Form.v</code></li>
<li>12 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/GroundN.v</code></li>
<li>12 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Process.v</code></li>
<li>10 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/prestac.cmi</code></li>
<li>9 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Sort.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Factor.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/prestac.cmx</code></li>
<li>7 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Cong.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/sTactic.vo</code></li>
<li>3 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Option.vo</code></li>
<li>2 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/sTactic.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/PresTac_ex.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/PresTac_ex.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/PresTac.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Option.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/sTactic.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/Option.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/Presburger/PresTac.glob</code></li>
</ul>
<h2>Uninstall ๐งน</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-presburger.8.9.0</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.09.1-2.0.6/released/8.9.0/presburger/8.9.0.html | HTML | mit | 13,074 |
import { ChangeDetectionStrategy, Component, HostBinding, Input, OnDestroy, OnInit } from '@angular/core';
import { animate, style, transition, trigger } from '@angular/animations';
import { select, Store } from '@ngrx/store';
import { ICasesState, selectCaseById, selectSelectedCase } from '../../reducers/cases.reducer';
import { CloseModalAction, RenameCaseAction, SaveCaseAsAction } from '../../actions/cases.actions';
import { take, tap } from 'rxjs/operators';
import { cloneDeep } from '../../../../core/utils/rxjs/operators/cloneDeep';
import { ICase } from '../../models/case.model';
import { AutoSubscription, AutoSubscriptions } from 'auto-subscriptions';
import * as moment from 'moment';
const animationsDuring = '0.2s';
const animations: any[] = [
trigger('modalContent', [
transition(':enter', [style({
'backgroundColor': '#27b2cf',
transform: 'translate(0, -100%)'
}), animate(animationsDuring, style({ 'backgroundColor': 'white', transform: 'translate(0, 0)' }))]),
transition(':leave', [style({
'backgroundColor': 'white',
transform: 'translate(0, 0)'
}), animate(animationsDuring, style({ 'backgroundColor': '#27b2cf', transform: 'translate(0, -100%)' }))])
])
];
@Component({
selector: 'ansyn-save-case',
templateUrl: './save-case.component.html',
styleUrls: ['./save-case.component.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
animations
})
@AutoSubscriptions()
export class SaveCaseComponent implements OnInit, OnDestroy {
@Input() caseId: string;
caseName: string;
@HostBinding('@modalContent')
get modalContent() {
return true;
};
constructor(
protected store: Store<ICasesState>
) {
}
@AutoSubscription
caseName$ = () => this.store.pipe(
select(selectCaseById(this.caseId)),
tap( (_case) => {
this.caseName = _case ? _case.name : moment(new Date()).format('DD/MM/YYYY HH:mm:ss').toLocaleString();
})
);
private cloneDeepOneTime(selector) {
return this.store.pipe(
select(selector),
take(1),
cloneDeep()
)
}
ngOnDestroy(): void {
}
ngOnInit(): void {}
close(): void {
this.store.dispatch(new CloseModalAction());
}
saveNewCase() {
return this.cloneDeepOneTime(selectSelectedCase).pipe(
tap((selectedCase: ICase) => {
this.store.dispatch(new SaveCaseAsAction({ ...selectedCase, name: this.caseName }));
})
)
}
renameCase() {
return this.cloneDeepOneTime(selectCaseById(this.caseId)).pipe(
tap( (_case: ICase) => {
const oldName = _case.name;
this.store.dispatch(new RenameCaseAction({case: _case, oldName: oldName, newName: this.caseName }));
})
)
}
onSubmitCase() {
const obs = this.caseId ? this.renameCase() : this.saveNewCase();
obs.pipe(
tap(this.close.bind(this))
).subscribe()
}
}
| AnSyn/ansyn | src/app/@ansyn/ansyn/modules/menu-items/cases/components/save-case/save-case.component.ts | TypeScript | mit | 2,757 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>msets-extra: 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.14.1 / msets-extra - 1.0.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">ยซ Up</a>
<h1>
msets-extra
<small>
1.0.0
<span class="label label-info">Not compatible ๐ผ</span>
</small>
</h1>
<p>๐
<em><script>document.write(moment("2022-02-20 11:08:53 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-20 11:08:53 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.14.1 Formal proof management system
dune 2.9.3 Fast, portable, and opinionated build system
ocaml 4.13.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.13.1 Official release 4.13.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: "2.0"
maintainer: "thomas@tuerk-brechen.de"
homepage: "https://github.com/thtuerk/MSetsExtra"
dev-repo: "git+https://github.com/thtuerk/MSetsExtra.git"
bug-reports: "https://github.com/thtuerk/MSetsExtra/issues"
authors: ["FireEye Formal Methods Team <formal-methods@fireeye.com>" "Thomas Tuerk <thomas@tuerk-brechen.de>"]
license: "LGPL 2.1"
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/MSetsExtra"]
depends: [
"ocaml"
"coq" {>= "8.4.5" & < "8.5~"}
"coq-mathcomp-ssreflect" {>= "1.6"}
]
tags: [ "keyword:finite sets"
"keyword:fold with abort"
"keyword:extracting efficient code"
"keyword:data structures"
"category:Computer Science/Data Types and Data Structures"
"category:Miscellaneous/Extracted Programs/Data structures"
"date:2016-10-04" ]
synopsis: "Extensions of MSets for Efficient Execution"
description: """
Coq's MSet library provides various, reasonably efficient finite set
implementations. Nevertheless, FireEye was struggling with performance
issues. This library contains extensions to Coq's MSet library that
helped the FireEye Formal Methods team (formal-methods@fireeye.com),
solve these performance issues. There are
- Fold With Abort
efficient folding with possibility to start late and stop early
- Interval Sets
a memory efficient representation of sets of numbers
- Unsorted Lists with Duplicates"""
flags: light-uninstall
url {
src: "https://github.com/thtuerk/MSetsExtra/archive/1.0.0.tar.gz"
checksum: "md5=297a95b8ca4157760862e5812e8addd3"
}
</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-msets-extra.1.0.0 coq.8.14.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.14.1).
The following dependencies couldn't be met:
- coq-msets-extra -> coq < 8.5~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' 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-msets-extra.1.0.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.13.1-2.0.10/released/8.14.1/msets-extra/1.0.0.html | HTML | mit | 7,856 |
var _ = require('lodash');
var localConfig = {};
try {
localConfig = require('./config.local');
} catch (e) {
console.log(e.code === 'MODULE_NOT_FOUND');
if (e.code !== 'MODULE_NOT_FOUND' || e.message.indexOf('config.local') < 0) {
//config.local module is broken, rethrow the exception
throw e;
}
}
var path = require('path');
var defaultConfig = {
dataSources: [
{
type: 'local',
base: 'tmp/',
endpoints: ['nodes.json', 'graph.json'],
interval: 3000
}
// {
// type: 'remote',
// base: 'http://example.com/ffmap/',
// endpoints: ['nodes.json', 'graph.json'],
// interval: 30000
// },
],
frontend: {
path: path.join(__dirname, 'public')
},
database: {
host: 'rethinkdb',
port: '28015',
db: 'ffmap'
},
port: 8000
};
module.exports = _.defaults({
defaults: defaultConfig
}, localConfig, defaultConfig);
| johnyb/ffmap-rethinkdb | config.js | JavaScript | mit | 1,004 |
* overview tutorial of deep reinforcement learning
* [http://people.eecs.berkeley.edu/~pabbeel/nips-tutorial-policy-optimization-Schulman-Abbeel.pdf](Deep Reinforcement Learning through Policy Optimization)
| tilneyyang/tilneyyang.github.io | _posts/reinforcement_learning/deep_reinforcement_learning.md | Markdown | mit | 209 |
[](https://travis-ci.org/david-grs/static_any)
[](https://ci.appveyor.com/project/david-grs/static-any/branch/master)
[](https://coveralls.io/github/david-grs/static_any?branch=master)
static\_any\<S\>
================
A container for generic (as *general*) data type — like boost.any. However:
- It is **~10x faster** than boost.any, mainly because there is no memory allocation
- As it lies on the stack, it is **cache-friendly**, close to your other class attributes
- There is a very **small space overhead**: a fixed overhead of 8 bytes
static\_any\<S\> is also **safe**:
- operations meet the strong exception guarantee
- compile time check during the assignment, to ensure that its buffer is big enough to store the value
- runtime check before any conversions, to ensure that the stored type is the one's requested by the user
Example
-------
```c++
static_any<32> a;
static_assert(sizeof(a) == 32 + 8, "any has a fixed overhead of 8 bytes");
a = 1234;
ASSERT_EQ(1234, a.get<int>());
a = std::string("foobar");
ASSERT_EQ("foobar", a.get<std::string>());
try {
// This will throw as a std::string has been stored
std::cout << any_cast<int>(a);
}
catch(bad_any_cast& ex) {
}
struct A : std::array<char, 32> {};
a = A();
struct B : A { char c; };
// Does not build: sizeof(B) is too big for static_any<16>
a = B();
```
---
static\_any\_t\<S\>
===================
A container similar to static\_any\<S\>, but for trivially copyable types only. The differences:
- **No space overhead**
- **Faster**
- **Unsafe**: there is no check when you try to access your data
---
Benchmarks
==========
As the main advantage of static\_any(\_t\<S\>) is speed, here is a comparison of assign/get operations on a POD/non-POD types — an integer and a std::string — between
boost.any, QVariant, static\_any\<S\> and static\_any\_t\<S\>.
**assign a double**
```
Test Time (ns)
--------------------------
qvariant 36
boost.any 57
std::any 4
static_any<8> 4
static_any_t<8> 0
```
**get a double**
```
Test Time (ns)
--------------------------
qvariant 9
boost.any 12
std::any 9
static_any<8> 9
static_any_t<8> 6
```
**assign a small struct**
```
Test Time (ns)
--------------------------
qvariant 294
boost.any 47
std::any 54
static_any<8> 12
static_any_t<8> 0
```
**get a small struct**
```
Test Time (ns)
--------------------------
qvariant 12
boost.any 48
std::any 6
static_any<8> 4
static_any_t<8> 0
```
**assign a string**
```
Test Time (ns)
--------------------------
qvariant 400
boost.any 143
std::any 139
static_any<32> 92
```
**get a string**
```
Test Time (ns)
--------------------------
qvariant 31
boost.any 64
std::any 30
static_any<32> 4
```
What I used for this benchmark:
- Boost 1.54
- Qt5
- GCC 5.3.0
- CPU i7-3537U
The code is available in *benchmark.cpp*. There is a dependency on *geiger*, a benchmarking library I developed. In order to build and run the benchmark, first install geiger:
```
git clone https://github.com/david-grs/geiger
cd geiger && mkdir build && cd build
cmake .. && make install
```
Then pass *-DBUILD_BENCHMARK=1* to your cmake command.
| david-grs/static_any | README.md | Markdown | mit | 3,917 |
const frisby = require('frisby')
const config = require('config')
const URL = 'http://localhost:3000'
let blueprint
for (const product of config.get('products')) {
if (product.fileForRetrieveBlueprintChallenge) {
blueprint = product.fileForRetrieveBlueprintChallenge
break
}
}
describe('Server', () => {
it('GET responds with index.html when visiting application URL', done => {
frisby.get(URL)
.expect('status', 200)
.expect('header', 'content-type', /text\/html/)
.expect('bodyContains', 'dist/juice-shop.min.js')
.done(done)
})
it('GET responds with index.html when visiting application URL with any path', done => {
frisby.get(URL + '/whatever')
.expect('status', 200)
.expect('header', 'content-type', /text\/html/)
.expect('bodyContains', 'dist/juice-shop.min.js')
.done(done)
})
it('GET a restricted file directly from file system path on server via Directory Traversal attack loads index.html instead', done => {
frisby.get(URL + '/public/images/../../ftp/eastere.gg')
.expect('status', 200)
.expect('bodyContains', '<meta name="description" content="An intentionally insecure JavaScript Web Application">')
.done(done)
})
it('GET a restricted file directly from file system path on server via URL-encoded Directory Traversal attack loads index.html instead', done => {
frisby.get(URL + '/public/images/%2e%2e%2f%2e%2e%2fftp/eastere.gg')
.expect('status', 200)
.expect('bodyContains', '<meta name="description" content="An intentionally insecure JavaScript Web Application">')
.done(done)
})
})
describe('/public/images/tracking', () => {
it('GET tracking image for "Score Board" page access challenge', done => {
frisby.get(URL + '/public/images/tracking/scoreboard.png')
.expect('status', 200)
.expect('header', 'content-type', 'image/png')
.done(done)
})
it('GET tracking image for "Administration" page access challenge', done => {
frisby.get(URL + '/public/images/tracking/administration.png')
.expect('status', 200)
.expect('header', 'content-type', 'image/png')
.done(done)
})
it('GET tracking background image for "Geocities Theme" challenge', done => {
frisby.get(URL + '/public/images/tracking/microfab.gif')
.expect('status', 200)
.expect('header', 'content-type', 'image/gif')
.done(done)
})
})
describe('/encryptionkeys', () => {
it('GET serves a directory listing', done => {
frisby.get(URL + '/encryptionkeys')
.expect('status', 200)
.expect('header', 'content-type', /text\/html/)
.expect('bodyContains', '<title>listing directory /encryptionkeys</title>')
.done(done)
})
it('GET a non-existing file in will return a 404 error', done => {
frisby.get(URL + '/encryptionkeys/doesnotexist.md')
.expect('status', 404)
.done(done)
})
it('GET the Premium Content AES key', done => {
frisby.get(URL + '/encryptionkeys/premium.key')
.expect('status', 200)
.done(done)
})
it('GET a key file whose name contains a "/" fails with a 403 error', done => {
frisby.fetch(URL + '/encryptionkeys/%2fetc%2fos-release%2500.md', {}, { urlEncode: false })
.expect('status', 403)
.expect('bodyContains', 'Error: File names cannot contain forward slashes!')
.done(done)
})
})
describe('Hidden URL', () => {
it('GET the second easter egg by visiting the Base64>ROT13-decrypted URL', done => {
frisby.get(URL + '/the/devs/are/so/funny/they/hid/an/easter/egg/within/the/easter/egg')
.expect('status', 200)
.expect('header', 'content-type', /text\/html/)
.expect('bodyContains', '<title>Welcome to Planet Orangeuze</title>')
.done(done)
})
it('GET the premium content by visiting the ROT5>Base64>z85>ROT5-decrypted URL', done => {
frisby.get(URL + '/this/page/is/hidden/behind/an/incredibly/high/paywall/that/could/only/be/unlocked/by/sending/1btc/to/us')
.expect('status', 200)
.expect('header', 'content-type', 'image/gif')
.done(done)
})
it('GET Geocities theme CSS is accessible directly from file system path', done => {
frisby.get(URL + '/css/geo-bootstrap/swatch/bootstrap.css')
.expect('status', 200)
.expect('bodyContains', 'Designed and built with all the love in the world @twitter by @mdo and @fat.')
.done(done)
})
it('GET Klingon translation file for "Extra Language" challenge', done => {
frisby.get(URL + '/i18n/tlh_AA.json')
.expect('status', 200)
.expect('header', 'content-type', /application\/json/)
.done(done)
})
it('GET blueprint file for "Retrieve Blueprint" challenge', done => {
frisby.get(URL + '/public/images/products/' + blueprint)
.expect('status', 200)
.done(done)
})
})
| m4l1c3/juice-shop | test/api/fileServingSpec.js | JavaScript | mit | 4,853 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.