text:
'use strict';

require('angular-bootstrap');

require('angular').module('jnxSecurity', ['ui.bootstrap'])
	.factory(   'security',             require('./security-service.js'))
	.factory(   'retryQueue',           require('./retry-queue.js'))
	.provider(  '$jnxAuth',             require('./auth-provider.js'))
	.factory(   'authFailureIntercept', require('./auth-failure-intercept.js'))
	.directive( 'loginToolbar',         require('./login/toolbar.js'))
	.controller('loginController',      require('./login/login-controller.js'))

	.config(['$httpProvider', function($httpProvider) {
		// We have to add the interceptor to the queue as a string because the interceptor
		// depends upon service instances that are not available in the config block.
		$httpProvider.interceptors.push('authFailureIntercept');
	}]);

redpajama_set_name: RedPajamaGithub


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 io.trino.rcfile;

import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;

import static java.util.Objects.requireNonNull;

public class FileRcFileDataSource
        implements RcFileDataSource
{
    private final File path;
    private final long size;
    private final RandomAccessFile input;
    private long readTimeNanos;
    private long readBytes;

    public FileRcFileDataSource(File path)
            throws IOException
    {
        this.path = requireNonNull(path, "path is null");
        this.size = path.length();
        this.input = new RandomAccessFile(path, "r");
    }

    @Override
    public void close()
            throws IOException
    {
        input.close();
    }

    @Override
    public long getReadBytes()
    {
        return readBytes;
    }

    @Override
    public long getReadTimeNanos()
    {
        return readTimeNanos;
    }

    @Override
    public long getSize()
    {
        return size;
    }

    @Override
    public void readFully(long position, byte[] buffer, int bufferOffset, int bufferLength)
            throws IOException
    {
        long start = System.nanoTime();

        input.seek(position);
        input.readFully(buffer, bufferOffset, bufferLength);

        readTimeNanos += System.nanoTime() - start;
        readBytes += bufferLength;
    }

    @Override
    public RcFileDataSourceId getId()
    {
        return new RcFileDataSourceId(path.getPath());
    }

    @Override
    public String toString()
    {
        return path.getPath();
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<layout
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:bind="http://schemas.android.com/apk/res-auto">

	<data>

		<variable
			name="schedule"
			type="com.mgaetan89.showsrage.presenter.SchedulePresenter"/>
	</data>

	<FrameLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content">

		<include
			android:id="@+id/include_content"
			layout="@layout/adapter_schedule_list_content"
			bind:schedule="@{schedule}"/>
	</FrameLayout>
</layout>


text:
ACCEPTED

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
in Narasimhan, Thirumalachar, Srinivasan & Govindu, Mycologia 55(1): 33 (1963)

#### Original name
Georgefischeria Thirum. & Naras.

### Remarks
null


text:
<?php
    // Authors: Jake Stevens
	// Date Created: 4/07/15
	// Last Modified: 4/07/15
	// This php script handles inserting questions for registered students
	require("constants.php");

    $database = mysqli_connect(DATABASEADDRESS,DATABASEUSER,DATABASEPASS);
	@$database->select_db(DATABASENAME);

    $testIdQuery = "select test_id, student_id from test
    join test_list using(test_id)
    where class_id = ?
    group by(test_id)";

    $selectQuestionQuery = "select heading, heading_id, question_letter, question_no, question_text, question_type, question_value, test_id, answer_id, answer_text, correct
    from answer
    join question using(question_id)
    join test using(test_id)
    where student_id = ?";

    $insertQuestionQuery = "insert into question(heading, heading_id, question_id, question_letter, question_no, question_text, question_type, question_value, test_id)
                            values(?, ?, ?, ?, ?, ?, ?, ?, ?)";
    $insertAnswerQuery = "insert into answer(answer_id, answer_text, correct)
                          values(?, ?, ?)";
    $maxQuestionQuery = "select max(question_id) from question";
    $maxAnswerQuery = "select max(answer_id) from answer";

    @$classIdArray = $_POST['classIdArray'];
    @$studentId = $_POST['studentId'];

    for($i = 0; $i < count($classIdArray); $i++)
    {
        $testIdStatement = $database->prepare($testIdQuery);
        $testIdStatement->bind_param("s", $classIdArray[$i]);
        $testIdStatement->bind_result($testId, $stuId);
        $testIdStatement->execute();
        $testIdStatement->fetch();
        $testIdStatement->close();

        $maxQuestionStatement = $database->prepare($maxQuestionQuery);
        $maxQuestionStatement->bind_result($newQId);
        $maxQuestionStatement->execute();
        $maxQuestionStatement->fetch();
        $newQId = $newQId + 1;
        $maxQuestionStatement->close();

        $maxAnswerStatement = $database->prepare($maxAnswerQuery);
        $maxAnswerStatement->bind_result($newAId);
        $maxAnswerStatement->execute();
        $maxAnswerStatement->fetch();
        $newAId = $newAId + 1;
        $maxAnswerStatement->close();

        $selectQuestionStatement = $database->prepare($selectQuestionQuery);
        $selectQuestionStatement->bind_param("s", $stuId);
        $selectQuestionStatement->bind_result($heading, $heading_id, $question_letter, $question_no, $question_text, $question_type, $question_value, $test_id, $answer_id, $answer_text, $correct);
        $selectQuestionStatement->execute();
        while($selectQuestionStatement->fetch())
        {
            $questionArray[] = $heading;
            $questionArray[] = $heading_id;
            $questionArray[] = $newQId;
            $questionArray[] = $question_letter;
            $questionArray[] = $question_no;
            $questionArray[] = $question_text;
            $questionArray[] = $question_type;
            $questionArray[] = $question_value;
            $questionArray[] = $test_id;
            $questionArray[] = $newAId;
            $questionArray[] = $answer_text;
            $questionArray[] = $correct;
            $newQId++;
            $newAId++;
        }
        $selectQuestionStatement->close();

        $oldQno = -1;
        for($k = 0; $k < count($questionArray); $k += 12)
        {
            if($oldQno != $questionArray[$k+3])
            {
                $insertQuestionStatement = $database->prepare($insertQuestionQuery);
                $insertQuestionStatement->bind_param("sssssssss", $questionArray[$k], $questionArray[$k+1], $questionArray[$k+2], $questionArray[$k+3], $questionArray[$k+4], $questionArray[$k+5], $questionArray[$k+6], $questionArray[$k+7], $questionArray[$k+8]);
                $insertQuestionStatement->execute();
                $insertQuestionStatement->close();
            }
            $insertAnswerStatement = $database->prepare($insertAnswerQuery);
            $insertAnswerStatement->bind_param("sss", $questionArray[$k+9], $questionArray[$k+10], $questionArray[$k+11]);
            $insertAnswerStatement->execute();
            $insertAnswerStatement->close();
        }
    }
?>


text:
var resourceful = require('../lib/resourceful');
resourceful.use('memory');

var Author = resourceful.define('author');
Author.string('name');

Author.create({
  id: 'Marak'
}, function(err, marak){
  console.log(marak);
});


text:
package org.springframework.context.expression;

import java.util.Map;

import org.springframework.core.DefaultParameterNameDiscoverer;
import org.springframework.core.ParameterNameDiscoverer;
import org.springframework.expression.Expression;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.lang.Nullable;
import org.springframework.util.Assert;
import org.springframework.util.ObjectUtils;

/**
 * Shared utility class used to evaluate and cache SpEL expressions that
 * are defined on {@link java.lang.reflect.AnnotatedElement}.
 *
 * @author Stephane Nicoll
 * @since 4.2
 * @see AnnotatedElementKey
 */
public abstract class CachedExpressionEvaluator {

	private final SpelExpressionParser parser;

	private final ParameterNameDiscoverer parameterNameDiscoverer = new DefaultParameterNameDiscoverer();

	/**
	 * Create a new instance with the specified {@link SpelExpressionParser}.
	 */
	protected CachedExpressionEvaluator(SpelExpressionParser parser) {
		Assert.notNull(parser, "SpelExpressionParser must not be null");
		this.parser = parser;
	}

	/**
	 * Create a new instance with a default {@link SpelExpressionParser}.
	 */
	protected CachedExpressionEvaluator() {
		this(new SpelExpressionParser());
	}

	/**
	 * Return the {@link SpelExpressionParser} to use.
	 */
	protected SpelExpressionParser getParser() {
		return this.parser;
	}

	/**
	 * Return a shared parameter name discoverer which caches data internally.
	 * @since 4.3
	 */
	protected ParameterNameDiscoverer getParameterNameDiscoverer() {
		return this.parameterNameDiscoverer;
	}

	/**
	 * Return the {@link Expression} for the specified SpEL value
	 * <p>{@link #parseExpression(String) Parse the expression} if it hasn't been already.
	 * @param cache the cache to use
	 * @param elementKey the element on which the expression is defined
	 * @param expression the expression to parse
	 */
	protected Expression getExpression(Map<ExpressionKey, Expression> cache,
			AnnotatedElementKey elementKey, String expression) {

		ExpressionKey expressionKey = createKey(elementKey, expression);
		Expression expr = cache.get(expressionKey);
		if (expr == null) {
			expr = parseExpression(expression);
			cache.put(expressionKey, expr);
		}
		return expr;
	}

	/**
	 * Parse the specified {@code expression}.
	 * @param expression the expression to parse
	 * @since 5.3.13
	 */
	protected Expression parseExpression(String expression) {
		return getParser().parseExpression(expression);
	}

	private ExpressionKey createKey(AnnotatedElementKey elementKey, String expression) {
		return new ExpressionKey(elementKey, expression);
	}

	/**
	 * An expression key.
	 */
	protected static class ExpressionKey implements Comparable<ExpressionKey> {

		private final AnnotatedElementKey element;

		private final String expression;

		protected ExpressionKey(AnnotatedElementKey element, String expression) {
			Assert.notNull(element, "AnnotatedElementKey must not be null");
			Assert.notNull(expression, "Expression must not be null");
			this.element = element;
			this.expression = expression;
		}

		@Override
		public boolean equals(@Nullable Object other) {
			if (this == other) {
				return true;
			}
			if (!(other instanceof ExpressionKey otherKey)) {
				return false;
			}
			return (this.element.equals(otherKey.element) &&
					ObjectUtils.nullSafeEquals(this.expression, otherKey.expression));
		}

		@Override
		public int hashCode() {
			return this.element.hashCode() * 29 + this.expression.hashCode();
		}

		@Override
		public String toString() {
			return this.element + " with expression \"" + this.expression + "\"";
		}

		@Override
		public int compareTo(ExpressionKey other) {
			int result = this.element.toString().compareTo(other.element.toString());
			if (result == 0) {
				result = this.expression.compareTo(other.expression);
			}
			return result;
		}
	}

}


text:
<bill session="115" type="h" number="3065" updated="2017-09-11T02:53:55Z">
  <state datetime="2017-06-27">REFERRED</state>
  <status>
    <introduced datetime="2017-06-27"/>
  </status>
  <introduced datetime="2017-06-27"/>
  <titles>
    <title type="official" as="introduced">To direct the Comptroller General of the United States to submit to Congress a report on the national security implications of the outsourcing of industrial and manufacturing capacities to locations outside the United States.</title>
    <title type="display">To direct the Comptroller General of the United States to submit to Congress a report on the national security implications of the outsourcing of industrial and manufacturing capacities to locations outside the United States.</title>
  </titles>
  <sponsor bioguide_id="S001170"/>
  <cosponsors/>
  <actions>
    <action datetime="2017-06-27">
      <text>Introduced in House</text>
    </action>
    <action datetime="2017-06-27" state="REFERRED">
      <text>Referred to the House Committee on Armed Services.</text>
    </action>
  </actions>
  <committees>
    <committee subcommittee="" code="HSAS" name="House Armed Services" activity="Referral"/>
  </committees>
  <relatedbills/>
  <subjects>
    <term name="Armed forces and national security"/>
  </subjects>
  <amendments/>
  <committee-reports/>
</bill>


text:
Small, no-dependency javascript behavior tree engine to run game/simulation AI.

## Usage

The library exports an API facade object over which all functionality is accessible.

```js

var Behavior = require("ff-behavior");

// load behavior
var b = Behavior.load(require("./my-behavior.json"));

// create instance with optional tree memory
var instance = b.createInstance({
    count: 0
});

// register a leaf action handler
Behavior.registerAction("my-action", function(ctx, tree, node)
{
    // your action code...
});

// evaluate the tree once for the given instance and context
b.update(myContext, instance);

```

## Actions

Everything works with custom action implementations. Each action has a unique name (that is not
one of the builtin, reserved names, see below).

An action definition is either just an update function
```js
Behavior.registerAction("my-action", function(ctx, tree)
{
    // your action code...
});

Behavior.registerAction("another-action", function(ctx, tree, node)
{
    // action code with local node memory
});

```

or an object with an "init" and an "update" function.

```js
{
    init: function(ctx, tree, node)
    {

    },
    update: function(ctx, tree, node)
    {

    }
}

```

The number of parameters on the update function control the creation of a local node memory for that node which
is a object map that is created for every instance of the action leaf, and not for tree-global memory "tree".

The "ctx" argument is a passed through from Behavior.update to allow passing in an object to
connect your actions to your game without defining the actions as closures.

## JSON Data Format

The basis for the behavior trees is a simple JSON format.

```json
{
    "root" :{
        "name" : "Sequence",
        "kids" : [

        ]
    }
}
```

The root property contains the actual recursive tree definition. Every node has a "name"
attribute that identifies the type of node. Some nodes have a "kids" array property that
contains the children of that node etc.

### Builtins

 * Sequence

   Evaluates children until one of them fails. Succeeds itself if all children succeed.
   Equivalent to a logical AND.

 * Selector

   Evaluates children until one of them succeeds. Suceeds if one of the children suceeds.
   Equivalent to a logical OR

### Decorators

 * Inverter

   Inverts the result of a single child.

 * Succeeder

   Evaluates a single child and always succeeds.

 * Failer

   Evaluates a single child and always fails.

 * RepeatUntilSuccess

   Synchronously repeat a single child until it suceeds.

 * RepeatUntilFailur

   Synchronously repeat a single child until it fails.


text:
<?php

namespace ElkArte\AdminController;

use ElkArte\AbstractController;
use ElkArte\Action;
use ElkArte\Exceptions\Exception;
use ElkArte\Http\FtpConnection;
use ElkArte\PackagesFilterIterator;
use ElkArte\Themes\ThemeLoader;
use ElkArte\Util;

/**
 * PackageServers controller handles browsing, adding and removing
 * package servers, and download of a package from them.
 *
 * @package Packages
 */
class PackageServers extends AbstractController
{
	/**
	 * Called before all other methods when coming from the dispatcher or
	 * action class.  Loads language and templates files so they are available
	 * to the other methods.
	 */
	public function pre_dispatch()
	{
		// Use the Packages language file. (split servers?)
		ThemeLoader::loadLanguageFile('Packages');

		// Use the PackageServers template.
		theme()->getTemplates()->load('PackageServers');
		loadCSSFile('admin.css');
	}

	/**
	 * Main dispatcher for package servers. Checks permissions,
	 * load files, and forwards to the right method.
	 *
	 * - Accessed by action=admin;area=packageservers
	 *
	 * @event integrate_sa_package_servers
	 * @see \ElkArte\AbstractController::action_index()
	 */
	public function action_index()
	{
		global $txt, $context;

		// This is for admins only.
		isAllowedTo('admin_forum');

		// Load our subs.
		require_once(SUBSDIR . '/Package.subs.php');

		// Use the Packages language file. (split servers?)
		ThemeLoader::loadLanguageFile('Packages');

		// Use the PackageServers template.
		theme()->getTemplates()->load('PackageServers');
		loadCSSFile('admin.css');

		$context['page_title'] = $txt['package_servers'];

		// Here is a list of all the potentially valid actions.
		$subActions = array(
			'servers' => array($this, 'action_list'),
			'add' => array($this, 'action_add'),
			'browse' => array($this, 'action_browse'),
			'download' => array($this, 'action_download'),
			'remove' => array($this, 'action_remove'),
			'upload' => array($this, 'action_upload'),
			'upload2' => array($this, 'action_upload2'),
		);

		// Set up action/subaction stuff.
		$action = new Action('package_servers');

		// Now let's decide where we are taking this... call integrate_sa_package_servers
		$subAction = $action->initialize($subActions, 'servers');

		// For the template
		$context['sub_action'] = $subAction;

		// Lets just do it!
		$action->dispatch($subAction);
	}

	/**
	 * Load a list of package servers.
	 *
	 * - Accessed by action=admin;area=packageservers;sa=servers
	 */
	public function action_list()
	{
		global $txt, $context;

		require_once(SUBSDIR . '/PackageServers.subs.php');

		// Ensure we use the correct template, and page title.
		$context['sub_template'] = 'servers';
		$context['page_title'] .= ' - ' . $txt['download_packages'];

		// Load the list of servers.
		$context['servers'] = fetchPackageServers();

		// Check if we will be able to write new archives in /packages folder.
		$context['package_download_broken'] = !is_writable(BOARDDIR . '/packages') || !is_writable(BOARDDIR . '/packages/installed.list');

		if ($context['package_download_broken'])
		{
			$this->ftp_connect();
		}
	}

	/**
	 * This method attempts to chmod packages and installed.list
	 *
	 * - uses FTP if necessary.
	 * - It sets the $context['package_download_broken'] status for the template.
	 * - Used by package servers pages.
	 */
	public function ftp_connect()
	{
		global $context, $modSettings;

		// Try to chmod from PHP first
		@chmod(BOARDDIR . '/packages', 0777);
		@chmod(BOARDDIR . '/packages/installed.list', 0777);

		$unwritable = !is_writable(BOARDDIR . '/packages') || !is_writable(BOARDDIR . '/packages/installed.list');

		// Let's initialize $context
		$context['package_ftp'] = array(
			'server' => '',
			'port' => '',
			'username' => '',
			'path' => '',
			'error' => '',
		);

		if ($unwritable)
		{
			// Are they connecting to their FTP account already?
			if (isset($this->_req->post->ftp_username))
			{
				$ftp = new FtpConnection($this->_req->post->ftp_server, $this->_req->post->ftp_port, $this->_req->post->ftp_username, $this->_req->post->ftp_password);

				if ($ftp->error === false)
				{
					// I know, I know... but a lot of people want to type /home/xyz/... which is wrong, but logical.
					if (!$ftp->chdir($this->_req->post->ftp_path))
					{
						$ftp_error = $ftp->error;
						$ftp->chdir(preg_replace('~^/home[2]?/[^/]+~', '', $this->_req->post->ftp_path));
					}
				}
			}

			// No attempt yet, or we had an error last time
			if (!isset($ftp) || $ftp->error !== false)
			{
				// Maybe we didn't even try yet
				if (!isset($ftp))
				{
					$ftp = new FtpConnection(null);
				}
				// ...or we failed
				elseif ($ftp->error !== false && !isset($ftp_error))
				{
					$ftp_error = $ftp->last_message === null ? '' : $ftp->last_message;
				}

				list ($username, $detect_path, $found_path) = $ftp->detect_path(BOARDDIR);

				if ($found_path || !isset($this->_req->post->ftp_path))
				{
					$this->_req->post->ftp_path = $detect_path;
				}

				if (!isset($this->_req->post->ftp_username))
				{
					$this->_req->post->ftp_username = $username;
				}

				// Fill the boxes for a FTP connection with data from the previous attempt too, if any
				$context['package_ftp'] = array(
					'server' => isset($this->_req->post->ftp_server) ? $this->_req->post->ftp_server : (isset($modSettings['package_server']) ? $modSettings['package_server'] : 'localhost'),
					'port' => isset($this->_req->post->ftp_port) ? $this->_req->post->ftp_port : (isset($modSettings['package_port']) ? $modSettings['package_port'] : '21'),
					'username' => isset($this->_req->post->ftp_username) ? $this->_req->post->ftp_username : (isset($modSettings['package_username']) ? $modSettings['package_username'] : ''),
					'path' => $this->_req->post->ftp_path,
					'error' => empty($ftp_error) ? null : $ftp_error,
				);

				// Announce the template it's time to display the ftp connection box.
				$context['package_download_broken'] = true;
			}
			else
			{
				// FTP connection has succeeded
				$context['package_download_broken'] = false;

				// Try to chmod packages folder and our list file.
				$ftp->chmod('packages', 0777);
				$ftp->chmod('packages/installed.list', 0777);

				$ftp->close();
			}
		}
	}

	/**
	 * Browse a server's list of packages.
	 *
	 * - Accessed by action=admin;area=packageservers;sa=browse
	 */
	public function action_browse()
	{
		global $txt, $context;

		// Load our subs worker.
		require_once(SUBSDIR . '/PackageServers.subs.php');

		// Browsing the packages from a server
		if (isset($this->_req->query->server))
		{
			list($name, $url, $server) = $this->_package_server();
		}

		// Minimum required parameter did not exist so dump out.
		else
		{
			throw new Exception('couldnt_connect', false);
		}

		// Might take some time.
		detectServer()->setTimeLimit(60);

		// Fetch the package listing from the server and json decode
		$listing = json_decode(fetch_web_data($url));

		// List out the packages...
		$context['package_list'] = array();

		// Pick the correct template.
		$context['sub_template'] = 'package_list';
		$context['page_title'] = $txt['package_servers'] . ($name != '' ? ' - ' . $name : '');
		$context['package_server'] = $server;

		// If we received data
		if (!empty($listing))
		{
			// Load the installed packages
			$instadds = loadInstalledPackages();

			// Look through the list of installed mods and get version information for the compare
			$installed_adds = array();
			foreach ($instadds as $installed_add)
			{
				$installed_adds[$installed_add['package_id']] = $installed_add['version'];
			}

			$the_version = strtr(FORUM_VERSION, array('ElkArte ' => ''));
			if (!empty($_SESSION['version_emulate']))
			{
				$the_version = $_SESSION['version_emulate'];
			}

			// Parse the json file, each section contains a category of addons
			$packageNum = 0;
			foreach ($listing as $packageSection => $section_items)
			{
				// Section title / header for the category
				$context['package_list'][$packageSection] = array(
					'title' => Util::htmlspecialchars(ucwords($packageSection)),
					'text' => '',
					'items' => array(),
				);

				// Load each package array as an item
				$section_count = 0;
				foreach ($section_items as $thisPackage)
				{
					// Read in the package info from the fetched data
					$package = $this->_load_package_json($thisPackage, $packageSection);
					$package['possible_ids'] = $package['id'];

					// Check the install status
					$package['can_install'] = false;
					$is_installed = array_intersect(array_keys($installed_adds), $package['possible_ids']);
					$package['is_installed'] = !empty($is_installed);

					// Set the ID from our potential list should the ID not be provided in the package .yaml
					$package['id'] = $package['is_installed'] ? array_shift($is_installed) : $package['id'][0];

					// Version installed vs version available
					$package['is_current'] = !empty($package['is_installed']) && compareVersions($installed_adds[$package['id']], $package['version']) == 0;
					$package['is_newer'] = !empty($package['is_installed']) && compareVersions($package['version'], $installed_adds[$package['id']]) > 0;

					// Set the package filename for downloading and pre-existence checking
					$base_name = $this->_rename_master($package['server']['download']);
					$package['filename'] = basename($package['server']['download']);

					// This package is either not installed, or installed but old.
					if (!$package['is_installed'] || (!$package['is_current'] && !$package['is_newer']))
					{
						// Does it claim to install on this version of ElkArte?
						$path_parts = pathinfo($base_name);
						if (!empty($thisPackage->elkversion) && isset($path_parts['extension']) && in_array($path_parts['extension'], array('zip', 'tar', 'gz', 'tar.gz')))
						{
							// No install range given, then set one, it will all work out in the end.
							$for = strpos($thisPackage->elkversion, '-') === false ? $thisPackage->elkversion . '-' . $the_version : $thisPackage->elkversion;
							$package['can_install'] = matchPackageVersion($the_version, $for);
						}
					}

					$package['can_install'] = true;

					// See if this filename already exists on the server
					$already_exists = getPackageInfo($base_name);
					$package['download_conflict'] = is_array($already_exists) && in_array($already_exists['id'], $package['possible_ids']) && compareVersions($already_exists['version'], $package['version']) != 0;
					$package['count'] = ++$packageNum;

					// Maybe they have downloaded it but not installed it
					$package['is_downloaded'] = !$package['is_installed'] && (is_array($already_exists) && in_array($already_exists['id'], $package['possible_ids']));
					if ($package['is_downloaded'])
					{
						// Is the available package newer than whats been downloaded?
						$package['is_newer'] = compareVersions($package['version'], $already_exists['version']) > 0;
					}

					// Build the download to server link
					$server_att = $server != '' ? ['server' => $server] : [];
					$current_url = ['section' => $packageSection, 'num' => $section_count];
					$package['download']['href'] = getUrl('admin', ['action' => 'admin', 'area' => 'packageservers', 'sa' => 'download'] + $server_att + $current_url + ['package' => $package['filename']] + ($package['download_conflict'] ? ['conflict'] : []) + ['{session_data}']);
					$package['download']['link'] = '' . $package['name'] . '';

					// Add this package to the list
					$context['package_list'][$packageSection]['items'][$packageNum] = $package;
					$section_count++;
				}

				// Sort them naturally
				usort($context['package_list'][$packageSection]['items'], function ($a, $b) {
					return $this->package_sort($a, $b);
				});

				$context['package_list'][$packageSection]['text'] = sprintf($txt['mod_section_count'], $section_count);
			}
		}

		// Good time to sort the categories, the packages inside each category will be by last modification date.
		asort($context['package_list']);
	}

	/**
	 * Returns the contact details for a server
	 *
	 * - Reads the database to fetch the server url and name
	 *
	 * @return array
	 * @throws \ElkArte\Exceptions\Exception couldnt_connect
	 */
	private function _package_server()
	{
		// Initialize the required variables.
		$name = '';
		$url = '';
		$server = '';

		if (isset($this->_req->query->server))
		{
			if ($this->_req->query->server == '')
			{
				redirectexit('action=admin;area=packageservers');
			}

			$server = $this->_req->getQuery('server', 'intval');

			// Query the server table to find the requested server.
			$packageserver = fetchPackageServers($server);
			$url = $packageserver[0]['url'];
			$name = $packageserver[0]['name'];

			// If server does not exist then dump out.
			if (empty($url))
			{
				throw new Exception('couldnt_connect', false);
			}
		}

		return array($name, $url, $server);
	}

	/**
	 * Returns a package array filled with the json information
	 *
	 * - Uses the parsed json file from the selected package server
	 *
	 * @param object $thisPackage
	 * @param string $packageSection
	 *
	 * @return array
	 */
	private function _load_package_json($thisPackage, $packageSection)
	{
		// Populate the package info from the fetched data
		return array(
			'id' => !empty($thisPackage->pkid) ? array($thisPackage->pkid) : $this->_assume_id($thisPackage),
			'type' => $packageSection,
			'name' => Util::htmlspecialchars($thisPackage->title),
			'date' => htmlTime(strtotime($thisPackage->date)),
			'author' => Util::htmlspecialchars($thisPackage->author),
			'description' => !empty($thisPackage->short) ? Util::htmlspecialchars($thisPackage->short) : '',
			'version' => $thisPackage->version,
			'elkversion' => $thisPackage->elkversion,
			'license' => $thisPackage->license,
			'hooks' => $thisPackage->allhooks,
			'server' => array(
				'download' => (strpos($thisPackage->server[0]->download, 'http://') === 0 || strpos($thisPackage->server[0]->download, 'https://') === 0) && filter_var($thisPackage->server[0]->download, FILTER_VALIDATE_URL)
					? $thisPackage->server[0]->download : '',
				'support' => (strpos($thisPackage->server[0]->support, 'http://') === 0 || strpos($thisPackage->server[0]->support, 'https://') === 0) && filter_var($thisPackage->server[0]->support, FILTER_VALIDATE_URL)
					? $thisPackage->server[0]->support : '',
				'bugs' => (strpos($thisPackage->server[0]->bugs, 'http://') === 0 || strpos($thisPackage->server[0]->bugs, 'https://') === 0) && filter_var($thisPackage->server[0]->bugs, FILTER_VALIDATE_URL)
					? $thisPackage->server[0]->bugs : '',
				'link' => (strpos($thisPackage->server[0]->url, 'http://') === 0 || strpos($thisPackage->server[0]->url, 'https://') === 0) && filter_var($thisPackage->server[0]->url, FILTER_VALIDATE_URL)
					? $thisPackage->server[0]->url : '',
			),
		);
	}

	/**
	 * If no ID is provided for a package, create the most
	 * common ones based on author:package patterns
	 *
	 * - Should not be relied on
	 *
	 * @param object $thisPackage
	 *
	 * @return string[]
	 */
	private function _assume_id($thisPackage)
	{
		$under = str_replace(' ', '_', $thisPackage->title);
		$none = str_replace(' ', '', $thisPackage->title);

		return array(
			$thisPackage->author . ':' . $under,
			$thisPackage->author . ':' . $none,
			strtolower($thisPackage->author) . ':' . $under,
			strtolower($thisPackage->author) . ':' . $none,
			ucfirst($thisPackage->author) . ':' . $under,
			ucfirst($thisPackage->author) . ':' . $none,
			strtolower($thisPackage->author . ':' . $under),
			strtolower($thisPackage->author . ':' . $none),
		);
	}

	/**
	 * Determine the package file name so we can see if its been downloaded
	 *
	 * - Determines a unique package name given a master.xyz file
	 * - Create the name based on the repo name
	 * - removes invalid filename characters
	 *
	 * @param string $name
	 *
	 * @return string
	 */
	private function _rename_master($name)
	{
		// Is this a "master" package from github or bitbucket?
		if (preg_match('~^http(s)?://(www.)?(bitbucket\.org|github\.com)/(.+?(master(\.zip|\.tar\.gz)))$~', $name, $matches) == 1)
		{
			// Name this master.zip based on repo name in the link
			$path_parts = pathinfo($matches[4]);
			list (, $newname,) = explode('/', $path_parts['dirname']);

			// Just to be safe, no invalid file characters
			$invalid = array_merge(array_map('chr', range(0, 31)), array('<', '>', ':', '"', '/', '\\', '|', '?', '*'));

			// We could read the package info and see if we have a duplicate id & version, however that is
			// not always accurate, especially when dealing with repos.  So for now just put in in no conflict mode
			// and do the save.
			if ($this->_req->getQuery('area') === 'packageservers' && $this->_req->getQuery('sa') === 'download')
			{
				$this->_req->query->auto = true;
			}

			return str_replace($invalid, '_', $newname) . $matches[6];
		}
		else
		{
			return basename($name);
		}
	}

	/**
	 * Case insensitive natural sort for packages
	 *
	 * @param array $a
	 * @param array $b
	 *
	 * @return int
	 */
	public function package_sort($a, $b)
	{
		return strcasecmp($a['name'], $b['name']);
	}

	/**
	 * Download a package.
	 *
	 * What it does:
	 *
	 * - Accessed by action=admin;area=packageservers;sa=download
	 * - If server is set, loads json file from package server
	 *     - requires both section and num values to validate the file to download from the json file
	 * - If $_POST['byurl'] $_POST['filename'])) are set, will download a file from the url and save it as filename
	 * - If just $_POST['byurl'] is set will fetch that file and save it
	 *     - github and bitbucket master files are renamed to repo name to avoid collisions
	 * - Files are saved to the package directory and validate to be ElkArte packages
	 */
	public function action_download()
	{
		global $txt, $context;

		require_once(SUBSDIR . '/PackageServers.subs.php');

		// Use the downloaded sub template.
		$context['sub_template'] = 'downloaded';

		// Security is good...
		if (isset($this->_req->query->server))
		{
			checkSession('get');
		}
		else
		{
			checkSession();
		}

		// To download something, we need either a valid server or url.
		if (empty($this->_req->query->server) && (!empty($this->_req->query->get) && !empty($this->_req->post->package)))
		{
			throw new Exception('package_get_error_is_zero', false);
		}

		// Start off with nothing
		$server = '';
		$url = '';

		// Download from a package server?
		if (isset($this->_req->query->server))
		{
			list(, $url, $server) = $this->_package_server();

			// Fetch the package listing from the package server
			$listing = json_decode(fetch_web_data($url));

			// Find the requested package by section and number, make sure it matches
			$section = $this->_req->query->section;
			$section = $listing->{$section};

			// This is what they requested, yes?
			if (basename($section[$this->_req->query->num]->server[0]->download) === $this->_req->query->package)
			{
				// Where to download it from
				$package_id = $this->_req->query->package;
				$package_name = $this->_rename_master($section[$this->_req->query->num]->server[0]->download);
				$path_url = pathinfo($section[$this->_req->query->num]->server[0]->download);
				$url = isset($path_url['dirname']) ? $path_url['dirname'] . '/' : '';
			}
			// Not found or some monkey business
			else
			{
				throw new Exception('package_cant_download', false);
			}
		}
		// Entered a url and optional filename
		elseif (isset($this->_req->post->byurl) && !empty($this->_req->post->filename))
		{
			$package_id = $this->_req->post->package;
			$package_name = basename($this->_req->post->filename);
		}
		// Must just be a link then
		else
		{
			$package_id = $this->_req->post->package;
			$package_name = $this->_rename_master($this->_req->post->package);
		}

		// Avoid over writing any existing package files of the same name
		if (isset($this->_req->query->conflict) || (isset($this->_req->query->auto) && file_exists(BOARDDIR . '/packages/' . $package_name)))
		{
			// Find the extension, change abc.tar.gz to abc_1.tar.gz...
			if (strrpos(substr($package_name, 0, -3), '.') !== false)
			{
				$ext = substr($package_name, strrpos(substr($package_name, 0, -3), '.'));
				$package_name = substr($package_name, 0, strrpos(substr($package_name, 0, -3), '.')) . '_';
			}
			else
			{
				$ext = '';
			}

			// Find the first available free name
			$i = 1;
			while (file_exists(BOARDDIR . '/packages/' . $package_name . $i . $ext))
			{
				$i++;
			}

			$package_name = $package_name . $i . $ext;
		}

		// First make sure it's a package.
		$packageInfo = getPackageInfo($url . $package_id);

		if (!is_array($packageInfo))
		{
			throw new Exception($packageInfo);
		}

		// Save the package to disk, use FTP if necessary

		create_chmod_control(
			array(BOARDDIR . '/packages/' . $package_name),
			array('destination_url' => getUrl('admin', ['action' => 'admin', 'area' => 'packageservers', 'sa' => 'download', 'package' => $package_id, '{session_data}']
				+ (isset($this->_req->query->server) ? ['server' => $this->_req->query->server] : [])
				+ (isset($this->_req->query->auto) ? ['auto' => ''] : [])
				+ (isset($this->_req->query->conflict) ? ['conflict' => ''] : [])), 'crash_on_error' => true));

		package_put_contents(BOARDDIR . '/packages/' . $package_name, fetch_web_data($url . $package_id));

		// Done!  Did we get this package automatically?
		if (preg_match('~^http://[\w_\-]+\.elkarte\.net/~', $package_id) == 1 && strpos($package_id, 'dlattach') === false && isset($this->_req->query->auto))
		{
			redirectexit('action=admin;area=packages;sa=install;package=' . $package_name);
		}

		// You just downloaded a addon from SERVER_NAME_GOES_HERE.
		$context['package_server'] = $server;

		// Read in the newly saved package information
		$context['package'] = getPackageInfo($package_name);

		if (!is_array($context['package']))
		{
			throw new Exception('package_cant_download', false);
		}

		if ($context['package']['type'] === 'modification')
		{
			$context['package']['install']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['install_mod'] . '';
		}
		elseif ($context['package']['type'] === 'avatar')
		{
			$context['package']['install']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['use_avatars'] . '';
		}
		elseif ($context['package']['type'] === 'language')
		{
			$context['package']['install']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['add_languages'] . '';
		}
		else
		{
			$context['package']['install']['link'] = '';
		}

		$context['package']['list_files']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'list', 'package' => $context['package']['filename']]) . '">' . $txt['list_files'] . '';

		// Free a little bit of memory...
		unset($context['package']['xml']);

		$context['page_title'] = $txt['download_success'];
	}

	/**
	 * Upload a new package to the packages directory.
	 *
	 * - Accessed by action=admin;area=packageservers;sa=upload2
	 */
	public function action_upload2()
	{
		global $txt, $context;

		// Setup the correct template, even though I'll admit we ain't downloading ;)
		$context['sub_template'] = 'downloaded';

		// @todo Use FTP if the packages directory is not writable.
		// Check the file was even sent!
		if (!isset($_FILES['package']['name']) || $_FILES['package']['name'] == '')
		{
			throw new Exception('package_upload_error_nofile');
		}
		elseif (!is_uploaded_file($_FILES['package']['tmp_name']) || (ini_get('open_basedir') == '' && !file_exists($_FILES['package']['tmp_name'])))
		{
			throw new Exception('package_upload_error_failed');
		}

		// Make sure it has a sane filename.
		$_FILES['package']['name'] = preg_replace(array('/\s/', '/\.[\.]+/', '/[^\w_\.\-]/'), array('_', '.', ''), $_FILES['package']['name']);

		if (strtolower(substr($_FILES['package']['name'], -4)) !== '.zip' && strtolower(substr($_FILES['package']['name'], -4)) !== '.tgz' && strtolower(substr($_FILES['package']['name'], -7)) !== '.tar.gz')
		{
			throw new Exception('package_upload_error_supports', false, array('zip, tgz, tar.gz'));
		}

		// We only need the filename...
		$packageName = basename($_FILES['package']['name']);

		// Setup the destination and throw an error if the file is already there!
		$destination = BOARDDIR . '/packages/' . $packageName;

		// @todo Maybe just roll it like we do for downloads?
		if (file_exists($destination))
		{
			throw new Exception('package_upload_error_exists');
		}

		// Now move the file.
		move_uploaded_file($_FILES['package']['tmp_name'], $destination);
		@chmod($destination, 0777);

		// If we got this far that should mean it's available.
		$context['package'] = getPackageInfo($packageName);
		$context['package_server'] = '';

		// Not really a package, you lazy bum!
		if (!is_array($context['package']))
		{
			@unlink($destination);
			ThemeLoader::loadLanguageFile('Errors');
			$txt[$context['package']] = str_replace('{MANAGETHEMEURL}', getUrl('admin', ['action' => 'admin', 'area' => 'theme', 'sa' => 'admin', '{session_data}', 'hash' => '#theme_install']), $txt[$context['package']]);
			throw new Exception('package_upload_error_broken', false, $txt[$context['package']]);
		}
		// Is it already uploaded, maybe?
		else
		{
			try
			{
				$dir = new \FilesystemIterator(BOARDDIR . '/packages', \FilesystemIterator::SKIP_DOTS);

				$filter = new PackagesFilterIterator($dir);
				$packages = new \IteratorIterator($filter);

				foreach ($packages as $package)
				{
					// No need to check these
					if ($package->getFilename() == $packageName)
					{
						continue;
					}

					// Read package info for the archive we found
					$packageInfo = getPackageInfo($package->getFilename());
					if (!is_array($packageInfo))
					{
						continue;
					}

					// If it was already uploaded under another name don't upload it again.
					if ($packageInfo['id'] === $context['package']['id'] && compareVersions($packageInfo['version'], $context['package']['version']) == 0)
					{
						@unlink($destination);
						throw new Exception('Errors.package_upload_already_exists', 'general', $package->getFilename());
					}
				}
			}
			catch (\UnexpectedValueException $e)
			{
				// @todo for now do nothing...
			}
		}

		if ($context['package']['type'] === 'modification')
		{
			$context['package']['install']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['install_mod'] . '';
		}
		elseif ($context['package']['type'] === 'avatar')
		{
			$context['package']['install']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['use_avatars'] . '';
		}
		elseif ($context['package']['type'] === 'language')
		{
			$context['package']['install']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['add_languages'] . '';
		}
		else
		{
			$context['package']['install']['link'] = '';
		}

		$context['package']['list_files']['link'] = ' 'admin', 'area' => 'packages', 'sa' => 'list', 'package' => $context['package']['filename']]) . '">' . $txt['list_files'] . '';

		unset($context['package']['xml']);

		$context['page_title'] = $txt['package_uploaded_success'];
	}

	/**
	 * Add a package server to the list.
	 *
	 * - Accessed by action=admin;area=packageservers;sa=add
	 */
	public function action_add()
	{
		// Load our subs file.
		require_once(SUBSDIR . '/PackageServers.subs.php');

		// Validate the user.
		checkSession();

		// If they put a slash on the end, get rid of it.
		if (substr($this->_req->post->serverurl, -1) === '/')
		{
			$this->_req->post->serverurl = substr($this->_req->post->serverurl, 0, -1);
		}

		// Are they both nice and clean?
		$servername = trim(Util::htmlspecialchars($this->_req->post->servername));
		$serverurl = trim(Util::htmlspecialchars($this->_req->post->serverurl));

		// Make sure the URL has the correct prefix.
		$serverurl = addProtocol($serverurl, array('http://', 'https://'));

		// Add it to the list of package servers.
		addPackageServer($servername, $serverurl);

		redirectexit('action=admin;area=packageservers');
	}

	/**
	 * Remove a server from the list.
	 *
	 * - Accessed by action=admin;area=packageservers;sa=remove
	 */
	public function action_remove()
	{
		checkSession('get');

		require_once(SUBSDIR . '/PackageServers.subs.php');

		// We no longer browse this server.
		$this->_req->query->server = (int) $this->_req->query->server;
		deletePackageServer($this->_req->query->server);

		redirectexit('action=admin;area=packageservers');
	}

	/**
	 * Display the upload package form.
	 */
	public function action_upload()
	{
		global $txt, $context, $modSettings;

		// Set up the upload template, and page title.
		$context['sub_template'] = 'upload';
		$context['page_title'] .= ' - ' . $txt['upload_packages'];

		// Check if we will be able to write new archives in /packages folder.
		$context['package_download_broken'] = !is_writable(BOARDDIR . '/packages') || !is_writable(BOARDDIR . '/packages/installed.list');

		// Let's initialize ftp context
		$context['package_ftp'] = array(
			'server' => '',
			'port' => '',
			'username' => isset($modSettings['package_username']) ? $modSettings['package_username'] : '',
			'path' => '',
			'error' => '',
		);

		// Give FTP a chance...
		if ($context['package_download_broken'])
		{
			$this->ftp_connect();
		}
	}
}


