text:
""":mod:`cliche.work` --- Things associated with a creative work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"""
import enum

from sqlalchemy.orm import foreign, relationship, remote
from sqlalchemy.schema import Column, ForeignKey
from sqlalchemy.sql.functions import now
from sqlalchemy.types import Date, DateTime, Integer, String

from .name import Nameable
from .orm import Base
from .sqltypes import EnumType, prevent_discriminator_from_changing

__all__ = ('Character', 'Credit', 'Franchise', 'Genre', 'Role',
           'Work', 'WorkCharacter', 'WorkFranchise', 'WorkGenre', 'World')

class Role(enum.Enum):
    """Python enum type to describe role of him/her in making a work."""

    artist = 'artist'
    author = 'author'
    director = 'director'
    editor = 'editor'
    unknown = 'unknown'

class Character(Nameable):
    """Fictional character that appears in creative work."""

    #: (:class:`int`) The primary key integer.
    id = Column(Integer, ForeignKey(Nameable.id), primary_key=True)

    #: (:class:'int') :class:`Character.id` of :attr:`original_character`.
    original_character_id = Column(Integer, ForeignKey('characters.id'))

    #: (:class:'Character') The original character from which this character
    #: is derived.
    original_character = relationship(
        'Character',
        primaryjoin=foreign(original_character_id) == remote(id)
    )

    #: (:class:'collections.abc.MutableSet') The set of :class:`Character`\ s
    #: which is derived from this character
    derived_characters = relationship(
        'Character',
        primaryjoin=remote(original_character_id) == id,
        collection_class=set
    )

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Work`\ s in which the character appeared.
    works = relationship('cliche.work.Work',
                         secondary='work_characters',
                         collection_class=set)

    __tablename__ = 'characters'
    __repr_columns__ = [id]
    __mapper_args__ = {
        'polymorphic_identity': 'characters',
    }

class Credit(Base):
    """Relationship between the work, the person, and the team.
    Describe that the person participated in making the work.
    """

    #: (:class:`int`) :class:`Work.id` of :attr:`work`.
    work_id = Column(Integer, ForeignKey('works.id'), primary_key=True)

    #: (:class:`Work`) The work which the :attr:`person` made.
    work = relationship(lambda: Work)

    #: (:class:`int`) :class:`cliche.people.Person.id` of :attr:`person`.
    person_id = Column(Integer, ForeignKey('people.id'), primary_key=True)

    #: (:class:`cliche.people.Person`) The person who made the :attr:`work`.
    person = relationship('Person')

    #: The person's role in making the work.
    role = Column(EnumType(Role, name='credits_role'),
                  primary_key=True, default=Role.unknown)

    #: (:class:`int`) :class:`Team.id` of :attr:`team`. (optional)
    team_id = Column(Integer, ForeignKey('teams.id'))

    #: The team which the person belonged when work had been made.
    team = relationship('Team')

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True), nullable=False,
                        default=now())

    __tablename__ = 'credits'
    __repr_columns__ = person_id, work_id, role, team_id

class Franchise(Nameable):
    """Multimedia franchise that is a franchise for which installments
    exist in multiple forms of media, such as books, comic books, and films,
    for example *The Lord of the Rings* and *Iron Man*.
    """

    #: (:class:`int`) The primary key integer.
    id = Column(Integer, ForeignKey(Nameable.id), primary_key=True)

    #: (:class:`int`) :class:`World.id` of :attr:`world`.
    world_id = Column(Integer, ForeignKey('worlds.id'))

    #: (:class:`World`) The world which the franchise belongs to.
    world = relationship('World', foreign_keys=[world_id])

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`WorkFranchise`\ s that the franchise has.
    work_franchises = relationship('WorkFranchise',
                                   cascade='delete, merge, save-update',
                                   collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Work`\ s that belongs to the franchise.
    works = relationship(lambda: Work,
                         secondary='work_franchises',
                         collection_class=set)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True), nullable=False,
                        default=now())

    __tablename__ = 'franchises'
    __repr_columns__ = [id]
    __mapper_args__ = {
        'polymorphic_identity': 'franchises',
    }

