text
stringlengths
2
97.5k
meta
dict
<?php $a = $b ? $c : $d; ----- Block#1 Stmt_JumpIf cond: Var#1<$b> if: Block#2 else: Block#3 Block#2 Parent: Block#1 Expr_Assign var: Var#2 expr: Var#3<$c> result: Var#4 Stmt_Jump target: Block#4 Block#3 Parent: Block#1 Expr_Assign var: Var#5 expr: Var#6<$d> result: Var#7 Stmt_Jump target: Block#4 Block#4 Parent: Block#2 Parent: Block#3 Var#8 = Phi(Var#2, Var#5) Expr_Assign var: Var#9<$a> expr: Var#8 result: Var#10 Terminal_Return
{ "pile_set_name": "Github" }
1 168 409 496 568 654 727 798 880 937 1048 1050 1350 1389 1497 1603 1604 1744 1868 1917 2179 2288 2289 2290 2394 2467 2610 2833 3039 3042 3268 3478 3546 3778 4078 4120 4363 4471 4771
{ "pile_set_name": "Github" }
#!perl -w use strict; use warnings; use Opcode qw(opset opset_to_ops opdesc); my $plperl_opmask_h = shift or die "Usage: $0 <output_filename.h>\n"; my $plperl_opmask_tmp = $plperl_opmask_h . "tmp"; END { unlink $plperl_opmask_tmp } open my $fh, ">", "$plperl_opmask_tmp" or die "Could not write to $plperl_opmask_tmp: $!"; printf $fh "#define PLPERL_SET_OPMASK(opmask) \\\n"; printf $fh " memset(opmask, 1, MAXO);\t/* disable all */ \\\n"; printf $fh " /* then allow some... */ \\\n"; my @allowed_ops = ( # basic set of opcodes qw[:default :base_math !:base_io sort time], # require is safe because we redirect the opcode # entereval is safe as the opmask is now permanently set # caller is safe because the entire interpreter is locked down qw[require entereval caller], # These are needed for utf8_heavy.pl: # dofile is safe because we redirect the opcode like require above # print is safe because the only writable filehandles are STDOUT & STDERR # prtf (printf) is safe as it's the same as print + sprintf qw[dofile print prtf], # Disallow these opcodes that are in the :base_orig optag # (included in :default) but aren't considered sufficiently safe qw[!dbmopen !setpgrp !setpriority], # custom is not deemed a likely security risk as it can't be generated from # perl so would only be seen if the DBA had chosen to load a module that # used it. Even then it's unlikely to be seen because it's typically # generated by compiler plugins that operate after PL_op_mask checks. # But we err on the side of caution and disable it qw[!custom],); printf $fh " /* ALLOWED: @allowed_ops */ \\\n"; foreach my $opname (opset_to_ops(opset(@allowed_ops))) { printf $fh qq{ opmask[OP_%-12s] = 0;\t/* %s */ \\\n}, uc($opname), opdesc($opname); } printf $fh " /* end */ \n"; close $fh or die "Error closing $plperl_opmask_tmp: $!"; rename $plperl_opmask_tmp, $plperl_opmask_h or die "Error renaming $plperl_opmask_tmp to $plperl_opmask_h: $!"; exit 0;
{ "pile_set_name": "Github" }
#!/bin/sh basedir=`dirname "$0"` case `uname` in *CYGWIN*) basedir=`cygpath -w "$basedir"`;; esac if [ -x "$basedir/node" ]; then "$basedir/node" "$basedir/../requirejs/bin/r.js" "$@" ret=$? else node "$basedir/../requirejs/bin/r.js" "$@" ret=$? fi exit $ret
{ "pile_set_name": "Github" }
/* Copyright 2020 The KubeVirt Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Code generated by client-gen. DO NOT EDIT. package fake import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" fakediscovery "k8s.io/client-go/discovery/fake" "k8s.io/client-go/testing" clientset "kubevirt.io/client-go/generated/kubevirt/clientset/versioned" snapshotv1alpha1 "kubevirt.io/client-go/generated/kubevirt/clientset/versioned/typed/snapshot/v1alpha1" fakesnapshotv1alpha1 "kubevirt.io/client-go/generated/kubevirt/clientset/versioned/typed/snapshot/v1alpha1/fake" ) // NewSimpleClientset returns a clientset that will respond with the provided objects. // It's backed by a very simple object tracker that processes creates, updates and deletions as-is, // without applying any validations and/or defaults. It shouldn't be considered a replacement // for a real clientset and is mostly useful in simple unit tests. func NewSimpleClientset(objects ...runtime.Object) *Clientset { o := testing.NewObjectTracker(scheme, codecs.UniversalDecoder()) for _, obj := range objects { if err := o.Add(obj); err != nil { panic(err) } } cs := &Clientset{tracker: o} cs.discovery = &fakediscovery.FakeDiscovery{Fake: &cs.Fake} cs.AddReactor("*", "*", testing.ObjectReaction(o)) cs.AddWatchReactor("*", func(action testing.Action) (handled bool, ret watch.Interface, err error) { gvr := action.GetResource() ns := action.GetNamespace() watch, err := o.Watch(gvr, ns) if err != nil { return false, nil, err } return true, watch, nil }) return cs } // Clientset implements clientset.Interface. Meant to be embedded into a // struct to get a default implementation. This makes faking out just the method // you want to test easier. type Clientset struct { testing.Fake discovery *fakediscovery.FakeDiscovery tracker testing.ObjectTracker } func (c *Clientset) Discovery() discovery.DiscoveryInterface { return c.discovery } func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } var _ clientset.Interface = &Clientset{} // SnapshotV1alpha1 retrieves the SnapshotV1alpha1Client func (c *Clientset) SnapshotV1alpha1() snapshotv1alpha1.SnapshotV1alpha1Interface { return &fakesnapshotv1alpha1.FakeSnapshotV1alpha1{Fake: &c.Fake} }
{ "pile_set_name": "Github" }
.wrapper{width: 370px;margin: 10px auto;zoom: 1;} .tabbody{height: 360px;} .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;} .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;} .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;} .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;} .tabbody table thead{font-weight: bold;line-height: 25px;}
{ "pile_set_name": "Github" }
; RUN: opt -S -globalsplit %s | FileCheck %s target datalayout = "e-p:64:64" target triple = "x86_64-unknown-linux-gnu" ; CHECK: @global = @global = constant { [2 x i8* ()*], [1 x i8* ()*] } { [2 x i8* ()*] [i8* ()* @f, i8* ()* @g], [1 x i8* ()*] [i8* ()* @h] } define i8* @f() { ret i8* bitcast (i8* ()** getelementptr ({ [2 x i8* ()*], [1 x i8* ()*] }, { [2 x i8* ()*], [1 x i8* ()*] }* @global, i32 0, inrange i32 0, i32 0) to i8*) } define i8* @g() { ret i8* null } define i8* @h() { ret i8* null } define void @foo() { %p = call i1 @llvm.type.test(i8* null, metadata !"") ret void } declare i1 @llvm.type.test(i8*, metadata) nounwind readnone
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>scope</key> <string>source.lsl</string> <key>settings</key> <dict> <key>icon</key> <string>file_type_lsl</string> </dict> </dict> </plist>
{ "pile_set_name": "Github" }
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# H2O AutoML Binary Classification Demo\n", "\n", "This is a [Jupyter](https://jupyter.org/) Notebook. When you execute code within the notebook, the results appear beneath the code. To execute a code chunk, place your cursor on the cell and press *Shift+Enter*. \n", "\n", "### Start H2O\n", "\n", "Import the **h2o** Python module and `H2OAutoML` class and initialize a local H2O cluster." ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Checking whether there is an H2O instance running at http://localhost:54321..... not found.\n", "Attempting to start a local H2O server...\n", " Java Version: java version \"1.8.0_172\"; Java(TM) SE Runtime Environment (build 1.8.0_172-b11); Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)\n", " Starting server from /usr/local/lib/python2.7/site-packages/h2o/backend/bin/h2o.jar\n", " Ice root: /var/folders/gj/cm0k4b_s42j30zs376cq_5hh0000gn/T/tmpJz6vhp\n", " JVM stdout: /var/folders/gj/cm0k4b_s42j30zs376cq_5hh0000gn/T/tmpJz6vhp/h2o_me_started_from_python.out\n", " JVM stderr: /var/folders/gj/cm0k4b_s42j30zs376cq_5hh0000gn/T/tmpJz6vhp/h2o_me_started_from_python.err\n", " Server is running at http://127.0.0.1:54321\n", "Connecting to H2O server at http://127.0.0.1:54321... successful.\n" ] }, { "data": { "text/html": [ "<div style=\"overflow:auto\"><table style=\"width:50%\"><tr><td>H2O cluster uptime:</td>\n", "<td>01 secs</td></tr>\n", "<tr><td>H2O cluster timezone:</td>\n", "<td>America/Los_Angeles</td></tr>\n", "<tr><td>H2O data parsing timezone:</td>\n", "<td>UTC</td></tr>\n", "<tr><td>H2O cluster version:</td>\n", "<td>3.22.1.3</td></tr>\n", "<tr><td>H2O cluster version age:</td>\n", "<td>9 days </td></tr>\n", "<tr><td>H2O cluster name:</td>\n", "<td>H2O_from_python_me_bbbvgj</td></tr>\n", "<tr><td>H2O cluster total nodes:</td>\n", "<td>1</td></tr>\n", "<tr><td>H2O cluster free memory:</td>\n", "<td>3.556 Gb</td></tr>\n", "<tr><td>H2O cluster total cores:</td>\n", "<td>8</td></tr>\n", "<tr><td>H2O cluster allowed cores:</td>\n", "<td>8</td></tr>\n", "<tr><td>H2O cluster status:</td>\n", "<td>accepting new members, healthy</td></tr>\n", "<tr><td>H2O connection url:</td>\n", "<td>http://127.0.0.1:54321</td></tr>\n", "<tr><td>H2O connection proxy:</td>\n", "<td>None</td></tr>\n", "<tr><td>H2O internal security:</td>\n", "<td>False</td></tr>\n", "<tr><td>H2O API Extensions:</td>\n", "<td>XGBoost, Algos, AutoML, Core V3, Core V4</td></tr>\n", "<tr><td>Python version:</td>\n", "<td>2.7.15 final</td></tr></table></div>" ], "text/plain": [ "-------------------------- ----------------------------------------\n", "H2O cluster uptime: 01 secs\n", "H2O cluster timezone: America/Los_Angeles\n", "H2O data parsing timezone: UTC\n", "H2O cluster version: 3.22.1.3\n", "H2O cluster version age: 9 days\n", "H2O cluster name: H2O_from_python_me_bbbvgj\n", "H2O cluster total nodes: 1\n", "H2O cluster free memory: 3.556 Gb\n", "H2O cluster total cores: 8\n", "H2O cluster allowed cores: 8\n", "H2O cluster status: accepting new members, healthy\n", "H2O connection url: http://127.0.0.1:54321\n", "H2O connection proxy:\n", "H2O internal security: False\n", "H2O API Extensions: XGBoost, Algos, AutoML, Core V3, Core V4\n", "Python version: 2.7.15 final\n", "-------------------------- ----------------------------------------" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import h2o\n", "from h2o.automl import H2OAutoML\n", "h2o.init()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Load Data\n", "\n", "For the AutoML binary classification demo, we use a subset of the [Product Backorders](https://www.kaggle.com/tiredgeek/predict-bo-trial/data) dataset. The goal here is to predict whether or not a product will be put on backorder status, given a number of product metrics such as current inventory, transit time, demand forecasts and prior sales." ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Parse progress: |█████████████████████████████████████████████████████████| 100%\n" ] } ], "source": [ "# Use local data file or download from GitHub\n", "import os\n", "docker_data_path = \"/home/h2o/data/automl/product_backorders.csv\"\n", "if os.path.isfile(docker_data_path):\n", " data_path = docker_data_path\n", "else:\n", " data_path = \"https://github.com/h2oai/h2o-tutorials/raw/master/h2o-world-2017/automl/data/product_backorders.csv\"\n", "\n", "\n", "# Load data into H2O\n", "df = h2o.import_file(data_path)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "For classification, the response should be encoded as categorical (aka. \"factor\" or \"enum\"). Let's take a look." ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Rows:19053\n", "Cols:23\n", "\n", "\n" ] }, { "data": { "text/html": [ "<table>\n", "<thead>\n", "<tr><th> </th><th>sku </th><th>national_inv </th><th>lead_time </th><th>in_transit_qty </th><th>forecast_3_month </th><th>forecast_6_month </th><th>forecast_9_month </th><th>sales_1_month </th><th>sales_3_month </th><th>sales_6_month </th><th>sales_9_month </th><th>min_bank </th><th>potential_issue </th><th>pieces_past_due </th><th>perf_6_month_avg </th><th>perf_12_month_avg </th><th>local_bo_qty </th><th>deck_risk </th><th>oe_constraint </th><th>ppap_risk </th><th>stop_auto_buy </th><th>rev_stop </th><th>went_on_backorder </th></tr>\n", "</thead>\n", "<tbody>\n", "<tr><td>type </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>int </td><td>enum </td><td>int </td><td>real </td><td>real </td><td>int </td><td>enum </td><td>enum </td><td>enum </td><td>enum </td><td>enum </td><td>enum </td></tr>\n", "<tr><td>mins </td><td>1111620.0 </td><td>-1440.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td> </td><td>0.0 </td><td>-99.0 </td><td>-99.0 </td><td>0.0 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td></tr>\n", "<tr><td>mean </td><td>2059552.76056</td><td>376.367028814 </td><td>7.70603616134</td><td>48.2723455624 </td><td>182.910827691 </td><td>344.739830998 </td><td>497.792421141 </td><td>56.1188789167 </td><td>168.534456516 </td><td>333.532199654 </td><td>504.255392852 </td><td>48.8407075001</td><td> </td><td>2.31149950139 </td><td>-6.519833622 </td><td>-6.05393533827 </td><td>0.891775573401</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td></tr>\n", "<tr><td>maxs </td><td>3284775.0 </td><td>730722.0 </td><td>52.0 </td><td>170920.0 </td><td>479808.0 </td><td>967776.0 </td><td>1418208.0 </td><td>186451.0 </td><td>550609.0 </td><td>1136154.0 </td><td>1759152.0 </td><td>85584.0 </td><td> </td><td>13824.0 </td><td>1.0 </td><td>1.0 </td><td>1440.0 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td></tr>\n", "<tr><td>sigma </td><td>663337.64565 </td><td>7002.07162866 </td><td>6.77866507212</td><td>1465.99921021 </td><td>4304.86559197 </td><td>8406.06215516 </td><td>12180.5700429 </td><td>1544.21777755 </td><td>4581.34008022 </td><td>9294.56615322 </td><td>14184.1453957 </td><td>968.773868068</td><td> </td><td>110.241060146 </td><td>25.9751387669 </td><td>25.18449715 </td><td>23.0333454173 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td></tr>\n", "<tr><td>zeros </td><td>0 </td><td>1858 </td><td>121 </td><td>15432 </td><td>12118 </td><td>11136 </td><td>10604 </td><td>10278 </td><td>8022 </td><td>6864 </td><td>6231 </td><td>9909 </td><td> </td><td>18601 </td><td>474 </td><td>401 </td><td>18585 </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td></tr>\n", "<tr><td>missing</td><td>0 </td><td>0 </td><td>1078 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td><td>0 </td></tr>\n", "<tr><td>0 </td><td>1113121.0 </td><td>0.0 </td><td>8.0 </td><td>1.0 </td><td>6.0 </td><td>6.0 </td><td>6.0 </td><td>0.0 </td><td>4.0 </td><td>9.0 </td><td>12.0 </td><td>0.0 </td><td>No </td><td>1.0 </td><td>0.9 </td><td>0.89 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>1 </td><td>1113268.0 </td><td>0.0 </td><td>8.0 </td><td>0.0 </td><td>2.0 </td><td>3.0 </td><td>4.0 </td><td>1.0 </td><td>2.0 </td><td>3.0 </td><td>3.0 </td><td>0.0 </td><td>No </td><td>0.0 </td><td>0.96 </td><td>0.97 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>2 </td><td>1113874.0 </td><td>20.0 </td><td>2.0 </td><td>0.0 </td><td>45.0 </td><td>99.0 </td><td>153.0 </td><td>16.0 </td><td>42.0 </td><td>80.0 </td><td>111.0 </td><td>10.0 </td><td>No </td><td>0.0 </td><td>0.81 </td><td>0.88 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>3 </td><td>1114222.0 </td><td>0.0 </td><td>8.0 </td><td>0.0 </td><td>9.0 </td><td>14.0 </td><td>21.0 </td><td>5.0 </td><td>17.0 </td><td>36.0 </td><td>43.0 </td><td>0.0 </td><td>No </td><td>0.0 </td><td>0.96 </td><td>0.98 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>4 </td><td>1114823.0 </td><td>0.0 </td><td>12.0 </td><td>0.0 </td><td>31.0 </td><td>31.0 </td><td>31.0 </td><td>7.0 </td><td>15.0 </td><td>33.0 </td><td>47.0 </td><td>2.0 </td><td>No </td><td>3.0 </td><td>0.98 </td><td>0.98 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>5 </td><td>1115453.0 </td><td>55.0 </td><td>8.0 </td><td>0.0 </td><td>216.0 </td><td>360.0 </td><td>492.0 </td><td>30.0 </td><td>108.0 </td><td>275.0 </td><td>340.0 </td><td>51.0 </td><td>No </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>0.0 </td><td>No </td><td>No </td><td>Yes </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>6 </td><td>1115620.0 </td><td>-34.0 </td><td>8.0 </td><td>0.0 </td><td>120.0 </td><td>240.0 </td><td>240.0 </td><td>83.0 </td><td>122.0 </td><td>144.0 </td><td>165.0 </td><td>33.0 </td><td>No </td><td>0.0 </td><td>1.0 </td><td>0.97 </td><td>34.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>7 </td><td>1116446.0 </td><td>4.0 </td><td>9.0 </td><td>0.0 </td><td>43.0 </td><td>67.0 </td><td>115.0 </td><td>5.0 </td><td>22.0 </td><td>40.0 </td><td>58.0 </td><td>4.0 </td><td>No </td><td>0.0 </td><td>0.69 </td><td>0.68 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>8 </td><td>1116834.0 </td><td>2.0 </td><td>8.0 </td><td>0.0 </td><td>4.0 </td><td>6.0 </td><td>9.0 </td><td>1.0 </td><td>5.0 </td><td>6.0 </td><td>9.0 </td><td>2.0 </td><td>No </td><td>0.0 </td><td>1.0 </td><td>0.95 </td><td>0.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "<tr><td>9 </td><td>1116868.0 </td><td>-7.0 </td><td>8.0 </td><td>0.0 </td><td>56.0 </td><td>96.0 </td><td>112.0 </td><td>13.0 </td><td>30.0 </td><td>56.0 </td><td>76.0 </td><td>0.0 </td><td>No </td><td>0.0 </td><td>0.97 </td><td>0.92 </td><td>7.0 </td><td>No </td><td>No </td><td>No </td><td>Yes </td><td>No </td><td>Yes </td></tr>\n", "</tbody>\n", "</table>" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "df.describe()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We will notice that the response column, `\"went_on_backorder\"`, is already encoded as \"enum\", so there's nothing we need to do here. If it were encoded as a 0/1 \"int\", then we'd have to convert the column as follows: `df[y] = df[y].asfactor()`\n", "\n", "\n", "Next, let's identify the response & predictor columns by saving them as `x` and `y`. The `\"sku\"` column is a unique identifier so we'll want to remove that from the set of our predictors." ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "y = \"went_on_backorder\"\n", "x = df.columns\n", "x.remove(y)\n", "x.remove(\"sku\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Run AutoML \n", "\n", "Run AutoML, stopping after 10 models. The `max_models` argument specifies the number of individual (or \"base\") models, and does not include the two ensemble models that are trained at the end." ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "AutoML progress: |████████████████████████████████████████████████████████| 100%\n" ] } ], "source": [ "aml = H2OAutoML(max_models = 10, seed = 1)\n", "aml.train(x = x, y = y, training_frame = df)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "*Note: If you see the following error, it means that you need to install the pandas module.*\n", "```\n", "H2OTypeError: Argument `python_obj` should be a None | list | tuple | dict | numpy.ndarray | pandas.DataFrame | scipy.sparse.issparse, got H2OTwoDimTable \n", "``` " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Leaderboard\n", "\n", "Next, we will view the AutoML Leaderboard. Since we did not specify a `leaderboard_frame` in the `H2OAutoML.train()` method for scoring and ranking the models, the AutoML leaderboard uses cross-validation metrics to rank the models. \n", "\n", "A default performance metric for each machine learning task (binary classification, multiclass classification, regression) is specified internally and the leaderboard will be sorted by that metric. In the case of binary classification, the default ranking metric is Area Under the ROC Curve (AUC). In the future, the user will be able to specify any of the H2O metrics so that different metrics can be used to generate rankings on the leaderboard.\n", "\n", "The leader model is stored at `aml.leader` and the leaderboard is stored at `aml.leaderboard`." ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "lb = aml.leaderboard" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Now we will view a snapshot of the top models. Here we should see the two Stacked Ensembles at or near the top of the leaderboard. Stacked Ensembles can almost always outperform a single model." ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<table>\n", "<thead>\n", "<tr><th>model_id </th><th style=\"text-align: right;\"> auc</th><th style=\"text-align: right;\"> logloss</th><th style=\"text-align: right;\"> mean_per_class_error</th><th style=\"text-align: right;\"> rmse</th><th style=\"text-align: right;\"> mse</th></tr>\n", "</thead>\n", "<tbody>\n", "<tr><td>StackedEnsemble_AllModels_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.949618</td><td style=\"text-align: right;\"> 0.180591</td><td style=\"text-align: right;\"> 0.148592</td><td style=\"text-align: right;\">0.227044</td><td style=\"text-align: right;\">0.0515489</td></tr>\n", "<tr><td>StackedEnsemble_BestOfFamily_AutoML_20190204_092807</td><td style=\"text-align: right;\">0.949501</td><td style=\"text-align: right;\"> 0.18083 </td><td style=\"text-align: right;\"> 0.14058 </td><td style=\"text-align: right;\">0.227047</td><td style=\"text-align: right;\">0.0515502</td></tr>\n", "<tr><td>XGBoost_2_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.948528</td><td style=\"text-align: right;\"> 0.173139</td><td style=\"text-align: right;\"> 0.147784</td><td style=\"text-align: right;\">0.225906</td><td style=\"text-align: right;\">0.0510337</td></tr>\n", "<tr><td>XGBoost_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.948208</td><td style=\"text-align: right;\"> 0.1731 </td><td style=\"text-align: right;\"> 0.149 </td><td style=\"text-align: right;\">0.2262 </td><td style=\"text-align: right;\">0.0511664</td></tr>\n", "<tr><td>GBM_4_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.948131</td><td style=\"text-align: right;\"> 0.173882</td><td style=\"text-align: right;\"> 0.148656</td><td style=\"text-align: right;\">0.226523</td><td style=\"text-align: right;\">0.0513126</td></tr>\n", "<tr><td>XGBoost_3_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.946808</td><td style=\"text-align: right;\"> 0.175423</td><td style=\"text-align: right;\"> 0.164833</td><td style=\"text-align: right;\">0.22719 </td><td style=\"text-align: right;\">0.0516155</td></tr>\n", "<tr><td>GBM_3_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.946387</td><td style=\"text-align: right;\"> 0.176609</td><td style=\"text-align: right;\"> 0.142449</td><td style=\"text-align: right;\">0.228175</td><td style=\"text-align: right;\">0.0520639</td></tr>\n", "<tr><td>GBM_2_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.944955</td><td style=\"text-align: right;\"> 0.179339</td><td style=\"text-align: right;\"> 0.155776</td><td style=\"text-align: right;\">0.229637</td><td style=\"text-align: right;\">0.0527332</td></tr>\n", "<tr><td>GBM_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.94195 </td><td style=\"text-align: right;\"> 0.18388 </td><td style=\"text-align: right;\"> 0.164705</td><td style=\"text-align: right;\">0.232089</td><td style=\"text-align: right;\">0.0538654</td></tr>\n", "<tr><td>XRT_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.935325</td><td style=\"text-align: right;\"> 0.203641</td><td style=\"text-align: right;\"> 0.169474</td><td style=\"text-align: right;\">0.242563</td><td style=\"text-align: right;\">0.0588367</td></tr>\n", "</tbody>\n", "</table>" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "lb.head()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "To view the entire leaderboard, specify the `rows` argument of the `head()` method as the total number of rows:" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<table>\n", "<thead>\n", "<tr><th>model_id </th><th style=\"text-align: right;\"> auc</th><th style=\"text-align: right;\"> logloss</th><th style=\"text-align: right;\"> mean_per_class_error</th><th style=\"text-align: right;\"> rmse</th><th style=\"text-align: right;\"> mse</th></tr>\n", "</thead>\n", "<tbody>\n", "<tr><td>StackedEnsemble_AllModels_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.949618</td><td style=\"text-align: right;\"> 0.180591</td><td style=\"text-align: right;\"> 0.148592</td><td style=\"text-align: right;\">0.227044</td><td style=\"text-align: right;\">0.0515489</td></tr>\n", "<tr><td>StackedEnsemble_BestOfFamily_AutoML_20190204_092807</td><td style=\"text-align: right;\">0.949501</td><td style=\"text-align: right;\"> 0.18083 </td><td style=\"text-align: right;\"> 0.14058 </td><td style=\"text-align: right;\">0.227047</td><td style=\"text-align: right;\">0.0515502</td></tr>\n", "<tr><td>XGBoost_2_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.948528</td><td style=\"text-align: right;\"> 0.173139</td><td style=\"text-align: right;\"> 0.147784</td><td style=\"text-align: right;\">0.225906</td><td style=\"text-align: right;\">0.0510337</td></tr>\n", "<tr><td>XGBoost_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.948208</td><td style=\"text-align: right;\"> 0.1731 </td><td style=\"text-align: right;\"> 0.149 </td><td style=\"text-align: right;\">0.2262 </td><td style=\"text-align: right;\">0.0511664</td></tr>\n", "<tr><td>GBM_4_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.948131</td><td style=\"text-align: right;\"> 0.173882</td><td style=\"text-align: right;\"> 0.148656</td><td style=\"text-align: right;\">0.226523</td><td style=\"text-align: right;\">0.0513126</td></tr>\n", "<tr><td>XGBoost_3_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.946808</td><td style=\"text-align: right;\"> 0.175423</td><td style=\"text-align: right;\"> 0.164833</td><td style=\"text-align: right;\">0.22719 </td><td style=\"text-align: right;\">0.0516155</td></tr>\n", "<tr><td>GBM_3_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.946387</td><td style=\"text-align: right;\"> 0.176609</td><td style=\"text-align: right;\"> 0.142449</td><td style=\"text-align: right;\">0.228175</td><td style=\"text-align: right;\">0.0520639</td></tr>\n", "<tr><td>GBM_2_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.944955</td><td style=\"text-align: right;\"> 0.179339</td><td style=\"text-align: right;\"> 0.155776</td><td style=\"text-align: right;\">0.229637</td><td style=\"text-align: right;\">0.0527332</td></tr>\n", "<tr><td>GBM_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.94195 </td><td style=\"text-align: right;\"> 0.18388 </td><td style=\"text-align: right;\"> 0.164705</td><td style=\"text-align: right;\">0.232089</td><td style=\"text-align: right;\">0.0538654</td></tr>\n", "<tr><td>XRT_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.935325</td><td style=\"text-align: right;\"> 0.203641</td><td style=\"text-align: right;\"> 0.169474</td><td style=\"text-align: right;\">0.242563</td><td style=\"text-align: right;\">0.0588367</td></tr>\n", "<tr><td>DRF_1_AutoML_20190204_092807 </td><td style=\"text-align: right;\">0.924493</td><td style=\"text-align: right;\"> 0.229566</td><td style=\"text-align: right;\"> 0.185868</td><td style=\"text-align: right;\">0.258956</td><td style=\"text-align: right;\">0.0670583</td></tr>\n", "<tr><td>GLM_grid_1_AutoML_20190204_092807_model_1 </td><td style=\"text-align: right;\">0.747728</td><td style=\"text-align: right;\"> 0.337291</td><td style=\"text-align: right;\"> 0.291388</td><td style=\"text-align: right;\">0.313813</td><td style=\"text-align: right;\">0.0984787</td></tr>\n", "</tbody>\n", "</table>" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [] }, "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ "lb.head(rows=lb.nrows)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Ensemble Exploration\n", "\n", "To understand how the ensemble works, let's take a peek inside the Stacked Ensemble \"All Models\" model. The \"All Models\" ensemble is an ensemble of all of the individual models in the AutoML run. This is often the top performing model on the leaderboard." ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [], "source": [ "# Get model ids for all models in the AutoML Leaderboard\n", "model_ids = list(aml.leaderboard['model_id'].as_data_frame().iloc[:,0])\n", "# Get the \"All Models\" Stacked Ensemble model\n", "se = h2o.get_model([mid for mid in model_ids if \"StackedEnsemble_AllModels\" in mid][0])\n", "# Get the Stacked Ensemble metalearner model\n", "metalearner = h2o.get_model(se.metalearner()['name'])" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Examine the variable importance of the metalearner (combiner) algorithm in the ensemble. This shows us how much each base learner is contributing to the ensemble. The AutoML Stacked Ensembles use the default metalearner algorithm (GLM with non-negative weights), so the variable importance of the metalearner is actually the standardized coefficient magnitudes of the GLM. " ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{u'DRF_1_AutoML_20190204_092807': 0.08365219893144571,\n", " u'GBM_1_AutoML_20190204_092807': 0.0,\n", " u'GBM_2_AutoML_20190204_092807': 0.0,\n", " u'GBM_3_AutoML_20190204_092807': 0.0,\n", " u'GBM_4_AutoML_20190204_092807': 0.3146503256620009,\n", " u'GLM_grid_1_AutoML_20190204_092807_model_1': 0.10296783340284889,\n", " u'Intercept': -2.9780804172614994,\n", " u'XGBoost_1_AutoML_20190204_092807': 0.4150234350504189,\n", " u'XGBoost_2_AutoML_20190204_092807': 0.29428944194619133,\n", " u'XGBoost_3_AutoML_20190204_092807': 0.0,\n", " u'XRT_1_AutoML_20190204_092807': 0.6790559622024271}" ] }, "execution_count": 12, "metadata": {}, "output_type": "execute_result" } ], "source": [ "metalearner.coef_norm()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can also plot the base learner contributions to the ensemble." ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.\n", " warnings.warn(message, mplDeprecation, stacklevel=1)\n" ] }, { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAABBwAAAJTCAYAAACrRQWGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzs3Xv87tWc///Hs7ZyqEgxqCinIWJTaEwphRpFOdYep1IZp1EzTpkMvo3vTyZfGadMg0oTZSRFKkmNUBK2DnLYlI7kUInQ6fX7Y62rfe2rz+Hae1/1qb0f99vtul2fa73Xe73X+3B9Pp/1eq+13qkqJEmSJEmSJmmVua6AJEmSJEla8RhwkCRJkiRJE2fAQZIkSZIkTZwBB0mSJEmSNHEGHCRJkiRJ0sQZcJAkSZIkSRNnwEGSpLuQJBsmqSSHzXE9Duv12HAo7U5Rt4Ek7+r12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+lS5A0sVratNGDhVOdDmutrqKrfdOL0NF52///v1ce+217Nq1i9GjR5/3GEmSJKmv8AwHSRdMlmZDd8ZlVV9fz8CBA6murmbYsGFMmTKFdevWfaltjhs3jkKhcKqR0NzczKRJk75wjCRJktSX2XCQdFFavnw5hUKBw4cPM2fOHG6//XZ27dpV6bIkSZKkPsOGg6SLWv/+/WlsbOSTTz5h+/bt7Nu3j4aGBmpraxk7dix33303H330EQApJZYtW8bo0aMZMmQI48eP5/HHHwdg7969RAStra288847LFy4kJaWFqqrq6murua11147Y8z777/PoEGD2LZt2xn11NfXs2LFCgBOnjzJypUrufrqq6mpqeGmm25i69at5f0FSZIkSReIDQdJF7UTJ06watUqBgwYwHXXXcctt9zCqFGj2LdvH5s2beKtt95iyZIlAGzcuJG1a9eyefNmPvzwQ7Zs2cLNN9981jZvvPFG1qxZw8SJEykUChQKBerr688Yc9lllzF79myam5tP3dfS0sKbb77J3LlzAbjvvvtYv349L730EocPH2b+/PnMnDmTI0eOXKhfhyRJklQ2NhwkXZQefPBBampqGDNmDOvXr2fdunW0tbWxe/duHn30UQYPHswVV1xBU1MTTz75JCklqqqqOHbsGDt27ODYsWOMHDmSKVOmnHcN8+bN46mnnuLjjz8Gius+TJs2jSuvvJKUEo899hgPP/wwEydOpF+/ftx1111cfvnlbNiwIa9fgyRJklQxNhwkXZSWLVvGBx98QFtbG2+//TazZs3ivffeY8SIEQwePPjUuKuuuopjx45x8OBB6uvrWblyJU1NTYwcOZIZM2Z8qSkOM2bMoKqqiueff56UEmvXrmX+/PkAHDp0iEKhwKxZs6ipqTn11dLSQmtr65d+/JIkSVKleVlMSX3G2LFjOXjwIO3t7Vx66aVAcZrDoEGDGDFiBAALFixgwYIFtLe3c//993Pbbbexf//+s7Z1ySVd92v79evHnXfeSXNzM8OGDePo0aPceuutANTW1jJ48GBeffVVrr/++hwfpSRJktQzeIaDpD6jrq6OSZMmcc8999De3s6BAwdYvnw58+bNIyLYsmULb7zxBsePH2fgwIEMGTKE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RJkiTlzoaDJEmSJEnK3f8D2WgHZSriKWwAAAAASUVORK5CYII=\n", "text/plain": [ "<Figure size 1008x720 with 1 Axes>" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%matplotlib inline\n", "metalearner.std_coef_plot()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Save Leader Model\n", "\n", "There are two ways to save the leader model -- binary format and MOJO format. If you're taking your leader model to production, then we'd suggest the MOJO format since it's optimized for production use." ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "u'/Users/me/h2oai/code/h2o-tutorials/h2o-world-2017/automl/Python/product_backorders_model_bin/StackedEnsemble_AllModels_AutoML_20190204_092807'" ] }, "execution_count": 14, "metadata": {}, "output_type": "execute_result" } ], "source": [ "h2o.save_model(aml.leader, path = \"./product_backorders_model_bin\")" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'/Users/me/h2oai/code/h2o-tutorials/h2o-world-2017/automl/Python/StackedEnsemble_AllModels_AutoML_20190204_092807.zip'" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aml.leader.download_mojo(path = \"./\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 2", "language": "python", "name": "python2" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 2 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", "version": "2.7.15" } }, "nbformat": 4, "nbformat_minor": 2 }
{ "pile_set_name": "Github" }
46367_airplane.png airplane 33683_airplane.png airplane 46430_airplane.png airplane 12777_airplane.png airplane 18710_airplane.png airplane 25930_airplane.png airplane 41821_airplane.png airplane 10050_airplane.png airplane 40125_airplane.png airplane 22699_airplane.png airplane 26824_airplane.png airplane 22557_airplane.png airplane 21634_airplane.png airplane 29487_airplane.png airplane 24795_airplane.png airplane 17838_airplane.png airplane 28817_airplane.png airplane 8733_airplane.png airplane 9874_airplane.png airplane 37324_airplane.png airplane 13011_airplane.png airplane 32602_airplane.png airplane 39631_airplane.png airplane 41772_airplane.png airplane 26088_airplane.png airplane 46108_airplane.png airplane 38635_airplane.png airplane 45301_airplane.png airplane 22329_airplane.png airplane 41929_airplane.png airplane 29754_airplane.png airplane 2403_airplane.png airplane 17458_airplane.png airplane 35327_airplane.png airplane 31648_airplane.png airplane 2490_airplane.png airplane 34037_airplane.png airplane 9985_airplane.png airplane 34421_airplane.png airplane 42796_airplane.png airplane 308_airplane.png airplane 9718_airplane.png airplane 41971_airplane.png airplane 36623_airplane.png airplane 4498_airplane.png airplane 11487_airplane.png airplane 17101_airplane.png airplane 42945_airplane.png airplane 4079_airplane.png airplane 32131_airplane.png airplane 31591_airplane.png airplane 43907_airplane.png airplane 29003_airplane.png airplane 46554_airplane.png airplane 349_airplane.png airplane 19009_airplane.png airplane 22383_airplane.png airplane 49656_airplane.png airplane 23096_airplane.png airplane 20190_airplane.png airplane 27703_airplane.png airplane 5873_airplane.png airplane 3582_airplane.png airplane 33867_airplane.png airplane 3024_airplane.png airplane 16011_airplane.png airplane 25581_airplane.png airplane 31488_airplane.png airplane 34828_airplane.png airplane 37843_airplane.png airplane 26571_airplane.png airplane 527_airplane.png airplane 44165_airplane.png airplane 25275_airplane.png airplane 2460_airplane.png airplane 38782_airplane.png airplane 18905_airplane.png airplane 23652_airplane.png airplane 48257_airplane.png airplane 1432_airplane.png airplane 29724_airplane.png airplane 3073_airplane.png airplane 44430_airplane.png airplane 30909_airplane.png airplane 41118_airplane.png airplane 11989_airplane.png airplane 30272_airplane.png airplane 38913_airplane.png airplane 37905_airplane.png airplane 48986_airplane.png airplane 21144_airplane.png airplane 12083_airplane.png airplane 14194_airplane.png airplane 37883_airplane.png airplane 49856_airplane.png airplane 31397_airplane.png airplane 13400_airplane.png airplane 17947_airplane.png airplane 19634_airplane.png airplane 38791_airplane.png airplane 12461_airplane.png airplane 47176_airplane.png airplane 46922_airplane.png airplane 15620_airplane.png airplane 45936_airplane.png airplane 46019_airplane.png airplane 38716_airplane.png airplane 12922_airplane.png airplane 13084_airplane.png airplane 25037_airplane.png airplane 46934_airplane.png airplane 45233_airplane.png airplane 3815_airplane.png airplane 44592_airplane.png airplane 1340_airplane.png airplane 15661_airplane.png airplane 27533_airplane.png airplane 21000_airplane.png airplane 30710_airplane.png airplane 938_airplane.png airplane 27280_airplane.png airplane 35788_airplane.png airplane 7965_airplane.png airplane 48239_airplane.png airplane 38041_airplane.png airplane 24681_airplane.png airplane 18013_airplane.png airplane 37068_airplane.png airplane 43548_airplane.png airplane 47375_airplane.png airplane 14534_airplane.png airplane 44148_airplane.png airplane 35079_airplane.png airplane 1540_airplane.png airplane 33087_airplane.png airplane 36180_airplane.png airplane 38043_airplane.png airplane 18302_airplane.png airplane 49497_airplane.png airplane 24605_airplane.png airplane 15678_airplane.png airplane 13238_airplane.png airplane 24229_airplane.png airplane 46113_airplane.png airplane 4249_airplane.png airplane 48556_airplane.png airplane 20723_airplane.png airplane 49189_airplane.png airplane 29803_airplane.png airplane 47227_airplane.png airplane 38185_airplane.png airplane 8478_airplane.png airplane 15755_airplane.png airplane 42039_airplane.png airplane 11078_airplane.png airplane 10782_airplane.png airplane 6112_airplane.png airplane 31947_airplane.png airplane 7925_airplane.png airplane 26764_airplane.png airplane 49510_airplane.png airplane 17115_airplane.png airplane 27487_airplane.png airplane 8685_airplane.png airplane 15191_airplane.png airplane 37704_airplane.png airplane 21466_airplane.png airplane 1329_airplane.png airplane 18402_airplane.png airplane 8242_airplane.png airplane 32091_airplane.png airplane 12808_airplane.png airplane 7251_airplane.png airplane 49387_airplane.png airplane 32613_airplane.png airplane 822_airplane.png airplane 46945_airplane.png airplane 10955_airplane.png airplane 16785_airplane.png airplane 39076_airplane.png airplane 12916_airplane.png airplane 48792_airplane.png airplane 32968_airplane.png airplane 36370_airplane.png airplane 35149_airplane.png airplane 34948_airplane.png airplane 22858_airplane.png airplane 21924_airplane.png airplane 8535_airplane.png airplane 8623_airplane.png airplane 22123_airplane.png airplane 31450_airplane.png airplane 11100_airplane.png airplane 40752_airplane.png airplane 1594_airplane.png airplane 5530_airplane.png airplane 9751_airplane.png airplane 220_airplane.png airplane 12740_airplane.png airplane 48653_airplane.png airplane 34341_airplane.png airplane 47849_airplane.png airplane 42622_airplane.png airplane 22317_airplane.png airplane 14268_airplane.png airplane 5050_airplane.png airplane 34568_airplane.png airplane 37664_airplane.png airplane 46992_airplane.png airplane 36183_airplane.png airplane 29295_airplane.png airplane 24600_airplane.png airplane 4929_airplane.png airplane 39153_airplane.png airplane 39447_airplane.png airplane 4861_airplane.png airplane 8882_airplane.png airplane 46593_airplane.png airplane 30537_airplane.png airplane 21863_airplane.png airplane 22665_airplane.png airplane 11023_airplane.png airplane 3891_airplane.png airplane 24834_airplane.png airplane 25070_airplane.png airplane 47061_airplane.png airplane 22271_airplane.png airplane 40411_airplane.png airplane 38044_airplane.png airplane 21306_airplane.png airplane 25532_airplane.png airplane 38828_airplane.png airplane 26723_airplane.png airplane 8083_airplane.png airplane 40618_airplane.png airplane 3831_airplane.png airplane 8258_airplane.png airplane 9362_airplane.png airplane 42083_airplane.png airplane 43963_airplane.png airplane 39271_airplane.png airplane 25318_airplane.png airplane 24163_airplane.png airplane 24365_airplane.png airplane 32670_airplane.png airplane 24622_airplane.png airplane 12509_airplane.png airplane 29380_airplane.png airplane 40131_airplane.png airplane 26332_airplane.png airplane 35626_airplane.png airplane 42175_airplane.png airplane 32522_airplane.png airplane 16371_airplane.png airplane 47994_airplane.png airplane 44925_airplane.png airplane 10425_airplane.png airplane 30979_airplane.png airplane 12393_airplane.png airplane 37041_airplane.png airplane 6682_airplane.png airplane 6098_airplane.png airplane 10334_airplane.png airplane 18383_airplane.png airplane 24420_airplane.png airplane 28924_airplane.png airplane 9687_airplane.png airplane 29783_airplane.png airplane 974_airplane.png airplane 12130_airplane.png airplane 17488_airplane.png airplane 48071_airplane.png airplane 17080_airplane.png airplane 17917_airplane.png airplane 6663_airplane.png airplane 7654_airplane.png airplane 28883_airplane.png airplane 34964_airplane.png airplane 10578_airplane.png airplane 2142_airplane.png airplane 13613_airplane.png airplane 43475_airplane.png airplane 10265_airplane.png airplane 31837_airplane.png airplane 12139_airplane.png airplane 40648_airplane.png airplane 10146_airplane.png airplane 29856_airplane.png airplane 43783_airplane.png airplane 21259_airplane.png airplane 9064_airplane.png airplane 21533_airplane.png airplane 1211_airplane.png airplane 29729_airplane.png airplane 16397_airplane.png airplane 983_airplane.png airplane 47946_airplane.png airplane 14806_airplane.png airplane 27646_airplane.png airplane 341_airplane.png airplane 20396_airplane.png airplane 36148_airplane.png airplane 20471_airplane.png airplane 46864_airplane.png airplane 43838_airplane.png airplane 2622_airplane.png airplane 9004_airplane.png airplane 22146_airplane.png airplane 3113_airplane.png airplane 47685_airplane.png airplane 36231_airplane.png airplane 35417_airplane.png airplane 4869_airplane.png airplane 29653_airplane.png airplane 14350_airplane.png airplane 30575_airplane.png airplane 41855_airplane.png airplane 13260_airplane.png airplane 4337_airplane.png airplane 17349_airplane.png airplane 38320_airplane.png airplane 21758_airplane.png airplane 35258_airplane.png airplane 3940_airplane.png airplane 115_airplane.png airplane 15831_airplane.png airplane 12936_airplane.png airplane 9945_airplane.png airplane 30408_airplane.png airplane 7810_airplane.png airplane 24802_airplane.png airplane 17383_airplane.png airplane 26177_airplane.png airplane 3438_airplane.png airplane 33130_airplane.png airplane 38770_airplane.png airplane 12993_airplane.png airplane 15153_airplane.png airplane 25167_airplane.png airplane 19778_airplane.png airplane 11583_airplane.png airplane 35256_airplane.png airplane 34012_airplane.png airplane 7550_airplane.png airplane 39431_airplane.png airplane 5346_airplane.png airplane 39995_airplane.png airplane 41068_airplane.png airplane 10577_airplane.png airplane 24735_airplane.png airplane 48054_airplane.png airplane 25609_airplane.png airplane 35179_airplane.png airplane 42151_airplane.png airplane 26662_airplane.png airplane 29732_airplane.png airplane 38900_airplane.png airplane 27623_airplane.png airplane 17133_airplane.png airplane 32460_airplane.png airplane 45242_airplane.png airplane 9619_airplane.png airplane 33062_airplane.png airplane 20449_airplane.png airplane 39601_airplane.png airplane 2262_airplane.png airplane 7865_airplane.png airplane 3609_airplane.png airplane 44082_airplane.png airplane 25862_airplane.png airplane 12037_airplane.png airplane 37962_airplane.png airplane 42379_airplane.png airplane 18599_airplane.png airplane 20473_airplane.png airplane 19928_airplane.png airplane 21092_airplane.png airplane 27813_airplane.png airplane 32432_airplane.png airplane 18391_airplane.png airplane 36325_airplane.png airplane 16838_airplane.png airplane 18782_airplane.png airplane 16501_airplane.png airplane 32873_airplane.png airplane 38285_airplane.png airplane 20622_airplane.png airplane 11240_airplane.png airplane 11897_airplane.png airplane 34780_airplane.png airplane 11475_airplane.png airplane 48492_airplane.png airplane 45035_airplane.png airplane 20236_airplane.png airplane 47906_airplane.png airplane 36004_airplane.png airplane 695_airplane.png airplane 46701_airplane.png airplane 47274_airplane.png airplane 16391_airplane.png airplane 160_automobile.png automobile 28335_automobile.png automobile 126_automobile.png automobile 6456_automobile.png automobile 18885_automobile.png automobile 28957_automobile.png automobile 1985_automobile.png automobile 14538_automobile.png automobile 9658_automobile.png automobile 28526_automobile.png automobile 31959_automobile.png automobile 30949_automobile.png automobile 16250_automobile.png automobile 2445_automobile.png automobile 3379_automobile.png automobile 44415_automobile.png automobile 49337_automobile.png automobile 7709_automobile.png automobile 45212_automobile.png automobile 17843_automobile.png automobile 20353_automobile.png automobile 28086_automobile.png automobile 49616_automobile.png automobile 34263_automobile.png automobile 44869_automobile.png automobile 49652_automobile.png automobile 20486_automobile.png automobile 20536_automobile.png automobile 41579_automobile.png automobile 22395_automobile.png automobile 33228_automobile.png automobile 47088_automobile.png automobile 29330_automobile.png automobile 47457_automobile.png automobile 18480_automobile.png automobile 2184_automobile.png automobile 16947_automobile.png automobile 45322_automobile.png automobile 36086_automobile.png automobile 42402_automobile.png automobile 936_automobile.png automobile 38725_automobile.png automobile 48141_automobile.png automobile 27809_automobile.png automobile 7735_automobile.png automobile 2101_automobile.png automobile 20549_automobile.png automobile 28941_automobile.png automobile 10000_automobile.png automobile 15273_automobile.png automobile 27419_automobile.png automobile 45399_automobile.png automobile 39218_automobile.png automobile 40633_automobile.png automobile 28196_automobile.png automobile 38262_automobile.png automobile 16331_automobile.png automobile 49973_automobile.png automobile 19867_automobile.png automobile 9646_automobile.png automobile 16172_automobile.png automobile 30696_automobile.png automobile 25363_automobile.png automobile 33285_automobile.png automobile 20376_automobile.png automobile 34909_automobile.png automobile 39749_automobile.png automobile 15692_automobile.png automobile 13534_automobile.png automobile 2661_automobile.png automobile 38152_automobile.png automobile 39192_automobile.png automobile 19450_automobile.png automobile 25050_automobile.png automobile 44767_automobile.png automobile 41472_automobile.png automobile 19886_automobile.png automobile 42710_automobile.png automobile 44472_automobile.png automobile 47987_automobile.png automobile 947_automobile.png automobile 44575_automobile.png automobile 21959_automobile.png automobile 13037_automobile.png automobile 6285_automobile.png automobile 2390_automobile.png automobile 6241_automobile.png automobile 34982_automobile.png automobile 19181_automobile.png automobile 48021_automobile.png automobile 31126_automobile.png automobile 10495_automobile.png automobile 8556_automobile.png automobile 25463_automobile.png automobile 22472_automobile.png automobile 31694_automobile.png automobile 41061_automobile.png automobile 29822_automobile.png automobile 25558_automobile.png automobile 28248_automobile.png automobile 26870_automobile.png automobile 41862_automobile.png automobile 13823_automobile.png automobile 3954_automobile.png automobile 20746_automobile.png automobile 32348_automobile.png automobile 6831_automobile.png automobile 47314_automobile.png automobile 36844_automobile.png automobile 33615_automobile.png automobile 8374_automobile.png automobile 41948_automobile.png automobile 33114_automobile.png automobile 44051_automobile.png automobile 16576_automobile.png automobile 9690_automobile.png automobile 40822_automobile.png automobile 26617_automobile.png automobile 42637_automobile.png automobile 25100_automobile.png automobile 16765_automobile.png automobile 36040_automobile.png automobile 34530_automobile.png automobile 29143_automobile.png automobile 23703_automobile.png automobile 24038_automobile.png automobile 31407_automobile.png automobile 46828_automobile.png automobile 33217_automobile.png automobile 48806_automobile.png automobile 17397_automobile.png automobile 15702_automobile.png automobile 30104_automobile.png automobile 35076_automobile.png automobile 24024_automobile.png automobile 40936_automobile.png automobile 9148_automobile.png automobile 33751_automobile.png automobile 10251_automobile.png automobile 45332_automobile.png automobile 39476_automobile.png automobile 49196_automobile.png automobile 3238_automobile.png automobile 36445_automobile.png automobile 28896_automobile.png automobile 14659_automobile.png automobile 39275_automobile.png automobile 17366_automobile.png automobile 30445_automobile.png automobile 20764_automobile.png automobile 47779_automobile.png automobile 48644_automobile.png automobile 2289_automobile.png automobile 26712_automobile.png automobile 13608_automobile.png automobile 25872_automobile.png automobile 43608_automobile.png automobile 30804_automobile.png automobile 46323_automobile.png automobile 10363_automobile.png automobile 44601_automobile.png automobile 31669_automobile.png automobile 33859_automobile.png automobile 33640_automobile.png automobile 38204_automobile.png automobile 46051_automobile.png automobile 17626_automobile.png automobile 45714_automobile.png automobile 24515_automobile.png automobile 11645_automobile.png automobile 6040_automobile.png automobile 13996_automobile.png automobile 43825_automobile.png automobile 35757_automobile.png automobile 31510_automobile.png automobile 34336_automobile.png automobile 6895_automobile.png automobile 33392_automobile.png automobile 47618_automobile.png automobile 45126_automobile.png automobile 45642_automobile.png automobile 5811_automobile.png automobile 47761_automobile.png automobile 25405_automobile.png automobile 27405_automobile.png automobile 4385_automobile.png automobile 45077_automobile.png automobile 30062_automobile.png automobile 30693_automobile.png automobile 7374_automobile.png automobile 40367_automobile.png automobile 7722_automobile.png automobile 44109_automobile.png automobile 19668_automobile.png automobile 38327_automobile.png automobile 21528_automobile.png automobile 16233_automobile.png automobile 24975_automobile.png automobile 12766_automobile.png automobile 27716_automobile.png automobile 17515_automobile.png automobile 24220_automobile.png automobile 31300_automobile.png automobile 44526_automobile.png automobile 34616_automobile.png automobile 8690_automobile.png automobile 14740_automobile.png automobile 7884_automobile.png automobile 30840_automobile.png automobile 48995_automobile.png automobile 28314_automobile.png automobile 16089_automobile.png automobile 32988_automobile.png automobile 41706_automobile.png automobile 10797_automobile.png automobile 31607_automobile.png automobile 21094_automobile.png automobile 42335_automobile.png automobile 393_automobile.png automobile 35404_automobile.png automobile 28344_automobile.png automobile 38892_automobile.png automobile 14378_automobile.png automobile 29829_automobile.png automobile 13701_automobile.png automobile 41230_automobile.png automobile 4607_automobile.png automobile 46240_automobile.png automobile 45787_automobile.png automobile 565_automobile.png automobile 18311_automobile.png automobile 28643_automobile.png automobile 16679_automobile.png automobile 5257_automobile.png automobile 17553_automobile.png automobile 48496_automobile.png automobile 24968_automobile.png automobile 31599_automobile.png automobile 27942_automobile.png automobile 41063_automobile.png automobile 5709_automobile.png automobile 16325_automobile.png automobile 7723_automobile.png automobile 7177_automobile.png automobile 8094_automobile.png automobile 46162_automobile.png automobile 13374_automobile.png automobile 27238_automobile.png automobile 19499_automobile.png automobile 47774_automobile.png automobile 7600_automobile.png automobile 36732_automobile.png automobile 7286_automobile.png automobile 16629_automobile.png automobile 25817_automobile.png automobile 10292_automobile.png automobile 16368_automobile.png automobile 45195_automobile.png automobile 28297_automobile.png automobile 17558_automobile.png automobile 5860_automobile.png automobile 20667_automobile.png automobile 27195_automobile.png automobile 34327_automobile.png automobile 5632_automobile.png automobile 43480_automobile.png automobile 28245_automobile.png automobile 33034_automobile.png automobile 40431_automobile.png automobile 10832_automobile.png automobile 29986_automobile.png automobile 45084_automobile.png automobile 30165_automobile.png automobile 32311_automobile.png automobile 26740_automobile.png automobile 41192_automobile.png automobile 44311_automobile.png automobile 1611_automobile.png automobile 40537_automobile.png automobile 36929_automobile.png automobile 35576_automobile.png automobile 40449_automobile.png automobile 38590_automobile.png automobile 4363_automobile.png automobile 13311_automobile.png automobile 28045_automobile.png automobile 34845_automobile.png automobile 47680_automobile.png automobile 12299_automobile.png automobile 35556_automobile.png automobile 15783_automobile.png automobile 34162_automobile.png automobile 4332_automobile.png automobile 4132_automobile.png automobile 49122_automobile.png automobile 41262_automobile.png automobile 23275_automobile.png automobile 9561_automobile.png automobile 11130_automobile.png automobile 20214_automobile.png automobile 4664_automobile.png automobile 16925_automobile.png automobile 31329_automobile.png automobile 6420_automobile.png automobile 16594_automobile.png automobile 4909_automobile.png automobile 34358_automobile.png automobile 17771_automobile.png automobile 41586_automobile.png automobile 206_automobile.png automobile 1305_automobile.png automobile 6589_automobile.png automobile 41433_automobile.png automobile 49999_automobile.png automobile 23220_automobile.png automobile 10826_automobile.png automobile 29121_automobile.png automobile 10236_automobile.png automobile 20731_automobile.png automobile 15961_automobile.png automobile 41701_automobile.png automobile 25852_automobile.png automobile 36028_automobile.png automobile 2597_automobile.png automobile 1251_automobile.png automobile 3924_automobile.png automobile 17111_automobile.png automobile 45923_automobile.png automobile 16189_automobile.png automobile 11890_automobile.png automobile 34445_automobile.png automobile 10846_automobile.png automobile 14048_automobile.png automobile 30856_automobile.png automobile 42833_automobile.png automobile 8692_automobile.png automobile 3230_automobile.png automobile 21020_automobile.png automobile 8085_automobile.png automobile 40184_automobile.png automobile 44824_automobile.png automobile 20896_automobile.png automobile 48840_automobile.png automobile 42726_automobile.png automobile 11579_automobile.png automobile 24417_automobile.png automobile 13922_automobile.png automobile 16037_automobile.png automobile 2185_automobile.png automobile 12340_automobile.png automobile 28110_automobile.png automobile 49674_automobile.png automobile 43655_automobile.png automobile 49643_automobile.png automobile 44385_automobile.png automobile 6779_automobile.png automobile 36935_automobile.png automobile 8350_automobile.png automobile 3990_automobile.png automobile 23232_automobile.png automobile 39933_automobile.png automobile 17802_automobile.png automobile 10678_automobile.png automobile 30088_automobile.png automobile 7238_automobile.png automobile 11418_automobile.png automobile 39256_automobile.png automobile 35033_automobile.png automobile 12755_automobile.png automobile 32472_automobile.png automobile 42081_automobile.png automobile 44726_automobile.png automobile 22529_automobile.png automobile 753_automobile.png automobile 17255_automobile.png automobile 8191_automobile.png automobile 18377_automobile.png automobile 25909_automobile.png automobile 48574_automobile.png automobile 24767_automobile.png automobile 24075_automobile.png automobile 41529_automobile.png automobile 43398_automobile.png automobile 30293_automobile.png automobile 44725_automobile.png automobile 35004_automobile.png automobile 45289_automobile.png automobile 12210_automobile.png automobile 18890_automobile.png automobile 22474_automobile.png automobile 4661_automobile.png automobile 41908_automobile.png automobile 11791_automobile.png automobile 48528_automobile.png automobile 11515_automobile.png automobile 22763_automobile.png automobile 45600_automobile.png automobile 45329_automobile.png automobile 23983_automobile.png automobile 29308_automobile.png automobile 17883_bird.png bird 15837_bird.png bird 25989_bird.png bird 31289_bird.png bird 17379_bird.png bird 32153_bird.png bird 15065_bird.png bird 15091_bird.png bird 29156_bird.png bird 46114_bird.png bird 7330_bird.png bird 19295_bird.png bird 29379_bird.png bird 43987_bird.png bird 15754_bird.png bird 16671_bird.png bird 10866_bird.png bird 23944_bird.png bird 27676_bird.png bird 9475_bird.png bird 15649_bird.png bird 12549_bird.png bird 32850_bird.png bird 43469_bird.png bird 25984_bird.png bird 15673_bird.png bird 12533_bird.png bird 45451_bird.png bird 44181_bird.png bird 34597_bird.png bird 34907_bird.png bird 16695_bird.png bird 30237_bird.png bird 18092_bird.png bird 13290_bird.png bird 31926_bird.png bird 41767_bird.png bird 43747_bird.png bird 18191_bird.png bird 34050_bird.png bird 11882_bird.png bird 358_bird.png bird 20323_bird.png bird 32045_bird.png bird 29374_bird.png bird 18322_bird.png bird 19280_bird.png bird 40791_bird.png bird 40911_bird.png bird 34529_bird.png bird 6011_bird.png bird 28662_bird.png bird 39112_bird.png bird 37373_bird.png bird 33218_bird.png bird 16804_bird.png bird 13195_bird.png bird 14285_bird.png bird 25222_bird.png bird 3760_bird.png bird 47548_bird.png bird 32639_bird.png bird 27266_bird.png bird 26398_bird.png bird 33276_bird.png bird 14946_bird.png bird 3791_bird.png bird 28377_bird.png bird 34488_bird.png bird 19044_bird.png bird 14769_bird.png bird 13898_bird.png bird 36447_bird.png bird 24977_bird.png bird 33291_bird.png bird 2907_bird.png bird 22495_bird.png bird 19743_bird.png bird 9635_bird.png bird 31229_bird.png bird 47123_bird.png bird 31897_bird.png bird 43856_bird.png bird 26175_bird.png bird 8192_bird.png bird 4257_bird.png bird 13007_bird.png bird 283_bird.png bird 13585_bird.png bird 25911_bird.png bird 44732_bird.png bird 14675_bird.png bird 8024_bird.png bird 43080_bird.png bird 26873_bird.png bird 2269_bird.png bird 1430_bird.png bird 45042_bird.png bird 16875_bird.png bird 47180_bird.png bird 8173_bird.png bird 2136_bird.png bird 44495_bird.png bird 44995_bird.png bird 40687_bird.png bird 5238_bird.png bird 4598_bird.png bird 4730_bird.png bird 7521_bird.png bird 15788_bird.png bird 3395_bird.png bird 22602_bird.png bird 29363_bird.png bird 24771_bird.png bird 36330_bird.png bird 43781_bird.png bird 13318_bird.png bird 44783_bird.png bird 46983_bird.png bird 42839_bird.png bird 7098_bird.png bird 32127_bird.png bird 12462_bird.png bird 21223_bird.png bird 23165_bird.png bird 37129_bird.png bird 18819_bird.png bird 42990_bird.png bird 2378_bird.png bird 2983_bird.png bird 39412_bird.png bird 27704_bird.png bird 37586_bird.png bird 39951_bird.png bird 37247_bird.png bird 41024_bird.png bird 34219_bird.png bird 15751_bird.png bird 20545_bird.png bird 6097_bird.png bird 45079_bird.png bird 9639_bird.png bird 1291_bird.png bird 15088_bird.png bird 45744_bird.png bird 35711_bird.png bird 40736_bird.png bird 37848_bird.png bird 28343_bird.png bird 37026_bird.png bird 31469_bird.png bird 35319_bird.png bird 18376_bird.png bird 42717_bird.png bird 15717_bird.png bird 1620_bird.png bird 16747_bird.png bird 9249_bird.png bird 46584_bird.png bird 12574_bird.png bird 11420_bird.png bird 28890_bird.png bird 32274_bird.png bird 11650_bird.png bird 27309_bird.png bird 14640_bird.png bird 22275_bird.png bird 38030_bird.png bird 14120_bird.png bird 36860_bird.png bird 32387_bird.png bird 9144_bird.png bird 17403_bird.png bird 35172_bird.png bird 26128_bird.png bird 17582_bird.png bird 7797_bird.png bird 6073_bird.png bird 26305_bird.png bird 7888_bird.png bird 38605_bird.png bird 1050_bird.png bird 19806_bird.png bird 43367_bird.png bird 17092_bird.png bird 48015_bird.png bird 11811_bird.png bird 22248_bird.png bird 20403_bird.png bird 41764_bird.png bird 26390_bird.png bird 12200_bird.png bird 6414_bird.png bird 33293_bird.png bird 40288_bird.png bird 35519_bird.png bird 5248_bird.png bird 24399_bird.png bird 7766_bird.png bird 43443_bird.png bird 31130_bird.png bird 36863_bird.png bird 37255_bird.png bird 2846_bird.png bird 41299_bird.png bird 26181_bird.png bird 39809_bird.png bird 5724_bird.png bird 29612_bird.png bird 27492_bird.png bird 14814_bird.png bird 31874_bird.png bird 13819_bird.png bird 14840_bird.png bird 5506_bird.png bird 39309_bird.png bird 28618_bird.png bird 15847_bird.png bird 48493_bird.png bird 2090_bird.png bird 19737_bird.png bird 8340_bird.png bird 20651_bird.png bird 38883_bird.png bird 25801_bird.png bird 32544_bird.png bird 43173_bird.png bird 31318_bird.png bird 22250_bird.png bird 11382_bird.png bird 18464_bird.png bird 28551_bird.png bird 22733_bird.png bird 38170_bird.png bird 22035_bird.png bird 6081_bird.png bird 18184_bird.png bird 12067_bird.png bird 5537_bird.png bird 28944_bird.png bird 17739_bird.png bird 24465_bird.png bird 32013_bird.png bird 26234_bird.png bird 43966_bird.png bird 36355_bird.png bird 29303_bird.png bird 35320_bird.png bird 30214_bird.png bird 8218_bird.png bird 11194_bird.png bird 45875_bird.png bird 35031_bird.png bird 47397_bird.png bird 13278_bird.png bird 25695_bird.png bird 6210_bird.png bird 2076_bird.png bird 11286_bird.png bird 3423_bird.png bird 31492_bird.png bird 31550_bird.png bird 16732_bird.png bird 47808_bird.png bird 48093_bird.png bird 45272_bird.png bird 36516_bird.png bird 144_bird.png bird 11478_bird.png bird 47248_bird.png bird 5715_bird.png bird 47392_bird.png bird 15895_bird.png bird 21031_bird.png bird 24911_bird.png bird 42588_bird.png bird 4008_bird.png bird 44256_bird.png bird 19287_bird.png bird 24636_bird.png bird 28878_bird.png bird 31486_bird.png bird 38032_bird.png bird 45437_bird.png bird 9716_bird.png bird 9734_bird.png bird 21189_bird.png bird 2044_bird.png bird 11746_bird.png bird 10461_bird.png bird 5531_bird.png bird 36316_bird.png bird 31766_bird.png bird 5343_bird.png bird 48089_bird.png bird 23519_bird.png bird 20283_bird.png bird 48518_bird.png bird 9577_bird.png bird 18733_bird.png bird 8518_bird.png bird 28893_bird.png bird 10651_bird.png bird 35309_bird.png bird 41401_bird.png bird 10582_bird.png bird 25491_bird.png bird 42821_bird.png bird 49432_bird.png bird 24980_bird.png bird 40488_bird.png bird 40392_bird.png bird 28734_bird.png bird 9803_bird.png bird 48137_bird.png bird 35857_bird.png bird 10360_bird.png bird 34340_bird.png bird 31020_bird.png bird 18162_bird.png bird 36382_bird.png bird 37212_bird.png bird 40701_bird.png bird 14172_bird.png bird 18163_bird.png bird 33135_bird.png bird 41856_bird.png bird 18198_bird.png bird 45021_bird.png bird 16279_bird.png bird 20526_bird.png bird 42430_bird.png bird 6520_bird.png bird 20859_bird.png bird 43527_bird.png bird 6606_bird.png bird 40112_bird.png bird 8280_bird.png bird 47695_bird.png bird 37828_bird.png bird 9585_bird.png bird 26648_bird.png bird 29707_bird.png bird 49972_bird.png bird 35488_bird.png bird 46681_bird.png bird 13232_bird.png bird 7974_bird.png bird 11436_bird.png bird 20712_bird.png bird 46798_bird.png bird 2436_bird.png bird 20724_bird.png bird 27416_bird.png bird 20572_bird.png bird 36152_bird.png bird 16498_bird.png bird 14930_bird.png bird 5574_bird.png bird 19453_bird.png bird 33323_bird.png bird 22297_bird.png bird 829_bird.png bird 25282_bird.png bird 11991_bird.png bird 40388_bird.png bird 31562_bird.png bird 40282_bird.png bird 31636_bird.png bird 4085_bird.png bird 17695_bird.png bird 29058_bird.png bird 11454_bird.png bird 11745_bird.png bird 27477_bird.png bird 34928_bird.png bird 9916_bird.png bird 21426_bird.png bird 39687_bird.png bird 24694_bird.png bird 40704_bird.png bird 9348_bird.png bird 6542_bird.png bird 2098_bird.png bird 40333_bird.png bird 32030_bird.png bird 26734_bird.png bird 9290_bird.png bird 19328_bird.png bird 26792_bird.png bird 24069_bird.png bird 48074_bird.png bird 30070_bird.png bird 15419_bird.png bird 46125_bird.png bird 6334_bird.png bird 45334_bird.png bird 21550_bird.png bird 42450_bird.png bird 32858_bird.png bird 31150_cat.png cat 43827_cat.png cat 29235_cat.png cat 10017_cat.png cat 36728_cat.png cat 31346_cat.png cat 36518_cat.png cat 39599_cat.png cat 1257_cat.png cat 6742_cat.png cat 20269_cat.png cat 27064_cat.png cat 11836_cat.png cat 39313_cat.png cat 4796_cat.png cat 35032_cat.png cat 43283_cat.png cat 15169_cat.png cat 27413_cat.png cat 7125_cat.png cat 7086_cat.png cat 8408_cat.png cat 14526_cat.png cat 29451_cat.png cat 13925_cat.png cat 26965_cat.png cat 3287_cat.png cat 4915_cat.png cat 28109_cat.png cat 28592_cat.png cat 27620_cat.png cat 35998_cat.png cat 7290_cat.png cat 42011_cat.png cat 43751_cat.png cat 43243_cat.png cat 12815_cat.png cat 45711_cat.png cat 41601_cat.png cat 24335_cat.png cat 24036_cat.png cat 32774_cat.png cat 18865_cat.png cat 40404_cat.png cat 43472_cat.png cat 43799_cat.png cat 22826_cat.png cat 3351_cat.png cat 13281_cat.png cat 15388_cat.png cat 10255_cat.png cat 43257_cat.png cat 2082_cat.png cat 17300_cat.png cat 24490_cat.png cat 18283_cat.png cat 39761_cat.png cat 48629_cat.png cat 38761_cat.png cat 7671_cat.png cat 21400_cat.png cat 28983_cat.png cat 22049_cat.png cat 8139_cat.png cat 44707_cat.png cat 18371_cat.png cat 15269_cat.png cat 30266_cat.png cat 32350_cat.png cat 44802_cat.png cat 37367_cat.png cat 895_cat.png cat 28609_cat.png cat 2348_cat.png cat 4772_cat.png cat 22226_cat.png cat 5838_cat.png cat 37105_cat.png cat 31194_cat.png cat 17814_cat.png cat 11344_cat.png cat 5242_cat.png cat 41540_cat.png cat 8599_cat.png cat 2931_cat.png cat 16751_cat.png cat 2432_cat.png cat 44354_cat.png cat 23048_cat.png cat 37475_cat.png cat 10454_cat.png cat 32155_cat.png cat 14237_cat.png cat 19005_cat.png cat 41874_cat.png cat 18531_cat.png cat 37176_cat.png cat 33280_cat.png cat 10177_cat.png cat 9185_cat.png cat 17655_cat.png cat 38126_cat.png cat 18771_cat.png cat 12428_cat.png cat 36554_cat.png cat 24276_cat.png cat 20721_cat.png cat 29187_cat.png cat 13393_cat.png cat 10825_cat.png cat 41937_cat.png cat 12118_cat.png cat 23278_cat.png cat 26302_cat.png cat 6872_cat.png cat 32443_cat.png cat 5980_cat.png cat 41229_cat.png cat 4083_cat.png cat 42779_cat.png cat 36926_cat.png cat 17930_cat.png cat 25713_cat.png cat 21250_cat.png cat 18651_cat.png cat 40587_cat.png cat 21625_cat.png cat 44635_cat.png cat 23286_cat.png cat 49975_cat.png cat 3447_cat.png cat 4465_cat.png cat 15876_cat.png cat 34354_cat.png cat 49322_cat.png cat 38829_cat.png cat 47603_cat.png cat 28953_cat.png cat 26036_cat.png cat 35024_cat.png cat 9667_cat.png cat 11324_cat.png cat 35919_cat.png cat 25447_cat.png cat 21147_cat.png cat 46056_cat.png cat 41514_cat.png cat 26283_cat.png cat 39166_cat.png cat 8656_cat.png cat 27556_cat.png cat 37982_cat.png cat 9357_cat.png cat 14014_cat.png cat 38673_cat.png cat 33940_cat.png cat 42647_cat.png cat 9976_cat.png cat 5007_cat.png cat 49054_cat.png cat 45632_cat.png cat 6618_cat.png cat 37967_cat.png cat 30754_cat.png cat 20194_cat.png cat 17644_cat.png cat 22866_cat.png cat 48768_cat.png cat 38442_cat.png cat 1345_cat.png cat 7343_cat.png cat 13601_cat.png cat 3594_cat.png cat 2337_cat.png cat 22278_cat.png cat 30389_cat.png cat 37417_cat.png cat 45057_cat.png cat 8262_cat.png cat 14820_cat.png cat 35398_cat.png cat 17530_cat.png cat 16561_cat.png cat 3043_cat.png cat 30332_cat.png cat 25257_cat.png cat 6732_cat.png cat 30838_cat.png cat 44855_cat.png cat 32527_cat.png cat 12612_cat.png cat 16703_cat.png cat 35472_cat.png cat 48097_cat.png cat 21882_cat.png cat 39100_cat.png cat 47413_cat.png cat 20520_cat.png cat 38684_cat.png cat 7432_cat.png cat 6812_cat.png cat 42853_cat.png cat 22979_cat.png cat 48609_cat.png cat 32423_cat.png cat 13873_cat.png cat 8041_cat.png cat 19221_cat.png cat 20255_cat.png cat 49366_cat.png cat 6758_cat.png cat 26436_cat.png cat 24896_cat.png cat 23235_cat.png cat 27020_cat.png cat 41493_cat.png cat 12823_cat.png cat 4799_cat.png cat 13581_cat.png cat 9129_cat.png cat 25214_cat.png cat 36685_cat.png cat 26859_cat.png cat 25633_cat.png cat 10575_cat.png cat 45415_cat.png cat 36219_cat.png cat 30986_cat.png cat 22239_cat.png cat 11359_cat.png cat 42192_cat.png cat 8645_cat.png cat 37251_cat.png cat 1528_cat.png cat 8028_cat.png cat 23536_cat.png cat 48062_cat.png cat 35102_cat.png cat 45175_cat.png cat 39634_cat.png cat 20425_cat.png cat 9600_cat.png cat 37769_cat.png cat 24460_cat.png cat 42176_cat.png cat 4921_cat.png cat 42198_cat.png cat 46515_cat.png cat 16341_cat.png cat 37410_cat.png cat 25077_cat.png cat 37863_cat.png cat 33113_cat.png cat 18584_cat.png cat 8598_cat.png cat 2083_cat.png cat 5423_cat.png cat 20346_cat.png cat 24801_cat.png cat 21827_cat.png cat 43428_cat.png cat 23815_cat.png cat 25179_cat.png cat 8686_cat.png cat 17496_cat.png cat 27586_cat.png cat 24100_cat.png cat 23256_cat.png cat 36054_cat.png cat 11339_cat.png cat 13019_cat.png cat 11409_cat.png cat 25541_cat.png cat 37644_cat.png cat 27683_cat.png cat 34498_cat.png cat 5592_cat.png cat 20760_cat.png cat 11668_cat.png cat 21287_cat.png cat 3792_cat.png cat 25324_cat.png cat 14861_cat.png cat 48758_cat.png cat 48045_cat.png cat 26097_cat.png cat 49979_cat.png cat 41016_cat.png cat 30960_cat.png cat 25073_cat.png cat 13907_cat.png cat 11739_cat.png cat 49466_cat.png cat 48170_cat.png cat 15226_cat.png cat 31414_cat.png cat 19388_cat.png cat 3109_cat.png cat 40651_cat.png cat 30896_cat.png cat 40546_cat.png cat 40888_cat.png cat 14494_cat.png cat 17699_cat.png cat 38706_cat.png cat 5479_cat.png cat 15562_cat.png cat 20469_cat.png cat 8255_cat.png cat 43843_cat.png cat 47553_cat.png cat 17322_cat.png cat 45053_cat.png cat 38048_cat.png cat 27096_cat.png cat 10439_cat.png cat 30346_cat.png cat 39410_cat.png cat 25281_cat.png cat 7539_cat.png cat 38097_cat.png cat 7584_cat.png cat 14568_cat.png cat 48867_cat.png cat 13167_cat.png cat 4760_cat.png cat 40577_cat.png cat 16452_cat.png cat 203_cat.png cat 33642_cat.png cat 38338_cat.png cat 38960_cat.png cat 43385_cat.png cat 1895_cat.png cat 38652_cat.png cat 47410_cat.png cat 19455_cat.png cat 37429_cat.png cat 1735_cat.png cat 12821_cat.png cat 59_cat.png cat 809_cat.png cat 41027_cat.png cat 25509_cat.png cat 40353_cat.png cat 5321_cat.png cat 47475_cat.png cat 44636_cat.png cat 14938_cat.png cat 39868_cat.png cat 49742_cat.png cat 30059_cat.png cat 11211_cat.png cat 11353_cat.png cat 16808_cat.png cat 41351_cat.png cat 11052_cat.png cat 25254_cat.png cat 5110_cat.png cat 36969_cat.png cat 41589_cat.png cat 46070_cat.png cat 36894_cat.png cat 11366_cat.png cat 42433_cat.png cat 10418_cat.png cat 46433_cat.png cat 47541_cat.png cat 31499_cat.png cat 20390_cat.png cat 44852_cat.png cat 48524_cat.png cat 27734_cat.png cat 27152_cat.png cat 7689_cat.png cat 43490_cat.png cat 20632_cat.png cat 15145_cat.png cat 32813_cat.png cat 24868_cat.png cat 9892_cat.png cat 46542_cat.png cat 23401_cat.png cat 34146_cat.png cat 4669_cat.png cat 40847_cat.png cat 3052_cat.png cat 49032_cat.png cat 32219_cat.png cat 16983_cat.png cat 12870_cat.png cat 41182_cat.png cat 15877_cat.png cat 44252_cat.png cat 36431_cat.png cat 43762_cat.png cat 4564_cat.png cat 22922_cat.png cat 9405_cat.png cat 3057_cat.png cat 11209_deer.png deer 39958_deer.png deer 12511_deer.png deer 1934_deer.png deer 27074_deer.png deer 23200_deer.png deer 4725_deer.png deer 18807_deer.png deer 16323_deer.png deer 30885_deer.png deer 46778_deer.png deer 13282_deer.png deer 41056_deer.png deer 6311_deer.png deer 1941_deer.png deer 16542_deer.png deer 32284_deer.png deer 21794_deer.png deer 20543_deer.png deer 39009_deer.png deer 40827_deer.png deer 42059_deer.png deer 5074_deer.png deer 45255_deer.png deer 20823_deer.png deer 27489_deer.png deer 49990_deer.png deer 42342_deer.png deer 5440_deer.png deer 34562_deer.png deer 29152_deer.png deer 14516_deer.png deer 35467_deer.png deer 5173_deer.png deer 15253_deer.png deer 8114_deer.png deer 18207_deer.png deer 22981_deer.png deer 14787_deer.png deer 25977_deer.png deer 2703_deer.png deer 15625_deer.png deer 30881_deer.png deer 4943_deer.png deer 25620_deer.png deer 36517_deer.png deer 33373_deer.png deer 15519_deer.png deer 46416_deer.png deer 3509_deer.png deer 25813_deer.png deer 42303_deer.png deer 24830_deer.png deer 46884_deer.png deer 2705_deer.png deer 38787_deer.png deer 21304_deer.png deer 28002_deer.png deer 15715_deer.png deer 41077_deer.png deer 33823_deer.png deer 145_deer.png deer 45683_deer.png deer 13769_deer.png deer 25003_deer.png deer 41608_deer.png deer 37775_deer.png deer 40642_deer.png deer 1704_deer.png deer 2990_deer.png deer 49030_deer.png deer 45586_deer.png deer 19584_deer.png deer 20439_deer.png deer 3784_deer.png deer 6452_deer.png deer 33872_deer.png deer 49207_deer.png deer 11945_deer.png deer 29756_deer.png deer 30268_deer.png deer 47384_deer.png deer 45199_deer.png deer 11161_deer.png deer 37987_deer.png deer 13905_deer.png deer 41810_deer.png deer 25355_deer.png deer 34119_deer.png deer 25954_deer.png deer 4987_deer.png deer 7059_deer.png deer 33066_deer.png deer 28769_deer.png deer 43627_deer.png deer 34727_deer.png deer 15578_deer.png deer 13896_deer.png deer 42146_deer.png deer 18818_deer.png deer 6636_deer.png deer 14858_deer.png deer 35308_deer.png deer 15525_deer.png deer 12006_deer.png deer 40289_deer.png deer 1004_deer.png deer 33357_deer.png deer 10489_deer.png deer 16636_deer.png deer 48884_deer.png deer 34969_deer.png deer 15508_deer.png deer 39785_deer.png deer 9695_deer.png deer 29830_deer.png deer 17632_deer.png deer 10196_deer.png deer 17878_deer.png deer 49390_deer.png deer 17323_deer.png deer 47517_deer.png deer 32960_deer.png deer 41595_deer.png deer 31027_deer.png deer 45274_deer.png deer 47141_deer.png deer 22544_deer.png deer 13464_deer.png deer 7811_deer.png deer 24046_deer.png deer 4985_deer.png deer 7382_deer.png deer 12154_deer.png deer 17585_deer.png deer 33998_deer.png deer 41822_deer.png deer 39302_deer.png deer 48738_deer.png deer 19797_deer.png deer 520_deer.png deer 23460_deer.png deer 6985_deer.png deer 40840_deer.png deer 29218_deer.png deer 42040_deer.png deer 9816_deer.png deer 27334_deer.png deer 5594_deer.png deer 30962_deer.png deer 33302_deer.png deer 30425_deer.png deer 21642_deer.png deer 33070_deer.png deer 1657_deer.png deer 48621_deer.png deer 48812_deer.png deer 39698_deer.png deer 28278_deer.png deer 28576_deer.png deer 16434_deer.png deer 30801_deer.png deer 7828_deer.png deer 23604_deer.png deer 42434_deer.png deer 22964_deer.png deer 2913_deer.png deer 9643_deer.png deer 18008_deer.png deer 12324_deer.png deer 30206_deer.png deer 14051_deer.png deer 45729_deer.png deer 45133_deer.png deer 1881_deer.png deer 16485_deer.png deer 16587_deer.png deer 22944_deer.png deer 149_deer.png deer 25767_deer.png deer 15684_deer.png deer 47837_deer.png deer 43529_deer.png deer 7787_deer.png deer 46769_deer.png deer 5289_deer.png deer 47257_deer.png deer 19340_deer.png deer 45239_deer.png deer 16893_deer.png deer 18455_deer.png deer 420_deer.png deer 27888_deer.png deer 10404_deer.png deer 1739_deer.png deer 32224_deer.png deer 1315_deer.png deer 41804_deer.png deer 3283_deer.png deer 6289_deer.png deer 45121_deer.png deer 31902_deer.png deer 18553_deer.png deer 34994_deer.png deer 5051_deer.png deer 23637_deer.png deer 23134_deer.png deer 41824_deer.png deer 46415_deer.png deer 17852_deer.png deer 31702_deer.png deer 7099_deer.png deer 38465_deer.png deer 49946_deer.png deer 47503_deer.png deer 42315_deer.png deer 20270_deer.png deer 17635_deer.png deer 44007_deer.png deer 3527_deer.png deer 49355_deer.png deer 13183_deer.png deer 28799_deer.png deer 27604_deer.png deer 19215_deer.png deer 14911_deer.png deer 24236_deer.png deer 3044_deer.png deer 44962_deer.png deer 43222_deer.png deer 35601_deer.png deer 7383_deer.png deer 38455_deer.png deer 38188_deer.png deer 11590_deer.png deer 36646_deer.png deer 3001_deer.png deer 48889_deer.png deer 6844_deer.png deer 6128_deer.png deer 11282_deer.png deer 14440_deer.png deer 43502_deer.png deer 16241_deer.png deer 5488_deer.png deer 34331_deer.png deer 1387_deer.png deer 46789_deer.png deer 1666_deer.png deer 48533_deer.png deer 39768_deer.png deer 13787_deer.png deer 17845_deer.png deer 20987_deer.png deer 23252_deer.png deer 20046_deer.png deer 19315_deer.png deer 18304_deer.png deer 6181_deer.png deer 49213_deer.png deer 28407_deer.png deer 37721_deer.png deer 44629_deer.png deer 14644_deer.png deer 26142_deer.png deer 856_deer.png deer 14181_deer.png deer 18699_deer.png deer 7368_deer.png deer 1654_deer.png deer 4400_deer.png deer 34737_deer.png deer 44473_deer.png deer 30614_deer.png deer 4297_deer.png deer 36383_deer.png deer 31505_deer.png deer 39182_deer.png deer 33512_deer.png deer 37053_deer.png deer 15624_deer.png deer 39932_deer.png deer 24829_deer.png deer 18627_deer.png deer 18829_deer.png deer 32005_deer.png deer 1516_deer.png deer 22711_deer.png deer 23394_deer.png deer 13646_deer.png deer 6314_deer.png deer 17674_deer.png deer 40770_deer.png deer 3116_deer.png deer 16492_deer.png deer 12478_deer.png deer 18664_deer.png deer 6103_deer.png deer 49515_deer.png deer 25863_deer.png deer 14415_deer.png deer 22996_deer.png deer 28751_deer.png deer 18984_deer.png deer 14532_deer.png deer 21066_deer.png deer 6594_deer.png deer 48860_deer.png deer 43337_deer.png deer 31953_deer.png deer 43640_deer.png deer 49974_deer.png deer 15454_deer.png deer 11765_deer.png deer 21425_deer.png deer 46319_deer.png deer 2234_deer.png deer 37442_deer.png deer 1903_deer.png deer 5345_deer.png deer 41982_deer.png deer 18251_deer.png deer 2858_deer.png deer 47149_deer.png deer 9102_deer.png deer 32657_deer.png deer 47716_deer.png deer 20890_deer.png deer 16689_deer.png deer 28289_deer.png deer 30289_deer.png deer 5490_deer.png deer 49421_deer.png deer 36047_deer.png deer 36755_deer.png deer 1746_deer.png deer 34261_deer.png deer 27417_deer.png deer 8279_deer.png deer 39451_deer.png deer 9887_deer.png deer 27964_deer.png deer 12313_deer.png deer 21980_deer.png deer 22050_deer.png deer 22288_deer.png deer 27455_deer.png deer 4710_deer.png deer 8047_deer.png deer 10570_deer.png deer 38015_deer.png deer 33979_deer.png deer 22205_deer.png deer 24529_deer.png deer 33586_deer.png deer 32789_deer.png deer 48881_deer.png deer 30841_deer.png deer 45616_deer.png deer 8131_deer.png deer 15947_deer.png deer 36019_deer.png deer 16294_deer.png deer 37599_deer.png deer 7404_deer.png deer 2779_deer.png deer 37954_deer.png deer 2951_deer.png deer 33862_deer.png deer 10179_deer.png deer 43732_deer.png deer 23474_deer.png deer 30527_deer.png deer 3736_deer.png deer 19822_deer.png deer 19510_deer.png deer 10877_deer.png deer 930_deer.png deer 34692_deer.png deer 5894_deer.png deer 32120_deer.png deer 26459_deer.png deer 41688_deer.png deer 3027_deer.png deer 44044_deer.png deer 15917_deer.png deer 6897_deer.png deer 35304_deer.png deer 45812_deer.png deer 19378_deer.png deer 31227_deer.png deer 11930_deer.png deer 28464_deer.png deer 8939_deer.png deer 28232_deer.png deer 39293_deer.png deer 16465_deer.png deer 45913_deer.png deer 33167_deer.png deer 45315_deer.png deer 32910_dog.png dog 29566_dog.png dog 19350_dog.png dog 47507_dog.png dog 15952_dog.png dog 44445_dog.png dog 22445_dog.png dog 49472_dog.png dog 424_dog.png dog 48181_dog.png dog 31109_dog.png dog 34494_dog.png dog 7699_dog.png dog 37537_dog.png dog 12974_dog.png dog 40419_dog.png dog 8675_dog.png dog 19319_dog.png dog 27771_dog.png dog 28510_dog.png dog 16212_dog.png dog 44838_dog.png dog 15293_dog.png dog 18971_dog.png dog 32576_dog.png dog 26682_dog.png dog 39647_dog.png dog 32895_dog.png dog 2850_dog.png dog 4074_dog.png dog 3421_dog.png dog 2794_dog.png dog 21062_dog.png dog 19925_dog.png dog 29554_dog.png dog 23432_dog.png dog 380_dog.png dog 42286_dog.png dog 38924_dog.png dog 36810_dog.png dog 11949_dog.png dog 12630_dog.png dog 19368_dog.png dog 29624_dog.png dog 6778_dog.png dog 32481_dog.png dog 48715_dog.png dog 36854_dog.png dog 26998_dog.png dog 34838_dog.png dog 32817_dog.png dog 37958_dog.png dog 32079_dog.png dog 15017_dog.png dog 21804_dog.png dog 14579_dog.png dog 19972_dog.png dog 43056_dog.png dog 18288_dog.png dog 10397_dog.png dog 15862_dog.png dog 43693_dog.png dog 44343_dog.png dog 15861_dog.png dog 30090_dog.png dog 11523_dog.png dog 22819_dog.png dog 35513_dog.png dog 21494_dog.png dog 41113_dog.png dog 25702_dog.png dog 48362_dog.png dog 25505_dog.png dog 9190_dog.png dog 37874_dog.png dog 33319_dog.png dog 44260_dog.png dog 19652_dog.png dog 33768_dog.png dog 7429_dog.png dog 12089_dog.png dog 48010_dog.png dog 43347_dog.png dog 14707_dog.png dog 16799_dog.png dog 39663_dog.png dog 3153_dog.png dog 13245_dog.png dog 47209_dog.png dog 11376_dog.png dog 34660_dog.png dog 7870_dog.png dog 4884_dog.png dog 44687_dog.png dog 16291_dog.png dog 32919_dog.png dog 17665_dog.png dog 31028_dog.png dog 45178_dog.png dog 32864_dog.png dog 21705_dog.png dog 2335_dog.png dog 3167_dog.png dog 49508_dog.png dog 18475_dog.png dog 29796_dog.png dog 32001_dog.png dog 21046_dog.png dog 675_dog.png dog 27943_dog.png dog 42721_dog.png dog 37527_dog.png dog 15736_dog.png dog 47528_dog.png dog 39538_dog.png dog 46203_dog.png dog 42731_dog.png dog 15815_dog.png dog 18773_dog.png dog 26125_dog.png dog 41789_dog.png dog 26330_dog.png dog 23587_dog.png dog 35389_dog.png dog 17518_dog.png dog 41587_dog.png dog 30042_dog.png dog 49467_dog.png dog 22999_dog.png dog 15775_dog.png dog 41367_dog.png dog 35801_dog.png dog 31708_dog.png dog 23544_dog.png dog 17354_dog.png dog 21261_dog.png dog 15219_dog.png dog 38099_dog.png dog 27345_dog.png dog 26996_dog.png dog 30359_dog.png dog 21233_dog.png dog 31641_dog.png dog 17175_dog.png dog 27890_dog.png dog 43455_dog.png dog 26194_dog.png dog 7779_dog.png dog 9212_dog.png dog 9867_dog.png dog 45579_dog.png dog 6781_dog.png dog 41175_dog.png dog 20140_dog.png dog 3751_dog.png dog 45992_dog.png dog 18463_dog.png dog 31977_dog.png dog 29110_dog.png dog 1949_dog.png dog 35000_dog.png dog 49111_dog.png dog 3264_dog.png dog 16236_dog.png dog 8500_dog.png dog 11530_dog.png dog 8923_dog.png dog 23207_dog.png dog 44485_dog.png dog 20020_dog.png dog 45206_dog.png dog 41692_dog.png dog 47065_dog.png dog 43181_dog.png dog 26949_dog.png dog 2013_dog.png dog 39817_dog.png dog 48383_dog.png dog 17392_dog.png dog 21889_dog.png dog 12578_dog.png dog 9871_dog.png dog 7978_dog.png dog 14696_dog.png dog 25515_dog.png dog 31240_dog.png dog 43686_dog.png dog 44990_dog.png dog 40600_dog.png dog 30723_dog.png dog 996_dog.png dog 30112_dog.png dog 21616_dog.png dog 44189_dog.png dog 13112_dog.png dog 31180_dog.png dog 22679_dog.png dog 11947_dog.png dog 17795_dog.png dog 10657_dog.png dog 34534_dog.png dog 21554_dog.png dog 2634_dog.png dog 2117_dog.png dog 28299_dog.png dog 25918_dog.png dog 4275_dog.png dog 7150_dog.png dog 29946_dog.png dog 47095_dog.png dog 23810_dog.png dog 24998_dog.png dog 48245_dog.png dog 20922_dog.png dog 21670_dog.png dog 30235_dog.png dog 42384_dog.png dog 3022_dog.png dog 48828_dog.png dog 31557_dog.png dog 29769_dog.png dog 32845_dog.png dog 14734_dog.png dog 19809_dog.png dog 29713_dog.png dog 5509_dog.png dog 20277_dog.png dog 9491_dog.png dog 42273_dog.png dog 37436_dog.png dog 37876_dog.png dog 22059_dog.png dog 1942_dog.png dog 26836_dog.png dog 26410_dog.png dog 39660_dog.png dog 19483_dog.png dog 41340_dog.png dog 7057_dog.png dog 1344_dog.png dog 25205_dog.png dog 35652_dog.png dog 4259_dog.png dog 28505_dog.png dog 23849_dog.png dog 49431_dog.png dog 10914_dog.png dog 48398_dog.png dog 37470_dog.png dog 41358_dog.png dog 1661_dog.png dog 1152_dog.png dog 35052_dog.png dog 25777_dog.png dog 33435_dog.png dog 44821_dog.png dog 15987_dog.png dog 32773_dog.png dog 1656_dog.png dog 13050_dog.png dog 3902_dog.png dog 27422_dog.png dog 38437_dog.png dog 34891_dog.png dog 28389_dog.png dog 337_dog.png dog 10907_dog.png dog 8496_dog.png dog 41743_dog.png dog 17811_dog.png dog 17358_dog.png dog 22424_dog.png dog 5413_dog.png dog 16823_dog.png dog 17265_dog.png dog 13104_dog.png dog 30248_dog.png dog 21797_dog.png dog 34476_dog.png dog 31892_dog.png dog 47964_dog.png dog 13067_dog.png dog 49437_dog.png dog 3502_dog.png dog 13911_dog.png dog 34887_dog.png dog 29817_dog.png dog 1591_dog.png dog 40471_dog.png dog 20090_dog.png dog 19896_dog.png dog 33039_dog.png dog 45499_dog.png dog 10270_dog.png dog 30965_dog.png dog 24309_dog.png dog 1517_dog.png dog 11201_dog.png dog 42344_dog.png dog 30871_dog.png dog 48477_dog.png dog 3557_dog.png dog 40561_dog.png dog 40799_dog.png dog 28336_dog.png dog 7157_dog.png dog 14763_dog.png dog 30188_dog.png dog 18856_dog.png dog 34220_dog.png dog 19096_dog.png dog 14495_dog.png dog 49703_dog.png dog 28440_dog.png dog 875_dog.png dog 12496_dog.png dog 29969_dog.png dog 32636_dog.png dog 23233_dog.png dog 36964_dog.png dog 3572_dog.png dog 13604_dog.png dog 2266_dog.png dog 5751_dog.png dog 23273_dog.png dog 48980_dog.png dog 33534_dog.png dog 16110_dog.png dog 22225_dog.png dog 37784_dog.png dog 17190_dog.png dog 47954_dog.png dog 19786_dog.png dog 25248_dog.png dog 10670_dog.png dog 31264_dog.png dog 45633_dog.png dog 25840_dog.png dog 49188_dog.png dog 31729_dog.png dog 29970_dog.png dog 47057_dog.png dog 23554_dog.png dog 25870_dog.png dog 31255_dog.png dog 28843_dog.png dog 5233_dog.png dog 24558_dog.png dog 15354_dog.png dog 3660_dog.png dog 7472_dog.png dog 11351_dog.png dog 39869_dog.png dog 45519_dog.png dog 6048_dog.png dog 5840_dog.png dog 14669_dog.png dog 30308_dog.png dog 24703_dog.png dog 19404_dog.png dog 27805_dog.png dog 40239_dog.png dog 7776_dog.png dog 11980_dog.png dog 14724_dog.png dog 39975_dog.png dog 26548_dog.png dog 29816_dog.png dog 19889_dog.png dog 12686_dog.png dog 43005_dog.png dog 37521_dog.png dog 49005_dog.png dog 5399_dog.png dog 16311_dog.png dog 14408_dog.png dog 8851_dog.png dog 4161_dog.png dog 14691_dog.png dog 15713_dog.png dog 2500_dog.png dog 39225_dog.png dog 23510_dog.png dog 31218_dog.png dog 7417_dog.png dog 32352_dog.png dog 41232_dog.png dog 21128_dog.png dog 17152_dog.png dog 37589_dog.png dog 14657_dog.png dog 42698_dog.png dog 6047_dog.png dog 1662_dog.png dog 3195_dog.png dog 1986_dog.png dog 42397_dog.png dog 33294_dog.png dog 15672_dog.png dog 45273_dog.png dog 16675_frog.png frog 22860_frog.png frog 29381_frog.png frog 23939_frog.png frog 39657_frog.png frog 6664_frog.png frog 3865_frog.png frog 34304_frog.png frog 34242_frog.png frog 45383_frog.png frog 18090_frog.png frog 7732_frog.png frog 25723_frog.png frog 21358_frog.png frog 49584_frog.png frog 20104_frog.png frog 23579_frog.png frog 37917_frog.png frog 7795_frog.png frog 12081_frog.png frog 29063_frog.png frog 30149_frog.png frog 41969_frog.png frog 14625_frog.png frog 48201_frog.png frog 26240_frog.png frog 24479_frog.png frog 1374_frog.png frog 33420_frog.png frog 6179_frog.png frog 47047_frog.png frog 14241_frog.png frog 39252_frog.png frog 48167_frog.png frog 28254_frog.png frog 12619_frog.png frog 43986_frog.png frog 25005_frog.png frog 22393_frog.png frog 20881_frog.png frog 23406_frog.png frog 24510_frog.png frog 12735_frog.png frog 15962_frog.png frog 38490_frog.png frog 48460_frog.png frog 30748_frog.png frog 44346_frog.png frog 38769_frog.png frog 15536_frog.png frog 16124_frog.png frog 41160_frog.png frog 21581_frog.png frog 42459_frog.png frog 44428_frog.png frog 8009_frog.png frog 31315_frog.png frog 44259_frog.png frog 18665_frog.png frog 31798_frog.png frog 45429_frog.png frog 44014_frog.png frog 36062_frog.png frog 16003_frog.png frog 13077_frog.png frog 44099_frog.png frog 46905_frog.png frog 2968_frog.png frog 24808_frog.png frog 22362_frog.png frog 4126_frog.png frog 26340_frog.png frog 30292_frog.png frog 49056_frog.png frog 42888_frog.png frog 38397_frog.png frog 21357_frog.png frog 124_frog.png frog 11412_frog.png frog 48888_frog.png frog 22836_frog.png frog 32412_frog.png frog 49874_frog.png frog 9530_frog.png frog 26085_frog.png frog 35747_frog.png frog 23517_frog.png frog 2411_frog.png frog 25878_frog.png frog 37705_frog.png frog 15664_frog.png frog 6745_frog.png frog 34033_frog.png frog 15343_frog.png frog 14480_frog.png frog 23630_frog.png frog 3783_frog.png frog 23135_frog.png frog 451_frog.png frog 12624_frog.png frog 12263_frog.png frog 30469_frog.png frog 6578_frog.png frog 21072_frog.png frog 33244_frog.png frog 9764_frog.png frog 23539_frog.png frog 29214_frog.png frog 39057_frog.png frog 21509_frog.png frog 12765_frog.png frog 47858_frog.png frog 45862_frog.png frog 8393_frog.png frog 32125_frog.png frog 31500_frog.png frog 19184_frog.png frog 19109_frog.png frog 9521_frog.png frog 34898_frog.png frog 32390_frog.png frog 10109_frog.png frog 38088_frog.png frog 39415_frog.png frog 34696_frog.png frog 15517_frog.png frog 18224_frog.png frog 19430_frog.png frog 6262_frog.png frog 34679_frog.png frog 48047_frog.png frog 11748_frog.png frog 29798_frog.png frog 36373_frog.png frog 39516_frog.png frog 7964_frog.png frog 3532_frog.png frog 45355_frog.png frog 20541_frog.png frog 9098_frog.png frog 45836_frog.png frog 1563_frog.png frog 37609_frog.png frog 19040_frog.png frog 22801_frog.png frog 44597_frog.png frog 35535_frog.png frog 4810_frog.png frog 40946_frog.png frog 6722_frog.png frog 38290_frog.png frog 40850_frog.png frog 18033_frog.png frog 18325_frog.png frog 29241_frog.png frog 35703_frog.png frog 21722_frog.png frog 30833_frog.png frog 43415_frog.png frog 49836_frog.png frog 19907_frog.png frog 8557_frog.png frog 45622_frog.png frog 42077_frog.png frog 31753_frog.png frog 11728_frog.png frog 39226_frog.png frog 15719_frog.png frog 13127_frog.png frog 4208_frog.png frog 36689_frog.png frog 25482_frog.png frog 47790_frog.png frog 27088_frog.png frog 49636_frog.png frog 31279_frog.png frog 11539_frog.png frog 1730_frog.png frog 34762_frog.png frog 960_frog.png frog 31931_frog.png frog 32521_frog.png frog 38189_frog.png frog 17602_frog.png frog 13921_frog.png frog 26232_frog.png frog 2252_frog.png frog 5041_frog.png frog 903_frog.png frog 32966_frog.png frog 2536_frog.png frog 30496_frog.png frog 41374_frog.png frog 39010_frog.png frog 12356_frog.png frog 32868_frog.png frog 41177_frog.png frog 42067_frog.png frog 16067_frog.png frog 17370_frog.png frog 14131_frog.png frog 34230_frog.png frog 7277_frog.png frog 3730_frog.png frog 45300_frog.png frog 2241_frog.png frog 9161_frog.png frog 45751_frog.png frog 39555_frog.png frog 21572_frog.png frog 47472_frog.png frog 6172_frog.png frog 13554_frog.png frog 2439_frog.png frog 40274_frog.png frog 20628_frog.png frog 43973_frog.png frog 35455_frog.png frog 39161_frog.png frog 48218_frog.png frog 12939_frog.png frog 32074_frog.png frog 4035_frog.png frog 9928_frog.png frog 4403_frog.png frog 7675_frog.png frog 25622_frog.png frog 16970_frog.png frog 44078_frog.png frog 15064_frog.png frog 11287_frog.png frog 39052_frog.png frog 21673_frog.png frog 37275_frog.png frog 15316_frog.png frog 34031_frog.png frog 231_frog.png frog 35571_frog.png frog 33381_frog.png frog 11098_frog.png frog 45361_frog.png frog 12692_frog.png frog 29889_frog.png frog 35342_frog.png frog 22872_frog.png frog 15351_frog.png frog 49928_frog.png frog 8053_frog.png frog 47640_frog.png frog 42616_frog.png frog 45794_frog.png frog 47595_frog.png frog 34603_frog.png frog 31748_frog.png frog 2583_frog.png frog 7159_frog.png frog 22191_frog.png frog 22525_frog.png frog 45247_frog.png frog 44486_frog.png frog 30222_frog.png frog 48753_frog.png frog 37974_frog.png frog 17417_frog.png frog 42327_frog.png frog 1222_frog.png frog 11110_frog.png frog 15497_frog.png frog 8950_frog.png frog 40874_frog.png frog 6795_frog.png frog 16778_frog.png frog 23413_frog.png frog 42906_frog.png frog 45392_frog.png frog 40666_frog.png frog 31455_frog.png frog 44626_frog.png frog 32855_frog.png frog 15107_frog.png frog 13213_frog.png frog 26829_frog.png frog 28492_frog.png frog 6035_frog.png frog 43937_frog.png frog 11917_frog.png frog 30249_frog.png frog 31852_frog.png frog 24497_frog.png frog 46007_frog.png frog 33595_frog.png frog 32174_frog.png frog 8603_frog.png frog 15193_frog.png frog 41645_frog.png frog 23706_frog.png frog 48897_frog.png frog 35930_frog.png frog 7025_frog.png frog 33594_frog.png frog 21264_frog.png frog 10113_frog.png frog 20258_frog.png frog 4805_frog.png frog 31118_frog.png frog 5582_frog.png frog 3203_frog.png frog 27660_frog.png frog 28490_frog.png frog 11044_frog.png frog 39190_frog.png frog 8433_frog.png frog 36688_frog.png frog 17389_frog.png frog 17675_frog.png frog 27295_frog.png frog 37378_frog.png frog 29426_frog.png frog 28466_frog.png frog 37701_frog.png frog 10554_frog.png frog 34643_frog.png frog 25967_frog.png frog 26025_frog.png frog 12293_frog.png frog 2519_frog.png frog 27464_frog.png frog 11233_frog.png frog 2939_frog.png frog 9636_frog.png frog 12796_frog.png frog 30176_frog.png frog 27403_frog.png frog 3976_frog.png frog 22353_frog.png frog 43201_frog.png frog 24275_frog.png frog 10013_frog.png frog 35983_frog.png frog 38310_frog.png frog 22567_frog.png frog 36625_frog.png frog 1016_frog.png frog 9320_frog.png frog 2866_frog.png frog 23945_frog.png frog 770_frog.png frog 18656_frog.png frog 16927_frog.png frog 26727_frog.png frog 11780_frog.png frog 23050_frog.png frog 26157_frog.png frog 35830_frog.png frog 44639_frog.png frog 42049_frog.png frog 43482_frog.png frog 31408_frog.png frog 4959_frog.png frog 41671_frog.png frog 24431_frog.png frog 1367_frog.png frog 13776_frog.png frog 40767_frog.png frog 34694_frog.png frog 14428_frog.png frog 44650_frog.png frog 26429_frog.png frog 11135_frog.png frog 21717_frog.png frog 29994_frog.png frog 210_frog.png frog 20506_frog.png frog 42893_frog.png frog 45080_frog.png frog 8979_frog.png frog 32859_frog.png frog 13220_frog.png frog 10647_frog.png frog 28482_frog.png frog 5474_frog.png frog 37231_frog.png frog 8827_frog.png frog 29749_frog.png frog 7064_frog.png frog 48940_frog.png frog 25340_frog.png frog 15991_frog.png frog 9969_frog.png frog 29696_frog.png frog 12928_frog.png frog 15657_frog.png frog 12996_frog.png frog 3192_frog.png frog 45135_frog.png frog 36192_frog.png frog 21979_frog.png frog 12305_frog.png frog 10757_frog.png frog 7321_frog.png frog 36815_horse.png horse 32487_horse.png horse 37898_horse.png horse 43083_horse.png horse 40318_horse.png horse 30984_horse.png horse 46556_horse.png horse 36680_horse.png horse 38057_horse.png horse 36190_horse.png horse 49774_horse.png horse 5498_horse.png horse 46640_horse.png horse 47197_horse.png horse 14375_horse.png horse 32000_horse.png horse 14214_horse.png horse 18313_horse.png horse 29158_horse.png horse 32668_horse.png horse 34782_horse.png horse 33804_horse.png horse 20681_horse.png horse 3817_horse.png horse 27335_horse.png horse 40300_horse.png horse 47673_horse.png horse 25102_horse.png horse 5577_horse.png horse 48903_horse.png horse 9548_horse.png horse 46400_horse.png horse 46064_horse.png horse 29453_horse.png horse 35003_horse.png horse 37306_horse.png horse 35710_horse.png horse 33681_horse.png horse 18411_horse.png horse 47724_horse.png horse 41584_horse.png horse 22097_horse.png horse 29534_horse.png horse 9315_horse.png horse 47099_horse.png horse 26196_horse.png horse 23880_horse.png horse 18534_horse.png horse 45722_horse.png horse 7621_horse.png horse 24908_horse.png horse 43833_horse.png horse 1698_horse.png horse 22398_horse.png horse 31738_horse.png horse 3958_horse.png horse 2553_horse.png horse 28815_horse.png horse 34025_horse.png horse 15514_horse.png horse 24050_horse.png horse 45027_horse.png horse 17230_horse.png horse 39700_horse.png horse 172_horse.png horse 24812_horse.png horse 32973_horse.png horse 41449_horse.png horse 43242_horse.png horse 8931_horse.png horse 47301_horse.png horse 30203_horse.png horse 16324_horse.png horse 46364_horse.png horse 11841_horse.png horse 14349_horse.png horse 16824_horse.png horse 47794_horse.png horse 36805_horse.png horse 19599_horse.png horse 46040_horse.png horse 19062_horse.png horse 43185_horse.png horse 23785_horse.png horse 15282_horse.png horse 21589_horse.png horse 16881_horse.png horse 14955_horse.png horse 24613_horse.png horse 15317_horse.png horse 13171_horse.png horse 8469_horse.png horse 11051_horse.png horse 48620_horse.png horse 3348_horse.png horse 13409_horse.png horse 45054_horse.png horse 7604_horse.png horse 10277_horse.png horse 39708_horse.png horse 2612_horse.png horse 26767_horse.png horse 46397_horse.png horse 6568_horse.png horse 391_horse.png horse 18537_horse.png horse 25791_horse.png horse 22854_horse.png horse 32150_horse.png horse 40999_horse.png horse 6808_horse.png horse 10235_horse.png horse 21060_horse.png horse 7894_horse.png horse 34717_horse.png horse 49139_horse.png horse 27635_horse.png horse 44363_horse.png horse 45883_horse.png horse 32920_horse.png horse 39053_horse.png horse 18686_horse.png horse 36773_horse.png horse 17050_horse.png horse 39720_horse.png horse 17256_horse.png horse 4554_horse.png horse 41347_horse.png horse 7955_horse.png horse 37935_horse.png horse 40821_horse.png horse 15364_horse.png horse 37896_horse.png horse 40517_horse.png horse 37637_horse.png horse 7011_horse.png horse 17652_horse.png horse 42478_horse.png horse 15878_horse.png horse 26285_horse.png horse 17298_horse.png horse 39465_horse.png horse 24917_horse.png horse 10712_horse.png horse 40061_horse.png horse 35793_horse.png horse 21107_horse.png horse 38468_horse.png horse 32239_horse.png horse 47817_horse.png horse 46301_horse.png horse 22454_horse.png horse 20223_horse.png horse 6822_horse.png horse 18636_horse.png horse 2360_horse.png horse 22892_horse.png horse 1997_horse.png horse 8752_horse.png horse 6409_horse.png horse 49885_horse.png horse 31192_horse.png horse 25889_horse.png horse 10358_horse.png horse 954_horse.png horse 28257_horse.png horse 40064_horse.png horse 29406_horse.png horse 14733_horse.png horse 46620_horse.png horse 4251_horse.png horse 17463_horse.png horse 40021_horse.png horse 43896_horse.png horse 5943_horse.png horse 7606_horse.png horse 2319_horse.png horse 38749_horse.png horse 29323_horse.png horse 31073_horse.png horse 6764_horse.png horse 29916_horse.png horse 24536_horse.png horse 1806_horse.png horse 38094_horse.png horse 24698_horse.png horse 28453_horse.png horse 34046_horse.png horse 47996_horse.png horse 30671_horse.png horse 17537_horse.png horse 40585_horse.png horse 41050_horse.png horse 4790_horse.png horse 40107_horse.png horse 19393_horse.png horse 22380_horse.png horse 26866_horse.png horse 38279_horse.png horse 3996_horse.png horse 2449_horse.png horse 25158_horse.png horse 47125_horse.png horse 15997_horse.png horse 35082_horse.png horse 46641_horse.png horse 16162_horse.png horse 3715_horse.png horse 24122_horse.png horse 24227_horse.png horse 114_horse.png horse 847_horse.png horse 42290_horse.png horse 11881_horse.png horse 1197_horse.png horse 10666_horse.png horse 5117_horse.png horse 15222_horse.png horse 17129_horse.png horse 32347_horse.png horse 47856_horse.png horse 22741_horse.png horse 26203_horse.png horse 46666_horse.png horse 30167_horse.png horse 29823_horse.png horse 43168_horse.png horse 20389_horse.png horse 14398_horse.png horse 39247_horse.png horse 16052_horse.png horse 9672_horse.png horse 1549_horse.png horse 26249_horse.png horse 30385_horse.png horse 1679_horse.png horse 24311_horse.png horse 23486_horse.png horse 1341_horse.png horse 21120_horse.png horse 18701_horse.png horse 40930_horse.png horse 48237_horse.png horse 28048_horse.png horse 13521_horse.png horse 20748_horse.png horse 21185_horse.png horse 43358_horse.png horse 11990_horse.png horse 19263_horse.png horse 14799_horse.png horse 38510_horse.png horse 42814_horse.png horse 15679_horse.png horse 27712_horse.png horse 33583_horse.png horse 514_horse.png horse 36987_horse.png horse 48283_horse.png horse 18491_horse.png horse 7885_horse.png horse 7353_horse.png horse 34372_horse.png horse 30253_horse.png horse 42466_horse.png horse 3975_horse.png horse 30075_horse.png horse 10347_horse.png horse 43964_horse.png horse 1890_horse.png horse 36691_horse.png horse 18255_horse.png horse 2474_horse.png horse 12272_horse.png horse 26669_horse.png horse 18041_horse.png horse 4589_horse.png horse 44762_horse.png horse 33722_horse.png horse 825_horse.png horse 3649_horse.png horse 41462_horse.png horse 35002_horse.png horse 36017_horse.png horse 29789_horse.png horse 21875_horse.png horse 46709_horse.png horse 35046_horse.png horse 26359_horse.png horse 29166_horse.png horse 17374_horse.png horse 5241_horse.png horse 28812_horse.png horse 1544_horse.png horse 45394_horse.png horse 45527_horse.png horse 23727_horse.png horse 45999_horse.png horse 16417_horse.png horse 11935_horse.png horse 29320_horse.png horse 39259_horse.png horse 6278_horse.png horse 15366_horse.png horse 37859_horse.png horse 11950_horse.png horse 3374_horse.png horse 19391_horse.png horse 37573_horse.png horse 38131_horse.png horse 8927_horse.png horse 33605_horse.png horse 22128_horse.png horse 31818_horse.png horse 21657_horse.png horse 47522_horse.png horse 41881_horse.png horse 11870_horse.png horse 6072_horse.png horse 24845_horse.png horse 20886_horse.png horse 48684_horse.png horse 35975_horse.png horse 31952_horse.png horse 20544_horse.png horse 8901_horse.png horse 15324_horse.png horse 47559_horse.png horse 25342_horse.png horse 22272_horse.png horse 28936_horse.png horse 15916_horse.png horse 25873_horse.png horse 49935_horse.png horse 11605_horse.png horse 21109_horse.png horse 46270_horse.png horse 20846_horse.png horse 28463_horse.png horse 7546_horse.png horse 33036_horse.png horse 28264_horse.png horse 7781_horse.png horse 47835_horse.png horse 41479_horse.png horse 2560_horse.png horse 17876_horse.png horse 12410_horse.png horse 25365_horse.png horse 47747_horse.png horse 14431_horse.png horse 32594_horse.png horse 17532_horse.png horse 3553_horse.png horse 38528_horse.png horse 16464_horse.png horse 35972_horse.png horse 13569_horse.png horse 39231_horse.png horse 16477_horse.png horse 32433_horse.png horse 652_horse.png horse 26699_horse.png horse 47924_horse.png horse 4898_horse.png horse 44006_horse.png horse 25575_horse.png horse 45643_horse.png horse 12479_horse.png horse 21378_horse.png horse 45476_horse.png horse 17095_horse.png horse 11742_horse.png horse 7618_horse.png horse 17489_horse.png horse 35239_horse.png horse 5976_horse.png horse 49706_horse.png horse 44086_horse.png horse 35290_horse.png horse 7325_horse.png horse 7829_horse.png horse 44440_horse.png horse 34277_horse.png horse 24853_horse.png horse 15824_horse.png horse 7809_horse.png horse 7817_horse.png horse 1776_horse.png horse 11065_horse.png horse 27294_horse.png horse 7874_horse.png horse 7624_horse.png horse 6726_horse.png horse 46583_horse.png horse 43724_horse.png horse 28240_horse.png horse 44921_horse.png horse 8461_horse.png horse 2022_horse.png horse 28103_ship.png ship 34870_ship.png ship 30515_ship.png ship 27068_ship.png ship 22791_ship.png ship 47999_ship.png ship 43939_ship.png ship 45924_ship.png ship 2176_ship.png ship 30872_ship.png ship 47871_ship.png ship 46068_ship.png ship 13929_ship.png ship 33190_ship.png ship 20352_ship.png ship 35917_ship.png ship 31919_ship.png ship 48871_ship.png ship 33143_ship.png ship 29850_ship.png ship 18593_ship.png ship 43198_ship.png ship 3155_ship.png ship 34683_ship.png ship 11327_ship.png ship 18558_ship.png ship 36780_ship.png ship 37416_ship.png ship 16281_ship.png ship 4466_ship.png ship 47527_ship.png ship 609_ship.png ship 6397_ship.png ship 20728_ship.png ship 42810_ship.png ship 39069_ship.png ship 40445_ship.png ship 42534_ship.png ship 13810_ship.png ship 1236_ship.png ship 40899_ship.png ship 39299_ship.png ship 29725_ship.png ship 11693_ship.png ship 29929_ship.png ship 16330_ship.png ship 24150_ship.png ship 48271_ship.png ship 36097_ship.png ship 34171_ship.png ship 31426_ship.png ship 4298_ship.png ship 40671_ship.png ship 22758_ship.png ship 29882_ship.png ship 32619_ship.png ship 31066_ship.png ship 46031_ship.png ship 44357_ship.png ship 47744_ship.png ship 11577_ship.png ship 47596_ship.png ship 6478_ship.png ship 23953_ship.png ship 6316_ship.png ship 42371_ship.png ship 36985_ship.png ship 39098_ship.png ship 39593_ship.png ship 28205_ship.png ship 9951_ship.png ship 20739_ship.png ship 10337_ship.png ship 31497_ship.png ship 26337_ship.png ship 290_ship.png ship 19132_ship.png ship 20786_ship.png ship 39448_ship.png ship 41424_ship.png ship 24140_ship.png ship 31085_ship.png ship 49400_ship.png ship 2640_ship.png ship 35572_ship.png ship 17020_ship.png ship 6139_ship.png ship 38136_ship.png ship 6806_ship.png ship 32716_ship.png ship 22255_ship.png ship 45578_ship.png ship 20479_ship.png ship 22426_ship.png ship 35388_ship.png ship 45853_ship.png ship 4975_ship.png ship 30745_ship.png ship 18153_ship.png ship 47376_ship.png ship 1688_ship.png ship 31853_ship.png ship 1383_ship.png ship 36939_ship.png ship 37329_ship.png ship 22234_ship.png ship 23183_ship.png ship 16257_ship.png ship 5255_ship.png ship 46363_ship.png ship 5222_ship.png ship 192_ship.png ship 3541_ship.png ship 34834_ship.png ship 38523_ship.png ship 23153_ship.png ship 11591_ship.png ship 12087_ship.png ship 35736_ship.png ship 3058_ship.png ship 49905_ship.png ship 5054_ship.png ship 43678_ship.png ship 3625_ship.png ship 14166_ship.png ship 46626_ship.png ship 35864_ship.png ship 5339_ship.png ship 5987_ship.png ship 21638_ship.png ship 6909_ship.png ship 46580_ship.png ship 26714_ship.png ship 34137_ship.png ship 47409_ship.png ship 26328_ship.png ship 43913_ship.png ship 32861_ship.png ship 13322_ship.png ship 19314_ship.png ship 28768_ship.png ship 958_ship.png ship 23272_ship.png ship 8766_ship.png ship 46309_ship.png ship 43699_ship.png ship 7995_ship.png ship 14826_ship.png ship 21432_ship.png ship 39232_ship.png ship 30460_ship.png ship 48081_ship.png ship 21312_ship.png ship 31328_ship.png ship 11948_ship.png ship 967_ship.png ship 48864_ship.png ship 10344_ship.png ship 5528_ship.png ship 48953_ship.png ship 16847_ship.png ship 16156_ship.png ship 485_ship.png ship 38008_ship.png ship 46787_ship.png ship 7051_ship.png ship 26246_ship.png ship 11576_ship.png ship 38382_ship.png ship 12513_ship.png ship 12731_ship.png ship 20875_ship.png ship 34333_ship.png ship 26594_ship.png ship 32182_ship.png ship 31745_ship.png ship 33317_ship.png ship 31903_ship.png ship 41509_ship.png ship 37888_ship.png ship 14969_ship.png ship 36443_ship.png ship 11042_ship.png ship 30164_ship.png ship 9555_ship.png ship 49767_ship.png ship 20898_ship.png ship 11180_ship.png ship 9722_ship.png ship 38587_ship.png ship 786_ship.png ship 41712_ship.png ship 23893_ship.png ship 35678_ship.png ship 23321_ship.png ship 42574_ship.png ship 5716_ship.png ship 38495_ship.png ship 39864_ship.png ship 40789_ship.png ship 10585_ship.png ship 41935_ship.png ship 17588_ship.png ship 40700_ship.png ship 11652_ship.png ship 15880_ship.png ship 6632_ship.png ship 31872_ship.png ship 4003_ship.png ship 2012_ship.png ship 16988_ship.png ship 32767_ship.png ship 44373_ship.png ship 20594_ship.png ship 971_ship.png ship 14318_ship.png ship 31841_ship.png ship 20358_ship.png ship 23205_ship.png ship 8168_ship.png ship 21710_ship.png ship 3967_ship.png ship 18616_ship.png ship 12626_ship.png ship 12286_ship.png ship 9418_ship.png ship 49960_ship.png ship 610_ship.png ship 38412_ship.png ship 12153_ship.png ship 16724_ship.png ship 47021_ship.png ship 33124_ship.png ship 2309_ship.png ship 10228_ship.png ship 30544_ship.png ship 23766_ship.png ship 4914_ship.png ship 23740_ship.png ship 49551_ship.png ship 6788_ship.png ship 39298_ship.png ship 48156_ship.png ship 43899_ship.png ship 24286_ship.png ship 28436_ship.png ship 19357_ship.png ship 25513_ship.png ship 8278_ship.png ship 28287_ship.png ship 37557_ship.png ship 35540_ship.png ship 28115_ship.png ship 37307_ship.png ship 49521_ship.png ship 29564_ship.png ship 32275_ship.png ship 26306_ship.png ship 2161_ship.png ship 26004_ship.png ship 3425_ship.png ship 18515_ship.png ship 46675_ship.png ship 44615_ship.png ship 49000_ship.png ship 2815_ship.png ship 27033_ship.png ship 4594_ship.png ship 29316_ship.png ship 7695_ship.png ship 14049_ship.png ship 8961_ship.png ship 34610_ship.png ship 12207_ship.png ship 25533_ship.png ship 24260_ship.png ship 28412_ship.png ship 17125_ship.png ship 40667_ship.png ship 49568_ship.png ship 37362_ship.png ship 48602_ship.png ship 35367_ship.png ship 42730_ship.png ship 27955_ship.png ship 32313_ship.png ship 32618_ship.png ship 5906_ship.png ship 45809_ship.png ship 14876_ship.png ship 28435_ship.png ship 33406_ship.png ship 49857_ship.png ship 14804_ship.png ship 48336_ship.png ship 3518_ship.png ship 25566_ship.png ship 30169_ship.png ship 30472_ship.png ship 18107_ship.png ship 26944_ship.png ship 23535_ship.png ship 30762_ship.png ship 12503_ship.png ship 15455_ship.png ship 12951_ship.png ship 34473_ship.png ship 45537_ship.png ship 38111_ship.png ship 24481_ship.png ship 3860_ship.png ship 35224_ship.png ship 47694_ship.png ship 8150_ship.png ship 1292_ship.png ship 8074_ship.png ship 45907_ship.png ship 10283_ship.png ship 30483_ship.png ship 38544_ship.png ship 49778_ship.png ship 25096_ship.png ship 34743_ship.png ship 44414_ship.png ship 19587_ship.png ship 7233_ship.png ship 25756_ship.png ship 28985_ship.png ship 8471_ship.png ship 45784_ship.png ship 27661_ship.png ship 23149_ship.png ship 28507_ship.png ship 12543_ship.png ship 21140_ship.png ship 41616_ship.png ship 441_ship.png ship 47395_ship.png ship 25503_ship.png ship 47000_ship.png ship 38969_ship.png ship 35489_ship.png ship 3250_ship.png ship 22888_ship.png ship 38835_ship.png ship 22589_ship.png ship 47350_ship.png ship 8399_ship.png ship 41163_ship.png ship 40252_ship.png ship 42004_ship.png ship 21484_ship.png ship 8250_ship.png ship 21175_ship.png ship 38927_ship.png ship 9122_ship.png ship 14028_ship.png ship 31763_ship.png ship 888_ship.png ship 27808_ship.png ship 48213_ship.png ship 1181_ship.png ship 29490_ship.png ship 12868_ship.png ship 1643_ship.png ship 13258_ship.png ship 26671_ship.png ship 49415_ship.png ship 24386_ship.png ship 29928_ship.png ship 42897_ship.png ship 38214_ship.png ship 43725_ship.png ship 14866_ship.png ship 35295_ship.png ship 3357_ship.png ship 14766_ship.png ship 1080_ship.png ship 2987_ship.png ship 38686_ship.png ship 4303_ship.png ship 509_ship.png ship 4852_ship.png ship 31386_ship.png ship 29766_ship.png ship 25760_ship.png ship 37406_ship.png ship 11177_ship.png ship 48500_ship.png ship 20298_ship.png ship 31644_ship.png ship 19186_ship.png ship 5777_ship.png ship 47341_ship.png ship 23765_ship.png ship 3874_ship.png ship 16044_ship.png ship 37144_ship.png ship 10099_ship.png ship 15276_ship.png ship 49278_truck.png truck 39440_truck.png truck 49266_truck.png truck 10881_truck.png truck 31115_truck.png truck 20517_truck.png truck 15785_truck.png truck 8975_truck.png truck 30675_truck.png truck 40719_truck.png truck 18947_truck.png truck 17961_truck.png truck 43803_truck.png truck 44058_truck.png truck 41391_truck.png truck 10421_truck.png truck 4345_truck.png truck 15337_truck.png truck 1253_truck.png truck 38378_truck.png truck 32653_truck.png truck 13767_truck.png truck 16818_truck.png truck 11152_truck.png truck 13265_truck.png truck 42591_truck.png truck 13024_truck.png truck 3737_truck.png truck 15142_truck.png truck 9601_truck.png truck 37604_truck.png truck 34957_truck.png truck 5390_truck.png truck 42875_truck.png truck 19290_truck.png truck 19876_truck.png truck 34731_truck.png truck 22077_truck.png truck 43333_truck.png truck 44264_truck.png truck 42191_truck.png truck 13370_truck.png truck 12653_truck.png truck 40254_truck.png truck 18786_truck.png truck 47592_truck.png truck 7461_truck.png truck 8658_truck.png truck 11316_truck.png truck 25407_truck.png truck 35981_truck.png truck 40387_truck.png truck 23647_truck.png truck 21445_truck.png truck 14436_truck.png truck 48696_truck.png truck 26209_truck.png truck 41895_truck.png truck 32158_truck.png truck 34110_truck.png truck 17336_truck.png truck 16152_truck.png truck 28713_truck.png truck 49073_truck.png truck 19671_truck.png truck 41383_truck.png truck 24203_truck.png truck 31010_truck.png truck 45538_truck.png truck 42452_truck.png truck 48353_truck.png truck 22694_truck.png truck 30946_truck.png truck 45497_truck.png truck 44188_truck.png truck 122_truck.png truck 42047_truck.png truck 24647_truck.png truck 7415_truck.png truck 3983_truck.png truck 38602_truck.png truck 35667_truck.png truck 1026_truck.png truck 40303_truck.png truck 9880_truck.png truck 11552_truck.png truck 14783_truck.png truck 31291_truck.png truck 21999_truck.png truck 4111_truck.png truck 31920_truck.png truck 11111_truck.png truck 42042_truck.png truck 25506_truck.png truck 4256_truck.png truck 22117_truck.png truck 3677_truck.png truck 42244_truck.png truck 10187_truck.png truck 13795_truck.png truck 25590_truck.png truck 20955_truck.png truck 12793_truck.png truck 46705_truck.png truck 42689_truck.png truck 45160_truck.png truck 42672_truck.png truck 14545_truck.png truck 41149_truck.png truck 41631_truck.png truck 5776_truck.png truck 270_truck.png truck 49880_truck.png truck 13337_truck.png truck 26805_truck.png truck 36475_truck.png truck 41468_truck.png truck 43910_truck.png truck 30776_truck.png truck 22315_truck.png truck 44651_truck.png truck 16591_truck.png truck 35384_truck.png truck 35030_truck.png truck 36668_truck.png truck 6746_truck.png truck 38532_truck.png truck 15171_truck.png truck 12986_truck.png truck 38018_truck.png truck 16821_truck.png truck 35795_truck.png truck 16362_truck.png truck 27799_truck.png truck 23759_truck.png truck 14406_truck.png truck 9213_truck.png truck 5045_truck.png truck 22614_truck.png truck 28459_truck.png truck 2468_truck.png truck 15090_truck.png truck 6083_truck.png truck 1112_truck.png truck 19505_truck.png truck 16051_truck.png truck 6693_truck.png truck 17687_truck.png truck 46848_truck.png truck 19122_truck.png truck 17816_truck.png truck 49477_truck.png truck 40774_truck.png truck 39860_truck.png truck 8613_truck.png truck 37667_truck.png truck 28774_truck.png truck 21350_truck.png truck 50_truck.png truck 15570_truck.png truck 33778_truck.png truck 36088_truck.png truck 38273_truck.png truck 19625_truck.png truck 18930_truck.png truck 11755_truck.png truck 12822_truck.png truck 17240_truck.png truck 28415_truck.png truck 6727_truck.png truck 48839_truck.png truck 49833_truck.png truck 615_truck.png truck 16143_truck.png truck 8650_truck.png truck 20851_truck.png truck 19523_truck.png truck 16523_truck.png truck 7512_truck.png truck 49461_truck.png truck 27369_truck.png truck 19203_truck.png truck 40559_truck.png truck 14361_truck.png truck 7170_truck.png truck 43604_truck.png truck 26013_truck.png truck 20232_truck.png truck 48034_truck.png truck 4612_truck.png truck 16482_truck.png truck 36878_truck.png truck 32965_truck.png truck 2531_truck.png truck 9919_truck.png truck 11557_truck.png truck 472_truck.png truck 3706_truck.png truck 49546_truck.png truck 17434_truck.png truck 4374_truck.png truck 44638_truck.png truck 39427_truck.png truck 41267_truck.png truck 2961_truck.png truck 5271_truck.png truck 4416_truck.png truck 18967_truck.png truck 24152_truck.png truck 12948_truck.png truck 33898_truck.png truck 36888_truck.png truck 19976_truck.png truck 39837_truck.png truck 22475_truck.png truck 18120_truck.png truck 2380_truck.png truck 38116_truck.png truck 2919_truck.png truck 2206_truck.png truck 47569_truck.png truck 13531_truck.png truck 28390_truck.png truck 30525_truck.png truck 36674_truck.png truck 295_truck.png truck 4344_truck.png truck 23926_truck.png truck 16094_truck.png truck 47085_truck.png truck 48626_truck.png truck 15066_truck.png truck 38759_truck.png truck 21775_truck.png truck 14071_truck.png truck 16688_truck.png truck 36787_truck.png truck 44682_truck.png truck 7414_truck.png truck 21571_truck.png truck 15056_truck.png truck 26152_truck.png truck 3542_truck.png truck 28601_truck.png truck 4340_truck.png truck 49417_truck.png truck 48809_truck.png truck 30369_truck.png truck 37020_truck.png truck 18805_truck.png truck 47700_truck.png truck 28567_truck.png truck 23726_truck.png truck 16901_truck.png truck 27979_truck.png truck 45020_truck.png truck 2636_truck.png truck 40361_truck.png truck 23166_truck.png truck 30637_truck.png truck 43405_truck.png truck 43652_truck.png truck 14401_truck.png truck 49194_truck.png truck 35574_truck.png truck 21516_truck.png truck 10231_truck.png truck 45560_truck.png truck 22208_truck.png truck 9501_truck.png truck 18310_truck.png truck 27040_truck.png truck 322_truck.png truck 39804_truck.png truck 49217_truck.png truck 29025_truck.png truck 22016_truck.png truck 47511_truck.png truck 26439_truck.png truck 24331_truck.png truck 24738_truck.png truck 208_truck.png truck 43310_truck.png truck 7760_truck.png truck 29193_truck.png truck 45048_truck.png truck 49064_truck.png truck 29458_truck.png truck 35852_truck.png truck 22685_truck.png truck 18213_truck.png truck 41226_truck.png truck 7854_truck.png truck 953_truck.png truck 36010_truck.png truck 14083_truck.png truck 21520_truck.png truck 12035_truck.png truck 11856_truck.png truck 16681_truck.png truck 8089_truck.png truck 30702_truck.png truck 32104_truck.png truck 23551_truck.png truck 2609_truck.png truck 5499_truck.png truck 35545_truck.png truck 33784_truck.png truck 17068_truck.png truck 7692_truck.png truck 27949_truck.png truck 36461_truck.png truck 6934_truck.png truck 20427_truck.png truck 11747_truck.png truck 10285_truck.png truck 32925_truck.png truck 11601_truck.png truck 18539_truck.png truck 40795_truck.png truck 1418_truck.png truck 10806_truck.png truck 16329_truck.png truck 27785_truck.png truck 2158_truck.png truck 5244_truck.png truck 44287_truck.png truck 3774_truck.png truck 34872_truck.png truck 5031_truck.png truck 3513_truck.png truck 35138_truck.png truck 38082_truck.png truck 24712_truck.png truck 1796_truck.png truck 41415_truck.png truck 30027_truck.png truck 7746_truck.png truck 4865_truck.png truck 11311_truck.png truck 40393_truck.png truck 27736_truck.png truck 3424_truck.png truck 2303_truck.png truck 22925_truck.png truck 24296_truck.png truck 43815_truck.png truck 42855_truck.png truck 44722_truck.png truck 3633_truck.png truck 38363_truck.png truck 5418_truck.png truck 27788_truck.png truck 5332_truck.png truck 26039_truck.png truck 49583_truck.png truck 45167_truck.png truck 38651_truck.png truck 48140_truck.png truck 34073_truck.png truck 48017_truck.png truck 35251_truck.png truck 13364_truck.png truck 26384_truck.png truck 33928_truck.png truck 49036_truck.png truck 45090_truck.png truck 4845_truck.png truck 48165_truck.png truck 45498_truck.png truck 29122_truck.png truck 19893_truck.png truck 29349_truck.png truck 28781_truck.png truck 31566_truck.png truck 24494_truck.png truck 48129_truck.png truck 32123_truck.png truck 31643_truck.png truck 39238_truck.png truck 41996_truck.png truck 48810_truck.png truck 45431_truck.png truck 18692_truck.png truck 6006_truck.png truck 38561_truck.png truck 27907_truck.png truck 7554_truck.png truck 16078_truck.png truck 31909_truck.png truck 8826_truck.png truck 12262_truck.png truck 39557_truck.png truck 3766_truck.png truck 39876_truck.png truck 24253_truck.png truck 21511_truck.png truck 8560_truck.png truck 21212_truck.png truck 16394_truck.png truck
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>AndBase快速开发框架: 类成员 - 函数</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">AndBase快速开发框架 &#160;<span id="projectnumber">1.6.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- 制作者 Doxygen 1.8.8 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'搜索'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>首页</span></a></li> <li><a href="pages.html"><span>相关页面</span></a></li> <li><a href="namespaces.html"><span>命名空间</span></a></li> <li class="current"><a href="annotated.html"><span>类</span></a></li> <li><a href="files.html"><span>文件</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="搜索" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>类列表</span></a></li> <li><a href="classes.html"><span>类索引</span></a></li> <li><a href="hierarchy.html"><span>类继承关系</span></a></li> <li class="current"><a href="functions.html"><span>类成员</span></a></li> </ul> </div> <div id="navrow3" class="tabs2"> <ul class="tablist"> <li><a href="functions.html"><span>全部</span></a></li> <li class="current"><a href="functions_func.html"><span>函数</span></a></li> <li><a href="functions_vars.html"><span>变量</span></a></li> </ul> </div> <div id="navrow4" class="tabs3"> <ul class="tablist"> <li><a href="functions_func.html#index_$"><span>$</span></a></li> <li><a href="functions_func_[.html#index_["><span>[</span></a></li> <li><a href="functions_func_a.html#index_a"><span>a</span></a></li> <li><a href="functions_func_b.html#index_b"><span>b</span></a></li> <li><a href="functions_func_c.html#index_c"><span>c</span></a></li> <li><a href="functions_func_d.html#index_d"><span>d</span></a></li> <li class="current"><a href="functions_func_e.html#index_e"><span>e</span></a></li> <li><a href="functions_func_f.html#index_f"><span>f</span></a></li> <li><a href="functions_func_g.html#index_g"><span>g</span></a></li> <li><a href="functions_func_h.html#index_h"><span>h</span></a></li> <li><a href="functions_func_i.html#index_i"><span>i</span></a></li> <li><a href="functions_func_j.html#index_j"><span>j</span></a></li> <li><a href="functions_func_k.html#index_k"><span>k</span></a></li> <li><a href="functions_func_l.html#index_l"><span>l</span></a></li> <li><a href="functions_func_m.html#index_m"><span>m</span></a></li> <li><a href="functions_func_n.html#index_n"><span>n</span></a></li> <li><a href="functions_func_o.html#index_o"><span>o</span></a></li> <li><a href="functions_func_p.html#index_p"><span>p</span></a></li> <li><a href="functions_func_q.html#index_q"><span>q</span></a></li> <li><a href="functions_func_r.html#index_r"><span>r</span></a></li> <li><a href="functions_func_s.html#index_s"><span>s</span></a></li> <li><a href="functions_func_t.html#index_t"><span>t</span></a></li> <li><a href="functions_func_u.html#index_u"><span>u</span></a></li> <li><a href="functions_func_v.html#index_v"><span>v</span></a></li> <li><a href="functions_func_w.html#index_w"><span>w</span></a></li> <li><a href="functions_func_x.html#index_x"><span>x</span></a></li> <li><a href="functions_func_z.html#index_z"><span>z</span></a></li> </ul> </div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="contents"> &#160; <h3><a class="anchor" id="index_e"></a>- e -</h3><ul> <li>e() : <a class="el" href="classcom_1_1ab_1_1util_1_1_ab_log_util.html#ab1aa4251a3e36d5b1e24a02f4ed545ce">com.ab.util.AbLogUtil</a> </li> <li>EasyX509TrustManager() : <a class="el" href="classcom_1_1ab_1_1http_1_1ssl_1_1_easy_x509_trust_manager.html#a6610773ae112cec669575b2b649bdd33">com.ab.http.ssl.EasyX509TrustManager</a> </li> <li>eLineOnELine() : <a class="el" href="classcom_1_1ab_1_1util_1_1_ab_math_util.html#a6dfad93e08d5e5ee2197148ad44a36e1">com.ab.util.AbMathUtil</a> </li> <li>eLineOnLine() : <a class="el" href="classcom_1_1ab_1_1util_1_1_ab_math_util.html#a2609f44e2f999c1b2093abe86968b4ab">com.ab.util.AbMathUtil</a> </li> <li>enableComplexMapKeySerialization() : <a class="el" href="classcom_1_1google_1_1gson_1_1_gson_builder.html#a0864d41d1188253e36ece20aaad23a29">com.google.gson.GsonBuilder</a> </li> <li>encode() : <a class="el" href="classcom_1_1ab_1_1http_1_1entity_1_1_http_multipart.html#a4b3cbf381e7ddb0f6c8c2533575fd31c">com.ab.http.entity.HttpMultipart</a> , <a class="el" href="classcom_1_1ab_1_1util_1_1_ab_base64.html#a5fb62113923dd82b0bddb6970cba17e2">com.ab.util.AbBase64</a> </li> <li>encrypt() : <a class="el" href="classcom_1_1ab_1_1util_1_1_ab_des.html#ad432269bd81c47c04f3665600778efc2">com.ab.util.AbDes</a> </li> <li>endArray() : <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1bind_1_1_json_tree_reader.html#a3f42a128fa7d59724267e4d906f81219">com.google.gson.internal.bind.JsonTreeReader</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1bind_1_1_json_tree_writer.html#a3f2fe0cb8b162a71e38ec38ff01229ce">com.google.gson.internal.bind.JsonTreeWriter</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_reader.html#a819ec92aa19c130f1cc39a6c2c45b9bb">com.google.gson.stream.JsonReader</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_writer.html#aa6f70b1efe86811c13914671049cd762">com.google.gson.stream.JsonWriter</a> </li> <li>endDrag() : <a class="el" href="classcom_1_1ab_1_1view_1_1slidingmenu_1_1_custom_view_above.html#a5d2a47f0798de79b34dcc39f031c4644">com.ab.view.slidingmenu.CustomViewAbove</a> </li> <li>endFling() : <a class="el" href="classcom_1_1ab_1_1view_1_1carousel_1_1_carousel_image_view_1_1_fling_rotate_runnable.html#a7b9bac075bb787ccb6126add8eac1f9c">com.ab.view.carousel.CarouselImageView.FlingRotateRunnable</a> , <a class="el" href="classcom_1_1ab_1_1view_1_1carousel_1_1_carousel_view_1_1_fling_rotate_runnable.html#ac4c909ba2f581447bc2367c43fd7b5db">com.ab.view.carousel.CarouselView.FlingRotateRunnable</a> </li> <li>endObject() : <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1bind_1_1_json_tree_reader.html#ae16f51b962b988d633643d33d61eb458">com.google.gson.internal.bind.JsonTreeReader</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1bind_1_1_json_tree_writer.html#a78b75100e954946a7a24b43cd9050616">com.google.gson.internal.bind.JsonTreeWriter</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_reader.html#ab19c6defcfb81f6a3dbed8af6b3f122a">com.google.gson.stream.JsonReader</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_writer.html#a0096e0a8fb3c0c63f0cfaf40a0e706b8">com.google.gson.stream.JsonWriter</a> </li> <li>ensureVisible() : <a class="el" href="classcom_1_1ab_1_1view_1_1cropimage_1_1_crop_image_view.html#a7ebe162f56447afa22ec26b4b5b37cc6">com.ab.view.cropimage.CropImageView</a> </li> <li>entrySet() : <a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#afeb9f0f46b5517ff0ee024fbb8b1e7ea">com.google.gson.JsonObject</a> </li> <li>equal() : <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_0B_types.html#a79c589e9ce93e7500aeb8824c3aee4fd">com.google.gson.internal.$Types</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_pair_3_01_f_i_r_s_t_00_01_s_e_c_o_n_d_01_4.html#ae9a6264767bf2d0d76ab8cbb8c99ceec">com.google.gson.internal.Pair&lt; FIRST, SECOND &gt;</a> </li> <li>equals() : <a class="el" href="classcom_1_1ab_1_1db_1_1storage_1_1_ab_storage_query.html#a853232622335724631380fd5e3f992b3">com.ab.db.storage.AbStorageQuery</a> , <a class="el" href="classcom_1_1ab_1_1http_1_1ssl_1_1_easy_s_s_l_protocol_socket_factory.html#aedad16f494e6a877dacdf9136fc4f33a">com.ab.http.ssl.EasySSLProtocolSocketFactory</a> , <a class="el" href="classcom_1_1ab_1_1model_1_1_ab_point.html#afa785442b279f9704d958240e022eb8e">com.ab.model.AbPoint</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_0B_types.html#a48b299cb7e64be5f66161c7779d01b07">com.google.gson.internal.$Types</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_0B_types_1_1_generic_array_type_impl.html#a0280a1c082a7a2756a764a61eca5fdac">com.google.gson.internal.$Types.GenericArrayTypeImpl</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_0B_types_1_1_parameterized_type_impl.html#acf0a69fad2ec9a221beafb9b4f6ed89f">com.google.gson.internal.$Types.ParameterizedTypeImpl</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_0B_types_1_1_wildcard_type_impl.html#ae8ac3dcd5bb05c7c7c1da852d2232283">com.google.gson.internal.$Types.WildcardTypeImpl</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_pair_3_01_f_i_r_s_t_00_01_s_e_c_o_n_d_01_4.html#ae5a38e59047191af09d94491e900b3b2">com.google.gson.internal.Pair&lt; FIRST, SECOND &gt;</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1_json_array.html#a5ac4bd4e13f514344c4929d46aab626d">com.google.gson.JsonArray</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1_json_null.html#ab5c030291c999868ab4fc836f35e0fb3">com.google.gson.JsonNull</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1_json_object.html#a9fddc8ae4be6cef712b6be6fda3a458e">com.google.gson.JsonObject</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1_json_primitive.html#a5913dee72d1da8290808094fadfc9fcf">com.google.gson.JsonPrimitive</a> </li> <li>error() : <a class="el" href="classcom_1_1ab_1_1util_1_1_ab_log_util.html#ab2c4171f80eccef1b271ffd43547be69">com.ab.util.AbLogUtil</a> </li> <li>excludeClass() : <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_excluder.html#a45b096c3698314f66a4d236a7b381241">com.google.gson.internal.Excluder</a> </li> <li>excludeField() : <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1bind_1_1_reflective_type_adapter_factory.html#a3bf354ce164b665d6fc4028307e12b1d">com.google.gson.internal.bind.ReflectiveTypeAdapterFactory</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_excluder.html#abb5efeca8cfad6e35f352afa74949a8d">com.google.gson.internal.Excluder</a> </li> <li>excludeFieldsWithModifiers() : <a class="el" href="classcom_1_1google_1_1gson_1_1_gson_builder.html#adf769f5f016cef8e196425856e8f5da9">com.google.gson.GsonBuilder</a> </li> <li>excludeFieldsWithoutExposeAnnotation() : <a class="el" href="classcom_1_1google_1_1gson_1_1_gson_builder.html#a560cc929af341bb144d6a55712b99b97">com.google.gson.GsonBuilder</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1_excluder.html#ada407401e881241eec7419b5d8e51059">com.google.gson.internal.Excluder</a> </li> <li>execSql() : <a class="el" href="interfacecom_1_1ab_1_1db_1_1orm_1_1dao_1_1_ab_d_b_dao_3_01_t_01_4.html#a185ab8bbcda831dea2202ab8517cb52c">com.ab.db.orm.dao.AbDBDao&lt; T &gt;</a> , <a class="el" href="classcom_1_1ab_1_1db_1_1orm_1_1dao_1_1_ab_d_b_dao_impl_3_01_t_01_4.html#a7b7980a0a25c136281f33185e9735ccd">com.ab.db.orm.dao.AbDBDaoImpl&lt; T &gt;</a> </li> <li>execute() : <a class="el" href="classcom_1_1ab_1_1task_1_1thread_1_1_ab_task_pool.html#af268ed8500dab25e7033dc8b87189552">com.ab.task.thread.AbTaskPool</a> , <a class="el" href="classcom_1_1ab_1_1task_1_1thread_1_1_ab_task_queue.html#a84f9bdd125cf2e96d7040d4103df03b7">com.ab.task.thread.AbTaskQueue</a> </li> <li>executeKeyEvent() : <a class="el" href="classcom_1_1ab_1_1view_1_1slidingmenu_1_1_custom_view_above.html#afd83806966cc94965d753a9b1b8078f7">com.ab.view.slidingmenu.CustomViewAbove</a> </li> <li>expect() : <a class="el" href="classcom_1_1google_1_1gson_1_1internal_1_1bind_1_1_json_tree_reader.html#aa428a289e2bc64398646abfd55d4eada">com.google.gson.internal.bind.JsonTreeReader</a> , <a class="el" href="classcom_1_1google_1_1gson_1_1stream_1_1_json_reader.html#a8187fb31f1e95c8a8319cc0e73a50f11">com.google.gson.stream.JsonReader</a> </li> <li>extendDuration() : <a class="el" href="classcom_1_1ab_1_1view_1_1carousel_1_1_rotator.html#a03ce2eb3b56854afb08bae6424c6d661">com.ab.view.carousel.Rotator</a> </li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> 生成于 2015年 四月 7日 星期二 12:46:36 , 为 AndBase快速开发框架使用 &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.8 </small></address> </body> </html>
{ "pile_set_name": "Github" }
/*============================================================================= Copyright (c) 2005-2006 Joao Abecasis Copyright (c) 2006-2007 Tobias Schwinger Use modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ==============================================================================*/ #if !defined(BOOST_FUSION_FUNCTIONAL_INVOCATION_INVOKE_PROCEDURE_HPP_INCLUDED) #if !defined(BOOST_PP_IS_ITERATING) #include <boost/preprocessor/cat.hpp> #include <boost/preprocessor/iteration/iterate.hpp> #include <boost/preprocessor/arithmetic/dec.hpp> #include <boost/preprocessor/repetition/repeat_from_to.hpp> #include <boost/preprocessor/repetition/enum.hpp> #include <boost/preprocessor/repetition/enum_shifted.hpp> #include <boost/preprocessor/repetition/enum_params.hpp> #include <boost/preprocessor/repetition/enum_shifted_params.hpp> #include <boost/type_traits/remove_reference.hpp> #include <boost/core/enable_if.hpp> #include <boost/mpl/front.hpp> #include <boost/function_types/is_callable_builtin.hpp> #include <boost/function_types/is_member_function_pointer.hpp> #include <boost/function_types/parameter_types.hpp> #include <boost/fusion/support/category_of.hpp> #include <boost/fusion/sequence/intrinsic/at.hpp> #include <boost/fusion/sequence/intrinsic/size.hpp> #include <boost/fusion/sequence/intrinsic/begin.hpp> #include <boost/fusion/iterator/next.hpp> #include <boost/fusion/iterator/deref.hpp> #include <boost/fusion/functional/invocation/limits.hpp> #include <boost/fusion/functional/invocation/detail/that_ptr.hpp> namespace boost { namespace fusion { namespace detail { namespace ft = function_types; template< typename Function, class Sequence, int N = result_of::size<Sequence>::value, bool MFP = ft::is_member_function_pointer<Function>::value, bool RandomAccess = traits::is_random_access<Sequence>::value > struct invoke_procedure_impl; #define BOOST_PP_FILENAME_1 \ <boost/fusion/functional/invocation/invoke_procedure.hpp> #define BOOST_PP_ITERATION_LIMITS \ (0, BOOST_FUSION_INVOKE_PROCEDURE_MAX_ARITY) #include BOOST_PP_ITERATE() } namespace result_of { template <typename Function, class Sequence, class Enable = void> struct invoke_procedure; template <typename Function, class Sequence> struct invoke_procedure<Function, Sequence, typename enable_if_has_type< typename detail::invoke_procedure_impl< typename boost::remove_reference<Function>::type,Sequence >::result_type >::type> { typedef void type; }; } template <typename Function, class Sequence> BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED inline typename result_of::invoke_procedure<Function, Sequence>::type invoke_procedure(Function f, Sequence & s) { detail::invoke_procedure_impl< typename boost::remove_reference<Function>::type,Sequence >::call(f,s); } template <typename Function, class Sequence> BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED inline typename result_of::invoke_procedure<Function, Sequence const>::type invoke_procedure(Function f, Sequence const & s) { detail::invoke_procedure_impl< typename boost::remove_reference<Function>::type,Sequence const >::call(f,s); } }} #define BOOST_FUSION_FUNCTIONAL_INVOCATION_INVOKE_PROCEDURE_HPP_INCLUDED #else // defined(BOOST_PP_IS_ITERATING) /////////////////////////////////////////////////////////////////////////////// // // Preprocessor vertical repetition code // /////////////////////////////////////////////////////////////////////////////// #define N BOOST_PP_ITERATION() #define M(z,j,data) fusion::at_c<j>(s) template <typename Function, class Sequence> struct invoke_procedure_impl<Function,Sequence,N,false,true> { typedef void result_type; #if N > 0 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static inline void call(Function & f, Sequence & s) { f(BOOST_PP_ENUM(N,M,~)); } #else BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static inline void call(Function & f, Sequence & /*s*/) { f(); } #endif }; #if N > 0 template <typename Function, class Sequence> struct invoke_procedure_impl<Function,Sequence,N,true,true> { typedef void result_type; BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static inline void call(Function & f, Sequence & s) { (that_ptr<typename mpl::front< ft::parameter_types<Function> >::type >::get(fusion::at_c<0>(s))->*f)(BOOST_PP_ENUM_SHIFTED(N,M,~)); } }; #endif #undef M #define M(z,j,data) \ typedef typename result_of::next< BOOST_PP_CAT(I,BOOST_PP_DEC(j)) \ >::type I ## j ; \ I##j i##j = fusion::next(BOOST_PP_CAT(i,BOOST_PP_DEC(j))); template <typename Function, class Sequence> struct invoke_procedure_impl<Function,Sequence,N,false,false> { typedef void result_type; #if N > 0 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static inline void call(Function & f, Sequence & s) { typedef typename result_of::begin<Sequence>::type I0; I0 i0 = fusion::begin(s); BOOST_PP_REPEAT_FROM_TO(1,N,M,~) f( BOOST_PP_ENUM_PARAMS(N,*i) ); } #else BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static inline void call(Function & f, Sequence & /*s*/) { f(); } #endif }; #if N > 0 template <typename Function, class Sequence> struct invoke_procedure_impl<Function,Sequence,N,true,false> { typedef void result_type; BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static inline void call(Function & f, Sequence & s) { typedef typename result_of::begin<Sequence>::type I0; I0 i0 = fusion::begin(s); BOOST_PP_REPEAT_FROM_TO(1,N,M,~) (that_ptr<typename mpl::front< ft::parameter_types<Function> >::type >::get(*i0)->*f)(BOOST_PP_ENUM_SHIFTED_PARAMS(N,*i)); } }; #endif #undef M #undef N #endif // defined(BOOST_PP_IS_ITERATING) #endif
{ "pile_set_name": "Github" }
package api import ( "bytes" "fmt" "net/http" "strings" "time" "github.com/alecthomas/template" "github.com/bojand/ghz/runner" "github.com/bojand/ghz/web/model" "github.com/labstack/echo" ) // ExportDatabase interface for encapsulating database access. type ExportDatabase interface { FindReportByID(uint) (*model.Report, error) GetHistogramForReport(uint) (*model.Histogram, error) GetOptionsForReport(uint) (*model.Options, error) ListAllDetailsForReport(uint) ([]*model.Detail, error) } // The ExportAPI provides handlers. type ExportAPI struct { DB ExportDatabase } // JSONExportRespose is the response to JSON export type JSONExportRespose struct { model.Report Options *model.OptionsInfo `json:"options,omitempty"` Histogram model.BucketList `json:"histogram"` Details []*runner.ResultDetail `json:"details"` } const ( csvTmpl = ` duration (ms),status,error{{ range $i, $v := . }} {{ formatDuration .Latency 1000000 }},{{ .Status }},{{ .Error }}{{ end }} ` ) var tmplFuncMap = template.FuncMap{ "formatDuration": formatDuration, } func formatDuration(duration time.Duration, div int64) string { durationNano := duration.Nanoseconds() return fmt.Sprintf("%4.2f", float64(durationNano/div)) } // GetExport does export for the report func (api *ExportAPI) GetExport(ctx echo.Context) error { var id uint64 var report *model.Report var err error format := strings.ToLower(ctx.QueryParam("format")) if format != "csv" && format != "json" { return echo.NewHTTPError(http.StatusBadRequest, "Unsupported format: "+format) } if id, err = getReportID(ctx); err != nil { return err } var details []*model.Detail if details, err = api.DB.ListAllDetailsForReport(uint(id)); err != nil { return echo.NewHTTPError(http.StatusNotFound, err.Error()) } if format == "csv" { outputTmpl := csvTmpl buf := &bytes.Buffer{} templ := template.Must(template.New("tmpl").Funcs(tmplFuncMap).Parse(outputTmpl)) if err := templ.Execute(buf, &details); err != nil { return echo.NewHTTPError(http.StatusInternalServerError, "Bad Request: "+err.Error()) } return ctx.Blob(http.StatusOK, "text/csv", buf.Bytes()) } if report, err = api.DB.FindReportByID(uint(id)); err != nil { return echo.NewHTTPError(http.StatusNotFound, err.Error()) } var options *model.Options if options, err = api.DB.GetOptionsForReport(uint(id)); err != nil { return echo.NewHTTPError(http.StatusNotFound, err.Error()) } var histogram *model.Histogram if histogram, err = api.DB.GetHistogramForReport(uint(id)); err != nil { return echo.NewHTTPError(http.StatusNotFound, err.Error()) } jsonRes := JSONExportRespose{ Report: *report, } jsonRes.Options = options.Info jsonRes.Histogram = histogram.Buckets jsonRes.Details = make([]*runner.ResultDetail, len(details)) for i := range details { jsonRes.Details[i] = &details[i].ResultDetail } return ctx.JSONPretty(http.StatusOK, jsonRes, " ") }
{ "pile_set_name": "Github" }
// Copyright 2016 Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package uuid import "io" // New creates a new random UUID or panics. New is equivalent to // the expression // // uuid.Must(uuid.NewRandom()) func New() UUID { return Must(NewRandom()) } // NewRandom returns a Random (Version 4) UUID. // // The strength of the UUIDs is based on the strength of the crypto/rand // package. // // A note about uniqueness derived from the UUID Wikipedia entry: // // Randomly generated UUIDs have 122 random bits. One's annual risk of being // hit by a meteorite is estimated to be one chance in 17 billion, that // means the probability is about 0.00000000006 (6 × 10−11), // equivalent to the odds of creating a few tens of trillions of UUIDs in a // year and having one duplicate. func NewRandom() (UUID, error) { var uuid UUID _, err := io.ReadFull(rander, uuid[:]) if err != nil { return Nil, err } uuid[6] = (uuid[6] & 0x0f) | 0x40 // Version 4 uuid[8] = (uuid[8] & 0x3f) | 0x80 // Variant is 10 return uuid, nil }
{ "pile_set_name": "Github" }
/* * Copyright (c) 2015-2018, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"). You may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for * the specific language governing permissions and limitations under the * License. */ package com.cloudera.labs.envelope.validate; import com.google.common.collect.Sets; import com.typesafe.config.Config; import java.util.Set; public class AllowedValuesValidation implements Validation { private String path; private Set<Object> allowedValues; public AllowedValuesValidation(String path, Object... allowedValues) { this.path = path; this.allowedValues = Sets.newHashSet(allowedValues); } @Override public ValidationResult validate(Config config) { if (config.hasPath(path)) { if (allowedValues.contains(config.getAnyRef(path))) { return new ValidationResult(this, Validity.VALID, "Configuration '" + path + "' has one of the allowed values: " + allowedValues); } else { return new ValidationResult(this, Validity.INVALID, "Configuration '" + path + "' does not have one of the allowed values: " + allowedValues); } } else { return new ValidationResult(this, Validity.VALID, "Configuration '" + path + "' does not exist, so will not check it for allowed values"); } } @Override public String toString() { return "Allowed values validation that configuration '" + path + "' has one of values " + allowedValues; } @Override public Set<String> getKnownPaths() { return Sets.newHashSet(path); } }
{ "pile_set_name": "Github" }
#***************************************************************************** # # 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 Advanced Micro Devices, 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 ADVANCED MICRO DEVICES, INC. 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. # #***************************************************************************** # AGESA V5 Files AGESA_ROOT = src/vendorcode/amd/agesa/f15tn AGESA_AUTOINCLUDES := $(shell find $(AGESA_ROOT)/Proc -type d -exec echo -n "-I"{}" " \;) AGESA_INC = -I$(src)/vendorcode/amd/include AGESA_INC += -I$(AGESA_ROOT) AGESA_INC += -I$(AGESA_ROOT)/../common AGESA_INC += -I$(AGESA_ROOT)/Include AGESA_INC += -I$(src)/mainboard/$(MAINBOARDDIR) # OptionsIds.h BUILDOPTS_INCLUDES = -I$(AGESA_ROOT)/Config $(AGESA_INC) $(AGESA_AUTOINCLUDES) # These are invalid, coreboot proper should not require # use of AGESA internal header files. CPPFLAGS_x86_ANY = CPPFLAGS_x86_ANY += -I$(AGESA_ROOT)/Proc/Fch # FchPlatform.h CPPFLAGS_x86_ANY += -I$(AGESA_ROOT)/Proc/Fch/Common # FchCommonCfg.h CPPFLAGS_x86_ANY += -I$(AGESA_ROOT)/Proc/Common # AmdFch.h CPPFLAGS_x86_32 += $(AGESA_INC) $(CPPFLAGS_x86_ANY) CPPFLAGS_x86_64 += $(AGESA_INC) $(CPPFLAGS_x86_ANY) ####################################################################### subdirs-y += Legacy/Proc subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc))
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <ArrayOfDVBTTuning xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!-- SBS --> <DVBTTuning> <Frequency>655500</Frequency> <BandWidth>7</BandWidth> <Offset>125</Offset> </DVBTTuning> <!-- ABC --> <DVBTTuning> <Frequency>662500</Frequency> <BandWidth>7</BandWidth> <Offset>125</Offset> </DVBTTuning> <!-- STQ --> <DVBTTuning> <Frequency>669500</Frequency> <BandWidth>7</BandWidth> <Offset>125</Offset> </DVBTTuning> <!-- RTQ --> <DVBTTuning> <Frequency>676500</Frequency> <BandWidth>7</BandWidth> <Offset>125</Offset> </DVBTTuning> <!-- TNQ --> <DVBTTuning> <Frequency>683500</Frequency> <BandWidth>7</BandWidth> <Offset>125</Offset> </DVBTTuning> <!-- UA --> <DVBTTuning> <Frequency>690500</Frequency> <BandWidth>7</BandWidth> <Offset>125</Offset> </DVBTTuning> </ArrayOfDVBTTuning>
{ "pile_set_name": "Github" }
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726) #define BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726 namespace boost { namespace fusion { struct boost_tuple_tag; struct forward_traversal_tag; namespace extension { template<typename T> struct category_of_impl; template<> struct category_of_impl<boost_tuple_tag> { template<typename T> struct apply { typedef forward_traversal_tag type; }; }; } }} #endif
{ "pile_set_name": "Github" }
\hypertarget{class_c_s_t_l_compiler_attributes}{}\section{C\+S\+T\+L\+Compiler\+Attributes Class Reference} \label{class_c_s_t_l_compiler_attributes}\index{C\+S\+T\+L\+Compiler\+Attributes@{C\+S\+T\+L\+Compiler\+Attributes}} This class search for expressions \#\{obj.\+get\} and compiles it. {\ttfamily \#include $<$cstlcompilerattributes.\+h$>$} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{class_c_s_t_l_compiler_attributes_a1c632f803e86b254d3997a670ab8d185}\label{class_c_s_t_l_compiler_attributes_a1c632f803e86b254d3997a670ab8d185}} {\bfseries C\+S\+T\+L\+Compiler\+Attributes} (Q\+Map$<$ Q\+String, Q\+Object $\ast$$>$ \&objects) \item \mbox{\Hypertarget{class_c_s_t_l_compiler_attributes_a68ca7d9d8ef45dd5f51a0977fb8df911}\label{class_c_s_t_l_compiler_attributes_a68ca7d9d8ef45dd5f51a0977fb8df911}} Q\+String {\bfseries build\+Attributes} (Q\+Map$<$ Q\+String, Q\+String $>$ \&attr, bool key\+Value=true) \item \mbox{\Hypertarget{class_c_s_t_l_compiler_attributes_a1376447033a4bfcceb1b1d27935d6d06}\label{class_c_s_t_l_compiler_attributes_a1376447033a4bfcceb1b1d27935d6d06}} void {\bfseries compile\+Attributes} (Q\+Map$<$ Q\+String, Q\+String $>$ \&attr) \item \mbox{\Hypertarget{class_c_s_t_l_compiler_attributes_a63a271e6d97a614a02cd692c8a1f6395}\label{class_c_s_t_l_compiler_attributes_a63a271e6d97a614a02cd692c8a1f6395}} void {\bfseries compile} (Q\+String \&text, Q\+String \&out\+Put\+Text) \item \mbox{\Hypertarget{class_c_s_t_l_compiler_attributes_aaccef26836cdd8e2c7974b1a1e70b6c0}\label{class_c_s_t_l_compiler_attributes_aaccef26836cdd8e2c7974b1a1e70b6c0}} Q\+Map$<$ Q\+String, Q\+String $>$ {\bfseries get\+Attributes} (const Q\+Xml\+Stream\+Attributes \&attributes) \end{DoxyCompactItemize} \subsection{Detailed Description} This class search for expressions \#\{obj.\+get\} and compiles it. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item /home/herik/\+C\+P\+P\+Web\+Framework/\+C\+P\+P\+Web\+Framework/cwf/cstlcompilerattributes.\+h\item /home/herik/\+C\+P\+P\+Web\+Framework/\+C\+P\+P\+Web\+Framework/cwf/cstlcompilerattributes.\+cpp\end{DoxyCompactItemize}
{ "pile_set_name": "Github" }
/** * Copyright 2011-2019 Asakusa Framework Team. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.asakusafw.yaess.core.task; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import java.io.IOException; import java.util.Map; import com.asakusafw.yaess.core.CommandScript; import com.asakusafw.yaess.core.CommandScriptHandler; import com.asakusafw.yaess.core.ExecutionContext; import com.asakusafw.yaess.core.ExecutionMonitor; import com.asakusafw.yaess.core.ExecutionScriptHandlerBase; import com.asakusafw.yaess.core.ServiceProfile; /** * {@link CommandScriptHandler} for execution tracking. * @since 0.2.3 */ public class TrackingCommandScriptHandler extends ExecutionScriptHandlerBase implements CommandScriptHandler { private volatile ExecutionTracker tracker; private volatile ExecutionTracker.Id id; @Override protected void doConfigure( ServiceProfile<?> profile, Map<String, String> desiredProperties, Map<String, String> desiredEnvironmentVariables) throws InterruptedException, IOException { Map<String, String> conf = profile.getConfiguration(); String trackerClassName = conf.get(ExecutionTracker.KEY_CLASS); String trackingId = conf.get(ExecutionTracker.KEY_ID); assertThat(trackerClassName, is(notNullValue())); assertThat(trackingId, is(notNullValue())); try { Class<?> trackerClass = profile.getContext().getClassLoader().loadClass(trackerClassName); this.tracker = trackerClass.asSubclass(ExecutionTracker.class).newInstance(); this.id = ExecutionTracker.Id.get(trackingId); } catch (Exception e) { throw new AssertionError(e); } } @Override public void execute( ExecutionMonitor monitor, ExecutionContext context, CommandScript script) throws InterruptedException, IOException { monitor.open(1); try { ExecutionTracker.Record record = new ExecutionTracker.Record(context, script, this); tracker.add(id, record); } finally { monitor.close(); } } @Override public void setUp( ExecutionMonitor monitor, ExecutionContext context) throws InterruptedException, IOException { monitor.open(1); try { ExecutionTracker.Record record = new ExecutionTracker.Record(context, null, this); tracker.add(id, record); } finally { monitor.close(); } } @Override public void cleanUp( ExecutionMonitor monitor, ExecutionContext context) throws InterruptedException, IOException { monitor.open(1); try { ExecutionTracker.Record record = new ExecutionTracker.Record(context, null, this); tracker.add(id, record); } finally { monitor.close(); } } }
{ "pile_set_name": "Github" }
/* This file is part of Darling. Copyright (C) 2019 Lubos Dolezel Darling 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 3 of the License, or (at your option) any later version. Darling 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 Darling. If not, see <http://www.gnu.org/licenses/>. */ #import <ConfigurationProfiles/CPIdentificationPayloads.h> @implementation CPIdentificationPayloads - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector { return [NSMethodSignature signatureWithObjCTypes: "v@:"]; } - (void)forwardInvocation:(NSInvocation *)anInvocation { NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); } @end
{ "pile_set_name": "Github" }
/* Localized versions of Info.plist keys */
{ "pile_set_name": "Github" }
{ "name": "fastclick", "repo": "ftlabs/fastclick", "description": "Polyfill to remove click delays on browsers with touch UIs.", "version": "1.0.3", "main": "lib/fastclick.js", "scripts": [ "lib/fastclick.js" ], "ignore": [ "examples/", "tests/" ], "license": "MIT" }
{ "pile_set_name": "Github" }
import * as GQL from '../../../shared/src/graphql/schema' /** * Common props for components underneath a namespace (e.g., a user or organization). */ export interface NamespaceProps { /** * The namespace. */ namespace: Pick<GQL.Namespace, '__typename' | 'id' | 'url'> }
{ "pile_set_name": "Github" }
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.samza.tools.avro; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.avro.Schema; import org.apache.avro.generic.GenericData; import org.apache.avro.reflect.ReflectData; import org.apache.samza.config.Config; import org.apache.samza.operators.KV; import org.apache.samza.sql.SamzaSqlRelRecord; import org.apache.samza.sql.avro.AvroRelConverter; import org.apache.samza.sql.avro.AvroRelSchemaProvider; import org.apache.samza.sql.data.SamzaSqlRelMessage; import org.apache.samza.system.SystemStream; /** * Special form for AvroRelConverter that generates the avro schema on the output based on the * fields in {@link SamzaSqlRelMessage} and uses the schema to serialize the output. * This is useful to test out the SQL quickly when the destination system supports Avro serialized data, * without having to manually author the avro schemas for various SQL queries. */ public class AvroSchemaGenRelConverter extends AvroRelConverter { private final String streamName; private Map<String, Schema> schemas = new HashMap<>(); public AvroSchemaGenRelConverter(SystemStream systemStream, AvroRelSchemaProvider schemaProvider, Config config) { super(systemStream, schemaProvider, config); streamName = systemStream.getStream(); } @Override public KV<Object, Object> convertToSamzaMessage(SamzaSqlRelMessage relMessage) { Schema payloadSchema = computePayloadSchema(streamName, relMessage); return convertToSamzaMessage(relMessage, payloadSchema); } private Schema computePayloadSchema(String streamName, SamzaSqlRelMessage relMessage) { SamzaSqlRelRecord relRecord = relMessage.getSamzaSqlRelRecord(); List<Schema.Field> keyFields = new ArrayList<>(); List<String> fieldNames = relRecord.getFieldNames(); List<Object> values = relRecord.getFieldValues(); for (int index = 0; index < fieldNames.size(); index++) { if (fieldNames.get(index).equals(SamzaSqlRelMessage.KEY_NAME) || values.get(index) == null) { continue; } Object value = values.get(index); Schema avroType; if (value instanceof GenericData.Record) { avroType = ((GenericData.Record) value).getSchema(); } else { avroType = ReflectData.get().getSchema(value.getClass()); } keyFields.add(new Schema.Field(fieldNames.get(index), avroType, "", null)); } Schema ks = Schema.createRecord(streamName, "", streamName + "_namespace", false); ks.setFields(keyFields); String schemaStr = ks.toString(); Schema schema; // See whether we have a schema object corresponding to the schemaValue and reuse it. // CachedSchemaRegistryClient doesn't like if we recreate schema objects. if (schemas.containsKey(schemaStr)) { schema = schemas.get(schemaStr); } else { schema = Schema.parse(schemaStr); schemas.put(schemaStr, schema); } return schema; } }
{ "pile_set_name": "Github" }
; REQUIRES: asserts ; RUN: opt -inline -mtriple=aarch64--linux-gnu -S -debug-only=inline-cost < %s 2>&1 | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64--linux-gnu" define i32 @outer1(i32* %ptr, i32 %i) { %C = call i32 @inner1(i32* %ptr, i32 %i) ret i32 %C } ; sext can be folded into gep. ; CHECK: Analyzing call of inner1 ; CHECK: NumInstructionsSimplified: 3 ; CHECK: NumInstructions: 4 define i32 @inner1(i32* %ptr, i32 %i) { %E = sext i32 %i to i64 %G = getelementptr inbounds i32, i32* %ptr, i64 %E %L = load i32, i32* %G ret i32 %L } define i32 @outer2(i32* %ptr, i32 %i) { %C = call i32 @inner2(i32* %ptr, i32 %i) ret i32 %C } ; zext from i32 to i64 is free. ; CHECK: Analyzing call of inner2 ; CHECK: NumInstructionsSimplified: 3 ; CHECK: NumInstructions: 4 define i32 @inner2(i32* %ptr, i32 %i) { %E = zext i32 %i to i64 %G = getelementptr inbounds i32, i32* %ptr, i64 %E %L = load i32, i32* %G ret i32 %L } define i32 @outer3(i32* %ptr, i16 %i) { %C = call i32 @inner3(i32* %ptr, i16 %i) ret i32 %C } ; zext can be folded into gep. ; CHECK: Analyzing call of inner3 ; CHECK: NumInstructionsSimplified: 3 ; CHECK: NumInstructions: 4 define i32 @inner3(i32* %ptr, i16 %i) { %E = zext i16 %i to i64 %G = getelementptr inbounds i32, i32* %ptr, i64 %E %L = load i32, i32* %G ret i32 %L } define i16 @outer4(i8* %ptr) { %C = call i16 @inner4(i8* %ptr) ret i16 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner4 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i16 @inner4(i8* %ptr) { %L = load i8, i8* %ptr %E = zext i8 %L to i16 ret i16 %E } define i16 @outer5(i8* %ptr) { %C = call i16 @inner5(i8* %ptr) ret i16 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner5 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i16 @inner5(i8* %ptr) { %L = load i8, i8* %ptr %E = sext i8 %L to i16 ret i16 %E } define i32 @outer6(i8* %ptr) { %C = call i32 @inner6(i8* %ptr) ret i32 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner6 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i32 @inner6(i8* %ptr) { %L = load i8, i8* %ptr %E = zext i8 %L to i32 ret i32 %E } define i32 @outer7(i8* %ptr) { %C = call i32 @inner7(i8* %ptr) ret i32 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner7 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i32 @inner7(i8* %ptr) { %L = load i8, i8* %ptr %E = sext i8 %L to i32 ret i32 %E } define i32 @outer8(i16* %ptr) { %C = call i32 @inner8(i16* %ptr) ret i32 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner8 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i32 @inner8(i16* %ptr) { %L = load i16, i16* %ptr %E = zext i16 %L to i32 ret i32 %E } define i32 @outer9(i16* %ptr) { %C = call i32 @inner9(i16* %ptr) ret i32 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner9 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i32 @inner9(i16* %ptr) { %L = load i16, i16* %ptr %E = sext i16 %L to i32 ret i32 %E } define i64 @outer10(i8* %ptr) { %C = call i64 @inner10(i8* %ptr) ret i64 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner10 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i64 @inner10(i8* %ptr) { %L = load i8, i8* %ptr %E = zext i8 %L to i64 ret i64 %E } define i64 @outer11(i8* %ptr) { %C = call i64 @inner11(i8* %ptr) ret i64 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner11 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i64 @inner11(i8* %ptr) { %L = load i8, i8* %ptr %E = sext i8 %L to i64 ret i64 %E } define i64 @outer12(i16* %ptr) { %C = call i64 @inner12(i16* %ptr) ret i64 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner12 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i64 @inner12(i16* %ptr) { %L = load i16, i16* %ptr %E = zext i16 %L to i64 ret i64 %E } define i64 @outer13(i16* %ptr) { %C = call i64 @inner13(i16* %ptr) ret i64 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner13 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i64 @inner13(i16* %ptr) { %L = load i16, i16* %ptr %E = sext i16 %L to i64 ret i64 %E } define i64 @outer14(i32* %ptr) { %C = call i64 @inner14(i32* %ptr) ret i64 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner14 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i64 @inner14(i32* %ptr) { %L = load i32, i32* %ptr %E = zext i32 %L to i64 ret i64 %E } define i64 @outer15(i32* %ptr) { %C = call i64 @inner15(i32* %ptr) ret i64 %C } ; It is an ExtLoad. ; CHECK: Analyzing call of inner15 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 3 define i64 @inner15(i32* %ptr) { %L = load i32, i32* %ptr %E = sext i32 %L to i64 ret i64 %E } define i64 @outer16(i32 %V1, i64 %V2) { %C = call i64 @inner16(i32 %V1, i64 %V2) ret i64 %C } ; sext can be folded into shl. ; CHECK: Analyzing call of inner16 ; CHECK: NumInstructionsSimplified: 2 ; CHECK: NumInstructions: 4 define i64 @inner16(i32 %V1, i64 %V2) { %E = sext i32 %V1 to i64 %S = shl i64 %E, 3 %A = add i64 %V2, %S ret i64 %A }
{ "pile_set_name": "Github" }
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import unittest import parlai.utils.testing as testing_utils @testing_utils.skipUnlessGPU class TestBertModel(unittest.TestCase): """ Test of Bert biencoder and crossencoder. Checks that Both Biencoder and CrossEncoder of Bert can be trained for about 100 samples on convai2 """ @testing_utils.retry(ntries=3, log_retry=True) def test_biencoder(self): valid, test = testing_utils.train_model( dict( task='convai2', model='bert_ranker/bi_encoder_ranker', num_epochs=0.1, batchsize=8, learningrate=3e-4, text_truncate=32, validation_max_exs=20, short_final_eval=True, ) ) # can't conclude much from the biencoder after that little iterations. # this test will just make sure it hasn't crashed and the accuracy isn't # too high self.assertLessEqual(test['accuracy'], 0.5) @testing_utils.retry(ntries=3, log_retry=True) def test_crossencoder(self): valid, test = testing_utils.train_model( dict( task='convai2', model='bert_ranker/cross_encoder_ranker', num_epochs=0.002, batchsize=1, candidates="inline", type_optimization="all_encoder_layers", warmup_updates=100, text_truncate=32, label_truncate=32, validation_max_exs=20, short_final_eval=True, ) ) # The cross encoder reaches an interesting state MUCH faster # accuracy should be present and somewhere between 0.2 and 0.8 # (large interval so that it doesn't flake.) self.assertGreaterEqual(test['accuracy'], 0.03) self.assertLessEqual(test['accuracy'], 0.8) if __name__ == '__main__': unittest.main()
{ "pile_set_name": "Github" }
using NLog; using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.Download; using NzbDrone.Core.Parser.Model; namespace NzbDrone.Core.MediaFiles.TrackImport.Specifications { public class CloseTrackMatchSpecification : IImportDecisionEngineSpecification<LocalTrack> { private const double _threshold = 0.4; private readonly Logger _logger; public CloseTrackMatchSpecification(Logger logger) { _logger = logger; } public Decision IsSatisfiedBy(LocalTrack item, DownloadClientItem downloadClientItem) { var dist = item.Distance.NormalizedDistance(); var reasons = item.Distance.Reasons; if (dist > _threshold) { _logger.Debug($"Track match is not close enough: {dist} vs {_threshold} {reasons}. Skipping {item}"); return Decision.Reject($"Track match is not close enough: {1 - dist:P1} vs {1 - _threshold:P0} {reasons}"); } _logger.Debug($"Track accepted: {dist} vs {_threshold} {reasons}."); return Decision.Accept(); } } }
{ "pile_set_name": "Github" }
sphinx sphinx_rtd_theme pypandoc twine wheel
{ "pile_set_name": "Github" }
// // RxTest-tvOS-Bridging-Header.h // Tests // // Created by Krunoslav Zaher on 11/25/15. // Copyright © 2015 Krunoslav Zaher. All rights reserved. // #import "RXObjCRuntime+Testing.h"
{ "pile_set_name": "Github" }
SUBROUTINE CHBGV( JOBZ, UPLO, N, KA, KB, AB, LDAB, BB, LDBB, W, Z, $ LDZ, WORK, RWORK, INFO ) * * -- LAPACK driver routine (version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * September 30, 1994 * * .. Scalar Arguments .. CHARACTER JOBZ, UPLO INTEGER INFO, KA, KB, LDAB, LDBB, LDZ, N * .. * .. Array Arguments .. REAL RWORK( * ), W( * ) COMPLEX AB( LDAB, * ), BB( LDBB, * ), WORK( * ), $ Z( LDZ, * ) * .. * * Purpose * ======= * * CHBGV computes all the eigenvalues, and optionally, the eigenvectors * of a complex generalized Hermitian-definite banded eigenproblem, of * the form A*x=(lambda)*B*x. Here A and B are assumed to be Hermitian * and banded, and B is also positive definite. * * Arguments * ========= * * JOBZ (input) CHARACTER*1 * = 'N': Compute eigenvalues only; * = 'V': Compute eigenvalues and eigenvectors. * * UPLO (input) CHARACTER*1 * = 'U': Upper triangles of A and B are stored; * = 'L': Lower triangles of A and B are stored. * * N (input) INTEGER * The order of the matrices A and B. N >= 0. * * KA (input) INTEGER * The number of superdiagonals of the matrix A if UPLO = 'U', * or the number of subdiagonals if UPLO = 'L'. KA >= 0. * * KB (input) INTEGER * The number of superdiagonals of the matrix B if UPLO = 'U', * or the number of subdiagonals if UPLO = 'L'. KB >= 0. * * AB (input/output) COMPLEX array, dimension (LDAB, N) * On entry, the upper or lower triangle of the Hermitian band * matrix A, stored in the first ka+1 rows of the array. The * j-th column of A is stored in the j-th column of the array AB * as follows: * if UPLO = 'U', AB(ka+1+i-j,j) = A(i,j) for max(1,j-ka)<=i<=j; * if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+ka). * * On exit, the contents of AB are destroyed. * * LDAB (input) INTEGER * The leading dimension of the array AB. LDAB >= KA+1. * * BB (input/output) COMPLEX array, dimension (LDBB, N) * On entry, the upper or lower triangle of the Hermitian band * matrix B, stored in the first kb+1 rows of the array. The * j-th column of B is stored in the j-th column of the array BB * as follows: * if UPLO = 'U', BB(kb+1+i-j,j) = B(i,j) for max(1,j-kb)<=i<=j; * if UPLO = 'L', BB(1+i-j,j) = B(i,j) for j<=i<=min(n,j+kb). * * On exit, the factor S from the split Cholesky factorization * B = S**H*S, as returned by CPBSTF. * * LDBB (input) INTEGER * The leading dimension of the array BB. LDBB >= KB+1. * * W (output) REAL array, dimension (N) * If INFO = 0, the eigenvalues in ascending order. * * Z (output) COMPLEX array, dimension (LDZ, N) * If JOBZ = 'V', then if INFO = 0, Z contains the matrix Z of * eigenvectors, with the i-th column of Z holding the * eigenvector associated with W(i). The eigenvectors are * normalized so that Z**H*B*Z = I. * If JOBZ = 'N', then Z is not referenced. * * LDZ (input) INTEGER * The leading dimension of the array Z. LDZ >= 1, and if * JOBZ = 'V', LDZ >= N. * * WORK (workspace) COMPLEX array, dimension (N) * * RWORK (workspace) REAL array, dimension (3*N) * * INFO (output) INTEGER * = 0: successful exit * < 0: if INFO = -i, the i-th argument had an illegal value * > 0: if INFO = i, and i is: * <= N: the algorithm failed to converge: * i off-diagonal elements of an intermediate * tridiagonal form did not converge to zero; * > N: if INFO = N + i, for 1 <= i <= N, then CPBSTF * returned INFO = i: B is not positive definite. * The factorization of B could not be completed and * no eigenvalues or eigenvectors were computed. * * ===================================================================== * * .. Local Scalars .. LOGICAL UPPER, WANTZ CHARACTER VECT INTEGER IINFO, INDE, INDWRK * .. * .. External Functions .. LOGICAL LSAME EXTERNAL LSAME * .. * .. External Subroutines .. EXTERNAL CHBGST, CHBTRD, CPBSTF, CSTEQR, SSTERF, XERBLA * .. * .. Executable Statements .. * * Test the input parameters. * WANTZ = LSAME( JOBZ, 'V' ) UPPER = LSAME( UPLO, 'U' ) * INFO = 0 IF( .NOT.( WANTZ .OR. LSAME( JOBZ, 'N' ) ) ) THEN INFO = -1 ELSE IF( .NOT.( UPPER .OR. LSAME( UPLO, 'L' ) ) ) THEN INFO = -2 ELSE IF( N.LT.0 ) THEN INFO = -3 ELSE IF( KA.LT.0 ) THEN INFO = -4 ELSE IF( KB.LT.0 .OR. KB.GT.KA ) THEN INFO = -5 ELSE IF( LDAB.LT.KA+1 ) THEN INFO = -7 ELSE IF( LDBB.LT.KB+1 ) THEN INFO = -9 ELSE IF( LDZ.LT.1 .OR. ( WANTZ .AND. LDZ.LT.N ) ) THEN INFO = -12 END IF IF( INFO.NE.0 ) THEN CALL XERBLA( 'CHBGV ', -INFO ) RETURN END IF * * Quick return if possible * IF( N.EQ.0 ) $ RETURN * * Form a split Cholesky factorization of B. * CALL CPBSTF( UPLO, N, KB, BB, LDBB, INFO ) IF( INFO.NE.0 ) THEN INFO = N + INFO RETURN END IF * * Transform problem to standard eigenvalue problem. * INDE = 1 INDWRK = INDE + N CALL CHBGST( JOBZ, UPLO, N, KA, KB, AB, LDAB, BB, LDBB, Z, LDZ, $ WORK, RWORK( INDWRK ), IINFO ) * * Reduce to tridiagonal form. * IF( WANTZ ) THEN VECT = 'U' ELSE VECT = 'N' END IF CALL CHBTRD( VECT, UPLO, N, KA, AB, LDAB, W, RWORK( INDE ), Z, $ LDZ, WORK, IINFO ) * * For eigenvalues only, call SSTERF. For eigenvectors, call CSTEQR. * IF( .NOT.WANTZ ) THEN CALL SSTERF( N, W, RWORK( INDE ), INFO ) ELSE CALL CSTEQR( JOBZ, N, W, RWORK( INDE ), Z, LDZ, $ RWORK( INDWRK ), INFO ) END IF RETURN * * End of CHBGV * END
{ "pile_set_name": "Github" }
; <<>> DiG 9.9.5-3ubuntu0.8-Ubuntu <<>> AXFR olayangroup. @a.nic.olayangroup. +nocomments +nocmd +noquestion +nostats +time=15 ;; global options: +cmd ; Transfer failed.
{ "pile_set_name": "Github" }
__version__ = '0.7.1'
{ "pile_set_name": "Github" }
'use strict'; var resolveCommand = require('./util/resolveCommand'); var hasEmptyArgumentBug = require('./util/hasEmptyArgumentBug'); var escapeArgument = require('./util/escapeArgument'); var escapeCommand = require('./util/escapeCommand'); var readShebang = require('./util/readShebang'); var isWin = process.platform === 'win32'; var skipShellRegExp = /\.(?:com|exe)$/i; // Supported in Node >= 6 and >= 4.8 var supportsShellOption = parseInt(process.version.substr(1).split('.')[0], 10) >= 6 || parseInt(process.version.substr(1).split('.')[0], 10) === 4 && parseInt(process.version.substr(1).split('.')[1], 10) >= 8; function parseNonShell(parsed) { var shebang; var needsShell; var applyQuotes; if (!isWin) { return parsed; } // Detect & add support for shebangs parsed.file = resolveCommand(parsed.command); parsed.file = parsed.file || resolveCommand(parsed.command, true); shebang = parsed.file && readShebang(parsed.file); if (shebang) { parsed.args.unshift(parsed.file); parsed.command = shebang; needsShell = hasEmptyArgumentBug || !skipShellRegExp.test(resolveCommand(shebang) || resolveCommand(shebang, true)); } else { needsShell = hasEmptyArgumentBug || !skipShellRegExp.test(parsed.file); } // If a shell is required, use cmd.exe and take care of escaping everything correctly if (needsShell) { // Escape command & arguments applyQuotes = (parsed.command !== 'echo'); // Do not quote arguments for the special "echo" command parsed.command = escapeCommand(parsed.command); parsed.args = parsed.args.map(function (arg) { return escapeArgument(arg, applyQuotes); }); // Make use of cmd.exe parsed.args = ['/d', '/s', '/c', '"' + parsed.command + (parsed.args.length ? ' ' + parsed.args.join(' ') : '') + '"']; parsed.command = process.env.comspec || 'cmd.exe'; parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped } return parsed; } function parseShell(parsed) { var shellCommand; // If node supports the shell option, there's no need to mimic its behavior if (supportsShellOption) { return parsed; } // Mimic node shell option, see: https://github.com/nodejs/node/blob/b9f6a2dc059a1062776133f3d4fd848c4da7d150/lib/child_process.js#L335 shellCommand = [parsed.command].concat(parsed.args).join(' '); if (isWin) { parsed.command = typeof parsed.options.shell === 'string' ? parsed.options.shell : process.env.comspec || 'cmd.exe'; parsed.args = ['/d', '/s', '/c', '"' + shellCommand + '"']; parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped } else { if (typeof parsed.options.shell === 'string') { parsed.command = parsed.options.shell; } else if (process.platform === 'android') { parsed.command = '/system/bin/sh'; } else { parsed.command = '/bin/sh'; } parsed.args = ['-c', shellCommand]; } return parsed; } // ------------------------------------------------ function parse(command, args, options) { var parsed; // Normalize arguments, similar to nodejs if (args && !Array.isArray(args)) { options = args; args = null; } args = args ? args.slice(0) : []; // Clone array to avoid changing the original options = options || {}; // Build our parsed object parsed = { command: command, args: args, options: options, file: undefined, original: command, }; // Delegate further parsing to shell or non-shell return options.shell ? parseShell(parsed) : parseNonShell(parsed); } module.exports = parse;
{ "pile_set_name": "Github" }
{ "name": "Rita Aparecida de Quadros", "displayName": "Rita Aparecida de Quadros", "properties": [ "baixefacil.com.br" ] }
{ "pile_set_name": "Github" }
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library 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 Lesser General Public License for more * details. */ package org.liferay.jukebox.service; import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; import com.liferay.portal.kernel.util.ReferenceRegistry; import com.liferay.portal.service.InvokableLocalService; /** * Provides the local service utility for Album. This utility wraps * {@link org.liferay.jukebox.service.impl.AlbumLocalServiceImpl} and is the * primary access point for service operations in application layer code running * on the local server. Methods of this service will not have security checks * based on the propagated JAAS credentials because this service can only be * accessed from within the same VM. * * @author Julio Camarero * @see AlbumLocalService * @see org.liferay.jukebox.service.base.AlbumLocalServiceBaseImpl * @see org.liferay.jukebox.service.impl.AlbumLocalServiceImpl * @generated */ public class AlbumLocalServiceUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Add custom service methods to {@link org.liferay.jukebox.service.impl.AlbumLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. */ /** * Adds the album to the database. Also notifies the appropriate model listeners. * * @param album the album * @return the album that was added * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album addAlbum( org.liferay.jukebox.model.Album album) throws com.liferay.portal.kernel.exception.SystemException { return getService().addAlbum(album); } /** * Creates a new album with the primary key. Does not add the album to the database. * * @param albumId the primary key for the new album * @return the new album */ public static org.liferay.jukebox.model.Album createAlbum(long albumId) { return getService().createAlbum(albumId); } /** * Deletes the album with the primary key from the database. Also notifies the appropriate model listeners. * * @param albumId the primary key of the album * @return the album that was removed * @throws PortalException if a album with the primary key could not be found * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album deleteAlbum(long albumId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().deleteAlbum(albumId); } /** * Deletes the album from the database. Also notifies the appropriate model listeners. * * @param album the album * @return the album that was removed * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album deleteAlbum( org.liferay.jukebox.model.Album album) throws com.liferay.portal.kernel.exception.SystemException { return getService().deleteAlbum(album); } public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return getService().dynamicQuery(); } /** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows * @throws SystemException if a system exception occurred */ @SuppressWarnings("rawtypes") public static java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException { return getService().dynamicQuery(dynamicQuery); } /** * Performs a dynamic query on the database and returns a range of the matching rows. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @return the range of matching rows * @throws SystemException if a system exception occurred */ @SuppressWarnings("rawtypes") public static java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.kernel.exception.SystemException { return getService().dynamicQuery(dynamicQuery, start, end); } /** * Performs a dynamic query on the database and returns an ordered range of the matching rows. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching rows * @throws SystemException if a system exception occurred */ @SuppressWarnings("rawtypes") public static java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException { return getService() .dynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows that match the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows that match the dynamic query * @throws SystemException if a system exception occurred */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException { return getService().dynamicQueryCount(dynamicQuery); } /** * Returns the number of rows that match the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows that match the dynamic query * @throws SystemException if a system exception occurred */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) throws com.liferay.portal.kernel.exception.SystemException { return getService().dynamicQueryCount(dynamicQuery, projection); } public static org.liferay.jukebox.model.Album fetchAlbum(long albumId) throws com.liferay.portal.kernel.exception.SystemException { return getService().fetchAlbum(albumId); } /** * Returns the album with the matching UUID and company. * * @param uuid the album's UUID * @param companyId the primary key of the company * @return the matching album, or <code>null</code> if a matching album could not be found * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album fetchAlbumByUuidAndCompanyId( java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException { return getService().fetchAlbumByUuidAndCompanyId(uuid, companyId); } /** * Returns the album matching the UUID and group. * * @param uuid the album's UUID * @param groupId the primary key of the group * @return the matching album, or <code>null</code> if a matching album could not be found * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album fetchAlbumByUuidAndGroupId( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException { return getService().fetchAlbumByUuidAndGroupId(uuid, groupId); } /** * Returns the album with the primary key. * * @param albumId the primary key of the album * @return the album * @throws PortalException if a album with the primary key could not be found * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album getAlbum(long albumId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().getAlbum(albumId); } public static com.liferay.portal.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().getPersistedModel(primaryKeyObj); } /** * Returns the album with the matching UUID and company. * * @param uuid the album's UUID * @param companyId the primary key of the company * @return the matching album * @throws PortalException if a matching album could not be found * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album getAlbumByUuidAndCompanyId( java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().getAlbumByUuidAndCompanyId(uuid, companyId); } /** * Returns the album matching the UUID and group. * * @param uuid the album's UUID * @param groupId the primary key of the group * @return the matching album * @throws PortalException if a matching album could not be found * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album getAlbumByUuidAndGroupId( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().getAlbumByUuidAndGroupId(uuid, groupId); } /** * Returns a range of all the albums. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of albums * @param end the upper bound of the range of albums (not inclusive) * @return the range of albums * @throws SystemException if a system exception occurred */ public static java.util.List<org.liferay.jukebox.model.Album> getAlbums( int start, int end) throws com.liferay.portal.kernel.exception.SystemException { return getService().getAlbums(start, end); } /** * Returns the number of albums. * * @return the number of albums * @throws SystemException if a system exception occurred */ public static int getAlbumsCount() throws com.liferay.portal.kernel.exception.SystemException { return getService().getAlbumsCount(); } /** * Updates the album in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param album the album * @return the album that was updated * @throws SystemException if a system exception occurred */ public static org.liferay.jukebox.model.Album updateAlbum( org.liferay.jukebox.model.Album album) throws com.liferay.portal.kernel.exception.SystemException { return getService().updateAlbum(album); } /** * Returns the Spring bean ID for this bean. * * @return the Spring bean ID for this bean */ public static java.lang.String getBeanIdentifier() { return getService().getBeanIdentifier(); } /** * Sets the Spring bean ID for this bean. * * @param beanIdentifier the Spring bean ID for this bean */ public static void setBeanIdentifier(java.lang.String beanIdentifier) { getService().setBeanIdentifier(beanIdentifier); } public static java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable { return getService().invokeMethod(name, parameterTypes, arguments); } public static org.liferay.jukebox.model.Album addAlbum(long userId, long artistId, java.lang.String name, int year, java.io.InputStream inputStream, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService() .addAlbum(userId, artistId, name, year, inputStream, serviceContext); } public static void addEntryResources( org.liferay.jukebox.model.Album album, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { getService() .addEntryResources(album, addGroupPermissions, addGuestPermissions); } public static void addEntryResources( org.liferay.jukebox.model.Album album, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { getService().addEntryResources(album, groupPermissions, guestPermissions); } public static void deleteAlbums(long groupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { getService().deleteAlbums(groupId); } public static java.util.List<org.liferay.jukebox.model.Album> getAlbums( long groupId) throws com.liferay.portal.kernel.exception.SystemException { return getService().getAlbums(groupId); } public static java.util.List<org.liferay.jukebox.model.Album> getAlbums( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException { return getService().getAlbums(groupId, start, end); } public static java.util.List<org.liferay.jukebox.model.Album> getAlbumsByArtistId( long artistId) throws com.liferay.portal.kernel.exception.SystemException { return getService().getAlbumsByArtistId(artistId); } public static int getAlbumsCount(long groupId) throws com.liferay.portal.kernel.exception.SystemException { return getService().getAlbumsCount(groupId); } public static org.liferay.jukebox.model.Album moveAlbumToTrash( long userId, long albumId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().moveAlbumToTrash(userId, albumId); } public static org.liferay.jukebox.model.Album restoreAlbumFromTrash( long userId, long albumId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService().restoreAlbumFromTrash(userId, albumId); } public static org.liferay.jukebox.model.Album updateAlbum(long userId, long albumId, long artistId, java.lang.String name, int year, java.io.InputStream inputStream, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService() .updateAlbum(userId, albumId, artistId, name, year, inputStream, serviceContext); } public static void updateAsset(long userId, org.liferay.jukebox.model.Album album, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { getService() .updateAsset(userId, album, assetCategoryIds, assetTagNames, assetLinkEntryIds); } public static void clearService() { _service = null; } public static AlbumLocalService getService() { if (_service == null) { InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), AlbumLocalService.class.getName()); if (invokableLocalService instanceof AlbumLocalService) { _service = (AlbumLocalService)invokableLocalService; } else { _service = new AlbumLocalServiceClp(invokableLocalService); } ReferenceRegistry.registerReference(AlbumLocalServiceUtil.class, "_service"); } return _service; } /** * @deprecated As of 6.2.0 */ public void setService(AlbumLocalService service) { } private static AlbumLocalService _service; }
{ "pile_set_name": "Github" }
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/proxy/dhcp_proxy_script_fetcher_win.h" #include <memory> #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/memory/free_deleter.h" #include "base/profiler/scoped_tracker.h" #include "base/threading/sequenced_worker_pool.h" #include "net/base/net_errors.h" #include "net/proxy/dhcp_proxy_script_adapter_fetcher_win.h" #include <winsock2.h> #include <iphlpapi.h> namespace { // How many threads to use at maximum to do DHCP lookups. This is // chosen based on the following UMA data: // - When OnWaitTimer fires, ~99.8% of users have 6 or fewer network // adapters enabled for DHCP in total. // - At the same measurement point, ~99.7% of users have 3 or fewer pending // DHCP adapter lookups. // - There is however a very long and thin tail of users who have // systems reporting up to 100+ adapters (this must be some very weird // OS bug (?), probably the cause of http://crbug.com/240034). // // The maximum number of threads is chosen such that even systems that // report a huge number of network adapters should not run out of // memory from this number of threads, while giving a good chance of // getting back results for any responsive adapters. // // The ~99.8% of systems that have 6 or fewer network adapters will // not grow the thread pool to its maximum size (rather, they will // grow it to 6 or fewer threads) so setting the limit lower would not // improve performance or memory usage on those systems. const int kMaxDhcpLookupThreads = 12; // How long to wait at maximum after we get results (a PAC file or // knowledge that no PAC file is configured) from whichever network // adapter finishes first. const int kMaxWaitAfterFirstResultMs = 400; } // namespace namespace net { DhcpProxyScriptFetcherWin::DhcpProxyScriptFetcherWin( URLRequestContext* url_request_context) : state_(STATE_START), num_pending_fetchers_(0), destination_string_(NULL), url_request_context_(url_request_context) { DCHECK(url_request_context_); worker_pool_ = new base::SequencedWorkerPool( kMaxDhcpLookupThreads, "PacDhcpLookup", base::TaskPriority::USER_VISIBLE); } DhcpProxyScriptFetcherWin::~DhcpProxyScriptFetcherWin() { // Count as user-initiated if we are not yet in STATE_DONE. Cancel(); worker_pool_->Shutdown(); } int DhcpProxyScriptFetcherWin::Fetch(base::string16* utf16_text, const CompletionCallback& callback) { // TODO(joi): Remove ScopedTracker below once crbug.com/476182 is fixed. tracked_objects::ScopedTracker tracking_profile1( FROM_HERE_WITH_EXPLICIT_FUNCTION( "476182 DhcpProxyScriptFetcherWin::Fetch 1")); DCHECK(CalledOnValidThread()); if (state_ != STATE_START && state_ != STATE_DONE) { NOTREACHED(); return ERR_UNEXPECTED; } state_ = STATE_WAIT_ADAPTERS; callback_ = callback; destination_string_ = utf16_text; last_query_ = ImplCreateAdapterQuery(); // TODO(joi): Remove ScopedTracker below once crbug.com/476182 is fixed. tracked_objects::ScopedTracker tracking_profile2( FROM_HERE_WITH_EXPLICIT_FUNCTION( "476182 DhcpProxyScriptFetcherWin::Fetch 2")); GetTaskRunner()->PostTaskAndReply( FROM_HERE, base::Bind( &DhcpProxyScriptFetcherWin::AdapterQuery::GetCandidateAdapterNames, last_query_.get()), base::Bind( &DhcpProxyScriptFetcherWin::OnGetCandidateAdapterNamesDone, AsWeakPtr(), last_query_)); return ERR_IO_PENDING; } void DhcpProxyScriptFetcherWin::Cancel() { DCHECK(CalledOnValidThread()); CancelImpl(); } void DhcpProxyScriptFetcherWin::CancelImpl() { DCHECK(CalledOnValidThread()); if (state_ != STATE_DONE) { callback_.Reset(); wait_timer_.Stop(); state_ = STATE_DONE; for (FetcherVector::iterator it = fetchers_.begin(); it != fetchers_.end(); ++it) { (*it)->Cancel(); } fetchers_.clear(); } } void DhcpProxyScriptFetcherWin::OnGetCandidateAdapterNamesDone( scoped_refptr<AdapterQuery> query) { // TODO(joi): Remove ScopedTracker below once crbug.com/476182 is fixed. tracked_objects::ScopedTracker tracking_profile1( FROM_HERE_WITH_EXPLICIT_FUNCTION( "476182 " "DhcpProxyScriptFetcherWin::OnGetCandidateAdapterNamesDone 1")); DCHECK(CalledOnValidThread()); // This can happen if this object is reused for multiple queries, // and a previous query was cancelled before it completed. if (query.get() != last_query_.get()) return; last_query_ = NULL; // Enable unit tests to wait for this to happen; in production this function // call is a no-op. ImplOnGetCandidateAdapterNamesDone(); // We may have been cancelled. if (state_ != STATE_WAIT_ADAPTERS) return; state_ = STATE_NO_RESULTS; // TODO(joi): Remove ScopedTracker below once crbug.com/476182 is fixed. tracked_objects::ScopedTracker tracking_profile2( FROM_HERE_WITH_EXPLICIT_FUNCTION( "476182 " "DhcpProxyScriptFetcherWin::OnGetCandidateAdapterNamesDone 2")); const std::set<std::string>& adapter_names = query->adapter_names(); if (adapter_names.empty()) { TransitionToDone(); return; } // TODO(joi): Remove ScopedTracker below once crbug.com/476182 is fixed. tracked_objects::ScopedTracker tracking_profile3( FROM_HERE_WITH_EXPLICIT_FUNCTION( "476182 " "DhcpProxyScriptFetcherWin::OnGetCandidateAdapterNamesDone 3")); for (std::set<std::string>::const_iterator it = adapter_names.begin(); it != adapter_names.end(); ++it) { std::unique_ptr<DhcpProxyScriptAdapterFetcher> fetcher( ImplCreateAdapterFetcher()); fetcher->Fetch( *it, base::Bind(&DhcpProxyScriptFetcherWin::OnFetcherDone, base::Unretained(this))); fetchers_.push_back(std::move(fetcher)); } num_pending_fetchers_ = fetchers_.size(); } std::string DhcpProxyScriptFetcherWin::GetFetcherName() const { DCHECK(CalledOnValidThread()); return "win"; } const GURL& DhcpProxyScriptFetcherWin::GetPacURL() const { DCHECK(CalledOnValidThread()); DCHECK_EQ(state_, STATE_DONE); return pac_url_; } void DhcpProxyScriptFetcherWin::OnFetcherDone(int result) { DCHECK(state_ == STATE_NO_RESULTS || state_ == STATE_SOME_RESULTS); if (--num_pending_fetchers_ == 0) { TransitionToDone(); return; } // If the only pending adapters are those less preferred than one // with a valid PAC script, we do not need to wait any longer. for (FetcherVector::iterator it = fetchers_.begin(); it != fetchers_.end(); ++it) { bool did_finish = (*it)->DidFinish(); int result = (*it)->GetResult(); if (did_finish && result == OK) { TransitionToDone(); return; } if (!did_finish || result != ERR_PAC_NOT_IN_DHCP) { break; } } // Once we have a single result, we set a maximum on how long to wait // for the rest of the results. if (state_ == STATE_NO_RESULTS) { state_ = STATE_SOME_RESULTS; wait_timer_.Start(FROM_HERE, ImplGetMaxWait(), this, &DhcpProxyScriptFetcherWin::OnWaitTimer); } } void DhcpProxyScriptFetcherWin::OnWaitTimer() { DCHECK_EQ(state_, STATE_SOME_RESULTS); TransitionToDone(); } void DhcpProxyScriptFetcherWin::TransitionToDone() { DCHECK(state_ == STATE_NO_RESULTS || state_ == STATE_SOME_RESULTS); int result = ERR_PAC_NOT_IN_DHCP; // Default if no fetchers. if (!fetchers_.empty()) { // Scan twice for the result; once through the whole list for success, // then if no success, return result for most preferred network adapter, // preferring "real" network errors to the ERR_PAC_NOT_IN_DHCP error. // Default to ERR_ABORTED if no fetcher completed. result = ERR_ABORTED; for (FetcherVector::iterator it = fetchers_.begin(); it != fetchers_.end(); ++it) { if ((*it)->DidFinish() && (*it)->GetResult() == OK) { result = OK; *destination_string_ = (*it)->GetPacScript(); pac_url_ = (*it)->GetPacURL(); break; } } if (result != OK) { destination_string_->clear(); for (FetcherVector::iterator it = fetchers_.begin(); it != fetchers_.end(); ++it) { if ((*it)->DidFinish()) { result = (*it)->GetResult(); if (result != ERR_PAC_NOT_IN_DHCP) { break; } } } } } CompletionCallback callback = callback_; CancelImpl(); DCHECK_EQ(state_, STATE_DONE); DCHECK(fetchers_.empty()); DCHECK(callback_.is_null()); // Invariant of data. // We may be deleted re-entrantly within this outcall. callback.Run(result); } int DhcpProxyScriptFetcherWin::num_pending_fetchers() const { return num_pending_fetchers_; } URLRequestContext* DhcpProxyScriptFetcherWin::url_request_context() const { return url_request_context_; } scoped_refptr<base::TaskRunner> DhcpProxyScriptFetcherWin::GetTaskRunner() { return worker_pool_->GetTaskRunnerWithShutdownBehavior( base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN); } DhcpProxyScriptAdapterFetcher* DhcpProxyScriptFetcherWin::ImplCreateAdapterFetcher() { return new DhcpProxyScriptAdapterFetcher(url_request_context_, GetTaskRunner()); } DhcpProxyScriptFetcherWin::AdapterQuery* DhcpProxyScriptFetcherWin::ImplCreateAdapterQuery() { return new AdapterQuery(); } base::TimeDelta DhcpProxyScriptFetcherWin::ImplGetMaxWait() { return base::TimeDelta::FromMilliseconds(kMaxWaitAfterFirstResultMs); } bool DhcpProxyScriptFetcherWin::GetCandidateAdapterNames( std::set<std::string>* adapter_names) { DCHECK(adapter_names); adapter_names->clear(); // The GetAdaptersAddresses MSDN page recommends using a size of 15000 to // avoid reallocation. ULONG adapters_size = 15000; std::unique_ptr<IP_ADAPTER_ADDRESSES, base::FreeDeleter> adapters; ULONG error = ERROR_SUCCESS; int num_tries = 0; do { adapters.reset(static_cast<IP_ADAPTER_ADDRESSES*>(malloc(adapters_size))); // Return only unicast addresses, and skip information we do not need. error = GetAdaptersAddresses(AF_UNSPEC, GAA_FLAG_SKIP_ANYCAST | GAA_FLAG_SKIP_MULTICAST | GAA_FLAG_SKIP_DNS_SERVER | GAA_FLAG_SKIP_FRIENDLY_NAME, NULL, adapters.get(), &adapters_size); ++num_tries; } while (error == ERROR_BUFFER_OVERFLOW && num_tries <= 3); if (error == ERROR_NO_DATA) { // There are no adapters that we care about. return true; } if (error != ERROR_SUCCESS) { LOG(WARNING) << "Unexpected error retrieving WPAD configuration from DHCP."; return false; } IP_ADAPTER_ADDRESSES* adapter = NULL; for (adapter = adapters.get(); adapter; adapter = adapter->Next) { if (adapter->IfType == IF_TYPE_SOFTWARE_LOOPBACK) continue; if ((adapter->Flags & IP_ADAPTER_DHCP_ENABLED) == 0) continue; DCHECK(adapter->AdapterName); adapter_names->insert(adapter->AdapterName); } return true; } DhcpProxyScriptFetcherWin::AdapterQuery::AdapterQuery() { } void DhcpProxyScriptFetcherWin::AdapterQuery::GetCandidateAdapterNames() { ImplGetCandidateAdapterNames(&adapter_names_); } const std::set<std::string>& DhcpProxyScriptFetcherWin::AdapterQuery::adapter_names() const { return adapter_names_; } bool DhcpProxyScriptFetcherWin::AdapterQuery::ImplGetCandidateAdapterNames( std::set<std::string>* adapter_names) { return DhcpProxyScriptFetcherWin::GetCandidateAdapterNames(adapter_names); } DhcpProxyScriptFetcherWin::AdapterQuery::~AdapterQuery() { } } // namespace net
{ "pile_set_name": "Github" }
<Type Name="IRepresentedMemberInfo" FullName="Xamarin.Interactive.Representations.Reflection.IRepresentedMemberInfo"> <TypeSignature Language="C#" Value="public interface IRepresentedMemberInfo" /> <TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IRepresentedMemberInfo" /> <AssemblyInfo> <AssemblyName>Xamarin.Interactive</AssemblyName> <AssemblyVersion>1.0.0.0</AssemblyVersion> </AssemblyInfo> <Interfaces /> <Docs> <summary>To be added.</summary> <remarks>To be added.</remarks> </Docs> <Members> <Member MemberName="CanWrite"> <MemberSignature Language="C#" Value="public bool CanWrite { get; }" /> <MemberSignature Language="ILAsm" Value=".property instance bool CanWrite" /> <MemberType>Property</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>System.Boolean</ReturnType> </ReturnValue> <Docs> <summary>To be added.</summary> <value>To be added.</value> <remarks>To be added.</remarks> </Docs> </Member> <Member MemberName="DeclaringType"> <MemberSignature Language="C#" Value="public Xamarin.Interactive.Representations.Reflection.IRepresentedType DeclaringType { get; }" /> <MemberSignature Language="ILAsm" Value=".property instance class Xamarin.Interactive.Representations.Reflection.IRepresentedType DeclaringType" /> <MemberType>Property</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>Xamarin.Interactive.Representations.Reflection.IRepresentedType</ReturnType> </ReturnValue> <Docs> <summary>To be added.</summary> <value>To be added.</value> <remarks>To be added.</remarks> </Docs> </Member> <Member MemberName="MemberKind"> <MemberSignature Language="C#" Value="public Xamarin.Interactive.Representations.Reflection.RepresentedMemberKind MemberKind { get; }" /> <MemberSignature Language="ILAsm" Value=".property instance valuetype Xamarin.Interactive.Representations.Reflection.RepresentedMemberKind MemberKind" /> <MemberType>Property</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>Xamarin.Interactive.Representations.Reflection.RepresentedMemberKind</ReturnType> </ReturnValue> <Docs> <summary>To be added.</summary> <value>To be added.</value> <remarks>To be added.</remarks> </Docs> </Member> <Member MemberName="MemberType"> <MemberSignature Language="C#" Value="public Xamarin.Interactive.Representations.Reflection.IRepresentedType MemberType { get; }" /> <MemberSignature Language="ILAsm" Value=".property instance class Xamarin.Interactive.Representations.Reflection.IRepresentedType MemberType" /> <MemberType>Property</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>Xamarin.Interactive.Representations.Reflection.IRepresentedType</ReturnType> </ReturnValue> <Docs> <summary>To be added.</summary> <value>To be added.</value> <remarks>To be added.</remarks> </Docs> </Member> <Member MemberName="Name"> <MemberSignature Language="C#" Value="public string Name { get; }" /> <MemberSignature Language="ILAsm" Value=".property instance string Name" /> <MemberType>Property</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Docs> <summary>To be added.</summary> <value>To be added.</value> <remarks>To be added.</remarks> </Docs> </Member> </Members> </Type>
{ "pile_set_name": "Github" }
config BR2_PACKAGE_PERL_MOJOLICIOUS bool "perl-mojolicious" help Real-time web framework http://mojolicious.org
{ "pile_set_name": "Github" }
########################################################################################## # VSTGUI UIDescription Library ########################################################################################## set(target vstgui_uidescription) set(${target}_sources base64codec.h compresseduidescription.cpp compresseduidescription.h cstream.cpp cstream.h delegationcontroller.h doc.h icontentprovider.h icontroller.h iuidescription.h iviewcreator.h iviewfactory.h uiattributes.cpp uiattributes.h uicontentprovider.cpp uicontentprovider.h uidescription.cpp uidescription.h uidescriptionlistener.h uidescriptionfwd.h uiviewcreator.cpp uiviewcreator.h uiviewfactory.cpp uiviewfactory.h uiviewswitchcontainer.cpp uiviewswitchcontainer.h xmlparser.cpp xmlparser.h detail/locale.h detail/parsecolor.h detail/scalefactorutils.h detail/uidesclist.cpp detail/uidesclist.h detail/uijsonpersistence.cpp detail/uijsonpersistence.h detail/uinode.cpp detail/uinode.h detail/uiviewcreatorattributes.h detail/uixmlpersistence.cpp detail/uixmlpersistence.h editing/doc.h editing/iaction.h editing/igridprocessor.h editing/uiactions.cpp editing/uiactions.h editing/uiattributescontroller.cpp editing/uiattributescontroller.h editing/uibasedatasource.h editing/uibitmapscontroller.cpp editing/uibitmapscontroller.h editing/uicolor.cpp editing/uicolor.h editing/uicolorchoosercontroller.cpp editing/uicolorchoosercontroller.h editing/uicolorscontroller.cpp editing/uicolorscontroller.h editing/uicolorslider.cpp editing/uicolorslider.h editing/uicrosslines.cpp editing/uicrosslines.h editing/uidescriptioneditor.uidesc editing/uidialogcontroller.cpp editing/uidialogcontroller.h editing/uieditcontroller.cpp editing/uieditcontroller.h editing/uieditmenucontroller.cpp editing/uieditmenucontroller.h editing/uieditview.cpp editing/uieditview.h editing/uifocussettingscontroller.cpp editing/uifocussettingscontroller.h editing/uifontscontroller.cpp editing/uifontscontroller.h editing/uigradientscontroller.cpp editing/uigradientscontroller.h editing/uigrid.h editing/uigridcontroller.cpp editing/uigridcontroller.h editing/uioverlayview.cpp editing/uioverlayview.h editing/uiselection.cpp editing/uiselection.h editing/uitagscontroller.cpp editing/uitagscontroller.h editing/uitemplatecontroller.cpp editing/uitemplatecontroller.h editing/uitemplatesettingscontroller.cpp editing/uitemplatesettingscontroller.h editing/uiundomanager.cpp editing/uiundomanager.h editing/uiviewcreatecontroller.cpp editing/uiviewcreatecontroller.h viewcreator/animationsplashscreencreator.cpp viewcreator/animationsplashscreencreator.h viewcreator/animknobcreator.cpp viewcreator/animknobcreator.h viewcreator/checkboxcreator.cpp viewcreator/checkboxcreator.h viewcreator/controlcreator.cpp viewcreator/controlcreator.h viewcreator/gradientviewcreator.cpp viewcreator/gradientviewcreator.h viewcreator/kickbuttoncreator.cpp viewcreator/kickbuttoncreator.h viewcreator/knobcreator.cpp viewcreator/knobcreator.h viewcreator/layeredviewcontainercreator.cpp viewcreator/layeredviewcontainercreator.h viewcreator/moviebitmapcreator.cpp viewcreator/moviebitmapcreator.h viewcreator/moviebuttoncreator.cpp viewcreator/moviebuttoncreator.h viewcreator/multibitmapcontrolcreator.cpp viewcreator/multibitmapcontrolcreator.h viewcreator/multilinetextlabelcreator.cpp viewcreator/multilinetextlabelcreator.h viewcreator/onoffbuttoncreator.cpp viewcreator/onoffbuttoncreator.h viewcreator/optionmenucreator.cpp viewcreator/optionmenucreator.h viewcreator/paramdisplaycreator.cpp viewcreator/paramdisplaycreator.h viewcreator/rockerswitchcreator.cpp viewcreator/rockerswitchcreator.h viewcreator/rowcolumnviewcreator.cpp viewcreator/rowcolumnviewcreator.h viewcreator/scrollviewcreator.cpp viewcreator/scrollviewcreator.h viewcreator/searchtexteditcreator.cpp viewcreator/searchtexteditcreator.h viewcreator/segmentbuttoncreator.cpp viewcreator/segmentbuttoncreator.h viewcreator/shadowviewcontainercreator.cpp viewcreator/shadowviewcontainercreator.h viewcreator/sliderviewcreator.cpp viewcreator/sliderviewcreator.h viewcreator/splitviewcreator.cpp viewcreator/splitviewcreator.h viewcreator/stringlistcontrolcreator.cpp viewcreator/stringlistcontrolcreator.h viewcreator/switchcreators.cpp viewcreator/switchcreators.h viewcreator/textbuttoncreator.cpp viewcreator/textbuttoncreator.h viewcreator/texteditcreator.cpp viewcreator/texteditcreator.h viewcreator/textlabelcreator.cpp viewcreator/textlabelcreator.h viewcreator/uiviewswitchcontainercreator.cpp viewcreator/uiviewswitchcontainercreator.h viewcreator/viewcontainercreator.cpp viewcreator/viewcontainercreator.h viewcreator/viewcreator.cpp viewcreator/viewcreator.h viewcreator/vumetercreator.cpp viewcreator/vumetercreator.h viewcreator/xypadcreator.cpp viewcreator/xypadcreator.h ) ########################################################################################## if(CMAKE_HOST_APPLE) endif() ########################################################################################## if(MSVC) endif() ########################################################################################## add_library(${target} STATIC ${${target}_sources}) add_dependencies(${target} vstgui) target_link_libraries(${target} PRIVATE vstgui) target_compile_definitions(${target} ${VSTGUI_COMPILE_DEFINITIONS}) vstgui_set_cxx_version(${target} 14) vstgui_source_group_by_folder(${target}) ########################################################################################## if(LINUX) set (VSTGUI_GENERATED_DIR ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.generated) execute_process( COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/editing/createuidescdata.sh ${VSTGUI_GENERATED_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/editing/ RESULT_VARIABLE result ) if(result EQUAL 0) target_compile_definitions(${target} ${VSTGUI_COMPILE_DEFINITIONS} "HAVE_EDITORUIDESC_H") else() message(FATAL_ERROR "Generating editoruidesc.h failed: ${result}") endif() target_include_directories(${target} PRIVATE ${VSTGUI_GENERATED_DIR} ) endif() ########################################################################################## find_package(EXPAT) if(EXPAT_FOUND) target_compile_definitions(${target} ${VSTGUI_COMPILE_DEFINITIONS} "VSTGUI_USE_SYSTEM_EXPAT") target_link_libraries(${target} PRIVATE expat) else() message(STATUS "VSTGUI will use the embedded Expat package!") endif()
{ "pile_set_name": "Github" }
# From https://lists.x.org/archives/xorg-announce/2018-March/002855.html md5 987c438e79f5ddb84a9c5726a1610819 mkfontscale-1.1.3.tar.bz2 sha1 2fdbd7c6cc5b0678f2c5d10d2350a809d576e9e5 mkfontscale-1.1.3.tar.bz2 sha256 1e98df69ee5f4542d711e140e1d93e2c3f2775407ccbb7849110d52b91782a6a mkfontscale-1.1.3.tar.bz2 sha512 509e2f9cd55cf87cc3968c8767bf3f2386016278db8b7be75b7df34bf61f52519dd2778f3b9881ffbe30cc2fe26089c0a5b2c33af46bc7727f46dad83f030a62 mkfontscale-1.1.3.tar.bz2 # Locally computed sha256 90f0a1bfee2ed42c63473ded631c0463bf38b3d193733ccfc35394c713a0701d COPYING
{ "pile_set_name": "Github" }
<?xml version="1.0"?> <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> </pickle> <pickle> <dictionary> <item> <key> <string>delegated_list</string> </key> <value> <list> <string>title</string> <string>enabled</string> </list> </value> </item> <item> <key> <string>id</string> </key> <value> <string>my_password</string> </value> </item> <item> <key> <string>message_values</string> </key> <value> <dictionary> <item> <key> <string>external_validator_failed</string> </key> <value> <string>Password and confirmation doesn\'t match.</string> </value> </item> </dictionary> </value> </item> <item> <key> <string>overrides</string> </key> <value> <dictionary> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> </item> <item> <key> <string>form_id</string> </key> <value> <string></string> </value> </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> </dictionary> </value> </item> <item> <key> <string>tales</string> </key> <value> <dictionary> <item> <key> <string>enabled</string> </key> <value> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> </item> <item> <key> <string>form_id</string> </key> <value> <string></string> </value> </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> </dictionary> </value> </item> <item> <key> <string>values</string> </key> <value> <dictionary> <item> <key> <string>description</string> </key> <value> <string>The password of the user.\n \n Leaving this password empty will not modify existing password.</string> </value> </item> <item> <key> <string>enabled</string> </key> <value> <int>1</int> </value> </item> <item> <key> <string>field_id</string> </key> <value> <string>my_password</string> </value> </item> <item> <key> <string>form_id</string> </key> <value> <string>Person_viewFieldLibrary</string> </value> </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> </item> <item> <key> <string>title</string> </key> <value> <string>User Password</string> </value> </item> </dictionary> </value> </item> </dictionary> </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> <tuple> <string>Products.Formulator.TALESField</string> <string>TALESMethod</string> </tuple> <none/> </tuple> </pickle> <pickle> <dictionary> <item> <key> <string>_text</string> </key> <value> <string>python: request.AUTHENTICATED_USER.has_permission(\'Set own password\', here)</string> </value> </item> </dictionary> </pickle> </record> </ZopeData>
{ "pile_set_name": "Github" }
package de.jensklingenberg.mpapt.common import de.jensklingenberg.mpapt.model.FunctionParameter import de.jensklingenberg.mpapt.model.Package import org.jetbrains.kotlin.com.intellij.psi.PsiElement import org.jetbrains.kotlin.descriptors.FunctionDescriptor import org.jetbrains.kotlin.descriptors.SourceElement import org.jetbrains.kotlin.js.resolve.diagnostics.findPsi import org.jetbrains.kotlin.psi.KtBlockExpression import org.jetbrains.kotlin.psi.KtProperty import org.jetbrains.kotlin.resolve.source.KotlinSourceElement import org.jetbrains.kotlin.resolve.source.getPsi /** * TODO: i dont know how to get the packageName of a function parameter */ fun FunctionDescriptor.getFunctionParameters(): List<FunctionParameter> { return if (valueParameters.isNotEmpty()) { this.valueParameters.map { parameter -> // normal: //value-parameter id: kotlin.Int defined in de.jensklingenberg.mpapt.CommonAnnotated.firstFunction2[ValueParameterDescriptorImpl@725a91a6] // Typedefs: //value-parameter id: de.jensklingenberg.mpapt.Datum /* = kotlin.ranges.CharProgression */ defined in de.jensklingenberg.mpapt.CommonAnnotated.firstFunction2[ValueParameterDescriptorImpl@692444bb] val fullPackage = parameter.toString().substringAfter(": ") .substringBefore(" defined") .substringBefore(" /* =") FunctionParameter( parameter.name.asString(), parameter.type.toString().endsWith("?"), Package( fullPackage.split(".").last().replace("?", ""), fullPackage.split(".").dropLast(1).joinToString(".") ) ) }.toList() } else { emptyList() } } /** * I dont know how to get full package of the return type */ fun FunctionDescriptor.getReturnTypeImport(): String = this.toString().substringAfter("): ").substringBefore(" defined") fun FunctionDescriptor.simpleName(): String = this.name.asString() /** * getPsi() on Kotlin Native was always crashing */ fun SourceElement.safeAsPsi(): PsiElement? { if (this is KotlinSourceElement) { return this.psi } else { this.getPsi() } return null } private fun FunctionDescriptor.ktproperties(): List<KtProperty> { return this.findPsi()?.children?.filterIsInstance<KtBlockExpression>()?.flatMap { it.statements.filterIsInstance<KtProperty>() } ?: emptyList() }
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Materia.Shaders; using Materia.Textures; using Materia.Math3D; using Materia.GLInterfaces; namespace Materia.Imaging.GLProcessing { public class TransformProcessor : ImageProcessor { public Matrix3 Rotation { get; set; } public Matrix3 Scale { get; set; } public Vector3 Translation { get; set; } IGLProgram shader; public TransformProcessor() : base() { Stretch = false; shader = GetShader("image.glsl", "transform.glsl"); } public override void Process(int width, int height, GLTextuer2D tex, GLTextuer2D output) { base.Process(width, height, tex, output); if (shader != null) { ResizeViewTo(tex, output, tex.Width, tex.Height, width, height); tex = output; IGL.Primary.Clear((int)(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit)); Matrix3 rot = Rotation; Matrix3 sc = Scale; Vector3 tr = Translation; Vector2 tiling = new Vector2(TileX, TileY); shader.Use(); shader.SetUniform2("tiling", ref tiling); shader.SetUniform("MainTex", 0); IGL.Primary.ActiveTexture((int)TextureUnit.Texture0); tex.Bind(); shader.SetUniformMatrix3("rotation", ref rot); shader.SetUniformMatrix3("scale", ref sc); shader.SetUniform3("translation", ref tr); if (renderQuad != null) { renderQuad.Draw(); } GLTextuer2D.Unbind(); //output.Bind(); //output.CopyFromFrameBuffer(width, height); //GLTextuer2D.Unbind(); Blit(output, width, height); } } } }
{ "pile_set_name": "Github" }
// // P3DMutableLoopIndexArray.m // P3DCore // // Created by Eberhard Rensch on 07.01.10. // Copyright 2010 Pleasant Software. All rights reserved. // // // 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; either version 3 of the License, or (at your option) any later // version. // // This program is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A // PARTICULAR PURPOSE. See the GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along with // this program; if not, see <http://www.gnu.org/licenses>. // // Additional permission under GNU GPL version 3 section 7 // // If you modify this Program, or any covered work, by linking or combining it // with the P3DCore.framework (or a modified version of that framework), // containing parts covered by the terms of Pleasant Software's software license, // the licensors of this Program grant you additional permission to convey the // resulting work. // #import "P3DMutableLoopIndexArray.h" @implementation P3DMutableLoopIndexArray @synthesize metaData; - (id) init { self = [super init]; if (self != nil) { metaData = [[NSMutableDictionary alloc] init]; } return self; } - (id)initWithChunkSize:(NSInteger)chunkSize { self = [super initWithChunkSize:chunkSize]; if (self != nil) { metaData = [[NSMutableDictionary alloc] init]; } return self; } - (id)initWithCoder:(NSCoder*)decoder { self = [super initWithCoder:decoder]; if (self != nil) { metaData = [decoder decodeObjectForKey:@"metaData"]; } return self; } - (void)encodeWithCoder:(NSCoder*)encoder { [super encodeWithCoder:encoder]; [encoder encodeObject:metaData forKey:@"metaData"]; } @end
{ "pile_set_name": "Github" }
<!-- Note: The elements in this UI can be broken apart and spread around your page, as long as you keep the IDs intact. Elements can also be dropped without Dojo Offline's default UI breaking. --> <div id="dot-widget-container" style="visibility: hidden;"> <div id="dot-widget-title-bar"> <span id="dot-widget-network-indicator"> <img id="dot-widget-network-indicator-online" /> <img id="dot-widget-network-indicator-offline" /> </span> <span id="dot-widget-title-text"></span> </div> <div id="dot-widget-contents"> <div id="dot-widget-browser-restart"> Please restart your browser to use <span id="dot-widget-browser-restart-app-name"></span> Offline </div> <div id="dot-sync-status"> <img id="dot-roller" /> <img id="dot-success-checkmark" /> <span id="dot-sync-messages"></span> <span id="dot-sync-details"> (<a id="dot-sync-details-button" href="#">details</a>) </span> <span id="dot-sync-cancel"> (<a id="dot-sync-cancel-button" href="#">cancel</a>) </span> </div> <div id="dot-widget-learn-how"> <a id="dot-widget-learn-how-link" target="_blank" href="#">Learn How</a> to use <span id="dot-widget-learn-how-app-name"></span>&nbsp;Offline! </div> </div> </div>
{ "pile_set_name": "Github" }
commandlinefu_id: 13705 translator: weibo: '' hide: true command: |- find . -name "*.pdf" -print0 | xargs -r0 stat -c %y\ %n | sort|awk '{print $4}'|gawk 'BEGIN{ a=1 }{ printf "mv %s %04d.pdf\n", $0, a++ }' | bash summary: |- rename files (in this case pdfs) numerically in date order
{ "pile_set_name": "Github" }
/* Copyright 2015, Kenneth MacKay. Licensed under the BSD 2-clause license. */ #ifndef _UECC_VLI_H_ #define _UECC_VLI_H_ #include "uECC.h" #include "types.h" /* Functions for raw large-integer manipulation. These are only available if uECC.c is compiled with uECC_ENABLE_VLI_API defined to 1. */ #ifndef uECC_ENABLE_VLI_API #define uECC_ENABLE_VLI_API 0 #endif #ifdef __cplusplus extern "C" { #endif #if uECC_ENABLE_VLI_API void uECC_vli_clear(uECC_word_t *vli, wordcount_t num_words); /* Constant-time comparison to zero - secure way to compare long integers */ /* Returns 1 if vli == 0, 0 otherwise. */ uECC_word_t uECC_vli_isZero(const uECC_word_t *vli, wordcount_t num_words); /* Returns nonzero if bit 'bit' of vli is set. */ uECC_word_t uECC_vli_testBit(const uECC_word_t *vli, bitcount_t bit); /* Counts the number of bits required to represent vli. */ bitcount_t uECC_vli_numBits(const uECC_word_t *vli, const wordcount_t max_words); /* Sets dest = src. */ void uECC_vli_set(uECC_word_t *dest, const uECC_word_t *src, wordcount_t num_words); /* Constant-time comparison function - secure way to compare long integers */ /* Returns one if left == right, zero otherwise */ uECC_word_t uECC_vli_equal(const uECC_word_t *left, const uECC_word_t *right, wordcount_t num_words); /* Constant-time comparison function - secure way to compare long integers */ /* Returns sign of left - right, in constant time. */ cmpresult_t uECC_vli_cmp(const uECC_word_t *left, const uECC_word_t *right, wordcount_t num_words); /* Computes vli = vli >> 1. */ void uECC_vli_rshift1(uECC_word_t *vli, wordcount_t num_words); /* Computes result = left + right, returning carry. Can modify in place. */ uECC_word_t uECC_vli_add(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, wordcount_t num_words); /* Computes result = left - right, returning borrow. Can modify in place. */ uECC_word_t uECC_vli_sub(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, wordcount_t num_words); /* Computes result = left * right. Result must be 2 * num_words long. */ void uECC_vli_mult(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, wordcount_t num_words); /* Computes result = left^2. Result must be 2 * num_words long. */ void uECC_vli_square(uECC_word_t *result, const uECC_word_t *left, wordcount_t num_words); /* Computes result = (left + right) % mod. Assumes that left < mod and right < mod, and that result does not overlap mod. */ void uECC_vli_modAdd(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, const uECC_word_t *mod, wordcount_t num_words); /* Computes result = (left - right) % mod. Assumes that left < mod and right < mod, and that result does not overlap mod. */ void uECC_vli_modSub(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, const uECC_word_t *mod, wordcount_t num_words); /* Computes result = product % mod, where product is 2N words long. Currently only designed to work for mod == curve->p or curve_n. */ void uECC_vli_mmod(uECC_word_t *result, uECC_word_t *product, const uECC_word_t *mod, wordcount_t num_words); /* Calculates result = product (mod curve->p), where product is up to 2 * curve->num_words long. */ void uECC_vli_mmod_fast(uECC_word_t *result, uECC_word_t *product, uECC_Curve curve); /* Computes result = (left * right) % mod. Currently only designed to work for mod == curve->p or curve_n. */ void uECC_vli_modMult(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, const uECC_word_t *mod, wordcount_t num_words); /* Computes result = (left * right) % curve->p. */ void uECC_vli_modMult_fast(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *right, uECC_Curve curve); /* Computes result = left^2 % mod. Currently only designed to work for mod == curve->p or curve_n. */ void uECC_vli_modSquare(uECC_word_t *result, const uECC_word_t *left, const uECC_word_t *mod, wordcount_t num_words); /* Computes result = left^2 % curve->p. */ void uECC_vli_modSquare_fast(uECC_word_t *result, const uECC_word_t *left, uECC_Curve curve); /* Computes result = (1 / input) % mod.*/ void uECC_vli_modInv(uECC_word_t *result, const uECC_word_t *input, const uECC_word_t *mod, wordcount_t num_words); #if uECC_SUPPORT_COMPRESSED_POINT /* Calculates a = sqrt(a) (mod curve->p) */ void uECC_vli_mod_sqrt(uECC_word_t *a, uECC_Curve curve); #endif /* Converts an integer in uECC native format to big-endian bytes. */ void uECC_vli_nativeToBytes(uint8_t *bytes, int num_bytes, const uECC_word_t *native); /* Converts big-endian bytes to an integer in uECC native format. */ void uECC_vli_bytesToNative(uECC_word_t *native, const uint8_t *bytes, int num_bytes); unsigned uECC_curve_num_words(uECC_Curve curve); unsigned uECC_curve_num_bytes(uECC_Curve curve); unsigned uECC_curve_num_bits(uECC_Curve curve); unsigned uECC_curve_num_n_words(uECC_Curve curve); unsigned uECC_curve_num_n_bytes(uECC_Curve curve); unsigned uECC_curve_num_n_bits(uECC_Curve curve); const uECC_word_t *uECC_curve_p(uECC_Curve curve); const uECC_word_t *uECC_curve_n(uECC_Curve curve); const uECC_word_t *uECC_curve_G(uECC_Curve curve); const uECC_word_t *uECC_curve_b(uECC_Curve curve); int uECC_valid_point(const uECC_word_t *point, uECC_Curve curve); /* Multiplies a point by a scalar. Points are represented by the X coordinate followed by the Y coordinate in the same array, both coordinates are curve->num_words long. Note that scalar must be curve->num_n_words long (NOT curve->num_words). */ void uECC_point_mult(uECC_word_t *result, const uECC_word_t *point, const uECC_word_t *scalar, uECC_Curve curve); /* Generates a random integer in the range 0 < random < top. Both random and top have num_words words. */ int uECC_generate_random_int(uECC_word_t *random, const uECC_word_t *top, wordcount_t num_words); #endif /* uECC_ENABLE_VLI_API */ #ifdef __cplusplus } /* end of extern "C" */ #endif #endif /* _UECC_VLI_H_ */
{ "pile_set_name": "Github" }
/* * Copyright(c) 2007 Atheros Corporation. All rights reserved. * * Derived from Intel e1000 driver * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. * * 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; either version 2 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU 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 <linux/netdevice.h> #include <linux/ethtool.h> #include <linux/slab.h> #include "atl1e.h" static int atl1e_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) { struct atl1e_adapter *adapter = netdev_priv(netdev); struct atl1e_hw *hw = &adapter->hw; ecmd->supported = (SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full | SUPPORTED_100baseT_Half | SUPPORTED_100baseT_Full | SUPPORTED_Autoneg | SUPPORTED_TP); if (hw->nic_type == athr_l1e) ecmd->supported |= SUPPORTED_1000baseT_Full; ecmd->advertising = ADVERTISED_TP; ecmd->advertising |= ADVERTISED_Autoneg; ecmd->advertising |= hw->autoneg_advertised; ecmd->port = PORT_TP; ecmd->phy_address = 0; ecmd->transceiver = XCVR_INTERNAL; if (adapter->link_speed != SPEED_0) { ethtool_cmd_speed_set(ecmd, adapter->link_speed); if (adapter->link_duplex == FULL_DUPLEX) ecmd->duplex = DUPLEX_FULL; else ecmd->duplex = DUPLEX_HALF; } else { ethtool_cmd_speed_set(ecmd, -1); ecmd->duplex = -1; } ecmd->autoneg = AUTONEG_ENABLE; return 0; } static int atl1e_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) { struct atl1e_adapter *adapter = netdev_priv(netdev); struct atl1e_hw *hw = &adapter->hw; while (test_and_set_bit(__AT_RESETTING, &adapter->flags)) msleep(1); if (ecmd->autoneg == AUTONEG_ENABLE) { u16 adv4, adv9; if ((ecmd->advertising&ADVERTISE_1000_FULL)) { if (hw->nic_type == athr_l1e) { hw->autoneg_advertised = ecmd->advertising & AT_ADV_MASK; } else { clear_bit(__AT_RESETTING, &adapter->flags); return -EINVAL; } } else if (ecmd->advertising&ADVERTISE_1000_HALF) { clear_bit(__AT_RESETTING, &adapter->flags); return -EINVAL; } else { hw->autoneg_advertised = ecmd->advertising & AT_ADV_MASK; } ecmd->advertising = hw->autoneg_advertised | ADVERTISED_TP | ADVERTISED_Autoneg; adv4 = hw->mii_autoneg_adv_reg & ~ADVERTISE_ALL; adv9 = hw->mii_1000t_ctrl_reg & ~MII_AT001_CR_1000T_SPEED_MASK; if (hw->autoneg_advertised & ADVERTISE_10_HALF) adv4 |= ADVERTISE_10HALF; if (hw->autoneg_advertised & ADVERTISE_10_FULL) adv4 |= ADVERTISE_10FULL; if (hw->autoneg_advertised & ADVERTISE_100_HALF) adv4 |= ADVERTISE_100HALF; if (hw->autoneg_advertised & ADVERTISE_100_FULL) adv4 |= ADVERTISE_100FULL; if (hw->autoneg_advertised & ADVERTISE_1000_FULL) adv9 |= ADVERTISE_1000FULL; if (adv4 != hw->mii_autoneg_adv_reg || adv9 != hw->mii_1000t_ctrl_reg) { hw->mii_autoneg_adv_reg = adv4; hw->mii_1000t_ctrl_reg = adv9; hw->re_autoneg = true; } } else { clear_bit(__AT_RESETTING, &adapter->flags); return -EINVAL; } /* reset the link */ if (netif_running(adapter->netdev)) { atl1e_down(adapter); atl1e_up(adapter); } else atl1e_reset_hw(&adapter->hw); clear_bit(__AT_RESETTING, &adapter->flags); return 0; } static u32 atl1e_get_msglevel(struct net_device *netdev) { #ifdef DBG return 1; #else return 0; #endif } static int atl1e_get_regs_len(struct net_device *netdev) { return AT_REGS_LEN * sizeof(u32); } static void atl1e_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) { struct atl1e_adapter *adapter = netdev_priv(netdev); struct atl1e_hw *hw = &adapter->hw; u32 *regs_buff = p; u16 phy_data; memset(p, 0, AT_REGS_LEN * sizeof(u32)); regs->version = (1 << 24) | (hw->revision_id << 16) | hw->device_id; regs_buff[0] = AT_READ_REG(hw, REG_VPD_CAP); regs_buff[1] = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); regs_buff[2] = AT_READ_REG(hw, REG_SPI_FLASH_CONFIG); regs_buff[3] = AT_READ_REG(hw, REG_TWSI_CTRL); regs_buff[4] = AT_READ_REG(hw, REG_PCIE_DEV_MISC_CTRL); regs_buff[5] = AT_READ_REG(hw, REG_MASTER_CTRL); regs_buff[6] = AT_READ_REG(hw, REG_MANUAL_TIMER_INIT); regs_buff[7] = AT_READ_REG(hw, REG_IRQ_MODU_TIMER_INIT); regs_buff[8] = AT_READ_REG(hw, REG_GPHY_CTRL); regs_buff[9] = AT_READ_REG(hw, REG_CMBDISDMA_TIMER); regs_buff[10] = AT_READ_REG(hw, REG_IDLE_STATUS); regs_buff[11] = AT_READ_REG(hw, REG_MDIO_CTRL); regs_buff[12] = AT_READ_REG(hw, REG_SERDES_LOCK); regs_buff[13] = AT_READ_REG(hw, REG_MAC_CTRL); regs_buff[14] = AT_READ_REG(hw, REG_MAC_IPG_IFG); regs_buff[15] = AT_READ_REG(hw, REG_MAC_STA_ADDR); regs_buff[16] = AT_READ_REG(hw, REG_MAC_STA_ADDR+4); regs_buff[17] = AT_READ_REG(hw, REG_RX_HASH_TABLE); regs_buff[18] = AT_READ_REG(hw, REG_RX_HASH_TABLE+4); regs_buff[19] = AT_READ_REG(hw, REG_MAC_HALF_DUPLX_CTRL); regs_buff[20] = AT_READ_REG(hw, REG_MTU); regs_buff[21] = AT_READ_REG(hw, REG_WOL_CTRL); regs_buff[22] = AT_READ_REG(hw, REG_SRAM_TRD_ADDR); regs_buff[23] = AT_READ_REG(hw, REG_SRAM_TRD_LEN); regs_buff[24] = AT_READ_REG(hw, REG_SRAM_RXF_ADDR); regs_buff[25] = AT_READ_REG(hw, REG_SRAM_RXF_LEN); regs_buff[26] = AT_READ_REG(hw, REG_SRAM_TXF_ADDR); regs_buff[27] = AT_READ_REG(hw, REG_SRAM_TXF_LEN); regs_buff[28] = AT_READ_REG(hw, REG_SRAM_TCPH_ADDR); regs_buff[29] = AT_READ_REG(hw, REG_SRAM_PKTH_ADDR); atl1e_read_phy_reg(hw, MII_BMCR, &phy_data); regs_buff[73] = (u32)phy_data; atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); regs_buff[74] = (u32)phy_data; } static int atl1e_get_eeprom_len(struct net_device *netdev) { struct atl1e_adapter *adapter = netdev_priv(netdev); if (!atl1e_check_eeprom_exist(&adapter->hw)) return AT_EEPROM_LEN; else return 0; } static int atl1e_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) { struct atl1e_adapter *adapter = netdev_priv(netdev); struct atl1e_hw *hw = &adapter->hw; u32 *eeprom_buff; int first_dword, last_dword; int ret_val = 0; int i; if (eeprom->len == 0) return -EINVAL; if (atl1e_check_eeprom_exist(hw)) /* not exist */ return -EINVAL; eeprom->magic = hw->vendor_id | (hw->device_id << 16); first_dword = eeprom->offset >> 2; last_dword = (eeprom->offset + eeprom->len - 1) >> 2; eeprom_buff = kmalloc(sizeof(u32) * (last_dword - first_dword + 1), GFP_KERNEL); if (eeprom_buff == NULL) return -ENOMEM; for (i = first_dword; i < last_dword; i++) { if (!atl1e_read_eeprom(hw, i * 4, &(eeprom_buff[i-first_dword]))) { kfree(eeprom_buff); return -EIO; } } memcpy(bytes, (u8 *)eeprom_buff + (eeprom->offset & 3), eeprom->len); kfree(eeprom_buff); return ret_val; } static int atl1e_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) { struct atl1e_adapter *adapter = netdev_priv(netdev); struct atl1e_hw *hw = &adapter->hw; u32 *eeprom_buff; u32 *ptr; int first_dword, last_dword; int ret_val = 0; int i; if (eeprom->len == 0) return -EOPNOTSUPP; if (eeprom->magic != (hw->vendor_id | (hw->device_id << 16))) return -EINVAL; first_dword = eeprom->offset >> 2; last_dword = (eeprom->offset + eeprom->len - 1) >> 2; eeprom_buff = kmalloc(AT_EEPROM_LEN, GFP_KERNEL); if (eeprom_buff == NULL) return -ENOMEM; ptr = (u32 *)eeprom_buff; if (eeprom->offset & 3) { /* need read/modify/write of first changed EEPROM word */ /* only the second byte of the word is being modified */ if (!atl1e_read_eeprom(hw, first_dword * 4, &(eeprom_buff[0]))) { ret_val = -EIO; goto out; } ptr++; } if (((eeprom->offset + eeprom->len) & 3)) { /* need read/modify/write of last changed EEPROM word */ /* only the first byte of the word is being modified */ if (!atl1e_read_eeprom(hw, last_dword * 4, &(eeprom_buff[last_dword - first_dword]))) { ret_val = -EIO; goto out; } } /* Device's eeprom is always little-endian, word addressable */ memcpy(ptr, bytes, eeprom->len); for (i = 0; i < last_dword - first_dword + 1; i++) { if (!atl1e_write_eeprom(hw, ((first_dword + i) * 4), eeprom_buff[i])) { ret_val = -EIO; goto out; } } out: kfree(eeprom_buff); return ret_val; } static void atl1e_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) { struct atl1e_adapter *adapter = netdev_priv(netdev); strlcpy(drvinfo->driver, atl1e_driver_name, sizeof(drvinfo->driver)); strlcpy(drvinfo->version, atl1e_driver_version, sizeof(drvinfo->version)); strlcpy(drvinfo->fw_version, "L1e", sizeof(drvinfo->fw_version)); strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), sizeof(drvinfo->bus_info)); drvinfo->n_stats = 0; drvinfo->testinfo_len = 0; drvinfo->regdump_len = atl1e_get_regs_len(netdev); drvinfo->eedump_len = atl1e_get_eeprom_len(netdev); } static void atl1e_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) { struct atl1e_adapter *adapter = netdev_priv(netdev); wol->supported = WAKE_MAGIC | WAKE_PHY; wol->wolopts = 0; if (adapter->wol & AT_WUFC_EX) wol->wolopts |= WAKE_UCAST; if (adapter->wol & AT_WUFC_MC) wol->wolopts |= WAKE_MCAST; if (adapter->wol & AT_WUFC_BC) wol->wolopts |= WAKE_BCAST; if (adapter->wol & AT_WUFC_MAG) wol->wolopts |= WAKE_MAGIC; if (adapter->wol & AT_WUFC_LNKC) wol->wolopts |= WAKE_PHY; } static int atl1e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) { struct atl1e_adapter *adapter = netdev_priv(netdev); if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | WAKE_UCAST | WAKE_MCAST | WAKE_BCAST)) return -EOPNOTSUPP; /* these settings will always override what we currently have */ adapter->wol = 0; if (wol->wolopts & WAKE_MAGIC) adapter->wol |= AT_WUFC_MAG; if (wol->wolopts & WAKE_PHY) adapter->wol |= AT_WUFC_LNKC; device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); return 0; } static int atl1e_nway_reset(struct net_device *netdev) { struct atl1e_adapter *adapter = netdev_priv(netdev); if (netif_running(netdev)) atl1e_reinit_locked(adapter); return 0; } static const struct ethtool_ops atl1e_ethtool_ops = { .get_settings = atl1e_get_settings, .set_settings = atl1e_set_settings, .get_drvinfo = atl1e_get_drvinfo, .get_regs_len = atl1e_get_regs_len, .get_regs = atl1e_get_regs, .get_wol = atl1e_get_wol, .set_wol = atl1e_set_wol, .get_msglevel = atl1e_get_msglevel, .nway_reset = atl1e_nway_reset, .get_link = ethtool_op_get_link, .get_eeprom_len = atl1e_get_eeprom_len, .get_eeprom = atl1e_get_eeprom, .set_eeprom = atl1e_set_eeprom, }; void atl1e_set_ethtool_ops(struct net_device *netdev) { SET_ETHTOOL_OPS(netdev, &atl1e_ethtool_ops); }
{ "pile_set_name": "Github" }
/** * CFBMode * * An ActionScript 3 implementation of the CFB confidentiality mode * Copyright (c) 2007 Henri Torgemane * * See LICENSE.txt for full license information. */ package com.hurlant.crypto.symmetric { import flash.utils.ByteArray; /** * This is the "full" CFB. * CFB1 and CFB8 are hiding somewhere else. * * Note: The constructor accepts an optional padding argument, but ignores it otherwise. */ public class CFBMode extends IVMode implements IMode { public function CFBMode(key:ISymmetricKey, padding:IPad = null) { super(key,null); } public function encrypt(src:ByteArray):void { var l:uint = src.length; var vector:ByteArray = getIV4e(); for (var i:uint=0;i<src.length;i+=blockSize) { key.encrypt(vector); var chunk:uint = (i+blockSize<l)?blockSize:l-i; for (var j:uint=0;j<chunk;j++) { src[i+j] ^= vector[j]; } vector.position=0; vector.writeBytes(src, i, chunk); } } public function decrypt(src:ByteArray):void { var l:uint = src.length; var vector:ByteArray = getIV4d(); var tmp:ByteArray = new ByteArray; for (var i:uint=0;i<src.length;i+=blockSize) { key.encrypt(vector); var chunk:uint = (i+blockSize<l)?blockSize:l-i; tmp.position=0; tmp.writeBytes(src, i, chunk); for (var j:uint=0;j<chunk;j++) { src[i+j] ^= vector[j]; } vector.position=0; vector.writeBytes(tmp); } } public function toString():String { return key.toString()+"-cfb"; } } }
{ "pile_set_name": "Github" }
[ { "settings": [ "master" ], "resourceStore": { "lazyResolve": true, "lazyLangs": true, "lazyMojits": true }, "yui": { "config": { "filter": "raw" } }, "specs": { "hello-1": { "type": "HelloMojit" }, "context-model": { "type": "contextModelMojit" }, "flickr-1": { "type": "Flickr" }, "i18n-1": { "type": "i18nMojit" }, "i18n-2": { "type": "i18n_Mojit" }, "i18n-3": { "type": "HTMLFrameMojit", "config": { "deploy": true, "child": { "type": "i18n_ParentMojit", "config":{ "children": { "i18n_ChildMojit": { "type": "i18n_ChildMojit", "defer": true } } } } } }, "flickr": { "type": "HTMLFrameMojit", "config": { "deploy": true, "child": { "type": "PagedFlickr" }, "assets": { "top": { "css":[ "/static/PagedFlickr/assets/css/style.css" ] } } } }, "flickr2": { "type": "HTMLFrameMojit", "config": { "deploy": true, "child": { "type": "PagedFlickr2", "config":{ "config1": "This is the config for config1 in application.json" } }, "assets": { "top": { "css":[ "/static/PagedFlickr2/assets/css/style.css" ] } } } }, "flickr5": { "type": "HTMLFrameMojit", "config": { "deploy": true, "child": { "type": "FlickrBrowser", "config": { "children": { "thumbs": { "base": "thumbs" }, "detail": { "base": "detail" } } } }, "meta": { "viewport": "width=device-width,initial-scale=1" }, "assets": { "top": { "css": [ "/static/PagedFlickr5/assets/index.css", "/static/FlickrDetail/assets/index.css" ] } } } }, "thumbs": { "type": "PagedFlickr5" }, "detail": { "type": "FlickrDetail" }, "Coverage": { "type": "Coverage" } } }, { "settings": [ "device:iphone" ], "selector": "iphone" } ]
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12118" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12086"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="33" id="KGk-i7-Jjw" customClass="TGChatContentViewCell" customModule="TGTV" customModuleProvider="target"> <rect key="frame" x="0.0" y="0.0" width="320" height="33"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> <rect key="frame" x="0.0" y="0.0" width="320" height="32.5"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qmX-Pb-Qi3"> <rect key="frame" x="10" y="3" width="300" height="26.5"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="bottom" secondItem="qmX-Pb-Qi3" secondAttribute="bottom" constant="3" id="2GX-02-uwy"/> <constraint firstItem="qmX-Pb-Qi3" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="A9A-9V-vIU"/> <constraint firstAttribute="trailing" secondItem="qmX-Pb-Qi3" secondAttribute="trailing" constant="10" id="Bap-Qn-fh9"/> <constraint firstItem="qmX-Pb-Qi3" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="3" id="Xk5-TQ-2hJ"/> </constraints> </tableViewCellContentView> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> <connections> <outlet property="contentLbl" destination="qmX-Pb-Qi3" id="spU-lx-rnN"/> </connections> <point key="canvasLocation" x="25" y="57.5"/> </tableViewCell> </objects> </document>
{ "pile_set_name": "Github" }
Make sure we can autoreconfigure popt This commit makes a few changes in the popt build system to allow it to be autoreconfigured with modern autotools: - the TESTS variable shouldn't be using $(top_srcdir), and since we don't care about tests in Buildroot, we just disable it. - the AM_C_PROTOTYPES macro is deprecated and should no longer be used, causes an error with autoconf/automake. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/Makefile.am =================================================================== --- a/Makefile.am +++ b/Makefile.am @@ -37,8 +37,6 @@ TESTS_ENVIRONMENT = \ test1="$(top_builddir)/test1" -TESTS = $(top_srcdir)/testit.sh - include_HEADERS = popt.h usrlibdir = $(libdir) Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -46,7 +46,6 @@ AC_SYS_LARGEFILE AC_ISC_POSIX -AM_C_PROTOTYPES AC_CHECK_HEADERS(float.h fnmatch.h glob.h langinfo.h libintl.h mcheck.h unistd.h)
{ "pile_set_name": "Github" }
/* * Created by SharpDevelop. * User: Alexander Petrovskiy * Date: 10/3/2014 * Time: 8:38 PM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ namespace Tmx.Commands { using System.Management.Automation; using Tmx; /// <summary> /// Description of SendTmxDetailedStatusCommand. /// </summary> [Cmdlet(VerbsCommunications.Send, "TmxDetailedStatus")] public class SendTmxDetailedStatusCommand : ClientCmdletBase { [Parameter(Mandatory = true, Position = 0)] public string Status { get; set; } protected override void BeginProcessing() { var command = new SendDetailedStatusCommand(this); command.Execute(); } } }
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" method="html" encoding="utf-8" standalone="yes" /> <xsl:include href="elements.xsl"/> <xsl:template match="/"> <html> <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <title>fonts</title> <style type="text/css"> * { font-family: <xsl:value-of select="($locale/string[@name='SK_UIFontName'])[1]" />; font-size: 12px; } body { padding: 0px 0px; margin: 0px; width: 100%; height: 100%; background: #A0C1DC; border: none;} html { padding: 0px; margin: 0px; overflow: auto; } table { margin: 12px 0; border-collapse: collapse; width: <xsl:value-of select="count(/Keyman/Chars/Ch) * 15 + 250" />px; } table tr td.font { text-align: left; vertical-align: middle; font-family: <xsl:value-of select="($locale/string[@name='SK_UIFontName'])[1]" />; white-space: nowrap; font-size: 11px; font-weight: bold; margin: 0px; padding: 0px; border-left: none; border-right: none; } table tr td.coverage { text-align: left; vertical-align: middle; font-family: <xsl:value-of select="($locale/string[@name='SK_UIFontName'])[1]" />; white-space: nowrap; font-size: 11px; margin: 0px; padding-left: 6px; border-left: none; } td.char { text-align: center; vertical-align: middle; border: solid 1px #80A1BC; font-size: 13.3px; background: white; } td.excluded { background: #FFcfc0; } td:hover { background: #80A1BC; color: white; } #outer { position: absolute; height: 100%; left:0; top: 0; width: 100% } #middle { position: absolute; top: 50%; width: 100% } #inner { position: relative; top: -50%; } #inner-nokeyboards { position: relative; top: -50%; margin: -24px 5% 0 5%; min-height: 32px; width: 84%; padding: 8px 3%; background: #F5F6BE; border: solid 1px gray; text-align: left } #inner-nokeyboards img { float: left; padding: 0 16px 0 0 } col.index { width: auto !important; } col { width: 14px; color: #202428; } #search { text-align: center; width: 100%; } #no { text-align: center; width: 100% } #fonts { padding: 12px } <xsl:for-each select="/Keyman/Fonts/Font"> .font_<xsl:value-of select="@Index"/> td { font-family: "<xsl:value-of select="@Name"/>"; } </xsl:for-each> </style> <script type="text/javascript"> document.onclick = function(event) { if(!event) event = window.event; var elem = event.srcElement ? event.srcElement : event.target; if(elem.className.indexOf('char') &lt; 0) return false; if(elem.title == '') return false; location.href = 'keyman:insertchars?chars=x'+elem.title.substring(2); return true; } </script> </head> <body> <xsl:choose> <xsl:when test="/Keyman/Searching"> <div id="outer"> <div id="middle"> <div id="inner"> <div id="search"> <img alt="Searching..."> <xsl:attribute name="src"> <xsl:value-of select="/Keyman/templatepath"/>search.gif </xsl:attribute> </img> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_PleaseWait1']"/> <xsl:text xml:space="preserve"> </xsl:text> <b><xsl:value-of select="/Keyman/Keyboard/@Name" /></b> <xsl:text xml:space="preserve"> </xsl:text> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_PleaseWait2']"/> </div> </div> </div> </div> </xsl:when> <xsl:when test="/Keyman/Keyboard"> <xsl:choose> <xsl:when test="not(/Keyman/Fonts)"> <div id="fonts"> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_NonUnicode1']"/> <xsl:text xml:space="preserve"> </xsl:text> <b><xsl:value-of select="/Keyman/Keyboard/@Name" /></b> <xsl:text xml:space="preserve"> </xsl:text> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_NonUnicode2']"/> </div> </xsl:when> <xsl:when test="count(/Keyman/Fonts/Font[@Coverage &gt; 90]) > 0"> <div id="fonts"> <div> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_MatchedFonts1']"/> <xsl:text xml:space="preserve"> </xsl:text> <b><xsl:value-of select="/Keyman/Keyboard/@Name" /></b> <xsl:text xml:space="preserve"> </xsl:text> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_MatchedFonts2']"/> </div> <div> <table id="tableHighCover"> <colgroup><col class="index" /><col class="index" /><xsl:for-each select="/Keyman/Chars/Ch"><col /></xsl:for-each></colgroup> <xsl:apply-templates select="/Keyman/Fonts/Font[@Coverage &gt; 90]" /> </table> </div> <xsl:if test="count(/Keyman/Fonts/Font[@Coverage &lt;= 90 and @Coverage &gt;= 50]) > 0"> <div> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_PossibleFonts']"/> </div> <div> <table id="tableLowCover"> <colgroup><col class="index" /><col class="index" /><xsl:for-each select="/Keyman/Chars/Ch"><col /></xsl:for-each></colgroup> <xsl:apply-templates select="/Keyman/Fonts/Font[@Coverage &lt;= 90 and @Coverage &gt;= 50]" /> </table> </div> </xsl:if> </div> </xsl:when> <xsl:when test="count(/Keyman/Fonts/Font[@Coverage &lt;= 90 and @Coverage &gt;= 50]) > 0"> <div id="fonts"> <div> <!--<input type="button" onclick="keyman:openinbrowser" value="View this list in your browser" />--> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_PossibleFontsOnly1']"/> <xsl:text xml:space="preserve"> </xsl:text> <b><xsl:value-of select="/Keyman/Keyboard/@Name" /></b> <xsl:text xml:space="preserve"> </xsl:text> <xsl:value-of select="$locale/string[@name='S_OSK_FontHelper_PossibleFontsOnly2']"/> </div> <div> <table id="tableLowCover"> <colgroup><col class="index" /><col class="index" /><xsl:for-each select="/Keyman/Chars/Ch"><col /></xsl:for-each></colgroup> <xsl:apply-templates select="/Keyman/Fonts/Font[@Coverage &lt;= 90 and @Coverage &gt;= 50]" /> </table> </div> </div> </xsl:when> <xsl:otherwise> <div id="outer"> <div id="middle"> <div id="inner"> <div id="no"> <xsl:copy-of select="$locale/string[@name='S_OSK_FontHelper_NoFonts1a'][1]" /> <xsl:text xml:space="preserve"> </xsl:text> <b><xsl:value-of select="/Keyman/Keyboard/@Name" /></b> <xsl:copy-of select="$locale/string[@name='S_OSK_FontHelper_NoFonts1b'][1]" /> </div> </div> </div> </div> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="/Keyman/NoKeyboards"> <div id="outer"> <div id="middle" style="width: 100%"> <div id="inner-nokeyboards"> <img> <xsl:attribute name="src"> <xsl:value-of select="/Keyman/templatepath"/>info.png </xsl:attribute> </img> <xsl:copy-of select="$locale/string[@name='S_OSK_FontHelper_NoKeyboards'][1]" /> </div> </div> </div> </xsl:when> <xsl:otherwise> <div id="outer"> <div id="middle"> <div id="inner"> <div id="no"><xsl:copy-of select="$locale/string[@name='S_OSK_FontHelper_ChooseKeyboard'][1]" /></div> </div> </div> </div> </xsl:otherwise> </xsl:choose> </body> </html> </xsl:template> <xsl:template match="Font"> <tr> <xsl:attribute name="class">font_<xsl:value-of select="@Index"/></xsl:attribute> <td class="font"> <xsl:value-of select="@Name" /> </td> <td class="coverage"> <xsl:value-of select="@Coverage" />% </td> <xsl:variable name="ExcludedChars" select="ExcludedChars" /> <xsl:for-each select="/Keyman/Chars/Ch"> <td> <!--<xsl:attribute name="onclick">javascript:location.href='keyman:insertchars?chars=x<xsl:value-of select="normalize-space(@CharCode)"/>';</xsl:attribute>--> <xsl:attribute name="class">char <xsl:if test="$ExcludedChars/Ch[@CharCode = current()/@CharCode]">excluded</xsl:if></xsl:attribute> <xsl:attribute name="title">U+<xsl:value-of select="normalize-space(@CharCode)"/></xsl:attribute> <xsl:value-of select="normalize-space(.)"/> </td> </xsl:for-each> </tr> </xsl:template> </xsl:stylesheet>
{ "pile_set_name": "Github" }
<?php /** * @package Static Pages * @category modules * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @license 0BSD */ namespace cs\modules\Static_pages; use cs\Cache, cs\Config, cs\Event, cs\Language\Prefix, cs\Menu, cs\Request; Event::instance() ->on( 'System/Request/routing_replace/after', function ($data) { if (!Config::instance()->module('Static_pages')->enabled()) { return; } if (!$data['regular_path']) { return; } $route = &$data['route']; if ($data['current_module'] == 'Static_pages' && !isset($route[0])) { $route = ['index']; } if (!$route) { return; } $structure = Pages::instance()->get_map(); $route_imploded = implode('/', $route); if (isset($structure[$route_imploded])) { $data['current_module'] = 'Static_pages'; $route = [$structure[$route_imploded]]; } } ) ->on( 'admin/System/modules/uninstall/before', function ($data) { if ($data['name'] != 'Static_pages') { return true; } time_limit_pause(); $Pages = Pages::instance(); $Categories = Categories::instance(); foreach ($Categories->get_all() as $category) { foreach ($Pages->get_for_category($category['id']) as $page) { $Pages->del($page); } if ($category['id']) { $Categories->del($category['id']); } } unset(Cache::instance()->Static_pages); time_limit_pause(false); return true; } ) ->on( 'admin/System/Menu', function () { $L = new Prefix('static_pages_'); Menu::instance()->add_item( 'Static_pages', $L->browse_categories, [ 'href' => 'admin/Static_pages/browse_categories', 'primary' => Request::instance()->route_path(0) == 'browse_categories' ] ); } );
{ "pile_set_name": "Github" }
// File generated from our OpenAPI spec namespace Stripe { using Newtonsoft.Json; public class SetupIntentMandateDataOptions : INestedOptions { /// <summary> /// This hash contains details about the customer acceptance of the Mandate. /// </summary> [JsonProperty("customer_acceptance")] public SetupIntentMandateDataCustomerAcceptanceOptions CustomerAcceptance { get; set; } } }
{ "pile_set_name": "Github" }
/*! * * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html * or from the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * 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 Lesser General Public License for more details. * * * Copyright (c) 2002-2018 Hitachi Vantara. All rights reserved. * */ package org.pentaho.platform.plugin.action.sql; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.pentaho.actionsequence.dom.IActionOutput; import org.pentaho.actionsequence.dom.actions.AbstractRelationalDbAction; public class SQLLookupRule extends SQLBaseComponent { private static final long serialVersionUID = 5299778034643663502L; @Override public Log getLogger() { return LogFactory.getLog( SQLLookupRule.class ); } @Override public String getResultOutputName() { IActionOutput actionOutput = ( (AbstractRelationalDbAction) getActionDefinition() ).getOutputResultSet(); return actionOutput != null ? actionOutput.getPublicName() : null; // return ((AbstractRelationalDbAction)getActionDefinition()).getOutputResultSetName(); } @Override public boolean validateSystemSettings() { // This component does not have any system settings to validate return true; } }
{ "pile_set_name": "Github" }
var readInstalled = require('../read-installed.js'); var test = require('tap').test; var path = require('path'); test('prerelease packages should not be marked invalid', function(t) { readInstalled( path.join(__dirname, 'fixtures/issue-40'), { log: console.error }, function(err, map) { t.strictEqual(map.dependencies.fake.version, '0.1.0-2'); t.notOk(map.dependencies.fake.invalid); t.end(); } ); });
{ "pile_set_name": "Github" }
--- - import_role: name: service-precheck vars: service_precheck_services: "{{ vmtp_services }}" service_name: "{{ project_name }}"
{ "pile_set_name": "Github" }
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // +k8s:deepcopy-gen=package // +k8s:protobuf-gen=package // +k8s:openapi-gen=true package v1 // import "k8s.io/api/autoscaling/v1"
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // UNSUPPORTED: libcpp-has-no-threads // UNSUPPORTED: c++03, c++11 // <shared_mutex> // template <class Mutex> // class shared_lock // { // public: // typedef Mutex mutex_type; // ... // }; #include <shared_mutex> #include <type_traits> #include "test_macros.h" int main(int, char**) { static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type, std::mutex>::value), ""); return 0; }
{ "pile_set_name": "Github" }
/* * Copyright (c) 2012, STMicroelectronics. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. 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. * 3. Neither the name of the Institute 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 INSTITUTE 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 INSTITUTE 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. * * */ /*---------------------------------------------------------------------------*/ /** * \addtogroup stm32nucleo-spirit1 * @{ * * \file * main file for stm32nucleo-spirit1 platform */ /*---------------------------------------------------------------------------*/ #include <stdio.h> #include <string.h> #include "stm32cube_hal_init.h" #include "contiki.h" #include "contiki-net.h" #include "sys/autostart.h" #include "dev/leds.h" #include "dev/serial-line.h" #include "dev/slip.h" #include "dev/watchdog.h" #include "dev/xmem.h" #include "lib/random.h" #include "net/netstack.h" #include "net/ip/uip.h" #include "net/mac/frame802154.h" #include "net/rime/rime.h" #include "stm32l1xx.h" #include "SPIRIT_Config.h" #include "SPIRIT_Management.h" #include "spirit1.h" #include "spirit1-arch.h" #include "node-id.h" #include "hw-config.h" #include "stdbool.h" #include "dev/button-sensor.h" #include "dev/radio-sensor.h" /*---------------------------------------------------------------------------*/ #if NETSTACK_CONF_WITH_IPV6 #include "net/ipv6/uip-ds6.h" #endif /*NETSTACK_CONF_WITH_IPV6*/ /*---------------------------------------------------------------------------*/ #ifdef X_NUCLEO_IKS01A1 extern const struct sensors_sensor temperature_sensor; extern const struct sensors_sensor humidity_sensor; extern const struct sensors_sensor pressure_sensor; extern const struct sensors_sensor magneto_sensor; extern const struct sensors_sensor acceleration_sensor; extern const struct sensors_sensor gyroscope_sensor; SENSORS(&button_sensor, &radio_sensor, &temperature_sensor, &humidity_sensor, &pressure_sensor, &magneto_sensor, &acceleration_sensor, &gyroscope_sensor); #else /*X_NUCLEO_IKS01A1*/ SENSORS(&button_sensor, &radio_sensor); #endif /*X_NUCLEO_IKS01A1*/ /*---------------------------------------------------------------------------*/ extern unsigned char node_mac[8]; /*---------------------------------------------------------------------------*/ #ifdef __GNUC__ /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf set to 'Yes') calls __io_putchar() */ #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) #else #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE * f) #endif /* __GNUC__ */ /*---------------------------------------------------------------------------*/ #if NETSTACK_CONF_WITH_IPV6 PROCINIT(&etimer_process, &tcpip_process); #else /*NETSTACK_CONF_WITH_IPV6*/ PROCINIT(&etimer_process); #warning "No TCP/IP process!" #endif /*NETSTACK_CONF_WITH_IPV6*/ /*---------------------------------------------------------------------------*/ #define BUSYWAIT_UNTIL(cond, max_time) \ do { \ rtimer_clock_t t0; \ t0 = RTIMER_NOW(); \ while(!(cond) && RTIMER_CLOCK_LT(RTIMER_NOW(), t0 + (max_time))) ; \ } while(0) /*---------------------------------------------------------------------------*/ static void set_rime_addr(void); void stm32cube_hal_init(); /*---------------------------------------------------------------------------*/ #if 0 static void panic_main(void) { volatile uint16_t k; while(1) { leds_toggle(LEDS_ALL); for(k = 0; k < 0xffff / 8; k += 1) { } } } #endif /*---------------------------------------------------------------------------*/ int main(int argc, char *argv[]) { stm32cube_hal_init(); /* init LEDs */ leds_init(); /* Initialize Contiki and our processes. */ clock_init(); ctimer_init(); rtimer_init(); watchdog_init(); process_init(); process_start(&etimer_process, NULL); /* Restore node id if such has been stored in external mem */ node_id_restore(); /* also configures node_mac[] */ set_rime_addr(); random_init(node_id); netstack_init(); spirit_radio_driver.on(); energest_init(); #if NETSTACK_CONF_WITH_IPV6 memcpy(&uip_lladdr.addr, node_mac, sizeof(uip_lladdr.addr)); queuebuf_init(); process_start(&tcpip_process, NULL); uip_ipaddr_t ipaddr; uip_ip6addr(&ipaddr, 0xfc00, 0, 0, 0, 0, 0, 0, 0); uip_ds6_set_addr_iid(&ipaddr, &uip_lladdr); uip_ds6_addr_add(&ipaddr, 0, ADDR_AUTOCONF); #endif /* NETSTACK_CONF_WITH_IPV6*/ process_start(&sensors_process, NULL); autostart_start(autostart_processes); watchdog_start(); while(1) { int r = 0; do { r = process_run(); } while(r > 0); } } /*---------------------------------------------------------------------------*/ static void set_rime_addr(void) { linkaddr_t addr; memset(&addr, 0, sizeof(linkaddr_t)); memcpy(addr.u8, node_mac, sizeof(addr.u8)); linkaddr_set_node_addr(&addr); } /*---------------------------------------------------------------------------*/ /** @} */
{ "pile_set_name": "Github" }
import { FunctionAppResource } from "./resources/functionApp"; import { AppInsightsResource } from "./resources/appInsights"; import { StorageAccountResource } from "./resources/storageAccount"; import { CompositeArmTemplate } from "./compositeArmTemplate"; class ConsumptionPlanTemplate extends CompositeArmTemplate { public constructor() { super([ new FunctionAppResource(), new AppInsightsResource(), new StorageAccountResource(), ]) } } export default new ConsumptionPlanTemplate();
{ "pile_set_name": "Github" }
package api import ( "bytes" "fmt" "io" "net/http" "strconv" "strings" ) // KVPair is used to represent a single K/V entry type KVPair struct { // Key is the name of the key. It is also part of the URL path when accessed // via the API. Key string // CreateIndex holds the index corresponding the creation of this KVPair. This // is a read-only field. CreateIndex uint64 // ModifyIndex is used for the Check-And-Set operations and can also be fed // back into the WaitIndex of the QueryOptions in order to perform blocking // queries. ModifyIndex uint64 // LockIndex holds the index corresponding to a lock on this key, if any. This // is a read-only field. LockIndex uint64 // Flags are any user-defined flags on the key. It is up to the implementer // to check these values, since Consul does not treat them specially. Flags uint64 // Value is the value for the key. This can be any value, but it will be // base64 encoded upon transport. Value []byte // Session is a string representing the ID of the session. Any other // interactions with this key over the same session must specify the same // session ID. Session string } // KVPairs is a list of KVPair objects type KVPairs []*KVPair // KV is used to manipulate the K/V API type KV struct { c *Client } // KV is used to return a handle to the K/V apis func (c *Client) KV() *KV { return &KV{c} } // Get is used to lookup a single key. The returned pointer // to the KVPair will be nil if the key does not exist. func (k *KV) Get(key string, q *QueryOptions) (*KVPair, *QueryMeta, error) { resp, qm, err := k.getInternal(key, nil, q) if err != nil { return nil, nil, err } if resp == nil { return nil, qm, nil } defer resp.Body.Close() var entries []*KVPair if err := decodeBody(resp, &entries); err != nil { return nil, nil, err } if len(entries) > 0 { return entries[0], qm, nil } return nil, qm, nil } // List is used to lookup all keys under a prefix func (k *KV) List(prefix string, q *QueryOptions) (KVPairs, *QueryMeta, error) { resp, qm, err := k.getInternal(prefix, map[string]string{"recurse": ""}, q) if err != nil { return nil, nil, err } if resp == nil { return nil, qm, nil } defer resp.Body.Close() var entries []*KVPair if err := decodeBody(resp, &entries); err != nil { return nil, nil, err } return entries, qm, nil } // Keys is used to list all the keys under a prefix. Optionally, // a separator can be used to limit the responses. func (k *KV) Keys(prefix, separator string, q *QueryOptions) ([]string, *QueryMeta, error) { params := map[string]string{"keys": ""} if separator != "" { params["separator"] = separator } resp, qm, err := k.getInternal(prefix, params, q) if err != nil { return nil, nil, err } if resp == nil { return nil, qm, nil } defer resp.Body.Close() var entries []string if err := decodeBody(resp, &entries); err != nil { return nil, nil, err } return entries, qm, nil } func (k *KV) getInternal(key string, params map[string]string, q *QueryOptions) (*http.Response, *QueryMeta, error) { r := k.c.newRequest("GET", "/v1/kv/"+strings.TrimPrefix(key, "/")) r.setQueryOptions(q) for param, val := range params { r.params.Set(param, val) } rtt, resp, err := k.c.doRequest(r) if err != nil { return nil, nil, err } qm := &QueryMeta{} parseQueryMeta(resp, qm) qm.RequestTime = rtt if resp.StatusCode == 404 { resp.Body.Close() return nil, qm, nil } else if resp.StatusCode != 200 { resp.Body.Close() return nil, nil, fmt.Errorf("Unexpected response code: %d", resp.StatusCode) } return resp, qm, nil } // Put is used to write a new value. Only the // Key, Flags and Value is respected. func (k *KV) Put(p *KVPair, q *WriteOptions) (*WriteMeta, error) { params := make(map[string]string, 1) if p.Flags != 0 { params["flags"] = strconv.FormatUint(p.Flags, 10) } _, wm, err := k.put(p.Key, params, p.Value, q) return wm, err } // CAS is used for a Check-And-Set operation. The Key, // ModifyIndex, Flags and Value are respected. Returns true // on success or false on failures. func (k *KV) CAS(p *KVPair, q *WriteOptions) (bool, *WriteMeta, error) { params := make(map[string]string, 2) if p.Flags != 0 { params["flags"] = strconv.FormatUint(p.Flags, 10) } params["cas"] = strconv.FormatUint(p.ModifyIndex, 10) return k.put(p.Key, params, p.Value, q) } // Acquire is used for a lock acquisition operation. The Key, // Flags, Value and Session are respected. Returns true // on success or false on failures. func (k *KV) Acquire(p *KVPair, q *WriteOptions) (bool, *WriteMeta, error) { params := make(map[string]string, 2) if p.Flags != 0 { params["flags"] = strconv.FormatUint(p.Flags, 10) } params["acquire"] = p.Session return k.put(p.Key, params, p.Value, q) } // Release is used for a lock release operation. The Key, // Flags, Value and Session are respected. Returns true // on success or false on failures. func (k *KV) Release(p *KVPair, q *WriteOptions) (bool, *WriteMeta, error) { params := make(map[string]string, 2) if p.Flags != 0 { params["flags"] = strconv.FormatUint(p.Flags, 10) } params["release"] = p.Session return k.put(p.Key, params, p.Value, q) } func (k *KV) put(key string, params map[string]string, body []byte, q *WriteOptions) (bool, *WriteMeta, error) { if len(key) > 0 && key[0] == '/' { return false, nil, fmt.Errorf("Invalid key. Key must not begin with a '/': %s", key) } r := k.c.newRequest("PUT", "/v1/kv/"+key) r.setWriteOptions(q) for param, val := range params { r.params.Set(param, val) } r.body = bytes.NewReader(body) rtt, resp, err := requireOK(k.c.doRequest(r)) if err != nil { return false, nil, err } defer resp.Body.Close() qm := &WriteMeta{} qm.RequestTime = rtt var buf bytes.Buffer if _, err := io.Copy(&buf, resp.Body); err != nil { return false, nil, fmt.Errorf("Failed to read response: %v", err) } res := strings.Contains(buf.String(), "true") return res, qm, nil } // Delete is used to delete a single key func (k *KV) Delete(key string, w *WriteOptions) (*WriteMeta, error) { _, qm, err := k.deleteInternal(key, nil, w) return qm, err } // DeleteCAS is used for a Delete Check-And-Set operation. The Key // and ModifyIndex are respected. Returns true on success or false on failures. func (k *KV) DeleteCAS(p *KVPair, q *WriteOptions) (bool, *WriteMeta, error) { params := map[string]string{ "cas": strconv.FormatUint(p.ModifyIndex, 10), } return k.deleteInternal(p.Key, params, q) } // DeleteTree is used to delete all keys under a prefix func (k *KV) DeleteTree(prefix string, w *WriteOptions) (*WriteMeta, error) { _, qm, err := k.deleteInternal(prefix, map[string]string{"recurse": ""}, w) return qm, err } func (k *KV) deleteInternal(key string, params map[string]string, q *WriteOptions) (bool, *WriteMeta, error) { r := k.c.newRequest("DELETE", "/v1/kv/"+strings.TrimPrefix(key, "/")) r.setWriteOptions(q) for param, val := range params { r.params.Set(param, val) } rtt, resp, err := requireOK(k.c.doRequest(r)) if err != nil { return false, nil, err } defer resp.Body.Close() qm := &WriteMeta{} qm.RequestTime = rtt var buf bytes.Buffer if _, err := io.Copy(&buf, resp.Body); err != nil { return false, nil, fmt.Errorf("Failed to read response: %v", err) } res := strings.Contains(buf.String(), "true") return res, qm, nil } // The Txn function has been deprecated from the KV object; please see the Txn // object for more information about Transactions. func (k *KV) Txn(txn KVTxnOps, q *QueryOptions) (bool, *KVTxnResponse, *QueryMeta, error) { var ops TxnOps for _, op := range txn { ops = append(ops, &TxnOp{KV: op}) } respOk, txnResp, qm, err := k.c.txn(ops, q) if err != nil { return false, nil, nil, err } // Convert from the internal format. kvResp := KVTxnResponse{ Errors: txnResp.Errors, } for _, result := range txnResp.Results { kvResp.Results = append(kvResp.Results, result.KV) } return respOk, &kvResp, qm, nil }
{ "pile_set_name": "Github" }
OBJ_X86=anal_x86_im.o OBJ_X86+=../arch/x86/x86im/x86im.o ../arch/x86/x86im/x86im_fmt.o STATIC_OBJ+=${OBJ_X86} TARGET_X86=anal_x86_im.${LIBEXT} ALL_TARGETS+=${TARGET_X86} CFLAGS+=-D__X86IM_USE_FMT__ ${TARGET_X86}: ${OBJ_X86} ${CC} $(call libname,anal_x86) ${CFLAGS} -o anal_x86_im.${LIBEXT} ${OBJ_X86}
{ "pile_set_name": "Github" }
ncolors = 12 # r g b 40 9 218 36 77 255 60 161 255 113 218 255 171 250 255 226 255 255 255 255 190 255 223 153 255 174 113 249 109 93 218 36 48 164 0 32
{ "pile_set_name": "Github" }
## ChangeLog for: node-http-proxy ## Version 0.8.1 - 6/5/2012 - Fix re-emitting of events in RoutingProxy (coderarity) - New load balancer and middleware examples (marak) - Docs updated including changelog (lot of gently people) ## Version 0.8.0 - 12/23/2011 - Improve support and tests for url segment routing (maxogden) - Fix aborting connections when request close (c4milo) - Avoid 'Transfer-Encoding' on HTTP/1.0 clients (koichik). - Support for Node.js 0.6.x (mmalecki) ## Version 0.7.3 - 10/4/2011 - Fix setting x-forwarded headers (jesusabdullah) - Updated examples (AvianFlu) ## Version 0.7.0 - 9/10/2011 - Handles to every throw-able resume() call (isaacs) - Updated tests, README and package.json (indexzero) - Added HttpProxy.close() method (indexzero) ## Version 0.6.6 - 8/31/2011 - Add more examples (dominictarr) - Use of 'pkginfo' (indexzero) - Handle cases where res.write throws (isaacs) - Handles to every throw-able res.end call (isaacs) ## Version 0.5.11 - 6/21/2011 - Add more examples with WebSockets (indexzero) - Update the documentation (indexzero) ## Version 0.5.7 - 5/19/2011 - Fix to README related to markup and fix some examples (benatkin) - Improve WebSockets handling (indexzero) - Improve WebSockets tests (indexzero) - Improve https tests (olauzon) - Add devDependencies to package.json (olauzon) - Add 'proxyError' event (indexzero) - Add 'x-forwarded-{port|proto}' headers support (indexzero) - Keep-Alive connection supported (indexzero) ## Version 0.5.0 - 4/15/2011 - Remove winston in favor of custom events (indexzero) - Add x-forwarded-for Header (indexzero) - Fix WebSocket support (indexzero) - Add tests / examples for WebSocket support (indexzero) - Update .proxyRequest() and .proxyWebSocketRequest() APIs (indexzero) - Add HTTPS support (indexzero) - Add tests / examples for HTTPS support (indexzero) ## Version 0.4.1 - 3/20/2011 - Include missing dependency in package.json (indexzero) ## Version 0.4.0 - 3/20/2011 - Update for node.js 0.4.0 (indexzero) - Remove pool dependency in favor of http.Agent (indexzero) - Store buffered data using `.buffer()` instead of on the HttpProxy instance (indexzero) - Change the ProxyTable to be a lookup table instead of actively proxying (indexzero) - Allow for pure host-only matching in ProxyTable (indexzero) - Use winston for logging (indexzero) - Improve tests with async setup and more coverage (indexzero) - Improve code documentation (indexzero) ### Version 0.3.1 - 11/22/2010 - Added node-http-proxy binary script (indexzero) - Added experimental WebSocket support (indutny) - Added forward proxy functionality (indexzero) - Added proxy table for multiple target lookup (indexzero) - Simplified tests using helpers.js (indexzero) - Fixed uncaughtException bug with invalid proxy target (indutny) - Added configurable logging for HttpProxy and ProxyTable (indexzero)
{ "pile_set_name": "Github" }
{ "name": "haxeui", "license": "MIT", "tags": [ "rich", "ui" ], "description": "Styleable application centric rich UI", "contributors": [ "ianharrigan" ], "releasenote": "Allow custom dialog buttons to use callbacks", "version": "1.8.21", "url": "https://github.com/ianharrigan/haxeui", "dependencies": { "lime": "2.9.1", "actuate": "", "openfl": "3.6.1", "hscript": "" } }
{ "pile_set_name": "Github" }
package main import ( "fmt" "syscall" ) func main() { // Geteuid returns the effective user ID of the calling process. fmt.Println(syscall.Geteuid()) }
{ "pile_set_name": "Github" }
# Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx10248m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true
{ "pile_set_name": "Github" }
/** * aops.c - NTFS kernel address space operations and page cache handling. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2007 Anton Altaparmakov * Copyright (c) 2002 Richard Russon * * This program/include file 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. * * This program/include file 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 (in the main directory of the Linux-NTFS * distribution in the file COPYING); if not, write to the Free Software * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/errno.h> #include <linux/fs.h> #include <linux/gfp.h> #include <linux/mm.h> #include <linux/pagemap.h> #include <linux/swap.h> #include <linux/buffer_head.h> #include <linux/writeback.h> #include <linux/bit_spinlock.h> #include "aops.h" #include "attrib.h" #include "debug.h" #include "inode.h" #include "mft.h" #include "runlist.h" #include "types.h" #include "ntfs.h" /** * ntfs_end_buffer_async_read - async io completion for reading attributes * @bh: buffer head on which io is completed * @uptodate: whether @bh is now uptodate or not * * Asynchronous I/O completion handler for reading pages belonging to the * attribute address space of an inode. The inodes can either be files or * directories or they can be fake inodes describing some attribute. * * If NInoMstProtected(), perform the post read mst fixups when all IO on the * page has been completed and mark the page uptodate or set the error bit on * the page. To determine the size of the records that need fixing up, we * cheat a little bit by setting the index_block_size in ntfs_inode to the ntfs * record size, and index_block_size_bits, to the log(base 2) of the ntfs * record size. */ static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) { unsigned long flags; struct buffer_head *first, *tmp; struct page *page; struct inode *vi; ntfs_inode *ni; int page_uptodate = 1; page = bh->b_page; vi = page->mapping->host; ni = NTFS_I(vi); if (likely(uptodate)) { loff_t i_size; s64 file_ofs, init_size; set_buffer_uptodate(bh); file_ofs = ((s64)page->index << PAGE_CACHE_SHIFT) + bh_offset(bh); read_lock_irqsave(&ni->size_lock, flags); init_size = ni->initialized_size; i_size = i_size_read(vi); read_unlock_irqrestore(&ni->size_lock, flags); if (unlikely(init_size > i_size)) { /* Race with shrinking truncate. */ init_size = i_size; } /* Check for the current buffer head overflowing. */ if (unlikely(file_ofs + bh->b_size > init_size)) { int ofs; void *kaddr; ofs = 0; if (file_ofs < init_size) ofs = init_size - file_ofs; local_irq_save(flags); kaddr = kmap_atomic(page, KM_BIO_SRC_IRQ); memset(kaddr + bh_offset(bh) + ofs, 0, bh->b_size - ofs); flush_dcache_page(page); kunmap_atomic(kaddr, KM_BIO_SRC_IRQ); local_irq_restore(flags); } } else { clear_buffer_uptodate(bh); SetPageError(page); ntfs_error(ni->vol->sb, "Buffer I/O error, logical block " "0x%llx.", (unsigned long long)bh->b_blocknr); } first = page_buffers(page); local_irq_save(flags); bit_spin_lock(BH_Uptodate_Lock, &first->b_state); clear_buffer_async_read(bh); unlock_buffer(bh); tmp = bh; do { if (!buffer_uptodate(tmp)) page_uptodate = 0; if (buffer_async_read(tmp)) { if (likely(buffer_locked(tmp))) goto still_busy; /* Async buffers must be locked. */ BUG(); } tmp = tmp->b_this_page; } while (tmp != bh); bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); local_irq_restore(flags); /* * If none of the buffers had errors then we can set the page uptodate, * but we first have to perform the post read mst fixups, if the * attribute is mst protected, i.e. if NInoMstProteced(ni) is true. * Note we ignore fixup errors as those are detected when * map_mft_record() is called which gives us per record granularity * rather than per page granularity. */ if (!NInoMstProtected(ni)) { if (likely(page_uptodate && !PageError(page))) SetPageUptodate(page); } else { u8 *kaddr; unsigned int i, recs; u32 rec_size; rec_size = ni->itype.index.block_size; recs = PAGE_CACHE_SIZE / rec_size; /* Should have been verified before we got here... */ BUG_ON(!recs); local_irq_save(flags); kaddr = kmap_atomic(page, KM_BIO_SRC_IRQ); for (i = 0; i < recs; i++) post_read_mst_fixup((NTFS_RECORD*)(kaddr + i * rec_size), rec_size); kunmap_atomic(kaddr, KM_BIO_SRC_IRQ); local_irq_restore(flags); flush_dcache_page(page); if (likely(page_uptodate && !PageError(page))) SetPageUptodate(page); } unlock_page(page); return; still_busy: bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); local_irq_restore(flags); return; } /** * ntfs_read_block - fill a @page of an address space with data * @page: page cache page to fill with data * * Fill the page @page of the address space belonging to the @page->host inode. * We read each buffer asynchronously and when all buffers are read in, our io * completion handler ntfs_end_buffer_read_async(), if required, automatically * applies the mst fixups to the page before finally marking it uptodate and * unlocking it. * * We only enforce allocated_size limit because i_size is checked for in * generic_file_read(). * * Return 0 on success and -errno on error. * * Contains an adapted version of fs/buffer.c::block_read_full_page(). */ static int ntfs_read_block(struct page *page) { loff_t i_size; VCN vcn; LCN lcn; s64 init_size; struct inode *vi; ntfs_inode *ni; ntfs_volume *vol; runlist_element *rl; struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; sector_t iblock, lblock, zblock; unsigned long flags; unsigned int blocksize, vcn_ofs; int i, nr; unsigned char blocksize_bits; vi = page->mapping->host; ni = NTFS_I(vi); vol = ni->vol; /* $MFT/$DATA must have its complete runlist in memory at all times. */ BUG_ON(!ni->runlist.rl && !ni->mft_no && !NInoAttr(ni)); blocksize = vol->sb->s_blocksize; blocksize_bits = vol->sb->s_blocksize_bits; if (!page_has_buffers(page)) { create_empty_buffers(page, blocksize, 0); if (unlikely(!page_has_buffers(page))) { unlock_page(page); return -ENOMEM; } } bh = head = page_buffers(page); BUG_ON(!bh); /* * We may be racing with truncate. To avoid some of the problems we * now take a snapshot of the various sizes and use those for the whole * of the function. In case of an extending truncate it just means we * may leave some buffers unmapped which are now allocated. This is * not a problem since these buffers will just get mapped when a write * occurs. In case of a shrinking truncate, we will detect this later * on due to the runlist being incomplete and if the page is being * fully truncated, truncate will throw it away as soon as we unlock * it so no need to worry what we do with it. */ iblock = (s64)page->index << (PAGE_CACHE_SHIFT - blocksize_bits); read_lock_irqsave(&ni->size_lock, flags); lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; init_size = ni->initialized_size; i_size = i_size_read(vi); read_unlock_irqrestore(&ni->size_lock, flags); if (unlikely(init_size > i_size)) { /* Race with shrinking truncate. */ init_size = i_size; } zblock = (init_size + blocksize - 1) >> blocksize_bits; /* Loop through all the buffers in the page. */ rl = NULL; nr = i = 0; do { int err = 0; if (unlikely(buffer_uptodate(bh))) continue; if (unlikely(buffer_mapped(bh))) { arr[nr++] = bh; continue; } bh->b_bdev = vol->sb->s_bdev; /* Is the block within the allowed limits? */ if (iblock < lblock) { bool is_retry = false; /* Convert iblock into corresponding vcn and offset. */ vcn = (VCN)iblock << blocksize_bits >> vol->cluster_size_bits; vcn_ofs = ((VCN)iblock << blocksize_bits) & vol->cluster_size_mask; if (!rl) { lock_retry_remap: down_read(&ni->runlist.lock); rl = ni->runlist.rl; } if (likely(rl != NULL)) { /* Seek to element containing target vcn. */ while (rl->length && rl[1].vcn <= vcn) rl++; lcn = ntfs_rl_vcn_to_lcn(rl, vcn); } else lcn = LCN_RL_NOT_MAPPED; /* Successful remap. */ if (lcn >= 0) { /* Setup buffer head to correct block. */ bh->b_blocknr = ((lcn << vol->cluster_size_bits) + vcn_ofs) >> blocksize_bits; set_buffer_mapped(bh); /* Only read initialized data blocks. */ if (iblock < zblock) { arr[nr++] = bh; continue; } /* Fully non-initialized data block, zero it. */ goto handle_zblock; } /* It is a hole, need to zero it. */ if (lcn == LCN_HOLE) goto handle_hole; /* If first try and runlist unmapped, map and retry. */ if (!is_retry && lcn == LCN_RL_NOT_MAPPED) { is_retry = true; /* * Attempt to map runlist, dropping lock for * the duration. */ up_read(&ni->runlist.lock); err = ntfs_map_runlist(ni, vcn); if (likely(!err)) goto lock_retry_remap; rl = NULL; } else if (!rl) up_read(&ni->runlist.lock); /* * If buffer is outside the runlist, treat it as a * hole. This can happen due to concurrent truncate * for example. */ if (err == -ENOENT || lcn == LCN_ENOENT) { err = 0; goto handle_hole; } /* Hard error, zero out region. */ if (!err) err = -EIO; bh->b_blocknr = -1; SetPageError(page); ntfs_error(vol->sb, "Failed to read from inode 0x%lx, " "attribute type 0x%x, vcn 0x%llx, " "offset 0x%x because its location on " "disk could not be determined%s " "(error code %i).", ni->mft_no, ni->type, (unsigned long long)vcn, vcn_ofs, is_retry ? " even after " "retrying" : "", err); } /* * Either iblock was outside lblock limits or * ntfs_rl_vcn_to_lcn() returned error. Just zero that portion * of the page and set the buffer uptodate. */ handle_hole: bh->b_blocknr = -1UL; clear_buffer_mapped(bh); handle_zblock: zero_user(page, i * blocksize, blocksize); if (likely(!err)) set_buffer_uptodate(bh); } while (i++, iblock++, (bh = bh->b_this_page) != head); /* Release the lock if we took it. */ if (rl) up_read(&ni->runlist.lock); /* Check we have at least one buffer ready for i/o. */ if (nr) { struct buffer_head *tbh; /* Lock the buffers. */ for (i = 0; i < nr; i++) { tbh = arr[i]; lock_buffer(tbh); tbh->b_end_io = ntfs_end_buffer_async_read; set_buffer_async_read(tbh); } /* Finally, start i/o on the buffers. */ for (i = 0; i < nr; i++) { tbh = arr[i]; if (likely(!buffer_uptodate(tbh))) submit_bh(READ, tbh); else ntfs_end_buffer_async_read(tbh, 1); } return 0; } /* No i/o was scheduled on any of the buffers. */ if (likely(!PageError(page))) SetPageUptodate(page); else /* Signal synchronous i/o error. */ nr = -EIO; unlock_page(page); return nr; } /** * ntfs_readpage - fill a @page of a @file with data from the device * @file: open file to which the page @page belongs or NULL * @page: page cache page to fill with data * * For non-resident attributes, ntfs_readpage() fills the @page of the open * file @file by calling the ntfs version of the generic block_read_full_page() * function, ntfs_read_block(), which in turn creates and reads in the buffers * associated with the page asynchronously. * * For resident attributes, OTOH, ntfs_readpage() fills @page by copying the * data from the mft record (which at this stage is most likely in memory) and * fills the remainder with zeroes. Thus, in this case, I/O is synchronous, as * even if the mft record is not cached at this point in time, we need to wait * for it to be read in before we can do the copy. * * Return 0 on success and -errno on error. */ static int ntfs_readpage(struct file *file, struct page *page) { loff_t i_size; struct inode *vi; ntfs_inode *ni, *base_ni; u8 *addr; ntfs_attr_search_ctx *ctx; MFT_RECORD *mrec; unsigned long flags; u32 attr_len; int err = 0; retry_readpage: BUG_ON(!PageLocked(page)); vi = page->mapping->host; i_size = i_size_read(vi); /* Is the page fully outside i_size? (truncate in progress) */ if (unlikely(page->index >= (i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT)) { zero_user(page, 0, PAGE_CACHE_SIZE); ntfs_debug("Read outside i_size - truncated?"); goto done; } /* * This can potentially happen because we clear PageUptodate() during * ntfs_writepage() of MstProtected() attributes. */ if (PageUptodate(page)) { unlock_page(page); return 0; } ni = NTFS_I(vi); /* * Only $DATA attributes can be encrypted and only unnamed $DATA * attributes can be compressed. Index root can have the flags set but * this means to create compressed/encrypted files, not that the * attribute is compressed/encrypted. Note we need to check for * AT_INDEX_ALLOCATION since this is the type of both directory and * index inodes. */ if (ni->type != AT_INDEX_ALLOCATION) { /* If attribute is encrypted, deny access, just like NT4. */ if (NInoEncrypted(ni)) { BUG_ON(ni->type != AT_DATA); err = -EACCES; goto err_out; } /* Compressed data streams are handled in compress.c. */ if (NInoNonResident(ni) && NInoCompressed(ni)) { BUG_ON(ni->type != AT_DATA); BUG_ON(ni->name_len); return ntfs_read_compressed_block(page); } } /* NInoNonResident() == NInoIndexAllocPresent() */ if (NInoNonResident(ni)) { /* Normal, non-resident data stream. */ return ntfs_read_block(page); } /* * Attribute is resident, implying it is not compressed or encrypted. * This also means the attribute is smaller than an mft record and * hence smaller than a page, so can simply zero out any pages with * index above 0. Note the attribute can actually be marked compressed * but if it is resident the actual data is not compressed so we are * ok to ignore the compressed flag here. */ if (unlikely(page->index > 0)) { zero_user(page, 0, PAGE_CACHE_SIZE); goto done; } if (!NInoAttr(ni)) base_ni = ni; else base_ni = ni->ext.base_ntfs_ino; /* Map, pin, and lock the mft record. */ mrec = map_mft_record(base_ni); if (IS_ERR(mrec)) { err = PTR_ERR(mrec); goto err_out; } /* * If a parallel write made the attribute non-resident, drop the mft * record and retry the readpage. */ if (unlikely(NInoNonResident(ni))) { unmap_mft_record(base_ni); goto retry_readpage; } ctx = ntfs_attr_get_search_ctx(base_ni, mrec); if (unlikely(!ctx)) { err = -ENOMEM; goto unm_err_out; } err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, CASE_SENSITIVE, 0, NULL, 0, ctx); if (unlikely(err)) goto put_unm_err_out; attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); read_lock_irqsave(&ni->size_lock, flags); if (unlikely(attr_len > ni->initialized_size)) attr_len = ni->initialized_size; i_size = i_size_read(vi); read_unlock_irqrestore(&ni->size_lock, flags); if (unlikely(attr_len > i_size)) { /* Race with shrinking truncate. */ attr_len = i_size; } addr = kmap_atomic(page, KM_USER0); /* Copy the data to the page. */ memcpy(addr, (u8*)ctx->attr + le16_to_cpu(ctx->attr->data.resident.value_offset), attr_len); /* Zero the remainder of the page. */ memset(addr + attr_len, 0, PAGE_CACHE_SIZE - attr_len); flush_dcache_page(page); kunmap_atomic(addr, KM_USER0); put_unm_err_out: ntfs_attr_put_search_ctx(ctx); unm_err_out: unmap_mft_record(base_ni); done: SetPageUptodate(page); err_out: unlock_page(page); return err; } #ifdef NTFS_RW /** * ntfs_write_block - write a @page to the backing store * @page: page cache page to write out * @wbc: writeback control structure * * This function is for writing pages belonging to non-resident, non-mst * protected attributes to their backing store. * * For a page with buffers, map and write the dirty buffers asynchronously * under page writeback. For a page without buffers, create buffers for the * page, then proceed as above. * * If a page doesn't have buffers the page dirty state is definitive. If a page * does have buffers, the page dirty state is just a hint, and the buffer dirty * state is definitive. (A hint which has rules: dirty buffers against a clean * page is illegal. Other combinations are legal and need to be handled. In * particular a dirty page containing clean buffers for example.) * * Return 0 on success and -errno on error. * * Based on ntfs_read_block() and __block_write_full_page(). */ static int ntfs_write_block(struct page *page, struct writeback_control *wbc) { VCN vcn; LCN lcn; s64 initialized_size; loff_t i_size; sector_t block, dblock, iblock; struct inode *vi; ntfs_inode *ni; ntfs_volume *vol; runlist_element *rl; struct buffer_head *bh, *head; unsigned long flags; unsigned int blocksize, vcn_ofs; int err; bool need_end_writeback; unsigned char blocksize_bits; vi = page->mapping->host; ni = NTFS_I(vi); vol = ni->vol; ntfs_debug("Entering for inode 0x%lx, attribute type 0x%x, page index " "0x%lx.", ni->mft_no, ni->type, page->index); BUG_ON(!NInoNonResident(ni)); BUG_ON(NInoMstProtected(ni)); blocksize = vol->sb->s_blocksize; blocksize_bits = vol->sb->s_blocksize_bits; if (!page_has_buffers(page)) { BUG_ON(!PageUptodate(page)); create_empty_buffers(page, blocksize, (1 << BH_Uptodate) | (1 << BH_Dirty)); if (unlikely(!page_has_buffers(page))) { ntfs_warning(vol->sb, "Error allocating page " "buffers. Redirtying page so we try " "again later."); /* * Put the page back on mapping->dirty_pages, but leave * its buffers' dirty state as-is. */ redirty_page_for_writepage(wbc, page); unlock_page(page); return 0; } } bh = head = page_buffers(page); BUG_ON(!bh); /* NOTE: Different naming scheme to ntfs_read_block()! */ /* The first block in the page. */ block = (s64)page->index << (PAGE_CACHE_SHIFT - blocksize_bits); read_lock_irqsave(&ni->size_lock, flags); i_size = i_size_read(vi); initialized_size = ni->initialized_size; read_unlock_irqrestore(&ni->size_lock, flags); /* The first out of bounds block for the data size. */ dblock = (i_size + blocksize - 1) >> blocksize_bits; /* The last (fully or partially) initialized block. */ iblock = initialized_size >> blocksize_bits; /* * Be very careful. We have no exclusion from __set_page_dirty_buffers * here, and the (potentially unmapped) buffers may become dirty at * any time. If a buffer becomes dirty here after we've inspected it * then we just miss that fact, and the page stays dirty. * * Buffers outside i_size may be dirtied by __set_page_dirty_buffers; * handle that here by just cleaning them. */ /* * Loop through all the buffers in the page, mapping all the dirty * buffers to disk addresses and handling any aliases from the * underlying block device's mapping. */ rl = NULL; err = 0; do { bool is_retry = false; if (unlikely(block >= dblock)) { clear_buffer_dirty(bh); set_buffer_uptodate(bh); continue; } /* Clean buffers are not written out, so no need to map them. */ if (!buffer_dirty(bh)) continue; /* Make sure we have enough initialized size. */ if (unlikely((block >= iblock) && (initialized_size < i_size))) { /* * If this page is fully outside initialized size, zero * out all pages between the current initialized size * and the current page. Just use ntfs_readpage() to do * the zeroing transparently. */ if (block > iblock) { // TODO: // For each page do: // - read_cache_page() // Again for each page do: // - wait_on_page_locked() // - Check (PageUptodate(page) && // !PageError(page)) // Update initialized size in the attribute and // in the inode. // Again, for each page do: // __set_page_dirty_buffers(); // page_cache_release() // We don't need to wait on the writes. // Update iblock. } if (!PageUptodate(page)) { // TODO: // Zero any non-uptodate buffers up to i_size. // Set them uptodate and dirty. } // TODO: // Update initialized size in the attribute and in the // inode (up to i_size). // Update iblock. // size changes to happen in one go. ntfs_error(vol->sb, "Writing beyond initialized size " "is not supported yet. Sorry."); err = -EOPNOTSUPP; break; // Do NOT set_buffer_new() BUT DO clear buffer range // outside write request range. // set_buffer_uptodate() on complete buffers as well as // set_buffer_dirty(). } /* No need to map buffers that are already mapped. */ if (buffer_mapped(bh)) continue; /* Unmapped, dirty buffer. Need to map it. */ bh->b_bdev = vol->sb->s_bdev; /* Convert block into corresponding vcn and offset. */ vcn = (VCN)block << blocksize_bits; vcn_ofs = vcn & vol->cluster_size_mask; vcn >>= vol->cluster_size_bits; if (!rl) { lock_retry_remap: down_read(&ni->runlist.lock); rl = ni->runlist.rl; } if (likely(rl != NULL)) { /* Seek to element containing target vcn. */ while (rl->length && rl[1].vcn <= vcn) rl++; lcn = ntfs_rl_vcn_to_lcn(rl, vcn); } else lcn = LCN_RL_NOT_MAPPED; /* Successful remap. */ if (lcn >= 0) { /* Setup buffer head to point to correct block. */ bh->b_blocknr = ((lcn << vol->cluster_size_bits) + vcn_ofs) >> blocksize_bits; set_buffer_mapped(bh); continue; } /* It is a hole, need to instantiate it. */ if (lcn == LCN_HOLE) { u8 *kaddr; unsigned long *bpos, *bend; /* Check if the buffer is zero. */ kaddr = kmap_atomic(page, KM_USER0); bpos = (unsigned long *)(kaddr + bh_offset(bh)); bend = (unsigned long *)((u8*)bpos + blocksize); do { if (unlikely(*bpos)) break; } while (likely(++bpos < bend)); kunmap_atomic(kaddr, KM_USER0); if (bpos == bend) { /* * Buffer is zero and sparse, no need to write * it. */ bh->b_blocknr = -1; clear_buffer_dirty(bh); continue; } // TODO: Instantiate the hole. // clear_buffer_new(bh); // unmap_underlying_metadata(bh->b_bdev, bh->b_blocknr); ntfs_error(vol->sb, "Writing into sparse regions is " "not supported yet. Sorry."); err = -EOPNOTSUPP; break; } /* If first try and runlist unmapped, map and retry. */ if (!is_retry && lcn == LCN_RL_NOT_MAPPED) { is_retry = true; /* * Attempt to map runlist, dropping lock for * the duration. */ up_read(&ni->runlist.lock); err = ntfs_map_runlist(ni, vcn); if (likely(!err)) goto lock_retry_remap; rl = NULL; } else if (!rl) up_read(&ni->runlist.lock); /* * If buffer is outside the runlist, truncate has cut it out * of the runlist. Just clean and clear the buffer and set it * uptodate so it can get discarded by the VM. */ if (err == -ENOENT || lcn == LCN_ENOENT) { bh->b_blocknr = -1; clear_buffer_dirty(bh); zero_user(page, bh_offset(bh), blocksize); set_buffer_uptodate(bh); err = 0; continue; } /* Failed to map the buffer, even after retrying. */ if (!err) err = -EIO; bh->b_blocknr = -1; ntfs_error(vol->sb, "Failed to write to inode 0x%lx, " "attribute type 0x%x, vcn 0x%llx, offset 0x%x " "because its location on disk could not be " "determined%s (error code %i).", ni->mft_no, ni->type, (unsigned long long)vcn, vcn_ofs, is_retry ? " even after " "retrying" : "", err); break; } while (block++, (bh = bh->b_this_page) != head); /* Release the lock if we took it. */ if (rl) up_read(&ni->runlist.lock); /* For the error case, need to reset bh to the beginning. */ bh = head; /* Just an optimization, so ->readpage() is not called later. */ if (unlikely(!PageUptodate(page))) { int uptodate = 1; do { if (!buffer_uptodate(bh)) { uptodate = 0; bh = head; break; } } while ((bh = bh->b_this_page) != head); if (uptodate) SetPageUptodate(page); } /* Setup all mapped, dirty buffers for async write i/o. */ do { if (buffer_mapped(bh) && buffer_dirty(bh)) { lock_buffer(bh); if (test_clear_buffer_dirty(bh)) { BUG_ON(!buffer_uptodate(bh)); mark_buffer_async_write(bh); } else unlock_buffer(bh); } else if (unlikely(err)) { /* * For the error case. The buffer may have been set * dirty during attachment to a dirty page. */ if (err != -ENOMEM) clear_buffer_dirty(bh); } } while ((bh = bh->b_this_page) != head); if (unlikely(err)) { // TODO: Remove the -EOPNOTSUPP check later on... if (unlikely(err == -EOPNOTSUPP)) err = 0; else if (err == -ENOMEM) { ntfs_warning(vol->sb, "Error allocating memory. " "Redirtying page so we try again " "later."); /* * Put the page back on mapping->dirty_pages, but * leave its buffer's dirty state as-is. */ redirty_page_for_writepage(wbc, page); err = 0; } else SetPageError(page); } BUG_ON(PageWriteback(page)); set_page_writeback(page); /* Keeps try_to_free_buffers() away. */ /* Submit the prepared buffers for i/o. */ need_end_writeback = true; do { struct buffer_head *next = bh->b_this_page; if (buffer_async_write(bh)) { submit_bh(WRITE, bh); need_end_writeback = false; } bh = next; } while (bh != head); unlock_page(page); /* If no i/o was started, need to end_page_writeback(). */ if (unlikely(need_end_writeback)) end_page_writeback(page); ntfs_debug("Done."); return err; } /** * ntfs_write_mst_block - write a @page to the backing store * @page: page cache page to write out * @wbc: writeback control structure * * This function is for writing pages belonging to non-resident, mst protected * attributes to their backing store. The only supported attributes are index * allocation and $MFT/$DATA. Both directory inodes and index inodes are * supported for the index allocation case. * * The page must remain locked for the duration of the write because we apply * the mst fixups, write, and then undo the fixups, so if we were to unlock the * page before undoing the fixups, any other user of the page will see the * page contents as corrupt. * * We clear the page uptodate flag for the duration of the function to ensure * exclusion for the $MFT/$DATA case against someone mapping an mft record we * are about to apply the mst fixups to. * * Return 0 on success and -errno on error. * * Based on ntfs_write_block(), ntfs_mft_writepage(), and * write_mft_record_nolock(). */ static int ntfs_write_mst_block(struct page *page, struct writeback_control *wbc) { sector_t block, dblock, rec_block; struct inode *vi = page->mapping->host; ntfs_inode *ni = NTFS_I(vi); ntfs_volume *vol = ni->vol; u8 *kaddr; unsigned int rec_size = ni->itype.index.block_size; ntfs_inode *locked_nis[PAGE_CACHE_SIZE / rec_size]; struct buffer_head *bh, *head, *tbh, *rec_start_bh; struct buffer_head *bhs[MAX_BUF_PER_PAGE]; runlist_element *rl; int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; unsigned bh_size, rec_size_bits; bool sync, is_mft, page_is_dirty, rec_is_dirty; unsigned char bh_size_bits; ntfs_debug("Entering for inode 0x%lx, attribute type 0x%x, page index " "0x%lx.", vi->i_ino, ni->type, page->index); BUG_ON(!NInoNonResident(ni)); BUG_ON(!NInoMstProtected(ni)); is_mft = (S_ISREG(vi->i_mode) && !vi->i_ino); /* * NOTE: ntfs_write_mst_block() would be called for $MFTMirr if a page * in its page cache were to be marked dirty. However this should * never happen with the current driver and considering we do not * handle this case here we do want to BUG(), at least for now. */ BUG_ON(!(is_mft || S_ISDIR(vi->i_mode) || (NInoAttr(ni) && ni->type == AT_INDEX_ALLOCATION))); bh_size = vol->sb->s_blocksize; bh_size_bits = vol->sb->s_blocksize_bits; max_bhs = PAGE_CACHE_SIZE / bh_size; BUG_ON(!max_bhs); BUG_ON(max_bhs > MAX_BUF_PER_PAGE); /* Were we called for sync purposes? */ sync = (wbc->sync_mode == WB_SYNC_ALL); /* Make sure we have mapped buffers. */ bh = head = page_buffers(page); BUG_ON(!bh); rec_size_bits = ni->itype.index.block_size_bits; BUG_ON(!(PAGE_CACHE_SIZE >> rec_size_bits)); bhs_per_rec = rec_size >> bh_size_bits; BUG_ON(!bhs_per_rec); /* The first block in the page. */ rec_block = block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bh_size_bits); /* The first out of bounds block for the data size. */ dblock = (i_size_read(vi) + bh_size - 1) >> bh_size_bits; rl = NULL; err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; page_is_dirty = rec_is_dirty = false; rec_start_bh = NULL; do { bool is_retry = false; if (likely(block < rec_block)) { if (unlikely(block >= dblock)) { clear_buffer_dirty(bh); set_buffer_uptodate(bh); continue; } /* * This block is not the first one in the record. We * ignore the buffer's dirty state because we could * have raced with a parallel mark_ntfs_record_dirty(). */ if (!rec_is_dirty) continue; if (unlikely(err2)) { if (err2 != -ENOMEM) clear_buffer_dirty(bh); continue; } } else /* if (block == rec_block) */ { BUG_ON(block > rec_block); /* This block is the first one in the record. */ rec_block += bhs_per_rec; err2 = 0; if (unlikely(block >= dblock)) { clear_buffer_dirty(bh); continue; } if (!buffer_dirty(bh)) { /* Clean records are not written out. */ rec_is_dirty = false; continue; } rec_is_dirty = true; rec_start_bh = bh; } /* Need to map the buffer if it is not mapped already. */ if (unlikely(!buffer_mapped(bh))) { VCN vcn; LCN lcn; unsigned int vcn_ofs; bh->b_bdev = vol->sb->s_bdev; /* Obtain the vcn and offset of the current block. */ vcn = (VCN)block << bh_size_bits; vcn_ofs = vcn & vol->cluster_size_mask; vcn >>= vol->cluster_size_bits; if (!rl) { lock_retry_remap: down_read(&ni->runlist.lock); rl = ni->runlist.rl; } if (likely(rl != NULL)) { /* Seek to element containing target vcn. */ while (rl->length && rl[1].vcn <= vcn) rl++; lcn = ntfs_rl_vcn_to_lcn(rl, vcn); } else lcn = LCN_RL_NOT_MAPPED; /* Successful remap. */ if (likely(lcn >= 0)) { /* Setup buffer head to correct block. */ bh->b_blocknr = ((lcn << vol->cluster_size_bits) + vcn_ofs) >> bh_size_bits; set_buffer_mapped(bh); } else { /* * Remap failed. Retry to map the runlist once * unless we are working on $MFT which always * has the whole of its runlist in memory. */ if (!is_mft && !is_retry && lcn == LCN_RL_NOT_MAPPED) { is_retry = true; /* * Attempt to map runlist, dropping * lock for the duration. */ up_read(&ni->runlist.lock); err2 = ntfs_map_runlist(ni, vcn); if (likely(!err2)) goto lock_retry_remap; if (err2 == -ENOMEM) page_is_dirty = true; lcn = err2; } else { err2 = -EIO; if (!rl) up_read(&ni->runlist.lock); } /* Hard error. Abort writing this record. */ if (!err || err == -ENOMEM) err = err2; bh->b_blocknr = -1; ntfs_error(vol->sb, "Cannot write ntfs record " "0x%llx (inode 0x%lx, " "attribute type 0x%x) because " "its location on disk could " "not be determined (error " "code %lli).", (long long)block << bh_size_bits >> vol->mft_record_size_bits, ni->mft_no, ni->type, (long long)lcn); /* * If this is not the first buffer, remove the * buffers in this record from the list of * buffers to write and clear their dirty bit * if not error -ENOMEM. */ if (rec_start_bh != bh) { while (bhs[--nr_bhs] != rec_start_bh) ; if (err2 != -ENOMEM) { do { clear_buffer_dirty( rec_start_bh); } while ((rec_start_bh = rec_start_bh-> b_this_page) != bh); } } continue; } } BUG_ON(!buffer_uptodate(bh)); BUG_ON(nr_bhs >= max_bhs); bhs[nr_bhs++] = bh; } while (block++, (bh = bh->b_this_page) != head); if (unlikely(rl)) up_read(&ni->runlist.lock); /* If there were no dirty buffers, we are done. */ if (!nr_bhs) goto done; /* Map the page so we can access its contents. */ kaddr = kmap(page); /* Clear the page uptodate flag whilst the mst fixups are applied. */ BUG_ON(!PageUptodate(page)); ClearPageUptodate(page); for (i = 0; i < nr_bhs; i++) { unsigned int ofs; /* Skip buffers which are not at the beginning of records. */ if (i % bhs_per_rec) continue; tbh = bhs[i]; ofs = bh_offset(tbh); if (is_mft) { ntfs_inode *tni; unsigned long mft_no; /* Get the mft record number. */ mft_no = (((s64)page->index << PAGE_CACHE_SHIFT) + ofs) >> rec_size_bits; /* Check whether to write this mft record. */ tni = NULL; if (!ntfs_may_write_mft_record(vol, mft_no, (MFT_RECORD*)(kaddr + ofs), &tni)) { /* * The record should not be written. This * means we need to redirty the page before * returning. */ page_is_dirty = true; /* * Remove the buffers in this mft record from * the list of buffers to write. */ do { bhs[i] = NULL; } while (++i % bhs_per_rec); continue; } /* * The record should be written. If a locked ntfs * inode was returned, add it to the array of locked * ntfs inodes. */ if (tni) locked_nis[nr_locked_nis++] = tni; } /* Apply the mst protection fixups. */ err2 = pre_write_mst_fixup((NTFS_RECORD*)(kaddr + ofs), rec_size); if (unlikely(err2)) { if (!err || err == -ENOMEM) err = -EIO; ntfs_error(vol->sb, "Failed to apply mst fixups " "(inode 0x%lx, attribute type 0x%x, " "page index 0x%lx, page offset 0x%x)!" " Unmount and run chkdsk.", vi->i_ino, ni->type, page->index, ofs); /* * Mark all the buffers in this record clean as we do * not want to write corrupt data to disk. */ do { clear_buffer_dirty(bhs[i]); bhs[i] = NULL; } while (++i % bhs_per_rec); continue; } nr_recs++; } /* If no records are to be written out, we are done. */ if (!nr_recs) goto unm_done; flush_dcache_page(page); /* Lock buffers and start synchronous write i/o on them. */ for (i = 0; i < nr_bhs; i++) { tbh = bhs[i]; if (!tbh) continue; if (!trylock_buffer(tbh)) BUG(); /* The buffer dirty state is now irrelevant, just clean it. */ clear_buffer_dirty(tbh); BUG_ON(!buffer_uptodate(tbh)); BUG_ON(!buffer_mapped(tbh)); get_bh(tbh); tbh->b_end_io = end_buffer_write_sync; submit_bh(WRITE, tbh); } /* Synchronize the mft mirror now if not @sync. */ if (is_mft && !sync) goto do_mirror; do_wait: /* Wait on i/o completion of buffers. */ for (i = 0; i < nr_bhs; i++) { tbh = bhs[i]; if (!tbh) continue; wait_on_buffer(tbh); if (unlikely(!buffer_uptodate(tbh))) { ntfs_error(vol->sb, "I/O error while writing ntfs " "record buffer (inode 0x%lx, " "attribute type 0x%x, page index " "0x%lx, page offset 0x%lx)! Unmount " "and run chkdsk.", vi->i_ino, ni->type, page->index, bh_offset(tbh)); if (!err || err == -ENOMEM) err = -EIO; /* * Set the buffer uptodate so the page and buffer * states do not become out of sync. */ set_buffer_uptodate(tbh); } } /* If @sync, now synchronize the mft mirror. */ if (is_mft && sync) { do_mirror: for (i = 0; i < nr_bhs; i++) { unsigned long mft_no; unsigned int ofs; /* * Skip buffers which are not at the beginning of * records. */ if (i % bhs_per_rec) continue; tbh = bhs[i]; /* Skip removed buffers (and hence records). */ if (!tbh) continue; ofs = bh_offset(tbh); /* Get the mft record number. */ mft_no = (((s64)page->index << PAGE_CACHE_SHIFT) + ofs) >> rec_size_bits; if (mft_no < vol->mftmirr_size) ntfs_sync_mft_mirror(vol, mft_no, (MFT_RECORD*)(kaddr + ofs), sync); } if (!sync) goto do_wait; } /* Remove the mst protection fixups again. */ for (i = 0; i < nr_bhs; i++) { if (!(i % bhs_per_rec)) { tbh = bhs[i]; if (!tbh) continue; post_write_mst_fixup((NTFS_RECORD*)(kaddr + bh_offset(tbh))); } } flush_dcache_page(page); unm_done: /* Unlock any locked inodes. */ while (nr_locked_nis-- > 0) { ntfs_inode *tni, *base_tni; tni = locked_nis[nr_locked_nis]; /* Get the base inode. */ mutex_lock(&tni->extent_lock); if (tni->nr_extents >= 0) base_tni = tni; else { base_tni = tni->ext.base_ntfs_ino; BUG_ON(!base_tni); } mutex_unlock(&tni->extent_lock); ntfs_debug("Unlocking %s inode 0x%lx.", tni == base_tni ? "base" : "extent", tni->mft_no); mutex_unlock(&tni->mrec_lock); atomic_dec(&tni->count); iput(VFS_I(base_tni)); } SetPageUptodate(page); kunmap(page); done: if (unlikely(err && err != -ENOMEM)) { /* * Set page error if there is only one ntfs record in the page. * Otherwise we would loose per-record granularity. */ if (ni->itype.index.block_size == PAGE_CACHE_SIZE) SetPageError(page); NVolSetErrors(vol); } if (page_is_dirty) { ntfs_debug("Page still contains one or more dirty ntfs " "records. Redirtying the page starting at " "record 0x%lx.", page->index << (PAGE_CACHE_SHIFT - rec_size_bits)); redirty_page_for_writepage(wbc, page); unlock_page(page); } else { /* * Keep the VM happy. This must be done otherwise the * radix-tree tag PAGECACHE_TAG_DIRTY remains set even though * the page is clean. */ BUG_ON(PageWriteback(page)); set_page_writeback(page); unlock_page(page); end_page_writeback(page); } if (likely(!err)) ntfs_debug("Done."); return err; } /** * ntfs_writepage - write a @page to the backing store * @page: page cache page to write out * @wbc: writeback control structure * * This is called from the VM when it wants to have a dirty ntfs page cache * page cleaned. The VM has already locked the page and marked it clean. * * For non-resident attributes, ntfs_writepage() writes the @page by calling * the ntfs version of the generic block_write_full_page() function, * ntfs_write_block(), which in turn if necessary creates and writes the * buffers associated with the page asynchronously. * * For resident attributes, OTOH, ntfs_writepage() writes the @page by copying * the data to the mft record (which at this stage is most likely in memory). * The mft record is then marked dirty and written out asynchronously via the * vfs inode dirty code path for the inode the mft record belongs to or via the * vm page dirty code path for the page the mft record is in. * * Based on ntfs_readpage() and fs/buffer.c::block_write_full_page(). * * Return 0 on success and -errno on error. */ static int ntfs_writepage(struct page *page, struct writeback_control *wbc) { loff_t i_size; struct inode *vi = page->mapping->host; ntfs_inode *base_ni = NULL, *ni = NTFS_I(vi); char *addr; ntfs_attr_search_ctx *ctx = NULL; MFT_RECORD *m = NULL; u32 attr_len; int err; retry_writepage: BUG_ON(!PageLocked(page)); i_size = i_size_read(vi); /* Is the page fully outside i_size? (truncate in progress) */ if (unlikely(page->index >= (i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT)) { /* * The page may have dirty, unmapped buffers. Make them * freeable here, so the page does not leak. */ block_invalidatepage(page, 0); unlock_page(page); ntfs_debug("Write outside i_size - truncated?"); return 0; } /* * Only $DATA attributes can be encrypted and only unnamed $DATA * attributes can be compressed. Index root can have the flags set but * this means to create compressed/encrypted files, not that the * attribute is compressed/encrypted. Note we need to check for * AT_INDEX_ALLOCATION since this is the type of both directory and * index inodes. */ if (ni->type != AT_INDEX_ALLOCATION) { /* If file is encrypted, deny access, just like NT4. */ if (NInoEncrypted(ni)) { unlock_page(page); BUG_ON(ni->type != AT_DATA); ntfs_debug("Denying write access to encrypted file."); return -EACCES; } /* Compressed data streams are handled in compress.c. */ if (NInoNonResident(ni) && NInoCompressed(ni)) { BUG_ON(ni->type != AT_DATA); BUG_ON(ni->name_len); // TODO: Implement and replace this with // return ntfs_write_compressed_block(page); unlock_page(page); ntfs_error(vi->i_sb, "Writing to compressed files is " "not supported yet. Sorry."); return -EOPNOTSUPP; } // TODO: Implement and remove this check. if (NInoNonResident(ni) && NInoSparse(ni)) { unlock_page(page); ntfs_error(vi->i_sb, "Writing to sparse files is not " "supported yet. Sorry."); return -EOPNOTSUPP; } } /* NInoNonResident() == NInoIndexAllocPresent() */ if (NInoNonResident(ni)) { /* We have to zero every time due to mmap-at-end-of-file. */ if (page->index >= (i_size >> PAGE_CACHE_SHIFT)) { /* The page straddles i_size. */ unsigned int ofs = i_size & ~PAGE_CACHE_MASK; zero_user_segment(page, ofs, PAGE_CACHE_SIZE); } /* Handle mst protected attributes. */ if (NInoMstProtected(ni)) return ntfs_write_mst_block(page, wbc); /* Normal, non-resident data stream. */ return ntfs_write_block(page, wbc); } /* * Attribute is resident, implying it is not compressed, encrypted, or * mst protected. This also means the attribute is smaller than an mft * record and hence smaller than a page, so can simply return error on * any pages with index above 0. Note the attribute can actually be * marked compressed but if it is resident the actual data is not * compressed so we are ok to ignore the compressed flag here. */ BUG_ON(page_has_buffers(page)); BUG_ON(!PageUptodate(page)); if (unlikely(page->index > 0)) { ntfs_error(vi->i_sb, "BUG()! page->index (0x%lx) > 0. " "Aborting write.", page->index); BUG_ON(PageWriteback(page)); set_page_writeback(page); unlock_page(page); end_page_writeback(page); return -EIO; } if (!NInoAttr(ni)) base_ni = ni; else base_ni = ni->ext.base_ntfs_ino; /* Map, pin, and lock the mft record. */ m = map_mft_record(base_ni); if (IS_ERR(m)) { err = PTR_ERR(m); m = NULL; ctx = NULL; goto err_out; } /* * If a parallel write made the attribute non-resident, drop the mft * record and retry the writepage. */ if (unlikely(NInoNonResident(ni))) { unmap_mft_record(base_ni); goto retry_writepage; } ctx = ntfs_attr_get_search_ctx(base_ni, m); if (unlikely(!ctx)) { err = -ENOMEM; goto err_out; } err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, CASE_SENSITIVE, 0, NULL, 0, ctx); if (unlikely(err)) goto err_out; /* * Keep the VM happy. This must be done otherwise the radix-tree tag * PAGECACHE_TAG_DIRTY remains set even though the page is clean. */ BUG_ON(PageWriteback(page)); set_page_writeback(page); unlock_page(page); attr_len = le32_to_cpu(ctx->attr->data.resident.value_length); i_size = i_size_read(vi); if (unlikely(attr_len > i_size)) { /* Race with shrinking truncate or a failed truncate. */ attr_len = i_size; /* * If the truncate failed, fix it up now. If a concurrent * truncate, we do its job, so it does not have to do anything. */ err = ntfs_resident_attr_value_resize(ctx->mrec, ctx->attr, attr_len); /* Shrinking cannot fail. */ BUG_ON(err); } addr = kmap_atomic(page, KM_USER0); /* Copy the data from the page to the mft record. */ memcpy((u8*)ctx->attr + le16_to_cpu(ctx->attr->data.resident.value_offset), addr, attr_len); /* Zero out of bounds area in the page cache page. */ memset(addr + attr_len, 0, PAGE_CACHE_SIZE - attr_len); kunmap_atomic(addr, KM_USER0); flush_dcache_page(page); flush_dcache_mft_record_page(ctx->ntfs_ino); /* We are done with the page. */ end_page_writeback(page); /* Finally, mark the mft record dirty, so it gets written back. */ mark_mft_record_dirty(ctx->ntfs_ino); ntfs_attr_put_search_ctx(ctx); unmap_mft_record(base_ni); return 0; err_out: if (err == -ENOMEM) { ntfs_warning(vi->i_sb, "Error allocating memory. Redirtying " "page so we try again later."); /* * Put the page back on mapping->dirty_pages, but leave its * buffers' dirty state as-is. */ redirty_page_for_writepage(wbc, page); err = 0; } else { ntfs_error(vi->i_sb, "Resident attribute write failed with " "error %i.", err); SetPageError(page); NVolSetErrors(ni->vol); } unlock_page(page); if (ctx) ntfs_attr_put_search_ctx(ctx); if (m) unmap_mft_record(base_ni); return err; } #endif /* NTFS_RW */ /** * ntfs_aops - general address space operations for inodes and attributes */ const struct address_space_operations ntfs_aops = { .readpage = ntfs_readpage, /* Fill page with data. */ .sync_page = block_sync_page, /* Currently, just unplugs the disk request queue. */ #ifdef NTFS_RW .writepage = ntfs_writepage, /* Write dirty page to disk. */ #endif /* NTFS_RW */ .migratepage = buffer_migrate_page, /* Move a page cache page from one physical page to an other. */ .error_remove_page = generic_error_remove_page, }; /** * ntfs_mst_aops - general address space operations for mst protecteed inodes * and attributes */ const struct address_space_operations ntfs_mst_aops = { .readpage = ntfs_readpage, /* Fill page with data. */ .sync_page = block_sync_page, /* Currently, just unplugs the disk request queue. */ #ifdef NTFS_RW .writepage = ntfs_writepage, /* Write dirty page to disk. */ .set_page_dirty = __set_page_dirty_nobuffers, /* Set the page dirty without touching the buffers belonging to the page. */ #endif /* NTFS_RW */ .migratepage = buffer_migrate_page, /* Move a page cache page from one physical page to an other. */ .error_remove_page = generic_error_remove_page, }; #ifdef NTFS_RW /** * mark_ntfs_record_dirty - mark an ntfs record dirty * @page: page containing the ntfs record to mark dirty * @ofs: byte offset within @page at which the ntfs record begins * * Set the buffers and the page in which the ntfs record is located dirty. * * The latter also marks the vfs inode the ntfs record belongs to dirty * (I_DIRTY_PAGES only). * * If the page does not have buffers, we create them and set them uptodate. * The page may not be locked which is why we need to handle the buffers under * the mapping->private_lock. Once the buffers are marked dirty we no longer * need the lock since try_to_free_buffers() does not free dirty buffers. */ void mark_ntfs_record_dirty(struct page *page, const unsigned int ofs) { struct address_space *mapping = page->mapping; ntfs_inode *ni = NTFS_I(mapping->host); struct buffer_head *bh, *head, *buffers_to_free = NULL; unsigned int end, bh_size, bh_ofs; BUG_ON(!PageUptodate(page)); end = ofs + ni->itype.index.block_size; bh_size = VFS_I(ni)->i_sb->s_blocksize; spin_lock(&mapping->private_lock); if (unlikely(!page_has_buffers(page))) { spin_unlock(&mapping->private_lock); bh = head = alloc_page_buffers(page, bh_size, 1); spin_lock(&mapping->private_lock); if (likely(!page_has_buffers(page))) { struct buffer_head *tail; do { set_buffer_uptodate(bh); tail = bh; bh = bh->b_this_page; } while (bh); tail->b_this_page = head; attach_page_buffers(page, head); } else buffers_to_free = bh; } bh = head = page_buffers(page); BUG_ON(!bh); do { bh_ofs = bh_offset(bh); if (bh_ofs + bh_size <= ofs) continue; if (unlikely(bh_ofs >= end)) break; set_buffer_dirty(bh); } while ((bh = bh->b_this_page) != head); spin_unlock(&mapping->private_lock); __set_page_dirty_nobuffers(page); if (unlikely(buffers_to_free)) { do { bh = buffers_to_free->b_this_page; free_buffer_head(buffers_to_free); buffers_to_free = bh; } while (buffers_to_free); } } #endif /* NTFS_RW */
{ "pile_set_name": "Github" }
/* Linker script to configure memory regions. */ SEARCH_DIR(.) GROUP(-lgcc -lc -lnosys) MEMORY { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 128K RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 16K } INCLUDE "gcc_nrf51_common.ld"
{ "pile_set_name": "Github" }
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. /* * This file was automatically generated by com.microsoft.tfs.core.ws.generator.Generator * from the /complexType.vm template. */ package ms.tfs.versioncontrol.clientservices._03; import com.microsoft.tfs.core.ws.runtime.*; import com.microsoft.tfs.core.ws.runtime.serialization.*; import com.microsoft.tfs.core.ws.runtime.types.*; import com.microsoft.tfs.core.ws.runtime.util.*; import com.microsoft.tfs.core.ws.runtime.xml.*; import ms.tfs.versioncontrol.clientservices._03._Repository5Soap_CheckPendingChanges; import java.lang.String; import java.util.ArrayList; import java.util.List; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; /** * Automatically generated complex type class. */ public class _Repository5Soap_CheckPendingChanges implements ElementSerializable { // No attributes // Elements protected String workspaceName; protected String ownerName; protected String[] serverItems; protected int maxClientPathLength; public _Repository5Soap_CheckPendingChanges() { super(); } public _Repository5Soap_CheckPendingChanges( final String workspaceName, final String ownerName, final String[] serverItems, final int maxClientPathLength) { // TODO : Call super() instead of setting all fields directly? setWorkspaceName(workspaceName); setOwnerName(ownerName); setServerItems(serverItems); setMaxClientPathLength(maxClientPathLength); } public String getWorkspaceName() { return this.workspaceName; } public void setWorkspaceName(String value) { this.workspaceName = value; } public String getOwnerName() { return this.ownerName; } public void setOwnerName(String value) { this.ownerName = value; } public String[] getServerItems() { return this.serverItems; } public void setServerItems(String[] value) { this.serverItems = value; } public int getMaxClientPathLength() { return this.maxClientPathLength; } public void setMaxClientPathLength(int value) { this.maxClientPathLength = value; } public void writeAsElement( final XMLStreamWriter writer, final String name) throws XMLStreamException { writer.writeStartElement(name); // Elements XMLStreamWriterHelper.writeElement( writer, "workspaceName", this.workspaceName); XMLStreamWriterHelper.writeElement( writer, "ownerName", this.ownerName); if (this.serverItems != null) { /* * The element type is an array. */ writer.writeStartElement("serverItems"); for (int iterator0 = 0; iterator0 < this.serverItems.length; iterator0++) { XMLStreamWriterHelper.writeElement( writer, "string", this.serverItems[iterator0]); } writer.writeEndElement(); } XMLStreamWriterHelper.writeElement( writer, "maxClientPathLength", this.maxClientPathLength); writer.writeEndElement(); } }
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_65) on Tue Jun 23 19:39:40 MSK 2015 --> <TITLE> Rect </TITLE> <META NAME="date" CONTENT="2015-06-23"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Rect"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> OpenCV 3.0.0</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../org/opencv/core/Range.html" title="class in org.opencv.core"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../org/opencv/core/RotatedRect.html" title="class in org.opencv.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/opencv/core/Rect.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Rect.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.opencv.core</FONT> <BR> Class Rect</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.opencv.core.Rect</B> </PRE> <HR> <DL> <DT><PRE>public class <B>Rect</B><DT>extends java.lang.Object</DL> </PRE> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#height">height</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#width">width</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#x">x</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#y">y</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#Rect()">Rect</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#Rect(double[])">Rect</A></B>(double[]&nbsp;vals)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#Rect(int, int, int, int)">Rect</A></B>(int&nbsp;x, int&nbsp;y, int&nbsp;width, int&nbsp;height)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#Rect(org.opencv.core.Point, org.opencv.core.Point)">Rect</A></B>(<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p1, <A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p2)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#Rect(org.opencv.core.Point, org.opencv.core.Size)">Rect</A></B>(<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p, <A HREF="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</A>&nbsp;s)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#area()">area</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#br()">br</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../org/opencv/core/Rect.html" title="class in org.opencv.core">Rect</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#clone()">clone</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#contains(org.opencv.core.Point)">contains</A></B>(<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#hashCode()">hashCode</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#set(double[])">set</A></B>(double[]&nbsp;vals)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#size()">size</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#tl()">tl</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/opencv/core/Rect.html#toString()">toString</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="height"><!-- --></A><H3> height</H3> <PRE> public int <B>height</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="width"><!-- --></A><H3> width</H3> <PRE> public int <B>width</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="x"><!-- --></A><H3> x</H3> <PRE> public int <B>x</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="y"><!-- --></A><H3> y</H3> <PRE> public int <B>y</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Rect()"><!-- --></A><H3> Rect</H3> <PRE> public <B>Rect</B>()</PRE> <DL> </DL> <HR> <A NAME="Rect(double[])"><!-- --></A><H3> Rect</H3> <PRE> public <B>Rect</B>(double[]&nbsp;vals)</PRE> <DL> </DL> <HR> <A NAME="Rect(int, int, int, int)"><!-- --></A><H3> Rect</H3> <PRE> public <B>Rect</B>(int&nbsp;x, int&nbsp;y, int&nbsp;width, int&nbsp;height)</PRE> <DL> </DL> <HR> <A NAME="Rect(org.opencv.core.Point, org.opencv.core.Point)"><!-- --></A><H3> Rect</H3> <PRE> public <B>Rect</B>(<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p1, <A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p2)</PRE> <DL> </DL> <HR> <A NAME="Rect(org.opencv.core.Point, org.opencv.core.Size)"><!-- --></A><H3> Rect</H3> <PRE> public <B>Rect</B>(<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p, <A HREF="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</A>&nbsp;s)</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="area()"><!-- --></A><H3> area</H3> <PRE> public double <B>area</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="br()"><!-- --></A><H3> br</H3> <PRE> public <A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A> <B>br</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clone()"><!-- --></A><H3> clone</H3> <PRE> public <A HREF="../../../org/opencv/core/Rect.html" title="class in org.opencv.core">Rect</A> <B>clone</B>()</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="contains(org.opencv.core.Point)"><!-- --></A><H3> contains</H3> <PRE> public boolean <B>contains</B>(<A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A>&nbsp;p)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hashCode()"><!-- --></A><H3> hashCode</H3> <PRE> public int <B>hashCode</B>()</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="set(double[])"><!-- --></A><H3> set</H3> <PRE> public void <B>set</B>(double[]&nbsp;vals)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="size()"><!-- --></A><H3> size</H3> <PRE> public <A HREF="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</A> <B>size</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="tl()"><!-- --></A><H3> tl</H3> <PRE> public <A HREF="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</A> <B>tl</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public java.lang.String <B>toString</B>()</PRE> <DL> <DD><DL> <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <a href=http://docs.opencv.org>OpenCV 3.0.0 Documentation</a></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../org/opencv/core/Range.html" title="class in org.opencv.core"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../org/opencv/core/RotatedRect.html" title="class in org.opencv.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/opencv/core/Rect.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Rect.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
{ "pile_set_name": "Github" }
[![Gitter chat](http://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg)](https://gitter.im/opentracing/public) [![Build Status](https://travis-ci.org/opentracing/opentracing-go.svg?branch=master)](https://travis-ci.org/opentracing/opentracing-go) [![GoDoc](https://godoc.org/github.com/opentracing/opentracing-go?status.svg)](http://godoc.org/github.com/opentracing/opentracing-go) # OpenTracing API for Go This package is a Go platform API for OpenTracing. ## Required Reading In order to understand the Go platform API, one must first be familiar with the [OpenTracing project](http://opentracing.io) and [terminology](http://opentracing.io/documentation/pages/spec.html) more specifically. ## API overview for those adding instrumentation Everyday consumers of this `opentracing` package really only need to worry about a couple of key abstractions: the `StartSpan` function, the `Span` interface, and binding a `Tracer` at `main()`-time. Here are code snippets demonstrating some important use cases. #### Singleton initialization The simplest starting point is `./default_tracer.go`. As early as possible, call ```go import "github.com/opentracing/opentracing-go" import ".../some_tracing_impl" func main() { opentracing.InitGlobalTracer( // tracing impl specific: some_tracing_impl.New(...), ) ... } ``` ##### Non-Singleton initialization If you prefer direct control to singletons, manage ownership of the `opentracing.Tracer` implementation explicitly. #### Creating a Span given an existing Go `context.Context` If you use `context.Context` in your application, OpenTracing's Go library will happily rely on it for `Span` propagation. To start a new (blocking child) `Span`, you can use `StartSpanFromContext`. ```go func xyz(ctx context.Context, ...) { ... span, ctx := opentracing.StartSpanFromContext(ctx, "operation_name") defer span.Finish() span.LogFields( log.String("event", "soft error"), log.String("type", "cache timeout"), log.Int("waited.millis", 1500)) ... } ``` #### Starting an empty trace by creating a "root span" It's always possible to create a "root" `Span` with no parent or other causal reference. ```go func xyz() { ... sp := opentracing.StartSpan("operation_name") defer sp.Finish() ... } ``` #### Creating a (child) Span given an existing (parent) Span ```go func xyz(parentSpan opentracing.Span, ...) { ... sp := opentracing.StartSpan( "operation_name", opentracing.ChildOf(parentSpan.Context())) defer sp.Finish() ... } ``` #### Serializing to the wire ```go func makeSomeRequest(ctx context.Context) ... { if span := opentracing.SpanFromContext(ctx); span != nil { httpClient := &http.Client{} httpReq, _ := http.NewRequest("GET", "http://myservice/", nil) // Transmit the span's TraceContext as HTTP headers on our // outbound request. opentracing.GlobalTracer().Inject( span.Context(), opentracing.HTTPHeaders, opentracing.HTTPHeadersCarrier(httpReq.Header)) resp, err := httpClient.Do(httpReq) ... } ... } ``` #### Deserializing from the wire ```go http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) { var serverSpan opentracing.Span appSpecificOperationName := ... wireContext, err := opentracing.GlobalTracer().Extract( opentracing.HTTPHeaders, opentracing.HTTPHeadersCarrier(req.Header)) if err != nil { // Optionally record something about err here } // Create the span referring to the RPC client if available. // If wireContext == nil, a root span will be created. serverSpan = opentracing.StartSpan( appSpecificOperationName, ext.RPCServerOption(wireContext)) defer serverSpan.Finish() ctx := opentracing.ContextWithSpan(context.Background(), serverSpan) ... } ``` #### Goroutine-safety The entire public API is goroutine-safe and does not require external synchronization. ## API pointers for those implementing a tracing system Tracing system implementors may be able to reuse or copy-paste-modify the `basictracer` package, found [here](https://github.com/opentracing/basictracer-go). In particular, see `basictracer.New(...)`. ## API compatibility For the time being, "mild" backwards-incompatible changes may be made without changing the major version number. As OpenTracing and `opentracing-go` mature, backwards compatibility will become more of a priority.
{ "pile_set_name": "Github" }
def find_busiest_period(data): timestamp = -1 if not data: return timestamp if len(data) == 1: # data[0][2] always 1 return data[0][0] n = len(data) cnt = maxi = 0 for i in range(len(data)): if data[i][2] == 1: cnt += data[i][1] else: cnt -= data[i][1] if (i == n - 1 or data[i][0] != data[i + 1][0]) and cnt > maxi: maxi = cnt timestamp = data[i][0] return timestamp
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> </startup> </configuration>
{ "pile_set_name": "Github" }
# Backbone.js + LMD • [TodoMVC](http://todomvc.com) `LMD` is Yet Another RequireJS based on LMD ideology. This is adapted `backbone_require` example for LMD. Open `index.html` for basic version and `index-cache.html` for version with localStorage module cache. ## Tests This application is and adoptation of `backbone_require` thats why tests are not included. LMD itself are covered by unit tests (~97% Code Coverage). TravisCI Build status [![Build Status](https://secure.travis-ci.org/azproduction/lmd.png?branch=master)](http://travis-ci.org/azproduction/lmd) ## Building All modules are **already compiled**. But you can do it by yourself. ```bash $ npm install lmd -g $ cd lmd/examples/demos/backbone_lmd/backbone_lmd # To see the build info $ lmd info dev-cache # To build $ lmd build dev info: Building `dev` (.lmd/dev.lmd.json) info: Writing LMD Package to ../compiled/dev.lmd.js $ lmd build dev-cache info: Building `dev-cache` (.lmd/dev-cache.lmd.json) info: Writing LMD Package to ../compiled/dev-cache.lmd.js # Setup watcher $ lmd watch dev ``` ## Building using [grunt-lmd](https://github.com/azproduction/grunt-lmd) See Gruntfile.js for configuration example. Or all available [parameters](https://github.com/azproduction/grunt-lmd#parameters) ## Credit Initial release by @azproduction.
{ "pile_set_name": "Github" }
#ifndef HTTP_STATUS_CODES_HPP #define HTTP_STATUS_CODES_HPP #include "status_code_constants.hpp" #include "../../util/detail/string_view" namespace http { util::sview code_description(const status_t status_code) noexcept; template<typename = void> inline bool is_informational(const status_t status_code) noexcept { return (status_code >= Continue) and (status_code <= Processing); } template<typename = void> inline bool is_success(const status_t status_code) noexcept { return (status_code >= OK) and (status_code <= IM_Used); } template<typename = void> inline bool is_redirection(const status_t status_code) noexcept { return (status_code >= Multiple_Choices) and (status_code <= Permanent_Redirect); } template<typename = void> inline bool is_client_error(const status_t status_code) noexcept { return (status_code >= Bad_Request) and (status_code <= Request_Header_Fields_Too_Large); } template<typename = void> inline bool is_server_error(const status_t status_code) noexcept { return (status_code >= Internal_Server_Error) and (status_code <= Network_Authentication_Required); } } //< namespace http #endif //< HTTP_STATUS_CODES_HPP
{ "pile_set_name": "Github" }
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "IKDeviceBrowserView.h" #import "IBDocumentArchiving-Protocol.h" @interface IKDeviceBrowserView (IBDocumentArchivingGenerator) <IBDocumentArchiving> - (void)unarchiveWithDocumentUnarchiver:(id)arg1; - (void)archiveWithDocumentArchiver:(id)arg1; @end
{ "pile_set_name": "Github" }
This package contains tools from the Qt3 Graphical User Interface toolkit. This includes Qt Designer; Qt Linguist, lupdate and lrelease for translating international applications; qm2ts for converting old .qm ii18n message files; Qt Assistant for finding help; qtconfig configuration tool (with online help); uic, the User Interface Compiler; and qmake for creating Makefiles from simple platform-independent project files. Qt Designer accelerates GUI application development and maintenance by offering a WYSIWYG (What You See Is What You Get) drag and drop interface for UI creation and maintenance. Qt Designer employs a vendor neutral, XML-format for persistent storage, which simplifies the tasks involved with the creation and layout of dialogs.
{ "pile_set_name": "Github" }
{ "data": { "type": "posts", "id": "202", "attributes": { "content": "Post 2 content", "created": "2015-02-05T08:10:00.0000000+00:00", "title": "Post 2" }, "relationships": { "author": { "links": { "self": "https://www.example.com/posts/202/relationships/author", "related": "https://www.example.com/posts/202/author" } }, "comments": { "links": { "self": "https://www.example.com/posts/202/relationships/comments", "related": "https://www.example.com/posts/202/comments" } }, "tags": { "links": { "self": "https://www.example.com/posts/202/relationships/tags", "related": "https://www.example.com/posts/202/tags" } } } } }
{ "pile_set_name": "Github" }
add_llvm_library(LLVMBinaryFormat AMDGPUMetadataVerifier.cpp Dwarf.cpp Magic.cpp MsgPackReader.cpp MsgPackTypes.cpp MsgPackWriter.cpp Wasm.cpp ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/BinaryFormat )
{ "pile_set_name": "Github" }
sha256:b38e66fb3acf45507306e47afbf72ca4b3cde62629a70d919bb532302a0638c1
{ "pile_set_name": "Github" }
module Plugin.Imports ( module B , module D , module G , module P ) where -- Things I wish were in Prelude import Control.Category as B ((<<<), (>>>)) import Control.Monad as B ((<=<), (>=>)) import Control.Lens as B ((^.), (.~), (%~)) import Data.Function as B import Data.Functor as B ((<&>)) import Data.Text as B (Text, append, pack, unpack) -- Dependencies import Control.Concurrent.STM.TVar as D import Control.Monad.STM as D import Data.Vector as D (Vector, mapMaybe, toList, unfoldrNM, (!?)) import Linear as D -- Godot import Godot.Api as G import Godot.Gdnative.Internal.Gdnative as G -- Hiding things you shouldn't have to bother with import Godot.Gdnative.Types as G hiding (AsVariant, GodotFFI, LibType, TypeOf) import Godot.Internal.Dispatch as G -- import Godot import Godot.Nativescript import System.Clock as P import Control.Monad.Extra as P (when, whenM)
{ "pile_set_name": "Github" }
{% extends "mobile/documents/page.mobile" %} {% block title %}{% trans %}Edit{% endtrans %} | {{ folder|htsafe }} | {% trans %}Documents{% endtrans %}{% endblock %} {% block module_title %}{{ folder }}{% endblock %} {% block module_subtitle %}{% trans %}Folder{% endtrans %}{% endblock %} {% block module_topmenu %} <a class="top-menu add-link" href="{% url documents_folder_add_typed folder.id %}">{% trans %}New Folder{% endtrans %}</a> <a class="top-menu add-link" href="{% url documents_document_add_typed folder.id %}">{% trans %}New Document{% endtrans %}</a> <a class="top-menu add-link" href="{% url documents_weblink_add_typed folder.id %}">{% trans %}New Web Link{% endtrans %}</a> <a class="top-menu add-link" href="{% url documents_file_upload_typed folder.id %}">{% trans %}Upload File{% endtrans %}</a> <a class="top-menu view-link" href="{% url documents_folder_view folder.id %}">{% trans %}View{% endtrans %}</a> {% if user.profile.has_permission(folder, mode='w') %} <a class="top-menu edit-link-active" href="{% url documents_folder_edit folder.id %}">{% trans %}Edit{% endtrans %}</a> <a class="top-menu delete-link" href="{% url documents_folder_delete folder.id %}">{% trans %}Delete{% endtrans %}</a> {% endif %} {% endblock %} {% block module_content %} <form action="" method="post" class="content-form"> {% csrf_token %} <ul class="content-form-fields"> {{ form|htsafe }} </ul> <div class="content-form-submit ui-grid-a"> <div class="ui-block-a"> <input data-theme="b" type="submit" name="save" value="{% trans %}Save{% endtrans %}" /> </div> <div class="ui-block-b"> <input type="submit" name="cancel" value="{% trans %}Cancel{% endtrans %}" class="cancel" /> </div> </div> </form> {% endblock %}
{ "pile_set_name": "Github" }
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u0635", "\u0645" ], "DAY": [ "\u0627\u0644\u0623\u062d\u062f", "\u0627\u0644\u0627\u062b\u0646\u064a\u0646", "\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062e\u0645\u064a\u0633", "\u0627\u0644\u062c\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062a" ], "MONTH": [ "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064a\u0633\u0627\u0646", "\u0623\u064a\u0627\u0631", "\u062d\u0632\u064a\u0631\u0627\u0646", "\u062a\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064a\u0644\u0648\u0644", "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644" ], "SHORTDAY": [ "\u0627\u0644\u0623\u062d\u062f", "\u0627\u0644\u0627\u062b\u0646\u064a\u0646", "\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062e\u0645\u064a\u0633", "\u0627\u0644\u062c\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062a" ], "SHORTMONTH": [ "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064a\u0633\u0627\u0646", "\u0623\u064a\u0627\u0631", "\u062d\u0632\u064a\u0631\u0627\u0646", "\u062a\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064a\u0644\u0648\u0644", "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644" ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", "mediumDate": "dd\u200f/MM\u200f/yyyy", "mediumTime": "h:mm:ss a", "short": "d\u200f/M\u200f/yyyy h:mm a", "shortDate": "d\u200f/M\u200f/yyyy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 0, "lgSize": 0, "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, "negPre": "", "negSuf": "-", "posPre": "", "posSuf": "" }, { "gSize": 0, "lgSize": 0, "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "\u00a4\u00a0", "negSuf": "-", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-sy", "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]);
{ "pile_set_name": "Github" }
<?php /** * php-file-iterator * * Copyright (c) 2009-2012, Sebastian Bergmann <sb@sebastian-bergmann.de>. * 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 Sebastian Bergmann nor the names of his * 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. * * @package File * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright 2009-2012 Sebastian Bergmann <sb@sebastian-bergmann.de> * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License * @since File available since Release 1.3.0 */ spl_autoload_register( function ($class) { static $classes = NULL; static $path = NULL; if ($classes === NULL) { $classes = array( 'file_iterator' => '/Iterator.php', 'file_iterator_facade' => '/Iterator/Facade.php', 'file_iterator_factory' => '/Iterator/Factory.php' ); $path = dirname(dirname(__FILE__)); } $cn = strtolower($class); if (isset($classes[$cn])) { require $path . $classes[$cn]; } } );
{ "pile_set_name": "Github" }
{ "_args": [ [ "bcrypt-pbkdf@1.0.1", "/Users/eshanker/Code/fsevents" ] ], "_from": "bcrypt-pbkdf@1.0.1", "_id": "bcrypt-pbkdf@1.0.1", "_inBundle": false, "_integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", "_location": "/fsevents/bcrypt-pbkdf", "_optional": true, "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "bcrypt-pbkdf@1.0.1", "name": "bcrypt-pbkdf", "escapedName": "bcrypt-pbkdf", "rawSpec": "1.0.1", "saveSpec": null, "fetchSpec": "1.0.1" }, "_requiredBy": [ "/fsevents/sshpk" ], "_resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", "_shrinkwrap": null, "_spec": "1.0.1", "_where": "/Users/eshanker/Code/fsevents", "dependencies": { "tweetnacl": "^0.14.3" }, "description": "Port of the OpenBSD bcrypt_pbkdf function to pure JS", "devDependencies": {}, "license": "BSD-3-Clause", "main": "index.js", "name": "bcrypt-pbkdf", "optionalDependencies": {}, "readme": "Port of the OpenBSD `bcrypt_pbkdf` function to pure Javascript. `npm`-ified\nversion of [Devi Mandiri's port]\n(https://github.com/devi/tmp/blob/master/js/bcrypt_pbkdf.js),\nwith some minor performance improvements. The code is copied verbatim (and\nun-styled) from Devi's work.\n\nThis product includes software developed by Niels Provos.\n\n## API\n\n### `bcrypt_pbkdf.pbkdf(pass, passlen, salt, saltlen, key, keylen, rounds)`\n\nDerive a cryptographic key of arbitrary length from a given password and salt,\nusing the OpenBSD `bcrypt_pbkdf` function. This is a combination of Blowfish and\nSHA-512.\n\nSee [this article](http://www.tedunangst.com/flak/post/bcrypt-pbkdf) for\nfurther information.\n\nParameters:\n\n * `pass`, a Uint8Array of length `passlen`\n * `passlen`, an integer Number\n * `salt`, a Uint8Array of length `saltlen`\n * `saltlen`, an integer Number\n * `key`, a Uint8Array of length `keylen`, will be filled with output\n * `keylen`, an integer Number\n * `rounds`, an integer Number, number of rounds of the PBKDF to run\n\n### `bcrypt_pbkdf.hash(sha2pass, sha2salt, out)`\n\nCalculate a Blowfish hash, given SHA2-512 output of a password and salt. Used as\npart of the inner round function in the PBKDF.\n\nParameters:\n\n * `sha2pass`, a Uint8Array of length 64\n * `sha2salt`, a Uint8Array of length 64\n * `out`, a Uint8Array of length 32, will be filled with output\n", "readmeFilename": "README.md", "version": "1.0.1" }
{ "pile_set_name": "Github" }
/*! * # Semantic UI 2.2.6 - Container * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Container *******************************/ /* All Sizes */ .ui.container { display: block; max-width: 100% !important; } /* Mobile */ @media only screen and (max-width: 767px) { .ui.container { width: auto !important; margin-left: 1em !important; margin-right: 1em !important; } .ui.grid.container { width: auto !important; } .ui.relaxed.grid.container { width: auto !important; } .ui.very.relaxed.grid.container { width: auto !important; } } /* Tablet */ @media only screen and (min-width: 768px) and (max-width: 991px) { .ui.container { width: 723px; margin-left: auto !important; margin-right: auto !important; } .ui.grid.container { width: calc( 723px + 2rem ) !important; } .ui.relaxed.grid.container { width: calc( 723px + 3rem ) !important; } .ui.very.relaxed.grid.container { width: calc( 723px + 5rem ) !important; } } /* Small Monitor */ @media only screen and (min-width: 992px) and (max-width: 1199px) { .ui.container { width: 933px; margin-left: auto !important; margin-right: auto !important; } .ui.grid.container { width: calc( 933px + 2rem ) !important; } .ui.relaxed.grid.container { width: calc( 933px + 3rem ) !important; } .ui.very.relaxed.grid.container { width: calc( 933px + 5rem ) !important; } } /* Large Monitor */ @media only screen and (min-width: 1200px) { .ui.container { width: 1127px; margin-left: auto !important; margin-right: auto !important; } .ui.grid.container { width: calc( 1127px + 2rem ) !important; } .ui.relaxed.grid.container { width: calc( 1127px + 3rem ) !important; } .ui.very.relaxed.grid.container { width: calc( 1127px + 5rem ) !important; } } /******************************* Types *******************************/ /* Text Container */ .ui.text.container { font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif; max-width: 700px !important; line-height: 1.5; } .ui.text.container { font-size: 1.14285714rem; } /* Fluid */ .ui.fluid.container { width: 100%; } /******************************* Variations *******************************/ .ui[class*="left aligned"].container { text-align: left; } .ui[class*="center aligned"].container { text-align: center; } .ui[class*="right aligned"].container { text-align: right; } .ui.justified.container { text-align: justify; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } /******************************* Theme Overrides *******************************/ /******************************* Site Overrides *******************************/
{ "pile_set_name": "Github" }
//------------------------------------------------------------------------------ // GB_AxB: hard-coded functions for semiring: C<M>=A*B or A'*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved. // http://suitesparse.com See GraphBLAS/Doc/License.txt for license. //------------------------------------------------------------------------------ // If this file is in the Generated/ folder, do not edit it (auto-generated). #include "GB.h" #ifndef GBCOMPACT #include "GB_control.h" #include "GB_ek_slice.h" #include "GB_bracket.h" #include "GB_iterator.h" #include "GB_sort.h" #include "GB_atomics.h" #include "GB_AxB_saxpy3.h" #include "GB_AxB__include.h" // The C=A*B semiring is defined by the following types and operators: // A'*B function (dot2): GB_Adot2B__max_plus_int16 // A'*B function (dot3): GB_Adot3B__max_plus_int16 // C+=A'*B function (dot4): GB_Adot4B__max_plus_int16 // A*B function (saxpy3): GB_Asaxpy3B__max_plus_int16 // C type: int16_t // A type: int16_t // B type: int16_t // Multiply: z = (aik + bkj) // Add: cij = GB_IMAX (cij, z) // 'any' monoid? 0 // atomic? 1 // OpenMP atomic? 0 // MultAdd: int16_t x_op_y = (aik + bkj) ; cij = GB_IMAX (cij, x_op_y) // Identity: INT16_MIN // Terminal: if (cij == INT16_MAX) break ; #define GB_ATYPE \ int16_t #define GB_BTYPE \ int16_t #define GB_CTYPE \ int16_t // aik = Ax [pA] #define GB_GETA(aik,Ax,pA) \ int16_t aik = Ax [pA] // bkj = Bx [pB] #define GB_GETB(bkj,Bx,pB) \ int16_t bkj = Bx [pB] #define GB_CX(p) Cx [p] // multiply operator #define GB_MULT(z, x, y) \ z = (x + y) // multiply-add #define GB_MULTADD(z, x, y) \ int16_t x_op_y = (x + y) ; z = GB_IMAX (z, x_op_y) // monoid identity value #define GB_IDENTITY \ INT16_MIN // break if cij reaches the terminal value (dot product only) #define GB_DOT_TERMINAL(cij) \ if (cij == INT16_MAX) break ; // simd pragma for dot-product loop vectorization #define GB_PRAGMA_VECTORIZE_DOT \ ; // simd pragma for other loop vectorization #define GB_PRAGMA_VECTORIZE GB_PRAGMA_SIMD // declare the cij scalar #define GB_CIJ_DECLARE(cij) \ int16_t cij // save the value of C(i,j) #define GB_CIJ_SAVE(cij,p) Cx [p] = cij // cij = Cx [pC] #define GB_GETC(cij,pC) \ cij = Cx [pC] // Cx [pC] = cij #define GB_PUTC(cij,pC) \ Cx [pC] = cij // Cx [p] = t #define GB_CIJ_WRITE(p,t) Cx [p] = t // C(i,j) += t #define GB_CIJ_UPDATE(p,t) \ Cx [p] = GB_IMAX (Cx [p], t) // x + y #define GB_ADD_FUNCTION(x,y) \ GB_IMAX (x, y) // type with size of GB_CTYPE, and can be used in compare-and-swap #define GB_CTYPE_PUN \ int16_t // bit pattern for bool, 8-bit, 16-bit, and 32-bit integers #define GB_CTYPE_BITS \ 0xffffL // 1 if monoid update can skipped entirely (the ANY monoid) #define GB_IS_ANY_MONOID \ 0 // 1 if monoid update is EQ #define GB_IS_EQ_MONOID \ 0 // 1 if monoid update can be done atomically, 0 otherwise #define GB_HAS_ATOMIC \ 1 // 1 if monoid update can be done with an OpenMP atomic update, 0 otherwise #define GB_HAS_OMP_ATOMIC \ 0 // 1 for the ANY_PAIR semirings #define GB_IS_ANY_PAIR_SEMIRING \ 0 // 1 if PAIR is the multiply operator #define GB_IS_PAIR_MULTIPLIER \ 0 #if GB_IS_ANY_PAIR_SEMIRING // result is purely symbolic; no numeric work to do. Hx is not used. #define GB_HX_WRITE(i,t) #define GB_CIJ_GATHER(p,i) #define GB_HX_UPDATE(i,t) #define GB_CIJ_MEMCPY(p,i,len) #else // Hx [i] = t #define GB_HX_WRITE(i,t) Hx [i] = t // Cx [p] = Hx [i] #define GB_CIJ_GATHER(p,i) Cx [p] = Hx [i] // Hx [i] += t #define GB_HX_UPDATE(i,t) \ Hx [i] = GB_IMAX (Hx [i], t) // memcpy (&(Cx [p]), &(Hx [i]), len) #define GB_CIJ_MEMCPY(p,i,len) \ memcpy (Cx +(p), Hx +(i), (len) * sizeof(int16_t)) #endif // disable this semiring and use the generic case if these conditions hold #define GB_DISABLE \ (GxB_NO_MAX || GxB_NO_PLUS || GxB_NO_INT16 || GxB_NO_MAX_INT16 || GxB_NO_PLUS_INT16 || GxB_NO_MAX_PLUS_INT16) //------------------------------------------------------------------------------ // C=A'*B or C<!M>=A'*B: dot product (phase 2) //------------------------------------------------------------------------------ GrB_Info GB_Adot2B__max_plus_int16 ( GrB_Matrix C, const GrB_Matrix M, const bool Mask_struct, const GrB_Matrix *Aslice, bool A_is_pattern, const GrB_Matrix B, bool B_is_pattern, int64_t *GB_RESTRICT B_slice, int64_t *GB_RESTRICT *C_counts, int nthreads, int naslice, int nbslice ) { // C<M>=A'*B now uses dot3 #if GB_DISABLE return (GrB_NO_VALUE) ; #else #define GB_PHASE_2_OF_2 #include "GB_AxB_dot2_meta.c" #undef GB_PHASE_2_OF_2 return (GrB_SUCCESS) ; #endif } //------------------------------------------------------------------------------ // C<M>=A'*B: masked dot product method (phase 2) //------------------------------------------------------------------------------ GrB_Info GB_Adot3B__max_plus_int16 ( GrB_Matrix C, const GrB_Matrix M, const bool Mask_struct, const GrB_Matrix A, bool A_is_pattern, const GrB_Matrix B, bool B_is_pattern, const GB_task_struct *GB_RESTRICT TaskList, const int ntasks, const int nthreads ) { #if GB_DISABLE return (GrB_NO_VALUE) ; #else #include "GB_AxB_dot3_template.c" return (GrB_SUCCESS) ; #endif } //------------------------------------------------------------------------------ // C+=A'*B: dense dot product //------------------------------------------------------------------------------ GrB_Info GB_Adot4B__max_plus_int16 ( GrB_Matrix C, const GrB_Matrix A, bool A_is_pattern, int64_t *GB_RESTRICT A_slice, int naslice, const GrB_Matrix B, bool B_is_pattern, int64_t *GB_RESTRICT B_slice, int nbslice, const int nthreads ) { #if GB_DISABLE return (GrB_NO_VALUE) ; #else #include "GB_AxB_dot4_template.c" return (GrB_SUCCESS) ; #endif } //------------------------------------------------------------------------------ // C=A*B, C<M>=A*B, C<!M>=A*B: saxpy3 method (Gustavson + Hash) //------------------------------------------------------------------------------ #include "GB_AxB_saxpy3_template.h" GrB_Info GB_Asaxpy3B__max_plus_int16 ( GrB_Matrix C, const GrB_Matrix M, bool Mask_comp, const bool Mask_struct, const GrB_Matrix A, bool A_is_pattern, const GrB_Matrix B, bool B_is_pattern, GB_saxpy3task_struct *GB_RESTRICT TaskList, const int ntasks, const int nfine, const int nthreads, GB_Context Context ) { #if GB_DISABLE return (GrB_NO_VALUE) ; #else #include "GB_AxB_saxpy3_template.c" return (GrB_SUCCESS) ; #endif } #endif
{ "pile_set_name": "Github" }
/* * Copyright 2018-present HiveMQ and the HiveMQ Community * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.hivemq.client.internal.rx; import com.hivemq.client.rx.FlowableWithSingleSubscriber; import io.reactivex.internal.fuseable.ConditionalSubscriber; /** * @author Silvio Giebl */ public interface WithSingleConditionalSubscriber<F, S> extends FlowableWithSingleSubscriber<F, S>, ConditionalSubscriber<F> {}
{ "pile_set_name": "Github" }
/*! * jQuery Form Plugin * version: 3.51.0-2014.06.20 * Requires jQuery v1.5 or later * Copyright (c) 2014 M. Alsup * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses. * https://github.com/malsup/form#copyright-and-license */ /*global ActiveXObject */ // AMD support (function (factory) { "use strict"; if (typeof define === 'function' && define.amd) { // using AMD; register as anon module define(['jquery'], factory); } else { // no AMD; invoke directly factory( (typeof(jQuery) != 'undefined') ? jQuery : window.Zepto ); } } (function($) { "use strict"; /* Usage Note: ----------- Do not use both ajaxSubmit and ajaxForm on the same form. These functions are mutually exclusive. Use ajaxSubmit if you want to bind your own submit handler to the form. For example, $(document).ready(function() { $('#myForm').on('submit', function(e) { e.preventDefault(); // <-- important $(this).ajaxSubmit({ target: '#output' }); }); }); Use ajaxForm when you want the plugin to manage all the event binding for you. For example, $(document).ready(function() { $('#myForm').ajaxForm({ target: '#output' }); }); You can also use ajaxForm with delegation (requires jQuery v1.7+), so the form does not have to exist when you invoke ajaxForm: $('#myForm').ajaxForm({ delegation: true, target: '#output' }); When using ajaxForm, the ajaxSubmit function will be invoked for you at the appropriate time. */ /** * Feature detection */ var feature = {}; feature.fileapi = $("<input type='file'/>").get(0).files !== undefined; feature.formdata = window.FormData !== undefined; var hasProp = !!$.fn.prop; // attr2 uses prop when it can but checks the return type for // an expected string. this accounts for the case where a form // contains inputs with names like "action" or "method"; in those // cases "prop" returns the element $.fn.attr2 = function() { if ( ! hasProp ) { return this.attr.apply(this, arguments); } var val = this.prop.apply(this, arguments); if ( ( val && val.jquery ) || typeof val === 'string' ) { return val; } return this.attr.apply(this, arguments); }; /** * ajaxSubmit() provides a mechanism for immediately submitting * an HTML form using AJAX. */ $.fn.ajaxSubmit = function(options) { /*jshint scripturl:true */ // fast fail if nothing selected (http://dev.jquery.com/ticket/2752) if (!this.length) { log('ajaxSubmit: skipping submit process - no element selected'); return this; } var method, action, url, $form = this; if (typeof options == 'function') { options = { success: options }; } else if ( options === undefined ) { options = {}; } method = options.type || this.attr2('method'); action = options.url || this.attr2('action'); url = (typeof action === 'string') ? $.trim(action) : ''; url = url || window.location.href || ''; if (url) { // clean url (don't include hash vaue) url = (url.match(/^([^#]+)/)||[])[1]; } options = $.extend(true, { url: url, success: $.ajaxSettings.success, type: method || $.ajaxSettings.type, iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank' }, options); // hook for manipulating the form data before it is extracted; // convenient for use with rich editors like tinyMCE or FCKEditor var veto = {}; this.trigger('form-pre-serialize', [this, options, veto]); if (veto.veto) { log('ajaxSubmit: submit vetoed via form-pre-serialize trigger'); return this; } // provide opportunity to alter form data before it is serialized if (options.beforeSerialize && options.beforeSerialize(this, options) === false) { log('ajaxSubmit: submit aborted via beforeSerialize callback'); return this; } var traditional = options.traditional; if ( traditional === undefined ) { traditional = $.ajaxSettings.traditional; } var elements = []; var qx, a = this.formToArray(options.semantic, elements); if (options.data) { options.extraData = options.data; qx = $.param(options.data, traditional); } // give pre-submit callback an opportunity to abort the submit if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) { log('ajaxSubmit: submit aborted via beforeSubmit callback'); return this; } // fire vetoable 'validate' event this.trigger('form-submit-validate', [a, this, options, veto]); if (veto.veto) { log('ajaxSubmit: submit vetoed via form-submit-validate trigger'); return this; } var q = $.param(a, traditional); if (qx) { q = ( q ? (q + '&' + qx) : qx ); } if (options.type.toUpperCase() == 'GET') { options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q; options.data = null; // data is null for 'get' } else { options.data = q; // data is the query string for 'post' } var callbacks = []; if (options.resetForm) { callbacks.push(function() { $form.resetForm(); }); } if (options.clearForm) { callbacks.push(function() { $form.clearForm(options.includeHidden); }); } // perform a load on the target only if dataType is not provided if (!options.dataType && options.target) { var oldSuccess = options.success || function(){}; callbacks.push(function(data) { var fn = options.replaceTarget ? 'replaceWith' : 'html'; $(options.target)[fn](data).each(oldSuccess, arguments); }); } else if (options.success) { callbacks.push(options.success); } options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg var context = options.context || this ; // jQuery 1.4+ supports scope context for (var i=0, max=callbacks.length; i < max; i++) { callbacks[i].apply(context, [data, status, xhr || $form, $form]); } }; if (options.error) { var oldError = options.error; options.error = function(xhr, status, error) { var context = options.context || this; oldError.apply(context, [xhr, status, error, $form]); }; } if (options.complete) { var oldComplete = options.complete; options.complete = function(xhr, status) { var context = options.context || this; oldComplete.apply(context, [xhr, status, $form]); }; } // are there files to upload? // [value] (issue #113), also see comment: // https://github.com/malsup/form/commit/588306aedba1de01388032d5f42a60159eea9228#commitcomment-2180219 var fileInputs = $('input[type=file]:enabled', this).filter(function() { return $(this).val() !== ''; }); var hasFileInputs = fileInputs.length > 0; var mp = 'multipart/form-data'; var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp); var fileAPI = feature.fileapi && feature.formdata; log("fileAPI :" + fileAPI); var shouldUseFrame = (hasFileInputs || multipart) && !fileAPI; var jqxhr; // options.iframe allows user to force iframe mode // 06-NOV-09: now defaulting to iframe mode if file input is detected if (options.iframe !== false && (options.iframe || shouldUseFrame)) { // hack to fix Safari hang (thanks to Tim Molendijk for this) // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d if (options.closeKeepAlive) { $.get(options.closeKeepAlive, function() { jqxhr = fileUploadIframe(a); }); } else { jqxhr = fileUploadIframe(a); } } else if ((hasFileInputs || multipart) && fileAPI) { jqxhr = fileUploadXhr(a); } else { jqxhr = $.ajax(options); } $form.removeData('jqxhr').data('jqxhr', jqxhr); // clear element array for (var k=0; k < elements.length; k++) { elements[k] = null; } // fire 'notify' event this.trigger('form-submit-notify', [this, options]); return this; // utility fn for deep serialization function deepSerialize(extraData){ var serialized = $.param(extraData, options.traditional).split('&'); var len = serialized.length; var result = []; var i, part; for (i=0; i < len; i++) { // #252; undo param space replacement serialized[i] = serialized[i].replace(/\+/g,' '); part = serialized[i].split('='); // #278; use array instead of object storage, favoring array serializations result.push([decodeURIComponent(part[0]), decodeURIComponent(part[1])]); } return result; } // XMLHttpRequest Level 2 file uploads (big hat tip to francois2metz) function fileUploadXhr(a) { var formdata = new FormData(); for (var i=0; i < a.length; i++) { formdata.append(a[i].name, a[i].value); } if (options.extraData) { var serializedData = deepSerialize(options.extraData); for (i=0; i < serializedData.length; i++) { if (serializedData[i]) { formdata.append(serializedData[i][0], serializedData[i][1]); } } } options.data = null; var s = $.extend(true, {}, $.ajaxSettings, options, { contentType: false, processData: false, cache: false, type: method || 'POST' }); if (options.uploadProgress) { // workaround because jqXHR does not expose upload property s.xhr = function() { var xhr = $.ajaxSettings.xhr(); if (xhr.upload) { xhr.upload.addEventListener('progress', function(event) { var percent = 0; var position = event.loaded || event.position; /*event.position is deprecated*/ var total = event.total; if (event.lengthComputable) { percent = Math.ceil(position / total * 100); } options.uploadProgress(event, position, total, percent); }, false); } return xhr; }; } s.data = null; var beforeSend = s.beforeSend; s.beforeSend = function(xhr, o) { //Send FormData() provided by user if (options.formData) { o.data = options.formData; } else { o.data = formdata; } if(beforeSend) { beforeSend.call(this, xhr, o); } }; return $.ajax(s); } // private function for handling file uploads (hat tip to YAHOO!) function fileUploadIframe(a) { var form = $form[0], el, i, s, g, id, $io, io, xhr, sub, n, timedOut, timeoutHandle; var deferred = $.Deferred(); // #341 deferred.abort = function(status) { xhr.abort(status); }; if (a) { // ensure that every serialized input is still enabled for (i=0; i < elements.length; i++) { el = $(elements[i]); if ( hasProp ) { el.prop('disabled', false); } else { el.removeAttr('disabled'); } } } s = $.extend(true, {}, $.ajaxSettings, options); s.context = s.context || s; id = 'jqFormIO' + (new Date().getTime()); if (s.iframeTarget) { $io = $(s.iframeTarget); n = $io.attr2('name'); if (!n) { $io.attr2('name', id); } else { id = n; } } else { $io = $('<iframe name="' + id + '" src="'+ s.iframeSrc +'" />'); $io.css({ position: 'absolute', top: '-1000px', left: '-1000px' }); } io = $io[0]; xhr = { // mock object aborted: 0, responseText: null, responseXML: null, status: 0, statusText: 'n/a', getAllResponseHeaders: function() {}, getResponseHeader: function() {}, setRequestHeader: function() {}, abort: function(status) { var e = (status === 'timeout' ? 'timeout' : 'aborted'); log('aborting upload... ' + e); this.aborted = 1; try { // #214, #257 if (io.contentWindow.document.execCommand) { io.contentWindow.document.execCommand('Stop'); } } catch(ignore) {} $io.attr('src', s.iframeSrc); // abort op in progress xhr.error = e; if (s.error) { s.error.call(s.context, xhr, e, status); } if (g) { $.event.trigger("ajaxError", [xhr, s, e]); } if (s.complete) { s.complete.call(s.context, xhr, e); } } }; g = s.global; // trigger ajax global events so that activity/block indicators work like normal if (g && 0 === $.active++) { $.event.trigger("ajaxStart"); } if (g) { $.event.trigger("ajaxSend", [xhr, s]); } if (s.beforeSend && s.beforeSend.call(s.context, xhr, s) === false) { if (s.global) { $.active--; } deferred.reject(); return deferred; } if (xhr.aborted) { deferred.reject(); return deferred; } // add submitting element to data if we know it sub = form.clk; if (sub) { n = sub.name; if (n && !sub.disabled) { s.extraData = s.extraData || {}; s.extraData[n] = sub.value; if (sub.type == "image") { s.extraData[n+'.x'] = form.clk_x; s.extraData[n+'.y'] = form.clk_y; } } } var CLIENT_TIMEOUT_ABORT = 1; var SERVER_ABORT = 2; function getDoc(frame) { /* it looks like contentWindow or contentDocument do not * carry the protocol property in ie8, when running under ssl * frame.document is the only valid response document, since * the protocol is know but not on the other two objects. strange? * "Same origin policy" http://en.wikipedia.org/wiki/Same_origin_policy */ var doc = null; // IE8 cascading access check try { if (frame.contentWindow) { doc = frame.contentWindow.document; } } catch(err) { // IE8 access denied under ssl & missing protocol log('cannot get iframe.contentWindow document: ' + err); } if (doc) { // successful getting content return doc; } try { // simply checking may throw in ie8 under ssl or mismatched protocol doc = frame.contentDocument ? frame.contentDocument : frame.document; } catch(err) { // last attempt log('cannot get iframe.contentDocument: ' + err); doc = frame.document; } return doc; } // Rails CSRF hack (thanks to Yvan Barthelemy) var csrf_token = $('meta[name=csrf-token]').attr('content'); var csrf_param = $('meta[name=csrf-param]').attr('content'); if (csrf_param && csrf_token) { s.extraData = s.extraData || {}; s.extraData[csrf_param] = csrf_token; } // take a breath so that pending repaints get some cpu time before the upload starts function doSubmit() { // make sure form attrs are set var t = $form.attr2('target'), a = $form.attr2('action'), mp = 'multipart/form-data', et = $form.attr('enctype') || $form.attr('encoding') || mp; // update form attrs in IE friendly way form.setAttribute('target',id); if (!method || /post/i.test(method) ) { form.setAttribute('method', 'POST'); } if (a != s.url) { form.setAttribute('action', s.url); } // ie borks in some cases when setting encoding if (! s.skipEncodingOverride && (!method || /post/i.test(method))) { $form.attr({ encoding: 'multipart/form-data', enctype: 'multipart/form-data' }); } // support timout if (s.timeout) { timeoutHandle = setTimeout(function() { timedOut = true; cb(CLIENT_TIMEOUT_ABORT); }, s.timeout); } // look for server aborts function checkState() { try { var state = getDoc(io).readyState; log('state = ' + state); if (state && state.toLowerCase() == 'uninitialized') { setTimeout(checkState,50); } } catch(e) { log('Server abort: ' , e, ' (', e.name, ')'); cb(SERVER_ABORT); if (timeoutHandle) { clearTimeout(timeoutHandle); } timeoutHandle = undefined; } } // add "extra" data to form if provided in options var extraInputs = []; try { if (s.extraData) { for (var n in s.extraData) { if (s.extraData.hasOwnProperty(n)) { // if using the $.param format that allows for multiple values with the same name if($.isPlainObject(s.extraData[n]) && s.extraData[n].hasOwnProperty('name') && s.extraData[n].hasOwnProperty('value')) { extraInputs.push( $('<input type="hidden" name="'+s.extraData[n].name+'">').val(s.extraData[n].value) .appendTo(form)[0]); } else { extraInputs.push( $('<input type="hidden" name="'+n+'">').val(s.extraData[n]) .appendTo(form)[0]); } } } } if (!s.iframeTarget) { // add iframe to doc and submit the form $io.appendTo('body'); } if (io.attachEvent) { io.attachEvent('onload', cb); } else { io.addEventListener('load', cb, false); } setTimeout(checkState,15); try { form.submit(); } catch(err) { // just in case form has element with name/id of 'submit' var submitFn = document.createElement('form').submit; submitFn.apply(form); } } finally { // reset attrs and remove "extra" input elements form.setAttribute('action',a); form.setAttribute('enctype', et); // #380 if(t) { form.setAttribute('target', t); } else { $form.removeAttr('target'); } $(extraInputs).remove(); } } if (s.forceSync) { doSubmit(); } else { setTimeout(doSubmit, 10); // this lets dom updates render } var data, doc, domCheckCount = 50, callbackProcessed; function cb(e) { if (xhr.aborted || callbackProcessed) { return; } doc = getDoc(io); if(!doc) { log('cannot access response document'); e = SERVER_ABORT; } if (e === CLIENT_TIMEOUT_ABORT && xhr) { xhr.abort('timeout'); deferred.reject(xhr, 'timeout'); return; } else if (e == SERVER_ABORT && xhr) { xhr.abort('server abort'); deferred.reject(xhr, 'error', 'server abort'); return; } if (!doc || doc.location.href == s.iframeSrc) { // response not received yet if (!timedOut) { return; } } if (io.detachEvent) { io.detachEvent('onload', cb); } else { io.removeEventListener('load', cb, false); } var status = 'success', errMsg; try { if (timedOut) { throw 'timeout'; } var isXml = s.dataType == 'xml' || doc.XMLDocument || $.isXMLDoc(doc); log('isXml='+isXml); if (!isXml && window.opera && (doc.body === null || !doc.body.innerHTML)) { if (--domCheckCount) { // in some browsers (Opera) the iframe DOM is not always traversable when // the onload callback fires, so we loop a bit to accommodate log('requeing onLoad callback, DOM not available'); setTimeout(cb, 250); return; } // let this fall through because server response could be an empty document //log('Could not access iframe DOM after mutiple tries.'); //throw 'DOMException: not available'; } //log('response detected'); var docRoot = doc.body ? doc.body : doc.documentElement; xhr.responseText = docRoot ? docRoot.innerHTML : null; xhr.responseXML = doc.XMLDocument ? doc.XMLDocument : doc; if (isXml) { s.dataType = 'xml'; } xhr.getResponseHeader = function(header){ var headers = {'content-type': s.dataType}; return headers[header.toLowerCase()]; }; // support for XHR 'status' & 'statusText' emulation : if (docRoot) { xhr.status = Number( docRoot.getAttribute('status') ) || xhr.status; xhr.statusText = docRoot.getAttribute('statusText') || xhr.statusText; } var dt = (s.dataType || '').toLowerCase(); var scr = /(json|script|text)/.test(dt); if (scr || s.textarea) { // see if user embedded response in textarea var ta = doc.getElementsByTagName('textarea')[0]; if (ta) { xhr.responseText = ta.value; // support for XHR 'status' & 'statusText' emulation : xhr.status = Number( ta.getAttribute('status') ) || xhr.status; xhr.statusText = ta.getAttribute('statusText') || xhr.statusText; } else if (scr) { // account for browsers injecting pre around json response var pre = doc.getElementsByTagName('pre')[0]; var b = doc.getElementsByTagName('body')[0]; if (pre) { xhr.responseText = pre.textContent ? pre.textContent : pre.innerText; } else if (b) { xhr.responseText = b.textContent ? b.textContent : b.innerText; } } } else if (dt == 'xml' && !xhr.responseXML && xhr.responseText) { xhr.responseXML = toXml(xhr.responseText); } try { data = httpData(xhr, dt, s); } catch (err) { status = 'parsererror'; xhr.error = errMsg = (err || status); } } catch (err) { log('error caught: ',err); status = 'error'; xhr.error = errMsg = (err || status); } if (xhr.aborted) { log('upload aborted'); status = null; } if (xhr.status) { // we've set xhr.status status = (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) ? 'success' : 'error'; } // ordering of these callbacks/triggers is odd, but that's how $.ajax does it if (status === 'success') { if (s.success) { s.success.call(s.context, data, 'success', xhr); } deferred.resolve(xhr.responseText, 'success', xhr); if (g) { $.event.trigger("ajaxSuccess", [xhr, s]); } } else if (status) { if (errMsg === undefined) { errMsg = xhr.statusText; } if (s.error) { s.error.call(s.context, xhr, status, errMsg); } deferred.reject(xhr, 'error', errMsg); if (g) { $.event.trigger("ajaxError", [xhr, s, errMsg]); } } if (g) { $.event.trigger("ajaxComplete", [xhr, s]); } if (g && ! --$.active) { $.event.trigger("ajaxStop"); } if (s.complete) { s.complete.call(s.context, xhr, status); } callbackProcessed = true; if (s.timeout) { clearTimeout(timeoutHandle); } // clean up setTimeout(function() { if (!s.iframeTarget) { $io.remove(); } else { //adding else to clean up existing iframe response. $io.attr('src', s.iframeSrc); } xhr.responseXML = null; }, 100); } var toXml = $.parseXML || function(s, doc) { // use parseXML if available (jQuery 1.5+) if (window.ActiveXObject) { doc = new ActiveXObject('Microsoft.XMLDOM'); doc.async = 'false'; doc.loadXML(s); } else { doc = (new DOMParser()).parseFromString(s, 'text/xml'); } return (doc && doc.documentElement && doc.documentElement.nodeName != 'parsererror') ? doc : null; }; var parseJSON = $.parseJSON || function(s) { /*jslint evil:true */ return window['eval']('(' + s + ')'); }; var httpData = function( xhr, type, s ) { // mostly lifted from jq1.4.4 var ct = xhr.getResponseHeader('content-type') || '', xml = type === 'xml' || !type && ct.indexOf('xml') >= 0, data = xml ? xhr.responseXML : xhr.responseText; if (xml && data.documentElement.nodeName === 'parsererror') { if ($.error) { $.error('parsererror'); } } if (s && s.dataFilter) { data = s.dataFilter(data, type); } if (typeof data === 'string') { if (type === 'json' || !type && ct.indexOf('json') >= 0) { data = parseJSON(data); } else if (type === "script" || !type && ct.indexOf("javascript") >= 0) { $.globalEval(data); } } return data; }; return deferred; } }; /** * ajaxForm() provides a mechanism for fully automating form submission. * * The advantages of using this method instead of ajaxSubmit() are: * * 1: This method will include coordinates for <input type="image" /> elements (if the element * is used to submit the form). * 2. This method will include the submit element's name/value data (for the element that was * used to submit the form). * 3. This method binds the submit() method to the form for you. * * The options argument for ajaxForm works exactly as it does for ajaxSubmit. ajaxForm merely * passes the options argument along after properly binding events for submit elements and * the form itself. */ $.fn.ajaxForm = function(options) { options = options || {}; options.delegation = options.delegation && $.isFunction($.fn.on); // in jQuery 1.3+ we can fix mistakes with the ready state if (!options.delegation && this.length === 0) { var o = { s: this.selector, c: this.context }; if (!$.isReady && o.s) { log('DOM not ready, queuing ajaxForm'); $(function() { $(o.s,o.c).ajaxForm(options); }); return this; } // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready() log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)')); return this; } if ( options.delegation ) { $(document) .off('submit.form-plugin', this.selector, doAjaxSubmit) .off('click.form-plugin', this.selector, captureSubmittingElement) .on('submit.form-plugin', this.selector, options, doAjaxSubmit) .on('click.form-plugin', this.selector, options, captureSubmittingElement); return this; } return this.ajaxFormUnbind() .bind('submit.form-plugin', options, doAjaxSubmit) .bind('click.form-plugin', options, captureSubmittingElement); }; // private event handlers function doAjaxSubmit(e) { /*jshint validthis:true */ var options = e.data; if (!e.isDefaultPrevented()) { // if event has been canceled, don't proceed e.preventDefault(); $(e.target).ajaxSubmit(options); // #365 } } function captureSubmittingElement(e) { /*jshint validthis:true */ var target = e.target; var $el = $(target); if (!($el.is("[type=submit],[type=image]"))) { // is this a child element of the submit el? (ex: a span within a button) var t = $el.closest('[type=submit]'); if (t.length === 0) { return; } target = t[0]; } var form = this; form.clk = target; if (target.type == 'image') { if (e.offsetX !== undefined) { form.clk_x = e.offsetX; form.clk_y = e.offsetY; } else if (typeof $.fn.offset == 'function') { var offset = $el.offset(); form.clk_x = e.pageX - offset.left; form.clk_y = e.pageY - offset.top; } else { form.clk_x = e.pageX - target.offsetLeft; form.clk_y = e.pageY - target.offsetTop; } } // clear form vars setTimeout(function() { form.clk = form.clk_x = form.clk_y = null; }, 100); } // ajaxFormUnbind unbinds the event handlers that were bound by ajaxForm $.fn.ajaxFormUnbind = function() { return this.unbind('submit.form-plugin click.form-plugin'); }; /** * formToArray() gathers form element data into an array of objects that can * be passed to any of the following ajax functions: $.get, $.post, or load. * Each object in the array has both a 'name' and 'value' property. An example of * an array for a simple login form might be: * * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ] * * It is this array that is passed to pre-submit callback functions provided to the * ajaxSubmit() and ajaxForm() methods. */ $.fn.formToArray = function(semantic, elements) { var a = []; if (this.length === 0) { return a; } var form = this[0]; var formId = this.attr('id'); var els = semantic ? form.getElementsByTagName('*') : form.elements; var els2; if (els && !/MSIE [678]/.test(navigator.userAgent)) { // #390 els = $(els).get(); // convert to standard array } // #386; account for inputs outside the form which use the 'form' attribute if ( formId ) { els2 = $(':input[form="' + formId + '"]').get(); // hat tip @thet if ( els2.length ) { els = (els || []).concat(els2); } } if (!els || !els.length) { return a; } var i,j,n,v,el,max,jmax; for(i=0, max=els.length; i < max; i++) { el = els[i]; n = el.name; if (!n || el.disabled) { continue; } if (semantic && form.clk && el.type == "image") { // handle image inputs on the fly when semantic == true if(form.clk == el) { a.push({name: n, value: $(el).val(), type: el.type }); a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y}); } continue; } v = $.fieldValue(el, true); if (v && v.constructor == Array) { if (elements) { elements.push(el); } for(j=0, jmax=v.length; j < jmax; j++) { a.push({name: n, value: v[j]}); } } else if (feature.fileapi && el.type == 'file') { if (elements) { elements.push(el); } var files = el.files; if (files.length) { for (j=0; j < files.length; j++) { a.push({name: n, value: files[j], type: el.type}); } } else { // #180 a.push({ name: n, value: '', type: el.type }); } } else if (v !== null && typeof v != 'undefined') { if (elements) { elements.push(el); } a.push({name: n, value: v, type: el.type, required: el.required}); } } if (!semantic && form.clk) { // input type=='image' are not found in elements array! handle it here var $input = $(form.clk), input = $input[0]; n = input.name; if (n && !input.disabled && input.type == 'image') { a.push({name: n, value: $input.val()}); a.push({name: n+'.x', value: form.clk_x}, {name: n+'.y', value: form.clk_y}); } } return a; }; /** * Serializes form data into a 'submittable' string. This method will return a string * in the format: name1=value1&amp;name2=value2 */ $.fn.formSerialize = function(semantic) { //hand off to jQuery.param for proper encoding return $.param(this.formToArray(semantic)); }; /** * Serializes all field elements in the jQuery object into a query string. * This method will return a string in the format: name1=value1&amp;name2=value2 */ $.fn.fieldSerialize = function(successful) { var a = []; this.each(function() { var n = this.name; if (!n) { return; } var v = $.fieldValue(this, successful); if (v && v.constructor == Array) { for (var i=0,max=v.length; i < max; i++) { a.push({name: n, value: v[i]}); } } else if (v !== null && typeof v != 'undefined') { a.push({name: this.name, value: v}); } }); //hand off to jQuery.param for proper encoding return $.param(a); }; /** * Returns the value(s) of the element in the matched set. For example, consider the following form: * * <form><fieldset> * <input name="A" type="text" /> * <input name="A" type="text" /> * <input name="B" type="checkbox" value="B1" /> * <input name="B" type="checkbox" value="B2"/> * <input name="C" type="radio" value="C1" /> * <input name="C" type="radio" value="C2" /> * </fieldset></form> * * var v = $('input[type=text]').fieldValue(); * // if no values are entered into the text inputs * v == ['',''] * // if values entered into the text inputs are 'foo' and 'bar' * v == ['foo','bar'] * * var v = $('input[type=checkbox]').fieldValue(); * // if neither checkbox is checked * v === undefined * // if both checkboxes are checked * v == ['B1', 'B2'] * * var v = $('input[type=radio]').fieldValue(); * // if neither radio is checked * v === undefined * // if first radio is checked * v == ['C1'] * * The successful argument controls whether or not the field element must be 'successful' * (per http://www.w3.org/TR/html4/interact/forms.html#successful-controls). * The default value of the successful argument is true. If this value is false the value(s) * for each element is returned. * * Note: This method *always* returns an array. If no valid value can be determined the * array will be empty, otherwise it will contain one or more values. */ $.fn.fieldValue = function(successful) { for (var val=[], i=0, max=this.length; i < max; i++) { var el = this[i]; var v = $.fieldValue(el, successful); if (v === null || typeof v == 'undefined' || (v.constructor == Array && !v.length)) { continue; } if (v.constructor == Array) { $.merge(val, v); } else { val.push(v); } } return val; }; /** * Returns the value of the field element. */ $.fieldValue = function(el, successful) { var n = el.name, t = el.type, tag = el.tagName.toLowerCase(); if (successful === undefined) { successful = true; } if (successful && (!n || el.disabled || t == 'reset' || t == 'button' || (t == 'checkbox' || t == 'radio') && !el.checked || (t == 'submit' || t == 'image') && el.form && el.form.clk != el || tag == 'select' && el.selectedIndex == -1)) { return null; } if (tag == 'select') { var index = el.selectedIndex; if (index < 0) { return null; } var a = [], ops = el.options; var one = (t == 'select-one'); var max = (one ? index+1 : ops.length); for(var i=(one ? index : 0); i < max; i++) { var op = ops[i]; if (op.selected) { var v = op.value; if (!v) { // extra pain for IE... v = (op.attributes && op.attributes.value && !(op.attributes.value.specified)) ? op.text : op.value; } if (one) { return v; } a.push(v); } } return a; } return $(el).val(); }; /** * Clears the form data. Takes the following actions on the form's input fields: * - input text fields will have their 'value' property set to the empty string * - select elements will have their 'selectedIndex' property set to -1 * - checkbox and radio inputs will have their 'checked' property set to false * - inputs of type submit, button, reset, and hidden will *not* be effected * - button elements will *not* be effected */ $.fn.clearForm = function(includeHidden) { return this.each(function() { $('input,select,textarea', this).clearFields(includeHidden); }); }; /** * Clears the selected form elements. */ $.fn.clearFields = $.fn.clearInputs = function(includeHidden) { var re = /^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i; // 'hidden' is not in this list return this.each(function() { var t = this.type, tag = this.tagName.toLowerCase(); if (re.test(t) || tag == 'textarea') { this.value = ''; } else if (t == 'checkbox' || t == 'radio') { this.checked = false; } else if (tag == 'select') { this.selectedIndex = -1; } else if (t == "file") { if (/MSIE/.test(navigator.userAgent)) { $(this).replaceWith($(this).clone(true)); } else { $(this).val(''); } } else if (includeHidden) { // includeHidden can be the value true, or it can be a selector string // indicating a special test; for example: // $('#myForm').clearForm('.special:hidden') // the above would clean hidden inputs that have the class of 'special' if ( (includeHidden === true && /hidden/.test(t)) || (typeof includeHidden == 'string' && $(this).is(includeHidden)) ) { this.value = ''; } } }); }; /** * Resets the form data. Causes all form elements to be reset to their original value. */ $.fn.resetForm = function() { return this.each(function() { // guard against an input with the name of 'reset' // note that IE reports the reset function as an 'object' if (typeof this.reset == 'function' || (typeof this.reset == 'object' && !this.reset.nodeType)) { this.reset(); } }); }; /** * Enables or disables any matching elements. */ $.fn.enable = function(b) { if (b === undefined) { b = true; } return this.each(function() { this.disabled = !b; }); }; /** * Checks/unchecks any matching checkboxes or radio buttons and * selects/deselects and matching option elements. */ $.fn.selected = function(select) { if (select === undefined) { select = true; } return this.each(function() { var t = this.type; if (t == 'checkbox' || t == 'radio') { this.checked = select; } else if (this.tagName.toLowerCase() == 'option') { var $sel = $(this).parent('select'); if (select && $sel[0] && $sel[0].type == 'select-one') { // deselect all other options $sel.find('option').selected(false); } this.selected = select; } }); }; // expose debug var $.fn.ajaxSubmit.debug = false; // helper fn for console logging function log() { if (!$.fn.ajaxSubmit.debug) { return; } var msg = '[jquery.form] ' + Array.prototype.join.call(arguments,''); if (window.console && window.console.log) { window.console.log(msg); } else if (window.opera && window.opera.postError) { window.opera.postError(msg); } } }));
{ "pile_set_name": "Github" }
{ "translations": { "Storage is temporarily not available" : "O armazenamento está temporariamente indisponível", "Storage invalid" : "Armazenamento inválido", "Unknown error" : "Erro desconhecido", "All files" : "Todos os ficheiros", "File could not be found" : "Não foi possível encontrar o ficheiro", "Home" : "Início", "Close" : "Fechar", "Favorites" : "Favoritos", "Could not create folder \"{dir}\"" : "Não foi possível criar a pasta \"{dir}\"", "Upload cancelled." : "Envio cancelado.", "Unable to upload {filename} as it is a directory or has 0 bytes" : "Não é possível enviar {filename}, porque este é uma diretoria ou tem 0 bytes", "Not enough free space, you are uploading {size1} but only {size2} is left" : "Não existe espaço suficiente, está a enviar {size1} mas resta apenas {size2}", "You don’t have permission to upload or create files here" : "Não tem permissão para enviar ou criar ficheiros aqui", "Target folder \"{dir}\" does not exist any more" : "A pasta de destino \"{dir}\" já não existe", "Target folder does not exist any more" : "A pasta de destino já não existe", "Not enough free space" : "Espaço livre insuficiente", "Uploading..." : "A enviar...", "..." : "...", "{loadedSize} of {totalSize} ({bitrate})" : "{loadedSize} de {totalSize} ({bitrate})", "File upload is in progress. Leaving the page now will cancel the upload." : "Envio de ficheiro em progresso. Se deixar a página agora, irá cancelar o envio.", "Actions" : "Ações", "Download" : "Transferir", "Rename" : "Renomear", "Delete" : "Eliminar", "Disconnect storage" : "Desligue o armazenamento", "Unshare" : "Cancelar partilha", "Could not load info for file \"{file}\"" : "Não foi possível carregar a informação para o ficheiro \"{file}\"", "Files" : "Ficheiros", "Details" : "Detalhes", "Select" : "Selecionar", "Pending" : "Pendente", "Unable to determine date" : "Não é possível determinar a data", "Invalid path" : "Caminho inválido", "This operation is forbidden" : "Esta operação é proibida", "This directory is unavailable, please check the logs or contact the administrator" : "Esta diretoria está indisponível, por favor, verifique os registos ou contacte o administrador", "group" : "grupo", "Remote share" : "Partilha remota", "Could not move \"{file}\", target exists" : "Não foi possível mover \"{file}\", destino já existe", "Could not move \"{file}\"" : "Não foi possivel mover o ficheiro \"{file}\"", "{newName} already exists" : "{newName} já existe", "Could not rename \"{fileName}\", it does not exist any more" : "Não foi possível renomear \"{fileName}\", este já não existe", "The name \"{targetName}\" is already used in the folder \"{dir}\". Please choose a different name." : "O nome \"{targetName}\" já está em utilização na pasta \"{dir}\". Por favor, escolha um nome diferente.", "Could not rename \"{fileName}\"" : "Não foi possível renomear \"{fileName}\"", "Could not create file \"{file}\"" : "Não foi possível criar o ficheiro \"{file}\"", "Could not create file \"{file}\" because it already exists" : "Não foi possível criar o ficheiro \"{file}\", porque este já existe", "Could not create folder \"{dir}\" because it already exists" : "Não foi possível criar a pasta \"{dir}\", porque esta já existe", "Error deleting file \"{fileName}\"." : "Erro ao eliminar o ficheiro \"{fileName}\".", "No entries in this folder match {filter}" : "Nenhuma entrada nesta pasta corresponde a {filter}", "Name" : "Nome", "Size" : "Tamanho", "Modified" : "Modificado", "_%n folder_::_%n folders_" : ["%n pasta","%n pastas"], "_%n file_::_%n files_" : ["%n ficheiro","%n ficheiros"], "{dirs} and {files}" : "{dirs} e {files}", "_including %n hidden_::_including %n hidden_" : ["incluindo %n escondido","incluindo %n escondidos"], "_Uploading %n file_::_Uploading %n files_" : ["A enviar %n ficheiro","A enviar %n ficheiros"], "New" : "Novo", "Unknown user" : "Utilizador desconhecido", "\"{name}\" is an invalid file name." : "\"{name}\" é um nome de ficheiro inválido.", "File name cannot be empty." : "O nome do ficheiro não pode estar em branco.", "\"{name}\" has a forbidden file type/extension." : "\"{name}\" tem um tipo de ficheiro/extensão proibido.", "Storage of {owner} is full, files can not be updated or synced anymore!" : "O armazenamento de {owner} está cheio. Os ficheiros já não podem ser atualizados ou sincronizados!", "Your storage is full, files can not be updated or synced anymore!" : "O seu armazenamento está cheio, os ficheiros já não podem ser atualizados ou sincronizados.", "Storage of {owner} is almost full ({usedSpacePercent}%)" : "O armazenamento de {owner} está quase cheio ({usedSpacePercent}%)", "Your storage is almost full ({usedSpacePercent}%)" : "O seu armazenamento está quase cheio ({usedSpacePercent}%)", "_matches '{filter}'_::_match '{filter}'_" : ["corresponde a '{filter}'","correspondem a '{filter}'"], "Path" : "Caminho", "_%n byte_::_%n bytes_" : ["%n byte","%n bytes"], "Favorited" : "Nos Favoritos", "Favorite" : "Favorito", "Private link: Only people who have access to the file/folder can use it. Use it as a permanent link for yourself or to point others to files within shares" : "Hiperligação privada: Apenas as pessoas que têm acesso ao ficheiro ou pasta podem utiliza-los. Use-a como uma hiperligação para rederecionar pessoas a ficheiros dentro de partilhas.", "Folder" : "Pasta", "New folder" : "Nova pasta", "{newname} already exists" : "{newname} já existe", "Upload" : "Enviar", "An error occurred while trying to update the tags" : "Ocorreu um erro ao tentar atualizar as etiquetas", "A new file or folder has been <strong>created</strong>" : "Foi <strong>criado</strong> um novo ficheiro ou pasta", "A file or folder has been <strong>changed</strong>" : "Foi <strong>alterado</strong> um ficheiro ou pasta", "Limit notifications about creation and changes to your <strong>favorite files</strong> <em>(Stream only)</em>" : "Limite as notificações sobre a criação e alterações para os seus <strong>ficheiros favoritos</strong> <em>(apenas Emissão)</em>", "A file or folder has been <strong>deleted</strong>" : "Foi <strong>eliminado</strong> um ficheiro ou pasta", "A file or folder has been <strong>restored</strong>" : "Foi <strong>restaurado</strong> um ficheiro ou pasta", "You created %1$s" : "Criou %1$s", "%2$s created %1$s" : "%2$s criou %1$s", "%1$s was created in a public folder" : "%1$s foi criado numa pasta pública", "You changed %1$s" : "Alterou %1$s", "%2$s changed %1$s" : "%2$s alterou %1$s", "You deleted %1$s" : "Eliminou %1$s", "%2$s deleted %1$s" : "%2$s eliminou %1$s", "You restored %1$s" : "Restaurou %1$s", "%2$s restored %1$s" : "%2$s restaurou %1$s", "Changed by %2$s" : "Alterado por %2$s", "Deleted by %2$s" : "Eliminado por %2$s", "Restored by %2$s" : "Restaurado por %2$s", "Upload (max. %s)" : "Envio (máx. %s)", "Settings" : "Configurações", "Show hidden files" : "Mostrar ficheiros ocultos", "WebDAV" : "WebDAV", "Use this address to <a href=\"%s\" target=\"_blank\" rel=\"noreferrer\">access your Files via WebDAV</a>" : "Utilize este endereço para <a href=\"%s\" target=\"_blank\" rel=\"noreferrer\">aceder aos seus ficheiros via WebDAV</a>", "No files in here" : "Nenhuns ficheiros aqui", "Upload some content or sync with your devices!" : "Envie algum conteúdo ou sincronize com os seus dispositivos!", "No entries found in this folder" : "Não foram encontradas entradas nesta pasta", "Select all" : "Selecionar todos", "Upload too large" : "Envio muito grande", "The files you are trying to upload exceed the maximum size for file uploads on this server." : "Os ficheiros que está a tentar enviar excedem o tamanho máximo para os envios de ficheiro neste servidor.", "No favorites" : "Sem favoritos", "Files and folders you mark as favorite will show up here" : "Os ficheiros e pastas que marcou como favoritos serão mostrados aqui", "Text file" : "Ficheiro de Texto", "New text file.txt" : "Novo texto ficheiro.txt" },"pluralForm" :"nplurals=2; plural=(n != 1);" }
{ "pile_set_name": "Github" }
/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.hadoop.hbase.monitoring; import java.io.IOException; import java.util.List; import java.util.Map; import org.apache.yetus.audience.InterfaceAudience; @InterfaceAudience.Private public interface MonitoredTask extends Cloneable { enum State { RUNNING, WAITING, COMPLETE, ABORTED } public interface StatusJournalEntry { String getStatus(); long getTimeStamp(); } long getStartTime(); String getDescription(); String getStatus(); long getStatusTime(); State getState(); long getStateTime(); long getCompletionTimestamp(); long getWarnTime(); void markComplete(String msg); void pause(String msg); void resume(String msg); void abort(String msg); void expireNow(); void setStatus(String status); void setDescription(String description); void setWarnTime(final long t); List<StatusJournalEntry> getStatusJournal(); /** * Enable journal that will store all statuses that have been set along with the time stamps when * they were set. * @param includeCurrentStatus whether to include the current set status in the journal */ void enableStatusJournal(boolean includeCurrentStatus); void disableStatusJournal(); String prettyPrintJournal(); /** * Explicitly mark this status as able to be cleaned up, * even though it might not be complete. */ void cleanup(); /** * Public exposure of Object.clone() in order to allow clients to easily * capture current state. * @return a copy of the object whose references will not change */ MonitoredTask clone(); /** * Creates a string map of internal details for extensible exposure of * monitored tasks. * @return A Map containing information for this task. */ Map<String, Object> toMap() throws IOException; /** * Creates a JSON object for parseable exposure of monitored tasks. * @return An encoded JSON object containing information for this task. */ String toJSON() throws IOException; }
{ "pile_set_name": "Github" }
# https://graphite.readthedocs.io/en/latest/config-carbon.html#storage-schemas-conf [default] pattern = .* retentions = 1s:1d
{ "pile_set_name": "Github" }
µMatrix: A point-and-click matrix-based firewall, with many privacy-enhancing tools. For advanced users. µMatrix put you in full control of where your browser is allowed to connect, what type of data it is allowed to download, and what it is allowed to execute. Nobody else decides for you: You choose. You are in full control of your privacy. Out of the box, µMatrix works in relax block-all/allow-exceptionally mode, meaning web sites which require 3rd-party scripts are likely to be "broken". With two clicks, µMatrix can be set to work in allow-all/block-exceptionally mode, which generally will not break web sites. See https://github.com/gorhill/httpswitchboard/wiki/How-to-use-HTTP-Switchboard:-Two-opposing-views for more details on this topic. Regarding the myth that "Chromium-based browsers can't reliably block javascript", see: https://github.com/gorhill/httpswitchboard/wiki/Blocking-javascript-execution-reliably-in-Chromium-based-browsers. Summary: Yes, javascript can be blocked reliably in Chromium. * See ALL the remote connections, failed or attempted, depending on whether they were blocked or allowed (you decide). * A single-click to whitelist/blacklist one or multiple classes of requests according to the destination and type of data (a blocked request will NEVER leave your browser). * Efficient blacklisting: cookies won't leave your browser, javascript won't execute, plugins won't play, tracking pixels won't download, etc. * You do not have to solely rely on just one particular curated blacklist (arguably with many missing entries) outside which nothing else can be blocked: You are in full control. * Ease of use: µMatrix lets you easily whitelist/blacklist net requests which originate from within a web page according to a point-and-click matrix: - domain names (left column) * from very specific * to very generic - type of requests (top row) * cookies * CSS-related resources (stylesheets and web fonts) * images * plugins * scripts * XHR (requests made by scripts) * frames * others You can blacklist/whitelist a single cell, an entire row, a group of rows, an entire column, or the whole matrix with just one click. µMatrix's filtering engine uses precedence logic to evaluate what is blocked/allowed according to which cells are blacklisted/whitelisted. For example, this allows you to whitelist a whole page with one click, without having to repeatedly whitelist whatever new data appear on the page. All rules are scoped. For example, you can block `facebook.com` and `facebook.net` everywhere except when visiting a page on `www.facebook.com`. This way Facebook won't be able to build a profile of your browsing habits. The goal of this extension is to make the allowing or blocking of web sites, wholly or partly, as straightforward as possible, so as to encourage users to care about their privacy. The extension comes with 3rd-party hosts files totaling over 58,000 distinct hostnames (lists can be selectively disabled/enabled according to your choice). Ultimately, you can choose however you browse the net: * Blacklist all by default, and whitelist as needed (default mode). * Whitelist all by default, and blacklist as needed. Either way, you still benefit from the preset blacklists so that at least you get basic protection from trackers, malware sites, etc. Or you can disable all of these preset blacklists. Your choice. Randomly assembled documentation: https://github.com/gorhill/uMatrix/wiki ===== FEEDBACK: For any question/issue you might have, use the "Send Feedback" button on the right, in order for me to be able to answer readily. I can't answer directly to reviews, but I will be more than happy to answer you directly in the feedback section. ===== BUGS, ISSUES, SUGEGSTIONS: https://github.com/gorhill/uMatrix/issues You are very welcomed to contribute your views on open issues and suggestions, various arguments for/against help me in deciding what is needed to improve the extension. Ease of use is the primary goal. I've seen users give up on Firefox's NoScript because it gets too much in the way according to them, so rather than blame these users for poor security habits, I prefer to blame developers and this project is a tentative to address the issues which cause some users to give up on basic security. This extension is also useful to understand what the web page in your browser is doing, often without your knowledge. You have full ability to see and decide with whom a web page communicates, and to restrict these communications to specific classes of objects within the web page. The number which appear in the extension icon correspond to the total number of distinct requests attempted (successfully or not depending on whether these were allowed or blocked) by the web page. Simply click on the appropriate entry in the matrix in order to white-, black- or graylist a component. Graylisting means the blocked or allowed status will be inherited from another cell with higher precedence in the matrix. Red square = effectively blacklisted, i.e. requests are prevented from reaching their intended destination: * Dark red square: the domain name and/or type of request is specifically blacklisted. * Faded red square: the blacklist status is inherited because the entry is graylisted. Green square = effectively whitelisted, i.e. requests are allowed to reach their intended destination: * Dark green square: the domain name and/or type of request is specifically whitelisted. * Faded green square: the whitelist status is inherited because the entry is graylisted. The top-left cell in the matrix, the "all" cell, represents the default global setting, which allows you to choose whether allowing or blocking everything is the default behavior. Some prefer to allow everything while blocking exceptionally. My personal preference is of course the reverse, blocking everything and allowing exceptionally. This extension is also useful if you wish to speed up your browsing, by globally blocking all requests for images as an example. ===== SOURCE CODE: https://github.com/gorhill/uMatrix (GPLv3) CHANGE LOG: https://github.com/gorhill/uMatrix/releases
{ "pile_set_name": "Github" }
export const TEMPLATE_LOADING = Symbol('TEMPLATE_LOADING') export const TEMPLATE_AVAILABLE = Symbol('TEMPLATE_AVAILABLE') export const TEMPLATE_UNAVAILABLE = Symbol('TEMPLATE_UNAVAILABLE')
{ "pile_set_name": "Github" }
.rst-content .toggle { background: none repeat scroll 0 0 #e7f2fa; padding: 12px; line-height: 24px; margin-bottom: 24px; } .rst-content .toggle .admonition-title { display: block; clear: both; cursor: pointer; } .rst-content .toggle .admonition-title:after { content: " ▶"; } .rst-content .toggle .admonition-title.open:after { content: " ▼"; } .rst-content .toggle p:last-child { margin-bottom: 0; }
{ "pile_set_name": "Github" }