text:
package org.kuali.rice.krad.demo.uif.library.collections;

import org.junit.Test;

import org.kuali.rice.testtools.selenium.WebDriverLegacyITBase;

/**
 * @author Kuali Rice Team (rice.collab@kuali.org)
 */
public class DemoCollectionFeaturesActionPlacementAft extends WebDriverLegacyITBase {

    /**
     * /kr-krad/kradsampleapp?viewId=Demo-CollectionActionPlacementView
     */
    public static final String BOOKMARK_URL = "/kr-krad/kradsampleapp?viewId=Demo-CollectionActionPlacementView";

    @Override
    protected String getBookmarkUrl() {
        return BOOKMARK_URL;
    }

    @Override
    protected void navigate() throws Exception {
        waitAndClickLibraryLink();
        waitAndClickByLinkText("Collection Features");
        waitAndClickByLinkText("Action Placement");
    }

    protected void testCollectionFeaturesActionPlacement() throws Exception {
    	waitForElementPresentByXpath("//table/tbody/tr[1]/td[1]/div/fieldset/div/button");
    	waitForElementPresentByXpath("//table/tbody/tr[1]/td[2]/div/fieldset/div/button");
    }

    @Test
    public void testCollectionFeaturesActionPlacementBookmark() throws Exception {
        testCollectionFeaturesActionPlacement();
        passed();
    }

