text:
import re
import logging

from scrapy.spider import BaseSpider
from scrapy.selector import HtmlXPathSelector
from scrapy.http import Request, HtmlResponse
from scrapy.utils.response import get_base_url
from scrapy.utils.url import urljoin_rfc

from product_spiders.items import Product, ProductLoaderWithNameStrip as ProductLoader

class PatrollerSupplyComSpider(BaseSpider):
    name = 'patrollersupply.com'
    allowed_domains = ['patrollersupply.com']
    start_urls = ('http://www.patrollersupply.com/gear/category_index.asp',)

    def parse(self, response):
        hxs = HtmlXPathSelector(response)

        for url in hxs.select(u'//a[@class="tableLink"]/@href').extract():
            url = urljoin_rfc(get_base_url(response), url)
            yield Request(url, callback=self.parse_product_list)

    def parse_product_list(self, response):
        hxs = HtmlXPathSelector(response)

        for url in hxs.select(u'//table[contains(@class,"tableStyleSummary")]/tr/td/a[last()]/@href').extract():
            url = urljoin_rfc(get_base_url(response), url)
            yield Request(url, callback=self.parse_product)

        next_url = hxs.select(u'//a[contains(text(),"View next page")]/@href').extract()
        if next_url:
            url = urljoin_rfc(get_base_url(response), next_url[0])
            yield Request(url, callback=self.parse_product_list)

    def parse_product(self, response):
        hxs = HtmlXPathSelector(response)

        name = hxs.select(u'//h1/text()').extract()[-1].strip()
        price = hxs.select(u'//tr/td//font[starts-with(text(),"$")]/text()').extract()
        if price:
            price = price[0].split()[0]
        else:
            price = hxs.select(u'//tr/td[starts-with(text(),"Price:")]/text()').extract()[0].split('$')[-1]

        hxs = HtmlXPathSelector(response)
        category = hxs.select(u'//a[@class="linkHeading"]/text()').extract()[1].split(' - ')[0].strip()

        # For some products name does not change by selecting different options
        name_selected = hxs.select(u'//tr/td/select/option[@selected]/text()').extract()
        if name_selected:
            try:
                name += name_selected[0][name_selected[0].index('~') + 1:].strip()
            except:
                #http://www.patrollersupply.com/equipment/item_703.asp only price
                try:
                    name += name_selected[0][name_selected[0].index(' ') + 1:].strip()
                except:
                    pass

        product_loader = ProductLoader(item=Product(), selector=hxs)
        product_loader.add_value('url', response.url)
        product_loader.add_value('name', name)
        product_loader.add_value('price', price)
        product_loader.add_xpath('sku', u'//tr/td[contains(text(),"SKU") or contains(text(),"Part #")]/../td[last()]/text()')
        product_loader.add_value('category', category)
        img = hxs.select('//tr/td/img[contains(@src, "products")]/@src').extract()[0]
        img = urljoin_rfc(get_base_url(response), img)
        product_loader.add_value('image_url', img)
        product_loader.add_xpath('brand', u'//tr/td[contains(text(),"Manufacturer")]/../td[last()]/a/text()')
        product_loader.add_value('shipping_cost', '')
        yield product_loader.load_item()

        options = hxs.select(u'//tr/td/select/option/@value').extract()
        for opt in options:
            yield Request('http://www.patrollersupply.com/store/cart_item_review.asp?ID=' + opt, callback=self.parse_product)


text:
				<button class="btn btn-success transactionType">Yearly</button>
				<button class="btn btn-default transactionType">Monthly</button>

					<select class="form-control" data-catagory="yearly">
						<?php
							for($i=2016;$i>2000;$i--){
								echo "<option value='".$i."'>".$i."</option>";
							}
						?>
					</select>

					<select class="form-control" data-catagory="monthly">
						<?php
							for($i=2016;$i>2000;$i--){
								echo "<option value='".$i."'>".$i."</option>";
							}
						?>
					</select>
					<select class="form-control" data-catagory="monthly">
						<option value="1">January</option>
						<option value="2">Fabruary</option>
						<option value="3">March</option>
						<option value="4">April</option>
						<option value="5">May</option>
						<option value="6">June</option>
						<option value="7">July</option>
						<option value="8">August</option>
						<option value="9">September</option>
						<option value="10">October</option>
						<option value="11">November</option>
						<option value="12">December</option>
					</select>

					<select class="form-control" data-catagory="weekly">
						<?php
							for($i=2016;$i>2000;$i--){
								echo "<option value='".$i."'>".$i."</option>";
							}
						?>
					</select>
					<select class="form-control" data-catagory="weekly">
						<option value="1">January</option>
						<option value="2">Fabruary</option>
						<option value="3">March</option>
						<option value="4">April</option>
						<option value="5">May</option>
						<option value="6">June</option>
						<option value="7">July</option>
						<option value="8">August</option>
						<option value="9">September</option>
						<option value="10">October</option>
						<option value="11">November</option>
						<option value="12">December</option>
					</select>

redpajama_set_name: RedPajamaGithub


text:
.. toctree::
   :maxdepth: 2

API Python Function Reference
=============================