class Genre(Base):
    """Genre of the creative work"""

    #: (:class:`int`) The primary key integer.
    id = Column(Integer, primary_key=True)

    #: (:class:`str`) The name of the genre.
    name = Column(String, nullable=False, index=True)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`WorkGenre`\ s that the genre has.
    work_genres = relationship('WorkGenre',
                               cascade='delete, merge, save-update',
                               collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Work`\ s that fall into the genre.
    works = relationship(lambda: Work,
                         secondary='work_genres',
                         collection_class=set)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True),
                        nullable=False,
                        default=now(),
                        index=True)

    __tablename__ = 'genres'
    __repr_columns__ = id, name

class Trope(Base):  # FIXME: Temporary, It not extend Nameable.
    """Tropes"""

    #: (:class:`int`) The primary key integer.
    id = Column(Integer, primary_key=True)

    #: (:class:`str`) Trope name
    name = Column(String, nullable=False)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`WorkTrope`.
    work_tropes = relationship('WorkTrope',
                               cascade='delete, merge, save-update',
                               collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Work`.
    works = relationship(lambda: Work, secondary='work_tropes',
                         collection_class=set)

    __tablename__ = 'tropes'
    __repr_columns__ = id, name

class Work(Nameable):
    """Creative work(s) that could be a single work like a film, or
    a series of works such as a combic book series and a television series.
    """

    #: (:class:`int`) The primary key integer.
    id = Column(Integer, ForeignKey(Nameable.id), primary_key=True)

    #: (:class:`str`) Work media type.
    media_type = Column(String, nullable=False)

    #: (:class:`datetime.date`) The publication date.
    published_at = Column(Date)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`WorkGenre`\ s that the work has.
    work_genres = relationship('WorkGenre',
                               cascade='delete, merge, save-update',
                               collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Genre`\ s that the work falls into.
    genres = relationship(Genre,
                          secondary='work_genres',
                          collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Credit`\ s that the work has.
    credits = relationship(Credit,
                           cascade='delete, merge, save-update',
                           collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`WorkFranchise`\ s that the work has.
    work_franchises = relationship('WorkFranchise',
                                   cascade='delete, merge, save-update',
                                   collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Franchise`\ s that the work belongs to.
    franchises = relationship(Franchise,
                              secondary='work_franchises',
                              collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Character`\ s that appeared in the work.
    characters = relationship(Character,
                              secondary='work_characters',
                              collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`WorkTrope`.
    work_tropes = relationship(lambda: WorkTrope,
                               cascade='delete, merge, save-update',
                               collection_class=set)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Trope`.
    tropes = relationship(Trope, secondary='work_tropes',
                          collection_class=set)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True),
                        nullable=False,
                        default=now(),
                        index=True)

    __tablename__ = 'works'
    __repr_columns__ = [id]
    __mapper_args__ = {
        'polymorphic_identity': 'works',
    }

class WorkCharacter(Base):
    """Relationship between the character and the work.
    Describe that the character appeared in the work.
    """

    #: (:class:`int`) :class:`Work.id` of :attr:`work`.
    work_id = Column(Integer, ForeignKey(Work.id), primary_key=True)

    #: (:class:`Work`) The work in which the :attr:`character` appeared.
    work = relationship(Work)

    #: (:class:`int`) :class:`Character.id` of :attr:`character`.
    character_id = Column(Integer, ForeignKey(Character.id), primary_key=True)

    #: (:class:`Character`) The character that appeared in the :attr:`work`.
    character = relationship(Character)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True), nullable=False,
                        default=now())

    __tablename__ = 'work_characters'
    __repr_columns__ = work_id, character_id

class WorkFranchise(Base):
    """Relationship between the work and the Franchise."""

    #: (:class:`int`) :class:`Work.id` of :attr:`work`.
    work_id = Column(Integer, ForeignKey(Work.id), primary_key=True)

    #: (:class:`Work`) The work that belongs to the :attr:`franchise`.
    work = relationship(Work)

    #: (:class:`int`) :class:`Franchise.id` of :attr:`franchise`.
    franchise_id = Column(Integer, ForeignKey(Franchise.id), primary_key=True)

    #: (:class:`Franchise`) The franchise that the :attr:`work` belongs to.
    franchise = relationship(Franchise)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True), nullable=False,
                        default=now())

    __tablename__ = 'work_franchises'
    __repr_columns__ = work_id, franchise_id

class WorkGenre(Base):
    """Relationship between the work and the genre."""

    #: (:class:`int`) :class:`Work.id` of :attr:`work`.
    work_id = Column(Integer, ForeignKey(Work.id), primary_key=True)

    #: (:class:`Work`) The work that falls into the :attr:`genre`.
    work = relationship(Work)

    #: (:class:`int`) :class:`Genre.id` of :attr:`genre`.
    genre_id = Column(Integer, ForeignKey(Genre.id), primary_key=True)

    #: (:class:`Genre`) The genre into which the :attr:`work` falls.
    genre = relationship(Genre)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True), nullable=False,
                        default=now())

    __tablename__ = 'work_genres'
    __repr_columns__ = work_id, genre_id

class WorkTrope(Base):
    """Work - Trope"""

    #: (:class:`int`) :class:`Work.id` of :attr:`work`.
    work_id = Column(Integer, ForeignKey(Work.id), primary_key=True)

    #: (:class:`int`) :class:`Trope.id` of :attr:`trope`.
    trope_id = Column(Integer, ForeignKey(Trope.id), primary_key=True)

    #: (:class:`Work`) The work.
    work = relationship(Work)

    #: (:class:`Trope`) The trope.
    trope = relationship(Trope)

    __tablename__ = 'work_tropes'
    __repr_columns__ = work_id, trope_id

class World(Nameable):
    """Fictional universe that is a self-consistent fictional setting
    with elements that differ from the real world,
    for example *Middle-earth* and *Marvel Cinematic Universe*.
    """

    #: (:class:`int`) The primary key integer.
    id = Column(Integer, ForeignKey(Nameable.id), primary_key=True)

    #: (:class:`collections.abc.MutableSet`) The set of
    #: :class:`Franchise`\ s that belong the world.
    franchises = relationship(Franchise,
                              foreign_keys=[id],
                              collection_class=set)

    #: (:class:`datetime.datetime`) The date and time on which
    #: the record was created.
    created_at = Column(DateTime(timezone=True), nullable=False,
                        default=now())

    __tablename__ = 'worlds'
    __repr_columns__ = [id]
    __mapper_args__ = {
        'polymorphic_identity': 'worlds',
    }

prevent_discriminator_from_changing(Franchise.type)
prevent_discriminator_from_changing(Work.type)
prevent_discriminator_from_changing(World.type)


text:
<?php

/**
 * Internal functions useful for working with files.
 * @package Helpers
 * @category Concrete
 * @author Andrew Embler <andrew@concrete5.org>
 * @copyright  Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
 * @license    http://www.concrete5.org/license/     MIT License
 */

	defined('C5_EXECUTE') or die("Access Denied.");
	class ConcreteFileHelper {

		/**
		 * Given a file's prefix and its name, returns a path to the.
		 * Can optionally create the path if this is the first time doing this operation for this version.
		 */
		public function getSystemPath($prefix, $filename, $createDirectories = false) {
			return $this->mapSystemPath($prefix, $filename, $createDirectories);
		}

		public function getThumbnailSystemPath($prefix, $filename, $level, $createDirectories = false) {
			switch($level) {
				case 2:
					$base = DIR_FILES_UPLOADED_THUMBNAILS_LEVEL2;
					break;
				case 3:
					$base = DIR_FILES_UPLOADED_THUMBNAILS_LEVEL3;
					break;
				default: // level 1
					$base = DIR_FILES_UPLOADED_THUMBNAILS;
					break;
			}

			$hi = Loader::helper('file');
			$path = $this->mapSystemPath($prefix, $filename, $createDirectories, $base);
			if (!file_exists($path)) {
				$filename = $hi->replaceExtension($filename, 'jpg');
				$path = $this->mapSystemPath($prefix, $filename, $createDirectories, $base);
			}
			return $path;
		}

		public function getRelativePath($prefix, $filename ) {
			$hi = Loader::helper('file');
			return $this->mapSystemPath($prefix, $filename, false, REL_DIR_FILES_UPLOADED);
		}

		public function getFileRelativePath($prefix, $filename ) {
			return $this->getRelativePath($prefix, $filename);
		}

		public function getThumbnailRelativePath($prefix, $filename, $level) {
			switch($level) {
				case 2:
					$rel = REL_DIR_FILES_UPLOADED_THUMBNAILS_LEVEL2;
					$base = DIR_FILES_UPLOADED_THUMBNAILS_LEVEL2;
					break;
				case 3:
					$rel = REL_DIR_FILES_UPLOADED_THUMBNAILS_LEVEL3;
					$base = DIR_FILES_UPLOADED_THUMBNAILS_LEVEL3;
					break;
				default: // level 1
					$rel = REL_DIR_FILES_UPLOADED_THUMBNAILS;
					$base = DIR_FILES_UPLOADED_THUMBNAILS;
					break;
			}

			$hi = Loader::helper('file');
			$fullpath = $this->mapSystemPath($prefix, $filename, $createDirectories, $base);
			if (!file_exists($fullpath)) {
				$filename = $hi->replaceExtension($filename, 'jpg');
			}
			$path = $this->mapSystemPath($prefix, $filename, $createDirectories, $rel);
			return $path;
		}

		public function mapSystemPath($prefix, $filename, $createDirectories = false, $base = DIR_FILES_UPLOADED) {
			if ($prefix == null) {
				$path = $base . '/' . $filename;
			} else {
				$d1 = substr($prefix, 0, 4);
				$d2 = substr($prefix, 4, 4);
				$d3 = substr($prefix, 8);

				if ($createDirectories) {
					if (!is_dir($base . '/' . $d1)) {
						@mkdir($base . '/' . $d1, 0777, TRUE);
						@touch($base . '/' . $d1 . '/index.html');
					}
					if (!is_dir($base . '/' . $d1 . '/' . $d2)) {
						@mkdir($base . '/' . $d1 . '/' . $d2, 0777, TRUE);
						@touch($base . '/' . $d1 . '/' . $d2 . '/index.html');
					}
					if (!is_dir($base . '/' . $d1 . '/' . $d2 . '/' . $d3)) {
						@mkdir($base . '/' . $d1 . '/' . $d2 . '/' . $d3, 0777, TRUE);
						@touch($base . '/' . $d1 . '/' . $d2 . '/' . $d3 . '/index.html');
					}
				}

				$path = $base . '/' . $d1 . '/' . $d2 . '/' . $d3 . '/' . $filename;
			}
			return $path;
		}

		public function getIncomingDirectoryContents() {
			$incoming_file_information = array();

			if (is_dir(DIR_FILES_INCOMING)) {
			    if ($incoming_file_handle = opendir(DIR_FILES_INCOMING)) {
			        $cnt = 0;

					while (($file = readdir($incoming_file_handle)) !== false) {
						if (substr($file, 0, 1) == '.') {
							continue;
						}

						$current_file_stats = array();
						$current_file_stats = stat(DIR_FILES_INCOMING .'/'. $file);

						$incoming_file_information[$cnt]['name'] = $file;
			            $incoming_file_information[$cnt]['size'] = floor($current_file_stats[7] / 1000); // Fetch for Kb

						$cnt++;
					}
			        closedir($incoming_file_handle);
				}
			}

			return $incoming_file_information;
		}
		const REGEX_INVALID_EXTENSION_CHARS = '{[^a-z0-9]}i';
		/**
		 * Serizlies an array of strings into format suitable for multi-uploader
		 *
		 * example for format:
		 * '*.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.avi;*.mp4;*.mp3;*.qt;*.ppt;*.kml'
		 * @param array $types
		 * @return string
		 */
		public function serializeUploadFileExtensions($types){
			$serialized = '';
			$types = preg_replace(self::REGEX_INVALID_EXTENSION_CHARS,'',$types);
			foreach ($types as $type) {
				$serialized .= '*.'.$type.';';
			}
			//removing trailing ; unclear if multiupload will choke on that or not
			$serialized = substr ($serialized, 0, strlen($serialized)-1);
			return $serialized;
		}

		/**
		 * UnSerizlies an array of strings from format suitable for multi-uploader
		 *
		 * example for format:
		 * '*.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.avi;*.mp4;*.mp3;*.qt;*.ppt;*.kml'
		 * @param string $types
		 * @return array
		 */
		public function unSerializeUploadFileExtensions($types){
			//split by semi-colon
			$types = preg_split('{;}',$types,null,PREG_SPLIT_NO_EMPTY);
			$types = preg_replace(self::REGEX_INVALID_EXTENSION_CHARS,'',$types);
			return $types;
		}

		/**
		 * Returns an array of all allowed file extensions within the system
		 */
		public function getAllowedFileExtensions() {
			$arr = $this->unserializeUploadFileExtensions(UPLOAD_FILE_EXTENSIONS_ALLOWED);
			sort($arr);
			return $arr;
		}
	}

?>

redpajama_set_name: RedPajamaGithub


text:
/**
 * Auto-configuration for WebFlux actuator metrics.
 */
package org.springframework.boot.actuate.autoconfigure.metrics.reactive.server;


text:
package org.willian.owb2infa.helper.infa;

import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

import com.informatica.powercenter.sdk.mapfwk.connection.ConnectionInfo;
import com.informatica.powercenter.sdk.mapfwk.connection.SourceTargetType;
import com.informatica.powercenter.sdk.mapfwk.core.Field;
import com.informatica.powercenter.sdk.mapfwk.core.FieldType;
import com.informatica.powercenter.sdk.mapfwk.core.Folder;
import com.informatica.powercenter.sdk.mapfwk.core.INameFilter;
import com.informatica.powercenter.sdk.mapfwk.core.ShortCut;
import com.informatica.powercenter.sdk.mapfwk.core.Source;
import com.informatica.powercenter.sdk.mapfwk.core.TransformationConstants;
import com.informatica.powercenter.sdk.mapfwk.exception.MapFwkReaderException;
import com.informatica.powercenter.sdk.mapfwk.exception.RepoOperationException;
import com.informatica.powercenter.sdk.mapfwk.repository.Repository;
import com.informatica.powercenter.sdk.mapfwk.repository.RepositoryObjectConstants;
import org.willian.owb2infa.helper.HelperBase;
import org.willian.owb2infa.model.MetadataGroup;
import org.willian.owb2infa.model.MetadataOperator;

public class INFASource {

	private static Logger logger = LogManager.getLogger(INFASource.class);

	public void createSource(MetadataOperator operator, Folder folder, Repository rep) {
		String opName = operator.getName();

		logger.debug("Working on the " + opName + " as source");

		String opBoundName = operator.getBoundName();

		if (opBoundName == null) {
			opBoundName = opName;
		}

		if (!INFAUtils.isLoadControlTable(opBoundName)) {
			boolean shortCutCreated = false;

			shortCutCreated = createSourceAsShortCut(operator, folder, rep);

			if (!shortCutCreated) {

				logger.debug("Can't create the shortcut for " + opName);

				if (folder.getSource(opBoundName) != null) {
					logger.debug("The source " + opBoundName + " has existed in folder " + folder.getName());
				} else {
					logger.debug("The source " + opBoundName + " has not been created in folder " + folder.getName());
					createSourceInLocalFolder(operator, folder);
				}
			}
		} else {
			logger.debug("Found DW_LOAD_CONTROL_TBL as source in OWB mapping. It has been deprecated in Informatica");
		}
	}

	private boolean createSourceAsShortCut(MetadataOperator operator, Folder folder, Repository rep) {

		boolean actionSuccess = false;
		String name = operator.getName();

		String opBoundName = operator.getBoundName();

		if (opBoundName == null) {
			opBoundName = name;
		}

		String owbLoc = operator.getLocation();
		String infaLoc = INFAPropConstants.getINFALocation("SOURCE", owbLoc);

		Source source = null;

		logger.debug("Ready to create shortcut for source " + name);

		try {
			source = getSourceFromShareFolder(rep, opBoundName, infaLoc);
		} catch (RepoOperationException | MapFwkReaderException e) {
			logger.debug("Can't find source " + opBoundName + " from share folder");
		}
		if (source != null) {
			String sourceName = source.getName();
			logger.debug(sourceName + " is existed in share folder. Ready to create shortcut from this source");
			ShortCut sourceShortCut = createShortCutFromSource(source, rep, folder);

			if (sourceShortCut != null) {
				logger.debug("Create Shortcut " + sourceShortCut.getName() + " for source " + sourceName
						+ " on folder " + sourceShortCut.getFolderName());

			}

			folder.addShortCut(sourceShortCut);
			folder.addShortCutInternal(sourceShortCut); // for fetch
			// functionality
			logger.debug("Add the shortcut " + sourceShortCut.getName() + " for the shared folder source "
					+ opBoundName + " into the folder " + folder.getName());
			actionSuccess = true;
		} else {

			logger.debug("Source " + opBoundName + " can't be found in share folder");
			actionSuccess = false;
		}
		return actionSuccess;
	}

	public static Source getSourceFromShareFolder(Repository rep, final String checkName, final String infaLoc)
			throws RepoOperationException, MapFwkReaderException {

		logger.debug("Get source from shared folder for object "+checkName);

		List<Folder> folders = rep.getFolders(new INameFilter() {

			public boolean accept(String name) {
				logger.debug("check folder " + name);
				return name.equals("SHARED");
			}
		});

		if (folders.size() > 0) {

			Folder temp = (Folder) folders.get(0);
			logger.debug("Find shared folder " + temp.getName());

			Source mySource = getSoureFromFolder(temp, checkName, infaLoc);

			return mySource;
		} else {
			logger.error("Failed to find the shared folder. It's a fatal error. Program exit.");
			System.exit(1);
		}

		return null;
	}

	public static ShortCut createShortCutFromSource(Source src, Repository rep, Folder folder) {

		String srcTblName = src.getName();
		String repoName = rep.getRepoConnectionInfo().getTargetRepoName();
		// String scName = INFAPropConstants.getINFATransPrefix("SHORTCUT") +
		// srcTblName;
		// String scName = srcTblName;
		ShortCut scSrc = new ShortCut(srcTblName, "shortcut to source " + srcTblName, repoName, "SHARED", srcTblName,
				RepositoryObjectConstants.OBJTYPE_SOURCE, TransformationConstants.STR_SOURCE, ShortCut.LOCAL);

		scSrc.setRefObject(src);

		return scSrc;
	}

	private void createSourceInLocalFolder(MetadataOperator operator, Folder folder) {

		String name = operator.getName();
		String boundName = operator.getBoundName();

		if (boundName == null) {
			boundName = name;
		}
		String business_name = operator.getBusiness_name();
		String owbLoc = operator.getLocation();
		String infaLoc = null;
		if (boundName.startsWith("STG") || boundName.endsWith("VW")) {

			owbLoc = "WAREHOUSE_TARGET";
			infaLoc = INFAPropConstants.getINFALocation("SOURCE", owbLoc);
		} else {

			owbLoc = "PRODUCTION_SOURCE";
			infaLoc = INFAPropConstants.getINFALocation("SOURCE", owbLoc);
		}
		logger.debug("Create source " + boundName + " in local folder db (" + infaLoc + ") for operator source " + name);

		List<Field> fields = new ArrayList<Field>();

		ArrayList<MetadataGroup> groups = operator.getGroups();
		if (groups != null) {
			for (MetadataGroup group : groups) {
				INFAUtils.addGroupToFields(group, fields, FieldType.SOURCE);
			}

			ConnectionInfo info = INFAUtils.getRelationalConnectionInfo(SourceTargetType.Oracle, infaLoc);

			Source source = new Source(boundName, business_name, "The source metadata is migrated from OWB operator "
					+ name, name, info);
			logger.debug("Add " + fields.size() + " fields into source " + source.getName());
			source.setFields(fields);
			folder.addSource(source);
			folder.addSourceInternal(source);

			logger.debug("Source " + source.getBusinessName() + " has been added into folder "
					+ folder.getBusinessName());
		} else {
			logger.error("The source has no group");
		}
	}

	public static Source getSoureFromFolder(Folder toCheckFolder, final String checkName, final String infaLoc) {

		logger.debug("Check if source " + checkName + " is existed in folder " + toCheckFolder.getName() + " (dbd: "
				+ infaLoc + ")");

		Source localSource = toCheckFolder.getSource(checkName);

		if (localSource != null) {
			return localSource;
		} else {

			try {
				List<Source> sourceList = null;

				// if (infaLoc != null && !infaLoc.equals("*")) {
				// sourceList =
				// toCheckFolder.fetchSourcesFromRepositoryusingDbdSeparator(new
				// INameFilter() {
				//
				// public boolean accept(String name) {
				// return name.equalsIgnoreCase(checkName);
				// }
				// }, infaLoc);
				// } else {
				sourceList = toCheckFolder.fetchSourcesFromRepository(new INameFilter() {

					public boolean accept(String name) {
						// logger.debug("...Comparing source " + name +
						// "(" +
						// name.length() + ") with " + checkName
						// + " . The result is " + name.matches(".*" +
						// checkName
						// +
						// ".*"));
						// return name.matches(".*" + checkName + ".*");
						return name.equalsIgnoreCase(checkName);
					}
				});
				// }

				// List<Source> sourceList = toCheckFolder.getSources();
				// List<Source> sourceList =
				// toCheckFolder.fetchSourcesFromRepository();
				//
				// if (sourceList != null && sourceList.size() > 0) {
				//

				if (sourceList != null) {
					for (Source source : sourceList) {

						String name = source.getName();
						logger.debug("...Checking source " + name);

						if (name.equalsIgnoreCase(checkName)) {
							logger.debug("Found source " + name);
							return source;
						}
					}
				}
				// }
			} catch (RepoOperationException | MapFwkReaderException e) {
				logger.error(HelperBase.getStackTrace(e));
			}

		}
		return null;
	}
}


text:
/* See license.txt for terms of usage */

"use strict";

// Add-on SDK
const { loadSheet, removeSheet } = require("sdk/stylesheet/utils");
const { Class } = require("sdk/core/heritage");

// Firebug.SDK
const { Trace, TraceError } = require("firebug.sdk/lib/core/trace.js").get(module.id);
const { SidePanelOverlay } = require("firebug.sdk/lib/side-panel-overlay.js");
const { Menu } = require("firebug.sdk/lib/menu.js");

/**
 * @overlay This object represents an overlay for 'Computed' side
 * panel within the Inspector panel. All (theme) customization
 * and/or new features should be implemented in this object.
 *
 * this.owner => {@InspectorOverlay}
 * this.owner.panel => {@InspectorPanel}
 * this.owner.panel.sidebar => {@ToolSidebar}
 * this.panelFrame => "chrome://browser/content/devtools/computedview.xhtml"
 * this.panelFrame.computedview => {@ComputedViewTool}
 * this.panelFrame.computedview.view => {@ComputedView.CssHtmlTree}
 */
const ComputedViewOverlay = Class(
/** @lends ComputedViewOverlay */
{
  extends: SidePanelOverlay,

  overlayId: "computedview",

  onReady: function(options) {
    SidePanelOverlay.prototype.onReady.apply(this, arguments);

    Trace.sysout("computedViewOverlay.initialize;", options);

    this.panel = this.panelFrame.contentWindow.computedview;
  },

  // Options Menu

  getOptionsMenuItems: function() {
    return [
      this.showBrowserStyles(),
    ];
  },

  showBrowserStyles: function() {
    let doc = this.getPanelDocument();
    let checkbox = doc.querySelector(".includebrowserstyles");

    return {
      label: "inspector.option.showBrowserStyles",
      type: "checkbox",
      checked: checkbox.checked,
      tooltiptext: "inspector.option.tip.showBrowserStyles",
      command: () => checkbox.click()
    };
  },

  // Theme

  onApplyTheme: function(win, oldTheme) {
    SidePanelOverlay.prototype.onApplyTheme.apply(this, arguments);

    loadSheet(win, "chrome://firebug/skin/computed-view.css", "author");

    // xxxHonza: check that the original checkbox still exists TESTME
    let doc = win.document;
    let checkbox = doc.querySelector(".includebrowserstyles");
    if (checkbox) {
      checkbox.setAttribute("fb-collapsed", "true");
    }
  },

  onUnapplyTheme: function(win, newTheme) {
    SidePanelOverlay.prototype.onUnapplyTheme.apply(this, arguments);

    removeSheet(win, "chrome://firebug/skin/computed-view.css", "author");

    let doc = win.document;
    let checkbox = doc.querySelector(".includebrowserstyles");
    if (checkbox) {
      checkbox.removeAttribute("fb-collapsed");
    }
  },
});

// Exports from this module
exports.ComputedViewOverlay = ComputedViewOverlay;


text:
Tools for real time manipulation and inspection of trivial space flow graphs.

The core tool is a graph visualizer, that can be added to any website that uses a flow runtime.
It can visualize the data flow graph, inspect and edit current entity node values. This makes experimenting with program parameters very easy. The visual tool is build using [Inferno.js](https://github.com/infernojs/inferno).

Other utilities, like a console tool and some webpack helpers are part of this project as well.

Developed and build for usage with TypeScript.

_This library is fluctuating a lot, and changed frequently. Not recommended for production usage!_

## License

MIT, see the LICENSE file in the repository.

Copyright (c) 2016 - 2017 Thomas Gorny


text:
<?php

namespace BiSight\Etl\Transformer;

use BiSight\Etl\Column;
use BiSight\Etl\RowInterface;

class SplitTransformer implements TransformerInterface
{
    private $inputColumnName;
    private $outputColumns;
    private $delimiter;
    private $limit;

    /**
     * @param string $inputColumnName
     * @param string $outputColumns
     * @param string $delimiter
     */
    public function __construct($inputColumnName, $outputColumns, $delimiter, $limit = null)
    {
        $this->inputColumnName = $inputColumnName;
        $this->outputColumns = Column::unserializeArray($outputColumns);
        $this->delimiter = $delimiter;
        $this->limit = $limit;
    }

    /**
     * {@inheritdoc}
     */
    public function getColumns()
    {
        return $this->outputColumns;
    }

    /**
     * {@inheritdoc}
     */
    public function transform(RowInterface $row)
    {
        $original = $row->get($this->inputColumnName);
        $values = explode($this->delimiter, $original, $this->limit);

        if (count($values) == count($this->outputColumns)) {
            $i = 0;
            foreach ($this->outputColumns as $column) {
                $row->set($column->getName(), $values[$i++]);
            }
        } else {
            throw new \Exception(sprintf(
                "Output columns count '%s' not equal to original columns count '%s'",
                count($this->outputColumns),
                count($values)
            ));
        }
    }
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2014.1.1 (Build 702U)" ts="2014-09-02 17:36:20">
<Class name="CNA.CNA">
<Super>%RegisteredObject</Super>
<TimeChanged>63432,63360.958842</TimeChanged>
<TimeCreated>63383,58144.669569</TimeCreated>

<Property name="LibId">
<Type>%String</Type>
<Private>1</Private>
</Property>

<Property name="CNAId">
<Type>%Integer</Type>
<Private>1</Private>
</Property>

<Property name="TypeSizes">
<Type>%String</Type>
<Private>1</Private>
</Property>

<Property name="Alignments">
<Type>%String</Type>
<Private>1</Private>
</Property>

<Property name="AllocatedMemory">
<Type>%ListOfDataTypes</Type>
<Private>1</Private>
</Property>

<Property name="NULL">
<Type>%String</Type>
</Property>

<Parameter name="VOID">
<Description>
C void type. May be used only for the type of return value.</Description>
<Default>0</Default>
</Parameter>

<Parameter name="UCHAR">
<Description>
Unsigned char.</Description>
<Default>1</Default>
</Parameter>

<Parameter name="SCHAR">
<Description>
Signed char.</Description>
<Default>2</Default>
</Parameter>

<Parameter name="UINT">
<Description>
Unsigned int.</Description>
<Default>3</Default>
</Parameter>

<Parameter name="INT">
<Description>
Signed char.</Description>
<Default>4</Default>
</Parameter>

<Parameter name="USHORT">
<Description>
Unsigned short.</Description>
<Default>5</Default>
</Parameter>

<Parameter name="SHORT">
<Description>
Signed short.</Description>
<Default>6</Default>
</Parameter>

<Parameter name="ULONG">
<Description>
Unsigned long int.</Description>
<Default>7</Default>
</Parameter>

<Parameter name="LONG">
<Description>
Signed long int.</Description>
<Default>8</Default>
</Parameter>

<Parameter name="UINT64">
<Description><![CDATA[
Unsigned 64-bit int (Usually equal to C type unsigned long long int).

 Works wrong with values larger than maximum of signed 64-bit integers because of Cache <class>%Integer</class> class limitations. ]]></Description>
<Default>9</Default>
</Parameter>

<Parameter name="INT64">
<Description>
Signed 64-bit int (Usually equals to C type long long int).</Description>
<Default>10</Default>
</Parameter>

<Parameter name="FLOAT">
<Description><![CDATA[
Single precision floating point type.

Value of this types must be passed to functions as <class>%Double</class>.  ]]></Description>
<Default>11</Default>
</Parameter>

<Parameter name="DOUBLE">
<Description><![CDATA[
Double precision floating point type.

Value of this types must be passed to functions as <class>%Double</class>.  ]]></Description>
<Default>12</Default>
</Parameter>

<Parameter name="LONGDOUBLE">
<Description>
Type equal to C long double. It's supported not for all platforms.</Description>
<Default>13</Default>
</Parameter>

<Parameter name="POINTER">
<Description>
Pointer type.</Description>
<Default>14</Default>
</Parameter>

<Parameter name="SIZET">
<Description>
Type equal to C size_t. Usually it is an unsigned 32 or 64-bit integer.</Description>
<Default>15</Default>
</Parameter>

<Parameter name="STRUCT">
<Description>
Structure type.</Description>
<Default>16</Default>
</Parameter>

<Parameter name="NTYPES">
<Description>
Number of all available types in CNA.</Description>
<Default>17</Default>
</Parameter>

<Method name="ThrowMessage">
<ClassMethod>1</ClassMethod>
<FormalSpec>msg:%String</FormalSpec>
<Private>1</Private>
<Implementation><![CDATA[
	set st = $$$ERROR($$$GeneralError, msg)
	throw ##class(%Exception.StatusException).CreateFromStatus(st)
]]></Implementation>
</Method>

<Method name="CreateStructType">
<ClassMethod>1</ClassMethod>
<FormalSpec>types:%List</FormalSpec>
<Private>1</Private>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	set size = $LISTLENGTH(types)
	set structType = $CHAR(..#STRUCT, size)
	for i=1:1:size {
		set type = $LIST(types, i)
		set structType = structType _ ..ConvertTypeFromCacheToCNA(type)
	}

	return structType
]]></Implementation>
</Method>

<Method name="ConvertTypeFromCacheToCNA">
<ClassMethod>1</ClassMethod>
<FormalSpec>type:%String</FormalSpec>
<Private>1</Private>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	if ($LISTVALID(type)) {
		return ..CreateStructType(type)
	} else {
		return $CHAR(type)
	}
]]></Implementation>
</Method>

<Method name="GetAlignments">
<Private>1</Private>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	set os = $SYSTEM.Version.GetOS()
	set platform = $SYSTEM.Version.GetPlatform()

	set aligns = ""
	for i=0:1:(..#NTYPES - 2) {
		set size = $ASCII(..TypeSizes, i + 1)
		if ((size > 4) && (os = "UNIX") && ($find(platform,"x86-32") '= 0)) {
			set aligns = aligns _ $CHAR(4)
		} else {
			set aligns = aligns _ $CHAR(size)
		}
	}
	return aligns
]]></Implementation>
</Method>

<Method name="ApplyAlignment">
<FormalSpec><![CDATA[&memory:%String,&offset:%Integer,alignment:%Integer]]></FormalSpec>
<Private>1</Private>
<Implementation><![CDATA[
	set padding = (alignment - (offset # alignment)) # alignment
	if ($DATA(memory)) {
		for j=1:1:padding {
			set memory = memory _ $CHAR(0)
		}
	}
	set offset = offset + padding
]]></Implementation>
</Method>

<Method name="GetSizeAndAlignment">
<FormalSpec>type,*size:%Integer,*alignment:%Integer</FormalSpec>
<Private>1</Private>
<Implementation><![CDATA[
	if ($LISTVALID(type)) {
		set alignment = 0
		set offset = 0
		for i=1:1:$LISTLENGTH(type) {
			do ..GetSizeAndAlignment($LIST(type, i), .elemSize, .elemAlign)
			if (elemAlign > alignment) {
				set alignment = elemAlign
			}
			do ..ApplyAlignment( , .offset, elemAlign)
			set offset = offset + elemSize
		}
		do ..ApplyAlignment( , .offset, alignment)
		set size = offset

	} else {
		set size = $ASCII(..TypeSizes, type + 1)
		set alignment = $ASCII(..Alignments, type + 1)
	}
]]></Implementation>
</Method>

<Method name="CheckStructSupport">
<Private>1</Private>
<Implementation><![CDATA[
	set os = $SYSTEM.Version.GetOS()
	set platform = $SYSTEM.Version.GetPlatform()

	if (((os '= "UNIX") && (os '= "Windows")) || (($FIND(platform, "x86-32") '= 0) && ($FIND(platform, "x86-64") '= 0))) {
		do ..ThrowMessage("Structures are unsupported on your platform")
	}
]]></Implementation>
</Method>

<Method name="ConvertStructFromCacheToCNA">
<FormalSpec>type:%List,values:%List</FormalSpec>
<Private>1</Private>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	do ..CheckStructSupport()

	set struct = ""
	set maxAlign = 0
	set offset = 0

	for i=1:1:$LISTLENGTH(values) {
		set elemType = $LIST(type, i)
		do ..GetSizeAndAlignment(elemType, .elemSize, .elemAlign)

		if (elemAlign > maxAlign) {
			set maxAlign = elemAlign
		}

		do ..ApplyAlignment(.struct, .offset, elemAlign)

		set offset = offset + elemSize
		set struct = struct _ ..ConvertFromCacheToCNA(elemType, $LIST(values, i))
	}

	do ..ApplyAlignment(.struct, .offset, maxAlign)

	return struct
]]></Implementation>
</Method>

<Method name="ConvertStructFromCNAToCache">
<FormalSpec>type:%List,struct:%String</FormalSpec>
<Private>1</Private>
<ReturnType>%ListOfDataTypes</ReturnType>
<Implementation><![CDATA[
	set aligns = ..GetAlignments()
	set values = ""
	set offset = 0
	for i=1:1:$LISTLENGTH(type) {
		set elemType = $LIST(type, i)
		set elemSize = $ASCII(..TypeSizes, elemType + 1)
		set elemAlign = $ASCII(aligns, elemType + 1)

		set padding = (elemAlign - (offset # elemAlign)) # elemAlign
		set offset = offset + padding + elemSize
		set $LIST(values, *+1) = ..ConvertFromCNAToCache(elemType, $EXTRACT(struct, offset - elemSize + 1, offset + 1))

	}
	return values
]]></Implementation>
</Method>

<Method name="SignedToUnsigned">
<ClassMethod>1</ClassMethod>
<FormalSpec>value:%Integer,size:%Integer</FormalSpec>
<Private>1</Private>
<ReturnType>%Integer</ReturnType>
<Implementation><![CDATA[
	set max = $CASE(size, 1:"7F", 2:"7FFF", 4:"7FFFFFFF", 8:"7FFFFFFFFFFFFFFF")
	set minusOne = $CASE(size, 1:"FF", 2:"FFFF", 4:"FFFFFFFF", 8:"FFFFFFFFFFFFFFFF")

	if ((value > $ZHEX(max)) || (value <= - $ZHEX(max))) {
		do ..ThrowMessage("Illegal value")
	}
	if (value < 0) {
		set value = $ZHEX(minusOne) + value + 1
	}
	return value
]]></Implementation>
</Method>

<Method name="UnsignedToSigned">
<ClassMethod>1</ClassMethod>
<FormalSpec>value:%Integer,size:%Integer</FormalSpec>
<Private>1</Private>
<ReturnType>%Integer</ReturnType>
<Implementation><![CDATA[
	set max = $CASE(size, 1:"7F", 2:"7FFF", 4:"7FFFFFFF", 8:"7FFFFFFFFFFFFFFF")
	set minusOne = $CASE(size, 1:"FF", 2:"FFFF", 4:"FFFFFFFF", 8:"FFFFFFFFFFFFFFFF")

	if ((value < 0) || (value > $ZHEX(minusOne))) {
		do ..ThrowMessage("Illegal Value")
	}
	if (value > $ZHEX(max)) {
		set value = value - $ZHEX(minusOne) - 1
	}
	return value
]]></Implementation>
</Method>

<Method name="ConvertIntegerFromCacheToCNA">
<ClassMethod>1</ClassMethod>
<FormalSpec>type:%Integer,size:%Integer,value:%Integer</FormalSpec>
<Private>1</Private>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	set isUnsigned = (type = ..#UCHAR ) ||
	                 (type = ..#UINT  ) ||
	                 (type = ..#USHORT) ||
	                 (type = ..#ULONG ) ||
	                 (type = ..#SIZET ) ||
	                 (type = ..#UINT64)

	if (('isUnsigned) && ((size = 1) || (size = 2) || (size = 4))) {
		set value = ..SignedToUnsigned(value, size)
	} elseif (isUnsigned && (size = 8)) {
		//set value = ..UnsignedToSigned(value, size)
		//TODO: and support for uint64
	}

	return $case(size, 1:$CHAR(value), 2:$ZWCHAR(value), 4:$ZLCHAR(value), 8:$ZQCHAR(value))
]]></Implementation>
</Method>

<Method name="ConvertIntegerFromCNAToCache">
<ClassMethod>1</ClassMethod>
<FormalSpec>type:%Integer,size:%Integer,value:%String</FormalSpec>
<Private>1</Private>
<ReturnType>%Integer</ReturnType>
<Implementation><![CDATA[
	set isUnsigned = (type = ..#UCHAR ) ||
	                 (type = ..#UINT  ) ||
	                 (type = ..#USHORT) ||
	                 (type = ..#ULONG ) ||
	                 (type = ..#SIZET ) ||
	                 (type = ..#UINT64)

	set value = $CASE(size, 1:$ASCII(value), 2:$ZWASCII(value), 4:$ZLASCII(value), 8:$ZQASCII(value))

	if (('isUnsigned) && ((size = 1) || (size = 2) || (size = 4))) {
		set value = ..UnsignedToSigned(value, size)
	} elseif (isUnsigned && (size = 8)) {
		//set value = ..SignedToUnsigned(value, size)
		//TODO: and support for uint64
	}

	return value
]]></Implementation>
</Method>

<Method name="ConvertFromCacheToCNA">
<FormalSpec>type,value</FormalSpec>
<Private>1</Private>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	if (type >= ..#NTYPES) {
			do ..ThrowMessage("Incorrect type")
	}
	set size = $ASCII(..TypeSizes, type + 1)

	if (type = ..#FLOAT) {
		set d2f = $ZF(-4, 3, ..CNAId, "double_to_float")
		set cnaVal = $ZF(-5, ..CNAId, d2f, $ZDCHAR(value))
	}elseif (type = ..#LONGDOUBLE) {
		set d2ld = $ZF(-4, 3, ..CNAId, "double_to_long_double")
		set cnaVal = $ZF(-5, ..CNAId, d2ld, $ZDCHAR(value))
	}elseif (type = ..#DOUBLE) {
		set cnaVal = $ZDCHAR(value)
	}elseif (type = ..#POINTER) {
		set cnaVal = value
	}elseif (type = ..#VOID) {
		do ..ThrowMessage("#VOID may be used only for the type of return value")
	}elseif ($LISTVALID(type)) {
		set cnaVal = ..ConvertStructFromCacheToCNA(type, value)
	}else {
		set cnaVal = ..ConvertIntegerFromCacheToCNA(type, size, value)
	}
	if (cnaVal = "") {
		do ..ThrowMessage("Illegal value or unsupported size of numeric type")
	}
	return cnaVal
]]></Implementation>
</Method>

<Method name="ConvertFromCNAToCache">
<FormalSpec>type,value:%String</FormalSpec>
<Private>1</Private>
<Implementation><![CDATA[
	if (type >= ..#NTYPES) {
			do ..ThrowMessage("Incorrect type")
	}
	set size = $ASCII(..TypeSizes, type + 1)
	if (type = ..#FLOAT) {
		set f2d = $ZF(-4, 3, ..CNAId, "float_to_double")
		set returnValue = $ZDASCII($zf(-5, ..CNAId, f2d, value))
	}elseif (type = ..#LONGDOUBLE) {
		set ld2d = $ZF(-4, 3, ..CNAId, "long_double_to_double")
		set returnValue = $ZDASCII($zf(-5, ..CNAId, ld2d, value))
	}elseif (type = ..#DOUBLE) {
		set returnValue = $ZDASCII(value)
	}elseif (type = ..#POINTER) {
		set returnValue = value
	}elseif (type = ..#VOID) {
		set returnValue = ""
	}elseif ($LISTVALID(type)) {
		set returnValue = ..ConvertStructFromCNAToCache(type, value)
	}else {
		set returnValue = ..ConvertIntegerFromCNAToCache(type, size, value)
	}
	return returnValue
]]></Implementation>
</Method>

<Method name="CallFunction">
<Description><![CDATA[
Calls function <var>name</var> from previously loaded dynamic library.

 You need to specify type of return value of the function and types of all arguments.
Types may be represented as one of <class>CNA.CNA</class> parameters if it is a plain C datatype or as list of parameters if it is a structure.
You need to put all argument types into the list and pass it to argument <var>argTypes</var>.
If there is no arguments you need to pass an empty list.

 Argument values is passed the same way as a simple function arguments after first four of it.

See examples in <class>CNA.Tests</class>.]]></Description>
<FormalSpec>name:%String,returnType,argTypes:%List,args...:%List</FormalSpec>
<Implementation><![CDATA[
	set callFunc = $ZF(-4, 3, ..CNAId, "call_function")
	if ('$DATA(args)) {
		set args = 0
	}
	if ($LISTLENGTH($GET(argTypes)) '= args) {
		do ..ThrowMessage("Size of list of argument types and number of arguments must be equal.")
	}
	set cnaArgTypes = ""
	set cnaArgs = ""

	for i = 1:1:args {
		set val = $GET(args(i))
		if ('$LISTDATA(argTypes, i)) {
			do ..ThrowMessage("Incorrect list of argument types")
		}
		set type = $LIST(argTypes, i)

		if ($LISTVALID(type)) {
			do ..GetSizeAndAlignment(type, .size, .alignment)
			set cnaArgs = cnaArgs _ ..ConvertIntegerFromCacheToCNA(..#SIZET, $ASCII(..TypeSizes, ..#SIZET + 1), size)
		}

		set cnaArgs = cnaArgs _ ..ConvertFromCacheToCNA(type, val)
		set cnaArgTypes = cnaArgTypes _ ..ConvertTypeFromCacheToCNA(type)
	}
	set cnaArgTypes = cnaArgTypes _ ..ConvertTypeFromCacheToCNA(returnType)
	set cnaRet = $ZF(-5, ..CNAId, callFunc, ..LibId, name, cnaArgTypes, cnaArgs)

	set returnValue =  ..ConvertFromCNAToCache(returnType, cnaRet)
	return returnValue
]]></Implementation>
</Method>

<Method name="LoadLibrary">
<Description><![CDATA[
Loads dynamic library with path <var>path</var> to CNA.]]></Description>
<FormalSpec>path:%String</FormalSpec>
<Implementation><![CDATA[
	set loadLib = $ZF(-4, 3, ..CNAId, "load_library")
	set ..LibId = $ZF(-5, ..CNAId, loadLib, path)
]]></Implementation>
</Method>

<Method name="FreeLibrary">
<Description>
Releases loaded dynamic library from CNA.</Description>
<Implementation><![CDATA[
	set freeLib = $ZF(-4, 3, ..CNAId, "free_library")
	do $ZF(-5, ..CNAId, freeLib, ..LibId)
]]></Implementation>
</Method>

<Method name="%OnNew">
<FormalSpec>CNAPath:%String</FormalSpec>
<Private>1</Private>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
	try {
		if (('$DATA(CNAPath)) || ('##class(%File).Exists(CNAPath))) {
			do ..ThrowMessage("CNA file doesn't exists")
		}

		set ..CNAId = $ZF(-4, 1, CNAPath)
		set getSizes = $ZF(-4, 3, ..CNAId, "get_sizes")
		set ..TypeSizes = $ZF(-5, ..CNAId, getSizes)
		set ..Alignments = ..GetAlignments()
		set ..NULL = ..ConvertFromCacheToCNA(..#SIZET, 0)
	} catch ex {
		do ex.Log()
		return ex.AsStatus()
	}

	Quit $$$OK
]]></Implementation>
</Method>

<Method name="%OnClose">
<Private>1</Private>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
	try {
		set s2p = $ZF(-4, 3, ..CNAId, "free_pointer")
		for i=1:1:..AllocatedMemory.Size {
			do $ZF(-5, ..CNAId, s2p, ..AllocatedMemory.GetAt(i))
		}

		do $ZF(-4, 2, ..CNAId)
	} catch ex {
		do ex.Log()
		return ex.AsStatus()
	}
	Quit $$$OK
]]></Implementation>
</Method>

<Method name="PointerGetAt">
<Description><![CDATA[
Provides access to array element with index <var>index</var>.

 <var>pointer</var> must be a C array created by <method>ConvertStreamToPointer</method>, <method>ConvertStringToPointer</method> or by C functions.

 <var>type</var> is passed with the same rules as in <method>CallFunction</method>.

 Operating with pointers may be unsafe!]]></Description>
<FormalSpec>pointer:%String,type,index:%Integer</FormalSpec>
<Implementation><![CDATA[
	set getAt = $ZF(-4, 3, ..CNAId, "pointer_get_at")
	set cnaIndex = ..ConvertFromCacheToCNA(..#SIZET, index)
	set cnaVal = $ZF(-5, ..CNAId, getAt, pointer, $CHAR(type), cnaIndex)
	return ..ConvertFromCNAToCache(type, cnaVal)
]]></Implementation>
</Method>

<Method name="PointerSetAt">
<Description><![CDATA[
Assigns <var>value</var> to array element with index <var>index</var>.

 <var>pointer</var> must be a C array created by <method>ConvertStreamToPointer</method>, <method>ConvertStringToPointer</method> or by C functions.

 <var>type</var> is passed with the same rules as in <method>CallFunction</method>.

 Operating with pointers may be unsafe!]]></Description>
<FormalSpec>pointer:%String,type,index:%Integer,value</FormalSpec>
<Implementation><![CDATA[
	set setAt = $ZF(-4, 3, ..CNAId, "pointer_set_at")
	set cnaVal = ..ConvertFromCacheToCNA(type, value)
	set cnaIndex = ..ConvertFromCacheToCNA(..#SIZET, index)
	do $zf(-5, ..CNAId, setAt, pointer, $CHAR(type), cnaIndex, cnaVal)
]]></Implementation>
</Method>

<Method name="ConvertStringToPointer">
<Description><![CDATA[
Converts Cache string to C array (with UTF8 encoding) and returns a <var>pointer</var> to the beginning of this array.]]></Description>
<FormalSpec>string:%String</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	set s2p = $ZF(-4, 3, ..CNAId, "string_to_pointer")
	set pointer = $ZF(-5, ..CNAId, s2p, $ZCVT(string, "O", "UTF8"))
	do ..AllocatedMemory.Insert(pointer)
	return pointer
]]></Implementation>
</Method>

<Method name="ConvertPointerToString">
<Description>
Converts UTF8 C-string to Cache string</Description>
<FormalSpec>pointer:%String</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	set p2s = $ZF(-4, 3, ..CNAId, "pointer_to_string")
	set string = $ZF(-5, ..CNAId, p2s, pointer)
	return $ZCVT(string, "I", "UTF8")
]]></Implementation>
</Method>

<Method name="ConvertStreamToPointer">
<Description><![CDATA[
Converts Cache stream to C array and returns a <var>pointer</var> to the beginning of this array.]]></Description>
<FormalSpec>stream:%Stream.Object</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	set a2p = $ZF(-4, 3, ..CNAId, "append_to_pointer")
	set len = 0
	set fullLen = 0
	set pointer = ..ConvertFromCacheToCNA(..#SIZET, 0)
	while (len '= -1) {
		set len = 32768
		set string = stream.Read(.len, .st)
		if ($$$ISERR(st)) {
			do ..AllocatedMemory.Insert(pointer)
			throw ##class(%Exception.StatusException).CreateFromStatus(st)
		}
		set pointer = $ZF(-5, ..CNAId, a2p, pointer, ..ConvertFromCacheToCNA(..#SIZET, fullLen), string)
		set fullLen = fullLen + len
	}
	do ..AllocatedMemory.Insert(pointer)
	return pointer
]]></Implementation>
</Method>
</Class>
</Export>


text:
'use strict';

const constants = require('../constants');
const jsonld = require('jsonld');
const util = require('../util');
const {sha256digest} = require('../sha256digest');
const LinkedDataProof = require('./LinkedDataProof');

module.exports = class LinkedDataSignature extends LinkedDataProof {
  /**
   * Parent class from which the various LinkDataSignature suites (such as
   * `Ed25519Signature2020`) inherit.
   * NOTE: Developers are never expected to use this class directly, but to
   * only work with individual suites.
   *
   * @param {object} options - Options hashmap.
   * @param {string} options.type - Suite name, provided by subclass.
   * @typedef LDKeyPair
   * @param {LDKeyPair} LDKeyClass - The crypto-ld key class that this suite
   *   will use to sign/verify signatures. Provided by subclass. Used
   *   during the `verifySignature` operation, to create an instance (containing
   *   a `verifier()` property) of a public key fetched via a `documentLoader`.
   *
   * @param {string} contextUrl - JSON-LD context URL that corresponds to this
   *   signature suite. Provided by subclass. Used for enforcing suite context
   *   during the `sign()` operation.
   *
   * For `sign()` operations, either a `key` OR a `signer` is required.
   * For `verify()` operations, you can pass in a verifier (from KMS), or
   * the public key will be fetched via documentLoader.
   *
   * @param {object} [options.key] - An optional key object (containing an
   *   `id` property, and either `signer` or `verifier`, depending on the
   *   intended operation. Useful for when the application is managing keys
   *   itself (when using a KMS, you never have access to the private key,
   *   and so should use the `signer` param instead).
   *
   * @param {{sign: Function, id: string}} [options.signer] - Signer object
   *   that has two properties: an async `sign()` method, and an `id`. This is
   *   useful when interfacing with a KMS (since you don't get access to the
   *   private key and its `signer`, the KMS client gives you only the signer
   *   object to use).
   *
   * @param {{verify: Function, id: string}} [options.verifier] - Verifier
   *   object that has two properties: an async `verify()` method, and an `id`.
   *   Useful when working with a KMS-provided verifier.
   *
   * Advanced optional parameters and overrides:
   *
   * @param {object} [options.proof] - A JSON-LD document with options to use
   *   for the `proof` node (e.g. any other custom fields can be provided here
   *   using a context different from security-v2). If not provided, this is
   *   constructed during signing.
   * @param {string|Date} [options.date] - Signing date to use (otherwise
   *   defaults to `now()`).
   * @param {boolean} [options.useNativeCanonize] - Whether to use a native
   *   canonize algorithm.
   */
  constructor({
    type, proof, LDKeyClass, date, key, signer, verifier, useNativeCanonize,
    contextUrl
  } = {}) {
    super({type});
    this.LDKeyClass = LDKeyClass;
    this.contextUrl = contextUrl;
    this.proof = proof;
    const vm = _processSignatureParams({key, signer, verifier});
    this.verificationMethod = vm.verificationMethod;
    this.key = vm.key;
    this.signer = vm.signer;
    this.verifier = vm.verifier;
    if(date) {
      this.date = new Date(date);
      if(isNaN(this.date)) {
        throw TypeError(`"date" "${date}" is not a valid date.`);
      }
    }
    this.useNativeCanonize = useNativeCanonize;
    this._hashCache = null;
  }

  /**
   * @param {object} options - The options to use.
   * @param {object} options.document - The document to be signed.
   * @param {ProofPurpose} options.purpose - The proof purpose instance.
   * @param {function} options.documentLoader - The document loader to use.
   * @param {function} options.expansionMap - NOT SUPPORTED; do not use.
   *
   * @returns {Promise<object>} Resolves with the created proof object.
   */
  async createProof({document, purpose, documentLoader, expansionMap}) {
    if(expansionMap) {
      throw new Error('"expansionMap" not supported.');
    }

    // build proof (currently known as `signature options` in spec)
    let proof;
    if(this.proof) {
      // shallow copy
      proof = {...this.proof};
    } else {
      // create proof JSON-LD document
      proof = {};
    }

    // ensure proof type is set
    proof.type = this.type;

    // set default `now` date if not given in `proof` or `options`
    let date = this.date;
    if(proof.created === undefined && date === undefined) {
      date = new Date();
    }

    // ensure date is in string format
    if(date && typeof date !== 'string') {
      date = util.w3cDate(date);
    }

    // add API overrides
    if(date) {
      proof.created = date;
    }

    proof.verificationMethod = this.verificationMethod;

    // add any extensions to proof (mostly for legacy support)
    proof = await this.updateProof({document, proof, purpose, documentLoader});

    // allow purpose to update the proof; the `proof` is in the
    // SECURITY_CONTEXT_URL `@context` -- therefore the `purpose` must
    // ensure any added fields are also represented in that same `@context`
    proof = await purpose.update(
      proof, {document, suite: this, documentLoader});

    // create data to sign
    const verifyData = await this.createVerifyData(
      {document, proof, documentLoader});

    // sign data
    proof = await this.sign({verifyData, document, proof, documentLoader});

    return proof;
  }

  /**
   * @param {object} options - The options to use.
   * @param {object} options.proof - The proof to be updated.
   * @param {function} options.expansionMap - NOT SUPPORTED; do not use.
   *
   * @returns {Promise<object>} Resolves with the created proof object.
   */
  async updateProof({proof, expansionMap}) {
    if(expansionMap) {
      throw new Error('"expansionMap" not supported.');
    }
    // extending classes may do more
    return proof;
  }

  /**
   * @param {object} options - The options to use.
   * @param {object} options.proof - The proof to be verified.
   * @param {object} options.document - The document the proof applies to.
   * @param {ProofPurpose} options.purpose - The proof purpose instance.
   * @param {function} options.documentLoader - The document loader to use.
   * @param {function} options.expansionMap - NOT SUPPORTED; do not use.
   *
   * @returns {Promise<{object}>} Resolves with the verification result.
   */
  async verifyProof({proof, document, documentLoader, expansionMap}) {
    if(expansionMap) {
      throw new Error('"expansionMap" not supported.');
    }

    try {
      // create data to verify
      const verifyData = await this.createVerifyData(
        {document, proof, documentLoader, expansionMap});

      // fetch verification method
      const verificationMethod = await this.getVerificationMethod(
        {proof, document, documentLoader, expansionMap});

      // verify signature on data
      const verified = await this.verifySignature({
        verifyData, verificationMethod, document, proof,
        documentLoader, expansionMap});
      if(!verified) {
        throw new Error('Invalid signature.');
      }

      return {verified: true, verificationMethod};
    } catch(error) {
      return {verified: false, error};
    }
  }

  async canonize(input, {documentLoader, expansionMap, skipExpansion}) {
    if(expansionMap) {
      throw new Error('"expansionMap" not supported.');
    }
    return jsonld.canonize(input, {
      algorithm: 'URDNA2015',
      // do not resolve any relative URLs or terms, throw errors instead
      base: null,
      format: 'application/n-quads',
      documentLoader,
      // throw errors if any values would be dropped due to missing
      // definitions or relative URLs
      safe: true,
      skipExpansion,
      useNative: this.useNativeCanonize
    });
  }

  async canonizeProof(proof, {document, documentLoader, expansionMap}) {
    if(expansionMap) {
      throw new Error('"expansionMap" not supported.');
    }
    // `jws`,`signatureValue`,`proofValue` must not be included in the proof
    // options
    proof = {
      '@context': document['@context'] || constants.SECURITY_CONTEXT_URL,
      ...proof
    };
    delete proof.jws;
    delete proof.signatureValue;
    delete proof.proofValue;
    return this.canonize(proof, {
      documentLoader,
      expansionMap,
      skipExpansion: false
    });
  }

  /**
   * @param {object} options - The options to use.
   * @param {object} options.document - The document to be signed/verified.
   * @param {object} options.proof - The proof to be verified.
   * @param {function} options.documentLoader - The document loader to use.
   * @param {function} options.expansionMap - NOT SUPPORTED; do not use.
   *
   * @returns {Promise<{Uint8Array}>}.
   */
  async createVerifyData({document, proof, documentLoader, expansionMap}) {
    if(expansionMap) {
      throw new Error('"expansionMap" not supported.');
    }
    // get cached document hash
    let cachedDocHash;
    const {_hashCache} = this;
    if(_hashCache && _hashCache.document === document) {
      cachedDocHash = _hashCache.hash;
    } else {
      this._hashCache = {
        document,
        // canonize and hash document
        hash: cachedDocHash =
          this.canonize(document, {documentLoader, expansionMap})
            .then(c14nDocument => sha256digest({string: c14nDocument}))
      };
    }

    // await both c14n proof hash and c14n document hash
    const [proofHash, docHash] = await Promise.all([
      // canonize and hash proof
      this.canonizeProof(
        proof, {document, documentLoader, expansionMap})
        .then(c14nProofOptions => sha256digest({string: c14nProofOptions})),
      cachedDocHash
    ]);

    // concatenate hash of c14n proof options and hash of c14n document
    return util.concat(proofHash, docHash);
  }

  /**
   * @param document {object} to be signed.
   * @param proof {object}
   * @param documentLoader {function}
   */
  async getVerificationMethod({proof, documentLoader}) {
    let {verificationMethod} = proof;

    if(typeof verificationMethod === 'object') {
      verificationMethod = verificationMethod.id;
    }

    if(!verificationMethod) {
      throw new Error('No "verificationMethod" found in proof.');
    }

    // Note: `expansionMap` is intentionally not passed; we can safely drop
    // properties here and must allow for it
    const framed = await jsonld.frame(verificationMethod, {
      '@context': constants.SECURITY_CONTEXT_URL,
      '@embed': '@always',
      id: verificationMethod
    }, {documentLoader, compactToRelative: false, safe: true});
    if(!framed) {
      throw new Error(`Verification method ${verificationMethod} not found.`);
    }

    // ensure verification method has not been revoked
    if(framed.revoked !== undefined) {
      throw new Error('The verification method has been revoked.');
    }

    return framed;
  }

  /**
   * @param verifyData {Uint8Array}.
   * @param document {object} to be signed.
   * @param proof {object}
   * @param documentLoader {function}
   * @param expansionMap {function}
   *
   * @returns {Promise<{object}>} the proof containing the signature value.
   */
  async sign() {
    throw new Error('Must be implemented by a derived class.');
  }

  /**
   * @param verifyData {Uint8Array}.
   * @param verificationMethod {object}.
   * @param document {object} to be signed.
   * @param proof {object}
   * @param documentLoader {function}
   * @param expansionMap {function}
   *
   * @returns {Promise<boolean>}
   */
  async verifySignature() {
    throw new Error('Must be implemented by a derived class.');
  }

  /**
   * Ensures the document to be signed contains the required signature suite
   * specific `@context`, by either adding it (if `addSuiteContext` is true),
   * or throwing an error if it's missing.
   *
   * @param {object} options - Options hashmap.
   * @param {object} options.document - JSON-LD document to be signed.
   * @param {boolean} options.addSuiteContext - Add suite context?
   */
  ensureSuiteContext({document, addSuiteContext}) {
    const {contextUrl} = this;

    if(_includesContext({document, contextUrl})) {
      // document already includes the required context
      return;
    }

    if(!addSuiteContext) {
      throw new TypeError(
        `The document to be signed must contain this suite's @context, ` +
        `"${contextUrl}".`);
    }

    // enforce the suite's context by adding it to the document
    const existingContext = document['@context'] || [];

    document['@context'] = Array.isArray(existingContext) ?
      [...existingContext, contextUrl] : [existingContext, contextUrl];
  }
};

/**
 * Tests whether a provided JSON-LD document includes a context URL in its
 * `@context` property.
 *
 * @param {object} options - Options hashmap.
 * @param {object} options.document - A JSON-LD document.
 * @param {string} options.contextUrl - A context URL.
 *
 * @returns {boolean} Returns true if document includes context.
 */
function _includesContext({document, contextUrl}) {
  const context = document['@context'];
  return context === contextUrl ||
    (Array.isArray(context) && context.includes(contextUrl));
}

/**
 * See constructor docstring for param details.
 *
 * @returns {{verificationMethod: string, key: LDKeyPair,
 *   signer: {sign: Function, id: string},
 *   verifier: {verify: Function, id: string}}} - Validated and initialized
 *   key-related parameters.
 */
function _processSignatureParams({key, signer, verifier}) {
  // We are explicitly not requiring a key or signer/verifier param to be
  // present, to support the verify() use case where the verificationMethod
  // is being fetched by the documentLoader

  const vm = {};
  if(key) {
    vm.key = key;
    vm.verificationMethod = key.id;
    if(typeof key.signer === 'function') {
      vm.signer = key.signer();
    }
    if(typeof key.verifier === 'function') {
      vm.verifier = key.verifier();
    }
    if(!(vm.signer || vm.verifier)) {
      throw new TypeError(
        'The "key" parameter must contain a "signer" or "verifier" method.');
    }
  } else {
    vm.verificationMethod = (signer && signer.id) ||
      (verifier && verifier.id);
    vm.signer = signer;
    vm.verifier = verifier;
  }

  if(vm.signer) {
    if(typeof vm.signer.sign !== 'function') {
      throw new TypeError('A signer API has not been specified.');
    }
  }
  if(vm.verifier) {
    if(typeof vm.verifier.verify !== 'function') {
      throw new TypeError('A verifier API has not been specified.');
    }
  }

  return vm;
}


text:
package hudson.plugins.tasks;

import hudson.plugins.analysis.core.AbstractHealthDescriptor;
import hudson.plugins.analysis.core.HealthDescriptor;
import hudson.plugins.analysis.util.model.AnnotationProvider;

import org.jvnet.localizer.Localizable;

/**
 * A health descriptor for FindBugs build results.
 *
 * @author Ulli Hafner
 */
public class TasksHealthDescriptor extends AbstractHealthDescriptor {
    /** Unique ID of this class. */
    private static final long serialVersionUID = -3404826986876607396L;

    /**
     * Creates a new instance of {@link TasksHealthDescriptor} based on the
     * values of the specified descriptor.
     *
     * @param healthDescriptor the descriptor to copy the values from
     */
    public TasksHealthDescriptor(final HealthDescriptor healthDescriptor) {
        super(healthDescriptor);
    }

    @Override
    protected Localizable createDescription(final AnnotationProvider result) {
        if (result.getNumberOfAnnotations() == 0) {
            return Messages._Tasks_ResultAction_HealthReportNoItem();
        }
        else if (result.getNumberOfAnnotations() == 1) {
            return Messages._Tasks_ResultAction_HealthReportSingleItem();
        }
        else {
            return Messages._Tasks_ResultAction_HealthReportMultipleItem(result.getNumberOfAnnotations());
        }
    }
}


text:
//------------------------------------------------------------------------------
// <auto-generated>
//     Этот код создан программой.
//     Исполняемая версия:4.0.30319.42000
//
//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
//     повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Nemiro.OAuth.LoginForms.Properties {
    using System;

    /// <summary>
    ///   Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
    /// </summary>
    // Этот класс создан автоматически классом StronglyTypedResourceBuilder
    // с помощью такого средства, как ResGen или Visual Studio.
    // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
    // с параметром /str или перестройте свой проект VS.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class Resources {

        private static global::System.Resources.ResourceManager resourceMan;

        private static global::System.Globalization.CultureInfo resourceCulture;

        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Resources() {
        }

        /// <summary>
        ///   Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Nemiro.OAuth.LoginForms.Properties.Resources", typeof(Resources).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }

        /// <summary>
        ///   Перезаписывает свойство CurrentUICulture текущего потока для всех
        ///   обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Bitmap.
        /// </summary>
        internal static System.Drawing.Bitmap aleksey_nemiro {
            get {
                object obj = ResourceManager.GetObject("aleksey_nemiro", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon amazon {
            get {
                object obj = ResourceManager.GetObject("amazon", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon codeproject {
            get {
                object obj = ResourceManager.GetObject("codeproject", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon dropbox {
            get {
                object obj = ResourceManager.GetObject("dropbox", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon facebook {
            get {
                object obj = ResourceManager.GetObject("facebook", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon foursquare {
            get {
                object obj = ResourceManager.GetObject("foursquare", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon github {
            get {
                object obj = ResourceManager.GetObject("github", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon google {
            get {
                object obj = ResourceManager.GetObject("google", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon instagram {
            get {
                object obj = ResourceManager.GetObject("instagram", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon linkedin {
            get {
                object obj = ResourceManager.GetObject("linkedin", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon live {
            get {
                object obj = ResourceManager.GetObject("live", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Bitmap.
        /// </summary>
        internal static System.Drawing.Bitmap loader {
            get {
                object obj = ResourceManager.GetObject("loader", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Bitmap.
        /// </summary>
        internal static System.Drawing.Bitmap loader2 {
            get {
                object obj = ResourceManager.GetObject("loader2", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon mailru {
            get {
                object obj = ResourceManager.GetObject("mailru", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Byte[].
        /// </summary>
        internal static byte[] mediakit {
            get {
                object obj = ResourceManager.GetObject("mediakit", resourceCulture);
                return ((byte[])(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon odnoklassniki {
            get {
                object obj = ResourceManager.GetObject("odnoklassniki", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon printerest {
            get {
                object obj = ResourceManager.GetObject("printerest", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon soundcloud {
            get {
                object obj = ResourceManager.GetObject("soundcloud", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon sourceforge {
            get {
                object obj = ResourceManager.GetObject("sourceforge", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon tumblr {
            get {
                object obj = ResourceManager.GetObject("tumblr", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon twitter {
            get {
                object obj = ResourceManager.GetObject("twitter", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon vkontakte {
            get {
                object obj = ResourceManager.GetObject("vkontakte", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon yahoo {
            get {
                object obj = ResourceManager.GetObject("yahoo", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }

        /// <summary>
        ///   Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок).
        /// </summary>
        internal static System.Drawing.Icon yandex {
            get {
                object obj = ResourceManager.GetObject("yandex", resourceCulture);
                return ((System.Drawing.Icon)(obj));
            }
        }
    }
}


text:
package com.android.camera.remote;

/**
 * Modules implementing this interface signal that they do support remote
 * shutter. Such modules need to signal to the remote interface that they are
 * available or unavailable through calling
 * {@link RemoteShutterListener#onModuleReady(RemoteCameraModule)} and
 * {@link RemoteShutterListener#onModuleExit()}.
 */
public interface RemoteCameraModule {
    /**
     * Called when a remote client wants the module to take a picture. The
     * module should trigger a capture and send the result via
     * {@link RemoteShutterListener#onPictureTaken(byte[])}.
     */
    void onRemoteShutterPress();
}


text:
goog.provide('ol.Observable');

goog.require('goog.events');
goog.require('goog.events.EventTarget');
goog.require('goog.events.EventType');

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * An event target providing convenient methods for listener registration
 * and unregistration. A generic `change` event is always available through
 * {@link ol.Observable#changed}.
 *
 * @constructor
 * @extends {goog.events.EventTarget}
 * @fires change
 * @struct
 * @api stable
 */
ol.Observable = function() {

  goog.base(this);

  /**
   * @private
   * @type {number}
   */
  this.revision_ = 0;

};
goog.inherits(ol.Observable, goog.events.EventTarget);

/**
 * Removes an event listener using the key returned by `on()` or `once()`.
 * @param {goog.events.Key} key The key returned by `on()` or `once()`.
 * @api stable
 */
ol.Observable.unByKey = function(key) {
  goog.events.unlistenByKey(key);
};

/**
 * Increases the revision counter and dispatches a 'change' event.
 * @api
 */
ol.Observable.prototype.changed = function() {
  ++this.revision_;
  this.dispatchEvent(goog.events.EventType.CHANGE);
};

/**
 * Triggered when the revision counter is increased.
 * @event change
 * @api
 */

/**
 * Dispatches an event and calls all listeners listening for events
 * of this type. The event parameter can either be a string or an
 * Object with a `type` property.
 *
 * @param {goog.events.EventLike} event Event object.
 * @function
 * @api
 */
ol.Observable.prototype.dispatchEvent;

/**
 * Get the version number for this object.  Each time the object is modified,
 * its version number will be incremented.
 * @return {number} Revision.
 * @api
 */
ol.Observable.prototype.getRevision = function() {
  return this.revision_;
};

/**
 * Listen for a certain type of event.
 * @param {string|Array.<string>} type The event type or array of event types.
 * @param {function(?): ?} listener The listener function.
 * @param {Object=} opt_this The object to use as `this` in `listener`.
 * @return {goog.events.Key} Unique key for the listener.
 * @api stable
 */
ol.Observable.prototype.on = function(type, listener, opt_this) {
  return goog.events.listen(this, type, listener, false, opt_this);
};

/**
 * Listen once for a certain type of event.
 * @param {string|Array.<string>} type The event type or array of event types.
 * @param {function(?): ?} listener The listener function.
 * @param {Object=} opt_this The object to use as `this` in `listener`.
 * @return {goog.events.Key} Unique key for the listener.
 * @api stable
 */
ol.Observable.prototype.once = function(type, listener, opt_this) {
  return goog.events.listenOnce(this, type, listener, false, opt_this);
};

/**
 * Unlisten for a certain type of event.
 * @param {string|Array.<string>} type The event type or array of event types.
 * @param {function(?): ?} listener The listener function.
 * @param {Object=} opt_this The object which was used as `this` by the
 * `listener`.
 * @api stable
 */
ol.Observable.prototype.un = function(type, listener, opt_this) {
  goog.events.unlisten(this, type, listener, false, opt_this);
};

/**
 * Removes an event listener using the key returned by `on()` or `once()`.
 * Note that using the {@link ol.Observable.unByKey} static function is to
 * be preferred.
 * @param {goog.events.Key} key The key returned by `on()` or `once()`.
 * @function
 * @api stable
 */
ol.Observable.prototype.unByKey = ol.Observable.unByKey;


text:
//--------------------------------------------------------------------------------
// Skybox Renderer.h
// Renderer for Skybox
//--------------------------------------------------------------------------------
#ifndef _SKYBOXRENDERER_H
#define _SKYBOXRENDERER_H

//--------------------------------------------------------------------------------
// Include files
//--------------------------------------------------------------------------------
#include <jni.h>
#include <errno.h>

#include <vector>

#include <EGL/egl.h>
#include <GLES/gl.h>

#include <android/sensor.h>
#include <android/log.h>
#include <android_native_app_glue.h>
#include <android/native_window_jni.h>
#include <cpu-features.h>

#include "NDKHelper.h"

#define BUFFER_OFFSET(i) ((char*)NULL + (i))

struct SKYBOX_VERTEX {
  float pos[3];
};

struct SHADER_PARAMS_SKYBOX {
  GLuint program_;

  GLuint matrix_projection_;
  GLuint matrix_view_;
  GLuint sampler0_;
};

class SkyboxRenderer {
  int32_t num_indices_;
  int32_t num_vertices_;
  GLuint ibo_;
  GLuint vbo_;
  GLuint tex_cubemap_;

  SHADER_PARAMS_SKYBOX shader_param_;
  bool LoadShaders(SHADER_PARAMS_SKYBOX* params, const char* strVsh,
                   const char* strFsh);

  ndk_helper::Mat4 mat_projection_;
  ndk_helper::Mat4 mat_view_;
  ndk_helper::Mat4 mat_model_;

  ndk_helper::TapCamera* camera_;

 public:
  SkyboxRenderer();
  virtual ~SkyboxRenderer();
  void Init();
  void Render();
  void Update(const double time);
  bool Bind(ndk_helper::TapCamera* camera);
  void Unload();
  void UpdateViewport();

  void SwitchStage(const char* fileName);
};

#endif


text:
<bill session="115" type="h" number="1917" updated="2017-09-26T07:16:25Z">
  <state datetime="2017-04-05">REFERRED</state>
  <status>
    <introduced datetime="2017-04-05"/>
  </status>
  <introduced datetime="2017-04-05"/>
  <titles>
    <title type="short" as="introduced">Blocking Regulatory Interference from Closing Kilns Act of 2017</title>
    <title type="short" as="introduced">Blocking Regulatory Interference from Closing Kilns Act of 2017</title>
    <title type="official" as="introduced">To allow for judicial review of any final rule addressing national emission standards for hazardous air pollutants for brick and structural clay products or for clay ceramics manufacturing before requiring compliance with such rule.</title>
    <title type="display">Blocking Regulatory Interference from Closing Kilns Act of 2017</title>
  </titles>
  <sponsor bioguide_id="J000292"/>
  <cosponsors>
    <cosponsor bioguide_id="B000490" joined="2017-04-05"/>
    <cosponsor bioguide_id="C001096" joined="2017-09-25"/>
    <cosponsor bioguide_id="M001151" joined="2017-04-05"/>
    <cosponsor bioguide_id="R000591" joined="2017-04-05"/>
    <cosponsor bioguide_id="S000250" joined="2017-04-05"/>
    <cosponsor bioguide_id="S001185" joined="2017-04-05"/>
  </cosponsors>
  <actions>
    <action datetime="2017-04-05">
      <text>Introduced in House</text>
    </action>
    <action datetime="2017-04-05" state="REFERRED">
      <text>Referred to the House Committee on Energy and Commerce.</text>
    </action>
    <action datetime="2017-04-07">
      <text>Referred to the Subcommittee on Environment.</text>
    </action>
  </actions>
  <committees>
    <committee subcommittee="" code="HSIF" name="House Energy and Commerce" activity="Referral"/>
    <committee subcommittee="Environment and the Economy" code="HSIF18" name="House Energy and Commerce" activity="Referral"/>
  </committees>
  <relatedbills>
    <bill type="s" session="115" relation="identical" number="839"/>
  </relatedbills>
  <subjects>
    <term name="Environmental protection"/>
    <term name="Administrative law and regulatory procedures"/>
    <term name="Air quality"/>
    <term name="Environmental Protection Agency (EPA)"/>
    <term name="Environmental regulatory procedures"/>
    <term name="Hazardous wastes and toxic substances"/>
    <term name="Judicial review and appeals"/>
    <term name="Manufacturing"/>
  </subjects>
  <amendments/>
  <summary date="2017-04-05T04:00:00Z" status="Introduced in House">Blocking Regulatory Interference from Closing Kilns Act of 2017

This bill prohibits the Environmental Protection Agency from requiring compliance with Clean Air Act rules concerning national emission standards for hazardous air pollutants with respect to brick and structural clay products manufacturing or clay ceramics manufacturing until judicial reviews of the rules are complete.</summary>
  <committee-reports/>
</bill>


text:
<!DOCTYPE html>

<title>About</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />

<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Agronomics Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free web designs for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />

<link href='http://fonts.googleapis.com/css?family=Muli:400,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>

					  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
						Toggle navigation

					  </button>

							Aagronomics For Best Food

Home

About

Gallery

							Pages

Font Icons

Short Codes

Contact

@example.com

+1234 567 892

About

						01

Claritas est etiam

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy

						02

Claritas est etiam

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy

						03

Claritas est etiam

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy

						04

Claritas est etiam

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy

Welcome

Consectetuer

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt

Clients

But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings

 SHANE SMITH

But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings

STEVE WARNER

But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings

ROSY WATSON

Meet Our Team

Adney

Barb

Carr

Chris

Newsletter

				<form action="#" method="post">
					<input type="text" placeholder="Name" name="Name"  required="">
					<input type="text" placeholder="Email" name="Email"  required="">
					<input type="submit" value="Submit">

				</form>

Aenean condimentum suscipit

Proin ullamcorper urna quis velit mollis molestie suscipit nisl consectetur
			uspendisse venenatis dolor et nunc iaculis ege uspendisse venenatis dolor et nunc iaculis ege

Follow Us

Copyright © 2017.Company name All rights reserved.网页模板


text:
WORKSPACE=`pwd`
BUILD_URL="http://ci.ezfun.cn/otatest/15/"
echo "BUILD_DIR :$BUILD_DIR"

BUILD_DIR="build"
OTA_WEB_URL="http://ota.ezfun.cn"

#以下是真实打包时的脚本
rm -rf build
mkdir -p build

#Simulate build
cp OTATest.ipa $BUILD_DIR/OTATest.ipa

sh ./ota.sh ${WORKSPACE}/${BUILD_DIR} ${BUILD_URL}artifact/$BUILD_DIR/ $OTA_WEB_URL


text:
package com.hp.application.automation.tools.octane.model.processors.builders;

import com.hp.application.automation.tools.octane.model.ModelFactory;
import hudson.model.AbstractProject;
import hudson.model.Job;
import hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig;
import hudson.plugins.parameterizedtrigger.BuildTrigger;
import hudson.plugins.parameterizedtrigger.BuildTriggerConfig;
import hudson.plugins.parameterizedtrigger.TriggerBuilder;
import hudson.tasks.Builder;
import hudson.tasks.Publisher;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: gullery
 * Date: 08/01/15
 * Time: 23:01
 * To change this template use File | Settings | File Templates.
 */

public class ParameterizedTriggerProcessor extends AbstractBuilderProcessor {
	private static final Logger logger = LogManager.getLogger(ParameterizedTriggerProcessor.class);

	public ParameterizedTriggerProcessor(Builder builder, Job job, String phasesName) {
		TriggerBuilder b = (TriggerBuilder) builder;
		super.phases = new ArrayList<>();
		List<AbstractProject> items;
		for (BlockableBuildTriggerConfig config : b.getConfigs()) {
			items = config.getProjectList(job.getParent(), null);
			for (Iterator<AbstractProject> iterator = items.iterator(); iterator.hasNext(); ) {
				AbstractProject next = iterator.next();
				if (next == null) {
					iterator.remove();
					logger.warn("encountered null project reference; considering it as corrupted configuration and skipping");
				}
			}
			super.phases.add(ModelFactory.createStructurePhase(phasesName, config.getBlock() != null, items));
		}
	}

	public ParameterizedTriggerProcessor(Publisher publisher, AbstractProject project, String phasesName) {
		BuildTrigger t = (BuildTrigger) publisher;
		super.phases = new ArrayList<>();
		List<AbstractProject> items;
		for (BuildTriggerConfig config : t.getConfigs()) {
			items = config.getProjectList(project.getParent(), null);
			for (Iterator<AbstractProject> iterator = items.iterator(); iterator.hasNext(); ) {
				AbstractProject next = iterator.next();
				if (next == null) {
					iterator.remove();
					logger.warn("encountered null project reference; considering it as corrupted configuration and skipping");
				}
			}
			super.phases.add(ModelFactory.createStructurePhase(phasesName, false, items));
		}
	}
}


text:
package com.amazonaws.services.transcribe.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 *
 * @see AWS API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetMedicalTranscriptionJobResult extends com.amazonaws.AmazonWebServiceResult<com.amazonaws.ResponseMetadata> implements Serializable, Cloneable {

    /**
     *

     * Provides detailed information about the specified medical transcription job, including job status and, if
     * applicable, failure reason.
     *

     */
    private MedicalTranscriptionJob medicalTranscriptionJob;

    /**
     *

     * Provides detailed information about the specified medical transcription job, including job status and, if
     * applicable, failure reason.
     *

     *
     * @param medicalTranscriptionJob
     *        Provides detailed information about the specified medical transcription job, including job status and, if
     *        applicable, failure reason.
     */

    public void setMedicalTranscriptionJob(MedicalTranscriptionJob medicalTranscriptionJob) {
        this.medicalTranscriptionJob = medicalTranscriptionJob;
    }

    /**
     *

     * Provides detailed information about the specified medical transcription job, including job status and, if
     * applicable, failure reason.
     *

     *
     * @return Provides detailed information about the specified medical transcription job, including job status and, if
     *         applicable, failure reason.
     */

    public MedicalTranscriptionJob getMedicalTranscriptionJob() {
        return this.medicalTranscriptionJob;
    }

    /**
     *

     * Provides detailed information about the specified medical transcription job, including job status and, if
     * applicable, failure reason.
     *

     *
     * @param medicalTranscriptionJob
     *        Provides detailed information about the specified medical transcription job, including job status and, if
     *        applicable, failure reason.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public GetMedicalTranscriptionJobResult withMedicalTranscriptionJob(MedicalTranscriptionJob medicalTranscriptionJob) {
        setMedicalTranscriptionJob(medicalTranscriptionJob);
        return this;
    }

    /**
     * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
     * redacted from this string using a placeholder value.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getMedicalTranscriptionJob() != null)
            sb.append("MedicalTranscriptionJob: ").append(getMedicalTranscriptionJob());
        sb.append("}");
        return sb.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof GetMedicalTranscriptionJobResult == false)
            return false;
        GetMedicalTranscriptionJobResult other = (GetMedicalTranscriptionJobResult) obj;
        if (other.getMedicalTranscriptionJob() == null ^ this.getMedicalTranscriptionJob() == null)
            return false;
        if (other.getMedicalTranscriptionJob() != null && other.getMedicalTranscriptionJob().equals(this.getMedicalTranscriptionJob()) == false)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getMedicalTranscriptionJob() == null) ? 0 : getMedicalTranscriptionJob().hashCode());
        return hashCode;
    }

    @Override
    public GetMedicalTranscriptionJobResult clone() {
        try {
            return (GetMedicalTranscriptionJobResult) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
        }
    }

}