    @Test
    public void testCollectionFeaturesActionPlacementNav() throws Exception {
        testCollectionFeaturesActionPlacement();
        passed();
    }
}


text:
package simple.practice.service;

public interface GreetingService {
	public String greetingMessage();
}


text:
import React from 'react';

import { Wrapper } from './elements';

export default function ImageWrapper({ className, children }) {
  return <Wrapper className={className}>{children}</Wrapper>;
}


text:
var isExpired = require("./util/isExpired");
var $error = require("./../types/error");
var onError = require("./onError");
var onValue = require("./onValue");
var onMissing = require("./onMissing");
var isMaterialized = require("./util/isMaterialzed");
var expireNode = require("./../support/expireNode");

/**
 * When we land on a valueType (or nothing) then we need to report it out to
 * the outerResults through errors, missing, or values.
 *
 * @private
 */
module.exports = function onValueType(
    model, node, path, depth, seed, outerResults, branchInfo,
    requestedPath, optimizedPath, optimizedLength, isJSONG, fromReference) {

    var currType = node && node.$type;
    var requiresMaterializedToReport = node && node.value === undefined;

    // There are is nothing here, ether report value, or report the value
    // that is missing.  If there is no type then report the missing value.
    if (!node || !currType) {
        if (isMaterialized(model)) {
            onValue(model, node, seed, depth, outerResults, branchInfo,
                    requestedPath, optimizedPath, optimizedLength,
                    isJSONG);
        } else {
            onMissing(model, path, depth,
                      outerResults, requestedPath,
                      optimizedPath, optimizedLength);
        }
        return;
    }

    // If there are expired value, then report it as missing
    else if (isExpired(node)) {
        if (!node.ツinvalidated) {
            expireNode(node, model._root.expired, model._root);
        }
        onMissing(model, path, depth,
                  outerResults, requestedPath,
                  optimizedPath, optimizedLength);
    }

    // If there is an error, then report it as a value if
    else if (currType === $error) {
        if (fromReference) {
            requestedPath[depth] = null;
        }
        if (isJSONG || model._treatErrorsAsValues) {
            onValue(model, node, seed, depth, outerResults, branchInfo,
                    requestedPath, optimizedPath, optimizedLength,
                    isJSONG);
        } else {
            onError(model, node, depth, requestedPath, outerResults);
        }
    }

    // Report the value
    else {
        if (fromReference) {
            requestedPath[depth] = null;
        }

        if (!requiresMaterializedToReport ||
            requiresMaterializedToReport && model._materialized) {

            onValue(model, node, seed, depth, outerResults, branchInfo,
                    requestedPath, optimizedPath, optimizedLength, isJSONG);
        }
    }
};