.. autosummary::
   :toctree: api

   datacube.api.model
   datacube.api.query
   datacube.api.utils
   datacube.api.workflow

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`


text:
<?php

declare(strict_types=1);

namespace Doctrine\Tests\ORM\Functional\Ticket;

use Closure;
use Doctrine\DBAL\Cache\QueryCacheProfile;
use Doctrine\DBAL\Connection;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\ToolsException;
use Doctrine\Tests\OrmFunctionalTestCase;

use function call_user_func_array;
use function debug_backtrace;

use const PHP_INT_MAX;

/**
 * @group DDC-3634
 */
class DDC3634Test extends OrmFunctionalTestCase
{
    protected function setUp(): void
    {
        parent::setUp();

        $metadata = $this->_em->getClassMetadata(DDC3634Entity::class);

        if (! $metadata->idGenerator->isPostInsertGenerator()) {
            $this->markTestSkipped('Need a post-insert ID generator in order to make this test work correctly');
        }

        try {
            $this->_schemaTool->createSchema([
                $metadata,
                $this->_em->getClassMetadata(DDC3634JTIBaseEntity::class),
                $this->_em->getClassMetadata(DDC3634JTIChildEntity::class),
            ]);
        } catch (ToolsException $e) {
            // schema already in place
        }
    }

    public function testSavesVeryLargeIntegerAutoGeneratedValue(): void
    {
        $veryLargeId = PHP_INT_MAX . PHP_INT_MAX;

        $entityManager = EntityManager::create(
            new DDC3634LastInsertIdMockingConnection($veryLargeId, $this->_em->getConnection()),
            $this->_em->getConfiguration()
        );

        $entity = new DDC3634Entity();

        $entityManager->persist($entity);
        $entityManager->flush();

        $this->assertSame($veryLargeId, $entity->id);
    }

    public function testSavesIntegerAutoGeneratedValueAsString(): void
    {
        $entity = new DDC3634Entity();

        $this->_em->persist($entity);
        $this->_em->flush();

        $this->assertIsString($entity->id);
    }

    public function testSavesIntegerAutoGeneratedValueAsStringWithJoinedInheritance(): void
    {
        $entity = new DDC3634JTIChildEntity();

        $this->_em->persist($entity);
        $this->_em->flush();

        $this->assertIsString($entity->id);
    }
}

/** @Entity */
class DDC3634Entity
{
    /**
     * @var int
     * @Id
     * @Column(type="bigint")
     * @GeneratedValue(strategy="AUTO")
     */
    public $id;
}

/**
 * @Entity
 * @InheritanceType("JOINED")
 * @DiscriminatorMap({
 *  DDC3634JTIBaseEntity::class  = DDC3634JTIBaseEntity::class,
 *  DDC3634JTIChildEntity::class = DDC3634JTIChildEntity::class,
 * })
 */
class DDC3634JTIBaseEntity
{
    /**
     * @var int
     * @Id
     * @Column(type="bigint")
     * @GeneratedValue(strategy="AUTO")
     */
    public $id;
}

/** @Entity */
class DDC3634JTIChildEntity extends DDC3634JTIBaseEntity
{
}

class DDC3634LastInsertIdMockingConnection extends Connection
{
    /** @var Connection */
    private $realConnection;

    /** @var int|string */
    private $identifier;

    /**
     * @param int|string $identifier
     */
    public function __construct($identifier, Connection $realConnection)
    {
        $this->realConnection = $realConnection;
        $this->identifier     = $identifier;
    }

    /**
     * @return mixed
     */
    private function forwardCall()
    {
        $trace = debug_backtrace(0, 2)[1];

        return call_user_func_array([$this->realConnection, $trace['function']], $trace['args']);
    }

    /** {@inheritDoc} */
    public function getParams()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getDatabase()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getHost()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getPort()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getUsername()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getPassword()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getDriver()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getConfiguration()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getEventManager()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getDatabasePlatform()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getExpressionBuilder()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function connect()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function isAutoCommit()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function setAutoCommit($autoCommit)
    {
        $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function setFetchMode($fetchMode)
    {
        $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function fetchAssoc($statement, array $params = [], array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function fetchArray($statement, array $params = [], array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function fetchColumn($statement, array $params = [], $column = 0, array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function isConnected()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function isTransactionActive()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function delete($tableExpression, array $identifier, array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function close()
    {
        $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function setTransactionIsolation($level)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getTransactionIsolation()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function update($tableExpression, array $data, array $identifier, array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function insert($tableExpression, array $data, array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function quoteIdentifier($str)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function quote($input, $type = null)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function fetchAll($sql, array $params = [], $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function prepare($statement)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function executeQuery($query, array $params = [], $types = [], ?QueryCacheProfile $qcp = null)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function executeCacheQuery($query, $params, $types, QueryCacheProfile $qcp)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function project($query, array $params, Closure $function)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function query()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function executeUpdate($query, array $params = [], array $types = [])
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function exec($statement)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getTransactionNestingLevel()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function errorCode()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function errorInfo()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function lastInsertId($seqName = null)
    {
        return $this->identifier;
    }

    /** {@inheritDoc} */
    public function transactional(Closure $func)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function setNestTransactionsWithSavepoints($nestTransactionsWithSavepoints)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getNestTransactionsWithSavepoints()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    protected function _getNestedTransactionSavePointName()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function beginTransaction()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function commit()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function rollBack()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function createSavepoint($savepoint)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function releaseSavepoint($savepoint)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function rollbackSavepoint($savepoint)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getWrappedConnection()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function getSchemaManager()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function setRollbackOnly()
    {
        $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function isRollbackOnly()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function convertToDatabaseValue($value, $type)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function convertToPHPValue($value, $type)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function resolveParams(array $params, array $types)
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function createQueryBuilder()
    {
        return $this->forwardCall();
    }

    /** {@inheritDoc} */
    public function ping()
    {
        return $this->forwardCall();
    }
}


text:
class LoanReasonController {
	constructor($state, $scope, $auth, User) {
		'ngInject';
		this.name = 'LoanReason';
		Object.assign(this, { $state, $scope, $auth, User });
		this.user = $auth.getUser();
		if (this.user.loan_reason) {
			this.loan_reason = JSON.parse(this.user.loan_reason);
			if (this.loan_reason.option > 1) {
				this.reason = this.loan_reason.reason;
			}
			this.option = '' + this.loan_reason.option;
		} else this.loan_reason = {};
		this.reasons = [
			"I'll graduate soon with a job offer, and I'd like to refinance my student loan..",
			"I've graduated and working full-time, and I'd like to refinance my student loan."
		];

		this.submit = false;

		this.$scope.$watch('self.option', (newV, oldV) => {
			if (this.option <= 2) this.submit = true;
		})
	}

	$onInit() {}

	goTo(view) {
		if (view == 'signup') {
			console.log("logging out");
			this.$auth.logout();
			this.$state.go('register.' + view);
		} else {
			let reason;
			if (+this.option < 2) {
				reason = this.reasons[+this.option];
			} else reason = this.reason;
			this.loan_reason = {
				option: this.option,
				reason: reason
			}

			console.log(this.loan_reason);
			if (!!this.submit) {
				this.User.update({ loan_reason: JSON.stringify(this.loan_reason) })
					.then(resp => {
						console.log("loan_reason updated", resp);
						this.$state.go('register.' + view);
					})
			}
		}

	}
}

export default LoanReasonController;


text:
package ch.vorburger.equalshelper;

import java.util.function.BiFunction;

/**
 * Utility helping to implement readable equals() methods.
 *
 * @author Michael Vorburger, Red Hat
 */
public final class MoreObjects2 {

    @SuppressWarnings("unchecked")
    public static <T> boolean equalsHelper(T this_, Object obj, BooleanEqualsFunction<T> equals) {
        // Arguments intentionally called this_ & obj so that on syntax completion
        // so you can just remove "_" and it's "this" and "obj" matches java.lang.Object.equals(Object)
        if (obj == null) {
            return false;
        }
        if (obj == this_) {
            return true;
        }
        if (this_.getClass() != obj.getClass()) {
            return false;
        }
        return equals.apply(this_, (T) obj);
    }

    @FunctionalInterface
    public static interface BooleanEqualsFunction<T> extends BiFunction<T, T, Boolean> { }

    private MoreObjects2() { }
}


text:
namespace KK.WordAddIn.Controls
{
    partial class MainTaskPan
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region 组件设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要修改
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.tabMain = new System.Windows.Forms.TabControl();
            this.tabPageConsole = new System.Windows.Forms.TabPage();
            this.btnClearConsole = new System.Windows.Forms.Button();
            this.txtConsole = new System.Windows.Forms.RichTextBox();
            this.tabPageTest = new System.Windows.Forms.TabPage();
            this.button4 = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.button5 = new System.Windows.Forms.Button();
            this.tabMain.SuspendLayout();
            this.tabPageConsole.SuspendLayout();
            this.tabPageTest.SuspendLayout();
            this.SuspendLayout();
            //
            // tabMain
            //
            this.tabMain.Controls.Add(this.tabPageConsole);
            this.tabMain.Controls.Add(this.tabPageTest);
            this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabMain.Location = new System.Drawing.Point(0, 0);
            this.tabMain.Name = "tabMain";
            this.tabMain.SelectedIndex = 0;
            this.tabMain.Size = new System.Drawing.Size(583, 632);
            this.tabMain.TabIndex = 0;
            //
            // tabPageConsole
            //
            this.tabPageConsole.Controls.Add(this.btnClearConsole);
            this.tabPageConsole.Controls.Add(this.txtConsole);
            this.tabPageConsole.Location = new System.Drawing.Point(4, 22);
            this.tabPageConsole.Name = "tabPageConsole";
            this.tabPageConsole.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageConsole.Size = new System.Drawing.Size(575, 606);
            this.tabPageConsole.TabIndex = 0;
            this.tabPageConsole.Text = "即时消息";
            this.tabPageConsole.UseVisualStyleBackColor = true;
            //
            // btnClearConsole
            //
            this.btnClearConsole.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnClearConsole.Location = new System.Drawing.Point(494, 6);
            this.btnClearConsole.Name = "btnClearConsole";
            this.btnClearConsole.Size = new System.Drawing.Size(75, 23);
            this.btnClearConsole.TabIndex = 1;
            this.btnClearConsole.Text = "清空";
            this.btnClearConsole.UseVisualStyleBackColor = true;
            this.btnClearConsole.Click += new System.EventHandler(this.btnClearConsole_Click);
            //
            // txtConsole
            //
            this.txtConsole.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtConsole.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtConsole.Location = new System.Drawing.Point(3, 35);
            this.txtConsole.Name = "txtConsole";
            this.txtConsole.Size = new System.Drawing.Size(569, 565);
            this.txtConsole.TabIndex = 0;
            this.txtConsole.Text = "";
            //
            // tabPageTest
            //
            this.tabPageTest.Controls.Add(this.button5);
            this.tabPageTest.Controls.Add(this.button4);
            this.tabPageTest.Controls.Add(this.button3);
            this.tabPageTest.Controls.Add(this.button2);
            this.tabPageTest.Controls.Add(this.button1);
            this.tabPageTest.Location = new System.Drawing.Point(4, 22);
            this.tabPageTest.Name = "tabPageTest";
            this.tabPageTest.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageTest.Size = new System.Drawing.Size(575, 606);
            this.tabPageTest.TabIndex = 1;
            this.tabPageTest.Text = "测试组";
            this.tabPageTest.UseVisualStyleBackColor = true;
            //
            // button4
            //
            this.button4.Location = new System.Drawing.Point(6, 97);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(75, 23);
            this.button4.TabIndex = 3;
            this.button4.Text = "列举表格";
            this.button4.UseVisualStyleBackColor = true;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            //
            // button3
            //
            this.button3.Location = new System.Drawing.Point(6, 68);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(110, 23);
            this.button3.TabIndex = 2;
            this.button3.Text = "逐句扩展选择";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            //
            // button2
            //
            this.button2.Location = new System.Drawing.Point(6, 35);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(132, 27);
            this.button2.TabIndex = 1;
            this.button2.Text = "MoveStart/MoveEnd";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(6, 6);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(110, 23);
            this.button1.TabIndex = 0;
            this.button1.Text = "读取所有句子";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // button5
            //
            this.button5.Location = new System.Drawing.Point(6, 126);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(93, 23);
            this.button5.TabIndex = 4;
            this.button5.Text = "获取所有图片";
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            //
            // MainTaskPan
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.tabMain);
            this.Name = "MainTaskPan";
            this.Size = new System.Drawing.Size(583, 632);
            this.tabMain.ResumeLayout(false);
            this.tabPageConsole.ResumeLayout(false);
            this.tabPageTest.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TabControl tabMain;
        private System.Windows.Forms.TabPage tabPageConsole;
        private System.Windows.Forms.TabPage tabPageTest;
        private System.Windows.Forms.RichTextBox txtConsole;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.Button btnClearConsole;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Button button3;
        private System.Windows.Forms.Button button4;
        private System.Windows.Forms.Button button5;
    }
}


text:
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//----------------------------------------------------------------

namespace System.Runtime.DurableInstancing
{
    using System.Collections.Generic;
    using System.Threading;
    using System.Xml.Linq;

    [Fx.Tag.XamlVisible(false)]
    public sealed class InstanceOwner
    {
        // These collections are synchronized by the HandlesLock.
        readonly Dictionary<Guid, InstanceHandle> boundHandles = new Dictionary<Guid, InstanceHandle>();
        readonly Queue<InstanceHandleReference> inProgressHandles = new Queue<InstanceHandleReference>();
        readonly Dictionary<Guid, Queue<InstanceHandleReference>> inProgressHandlesPerInstance = new Dictionary<Guid, Queue<InstanceHandleReference>>();

        // This is synchronized by the InstanceStore.
        readonly Dictionary<XName, InstanceNormalEvent> events = new Dictionary<XName, InstanceNormalEvent>(1);

        internal InstanceOwner(Guid ownerId, Guid lockToken)
        {
            InstanceOwnerId = ownerId;
            OwnerToken = lockToken;
        }

        public Guid InstanceOwnerId { get; private set; }

        internal Guid OwnerToken { get; private set; }

        internal Dictionary<XName, InstanceNormalEvent> Events
        {
            get
            {
                return this.events;
            }
        }

        object HandlesLock
        {
            get
            {
                return this.boundHandles;
            }
        }

        Dictionary<Guid, InstanceHandle> BoundHandles
        {
            get
            {
                return this.boundHandles;
            }
        }

        Queue<InstanceHandleReference> InProgressHandles
        {
            get
            {
                return this.inProgressHandles;
            }
        }

        Dictionary<Guid, Queue<InstanceHandleReference>> InProgressHandlesPerInstance
        {
            get
            {
                return this.inProgressHandlesPerInstance;
            }
        }

        // This can be called to remove a handle from the BoundHandles table.  It should be called only after no more commands are in progress or could be made on the handle.
        internal void Unbind(InstanceHandle handle)
        {
            Fx.Assert(object.ReferenceEquals(this, handle.Owner), "Unbind called on the wrong owner for a handle.");
            Fx.Assert(handle.Id != Guid.Empty, "Unbind called on a handle not even bound to an instance.");

            lock (HandlesLock)
            {
                // The handle may have already been bumped - only remove it if it's still it.
                InstanceHandle existingHandle;
                if (BoundHandles.TryGetValue(handle.Id, out existingHandle) && object.ReferenceEquals(handle, existingHandle))
                {
                    BoundHandles.Remove(handle.Id);
                }
            }
        }

        // This doesn't check the bound handles, since one of the scenarios is to re-bind to an instance and kick out the stale handle.
        internal void StartBind(InstanceHandle handle, ref InstanceHandleReference reference)
        {
            Fx.Assert(object.ReferenceEquals(this, handle.Owner), "StartBind called on the wrong owner for a handle.");

            lock (HandlesLock)
            {
                Fx.Assert(reference == null, "Already have a bind in progress.");

                reference = new InstanceHandleReference(handle);
                EnqueueReference(reference);
            }
        }

        // This happens only when the transaction under which the handle was bound is committed.
        internal bool TryCompleteBind(ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution, out InstanceHandle handleToFree)
        {
            Fx.Assert(reference != null, "Bind wasn't registered - RegisterStartBind must be called.");
            Fx.Assert(reference.InstanceHandle != null, "Cannot cancel and complete a bind.");
            Fx.Assert(reference.InstanceHandle.Version != -1, "Handle state must be set first.");
            Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "TryCompleteBind called on the wrong owner for a handle.");
            Fx.Assert(!(reference is LockResolutionMarker) || ((LockResolutionMarker)reference).NonConflicting, "How did a Version get set if we're still resolving.");

            handleToFree = null;
            lock (HandlesLock)
            {
                try
                {
                    InstanceHandle existingHandle;
                    if (BoundHandles.TryGetValue(reference.InstanceHandle.Id, out existingHandle))
                    {
                        Fx.AssertAndFailFast(!object.ReferenceEquals(existingHandle, reference.InstanceHandle), "InstanceStore lock state is not correct.");
                        if (existingHandle.Version <= 0 || reference.InstanceHandle.Version <= 0)
                        {
                            if (existingHandle.Version != 0 || reference.InstanceHandle.Version != 0)
                            {
                                throw Fx.Exception.AsError(new InvalidOperationException(SRCore.InvalidLockToken));
                            }

                            reference.InstanceHandle.ConflictingHandle = existingHandle;
                            return false;
                        }

                        if (existingHandle.Version > reference.InstanceHandle.Version)
                        {
                            reference.InstanceHandle.ConflictingHandle = existingHandle;
                            return false;
                        }

                        if (existingHandle.Version < reference.InstanceHandle.Version)
                        {
                            existingHandle.ConflictingHandle = reference.InstanceHandle;
                            handleToFree = existingHandle;
                            BoundHandles[reference.InstanceHandle.Id] = reference.InstanceHandle;
                            return true;
                        }

                        if (existingHandle.Version == reference.InstanceHandle.Version)
                        {
                            // This could be a case of amnesia (backup / restore).
                            throw Fx.Exception.AsError(new InvalidOperationException(SRCore.InstanceStoreBoundSameVersionTwice));
                        }

                        throw Fx.AssertAndThrow("All cases covered above.");
                    }
                    else
                    {
                        BoundHandles.Add(reference.InstanceHandle.Id, reference.InstanceHandle);
                        return true;
                    }
                }
                finally
                {
                    CancelReference(ref reference, ref handlesPendingResolution);
                }
            }
        }

        // This is called if we found an existing lock.  This handle doesn't own the lock, but it could claim it, if it can prove
        // that no other live handle owns it.  If this returns non-null, the outcome will be available later on the
        // InstanceHandleReference once the AsyncWaitHandle completes.  (Null indicates a conflict with another handle.)
        //
        // The instanceVersion reported here was read under the transaction, but not changed.  Either it was already committed, or it was written under
        // this transaction in a prior command on a different handle.  Due to the latter case, we treat it as dirty - we do not publish it or take
        // any visible action (such as dooming handles) based on its value.
        internal AsyncWaitHandle InitiateLockResolution(long instanceVersion, ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution)
        {
            Fx.Assert(reference != null, "Bind wasn't registered - RegisterStartBind must be called.");
            Fx.Assert(reference.InstanceHandle != null, "Cannot cancel and complete a bind.");
            Fx.Assert(reference.InstanceHandle.Id != Guid.Empty, "Must be bound to an instance already.");

            Fx.AssertAndThrow(!(reference is LockResolutionMarker), "InitiateLockResolution already called.");

            lock (HandlesLock)
            {
                InstanceHandleReference cancelReference = reference;
                LockResolutionMarker markerReference = null;
                try
                {
                    InstanceHandle existingHandle;
                    if (BoundHandles.TryGetValue(reference.InstanceHandle.Id, out existingHandle))
                    {
                        Fx.AssertAndFailFast(!object.ReferenceEquals(existingHandle, reference.InstanceHandle), "InstanceStore lock state is not correct in InitiateLockResolution.");
                        if (existingHandle.Version <= 0 || instanceVersion <= 0)
                        {
                            if (existingHandle.Version != 0 || instanceVersion != 0)
                            {
                                throw Fx.Exception.AsError(new InvalidOperationException(SRCore.InvalidLockToken));
                            }

                            reference.InstanceHandle.ConflictingHandle = existingHandle;
                            return null;
                        }

                        if (existingHandle.Version >= instanceVersion)
                        {
                            reference.InstanceHandle.ConflictingHandle = existingHandle;
                            return null;
                        }
                    }

                    // Put a marker in the InProgressHandles.  If it makes it through, and there's still no conflicting handle,
                    // then the lock can be claimed at this version.  Only currently in-progress bindings have a chance of
                    // staking a stronger claim to the lock version (if the store actually acquired the lock for the handle).
                    markerReference = new LockResolutionMarker(reference.InstanceHandle, instanceVersion);
                    EnqueueReference(markerReference);
                    reference = markerReference;
                    Fx.Assert(markerReference.MarkerWaitHandle != null, "Null MarkerWaitHandle?");
                    return markerReference.MarkerWaitHandle;
                }
                finally
                {
                    if (!object.ReferenceEquals(markerReference, reference))
                    {
                        CancelReference(ref reference, ref handlesPendingResolution);
                        if (markerReference != null)
                        {
                            cancelReference = markerReference;
                            CancelReference(ref cancelReference, ref handlesPendingResolution);
                        }
                    }
                    else
                    {
                        CancelReference(ref cancelReference, ref handlesPendingResolution);
                    }
                }
            }
        }

        // Called when a handle is bound to an instance while the handle is in-progress for a lock.  This can progress the queue-states since
        // this once can move from the general queue to the per-instance queue.
        internal void InstanceBound(ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution)
        {
            Fx.Assert(reference != null, "InstanceBound called when no operation is in progress.");
            Fx.Assert(reference.InstanceHandle != null, "InstanceBound called after cancelling.");
            Fx.Assert(reference.InstanceHandle.Id != Guid.Empty, "InstanceBound called, but the handle isn't bound.");
            Fx.AssertAndThrow(!(reference is LockResolutionMarker), "InstanceBound called after trying to bind the lock version, which alredy required an instance.");

            lock (HandlesLock)
            {
                ProcessInProgressHandles(ref handlesPendingResolution);
            }
        }

        internal void CancelBind(ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution)
        {
            Fx.Assert(reference != null, "Bind not in progress.");
            Fx.Assert(reference.InstanceHandle != null, "Reference already canceled in CancelBind.");
            Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "CancelBind called on the wrong owner for a handle.");

            lock (HandlesLock)
            {
                CancelReference(ref reference, ref handlesPendingResolution);
            }
        }

        internal void FaultBind(ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution, Exception reason)
        {
            Fx.Assert(reference != null, "Bind not in progress in FaultBind.");
            Fx.Assert(reference.InstanceHandle != null, "Reference already canceled in FaultBind.");
            Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "FaultBind called on the wrong owner for a handle.");

            lock (HandlesLock)
            {
                LockResolutionMarker marker = reference as LockResolutionMarker;
                if (marker != null && !marker.IsComplete)
                {
                    try
                    {
                        // Nothing to do here - following the patterns of dealing with handlesPendingResolution and setting NotifyMarkerComplete in a finally.
                    }
                    finally
                    {
                        marker.Reason = reason ?? new OperationCanceledException(SRCore.HandleFreed);
                        marker.NotifyMarkerComplete(false);

                        if (handlesPendingResolution == null)
                        {
                            handlesPendingResolution = new List<InstanceHandleReference>(1);
                        }
                        handlesPendingResolution.Add(marker);
                    }
                }
            }
        }

        internal bool FinishBind(ref InstanceHandleReference reference, ref long instanceVersion, ref List<InstanceHandleReference> handlesPendingResolution)
        {
            Fx.Assert(reference != null, "Bind not in progress in FinishBind.");
            Fx.Assert(reference.InstanceHandle != null, "Reference already canceled in FinishBind.");
            Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "FinishBind called on the wrong owner for a handle.");
            Fx.Assert(reference is LockResolutionMarker, "Must have started reclaim in order to finish it.");

            lock (HandlesLock)
            {
                LockResolutionMarker marker = (LockResolutionMarker)reference;
                Fx.AssertAndThrow(marker.IsComplete, "Called FinishBind prematurely.");
                if (marker.NonConflicting)
                {
                    instanceVersion = marker.InstanceVersion;
                    return true;
                }

                try
                {
                    if (marker.Reason != null)
                    {
                        throw Fx.Exception.AsError(marker.Reason);
                    }
                    Fx.Assert(marker.ConflictingHandle != null, "Should either have a conflicting handle or a reason in the conflicting case.");
                    marker.InstanceHandle.ConflictingHandle = marker.ConflictingHandle;
                    return false;
                }
                finally
                {
                    CancelReference(ref reference, ref handlesPendingResolution);
                }
            }
        }

        // Must be called with HandlesLock held.
        void CancelReference(ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution)
        {
            Guid wasBoundToInstanceId = reference.InstanceHandle.Id;

            try
            {
                LockResolutionMarker marker = reference as LockResolutionMarker;
                if (marker != null && !marker.IsComplete)
                {
                    if (handlesPendingResolution == null)
                    {
                        handlesPendingResolution = new List<InstanceHandleReference>(1);
                    }
                    handlesPendingResolution.Add(marker);
                }
            }
            finally
            {
                reference.Cancel();
                reference = null;
            }

            ProcessInProgressHandles(ref handlesPendingResolution);

            if (wasBoundToInstanceId != Guid.Empty)
            {
                Queue<InstanceHandleReference> instanceQueue;
                if (InProgressHandlesPerInstance.TryGetValue(wasBoundToInstanceId, out instanceQueue))
                {
                    while (instanceQueue.Count > 0)
                    {
                        InstanceHandleReference handleRef = instanceQueue.Peek();
                        if (handleRef.InstanceHandle != null)
                        {
                            if (CheckOldestReference(handleRef, ref handlesPendingResolution))
                            {
                                break;
                            }
                        }
                        instanceQueue.Dequeue();
                    }

                    if (instanceQueue.Count == 0)
                    {
                        InProgressHandlesPerInstance.Remove(wasBoundToInstanceId);
                    }
                }
            }
        }

        // Must be called with HandlesLock held.
        // This process the top-level InProgressHandles queue, demuxing entries into the per-instance queues and completing markers.
        void ProcessInProgressHandles(ref List<InstanceHandleReference> handlesPendingResolution)
        {
            while (InProgressHandles.Count > 0)
            {
                InstanceHandleReference handleRef = InProgressHandles.Peek();
                if (handleRef.InstanceHandle != null)
                {
                    if (handleRef.InstanceHandle.Id == Guid.Empty)
                    {
                        break;
                    }

                    Queue<InstanceHandleReference> acceptingQueue;
                    if (!InProgressHandlesPerInstance.TryGetValue(handleRef.InstanceHandle.Id, out acceptingQueue))
                    {
                        if (CheckOldestReference(handleRef, ref handlesPendingResolution))
                        {
                            acceptingQueue = new Queue<InstanceHandleReference>(2);
                            acceptingQueue.Enqueue(handleRef);
                            InProgressHandlesPerInstance.Add(handleRef.InstanceHandle.Id, acceptingQueue);
                        }
                    }
                    else
                    {
                        // It's ok to enqueue first, then dequeue, to err on the side of duplicates.  Duplicates do not cause a problem.
                        acceptingQueue.Enqueue(handleRef);
                    }
                }
                InProgressHandles.Dequeue();
            }
        }

        // Must be called with HandlesLock held.
        void EnqueueReference(InstanceHandleReference handleRef)
        {
            if (InProgressHandles.Count > 0)
            {
                InProgressHandles.Enqueue(handleRef);
            }
            else if (handleRef.InstanceHandle.Id != Guid.Empty)
            {
                Queue<InstanceHandleReference> queue;
                if (!InProgressHandlesPerInstance.TryGetValue(handleRef.InstanceHandle.Id, out queue))
                {
                    queue = new Queue<InstanceHandleReference>(2);
                    InProgressHandlesPerInstance.Add(handleRef.InstanceHandle.Id, queue);
                }
                queue.Enqueue(handleRef);
            }
            else
            {
                InProgressHandles.Enqueue(handleRef);
            }
        }

        // Must be called with HandlesLock held.
        // This is called when a reference becomes the oldest in-progress reference for an instance.  This triggers the end of resolution for markers.
        // Returns false if the resolution failed, meaning that the marker can be removed.
        bool CheckOldestReference(InstanceHandleReference handleRef, ref List<InstanceHandleReference> handlesPendingResolution)
        {
            LockResolutionMarker marker = handleRef as LockResolutionMarker;
            if (marker == null || marker.IsComplete)
            {
                return true;
            }

            bool returnValue = true;
            try
            {
                InstanceHandle existingHandle;
                if (BoundHandles.TryGetValue(marker.InstanceHandle.Id, out existingHandle))
                {
                    Fx.AssertAndFailFast(!object.ReferenceEquals(existingHandle, marker.InstanceHandle), "InstanceStore lock state is not correct in CheckOldestReference.");
                    if (existingHandle.Version <= 0 || marker.InstanceVersion <= 0)
                    {
                        if (existingHandle.Version != 0 || marker.InstanceVersion != 0)
                        {
                            marker.Reason = new InvalidOperationException(SRCore.InvalidLockToken);
                            returnValue = false;
                        }
                        else
                        {
                            marker.ConflictingHandle = existingHandle;
                            returnValue = false;
                        }
                    }
                    else if (existingHandle.Version >= marker.InstanceVersion)
                    {
                        marker.ConflictingHandle = existingHandle;
                        returnValue = false;
                    }
                }

                // No other handles have committed a bind to this or a higher version!  We are ok to do so, but it is still not committed, so we stay in queue.
                return returnValue;
            }
            finally
            {
                marker.NotifyMarkerComplete(returnValue);

                if (handlesPendingResolution == null)
                {
                    handlesPendingResolution = new List<InstanceHandleReference>(1);
                }
                handlesPendingResolution.Add(marker);
            }
        }

        // Must be called ouside InstanceHandle.ThisLock and HandlesLock.
        internal static void ResolveHandles(List<InstanceHandleReference> handlesPendingResolution)
        {
            if (handlesPendingResolution != null)
            {
                foreach (InstanceHandleReference handleRef in handlesPendingResolution)
                {
                    LockResolutionMarker marker = handleRef as LockResolutionMarker;
                    Fx.Assert(marker != null, "How did a non-marker get in here.");
                    marker.MarkerWaitHandle.Set();
                }
            }
        }

        class LockResolutionMarker : InstanceHandleReference
        {
            AsyncWaitHandle waitHandle = new AsyncWaitHandle(EventResetMode.ManualReset);

            internal LockResolutionMarker(InstanceHandle instanceHandle, long instanceVersion)
                : base(instanceHandle)
            {
                InstanceVersion = instanceVersion;
            }

            // This is signalled when the marker reaches the end of the queue.
            internal AsyncWaitHandle MarkerWaitHandle
            {
                get
                {
                    return this.waitHandle;
                }
            }

            // The initial state of the attempt.
            internal long InstanceVersion { get; private set; }

            // State regarding a failed attempt which can be used to construct an exception.
            internal InstanceHandle ConflictingHandle { get; set; }
            internal Exception Reason { get; set; }

            // State about the success / failure of the attempt.
            internal bool IsComplete { get; private set; }
            internal bool NonConflicting { get; private set; }

            internal void NotifyMarkerComplete(bool success)
            {
                Fx.Assert(InstanceHandle != null, "NotifyNonConflicting called on a cancelled LockResolutionMarker.");
                NonConflicting = success;
                IsComplete = true;
            }
        }
    }
}


text:
namespace map {

class AbsoluteGrid: public IGrid
{
public:
    AbsoluteGrid( int32_t Id );
    virtual void Update( double DeltaTime );
    virtual void SetMousePosition( double x, double y );
};

} // namespace map
#endif//INCLUDED_CORE_MAP_ABSOLUTE_GRID_H


text:
using System;
using Tridion.ExternalContentLibrary.V2;

namespace SDL.ECommerce.Ecl
{
    /// <summary>
    /// Top ECL item, e.g. 'Categories', 'Products' etc
    /// </summary>
    class TypeItem : IContentLibraryListItem, IContentLibraryItem
    {
        private readonly IEclUri id;
        private readonly string typeName;

        public TypeItem(int publicationId, String typeName)
        {
            this.typeName = typeName;
            this.id = EclProvider.HostServices.CreateEclUri(publicationId, EclProvider.MountPointId,
                      "Type_" + typeName, DisplayTypeId, EclItemTypes.Folder);
        }

        public bool CanGetUploadMultimediaItemsUrl
        {
            get { return false; }
        }

        public bool CanSearch
        {
            get { return false; }
        }

        public string DisplayTypeId
        {
            get { return "category" /*"type"*/; }
        }

        public string IconIdentifier
        {
            // TODO: Can I get an unique look on the type folders?
            get { return null; }
        }

        public IEclUri Id
        {
            get { return id; }
        }

        public bool IsThumbnailAvailable
        {
            get { return false; }
        }

        public DateTime? Modified
        {
            get { return null; }
        }

        public string ThumbnailETag
        {
            get { return null; }
        }

        public string Title
        {
            get { return this.typeName; }
            set { throw new NotSupportedException(); }
        }

        // allow override of dispatch
        public virtual string Dispatch(string command, string payloadVersion, string payload, out string responseVersion)
        {
            throw new NotSupportedException();
        }

        public IEclUri ParentId
        {
            get
            {
                // Return root folder
                //
                return EclProvider.HostServices.CreateEclUri(Id.PublicationId, Id.MountPointId);
            }
        }

        public string ModifiedBy
        {
            get { return CreatedBy; }
        }

        public string CreatedBy
        {
            get { return null; }
        }

        public DateTime? Created
        {
            get { return null; }
        }

        public string MetadataXml
        {
            get { return null; }
            set { throw new NotSupportedException(); }
        }

        public ISchemaDefinition MetadataXmlSchema
        {
            get
            {
               return null;
            }
        }

        public bool CanUpdateTitle
        {
            get { return false; }
        }

        public bool CanGetViewItemUrl
        {
            get { return true; }
        }

        public bool CanUpdateMetadataXml
        {
            get { return false; }
        }

        public IContentLibraryItem Save(bool readback)
        {
            // as saving isn't supported, the result of saving is always the item itself
            return readback ? this : null;
        }
    }
}


text:
@media (min-width:780px) {
	#mailchimp-container-div .ng-enter {
	  animation: bounceIn 2s;
	}

	#mailchimp-container-div .ng-leave {
		animation: flipOutX 2s;
	}

	#mailchimp-container-div .basic {
		font-family:"Raleway";
	}

	#mailchimp-container-div #campaignsSelected {

		width: 25%;
		margin-right: 10px;
		margin-left: auto;

	}
	#mailchimp-container-div #campaignInfo {
    	margin-top:20px;
    	margin-bottom:15px;
    	font-family:"Raleway", Helvetica, Arial, sans-serif;
    }

    #mailchimp-container-div .cmpgnDetails {
    	font-family:"Raleway" !important;
		font-weight: normal;
		display: block;
    }

	#mailchimp-container-div .bttn:active {
    	background-color:#8AD4F4
    }

    #mailchimp-container-div .bttn:hover {
    	border-color:#03648E;
    }

    #mailchimp-container-div .topHeader {
    	font-size: 16px;
		font-family:"Raleway", Helvetica, Arial, sans-serif;
		font-weight:bold;
		display:block;
    }

	#mailchimp-container-div .sectionHeader {
		font-size: 16px;
		font-family:"Raleway", Helvetica, Arial, sans-serif;
		font-weight:bold;
		display:block;
		margin-left:0px !important;
		margin-top: 145px;
		margin-bottom:15px;
	}

	#mailchimp-container-div .sectionHeader h2 {
		font-family:"Raleway", Helvetica, Arial, sans-serif;
		display:block;
		margin-left:0px !important;
		margin-top:20px;
		font-weight:500;
	}

	#mailchimp-container-div .campbox {
		display:table-cell;
	}

	#mailchimp-container-div .campHolder {
		display:inline-block;

	}

	#mailchimp-container-div #filterItems {
		width:25%;
		display:block;
		height:800px;
		float:right;
	}

	#mailchimp-container-div .filteredItem {
		display:block;
		margin-left:10px;
		/*border-radius: 10px 10px 10px 10px;
		-moz-border-radius: 10px 10px 10px 10px;
		-webkit-border-radius: 10px 10px 10px 10px;*/
		border: 0px solid #028043;
		text-align:center;
		width:100%;
		float:right;
		padding:5px;
		margin-top:1px;
		background-color: #8AD4F4;
		font-family:"Raleway";
	}

	#mailchimp-container-div .filteredItemsList:first-child {
		margin-top:15px;
	}

	#mailchimp-container-div .closer {
		float:right;
		background: transparent;
		border:0;
		color: lightgray;
	}

	#mailchimp-container-div .closer:hover {
		color: black;
	}

	#mailchimp-container-div .lesser {
		display:inline;
		font-family: "Raleway", Helvetica, Arial, sans-serif;
	}

	#mailchimp-container-div #searchBar {
		width:100%;
		margin-bottom:1px;
		padding:5px;
		display:block;

	}

	#mailchimp-container-div #resultsPage {
		width:100%;
		display:inline-block;

	}

	#mailchimp-container-div #resultsSection {
		width:74%;
		display:table;
		margin-left:10px;
	}

	#mailchimp-container-div *:focus {
	    outline: 0;
	}

	#mailchimp-container-div .textinputs {
        border-radius: 10px 10px 10px 10px;
        -moz-border-radius: 10px 10px 10px 10px;
        -webkit-border-radius: 10px 10px 10px 10px;
        box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;;
        border: 0px solid #285e8e;
        padding: 10px;
        font-family:"Raleway", Helvetica, Arial, sans-serif;
        width:80%;
			display:inline-block;
    }

    #mailchimp-container-div .off {
    	display:none !important;
    }

    #mailchimp-container-div .sendBttn {

    	width:72% !important;
    }

    #mailchimp-container-div .modal {
    	overflow-y: hidden !important;
    }

    #mailchimp-container-div .modal-backdrop {
    	position:relative !important;
    }

    #mailchimp-container-div body.modal-open, #mailchimp-container-div .modal-open .navbar-fixed-top, #mailchimp-container-div .modal-open .navbar-fixed-bottom
	{
	    margin-right: 0px;
	    margin-top:25px;
	}

	#mailchimp-container-div .modalInputs {
		margin:10px;
		width: 225px;
	}

	#mailchimp-container-div .modalBody {
		text-align:center;
		width:370px;
		margin-right:auto;
		margin-left:auto;
	}

	#mailchimp-container-div .modal-dialog {
		width:400px !important;
	}

	#mailchimp-container-div .innerModal {
		float:right;
	}

	#mailchimp-container-div #modalError {
		color:red !important;
		font-weight:bold;
	}

	#mailchimp-container-div .filterText {
		font-size: 14px !important;
		font-family:"Raleway", Helvetica, Arial, sans-serif;
		font-weight:bold;
	}

	::-webkit-input-placeholder {
	   font-family: "Raleway";
	}

	#mailchimp-container-div .buttonHover .resethover {
		display:block !important;
	}

	#mailchimp-container-div .resethover {
		cursor:pointer;
	}

	#mailchimp-container-div .drop-hover {
		background-color:#eeeeee !important;
	}

	#mailchimp-container-div .campitem:hover {
		background-color:#eeeeee;
	}

	#mailchimp-container-div .objectSelection a {
		text-decoration:none !important;
		cursor:pointer;
		padding:10px 25px;
	}

	#mailchimp-container-div .objectSelection button span {
		font-size:18px;

	}

	#mailchimp-container-div .objectSelection {
		padding:0px !important;
		margin-left:10px !important;
	}

	#mailchimp-container-div .objectSelection button {
		min-height:59px !important;
		text-align: center;
		background-color: white !important;
	    color: black !important;
	    border: none !important;
	}

	#mailchimp-container-div .objectSelection button:hover {
		background-color:#F35652  !important;
		cursor:pointer;
		color:white !important;
		border:inherit !important;
	}

	#mailchimp-container-div .objectSelection div:active {
		box-shadow: inset 2px 2px 2px #888888;
	}

	#mailchimp-container-div .fieldlist {
		margin:10px;
	}

	#mailchimp-container-div .fieldlist div {
		display:block;
	}

	#mailchimp-container-div .fieldlist div p {
		display:inline-block;
		font-size:16px;
		margin-bottom:0px;
	}

	#mailchimp-container-div #picklistSection {
		text-align:center;
	}

	#mailchimp-container-div .logo img {
		float:right;
		max-width:250px;
	}

	#mailchimp-container-div .campitem {
		cursor:pointer;
	}

	#mailchimp-container-div .bs .row {
		margin-left:0px !important;
		margin-right:0px !important;
	}

	/*
	.camplist li{
		line-height:1.5em;
		float:left;
		display:inline;
	}

	#double li  {

		width:48%;
		margin-right:1% !important;

	}
	*/

	#mailchimp-container-div .pixeltags .affix {

	}

	#mailchimp-container-div #pixeltags.affix-top {
	    position: static;

	  }

	#mailchimp-container-div #pixeltags.affix {
	    position: fixed;
	    top:50px;
	    width:32%;
	}

	#mailchimp-container-div .instructions h1 {
		font-size:25px;
		display:block;
		margin-top:5px;
	}

	#mailchimp-container-div .instructions h2 {
		font-size:18px;
		display:block;
		margin-left:15px;
		font-weight:500;
	}

	#mailchimp-container-div .instructions p {
		margin-left:30px;
	}

	#mailchimp-container-div .instructions p, #mailchimp-container-div .instructions li {
		font-size:14px;
	}

	#mailchimp-container-div .bs .mSection .instructions {
		margin-left:15px !important;
	}

	#mailchimp-container-div .sectionHeader .label {
		font-size: 20px;
		margin-top: 23px;
	}

	#mailchimp-container-div .campDetails {

	}

	#mailchimp-container-div .campDetails tr {
		padding:5px;
	}

	#mailchimp-container-div .campDetails td {
		text-align:center;
		padding:5px;
	}

	#mailchimp-container-div .campDetails th {
		text-align:center;
		padding:5px;
	}

	#mailchimp-container-div .campCreativeHide {
		display:none;
	}

	#mailchimp-container-div .campCreative img{
		max-width:100%;
	}

	#mailchimp-container-div #introsection {
		padding:25px;
		margin:5px;
		border-radius:10px;
		border: 1px solid #D8D8D8;
	}

	#mailchimp-container-div #introsection hr {
		color:#eeeeee;
		width:50%;
		margin-left: auto;
		margin-right: auto;
	}

	#mailchimp-container-div #introsection button {
		text-align:center;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	#mailchimp-container-div a {
		color:initial;
	}

	#mailchimp-container-div .strongTxt{
		font-weight: bold;
	}

	#mailchimp-container-div .fieldlist:hover {
		background-color:#eeeeee !important;
	}

	#mailchimp-container-div .fieldlist:focus {
		background-color:#e5e5e5 !important;
	}

	#mailchimp-container-div .fieldlist {
		border:1px solid #eeeeee;
		cursor:pointer;

	}

	#mailchimp-container-div .list li {
		margin-bottom: 12px;
	}

	#mailchimp-container-div .list li ul li {
		margin-bottom: 6px;
	}

	#mailchimp-container-div .listGroup {
		text-decoration: underline;
		margin-top: 24px;
	}

	#mailchimp-container-div .row {
		/*margin: 6px 0px;*/
	}

	#mailchimp-container-div .right {
		text-align: right;
		vertical-align: top;
		width: 150px;
		color: #4a4a56;
		font-size: 91%;
		font-weight: bold;
		margin-right: 15px;
	}

	#mailchimp-container-div .ui-autocomplete-loading {
		background: white url("{!$Resource.ajaxload}") right center no-repeat;
	}

	#mailchimp-container-div .autocomplete {
		border-color: #929292 #D5D5D5 #D5D5D5 #929292 !important;
		border-style: solid;
		border-width: 1px !important;
		height: 18px !important;
		width: 200px !important;
	}

	#mailchimp-container-div .searchBtn {
		background: #FDCE3E !important;
		border: 1px solid #E5A716 !important;
		color: #434343 !important;
		height: 18px !important;
		margin-left: 2px !important;
		padding: 0 15px !important;
		font-size: 12px !important;
		font-weight: bold !important;
	}

	#mailchimp-container-div #ext_campaigns {
		overflow: auto;
		max-height: 350px;
		overflow-x: auto;
		border-radius: 10px 10px 10px 10px;
		-moz-border-radius: 10px 10px 10px 10px;
		-webkit-border-radius: 10px 10px 10px 10px;
		border: 1px solid #ddd;
		padding-bottom:56px;
		margin-left:10px;
	}

	#mailchimp-container-div .cmpgnLine {
		box-sizing: border-box;
		padding: 15px;
		text-align: center;
		display: block;
		width: 300px;
		float: left;
		cursor: pointer;
	}

	#mailchimp-container-div .cmpgnLine img {
		box-sizing: border-box;
		max-width: 100%;
		max-height: 100%;
		margin: 0 auto;
		vertical-align: middle;
	}

	#mailchimp-container-div .cmpgnLine .cmpgnDetails {
		box-sizing: border-box;
		margin-bottom: 10px;
		font-size: 15px;
		display: block;
		font-weight: normal;
	}

	#mailchimp-container-div .cmpgnLine.selected .cmpgnDetails {
		font-weight: bold;
	}

	#mailchimp-container-div .cmpgnLine .pic {
		box-sizing: border-box;
		margin-bottom: 5px;
		height: 200px;
		background-color: white;
		padding: 7px;
		display: inline-block;
	}

	#mailchimp-container-div .cmpgnLine.selected .pic {
		background-color: #FCB040;
	}

	#mailchimp-container-div .cmpgnSelect, .cmpgnSelected {
		background-color: #35b4e9;
		border-radius: 5px;
		padding: 7px 13px;
		color: white !important;
		font-weight: bold;
		display: inline-block;
	}

	#mailchimp-container-div .cmpgnSelected, .cmpgnLine.selected .cmpgnSelect {
		display: none;
	}

	#mailchimp-container-div .cmpgnLine.selected .cmpgnSelected {
		background-color: #FCB040;
		display: inline-block;
	}

	#mailchimp-container-div .cmpgnSelect:hover {
		text-decoration: none;
	}

	#mailchimp-container-div .helper {
		display: inline-block;
		height: 100%;
		vertical-align: middle;
	}

	#mailchimp-container-div .headerInfo {
		width:100%;
		display:block;
		margin-bottom: 10px;
	}

	#mailchimp-container-div .mSection {
		max-width:100%;
		margin-right:auto;
		margin-left:auto;
		margin-top:20px;
		margin-bottom: 20px;
	}

	#mailchimp-container-div .innerSection {

		margin-left:auto;
		margin-right:auto;
		display:table;

	}

	#mailchimp-container-div .campSelect {
		width:100%;
	}

	#mailchimp-container-div .objSelect {
		max-width:100%;
		min-width:350px;
	}

	#mailchimp-container-div .massNav {
	      font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
	      background-color: #35b4e9;
		  border-radius: 5px;
		  padding: 7px 13px;
		  color: white !important;
		  font-weight: bold;
		  display: inline-block;
		  -webkit-user-select: none;
		  -moz-user-select: none;
		  -ms-user-select: none;
		  user-select: none;
		  outline: 0;
		  border:none;
		  text-align:center;
		  cursor:pointer;
	}

	#mailchimp-container-div .buttonHover {
		background-color:#eeeeee !important;
		color:black;
		cursor:pointer;
	}

	#mailchimp-container-div .submitHover {
		background-color:#545454 !important;
	}

	#mailchimp-container-div .sendHover {
		background-color:#FCBA6A !important;
	}

	#mailchimp-container-div .successHeader {
		width:700px;
		height: 350px;
		margin-left:auto;
		margin-right:auto;
		margin-top: 40px;
	}

	#mailchimp-container-div .modal-header {
		background-color: #0f5782;
		color: white;
	}

	#mailchimp-container-div .modal-title {
		font-size: 24px !important;
		font-weight: bold;
	}

	#mailchimp-container-div .loginContainer {
		max-width:50%;
		background-color:white;
		border-radius:20px;
		text-align: center;
	}

}


text:
// Other codecs message types can be in range 0x000100 - 0xFFFFFF
// So, it is safe to supply a custom message type for exceptions in
// the range 0x000000 - 0x0000FF
import {ClientMessage} from '../../protocol/ClientMessage';
import {ErrorHolder} from '../../protocol/ErrorHolder';
import {ListMultiFrameCodec} from './ListMultiFrameCodec';
import {ErrorHolderCodec} from '../custom/ErrorHolderCodec';

export const EXCEPTION_MESSAGE_TYPE = 0;

/** @internal */
export class ErrorsCodec {
    static decode(clientMessage: ClientMessage): ErrorHolder[] {
        // initial frame
        clientMessage.nextFrame();
        return ListMultiFrameCodec.decode(clientMessage, ErrorHolderCodec.decode);
    }
}


text:
/*
 * 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.facebook.presto.sql.tree;

import java.util.Objects;
import java.util.Optional;

import static java.util.Objects.requireNonNull;

public class IntervalLiteral
        extends Literal
{
    public enum Sign
    {
        POSITIVE {
            @Override
            public int multiplier()
            {
                return 1;
            }
        },
        NEGATIVE {
            @Override
            public int multiplier()
            {
                return -1;
            }
        };

        public abstract int multiplier();
    }

    public enum IntervalField
    {
        YEAR, MONTH, DAY, HOUR, MINUTE, SECOND
    }

    private final String value;
    private final Sign sign;
    private final IntervalField startField;
    private final Optional<IntervalField> endField;

    public IntervalLiteral(String value, Sign sign, IntervalField startField)
    {
        this(Optional.empty(), value, sign, startField, Optional.empty());
    }

    public IntervalLiteral(String value, Sign sign, IntervalField startField, Optional<IntervalField> endField)
    {
        this(Optional.empty(), value, sign, startField, endField);
    }

    public IntervalLiteral(NodeLocation location, String value, Sign sign, IntervalField startField, Optional<IntervalField> endField)
    {
        this(Optional.of(location), value, sign, startField, endField);
    }

    private IntervalLiteral(Optional<NodeLocation> location, String value, Sign sign, IntervalField startField, Optional<IntervalField> endField)
    {
        super(location);
        requireNonNull(value, "value is null");
        requireNonNull(sign, "sign is null");
        requireNonNull(startField, "startField is null");
        requireNonNull(endField, "endField is null");

        this.value = value;
        this.sign = sign;
        this.startField = startField;
        this.endField = endField;
    }

    public String getValue()
    {
        return value;
    }

    public Sign getSign()
    {
        return sign;
    }

    public IntervalField getStartField()
    {
        return startField;
    }

    public Optional<IntervalField> getEndField()
    {
        return endField;
    }

    public boolean isYearToMonth()
    {
        return startField == IntervalField.YEAR || startField == IntervalField.MONTH;
    }

    @Override
    public <R, C> R accept(AstVisitor<R, C> visitor, C context)
    {
        return visitor.visitIntervalLiteral(this, context);
    }

    @Override
    public int hashCode()
    {
        return Objects.hash(value, sign, startField, endField);
    }

    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        IntervalLiteral other = (IntervalLiteral) obj;
        return Objects.equals(this.value, other.value) &&
                Objects.equals(this.sign, other.sign) &&
                Objects.equals(this.startField, other.startField) &&
                Objects.equals(this.endField, other.endField);
    }
}


text:
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        Toggle navigation

      </button>

Overview

Add quiz

Results

Change password

Create admin user

<button class="btn btn-link navbar-link" ng-click="logout()">Log out ({{user.username}})</button>

	<form name="createQuizForm">

Add quiz

(editing quiz "{{newquiz.quizName}}")

 0 && !newquiz.duplicate">
			<button type="button" class="close" data-dismiss="alert">x</button>
			The quiz has already received responses, please be careful when editing.

					Type a name for the quiz here.

					Quiz name
					<input class="form-control" type="text" name="quizName" ng-model="newquiz.quizName" placeholder="Type a name for the quiz" required="required">

					This text will be shown to the user when the link is opened, right before the quiz starts.

					Quiz description
					<textarea class="ta-no-resize form-control" name="quizDescription" ng-model="newquiz.quizDesc" placeholder="Describe the quiz here..."></textarea>

					Type a message that the user will receive after the user has answered the quiz. You may for instance inform when the winner is announced and so on.

					Quiz submit message
					<textarea class="ta-no-resize form-control" name="quizSubmitMsg" ng-model="newquiz.submitMsg" placeholder="Type a final message to the user here..."></textarea>

					Pick a language for the gui of the quiz.

					Quiz language
					<select name="language" class="form-control" ng-model="newquiz.language" ng-options="language.name for language in languages" required="required"></select>

					Show correct answer after each question

					<input class="form-control" type="checkbox" name="showAnswer" ng-model="newquiz.showAnswer">

Question {{$index + 1}}

								<textarea class="add-question-text ta-no-resize form-control" name="questionName" ng-model="q.text" placeholder="Type question here..." required="required"></textarea>

									Type in answer alternatives
									Correct answer?
									Delete

										Answer alternative
										<input class="add-question-textbox form-control" type="text" name="qaText{{qa.aid}}" ng-model="qa.atext" placeholder="Type answer alternative here" title="Type answer alternative here" required="required">

										Is correct?
										<input type="radio" name="isCorrect{{q.id}}" value="{{qa.aid}}" ng-model="q.answer" required="required">

										<button type="button" class="btn btn-sm pull-right" ng-click="removeAlternative(q, $index)"></button>

							<button id="addAlternative-{{$index}}" type="button" class="btn btn-sm" ng-click="addAlternative(q)"> Add alternative</button>

									Question has a text answer (not alternatives).

									<input class="form-control pull-left answerInText" type="checkbox" ng-model="q.answerInText" ng-click="setAnswerInText($index, $event)" style="width: 50px">

				<button type="button" class="btn" ng-click="addQuestion()"> Add question</button>

		<button type="button" class="btn btn-lg btn-primary" ng-click="submitQuiz()" ng-disabled="createQuizForm.$invalid">Save quiz</button>
	</form>


text:
Install a starter website

        Installing a starter website helps you learn how Umbraco works, and
        gives you a solid and simple foundation to build on top of.

    Loading...

                Install starter website

        No thanks, I do not want to install a starter website


text:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Эмулятор Qiwi :: Магазин</title>

<link type="text/css" href="//code.jquery.com/ui/1.10.4/themes/redmond/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.0.min.js "></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.min.js "></script>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js "></script>
<link href="//maxcdn.bootstrapcdn.com/bootswatch/3.2.0/yeti/bootstrap.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">

<style type="text/css">
	<?php require(__DIR__ . '/css/main.css') ?>
</style>

<script type="application/javascript">
	<?php require(__DIR__ . '/js/main.js') ?>
</script>


text:
use ::{BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode};
use ::RegType::*;
use ::instruction_def::*;
use ::Operand::*;
use ::Reg::*;
use ::RegScale::*;

fn vpackusdw_1() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM2)), operand2: Some(Direct(XMM0)), operand3: Some(Direct(XMM2)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 121, 43, 210], OperandSize::Dword)
}

fn vpackusdw_2() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM2)), operand2: Some(Direct(XMM4)), operand3: Some(IndirectScaledDisplaced(EAX, Eight, 1106346637, Some(OperandSize::Xmmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 89, 43, 20, 197, 141, 130, 241, 65], OperandSize::Dword)
}

fn vpackusdw_3() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM5)), operand2: Some(Direct(XMM2)), operand3: Some(Direct(XMM6)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 105, 43, 238], OperandSize::Qword)
}

fn vpackusdw_4() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM7)), operand2: Some(Direct(XMM6)), operand3: Some(Indirect(RSI, Some(OperandSize::Xmmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 73, 43, 62], OperandSize::Qword)
}

fn vpackusdw_5() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(YMM5)), operand2: Some(Direct(YMM1)), operand3: Some(Direct(YMM1)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 117, 43, 233], OperandSize::Dword)
}

fn vpackusdw_6() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(YMM2)), operand2: Some(Direct(YMM5)), operand3: Some(IndirectDisplaced(EAX, 1966475815, Some(OperandSize::Ymmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 85, 43, 144, 39, 10, 54, 117], OperandSize::Dword)
}

fn vpackusdw_7() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(YMM4)), operand2: Some(Direct(YMM7)), operand3: Some(Direct(YMM1)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 69, 43, 225], OperandSize::Qword)
}

fn vpackusdw_8() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(YMM3)), operand2: Some(Direct(YMM5)), operand3: Some(IndirectScaledIndexed(RCX, RAX, Eight, Some(OperandSize::Ymmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[196, 226, 85, 43, 28, 193], OperandSize::Qword)
}

fn vpackusdw_9() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM4)), operand2: Some(Direct(XMM7)), operand3: Some(Direct(XMM0)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K1), broadcast: None }, &[98, 242, 69, 137, 43, 224], OperandSize::Dword)
}

fn vpackusdw_10() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM3)), operand2: Some(Direct(XMM7)), operand3: Some(Indirect(EDX, Some(OperandSize::Xmmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K1), broadcast: None }, &[98, 242, 69, 137, 43, 26], OperandSize::Dword)
}

fn vpackusdw_11() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM5)), operand2: Some(Direct(XMM5)), operand3: Some(IndirectScaledIndexed(EBX, EBX, Eight, Some(OperandSize::Dword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K6), broadcast: Some(BroadcastMode::Broadcast1To4) }, &[98, 242, 85, 158, 43, 44, 219], OperandSize::Dword)
}

fn vpackusdw_12() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM29)), operand2: Some(Direct(XMM18)), operand3: Some(Direct(XMM21)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K1), broadcast: None }, &[98, 34, 109, 129, 43, 237], OperandSize::Qword)
}

fn vpackusdw_13() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM12)), operand2: Some(Direct(XMM19)), operand3: Some(IndirectScaledIndexedDisplaced(RDI, RDX, Two, 863715492, Some(OperandSize::Xmmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K7), broadcast: None }, &[98, 114, 101, 135, 43, 164, 87, 164, 64, 123, 51], OperandSize::Qword)
}

fn vpackusdw_14() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(XMM23)), operand2: Some(Direct(XMM12)), operand3: Some(IndirectScaledDisplaced(RAX, Eight, 152758470, Some(OperandSize::Dword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K2), broadcast: Some(BroadcastMode::Broadcast1To4) }, &[98, 226, 29, 154, 43, 60, 197, 198, 232, 26, 9], OperandSize::Qword)
}

fn vpackusdw_15() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(ZMM7)), operand2: Some(Direct(ZMM2)), operand3: Some(Direct(ZMM3)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K4), broadcast: None }, &[98, 242, 109, 204, 43, 251], OperandSize::Dword)
}

fn vpackusdw_16() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(ZMM2)), operand2: Some(Direct(ZMM1)), operand3: Some(IndirectScaledIndexed(EBX, EAX, Eight, Some(OperandSize::Zmmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K7), broadcast: None }, &[98, 242, 117, 207, 43, 20, 195], OperandSize::Dword)
}

fn vpackusdw_17() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(ZMM6)), operand2: Some(Direct(ZMM2)), operand3: Some(IndirectScaledIndexedDisplaced(EBX, EAX, Two, 1472685267, Some(OperandSize::Dword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K4), broadcast: Some(BroadcastMode::Broadcast1To16) }, &[98, 242, 109, 220, 43, 180, 67, 211, 100, 199, 87], OperandSize::Dword)
}

fn vpackusdw_18() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(ZMM17)), operand2: Some(Direct(ZMM26)), operand3: Some(Direct(ZMM6)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K3), broadcast: None }, &[98, 226, 45, 195, 43, 206], OperandSize::Qword)
}

fn vpackusdw_19() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(ZMM13)), operand2: Some(Direct(ZMM24)), operand3: Some(Indirect(RBX, Some(OperandSize::Zmmword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K5), broadcast: None }, &[98, 114, 61, 197, 43, 43], OperandSize::Qword)
}

fn vpackusdw_20() {
    run_test(&Instruction { mnemonic: Mnemonic::VPACKUSDW, operand1: Some(Direct(ZMM21)), operand2: Some(Direct(ZMM10)), operand3: Some(IndirectDisplaced(RAX, 1105004122, Some(OperandSize::Dword), None)), operand4: None, lock: false, rounding_mode: None, merge_mode: Some(MergeMode::Zero), sae: false, mask: Some(MaskReg::K5), broadcast: Some(BroadcastMode::Broadcast1To16) }, &[98, 226, 45, 221, 43, 168, 90, 6, 221, 65], OperandSize::Qword)
}


text:
package org.auraframework.http.cspinlining;

/**
 * interface defining how we control the mode csp inlining depending on the situation
 */
public interface CSPInliningRule {
    /**
     * check to see if this rule is worth evaluating. use for early aborts
     * @param criteria
     * @return true if the rule should be processed
     */
    boolean isRelevant(CSPInliningCriteria criteria);

    /**
     * process the rule against the given criteria
     * @param criteria
     */
    void process(CSPInliningCriteria criteria);
}