text:
<?xml version="1.0" encoding="UTF-8"?>
<htmapis>

  <!--Target: HTM headers -->
  <htmapi type="header" compatible="true" replacer="htmintrin.h" target="rtmintrin.h"/>

  <!--Target: HTM functions -->
  <htmapi type="function" compatible="true" replacer="__builtin_tbegin" target="_xbegin"/>
  <htmapi type="function" compatible="true" replacer="__builtin_tabort" target="_xabort"/>
  <htmapi type="function" compatible="true" replacer= "__builtin_tend" target="_xend"/>
  <htmapi type="function" compatible="true" replacer="__builtin_ttest" target="_xtest"/>

</htmapis>


text:
/**
 * @file File Selector
 * @author leon <ludafa@outlook.com>
 */

import {Component, DataTypes} from 'san';
import Button from '../Button';
import {create} from '../common/util/cx';

const cx = create('file-selector');

export default class FileSelector extends Component {

    static template = `

                <slot name="inner-upload-btn"></slot>

            <input
                type="file"
                style="display: none"
                multiple="{{multiple ? 'multiple' : ''}}"
                accept="{{accept}}"
                on-change="onReceiveFiles($event)"  />

    `;

    static computed = {
        className() {
            return cx(this).build();
        }
    };

    static dataTypes = {
        multiple: DataTypes.bool,
        disabled: DataTypes.bool,
        accept: DataTypes.string,
        duplicate: DataTypes.bool
    };

    static components = {
        'sm-button': Button
    };

    initData() {
        return {
            multiple: false,
            accept: '*',
            disabled: false
        };
    }

    onReceiveFiles(e) {
        this.fire('select', e.target.files);
        this.el.value = '';
    }

    onSelect() {
        if (this.data.get('duplicate')) {
            this.el.lastElementChild.value = '';
        }
        this.el.lastElementChild.click();
    }

}


text:
#pragma once
#include <aws/sdb/SimpleDB_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>

namespace Aws
{
namespace SimpleDB
{
  class AWS_SIMPLEDB_API SimpleDBRequest : public Aws::AmazonSerializableWebServiceRequest
  {
  public:
    virtual ~SimpleDBRequest () {}
    virtual Aws::String SerializePayload() const override = 0;

    void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }

    inline Aws::Http::HeaderValueCollection GetHeaders() const override
    {
      auto headers = GetRequestSpecificHeaders();

      if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
      {
        headers.insert(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::FORM_CONTENT_TYPE ));
      }

      return headers;
    }

  protected:
    virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }

  };

} // namespace SimpleDB
} // namespace Aws


text:
package com.fengjing.framework.spring.jdbc.service;

import com.fengjing.framework.common.service.IService;
import com.fengjing.framework.spring.jdbc.model.Category;

public interface CategoryService extends IService<Category> {

}


text:
package cfc.xml.ezparse;

/**
 * Represents the call-back handler to which control
 * is passed to when events occur during XML parsing.
 *
 */
public interface ElementListener
{
    /**
     * This method is called when the element is first encountered.
     *
     * @param element  the element
     * @param ctx      the Context
     */
    void startElement( Element element, Context ctx );

    /**
     * endElement is called after the element and any of it's
     * children have been parsed.
     *
     * @param element the element
     * @param ctx the Context
	 */
    void endElement( Element element, Context ctx );

    /**
     * Answers if intermediate nodes should be collected to
     * form somewhat of a DOM.
     *
     * @return true if intermediate nodes should be collected else false
     */
    boolean isCollector();
}


text:
{% extends "layouts/default.html" %}
{% block title %}Login on vtalks.net{% endblock %}
{% block content %}

Login

            Login with Twitter

{% endblock %}


text:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        List<String> ids = new ArrayList<>();

        while (true){
            String[] info = reader.readLine().split(" ");

            if (info.length==2){
                String rName = info[0];
                String rId = info[1];
                ids.add(rId);
            }else if(info.length==3){
                String cName = info[0];
                Integer cAge = Integer.parseInt(info[1]);
                String cId = info[2];
                ids.add(cId);
            }else if(info[0].equals("End")){
                break;
            }
        }

        String ender = reader.readLine();

        ids.stream().filter(x-> x.endsWith(ender)).forEach(System.out::println);
    }
}


text:
<?php
ini_set('display_errors', 0);
    require 'vendor/autoload.php';
    require '_ini_.php';
    require '_library_/_includes_/config.php';
    require '_library_/_includes_/app_config.inc';
    $help=new _classes_\helpers();
     $notify=new _classes_\Notifications();
     if($_GET[program]){
        $_SESSION[program]=$_GET[program];
        }

        if($_GET[type]){
        $_SESSION[type]=$_GET[type];
        }

        if($_GET[year]){
        $_SESSION[year]=$_GET[year];
        }

        if($_GET[term]){
        $_SESSION[term]=$_GET[term];
        }
        if($_GET[level]){
        $_SESSION[levels]=$_GET[level];
        }
        if($_GET[bank]){
        $_SESSION[bank]=$_GET[bank];
        }
        if($_POST[go]){
        $_SESSION[search]=$_POST[search];
        $_SESSION[content]=$_POST[content];
        }
        if (isset($_GET[delete])) {

            $query = $sql->Prepare("DELETE FROM tpoly_courses WHERE ID='$_GET[delete]'");
            if ($sql->Execute($query)) {
                header("location:view_courses?success=1");
            } else {
                header("location:view_courses?error=1");
            }
        }

?>

<?php require '_library_/_includes_/header.inc'; ?>

    <?php require '_library_/_includes_/menu.inc'; ?>

Import Bulk Courses

                                            <form action="view_courses.php" method="POST" class="form-horizontal" role="form" enctype="multipart/form-data">

                                                         select csv file

                                                                          <input type="file" required="" class="form-control" name="name"  >

                                                        <button type="submit" name="import" class="btn btn-success">Save</button>
                                                          <button type="button" data-dismiss="modal" class="btn btn-default">Close</button>

                                            </form>

Add Statement

                                            <form action="view_courses?add=1" method="POST" class="form-horizontal" role="form">

                                                         Name

                                                                 <input type="text" class="form-control input-sm" id="" name="course"placeholder="course name" required="">

                                                         Code

                                                                 <input type="text" name ="code" required="" class="form-control input-sm" id=" " placeholder="course code">

                                                         Credit

                                                                <select class='form-control input-sm'  name='type'  style="  " required="" >
                                                                    <option value=''>select course type</option>

                                                                       <option value='Elective'<?php if($_SESSION[tedrm]=='1'){echo 'selected="selected"'; }?>>Elective</option>
                                                                       <option value='Core'<?php if($_SESSION[tderm]=='2'){echo 'selected="selected"'; }?>>Course</option>

                                                               </select>

                                                         credit

                                                                <select class='form-control input-sm'  name='credit'  style="  " required="" >
                                                                    <option value=''>select credit hour</option>

                                                                       <option value='1'<?php if($_SESSION[tedrm]=='1'){echo 'selected="selected"'; }?>>1</option>
                                                                       <option value='2'<?php if($_SESSION[tderm]=='2'){echo 'selected="selected"'; }?>>2</option>
                                                                   <option value='3'<?php if($_SESSION[terms]=='3'){echo 'selected="selected"'; }?>>3</option>

                                                               </select>

                                                         Level

                                                                  <select class='form-control input-sm'  name='level'  style="" >
                                                                        <option value=''>Filter by level</option>

                                                                       <option value='50'<?php if($_SESSION[levelss]=='50'){echo 'selected="selected"'; }?>>50</option>
                                                                           <option value='100'<?php if($_SESSION[levelss]=='100'){echo 'selected="selected"'; }?>>100</option>
                                                                           <option value='200'<?php if($_SESSION[levesls]=='200'){echo 'selected="selected"'; }?>>200</option>
                                                                       <option value='300'<?php if($_SESSION[levelxs]=='300'){echo 'selected="selected"'; }?>>300</option>
                                                                       <option value='400'<?php if($_SESSION[levelss]=='400'){echo 'selected="selected"'; }?>>400</option>

                                                                   </select>

                                                         Semester

                                                                 <select class='form-control input-sm'  name='term'  style="" required="" >
                                                                        <option value=''>select semester</option>

                                                                           <option value='1'<?php if($_SESSION[tedrm]=='1'){echo 'selected="selected"'; }?>>1st</option>
                                                                           <option value='2'<?php if($_SESSION[termd]=='2'){echo 'selected="selected"'; }?>>2nd</option>
                                                                       <option value='3'<?php if($_SESSION[terdm]=='3'){echo 'selected="selected"'; }?>>3rd</option>

                                                                   </select>

                                                         Program

                                                                 <select class='select2_category form-control input-sm'  name='program' required="" style="" >
                                                                     <option value=''>Select program</option>

                                                                    <?php
                                                                      global $sql;

                                                                          $query2=$sql->Prepare("SELECT * FROM tpoly_programme ");

                                                                          $query=$sql->Execute( $query2);

                                                                       while( $row = $query->FetchRow())
                                                                         {

                                                                         ?>
                                                                         <option <?php ?> value="<?php echo $row['PROGRAMMECODE']; ?>"        ><?php echo $row['PROGRAMME']; ?></option>

                                                                  <?php }?>
                                                                      </select>

                                            <button name="go" type="submit" class="btn btn-success">Save</button>
                                            <button type="button" data-dismiss="modal" class="btn btn-default">Close</button>

                                   </form>

<?php $notify->Message(); ?>

							Course Folder

                                                <button class="btn  btn-pink waves-effect waves-button"  data-target="#import" data-toggle="modal">import bank statement csv</button>

                                                 <button   class="btn btn-success waves-effect waves-button dropdown-toggle" data-toggle="dropdown"> Export Data</button>

 CSV

 TXT

 XLS

 Word

 PowerPoint

 PNG

 PDF

                                                  <form action="" method="post">

                                                        <button  type="submit" style="margin-top:-11%;margin-left:-234px"name="sync" class="btn  btn-success waves-effect waves-button">Sync to Online Portal</button>
                                                    </form>

                    <form action="" method="post">

                                    <select class='form-control'  name='subject'  style="margin-left:-43%; width:130% " onchange="document.location.href='<?php echo $_SERVER['PHP_SELF'] ?>?program='+escape(this.value);" >
                                <option value=''>by programme</option>
                                        <option value='All programs'>All Programs</option>
                                    <?php
                                      global $sql;

                                          $query2=$sql->Prepare("SELECT * FROM tpoly_programme");

                                          $query=$sql->Execute( $query2);

                                       while( $row = $query->FetchRow())
                                         {

                                         ?>
                                         <option <?php if($_SESSION[program]==$row['PROGRAMMECODE']){echo 'selected="selected"'; }?> value="<?php echo $row['PROGRAMMECODE']; ?>"        ><?php echo $row['PROGRAMME']; ?></option>

                                  <?php }?>
                                      </select>

                        <select class='form-control'  name='subject'  style="margin-left:-11%; width:57% " onchange="document.location.href='<?php echo $_SERVER['PHP_SELF'] ?>?bank='+escape(this.value);" >
                      <option value=''>Filter by Banks</option>
                              <option value='All Bank'>All Bank</option>
                          <?php
                            global $sql;

                                $query2=$sql->Prepare("SELECT * FROM tpoly_banks ");

                                $query=$sql->Execute( $query2);

                             while( $row = $query->FetchRow())
                               {

                               ?>
                               <option <?php if($_SESSION[bank]==$row['NAME']){echo 'selected="selected"'; }?> value="<?php echo $row['NAME']; ?>"        ><?php echo $row['NAME']. " - ".$row['ACCOUNT_NUMBER']; ?></option>

                        <?php }?>
                            </select>

                        <select class='form-control'  name='subject'  style="margin-left:-53%; width:66% " onchange="document.location.href='<?php echo $_SERVER['PHP_SELF'] ?>?type='+escape(this.value);" >
                      <option value=''>by Payment types</option>
                              <option value='All type'>All Payment types</option>
                          <?php
                            global $sql;

                                $query2=$sql->Prepare("SELECT DISTINCT PAYMENTDETAILS FROM tpoly_feedetails ");

                                $query=$sql->Execute( $query2);

                             while( $row = $query->FetchRow())
                               {

                               ?>
                               <option <?php if($_SESSION[type]==$row['PAYMENTDETAILS']){echo 'selected="selected"'; }?> value="<?php echo $row['PAYMENTDETAILS']; ?>"        ><?php echo $row['PAYMENTDETAILS']; ?></option>

                        <?php }?>
                            </select>

                        <select class='form-control'  name='term'  style="margin-left:-109%;  width:61% " onchange="document.location.href='<?php echo $_SERVER['PHP_SELF'] ?>?year='+escape(this.value);" >
                                         <option value=''>by year</option>
                                          <option value='All year'>All years</option>
                                                  <?php
                                                                                for($i=2005; $i<=4000; $i++){
                                                                                $a= $i;?>
                                                                                <option <?php if($_SESSION[year]==$a){echo 'selected="selected"'; }?>value='<?php echo $a ?>'><?php echo $a ?></option>";

                                                                                <?php    } ?>

                                                                                ?>
                                    </select>

                                    <select class='form-control'  name='term'  style="margin-left:-282%;  width:116% " onchange="document.location.href='<?php echo $_SERVER['PHP_SELF'] ?>?level='+escape(this.value);" >
                                         <option value=''>by level</option>
                                        <option value='All level'>All Levels</option>
                                        <option value='5'<?php if($_SESSION[levels]=='5'){echo 'selected="selected"'; }?>>50</option>
                                            <option value='1'<?php if($_SESSION[levels]=='1'){echo 'selected="selected"'; }?>>100</option>
                                            <option value='2'<?php if($_SESSION[levels]=='2'){echo 'selected="selected"'; }?>>200</option>
                                        <option value='3'<?php if($_SESSION[levels]=='3'){echo 'selected="selected"'; }?>>300</option>
                                        <option value='4'<?php if($_SESSION[levels]=='4'){echo 'selected="selected"'; }?>>400</option>

                                    </select>

                        <select class='form-control'  name='term'  style="margin-left:-898%;  width:390% " onchange="document.location.href='<?php echo $_SERVER['PHP_SELF'] ?>?term='+escape(this.value);" >
                                         <option value=''>by sem</option>
                                        <option value='All term'>All semesters</option>
                                            <option value='1'<?php if($_SESSION[term]=='1'){echo 'selected="selected"'; }?>>1st</option>
                                            <option value='2'<?php if($_SESSION[term]=='2'){echo 'selected="selected"'; }?>>2nd</option>
                                        <option value='3'<?php if($_SESSION[term]=='3'){echo 'selected="selected"'; }?>>3rd</option>

                                    </select>

                  <form action="" method="post" >

                          <input type="text" name ="search" placeholder="search here"required="" style="margin-left:-546%;  width:620% " class="form-control" id=" "  >

                           <select class='form-control'  name='content' required="" placeholder="search here" style="margin-left:12%;  width:412% "  >
                                         <option value=''>search by</option>

                                        <option value='INDEXNO'<?php if($_SESSION[status]=='INDEXNO'){echo 'selected="selected"'; }?>>Index No</option>
                                        <option value='PROGRAMMECODE'<?php if($_SESSION[status]=='PROGRAMMECODE'){echo 'selected="selected"'; }?>>Program</option>
                                        <option value='YR'<?php if($_SESSION[status]=='LEVEL'){echo 'selected="selected"'; }?>>Level</option>

                                    </select>

                            <button type="submit"  name="go" style="margin-left:105%;width: 81px " class="btn btn-success">Search </button>

                </form>

                                            <?php
                                           $program=$_SESSION[program];
                                                $bank=$_SESSION[bank];
                                                $type=$_SESSION[type];
                                                $level=$_SESSION[levels];
                                                $year=$_SESSION[year];
                                                 $term=$_SESSION[term];
                                                $search=$_POST[search];
                                                $content=$_POST[content];

                                                if($level=="All level" or $level==""){ $level=""; }else {$level_=" and  YR = '$level' "  ;}
                                                if($program=="All programs" or $program==""){ $program=""; }else {$program_="and PROGRAMMECODE = '$program' "  ;}
                                                if($type=="All type" or $type=="" ){ $type=""; }else {$type_=" and PAYMENTDETAILS = '$type' "  ;}
                                                if($year=="All year" or $year=="" ){ $year=""; }else {$year_=" and ACADYEAR = '$year' "  ;}
                                                if($bank=="All bank" or $bank=="" ){ $bank=""; }else {$bank_=" and BANK = '$bank' "  ;}
                                                if($term=="All term" or $term=="" ){ $term=""; }else {$term_=" and SEM = '$term' "  ;}
                                                if($search=="" ){ $search=""; }else {$search_="AND $content LIKE '$search' "  ;}

                                            $query="SELECT  * FROM tpoly_feedetails  WHERE 1  $term_ $level_ $program_ $bank_ $type_ $year_ $search_  ORDER BY TRANSDATE ASC ";

                                               $_SESSION[last_query]=$query;
                                                 $rs= $sql->PageExecute($query,RECORDS_BY_PAGE,CURRENT_PAGE);
                                                 $recordsFound = $rs->_maxRecordCount;    // total record found
                                                if (!$rs->EOF)
                                                {
                                             ?>

                                     NO
                                       PIC
                                     STUDENT

                                      PROGRAMME

                                    LEVEL

                                    SEMESTER
                                     YEAR
                                     BANK
                                     PAYMENT TYPE
                                    PAYMENT PLACE
                                    RECEIPT NO.
                                    AMOUNT
                                     ACTIONS

  <?php echo $recordsFound ?> Records

                                <?php

                                   $count=0;
                                    while($rtmt=$rs->FetchRow()){
                                                            $count++;
                                                        if($rtmt["LEVEL"]==1){
                                                            $sem="1st";
                                                        }
                                                       elseif($rtmt["LEVEL"]==2){
                                                            $sem="2nd";
                                                        }
                                                        else{$sem="3rd";}
                                       ?>

                                     <?php echo $count ?>
                                     <a href="addStudent.php?indexno=<?php echo $rtmt[INDEXNO] ?>"><img <?php echo $help->picture("photos/students/$rtmt[INDEXNO].JPG",90)  ?>     src="<?php echo file_exists("photos/students/$rtmt[INDEXNO].JPG") ? "photos/students/$rtmt[INDEXNO].JPG":"photos/students/user.jpg";?>" alt=" Picture of Student Here"    />
                                     <?php  echo $rtmt[INDEXNO] ; ?>
                                      <?php echo  $help->getProgram($rtmt[PROGRAMMECODE]); ?>
                                     <?php echo $rtmt[YR] ?>
                                      <?php echo $sem ?>
                                       <?php  echo $rtmt[ACADYEAR] ; ?>
                                       <?php  echo $rtmt[BANK] ; ?>
                                  <?php echo  $rtmt[PAYMENTTYPE]; ?>
                                    <?php echo $rtmt["PAYMENTPLACE"] ?>

                                    <?php echo $rtmt["RECEIPTNO"]  ?>
                                    <?php echo   $rtmt["FEES"] ?>

                                    <a href="view_courses?delete=<?php  echo $rtmt[ID] ; ?>" onclick="return confirm('Are you sure you want to delete this record??')">Delete

                                    <?php }?>

                        <?php
                         $GenericEasyPagination->setTotalRecords($recordsFound);

                        echo $GenericEasyPagination->getNavigation();
                        echo "
";
                        echo $GenericEasyPagination->getCurrentPages();
                      ?>

                                    <?php }else{
                  echo "

                                <button type='button' class='close' data-dismiss='alert' aria-label='Close'>×</button>
                                Oh snap! Something went wrong. No record to display! Please

";
             }?>

            <?php echo $help->copyright(); ?>

<?php include("_library_/_includes_/scripts.php");  ?>

<?php include("_library_/_includes_/export.php");  ?>


text:
enum _CGContextBlendType {
    _kCGContextBlendD2DBlend = 0x0100,
    _kCGContextBlendD2DCompose = 0x0200,
    _kCGContextBlendD2DComposeWithEffect = 0x0400,
    _kCGContextBlendOperator = 0x0800,
};

// Context Internal
COREGRAPHICS_EXPORT CGContextRef _CGContextCreateWithD2DRenderTarget(ID2D1RenderTarget* renderTarget);
COREGRAPHICS_EXPORT void _CGContextSetShadowProjectionTransform(CGContextRef context, CGAffineTransform transform);
COREGRAPHICS_EXPORT void _CGContextDrawImageRect(CGContextRef ctx, CGImageRef img, CGRect src, CGRect dst);

// Bitmap Context Internal
COREGRAPHICS_EXPORT CGContextRef _CGBitmapContextCreateWithRenderTarget(ID2D1RenderTarget* renderTarget,
                                                                        CGImageRef img,
                                                                        WICPixelFormatGUID outputPixelFormat);
COREGRAPHICS_EXPORT CGContextRef _CGBitmapContextCreateWithFormat(int width, int height, __CGSurfaceFormat fmt);
COREGRAPHICS_EXPORT CGImageRef _CGBitmapContextGetImage(CGContextRef ctx);

// Reduces the number of BeginDraw() and EndDraw() calls needed, by counting in a stack-like manner,
// and only calling BeginDraw()/EndDraw() when the stack is empty/emptied
COREGRAPHICS_EXPORT void _CGContextPushBeginDraw(CGContextRef ctx);
COREGRAPHICS_EXPORT void _CGContextPopEndDraw(CGContextRef ctx);

// Struct used to hold information about glyph run for drawing in _CGContextDrawGlyphRuns
// TODO #1987: Add support for CTRun text matrix
struct GlyphRunData {
    DWRITE_GLYPH_RUN* run;
    CGPoint relativePosition;
    CFDictionaryRef attributes;
};

COREGRAPHICS_EXPORT void _CGContextDrawGlyphRuns(CGContextRef ctx, GlyphRunData* glyphRuns, size_t runCount);

inline bool _GlyphRunIsRTL(const DWRITE_GLYPH_RUN& run) {
    return (run.bidiLevel & 1);
}

COREGRAPHICS_EXPORT const CFStringRef _kCGCharacterShapeAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGFontAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGKernAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGLigatureAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGForegroundColorAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGForegroundColorFromContextAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGParagraphStyleAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGStrokeWidthAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGStrokeColorAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGSuperscriptAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGUnderlineColorAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGUnderlineStyleAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGVerticalFormsAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGGlyphInfoAttributeName;
COREGRAPHICS_EXPORT const CFStringRef _kCGRunDelegateAttributeName;


text:
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.6.1">
  <compounddef id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4" kind="class" prot="public">
    <compoundname>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></compoundname>
    <derivedcompoundref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1scale__transformer_3_01_calculation_type_00_013_00_013_01_4" prot="public" virt="non-virtual">boost::geometry::strategy::transform::scale_transformer< CalculationType, 3, 3 ></derivedcompoundref>
    <derivedcompoundref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1translate__transformer_3_01_calculation_type_00_013_00_013_01_4" prot="public" virt="non-virtual">boost::geometry::strategy::transform::translate_transformer< CalculationType, 3, 3 ></derivedcompoundref>
    <includes local="no">matrix_transformers.hpp</includes>
    <templateparamlist>
      <param>
        <type>typename CalculationType</type>
      </param>
    </templateparamlist>
      <sectiondef kind="protected-type">
      <memberdef kind="typedef" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" prot="protected" static="no">
        <type>CalculationType</type>
        <definition>typedef CalculationType boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::ct</definition>
        <argsstring></argsstring>
        <name>ct</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="161" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="161" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1ab48e06ca1110d0063905a78458b01fe9" prot="protected" static="no">
        <type>boost::numeric::ublas::matrix< <ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> ></type>
        <definition>typedef boost::numeric::ublas::matrix<ct> boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::matrix_type</definition>
        <argsstring></argsstring>
        <name>matrix_type</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="162" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="162" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="protected-attrib">
      <memberdef kind="variable" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1aed1c6ba016e868c5f5d3e3bc6221db1c" prot="protected" static="no" mutable="no">
        <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1ab48e06ca1110d0063905a78458b01fe9" kindref="member">matrix_type</ref></type>
        <definition>matrix_type boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::m_matrix</definition>
        <argsstring></argsstring>
        <name>m_matrix</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="163" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="163" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a9e5b6d058a2d4ba317edd1f16ba05d32" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
        <templateparamlist>
          <param>
            <type>typename P1</type>
          </param>
          <param>
            <type>typename P2</type>
          </param>
        </templateparamlist>
        <type>bool</type>
        <definition>bool boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::apply</definition>
        <argsstring>(P1 const &p1, P2 &p2) const </argsstring>
        <name>apply</name>
        <param>
          <type>P1 const &</type>
          <declname>p1</declname>
        </param>
        <param>
          <type>P2 &</type>
          <declname>p2</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="184" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="183" bodyend="199"/>
      </memberdef>
      <memberdef kind="function" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a2759bb4a048c234ba1c383a7dc7d9039" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
        <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1ab48e06ca1110d0063905a78458b01fe9" kindref="member">matrix_type</ref> const &</type>
        <definition>matrix_type const& boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::matrix</definition>
        <argsstring>() const </argsstring>
        <name>matrix</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="201" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="201" bodyend="201"/>
      </memberdef>
      <memberdef kind="function" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a96f6d09aadf6482942a45e2731161358" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type></type>
        <definition>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::ublas_transformer</definition>
        <argsstring>(ct const &m_0_0, ct const &m_0_1, ct const &m_0_2, ct const &m_0_3, ct const &m_1_0, ct const &m_1_1, ct const &m_1_2, ct const &m_1_3, ct const &m_2_0, ct const &m_2_1, ct const &m_2_2, ct const &m_2_3, ct const &m_3_0, ct const &m_3_1, ct const &m_3_2, ct const &m_3_3)</argsstring>
        <name>ublas_transformer</name>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_0_0</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_0_1</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_0_2</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_0_3</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_1_0</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_1_1</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_1_2</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_1_3</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_2_0</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_2_1</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_2_2</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_2_3</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_3_0</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_3_1</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_3_2</declname>
        </param>
        <param>
          <type><ref refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" kindref="member">ct</ref> const &</type>
          <declname>m_3_3</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="173" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="166" bodyend="178"/>
      </memberdef>
      <memberdef kind="function" id="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a90f3fc5f749016841cecb48f975c6a3f" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type></type>
        <definition>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >::ublas_transformer</definition>
        <argsstring>()</argsstring>
        <name>ublas_transformer</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="180" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="180" bodyend="180"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <inheritancegraph>
      <node id="1381">
        boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 >
        <link refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4"/>
      </node>
      <node id="1382">
        boost::geometry::strategy::transform::scale_transformer< CalculationType, 3, 3 >
        <link refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1scale__transformer_3_01_calculation_type_00_013_00_013_01_4"/>
        <childnode refid="1381" relation="public-inheritance">
        </childnode>
      </node>
      <node id="1383">
        boost::geometry::strategy::transform::translate_transformer< CalculationType, 3, 3 >
        <link refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1translate__transformer_3_01_calculation_type_00_013_00_013_01_4"/>
        <childnode refid="1381" relation="public-inheritance">
        </childnode>
      </node>
    </inheritancegraph>
    <location file="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" line="159" bodyfile="/home/travis/build/boostorg/boost/boost/geometry/strategies/transform/matrix_transformers.hpp" bodystart="158" bodyend="202"/>
    <listofallmembers>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a9e5b6d058a2d4ba317edd1f16ba05d32" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>apply</name></member>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a503a27f7651ec8a4cb0ff0a0ad0e7b38" prot="protected" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>ct</name></member>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1aed1c6ba016e868c5f5d3e3bc6221db1c" prot="protected" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>m_matrix</name></member>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a2759bb4a048c234ba1c383a7dc7d9039" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>matrix</name></member>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1ab48e06ca1110d0063905a78458b01fe9" prot="protected" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>matrix_type</name></member>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a96f6d09aadf6482942a45e2731161358" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>ublas_transformer</name></member>
      <member refid="classboost_1_1geometry_1_1strategy_1_1transform_1_1ublas__transformer_3_01_calculation_type_00_013_00_013_01_4_1a90f3fc5f749016841cecb48f975c6a3f" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::transform::ublas_transformer< CalculationType, 3, 3 ></scope><name>ublas_transformer</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>


text:
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace AllColors;

/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
	public App()
	{
		this.InitializeComponent();
	}
}


text:
PROPLIB = ../../common

CFLAGS = -Os -mlmm

#
# objects for this program
#

NAME = toggle
OBJS = toggle.o toggle_firmware.o

include $(PROPLIB)/lmmdemo.mk


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
Hilfsbuch fur das Sammeln der Ascomyceten (Berlin) 111 (1903)

#### Original name
Sphaerella basicola A.B. Frank

### Remarks
null